Kenichi Handa
1a6a03e4a3
Fix setting of buffer-file-coding-system of RMAIL buffer.
2011-01-14 13:04:10 +09:00
Stefan Monnier
b49a2dbf58
* lisp/mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
...
work for nested comments.
2011-01-13 16:48:34 -05:00
Chong Yidong
25ca2e6140
New arg RETURN-ACTION for compose-mail, and related functions.
...
* lisp/mail/sendmail.el (mail-return-action): New var.
(mail-mode): Make it buffer-local.
(mail-bury): Obey it. Move special Rmail window handling to
rmail-mail-return.
(mail, mail-setup): New arg RETURN-ACTION.
(sendmail-user-agent-compose): Move from simple.el.
* lisp/simple.el (sendmail-user-agent-compose): Move to sendmail.el.
(compose-mail): New arg RETURN-ACTION.
(compose-mail-other-window, compose-mail-other-frame): Likewise.
* lisp/gnus/gnus-msg.el (gnus-msg-mail): New arg RETURN-ACTION. Pass it to
message-mail.
* lisp/gnus/message.el (message-mail): New arg RETURN-ACTION.
(message-return-action): New var.
(message-bury): Use it.
(message-mode): Make it buffer-local.
(message-send-and-exit): Always call message-bury.
(message-tool-bar-gnome): Tweak tool-bar items. Add :vert-only tags.
* lisp/mail/rmail.el (rmail-mail-return): New function.
(rmail-start-mail): Pass it to compose-mail.
* lisp/mh-e/mh-comp.el (mh-user-agent-compose): New arg RETURN-ACTION.
2011-01-12 23:23:41 -05:00
Kenichi Handa
07ee935146
merge emacs-23
2011-01-12 15:11:40 +09:00
Kenichi Handa
e7ca0062a4
Another improvement of MIME handling in rmail.
2011-01-12 15:08:55 +09:00
Lennart Borgman
320912fb3d
Fix permanancy of BUFFER-LIST arg to list-buffers-noselect (Bug#7749).
...
* buff-menu.el (Buffer-menu-buffer-list): New var.
(Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
restricted buffer list is not lost on revert (Bug#7749).
2011-01-08 17:15:51 -05:00
Kenichi Handa
8434f23924
Fix handling of unknown MIME type (bug#7651).
2011-01-04 16:09:46 +09:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Chong Yidong
7c420169ba
Merge changes from emacs-23 branch
2011-01-02 15:31:19 -05:00
Mark Lillibridge
2f9520592d
* lisp/mail/mail-utils.el (mail-strip-quoted-names): Don't modify the
...
" *temp*" buffer.
Fixes: debbugs:7746
2011-01-01 22:16:03 -05:00
Mark Lillibridge
9430e9882e
Mail-utils fix for bug#7746. (tiny change)
...
* lisp/mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
an existing temp buffer.
2011-01-01 18:43:26 -08:00
Glenn Morris
8de31eeccb
Small mail-utils fix for bug 7760.
...
* lisp/mail/mail-utils.el (mail-mbox-from): Handle From: headers with
multiple addresses.
2011-01-01 18:35:23 -08:00
Kenichi Handa
8258ae3f5a
Fix error handling of MIME parsing.
2010-12-24 23:00:14 +09:00
Andreas Schwab
b0eab0848b
Update autoloads in rmail.el
2010-12-24 10:07:39 +01:00
Kenichi Handa
186f7f0b7f
Enable display mode of MIME message in rmail.
2010-12-24 13:38:22 +09:00
Chong Yidong
d1ab8d82ef
* lisp/mail/binhex.el: Improve commentary (Bug#7482).
2010-12-17 19:16:10 +08:00
Chong Yidong
5614fd5608
Delete long unused functions and variables in rect.el.
...
lisp/rect.el (operate-on-rectangle-lines, string-rectangle-string):
Delete unused variables.
(move-to-column-force): Remove function obsolete since 21.2.
2010-12-15 10:05:38 +08:00
Glenn Morris
e758216c60
Misc sendmail.el.
...
* lisp/mail/sendmail.el: Don't require rmail or mailalias when compiling.
Require mail-utils.
(mail-alias-file): Don't autoload. Doc fix.
(mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
(mail-mailer-swallows-blank-line): Default to nil. Doc fix.
Mark as obsolete, and risky.
(mail-setup): Simplify.
2010-12-13 21:01:08 -08:00
Glenn Morris
53aff12a2f
Make build-mail-aliases an interactive command.
...
* lisp/mail/mailalias.el (build-mail-aliases): Make it interactive.
* lisp/mail/sendmail.el (build-mail-aliases): Update autoload.
* doc/misc/faq.texi (Expanding aliases when sending mail):
Now build-mail-aliases is interactive.
2010-12-13 20:42:59 -08:00
Glenn Morris
aae4b48c36
Remove some dired.el autoload cookies on defcustoms.
...
* lisp/dired.el (dired-trivial-filenames, dired-chown-program)
(dired-auto-revert-buffer): Remove autoload cookies.
* lisp/mail/sendmail.el (mail-recover-1): Require 'dired.
2010-12-13 20:35:33 -08:00
Glenn Morris
0273f794ad
* lisp/mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2010-12-13 20:26:01 -08:00
Stefan Monnier
f49d1f52b2
Merge from emacs-23
2010-12-13 10:27:36 -05:00
Eli Zaretskii
95e4cc854b
Fix bug #7589 with EOL format in smtpmail's queued mail.
...
mail/smtpmail.el (smtpmail-send-it): Write queued mail body with Unix EOLs.
2010-12-13 17:12:01 +02:00
Glenn Morris
e554b3f832
Small emacsbug.el stuff.
...
* lisp/mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
(report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2010-12-09 19:39:18 -08:00
Glenn Morris
b2364eaaa8
* lisp/mail/smtpmail.el (smtpmail-send-it): Revert previous change.
...
(convert-standard-filename means it was bogus.)
2010-12-08 17:46:03 -08:00
Glenn Morris
5fe9ebd14e
* mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients.
2010-12-07 19:47:27 -08:00
Glenn Morris
3c1e62f86e
Small smtpmail fix for bug#7588.
...
* lisp/mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
file names, for the sake of MS Windows.
2010-12-07 19:29:41 -08:00
Chong Yidong
d8b2a96214
Fix crash with invisible text and overlays (Bug#7016).
...
* src/dispextern.h (struct it): New member overlay_strings_charpos.
* src/xdisp.c (next_overlay_string, load_overlay_strings): Record the
charpos where we computed n_overlay_strings.
(next_overlay_string): Load overlay strings at recorded position,
which may not be the same as the iterator's charpos (Bug#7016).
2010-12-06 01:54:52 -05:00
Glenn Morris
f62f063dd0
emacsbug.el trivia.
...
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Remove more undefined cl functions.
2010-12-02 19:03:06 -08:00
Chong Yidong
088c8c092b
Fix error in last merge.
...
src/gtkutil.c (menubar_map_cb): Use xg_height_or_width_changed.
2010-11-30 12:01:18 -05:00
Kenichi Handa
7e116860bb
Implement rmail-search-mime-message-function.
2010-11-29 21:22:39 +09:00
Chong Yidong
07976ae3b8
Merge changes from emacs-23 branch
2010-11-27 15:04:57 -05:00
Glenn Morris
8244506278
sendmail.el trivia.
...
* lisp/mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
(expand-mail-aliases): Remove unnecessary autoload.
2010-11-26 19:29:06 -08:00
Glenn Morris
a140ec5f5e
Fix emacsbug.el errors clearly flagged by the byte-compiler.
...
* lisp/mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
Replace undefined CL functions.
2010-11-26 19:15:59 -08:00
Kenichi Handa
afde451abe
mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported multipart subtypes, insert all as usual.
2010-11-26 21:58:41 +09:00
Kenichi Handa
3d9ee611b8
mail/rmail.el: Require rfc2047.
2010-11-26 16:58:35 +09:00
Kenichi Handa
d1be4ec274
Improve rmail's MIME handling.
2010-11-26 13:06:59 +09:00
Lars Magne Ingebrigtsen
b3ea64a3ee
* mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
...
parsing them. This makes mailto:...?subject=foo\nbar work.
2010-11-26 03:28:03 +01:00
Lars Magne Ingebrigtsen
7bd9b9d8b4
(mailclient-send-it): Bind `browse-url-mailto-function' to nil to
...
use the external browser function to send the mail.
2010-11-24 07:34:12 +01:00
Tassilo Horn
331460ac64
* mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Mention
...
that the keywords should be comma separated.
2010-11-23 09:00:56 +01:00
Tassilo Horn
7dcd777e14
* mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
...
(report-emacs-bug-parse-query-results)
(report-emacs-bug-create-existing-bugs-buffer): Pass through
keywords used for querying the bug database to show them in the
existing bugs buffer.
2010-11-20 18:32:57 +01:00
Tassilo Horn
614316a700
* mail/emacsbug.el (report-emacs-bug-tracker-url)
...
(report-emacs-bug-create-existing-bugs-buffer)
(report-emacs-bug-parse-query-results)
(report-emacs-bug-query-existing-bugs): Implemented a bug querying
mechanism.
2010-11-20 12:39:44 +01:00
Glenn Morris
2af05d6ecd
mailheader.el comments.
2010-11-10 20:10:38 -08:00
Glenn Morris
9b026d9f13
Replace still more end-of-line etc with line-end-position, etc.
...
* lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
(nnbabyl-check-mbox): Use point-at-bol.
* lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
* lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
* lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
Use point-at-bol and point-at-eol.
* lisp/vc/emerge.el (emerge-line-number-in-buf):
* lisp/textmodes/ispell.el (ispell-region):
* lisp/textmodes/fill.el (current-fill-column):
* lisp/progmodes/xscheme.el (xscheme-send-current-line):
* lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
* lisp/progmodes/sh-script.el (sh-handle-prev-do):
* lisp/progmodes/meta-mode.el (meta-indent-line):
* lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
(idlwave-in-quote):
* lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
(idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
* lisp/progmodes/fortran.el (fortran-looking-at-if-then):
* lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
* lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
(cperl-find-pods-heres):
* lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/net/ldap.el (ldap-search-internal):
* lisp/net/eudc.el (eudc-expand-inline):
* lisp/mail/sendmail.el (sendmail-send-it):
* lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
* lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
(viper-brac-function):
* lisp/calc/calc-yank.el (calc-do-grab-region):
* lisp/calc/calc-keypd.el (calc-keypad-press):
* lisp/term.el (term-move-columns, term-insert-spaces):
* lisp/speedbar.el (speedbar-highlight-one-tag-line):
* lisp/simple.el (current-word):
* lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
* lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
(Info-scroll-down):
* lisp/hippie-exp.el (he-line-beg):
* lisp/epa.el (epa--marked-keys):
* lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
(dired-update-file-line, dired-add-entry, dired-remove-entry)
(dired-relist-entry):
* lisp/buff-menu.el (Buffer-menu-buffer):
* lisp/array.el (current-line):
* lisp/allout.el (allout-resolve-xref)
(allout-latex-verbatim-quote-curr-line):
Replace yet more uses of end-of-line etc with line-end-position.
2010-11-08 21:33:07 -08:00
Glenn Morris
5ed619e0a3
Use line-end-position rather than end-of-line, etc.
...
* textmodes/texnfo-upd.el (texinfo-start-menu-description)
(texinfo-update-menu-region-beginning, texinfo-menu-first-node)
(texinfo-delete-existing-pointers, texinfo-find-pointer)
(texinfo-clean-up-node-line, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* textmodes/table.el (table--probe-cell-left-up)
(table--probe-cell-right-bottom):
* textmodes/picture.el (picture-tab-search):
* textmodes/page-ext.el (pages-copy-header-and-position)
(pages-directory-for-addresses):
* progmodes/vera-mode.el (vera-get-offset):
* progmodes/simula.el (simula-calculate-indent):
* progmodes/python.el (python-pdbtrack-overlay-arrow):
* progmodes/prolog.el (end-of-prolog-clause):
* progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
* progmodes/icon.el (indent-icon-exp):
* progmodes/etags.el (tag-re-match-p):
* progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
* progmodes/ebnf2ps.el (ebnf-begin-file):
* progmodes/dcl-mode.el (dcl-back-to-indentation-1)
(dcl-save-local-variable):
* play/life.el (life-setup):
* play/gametree.el (gametree-looking-at-ply):
* nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
* mail/sendmail.el (mail-mode-auto-fill):
* emacs-lisp/lisp-mode.el (calculate-lisp-indent):
* emacs-lisp/edebug.el (edebug-overlay-arrow):
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
* woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
(woman-tab-to-tab-stop, WoMan-warn-ignored):
* type-break.el (type-break-file-keystroke-count):
* term.el (term-replace-by-expanded-history-before-point)
(term-skip-prompt, term-extract-string):
* speedbar.el (speedbar-edit-line, speedbar-expand-line)
(speedbar-contract-line, speedbar-toggle-line-expansion)
(speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
(speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
* sort.el (sort-skip-fields):
* skeleton.el (skeleton-internal-list):
* simple.el (line-move-finish, line-move-to-column):
* shell.el (shell-forward-command):
* misc.el (copy-from-above-command):
* makesum.el (double-column):
* ebuff-menu.el (electric-buffer-update-highlight):
* dired.el (dired-move-to-end-of-filename):
* dframe.el (dframe-popup-kludge):
* bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
* arc-mode.el (archive-get-lineno):
Use line-end-position and line-beginning-position.
* net/ange-ftp.el, progmodes/hideif.el, reposition.el:
Same, but only in comments.
2010-11-06 13:23:42 -07:00
Glenn Morris
0e4bb7f0ce
Silence mail-extr compilation.
...
* lisp/mail/mail-extr.el (mail-extract-address-components): Give dynamic
local variables `cbeg' and `cend' a prefix.
(mail-extr-voodoo): Update for above name change.
2010-11-06 12:28:44 -07:00
T.V. Raman
a11de51476
Fix 2010-10-10 keymap fixes.
...
* net/mairix.el (mairix-searches-mode-map):
* mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2010-10-24 17:44:53 -04:00
Juanma Barranquero
220d91b834
Merge changes from emacs-23 branch.
2010-10-14 16:32:27 +02:00
Kenichi Handa
9650fc6190
mail/rmail.el (rmail-show-message-1): Catch an error of base64-decode-region and just show an error message (bug#7165).
2010-10-14 13:23:36 +09:00
Glenn Morris
7163badd35
* lisp/mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2010-10-12 20:05:22 -07:00