unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [amscott1@sedona.ch.intel.com: M-x goto-address isn't binding mouse-2 and C-c RET]
@ 2005-12-17  1:05 Richard M. Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard M. Stallman @ 2005-12-17  1:05 UTC (permalink / raw)


Would someone please work on this and ack?

------- Start of forwarded message -------
X-Envelope-From: amscott1@sedona.ch.intel.com
Date: Fri, 16 Dec 2005 09:14:50 -0700
From: "Andrew M. Scott" <amscott1@sedona.ch.intel.com>
To: emacs-pretest-bug@gnu.org
Cc: amscott1@sedona.ch.intel.com
Subject: M-x goto-address isn't binding mouse-2 and C-c RET
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python
X-Spam-Level: 
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63

1. Functionality: M-x goto-address isn't binding mouse-2 and C-c RET per its
   docstring and *info* page

2. Docstrings: mouse-2 and C-c are really being bound to 
   goto-address-at-point (and goto-address-at-mouse, which is 
   an alias for goto-address-at-point), and *not* goto-address.

   One possible fix is to update the the goto-address docstring mention from 
   "By default, goto-address binds to mouse-2 and C-c RET."
   to something along the lines of
   "By default, goto-address binds goto-address-at-point to mouse-2 and C-c RET."

Example:

% emacs -q &
C-x C-f <some-path>/emacs/lisp/vc-svn.el
M-x goto-address
C-h w goto-address
goto-address is not on any key
C-h w goto-address-at-point
goto-address-at-point is not on any key


In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2005-12-16 on chlr5836
X server distributor `The XFree86 Project, Inc', version 11.0.40201000
configured using `configure '--prefix=/stor/garray/linux_2.6.5_x86-64' '--x-includes=/usr/intel/pkgs/X11/R6.7.0-64/include' '--x-libraries=/usr/intel/pkgs/X11/R6.7.0-64/lib' 'CC=gcc' 'CFLAGS=-O2 -I/usr/intel/pkgs/X11/R6.7.0-64/include -L/usr/intel/pkgs/X11/R6.7.0-64/lib -I/usr/intel/pkgs/zlib/1.2.1-64/include -L/usr/intel/pkgs/zlib/1.2.1-64/lib  -I/usr/intel/pkgs/ncurses/5.4/include -L/usr/intel/pkgs/ncurses/5.4/lib -I/usr/intel/pkgs/libungif/4.1.3/include -L/usr/intel/pkgs/libungif/4.1.3/lib -I/usr/intel/pkgs/libpng/1.0.16rc1-64/include -L/usr/intel/pkgs/libpng/1.0.16rc1-64/lib -I/usr/intel/pkgs/jpeg/6b-64/include -L/usr/intel/pkgs/jpeg/6b-64/lib' 'LDFLAGS=-L/usr/intel/pkgs/X11/R6.7.0-64/lib -L/usr/intel/pkgs/zlib/1.2.1-64/lib -L/usr/intel/pkgs/ncurses/5.4/lib -L/usr/intel/pkgs/libungif/4.1.3/lib -L/usr/intel/pkgs/libpng/1.0.16rc1-64/lib -L/usr/intel/pkgs/jpeg/6b-64/lib -Wl,-rpath=/usr/
 intel/pkgs/X11/R6.7.0-64/lib:/usr/intel/pkgs/zlib/1.2.1-64/lib:/usr/intel/pkgs/ncurses/5.!
 4/lib:/usr/intel/pkgs/libungif/4.1.3/lib:/usr/intel/pkgs/libpng/1.0.16rc1-64/lib:/usr/intel/pkgs/jpeg/6b-64/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  auto-compression-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [amscott1@sedona.ch.intel.com: M-x goto-address isn't binding mouse-2 and C-c RET]
@ 2005-12-23 18:11 Richard Stallman
  2005-12-28 15:57 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2005-12-23 18:11 UTC (permalink / raw)


[I sent this message a week ago but did not get a response.]

Would someone please work on this and ack?

------- Start of forwarded message -------
X-Envelope-From: amscott1@sedona.ch.intel.com
Date: Fri, 16 Dec 2005 09:14:50 -0700
From: "Andrew M. Scott" <amscott1@sedona.ch.intel.com>
To: emacs-pretest-bug@gnu.org
Cc: amscott1@sedona.ch.intel.com
Subject: M-x goto-address isn't binding mouse-2 and C-c RET
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python
X-Spam-Level: 
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63

1. Functionality: M-x goto-address isn't binding mouse-2 and C-c RET per its
   docstring and *info* page

2. Docstrings: mouse-2 and C-c are really being bound to 
   goto-address-at-point (and goto-address-at-mouse, which is 
   an alias for goto-address-at-point), and *not* goto-address.

   One possible fix is to update the the goto-address docstring mention from 
   "By default, goto-address binds to mouse-2 and C-c RET."
   to something along the lines of
   "By default, goto-address binds goto-address-at-point to mouse-2 and C-c RET."

Example:

% emacs -q &
C-x C-f <some-path>/emacs/lisp/vc-svn.el
M-x goto-address
C-h w goto-address
goto-address is not on any key
C-h w goto-address-at-point
goto-address-at-point is not on any key


In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2005-12-16 on chlr5836
X server distributor `The XFree86 Project, Inc', version 11.0.40201000
configured using `configure '--prefix=/stor/garray/linux_2.6.5_x86-64' '--x-includes=/usr/intel/pkgs/X11/R6.7.0-64/include' '--x-libraries=/usr/intel/pkgs/X11/R6.7.0-64/lib' 'CC=gcc' 'CFLAGS=-O2 -I/usr/intel/pkgs/X11/R6.7.0-64/include -L/usr/intel/pkgs/X11/R6.7.0-64/lib -I/usr/intel/pkgs/zlib/1.2.1-64/include -L/usr/intel/pkgs/zlib/1.2.1-64/lib  -I/usr/intel/pkgs/ncurses/5.4/include -L/usr/intel/pkgs/ncurses/5.4/lib -I/usr/intel/pkgs/libungif/4.1.3/include -L/usr/intel/pkgs/libungif/4.1.3/lib -I/usr/intel/pkgs/libpng/1.0.16rc1-64/include -L/usr/intel/pkgs/libpng/1.0.16rc1-64/lib -I/usr/intel/pkgs/jpeg/6b-64/include -L/usr/intel/pkgs/jpeg/6b-64/lib' 'LDFLAGS=-L/usr/intel/pkgs/X11/R6.7.0-64/lib -L/usr/intel/pkgs/zlib/1.2.1-64/lib -L/usr/intel/pkgs/ncurses/5.4/lib -L/usr/intel/pkgs/libungif/4.1.3/lib -L/usr/intel/pkgs/libpng/1.0.16rc1-64/lib -L/usr/intel/pkgs/jpeg/6b-64/lib -Wl,-rpath=/usr/
 intel/pkgs/X11/R6.7.0-64/lib:/usr/intel/pkgs/zlib/1.2.1-64/lib:/usr/intel/pkgs/ncurses/5.!
 4/lib:/usr/intel/pkgs/libungif/4.1.3/lib:/usr/intel/pkgs/libpng/1.0.16rc1-64/lib:/usr/intel/pkgs/jpeg/6b-64/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  auto-compression-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [amscott1@sedona.ch.intel.com: M-x goto-address isn't binding mouse-2 and C-c RET]
  2005-12-23 18:11 Richard Stallman
@ 2005-12-28 15:57 ` Juri Linkov
  0 siblings, 0 replies; 3+ messages in thread
From: Juri Linkov @ 2005-12-28 15:57 UTC (permalink / raw)
  Cc: emacs-devel

> [I sent this message a week ago but did not get a response.]
>
> Would someone please work on this and ack?

This is purely a documentation problem.

> 1. Functionality: M-x goto-address isn't binding mouse-2 and C-c RET per its
>    docstring and *info* page

The node (info "(emacs)Goto-address") says:

     You can make URLs in the current buffer active with `M-x
  goto-address'.  This finds all the URLs in the buffer, and establishes
  bindings for `Mouse-2' and `C-c <RET>' on them.

It seems it is pretty clear that that bindings `Mouse-2' and `C-c
<RET>' are established only on URLs (technically, on overlays),
not on the whole buffer.

> 2. Docstrings: mouse-2 and C-c are really being bound to
>    goto-address-at-point (and goto-address-at-mouse, which is
>    an alias for goto-address-at-point), and *not* goto-address.
>
>    One possible fix is to update the the goto-address docstring mention from
>    "By default, goto-address binds to mouse-2 and C-c RET."
>    to something along the lines of
>    "By default, goto-address binds goto-address-at-point to mouse-2 and C-c RET."

I think this is a good clarification of the docstring.  Perhaps it should
be extended to say that it binds these keys only on URLs and e-mail addresses:

  By default, goto-address binds `goto-address-at-point' to mouse-2 and C-c RET
  only on URLs and e-mail addresses.

> Example:
>
> % emacs -q &
> C-x C-f <some-path>/emacs/lisp/vc-svn.el
> M-x goto-address
> C-h w goto-address
> goto-address is not on any key

This is correct.

> C-h w goto-address-at-point
> goto-address-at-point is not on any key

`C-h w goto-address-at-point' called when point on an overlay with an URL
displays:

  goto-address-at-point is on <mouse-2>, C-c RET

So this is correct too.

-- 
Juri Linkov
http://www.jurta.org/emacs/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-28 15:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-17  1:05 [amscott1@sedona.ch.intel.com: M-x goto-address isn't binding mouse-2 and C-c RET] Richard M. Stallman
  -- strict thread matches above, loose matches on Subject: below --
2005-12-23 18:11 Richard Stallman
2005-12-28 15:57 ` Juri Linkov

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).