all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: What's the purpose of things like `default-truncate-lines'?
Date: Thu, 29 Jun 2006 12:55:01 +0200	[thread overview]
Message-ID: <851wt86xkq.fsf@lola.goethe.zz> (raw)


I read

    default-truncate-lines is a variable defined in `src/buffer.c'.
    Its value is nil

    Documentation:
    Default value of `truncate-lines' for buffers that do not override it.
    This is the same as (default-value 'truncate-lines).

    [back]

If it is the same as (default-value 'truncate-lines), why do we have a
separately named variable?

Is this just a technical necessity for some reason?

I am asking because `default-truncate-lines' is documented as a
variable of its own in the Elisp manual, and I am not sure whether
that makes any sense.  Maybe it would be better to point out that
`truncate-lines' is automatically buffer-local and thus its default
should be set with `setq-default'.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

             reply	other threads:[~2006-06-29 10:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-29 10:55 David Kastrup [this message]
2006-06-29 17:58 ` What's the purpose of things like `default-truncate-lines'? Richard Stallman
2006-06-29 18:04   ` David Kastrup
2006-06-29 19:01     ` Stuart D. Herring
2006-07-01  3:20       ` Richard Stallman
2006-07-01  3:20     ` Richard Stallman
2006-07-01  9:25       ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=851wt86xkq.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.