Re: Simple question about emacs

2009-04-28 Thread John Darrington
On Tue, Apr 28, 2009 at 03:20:59PM -0400, Jason Stover wrote: On Mon, Apr 27, 2009 at 08:12:30PM -0700, Ben Pfaff wrote: > Michel Boaventura writes: > > >> I could not reproduce this. ?For me, the presence of non-ASCII > >> characters did not seem to make any difference.

Re: Simple question about emacs

2009-04-28 Thread Jason Stover
On Mon, Apr 27, 2009 at 08:12:30PM -0700, Ben Pfaff wrote: > Michel Boaventura writes: > > >> I could not reproduce this. ?For me, the presence of non-ASCII > >> characters did not seem to make any difference. > > > > Putting a dot on the end of the line makes the comment appears yellow, but > >

Re: Simple question about emacs

2009-04-27 Thread Ben Pfaff
Michel Boaventura writes: > I'm sending an screen-shot of what happens on my Emacs. I filed this as bug #26378: http://savannah.gnu.org/bugs/?26378 -- Ben Pfaff http://benpfaff.org ___ Pspp-users mailing list Pspp-users@gnu.org http://lists

Re: Simple question about emacs

2009-04-27 Thread Ben Pfaff
Michel Boaventura writes: > I'm sending an screen-shot of what happens on my Emacs. I think 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 func

Re: Simple question about emacs

2009-04-27 Thread Ben Pfaff
Michel Boaventura writes: >> I could not reproduce this.  For me, the presence of non-ASCII >> characters did not seem to make any difference. > > Putting a dot on the end of the line makes the comment appears yellow, but > every word with non-ascii chars appears white. John or Jason, does this

Re: Simple question about emacs

2009-04-27 Thread Michel Boaventura
I'm sending an screen-shot of what happens on my Emacs. <>___ Pspp-users mailing list Pspp-users@gnu.org http://lists.gnu.org/mailman/listinfo/pspp-users

Re: Simple question about emacs

2009-04-27 Thread Ben Pfaff
Michel Boaventura writes: > I'm sending both the file and one screenshot of what I see. Seems like > a line after a comment is interpreted > as coment also. A comment that begins with * extends until the end of the command. Usually, a command ends with '.' at the end of a line. So, if you put

Re: Simple question about emacs

2009-04-27 Thread Michel Boaventura
Another strange issue, is if I create a file with only this: *comment 1. *comment 2. *comment 3. The line 1 and 3 appears yellow, and line 2 red. If I go to line 2 and change anything on it, it becomes yellow, and line 3 becomes red. If I change anything on line 3, all of my lines becomes yellow.

Re: Simple question about emacs

2009-04-27 Thread Michel Boaventura
> A comment that begins with * extends until the end of the > command.  Usually, a command ends with '.' at the end of a line. > So, if you put a '.' at the end of your comment, that fixes the > coloring. This really works. > I could not reproduce this.  For me, the presence of non-ASCII > charac

Re: Simple question about emacs

2009-04-27 Thread Ben Pfaff
Jason Stover writes: > On Mon, Apr 27, 2009 at 03:52:02PM -0300, michel wrote: >> > Either put that code in a file called '.emacs' in your home directory, >> > or run M-x load-file pspp-mode.el , then run M-x pspp-mode . >> >> Thank you, it works. But seems like it doesn't like non-ascii chars o

Re: Simple question about emacs

2009-04-27 Thread Jason Stover
On Mon, Apr 27, 2009 at 03:52:02PM -0300, michel wrote: > > Either put that code in a file called '.emacs' in your home directory, > > or run M-x load-file pspp-mode.el , then run M-x pspp-mode . > > Thank you, it works. But seems like it doesn't like non-ascii chars on > comments. =/ This one is