* find face in use at point
@ 2006-02-15 18:26 Harry Putnam
2006-02-15 21:25 ` Drew Adams
` (4 more replies)
0 siblings, 5 replies; 14+ messages in thread
From: Harry Putnam @ 2006-02-15 18:26 UTC (permalink / raw)
I used to know how to do this:
Find the name of the face in use at point.
Especially in gnus message headers, then with that information one
could go to customize-apropos, plug in the name and go diretly to that
customization buffer.
Anyone know what command I'm thinking of? My search strings in M-x
apropos have not born fruit.
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: find face in use at point
2006-02-15 18:26 find face in use at point Harry Putnam
@ 2006-02-15 21:25 ` Drew Adams
2006-02-15 21:32 ` Alan Mackenzie
` (3 subsequent siblings)
4 siblings, 0 replies; 14+ messages in thread
From: Drew Adams @ 2006-02-15 21:25 UTC (permalink / raw)
Command `describe-text-properties'.
Another quick way: C-mouse-2 brings up the facemenu menu. Menu item Describe
Properties does the same thing as `describe-text-properties': it describes
all text properties at the cursor position. (Note: not at the mouse-pointer
position.)
You might also be interested in library facemenu+.el, which enhances the
facemenu menu a bit (e.g. gives you text properties at mouse pointer). It is
available here: http://www.emacswiki.org/cgi-bin/wiki/facemenu%2b.el.
HTH.
I used to know how to do this:
Find the name of the face in use at point.
Especially in gnus message headers, then with that information one
could go to customize-apropos, plug in the name and go diretly to that
customization buffer.
Anyone know what command I'm thinking of? My search strings in M-x
apropos have not born fruit.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: find face in use at point
2006-02-15 18:26 find face in use at point Harry Putnam
2006-02-15 21:25 ` Drew Adams
@ 2006-02-15 21:32 ` Alan Mackenzie
2006-02-15 23:18 ` Harry Putnam
2006-02-15 23:19 ` Peter Dyballa
` (2 subsequent siblings)
4 siblings, 1 reply; 14+ messages in thread
From: Alan Mackenzie @ 2006-02-15 21:32 UTC (permalink / raw)
Harry Putnam <reader@newsguy.com> wrote on Wed, 15 Feb 2006 12:26:15 -0600:
> I used to know how to do this:
> Find the name of the face in use at point.
> Especially in gnus message headers, then with that information one
> could go to customize-apropos, plug in the name and go diretly to that
> customization buffer.
> Anyone know what command I'm thinking of? My search strings in M-x
> apropos have not born fruit.
Hi, Harry!
I don't think there is any such function, as such. There is a command
which returns all properties at point. I bind it to C-c p thusly:
(global-set-key [?\C-c ?p] 'list-text-properties-at)
--
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: find face in use at point
2006-02-15 21:32 ` Alan Mackenzie
@ 2006-02-15 23:18 ` Harry Putnam
2006-02-16 2:19 ` Drew Adams
0 siblings, 1 reply; 14+ messages in thread
From: Harry Putnam @ 2006-02-15 23:18 UTC (permalink / raw)
Alan Mackenzie <acm@muc.de> writes:
> Harry Putnam <reader@newsguy.com> wrote on Wed, 15 Feb 2006 12:26:15 -0600:
>> I used to know how to do this:
>
>> Find the name of the face in use at point.
>
>> Especially in gnus message headers, then with that information one
>> could go to customize-apropos, plug in the name and go diretly to that
>> customization buffer.
>
>> Anyone know what command I'm thinking of? My search strings in M-x
>> apropos have not born fruit.
>
> Hi, Harry!
>
> I don't think there is any such function, as such. There is a command
> which returns all properties at point. I bind it to C-c p thusly:
Yeah there is. Drew just posted it.
Command `describe-text-properties'
That gives the face name so you can plug it into customize-face and go
right to it.
> (global-set-key [?\C-c ?p] 'list-text-properties-at)
I don't have this ... I'm running fairly recent cvs emacs.
GNU Emacs 22.0.50.1 [...]
M-x list-<spc> none of the completions show the word text at all
M-x list-text-properties-at <RET> [no match]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: find face in use at point
2006-02-15 18:26 find face in use at point Harry Putnam
2006-02-15 21:25 ` Drew Adams
2006-02-15 21:32 ` Alan Mackenzie
@ 2006-02-15 23:19 ` Peter Dyballa
[not found] ` <mailman.285.1140045570.2856.help-gnu-emacs@gnu.org>
2006-02-16 16:56 ` Stefan Monnier
4 siblings, 0 replies; 14+ messages in thread
From: Peter Dyballa @ 2006-02-15 23:19 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 15.02.2006 um 19:26 schrieb Harry Putnam:
> Find the name of the face in use at point.
C-u C-x = -- is it this?
--
Greetings
Pete
A lot of us are working harder than we want, at things we don't like to
do. Why? ...In order to afford the sort of existence we don't care
to live.
-- Bradford Angier
^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.285.1140045570.2856.help-gnu-emacs@gnu.org>]
* Re: find face in use at point
2006-02-15 18:26 find face in use at point Harry Putnam
` (3 preceding siblings ...)
[not found] ` <mailman.285.1140045570.2856.help-gnu-emacs@gnu.org>
@ 2006-02-16 16:56 ` Stefan Monnier
2006-02-17 0:54 ` Harry Putnam
4 siblings, 1 reply; 14+ messages in thread
From: Stefan Monnier @ 2006-02-16 16:56 UTC (permalink / raw)
> I used to know how to do this:
> Find the name of the face in use at point.
If the purpose is to customize it, then M-x customize-face will do the trick
(the default face is the face at point).
Stefan
^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.279.1140038759.2856.help-gnu-emacs@gnu.org>]
* Re: find face in use at point
[not found] <mailman.279.1140038759.2856.help-gnu-emacs@gnu.org>
@ 2006-02-15 23:21 ` Harry Putnam
2006-03-16 2:32 ` David Combs
2006-02-15 23:27 ` Harry Putnam
1 sibling, 1 reply; 14+ messages in thread
From: Harry Putnam @ 2006-02-15 23:21 UTC (permalink / raw)
"Drew Adams" <drew.adams@oracle.com> writes:
> Command `describe-text-properties'.
Haa, thats the critter I as after. Thanks.. This one goes to my
snippets file, maybe I'll be able to find it next time.
> Another quick way: C-mouse-2 brings up the facemenu menu.
Cool, thats even quicker.
[,,,]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: find face in use at point
2006-02-15 23:21 ` Harry Putnam
@ 2006-03-16 2:32 ` David Combs
2006-03-16 15:54 ` Drew Adams
0 siblings, 1 reply; 14+ messages in thread
From: David Combs @ 2006-03-16 2:32 UTC (permalink / raw)
In article <874q305hur.fsf@newsguy.com>,
Harry Putnam <reader@newsguy.com> wrote:
>"Drew Adams" <drew.adams@oracle.com> writes:
>
>> Command `describe-text-properties'.
>
>Haa, thats the critter I as after. Thanks.. This one goes to my
>snippets file, maybe I'll be able to find it next time.
>
>> Another quick way: C-mouse-2 brings up the facemenu menu.
>
>Cool, thats even quicker.
>[,,,]
What, hold down control-key, press middle mouse-key?
All I get is a beep. (crosshairs are over a colored letter in dired)
Am using 21.3.2.
Ditto for 22.0.50.1.
What am I doing wrong?
David
^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: find face in use at point
2006-03-16 2:32 ` David Combs
@ 2006-03-16 15:54 ` Drew Adams
0 siblings, 0 replies; 14+ messages in thread
From: Drew Adams @ 2006-03-16 15:54 UTC (permalink / raw)
>> Another quick way: C-mouse-2 brings up the facemenu menu.
What, hold down control-key, press middle mouse-key?
Yes.
All I get is a beep. (crosshairs are over a colored letter in dired)
Am using 21.3.2.
Ditto for 22.0.50.1.
What am I doing wrong?
Did you start with "emacs -q --no-site-file"? If not, you might be loading
other code that interferes with this. It should work in both Emacs 21 and
22.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: find face in use at point
[not found] <mailman.279.1140038759.2856.help-gnu-emacs@gnu.org>
2006-02-15 23:21 ` Harry Putnam
@ 2006-02-15 23:27 ` Harry Putnam
2006-02-16 2:22 ` Drew Adams
1 sibling, 1 reply; 14+ messages in thread
From: Harry Putnam @ 2006-02-15 23:27 UTC (permalink / raw)
"Drew Adams" <drew.adams@oracle.com> writes:
> You might also be interested in library facemenu+.el, which enhances the
> facemenu menu a bit (e.g. gives you text properties at mouse pointer). It is
> available here: http://www.emacswiki.org/cgi-bin/wiki/facemenu%2b.el.
This pkg needs other non-stock el files to work. like doremi-frm.el
and I think some other stuff, so it can't just be loaded and used.
Too bad too because it looks nice.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-03-16 15:54 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15 18:26 find face in use at point Harry Putnam
2006-02-15 21:25 ` Drew Adams
2006-02-15 21:32 ` Alan Mackenzie
2006-02-15 23:18 ` Harry Putnam
2006-02-16 2:19 ` Drew Adams
2006-02-15 23:19 ` Peter Dyballa
[not found] ` <mailman.285.1140045570.2856.help-gnu-emacs@gnu.org>
2006-02-15 23:47 ` Harry Putnam
2006-02-16 16:56 ` Stefan Monnier
2006-02-17 0:54 ` Harry Putnam
[not found] <mailman.279.1140038759.2856.help-gnu-emacs@gnu.org>
2006-02-15 23:21 ` Harry Putnam
2006-03-16 2:32 ` David Combs
2006-03-16 15:54 ` Drew Adams
2006-02-15 23:27 ` Harry Putnam
2006-02-16 2:22 ` Drew Adams
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.