unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: cyd@stupidchicken.com
Cc: 5370@debbugs.gnu.org
Subject: bug#5370: M-x hexl-mode M-x hexl-mode leaves unwanted ruler
Date: Thu, 1 Jul 2010 02:21:03 +0200	[thread overview]
Message-ID: <AANLkTinXKioeFKOqNIrYYv_nNVaAA1My8lXU_UP8XTLC@mail.gmail.com> (raw)
In-Reply-To: <87mxuct9yb.fsf@stupidchicken.com>

On Thu, Jul 1, 2010 at 00:46, Chong Yidong <cyd@stupidchicken.com> wrote:

> The solution is to avoid saving the old header-line-format if Ruler mode
> is already on.  I've checked in a fix.

OK, thanks.

A couple questions:

Why do you need "(when enable" in ruler--save-header-line-format,
which causes this warning

  ruler-mode.el:562:9:Warning: reference to free variable `enable'

when ruler--save-header-line-format is only called once, like so

  (when enable
     (ruler--save-header-line-format))

?

Also, the docstring for r--s-h-l-f says

"Install the header line format for Ruler mode.
Unless if Ruler mode is already enabled, save the old header line
format first."

Shouldn't that be s/Unless if/Unless/?

    Juanma





  reply	other threads:[~2010-07-01  0:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13  4:52 bug#5370: M-x hexl-mode M-x hexl-mode leaves unwanted ruler Juanma Barranquero
2010-06-30 22:46 ` Chong Yidong
2010-07-01  0:21   ` Juanma Barranquero [this message]
2010-07-01  5:31     ` Chong Yidong

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=AANLkTinXKioeFKOqNIrYYv_nNVaAA1My8lXU_UP8XTLC@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=5370@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /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).