unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1974: 23.0.60; gnus writes customize file
@ 2009-01-21  1:11 trentbuck
  2009-01-21  2:33 ` Glenn Morris
  2009-01-21 21:54 ` Reiner Steib
  0 siblings, 2 replies; 8+ messages in thread
From: trentbuck @ 2009-01-21  1:11 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise


When using gnus, I find that it tries to write out my customize
preferences whenever I send a message.  This is bloody annoying, as
.emacs is version-controlled, and I do not *have* any
customize-managed preferences.

| Wrote /home/twb/News/drafts/drafts/1
| Mark set
| Sending...
| Wrote /home/twb/.Auto/.emacs.d/custom-sucks.el
| Sending news via news.gmane.org using nntp...
| Sending...done
| Deleting article /home/twb/News/drafts/drafts/1 in drafts...

To stop gnus messing with my .emacs, I have the following in .emacs:

| (setq custom-file "~/.emacs.d/custom-sucks.el") ; this is never load-file'd

...but it's still annoying from an aesthetic standpoint.

The custom-sucks.el file written by gnus is:

| (custom-set-variables
|   ;; custom-set-variables was added by Custom.
|   ;; If you edit it by hand, you could mess it up, so be careful.
|   ;; Your init file should contain only one such instance.
|   ;; If there is more than one, they won't work right.
|  '(canlock-password "acc239ecbc3348a6f02d22b49ac0743957b28655"))
| (custom-set-faces
|   ;; custom-set-faces was added by Custom.
|   ;; If you edit it by hand, you could mess it up, so be careful.
|   ;; Your init file should contain only one such instance.
|   ;; If there is more than one, they won't work right.
|  )


In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2009-01-19 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20090118-1)
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_AU.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: rcirc

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  rcirc-track-minor-mode: t
  savehist-mode: t
  icomplete-mode: t
  partial-completion-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  use-hard-newlines: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-c C-c C-h e C-x ESC O B C-x b # e RET C-c C-c W r 
o t e SPC / h o m e / t w b / N e w s / d r a f t s 
/ d r a f t s / 1 RET M a r k SPC s e t RET S e n d 
i n g . . . RET W r o t e SPC / h o m e / t w b / . 
A u t o / . e m a c s . d / c u s t o m - s u c k s 
. e l ESC < ESC [ 4 ~ ; ESC O B ; ESC O B ESC q ESC 
O C C-q C-j C-d C-d ESC O A C-c C-c RET . . . w h y 
SPC d o e s SPC G N U S SPC ESC b ESC l SPC i n s i 
s t SPC o n SPC w r i t i n g SPC o u t SPC m y SPC 
c u s t o m i z e SPC ESC b ESC b C-e DEL ESC b ESC 
b ESC f ESC b ESC f SPC ( e m p t y ) ESC [ 4 ~ p r 
e f e r e n c e s SPC w h e n e v e r SPC I SPC s e 
n d SPC a SPC f i l e ? ESC b ESC d m e s a DEL s a 
g e RET ESC x r e p o r t SPC e m a c s SPC b u g 
RET

Recent messages:
Mark set [3 times]
Wrote /home/twb/News/drafts/drafts/1
Mark set
Sending...
Wrote /home/twb/.Auto/.emacs.d/custom-sucks.el
Sending news via news.gmane.org using nntp...
Sending...done
Deleting article /home/twb/News/drafts/drafts/1 in drafts...
Type C-c C-c to return text to #emacs@irc.freenode.net, or C-c C-k to cancel
Mark set






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

* bug#1974: 23.0.60; gnus writes customize file
  2009-01-21  1:11 bug#1974: 23.0.60; gnus writes customize file trentbuck
@ 2009-01-21  2:33 ` Glenn Morris
  2009-01-21  2:40   ` Processed: " Emacs bug Tracking System
                     ` (2 more replies)
  2009-01-21 21:54 ` Reiner Steib
  1 sibling, 3 replies; 8+ messages in thread
From: Glenn Morris @ 2009-01-21  2:33 UTC (permalink / raw)
  To: trentbuck; +Cc: 1974, rfrancoise

reassign 1974 emacs,gnus
stop

trentbuck@gmail.com wrote:

> When using gnus, I find that it tries to write out my customize
> preferences whenever I send a message.  This is bloody annoying, as
> .emacs is version-controlled, and I do not *have* any
> customize-managed preferences.

Why not just check it in after the first time it happens, then forget
about it? It will never happen again. Optionally, first migrate the
canlock-password setting to a setq form, and delete the customize
section.

I don't really see what Gnus could do differently here.

> |  '(canlock-password "..."))

Disable message-insert-canlock if you don't want this (5+ year old?) feature.

See (gnus)Canceling News.






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

* Processed: Re: bug#1974: 23.0.60; gnus writes customize file
  2009-01-21  2:33 ` Glenn Morris
@ 2009-01-21  2:40   ` Emacs bug Tracking System
  2009-01-22 22:49   ` Reiner Steib
  2009-04-01  7:25   ` Trent W. Buck
  2 siblings, 0 replies; 8+ messages in thread
From: Emacs bug Tracking System @ 2009-01-21  2:40 UTC (permalink / raw)
  To: Glenn Morris; +Cc: Emacs Bugs, Gnus

Processing commands for control@emacsbugs.donarmstrong.com:

> reassign 1974 emacs,gnus
bug#1974: 23.0.60; gnus writes customize file
bug reassigned from package `emacs' to `emacs,gnus'.

> stop
Stopping processing here.

Please contact me if you need assistance.

Don Armstrong
(administrator, Emacs bugs database)




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

* bug#1974: 23.0.60; gnus writes customize file
  2009-01-21  1:11 bug#1974: 23.0.60; gnus writes customize file trentbuck
  2009-01-21  2:33 ` Glenn Morris
@ 2009-01-21 21:54 ` Reiner Steib
  1 sibling, 0 replies; 8+ messages in thread
From: Reiner Steib @ 2009-01-21 21:54 UTC (permalink / raw)
  To: trentbuck; +Cc: 1974, rfrancoise

On Wed, Jan 21 2009, trentbuck@gmail.com wrote:

> When using gnus, I find that it tries to write out my customize
> preferences whenever I send a message.  This is bloody annoying, as
> .emacs is version-controlled, and I do not *have* any
> customize-managed preferences.
[...]
> | (custom-set-variables
[...]
> |  '(canlock-password "acc239ecbc3348a6f02d22b49ac0743957b28655"))

Simply set the cancel lock in your version controlled ~/.emacs or
~/.gnus.el as described in the manual:

,----[ (info "(message)Canceling News") ]
| If you want to manage a password yourself, you can put something
| like the following in your `~/.gnus.el' file:
| 
|      (setq canlock-password "geheimnis"
|            canlock-password-for-verify canlock-password)
`----

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






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

* bug#1974: 23.0.60; gnus writes customize file
  2009-01-21  2:33 ` Glenn Morris
  2009-01-21  2:40   ` Processed: " Emacs bug Tracking System
@ 2009-01-22 22:49   ` Reiner Steib
  2009-04-01  7:27     ` Trent W. Buck
  2011-01-24  8:31     ` Lars Ingebrigtsen
  2009-04-01  7:25   ` Trent W. Buck
  2 siblings, 2 replies; 8+ messages in thread
From: Reiner Steib @ 2009-01-22 22:49 UTC (permalink / raw)
  To: Glenn Morris; +Cc: trentbuck, 1974, rfrancoise

On Wed, Jan 21 2009, Glenn Morris wrote:

> I don't really see what Gnus could do differently here.

Agreed.


On Wed, Jan 22 2009, Glenn Morris wrote:
| tags 1974 wontfix notabug

Is wontfix, notabug sufficient or do we need to mark it as done as well?

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






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

* bug#1974: 23.0.60; gnus writes customize file
  2009-01-21  2:33 ` Glenn Morris
  2009-01-21  2:40   ` Processed: " Emacs bug Tracking System
  2009-01-22 22:49   ` Reiner Steib
@ 2009-04-01  7:25   ` Trent W. Buck
  2 siblings, 0 replies; 8+ messages in thread
From: Trent W. Buck @ 2009-04-01  7:25 UTC (permalink / raw)
  To: Glenn Morris, 1974; +Cc: rfrancoise

On Tue, Jan 20, 2009 at 09:33:19PM -0500, Glenn Morris wrote:
>> When using gnus, I find that it tries to write out my customize
>> preferences whenever I send a message.  This is bloody annoying, as
>> .emacs is version-controlled, and I do not *have* any
>> customize-managed preferences.
>
> Disable message-insert-canlock if you don't want this feature.

Sorry for the huge delay in responding.  This approach worked fine.






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

* bug#1974: 23.0.60; gnus writes customize file
  2009-01-22 22:49   ` Reiner Steib
@ 2009-04-01  7:27     ` Trent W. Buck
  2011-01-24  8:31     ` Lars Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Trent W. Buck @ 2009-04-01  7:27 UTC (permalink / raw)
  To: Reiner Steib, 1974; +Cc: rfrancoise

On Thu, Jan 22, 2009 at 11:49:42PM +0100, Reiner Steib wrote:
>> tags 1974 wontfix notabug
> Is wontfix, notabug sufficient or do we need to mark it as done as well?

In Debian, at least, the convention seems to be to leave wontfix
tickets open, so that they are visible to other bug reporters.  Closed
bugs get archived after a time, so they wouldn't be listed in
reportbug / querybts.






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

* bug#1974: 23.0.60; gnus writes customize file
  2009-01-22 22:49   ` Reiner Steib
  2009-04-01  7:27     ` Trent W. Buck
@ 2011-01-24  8:31     ` Lars Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2011-01-24  8:31 UTC (permalink / raw)
  To: 1974-close

Closing this non-bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen





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

end of thread, other threads:[~2011-01-24  8:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21  1:11 bug#1974: 23.0.60; gnus writes customize file trentbuck
2009-01-21  2:33 ` Glenn Morris
2009-01-21  2:40   ` Processed: " Emacs bug Tracking System
2009-01-22 22:49   ` Reiner Steib
2009-04-01  7:27     ` Trent W. Buck
2011-01-24  8:31     ` Lars Ingebrigtsen
2009-04-01  7:25   ` Trent W. Buck
2009-01-21 21:54 ` Reiner Steib

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

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