unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: Sebastian Wiesner <lunaryorn@gmail.com>, 14974@debbugs.gnu.org
Subject: bug#14974: 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item
Date: Mon, 29 Jul 2013 18:15:14 -0400	[thread overview]
Message-ID: <jwv4nbdc8yh.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87y58pvyls.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Mon, 29 Jul 2013 23:35:11 +0200")

> What is a recipe to getting the error, so I can understand what the
> issue is?

1- install adaptive-wrap from ELPA.
2- restart Emacs.

>   '(menu-item "Adaptive Wrap" (lambda ()
> 				(interactive)
> 				(if adaptive-wrap-prefix-mode
> 				    (adaptive-wrap-prefix-mode -1)
> 				  (adaptive-wrap-prefix-mode 1)))

The binding should simply be adaptive-wrap-prefix-mode, shouldn't it?

> 	      :enable t
> 	      :visible (and (menu-bar-menu-frame-live-and-visible-p)
> 			    (featurep 'adaptive-wrap))

Why not always show it?

> 	      :button (:toggle . adaptive-wrap-prefix-mode))

adaptive-wrap-prefix-mode only exists after adaptive-wrap has been
loaded, so better use (bound-and-true-p adaptive-wrap-prefix-mode).


        Stefan





  reply	other threads:[~2013-07-29 22:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-28 13:32 bug#14974: 24.3.50; adaptive-wrap 0.3 calls potentially void function easy-menu-add-item Sebastian Wiesner
2013-07-29 11:59 ` Stephen Berman
2013-07-29 15:24   ` Stefan Monnier
2013-07-29 15:32     ` Sebastian Wiesner
2013-07-29 16:40       ` Stefan Monnier
2013-07-29 21:35         ` Stephen Berman
2013-07-29 22:15           ` Stefan Monnier [this message]
2013-07-29 23:30             ` Stephen Berman
2013-07-30  1:08               ` Stefan Monnier
2013-07-30  8:54                 ` Stephen Berman
2013-07-30 14:14                   ` Stefan Monnier

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=jwv4nbdc8yh.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=14974@debbugs.gnu.org \
    --cc=lunaryorn@gmail.com \
    --cc=stephen.berman@gmx.net \
    /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).