bugPSPP - Bugs: bug #26378, pspp-mode.el does not properly...

 
 

bug #26378: pspp-mode.el does not properly detect comments introduced by *

Submitter:  Ben Pfaff <blp>
Submitted:  Tue 28 Apr 2009 04:31:42 AM UTC
   
 
Category:  Other Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  Future
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 24 Jun 2023 09:20:24 AM UTC, comment #3: 

I think this was fixed a long time ago.

John Darrington <jmd>
Group administrator
  Spam posted by prutik
Tue 28 Apr 2009 11:09:41 PM UTC, comment #1: 

I'm unassigning myself for now, since I shan't have time to look at this in the near future.

If anyone else wishes to improve this feature, then please feel free.

John Darrington <jmd>
Group administrator
Tue 28 Apr 2009 04:31:42 AM UTC, original submission:  

Michel Boaventura <michel.boaventura@gmail.com> reported that pspp-mode.el mis-displays words in comment commands introduced by * that contain non-ASCII characters such as ç.  In particular, the following:


*Comment without non-ASCII.
*Comment with non-ascii divulgaço.


shows up as in the attachment.

My own investigation convinced me that what is happening is that pspp-mode is interpreting the words in the comment as part of a command.  Most words are interpreted as variable names, since they are not the names of PSPP commands or functions, etc., but "divulgação" is special because pspp-mode does not think that ç and ã are valid characters in a variable name (they should be, I think, but pspp-mode is not smart enough to know that).

pspp-mode is supposed to understand that * starts a comment.  I don't know why it isn't getting that correct.

Assigning to John since he's the author of pspp-mode.el.  John, if you don't want to deal with this, feel free to un-assign yourself or to assign it to me.

Ben Pfaff <blp>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #18031:  comments.png added by blp (9KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by prutik (Posted a comment)
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by blp
  • -email is unavailable- added by blp (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-24 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2011-05-14 blp ReleaseNone Future
    2009-04-28 jmd Assigned tojmd None
    2009-04-28 blp Carbon-Copy- Added michel boaventura <michel.boaventura@gmail.com>
    2009-04-28 blp Attached File- Added comments.png, #18031

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code