all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* saving compositions or not
@ 2002-08-28  0:43 Stefan Monnier
  2002-08-28 12:17 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2002-08-28  0:43 UTC (permalink / raw)



I've been using my silly "lambda hack" (posted on gnu.emacs.sources
a little while back) and have noticed that it has an unintended
consequence: because it uses compositions (to turn the `lambda'
keyword into a lambda letter from the greek alphabet) it ends up
modifying the file if the file is saved in emacs-mule format (which
is the format naturally chosen by Emacs for those files it seems).
That is, the composition itself is saved, so the file still works,
but it unexpectedly still appears with a lambda-char rather than
a lambda-keyword if you load it in `emacs -q --no-site-file'.

Up until here, I could consider it a feature, except that it means
that the file will look odd in a non-Emacs editor (because it
uses the emacs-mule coding-system rather than plain ASCII)
and (more importantly) that `cvs diff' will show that the file has
changed, replacing the lambda keyword with a lambda char composition.

How could I change my hack such that the composition is *not* saved
(i.e. is kept as a display-only trick which has no impact whatsoever on
the saved buffer) ?


	Stefan

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

end of thread, other threads:[~2002-08-28 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-28  0:43 saving compositions or not Stefan Monnier
2002-08-28 12:17 ` Kenichi Handa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.