all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Vasil <mailing_lists@petervasil.net>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 14860@debbugs.gnu.org
Subject: bug#14860: [Peter Vasil] emacs 24.3.50.1: Byte compile warning Warning: function used to take 0+ arguments, now takes 0
Date: Sun, 14 Jul 2013 11:09:29 +0200	[thread overview]
Message-ID: <CAJe0aUTVUzr0jF8BTgL_+MvUKfKqZrhn+B118ts8E6Sc7+jCiw@mail.gmail.com> (raw)
In-Reply-To: <jwvmwpqf2zr.fsf-monnier+emacs@gnu.org>

Indeed, I have an advice on that function

(defadvice goto-line-with-feedback
    (after
     expand-after-goto-line-with-feedback
     activate compile)
    "hideshow-expand affected block when using
goto-line-with-feedback in a collapsed buffer"
    (save-excursion
      (hs-show-block)))

Peter

On Sun, Jul 14, 2013 at 1:35 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> [ Making it into a proper bug-report.  ]
>
>
>
> ---------- Forwarded message ----------
> From: Peter Vasil <mailing_lists@petervasil.net>
> To: emacs-devel@gnu.org
> Cc:
> Date: Sat, 13 Jul 2013 13:02:24 +0200
> Subject: emacs 24.3.50.1: Byte compile warning Warning: function used to take 0+ arguments, now takes 0
> Hi list,
>
> I have the following function in my init.el file
>
> (defun goto-line-with-feedback ()
>   "Show line numbers temporarily, while prompting for the line number input"
>   (interactive)
>   (let ((line-numbers-off-p (if (boundp 'linum-mode)
>                                 (not linum-mode)
>                               t)))
>     (unwind-protect
>         (progn
>           (when line-numbers-off-p
>             (linum-mode 1))
>           (call-interactively 'goto-line))
>       (when line-numbers-off-p
>         (linum-mode -1)))))
>
> When I byte-compile init.el I get the following warning:
> function goto-line-with-feedback used to take 0+ arguments, now takes 0
>
> With emacs 24.3 I don't get this warning only with emacs trunk.
> I am on revision 113411
>
> Thanks,
> Peter
>





  parent reply	other threads:[~2013-07-14  9:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-13 23:35 bug#14860: [Peter Vasil] emacs 24.3.50.1: Byte compile warning Warning: function used to take 0+ arguments, now takes 0 Stefan Monnier
2013-07-14  0:02 ` Stefan Monnier
2013-07-14  1:03   ` Michael Heerdegen
2013-07-14  6:34     ` Stefan Monnier
2013-07-14  9:09 ` Peter Vasil [this message]
     [not found] <CAJe0aUTtUyT8fhnJyg=kWLcD1VaCAS95pHTLxXwhE1J+wZBtzw@mail.gmail.com>
2013-07-14 17:41 ` Stefan Monnier
2013-07-14 18:28   ` Peter Vasil

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=CAJe0aUTVUzr0jF8BTgL_+MvUKfKqZrhn+B118ts8E6Sc7+jCiw@mail.gmail.com \
    --to=mailing_lists@petervasil.net \
    --cc=14860@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.