syntax class for $ in sh-mode

2005-05-11 Thread Dan Nicolaescu
Is there any reason that $ does not have a `.' (punctuation) syntax class in sh-mode? Currently in a buffer you have: BLAHBLAH=test $BLAH If the point is after $BLAH and one invokes dabbrev-expand nothing happens... If the syntax for $ were to be changed dabbrev would work. Any objection

Re: syntax class for $ in sh-mode

2005-05-11 Thread Stefan Monnier
Is there any reason that $ does not have a `.' (punctuation) syntax class in sh-mode? Just . would be wrong IMNSHO (because C-M-b wouldn't properly jump over $BLAH). I'd vote for . p or ' syntax. Not sure between the two. The current w is clearly wrong and should at least be changed

Re: syntax class for $ in sh-mode

2005-05-11 Thread Dan Nicolaescu
Stefan Monnier [EMAIL PROTECTED] writes: Is there any reason that $ does not have a `.' (punctuation) syntax class in sh-mode? Just . would be wrong IMNSHO (because C-M-b wouldn't properly jump over $BLAH). I'd vote for . p or ' syntax. Not sure between the two. A little bit

Re: syntax class for $ in sh-mode

2005-05-11 Thread Stefan Monnier
Is there any reason that $ does not have a `.' (punctuation) syntax class in sh-mode? Just . would be wrong IMNSHO (because C-M-b wouldn't properly jump over $BLAH). I'd vote for . p or ' syntax. Not sure between the two. A little bit of testing showed that none of the above required