Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* quoting in gnus
@ 2010-03-06 13:25 .Martin.
  2010-03-06 14:22 ` Adam Sjøgren
  0 siblings, 1 reply; 5+ messages in thread
From: .Martin. @ 2010-03-06 13:25 UTC (permalink / raw)
  To: info-gnus-english

Is it possible to quote in gnus? What I mean is two types of quoting:

1. I want to paste a snippet of code. Can I make it look different than
the rest of my message?
2. If I read a post and I want to reply to it quoting a part of the
post?

Thank you
-- 
regards

.Martin.

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

* Re: quoting in gnus
  2010-03-06 13:25 quoting in gnus .Martin.
@ 2010-03-06 14:22 ` Adam Sjøgren
  2010-03-06 16:31   ` .Martin.
  0 siblings, 1 reply; 5+ messages in thread
From: Adam Sjøgren @ 2010-03-06 14:22 UTC (permalink / raw)
  To: info-gnus-english

On Sat, 06 Mar 2010 13:25:56 +0000, .Martin. wrote:

> Is it possible to quote in gnus? What I mean is two types of quoting:

> 1. I want to paste a snippet of code. Can I make it look different than
> the rest of my message?

One way to do this is to use boxquote.el; example:

,----[ C-h f gnus-summary-followup-with-original RET ]
| `gnus-summary-followup-with-original' is an interactive compiled Lisp function
|   -- loaded from "gnus-msg"
| (gnus-summary-followup-with-original N &optional FORCE-NEWS)
| 
| Documentation:
| Compose a followup to an article and include the original article.
| The text in the region will be yanked.  If the region isn't
| active, the entire article will be yanked.
| 
| Invoked with:
| 
| M-x gnus-summary-followup-with-original
`----

You can find boxquote.el in the package emacs-goodies-el if you are
using Debian (or a derivate).

You can also use the "verbatim marks" that slrn (I think) pioneered; but
only slrn and Gnus interpret them, as far as I know.

#v+
This is verba
             tim
#v-

http://slrn.sourceforge.net/docs/slrn-manual-6.html#ss6.76

> 2. If I read a post and I want to reply to it quoting a part of the
> post?

Use R to Reply, or F to followup (instead of r and f).


  Best regards,

    Adam

-- 
 "Money always takes the place of life"                       Adam Sjøgren
                                                         asjo@koldfront.dk

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

* Re: quoting in gnus
  2010-03-06 14:22 ` Adam Sjøgren
@ 2010-03-06 16:31   ` .Martin.
  2010-03-06 16:47     ` Adam Sjøgren
  0 siblings, 1 reply; 5+ messages in thread
From: .Martin. @ 2010-03-06 16:31 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> You can find boxquote.el in the package emacs-goodies-el if you are
> using Debian (or a derivate).

Thanks, I got the boxquote.el file and put it in emacs folder. I'm using
slackware. It seems to load fine. That's the .emacs bit that I got from
some example of .emacs:


(require 'boxquote)
(global-set-key [f7] 'boxquote-region)


(global-set-key (kbd "C-c b y")   'boxquote-yank)
(global-set-key (kbd "C-c b r")   'boxquote-region)
(global-set-key (kbd "C-c b u")   'boxquote-unbox-region)
(global-set-key (kbd "C-c b t")   'boxquote-title)
(global-set-key (kbd "C-c b i")   'boxquote-insert-file)
(global-set-key (kbd "C-c b k")   'boxquote-kill)
(global-set-key (kbd "C-c b s")   'boxquote-shell-command)

(global-set-key (kbd "C-c b b")   'boxquote-buffer)
(global-set-key (kbd "C-c b p")   'boxquote-paragraph)
(global-set-key (kbd "C-c b n")   'boxquote-narrow-to-boxquote)

(global-set-key (kbd "C-c b w")   'boxquote-where-is)
(global-set-key (kbd "C-c b d f") 'boxquote-describe-function)
(global-set-key (kbd "C-c b d k") 'boxquote-describe-key)
(global-set-key (kbd "C-c b d v") 'boxquote-describe-variable)


I can't use it though. I highlight some lines of a post and try those
key bindings, it only says that the buffer is read-only.
I assume that it's supposed to work like that: I read your post,
highlight the bit I want to include in my reply, press some keybindings,
and then F. Am I wrong?

thank you

-- 
regards

.Martin.

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

* Re: quoting in gnus
  2010-03-06 16:31   ` .Martin.
@ 2010-03-06 16:47     ` Adam Sjøgren
  2010-03-06 16:50       ` .Martin.
  0 siblings, 1 reply; 5+ messages in thread
From: Adam Sjøgren @ 2010-03-06 16:47 UTC (permalink / raw)
  To: info-gnus-english

On Sat, 06 Mar 2010 16:31:17 +0000, .Martin. wrote:

> I can't use it though. I highlight some lines of a post and try those
> key bindings, it only says that the buffer is read-only.

You'll need to use those in the buffer of your reply.

> I assume that it's supposed to work like that: I read your post,
> highlight the bit I want to include in my reply, press some keybindings,
> and then F. Am I wrong?

Yes.

You quote by simply pressing F to follow-up, instead of pressing f.

boxquote.el is for including other stuff (documentation, source-code,
whatever).


  Best regards,

    Adam

-- 
 "Money always takes the place of life"                       Adam Sjøgren
                                                         asjo@koldfront.dk

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

* Re: quoting in gnus
  2010-03-06 16:47     ` Adam Sjøgren
@ 2010-03-06 16:50       ` .Martin.
  0 siblings, 0 replies; 5+ messages in thread
From: .Martin. @ 2010-03-06 16:50 UTC (permalink / raw)
  To: info-gnus-english

asjo@koldfront.dk (Adam Sjøgren) writes:

> Yes.
>
> You quote by simply pressing F to follow-up, instead of pressing f.
>
> boxquote.el is for including other stuff (documentation, source-code,
> whatever).

I see:) alright, thank you

-- 
regards

.Martin.

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

end of thread, other threads:[~2010-03-06 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-06 13:25 quoting in gnus .Martin.
2010-03-06 14:22 ` Adam Sjøgren
2010-03-06 16:31   ` .Martin.
2010-03-06 16:47     ` Adam Sjøgren
2010-03-06 16:50       ` .Martin.

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 NNTP newsgroup(s).