all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Robbie Morrison" <robbie@actrix.co.nz>
To: 6670@debbugs.gnu.org
Subject: bug#6670: 23.1; faulty example in Lisp Reference Manual, 22.17.4 Menu Example
Date: Tue, 20 Jul 2010 06:21:59 +1200 (NZST)	[thread overview]
Message-ID: <caafc9a201312a3d9b4e4eb76e1a3233.squirrel@my.actrix.co.nz> (raw)


In section 22.17.4 of the Lisp Reference Manual, I believe that:

     (define-key menu-bar-edit-menu [replace]
       (list 'menu-item "Replace" menu-bar-replace-menu))

should read:

     (define-key global-map [replace]
       (list 'menu-item "Replace" menu-bar-replace-menu))

The explanatory paragraph which follows needs checking too.

I tested both options and only my modification worked as expected.
The original example ran without issue, but failed to produce an entry
in the menu-bar.

my appreciation to all the Emacs maintainers
Robbie
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : morrison@iet.tu-berlin.de
Webmail (preferred)           : robbie@actrix.co.nz
[from Webmail client]

In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-03-29 on yellow, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure  '--build=x86_64-linux-gnu'
'--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var/lib'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''







             reply	other threads:[~2010-07-19 18:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19 18:21 Robbie Morrison [this message]
2010-07-20 22:23 ` bug#6670: 23.1; faulty example in Lisp Reference Manual, 22.17.4 Menu Example Glenn Morris
     [not found]   ` <124ed7d5446b49e959e9b07dcf67270f.squirrel@my.actrix.co.nz>
2010-08-09 22:46     ` Glenn Morris

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=caafc9a201312a3d9b4e4eb76e1a3233.squirrel@my.actrix.co.nz \
    --to=robbie@actrix.co.nz \
    --cc=6670@debbugs.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 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.