all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problem with require-final-newline
@ 2004-05-13 17:43 Charles Jamieson
  2004-05-13 23:07 ` Kevin Rodgers
  2004-05-14  7:20 ` Alan Mackenzie
  0 siblings, 2 replies; 3+ messages in thread
From: Charles Jamieson @ 2004-05-13 17:43 UTC (permalink / raw)


   I have the line

	(setq-default require-final-newline t)

in my .emacs file.  When I save a .txt file without a final newline, I 
am asked whether to add a newline.  When I enter C-h v 
require-final-newline, I am informed this variable is set to query.

    However, when I save a .cpp or.h file without a terminating new 
line, the newline is silently added.  In fact when I enter C-h v 
require-final-newline, I am informed its value is set to t.

     Why is this variable not being set consistently across file types?

-charles

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

end of thread, other threads:[~2004-05-14  7:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 17:43 problem with require-final-newline Charles Jamieson
2004-05-13 23:07 ` Kevin Rodgers
2004-05-14  7:20 ` Alan Mackenzie

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.