unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#371: describe-* and M-x should see past quote mark
@ 2008-06-05 23:39 ` jidanni
  2008-06-06 16:28   ` Drew Adams
  2008-06-06 20:10   ` bug#371: marked as done (describe-* and M-x should see past quote mark) Emacs bug Tracking System
  0 siblings, 2 replies; 3+ messages in thread
From: jidanni @ 2008-06-05 23:39 UTC (permalink / raw)
  To: bug-gnu-emacs

If the cursor is upon the ' in
'emacs-version'
describe-variable should still prompt for emacs-version.

E.g., on many Info pages there are lists of variables
`w3m-command-arguments'
'gnus-version'
one should be able to use C-n to slide down the edge without needing
to advance the cursor one step in order to use C-h v.
(OK, one could slide down column 1, but C-v puts us back in column 0.
Don't (not) worry, I will file a bug.)

Same detection algorithm should apply to C-h f and M-x.







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

* bug#371: describe-* and M-x should see past quote mark
  2008-06-05 23:39 ` bug#371: describe-* and M-x should see past quote mark jidanni
@ 2008-06-06 16:28   ` Drew Adams
  2008-06-06 20:10   ` bug#371: marked as done (describe-* and M-x should see past quote mark) Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2008-06-06 16:28 UTC (permalink / raw)
  To: jidanni, 371, bug-gnu-emacs

> If the cursor is upon the ' in
> 'emacs-version' describe-variable should still prompt for emacs-version.
> 
> E.g., on many Info pages there are lists of variables
> `w3m-command-arguments'
> 'gnus-version'
> one should be able to use C-n to slide down the edge without needing
> to advance the cursor one step in order to use C-h v.
> (OK, one could slide down column 1, but C-v puts us back in column 0.
> Don't (not) worry, I will file a bug.)
> 
> Same detection algorithm should apply to C-h f and M-x.

I agree. `describe-variable', `describe-function', and so on should return an
appropriate name nearest point, not necessarily precisely _at_ point.

I sent a patch to thingatpt.el with functions to do that. See these threads in
emacs-devel@gnu.org, both from July 2007:

"patch for thingatpt.el"
"symbol-at-point"

FWIW, I've redefined `describe-*' in my own code to DTRT in this regard. They
use the symbol nearest point, not at point.
http://www.emacswiki.org/cgi-bin/wiki/help-fns%2b.el







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

* bug#371: marked as done (describe-* and M-x should see past quote mark)
  2008-06-05 23:39 ` bug#371: describe-* and M-x should see past quote mark jidanni
  2008-06-06 16:28   ` Drew Adams
@ 2008-06-06 20:10   ` Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2008-06-06 20:10 UTC (permalink / raw)
  To: Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]


Your message dated Fri, 06 Jun 2008 16:03:38 -0400
with message-id <jwv3anqs55h.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#371: describe-* and M-x should see past quote mark
has caused the Emacs bug report #371,
regarding describe-* and M-x should see past quote mark
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
371: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=371
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 2432 bytes --]

From: jidanni@jidanni.org
To: bug-gnu-emacs@gnu.org
Subject: describe-* and M-x should see past quote mark
Date: Fri, 06 Jun 2008 07:39:54 +0800
Message-ID: <877id2u5cv.fsf@jidanni.org>

If the cursor is upon the ' in
'emacs-version'
describe-variable should still prompt for emacs-version.

E.g., on many Info pages there are lists of variables
`w3m-command-arguments'
'gnus-version'
one should be able to use C-n to slide down the edge without needing
to advance the cursor one step in order to use C-h v.
(OK, one could slide down column 1, but C-v puts us back in column 0.
Don't (not) worry, I will file a bug.)

Same detection algorithm should apply to C-h f and M-x.




[-- Attachment #3: Type: message/rfc822, Size: 2095 bytes --]

From: Stefan Monnier <monnier@iro.umontreal.ca>
To: 371-done@emacsbugs.donarmstrong.com
Subject: Re: bug#371: describe-* and M-x should see past quote mark
Date: Fri, 06 Jun 2008 16:03:38 -0400
Message-ID: <jwv3anqs55h.fsf-monnier+emacsbugreports@gnu.org>

> If the cursor is upon the ' in 'emacs-version'
> describe-variable should still prompt for emacs-version.

I've just installed a patch which fixes this for both C-h f and C-h v.


        Stefan


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

end of thread, other threads:[~2008-06-06 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <jwv3anqs55h.fsf-monnier+emacsbugreports@gnu.org>
2008-06-05 23:39 ` bug#371: describe-* and M-x should see past quote mark jidanni
2008-06-06 16:28   ` Drew Adams
2008-06-06 20:10   ` bug#371: marked as done (describe-* and M-x should see past quote mark) Emacs bug Tracking System

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