unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Quoted while loop on calccomp.el
Date: Sat, 16 Apr 2011 04:30:51 +0200	[thread overview]
Message-ID: <BANLkTinK4EpBLAhk-RM=QjRr2+DFnd-1+g@mail.gmail.com> (raw)

In this bit from lisp/calc/calccomp.el, at lines 1284-1290:

		   (if (> mrg 12)  ; indenting too far, go back to far left
		       (let ((j i) (new (if calc-line-numbering 5 1)))
			 '(while (<= j math-comp-level)
			   (aset math-comp-buf-margin j
				 (+ (aref math-comp-buf-margin j) (- new mrg)))
			   (setq j (1+ j)))
			 (setq mrg new)))

it is the '(while stuff an ugly, but intended way to comment out the
while loop, or a mistake? Seems like the the latter, but if so, it's
been there since the initial import of Calc 2.02f on revno:40770
(2001-11-06), which makes that code suspiciously unneeded...

    Juanma



             reply	other threads:[~2011-04-16  2:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-16  2:30 Juanma Barranquero [this message]
2011-04-17  3:01 ` Quoted while loop on calccomp.el Jay Belanger
2011-04-17  5:40   ` Juanma Barranquero

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='BANLkTinK4EpBLAhk-RM=QjRr2+DFnd-1+g@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@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).