Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-24 Thread Sebastien Vauban
Hi Nick,

Nick Dokos wrote:
 Charles Philip Chan cpc...@bell.net wrote:
 Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

 Not really: there are commands `boxquote-unbox' and
 `boxquote-unbox-region' for that.
 
 Yes, I am aware of these commands. However, not everyone uses Emacs. ;-)

 Besides, when I used boxquotes for everything, it was (iirc) Seb who
 took me to task when he wanted to run a code snippet, so even though he
 speaks a different language now, don't believe him: he was right the
 first time :-)

Well, I remember vaguely something like that. You must be right about that
episode.

And you're right telling back what I said then: *code is better not boxed with
boxquote*, but put in Org blocks (at least in this mailing list). Gnus users
have some highlighting, and everybody sees where the snippet begins and ends,
and in which language it is. And that's the easiest method for everybody to
copy/paste code.

Thanks for the reminder!

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-23 Thread Sebastien Vauban
Hi Charles and Nick,

Charles Philip Chan wrote:
 I like boxquotes for things like Info snippets, variable/function
 docstrings and FAQ entries.

 Yes, I am addicted to boxquotes for things like that too.

So do I.

 That's inconvenient for code that somebody might want to cut-and-paste
 in order to run however (one would need to edit it to get it back into
 runnable form), so I use the Message function
 message-mark-inserted-region to quote code.

 True.

Not really: there are commands `boxquote-unbox' and `boxquote-unbox-region'
for that.

... but one needs to keep the standard settings for creating the box, which is
not my case:

┏
┃ This is my boxed text (UTF-8 chars for border, and 4 char indentation).
┗

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-23 Thread Charles Philip Chan
Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

Hi Seb:

 Not really: there are commands `boxquote-unbox' and
 `boxquote-unbox-region' for that.

Yes, I am aware of these commands. However, not everyone uses Emacs. ;-)

Regards,
Charles

-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)


pgpA7MV8nsyiV.pgp
Description: PGP signature


Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-23 Thread Sebastien Vauban
Hi Charles,

Charles Philip Chan wrote:
 Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

 Not really: there are commands `boxquote-unbox' and
 `boxquote-unbox-region' for that.

 Yes, I am aware of these commands. However, not everyone uses Emacs. ;-)

This escaped my mind, really[1]. One point to you ;-)

Best regards,
  Seb

[1] So sad that everyone did not see the light ;-))

-- 
Sebastien Vauban




Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-23 Thread Nick Dokos
Charles Philip Chan cpc...@bell.net wrote:


 Sebastien Vauban wxhgmqzgw...@spammotel.com writes:
 
 Hi Seb:
 
  Not really: there are commands `boxquote-unbox' and
  `boxquote-unbox-region' for that.
 
 Yes, I am aware of these commands. However, not everyone uses Emacs. ;-)
 

Even in emacs however, that's an extra step (iirc, unbox is also finicky
about where the cursor should be in order for it to work: I get it wrong
a substantial percentage of the time and have to try again, which adds
to the aggravation. It's also not bound to a key by default, which adds a
little bit of aggravation too.)

Besides, when I used boxquotes for everything, it was (iirc) Seb who
took me to task when he wanted to run a code snippet, so even though he
speaks a different language now, don't believe him: he was right the
first time :-)

But seriously, the guiding principle should be:

What can I do to make the life of whoever decides to read this and help
me with it, as easy as possible?

or from the other end

What can I do to make my reply as useful as possible?

THe content remains paramount of course, but these little things help.

Nick

PS. BTW, do as I say, not as I do: I don't always follow my advice :-)





Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-23 Thread Charles Philip Chan
 == Nick Dokos nicholas.do...@hp.com writes:

Hi Nick:

 Even in emacs however, that's an extra step (iirc, unbox is also
 finicky about where the cursor should be in order for it to work: I
 get it wrong a substantial percentage of the time and have to try
 again, which adds to the aggravation. It's also not bound to a key by
 default, which adds a little bit of aggravation too.)

With completion, it is not too bad. :-)

 But seriously, the guiding principle should be:

 What can I do to make the life of whoever decides to read this and
 help me with it, as easy as possible?

 or from the other end

 What can I do to make my reply as useful as possible?

 THe content remains paramount of course, but these little things help.

Agreed. Also, everyone should learn how to ask smart questions.[1]

Regards,
Charles

Footnotes: 
[1] http://www.catb.org/~esr/faqs/smart-questions.html 

-- 
Linux poses a real challenge for those with a taste for late-night
hacking (and/or conversations with God).
(By Matt Welsh)


pgpR19JRt9oMq.pgp
Description: PGP signature


Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-22 Thread Charles Philip Chan
Nick Dokos nicholas.do...@hp.com writes:

 That may be because of the dotage of my mail reader of course (mh-e),
 so I was wondering if there are any *emacs* mail readers[fn:1] that
 show the effect? I doubt at this point that I'll ever switch to
 e.g. gnus to read mail (mh-e and I have grown old together), but I am
 curious whether something like it handles things properly.[fn:2]

The Italic is not showing up in Gnus either. This is because the OP is
not using mail markup, i.e. /This is Italic/. IMHO, I don't see the
point of not using  as the cite mark- anything else will confuse 99%
of mailers. This is why I gave up on Supercite.

Charles

-- 
Why use Windows, since there is a door?
(By fac...@galileo.rhein-neckar.de, Andre Fachat)


pgpWQWrpyxxw0.pgp
Description: PGP signature


Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-22 Thread Nick Dokos
Charles Philip Chan cpc...@bell.net wrote:


 Nick Dokos nicholas.do...@hp.com writes:
 
  That may be because of the dotage of my mail reader of course (mh-e),
  so I was wondering if there are any *emacs* mail readers[fn:1] that
  show the effect? I doubt at this point that I'll ever switch to
  e.g. gnus to read mail (mh-e and I have grown old together), but I am
  curious whether something like it handles things properly.[fn:2]
 
 The Italic is not showing up in Gnus either. This is because the OP is
 not using mail markup, i.e. /This is Italic/. IMHO, I don't see the
 point of not using  as the cite mark- anything else will confuse 99%
 of mailers. This is why I gave up on Supercite.
 

Thanks for checking and I agree fully with using a quoting mechanism
that will survive the arbitrary travails that a typical mail message
goes through, although   is generally used for quoting points one
responds to - see above e.g. I like boxquotes for things like Info
snippets, variable/function docstrings and FAQ entries. That's
inconvenient for code that somebody might want to cut-and-paste in order
to run however (one would need to edit it to get it back into runnable
form), so I use the Message function message-mark-inserted-region to
quote code.

To go back to the italics question though, the italics is part of the font
style spec in the html form of the mail (hence my suspicion that
Thunderbird would not have a problem with that message), so I guess the
question is if there is an emacs mail reader that will interpret
arbitrary HTML markup, the way that T-bird would.

I also did the following experiment: I saved the HTML form of the mail
(decoding it from quoted-printable to HTML with qprint) and looked at it
in Firefox (got italics: no surprise), and in w3m in emacs (with the
oblique capable Liberaion font I mentioned previously, which *can* show
italics): I get no italics in the latter, so I guess even w3m cannot
interpret arbitrary HTML, maybe because the underlying browser is
supposed to be text-only, so font style information does not get
through.

Nick





Re: [O] OT: italics [was: Re: take the name of org-class event from heading]

2012-06-22 Thread Charles Philip Chan
Nick Dokos nicholas.do...@hp.com writes:

Hi Nick:

 I like boxquotes for things like Info snippets, variable/function
 docstrings and FAQ entries.

Yes, I am addicted to boxquotes for things like that too.

 That's inconvenient for code that somebody might want to cut-and-paste
 in order to run however (one would need to edit it to get it back into
 runnable form), so I use the Message function
 message-mark-inserted-region to quote code.

True.

 I also did the following experiment: I saved the HTML form of the mail
 (decoding it from quoted-printable to HTML with qprint) and looked at
 it in Firefox (got italics: no surprise), and in w3m in emacs (with
 the oblique capable Liberaion font I mentioned previously, which *can*
 show italics): I get no italics in the latter, so I guess even w3m
 cannot interpret arbitrary HTML, maybe because the underlying browser
 is supposed to be text-only, so font style information does not get
 through.

Yes, the Italics doesn't show up in W3M. I can see it in Firefox if I
use View HTML parts in browser in Gnus.

Charles

-- 
We are using Linux daily to UP our productivity - so UP yours!
(Adapted from Pat Paulsen by Joe Sloan)


pgp48fkn59RUE.pgp
Description: PGP signature