emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* quick question about face names
@ 2011-03-15  3:53 Filippo A. Salustri
  2011-03-15  5:06 ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Filippo A. Salustri @ 2011-03-15  3:53 UTC (permalink / raw)
  To: emacs-orgmode

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

I'm trying to find the face of plain text (not headlines or checklist
items).
Does it have a name that distinguishes it from other faces?
Cheers.
Fil

-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/

[-- Attachment #2: Type: text/html, Size: 568 bytes --]

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

* Re: quick question about face names
  2011-03-15  3:53 quick question about face names Filippo A. Salustri
@ 2011-03-15  5:06 ` Nick Dokos
  2011-03-15  8:12   ` Sébastien Vauban
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2011-03-15  5:06 UTC (permalink / raw)
  To: Filippo A. Salustri; +Cc: nicholas.dokos, emacs-orgmode

Filippo A. Salustri <salustri@ryerson.ca> wrote:

> --20cf301e2f2d785e83049e7d5fab
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I'm trying to find the face of plain text (not headlines or checklist
> items).
> Does it have a name that distinguishes it from other faces?
> Cheers.
> Fil

I don't think so: C-u C-x = tells faces if it finds one - in this
case, it says nothing about a face.

Nick

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

* Re: quick question about face names
  2011-03-15  5:06 ` Nick Dokos
@ 2011-03-15  8:12   ` Sébastien Vauban
  2011-03-15  8:24     ` Sébastien Vauban
  2011-03-15 14:01     ` Nick Dokos
  0 siblings, 2 replies; 7+ messages in thread
From: Sébastien Vauban @ 2011-03-15  8:12 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Nick and Filippo,

>> I'm trying to find the face of plain text (not headlines or checklist
>> items). Does it have a name that distinguishes it from other faces? Cheers.
>> Fil
>
> I don't think so: C-u C-x = tells faces if it finds one - in this case, it
> says nothing about a face.

... so it means that the "body text" uses the properties of face "default".

Best regards,
  Seb

-- 
Sébastien Vauban

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

* Re: quick question about face names
  2011-03-15  8:12   ` Sébastien Vauban
@ 2011-03-15  8:24     ` Sébastien Vauban
  2011-03-15 11:13       ` Filippo A. Salustri
  2011-03-15 14:01     ` Nick Dokos
  1 sibling, 1 reply; 7+ messages in thread
From: Sébastien Vauban @ 2011-03-15  8:24 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Nick and Filippo,

>>> I'm trying to find the face of plain text (not headlines or checklist
>>> items). Does it have a name that distinguishes it from other faces? Cheers.
>>> Fil
>>
>> I don't think so: C-u C-x = tells faces if it finds one - in this case, it
>> says nothing about a face.
>
> ... so it means that the "body text" uses the properties of face "default".

Though, it could be nice to have a real body text face, that would be in most
cases identical to the default face, but that could be customized as well (for
using other fonts or colors in Org editing buffers)...

Best regards,
  Seb

-- 
Sébastien Vauban

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

* Re: quick question about face names
  2011-03-15  8:24     ` Sébastien Vauban
@ 2011-03-15 11:13       ` Filippo A. Salustri
  2011-03-17  9:40         ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Filippo A. Salustri @ 2011-03-15 11:13 UTC (permalink / raw)
  To: emacs-orgmode

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

Thanks for the replies.
This is unfortunate.  I was hoping to easily change the font of those
non-headline/checklist to a variable width font, but keep the headline stuff
in fixed width.
Since it's the default font, if I change the default, then I'd have to
change every other font to fixed.
...that's a bit too much work, I think.

So I agree with Sébastien.

Cheers.
Fil

2011/3/15 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>

> Hi Nick and Filippo,
>
> >>> I'm trying to find the face of plain text (not headlines or checklist
> >>> items). Does it have a name that distinguishes it from other faces?
> Cheers.
> >>> Fil
> >>
> >> I don't think so: C-u C-x = tells faces if it finds one - in this case,
> it
> >> says nothing about a face.
> >
> > ... so it means that the "body text" uses the properties of face
> "default".
>
> Though, it could be nice to have a real body text face, that would be in
> most
> cases identical to the default face, but that could be customized as well
> (for
> using other fonts or colors in Org editing buffers)...
>
> Best regards,
>  Seb
>
> --
> Sébastien Vauban
>
>
>


-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/

[-- Attachment #2: Type: text/html, Size: 2067 bytes --]

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

* Re: quick question about face names
  2011-03-15  8:12   ` Sébastien Vauban
  2011-03-15  8:24     ` Sébastien Vauban
@ 2011-03-15 14:01     ` Nick Dokos
  1 sibling, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2011-03-15 14:01 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: nicholas.dokos, emacs-orgmode

=?utf-8?Q?S=C3=A9bastien_Vauban?= <wxhgmqzgwmuf@spammotel.com> wrote:

> Hi Nick and Filippo,
> 
> >> I'm trying to find the face of plain text (not headlines or checklist
> >> items). Does it have a name that distinguishes it from other faces? Chee=
> rs.
> >> Fil
> >
> > I don't think so: C-u C-x =3D tells faces if it finds one - in this case,=
>  it
> > says nothing about a face.
> 
> ... so it means that the "body text" uses the properties of face "default".
> 

Ah, OK - makes sense. Thanks!

Nick

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

* Re: quick question about face names
  2011-03-15 11:13       ` Filippo A. Salustri
@ 2011-03-17  9:40         ` Bastien
  0 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2011-03-17  9:40 UTC (permalink / raw)
  To: Filippo A. Salustri; +Cc: emacs-orgmode

Hi,

having a body-text specific face would considerably slow down motion in
Org buffers, as the fontification process would need to check against a
new body-text syntactic structure.

The solution would be to change the face "default" on a buffer basis,
but AFAIK that's currently not possible.

HTH,

-- 
 Bastien

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

end of thread, other threads:[~2011-03-17  9:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-15  3:53 quick question about face names Filippo A. Salustri
2011-03-15  5:06 ` Nick Dokos
2011-03-15  8:12   ` Sébastien Vauban
2011-03-15  8:24     ` Sébastien Vauban
2011-03-15 11:13       ` Filippo A. Salustri
2011-03-17  9:40         ` Bastien
2011-03-15 14:01     ` Nick Dokos

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).