GNU bug report logs -
#6152
wikipedia-mode hard to fix linebreaks
Previous Next
Reported by: jidanni <at> jidanni.org
Date: Mon, 10 May 2010 10:08:02 UTC
Severity: minor
Merged with 6145,
6153
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6152 in the body.
You can then email your comments to 6152 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6152
; Package
emacs
.
(Mon, 10 May 2010 10:08:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jidanni <at> jidanni.org
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 10 May 2010 10:08:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Sorry Uwe, I have now fixed my problem. I did it by putting this in
~/.emacs-w3m.el :
(autoload 'wikipedia-mode "wikipedia-mode.el")
(add-hook
'w3m-form-input-textarea-mode-hook
(lambda nil
(turn-off-auto-fill)
(wikipedia-mode)
(longlines-mode 0) ;;The Key, DISCOVERED QUITE ON MY OWN
(define-key wikipedia-mode-map "\C-c\C-c" 'w3m-form-input-textarea-set)
(define-key wikipedia-mode-map "\M-u" 'upcase-word)
))
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6152
; Package
emacs
.
(Mon, 10 May 2010 11:19:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
>>>>> On Mon, 10 May 2010 18:06:43 +0800, jidanni <at> jidanni.org wrote:
> Sorry Uwe, I have now fixed my problem. I did it by putting this in
> ~/.emacs-w3m.el :
well I am glad but I still don't understand: wikipedia-mode
is a mayor mode, (all files with extension .wiki have this
mode turned on.)
but it seems you edited a file in
w3m-form-input-textarea-mode-hook! Of course in the mode,
auto-fill might be turned on.
BTW longlines mode is for *displaying* longlines it has
nothing to do with linebreaks!
Well another solution would be to modify the auto-list.
(add-to-list 'auto-mode-alist
(cons '("\\.wiki\\'" . wikipedia-mode) auto-mode-alist))
and substitute .wiki by the extension you like.
Uwe
> (autoload 'wikipedia-mode "wikipedia-mode.el")
> (add-hook
> 'w3m-form-input-textarea-mode-hook
> (lambda nil
> (turn-off-auto-fill)
> (wikipedia-mode)
> (longlines-mode 0) ;;The Key, DISCOVERED QUITE ON MY OWN
> (define-key wikipedia-mode-map "\C-c\C-c" 'w3m-form-input-textarea-set)
> (define-key wikipedia-mode-map "\M-u" 'upcase-word)
> ))
Forcibly Merged 6145 6152 6153.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 10 May 2010 16:34:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to jidanni <at> jidanni.org
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 10 May 2010 16:34:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 08 Jun 2010 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.