all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Aaron S. Hawley" <aaron.s.hawley@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 11560@debbugs.gnu.org
Subject: bug#11560: 24.0.97; [PATCH] forward-same-syntax: wrong-type-argument number-or-marker-p nil
Date: Sat, 26 May 2012 17:41:29 -0400	[thread overview]
Message-ID: <CAFw1JJ6E-S0ZG-yo9kiLWDxup=M7B5eeYFOL+UEz-moVF0kDmQ@mail.gmail.com> (raw)
In-Reply-To: <jwvlikf849v.fsf-monnier+emacs@gnu.org>

On 5/26/12, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>>  (defun forward-same-syntax (&optional arg)
>>   "Move point past all characters with the same syntax class.
>>  With prefix argument ARG, do it ARG times if positive, or move
>>  backwards ARG times if negative."
>>    (interactive "p")
>> +  (or arg (setq arg 1))
>
> Actually, unless (forward-same-syntax) used to work, the better fix is
> to make the argument non-optional.

I considered that, but assumed it's better to keep it consistent with
the rest of the forward-* functions in Emacs.





      reply	other threads:[~2012-05-26 21:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-25 19:40 bug#11560: 24.0.97; [PATCH] forward-same-syntax: wrong-type-argument number-or-marker-p nil Aaron S. Hawley
2012-05-26  2:41 ` Glenn Morris
2012-05-26 13:24 ` Stefan Monnier
2012-05-26 21:41   ` Aaron S. Hawley [this message]

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='CAFw1JJ6E-S0ZG-yo9kiLWDxup=M7B5eeYFOL+UEz-moVF0kDmQ@mail.gmail.com' \
    --to=aaron.s.hawley@gmail.com \
    --cc=11560@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.