* mouse-1 not going to URL
@ 2005-10-23 15:31 Robert J. Chassell
2005-10-24 1:00 ` Richard M. Stallman
0 siblings, 1 reply; 9+ messages in thread
From: Robert J. Chassell @ 2005-10-23 15:31 UTC (permalink / raw)
Today's GNU Emacs CVS snapshot, Sun, 2005 Oct 23 12:42 UTC
GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.6.10)
built by evaluating
(progn
(cd "/usr/local/src/emacs/")
(compile
"date && ./configure --with-type1 \
--with-x-toolkit=gtk \
--prefix=/usr/local --with-sound=yes \
&& time make bootstrap && date")
(ding) (sleep-for 1) (ding))
and started with
emacs -Q
(bootstrap build and start with no errors)
Although moving the mouse over a URL produces this message as a
tooltip,
mouse-1: go to this URL
in fact, mouse-1 does not go to the URL, but moves point to the URL and
C-h f (`describe-function') says
<down-mouse-1> at that spot runs the command mouse-drag-region
-------------- up event ---------------
<drag-mouse-1> at that spot runs the command mouse-set-region
Here is the URL in GNU Emacs Info mode:
(As I point out in
`http://www.rattlesnake.com/notions/energy-alternate-essence.html',
these sources use the traditional `elements' of Fire, Air, Earth, and
Water.
Here is the Texinfo source:
(As I point out in
@url{http://www.rattlesnake.com/notions/energy-alternate-essence.html},
these sources use the traditional `elements' of Fire, Air, Earth, and
Water.
--
Robert J. Chassell
bob@rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mouse-1 not going to URL
2005-10-23 15:31 mouse-1 not going to URL Robert J. Chassell
@ 2005-10-24 1:00 ` Richard M. Stallman
2005-10-24 12:17 ` Robert J. Chassell
0 siblings, 1 reply; 9+ messages in thread
From: Richard M. Stallman @ 2005-10-24 1:00 UTC (permalink / raw)
Cc: emacs-devel
Although moving the mouse over a URL produces this message as a
tooltip,
mouse-1: go to this URL
How exactly do you get that to happen?
What commands do you type, and over what text do you put the mouse?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mouse-1 not going to URL
2005-10-24 1:00 ` Richard M. Stallman
@ 2005-10-24 12:17 ` Robert J. Chassell
2005-10-24 13:52 ` Lennart Borgman
2005-10-25 15:59 ` Richard M. Stallman
0 siblings, 2 replies; 9+ messages in thread
From: Robert J. Chassell @ 2005-10-24 12:17 UTC (permalink / raw)
Although moving the mouse over a URL produces this message as a
tooltip,
mouse-1: go to this URL
How exactly do you get that to happen?
What commands do you type, and over what text do you put the mouse?
I wrote the foo.texi file, which follows after my signature. Then I
made an Info file from that Texinfo file by evaluating the following
in a shell:
makeinfo --force --fill-column=70 --no-split --paragraph-indent=0 \
--verbose foo.texi
In the foo.texi file, I included a URL reference to a known Web page:
See
@url{http://www.rattlesnake.com/notions/Choice-and-Constraint.html},
which is intended as a description of `what is'
@dots{}
In the default GNU Emacs, started with `emacs -Q -D', that sentence
appears as:
See `http://www.rattlesnake.com/notions/Choice-and-Constraint.html',
which is intended as a description of `what is' ...
(with the URL in blue and underlined).
In the default GNU Emacs, when I move the mouse over the URL, the
background changes to a light blue green that is called
`darkseagreen2'. When I click a mouse cursor on the URL, the message
area says both:
mouse-1: go to this URL
Loading thingatpt...done
(which I quoted out of the *Messages* buffer) but nothing happens.
Hmmm ... `M-x w3' does nothing and I just looked for `w3' in the Emacs
CVS sources and could not find them. I thought W3 mode was included
in the default CVS sources, but evidently it is not. W3M mode, which
is much faster than W3 mode, is not included either.
That would explain why clicking the mouse cursor over the URL fails.
As is, in the default GNU Emacs, the message is wrong; it should not
say:
mouse-1: go to this URL
Either W3 mode or preferably W3M mode should be made a part of the
standard Emacs or the message in the default should be changed.
(In my usual Emacs, in which W3M mode is loaded by my .emacs file, the
proper URL comes up when I click on it. I just checked. In this
case, the message is correct.)
--
Robert J. Chassell
bob@rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
Here is information from the default GNU Emacs started with
`emacs -Q -D':
In GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.6.10)
of 2005-10-24 on benthic
X server distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--with-type1' '--with-x-toolkit=gtk' '--prefix=/usr/local' '--with-sound=yes''
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
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: nil
Major mode: Info
Minor modes in effect:
mouse-wheel-mode: t
auto-compression-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Here is the foo.texi file that I use for testing:
\input texinfo.tex @c -*-texinfo-*-
@comment %**start of header
@setfilename foo.info
@settitle Texinfo Test
@smallbook
@comment %**end of header
@ignore
## Summary of shell commands to create various output formats:
pushd /u/texinfo/
## Info output
makeinfo --force --fill-column=70 --no-split --paragraph-indent=0 \
--verbose foo.texi
## ;; (kill-buffer "*info*")
## ;; (info "/u/texinfo/foo.info" nil)
## DVI output
texi2dvi foo.texi
## View DVI output
## xdvi foo.dvi &
## HTML output
makeinfo --no-split --html foo.texi
## Plain text output
makeinfo --fill-column=70 --no-split --paragraph-indent=0 \
--verbose --no-headers --output=foo.txt \
foo.texi
## DocBook output
makeinfo --docbook --no-split --paragraph-indent=0 \
--verbose foo.texi
## XML output
makeinfo --xml --no-split --paragraph-indent=0 \
--verbose foo.texi
popd
@end ignore
@titlepage
@sp 6
@re@center @titlefont{Test document}
@sp 4
@center by Robert J. Chassell
@page
@vskip 0pt plus 1filll
@end titlepage
@contents
@ifnottex
@node Top, Chapter One, (dir), (dir)
@top Test Top
@end ifnottex
@menu
* Chapter One::
@end menu
@node Chapter One, , Top, Top
@chapter Chapter One
Contents of chapter 1.
See
@url{http://www.rattlesnake.com/notions/Choice-and-Constraint.html},
which is intended as a description of `what is'
@dots{} not the `what is' that most often concern citizens,
politicians, and political scientists, but a `what is' that reflects
the current world and of `what can be done'.
More contents of chapter 1.
@bye
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mouse-1 not going to URL
2005-10-24 12:17 ` Robert J. Chassell
@ 2005-10-24 13:52 ` Lennart Borgman
2005-10-24 18:05 ` Robert J. Chassell
2005-10-25 15:59 ` Richard M. Stallman
1 sibling, 1 reply; 9+ messages in thread
From: Lennart Borgman @ 2005-10-24 13:52 UTC (permalink / raw)
Cc: emacs-devel
Robert J. Chassell wrote:
>In the default GNU Emacs, started with `emacs -Q -D', that sentence
>appears as:
>
> See `http://www.rattlesnake.com/notions/Choice-and-Constraint.html',
> which is intended as a description of `what is' ...
>
>(with the URL in blue and underlined).
>
>In the default GNU Emacs, when I move the mouse over the URL, the
>background changes to a light blue green that is called
>`darkseagreen2'. When I click a mouse cursor on the URL, the message
>area says both:
>
> mouse-1: go to this URL
>
> Loading thingatpt...done
>
>(which I quoted out of the *Messages* buffer) but nothing happens.
>
>
On w32 with CVS Emacs compiled a few days ago clicking on the link or
pressing RET opens the URL in my browser.
However trying to look at the link with C-h c gives this:
RET (translated from <return>) runs the command Info-follow-nearest-node
<down-mouse-1> at that spot runs the command mouse-drag-region
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mouse-1 not going to URL
2005-10-24 13:52 ` Lennart Borgman
@ 2005-10-24 18:05 ` Robert J. Chassell
2005-10-24 18:37 ` Romain Francoise
2005-10-24 20:17 ` Lennart Borgman
0 siblings, 2 replies; 9+ messages in thread
From: Robert J. Chassell @ 2005-10-24 18:05 UTC (permalink / raw)
Cc: emacs-devel
Lennart Borgman wrote,
On w32 with CVS Emacs compiled a few days ago clicking on the link
or pressing RET opens the URL in my browser.
That is what I expected, but it did not happen in the default. (I
hardly ever use a default Emacs, so I cannot tell you when the problem
began or whether it has always been there, although I think not.)
Which Web browser is started? What happens when you use today's CVS
snapshot?
--
Robert J. Chassell
bob@rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mouse-1 not going to URL
2005-10-24 18:05 ` Robert J. Chassell
@ 2005-10-24 18:37 ` Romain Francoise
2005-10-24 20:57 ` Robert J. Chassell
2005-10-24 20:17 ` Lennart Borgman
1 sibling, 1 reply; 9+ messages in thread
From: Romain Francoise @ 2005-10-24 18:37 UTC (permalink / raw)
Cc: emacs-devel
In its default configuration Emacs automatically tries to find a usable
browser, see the `browse-url-default-browser' function. One of these
browsers must be present on your system, but malfunctioning.
(With the test case you posted, the Mozilla browser is started on my
system.)
--
Romain Francoise <romain@orebokech.com> | I've become someone else's
it's a miracle -- http://orebokech.com/ | nightmare...
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mouse-1 not going to URL
2005-10-24 18:05 ` Robert J. Chassell
2005-10-24 18:37 ` Romain Francoise
@ 2005-10-24 20:17 ` Lennart Borgman
1 sibling, 0 replies; 9+ messages in thread
From: Lennart Borgman @ 2005-10-24 20:17 UTC (permalink / raw)
Cc: emacs-devel
Robert J. Chassell wrote:
>Lennart Borgman wrote,
>
> On w32 with CVS Emacs compiled a few days ago clicking on the link
> or pressing RET opens the URL in my browser.
>
>That is what I expected, but it did not happen in the default. (I
>hardly ever use a default Emacs, so I cannot tell you when the problem
>began or whether it has always been there, although I think not.)
>
>Which Web browser is started? What happens when you use today's CVS
>snapshot?
>
>
Firefox started with todays CVS.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mouse-1 not going to URL
2005-10-24 18:37 ` Romain Francoise
@ 2005-10-24 20:57 ` Robert J. Chassell
0 siblings, 0 replies; 9+ messages in thread
From: Robert J. Chassell @ 2005-10-24 20:57 UTC (permalink / raw)
Cc: emacs-devel
In its default configuration Emacs automatically tries to find a usable
browser, see the `browse-url-default-browser' function. One of these
browsers must be present on your system, but malfunctioning.
Thanks! That was it. I had
/usr/bin/gnome-moz-remote
which did not work. `browse-url-gnome-moz' comes first in the
conditional in `browse-url-default-browser'.
--
Robert J. Chassell
bob@rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: mouse-1 not going to URL
2005-10-24 12:17 ` Robert J. Chassell
2005-10-24 13:52 ` Lennart Borgman
@ 2005-10-25 15:59 ` Richard M. Stallman
1 sibling, 0 replies; 9+ messages in thread
From: Richard M. Stallman @ 2005-10-25 15:59 UTC (permalink / raw)
Cc: emacs-devel
When I try your example, it tries to call browse-url
with either Mouse-1 or Mouse-2.
(That does not actually work on my machine)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-10-25 15:59 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-23 15:31 mouse-1 not going to URL Robert J. Chassell
2005-10-24 1:00 ` Richard M. Stallman
2005-10-24 12:17 ` Robert J. Chassell
2005-10-24 13:52 ` Lennart Borgman
2005-10-24 18:05 ` Robert J. Chassell
2005-10-24 18:37 ` Romain Francoise
2005-10-24 20:57 ` Robert J. Chassell
2005-10-24 20:17 ` Lennart Borgman
2005-10-25 15:59 ` Richard M. Stallman
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).