1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-21 21:41:40 -07:00
Commit graph

97267 commits

Author SHA1 Message Date
Glenn Morris
df26e1f58a * lisp/cedet/semantic/wisent/comp.el: Remove unnecessary eval-when-compiles. 2010-11-11 19:23:58 -08:00
Glenn Morris
7847454adc bytecomp trivia.
* lisp/emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
Use it to replace all instances of "*Compile-Log*"
2010-11-11 19:21:38 -08:00
Katsumi Yamaoka
2ff71e9b19 smime.el (smime-decrypt-region): Doc fix. 2010-11-12 01:48:39 +00:00
Stefan Monnier
aa31025710 * lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
indentation specs.
2010-11-11 20:35:06 -05:00
Katsumi Yamaoka
b0feab7d2c Make mm-dissect-buffer pass sender's mail address to smime-decrypt-region.
mm-decode.el (mm-dissect-buffer): Pass sender's mail address to smime-decrypt-region using function argument.
mm-decode.el (mm-possibly-verify-or-decrypt, mm-dissect-multipart): Relay it.
mm-view.el (mm-view-pkcs7, mm-view-pkcs7-decrypt): Relay it.
smime.el (smime-decrypt-region): Catch it.
2010-11-11 23:51:05 +00:00
Stefan Monnier
ec54e7a421 * lisp/gnus/smime.el (smime-mode): Use define-derived-mode.
(smime-mode-map): Move initialization into declaration.
(gnus-run-mode-hooks): Don't autoload.
2010-11-11 17:24:03 -05:00
Stefan Monnier
1a4236eaba * src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking
it's not negative.
2010-11-11 16:11:17 -05:00
Stefan Monnier
cbf83ce9f9 * lisp/progmodes/modula2.el: Use SMIE and skeleton.
(m2-mode-syntax-table): (*..*) can be nested.
Add //...\n.  Fix paren syntax.
(m2-mode-map): Remove LF and TAB bindings.
(m2-indent): Add safety property.
(m2-smie-grammar): New var.
(m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
(m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
(m2-mode): Use define-derived-mode.
(m2-newline, m2-tab): Remove.
(m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
(m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
(m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
(m2-import): Use define-skeleton.
* test/indent/modula2.mod: New file.
2010-11-11 16:06:15 -05:00
Glenn Morris
90639ceacd * doc/misc/msdog.texi (ls in Lisp): Update for ls-lisp.el changes. 2010-11-11 00:41:30 -08:00
Glenn Morris
606dcd9ebc ls-lisp: get rid of the dreaded "no effect until you restart Emacs".
* lisp/ls-lisp.el (ls-lisp-set-options): New function.
(ls-lisp-emulation): Use ls-lisp-set-options for custom :set.  Doc fix.
2010-11-11 00:28:35 -08:00
Glenn Morris
5ca6733884 esh-opt comments. 2010-11-10 20:11:33 -08:00
Glenn Morris
2af05d6ecd mailheader.el comments. 2010-11-10 20:10:38 -08:00
Glenn Morris
717eae7257 Regenerate tpu-edt autoloads. 2010-11-10 20:09:02 -08:00
Glenn Morris
8d60680b40 * lisp/gnus/smime.el (from): Restrict declaration to XEmacs. 2010-11-10 20:07:40 -08:00
Glenn Morris
0b58f78eed * lisp/gnus/nnir.el (gnus-group-topic-name): Autoload. 2010-11-10 20:05:15 -08:00
Katsumi Yamaoka
fe98a42fce shr.el (shr-insert): Fix last change. 2010-11-11 04:01:12 +00:00
Glenn Morris
b3e22bd43b Minor ls-lisp changes.
* lisp/ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
(ls-lisp-verbosity): Add custom :set-after property.
(ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
(ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
(ls-lisp-insert-directory): Update caller.
2010-11-10 19:59:04 -08:00
Glenn Morris
55a4b4fe03 Remove odd code from kandmark, gomoku.
* lisp/play/landmark.el (lm-prompt-for-move):
* lisp/play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2010-11-10 19:57:02 -08:00
Glenn Morris
b3e4c91159 * lisp/obsolete/lucid.el: Don't warn about any CL functions in this file. 2010-11-10 19:54:59 -08:00
Glenn Morris
e7c4fb1ef4 Silence idlw*.el compilation.
* lisp/progmodes/idlw-complete-structtag.el: Remove unused dec `name'.

* lisp/progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
(idlwave-study-twins): Prefix dynamic local variable `name'.
(idlwave-routine-twin-compare): Update for above change.

* lisp/progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
Prefix dynamic local variables `name', `kwd', and `link'.
* lisp/progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
* lisp/progmodes/idlw-complete-structtag.el
(idlwave-complete-structure-tag-help):
* lisp/progmodes/idlwave.el (idlwave-complete-sysvar-help)
(idlwave-complete-sysvar-tag-help)
(idlwave-complete-class-structure-tag-help):
Update for above name changes.
2010-11-10 19:53:16 -08:00
Katsumi Yamaoka
e7102c0aca shr.el (shr-insert): Don't break long line if it is because of kinsoku-bol characters in the line end. 2010-11-11 03:50:27 +00:00
Glenn Morris
77d6bce84b * lisp/erc/erc-lang.el (erc-cmd-LANG): Fix what may have been a typo. 2010-11-10 19:50:20 -08:00
Katsumi Yamaoka
54e275fa7c lisp/gnus/ChangeLog: Cosmetic fix. 2010-11-11 02:11:30 +00:00
Andrew Cohen
67a3b17cf1 nnir.el (nnir-request-move-article): fix to provide original group and subject.
nnir.el (nnir-warp-to-article): don't fail on articles whose headers haven't been retrieved.
gnus-sum.el (gnus-summary-move-article): use original group and subject for virtual articles such as those in an nnir summary buffer.
2010-11-11 02:10:07 +00:00
Katsumi Yamaoka
9c1d3f983f gnus-art.el (article-treat-non-ascii): Make it work for XEmacs (at least 21.5).
smime.el (from): Declare it again for XEmacs.
2010-11-11 01:45:05 +00:00
Katsumi Yamaoka
7dfd300808 lisp/gnus/ChangeLog (2010-11-10): Fix wording. 2010-11-10 23:57:24 +00:00
Lars Magne Ingebrigtsen
a7f6e5b9f0 nnimap.el (nnimap-update-info): Fix problem with `g' chopping of low-numbered articles.
message.el (message-resend): Don't disable encoding unless it's already encoded.
2010-11-10 23:16:01 +00:00
Lars Magne Ingebrigtsen
afe2870bf5 * net/browse-url.el (browse-url-browser-function): Change the
default to use `browse-url-mail' on mailto: URLs.
2010-11-10 23:27:02 +01:00
Chong Yidong
fbe3be3fa2 Minor fix to package-archive-contents recalculation.
lisp/emacs-lisp/package.el (package-read-all-archive-contents): Reset
package-archive-contents to nil before re-reading.
2010-11-10 16:35:06 -05:00
Agustín Martín
c97685d424 lisp/Changelog: Fix 2010-11-10T10:54:43Z!agustin.martin@hispalinux.es entry to use correct format with real submitter. 2010-11-10 18:25:13 +01:00
Agustín Martín
bd4532fc5b flyspell.el (flyspell-word): Do not re-check known misspellings.
Avoid re-checking words already found as misspellings by 
(flyspell-large-region), just do highlighting. 

Patch by Brandon Craig Rhodes (bug#7322)
2010-11-10 11:54:43 +01:00
Michael Albinus
01768686d4 Fix syntax error in previous commit. 2010-11-10 10:08:05 +01:00
YAMAMOTO Mitsuharu
3106121c99 Add const to array elements of font filter properties.
* font.c (font_filter_properties): Add const to array elements of properties args.
* font.h (font_filter_properties): Likewise.
* ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array elements.
* w32font.c (w32font_booleans, w32font_non_booleans): Likewise.
2010-11-10 18:02:54 +09:00
Michael Albinus
da1fec2bc1 * dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
(XD_BASIC_DBUS_TYPE, xd_symbol_to_dbus_type, xd_signature)
(xd_append_arg, xd_retrieve_arg): Support DBUS_TYPE_UNIX_FD.
(Fdbus_call_method): Add DBUS_TYPE_UNIX_FD type mapping to doc string.
(syms_of_dbusbind): Initialize QCdbus_type_unix_fd).
2010-11-10 09:48:18 +01:00
Michael Albinus
6f8fc60c41 * dbus.texi (Type Conversion): Introduce `:unix-fd' type mapping. 2010-11-10 09:41:53 +01:00
Glenn Morris
6d2a1e3566 * lisp/progmodes/octave-mod.el (octave-mark-block): Update for smie change. 2010-11-10 00:21:06 -08:00
Glenn Morris
c026460bc4 * lisp/textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo. 2010-11-09 23:59:00 -08:00
Katsumi Yamaoka
3d49267055 rfc2047.el (rfc2047-syntax-table): Simplify. 2010-11-10 07:55:25 +00:00
Katsumi Yamaoka
fdf1419174 gnus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table-range for XEmacs. 2010-11-10 06:23:53 +00:00
Glenn Morris
d4aca69c31 Minor edt.el simplification.
* lisp/emulation/edt.el (edt-with-position): New macro.
(edt-find-forward, edt-find-backward, edt-find-next-forward)
(edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
(edt-paragraph-forward, edt-paragraph-backward): Use it.
2010-11-09 21:24:48 -08:00
Glenn Morris
f8a09adb78 tpu-extras.el simplifiation.
* lisp/emulation/tpu-extras.el (tpu-with-position): New macro.
(tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2010-11-09 21:16:34 -08:00
Glenn Morris
dea53a431f Use line-beginning-position in some texinfo.el files.
* lisp/textmodes/texnfo-upd.el (texinfo-all-menus-update)
(texinfo-menu-copy-old-description, texinfo-start-menu-description)
(texinfo-master-menu, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* lisp/textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
Use line-beginning-position.
2010-11-09 20:35:18 -08:00
Glenn Morris
b565f5a1b9 Silence skeleton.el compilation.
* lisp/skeleton.el (skeleton-internal-list, skeleton-internal-1):
Prefix dynamic local variable `skeleton'.
2010-11-09 20:30:21 -08:00
Glenn Morris
6e4049508f Remove ls-lisp time-related functions that duplicate standard functions.
* lisp/ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
(ls-lisp-handle-switches): Use time-less-p.
(ls-lisp-format-time): Use float-time.
2010-11-09 20:28:16 -08:00
Glenn Morris
72bc50c029 system-type related trivia.
* lisp/cedet/semantic/bovine/c.el: Test system-type with memq.

* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
No recent Emacs supports system-type `emx'.

* lisp/progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
(ada-command-separator, ada-default-prj-properties)
(ada-find-any-references): Update for above name change.

* lisp/dirtrack.el (dirtrack-directory-function)
(dirtrack-canonicalize-function):
* lisp/filecache.el (file-cache-completion-ignore-case)
(file-cache-case-fold-search, file-cache-ignore-case):
* lisp/term.el (serial-port-is-file-p): Cosmetic change.

* lisp/emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
Remove non-existent `windows-95' system-type.
* lisp/dired.el (dired-chown-program): Remove non-existent `linux'
system-type.

* lisp/locate.el: Comment.
2010-11-09 20:24:47 -08:00
Glenn Morris
17731c39b2 net-utils system-type trivia.
* lisp/net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
(ping-program-options): Remove non-existent `linux' system-type.
2010-11-09 20:13:21 -08:00
Glenn Morris
9228bbd345 * lisp/startup.el (package-initialize): Update declaration. 2010-11-09 20:11:08 -08:00
Glenn Morris
89eee1e053 * lisp/gnus/smime.el (from): Remove unused declaration. 2010-11-09 20:09:49 -08:00
Glenn Morris
6f0d4bb6b2 time-to-seconds related simplifications.
* lisp/gnus/gnus-util.el (with-no-warnings): Remove compat stub, now unused.
(gnus-float-time): On Emacs, always an alias.

* lisp/gnus/ecomplete.el (with-no-warnings): Remove compat stub, now unused.
(ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.

* lisp/textmodes/remember.el (remember-time-to-seconds): Remove.
(remember-store-in-mailbox): Use float-time.

* lisp/calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.

* lisp/calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
never a real function.
(with-no-warnings): Remove compat stub, now unused.
(time-less-p): Doc fix.
(time-to-number-of-days): Simplify.
2010-11-09 20:08:15 -08:00
Glenn Morris
73171bd4cc Replace some eshell functions that duplicate standard functions.
* lisp/eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds): Remove.
(eshell-read-passwd, eshell-read-hosts): Use time-less-p.
* lisp/eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
* lisp/eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
* lisp/eshell/em-pred.el (eshell-pred-file-time): Use float-time.
* lisp/eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2010-11-09 19:57:32 -08:00