Julien Danjou
4abff9048d
shr.el (shr-put-image): Use point even if only inserting text; save-excursion on alt text.
2010-10-28 12:45:51 +00:00
Julien Danjou
cfe94935c8
nnir.el (nnir-run-swish-e): Remove hyrex support.
2010-10-28 10:41:27 +00:00
Glenn Morris
8289f37b64
doc/Makefile fixes related to inclusion of emacsver.texi.
...
* doc/lispref/Makefile.in (elisp.dvi, elisp.pdf): Also include $emacsdir.
* doc/misc/Makefile.in (MAKEINFO, ENVADD): Add $emacsdir to include path.
(($(infodir)/calc, calc.dvi, calc.pdf): Depend on emacsver.texi.
($(infodir)/efaq): Remove -I option now in $MAKEINFO.
2010-10-28 00:21:43 -07:00
Glenn Morris
b3edb781e0
Move ns-specific menu-bar code from term/ns-win.el to menu-bar.el.
...
* lisp/term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
Move menu-bar related settings to ../menu-bar.el.
* lisp/menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
Move ns-specific settings here from term/ns-win.el.
2010-10-28 00:05:00 -07:00
Katsumi Yamaoka
a87ee50bb9
gnus-art.el: Improve MIME part functions.
...
gnus-art.el (gnus-article-jump-to-part): Error on no part; fix prompt.
(gnus-mime-copy-part): Check coding system, not charset.
(gnus-mime-view-part-externally): Never remove part.
(gnus-mime-view-part-internally): Don't remove part here.
(gnus-article-part-wrapper): Make sure MIME tag is visible.
(gnus-article-goto-part): Go to displayed or preferred subpart if it is multipart/alternative.
mm-decode.el (mm-display-part): Take optional arg `force'.
2010-10-28 06:37:35 +00:00
Glenn Morris
f41f19b0d2
* lisp/simple.el (x-selection-owner-p): Remove unused declaration.
2010-10-27 20:49:40 -07:00
Stefan Monnier
6175cd0824
* lisp/minibuffer.el (completion-cycling): New var.
...
(minibuffer-complete, completion--do-completion):
Use completion--flush-all-sorted-completions.
(minibuffer-complete): Only cycle if completion-cycling is set.
(completion--flush-all-sorted-completions): Unset completion-cycling.
(minibuffer-force-complete): Set completion-cycling.
(completion-all-sorted-completions): Move declaration before first use.
Fixes: debbugs:7266
2010-10-27 22:22:29 -04:00
Leo Liu
19677c7126
* lisp/iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
...
which changes the order of matches seen by users.
Fixes: debbugs:7231
2010-10-27 21:30:01 -04:00
Jes Bodi Klinke
77b143ebc1
* lisp/progmodes/compile.el (compilation-mode-font-lock-keywords):
...
Don't confuse -omega as "-o mega".
2010-10-27 21:10:22 -04:00
Julien Danjou
11a5db4a62
gnus-group.el: Make gnus-group-default-list-level possibly a function.
2010-10-27 22:08:36 +00:00
Stefan Monnier
ce8794df2c
* lisp/vc/log-edit.el (log-edit-rewrite-fixes): New var.
...
(log-edit-author): New dynamic var.
(log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
to return the author if different from committer.
(log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2010-10-27 17:47:09 -04:00
Stefan Monnier
d19dc73db6
* test/indent/octave.m: Add a test to ensure indentation is local.
2010-10-27 10:48:05 -04:00
Stefan Monnier
80cb310dab
* lisp/play/landmark.el: Adjust commenting convention.
...
(lm-nil-score): Rename from nil-score.
(Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
(OOOOscore): Move into a let in lm-score-trans-table.
(lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2010-10-27 10:31:44 -04:00
Stefan Monnier
2122161f8d
* lisp/electric.el (electric-indent-chars): Autoload.
...
* lisp/progmodes/octave-mod.el (octave-mode):
* lisp/progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
(ruby-mode-abbrev-table): Merge initialization and declaration.
2010-10-27 10:26:01 -04:00
Julien Danjou
0b9808b0cf
nnimap.el (nnimap-retrieve-group-data-early): Remove bad comment.
2010-10-27 08:07:41 +00:00
Glenn Morris
c6efd3dd5d
* lisp/term/ns-win.el (ns-insert-file): Init in let.
...
(ns-find-file): Use let*.
2010-10-27 00:39:34 -07:00
Glenn Morris
208d109c18
* abbrev.el (abbrev-mode): Remove one of the three definitions of this variable.
2010-10-26 23:50:28 -07:00
Glenn Morris
1bcc463741
ns-win.el trivia.
...
* term/ns-win.el: (ns-handle-nxopen): Optionally handle the temp-case.
(ns-handle-nxopentemp): Just call ns-handle-nxopen.
(ns-insert-file, ns-find-file): Use `pop'.
2010-10-26 23:48:04 -07:00
Glenn Morris
7d3e38433d
* server.el (server-host, server-port, server-auth-dir): Autoload risky.
2010-10-26 23:42:15 -07:00
Katsumi Yamaoka
3444dc6164
mm-decode.el (mm-shr): Add undisplayer to MIME handle.
2010-10-27 03:59:59 +00:00
Glenn Morris
e925113b0c
* lisp/term/ns-win.el: Restore require of cl when compiling.
...
(menu-bar-final-items): Remove non-existent `windows' menu.
2010-10-26 20:48:28 -07:00
Katsumi Yamaoka
e617ab0651
gnus-group.el: Replace replace-regexp-in-string with gnus-replace-in-string.
2010-10-27 01:09:11 +00:00
Juanma Barranquero
d46f6bbb57
* src/eval.c (init_eval_once): Set max_lisp_eval_depth to 600.
...
Otherwise, bootstrapping on Windows fails to compile macroexp.el.
2010-10-27 00:23:09 +02:00
Katsumi Yamaoka
036d93bcd0
shr.el (shr-tag-div): Added.
2010-10-26 22:08:30 +00:00
Eli Zaretskii
84b288883d
cmds.c: (internal_self_insert): Don't insert for negative arguments.
2010-10-26 20:47:19 +02:00
Eli Zaretskii
2e35f1a27e
Fix bug #7281 .
...
cmds.c (internal_self_insert): Don't insert if argument N is zero.
2010-10-26 20:03:34 +02:00
Glenn Morris
b94a5a43d1
* lisp/term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2010-10-26 09:56:11 -07:00
Adrian Robert
fc3eda0471
* term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to global map. * term/common-win.el (x-setup-function-keys): Remove most of the keymappings. Comment on the remaining ones.
2010-10-26 16:20:00 +03:00
Glenn Morris
1d83b0e93e
Mention server-port.
2010-10-26 00:42:46 -07:00
Glenn Morris
c31dc2c0b7
Add ChangeLog bug ref.
2010-10-26 00:41:30 -07:00
Peter Oliver
c79b0b1c8c
Add server-port option. (Bug#854)
...
* lisp/server.el (server-port): New option.
(server-start): Use server-port.
2010-10-26 00:40:07 -07:00
Glenn Morris
ceb951014f
* lisp/term/ns-win.el (ns-ignore-2-arg): Remove unused function.
...
(Mistakenly committed the ChangeLog for this earlier.)
2010-10-25 23:48:17 -07:00
Jan D
8daaeda651
* gtkutil.c (qttip_cb): Set title to empty for ATK (Bug#7278).
2010-10-26 08:09:54 +02:00
Glenn Morris
d7d8c62a57
Remove ns-handle-* functions that duplicate x-handle-*.
...
* lisp/term/ns-win.el (ns-version-string): Remove unused declaration.
(ns-invocation-args): Change to x-invocation-args.
(ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
(ns-handle-name-switch, ns-ignore-2-arg): Remove.
(ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
Use x-invocation-args instead of ns-invocation-args.
(ns-initialize-window-system, handle-args-function-alist):
Use x-handle-args instead of ns-handle-args.
* lisp/term/common-win.el (x-handle-args): Also handle nextstep arguments.
* lisp/startup.el (command-line-ns-option-alist): Replace
ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
ns-handle-iconic with the x- equivalents.
2010-10-25 20:58:19 -07:00
Glenn Morris
57c17ca45a
* etc/images/README: Add (un)checked.xpm
...
* etc/images/checked.xpm, images/unchecked.xpm: Add copyright.
2010-10-25 20:02:30 -07:00
Glenn Morris
725513b7d9
Let ns load common-win.
...
* lisp/term/common-win.el (x-select-enable-clipboard):
* lisp/term/pc-win.el (x-select-enable-clipboard): Doc fix.
* lisp/term/ns-win.el: No need to require cl when compiling.
(x-display-name, x-setup-function-keys, x-select-text, x-colors)
(xw-defined-colors): Use the common-win definitions.
(ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
(ns-handle-iconic): Make it an alias for x-handle-iconic.
* lisp/term/common-win.el (x-select-text, x-alternatives-map)
(x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
* lisp/loadup.el [ns]: Load common-win.
2010-10-25 19:59:05 -07:00
Daiki Ueno
6ee7927589
Make epa-mail-encrypt expand mail aliases.
2010-10-26 10:31:27 +09:00
Daiki Ueno
77ec02d8fd
Make epa-mail-encrypt handle local-part only recipients.
...
* epa-mail.el (epa-mail-encrypt): Handle local-part only
recipients (Bug#7280).
2010-10-26 10:02:08 +09:00
Julien Danjou
84acb2f67b
gnus-util.el: Remove `gnus-with-local-quit'.
...
gnus-demon.el (gnus-demon-init): Use run-with-idle-timer function.
2010-10-25 22:02:00 +00:00
Andreas Schwab
d47f34de4b
* configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM
...
to avoid warning.
2010-10-25 19:23:45 +02:00
Chong Yidong
365dc66cec
Document GTK Emacs kill on display close in PROBLEMS.
...
* src/xterm.c (x_connection_closed): Update comment.
2010-10-25 12:04:54 -04:00
Daiki Ueno
c05c2b9bb0
Don't use the word "PGP", since it is a non-free program.
2010-10-25 21:24:44 +09:00
Lars Magne Ingebrigtsen
28090d40d7
gnus-sum.el (gnus-summary-select-article): Fix type error in checking the original article buffer.
2010-10-25 05:43:08 +00:00
Glenn Morris
59ba9d59dc
Simplifications for lisp/term/common-win.el
...
* lisp/term/common-win.el (x-handle-switch): Simplify with pop.
Optionally handle numeric switches.
(x-handle-numeric-switch): Just call x-handle-switch.
(x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
(x-handle-name-switch, x-handle-display, x-handle-args):
Simplify with pop.
2010-10-24 22:39:21 -07:00
Daiki Ueno
d85d3b3ab8
Add alternative key bindings for epa-mail commands.
...
* epa.texi (Mail-mode integration): Add alternative key bindings
for epa-mail commands; escape comma.
2010-10-25 12:06:35 +09:00
Glenn Morris
6a5c21753e
Move ns-win.el's rather wacky menu adjustments to menu-bar.el.
...
* lisp/term/ns-win.el: Do not require easymenu.
(menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
<spell>: Move adjustments to menu-bar.el.
* lisp/menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
<separator-undo, spell>: Move ns-win's adjustments here.
* lisp/loadup.el [ns]: Do not load easymenu.
* src/Makefile.in (SOME_MACHINE_LISP): Remove easymenu.elc.
* lib-src/makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
2010-10-24 17:48:26 -07:00
Juanma Barranquero
5793a7bc13
Fix some ChangeLog entries.
2010-10-25 02:04:44 +02:00
Chong Yidong
01898dc200
Avoid inline image variables for checkboxes (Bug#7222).
...
* etc/images/checked.xpm:
* etc/images/unchecked.xpm: New images.
* image.el (image-checkbox-checked, image-checkbox-unchecked):
Deleted (Bug#7222).
* startup.el (fancy-startup-tail): Instead of using inline images,
refer to image files from etc/.
* wid-edit.el (checkbox): Likewise.
(widget-image-find): Center image specs.
2010-10-24 19:40:55 -04:00
Glenn Morris
7c051dd87f
Sync docs of some W32 and X C functions.
...
* src/w32fns.c (Fx_synchronize, Fx_change_window_property)
(Fx_window_property, Fx_file_dialog):
* src/xfns.c (Fx_synchronize, Fx_change_window_property)
(Fx_window_property, Fx_file_dialog): Sync docs between w32 and X.
2010-10-24 15:45:10 -07:00
Jay Belanger
9f534a47e3
calc.texi: Use emacsver.texi to determine Emacs version.
2010-10-24 17:37:44 -05:00