unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: rms@gnu.org
Cc: David Reitter <dreitter@inf.ed.ac.uk>, emacs-devel@gnu.org
Subject: Re: longlines-auto-wrap: doc string wrong, or bug?
Date: Sat, 12 May 2007 19:21:29 -0400	[thread overview]
Message-ID: <87ejlltypy.fsf@stupidchicken.com> (raw)
In-Reply-To: <E1HmzVo-00007i-V0@fencepost.gnu.org> (Richard Stallman's message of "Sat\, 12 May 2007 17\:52\:24 -0400")

Richard Stallman <rms@gnu.org> writes:

>     It appears that `longlines-auto-wrap' as a variable can't be set  
>     directly - at least to no effect. I have to explicitly do (longlines- 
>     auto-wrap 0) to turn it off.
>
> I agree that the function `longlines-auto-wrap' should toggle when
> given no argument.
>
> The function `longlines-auto-wrap' seems to expect the variable to be
> buffer-local, since it wraps the current buffer in addition to setting
> the variable.  Should we add a call to `make-variable-buffer-local'
> for it?

I've fixed this on the trunk.

(It's probably not important enough to check in to the branch, because
frankly turning off auto-wrap is a silly thing to do; it mostly
defeats the purpose of longlines mode.  It's there primarily due to
legacy reasons.)

  reply	other threads:[~2007-05-12 23:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <21A24698-B3FE-46F9-AEE7-8A861CC515E3@inf.ed.ac.uk>
2007-05-12 21:52 ` longlines-auto-wrap: doc string wrong, or bug? Richard Stallman
2007-05-12 23:21   ` Chong Yidong [this message]
2007-05-14  8:09     ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87ejlltypy.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=dreitter@inf.ed.ac.uk \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 public inbox

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

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).