Gnus development mailing list
 help / color / mirror / Atom feed
* supercite no longer cool
@ 2009-04-23  1:43 jidanni
  2009-04-24  6:09 ` Steinar Bang
  0 siblings, 1 reply; 6+ messages in thread
From: jidanni @ 2009-04-23  1:43 UTC (permalink / raw)
  To: ding

Help, now with Emacs 22.3.1 no longer am I getting those "C>" cool
citations. No just plain ">". My http://jidanni.org/comp/configuration/
didn't change.



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

* Re: supercite no longer cool
  2009-04-23  1:43 supercite no longer cool jidanni
@ 2009-04-24  6:09 ` Steinar Bang
  2009-04-27  0:01   ` jidanni
  0 siblings, 1 reply; 6+ messages in thread
From: Steinar Bang @ 2009-04-24  6:09 UTC (permalink / raw)
  To: ding

>>>>> jidanni@jidanni.org:

> Help, now with Emacs 22.3.1 no longer am I getting those "C>" cool
> citations. No just plain ">". My http://jidanni.org/comp/configuration/
> didn't change.

I've run supercite since emacs 18.something, without any big changes in
the config (i.e. upgrade through 19.*, 20.*, 21.* and now 22.3.1).

A wild guess: you may have set some variables using custom, and lost
those in the upgrade?  That has happened to me, not for supercite, but
for other settings.

BTW you're leading by two years on the emacs usage (my .emacs originates
from 1988)

What does `locate-library supercite RET' say?  Perhaps you're trying to
load a different one than the one bundled with your emacs?




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

* Re: supercite no longer cool
  2009-04-24  6:09 ` Steinar Bang
@ 2009-04-27  0:01   ` jidanni
  2009-04-27 21:42     ` Steinar Bang
  0 siblings, 1 reply; 6+ messages in thread
From: jidanni @ 2009-04-27  0:01 UTC (permalink / raw)
  To: ding

Steinar, how do you call in supercite in your startup files these days?
Nothing in my setup changed. It just isn't getting read on disk anymore.
view-echo-area-messages confirms it.



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

* Re: supercite no longer cool
  2009-04-27  0:01   ` jidanni
@ 2009-04-27 21:42     ` Steinar Bang
  2009-04-28  6:51       ` Reiner Steib
  0 siblings, 1 reply; 6+ messages in thread
From: Steinar Bang @ 2009-04-27 21:42 UTC (permalink / raw)
  To: ding

>>>>> jidanni@jidanni.org:

> Steinar, how do you call in supercite in your startup files these
> days?  Nothing in my setup changed. It just isn't getting read on disk
> anymore.  view-echo-area-messages confirms it.

I don't really know what triggers things with the current Gnus and
emacs, but here is all I have, that is supercite related.

In .gnus.el:
(require 'supercite)


In .emacs:

;;;================================
;;         Setup for supercite 3.1
	
(add-hook 'mail-citation-hook 'sc-cite-original)


; This is run in mail-mode-xtras
(setq sc-pre-hook
      '(lambda ()
	 (if (or (string= (buffer-name) "*post-news*")
		 (string= (buffer-name) "*news message*"))
	     (progn
	       (setq news-reply-header-hook nil)
	       (setq  sc-citation-leader " ")
	       (setq sc-nested-citation-p nil)
	       (setq sc-preferred-header-style 4))
	   (progn
	     (setq sc-confirm-always-p nil)
	     (setq  sc-citation-leader nil)
	     (setq sc-nested-citation-p t)
	     (setq sc-preferred-header-style 0)))
	 (sc-setup-filladapt)
	 (setq sc-auto-fill-region-p nil)
	 (setq sc-citation-delimiter-regexp "[|>]+")
	 (setq sc-electric-references-p t)
	 (setq sc-preferred-attribution-list 
	       '("sc-lastchoice" "x-attribution" "initials" "emailname"
		 "firstname" "lastname"))
	 (setq sc-rewrite-header-list
	       '((sc-no-header)
		 (sc-header-on-said)
		 (sc-header-inarticle-writes)
		 (sc-header-thus-spoke)
		 (sc-header-attributed-writes)
		 (sc-header-han-skreiv)
		 (sc-header-ho-skreiv)
		 (sc-header-regarding-adds)
		 (sc-header-verbose)
		 (sc-no-blank-line-or-header)
		 (sc-header-writes)
		 (sc-header-you-wrote)
		 ))))


;; The 'simple' mail-yank header
(defun sc-header-writes ()
  "<from>:"
  (let ((sc-mumble "")
	(whofrom (sc-whofrom)))
    (if whofrom
	(insert sc-reference-tag-string
		whofrom ":\n"))))

;; The 'simple' mail-yank header
(defun sc-header-you-wrote ()
  "You wrote:"
  (insert sc-reference-tag-string
	  "You wrote:\n"))

;; The 'thus spoke ...' mail-yank header
(defun sc-header-thus-spoke ()
  "Thus spoke <from>:"
  (let ((sc-mumble "")
	(whofrom (sc-whofrom)))
    (if whofrom
	(insert sc-reference-tag-string
		"Thus spoke " whofrom ":\n"))))

(defun sc-header-han-skreiv ()
  "Han <from> skreiv:"
  (let ((sc-mumble "")
	(whofrom (sc-whofrom)))
    (if whofrom
	(insert sc-reference-tag-string
		"Han " whofrom " skreiv:\n"))))
 
(defun sc-header-ho-skreiv ()
  "Ho <from> skreiv:"
  (let ((sc-mumble "")
	(whofrom (sc-whofrom)))
    (if whofrom
	(insert sc-reference-tag-string
		"Ho " whofrom " skreiv:\n"))))




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

* Re: supercite no longer cool
  2009-04-27 21:42     ` Steinar Bang
@ 2009-04-28  6:51       ` Reiner Steib
  2009-04-29  1:14         ` Bug#526071: " jidanni
  0 siblings, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2009-04-28  6:51 UTC (permalink / raw)
  To: ding

On Mon, Apr 27 2009, Steinar Bang wrote:

> (add-hook 'mail-citation-hook 'sc-cite-original)

See the recent thread about `message-cite-function',
http://thread.gmane.org/gmane.emacs.gnus.general/68470

,----[ <news:87tz64tbf2.fsf@marauder.physik.uni-ulm.de> ]
| From: Reiner Steib <reinersteib+from-uce@imap.cc>
| Subject: Re: emacs-22.3 + gnus-5.11 = broken mail-citation-hook
| Newsgroups: comp.emacs
| Date: Sun, 08 Mar 2009 14:02:41 +0100
| Message-ID: <87tz64tbf2.fsf@marauder.physik.uni-ulm.de>
|
| [...]
|
| The missing feature in Emacs 22.3 is that
| `message-cite-original-without-signature' doesn't call
| `mail-citation-hook'.   It's a missing feature rather than a bug
| because this fact is documented:
| 
| ,----[ <f1> v message-cite-function RET (Emacs 22.3) ]
| | message-cite-function is a variable defined in `message.el'.
| | Its value is 
| | message-cite-original-without-signature
| | 
| | Documentation:
| | *Function for citing an original message.
| | Predefined functions include `message-cite-original' and
| | `message-cite-original-without-signature'.
| | Note that `message-cite-original' uses `mail-citation-hook' if that
| | is non-nil.
| `----
| 
| ,----[ <f1> v message-cite-function RET (No Gnus / Emacs 23) ]
| | message-cite-function is a variable defined in `message.el'.
| | Its value is 
| | message-cite-original-without-signature
| | 
| | Documentation:
| | *Function for citing an original message.
| | Predefined functions include `message-cite-original' and
| | `message-cite-original-without-signature'.
| | Note that these functions use `mail-citation-hook' if that is non-nil.
| `----
| 
| > That is, backward compatibility was broken for some reason.
| 
| Breaking backward compatibility certainly wasn't intended. Sorry for
| the inconvenience.
| 
| But backporting the No Gnus changes to Gnus 5.10.12 seems to risky.
| But I'll add a warning to the docs:
| 
| ,----[ (info "(gnus)Oort Gnus") / GNUS-NEWS ]
| |        * Signatures are stripped when replying by default.  I.e. the
| |           default of `message-cite-function' has been changed to
| |           `message-cite-original-without-signature'.  *Note Insertion
| |           Variables: (message)Insertion Variables.
| | 
| |           Note that in contrast to `message-cite-original',
| |           `message-cite-original-without-signature' doesn't call
| |           `mail-citation-hook'.  This incompatibility affects only this
| |           version - in Gnus 5.12 (and Emacs 23) it has been unified so
| |           that both call `mail-citation-hook'.
| `----
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



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

* Bug#526071: supercite no longer cool
  2009-04-28  6:51       ` Reiner Steib
@ 2009-04-29  1:14         ` jidanni
  0 siblings, 0 replies; 6+ messages in thread
From: jidanni @ 2009-04-29  1:14 UTC (permalink / raw)
  To: submit

Package: emacs22-common
Version: 22.3+1-1
X-debbugs-cc: ding@gnus.org

In http://article.gmane.org/gmane.emacs.gnus.general/68497
Reiner Steib <reinersteib+gmane@imap.cc> writes:
> See the recent thread about `message-cite-function',
> http://thread.gmane.org/gmane.emacs.gnus.general/68470
I see. I'll hereby ask Debian to upgrade. Thanks.





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

end of thread, other threads:[~2009-04-29  1:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-23  1:43 supercite no longer cool jidanni
2009-04-24  6:09 ` Steinar Bang
2009-04-27  0:01   ` jidanni
2009-04-27 21:42     ` Steinar Bang
2009-04-28  6:51       ` Reiner Steib
2009-04-29  1:14         ` Bug#526071: " jidanni

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