unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Delete trailing whitespace bug?
@ 2007-04-09 13:15 Jose Antonio Ortega
  2007-04-09 14:17 ` Lennart Borgman (gmail)
       [not found] ` <mailman.1869.1176128518.7795.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Jose Antonio Ortega @ 2007-04-09 13:15 UTC (permalink / raw)
  To: help-gnu-emacs


Hi. Since time immemorial, i've use delete-trailing-whitespace in my
write-file-hooks to ensure, well, that my files are saved without
trailing whitespaces. It works like a charm except for the fact that a
trailing vertical bar (|) is, apparently, considered whitespace; that
is, it's deleted when saving the file. This happened with emacs 21,
and happends too with emacs 22, both in GNU/Linux and Mac OS X.

Has anyone else observed this behaviour? Any ideas on what could be
causing it?

Thanks,
jao

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Delete trailing whitespace bug?
  2007-04-09 13:15 Delete trailing whitespace bug? Jose Antonio Ortega
@ 2007-04-09 14:17 ` Lennart Borgman (gmail)
  2007-04-09 17:27   ` Jose A. Ortega Ruiz
       [not found] ` <mailman.1869.1176128518.7795.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-09 14:17 UTC (permalink / raw)
  To: Jose Antonio Ortega; +Cc: help-gnu-emacs

Jose Antonio Ortega wrote:
> Hi. Since time immemorial, i've use delete-trailing-whitespace in my
> write-file-hooks to ensure, well, that my files are saved without
> trailing whitespaces. It works like a charm except for the fact that a
> trailing vertical bar (|) is, apparently, considered whitespace; that
> is, it's deleted when saving the file. This happened with emacs 21,
> and happends too with emacs 22, both in GNU/Linux and Mac OS X.
> 
> Has anyone else observed this behaviour? Any ideas on what could be
> causing it?


Please submit a bug report for Emacs 22, yet in beta test. There are a 
couple of days more to fix this bug!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Delete trailing whitespace bug?
       [not found] ` <mailman.1869.1176128518.7795.help-gnu-emacs@gnu.org>
@ 2007-04-09 14:27   ` weber
  0 siblings, 0 replies; 4+ messages in thread
From: weber @ 2007-04-09 14:27 UTC (permalink / raw)
  To: help-gnu-emacs

On 9 abr, 11:17, "Lennart Borgman (gmail)" <lennart.borg...@gmail.com>
wrote:
> Jose Antonio Ortega wrote:
> > Hi. Since time immemorial, i've use delete-trailing-whitespace in my
> > write-file-hooks to ensure, well, that my files are saved without
> > trailing whitespaces. It works like a charm except for the fact that a
> > trailing vertical bar (|) is, apparently, considered whitespace; that
> > is, it's deleted when saving the file. This happened with emacs 21,
> > and happends too with emacs 22, both in GNU/Linux and Mac OS X.
>
> > Has anyone else observed this behaviour? Any ideas on what could be
> > causing it?
>
> Please submit a bug report for Emacs 22, yet in beta test. There are a
> couple of days more to fix this bug!

Please post more frequently, jao
I need wizardry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Delete trailing whitespace bug?
  2007-04-09 14:17 ` Lennart Borgman (gmail)
@ 2007-04-09 17:27   ` Jose A. Ortega Ruiz
  0 siblings, 0 replies; 4+ messages in thread
From: Jose A. Ortega Ruiz @ 2007-04-09 17:27 UTC (permalink / raw)
  To: help-gnu-emacs

"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:

>> Has anyone else observed this behaviour? Any ideas on what could be
>> causing it?
>
>
> Please submit a bug report for Emacs 22, yet in beta test. There are a
> couple of days more to fix this bug!

Done. I've noticed that this abnormal behaviour happens only in
scheme-mode (or at list, it does not happend in any other major mode
i've tried).

jao
-- 
Any sufficiently advanced technology is indistinguishable from magic.
-Arthur C Clarke, science fiction writer (1917- )

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-09 17:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09 13:15 Delete trailing whitespace bug? Jose Antonio Ortega
2007-04-09 14:17 ` Lennart Borgman (gmail)
2007-04-09 17:27   ` Jose A. Ortega Ruiz
     [not found] ` <mailman.1869.1176128518.7795.help-gnu-emacs@gnu.org>
2007-04-09 14:27   ` weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).