unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Karl Chen" <quarl.newsgroup@REMOVE_ME_quarl.org>
Subject: align.el bugfix patch
Date: Mon, 29 Apr 2002 20:09:14 -0700	[thread overview]
Message-ID: <aal1sr$otj$1@agate.berkeley.edu> (raw)

A bug in align.el's `align-region' causes it to die on large regions. The
call to `message' is missing an argument, plus it doesn't correctly
determine if a variable has a symbol name or not.

Diff fix to version 21.1 below.

--
Karl


*** .backup/align.el.~1~ Mon Oct 22 21:19:57 2001
--- align.el Mon Apr 29 19:53:50 2002
***************
*** 1413,1422 ****
     ;; are, if it's a very large region being
     ;; aligned
     (if report
!        (let ((name (symbol-name (car rule))))
!          (if name
        (message
         "Aligning `%s' (rule %d of %d) %d%%..."
         rule-index rule-count
         (/ (* (- (point) real-beg) 100)
            (- end-mark real-beg)))
--- 1413,1423 ----
     ;; are, if it's a very large region being
     ;; aligned
     (if report
!        (let ((symbol (car rule)))
!          (if (and symbol (symbolp symbol))
        (message
         "Aligning `%s' (rule %d of %d) %d%%..."
+                                    (symbol-name symbol)
         rule-index rule-count
         (/ (* (- (point) real-beg) 100)
            (- end-mark real-beg)))

                 reply	other threads:[~2002-04-30  3:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='aal1sr$otj$1@agate.berkeley.edu' \
    --to=quarl.newsgroup@remove_me_quarl.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).