unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: mouse-1 not going to URL
Date: Mon, 24 Oct 2005 12:17:33 +0000 (UTC)	[thread overview]
Message-ID: <m1EU1Gf-0004QfC@rattlesnake.com> (raw)
In-Reply-To: <E1ETqhk-0003X3-1f@fencepost.gnu.org> (rms@gnu.org)

       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

  reply	other threads:[~2005-10-24 12:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=m1EU1Gf-0004QfC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    /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).