1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Juri Linkov
aac420937f Add coding cookie utf-8 for the pilcrow sign. 2008-07-19 23:56:17 +00:00
Chong Yidong
667adde160 (longlines-search-forward, longlines-search-backward)
(longlines-re-search-forward): Use a smarter search-spaces-regexp.
2008-06-12 17:28:00 +00:00
Chong Yidong
12e18d7dfa (longlines-show-effect): Default to a pilcrow sign. 2008-06-06 20:39:18 +00:00
Chong Yidong
e87085e6d5 (longlines-re-search-forward): New function.
(longlines-mode): Bind replace-search-function and
replace-re-search-function, to ensure that replacement commands
treat newlines as spaces.
2008-06-06 20:31:10 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Juanma Barranquero
c172e10123 (longlines-unload-function): New function. 2008-02-28 23:41:52 +00:00
Martin Rudalics
91b53ad5c8 (longlines-mode, longlines-show-region)
(longlines-unshow-hard-newlines): Bind buffer-file-name and
buffer-file-truename to nil while modifying buffer.
2008-01-16 16:23:00 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Martin Rudalics
fc0eafe10a (longlines-show-hard-newlines): Remove handling of
buffer-undo-list and buffer-modified status.
(longlines-show-region, longlines-unshow-hard-newlines): Handle
buffer-undo-list, buffer-modified status, inhibit-read-only, and
inhibit-modification-hooks here to avoid that a buffer appears
modified when toggling visibility of hard newlines.
2007-11-30 09:01:17 +00:00
Dan Nicolaescu
fc5e09b3ee * textmodes/flyspell.el (message-signature-separator):
* longlines.el (message-indent-citation-function): Pacify byte
compiler.

* emacs-lisp/cl-loaddefs.el:
* ldefs-boot.el: Regenerate.

* Makefile.in (BYTE_COMPILE_EXTRA_FLAGS): New variable.
(.el.elc, compile, compile-always, compile-calc)
($(lisp)/progmodes/cc-mode.elc): Use it.
2007-10-29 18:32:32 +00:00
Chong Yidong
c455889deb (longlines-wrap-follows-window-size): Integer value
specifies wrapping margin.
(longlines-mode, longlines-window-change-function): Set
window-specific wrapping margin based on the above.
2007-10-17 02:50:23 +00:00
Chong Yidong
71fdf0898e (longlines-wrap-follows-window-size): Integer value
specifies wrapping margin.
(longlines-mode, longlines-window-change-function): Set
window-specific wrapping margin based on the above.
2007-10-17 02:47:39 +00:00
Chong Yidong
8a7e2b2349 (longlines-decoded): New variable.
(longlines-mode): Avoid encoding or decoding the buffer twice.
2007-08-07 16:10:20 +00:00
Chong Yidong
275e235e8d (longlines-decoded): New variable.
(longlines-mode): Avoid encoding or decoding the buffer twice.
2007-08-07 16:08:39 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Chong Yidong
85a0b36859 (longlines-wrap-region): Avoid marking buffer as modified.
(longlines-auto-wrap, longlines-window-change-function): Remove
unnecessary calls to set-buffer-modified-p.
2007-07-08 18:07:46 +00:00
Chong Yidong
a1d155a4c1 (longlines-mode): Make longlines-auto-wrap buffer-local. Add hooks
unconditionally.
(longlines-auto-wrap): Toggle wrapping.
(longlines-after-change-function)
(longlines-post-command-function): Check longlines-auto-wrap.
2007-06-04 20:33:46 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
f0770b09a6 (longlines-show-hard-newlines): Fix typo in docstring. 2007-01-14 03:37:30 +00:00
Juanma Barranquero
443012f070 (longlines-wrap-line): "?\ " -> "?\s". 2006-11-27 13:57:16 +00:00
Jan Djärv
a3545af4a8 * dnd.el (dnd-handle-one-url): Fix typo in doc-string.
* help-at-pt.el (scan-buf-move-to-region): Likewise.
* longlines.el (longlines-window-change-function): Likewise.
* simple.el (undo-ask-before-discard): Likewise.
* wid-edit.el (widget-field-prompt-internal)
(widget-documentation-link-p): Likewise
2006-10-11 06:27:08 +00:00
Stefan Monnier
da95a9c86f (longlines-show-region): Make it work on read-only buffers as well. 2006-08-01 05:29:19 +00:00
Chong Yidong
e17833bc7d simplify last fix. 2006-07-13 14:45:10 +00:00
Chong Yidong
6991960bf7 * longlines.el (longlines-post-command-function): Handle open-line
too.
2006-07-12 23:52:18 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Chong Yidong
38e3f12e18 Typo. 2005-12-20 17:39:47 +00:00
Chong Yidong
7f5bb182d2 Typo. 2005-12-20 17:27:35 +00:00
Chong Yidong
eb0d286432 * longlines.el (longlines-mode): Wrap while widened.
(longlines-decode-region, longlines-encode-region): Compute max
	just once.
2005-12-19 14:30:56 +00:00
Chong Yidong
15575807da * longlines.el (longlines-mode): Add mail-setup-hook.
* mail/mailheader.el, mail/sendmail.el: Revert 2005-11-17 changes.

	* simple.el (sendmail-user-agent-compose, next-line):
	Conditionally use hard-newline.
2005-11-29 23:54:47 +00:00
David Kastrup
e5ad37ee8d (longlines-wrap-line): Reorder wrapping to "insert
new character, then delete" in order to preserve markers.
2005-11-25 11:06:30 +00:00
Chong Yidong
cee723fbf9 longlines.el (longlines-wrap-line): Preserve marker positions. 2005-11-20 05:17:27 +00:00
Chong Yidong
2c127d45ea (longlines-mode): Add a message-setup-hook.
(longlines-decode-buffer): New function.
2005-11-20 03:44:00 +00:00
Chong Yidong
c613b39cea Typo. 2005-11-19 18:31:08 +00:00
Chong Yidong
b39aa4fdf7 * longlines.el (longlines-before-revert-hook)
(longlines-after-revert-hook): New functions.
	(longlines-mode): Turn off longlines temporarily when reverting.
2005-11-19 17:29:20 +00:00
Chong Yidong
426f857336 *** empty log message *** 2005-11-18 19:42:08 +00:00
Chong Yidong
0f157ad549 Add hacks for citation in mail-mode and message-mode. 2005-11-18 19:40:35 +00:00
Chong Yidong
a145b41c6b * longlines.el (longlines-mode): Bind after-change-functions to
nil during initial decoding and final encoding.
2005-10-27 01:36:31 +00:00
Chong Yidong
e7b382ed4b * longlines.el (longlines-mode): Remove narrowing before
performing the initial decoding or final encoding.
2005-10-25 23:24:47 +00:00
Chong Yidong
625fca9a90 * longlines.el (longlines-search-forward)
(longlines-search-backward): Match any number of spaces.
2005-10-16 23:46:15 +00:00
Chong Yidong
930aae96d0 * longlines.el (longlinges-search-function)
(longlines-search-forward, longlines-search-backward): New
	functions.
	(longlines-mode): Set isearch-search-fun-function to
	longlinges-search-function.
2005-10-14 19:56:38 +00:00
Chong Yidong
6fd388f37c *** empty log message *** 2005-09-01 16:38:39 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Richard M. Stallman
52325bee83 (longlines-show-region, longlines-unshow-hard-newlines):
Recognize hard newlines by non-nil hard property, instead of t.
2005-07-10 20:37:20 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Richard M. Stallman
c29316d540 (longlines-mode, longlines-show-hard-newlines): Doc fixes. 2005-06-17 14:33:40 +00:00
Miles Bader
041a6e4757 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-369
lisp/longlines.el (longlines-visible-face): Face removed
2005-06-10 08:07:08 +00:00
Lute Kamstra
25ba62c557 Don't require easy-mmode.
(longlines-visible-face): Specify customization group.
2005-05-27 11:36:51 +00:00
Lute Kamstra
6da6c2fe93 (longlines-mode): Specify :group. 2005-04-04 09:30:37 +00:00