* startup.el (command-line): Fix X resource class for cursorColor.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
301afadc
CY
12012-01-14 Chong Yidong <cyd@gnu.org>
2
3 * startup.el (command-line): Fix X resource class for cursorColor.
4
9e5788aa
PE
52012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6
7 * epg.el (epg--make-temp-file): Avoid permission race condition
8 when running on old Emacs versions (bug#10403).
9
3cdb7f5a
GM
102012-01-14 Glenn Morris <rgm@gnu.org>
11
12 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
13
e517eda4
GM
142012-01-13 Glenn Morris <rgm@gnu.org>
15
1498536e
GM
16 * dired.el (dired-switches-escape-p): New function.
17 (dired-insert-directory): Use dired-switches-escape-p.
18 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
19
e517eda4
GM
20 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
21
328f984d
GM
222012-01-12 Glenn Morris <rgm@gnu.org>
23
24 * mail/sendmail.el (mail-mode): Update paragraph-separate for
25 changes in adaptive-fill-regexp. (Bug#10276)
26
2cc769a8
AM
272012-01-11 Alan Mackenzie <acm@muc.de>
28
29 Fix Emacs bug #10463 - put `widen's around the critical spots.
30
31 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): put a
32 widen around each invocation of c-state-pp-to-literal. Remove an
33 unused let variable.
34
e52c37fa
GM
352012-01-11 Glenn Morris <rgm@gnu.org>
36
37 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 38 Doc fix.
e52c37fa 39
96f8741e
CY
402012-01-10 Chong Yidong <cyd@gnu.org>
41
42 * net/network-stream.el (network-stream-open-starttls): Avoid
43 emitting a confusing error message when the server gives a bad
44 response to the capability command.
45
b09a806e
GM
462012-01-10 Glenn Morris <rgm@gnu.org>
47
48 * mail/unrmail.el (unrmail): Tweak previous change.
49
7655cb66
CY
502012-01-09 Chong Yidong <cyd@gnu.org>
51
52 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
53
9d5a8f0b
AM
542012-01-08 Alan Mackenzie <acm@muc.de>
55
56 Optimise font locking in long enum definitions.
57
58 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
59 arm to a cond form to handle enums.
60 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
61 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
62
9a0115ab 632012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
64
65 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 66 (Bug#10401)
6bb72cbd 67
f186bb95
LMI
682012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
69
29232a68
LMI
70 * faces.el (set-face-attribute): Clarify the meaning of the nil
71 frame (bug#10294).
72
4e5d086d
LMI
73 * subr.el (with-selected-frame): Mention that the selected frame
74 is restored (bug#9980).
75
8e66aebe
LMI
76 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
77 (bug#9759).
78
cd394be1 79 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
80 (password-read): Don't autoload unused function.
81
adf4e762
JB
822012-01-07 Juanma Barranquero <lekktu@gmail.com>
83
84 * progmodes/which-func.el (which-func-mode): Turn into a
85 non-interactive function and mark as obsolete (bug#10428).
86
89bd9ccd
CY
872012-01-06 Chong Yidong <cyd@gnu.org>
88
89 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
90 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
91 functions, along with 1 and -1.
92
4afee9d5
EZ
932012-01-06 Eli Zaretskii <eliz@gnu.org>
94
95 * time.el (display-time-load-average)
96 (display-time-default-load-average): Doc fixes. See the thread
97 starting at
98 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
99 for the details.
100
536aea70
GM
1012012-01-06 Glenn Morris <rgm@gnu.org>
102
665ae865
GM
103 * mail/unrmail.el (unrmail): Give an explicit error if the input file
104 has no messages. (Bug#10377)
105
c869783d
GM
106 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
107 than Info-edit. (Bug#10385)
108
2bb4227e
GM
109 * time.el (display-time-load-average, display-time-next-load-average):
110 Doc fixes.
111
7d5944b9
GM
112 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
113 local setting of buffer-read-only to the input buffer. (Bug#10419)
114
536aea70
GM
115 * calendar/calendar.el (calendar-mode):
116 Locally set scroll-margin to 0. (Bug#10379)
117
7dccca16
UM
1182012-01-06 Ulrich Mueller <ulm@gentoo.org>
119
120 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
121
afbb7930
GM
1222012-01-05 Glenn Morris <rgm@gnu.org>
123
124 * eshell/em-unix.el (diff-no-select): Autoload it.
125 (eshell/diff): Use diff-no-select. (Bug#10420)
126
04482335
CY
1272012-01-05 Chong Yidong <cyd@gnu.org>
128
7baca3bc
CY
129 * shell.el (shell-dynamic-complete-functions): Revert last change.
130 (shell-command-completion-function): New function.
131 (shell-completion-vars): Use it to implement
132 shell-completion-execonly (Bug#10417).
133
04482335
CY
134 * custom.el (enable-theme): Don't set custom-safe-themes.
135
136 * cus-theme.el (custom-theme-merge-theme): Ignore
137 custom-enabled-themes and custom-safe-themes.
138
bb5aa5d6
MM
1392012-01-05 Michael R. Mauger <mmaug@yahoo.com>
140
141 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
142 first prompt in `sql-interacive-mode'.
143 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 144 keywords.
bb5aa5d6
MM
145 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
146 (sql-product-interactive): Bug fix: Set `sql-buffer' in
147 context of original buffer. Invoke `sql-login-hook'.
148
a7183d7c
EZ
1492012-01-04 Eli Zaretskii <eliz@gnu.org>
150
151 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
152 letters in cite-prefix.
153
a1eacd1e
LMI
1542012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
155
156 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
157
787cdb34
CY
1582012-01-03 Chong Yidong <cyd@gnu.org>
159
160 * shell.el (shell-dynamic-complete-functions): Put
161 pcomplete-completions-at-point, so as to try
162 comint-filename-completion first (Bug#10417).
163
30710442
RS
1642012-01-02 Richard Stallman <rms@gnu.org>
165
166 * battery.el (battery-status-function):
167 Detect when to use battery-yeeloong-sysfs.
168 (battery-echo-area-format): Add string for Yeeloong.
169 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
170 (battery-yeeloong-sysfs): New function.
171
f75bfc33
CY
1722012-01-02 Chong Yidong <cyd@gnu.org>
173
174 * dirtrack.el (dirtrack-list): Eliminate unused third element.
175 (dirtrack): Merge code for handling relative filenames in prompt
176 from shell-dir-cookie-watcher.
177 (dirtrack-debug-message): New arg to avoid excess format calls.
178
179 * shell.el (shell-dir-cookie-re): Variable deleted.
180 (shell-dir-cookie-watcher): Function deleted.
181 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
182 with dirtrack-mode.
183
651e947e
EZ
1842012-01-01 Eli Zaretskii <eliz@gnu.org>
185
186 * term/w32-win.el (dynamic-library-alist) <gnutls>: Load
187 libgnutls-28.dll, from GnuTLS version 3.x, in preference to
188 libgnutls-26.dll.
189
94d4c7dc
AS
1902011-12-31 Andreas Schwab <schwab@linux-m68k.org>
191
192 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
193
8d43f3cd
EZ
1942011-12-31 Eli Zaretskii <eliz@gnu.org>
195
196 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
197 headers of non-MIME messages, when rmail-enable-mime is non-nil.
198
98c8795a
MA
1992011-12-29 Michael Albinus <michael.albinus@gmx.de>
200
201 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
202 also for alternative shells.
203 (tramp-open-connection-setup-interactive-shell): Check, whether
204 the shell is a busybox.
205 (tramp-send-command): Don't suppress multiple prompts for
206 busyboxes, it hurts.
207
51281b32
CY
2082011-12-28 Chong Yidong <cyd@gnu.org>
209
210 * progmodes/gdb-mi.el (gdb-get-source-file-list)
211 (gdb-get-source-file): Move mode line update to
212 gdb-get-source-file (Bug#10087).
213
2170cb53
CY
2142011-12-25 Chong Yidong <cyd@gnu.org>
215
216 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
217 gud-gdb-marker-filter without taking it as an argument.
218 (gud-gdb-run-command-fetch-lines): Caller changed.
219 (gud-gdb-completion-function): New variable.
220 (gud-gdb-completion-at-point): Use it.
221 (gud-gdb-completions-1): Split from gud-gdb-completions.
222
223 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
224 function as separate arguments.
225 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
226 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
227 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
228 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
229 (gdb-stopped, def-gdb-auto-update-trigger)
230 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
231 (gdb-get-changed-registers, gdb-get-main-selected-frame):
232 Callers changed.
2170cb53
CY
233 (gud-gdbmi-completions): New function.
234 (gdb): Use it for generating the completion table.
235
be8b11bb
AM
2362011-12-24 Alan Mackenzie <acm@muc.de>
237
238 Introduce a mechanism to widen the region used in context font
239 locking. Use this to protect declarations from losing their
240 contexts.
241
b81d40f0 242 * progmodes/cc-langs.el (c-before-font-lock-functions): Replace
be8b11bb 243 c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 244 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
245 functions to be run just before context (etc.) font locking.
246
247 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 248 New, functionality extracted from
be8b11bb 249 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 250 (c-in-after-change-fontification): New variable.
be8b11bb
AM
251 (c-after-change): Set c-in-after-change-fontification.
252 (c-set-fl-decl-start): Rejig its interface, so it can be called
253 from both after-change and context fontifying.
b81d40f0
JB
254 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
255 New functions.
256 (c-standard-font-lock-fontify-region-function): New variable.
257 (c-font-lock-fontify-region): New function.
be8b11bb 258
341cf6ac
JL
2592011-12-24 Juri Linkov <juri@jurta.org>
260
261 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
262 (Bug#10348)
263
bffcee0a
MA
2642011-12-23 Michael Albinus <michael.albinus@gmx.de>
265
266 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
267 existence of source file. (Bug#10325)
268
cb5e207c
AM
2692011-12-23 Alan Mackenzie <acm@muc.de>
270
271 Fix unstable fontification inside templates.
272
b81d40f0
JB
273 * progmodes/cc-langs.el (c-before-font-lock-functions):
274 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
275 additionally has c-set-fl-decl-start. The other languages (apart
276 from AWK) have that as a single entry.
277
b81d40f0
JB
278 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
279 The functionality for "local" declarations has been extracted to
cb5e207c
AM
280 c-set-fl-decl-start.
281
b81d40f0
JB
282 * progmodes/cc-mode.el (c-common-init, c-after-change):
283 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
284 (c-set-fl-decl-start): New function, extracted from
285 c-font-lock-enclosing-decls and enhanced.
286
60ff536c
JB
2872011-12-23 Juanma Barranquero <lekktu@gmail.com>
288
289 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
290
1c4757d6
JL
2912011-12-22 Juri Linkov <juri@jurta.org>
292
293 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
294
d031f2c7
CY
2952011-12-22 Chong Yidong <cyd@gnu.org>
296
297 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
298
bace743a
DA
2992011-12-21 Drew Adams <drew.adams@oracle.com>
300
301 * files.el (file-remote-p): Fix docstring. (Bug#10319)
302
728a1f2b
JC
3032011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
304
305 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
306
0d373f73
TZ
3072011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
308
fec0aaa4
TZ
309 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
310 highlighting and support. Fix up comments for capitalization.
311 (cfengine-mode-debug): New var.
312 (cfengine3-mode): Change the modeline indicator to "CFE3".
313 (cfengine3-font-lock-keywords): Improve defun highlighting.
314 (cfengine2-actions): Rename from `cfengine-actions'.
315 (cfengine2-font-lock-keywords): Rename from
316 `cfengine-font-lock-keywords'.
317 (cfengine2-imenu-expression): Rename from
318 `cfengine-imenu-expression'.
319 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
320 (cfengine2-beginning-of-defun): Rename from
321 `cfengine-beginning-of-defun'.
322 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
323 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
324 (cfengine2-mode): Rename from `cfengine-mode'. Change the
325 modeline indicator to "CFE2".
326 (cfengine-mode): Defalias to `cfengine-auto-mode'.
327 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 328
bc86f573
CY
3292011-12-21 Chong Yidong <cyd@gnu.org>
330
331 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
332 filename argument.
333
d45ba96b
MR
3342011-12-20 Martin Rudalics <rudalics@gmx.at>
335
336 * window.el (window-normalize-buffer-to-display): Remove.
337 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
338
a6198c90
CY
3392011-12-19 Chong Yidong <cyd@gnu.org>
340
341 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
342 Don't signal an error in a predicate function; return non-nil.
343 (vc-dir-mark-file): Move the error here.
344 (vc-dir-mark-unmark): If acting on the region, keep going if one
345 of the entries cannot be marked/unmarked.
346 (vc-dir-mark-all-files): If current entry is a directory, mark
347 only child files, as documented.
348
34c5fb55
VB
3492011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
350
351 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
352 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
353 addition.
354
c803b2b7
JD
3552011-12-18 Jan Djärv <jan.h.d@swipnet.se>
356
357 * term/ns-win.el (ns-get-selection-internal)
358 (ns-store-selection-internal): Declare.
1154d12e
JB
359 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
360 Declare as obsolete.
361 (ns-get-pasteboard, ns-paste-secondary):
362 Use ns-get-selection-internal.
363 (ns-set-pasteboard, ns-copy-including-secondary):
364 Use ns-store-selection-internal.
c803b2b7 365
9cff91f8 3662011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
367
368 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 369 (vc-deduce-fileset): Doc fix.
99a289d9 370
f16c898a
AS
3712011-12-16 Andreas Schwab <schwab@linux-m68k.org>
372
373 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
374
763237c4
SS
3752011-12-13 Sam Steingold <sds@gnu.org>
376
377 * man.el (Man-getpage-in-background): When running under a
378 window-system, ignore $MANWIDTH and $COLUMNS.
379
5fc1c122
KH
3802011-12-15 Kenichi Handa <handa@m17n.org>
381
382 * language/ethio-util.el: Change coding tag to utf-8-emacs.
383 (setup-ethiopic-environment-internal): Comment out key-binding for
384 ethio-toggle-punctuation.
385
13d49cbb
AM
3862011-12-13 Alan Mackenzie <acm@muc.de>
387
898169a2
AM
388 Add the switch statement to AWK Mode.
389
390 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
391 "default" to the keywords regexp.
392
393 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
394 expression as the rest.
395 (c-nonlabel-token-key): Allow string literals for AWK. Refactor
396 for the other modes.
397
13d49cbb
AM
398 Large brace-block initialisation makes CC Mode slow: Fix.
399 Tidy up and accelerate c-in-literal, etc. by using the
400 c-parse-state
401 routines. Limit backward searching in c-font-lock-enclosing.decl.
402
403 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
404 pp-state and literal type in addition to the limits.
405 (c-state-safe-place): New defun, extracted from
406 c-state-literal-at.
407 (c-state-literal-at): Use the above new defun.
408 (c-slow-in-literal, c-fast-in-literal): Removed.
409 (c-in-literal, c-literal-limits): Amended to use
410 c-state-pp-to-literal.
411
412 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
413 being in a literal. Add a limit for backward searching.
414
415 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
416 c-slow-in-literal.
417
15e0efc7
SM
4182011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
421
454592a6
MR
4222011-12-13 Martin Rudalics <rudalics@gmx.at>
423
424 * window.el (delete-other-windows): Use correct frame in call to
425 window-with-parameter.
426
87393f26
DP
4272011-12-12 Daniel Pfeiffer <occitan@t-online.de>
428
429 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
430 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
431 (makefile-gmake-statements, makefile-makepp-statements):
432 Use it and add new makepp keywords.
433 (makefile-makepp-font-lock-keywords): Add new patterns.
434 (makefile-match-function-end): Match new [...] and [[...]].
435
11636b22
JB
4362011-12-11 Juanma Barranquero <lekktu@gmail.com>
437
438 * ses.el (ses-call-printer-return, ses-cell-property-get)
439 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
440 (ses-create-cell-variable, ses-reset-header-string)
441 (ses-cell-set-formula, ses-repair-cell-reference-all)
442 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
443 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
444 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
445 (ses-aset-with-undo, ses-load, ses-truncate-cell)
446 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
447 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
448 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
449 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
450 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
451 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
452 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
453 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
454
cf018193
VB
4552011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
456
457 * ses.el: The overall change is to add cell renaming, that is
458 setting fancy names for cell symbols other than name matching
459 "\\`[A-Z]+[0-9]+\\'" regexp .
460 (ses-create-cell-variable): New defun.
461 (ses-relocate-formula): Relocate formulas only for cells the
462 symbols of which are not renamed, i.e. symbols whose names do not
463 match regexp "\\`[A-Z]+[0-9]+\\'".
464 (ses-relocate-all): Relocate values only for cells the symbols of
465 which are not renamed.
466 (ses-load): Create cells variables as the (ses-cell ...) are read,
467 in order to check row col consistency with cell symbol name only
468 for cells that are not renamed.
469 (ses-replace-name-in-formula): New defun.
470 (ses-rename-cell): New defun.
471
ee957461
CY
4722011-12-11 Chong Yidong <cyd@gnu.org>
473
474 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
475 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
476
9a9e9ef0
MR
4772011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
478
479 * window.el (other-window): Fix docstring.
480
92a8eba5
EZ
4812011-12-10 Eli Zaretskii <eliz@gnu.org>
482
483 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
484 `from' or `to' address before taking its substring. Fixes
485 incorrect display in Rmail summary buffer whereby an RFC2047
486 encoded name is chopped in the middle of the encoded string, and
487 thus displayed encoded.
488
e152e577
JB
4892011-12-10 Juanma Barranquero <lekktu@gmail.com>
490
491 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
492
e5d84bfe
EZ
4932011-12-10 Eli Zaretskii <eliz@gnu.org>
494
495 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
496 to use texinfo-update-node and commands that call it if the
497 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 498 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
499 (texinfo-all-menus-update, texinfo-master-menu)
500 (texinfo-update-node, texinfo-every-node-update)
501 (texinfo-multiple-files-update): Doc fix. Warn against updating
502 all the @node lines.
503 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
504 argument is numeric. Explain better in the doc string what the
505 function really does.
506 (texinfo-insert-master-menu-list): Improve the error message
507 displayed if there's no menu in the Top node.
508 (Bug#2975) See also this thread:
e5d84bfe
EZ
509 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
510
1d84e9bb
MG
5112011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
512
513 * speedbar.el (speedbar-supported-extension-expressions):
514 Add .adb and .ads, commonly used for Ada source code (bug#10256).
515
382c953b
JB
5162011-12-09 Juanma Barranquero <lekktu@gmail.com>
517
518 * printing.el (pr-mode-alist):
519 * simple.el (filter-buffer-substring-functions)
520 (completion-list-insert-choice-function):
521 * window.el (window-with-parameter, window-atom-root)
522 (window-sides-slots, window-size-fixed, window-min-delta)
523 (window-max-delta, window--resize-mini-window)
524 (window--resize-child-windows-normal, window-tree)
525 (delete-other-windows, quit-window, split-window)
526 (display-buffer-record-window, special-display-buffer-names)
527 (special-display-regexps, special-display-popup-frame)
528 (same-window-p, split-window-sensibly)
529 (display-buffer-overriding-action, display-buffer-alist)
530 (display-buffer-base-action, display-buffer, switch-to-buffer)
531 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
532 (fit-window-to-buffer, recenter-positions)
533 (mouse-autoselect-window-state, mouse-autoselect-window-select):
534 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
535 and remove unneeded backslashes in docstrings.
536
39c9faef
SM
5372011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
538
98449af8
SM
539 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
540
39c9faef
SM
541 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
542 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
543 end in ".mk".
544 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
545 when reading the makefile (bug#10116).
546
86ed9fdc
SM
5472011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
550 (bug#10116).
551
5580f89d
GM
5522011-12-06 Glenn Morris <rgm@gnu.org>
553
554 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
555
28d3917c
CY
5562011-12-06 Chong Yidong <cyd@gnu.org>
557
558 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
559
a98edce9
JB
5602011-12-06 Juanma Barranquero <lekktu@gmail.com>
561
562 * textmodes/table.el (table-shorten-cell): Fix typo.
563
e65adfac
CG
5642011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
565
566 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
567
71cc0b74
EZ
5682011-12-05 Eli Zaretskii <eliz@gnu.org>
569
570 * descr-text.el (describe-char): Fix display of strong
571 right-to-left characters and directional embeddings and overrides.
572
573 * simple.el (what-cursor-position): Fix display of codepoints of
574 strong right-to-left characters.
575
315bc30d
CY
5762011-12-05 Chong Yidong <cyd@gnu.org>
577
578 * faces.el (read-color): Doc fix.
579
58a70b94
GM
5802011-12-05 Glenn Morris <rgm@gnu.org>
581
582 * align.el (align--set-marker): Add doc-string.
583 Don't try to move something that is not a marker. (Bug#10216)
584
5158face
GM
5852011-12-04 Glenn Morris <rgm@gnu.org>
586
587 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
588 overly zealous deletion of trailing whitespace.
589
520fca41
JB
5902011-12-04 Juanma Barranquero <lekktu@gmail.com>
591
592 * server.el (server-delete-client): On Windows, do not try to delete
593 the only terminal.
594 (server-process-filter): On Windows, treat requests for a tty frame as
595 if they were for a GUI frame if the running server is in GUI mode.
596
5e605a2e
GM
5972011-12-03 Glenn Morris <rgm@gnu.org>
598
599 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
600
5c3fe83f
SM
6012011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
602
6f5e57e7
SM
603 * electric.el: Streamline electric-indent's hook.
604 (electric-indent-chars): Revert to simple list.
605 (electric-indent-functions): New var.
606 (electric-indent-post-self-insert-function): Use it.
607
5c3fe83f
SM
608 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
609 there's no inferior buffer (bug#10196).
610 (prolog-consult-compile): Don't use toggle-read-only.
611
6bdac736
MA
6122011-12-02 Michael Albinus <michael.albinus@gmx.de>
613
614 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
615 interrupt. (Bug#10187)
616
6131ba7f
SM
6172011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
618
99c79fee
SM
619 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
620 (bug#9160).
621
6131ba7f
SM
622 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
623 (bug#10191).
624
cb0a02ea
JL
6252011-12-02 Juri Linkov <juri@jurta.org>
626
627 * info.el (Info-search): Display "end of manual" when Isearch
628 reaches the end of single-file Info manual. (Bug#9918)
629
66e0570c
EZ
6302011-12-02 Eli Zaretskii <eliz@gnu.org>
631
632 * isearch.el (isearch-message-prefix): Run the input method part
633 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
634
02b16839
JL
6352011-12-02 Juri Linkov <juri@jurta.org>
636
637 * isearch.el (isearch-occur): Use `word-search-regexp' for
638 `isearch-word'.
639 (isearch-search-and-update): Add condition for `isearch-word' and
640 call `word-search-regexp'. (Bug#10145)
641
0b950688
GM
6422011-12-01 Glenn Morris <rgm@gnu.org>
643
644 * eshell/em-hist.el (eshell-hist-initialize):
645 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 646 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 647
9505c3c7
SM
6482011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
649
650 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
651
1bbe96b2 6522011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 653
a1beca85
SM
654 * progmodes/verilog-mode.el (verilog-pretty-expr):
655 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
656 verilog, such as += *= and the like.
657 (verilog-assignment-operator-re): Regular expression to find the
658 assigment operator in a verilog assignment.
659 (verilog-assignment-operation-re): Regular expression to find an
660 assignment statement for pretty-expr.
661 (verilog-in-attribute-p): Query returns true if point is in an
662 attribute context; used to skip these for expression line up from
663 pretty-expr.
664 (verilog-in-parameter-p): Query returns true if point is in an
665 parameter definition context; used to skip these for expression
666 line up from pretty-expr.
667 (verilog-in-parenthesis-p): Query returns true if point is in a
668 parenthetical expression, specifically ( ) but not [ ] or { };
669 used by pretty-expr.
670 (verilog-just-one-space): If there is no space, don't add one.
671 (verilog-get-lineup-indent-2): Specifically skip just attribute
672 contexts for expression lineup, rather than skipping all
673 parenthetical expressions.
674 (verilog-calculate-indent): Fix comment, and fix indent.
675 (verilog-do-indent): Indent declarations in lists (suggested by
676 Joachim Lechner).
677 (verilog-mode-abbrev-table): Populate abbrev mode with the various
678 skeleton items.
679 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
680 by Alain Mellan).
681
1bbe96b2 6822011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
683
684 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
685 parameters with embedded comments. Reported by Ray Stevens.
686 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
687 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
688 Reported by Tim Holt.
689 (verilog-auto): Fix AUTOing a upper module then AUTOing module
690 instantiated by upper module causing wrong expansion until AUTOed a
691 second time. Reported by K C Buckenmaier.
692 (verilog-diff-auto): Fix showing .* as a difference when
693 `verilog-auto-star-save' off. Reported by Dan Dever.
694 (verilog-auto-reset, verilog-read-always-signals)
695 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
696 temporary signals in reset list if
697 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
698 style to each signal's assignment type, bug381.
699 Reported by Thomas Esposito.
6288f0ca
WS
700 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
701 (verilog-uvm-statement-re): Support UVM indentation and
702 highlighting, with old OVM keywords only.
a1beca85
SM
703 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
704 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
6288f0ca
WS
705 Greenlaw.
706 (verilog-auto-insert-lisp, verilog-delete-to-paren)
707 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
708 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
709 (verilog-read-sub-decls, verilog-read-sub-decls-line):
710 Fix mismatching parenthesis inside commented out code when deleting
382c953b 711 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
712 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
713 non-numeric vector width. Reported by Alex Reed.
714 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 715 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
716 (verilog-auto-delete-trailing-whitespace):
717 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
718 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
719 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
720 Fix verilog-scan-cache corruption when running user AUTO expansion
721 hooks that call indentation routines.
722 (verilog-simplify-range-expression): Fix typo ignoring lower case
723 identifiers.
724 (verilog-delete-auto): Fix delete-autos to also remove user created
725 automatics, as long as they start with AUTO.
726 (verilog-batch-diff-auto, verilog-diff-auto)
727 (verilog-diff-function): Add `verilog-diff-auto' and bind to
728 "C-c?" to report differences in AUTO expansion, ignoring spaces.
729 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
730 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
731 (verilog-re-search-forward-quick, verilog-syntax-ppss):
732 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
733 is disabled and its cache will get corrupt, causing AUTOS not to
734 expand. Instead use only -quick functions.
735 (verilog-scan-region): Fix scanning over escaped quotes.
736 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
737 (verilog-re-search-backward-quick)
738 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
739 related functions now ignore strings, to fix misparsing of strings
740 with magic comments embedded in them.
a1beca85
SM
741 (verilog-read-auto-template):
742 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
743 Reported by Brad Dobbie.
744 (verilog-read-auto-template):
745 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 746 Reported by Brad Dobbie.
6288f0ca
WS
747 (verilog-auto-inst, verilog-auto-inst-param)
748 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
749 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
750 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
751 debugging templates without merge conflicts, bug357.
752 Reported by Brad Dobbie.
753 (verilog-read-auto-template):
754 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
755 Reported by Brad Dobbie.
756 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
757 abbrevs so user won't be asked to save.
758 (verilog-read-auto-lisp-present): Fix to start at beginning of
759 buffer in case called outside of verilog-auto.
760 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
761 to "X-2". Reported by Matthew Myers.
762 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
763 all inputs from module templates. Reported by Leith Johnson.
764 (verilog-module-inside-filename-p): Fix locating programs as with
765 modules.
766 (verilog-auto-inst-port): Fix vl-width expressions when using
767 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
768 (verilog-decls-get-regs, verilog-decls-get-signals,
769 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
770 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
771 verilog-read-decls): Combine reg and wire structures into one var
772 structure to represent SystemVerilog concepts.
773 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
774 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
775 (verilog-auto-wire-type, verilog-insert-definition):
776 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
777 SystemVerilog "logic" keyword instead of "wire"/"reg".
778 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
779 to declares outputs that also have assignments (presumably in an
a1beca85
SM
780 ifdef or generate if so there's not a driver conflict).
781 Reported by Matthew Myers.
782 (verilog-auto-declare-nettype, verilog-insert-definition):
783 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
784 `default_nettype none. Reported by Julian Gorfajn.
785 (verilog-read-always-signals-recurse, verilog-read-decls)
786 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
787 malformed end statement, bug325. Reported by Joshua Wise and
788 Andrew Drake.
789 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
790 (verilog-inst-comment-re): Fix not deleting Interfaced comment
791 when expanding .* in interfaces, bug320. Reported by Pierre-David
792 Pfister.
793 (verilog-read-module-name): Fix import statements between module
794 name and open parenthesis, bug317. Reported by Pierre-David
795 Pfister.
796 (verilog-simplify-range-expression): Fix simplification of
797 multiplications inside AUTOWIRE connections, bug303.
798 (verilog-auto-inst-port): Support parameter expansion in
799 multidimensional arrays.
800 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
801 after "assert property". Reported by Julian Gorfajn.
802 (verilog-simplify-range-expression): Fix "couldn't merge" errors
803 with multiplication, bug303.
804 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
805 Reported by Jan Frode Lonnum.
806
1bbe96b2
GM
8072011-11-30 Juanma Barranquero <lekktu@gmail.com>
808
809 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
810 (hfy-shell-file-name, hfy-shell):
811 * international/fontset.el (x-decompose-font-name): Fix typos.
812
8132011-11-29 Ken Brown <kbrown@cornell.edu>
814
815 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
816 (gdb-version): Remove defvar.
817 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
818 (gdb-gud-context-command, gdb-non-stop-handler)
819 (gdb-current-context-command, gdb-stopped): Use it.
820 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
821 (gdb-non-stop-handler): Don't enable pretty-printing here.
822 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
823 non-stop mode. Use the following.
824 (gdb-check-target-async): New defun.
825 (gud-watch, gdb-stopped): Fix whitespace.
826 (gdb-get-source-file): Don't try to display the source file if
827 `gdb-main-file' is nil.
828
8292011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * align.el: Try to generate fewer markers (bug#10047).
832 (align--set-marker): New macro.
833 (align-region): Use it.
834
c935221f
SM
8352011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
838
e70b5064
CY
8392011-11-29 Chong Yidong <cyd@gnu.org>
840
841 * indent.el (indent-for-tab-command, indent-according-to-mode):
842 Doc fix.
843 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
844
f3af92b7
MA
8452011-11-29 Michael Albinus <michael.albinus@gmx.de>
846
847 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
848 aware of remote file names. (Bug#10124)
849
ed472be9
CY
8502011-11-29 Chong Yidong <cyd@gnu.org>
851
852 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
853
24510c22
SM
8542011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * files.el (find-file): Don't use force-same-window (bug#10144).
857 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
858 use pop-to-buffer if the selected window can't be used.
859 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
860
c60c3703
EZ
8612011-11-28 Eli Zaretskii <eliz@gnu.org>
862
863 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
864 special-mode-map.
865
e95def75
CY
8662011-11-28 Chong Yidong <cyd@gnu.org>
867
868 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
869
c3f1c606
NR
8702011-11-27 Nick Roberts <nickrob@snap.net.nz>
871
872 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
873 gdb-get-source-file-list on gdb-create-source-file-list.
874
00db469c
EZ
8752011-11-26 Eli Zaretskii <eliz@gnu.org>
876
877 * whitespace.el (whitespace-newline): Use a different foreground
878 color for 16-color light-background displays.
879
4ad3bc2a
CY
8802011-11-24 Chong Yidong <cyd@gnu.org>
881
882 * window.el (display-buffer--special-action): Doc fix.
883
e9fce1ac
JB
8842011-11-25 Juanma Barranquero <lekktu@gmail.com>
885
886 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
887 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
888 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
889 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
890 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
891 (avl-tree-stack-first):
892 * emacs-lisp/cconv.el (cconv--analyse-use):
893 * net/gnutls.el (gnutls-negotiate): Fix typos.
894
cb825e5d
GM
8952011-11-24 Glenn Morris <rgm@gnu.org>
896
3adbe224
GM
897 * lpr.el (lpr-windows-system, lpr-lp-system):
898 * mail/binhex.el (binhex-begin-line):
899 * progmodes/grep.el (grep-history, grep-find-history):
900 * textmodes/flyspell.el:
901 * vc/pcvs-defs.el (cvs-global-menu):
902 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
903 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
904 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
905
321decc8
GM
906 * net/tls.el: Fix case of "GnuTLS".
907
420b63ad
GM
908 * paths.el (rmail-file-name): Format doc-string for make-docfile.
909
cb825e5d
GM
910 * version.el (emacs-build-system): Give it a doc-string.
911
a0649f08
JL
9122011-11-24 Juri Linkov <juri@jurta.org>
913
914 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
915
c0bc0fd4
GM
9162011-11-24 Glenn Morris <rgm@gnu.org>
917
918 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
919 if called on a non-mime message just toggle the headers. (Bug#8006)
920
20db1522
JB
9212011-11-24 Juanma Barranquero <lekktu@gmail.com>
922
923 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
924 (allout-lead-with-comment-string, allout-structure-deleted-hook)
925 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
926 (allout-rebullet-heading, allout-open-sibtopic)
927 (allout-toggle-current-subtree-encryption)
928 (allout-toggle-subtree-encryption, allout-encrypt-string)
929 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
930 (allout-distinctive-bullets-string, allout-auto-activation):
931 * window.el (window-normalize-buffer-to-display):
932 * progmodes/verilog-mode.el (verilog-batch-indent):
933 * textmodes/bibtex.el (bibtex-field-braces-opt)
934 (bibtex-field-strings-opt):
935 * vc/cvs-status.el (cvs-tree-merge):
936 Fix typos.
937
7262a87c
MA
9382011-11-23 Michael Albinus <michael.albinus@gmx.de>
939
940 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
941 `non-essential' to t, in order to avoid remote connections.
942
283430a1
EZ
9432011-11-23 Eli Zaretskii <eliz@gnu.org>
944
a1beca85
SM
945 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
946 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
947 case-insensitively.
948
d2992a38
ML
9492011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
950
951 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
952
50419064
GM
9532011-11-23 Glenn Morris <rgm@gnu.org>
954
da94eca1
GM
955 * paths.el (rmail-file-name): Reformat the doc-string so that it
956 is picked up.
957
9aac4de2
GM
958 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
959 (rmail-auto-file): Ignore case in the "special" field names,
960 as mail-fetch-field does for all others.
961
8038d2d2
GM
962 * mail/rmail.el (rmail-forward):
963 * mail/rmailkwd.el (rmail-set-label):
964 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
965 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
966
f3fe222a
GM
967 * mail/rmail.el (rmail-current-message): Doc fix.
968
50419064
GM
969 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
970
28109f49
SM
9712011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
972
973 * server.el (server-eval-and-print): Allow C-g (bug#6585).
974
394c65f1
GM
9752011-11-22 Glenn Morris <rgm@gnu.org>
976
977 * mail/rmailmm.el (test-rmail-mime-handler)
978 (test-rmail-mime-bulk-handler)
979 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
980
f2a0aa3a
JL
9812011-11-21 Juri Linkov <juri@jurta.org>
982
1154d12e
JB
983 * calc/calc.el (calc-read-key-sequence):
984 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 985
9c34a344
LMI
9862011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
987
988 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
989 Tell the caller that the next line needs recomputation, even
990 though it doesn't start a sexp (bug#10094).
991
f04a3be9
SM
9922011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
995
7978747f
SM
9962011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
997
f04a3be9
SM
998 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
999 Use force-same-window.
7978747f 1000
fe7a3057
JB
10012011-11-20 Juanma Barranquero <lekktu@gmail.com>
1002
1003 * descr-text.el (describe-char-unicode-data):
1004 * json.el (json-string-escape):
1005 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1006 (Footnote-unicode, Footnote-style-p):
1007 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1008
24901d61
CY
10092011-11-20 Chong Yidong <cyd@gnu.org>
1010
1011 * window.el (replace-buffer-in-windows): Restore interactive spec.
1012
bac7ff22
SM
10132011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1014
24f3d7b9
SM
1015 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1016
bac7ff22
SM
1017 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1018 (byte-compile-global-not-obsolete-vars): New var.
1019 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1020 Use it.
1021 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1022
cd1181db
JB
10232011-11-20 Juanma Barranquero <lekktu@gmail.com>
1024
1025 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1026 * progmodes/pascal.el (electric-pascal-equal):
1027 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1028 * xml.el (xml-substitute-special): Fix typos.
1029
7fb18e9e
GM
10302011-11-20 Glenn Morris <rgm@gnu.org>
1031
1032 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1033 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1034 Doc fixes.
1035 (rmail-decode-mime-charset): Mark as obsolete.
1036
1037 * mail/rmailsum.el (rmail-message-regexp-p-1):
1038 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1039 Before using mime functions, check they are set. (Bug#10077)
1040
d5a6b3ba
JL
10412011-11-19 Juri Linkov <juri@jurta.org>
1042
1043 * info.el (Info-finder-find-node): Use `package--builtins' instead
1044 of `package-alist'. Use node names formed by the pattern "Keyword "
1045 and the keyword name.
1046
e981b61f
AS
10472011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1048
1049 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
1050 bash.
1051
3ffbc301
JL
10522011-11-19 Juri Linkov <juri@jurta.org>
1053
1054 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1055 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1056 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1057 `old-history', `old-history-forward'. Add let-binding
1058 `window-selected'. Remove calls to `kill-buffer',
1059 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1060 before calling `Info-find-node', so `Info-find-node-2' will reread
1061 the Info file. Restore window positions only when `window-selected'
1062 is non-nil.
1063
30c62133
JL
10642011-11-19 Juri Linkov <juri@jurta.org>
1065
1066 * isearch.el (isearch-lazy-highlight-new-loop):
1067 Remove condition `(not isearch-error)'. (Bug#9918)
1068
1069 * misearch.el (multi-isearch-search-fun): Add condition
1070 `(not bound)' to ignore lazy-highlighting search.
1071 Add the search-failed message "end of multi" when the end of
1072 multi-sequence is reached. Uncapitalize the search-failed
1073 message "Repeat for next buffer".
1074
1075 * info.el (Info-search): Add the search-failed message
1076 "end of the manual" when the end of the manual is reached
1077 in Isearch mode.
1078
645ca9cf
JL
10792011-11-19 Juri Linkov <juri@jurta.org>
1080
1081 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1082 Use non-destructive `remove' instead of `delete' because
1083 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1084 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1085
df754f66
JL
10862011-11-19 Juri Linkov <juri@jurta.org>
1087
1088 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1089 to nil instead of binding `search-ring' and `regexp-search-ring'.
1090 (Bug#9185)
1091
0e23d96a
EZ
10922011-11-19 Eli Zaretskii <eliz@gnu.org>
1093
1094 * simple.el (line-move): Force movement by logical lines for any
1095 hscrolled window, not only when auto-hscroll-mode is on.
1096 (line-move-visual): Update doc string to that effect. (Bug#10076)
1097
8a6ccb66
AS
10982011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1099
1100 * language/european.el (macintosh): Define as alias for mac-roman.
1101
49ae5b39
EZ
11022011-11-19 Eli Zaretskii <eliz@gnu.org>
1103
1104 * mail/rmailmm.el (rmail-mime-display-header)
1105 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1106 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1107 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1108 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1109 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1110 of a raw aref.
1111 (rmail-mime-entity-segment): To get past the tagline, move forward
1112 2 more lines, to account for the 2 empty lines that precede and
1113 follow the line with the buttons.
1114 (rmail-mime-update-tagline): Move one more line, to get past the
1115 empty line that follows the buttons in the tagline. (Bug#9520)
1116
c56cad4a
MR
11172011-11-19 Martin Rudalics <rudalics@gmx.at>
1118
1119 * window.el (window-max-delta-1, window-min-delta-1)
1120 (window-min-size-1, window-state-get-1, window-state-put-1)
1121 (window-state-put-2): Use "window--" prefix.
1122
cbe71af3
SM
11232011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1124
2ad52c60
SM
1125 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1126 (smie-warning-count): New var.
1127 (smie-set-prec2tab): Use it.
1128 (smie-bnf->prec2): Improve warnings. Add docstring.
1129 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1130 (smie-bnf--set-class): New function.
1131 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1132 corner case.
1133
6944dbc1
SM
1134 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1135 (compilation-error-properties, compilation-move-to-column):
1136 Handle compilation-first-column while in the target buffer.
1137
c400c4d7
SM
1138 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1139 Don't hardcode point-min==1.
1140
6dbe3e96
SM
1141 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1142 (eshell-rewrite-for-command): Remove workaround.
1143 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1144 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1145 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1146
cbe71af3
SM
1147 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1148
a8e1496d
GM
11492011-11-17 Glenn Morris <rgm@gnu.org>
1150
1151 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1152 Ignore buffer-local generated-autoload-file if it is the same
1153 as the global value. (Bug#10049)
1154
df85d315
JB
11552011-11-17 Juanma Barranquero <lekktu@gmail.com>
1156
1157 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1158 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1159 (reftex-toc-previous-heading, reftex-toc-max-level)
1160 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1161 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1162 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1163 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1164 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1165 (reftex-toc-rename-label, reftex-toc-visit-location)
1166 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1167 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1168 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1169 leaving "*toc*" only for references to the buffer.
1170
a0c2d0ae
MR
11712011-11-17 Martin Rudalics <rudalics@gmx.at>
1172
1173 * window.el (window-resize, delete-window, split-window):
1174 Replace window-splits by window-combination-resize.
1175 * cus-start.el (window-splits): Replace by
1176 window-combination-resize.
1177
35c0bac8
GM
11782011-11-17 Glenn Morris <rgm@gnu.org>
1179
1180 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1181 Make bash entry derive from sh entry, not shell entry.
1182
d0c8fc8a
MA
11832011-11-16 Michael Albinus <michael.albinus@gmx.de>
1184
d0c8fc8a
MA
1185 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1186 properties of linked files. (Bug#9879)
1187
7262a87c
MA
1188 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1189 local file name.
1190
7877f373
JB
11912011-11-16 Juanma Barranquero <lekktu@gmail.com>
1192
1193 * menu-bar.el (menu-bar-file-menu):
1194 * printing.el (pr-ps-utility):
1195 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1196 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1197 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1198 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1199 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1200 (icalendar--convert-cyclic-to-ical)
1201 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1202 (icalendar--convert-ical-to-diary)
1203 (icalendar--convert-recurring-to-diary)
1204 (icalendar--convert-non-recurring-all-day-to-diary)
1205 (icalendar-import-format-sample):
1206 * progmodes/idlw-shell.el (idlwave-shell-mode):
1207 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1208 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1209 (vhdl-ps-print-init): Fix typos.
1210
10649b82
KM
12112011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1212
9d0cfcd6
GM
1213 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1214 FSF and collapse date sequence, obscure author/maintainer email address
1215 better, remove extra version line, track relocation of author's webpage.
10649b82 1216
9d0cfcd6
GM
1217 * progmodes/python.el (python-pdbtrack-input-prompt)
1218 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1219 regular python pdb prompts. Adjustments shamelessly taken exactly as
1220 suggested in EmacsWiki page (tiny change):
1221 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1222
58179cce
JB
12232011-11-16 Juanma Barranquero <lekktu@gmail.com>
1224
1225 * expand.el (expand-pos, expand-index, expand-point):
1226 Remove redundant info from docstring.
1227 (expand-add-abbrevs): Doc fix.
1228 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1229 (expand-sample-perl-mode-expand-list): Fix typos.
1230
1231 * net/dbus.el (dbus-event-member-name):
1232 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1233 * term/pc-win.el (msdos-create-frame-with-faces):
1234 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1235
b6f67890
MR
12362011-11-16 Martin Rudalics <rudalics@gmx.at>
1237
1238 * window.el (split-window, window-state-get-1)
1239 (window-state-put-1, window-state-put-2): Rename occurrences of
1240 window-nest to window-combination-limit.
1241 * cus-start.el (window-nest): Rename to
1242 window-combination-limit.
1243
ce7ddba0
CY
12442011-11-16 Chong Yidong <cyd@gnu.org>
1245
1246 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1247 regexp (Bug#10033).
1248
3ae704f4
SM
12492011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1252 `completing-read' will remove *Completions* and will preserve
1253 current-buffer for us.
1254 (tmm-add-prompt): Users of *Completions* will always (re)set its
1255 major mode.
1256 (tmm-old-comp-map): Remove.
1257
6ad1cdde
GM
12582011-11-16 Glenn Morris <rgm@gnu.org>
1259
1260 * mail/rmailedit.el: Require rmailmm when compiling.
1261 (rmail-old-mime-state): New declaration.
1262 (rmail-edit-current-message): If editing a mime message,
1263 edit the "raw" message from the mbox buffer.
1264 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1265
d20faa20
GM
12662011-11-15 Glenn Morris <rgm@gnu.org>
1267
1268 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1269 which wasn't being used. Add optional arg to force given state.
1270 (rmail-mime): Add optional arg to force given state.
1271
c7015153
JB
12722011-11-15 Juanma Barranquero <lekktu@gmail.com>
1273
1274 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1275 * frame.el (display-mm-dimensions-alist):
1276 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1277 (outline-move-subtree-down):
1278 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1279 (newsticker--treeview-do-get-node):
1280 * net/quickurl.el (quickurl-list-buffer-name):
1281 * progmodes/dcl-mode.el (dcl-mode):
1282 * progmodes/gdb-mi.el (gdb-mapcar*):
1283 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1284
45261b50
GM
12852011-11-15 Glenn Morris <rgm@gnu.org>
1286
1287 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1288 in a boolean sense, so just make it a boolean, and fix the doc.
1289 (rmail-show-mime-function, rmail-mime-feature)
1290 (rmail-require-mime-maybe): Doc fixes.
1291 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1292
1293 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1294
0d26e0b6
JB
12952011-11-15 Juanma Barranquero <lekktu@gmail.com>
1296
1297 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1298 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1299 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1300 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1301
447f30f6
GM
13022011-11-15 Glenn Morris <rgm@gnu.org>
1303
672b871d
GM
1304 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1305 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1306 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1307 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1308 (rmail-mime, rmail-show-mime): Doc fixes.
1309
f6aa5bb1
GM
1310 * term/ns-win.el (mode-line-frame-identification):
1311 Leave it alone. (Bug#10051)
1312
947cd66b
GM
1313 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1314
447f30f6
GM
1315 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1316 Handle empty buffers. (Bug#9978)
1317
0b381c7e
JB
13182011-11-14 Juanma Barranquero <lekktu@gmail.com>
1319
1320 * international/mule.el (define-charset):
1321 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1322 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1323 * progmodes/verilog-mode.el (verilog-backward-token):
1324 * textmodes/ispell.el (lookup-words):
1325 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1326
71e027ac
GM
13272011-11-14 Glenn Morris <rgm@gnu.org>
1328
56632ce4
GM
1329 * progmodes/executable.el
1330 (executable-make-buffer-file-executable-if-script-p):
1331 Handle file-modes returning nil.
1332
40500957
GM
1333 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1334 message - not necessary, and causes problems. (Bug#9831)
1335
071c2340
GM
1336 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1337
d3cfca60
GM
1338 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1339
71e027ac
GM
1340 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1341 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1342 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1343
89d61221
MR
13442011-11-12 Martin Rudalics <rudalics@gmx.at>
1345
1346 * window.el (window-resize, delete-window): Use window-splits
1347 variable instead of function.
1348 (window-state-get-1, window-state-put-2, window-state-put):
1349 Don't deal with windows' splits status.
1350
98282f6f
GM
13512011-11-12 Glenn Morris <rgm@gnu.org>
1352
1353 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1354 (apropos-documentation): Doc fixes.
1355
40a8bdf6
JB
13562011-11-11 Juanma Barranquero <lekktu@gmail.com>
1357
1358 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1359 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1360
65bd19ff
SM
13612011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * electric.el (electric-indent-post-self-insert-function): Make it
1364 possible for a char to only indent in some circumstances.
1365 (electric-indent-mode): Simplify.
1366
54f9154c
MR
13672011-11-11 Martin Rudalics <rudalics@gmx.at>
1368
1369 * window.el (windows-with-parameter): Remove unused function.
1370 (windows-at-side): Rename to window-at-side-list.
1371 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1372 (window-side-check, window-size-ignore, window-size-fixed-1)
1373 (window-in-direction-2): Prefix with "window--".
1374 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1375
68cbc58b
GM
13762011-11-11 Glenn Morris <rgm@gnu.org>
1377
1378 * subr.el (eval-after-load): If FILE is already loaded,
1379 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1380
b2621720
GM
13812011-11-10 Glenn Morris <rgm@gnu.org>
1382
9a4de110
GM
1383 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1384 Call svn via vc-svn-command rather than vc-do-command.
1385 (vc-svn-command): Add --non-interactive. (Bug#9993)
1386 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1387
b2621720
GM
1388 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1389 Add toggle-read-only. (Bug#7292)
1390 * files.el (toggle-read-only): Mention that it should only
1391 be used interactively. (Bug#10006)
1392
1dce7193
SM
13932011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1394
d9ac1a1e
SM
1395 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1396 Adjust regexp for OCaml warnings.
1397
0c325082
SM
1398 * electric.el (electric-pair-post-self-insert-function): Let user
1399 turn it off buffer-locally (bug#9932).
1400
90132c14
SM
1401 * progmodes/python.el (python-beginning-of-statement):
1402 Rewrite (bug#2703).
1403
1dce7193
SM
1404 * progmodes/compile.el: Better handle TABs (bug#9749).
1405 (compilation-internal-error-properties)
1406 (compilation-next-error-function): Obey the target buffer's
1407 compilation-error-screen-columns.
1408
c4e7c63a
JB
14092011-11-09 Juanma Barranquero <lekktu@gmail.com>
1410
1411 * progmodes/meta-mode.el: Remove obsolete comments.
1412 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1413 Fix typos in docstrings.
1414
2cffd681
MR
14152011-11-09 Martin Rudalics <rudalics@gmx.at>
1416
1417 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1418 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1419 (window--resizable): New function. Make all callers of
1420 window-resizable call window--resizable instead.
1421 (window-resizable): Rewrite in terms of window--resizable.
1422
0edcba87
GM
14232011-11-08 Glenn Morris <rgm@gnu.org>
1424
1425 * progmodes/delphi.el (delphi-mode-syntax-table):
1426 Let define-derived-mode define a proper syntax table. (Bug#9994)
1427
4b0d61e3
SM
14282011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * window.el: Stay away from defsubst.
1431 (window-list-no-nils): Remove.
1432 (window-state-get-1, window-state-get): Use backquote instead.
1433
cd394be1 14342011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1435
4b0d61e3 1436 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1437 Fix incorrect use of default argument in `completing-read'.
1438
e1c2c6f2
MR
14392011-11-08 Martin Rudalics <rudalics@gmx.at>
1440
1441 * window.el (display-buffer-function, special-display-function):
1442 Mention display-buffer-record-window but do not mention
1443 help-setup parameter in doc-strings.
b3f4a882 1444 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1445
105216ed
CY
14462011-11-08 Chong Yidong <cyd@gnu.org>
1447
1448 * window.el (window-total-height, window-total-width): Doc fix.
1449 (window-body-size): Move from C.
1450 (window-body-height, window-body-width): Move to C.
1451
0a9f9ab5
SM
14522011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * window.el: Make special-display like display-buffer-alist (bug#9532).
1455 (display-buffer--special-action): New function, morphed
1456 from display-buffer--special.
1457 (display-buffer): Use it to handle special-display-buffers at higher
1458 priority (just after display-buffer-alist).
1459 (display-buffer-fallback-action, display-buffer--other-frame-action)
1460 (pop-to-buffer-same-window): Remove display-buffer--special.
1461
a769dd15
GM
14622011-11-07 Glenn Morris <rgm@gnu.org>
1463
1464 * calendar/cal-menu.el (cal-menu-set-date-title):
1465 Do nothing if not in a calendar. (Bug#9976)
1466
05a61ee3
SM
14672011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * files.el (find-file): Always use selected-window.
1470
be7f5545
MR
14712011-11-07 Martin Rudalics <rudalics@gmx.at>
1472
1473 * window.el (window-combinations): Make WINDOW argument
1474 mandatory. Rewrite doc-string.
1475 (walk-window-subtree, window-atom-check, window-min-delta)
1476 (window-max-delta, window--resize-this-window)
1477 (window--resize-root-window-vertically, window-tree)
1478 (balance-windows, window-state-put): Rewrite doc-strings as to
1479 not mention the term "subwindow".
1480 (window--resize-subwindows-skip-p): Rename to
1481 window--resize-child-windows-skip-p.
1482 (window--resize-subwindows-normal): Rename to
1483 window--resize-child-windows-normal.
1484 (window--resize-subwindows): Rename to
1485 window--resize-child-windows.
1486 (window-or-subwindow-p): Rename to window--in-subtree-p.
1487
3c6702ef
ML
14882011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1489
1490 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1491 Ensure that mbox format messages end in two newlines (Bug#9974).
1492
49745b39
CY
14932011-11-06 Chong Yidong <cyd@gnu.org>
1494
1495 * window.el (window-combination-p): Function deleted; its
1496 side-effect is not used in any existing code.
1497 (window-combinations, window-combined-p): Call window-*-child
1498 directly.
1499
24300f5f
CY
15002011-11-05 Chong Yidong <cyd@gnu.org>
1501
1502 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1503 (window-size-ignore, window-state-get): Callers changed.
1504 (window-normalize-window): Rename from window-normalize-any-window.
1505 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1506 (window-normalize-live-window): Delete.
447f16b8
CY
1507 (window-combination-p, window-combined-p, window-combinations)
1508 (walk-window-subtree, window-atom-root, window-min-size)
1509 (window-sizable, window-sizable-p, window-size-fixed-p)
1510 (window-min-delta, window-max-delta, window-resizable)
1511 (window-resizable-p, window-full-height-p, window-full-width-p)
1512 (window-current-scroll-bars, window-point-1, set-window-point-1)
1513 (window-at-side-p, window-in-direction, window-resize)
1514 (adjust-window-trailing-edge, maximize-window, minimize-window)
1515 (window-deletable-p, delete-window, delete-other-windows)
1516 (record-window-buffer, unrecord-window-buffer)
1517 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1518 (quit-window, split-window, window-state-put)
1519 (set-window-text-height, fit-window-to-buffer)
1520 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1521
89bd5ee1
EZ
15222011-11-04 Eli Zaretskii <eliz@gnu.org>
1523
53479029
EZ
1524 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1525 rfc2047-decode-string.
1526 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1527 warnings.
1528
89bd5ee1
EZ
1529 * window.el (window-body-height, window-body-width): Mention in
1530 the doc string that the return values are in frame's canonical
1531 units. (Bug#9949)
1532
bd17fdee
AM
15332011-11-03 Alan Mackenzie <acm@muc.de>
1534
1535 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1536 change in cc-engine.el.
1537
acc825c5
SM
15382011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1541
1885e5b8
MR
15422011-11-02 Martin Rudalics <rudalics@gmx.at>
1543
1544 * window.el (quit-window): Call unrecord-window-buffer after
1545 showing another buffer in the window. (Bug#9937)
acc825c5 1546 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1547
ebe06da9
JB
15482011-11-02 Juanma Barranquero <lekktu@gmail.com>
1549
1550 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1551 Accept status with more than 9 shelves. (Bug#9935)
1552 Reported by Colin D Bennett <colin@gibibit.com>.
1553
4ee88440
MR
15542011-11-01 Martin Rudalics <rudalics@gmx.at>
1555
1556 * help.el (with-help-window): Don't reference
1557 temp-buffer-show-specifiers in doc-string.
1558
08e1d82c
AS
15592011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1560
1561 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1562 menu-item.
1563
84bd6e9e
VJL
15642011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1565
1566 * whitespace.el: New version 13.2.2.
1567 (whitespace-newline-mode): Disable properly. Reported by Sarah
1568 <EmacsWiki>.
1569
dba0634a
UJ
15702011-10-30 Ulf Jasper <ulf.jasper@web.de>
1571
1572 * net/newst-treeview.el: Remove "Time-stamp".
1573 (newsticker--group-manage-orphan-feeds): Do not call
1574 newsticker--treeview-tree-update.
db22a3c2
JB
1575 (newsticker-treeview-update, newsticker-treeview):
1576 Call newsticker--treeview-tree-update if necessary.
dba0634a 1577
3d8daefe
MR
15782011-10-30 Martin Rudalics <rudalics@gmx.at>
1579
1580 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1581 (window-iso-combinations): Remove "iso-" infix.
1582 Suggested by Chong Yidong.
3d8daefe
MR
1583 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1584 (window-max-delta-1, window-resize, window--resize-siblings)
1585 (window--resize-this-window, adjust-window-trailing-edge)
1586 (split-window, balance-windows-1)
1587 (shrink-window-if-larger-than-buffer):
1588 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1589 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1590
1bc4c3ae
SM
15912011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1594 in place (bug#9907).
1595 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1596 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1597 (eshell-structure-basic-command, eshell-rewrite-while-command)
1598 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1599 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1600 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1601 (eshell-do-pipelines-synchronously, eshell-eval-command):
1602 Use backquotes and prefer setq to set.
1603 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1604 (eshell-macrop): Use functionp.
c1e2f5fa 1605 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1606
30b65d9c
CY
16072011-10-30 Chong Yidong <cyd@gnu.org>
1608
1609 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1610 instead of set-mark (Bug#9810).
1611
2d197ffb
CY
16122011-10-30 Chong Yidong <cyd@gnu.org>
1613
1614 * window.el (split-window-below, split-window-right): Rename from
1615 split-window-above-each-other and split-window-side-by-side
1616 respectively. All callers changed.
1617 (split-window-sensibly, split-window-sensibly): Use them.
1618 (split-window-keep-point): Doc fix.
1619
1620 * isearch.el: Add isearch-scroll property to split-window-below
1621 and split-window-right.
1622
1623 * follow.el (follow-mode):
1624 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1625 * progmodes/ada-xref.el (ada-gdb-application):
1626 * emulation/vip.el (vip-buffer-in-two-windows):
1627 * image-dired.el (image-dired-dired-with-window-configuration):
1628 * dired-x.el (dired-do-find-marked-files):
1629 * dired.el (dired-pop-to-buffer):
1630 * bs.el (bs--show-with-configuration):
1631 * vc/emerge.el (emerge-setup-windows):
1632 * textmodes/two-column.el (2C-two-columns):
1633 * textmodes/reftex-toc.el (reftex-toc):
1634 * progmodes/gdb-mi.el (gdb-setup-windows):
1635 * progmodes/fortran.el (fortran-window-create):
1636 * net/newst-treeview.el (newsticker--treeview-window-init):
1637 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1638 * emulation/tpu-edt.el (tpu-gold-map):
1639 * emulation/crisp.el (crisp-mode-map):
1640 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1641
38bb2ca8
CY
16422011-10-29 Chong Yidong <cyd@gnu.org>
1643
aa4de341
CY
1644 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1645
e1eb5385
CY
1646 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1647
5d2ece3c
CY
1648 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1649 forged Ispell output (Bug#7904).
1650
38bb2ca8
CY
1651 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1652
d0af9f77
SM
16532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * doc-view.el: Avoid ugly errors about not finding nil.
1656 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1657 (doc-view-dvipdf-program, doc-view-unoconv-program)
1658 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1659 Avoid nil or absolute file name as default value.
1660 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1661
52bedd34
AM
16622011-10-28 Alan Mackenzie <acm@muc.de>
1663
db22a3c2 1664 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1665
7e43cfa5
AM
16662011-10-28 Alan Mackenzie <acm@muc.de>
1667
1668 Amend the handling of c-beginning/end-of-defun in nested declaration
1669 scopes.
1670
52bedd34
AM
1671 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1672 cc-langs.el. Change it to a defcustom.
7e43cfa5 1673
52bedd34
AM
1674 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1675 cc-vars.el.
7e43cfa5 1676
d0af9f77
SM
1677 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1678 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1679
52bedd34 1680 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1681 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1682 (c-widen-to-enclosing-decl-scope): New function.
1683 (c-while-widening-to-decl-block): New macro.
1684 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1685 outward for defun boundaries, and correspondingly change symbol
1686 `respect-enclosure' to `go-outward'.
1687 (c-declaration-limits): Change algorithm to report only the "innermost"
1688 defun's boundaries.
1689
1a2ce9ee
DD
16902011-10-28 Deniz Dogan <deniz@dogan.se>
1691
1692 * net/rcirc.el (rcirc-mode): Use hard newlines.
1693
bc97a826
AM
16942011-10-28 Alan Mackenzie <acm@muc.de>
1695
1696 Amend to indent and fontify macros "which include their own semicolon"
1697 correctly, using the "virtual semicolon" mechanism.
1698
52bedd34 1699 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1700
d0af9f77 1701 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1702 Recode to scan one line at a time rather than having \n and \r
58179cce 1703 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1704 (c-forward-label): Amend for virtual semicolons.
58179cce 1705 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1706
52bedd34
AM
1707 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1708 of the new C macros.
bc97a826 1709
52bedd34 1710 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1711 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1712 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1713 (c-opt-cpp-macro-define): Make into a full language variable.
1714 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1715 AWK Mode (including \n, \r) removed, no longer needed.
1716
d0af9f77
SM
1717 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1718 Invoke c-make-macro-with-semi-re.
bc97a826 1719
52bedd34
AM
1720 * progmodes/cc-vars.el (c-macro-with-semi-re):
1721 (c-macro-names-with-semicolon): New variables.
58179cce 1722 (c-make-macro-with-semi-re): New function.
bc97a826 1723
7a6c0941
SM
17242011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * vc/log-edit.el: Fill empty field rather than adding new one.
1727 (log-edit-add-field): New function.
1728 (log-edit-insert-changelog): Use it.
1729
b0c4cdcf
ML
17302011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1731
1732 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1733
ee1f1da9
SM
17342011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1737 (gdb--check-interpreter): New function.
1738 (gdb): Use it.
1739
51bc5f8b
GM
17402011-10-27 Glenn Morris <rgm@gnu.org>
1741
416a2c45
GM
1742 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1743 (least-positive-float, least-negative-float)
1744 (least-positive-normalized-float, least-negative-normalized-float)
1745 (float-epsilon, float-negative-epsilon):
1746 Remove unnecessary declarations.
1747
1748 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1749 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1750 (least-positive-float, least-negative-float)
1751 (least-positive-normalized-float, least-negative-normalized-float)
1752 (float-epsilon, float-negative-epsilon): Add doc-strings,
1753 based on those in cl.texi.
1754
51bc5f8b
GM
1755 * files.el (set-visited-file-name): If the major-mode changed,
1756 reload the local variables. (Bug#9796)
1757
15de15c6
CY
17582011-10-27 Chong Yidong <cyd@gnu.org>
1759
1760 * subr.el (change-major-mode-after-body-hook): New hook.
1761 (run-mode-hooks): Run it.
1762
ee1f1da9
SM
1763 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1764 Use change-major-mode-before-body-hook.
15de15c6
CY
1765
1766 * simple.el (fundamental-mode):
1767 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1768 change introducing fundamental-mode-hook.
1769
5430d399
JB
17702011-10-26 Juanma Barranquero <lekktu@gmail.com>
1771
acc825c5 1772 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1773
ad74a69e
MA
17742011-10-26 Michael Albinus <michael.albinus@gmx.de>
1775
1776 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1777 tramp.el explicitly. (Bug#7583)
ad74a69e 1778
71d4c2a5
SM
17792011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * progmodes/octave-mod.el:
1782 * progmodes/octave-inf.el: Update maintainer.
1783
b1f6fa26
CY
17842011-10-26 Chong Yidong <cyd@gnu.org>
1785
1786 * subr.el (with-wrapper-hook): Rewrite doc.
1787
3f04efd6
MA
17882011-10-25 Michael Albinus <michael.albinus@gmx.de>
1789
1790 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1791 filenames "/method:foo:". (Bug#9793)
3f04efd6 1792
410488d3
SM
17932011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1796 (bug#9865).
1797
c1ebb47e
GM
17982011-10-24 Glenn Morris <rgm@gnu.org>
1799
1800 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1801
7f5c46c7
MA
18022011-10-24 Michael Albinus <michael.albinus@gmx.de>
1803
1804 * notifications.el: Add the requirement of a running D-Bus session
1805 bus to the Commentary.
1806
db2440b6
JL
18072011-10-24 Juri Linkov <juri@jurta.org>
1808
1809 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1810 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1811 (Bug#9364)
1812
feecf435
JL
18132011-10-24 Juri Linkov <juri@jurta.org>
1814
1815 * info.el (Info-following-node-name-re): Add newline to the list
1816 of allowed characters for leading space. (Bug#9824)
1817
a3839de2
SM
18182011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1819
acc825c5
SM
1820 * progmodes/octave-inf.el (inferior-octave-mode-map):
1821 Fix C-c C-h binding.
a3839de2
SM
1822 * progmodes/octave-mod.el (octave-help): Remove.
1823
09388e76
MA
18242011-10-23 Michael Albinus <michael.albinus@gmx.de>
1825
1826 Sync with Tramp 2.2.3.
1827
1828 * net/tramp-cache.el (top): Pacify byte-compiler using
1829 `init-file-user' and `site-run-file'.
1830
1831 * net/trampver.el: Update release number.
1832
86c60681
CY
18332011-10-23 Chong Yidong <cyd@gnu.org>
1834
1835 * files.el (toggle-read-only): Remove obsolete comment about
1836 version control.
1837
1838 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1839 for toggle-read-only. Note that this hasn't called vc-next-action
1840 since 2008-05-02, though it wasn't documented at the time.
1841
a3839de2
SM
1842 * vc/ediff-init.el (ediff-toggle-read-only-function):
1843 Use toggle-read-only.
86c60681 1844
cd5495ff
AM
18452011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1846
1847 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1848 of c-parse-state.
1849
00b77525 1850 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 1851 correct faulty logical expression.
cd5495ff
AM
1852 (c-parse-state-state, c-record-parse-state-state):
1853 (c-replay-parse-state-state): New defvar/defuns.
1854 (c-debug-parse-state): Use new functions.
1855
42ee24ed
MR
18562011-10-22 Martin Rudalics <rudalics@gmx.at>
1857
1858 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 1859 last fix. Use window-in-direction correctly.
42ee24ed 1860
a7dee7e7
CY
18612011-10-21 Chong Yidong <cyd@gnu.org>
1862
1863 * progmodes/idlwave.el (idlwave-mode):
1864 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
1865 require-final-newline; that's done in prog-mode.
1866 Suggested by Stefan Monnier.
a7dee7e7 1867
e07b9a6d
MR
18682011-10-21 Martin Rudalics <rudalics@gmx.at>
1869
1870 * mouse.el (mouse-drag-window-above)
1871 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1872 (mouse-drag-mode-line-1, mouse-drag-header-line)
1873 (mouse-drag-vertical-line-rightward-window): Remove.
1874 (mouse-drag-line): New function.
1875 (mouse-drag-mode-line, mouse-drag-header-line)
1876 (mouse-drag-vertical-line): Call mouse-drag-line.
1877 * window.el (window-at-side-p, windows-at-side): New functions.
1878
7e1361d9
UM
18792011-10-21 Ulrich Mueller <ulm@gentoo.org>
1880
1881 * tar-mode.el (tar-grind-file-mode):
1882 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1883
30fcaf3a
CY
18842011-10-21 Chong Yidong <cyd@gnu.org>
1885
1886 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
1887 * progmodes/vera-mode.el (vera-mode):
1888 Use mode-require-final-newline.
30fcaf3a 1889
516eddb0
GM
18902011-10-20 Glenn Morris <rgm@gnu.org>
1891
db22a3c2 1892 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 1893
10d5f513
CS
18942011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1895
1896 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1897
ac6c8639
CY
18982011-10-20 Chong Yidong <cyd@gnu.org>
1899
1900 * emulation/cua-base.el (cua-mode):
1901 * mail/footnote.el (footnote-mode):
1902 * mail/mailabbrev.el (mail-abbrevs-mode):
1903 * net/xesam.el (xesam-minor-mode):
1904 * progmodes/bug-reference.el (bug-reference-mode):
1905 * progmodes/cap-words.el (capitalized-words-mode):
1906 * progmodes/compile.el (compilation-minor-mode)
1907 (compilation-shell-minor-mode):
1908 * progmodes/gud.el (gud-tooltip-mode):
1909 * progmodes/hideif.el (hide-ifdef-mode):
1910 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1911 * progmodes/subword.el (subword-mode):
1912 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1913 * progmodes/which-func.el (which-function-mode):
1914 * term/tvi970.el (tvi970-set-keypad-mode):
1915 * term/vt100.el (vt100-wide-mode):
1916 * textmodes/flyspell.el (flyspell-mode):
1917 * textmodes/ispell.el (ispell-minor-mode):
1918 * textmodes/nroff-mode.el (nroff-electric-mode):
1919 * textmodes/paragraphs.el (use-hard-newlines):
1920 * textmodes/refill.el (refill-mode):
1921 * textmodes/reftex.el (reftex-mode):
1922 * textmodes/rst.el (rst-minor-mode):
1923 * textmodes/sgml-mode.el (html-autoview-mode)
1924 (sgml-electric-tag-pair-mode):
1925 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1926 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1927 * emulation/crisp.el (crisp-mode):
1928 * emacs-lisp/eldoc.el (eldoc-mode):
1929 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1930 minor mode behavior.
1931
aa42ab43
JL
19322011-10-19 Juri Linkov <juri@jurta.org>
1933
1934 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1935 the list of hard-coded chars with escape-glyph face.
1936
89400f1d
SM
19372011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1940
305c07f6
MA
19412011-10-19 Michael Albinus <michael.albinus@gmx.de>
1942
1943 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1944 running process.
1945
13754b54
GM
19462011-10-19 Glenn Morris <rgm@gnu.org>
1947
1948 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1949 Ignore ignored files. (Bug#9726)
1950
06e21633
CY
19512011-10-19 Chong Yidong <cyd@gnu.org>
1952
1953 Doc fix for minor modes, stating that an omitted argument enables
1954 the mode unconditionally when called from Lisp.
1955
1956 * abbrev.el (abbrev-mode):
1957 * allout.el (allout-mode):
1958 * autoinsert.el (auto-insert-mode):
1959 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1960 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1961 (global-auto-revert-mode):
1962 * battery.el (display-battery-mode):
1963 * composite.el (global-auto-composition-mode)
1964 (auto-composition-mode):
1965 * delsel.el (delete-selection-mode):
1966 * desktop.el (desktop-save-mode):
1967 * dired-x.el (dired-omit-mode):
1968 * dirtrack.el (dirtrack-mode):
1969 * doc-view.el (doc-view-minor-mode):
1970 * double.el (double-mode):
1971 * electric.el (electric-indent-mode, electric-pair-mode):
1972 * emacs-lock.el (emacs-lock-mode):
1973 * epa-hook.el (auto-encryption-mode):
1974 * follow.el (follow-mode):
1975 * font-core.el (font-lock-mode):
1976 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1977 * help.el (temp-buffer-resize-mode):
1978 * hilit-chg.el (highlight-changes-mode)
1979 (highlight-changes-visible-mode):
1980 * hi-lock.el (hi-lock-mode):
1981 * hl-line.el (hl-line-mode, global-hl-line-mode):
1982 * icomplete.el (icomplete-mode):
1983 * ido.el (ido-everywhere):
1984 * image-file.el (auto-image-file-mode):
1985 * image-mode.el (image-minor-mode):
1986 * iswitchb.el (iswitchb-mode):
1987 * jka-cmpr-hook.el (auto-compression-mode):
1988 * linum.el (linum-mode):
1989 * longlines.el (longlines-mode):
1990 * master.el (master-mode):
1991 * mb-depth.el (minibuffer-depth-indicate-mode):
1992 * menu-bar.el (menu-bar-mode):
1993 * minibuf-eldef.el (minibuffer-electric-default-mode):
1994 * mouse-sel.el (mouse-sel-mode):
1995 * msb.el (msb-mode):
1996 * mwheel.el (mouse-wheel-mode):
1997 * outline.el (outline-minor-mode):
1998 * paren.el (show-paren-mode):
1999 * recentf.el (recentf-mode):
2000 * reveal.el (reveal-mode, global-reveal-mode):
2001 * rfn-eshadow.el (file-name-shadow-mode):
2002 * ruler-mode.el (ruler-mode):
2003 * savehist.el (savehist-mode):
2004 * scroll-all.el (scroll-all-mode):
2005 * scroll-bar.el (scroll-bar-mode):
2006 * server.el (server-mode):
2007 * shell.el (shell-dirtrack-mode):
2008 * simple.el (auto-fill-mode, transient-mark-mode)
2009 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2010 (line-number-mode, column-number-mode, size-indication-mode)
2011 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2012 * strokes.el (strokes-mode):
2013 * time.el (display-time-mode):
2014 * t-mouse.el (gpm-mouse-mode):
2015 * tool-bar.el (tool-bar-mode):
2016 * tooltip.el (tooltip-mode):
2017 * type-break.el (type-break-mode-line-message-mode)
2018 (type-break-query-mode):
2019 * view.el (view-mode):
2020 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2021 (global-whitespace-mode, global-whitespace-newline-mode):
2022 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2023
a3839de2
SM
2024 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2025 Fix autogenerated docstring.
06e21633 2026
5214e501
JL
20272011-10-19 Juri Linkov <juri@jurta.org>
2028
2029 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2030 by checking environment variables "DESKTOP_SESSION" and
2031 "XDG_CURRENT_DESKTOP". (Bug#9779)
2032
195f8db9
JL
20332011-10-19 Juri Linkov <juri@jurta.org>
2034
2035 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2036 (browse-url-chromium-program, browse-url-chromium-arguments):
2037 New defcustoms.
2038 (browse-url-default-browser): Check for `browse-url-chromium' and
2039 call `browse-url-chromium-program'.
2040 (browse-url-chromium): New command. (Bug#9779)
2041
343a34ff
JB
20422011-10-18 Juanma Barranquero <lekktu@gmail.com>
2043
2044 * facemenu.el (list-colors-duplicates): On Windows, detect more
2045 duplicates by assuming that only colors matching "^System" are
2046 special "system colors". (Bug#9722)
2047
6978a151
SM
20482011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2051 to distinguish the author from the committer.
2052
6a80b297
MA
20532011-10-18 Michael Albinus <michael.albinus@gmx.de>
2054
2055 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2056
b31a5677
JK
20572011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2058
2059 * international/mule.el (sgml-html-meta-auto-coding-function):
2060 Add support for detecting encoding in HTML5 specified only as
2061 <meta charset="UTF-8">. Implementation just makes http-equiv and
2062 content-type parts from HTML4 encoding string optional. (Bug#9716)
2063
80c6d77f
GM
20642011-10-18 Glenn Morris <rgm@gnu.org>
2065
2066 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2067
08b0fee8
CY
20682011-10-18 Chong Yidong <cyd@gnu.org>
2069
2070 * faces.el (cursor): Doc fix.
2071
67e729a5
CY
20722011-10-17 Chong Yidong <cyd@gnu.org>
2073
2074 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2075
343a34ff 20762011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2077
2078 * dirtrack.el (dirtrack): Support shell buffers with path
2079 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2080
0bc06380
TZ
20812011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2082
2083 * json.el: Bump version to 1.3 and note change in History.
2084 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2085
8b79f3e0
SM
20862011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2087
5a7c536b
SM
2088 * comint.el (comint-insert-input, comint-send-input)
2089 (comint-get-old-input-default, comint-backward-matching-input)
2090 (comint-next-prompt): Use nil instead of `input' for field property of
2091 past user input (bug#114).
2092
96a8a0df
SM
2093 * minibuffer.el (completion--replace): Inherit surrounding properties
2094 (bug#114).
2095 (minibuffer-complete-and-exit): Use it.
2096
8b79f3e0
SM
2097 * comint.el (comint--table-subvert): Quote the all-completions output
2098 (bug#9160).
2099
b8f7ff0d
MR
21002011-10-17 Martin Rudalics <rudalics@gmx.at>
2101
8b79f3e0 2102 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2103
b8f7ff0d 2104 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2105 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2106 entries and separate them from frame entries.
2107
c235b555
GM
21082011-10-15 Glenn Morris <rgm@gnu.org>
2109
2110 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2111 Doc fixes.
2112
6bbfa6e1
CY
21132011-10-15 Chong Yidong <cyd@stupidchicken.com>
2114
8b79f3e0
SM
2115 * net/network-stream.el (network-stream-open-starttls):
2116 Improve detection of failure due to lack of TLS support.
ec5c990d 2117
6bbfa6e1
CY
2118 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2119 putting the input text in front and in bold.
2120
98488977
SM
21212011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2122
3d1337be
SM
2123 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2124
ee0b45e4
SM
2125 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2126 empty buffer.
2127
98488977
SM
2128 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2129 unread-command-events rather than pushing yet-another event.
2130
186f4720
EZ
21312011-10-14 Eli Zaretskii <eliz@gnu.org>
2132
2133 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2134 the explanation of the possible choices. Make the options passed
2135 to completing-read shorter.
2136
8b7a997c
AM
21372011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2138
2139 * textmodes/flyspell.el (flyspell-large-region): Make sure
2140 extended character mode is used if defined (Bug#1339).
2141
12587bbb
EZ
21422011-10-13 Eli Zaretskii <eliz@gnu.org>
2143
2144 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2145 character info for LRE, LRO, RLE, and RLO characters by appending
2146 an invisible PDF.
12587bbb 2147
bad41229
SM
21482011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2151 even in case of error; add debug spec; simplify data flow.
2152 (with-timeout-handler): Remove.
2153
28dbc92f
MA
21542011-10-12 Michael Albinus <michael.albinus@gmx.de>
2155
2156 Fix Bug#6019, Bug#9315.
2157
2158 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2159 complete `buffer-file-name', the local file name part could look
2160 remotely (for example on VMS).
2161
2162 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2163 `tramp-run-real-handler'.
2164 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2165 already quoted by '"'.
2166
2167 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2168 Let `file-name-handler-alist' be nil, the local file name part
2169 could look remotely (for example on VMS).
2170
e1b0b23a
SM
21712011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2174 from here...
2175 (flyspell-post-command-hook): ...to here.
2176
a120bde9
SM
21772011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2178
2179 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2180 if not needed.
2181 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2182 using completion. Protect against "slow" callers.
2183 Remove the "message hack".
2184
7ce7717b
JL
21852011-10-11 Juri Linkov <juri@jurta.org>
2186
2187 * isearch.el (isearch-lazy-highlight-word): New variable.
2188 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2189 Use it. (Bug#9727)
2190
c02ee9d6
GM
21912011-10-11 Glenn Morris <rgm@gnu.org>
2192
2193 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2194 like f90-previous-statement does.
2195
93e616fd 21962011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2197
1f190e73 2198 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2199 only in interactive use, to avoid error.
2200
af7b6078
SM
22012011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * minibuffer.el (completion-file-name-table): Fix last change,
2204 i.e. ignore normal errors but not the other ones.
2205
0563dae9
MR
22062011-10-10 Martin Rudalics <rudalics@gmx.at>
2207
2208 * window.el (special-display-buffer-names)
2209 (special-display-regexps): Remove some remnants of earlier
2210 changes from doc-strings.
366ca7f3
MR
2211 (quit-windows-on): New function.
2212
2213 * vc/vc.el (vc-revert, vc-rollback):
2214 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2215 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2216 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2217
49677495
MR
22182011-10-09 Martin Rudalics <rudalics@gmx.at>
2219
2220 * window.el (frame-auto-hide-function): Add version tag.
2221 (Bug#9699)
2222
56f2d1e1
MA
22232011-10-09 Michael Albinus <michael.albinus@gmx.de>
2224
2225 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2226 condition.
2227
112a6592
LL
22282011-10-09 Leo Liu <sdl.web@gmail.com>
2229
2230 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2231 (Bug#9701)
2232
0812589b
GM
22332011-10-08 Glenn Morris <rgm@gnu.org>
2234
2235 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2236 before the first code statement zero indent. (Bug#9690)
2237
b2b0776e
CY
22382011-10-08 Chong Yidong <cyd@stupidchicken.com>
2239
2240 * simple.el (count-words-region): Always count in the region.
2241 Report the number of lines and characters too.
2242 (count-words): New command, which counts in the buffer if the
2243 region is inactive, as count-words-region used to.
2244 (count-words--message): New function. Handle plurals.
2245 (count-lines-region): Make it an alias for count-words-region.
2246
2247 * bindings.el (esc-map): Replace count-lines-region with
2248 count-words-region.
2249
c557cd6b
MR
22502011-10-08 Martin Rudalics <rudalics@gmx.at>
2251
2252 * window.el (window--delete): Delete dedicated frame
2253 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2254 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2255
61a57ef4 22562011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2257
2258 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2259
c3833279
CY
22602011-10-07 Chong Yidong <cyd@stupidchicken.com>
2261
2262 * bindings.el ([M-left],[M-right]): Bind to left-word and
2263 right-word respectively.
2264
21ce8245
GM
22652011-10-07 Glenn Morris <rgm@gnu.org>
2266
2267 * cus-start.el (debug-on-quit): Fix custom type.
2268
6d823bb2
LMI
22692011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2270
0181e193
LMI
2271 * subr.el (define-key-after): Clarify that the function is not
2272 useful for non-menu keymaps.
2273
6d823bb2
LMI
2274 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2275
8e3459ce 22762011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2277
21ce8245 2278 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2279 in current minibuffer (Fix bug with recursive minibuffers).
2280
a1c2d21e
CY
22812011-10-06 Chong Yidong <cyd@stupidchicken.com>
2282
2283 * progmodes/gdb-mi.el (gdb): Doc fix.
2284
5a4cf282
MR
22852011-10-05 Martin Rudalics <rudalics@gmx.at>
2286
2287 * window.el (frame-auto-hide-function): New option replacing
2288 frame-auto-delete. Suggested by Stefan Monnier.
2289 (window--delete): Call frame-auto-hide-function instead of
2290 investigating frame-auto-delete.
c96111ea
MR
2291 (window-point-1, set-window-point-1): New functions.
2292 (window-in-direction, record-window-buffer, window-state-get-1)
2293 (display-buffer-record-window): Use window-point-1 instead of
2294 window-point.
2295 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2296
9854542e
SM
22972011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2300
8943cfb0
GM
23012011-10-05 Glenn Morris <rgm@gnu.org>
2302
2303 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2304 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2305
647ab967
LL
23062011-10-05 Leo Liu <sdl.web@gmail.com>
2307
2308 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2309 works with buffer object.
2310
3ddfbced
SM
23112011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * mpc.el (mpc-tool-bar-map): Add labels.
2314
bdfa5dd2
GM
23152011-10-04 Glenn Morris <rgm@gnu.org>
2316
2317 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2318
0e2070b5
MR
23192011-10-04 Martin Rudalics <rudalics@gmx.at>
2320
2321 * window.el (window--delete): New function.
2322 (frame-auto-delete): Resuscitate option.
2323 (bury-buffer, replace-buffer-in-windows)
2324 (quit-window): Rewrite using window--delete.
2325 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2326 Pass display-buffer-mark-dedicated to window--display-buffer-2
2327 (Bug#9639).
2328
3dc61a09
SM
23292011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2330
915a9b64
SM
2331 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2332 returns a list (bug#9554). Add remote file name completion.
2333 * comint.el (comint--table-subvert): Curry and get quote&unquote
2334 functions as arguments.
2335 (comint--complete-file-name-data): Adjust call accordingly.
2336 * pcomplete.el (pcomplete--table-subvert): Remove.
2337 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2338
3dc61a09
SM
2339 * minibuffer.el (completion-table-case-fold): Use currying.
2340 (completion--styles-type, completion--cycling-threshold-type):
2341 New constants.
2342 (completion-styles, completion-category-overrides)
2343 (completion-cycle-threshold): Use them.
2344 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2345 completion-table-case-fold.
2346
8ea0a993
SB
23472011-10-03 Stephen Berman <stephen.berman@gmx.net>
2348
2349 * minibuffer.el (completion-category-overrides): Fix type of styles
2350 and add more user friendly tags (bug#9660).
2351
8c24b7f6
SM
23522011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2355 (mule-input-method-string): New widget.
2356 (default-input-method, language-info-custom-alist): Use it.
2357
428fe61a
SM
23582011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2359
32c1fffd
SM
2360 * pcomplete.el: Require comint.
2361 (pcomplete--common-suffix): Remove.
2362 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2363 (pcomplete--table-subvert): Sync with comint--table-subvert.
2364 (pcomplete--entries): Use comint-completion-file-name-table.
2365 * comint.el (comint-unquote-filename): Simplify.
2366 (comint-completion-file-name-table): New function (bug#9616).
2367 (comint--complete-file-name-data): Use it.
2368
428fe61a
SM
2369 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2370 (pcmpl-gnu-tar-buffer): Remove.
2371 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2372 around. Make sure pcomplete-suffix-list is only changed temporarily.
2373 Don't look inside the tar's file if it's too large.
428fe61a 2374
04c52e2f
CY
23752011-10-01 Chong Yidong <cyd@stupidchicken.com>
2376
ce3cefcc
CY
2377 * cus-edit.el (custom-mode-map):
2378 * epa.el (epa-key-list-mode-map):
2379 * man.el (Man-mode-map):
2380 * startup.el (splash-screen-keymap):
2381 * simple.el (special-mode-map): Use scroll-up-command and
2382 scroll-down-command.
2383
2384 * progmodes/idlw-help.el (idlwave-help-mode-map):
2385 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2386 * net/newst-plainview.el (newsticker-mode-map):
2387 * emulation/ws-mode.el (wordstar-mode-map):
2388 * emulation/vi.el (vi-com-map):
2389 * calc/calc-graph.el (calc-graph-show-dumb):
2390 * term/sun.el (terminal-init-sun):
2391 * term/ns-win.el (global-map):
2392 * progmodes/grep.el (grep-mode-map):
2393 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2394 * mail/rmail.el (rmail-mode-map):
2395 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2396
04c52e2f
CY
2397 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2398 custom-safe-themes as special.
2399
79adf8c8
JD
24002011-10-01 Julien Danjou <julien@danjou.info>
2401
2402 * notifications.el (notifications-notify): Fix docstring.
2403
63bd50d3
PS
24042011-10-01 Per Starbäck <per@starback.se>
2405
2406 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2407
199e4c7e
MR
24082011-09-30 Martin Rudalics <rudalics@gmx.at>
2409
2410 * startup.el (command-line-1): Fix last fix by inserting
2411 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2412 (Bug#9605) and (Bug#9636)
199e4c7e 2413
fe5f08dd
EZ
24142011-09-29 Eli Zaretskii <eliz@gnu.org>
2415
2416 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2417 window is hscrolled, move by logical lines. (Bug#9607)
2418 (line-move-visual): Update the doc string to the above effect.
2419
b5516bbd
MR
24202011-09-29 Martin Rudalics <rudalics@gmx.at>
2421
ccee00c0
MR
2422 * window.el (display-buffer-record-window): When WINDOW is the
2423 selected window use `point' instead of `window-point'. (Bug#9626)
2424
b5516bbd
MR
2425 * startup.el (command-line-1): Use insert-before-markers when
2426 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2427
b5516bbd
MR
2428 * help.el (help-window): Remove variable.
2429
52aa0014
GM
24302011-09-29 Glenn Morris <rgm@gnu.org>
2431
2432 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2433
df9a7357
JB
24342011-09-29 Juanma Barranquero <lekktu@gmail.com>
2435
2436 * descr-text.el (describe-char-categories): Accept category
2437 descriptions more than one line long.
2438
a8406c20
SM
24392011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2440
88d9610c
SM
2441 * simple.el (delete-trailing-whitespace): Fix last change.
2442
a5daf810
SM
2443 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2444 Don't confuse "y => 3" as the beginning of a `y' operation.
2445
a8406c20
SM
2446 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2447 object has more than 4 slots (bug#9613).
2448
a239d4e9
JB
24492011-09-28 Juanma Barranquero <lekktu@gmail.com>
2450
2451 * subr.el (with-output-to-temp-buffer):
2452 * net/quickurl.el (quickurl, quickurl-browse-url):
2453 Fix typos in docstrings.
2454
693fbdb6
EZ
24552011-09-27 Eli Zaretskii <eliz@gnu.org>
2456
2457 * minibuffer.el (completion-styles)
2458 (completion-category-overrides): Cross reference each other in doc
2459 strings.
2460
8b457e28
GM
24612011-09-27 Glenn Morris <rgm@gnu.org>
2462
2463 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2464 to split-string. (Bug#9606)
2465
85a16208
LMI
24662011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2467
2468 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2469 (bug#9615).
2470
502f9ebd
CY
24712011-09-27 Chong Yidong <cyd@stupidchicken.com>
2472
2473 * emacs-lisp/package.el (list-packages): Fix echo area message.
2474
7690bdea
LL
24752011-09-27 Leo Liu <sdl.web@gmail.com>
2476
2477 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2478
e2ee6f30
MA
24792011-09-25 Michael Albinus <michael.albinus@gmx.de>
2480
2481 * net/dbus.el (dbus-unregister-object): Don't release services for
2482 registered signals. (Bug#9581)
2483
f3f98342
TZ
24842011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2485
2486 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2487 function that picks between cfengine 2 and 3 support
2488 automatically. Update docs accordingly.
2489
dd7aa8dd
KH
24902011-09-22 Kenichi Handa <handa@m17n.org>
2491
2492 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2493 ZERO.
2494 (indian-itrans-v5-table-for-tamil): New variable.
2495 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2496
3f2b07f8
KM
24972011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2498
2499 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2500 that's true if the current command involved collapsing of text.
2501 It's reset to false at the beginning of the next command.
2502 (allout-post-command-business): Move the cursor to the beginning
2503 of entry if the cursor is hidden and collapsing activity just
2504 happened.
2505
371d6a61
CY
25062011-09-24 Chong Yidong <cyd@stupidchicken.com>
2507
2508 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2509 tracking (Bug#9541).
2510
2ac2721a
UJ
25112011-09-24 Ulf Jasper <ulf.jasper@web.de>
2512
2513 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2514 (newsticker-show-news): Automatically load html rendering package
2515 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2516 because w3m-fill-column is let-bound" and the error "Symbol's value
2517 as variable is void: w3m-fill-column".
2ac2721a 2518
fac7ae53
MA
25192011-09-24 Michael Albinus <michael.albinus@gmx.de>
2520
2521 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2522 Release services only if they are defined. (Bug#9581)
2523
e08b633b
RS
25242011-09-23 Richard Stallman <rms@gnu.org>
2525
e488d29c
RS
2526 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2527 distinguish start of paragraph from start of its text.
2528
19c38752
RS
2529 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2530
e08b633b
RS
2531 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2532 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2533 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2534
0a39f27e
AS
25352011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2536
2537 * international/mule-diag.el (mule-diag): Insert a newline after
2538 each fontset description.
2539
db4e950d
SM
25402011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * simple.el (delete-trailing-whitespace):
2543 Document last change; simplify.
2544
eca3f3ea
PW
25452011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2546
d68e189a
PW
2547 * simple.el (delete-trailing-whitespace): Also delete
2548 extra newlines at the end of the buffer.
2549
eca3f3ea
PW
2550 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2551 (picture-newline): Use forward-line so as to ignore fields.
2552
01c157cc
SM
25532011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * subr.el (with-wrapper-hook): Fix edebug spec.
2556
022de23e
LMI
25572011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2558
2559 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2560 (bug#4538).
2561
91683089
MA
25622011-09-23 Michael Albinus <michael.albinus@gmx.de>
2563
eca3f3ea
PW
2564 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2565 Fix nasty bug using wrong cached values.
91683089 2566
5bdd6fa4
AM
25672011-09-23 Alan Mackenzie <acm@muc.de>
2568
2569 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2570
97adfb97
CY
25712011-09-23 Chong Yidong <cyd@stupidchicken.com>
2572
2573 * window.el (pop-to-buffer): Ensure right window is selected if we
2574 chose another frame.
2575
d4ef2b50
EZ
25762011-09-22 Eli Zaretskii <eliz@gnu.org>
2577
2578 * simple.el (what-cursor-position): Use get-char-property-change
2579 and next-single-char-property-change, to be able to show display
2580 properties that come from overlays as well as text properties.
2581
72258fe5
CY
25822011-09-22 Chong Yidong <cyd@stupidchicken.com>
2583
2584 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2585
2586 * cmuscheme.el (run-scheme, switch-to-scheme):
2587 * cus-edit.el (customize-group, custom-buffer-create)
2588 (customize-browse):
2589 * info.el (info):
2590 * shell.el (shell):
2591 * mail/sendmail.el (mail):
2592 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2593
8f098516
RS
25942011-09-22 Richard Stallman <rms@gnu.org>
2595
2596 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2597 move back only to line beg, don't move back over blank lines.
2598
e74f1bb6
MA
25992011-09-22 Michael Albinus <michael.albinus@gmx.de>
2600
2601 * files.el (copy-directory): Set directory attributes only in case
2602 they could be retrieved from the source directory. (Bug#9565)
2603
bfeef8b6
DK
26042011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2605
2606 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2607 (hs-find-block-beginning, hs-hide-level-recursive):
2608 Ignore strings as well as comments. (Bug#9502)
2609
7e423bb8
AS
26102011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2611
2612 * progmodes/sql.el (sql-comint-postgres):
2613 Convert port number to a string. (Bug#9566)
2614
b4d72fcf
MR
26152011-09-22 Martin Rudalics <rudalics@gmx.at>
2616
2617 * window.el (quit-window): Undedicate window when switching to
2618 previous buffer. Reported by Thierry Volpiatto
2619 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2620 (special-display-popup-frame): When popping up a new frame reset
2621 its previous buffers to nil. Simplify code.
b4d72fcf 2622
a7b88dc6
MA
26232011-09-21 Michael Albinus <michael.albinus@gmx.de>
2624
2625 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2626 and process filter, as done also in `shell-command'.
2627
cf4eacfd
MR
26282011-09-21 Martin Rudalics <rudalics@gmx.at>
2629
eca3f3ea 2630 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2631 Call set-window-start with NOFORCE argument t.
2632 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2633 (quit-window): Reword doc-string. Handle new format of
2634 quit-restore parameter. Don't delete window if it has a
2635 previous buffer we can show instead of the present one.
2636 (display-buffer-record-window): Rewrite using a new format for
2637 the quit-restore window parameter
2638 (special-display-popup-frame, display-buffer-same-window)
2639 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2640 (display-buffer-pop-up-window, display-buffer-use-some-window):
2641 Adapt symbol passed to display-buffer-record-window.
2642 * help.el (help-window-setup): Handle new format of quit-restore
2643 parameter.
2644
8d28cb95
SM
26452011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2646
94ab793f
SM
2647 * faces.el (face-list): Fix docstring (bug#9564).
2648
8d28cb95
SM
2649 * window.el (display-buffer--action-function-custom-type):
2650 Don't include internal functions in the Custom interface.
2651
3820edeb
JL
26522011-09-20 Juri Linkov <juri@jurta.org>
2653
2654 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2655 (Info-forward-node, Info-backward-node, Info-next-preorder)
2656 (Info-last-preorder): Use it. (Bug#9528)
2657
5147931d
JL
26582011-09-20 Juri Linkov <juri@jurta.org>
2659
2660 * info.el (Info-last-preorder): Visit last menu item only when
2661 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2662
cf499a1a
JD
26632011-09-20 Julien Danjou <julien@danjou.info>
2664
2665 * password-cache.el (password-cache-remove): Remove entries even if the
2666 value is nil, so that password with a nil value (negative caching) is
2667 possible to invalidate.
2668
f84e2fe2
LM
26692011-09-20 Lawrence Mitchell <wence@gmx.li>
2670
2671 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2672 all whitespace around breakpoint. (Bug#9553)
2673 (f90-find-breakpoint): Only break at whitespace inside a comment.
2674
78054a46
SM
26752011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * minibuffer.el (completion-file-name-table): Keep track of errors.
2678 (completion-table-with-predicate): Handle the case where pred1 is nil.
2679 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2680
345083b2
SM
26812011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2682
e24e27be
SM
2683 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2684 (debugger-return-value): Signal an error if the debugging context does
2685 not await any return value.
2686
345083b2
SM
2687 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2688 * image-mode.el (image-toggle-display-text)
2689 (image-toggle-display-image): Stay away from evil `intangible'.
2690
08d355e3
LL
26912011-09-19 Leo Liu <sdl.web@gmail.com>
2692
2693 * replace.el (occur-revert-arguments): Make it permanent-local.
2694 (occur-mode): Don't call font-lock-defontify.
2695
f01da43f
CY
26962011-09-19 Chong Yidong <cyd@stupidchicken.com>
2697
2698 * net/ldap.el (ldap-search-internal): Don't push empty search
2699 result (Bug#9508).
2700
b6072fa6
SM
27012011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2704
443d6696
MA
27052011-09-19 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2708 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2709
7cc6e154
JL
27102011-09-18 Juri Linkov <juri@jurta.org>
2711
2712 * buff-menu.el (Buffer-menu-mode-map):
2713 * dired.el (dired-mode-map):
2714 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2715 (lisp-interaction-mode-map):
2716 * emacs-lisp/package.el (package-menu-mode-map):
2717 * epa.el (epa-key-list-mode-map):
2718 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2719 (menu-bar-options-menu):
2720 * outline.el (outline-mode-menu-bar-map):
2721 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2722 * vc/vc-dir.el (vc-dir-menu-map):
2723 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2724 Capitalize non-function content words in menu item strings.
2725
2726 * dired.el (dired-mode-map): Add menu item for
2727 `image-dired-dired-toggle-marked-thumbs'.
2728
80302a81
JL
27292011-09-18 Juri Linkov <juri@jurta.org>
2730
2731 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2732 to `isearch-case-fold-search' and restore its original value
2733 after the `isearch-mode' call.
2734
46c5cf66
JL
27352011-09-18 Juri Linkov <juri@jurta.org>
2736
2737 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2738 because `zgrep' returns 1 for successful matches (bug#9226).
2739
d18b513b
JL
27402011-09-18 Juri Linkov <juri@jurta.org>
2741
2742 * info.el (Info-extract-menu-node-name): Check the second match
2743 for empty string (second test-case of bug#9528).
2744 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2745 intermediate nodes to the history (first test-case of bug#9528).
2746
72753f87
JL
27472011-09-18 Juri Linkov <juri@jurta.org>
2748
2749 * info.el (Info-mode-syntax-table): New variable.
1154d12e 2750 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 2751
c9384295
JL
27522011-09-18 Juri Linkov <juri@jurta.org>
2753
1154d12e
JB
2754 * info.el (Info-file-supports-index-cookies):
2755 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2756 outputs one more line for long file names (bug#4142).
c9384295 2757
d473dce8
CY
27582011-09-18 Chong Yidong <cyd@stupidchicken.com>
2759
2760 * newcomment.el (comment-normalize-vars): If prompting for
2761 comment-start, set comment-start-skip too (Bug#8424).
2762
2176854d
JB
27632011-09-18 Johan Bockgård <bojohan@gnu.org>
2764
2765 * icomplete.el: Fix previous fix of Bug#5849.
2766 (icomplete-mode): Don't set completion-show-inline-help.
2767 (icomplete-minibuffer-setup): Set completion-show-inline-help
2768 locally during icompletion.
2769
3aace4e4
CY
27702011-09-18 Chong Yidong <cyd@stupidchicken.com>
2771
c940224f
CY
2772 * woman.el (woman2-process-escapes): Don't delete unrecognized
2773 escapes (Bug#7843).
2774
3aace4e4
CY
2775 * files.el (inhibit-first-line-modes-regexps): Add image files.
2776 (hack-local-variables-prop-line): Return nil for malformed
2777 prop-lines (Bug#9044).
2778
710dec63
MA
27792011-09-18 Michael Albinus <michael.albinus@gmx.de>
2780
2781 * net/tramp.el (top): Don't require 'shell.
2782 (tramp-methods): Fix docstring.
2783 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2784 Return complete remote file name. Handle "smb" case.
2785 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2786 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2787
2788 * net/tramp-compat.el (top): Require 'shell.
2789
2790 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2791 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2792 `tramp-current-host'.
2793 (tramp-get-remote-tmpdir): Remove.
2794
2795 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2796 `tramp-tmpdir' entries.
2797 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2798 (tramp-smb-handle-file-attributes): Ignore errors.
2799 (tramp-smb-wait-for-output): Check also for process end.
2800
5d5ac8ec
LMI
28012011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2802
2803 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2804 when sending QUIT (bug#9312).
2805
8c0f49f0
CY
28062011-09-17 Chong Yidong <cyd@stupidchicken.com>
2807
2808 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2809 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2810 occur-mode-display-occurrence.
2811 (occur-edit-mode): Add usage message.
2812 (occur-cease-edit): New command.
2813 (occur-after-change-function): Use text properties to find the
2814 position of the prefix text.
2815 (occur-engine): Set stickiness of prefix text properties.
2816
8f1383f7
GM
28172011-09-17 Glenn Morris <rgm@gnu.org>
2818
2819 * progmodes/etags.el (complete-tag):
2820 Fix call to completion-in-region. (Bug#9526)
2821
744ba0e3
JL
28222011-09-17 Juri Linkov <juri@jurta.org>
2823
2824 * textmodes/ispell.el (ispell-word): Add to the error message
2825 the word, ispell program name and current dictionary (bug#9121).
2826 (ispell-tex-arg-end): Capitalize "error" in the error message.
2827
d9bbf400
AS
28282011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2829
2830 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2831 check. (Bug#4251)
2832
8da11505
JL
28332011-09-17 Juri Linkov <juri@jurta.org>
2834
2835 * window.el (window-safe-min-height, window-safe-min-width):
2836 Fix typos (followup to bug#9522).
2837
a91adc7e
SJ
28382011-09-17 Sven Joachim <svenjoac@gmx.de>
2839
2840 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2841
064f328a
EZ
28422011-09-16 Eli Zaretskii <eliz@gnu.org>
2843
2844 * simple.el (line-move): If goal-column is set, move by logical
2845 lines, not by display lines. (Bug#971)
2846 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2847 to reflect the above change.
2848
e69df516
SM
28492011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * image.el (imagemagick-register-types): Use regexp-opt.
2852
cbb0f9ab
CY
28532011-09-15 Chong Yidong <cyd@stupidchicken.com>
2854
2855 * window.el (display-buffer-base-action): Rename from
2856 display-buffer-default-action. Make default value empty.
2857 (display-buffer-overriding-action): Convert to defvar.
2858 (display-buffer-fallback-action): New var.
2859
25322144
CY
28602011-09-15 Chong Yidong <cyd@stupidchicken.com>
2861
2862 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2863 declaration.
2864 (package--add-to-archive-contents): If there is a duplicate entry
2865 with an older version, remove it.
2866 (package-menu-mark-delete, package-menu-mark-install)
2867 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
2868 (package-menu-mark-obsolete-for-deletion):
2869 Use package-menu-get-status instead of a regexp search.
25322144
CY
2870 (package-menu-get-status): Use tabulated-list-entry.
2871 (package-menu-mark-upgrades): New command.
d770725a 2872 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
2873 (package-menu-execute): Do installation before deletion.
2874 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2875 instead of checking major-mode.
2876 (package-menu--find-upgrades): New function.
2877
7520339c
LMI
28782011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2879
2880 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2881 passwords in the log buffer.
65a046c4
LMI
2882 (smtpmail-process-filter): Update the process marker so that the
2883 "broken by peer" status message is inserted in the right place.
7520339c 2884
d3c30954
SM
28852011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2886
3fe48822
SM
2887 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2888 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2889 bibtex-completion-at-point-function.
2890 (bibtex-completion-at-point-function): Use them.
2891
1b8b3954
SM
2892 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2893
d3c30954
SM
2894 * mpc.el (mpc-constraints-tag-lookup): New function.
2895 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2896 also to browser "album|playlist".
2897
72779976
JL
28982011-09-14 Juri Linkov <juri@jurta.org>
2899
2900 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2901 (isearch-edit-string): Use length of `isearch-string' when
2902 `isearch-fail-pos' returns nil.
2903 (isearch-message): Remove duplicate code and call
2904 `isearch-fail-pos' with arg `t'.
2905
a0bf2bcd
CY
29062011-09-14 Chong Yidong <cyd@stupidchicken.com>
2907
17bb0a2d
CY
2908 * replace.el (occur-mode-goto-occurrence): Don't force using other
2909 window (Bug#9499).
2910
a0bf2bcd
CY
2911 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2912
f678e0b6
MR
29132011-09-14 Martin Rudalics <rudalics@gmx.at>
2914
2915 * window.el (display-buffer-window): Remove.
2916 (display-buffer-record-window): Use help-setup window parameter
2917 instead of variable display-buffer-window.
2918 (display-buffer-function, special-display-buffer-names)
2919 (special-display-function): Mention help-setup parameter instead
2920 of display-buffer-window in doc-string.
d3c30954
SM
2921 * help.el (help-window-setup): New argument help-window.
2922 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
2923 Reword some messages.
2924 (with-help-window): Pass window used for displaying the buffer
2925 to help-window-setup. Don't set display-buffer-window.
2926
8e39b2e8
GM
29272011-09-13 Glenn Morris <rgm@gnu.org>
2928
2929 * emacs-lisp/debug.el (debugger-make-xrefs):
2930 Preserve point. (Bug#9462)
2931
85e9c04b
CY
29322011-09-13 Chong Yidong <cyd@stupidchicken.com>
2933
2934 * window.el (window-deletable-p): Use next-frame.
2935
1b36ed6a
MR
29362011-09-13 Martin Rudalics <rudalics@gmx.at>
2937
2938 * window.el (window-auto-delete): Remove.
2939 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 2940 dedication and previous buffers.
1b36ed6a
MR
2941 (switch-to-prev-buffer): Don't delete window.
2942 (delete-windows-on): Delete a window's frame if and only if the
2943 window is dedicated.
2944 (replace-buffer-in-windows): Delete buffer's window or frame if
2945 and only if window is dedicated.
2946 (quit-window): Handle quit-restore as before last change.
4d61f28d 2947 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 2948
ef8ef9fb
CY
29492011-09-13 Chong Yidong <cyd@stupidchicken.com>
2950
2951 * window.el (window-deletable-p): Never delete the last frame on a
2952 given terminal.
2953
b2cba41e
GM
29542011-09-13 Glenn Morris <rgm@gnu.org>
2955
2956 * help.el (describe-key-briefly): Copy previous standard-output change.
2957
51553db6 29582011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
2959
2960 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2961
b7556719
GM
29622011-09-13 Glenn Morris <rgm@gnu.org>
2963
2964 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2965 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2966
64b51947
CY
29672011-09-12 Chong Yidong <cyd@stupidchicken.com>
2968
2969 * dired-aux.el (dired-mark-read-string): Don't return default
2970 value on empty input (Bug#9361).
2971 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2972 Omit initial minibuffer contents.
2973 (dired-do-chmod): Signal an error on empty input.
2974 (dired-mark-read-string): Don't return default on empty input.
2975
2976 * files.el (file-modes-symbolic-to-number): Doc fix.
2977
393a301e
SM
29782011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2980 * international/mule-cmds.el (ucs-completions): Remove.
2981 (read-char-by-name): Use complete-with-action instead; add metadata.
2982
fa5660f9
CY
29832011-09-11 Chong Yidong <cyd@stupidchicken.com>
2984
2985 * window.el (display-buffer--action-function-custom-type)
2986 (display-buffer--action-custom-type): New vars.
2987 (display-buffer-alist, display-buffer-default-action)
2988 (display-buffer-overriding-action): Add defcustom types.
2989
4a592f66
CY
2990 * frame.el (delete-other-frames): Doc fix (Bug#276).
2991
73d56dbd
LMI
29922011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2993
2994 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2995
37ac18a3
CY
29962011-09-11 Chong Yidong <cyd@stupidchicken.com>
2997
2998 Change modes that used same-window-* vars to use switch-to-buffer.
2999
3000 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3001 Use switch-to-buffer.
3002
3003 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3004 (customize-browse, custom-buffer-create-other-window):
3005 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3006
3007 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3008 (Info-prev, Info-up, Info-speedbar-goto-node)
3009 (info-display-manual): Use switch-to-buffer.
3010 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3011
3012 * mail/sendmail.el (mail): Use switch-to-buffer.
3013 (mail-recover): Use switch-to-buffer-other-window.
3014
3015 * cmuscheme.el (run-scheme, switch-to-scheme):
3016 * ielm.el (ielm):
3017 * shell.el (shell):
3018 * net/rlogin.el (rlogin):
3019 * net/telnet.el (telnet, rsh):
3020 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3021
10195bd6
AS
30222011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3023
3024 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3025
b322f63a
LMI
30262011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3027
39d7fed6
LMI
3028 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3029 so don't mention it (bug#9301).
ba5a81f1 3030 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3031
ee0e9f11
LMI
3032 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3033 match `x', `w32' and `ns', like the manual says (bug#9029).
3034
0b1c89c1 3035 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3036 (process-kill-buffer-query-function): Mention the buffer name in
3037 the query.
0b1c89c1 3038
77549ea8
LMI
3039 * image-mode.el (image-next-line): The line parameter is mandatory
3040 (bug#9258).
3041
803ef892
LMI
3042 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3043 which can be useful (bug#9301).
3044
12980837
LMI
3045 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3046
91054f8f
LMI
3047 * subr.el (match-string): Mention that the current buffer should
3048 be the same as the search was done in (bug#9282).
3049
b322f63a
LMI
3050 * facemenu.el: Disable the remove-* commands if the mark isn't
3051 active (bug#9162).
3052
3199b96f
CY
30532011-09-10 Chong Yidong <cyd@stupidchicken.com>
3054
3055 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3056 of display-buffer.
3057 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3058
3059 * replace.el (occur-mode-goto-occurrence)
3060 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3061 and display-buffer.
3062
3063 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3064 display-buffer.
3065
3066 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3067 special-display and same-window variables.
3068 (mail-other-window): Use switch-to-buffer-other-window.
3069 (mail-other-frame): USe switch-to-buffer-other-frame.
3070
393a301e
SM
3071 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3072 Use display-buffer-other-frame.
3199b96f
CY
3073 (gdb-display-gdb-buffer): Use pop-to-buffer.
3074
3075 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3076
3077 * progmodes/python.el: Don't set same-window-buffer-names.
3078
3079 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3080
3081 * window.el (display-buffer-alist): Add *Python*.
3082
8319e0bf
CY
30832011-09-10 Chong Yidong <cyd@stupidchicken.com>
3084
3085 * window.el (display-buffer-alist): Add entry for buffers
3086 previously handled same-window-*.
3087 (display-buffer-alist, display-buffer-default-action)
3088 (display-buffer-overriding-action): Mark as risky.
3089 (display-buffer-alist): Document action function changes.
3090 (display-buffer--same-window-action)
3091 (display-buffer--other-frame-action): New variables.
3092 (switch-to-buffer, display-buffer-other-frame): Use them.
3093 (display-buffer): Rename reuse-frame entry to reusable-frames.
3094 (display-buffer-reuse-selected-window): Function deleted.
3095 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3096 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3097 (display-buffer-special): New function.
3098 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3099 display-buffer-reuse-or-pop-window. Split off special-display
3100 part into display-buffer-special.
3101 (display-buffer-use-some-window): Don't perform any special
3102 pop-up-frames handling.
3103 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3104 (display-buffer--maybe-same-window): Rename from
0d3ff375 3105 display-buffer-maybe-same-window.
8319e0bf 3106
919a69aa
CY
3107 * info.el: Don't set same-window-regexps.
3108 (info-setup): New function.
3109 (info-other-window, info): Call it.
3110
3111 * cus-edit.el: Don't set same-window-regexps.
3112 (customize-group): New argument.
3113 (customize-group-other-window): Use it.
3114 (customize-face, customize-face-other-window): Likewise.
3115 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3116
8319e0bf
CY
3117 * net/rlogin.el:
3118 * net/telnet.el:
3119 * progmodes/gud.el: Don't set same-window-regexps.
3120
3121 * cmuscheme.el:
3122 * ielm.el:
3123 * shell.el:
3124 * mail/sendmail.el:
3125 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3126
25173000
JL
31272011-09-10 Juri Linkov <juri@jurta.org>
3128
3129 * isearch.el (isearch-edit-string): Remove obsolete mention of
3130 `C-w' (`isearch-yank-word-or-char') from docstring.
3131 (isearch-query-replace): Fix typo in docstring (bug#9466).
3132
056e44ef
JL
31332011-09-10 Juri Linkov <juri@jurta.org>
3134
3135 * paren.el (show-paren-function): Don't show escaped parens.
3136 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3137
c3760c17
EZ
31382011-09-10 Eli Zaretskii <eliz@gnu.org>
3139
3140 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3141 (mm-default-file-encoding): Remove autoload forms, they are
3142 replaced with autoload cookies in mml.el and mm-encode.el.
3143 (mail-add-attachment): New command.
3144 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3145 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3146 the doc string.
3147 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3148
fece895e
RT
31492011-09-10 Reuben Thomas <rrt@sc3d.org>
3150
e69df516
SM
3151 * simple.el (count-words-region): Use buffer if there's no region
3152 (bug#9429).
fece895e 3153
5e68ce4a
JL
31542011-09-09 Juri Linkov <juri@jurta.org>
3155
3156 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3157 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3158 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3159
0a6b9622
AM
31602011-09-09 Alan Mackenzie <acm@muc.de>
3161
3162 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3163 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3164
14a29deb
EZ
31652011-09-09 Eli Zaretskii <eliz@gnu.org>
3166
3167 Fix for Savannah bug#9392.
3168 * simple.el (mail-encode-mml): New defvar.
3169
3170 * mail/rmail.el (mail-encode-mml): Add a defvar.
3171 (rmail-enable-mime-composing): Default to t.
3172 (rmail-forward): Use MIME method of forwarding only if both
3173 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3174 Set mail-encode-mml non-nil if the MIME method was used.
3175
3176 * mail/sendmail.el (mml-to-mime): Add autoload form.
3177 (mail-encode-mml): Add a defvar.
3178 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3179 to nil.
3180 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3181 message through mml-to-mime, and reset mail-encode-mml to nil.
3182
28c45130
GM
31832011-09-09 Glenn Morris <rgm@gnu.org>
3184
3185 * woman.el (woman-if-body): When processing an .el block,
3186 do not delete the next .el block as well. (Bug#9447)
69f4b618 3187 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3188
9b1c252e
MR
31892011-09-08 Martin Rudalics <rudalics@gmx.at>
3190
3191 * window.el (window-deletable-p): Make sure window is live before
3192 invoking window-prev-buffers.
3193
567457e3
LL
31942011-09-08 Leo Liu <sdl.web@gmail.com>
3195
3196 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3197
97f05794
JL
31982011-09-08 Juri Linkov <juri@jurta.org>
3199
3200 * progmodes/compile.el (compilation-environment): Make it
3201 a defcustom (bug#8340).
3202
8b0874b5
MR
32032011-09-08 Martin Rudalics <rudalics@gmx.at>
3204
3205 * window.el (frame-auto-delete): Rename to window-auto-delete.
3206 Make it control auto-deletion of windows and/or frames.
3207 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3208 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3209 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3210 Rewrite handling of case when window/frame can be deleted.
3211 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3212 argument t. (Bug#9456)
8b0874b5 3213
4feb6e73
CY
32142011-09-07 Chong Yidong <cyd@stupidchicken.com>
3215
3216 * help-mode.el (help-mode): Restore autoload.
3217
91ab9c13
JL
32182011-09-07 Juri Linkov <juri@jurta.org>
3219
3220 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3221 `compilation-environment'. Set buffer-local
3222 `compilation-environment' to `thisenv' later after (funcall mode).
3223 (Bug#8340)
3224
3225 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3226 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3227 instead of replacing its value. (Bug#8340)
3228
0527e251
JL
32292011-09-07 Juri Linkov <juri@jurta.org>
3230
3231 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3232 based on text properties put by `grep-filter' instead of matching
3233 escape sequences.
3234 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3235 to the value of `grep-error-screen-columns' (bug#9438).
3236
249f792c
JL
32372011-09-07 Juri Linkov <juri@jurta.org>
3238
3239 * simple.el (next-error-highlight, next-error-highlight-no-select):
3240 Doc fix (bug#9432).
3241
ff7271b9
OT
32422011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3243
3244 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3245 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3246
183fc730
LL
32472011-09-07 Leo Liu <sdl.web@gmail.com>
3248
3249 * net/rcirc.el (rcirc-mode): Conditionally initialize
3250 rcirc-input-ring.
3251
77694924
SM
32522011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 * emacs-lisp/find-func.el (find-function-C-source): Only set
3255 find-function-C-source-directory after checking that we found a source
3256 file there (bug#9440).
3257
d809b8eb
AM
32582011-09-06 Alan Mackenzie <acm@muc.de>
3259
3260 * isearch.el (isearch-other-meta-char): Wherever a key list is
3261 unread, "unread" the prefix arg, too. This fixes bug #8901.
3262
453de99f
OG
32632011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3264
3265 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3266
90439906
JL
32672011-09-05 Juri Linkov <juri@jurta.org>
3268
3269 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3270
f62bd846
JL
32712011-09-05 Juri Linkov <juri@jurta.org>
3272
3273 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3274 keeping point where processing of grep matches begins, and
3275 continue to delete remaining escape sequences from the same point.
3276 (grep-filter): Make leading zero optional in "0?1;31m" because
3277 git-grep emits "\033[1;31m" escape sequences unlike expected
3278 "\033[01;31m" as GNU Grep does (bug#9408).
3279 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3280
045820ec
JL
32812011-09-05 Juri Linkov <juri@jurta.org>
3282
3283 * subr.el (y-or-n-p): Capitalize "yes".
3284
f5e29b9b
MA
32852011-09-04 Michael Albinus <michael.albinus@gmx.de>
3286
3287 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3288 `tramp-cache-unload-hook' where appropriate.
3289 (tramp-methods): Rename `tramp-remote-sh' to
3290 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3291 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3292
3293 * net/tramp-sh.el (top): Don't require 'shell.
3294 (tramp-methods): Add `tramp-remote-shell' and
3295 `tramp-remote-shell-args' entries.
3296 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3297 (tramp-sh-handle-shell-command): Remove.
3298 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3299 Use `tramp-remote-shell'.
3300
2784c434
CY
33012011-09-03 Chong Yidong <cyd@stupidchicken.com>
3302
393a301e 3303 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3304 (sendmail-query-once): Save directly to send-mail-function.
3305 Update message-send-mail-function too.
3306
3307 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3308
464cdf56
CS
33092011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3310
3311 * progmodes/python.el (python-mode-map): Use correct function to
3312 start python interpreter from menu-bar (as reported by Geert
3313 Kloosterman).
3314 (inferior-python-mode-map): Fix typo.
393a301e 3315 (python-shell-map): Remove.
464cdf56 3316
d37e5c87
DD
33172011-09-03 Deniz Dogan <deniz@dogan.se>
3318
3319 * net/rcirc.el (rcirc-print): Simplify code for
3320 rcirc-scroll-show-maximum-output. There is no need to walk
3321 through all windows to find the right one.
3322
f3ada0ee
CS
33232011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3324
3325 * help.el (help-return-method): Doc fix.
3326
1f3c99ca
MR
33272011-09-03 Martin Rudalics <rudalics@gmx.at>
3328
3329 * window.el (window-deletable-p): Don't return a non-nil value
3330 when there's a buffer that was shown in the window before.
3331 (Bug#9419)
393a301e
SM
3332 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3333 Set window's previous buffers to nil.
1f3c99ca 3334
a3cf097f
EZ
33352011-09-03 Eli Zaretskii <eliz@gnu.org>
3336
3337 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3338 newline before and after the tag line, so it doesn't interfere
3339 with determining the paragraph direction of bidirectional text.
3340
3d03de90
LL
33412011-09-03 Leo Liu <sdl.web@gmail.com>
3342
3343 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3344
c3313451
CY
33452011-09-02 Chong Yidong <cyd@stupidchicken.com>
3346
393a301e 3347 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3348 (pop-to-buffer): Change interactive spec. Pass second argument
3349 directly to display-buffer.
3350 (display-buffer): Fix interactive spec. Use functionp to
3351 distinguish between a function and a list of functions.
3352
3353 * abbrev.el (edit-abbrevs):
3354 * arc-mode.el (archive-extract):
3355 * autoinsert.el (auto-insert):
3356 * bookmark.el (bookmark-bmenu-list):
3357 * files.el (find-file):
3358 * view.el (view-buffer):
3359 * progmodes/compile.el (compilation-goto-locus):
3360 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3361
89894cd8
CY
33622011-09-02 Chong Yidong <cyd@stupidchicken.com>
3363
3364 * window.el (display-buffer-alist): Doc fix.
3365 (display-buffer): Add docstring. Don't treat
3366 display-buffer-default specially.
3367 (display-buffer-reuse-selected-window)
3368 (display-buffer-same-window, display-buffer-maybe-same-window)
3369 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3370 (display-buffer-pop-up-window)
3371 (display-buffer-reuse-or-pop-window)
3372 (display-buffer-use-some-window): New functions.
3373 (display-buffer-default-action): Use them.
393a301e 3374 (display-buffer-default): Delete.
89894cd8
CY
3375 (pop-to-buffer-1): Fix choice of actions.
3376
ae0bc9fb
SM
33772011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3378
3379 * minibuffer.el (completion--insert-strings): Don't get confused by
3380 completion entries that end with an LF char.
3381
e9d90883
EZ
33822011-09-01 Eli Zaretskii <eliz@gnu.org>
3383
3384 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3385
437014c8
CY
33862011-09-01 Chong Yidong <cyd@stupidchicken.com>
3387
3388 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3389 (display-buffer-same-window, display-buffer-other-window):
3390 New functions.
437014c8
CY
3391 (pop-to-buffer-1): New function. Use the above.
3392 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3393 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3394
3395 * view.el (view-buffer-other-window, view-buffer-other-frame):
3396 Just use pop-to-buffer.
3397
a5e063d5
TV
33982011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3399
3400 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3401
793d32bb
WH
34022011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3403
3404 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3405
d65e4c15
RS
34062011-08-31 Richard Stallman <rms@gnu.org>
3407
3408 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3409 of the separation of rmail-view-buffer from rmail-buffer.
3410 If you say no to "replace original", the decrypt is in the
3411 view buffer. If you say yes, the decrypt goes into the
3412 rmail buffer also.
3413
f818cd2a
MR
34142011-08-31 Martin Rudalics <rudalics@gmx.at>
3415
3416 * window.el (display-buffer-window): Rewrite doc-string.
3417 (display-buffer-record-window): New function.
3418 (display-buffer-macro-specifiers)
3419 (display-buffer-even-window-sizes, display-buffer-set-height)
3420 (display-buffer-set-width, display-buffer-in-window)
3421 (display-buffer-reuse-window, display-buffer-split-specifiers)
3422 (display-buffer-side-specifiers, display-buffer-split-window-1)
3423 (display-buffer-split-window, display-buffer-split-atom-window)
3424 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3425 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3426 (display-buffer-other-window-means-other-frame)
3427 (display-buffer-normalize-special)
3428 (display-buffer-normalize-default)
3429 (display-buffer-normalize-argument)
3430 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3431 (display-buffer-normalize-specifiers, display-buffer-frame)
3432 (display-buffer-same-window, display-buffer-same-frame)
3433 (display-buffer-other-window)
3434 (display-buffer-same-frame-other-window)
3435 (display-buffer-other-frame, pop-to-buffer-same-window)
3436 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3437 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3438 (switch-to-buffer-same-frame)
3439 (switch-to-buffer-other-window-same-frame)
3440 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3441 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3442 (display-buffer-alist-set): Remove.
3443 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3444 (special-display-regexps, special-display-function):
3445 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3446 parameter.
3447 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3448 (special-display-frame-alist, special-display-popup-frame)
3449 (same-window-buffer-names, same-window-regexps, same-window-p)
3450 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3451 (split-window-preferred-function, split-height-threshold)
3452 (split-width-threshold, window-splittable-p)
3453 (split-window-sensibly, window--try-to-split-window)
3454 (window--frame-usable-p, even-window-heights)
3455 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3456 (window--display-buffer-2, display-buffer-other-frame):
3457 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3458 (display-buffer-default, display-buffer-assq-regexp): New functions.
3459 (display-buffer-alist): Rewrite doc-string.
3460 (display-buffer-default-action)
3461 (display-buffer-overriding-action): New variables.
3462 (display-buffer, switch-to-buffer): Rewrite.
3463 (pop-to-buffer): Restore Emacs 23 behavior but use
3464 window-normalize-buffer-to-display.
3465 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3466 Restore Emacs 23 behavior but use
3467 window-normalize-buffer-to-switch-to.
3468 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3469 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3470 Rewrite using Emacs 23 options.
f818cd2a 3471
5bc3b51d
MA
34722011-08-31 Michael Albinus <michael.albinus@gmx.de>
3473
3474 * net/tramp.el (tramp-root-regexp): Remove.
3475 (tramp-completion-file-name-regexp-unified)
3476 (tramp-completion-file-name-regexp-separate)
3477 (tramp-completion-file-name-regexp-url): Don't use leading volume
3478 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3479 (tramp-drop-volume-letter): Simplify definition.
3480 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3481
b1a4f8e1
SM
34822011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3485 (bug#9356).
3486
5664fa7b
RT
34872011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3488
b1a4f8e1 3489 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3490
9a45d6c3
JL
34912011-08-29 Juri Linkov <juri@jurta.org>
3492
3493 * isearch.el (isearch-done): Don't display message "Mark saved"
3494 when arg `edit' is non-nil to prevent its flicker in the echo area.
3495
fb87e0fb
CY
34962011-08-28 Chong Yidong <cyd@stupidchicken.com>
3497
3498 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3499 obsolete packages for deletion.
3500
09ac1c2a
CS
35012011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3502
3503 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3504 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3505 view-mode from help-mode.
3506 (help-xref-override-view-map): Remove.
3507 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3508 view-mode is not used anymore.
3509
7a1ff57f
CY
35102011-08-28 Chong Yidong <cyd@stupidchicken.com>
3511
3512 * server.el (server-port): Doc fix.
3513
b9696605
CY
3514 * cus-theme.el (custom-theme-choose-mode): Inherit from
3515 special-mode (Bug#9124).
3516 (custom-theme-choose-mode-map): Add special-mode to parent.
3517
ef8cdf8c
AM
35182011-08-28 Alan Mackenzie <acm@muc.de>
3519
3520 * progmodes/cc-fonts.el
3521 (c-make-font-lock-BO-decl-search-function): New function.
3522 (c-basic-matchers-after - "Fontify the clauses after various
3523 keywords"): Extract the three keyword lists for the 3 erroneous
3524 constructs from the list of four, and use the new function above
3525 in place of an old one.
3526
27de4e20
DD
35272011-08-28 Deniz Dogan <deniz@dogan.se>
3528
3529 * net/rcirc.el (rcirc-insert-prev-input)
3530 (rcirc-insert-next-input): Remove unused argument.
3531
356a3681
SM
35322011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3535
3fc9b218
AM
35362011-08-27 Alan Mackenzie <acm@muc.de>
3537
3538 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3539 handle function pointer parameters properly.
3540
538a061c
MR
35412011-08-27 Martin Rudalics <rudalics@gmx.at>
3542
3543 * window.el (display-buffer-reuse-window): Fix case where
3544 selected window was reused with non-nil OTHER-WINDOW argument.
3545 (Bug#9381)
3546
35b1c40c
DD
35472011-08-27 Deniz Dogan <deniz@dogan.se>
3548
3549 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3550 oftc's NickServ messages.
3551
2f6a3e79
GM
35522011-08-27 Glenn Morris <rgm@gnu.org>
3553
3554 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3555
7254299e
CY
35562011-08-26 Chong Yidong <cyd@stupidchicken.com>
3557
3558 * emacs-lisp/package.el (package-install): Call package-initialize
3559 if called interactively.
3560
f8ccf167
LL
35612011-08-26 Leo Liu <sdl.web@gmail.com>
3562
3563 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3564
3e8cd5ce
JL
35652011-08-25 Juri Linkov <juri@jurta.org>
3566
3567 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3568 `search-whitespace-regexp' (bug#9364).
3569
93eb7113
JL
35702011-08-25 Juri Linkov <juri@jurta.org>
3571
3572 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3573 `regexp-search-ring' to their global values to protect from
3574 updating by `read-from-minibuffer' (bug#9185).
3575
f65d1611
JL
35762011-08-25 Juri Linkov <juri@jurta.org>
3577
3578 * textmodes/ispell.el (ispell-command-loop): Add newline
3579 at the end of the "Use option `i'..." line.
3580
f1cf7a31
JL
35812011-08-25 Juri Linkov <juri@jurta.org>
3582
3583 * battery.el (display-battery-mode): If `battery-status-function'
3584 or `battery-mode-line-format' is nil, display the message and set
3585 `display-battery-mode' to nil (bug#9363).
3586
0c95fcf7
EZ
35872011-08-25 Eli Zaretskii <eliz@gnu.org>
3588
3589 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3590 bidi-string-mark-left-to-right; they are unnecessary now.
3591
a2ebe600
DD
35922011-08-25 Deniz Dogan <deniz@dogan.se>
3593
3594 * net/quickurl.el: Documentation typo fixes.
3595
e4ed06f1
CY
35962011-08-25 Chong Yidong <cyd@stupidchicken.com>
3597
3598 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3599
e5f1c99e
GM
36002011-08-25 Glenn Morris <rgm@gnu.org>
3601
b2948976
GM
3602 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3603
e5f1c99e
GM
3604 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3605 (smtpmail-via-smtp): Handle nil response from smtp.
3606
f22f4808
JL
36072011-08-24 Juri Linkov <juri@jurta.org>
3608
3609 * proced.el (proced-marked): Inherit from `error' instead of
3610 `font-lock-warning-face'.
3611
3612 * ibuffer.el (ibuffer-marked-face): Change default face from
3613 `font-lock-warning-face' to `warning'.
3614 (ibuffer-deletion-face): Change default face from
3615 `font-lock-type-face' to `error'.
3616
3617 * battery.el (battery-update): Use the face `error' instead of
3618 `font-lock-warning-face' (bug#6117).
3619
6a93965e
JL
36202011-08-24 Juri Linkov <juri@jurta.org>
3621
3622 * faces.el (success): Change face color from "Green3" to
3623 "ForestGreen" on light background (bug#9353).
3624
1ed43b09
CY
36252011-08-24 Chong Yidong <cyd@stupidchicken.com>
3626
5664fa7b
RT
3627 * window.el (quit-window): Rename from quit-restore-window.
3628 Use same arglist as old quit-window.
1ed43b09
CY
3629 (frame-auto-delete): Doc fix.
3630
3631 * view.el (view-mode-exit): Use quit-window.
3632
11dcdbb2
JL
36332011-08-24 Juri Linkov <juri@jurta.org>
3634
3635 * isearch.el (isearch-ring-adjust1): Start visiting previous
3636 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3637 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3638 for empty search string (when the last search string is reused
3639 automatically) to adjust the isearch ring to the last element and
3640 prepare the correct index for further M-p commands (bug#9185).
3641
de62b4df
KH
36422011-08-24 Kenichi Handa <handa@m17n.org>
3643
3644 * international/ucs-normalize.el: If decomposition property of
3645 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3646 nil.
3647 (nfd, nfkd): Likewise.
3648
963b492b
SM
36492011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3652 from process filters aren't reliably transmitted to the surrounding
3653 accept-process-output.
3654 (mpc-proc-check): New function.
3655 (mpc-proc-sync): Use it (bug#8293)
3656
93b6b5e1
SM
36572011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3660 Add compatibility functions (bug#9313).
3661
bca633fb
EZ
36622011-08-23 Eli Zaretskii <eliz@gnu.org>
3663
b177498a
EZ
3664 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3665
bca633fb
EZ
3666 * international/uni-bidi.el: Regenerated.
3667
0902a04e
KH
36682011-08-23 Kenichi Handa <handa@m17n.org>
3669
3670 * international/charprop.el:
3671 * international/uni-bidi.el:
3672 * international/uni-category.el:
3673 * international/uni-combining.el:
3674 * international/uni-comment.el:
3675 * international/uni-decimal.el:
3676 * international/uni-decomposition.el:
3677 * international/uni-digit.el:
3678 * international/uni-lowercase.el:
3679 * international/uni-mirrored.el:
3680 * international/uni-name.el:
3681 * international/uni-numeric.el:
3682 * international/uni-old-name.el:
3683 * international/uni-titlecase.el:
3684 * international/uni-uppercase.el: Regenerate.
3685
3bbf23bc
MR
36862011-08-23 Martin Rudalics <rudalics@gmx.at>
3687
3688 * help.el (help-window-setup): Fix message displayed when other
3689 window is reused. (Bug#9341)
3690
b3fd59bd
SM
36912011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3692
1802e444
SM
3693 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3694 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3695
b3fd59bd
SM
3696 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3697 Mark obsolete.
3698 * shell.el (shell-parse-pcomplete-arguments): New function.
3699 (shell-completion-vars): Use it instead (bug#9160).
3700
4eb61348
SM
37012011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3702
867cab74
SM
3703 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3704 strings and comments (bug#9333).
3705
4eb61348
SM
3706 * emacs-lisp/debug.el (debug-arglist): New function.
3707 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3708 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3709
262a1439
JL
37102011-08-22 Juri Linkov <juri@jurta.org>
3711
56ee679c
JL
3712 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3713 Revert regexp that highlights output switches to its old
3714 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3715
262a1439
JL
3716 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3717 to check for empty output (bug#9226).
3718
f13f86fb
CY
37192011-08-22 Chong Yidong <cyd@stupidchicken.com>
3720
3721 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3722 symbol-constituent as the default, as that stops font-lock from
3723 working properly (Bug#8843).
3724
c65c9622
LMI
37252011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3726
3727 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3728 `coding-system-for-*' around the process open call to avoid
3729 auth-source side effects.
e7f2c178 3730 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3731 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3732 probe hangs.
c65c9622 3733
23a8a5ab
CY
37342011-08-21 Chong Yidong <cyd@stupidchicken.com>
3735
ff98b2dd
CY
3736 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3737
23a8a5ab
CY
3738 * emacs-lisp/find-func.el (find-function-noselect): New arg
3739 lisp-only.
3740
3741 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3742 signal an error for built-in functions (Bug#6664).
3743
f5e3c598
LMI
37442011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3745
3746 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3747 (smtpmail-try-auth-methods): Use it.
3748
a3f2468a
CY
37492011-08-21 Chong Yidong <cyd@stupidchicken.com>
3750
2c34e8da
CY
3751 * font-lock.el (font-lock-fontify-region)
3752 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3753 (font-lock-default-unfontify-buffer)
3754 (font-lock-default-fontify-region)
3755 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3756
b3fd59bd
SM
3757 * progmodes/compile.el (compilation-error-properties):
3758 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3759 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3760 `ant' regexp.
ee31aabc 3761
a3f2468a
CY
3762 * net/browse-url.el (browse-url-firefox): Don't call
3763 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3764
8e999f70
GM
37652011-08-20 Glenn Morris <rgm@gnu.org>
3766
c21a496a
GM
3767 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3768
59ee0542
GM
3769 * tutorial.el (tutorial--default-keys): Update some default bindings.
3770
8e999f70
GM
3771 * files.el (hack-local-variables): Fully ignore case for "mode:".
3772
e3715033
AM
37732011-08-20 Alan Mackenzie <acm@muc.de>
3774
3775 Resolve invalid use of a regexp in regexp-opt.
3776
4d61f28d
JB
3777 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3778 detection for a java annotation.
e3715033 3779
4d61f28d 3780 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3781 detection for a java annotation.
3782
4d61f28d
JB
3783 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3784 handling for java.
e3715033
AM
3785 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3786
04ed2e9c
CY
37872011-08-20 Chong Yidong <cyd@stupidchicken.com>
3788
3789 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3790 (Bug#9274).
3791
826cee64
AM
37922011-08-20 Alan Mackenzie <acm@muc.de>
3793
58179cce 3794 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3795 such a construct. Mainly for when jit-lock etc. starts a chunk
3796 here.
3797
58179cce 3798 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3799 variable.
58179cce 3800 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3801 c-make-font-lock-search-function.
3802 (c-make-font-lock-search-function): Use the above function.
3803 (c-make-font-lock-context-search-function): New function.
3804 (c-cpp-matchers): Enhance the preprocessor expression case with
3805 the above function
3806 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3807 which takes an expression.
3808
3809 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3810
13009bd8
MR
38112011-08-20 Martin Rudalics <rudalics@gmx.at>
3812
3813 * window.el (display-buffer-reuse-window)
3814 (display-buffer-pop-up-window): Don't reuse or split a side
3815 window.
3816
9234ff7f
GM
38172011-08-19 Glenn Morris <rgm@gnu.org>
3818
3819 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3820 Downcase "Mode:". (Bug#9331)
9234ff7f 3821
f635daa1
CY
38222011-08-18 Chong Yidong <cyd@stupidchicken.com>
3823
3824 * international/characters.el: Add L and R categories.
3825
3826 * subr.el (bidi-string-mark-left-to-right): Rename from
3827 string-mark-left-to-right. Use category search.
3828
3829 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3830
bc987f8b
JL
38312011-08-18 Juri Linkov <juri@jurta.org>
3832
3833 * faces.el (error, warning, success): New faces with definitions
3834 copied from old default values of `font-lock-warning-face',
3835 `compilation-warning', `compilation-info' (bug#6117).
3836
3837 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3838
3839 * progmodes/compile.el (compilation-error): Inherit from `error'.
3840 (compilation-warning): Inherit from `warning'.
3841 (compilation-info): Inherit from `success'.
3842
3843 * dired.el (dired-marked): Inherit from `warning'.
3844 (dired-flagged): Inherit from `error'.
3845
57173b96
LMI
38462011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3847
3e79eb87
LMI
3848 * mail/smtpmail.el (auth-source): Require to avoid problems with
3849 binding variables (bug#9298). Also clean up some unused
3850 autoloads.
3851
b3fd59bd
SM
3852 * net/network-stream.el (network-stream-open-starttls):
3853 Support using starttls.el without using gnutls-cli.
57173b96 3854
02b404de
JL
38552011-08-17 Juri Linkov <juri@jurta.org>
3856
3857 * progmodes/grep.el (rgrep): Handle the case when
3858 `grep-find-command' is a cons cell (bug#9278).
3859
8c9177f2
MR
38602011-08-17 Martin Rudalics <rudalics@gmx.at>
3861
3862 * window.el (display-buffer-pop-up-frame): Run frame creation
3863 function with BUFFER current (as special-display-popup-frame
3864 does). Reported by Drew Adams.
3865
3644a0ab
DU
38662011-08-17 Daiki Ueno <ueno@unixuser.org>
3867
3868 * epa-mail.el: Simplify GnuPG group expansion using
3869 epg-expand-group.
3870 (epa-mail-group-alist, epa-mail-group-modtime)
3871 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3872 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3873 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3874 Remove.
3875
5e617bc2 38762011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
3877
3878 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3879
9c4aeabf
AM
38802011-08-16 Alan Mackenzie <acm@muc.de>
3881
3882 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3883 Correct, to avoid the inside of macros.
3884
3a99bf64
RS
38852011-08-16 Richard Stallman <rms@gnu.org>
3886
04963aa8
RS
3887 * epa-mail.el: Handle GnuPG group definitions.
3888 (epa-mail-group-alist, epa-mail-group-modtime)
3889 (epa-mail-gnupg-conf-file): New variables.
3890 (epa-mail-parse-groups, epa-mail-sync-groups)
3891 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3892 (epa-mail-expand-recipients): New functions.
3893 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3894
177549d0
RS
3895 * mail/rmail.el (rmail-epa-decrypt): New command.
3896
fe38beef
RS
3897 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3898 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
3899 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3900 (epa-decrypt-armor-in-region): Make error message clearer.
3901
934eacb9
SM
39022011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3905 and "a2b" to "ab" for `prefix'.
3906
d024fb4e
CY
39072011-08-14 Chong Yidong <cyd@stupidchicken.com>
3908
3909 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3910 filter groups.
de148fee
CY
3911 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3912 Fourquet (Bug#8804).
d024fb4e 3913
62f1ca49
JB
39142011-08-12 Juanma Barranquero <lekktu@gmail.com>
3915
3916 * startup.el (argi): Declare as global variable (bug#9275).
3917
9ccaaa4b
CY
39182011-08-12 Chong Yidong <cyd@stupidchicken.com>
3919
3920 * subr.el (string-mark-left-to-right): Search the entire string
3921 for RTL script, not just the terminating character. Doc fix.
3922
a3dae87a
SM
39232011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3924
6cd18349
SM
3925 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3926 New function.
3927 (js--regexp-literal, js-syntax-propertize-function): Remove.
3928 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3929 (js-mode-map): Don't rebind electric keys.
3930 (js-insert-and-indent): Remove.
3931 (js-mode): Setup electric-layout and electric-indent instead.
3932
a3dae87a
SM
3933 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3934
9d5cb631
DU
39352011-08-12 Daiki Ueno <ueno@unixuser.org>
3936
3937 * epa.el (epa-progress-callback-function): Fix the logic of
3938 displaying progress.
3939 * epa-file.el (epa-file-insert-file-contents): Make progress
3940 display more user-friendly.
3941 (epa-file-write-region): Ditto.
3942
3e26a4a2
CY
39432011-08-10 Chong Yidong <cyd@stupidchicken.com>
3944
3945 * subr.el (string-mark-left-to-right): New function.
3946
3947 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3948 Use string-mark-left-to-right.
3949 (list-buffers-noselect): Caller changed.
3950
a3dae87a
SM
3951 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3952 Use string-mark-left-to-right.
3e26a4a2
CY
3953 (tabulated-list-print): Recenter after moving point.
3954
ac8cf6e6
JL
39552011-08-10 Juri Linkov <juri@jurta.org>
3956
3957 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3958 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3959 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3960
8d96c9a4
CY
39612011-08-09 Chong Yidong <cyd@stupidchicken.com>
3962
3963 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3964 (Bug#7554).
3965
7be1c708 39662011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
3967
3968 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3969 character. (Bug#6594)
3970
37e11a63
CY
39712011-08-08 Chong Yidong <cyd@stupidchicken.com>
3972
839dde57
CY
3973 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3974 (image-dired--with-db-file): New macro.
3975 (image-dired-write-tags, image-dired-remove-tag)
3976 (image-dired-create-gallery-lists, image-dired-write-comments)
3977 (image-dired-get-comment, image-dired-mark-tagged-files)
3978 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3979 (image-dired-gallery-generate): Use insert-file-contents.
3980
37e11a63
CY
3981 * time.el (display-time-world-list, display-time-world-display):
3982 * time-stamp.el (time-stamp-string):
3983 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3984 set-time-zone-rule (Bug#7337).
3985
0b4946c4
DU
39862011-08-08 Daiki Ueno <ueno@unixuser.org>
3987
3988 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3989 (epg-error-to-string, epg-errors-to-string): New function.
3990 (epg-wait-for-completion): Reverse errors list.
3991 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3992 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3993 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3994 (epg-sign-keys, epg-generate-key-from-file)
3995 (epg-generate-key-from-string): Format errors by using
3996 epg-errors-to-string (bug#9255).
3997 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3998
75bfc667
JL
39992011-08-07 Juri Linkov <juri@jurta.org>
4000
4001 * faces.el (list-faces-display): Remove extra angle bracket
4002 from `help-mode-map'.
4003
4004 * info.el (Info-history-toc-nodes): Doc fix.
4005
4006 * longlines.el (longlines-mode): Doc fix.
4007
673e08bb
SM
40082011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4640dd88
SM
4010 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4011 of statements and in a few more cases (bug#9183).
4012
673e08bb
SM
4013 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4014 New functions.
4015 (cl-transform-lambda): Use them (bug#9239).
4016
89b3f019
MR
40172011-08-05 Martin Rudalics <rudalics@gmx.at>
4018
4019 * window.el (display-buffer-same-window)
4020 (display-buffer-same-frame, display-buffer-other-window)
4021 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4022 (pop-to-buffer-other-window)
4023 (pop-to-buffer-same-frame-other-window)
4024 (pop-to-buffer-other-frame): Make them defuns.
4025 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4026
640c8776
SM
40272011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * subr.el (make-composed-keymap): Move from C. Change calling
4030 convention, and improve docstring to bring attention to a subtle point.
4031 * minibuffer.el (completing-read-default): Adjust accordingly.
4032
63648a95
MA
40332011-08-03 Michael Albinus <michael.albinus@gmx.de>
4034
4035 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4036 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4037
4038 * net/trampver.el: Update release number.
4039
b796c9b7
SM
40402011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4041
4042 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4043 "in" (bug#9190).
4044
2239d7d5
LMI
40452011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4046
e07dd7c3
LMI
4047 * mail/sendmail.el (sendmail-query-once): Restore the current
4048 buffer after querying (bug#9074).
4049
0e6a2bd7
LMI
4050 * dired.el (dired-flagged): Use different faces for marked and
4051 flagged files (bug#6117).
4052
ce887515
LMI
4053 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4054 (bug#4433).
4055
92f2affc
LMI
4056 * ido.el (ido-mode): Switch off the message if called
4057 non-interactively.
4058
57d5aff0
LMI
4059 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4060 before 587, since it appears that that's more likely to work for
4061 more people.
4062
98cd6c18 4063 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4064 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4065 exist.
4066
b96dec83
LMI
4067 * info.el: Remove the `Info-beginning-of-buffer' function
4068 (bug#8325).
4069
b796c9b7
SM
4070 * net/network-stream.el (network-stream-open-starttls):
4071 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4072
d90e2ea0
MR
40732011-08-01 Martin Rudalics <rudalics@gmx.at>
4074
4075 * window.el (display-buffer-in-window): Don't set dedicated status
4076 of window here (Bug#9215).
4077 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4078 (display-buffer-pop-up-side-window)
b796c9b7 4079 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4080
cca09170
SM
40812011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4084 before binding generated-autoload-file.
4085
027b979c
DD
40862011-08-01 Deniz Dogan <deniz@dogan.se>
4087
4088 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4089
3c7ee4f3
MA
40902011-07-30 Michael Albinus <michael.albinus@gmx.de>
4091
4092 Sync with Tramp 2.2.2.
4093
4094 * net/trampver.el: Update release number.
4095
2cc8e51a
JL
40962011-07-30 Juri Linkov <juri@jurta.org>
4097
4098 * dired-aux.el (dired-touch-initial): Remove function.
4099 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4100 current time, and `default' to the last modification time of the
4101 current marked file (bug#6887).
4102
a514d856
JM
41032011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4104
4105 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4106 numeric argument to read-number (bug#9163).
a514d856 4107
8a7eddd7
MA
41082011-07-27 Michael Albinus <michael.albinus@gmx.de>
4109
4110 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4111 connection process, it could be nil.
4112
1ddd96f5
LL
41132011-07-27 Leo Liu <sdl.web@gmail.com>
4114
4115 Simplify url handling in rcirc-mode.
4116
4117 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4118 (rcirc-browse-url-at-mouse): Remove.
4119 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4120
b248a85d
AM
41212011-07-26 Alan Mackenzie <acm@muc.de>
4122
4123 Fontify bitfield declarations properly.
4124
4125 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4126 (c-symbol-chars): Now exported as a lang variable.
4127 (c-not-primitive-type-keywords): New lang variable.
4128
4129 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4130 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4131 parsed as a bitfield declaration.
b248a85d 4132
b796c9b7
SM
4133 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4134 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4135 (c-punctuation-in): New function.
4136 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4137 declarations properly.
4138
68575ab0
UJ
41392011-07-26 Ulf Jasper <ulf.jasper@web.de>
4140
4141 * calendar/icalendar.el (icalendar--all-events): Take care of
4142 multiple vcalendars in a single file.
b796c9b7 4143 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4144
0f0a88b9
DD
41452011-07-25 Deniz Dogan <deniz@dogan.se>
4146
4147 * image.el (insert-image): Clarifying docstring.
4148
0b3f36df
MA
41492011-07-24 Michael Albinus <michael.albinus@gmx.de>
4150
4151 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4152 `tramp-send-command-and-check' if there is no error.
4153 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4154
a9901f61
AM
41552011-07-22 Alan Mackenzie <acm@muc.de>
4156
4157 Prevent cc-langs.elc being loaded at run time.
4158
4159 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4160 cc-langs.
4161
4d61f28d 4162 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4163 "(require 'cc-langs)". Quote a form so it will evaluate at
4164 (cc-mode's) compilation time.
4165
11d074b2
MA
41662011-07-22 Michael Albinus <michael.albinus@gmx.de>
4167
4168 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4169 loading. (Bug#9114)
4170
938b94c8
MR
41712011-07-21 Martin Rudalics <rudalics@gmx.at>
4172
4173 * window.el (display-buffer-pop-up-window)
4174 (display-buffer-pop-up-side-window)
4175 (display-buffer-in-side-window): Call display-buffer-set-height
4176 and display-buffer-set-width after setting the new window's
b796c9b7 4177 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4178
bfa4f190
SS
41792011-07-20 Sam Steingold <sds@gnu.org>
4180
4181 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4182 (etags-tags-included-tables): Call `convert-standard-filename' on
4183 the file names contained in TAGS so that windows Emacs can handle
4184 TAGS files created by cygwin ctags.
4185
8ca42262
LMI
41862011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4187
4188 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4189 which apparently didn't work.
4190
5db2afd2 41912011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4192
5db2afd2
RW
4193 * proced.el (proced-send-signal): For *Marked Processes* buffer
4194 put point at beginning of buffer.
4195
92e15d10
SB
41962011-07-19 Stephen Berman <stephen.berman@gmx.net>
4197
4198 * proced.el (proced-format): Make header lines align with the text
4199 (bug#1779).
4200
1bfd59e5
LMI
42012011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4202
4203 * view.el (view-buffer): Allow running in `special' modes if we're
4204 visiting a file (bug#8615).
4205
f5aae37c
MR
42062011-07-19 Martin Rudalics <rudalics@gmx.at>
4207
4208 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4209 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4210 New functions.
f5aae37c
MR
4211 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4212 more accurately.
4213
bf2c1571
AM
42142011-07-18 Alan Mackenzie <acm@muc.de>
4215
4216 Fontify declarators properly when, e.g., a jit-lock chunk begins
4217 inside a declaration.
4218
4219 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4220
b796c9b7
SM
4221 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4222 New function.
bf2c1571
AM
4223 (c-complex-decl-matchers): Insert reference to
4224 c-font-lock-enclosing-decls.
4225
4226 * progmodes/cc-engine.el (c-backward-single-comment):
4227 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4228 to nil around calls to (forward-comment -1).
4229
4e190b80
LMI
42302011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4231
12dc863d
LMI
4232 * image.el (put-image): Doc typo fix.
4233
a762e966
LMI
4234 * progmodes/etags.el (tags-search): Doc typo fix.
4235
4e190b80
LMI
4236 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4237 password if we get errors 550 to 554.
4238
f019fb21
LMI
42392011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4240
b796c9b7 4241 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4242
81746738
LMI
4243 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4244 indentation character (bug#6380).
4245
3ee3a1b5
LMI
4246 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4247
c82f64de
LMI
4248 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4249 to clarify what the problem is (bug#4291).
4250
f019fb21
LMI
4251 * simple.el (current-kill): Clarify what
4252 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4253 (auto-fill-mode): Document `auto-fill-function' in relation to
4254 `auto-fill-mode' (bug#2470).
f019fb21 4255
0794775d
LM
42562011-07-16 Lawrence Mitchell <wence@gmx.li>
4257
4258 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4259 method if slot is read-only (bug#9035).
4260
be39b8cc
MR
42612011-07-16 Martin Rudalics <rudalics@gmx.at>
4262
b796c9b7 4263 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4264 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4265 selected before, see discussion of (Bug#8615), (Bug#6954).
4266 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4267
6ccf7859
GM
42682011-07-15 Glenn Morris <rgm@gnu.org>
4269
4270 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4271 Respect help-form.
6ccf7859 4272
87e86684
LM
42732011-07-09 Lawrence Mitchell <wence@gmx.li>
4274
4275 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4276 (gnutls-negotiate): Use it.
4277
d6066239
LMI
42782011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4279
b796c9b7
SM
4280 * net/gnutls.el (gnutls-negotiate):
4281 Upcase `gnutls-algorithm-priority'.
d6066239 4282
bd23ebc0
GM
42832011-07-15 Glenn Morris <rgm@gnu.org>
4284
c65bca65
GM
4285 * jka-compr.el (jka-compr-verbose): Move from here...
4286 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4287 Add missing :version tag.
4288 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4289
478615cc
LMI
42902011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4291
7b41decb
LMI
4292 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4293 (gnutls-negotiate): Use it.
4294
dbc44fcd
LMI
4295 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4296
06789f97
LMI
4297 * info.el (Info-beginning-of-buffer): New command.
4298 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4299 announcing `b' as the key (bug#8325).
ab896c37 4300 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4301
c39da690
LMI
4302 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4303
3aa5f34b
LMI
4304 * international/mule-cmds.el
4305 (describe-specified-language-support): Make the error message
4306 clearer (bug#8905).
4307
4bf0979f
LMI
4308 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4309
478615cc
LMI
4310 * isearch.el (isearch-barrier): Add a doc string, since it's
4311 mentioned in a function doc string (bug#8678).
4312
75c68aa1
MR
43132011-07-15 Martin Rudalics <rudalics@gmx.at>
4314
4315 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4316 buffer argument (Bug#9083) and self-identifying label argument.
4317
a7c33da2
GM
43182011-07-15 Glenn Morris <rgm@gnu.org>
4319
4320 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4321
2f5c6024
LMI
43222011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4323
4324 * man.el (Man-fontify-manpage): Fix message when formatting the
4325 man page (bug#7929).
4326
0bb23927 43272011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4328
4329 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4330 argument LRM; if non-nil, append an invisible LRM character to the
4331 buffer name.
4332 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4333 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4334 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4335 paragraph direction.
cce4b0a7 4336
621ef9ab
LMI
43372011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4338
d1583c48
LMI
4339 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4340 the man page name (bug#7929).
4341
6a57fb5f
LMI
4342 * image.el (put-image): Mention the `put-image' overlay property
4343 (bug#7834).
4344
d7956b14
LMI
4345 * scroll-bar.el (set-scroll-bar-mode): Mention that
4346 `scroll-bar-mode' lists the values (bug#7772).
4347
5b2d4a66
LMI
4348 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4349 command (bug#7729).
4350
7509a874
LMI
4351 * rect.el (apply-on-rectangle): Return the point after the last
4352 operation.
4353 (string-rectangle): Go to the point after the last operation
4354 (bug#7522).
4355
4fe74b19
LMI
4356 * printing.el (pr-toggle-region): Clarify the documentation
4357 slightly (bug#7493).
4358
b796c9b7
SM
4359 * time.el (display-time-update):
4360 Allow `display-time-mail-function' to return nil (bug#7158).
4361 Fix suggested by Detlev Zundel.
ab283561 4362
fc233c9d
LMI
4363 * vc/diff.el (diff): Clarify the order the file names are read
4364 (bug#7111).
4365
43f5740b
LMI
4366 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4367 the doc string (bug#7015).
4368
f2182a76
LMI
4369 * font-lock.el (font-lock-maximum-decoration): Mention what
4370 numeric levels mean (bug#6935).
4371
621ef9ab
LMI
4372 * startup.el (initial-buffer-choice): Don't mention the `none'
4373 selection, which is against policy.
4374
adc47434
MR
43752011-07-14 Martin Rudalics <rudalics@gmx.at>
4376
b796c9b7
SM
4377 * window.el (display-buffer-normalize-special):
4378 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4379
7e5bfb8f
EZ
43802011-07-14 Eli Zaretskii <eliz@gnu.org>
4381
4382 * subr.el (version<, version<=, version=): Mention "-CVS" and
4383 "-12345" alpha version numbers.
4384
27fa387a
CY
43852011-07-14 Chong Yidong <cyd@stupidchicken.com>
4386
4387 * bindings.el: Add advertised binding for set-mark-command
4388 (Bug#5772).
4389
8bdfa064
CY
43902011-07-14 Chong Yidong <cyd@stupidchicken.com>
4391
4392 * bindings.el (mode-line-other-buffer):
4393 * bookmark.el (bookmark-bmenu-2-window):
4394 * bs.el (bs-cycle-next, bs-cycle-previous):
4395 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4396 switch-to-buffer.
4397
4398 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4399 Delete.
8bdfa064 4400
5eba16a3
JB
44012011-07-14 Juanma Barranquero <lekktu@gmail.com>
4402
4403 * follow.el (follow-debug-message, follow-redisplay):
4404 * jka-cmpr-hook.el (with-auto-compression-mode):
4405 Fix typos in docstrings.
4406
15853710
LMI
44072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4408
a28e4607
LMI
4409 * subr.el (with-silent-modifications): Clarify somewhat what the
4410 macro inhibits (bug#6525).
4411
15853710
LMI
4412 * simple.el (eval-expression): Note what it does if called
4413 interactively (bug#6495).
4414
bee0fcef
CY
44152011-07-13 Chong Yidong <cyd@stupidchicken.com>
4416
b796c9b7
SM
4417 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4418 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4419
4420 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4421 Remove switch-to-buffer.
4422
58274504
LMI
44232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4424
bd2fcc8d
LMI
4425 * files.el (make-directory): Clarify that an error will be raised
4426 if there's an error (bug#6397).
4427
0f04b32c
LMI
4428 * startup.el (initial-buffer-choice): Add `none' as a choice
4429 (bug#6234).
4430
465c5fc8
LMI
4431 * subr.el (add-hook): Clarify section about buffer-local hooks
4432 (bug#6218).
4433
58274504
LMI
4434 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4435
bead9a43
JB
44362011-07-13 Juanma Barranquero <lekktu@gmail.com>
4437
4438 * tabify.el (untabify): Preserve the current column so that point
4439 doesn't move (bug#6032).
4440
3af98a7b
LMI
44412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4442
b796c9b7
SM
4443 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4444 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4445
6240145a
GM
44462011-07-13 Glenn Morris <rgm@gnu.org>
4447
4448 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4449 (dired-insert-directory): Give a message the first time
4450 if ls is found not to support --dired.
4451
1d8c2ccc
LMI
44522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4453
4454 * simple.el (toggle-truncate-lines): Clarify what is toggled
4455 (bug#5580). Text by Drew Adams.
4456
5fc4038e
CY
44572011-07-13 Chong Yidong <cyd@stupidchicken.com>
4458
4459 * simple.el (blink-matching-open): Make the error message from the
4460 last change less verbose.
4461
bf6012e5
DN
44622011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4463
4464 * font-lock.el (font-lock-comment-face): Use the high contrast
4465 "yellow" color for font-lock-comment-face on low color terminals
4466 using a dark background color (bug#4221).
4467
343c3b5a
LMI
44682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4469
7e9505c5
LMI
4470 * dired.el (dired-insert-set-properties): Make the doc string
4471 reflect what it does now (bug#5325).
4472
c26fdcf5
LMI
4473 * simple.el (blink-matching-open): Say that we were unable to find
4474 the match within the limit, if we're limited (bug#5122).
4475
bb388cc5
LMI
4476 * international/mule-cmds.el (prefer-coding-system): Add an
4477 example (bug#4869).
4478
343c3b5a
LMI
4479 * progmodes/etags.el (tags-search): Document `file-list-form'
4480 (bug#4731).
4481
2a517d45
LM
44822011-07-13 Lawrence Mitchell <wence@gmx.li>
4483
4484 * net/browse-url.el (browse-url-default-browser)
4485 (browse-url-browser-function): Make the default browser choice a
4486 bit more logical (bug#4300). Also clean up the doc string.
4487
b6c78ef2
JB
44882011-07-13 Juanma Barranquero <lekktu@gmail.com>
4489
4490 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4491 binary endings (bug#4440).
4492
1c4dd947
LMI
44932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4494
a2014063
LMI
4495 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4496 which can be pretty annoying (bug#8971).
4497
9c9c2d88
LMI
4498 * jka-compr.el (jka-compr-verbose): New variable, and use
4499 throughout (bug#8971).
4500
1c4dd947
LMI
4501 * info.el (Info-find-file): Fall back on the installation
4502 directory if we can't find the info node anywhere else.
4503
a1c9f41b
SO
45042011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4505
4506 * vc/vc.el (vc-revert-file):
4507 Don't set file time-stamp in the past. (Bug#5181)
4508
536f3d36
LMI
45092011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4510
7152b011
LMI
4511 * files.el (after-find-file): Give a better error message when
4512 trying to find a symlink that points to a file that doesn't exist
4513 (bug#4398).
4514
536f3d36
LMI
4515 * progmodes/cc-vars.el: Remove (probably) misleading comment
4516 (bug#4396).
4517
460c0fba
JB
45182011-07-12 Johan Bockgård <bojohan@gnu.org>
4519
4520 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4521
7a6bda45
CY
45222011-07-12 Chong Yidong <cyd@stupidchicken.com>
4523
4524 * mouse-sel.el: Hack restoring functionality, while keeping
4525 compatibility with 2010-07-03 changes to mouse selection.
4526 (mouse-sel-primary-overlay): New var.
4527 (mouse-sel-selection-alist): Use it.
4528 (mouse-sel-mode): Doc fix; remove points that are default features
4529 of mouse.el.
4530
c79598ef
JB
45312011-07-12 Johan Bockgård <bojohan@gnu.org>
4532
4533 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4534 Fix previous fix (bug#2490).
4535
ff8be6ef
RW
45362011-07-12 Roland Winkler <winkler@gnu.org>
4537
b796c9b7
SM
4538 * textmodes/bibtex.el (bibtex-initialize):
4539 Use pop-to-buffer-same-window.
ff8be6ef
RW
4540 (bibtex-search-entries): Fix interactive call.
4541
296ba3ee
LMI
45422011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4543
f5242a02 4544 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4545 Fontise bytecomp Error lines more correctly (bug#2490).
4546 Fix suggested by Johan Bockgård.
f5242a02 4547
296ba3ee
LMI
4548 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4549
4550 * dired-x.el (dired-guess-default): Use `delete-dups'.
4551
f69fd0d2
CY
45522011-07-12 Chong Yidong <cyd@stupidchicken.com>
4553
4554 * dired.el (dired-mark-prompt):
4555 * dired-aux.el (dired-read-shell-command): Doc fix.
4556
eab5dc07
LMI
45572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4558
b796c9b7
SM
4559 * mail/sendmail.el (sendmail-query-once):
4560 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4561 emacs -Q.
4562
4563 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4564
eab5dc07
LMI
4565 * cus-edit.el (custom-file): Take an optional no-error variable.
4566 (customize-save-variable): Set the variable, and give a warning if
4567 running under "emacs -q".
4568
a1e65d42
JB
45692011-07-11 Juanma Barranquero <lekktu@gmail.com>
4570
4571 * loadhist.el (unload-feature-special-hooks):
4572 Add `auto-coding-functions', `fill-nobreak-predicate' and
4573 `find-directory-functions' (bug#5327).
4574
1d52da10
LMI
45752011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4576
be958f1d
LMI
4577 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4578
5bedb26c
LMI
4579 * cus-edit.el (custom-guess-name-alist): -alist variables should
4580 use the `alist' type (bug#3120). Suggested by Drew Adams.
4581
1d52da10
LMI
4582 * printing.el: Add documentation to all the `pr-toggle-' commands.
4583
cd394be1 45842011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4585
4586 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4587 backends where it makes sense (bug#2623).
4588
dcc88d8a
LMI
45892011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4590
c3de9feb
LMI
4591 * dired-x.el (dired-guess-default): Remove duplicate shell command
4592 entries (bug#2028).
8a93078b 4593 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4594 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4595
dcc88d8a
LMI
4596 * subr.el (remove-duplicates): New conveniency function.
4597
505e3645
LMI
45982011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4599
4600 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4601 (bug#1526).
4602
46032011-07-10 Martin Rudalics <rudalics@gmx.at>
4604
4605 * window.el (display-buffer-normalize-default): Don't invert
4606 meaning of even-window-heights. Reported by Eli Zaretskii
4607 <eliz@gnu.org>.
4608
455e4fa1
BR
46092011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4610
4611 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4612
8e0bc3e9
CY
46132011-07-10 Chong Yidong <cyd@stupidchicken.com>
4614
4615 * window.el (display-buffer): Fix arguments to
4616 display-buffer-reuse-window in last change.
4617
fa7c3228
CY
4618 * faces.el (link): Use a less saturated blue on light backgrounds.
4619
4620 * startup.el (fancy-startup-text, fancy-about-text)
4621 (fancy-startup-tail): Use font-lock faces, for background safety.
4622
c0a7f300
BN
46232011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4624
b796c9b7
SM
4625 * emulation/viper-cmd.el (viper-change-state-to-vi):
4626 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4627
4dc2a129
MR
46282011-07-09 Martin Rudalics <rudalics@gmx.at>
4629
4630 * window.el (display-buffer-default-specifiers): Remove.
4631 (display-buffer-macro-specifiers): Remove default specifiers.
4632 (display-buffer-alist): Default to nil.
b796c9b7 4633 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4634 (display-buffer-pop-up-window): Allow splitting internal
4635 windows. Check whether a live window was created.
4636 (display-buffer-other-window-means-other-frame)
4637 (display-buffer-normalize-arguments): Rename to
4638 display-buffer-normalize-argument and rewrite. Set the
4639 other-window specifier.
4640 (display-buffer-normalize-special): New function.
4641 (display-buffer-normalize-options): Rename to
4642 display-buffer-normalize-default and rewrite.
4643 (display-buffer-normalize-options-inhibit): Remove.
4644 (display-buffer-normalize-specifiers): Rewrite.
4645 (display-buffer): Process other-window specifier and call
4646 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4647 more faithfully.
b796c9b7 4648 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4649 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4650 (display-buffer-in-window, display-buffer-alist-set):
4651 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4652 <tassilo@member.fsf.org>.
4653
2d43b8c9
LL
46542011-07-09 Leo Liu <sdl.web@gmail.com>
4655
4656 * register.el (insert-register): Restore accidental change on
4657 2011-06-26. (Bug#9028)
4658
7f9b7c53
GM
46592011-07-09 Glenn Morris <rgm@gnu.org>
4660
4661 * subr.el (remq): Handle the empty list. (Bug#9024)
4662
f042cfd8
AS
46632011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4664
4665 * mail/sendmail.el (send-mail-function): No longer delay custom
4666 initialization.
4667 * custom.el (custom-initialize-delay): Doc fix.
4668
856b2f11
SM
46692011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4672
afae1d68
MA
46732011-07-08 Michael Albinus <michael.albinus@gmx.de>
4674
4675 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4676 human-friendly prompt.
4677
0757af94
SM
46782011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4681 provided by a particular plugin.
4682
d760b731
LMI
46832011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4684
4685 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4686 save customizations (with "emacs -Q"), just set the variable
4687 instead of erroring out.
4688
4689 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4690
cd79ce90
JL
46912011-07-08 Juri Linkov <juri@jurta.org>
4692
4693 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4694 (archive-zip-update-case): Use 7z if found by `executable-find'.
4695 The order of searching the available programs is the same as in
4696 `archive-zip-extract' (bug#8968).
4697
14cc04aa
CY
46982011-07-07 Chong Yidong <cyd@stupidchicken.com>
4699
4700 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4701 (menu-bar-options-menu): Tweak descriptions.
4702
0a1848ec
LMI
47032011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4704
4705 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4706 menu items into verb phrases (bug#1421). Also refill to fit under
4707 80 columns.
4708
f5bd0689
CY
47092011-07-07 Chong Yidong <cyd@stupidchicken.com>
4710
538e85c6
CY
4711 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4712 (Info-read-node-name): Doc fix (Bug#1084).
4713
f5bd0689
CY
4714 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4715 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4716 (end-of-sexp, beginning-of-sexp)
4717 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4718 (forward-symbol, forward-same-syntax, word-at-point)
4719 (sentence-at-point): Doc fix (Bug#1144).
4720
56ec5115
LMI
47212011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4722
f3f8e37f
LMI
4723 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4724 should cover it (bug#1281).
4725
0757af94 4726 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4727
e9fce1ac 4728 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4729 negotiation fails, then possibly try again with a non-encrypted
4730 connection (bug#9017).
4731
56ec5115
LMI
4732 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4733 be used.
4734
c2f9aec8
RS
47352011-07-07 Richard Stallman <rms@gnu.org>
4736
4737 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4738 property, and handle its changed format.
4739 Look for the correct line number.
4740 Use file's line contents (but not past first =) to find
4741 correct line in message.
4742
ef7b981d 47432011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4744
4745 * international/characters.el (build-unicode-category-table):
4746 Delete it.
0757af94 4747 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4748
0757af94 4749 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4750 to src/chartab.c.
4751 (get-char-code-property): Call unicode-property-table-internal to
4752 load a file. Call get-unicode-property-internal where necessary.
4753 (put-char-code-property): Call unicode-property-table-internal to
4754 load a file. Call put-unicode-property-internal where necessary.
4755 put-unicode-property-internal where necessary.
0757af94
SM
4756 (char-code-property-description):
4757 Call unicode-property-table-internal to load a file.
c805dec0
KH
4758
4759 * international/charprop.el:
4760 * international/uni-bidi.el:
4761 * international/uni-category.el:
4762 * international/uni-combining.el:
4763 * international/uni-comment.el:
4764 * international/uni-decimal.el:
4765 * international/uni-decomposition.el:
4766 * international/uni-digit.el:
4767 * international/uni-lowercase.el:
4768 * international/uni-mirrored.el:
4769 * international/uni-name.el:
4770 * international/uni-numeric.el:
4771 * international/uni-old-name.el:
4772 * international/uni-titlecase.el:
4773 * international/uni-uppercase.el: Regenerate.
4774
4775 * loadup.el: Load international/charprop.el before
4776 international/characters.
4777
e14b388a
CY
47782011-07-07 Chong Yidong <cyd@stupidchicken.com>
4779
4780 * window.el (next-buffer, previous-buffer): Signal an error if
4781 called from a minibuffer window.
4782
4783 * bindings.el: Revert 2011-07-04 change.
4784
354cf0ba
RS
47852011-07-06 Richard Stallman <rms@gnu.org>
4786
4787 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4788 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4789 Treat markers like ints.
4790 (rmail-mime-entity): Doc fix.
4791
a48868a7
LMI
47922011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4793
4906cd3d
LMI
4794 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4795 defcustom again for backwards compatibility.
4796
e0457abe
LMI
4797 * simple.el (shell-command-on-region): Fill.
4798
d67f7e1f
LMI
4799 * dired-aux.el (dired-kill-line): Add a doc string.
4800
fe204702
LMI
4801 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4802 to "\\sw\\|\\s_" (bug#358).
4803
a48868a7
LMI
4804 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4805 (dired-unmark-backward): Ditto.
4806 (dired-flag-backup-files): Ditto.
4807
4808 * dired-x.el (dired-mark-sexp): Ditto.
4809
aa8a705c
RS
48102011-07-06 Richard Stallman <rms@gnu.org>
4811
4812 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4813 (rmail-mime-entity): New arg TRUNCATED.
4814 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4815 New functions.
4816 (rmail-mime-save): Warn if entity is truncated.
4817 (rmail-mime-toggle-hidden): Likewise, for showing.
4818 (rmail-mime-process-multipart): Record when an entity is truncated.
4819
a9a936b9
RS
4820 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4821 if ENTITY is a string.
4822
1f2b92cb
LMI
48232011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4824
f4f73198 4825 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
4826 of faces when `M-C-x'-ing their definitions (bug#8378).
4827 Also clean up the code slightly.
f4f73198 4828
12b16734 4829 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 4830 because that makes the colors go away.
12b16734 4831
f0691d22
LMI
4832 * mail/sendmail.el (send-mail-function): Change the default to
4833 `sendmail-query-once'.
9e87df06 4834 (sendmail-query-once): Add an autoload cookie.
f0691d22 4835
1f2b92cb
LMI
4836 * net/network-stream.el (network-stream-open-starttls): Try using
4837 a plain connection even if the server offered STARTTLS, and we
4838 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4839 capability. This should make smtpmail.el work in slightly more
4840 configurations.
4841
1cdd2a1b
MA
48422011-07-06 Michael Albinus <michael.albinus@gmx.de>
4843
4844 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4845 New defun.
4846 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4847
fbcc67e2
MM
48482011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4849
4850 * progmodes/sql.el: Version 3.0
0757af94 4851 (sql-product-alist): Add product :completion-object,
fbcc67e2 4852 :completion-column, and :statement attributes.
0757af94 4853 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 4854 (sql-mode-syntax-table): Mark all punctuation.
0757af94 4855 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
4856 ansi keywords.
4857 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 4858 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
4859 (sql-oracle-show-reserved-words): New function for development.
4860 (sql-product-font-lock): Simplify for source code buffers.
4861 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4862 New functions.
4863 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
4864 (sql-mode-map): Add statement movement functions.
4865 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4866 New variable.
fbcc67e2
MM
4867 (sql-statement-regexp, sql-beginning-of-statement)
4868 (sql-end-of-statement, sql-signum): New functions.
0757af94 4869 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
4870 (sql-show-sqli-buffer): Bug fix.
4871 (sql-interactive-mode): Store connection data as buffer local.
0757af94 4872 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
4873 with sql-interactive-mode.
4874 (sql-save-connection): Save buffer local settings.
0757af94 4875 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
4876 (sql-product-interactive): Bug fix.
4877 (sql-preoutput-hold): New variable.
4878 (sql-interactive-remove-continuation-prompt): Bug fixes.
4879 (sql-debug-redirect): New variable.
4880 (sql-str-literal): New function.
4881 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 4882 Redesign.
fbcc67e2
MM
4883 (sql-oracle-save-settings, sql-oracle-restore-settings)
4884 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4885 (sql-completion-object, sql-completion-column)
4886 (sql-completion-sqlbuf): New variables.
4887 (sql-build-completions-1, sql-build-completions)
4888 (sql-try-completion): New functions.
4889 (sql-read-table-name): Use them.
4890 (sql-contains-names): New buffer local variable.
4891 (sql-list-all, sql-list-table): Use it.
4892 (sql-oracle-completion-types): New variable.
4893 (sql-oracle-completion-object, sql-sqlite-completion-object)
4894 (sql-postgres-completion-object): New functions.
4895
d4eaeab1
GM
48962011-07-06 Glenn Morris <rgm@gnu.org>
4897
4898 * window.el (pop-to-buffer): Doc fix.
4899
322b7dab 49002011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
4901
4902 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4903
322b7dab 49042011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 4905
322b7dab 4906 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 4907
322b7dab 4908 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 4909
605dd5bf
CY
49102011-07-05 Chong Yidong <cyd@stupidchicken.com>
4911
4912 * button.el (button): Inherit from link face. Suggested by Dan
4913 Nicolaescu.
4914
7dbfa719
SM
49152011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4916
3db614b0
SM
4917 * progmodes/gdb-mi.el: Fit in 80 columns.
4918 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4919 switch-to-buffer.
4920
7dbfa719
SM
4921 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4922 if imenu is simply not configured (bug#8941).
4923
919d884a
KM
49242011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4925
4926 * allout.el (allout-post-undo-hook): New allout outline-change
4927 event hook to signal undo activity.
4928 (allout-post-command-business): Run allout-post-undo-hook if an
4929 undo just occurred.
7dbfa719
SM
4930 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4931 * allout-widgets.el (allout-widgets-after-undo-function):
4932 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
4933 in the vicinity of an undo.
4934 (allout-widgets-mode): Include allout-widgets-after-undo-function
4935 on the new allout-post-undo-hook.
4936
450a0f09
SM
49372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4938
4939 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4940 Let define-derived-mode define it.
4941 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4942 cycles of abbrev-table inheritance (bug#8998).
4943
2de69e00
RW
49442011-07-05 Roland Winkler <winkler@gnu.org>
4945
4946 * textmodes/bibtex.el: Add support for biblatex.
4947 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4948 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4949 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4950 (bibtex-entry-alist, bibtex-field-alist): New variables.
4951 (bibtex-entry-field-alist): Obsolete alias for
4952 bibtex-BibTeX-entry-alist.
4953 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4954 (bibtex-set-dialect): New command.
4955 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
4956 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4957 Bind via bibtex-set-dialect.
2de69e00
RW
4958 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4959 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4960 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4961 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4962 Define via bibtex-set-dialect.
450a0f09
SM
4963 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4964 Obey bibtex-no-opt-remove-re.
2de69e00
RW
4965 (bibtex-vec-push, bibtex-vec-incr): New functions.
4966 (bibtex-format-entry, bibtex-field-list)
4967 (bibtex-print-help-message, bibtex-validate)
4968 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4969
2dcdbdd9
SM
49702011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * progmodes/compile.el (compilation-goto-locus):
4973 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4974 * bs.el (bs-cycle-next, bs-cycle-previous):
4975 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4976 * bindings.el (mode-line-other-buffer):
4977 * autoinsert.el (auto-insert):
4978 * arc-mode.el (archive-extract):
4979 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4980
b27640fe
JB
49812011-07-05 Juanma Barranquero <lekktu@gmail.com>
4982
4983 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4984 Fix check of `emacs-lock-unlockable-modes'.
4985 Coerce true values of `emacs-lock--try-unlocking' to t.
4986
53bbe3ad
JB
49872011-07-05 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4990 * emacs-lock.el: New file.
4991
1d3cdbc7
JD
49922011-07-05 Julien Danjou <julien@danjou.info>
4993
4994 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4995 than `boundp' to check if face is set.
4996
9173deec
JB
49972011-07-05 Juanma Barranquero <lekktu@gmail.com>
4998
4999 * register.el (registerv-make):
5000 * window.el (window-min-height): Fix typos in docstrings.
5001
869795d6
JD
50022011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5003
9173deec 5004 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5005 Update doc string.
5006
b768cdcd
JB
50072011-07-04 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * server.el (server-execute): Catch quit and call
5010 `server-return-error' to pass the error back to emacsclient and
5011 close the connection (bug#8942).
5012
13aa217b
KM
50132011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5014
5015 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5016 insecure exception for current topic. Also note that auto-saves
5017 are handled differently.
5018
5019 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5020 State variables for tracking auto-save inhibition situation.
5021
5022 (allout-write-contents-hook-handler): Rename from
5023 'allout-write-file-hook-handler', and describe how it depends on
5024 write-contents-functions sensitivity to non-nil value to prevent
5025 file write.
5026
5027 (allout-auto-save-hook-handler): Remove. auto-save does not check
5028 this in individual buffers, only in the starting buffer, so this
5029 is not the right way for us to inhibit auto-save in a buffer
5030 according to its condition.
5031
5032 (allout-mode): Use new allout-write-contents-hook-handler, and
5033 only with write-contents-functions. Remove auto-save provisions -
5034 they're implemented elsewhere.
5035
5036 (allout-before-change-handler): If undo is in progress, note that
5037 for attention of allout-post-command-business.
5038
5039 (allout-post-command-business): If the command we're following was
5040 an undo, check for change in the status of encrypted items and
5041 adjust auto-save inhibitions accordingly.
5042
5043 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5044 according to whether there are or aren't any plain-text topics
5045 pending encryption.
5046
2dcdbdd9 5047 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5048 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5049 if there are plain-text topics pending encryption.
13aa217b
KM
5050
5051 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5052 buffer-saved-size and some allout state to not inhibit auto-saves
5053 if there are no longer any plain-text topics pending encryption.
5054
0757af94
SM
5055 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5056 No longer provide for exemption of the current topic.
13aa217b 5057
ac89b32c
JL
50582011-07-04 Juri Linkov <juri@jurta.org>
5059
5060 Add 7z operations to delete and save changed members (bug#8968).
5061 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5062 New defcustoms.
5063 (archive-7z-write-file-member): New function.
5064 (archive-7z-summarize): Fix the number of dashes in the
5065 listing output.
5066
8fa39615
SM
50672011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5070 (bug#8958).
5071
2f11b3f1
CY
50722011-07-04 Chong Yidong <cyd@stupidchicken.com>
5073
d66fef2b
CY
5074 * bindings.el: Ignore next-buffer and previous-buffer in
5075 minibuffer-local-map.
5076
2f11b3f1
CY
5077 * font-lock.el (font-lock-builtin-face): Change light background
5078 color to dark slate blue (Bug#6693).
5079
f932a347
WD
50802011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5081
5082 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5083
c8af70e1
SM
50842011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5085
5086 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5087 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5088 Add switch-to-buffer.
5089
f158badc
LMI
50902011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5091
5092 * isearch.el (isearch-search-fun-function): Clarify further the
5093 meaning of the function returned.
5094
6d95bd46
MA
50952011-07-04 Michael Albinus <michael.albinus@gmx.de>
5096
5097 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5098
5099 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5100 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5101 Use it.
5102 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5103 `tramp-default-remote-path' does not exist.
5104 (tramp-send-command-and-read): New optional argument NOERROR.
5105 (tramp-open-connection-setup-interactive-shell)
5106 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5107 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5108 (tramp-process-sentinel): Flush also process' connection property.
5109 (tramp-sh-handle-start-file-process): Do not set process
5110 sentinel. It is done now ...
5111 (tramp-maybe-open-connection): ... here. (Bug#8929)
5112
909e6b67
MK
51132011-07-04 MON KEY <monkey@sandpframing.com>
5114
5115 * play/animate.el (animate-string): Doc fixes and allow changing
5116 the buffer name (bug#5417).
5117
51182011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5119
c8af70e1 5120 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5121
f34755dc
PE
51222011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5123
396cec72
PE
5124 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5125 This is simpler and helps future-proof the code.
5126 (timer-until): Use time-subtract and float-time.
08235028 5127 (timer--time-less-p): Use time-less-p.
f34755dc 5128
56e6cc31
JB
51292011-07-04 Juanma Barranquero <lekktu@gmail.com>
5130
3abb79e5
JB
5131 * type-break.el (timep): Use the value of `float-time' to avoid a
5132 byte-compiler warning.
5133
56e6cc31
JB
5134 * server.el (server-eval-and-print): Return any result, even nil.
5135
7b9430b4
PE
51362011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5137
5138 * type-break.el: Accept time formats that the builtins accept.
5139 (timep, type-break-time-difference): Accept any format that
5140 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5141 This is simpler and helps future-proof the code.
5142 (type-break-time-difference): Round rather than ignoring
5143 subseconds components.
5144
3034e9e7
LMI
51452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5146
5147 * info.el (Info-apropos-matches): Make non-interactive, since it
5148 doesn't seem to do anything useful as a command (bug#8829).
5149
1485f4c0
CY
51502011-07-03 Chong Yidong <cyd@stupidchicken.com>
5151
5152 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5153 Move from faces.el.
1485f4c0
CY
5154 (frame-default-terminal-background): New function.
5155
5156 * custom.el (custom-push-theme): Don't record faces in `changed'
5157 theme; this doesn't work correctly for per-frame face settings.
5158 (disable-theme): Use face-set-after-frame-default to reset faces.
5159 (custom--frame-color-default): New function.
5160
9fa3dd45
LMI
51612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5162
c8af70e1 5163 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5164 (bug#8769).
5165
6cbbc20c
KR
51662011-03-29 Kevin Ryde <user42@zip.com.au>
5167
5168 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5169 `perl-Test2' extend to match possible "fail #N" rep count
5170 (bug#8377).
5171
c7f98048
LMI
51722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5173
65676592
LMI
5174 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5175 `smtpmail-via-smtp' now returns the error instead of nil.
5176
c7f98048
LMI
5177 * isearch.el (isearch-search-fun-function): Clarify the doc string
5178 (bug#8101).
5179
56e6cc31 51802011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5181
5182 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5183 unnecessary spaces (bug#8987).
5184
2b216704
LMI
51852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5186
5187 * net/network-stream.el (open-network-stream): Use the
5188 :end-of-capability command thoughout.
5189
51902011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5191
5192 * net/network-stream.el (open-network-stream): Add the
5193 :end-of-capability command parameter, used by pop3.el.
5194
36adf6ce
LMI
51952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5196
1ca0da0e
LMI
5197 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5198
fc00f69c
LMI
5199 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5200 for list)" (bug#6475).
5201
28fd8759 5202 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5203 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5204 an error (bug#6297).
5205
0dd8b6da
LMI
5206 * man.el (Man-reference-regexp): Allow matching possible
5207 word-wrapped references (bug#6289).
5208
ce1438d6
LMI
5209 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5210 for consistency with the other vc buffers (bug#6197).
5211 (vc-checkin): Ditto.
5212
5213 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5214
36adf6ce
LMI
5215 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5216
e83cc1f7
LMI
52172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5218
8a20ca4c
LMI
5219 * custom.el (defcustom): Clarify that :set is only used in the
5220 Customize user interface (bug#6089).
5221
83319045
LMI
5222 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5223 associated with a file, refuse to run instead of erroring out
5224 (bug#6084).
5225
a8392169
LMI
5226 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5227 the doc string, since it appears that using `fill-column' always
5228 controls the width (bug#7845).
5229
e83cc1f7
LMI
5230 * simple.el (shell-command-on-region): Say where the error output
5231 went if `shell-command-default-error-buffer' is set (bug#6857).
5232
e47ca23b
KM
52332011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5234
5235 * allout.el (allout-yank-processing): Adjust cursor position for
5236 backwards-deleted space.
5237
5238 (allout-rebullet-heading): Register changes with
5239 allout-exposure-changed-hook, so the modified topic is properly
5240 decorated.
5241
5cf56143
LMI
52422011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5243
08549772
LMI
5244 * minibuffer.el (completion-in-region): Document PREDICATE
5245 (bug#7136).
5246
48e96771
LMI
5247 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5248 of keyword/argument pairs (bug#6904).
5249
c8af70e1
SM
5250 * replace.el (multi-occur):
5251 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5252
e17d05e2
LMI
52532011-07-02 Drew Adams <drew.adams@oracle.com>
5254
5255 * dired.el (dired-mark-if): Make the message about whether it's
5256 marking or unmarking clearer (bug#8523).
5257
063b0e45
LMI
52582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5259
5260 * disp-table.el (display-table-print-array): New function.
5261 (describe-display-table): Use it to print the vectors more pretty
5262 (Bug#8859).
5263
28545e04
MR
52642011-07-02 Martin Rudalics <rudalics@gmx.at>
5265
5266 * window.el (window-state-get-1): Don't assign clone numbers.
5267 Add clone-of item to list of window parameters.
5268 (window-state-put-2): Don't process clone numbers.
5269 (display-buffer-alist): Fix doc-string.
5270
3349e122
SM
52712011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * subr.el (remq): Don't allocate if it's not needed.
5274 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5275 (keymap--merge-bindings): New functions.
5276 (keymap-canonicalize): Use them to refine the canonicalization.
5277 * minibuffer.el (minibuffer-local-completion-map)
5278 (minibuffer-local-must-match-map): Move initialization from C.
5279 (minibuffer-local-filename-completion-map): Move initialization from C;
5280 don't inherit from anything here.
5281 (minibuffer-local-filename-must-match-map): Make obsolete.
5282 (completing-read-default): Use make-composed-keymap to combine
5283 minibuffer-local-filename-completion-map with either
5284 minibuffer-local-must-match-map or
5285 minibuffer-local-filename-completion-map.
5286
d224ac83
GM
52872011-07-01 Glenn Morris <rgm@gnu.org>
5288
3de63bf8
GM
5289 * type-break.el (type-break-time-sum): Use dolist.
5290
d224ac83
GM
5291 * textmodes/flyspell.el (flyspell-word-search-backward):
5292 Replace CL function.
5293
1a1e3f32
SM
52942011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5295
fe3f64d5
SM
5296 * mouse.el (mouse--strip-first-event): New function.
5297 (function-key-map): Use it to map fringe clicks to normal clicks
5298 by default.
5299
eb604e34
SM
5300 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5301 (vc-bzr-revision-completion-table): Add support for annotate and date.
5302
1a1e3f32
SM
5303 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5304 inherit from parent.
5305
5bd35902
LMI
53062011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5307
ace6c69c 5308 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5309 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5310
191e2bed
LMI
5311 * dired.el (dired-mode): Fix up the doc string as suggested by
5312 Drew Adams (bug#8817).
5313
5bd35902
LMI
5314 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5315 cookie, since the manual says that it should be possible to add
5316 this function to `find-file-hook' (bug#8709).
5317
eee8207a
TZ
53182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5319
5320 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5321 here. Noted Ted Zlatanov as the maintainer.
5322 (cfengine-common-settings, cfengine-common-syntax): New functions
5323 to set up common things between `cfengine-mode' and
5324 `cfengine3-mode'.
5325 (cfengine3-mode): New mode.
5326 (cfengine3-defuns cfengine3-defuns-regex
5327 (cfengine3-class-selector-regex cfengine3-category-regex)
5328 (cfengine3-vartypes cfengine3-font-lock-keywords)
5329 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5330 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5331
36b148cf
MA
53322011-07-01 Michael Albinus <michael.albinus@gmx.de>
5333
5334 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5335
5336 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5337
0bf4ba9a
MR
53382011-07-01 Martin Rudalics <rudalics@gmx.at>
5339
5340 * window.el (same-window-buffer-names, same-window-regexps)
5341 (same-window-p, special-display-frame-alist)
5342 (special-display-popup-frame, special-display-function)
5343 (special-display-buffer-names, special-display-regexps)
5344 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5345 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5346 (split-window-preferred-function, split-height-threshold)
5347 (split-width-threshold, even-window-heights)
5348 (display-buffer-mark-dedicated, window-splittable-p)
5349 (split-window-sensibly, window-safely-shrinkable-p):
5350 Un-obsolete.
5351 (display-buffer): Don't spread args with function specifier
5352 because special-display-popup-frame won't like it.
5353
35837f51
PE
53542011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5355
d0672f86
PE
5356 Time-stamp simplifications and fixes.
5357 These improve accuracy slightly, and future-proof the code
5358 against some potential changes to current-time format.
5359
b9444d97
PE
5360 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5361 by using time-since and float-time.
5362
0ef923dc
PE
5363 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5364 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5365 + NNN microseconds".
5366
2f81380d
PE
5367 * type-break.el (type-break-time-sum): Rewrite using time-add.
5368
845b5c3e
PE
5369 * play/hanoi.el (hanoi-current-time-float): Remove.
5370 All uses replaced by float-time.
5371
ee6f1be0
PE
5372 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5373 This yields a more-accurate answer.
5374 (rng-time-to-float): Remove; no longer needed.
5375
fe955043
PE
5376 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5377
5777162a
PE
5378 * calendar/timeclock.el (timeclock-seconds-to-time):
5379 Defalias to seconds-to-time, since they're the same thing.
5380
3103f8b6 5381 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5382 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5383 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5384
0e61a35f
SM
53852011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * window.el (bury-buffer): Don't iconify the only frame.
5388 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5389 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5390
ddd63a1e
CY
53912011-07-01 Chong Yidong <cyd@stupidchicken.com>
5392
0e61a35f
SM
5393 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5394 Add mouse-yank-primary.
ddd63a1e 5395
055f4923
TZ
53962011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5397
5398 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5399
6a2fb145
SM
54002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5403 (find-library-name): Use it to find relative load names when provided
5404 absolute file name (bug#8803).
5405
fd4983f2
LMI
54062011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5407
887d14ad
LMI
5408 * textmodes/flyspell.el (flyspell-word): Consider words that
5409 differ only in case as potential doublons (bug#5687).
5410
c53dc7fc
LMI
5411 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5412 Remove two rather uninteresting debugging-like messages to make
5413 debbugs.el more silent.
5414
fd4983f2
LMI
5415 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5416 a password-like phrase.
5417
b14c0c55
AM
54182011-06-30 Mastake YAMATO <yamato@redhat.com>
5419
5420 * progmodes/cc-guess.el: New file.
5421
6a2fb145 5422 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5423
5424 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5425 derived from `c-basic-common-init'.
5426
5427 * progmodes/cc-mode.el (top-level): Require cc-guess.
5428 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5429
1fa280a3
LM
54302011-06-30 Lawrence Mitchell <wence@gmx.li>
5431
5432 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5433
e6597158
AM
54342011-06-30 Alan Mackenzie <acm@muc.de>
5435
1fa280a3
LM
5436 * progmodes/cc-engine.el (c-guess-continued-construct):
5437 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5438 lock is disabled. Name this case as "CASE G".
5439
68ba37fb
KM
54402011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5441
5442 * allout.el (allout-yank-processing): Fix injection of extra space
5443 between bullet and non-whitespace character in first topic when
5444 pasting, ensuring that the actual spacing in the pasted topic
5445 following the bullet char is preserved. This extra space was
5446 causing pasted encrypted topics to get a decrypted status even
5447 when the content was actually still encrypted. Now the decryption
5448 status from before the paste is preserved.
5449
5450 (allout-flag-region): Set all allout overlays so they evaporate
5451 when reduced to zero length (evanescent), to prevent overlay
5452 leakage.
5453
887a0b34
GM
54542011-06-30 Glenn Morris <rgm@gnu.org>
5455
94b9acce
GM
5456 * w32-fns.el (w32-charset-info-alist): Declare.
5457
1d9b46d4
GM
5458 * find-dired.el (find-grep-options): Simplify.
5459
cc232200
GM
5460 * term/ns-win.el (ns-set-resource): Declare.
5461
28e77c46
GM
5462 * ses.el (row, col): Declare dynamic variables honestly.
5463
887a0b34
GM
5464 * textmodes/reftex-parse.el (index-tags): Declare.
5465
658d8eb8
CY
54662011-06-30 Chong Yidong <cyd@stupidchicken.com>
5467
5468 * cus-edit.el (customize-push-and-save): New function.
5469
5470 * files.el (hack-local-variables-confirm): Use it.
5471
1fa280a3
LM
5472 * custom.el (load-theme): New arg NO-CONFIRM.
5473 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5474 (custom-enabled-themes): Doc fix.
5475
5476 * cus-theme.el (customize-create-theme)
5477 (custom-theme-merge-theme): Callers to load-theme changed.
5478
bb617717
LMI
54792011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5480
d61bdd5d
LMI
5481 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5482 short URLs have at least one dot in them (bug #7614).
5483
bb617717
LMI
5484 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5485 nil, because using a pty is apparently too slow (bug #895).
5486
2f31f37a
LMI
54872011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5488
5489 * mail/sendmail.el (sendmail-query-once): New function.
5490 (sendmail-query-once-function): New variable.
5491
3076b24e
GM
54922011-06-29 Glenn Morris <rgm@gnu.org>
5493
faf2a174
GM
5494 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5495
3076b24e
GM
5496 * ses.el (top-level): Require cl when compiling.
5497 (ses-set-localvars): Fix error statement.
5498 Call it at compile time to silence a storm of warnings.
5499
5386012d
MR
55002011-06-29 Martin Rudalics <rudalics@gmx.at>
5501
5502 * window.el (normalize-live-buffer): Rename to
5503 window-normalize-buffer.
5504 (normalize-live-frame): Rename to window-normalize-frame.
5505 (normalize-any-window): Rename to window-normalize-any-window.
5506 (normalize-live-window): Rename to window-normalize-live-window.
5507 (make-window-atom): Rename to window-make-atom.
5508 (window-resize-reset): Rename to window--resize-reset.
5509 (window-resize-reset-1): Rename to window--resize-reset-1.
5510 (resize-mini-window): Rename to window--resize-mini-window.
5511 (resize-subwindows-skip-p): Rename to
5512 window--resize-subwindows-skip-p.
5513 (resize-subwindows-normal): Rename to
5514 window--resize-subwindows-normal.
5515 (resize-subwindows): Rename to window--resize-subwindows.
5516 (resize-other-windows): Rename to window--resize-siblings.
5517 (resize-this-window): Rename to window--resize-this-window.
5518 (resize-root-window): Rename to window--resize-root-window.
5519 (resize-root-window-vertically): Rename to
5520 window--resize-root-window-vertically.
5521 (normalize-buffer-to-display): Rename to
5522 window-normalize-buffer-to-display.
5523 (normalize-buffer-to-switch-to): Rename to
5524 window-normalize-buffer-to-switch-to.
5525 Correspondingly update all callers of the functions listed
5526 above.
5527 (display-buffer-alist, display-buffer-normalize-arguments)
5528 (display-buffer-normalize-options, display-buffer)
5529 (display-buffer-alist-set): Use "function" instead of
5530 "fun-with-args".
5531
1176868d
CY
55322011-06-28 Chong Yidong <cyd@stupidchicken.com>
5533
5534 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5535 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5536 debbugs.gnu.org. Mention acknowledgment email.
5537
20a7a65f
LMI
55382011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5539
5540 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5541 buffer multibyteness, since it shouldn't matter.
5542
5f45cca5
MR
55432011-06-28 Martin Rudalics <rudalics@gmx.at>
5544
5545 * window.el (display-buffer-in-side-window): Handle dedicated
5546 windows as in display-buffer-reuse-window.
5547 (display-buffer-normalize-alist): Use value of override
5548 specifier.
5549 (display-buffer-normalize-specifiers): Use value of
5550 other-window-means-other-frame specifier.
5551 (display-buffer-alist): Rewrite some texts in widgets.
5552 (display-buffer): Spread arguments when calling function
5553 specified by fun-with-args.
5554
ad85fe1f
DD
55552011-06-28 Deniz Dogan <deniz@dogan.se>
5556
1fa280a3
LM
5557 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5558 Unnest `let'.
da68c4c8 5559
ad85fe1f
DD
5560 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5561 selectors (Bug#5732).
ec49bd31 5562 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5563
a08cc025
JA
55642011-06-27 Jari Aalto <jari.aalto@cante.net>
5565
5566 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5567 (eshell-ls-date-format): New defcustom.
5568 (eshell-ls-file): Use it.
5569
e2b551c5
SM
55702011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5573
8982b231
KY
55742011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5575
5576 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5577 (ange-ftp-make-tmp-name): New arg.
5578 (ange-ftp-file-local-copy): Use it.
5579
36c9fa27
J
55802011-06-27 Jambunathan K <kjambunathan@gmail.com>
5581
5582 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5583 no-conversion (Bug#8870).
5584
d68443dc
MR
55852011-06-27 Martin Rudalics <rudalics@gmx.at>
5586
5587 * window.el (window-right, window-left, window-child)
5588 (window-child-count, window-last-child)
5589 (window-iso-combination-p, walk-window-tree-1)
5590 (window-atom-check-1, window-tree-1, delete-window)
5591 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5592 new naming conventions - window-vchild, window-hchild,
5593 window-next and window-prev are now called window-top-child,
5594 window-left-child, window-next-sibling and window-prev-sibling
5595 respectively.
d615d6d2
MR
5596 (resize-window-reset): Rename to window-resize-reset.
5597 (resize-window-reset-1): Rename to window-resize-reset-1.
5598 (resize-window): Rename to window-resize.
5599 (window-min-height, window-min-width)
5600 (resize-mini-window, resize-this-window, resize-root-window)
5601 (resize-root-window-vertically, adjust-window-trailing-edge)
5602 (enlarge-window, shrink-window, maximize-window)
5603 (minimize-window, delete-window, quit-restore-window)
5604 (split-window, balance-windows, balance-windows-area-adjust)
5605 (balance-windows-area, window-state-put-2)
5606 (display-buffer-even-window-sizes, display-buffer-set-height)
5607 (display-buffer-set-width, set-window-text-height)
5608 (fit-window-to-buffer): Rename all "resize-window" prefixed
5609 calls to use the "window-resize" prefix convention.
5610 (display-buffer-alist): Fix symbol for label specifier.
5611 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5612 corresponding specifier.
5613 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5614
b6458526
VB
56152011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5616
5617 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5618 convention.
5619 (ses-call-printer): Does not pass an empty string to formatter when the
5620 cell is empty to keep from barking printer Calc math-format-value.
5621
d31fd9ac
RS
56222011-06-27 Richard Stallman <rms@gnu.org>
5623
43d5bf84
RS
5624 * battery.el (battery-mode-line-limit): New variable.
5625 (battery-update): Handle it.
5626
d31fd9ac
RS
5627 * mail/rmailmm.el (rmail-mime-process-multipart):
5628 Handle truncated messages.
5629
819a6054
GM
56302011-06-27 Glenn Morris <rgm@gnu.org>
5631
5632 * progmodes/flymake.el (flymake-err-line-patterns):
5633 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5634
cedc73f2
VB
56352011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5636
819a6054 5637 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5638 (ses--clean-!, ses--clean-_): New functions.
5639 (ses-range): Add configurability of readout order, and conversion
5640 to Calc vector.
5641
5e5d49b6
VB
5642 * ses.el (ses-repair-cell-reference-all): New function.
5643 (ses-cell-symbol): Set macro as safe, so that it can be used in
5644 formulas.
5645
56e6cc31 5646 * ses.el: Update cycle detection algorithm.
90ca8b49 5647 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5648 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5649 (ses-set-localvars): New function.
5650 (ses-make-cell): Add property-list as a cell element.
5651 (ses-cell-property-get-fun, ses-cell-property-get)
5652 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5653 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5654 New functions.
90ca8b49
VB
5655 (ses-cell-property-set, ses-cell-property-pop)
5656 (ses-cell-property-get-handle): New macro.
5657 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5658 New aliases, used for code readability.
5659 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5660 cycle detection.
5661 (ses-self-reference-early-detection): New defcustom.
fac916bf 5662 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5663 (ses-mode): Use ses-set-localvars.
5664 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5665 before lauching the update processing.
5666 (ses-initialize-Dijkstra-attempt): New function.
5667 (ses-recalculate-cell): Update for cycle detection based on
5668 Dijkstra algorithm.
5669
2bb63e81
VB
5670 * ses.el: Fix commenting and indenting convention.
5671
c9d29fb8
SM
56722011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5673
5674 * bs.el (bs-cycle-next): Complete last change.
5675
d8e4b68b
JB
56762011-06-27 Drew Adams <drew.adams@oracle.com>
5677
5678 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5679
40098786
LMI
56802011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5681
c9d29fb8
SM
5682 * net/network-stream.el (network-stream-open-starttls):
5683 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5684 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5685
40098786
LMI
5686 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5687 to binary to possibly avoid line encoding issues on Windows (among
5688 other things).
5689
468d09d4
LMI
56902011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5691
5692 * net/network-stream.el (open-network-stream): Return an :error
5693 saying what the problem was, if possible.
5694
5695 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5696 server.
5697
5698 * net/network-stream.el (network-stream-open-starttls): If we
5699 wanted to use STARTTLS, and the server offered it, but we weren't
5700 able to because we had no STARTTLS support, then close the connection.
5701 (open-network-stream): Return an :error element, if present.
5702
16f07dd7
CY
57032011-06-26 Chong Yidong <cyd@stupidchicken.com>
5704
88821ca0
CY
5705 * hl-line.el (hl-line-sticky-flag): Doc fix.
5706 (global-hl-line-sticky-flag): New option (Bug#8323).
5707 (global-hl-line-highlight): Obey it.
5708
16f07dd7
CY
5709 * vc/vc.el (vc-revert-show-diff): Default to t.
5710
6b5ccddf
KM
57112011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5712
c9d29fb8
SM
5713 * allout-widgets.el (allout-widgets-post-command-business):
5714 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5715 undecorated when an isearch is continued past, and isearch
5716 automatically collapses them. This leads to "widget leaks", where
5717 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5718 hidden widgets can slow down cursor travel, substantially.
5719 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5720 so we're doing without this nicety.
5721
5722 (allout-widgets-tally-string): Don't try to do a hash-table-count
5723 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5724 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5725 *Messages* when allout-widgets-maintain-tally is t.
5726
355f2e07
MR
57272011-06-26 Martin Rudalics <rudalics@gmx.at>
5728
5729 * window.el (display-buffer-normalize-argument): Rename to
5730 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5731 LABEL argument. Respect special-display-function when popping up
5732 a new frame. Fix code searching for a window showing the buffer
5733 on another frame.
c9d29fb8
SM
5734 (display-buffer-normalize-specifiers):
5735 Call display-buffer-normalize-arguments.
355f2e07
MR
5736 (display-buffer-in-window): Don't undedicate the window if its
5737 buffer remains the same.
5738 Reported by Drew Adams <drew.adams@oracle.com>.
5739 (display-buffer-alist): Add choice for same-window macro
5740 specfier.
5741 (display-buffer): Mention special meaning of LABEL argument in
5742 doc-string. Fix quoting. Don't pop up a new frame even as
5743 fallback.
5744
7ca8fc42
JB
57452011-06-26 Juanma Barranquero <lekktu@gmail.com>
5746
5747 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5748 avoid deleting the current window in some cases (bug#8911).
5749
bc312254
AS
57502011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5751
5752 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5753 (Bug#8934)
5754
2db18f3f
LMI
57552011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5756
c9d29fb8
SM
5757 * net/network-stream.el (network-stream-open-starttls):
5758 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5759 (network-stream-open-tls): Ditto.
5760
6302e0d3
LL
57612011-06-26 Leo Liu <sdl.web@gmail.com>
5762
5763 * register.el (registerv): New struct.
5764 (registerv-make): New function.
c9d29fb8
SM
5765 (jump-to-register, describe-register-1, insert-register):
5766 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5767 struct. (Bug#8415)
5768
5fdd4046
CY
57692011-06-26 Chong Yidong <cyd@stupidchicken.com>
5770
2afef60a
CY
5771 * vc/vc.el (vc-revert-show-diff): New defcustom.
5772 (vc-diff-internal): New arg specifying diff buffer.
5773 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5774 reuse an existing *vc-diff* buffer (Bug#8927).
5775
5fdd4046
CY
5776 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5777
e93db24a
GM
57782011-06-26 Glenn Morris <rgm@gnu.org>
5779
5780 * progmodes/f90.el (f90-critical-indent): New option.
5781 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5782 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5783 (f90-mode): Doc fix.
5784 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5785 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5786 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5787 (f90-match-end): Handle block, critical.
5788
eefff499
GM
57892011-06-25 Glenn Morris <rgm@gnu.org>
5790
f6ba4cc9
GM
5791 * calendar/diary-lib.el (diary-included-files): Doc fix.
5792 (diary-include-files): New function, extracted from
5793 diary-include-other-diary-files and diary-mark-included-diary-files.
5794 (diary-include-other-diary-files, diary-mark-included-diary-files):
5795 Just call diary-include-files.
5796 (diary-mark-entries): Reset diary-included-files on first call.
5797
16712304
GM
5798 * calendar/diary-lib.el (diary-mark-entries)
5799 (diary-mark-included-diary-files):
5800 Visit included diary-files in temp buffers.
5801
5d8e0d43
GM
5802 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5803 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5804 (f90-start-block-re, f90-imenu-generic-expression)
5805 (f90-looking-at-program-block-start, f90-no-block-limit):
5806 Add support for submodules.
5807
ccf7a5d5
GM
5808 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5809 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5810
11fdef7d 58112011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5812
5813 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5814 buffer-file-type before setting its value, to avoid disastrous
eefff499 5815 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5816
74f53697
JB
58172011-06-25 Juanma Barranquero <lekktu@gmail.com>
5818
5819 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5820
5821 * ses.el (ses-unload-function):
5822 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5823
5824 * proced.el (proced-unload-function):
5825 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5826
18a4ce5e
AR
58272011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5828
5829 * server.el (server-create-window-system-frame): Add parameters arg.
5830 (server-process-filter): Doc fix. Handle frame-parameters.
5831
519d22cc
JB
58322011-06-25 Juanma Barranquero <lekktu@gmail.com>
5833
5834 Fix bug#8730, bug#8781.
5835
5836 * loadhist.el (unload--set-major-mode): New function.
5837 (unload-feature): Use it.
5838
5839 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5840 (python-unload-function): New function.
5841
c206f5b0
SM
58422011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5843
5844 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5845
f9ad64f3
GS
58462011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5847
5848 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5849 the candidates list.
5850
7d0da90e
JB
58512011-06-24 Juanma Barranquero <lekktu@gmail.com>
5852
5853 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5854
14b4e83d
RS
58552011-06-23 Richard Stallman <rms@gnu.org>
5856
5857 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5858 (rmail-variables): Set next-error-move-function.
5859 (rmail-what-message): Take argument POS.
5860 (rmail-next-error-move): New function.
5861
273d2baf
SM
58622011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5865 messages for adjacent non-terminals.
5866
56c2cc9a
RS
58672011-06-23 Richard Stallman <rms@gnu.org>
5868
5869 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 5870 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
5871 (rmail-start-mail): Don't specify use of rmail-mail-return;
5872 that's done by mail-bury now.
5873 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 5874
d59eb518
MA
58752011-06-23 Michael Albinus <michael.albinus@gmx.de>
5876
5877 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5878 SIZE is a number.
5879
02cfc6d6
MR
58802011-06-23 Martin Rudalics <rudalics@gmx.at>
5881
5882 * window.el (get-lru-window, get-mru-window)
5883 (get-largest-window): Never return a minibuffer window.
5884 (display-buffer-pop-up-window): Fix a bug that could lead to
5885 reusing the minibuffer window.
5886 (display-buffer): Pass original specifier argument to
5887 display-buffer-function instead of the normalized one.
5888 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5889
4e323265
LL
58902011-06-22 Leo Liu <sdl.web@gmail.com>
5891
5892 * minibuffer.el (completing-read-function)
5893 (completing-read-default): Move from minibuf.c
5894
7a70468f
RS
58952011-06-22 Richard Stallman <rms@gnu.org>
5896
50718fc2
RS
5897 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5898 to Rmail even if not started by a special Rmail command.
5899
7a70468f
RS
5900 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5901 Copy the buffer currently showing just one message.
5902
297dde5a
RW
59032011-06-22 Roland Winkler <winkler@gnu.org>
5904
5905 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5906 (bibtex-clean-entry): First delete the old key so that a
5907 customized algorithm for generating the new key does not get
5908 confused by the old key.
5909 (bibtex-url): Obey regexp of first step.
5910 (bibtex-search-entries): Do not use add-to-list with local
5911 list-var.
5912
97bb1093
LMI
59132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5914
5915 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5916 stored a user name, then query for the password first, instead of
5917 waiting for SMTP to give an error message and the trying again.
5918
1c0f1a19
JD
59192011-06-22 Lawrence Mitchell <wence@gmx.li>
5920
5921 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5922 BUFFER in call-process.
5923
396f7c9d
LMI
59242011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5925
5926 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5927 QUIT twice.
ddb7ffee
LMI
5928 (smtpmail-try-auth-methods): Require user name and password from
5929 auth-source.
396f7c9d 5930
8998d1b3
MR
59312011-06-22 Martin Rudalics <rudalics@gmx.at>
5932
5933 * window.el (display-buffer-default-specifiers)
5934 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5935 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 5936 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
5937
5938 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5939 (special-display-frame-alist, special-display-popup-frame):
5940 Remove duplicate declarations. These are now in window.el.
5941
4ea31e07
LMI
59422011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5943
c9d29fb8
SM
5944 * mail/smtpmail.el (smtpmail-via-smtp):
5945 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
5946 server supports it. SMTP servers that support STARTTLS commonly
5947 require it.
5948
5949 * net/network-stream.el (network-stream-open-starttls): Support
5950 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 5951 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 5952
95f41d9a
LMI
5953 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5954 upgrades with `open-network-stream', and rely solely on
5955 auth-source for all credentials. Big changes throughout the file,
5956 but in particular:
c9d29fb8
SM
5957 (smtpmail-auth-credentials): Remove.
5958 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
5959 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5960 MAIL FROM, too.
95f41d9a 5961
c9d29fb8
SM
5962 * net/network-stream.el (network-stream-open-starttls):
5963 Provide support for client certificates both for external and built-in
4ea31e07
LMI
5964 STARTTLS.
5965 (auth-source): Require.
5966 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
5967 (network-stream-certificate): Change cert-cert to cert and
5968 cert-key to key.
4ea31e07 5969
065ec2c7
MA
59702011-06-21 Michael Albinus <michael.albinus@gmx.de>
5971
5972 * net/tramp-cache.el (top): Don't load the persistency file when
5973 "emacs -Q" has been called.
5974
cd93b359
DR
59752011-06-21 Tim Harper <timcharper@gmail.com>
5976
d8e4b68b
JB
5977 * term/ns-win.el (ns-initialize-window-system):
5978 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
5979 resource to NO as it is not yet supported by the NS port.
5980
ae9c0411
JB
59812011-06-21 Juanma Barranquero <lekktu@gmail.com>
5982
5983 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5984 (list-dynamic-libraries): ...not here.
5985
7f3f739f
LL
59862011-06-21 Leo Liu <sdl.web@gmail.com>
5987
5988 * subr.el (sha1): Implement sha1 using secure-hash.
5989
327c8fb1
MR
59902011-06-21 Martin Rudalics <rudalics@gmx.at>
5991
5992 * window.el (display-buffer-alist): In default value do not
5993 enforce searching a window on any but the selected frame.
5994 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5995 (display-buffer-select-window): Remove function.
5996 (display-buffer-in-window): When a window on another frame gets
5997 reused, do not select it any more but just raise its frame if
5998 necessary (Bug#8851) and (Bug#8856).
5999 (display-buffer-normalize-options): Handle pop-up-frames related
6000 options more faithfully.
6001 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6002 window if it is on another frame.
c9d29fb8
SM
6003 (display-buffer-alist, display-buffer-default-specifiers):
6004 Don't make new frame unsplittable by default.
9e9de014
MR
6005 (display-buffer-normalize-argument): Fix doc-string typo and use
6006 'same-frame-other-window instead of 'other-window when associating
6007 with display-buffer-macro-specifiers.
327c8fb1 6008
7cf3f556
VB
60092011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6010
6011 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6012 New functions.
6013 (5x5-mode-map, 5x5-mode-menu): Bind them.
6014 (5x5-draw-grid): Tweak the solver's rendering.
6015
60a406cf
SM
60162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6019 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6020
d8e4b68b 60212011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6022
6023 * menu-bar.el: Use function variable instead of switch-to-buffer.
6024 (menu-bar-select-buffer-function): New variable.
60a406cf 6025 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6026
478d6f95
SM
60272011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6030 variable's status.
6031
ca530739
JD
60322011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6033
6034 * x-dnd.el (x-dnd-version-from-flags)
6035 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6036 and long as number (Bug#8899).
6037 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6038
bcd70d97
SM
60392011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6040
60a406cf 6041 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6042 (completion-try-completion, completion-all-completions): Compute the
6043 metadata argument if it's missing; make it optional (bug#8795).
6044
60a406cf 6045 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6046 (widget-complete): Use new :completion-function property.
6047 (widget-completions-at-point): New function.
6048 (default): Use :completion-function instead of :complete.
60a406cf
SM
6049 (widget-default-completions): Rename from widget-default-complete;
6050 Rewrite.
bcd70d97
SM
6051 (widget-string-complete, widget-file-complete, widget-color-complete):
6052 Remove functions.
6053 (file, symbol, function, variable, coding-system, color):
6054 * international/mule-cmds.el (default-input-method, charset)
6055 (language-info-custom-alist):
6056 * cus-edit.el (face): Use new property :completions.
6057
6058 * progmodes/pascal.el (pascal-completions-at-point): New function.
6059 (pascal-mode): Use it.
6060 (pascal-mode-map): Use completion-at-point.
6061 (pascal-toggle-completions): Make obsolete.
6062 (pascal-complete-word, pascal-show-completions):
6063 * progmodes/octave-mod.el (octave-complete-symbol):
6064 Redefine as obsolete alias.
6065 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6066 Signal absence of completion info for old Octave,
6067 (inferior-octave-complete): Redefine as obsolete alias.
6068 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6069 (meta-completions-at-point): Rename from meta-complete-symbol and
6070 adapt it for use on completion-at-point-functions.
6071 (meta-common-mode): Use it.
6072 (meta-looking-at-backward, meta-match-buffer): Remove.
6073 (meta-complete-symbol): Redefine as obsolete alias.
6074 (meta-common-mode-map): Use completion-at-point.
6075 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6076 (makefile-mode-map): Use completion-at-point.
6077 (makefile-completions-at-point): Rename from makefile-complete and
6078 adapt it for use on completion-at-point-functions.
6079 (makefile-mode): Use it.
6080 (makefile-complete): Redefine as obsolete alias.
6081
aebf69c8
DD
60822011-06-20 Deniz Dogan <deniz@dogan.se>
6083
6084 * net/rcirc.el: Delete trailing whitespaces once and for all.
6085
bfbbb27d
DC
60862011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6087
6088 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6089
d264a46b
CY
60902011-06-19 Chong Yidong <cyd@stupidchicken.com>
6091
4ca009e5
CY
6092 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6093
d264a46b
CY
6094 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6095
fbf5b3ce
MR
60962011-06-19 Martin Rudalics <rudalics@gmx.at>
6097
6098 * window.el (display-buffer-other-window-means-other-frame):
6099 Call display-buffer-normalize-alist.
6100 (display-buffer-normalize-specifiers-1): Rename to
6101 display-buffer-normalize-argument. New argument other-frame.
6102 Rewrite.
6103 (display-buffer-normalize-specifiers-2): Rename to
6104 display-buffer-normalize-options.
6105 (display-buffer-normalize-alist-1): New function.
6106 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6107 display-buffer-normalize-alist.
6108 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6109 (display-buffer-normalize-options-inhibit): New variable.
6110 (display-buffer-normalize-specifiers): Rewrite calling
6111 display-buffer-normalize-alist,
6112 display-buffer-normalize-argument, and
6113 display-buffer-normalize-options. Don't call the latter if
6114 display-buffer-normalize-options-inhibit is non-nil.
6115 (frame-auto-delete): New option.
6116 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6117 (window-list-no-nils, window-state-ignored-parameters)
6118 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6119 (window-state-put-1, window-state-put-2, window-state-put):
6120 New functions.
9a028c23
MR
6121 (display-buffer-normalize-options): Move special-display-p group
6122 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6123
6d10d800
CY
61242011-06-18 Chong Yidong <cyd@stupidchicken.com>
6125
6420d28b
CY
6126 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6127 groups (Bug#8776).
6128 (rx-submatch-n): New function.
6129 (rx): Document it.
6130
ddb8b596
CY
6131 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6132 (Bug#8768).
6133
6134 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6135
77080289
CY
6136 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6137
61dfb316
CY
6138 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6139 anytime existing face settings are present (Bug#8889).
6140
6d10d800
CY
6141 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6142 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6143 Remove unused argument.
6144
be3fb2b8
MR
61452011-06-18 Martin Rudalics <rudalics@gmx.at>
6146
bcd70d97
SM
6147 * window.el (display-buffer-default-specifiers):
6148 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6149 pop-up-window-min-width, and another reuse-window specifier
6150 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6151 (display-buffer-normalize-specifiers-2):
6152 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6153 pop-up-windows is unset. Add a reuse-window specifier for the
6154 case popping up a new window fails.
6155 (special-display-popup-frame): Remove double quoting.
28dec25a 6156 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6157
1c6d8c76
SM
61582011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6161 according to comint-completion-addsuffix.
6162
6163 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6164 (pcomplete-suffix-list): Mark as obsolete.
6165 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6166 pcomplete-seen in the closure.
6167 (pcomplete-comint-setup): Setup completion-at-point as well.
6168 (pcomplete--entries): New function.
6169 (pcomplete--env-regexp): New var.
6170 (pcomplete-entries): Rewrite to work with partial-completion and
6171 without relying on pcomplete-suffix-list.
6172 (pcomplete-pare-list): Remove, unused.
6173
25aef8b8
MR
61742011-06-17 Martin Rudalics <rudalics@gmx.at>
6175
6176 * window.el (display-buffer-alist): Set pop-up-window-min-height
6177 and pop-up-window-min-width in default value. Reported by
6178 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6179 other-window-means-other-frame.
6180 (display-buffer-macro-specifiers): Comment out entry for
6181 other-window specifier.
6182 (display-buffer-other-window-means-other-frame): New function.
6183 (display-buffer-normalize-specifiers-1): New arguments
6184 buffer-name and label. Treat other-window case specially.
6185 (display-buffer-normalize-specifiers-2): Treat other-window case
6186 specially.
6187 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6188 (display-buffer-normalize-specifiers):
6189 Call display-buffer-normalize-specifiers-3.
25aef8b8 6190
dbad4f69
MR
61912011-06-17 Martin Rudalics <rudalics@gmx.at>
6192
6193 * window.el (same-window-p): Fix two typos introduced when
6194 adding with-no-warnings.
d1067961
MR
6195 (display-buffer-normalize-specifiers-1): Don't check
6196 pop-up-frames for 'unset initialization.
6197 (display-buffer-normalize-specifiers-2): Major rewrite using
6198 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6199 (pop-up-frames, display-buffer-reuse-frames)
6200 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6201 Suggested by David Engster <deng@randomsample.de>.
6202 (even-window-heights): Initialize to 'unset.
6203 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6204 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6205 other window case.
dbad4f69 6206
9b9c9e3a
MR
62072011-06-16 Martin Rudalics <rudalics@gmx.at>
6208
bcd70d97
SM
6209 * window.el (display-buffer-normalize-specifiers-1):
6210 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6211 second argument of display-buffer (Bug#8865).
981d5c09
MR
6212 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6213 (switch-to-buffer-other-window-same-frame)
6214 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6215 Adams (Bug#8875).
9c2755e9
MR
6216 (display-buffer): Don't check noninteractive when calling
6217 display-buffer-pop-up-frame.
6218 (display-buffer-pop-up-frame): Never pop up a frame in
6219 noninteractive mode (Bug#8857).
67222e1d
MR
6220 (enlarge-window, shrink-window): Don't report an error when the
6221 window can't be resized as requested (Bug#8862).
9b9c9e3a 6222
2b75be67
SM
62232011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6224
9ffdd3ba
SM
6225 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6226
cb581a67
SM
6227 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6228
2b75be67
SM
6229 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6230
8c0e3589
AM
62312011-06-15 Alan Mackenzie <acm@muc.de>
6232
cb581a67
SM
6233 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6234 for declarators, disable knr checking to speed up for normal files.
6235 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6236
b96e6cde
LMI
62372011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6238
4bba86e6
LMI
6239 * net/network-stream.el (open-network-stream): Add the keyword
6240 :always-query-capabilities for the case where you want to force a
6241 `plain' network connection, but the protocol still requires the
6242 capabilitiy command (i.e., SMTP and EHLO).
6243
2b75be67 6244 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6245 consistency with other `-live-p' functions.
6246
efdcdbf8
SM
62472011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * window.el (same-window-buffer-names, same-window-regexps)
6250 (special-display-frame-alist, special-display-popup-frame)
6251 (special-display-function, special-display-buffer-names)
6252 (special-display-regexps, pop-up-frame-alist)
6253 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6254 (pop-up-windows, split-window-preferred-function)
6255 (split-height-threshold, split-width-threshold, even-window-heights)
6256 (display-buffer-mark-dedicated): Don't encourage the use of
6257 display-buffer-alist from Elisp code.
6258
c5cde042
DN
62592011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6260
6261 * progmodes/python.el (python-mode): Derive from prog-mode.
6262 * progmodes/ps-mode.el (ps-mode):
6263 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6264 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6265 * progmodes/ld-script.el (ld-script-mode): Likewise.
6266
baa1c9ab
MR
62672011-06-15 Martin Rudalics <rudalics@gmx.at>
6268
6269 * window.el (display-buffer-alist): Trim default value to avoid
6270 popping up a new frame (Bug#8857) or reusing an arbitrary window
6271 on another frame.
6272 (display-buffer): Do not fall back on popping up a new frame in
6273 batch mode (Bug#8857).
6274
c5dd5a51
CY
62752011-06-14 Chong Yidong <cyd@stupidchicken.com>
6276
6277 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6278 (custom-theme-summary): New function.
6279 (customize-themes): Use it.
6280
d647b7c4
GM
62812011-06-13 Glenn Morris <rgm@gnu.org>
6282
6283 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6284
9481c002
MR
62852011-06-13 Martin Rudalics <rudalics@gmx.at>
6286
357f93d2
MR
6287 * help.el (help-window): Remove variable.
6288 (help-window-point-marker, temp-buffer-max-height)
6289 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6290 (help-print-return-message): Don't set help-window.
6291 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6292 (help-window-setup-finish): Remove.
6293 (help-window-display-message, help-window-setup)
6294 (with-help-window): Major rewrite based on new
6295 display-buffer-window variable.
6296
6297 * help-mode.el (help-mode-finish): Remove help-window related
6298 code.
6299
6300 * view.el (view-exits-all-viewing-windows): Remove reference to
6301 view-return-to-alist in doc-string.
6302 (view-return-to-alist): Make obsolete.
6303 (view-buffer): Call pop-to-buffer-same-window and remove
6304 undo-window code.
6305 (view-buffer-other-window): Call pop-to-buffer-other-window and
6306 simplify code. Ignore second argument.
6307 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6308 simplify code. Ignore second argument.
6309 (view-return-to-alist-update): Make obsolete.
6310 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6311 Rewrite using quit-restore window parameters.
2b75be67
SM
6312 (view-mode-exit): Rename second argument to EXIT-ONLY.
6313 Rewrite using quit-restore-window.
357f93d2
MR
6314 (View-exit, View-exit-and-edit, View-leave, View-quit)
6315 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6316 appropriate arguments.
6317 (view-end-message): Use quit-restore window parameter.
6318
9481c002
MR
6319 * window.el (display-buffer-function): Rewrite doc-string.
6320 (display-buffer-window, display-buffer-alist): New variables.
6321 (display-buffer-split-specifiers)
6322 (display-buffer-side-specifiers)
6323 (display-buffer-macro-specifiers): New constants.
6324 (display-buffer-even-window-sizes, display-buffer-set-height)
6325 (display-buffer-set-width, display-buffer-select-window)
6326 (display-buffer-in-window, display-buffer-reuse-window)
6327 (display-buffer-split-window-1, display-buffer-split-window)
6328 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6329 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6330 (display-buffer-in-side-window, normalize-buffer-to-display)
6331 (display-buffer-normalize-specifiers-1)
6332 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6333 (display-buffer-normalize-specifiers, display-buffer-frame):
6334 New functions.
9481c002
MR
6335 (display-buffer): Major rewrite.
6336 (display-buffer-other-window, display-buffer-other-frame)
6337 (pop-to-buffer, switch-to-buffer-other-window)
6338 (switch-to-buffer-other-frame): Rewrite.
6339 (display-buffer-same-window, display-buffer-same-frame)
6340 (display-buffer-same-frame-other-window)
6341 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6342 (pop-to-buffer-other-window)
6343 (pop-to-buffer-same-frame-other-window)
6344 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6345 (switch-to-buffer-other-window-same-frame): New functions.
6346 (same-window-p, special-display-p): Rewrite disabling warnings.
6347 Make obsolete.
6348 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6349 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6350 Make obsolete
6351 (same-window-buffer-names, same-window-regexps)
6352 (special-display-frame-alist, special-display-popup-frame)
6353 (special-display-function, special-display-buffer-names)
6354 (special-display-regexps, pop-up-frame-alist)
6355 (pop-up-frame-function, split-window-preferred-function)
6356 (split-height-threshold, split-width-threshold)
6357 (even-window-heights): Make obsolete.
6358
9db51aca
GM
63592011-06-12 Glenn Morris <rgm@gnu.org>
6360
6361 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6362 Misc simplifications.
9db51aca 6363
39cffb44
MR
63642011-06-12 Martin Rudalics <rudalics@gmx.at>
6365
6366 * window.el (window-safely-shrinkable-p): Restore function which
6367 was inadvertently removed in change from 2011-06-11. Declare as
6368 obsolete.
6369
2b75be67
SM
6370 * calendar/calendar.el (calendar-generate-window):
6371 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6372 window-safely-shrinkable-p.
6373
a8955be7
GM
63742011-06-12 Glenn Morris <rgm@gnu.org>
6375
6376 * progmodes/fortran.el (fortran-mode-syntax-table):
6377 * progmodes/f90.el (f90-mode-syntax-table):
6378 Set % to punctuation. (Bug#8820)
6379 (f90-find-tag-default): Remove, no longer needed.
6380
f0d4059d
DC
63812011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6382
6383 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6384
1100a63c
CY
63852011-06-11 Chong Yidong <cyd@stupidchicken.com>
6386
6387 * image.el (image-animated-p): Return animation delay in seconds.
6388 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6389 (image-animate-timeout): Remove DELAY argument. Don't assume
6390 every subimage has the same delay; get it from image-animated-p.
6391 (image-animate): Caller changed.
6392
def722bf
MA
63932011-06-11 Michael Albinus <michael.albinus@gmx.de>
6394
6395 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6396 to ignored backtrace functions.
6397
0a2bb1a9
GM
63982011-06-11 Glenn Morris <rgm@gnu.org>
6399
6400 * calendar/appt.el (appt-disp-window-function): Doc fix.
6401 (appt-check): Handle overlapping appointments. (Bug#8337)
6402
6198ccd0
MR
64032011-06-11 Martin Rudalics <rudalics@gmx.at>
6404
6405 * window.el (window-tree-1, window-tree): New functions, moving
6406 the latter to window.el.
6407 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6408 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6409 (bw-refresh-edges): Remove.
6410 (balance-windows-1, balance-windows-2): New functions.
6411 (balance-windows): Rewrite in terms of window tree functions,
6412 balance-windows-1 and balance-windows-2.
6413 (bw-adjust-window): Remove.
6414 (balance-windows-area-adjust): New function with functionality of
6415 bw-adjust-window but using resize-window.
2b75be67
SM
6416 (set-window-text-height): Rewrite doc-string.
6417 Use normalize-live-window and resize-window.
6418 (enlarge-window-horizontally, shrink-window-horizontally):
6419 Rename argument to DELTA.
6198ccd0
MR
6420 (window-buffer-height): New function.
6421 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6422 Rewrite using new window resize routines.
2b75be67
SM
6423 (kill-buffer-and-window, mouse-autoselect-window-select):
6424 Use ignore-errors instead of condition-case.
6198ccd0
MR
6425 (quit-window): Call delete-frame instead of delete-windows-on
6426 for the only buffer on frame.
6427
9397e56f
MR
64282011-06-10 Martin Rudalics <rudalics@gmx.at>
6429
6430 * loadup.el (top-level): Load window before files for the sake
6431 of replace-buffer-in-windows.
6432
6433 * files.el (read-buffer-to-switch)
6434 (switch-to-buffer-other-window)
2b75be67
SM
6435 (switch-to-buffer-other-frame, display-buffer-other-frame):
6436 Move to window.el.
9397e56f
MR
6437
6438 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6439 (previous-buffer): Move to window.el.
6440
6441 * bindings.el (unbury-buffer): Move to window.el.
6442
6443 * window.el (delete-other-windows-vertically): Move after
6444 definition of delete-other-windows.
6445 (other-window, delete-windows-on, replace-buffer-in-windows):
6446 Move here from window.c.
6447 (record-window-buffer, unrecord-window-buffer)
6448 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6449 (switch-to-next-buffer): New functions.
6450 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6451 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6452 (previous-buffer): Move here from simple.el.
6453 Call switch-to-prev-buffer.
9397e56f
MR
6454 (bury-buffer): Move here from buffer.c. Switch to previous
6455 buffer when window cannot be deleted.
6456 (unbury-buffer): Move here from bindings.el.
6457 (ctl-x-map): Move binding for other-window from window.c to
6458 here.
6459 (read-buffer-to-switch, switch-to-buffer-other-window)
6460 (switch-to-buffer-other-frame): Move here from files.el.
6461 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6462 (switch-to-buffer): Move here from buffer.c.
6463 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6464
562dd5e9
MR
64652011-06-10 Martin Rudalics <rudalics@gmx.at>
6466
6467 * window.el (window-min-height, window-min-width): Move here
6468 from window.c. Add defcustoms and rewrite doc-strings.
6469 (resize-mini-window, resize-window): New functions.
6470 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6471 Move here from window.c.
6472 (maximize-window, minimize-window): New functions.
6473 (delete-window, delete-other-windows, split-window): Move here
6474 from window.c.
6475 (window-split-min-size): New function.
6476 (split-window-keep-point): Mention split-window-above-each-other
6477 instead of split-window-vertically.
2b75be67 6478 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6479 Rename split-window-vertically to split-window-above-each-other
6480 and provide defalias for old definition.
6481 (split-window-side-by-side, split-window-horizontally):
6482 Rename split-window-horizontally to split-window-side-by-side
6483 and provide defalias for the old definition.
562dd5e9
MR
6484 (ctl-x-map): Move bindings for delete-window,
6485 delete-other-windows and enlarge-window here from window.c.
6486 Replace bindings for split-window-vertically and
6487 split-window-horizontally by bindings for
6488 split-window-above-each-other and split-window-side-by-side.
6489
6490 * cus-start.el (all): Remove entries for window-min-height and
6491 window-min-width. Add entries for window-splits and
6492 window-nest.
6493
f0da764a
GM
64942011-06-09 Glenn Morris <rgm@gnu.org>
6495
80675c21
GM
6496 * calendar/appt.el (appt-mode-line): New function.
6497 (appt-check, appt-disp-window): Use it.
6498
f0da764a
GM
6499 * files.el (hack-one-local-variable-eval-safep):
6500 Allow minor-modes with explicit +/-1 arguments.
6501
59f623b7
TZ
65022011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6503
6504 * term/xterm.el (xterm): Add defgroup.
6505 (xterm-extra-capabilities): Add defcustom to supply known xterm
6506 capabilities, skip querying them, or query them (default).
6507 (terminal-init-xterm): Use it.
6508 (terminal-init-xterm-modify-other-keys): New function to set up
6509 modifyOtherKeys support to simplify `terminal-init-xterm'.
6510
9aab8e0d
MR
65112011-06-09 Martin Rudalics <rudalics@gmx.at>
6512
6513 * window.el (resize-window-reset, resize-window-reset-1)
6514 (resize-subwindows-skip-p, resize-subwindows-normal)
6515 (resize-subwindows, resize-other-windows, resize-this-window)
6516 (resize-root-window, resize-root-window-vertically)
6517 (window-deletable-p, window-or-subwindow-p)
6518 (frame-root-window-p): New functions.
6519
e8b08aee
GM
65202011-06-09 Glenn Morris <rgm@gnu.org>
6521
6522 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6523 (ange-ftp-get-files): Use it.
6524
254c37a5
AK
65252011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6526
6527 * mail/sendmail.el (mail-recover-1, mail-recover):
6528 * files.el (recover-file, recover-session):
6529 Handle dired-listing-switches not being just a single short option.
6530
35d7dbd3
GM
65312011-06-09 Glenn Morris <rgm@gnu.org>
6532
6533 * calendar/appt.el (appt-display-message, appt-disp-window):
6534 Handle lists of appointments.
6535
387522b2
MR
65362011-06-08 Martin Rudalics <rudalics@gmx.at>
6537
2b75be67
SM
6538 * window.el (one-window-p): Move down in code.
6539 Rewrite doc-string.
6540 (window-current-scroll-bars): Rewrite doc-string.
6541 Normalize live window argument.
387522b2
MR
6542 (walk-windows, get-window-with-predicate, count-windows):
6543 Rewrite doc-string. Use window-list-1.
6544 (window-in-direction-2, window-in-direction, get-mru-window):
6545 New functions.
6546
d8e4b68b 65472011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6548
6549 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6550 Doc fix (Bug#8713).
6551
65522011-06-08 Chong Yidong <cyd@stupidchicken.com>
6553
6554 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6555
65562011-06-08 Juanma Barranquero <lekktu@gmail.com>
6557
6558 * loadhist.el (unload-feature-special-hooks):
6559 Add `comint-output-filter-functions'.
6560
0de12c52
IK
65612011-06-08 Ivan Kanis <gnu@kanis.fr>
6562
6563 * calendar/appt.el (appt-check): Move some initializations into the let.
6564
f3d1777e
MR
65652011-06-08 Martin Rudalics <rudalics@gmx.at>
6566
6567 * window.el (window-height): Defalias to window-total-height.
6568 (window-width): Defalias to window-body-width.
6569
18af70d0
CY
65702011-06-07 Chong Yidong <cyd@stupidchicken.com>
6571
6572 * image-mode.el (image-toggle-animation): New command.
6573 (image-mode-map): Bind it to RET.
6574 (image-mode): Update message.
6575 (image-toggle-display-image): Avoid a spurious cache flush.
6576 (image-transform-rotation): Doc fix.
6577 (image-transform-properties): Return quickly in the normal case.
6578 (image-animate-loop): Rename from image-animate-max-time.
6579
2b75be67 6580 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6581 (create-animated-image): Remove unnecessary function.
6582 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6583 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6584 (image-animate-timer): Use car-safe.
6585 (image-animate-timeout): Rename argument.
6586
190b47e6
MR
65872011-06-07 Martin Rudalics <rudalics@gmx.at>
6588
6589 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6590 window.c. Rename first argument to ALL-FRAMES.
6591 Rephrase doc-strings.
6592 (get-buffer-window-list): Rewrite using window-list-1.
6593 Rephrase doc-string.
a1511caf
MR
6594 (window-safe-min-height, window-safe-min-width): New constants.
6595 (window-size-ignore, window-min-size, window-min-size-1)
6596 (window-sizable, window-sizable-p, window-size-fixed-1)
6597 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6598 (window-max-delta-1, window-max-delta, window-resizable)
6599 (window-resizable-p, window-total-height, window-total-width)
6600 (window-body-width): New functions.
6601 (window-full-height-p, window-full-width-p): Rewrite using
6602 window-total-size.
6603 (window-body-height): Rewrite using window-body-size.
190b47e6 6604
85cc1f11
MR
66052011-06-06 Martin Rudalics <rudalics@gmx.at>
6606
6607 * window.el (window-right, window-left, window-child)
6608 (window-child-count, window-last-child, window-any-p)
6609 (normalize-live-buffer, normalize-live-frame)
6610 (normalize-any-window, normalize-live-window)
6611 (window-iso-combination-p, window-iso-combined-p)
6612 (window-iso-combinations)
6613 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6614 (windows-with-parameter, window-with-parameter)
6615 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6616 (window-atom-check, window-side-check, window-check):
6617 New functions.
85cc1f11
MR
6618 (ignore-window-parameters, window-sides, window-sides-vertical)
6619 (window-sides-slots): New variables.
6620 (window-size-fixed): Move down in code. Minor doc-string fix.
6621
e7156492
AS
66222011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6623
6624 * comint.el (comint-dynamic-complete-as-filename)
6625 (comint-dynamic-complete-filename): Correctly call
6626 completion-in-region.
6627
7e821d0d
DD
66282011-06-05 Deniz Dogan <deniz@dogan.se>
6629
6630 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6631 in last change.
6632
ac09b8a1
DD
66332011-06-05 Deniz Dogan <deniz@dogan.se>
6634
6635 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6636 (rcirc): Use it to prompt for encryption.
6637
34699b85
RW
66382011-06-05 Roland Winkler <winkler@gnu.org>
6639
6640 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6641 (bibtex-search-entries): New command bound to C-c C-a.
6642 (bibtex-display-entries): New function.
6643
004dedd3
RW
66442011-06-05 Roland Winkler <winkler@gnu.org>
6645
6646 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6647 (bibtex-insert-kill): After yanking insert newline if necessary.
6648 (bibtex-initialize): Call bibtex-string-files-init only once.
6649 (bibtex-mode): Do not call easy-menu-add.
6650 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6651 (bibtex-yank): Set arg properly if nil.
6652
022fe7ce
RW
66532011-06-05 Roland Winkler <winkler@gnu.org>
6654
2b75be67
SM
6655 * textmodes/bibtex.el (bibtex-search-entry-globally):
6656 New variable.
022fe7ce
RW
6657 (bibtex-search-entry): Use it.
6658
b7c3692a
RW
66592011-06-05 Roland Winkler <winkler@gnu.org>
6660
6661 * textmodes/bibtex.el (bibtex-entry-format): New option
6662 sort-fields.
6663 (bibtex-format-entry, bibtex-reformat): Honor this option.
6664 (bibtex-parse-entry): Return fields in proper order.
6665
8eda563d
JB
66662011-06-05 Juanma Barranquero <lekktu@gmail.com>
6667
6668 * doc-view.el (doc-view-remove-if): Move computation of result out
6669 of `dolist' to silence misleading lexical-binding warning.
6670
7dbe3dbc
CY
66712011-06-04 Chong Yidong <cyd@stupidchicken.com>
6672
6673 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6674 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6675
0c33dd17
MA
66762011-06-04 Michael Albinus <michael.albinus@gmx.de>
6677
6678 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6679 "SunOS 5.10".
6680
f8f91c2b
MA
66812011-06-04 Michael Albinus <michael.albinus@gmx.de>
6682
6683 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6684 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6685 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6686 (tramp-parse-putty):
6687 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6688 (tramp-completion-function-alist-ssh)
6689 (tramp-completion-function-alist-telnet)
6690 (tramp-completion-function-alist-su)
6691 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6692 cookie.
6693
6694 * net/tramp-ftp.el:
6695 * net/tramp-sh.el:
6696 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6697 load "tramp.el" `tramp-set-completion-function'.
6698
e17d9003
SM
66992011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * shell.el: Require and use pcomplete.
6702 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6703 (shell-completion-vars): Set pcomplete-default-completion-function.
6704
6c4cab03
DD
67052011-06-04 Deniz Dogan <deniz@dogan.se>
6706
6707 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6708 `memq' (Bug#8799).
6709
ea9fafe0
SM
67102011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6713
b3e945d3
JB
67142011-06-02 Juanma Barranquero <lekktu@gmail.com>
6715
6716 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6717 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6718 * vc/log-view.el (log-view-beginning-of-defun):
6719 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6720 (smerge-refine-forward, smerge-refine-chopup-region):
6721 Silence warning for unused `dotimes' counter variables.
6722
7d520089
SM
67232011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * net/tramp.el (tramp-with-progress-reporter): Rename from
6726 with-progress-reporter. Use `declare'.
6727 * net/tramp-smb.el:
6728 * net/tramp-sh.el:
6729 * net/tramp-gvfs.el: Update all uses.
6730
a1c2400f
JB
67312011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6732
6733 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6734 buffer isn't killed before making it current.
6735
2403c841
SM
67362011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6737
6738 Silence various byte-compiler warnings.
6739 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6740 `access-type' and new obsolescence format.
6741 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6742 new format.
6743 (byte-compile-check-variable): New `access-type' argument.
6744 Only warn if the access-type is obsolete.
6745 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6746 (byte-compile-variable-set): Adjust callers.
6747 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6748 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6749 setting it as obsolete.
6750 * simple.el (minibuffer-completing-symbol):
6751 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6752 access as obsolete.
6753 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6754 obsolete yet.
6755 * international/quail.el (quail-mouse-choose-completion): Remove unused
6756 code referring to obsolete var.
6757 (quail-choose-completion-string): Remove.
6758 * server.el (server-clients-with, server-kill-buffer-query-function)
6759 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6760 * proced.el (proced-send-signal):
6761 * emacs-lisp/lisp.el (lisp-complete-symbol):
6762 Replace completion-annotate-function with completion-extra-properties.
6763
2462470b
SM
67642011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6765
fb5b2591
SM
6766 * simple.el (goto-line): Use read-number.
6767 (overriding-map-is-bound): Remove.
6768 (saved-overriding-map): Change default.
6769 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6770 Take the map as argument.
6771 (universal-argument, negative-argument, digit-argument): Use it.
6772 (restore-overriding-map): Adjust.
6773 (do-auto-fill): Use fill-forward-paragraph.
6774 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6775
fd6fa53f
SM
6776 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6777 (minibuffer-inactive-mode): New major mode.
6778 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6779 the *Messages* buffer" hack.
6780 (mouse-popup-menubar): Don't burp if the event is a normal key.
6781
2462470b
SM
6782 Miscellaneous tweaks.
6783 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6784 lexical scoping as in subr.el's dolist and dotimes.
6785 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6786 Silence compiler warning.
6787 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6788 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6789 * international/ccl.el (ccl-compile): Trivial simplification.
6790 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6791 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6792 `printflag' argument.
6793 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6794 Purecopy the whole obsolescence data.
6795
108bf785
LL
67962011-06-01 Leo Liu <sdl.web@gmail.com>
6797
6798 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6799 improve doc-string as suggested by Marco Pessotto
6800 <melmothx@gmail.com>.
6801 (rcirc-print): Fix last change.
6802
30a23501
SM
68032011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * minibuffer.el (complete-with-action): Return nil for the metadata and
6806 boundaries of non-functional tables.
6807 (completion-table-dynamic): Return nil for the metadata.
6808 (completion-table-with-terminator): Add default case, using
6809 complete-with-action.
6810 (completion--metadata): New function.
6811 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6812 to try and avoid pathological performance problems.
6813 (completion--embedded-envvar-table): Return `category' metadata.
6814
bcd54f83
LMI
68152011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6816
6817 * subr.el (process-alive-p): New tiny convenience function.
6818
e227544d
SM
68192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6822 content but also its previous major mode.
6823
e8296fdc
HE
68242011-05-31 Helmut Eller <eller.helmut@gmail.com>
6825
4d61f28d 6826 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
6827 *Backtrace* buffer when we exit with C-M-c.
6828
620c53a6
SM
68292011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 * minibuffer.el: Add metadata method to completion tables.
6832 (completion-category-overrides): New defcustom.
6833 (completion-metadata, completion--field-metadata)
6834 (completion-metadata-get, completion--styles)
6835 (completion--cycle-threshold): New functions.
6836 (completion-try-completion, completion-all-completions):
6837 Add `metadata' argument to choose completion-styles.
6838 (completion--do-completion): Use metadata to choose cycling.
6839 (completion-all-sorted-completions): Use metadata for sorting.
6840 Remove :completion-cycle-penalty which is not needed any more.
6841 (completion--try-word-completion): Add `metadata' argument.
6842 (minibuffer-completion-help): Check metadata for annotation function
6843 and sorting.
6844 (completion-file-name-table): Return `category' metadata.
6845 (minibuffer-completing-file-name): Make obsolete.
6846 * simple.el (minibuffer-completing-symbol): Make obsolete.
6847 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6848 completion-try-completion.
6849
1257e755
SM
68502011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6851
6852 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6853
3767e706
LL
68542011-05-30 Leo Liu <sdl.web@gmail.com>
6855
6856 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
6857 (rcirc-print): Decode all incoming messages (bug#8744).
6858 (rcirc-decode-coding-system): Allow value nil for automatic coding
6859 system detection.
3767e706 6860
d1a5d56a
GM
68612011-06-01 Glenn Morris <rgm@gnu.org>
6862
6863 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6864
e8cbec34
CY
68652011-05-29 Chong Yidong <cyd@stupidchicken.com>
6866
6867 * image.el (image-animate-max-time): Allow nil and t values.
6868 Default to nil.
6869 (create-animated-image): Doc fix.
6870 (image-animate-start): Remove second arg; just use
6871 image-animate-max-time.
6872 (image-animate-timeout): Doc fix. Args changed.
6873
6874 * image-mode.el (image-toggle-display-image): Ensure that the
6875 image spec passed to the animate timer is the same object as in
58179cce 6876 the buffer's display property (Bug#6981).
e8cbec34
CY
6877 (image-transform-properties): Doc fix.
6878
6879 * image.el (image-animate-max-time): Default to nil.
6880
159daf87
MR
68812011-05-29 Martin Rudalics <rudalics@gmx.at>
6882
6883 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6884 entire buffer list (Bug#8184).
6885
d66c4c7c
CY
68862011-05-29 Chong Yidong <cyd@stupidchicken.com>
6887
6888 * image.el (imagemagick-types-inhibit)
6889 (imagemagick-register-types): Doc fix.
6890
80aec780
DD
68912011-05-29 Deniz Dogan <deniz@dogan.se>
6892
6893 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6894 default.
6895
1dd3c2d9
CY
68962011-05-29 Chong Yidong <cyd@stupidchicken.com>
6897
6898 * select.el: Don't perform clipboard-manager saving in hooks;
6899 leave the hooks empty.
6900
60e56523
LL
69012011-05-28 Leo Liu <sdl.web@gmail.com>
6902
6903 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6904 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6905 (occur-edit-mode): New major mode (Bug#8463).
6906 (occur-after-change-function): New function.
6907 (occur-engine): Give Occur tags a read-only property.
6908
2b1e1a22
KR
69092011-05-28 Kevin Ryde <user42@zip.com.au>
6910
6911 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6912
5d344e88
CY
69132011-05-28 Chong Yidong <cyd@stupidchicken.com>
6914
8e6ca83d
CY
6915 * bindings.el (help-echo): Make the initial non-indicator dash
6916 empty on graphical terminals (Bug#7295).
6917
5d344e88
CY
6918 * files.el (auto-mode-alist): Move config rule after the
6919 in-stripping one (Bug#8547).
6920
bfbbace7
CY
6921 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6922
fbeba6e2
CY
6923 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6924 setting (Bug#8740).
6925
60ed8c72
AA
69262011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6927
4ac619f0
AA
6928 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6929 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6930 (Bug#8539).
60ed8c72 6931
23db196e
CY
69322011-05-28 Chong Yidong <cyd@stupidchicken.com>
6933
6934 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6935
5012f24c
DK
69362011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6937
6938 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6939 (hs-hide-block-at-point, hs-find-block-beginning)
6940 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6941 (Bug#8279).
6942
6a639b16
GM
69432011-05-28 Glenn Morris <rgm@gnu.org>
6944
6945 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6946
d43eaf2c
CY
69472011-05-28 Chong Yidong <cyd@stupidchicken.com>
6948
5199bde1
CY
6949 * help-fns.el (describe-function-1): If the function is a derived
6950 major mode, print the parent mode.
6951
d43eaf2c
CY
6952 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6953 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6954
423428a8
SM
69552011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6956
0ff8e1ba 6957 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 6958 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
6959 * progmodes/etags.el (tags-completion-at-point-function):
6960 * info-look.el (info-lookup-completions-at-point): Mark as
6961 non-exclusive.
6962 (info-complete): Adjust accordingly.
6963
423428a8
SM
6964 * info-look.el: Convert to lexical-binding and completion-at-point.
6965 (info-lookup-completions-at-point): New function.
6966 (info-complete): Use it and completion-in-region.
6967
b74aa22b
DA
69682011-05-28 Drew Adams <drew.adams@oracle.com>
6969
6970 * isearch.el: Let M-e start with point at the first mismatched char.
6971 (isearch-fail-pos): New function.
6972 (isearch-edit-string): Use it.
6973
66e2e71d
DK
69742011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6975
6976 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6977
eb95d01d
TC
69782009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6979
6980 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6981 traversal functions for avl-trees.
6982 (avl-tree--stack): New struct.
6983 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6984 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
6985 (avl-tree--do-enter): Add optional `updatefun' arg.
6986 Change return value.
eb95d01d 6987 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
6988 (avl-tree--do-delete): Add `test' and `nilflag' args.
6989 Change return value.
eb95d01d
TC
6990 (avl-tree-member): Add optional `nilflag'
6991 (avl-tree-member-p): New function.
6992 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6993 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6994 (avl-tree-stack-empty-p): New functions.
6995
3769ddcf
TC
69962009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6997
6998 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6999 avl-tree--del-balance1 and make it work both ways.
7000 (avl-tree--del-balance2): Remove.
7001 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7002 make it work both ways.
7003 (avl-tree--enter-balance2): Remove.
7004 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7005 New macros.
7006 (avl-tree--mapc, avl-tree-map): Add direction argument.
7007
eb95d01d 70082011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7009
7010 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7011
a9f737ee
CY
70122011-05-27 Chong Yidong <cyd@stupidchicken.com>
7013
7014 * select.el: Support clipboard managers with built-in function
7015 x-clipboard-manager-save, via delete-frame-functions and
7016 kill-emacs-hook.
7017 (xselect-convert-to-targets): Add MULTIPLE target to list.
7018 (xselect-convert-to-save-targets): New function.
7019
c92a1e54
KH
70202011-05-27 Kenichi Handa <handa@m17n.org>
7021
7022 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7023 let-binding rfc2047-encode-encoded-words to nil.
7024
e145f188
GM
70252011-05-27 Glenn Morris <rgm@gnu.org>
7026
5ec8a862
GM
7027 * mail/emacsbug.el: Don't require url-util.
7028
4b29d9fb
GM
7029 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7030
e145f188
GM
7031 * files.el (set-auto-mode):
7032 Also respect mode: entries at the end of the file. (Bug#8586)
7033
7d15102b
GM
70342011-05-26 Glenn Morris <rgm@gnu.org>
7035
98f593b8
GM
7036 * files.el (hack-local-variables-prop-line, hack-local-variables):
7037 Downcase mode names, as seems to be traditional.
27b48e63 7038 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7039
7d15102b
GM
7040 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7041 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7042
51d5b4ec
JD
70432011-05-25 Julien Danjou <julien@danjou.info>
7044
7045 * textmodes/rst.el (rst-define-level-faces): Do not define face
7046 symbol if it is already defined.
7047
91513f63
VB
70482011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7049
7050 * play/5x5.el (5x5-new-game, 5x5-randomize):
7051 Reset 5x5-solver-output to nil when a new grid is cast.
7052 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7053 these debugging traces, as defmacro breaks the compiled code.
7054
4d90d6d0
DK
70552011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7056
7057 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7058
e1b90ef6
LL
70592011-05-24 Leo Liu <sdl.web@gmail.com>
7060
7061 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7062 (vc-bzr-sha1): Adapt.
7063
d8e4b68b 7064 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7065
7066 * bindings.el: Provide sha1 feature.
7067
db0406bb 70682011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7069
7070 * mail/sendmail.el: Require `rfc2047'.
7071 (mail-insert-from-field): Do not perform RFC2047 encoding.
7072 (mail-encode-header): New function.
7073 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7074 buffer to the return value of select-message-coding-system.
7075 Call mail-encode-header.
b8d747b9
KH
7076
7077 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7078
db0406bb 70792011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7080
4d90d6d0
DK
7081 * mail/supercite.el (sc-default-cite-frame):
7082 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7083
eb8a5e9b
GM
70842011-05-24 Glenn Morris <rgm@gnu.org>
7085
f8630703
GM
7086 * progmodes/python.el (brm-menu): Declare.
7087
8831bbed
GM
7088 * emulation/viper.el (viper-set-hooks): Declare.
7089
eb8a5e9b
GM
7090 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7091 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7092 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7093 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7094 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7095 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7096
a2a25d24
SM
70972011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 Add an :exit-function for completion-at-point.
7100
7101 * minibuffer.el (completion--done): New fun.
7102 (completion--do-completion): Use it. New arg `expect-exact'.
7103 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7104 since completion--do-completion does it for us now.
7105 (minibuffer-force-complete): Use completion--done and
7106 completion--replace. Handle sole-completion case with more care.
7107 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7108 (completion-extra-properties): New var.
7109 (completion-annotate-function): Make obsolete.
7110 (minibuffer-completion-help): Adjust accordingly.
7111 Use completion-list-insert-choice-function.
7112 (completion-at-point, completion-help-at-point):
7113 Bind completion-extra-properties.
7114 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7115 * simple.el (completion-list-insert-choice-function): New var.
7116 (completion-setup-function): Preserve it.
7117 (choose-completion): Pay attention to it, shuffle the code a bit.
7118 (choose-completion-string): New arg `insert-function'.
7119
7120 * textmodes/bibtex.el: Convert to lexical binding.
7121 (bibtex-mode-map): Use completion-at-point.
7122 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7123 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7124 (bibtex-complete): Define as obsolete alias.
7125 (bibtex-complete-internal): Remove.
7126 (bibtex-format-entry): Remove unused sub-group in regexp.
7127 * shell.el (shell--command-completion-data)
7128 (shell-environment-variable-completion):
7129 * pcomplete.el (pcomplete-completions-at-point):
7130 * comint.el (comint--complete-file-name-data): Use :exit-function
7131 instead of completion-table-with-terminator so it also works for
7132 choose-completion.
7133
e44e373d
SM
71342011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7135
4f91a816
SM
7136 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7137
782fc819
SM
7138 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7139 (bug#8710).
7140
e44e373d
SM
7141 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7142
381987c3
KM
71432011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7144
7145 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7146 customization variable and implement: If non-nil, auto-fill will
7147 be inhibited while on topic's header line.
7148
b776bc70
VB
71492011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7150
7151 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7152 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7153 always have a solution in grid size = 5 cases.
7154 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7155 (5x5-solver-output, 5x5-log-buffer): New vars.
7156 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7157 Make these variables buffer local to achieve 5x5 multi-session-ness.
7158 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7159 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7160 (5x5-solve-suggest): New funs.
7161 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7162 randomize a grid so that we ensure that there is always a solution.
7163 (5x5-make-random-grid): Allow other movement than flipping.
7164
7de88b6e
KR
71652011-05-23 Kevin Ryde <user42@zip.com.au>
7166
7167 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7168 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7169 advice and passes PREDICATE.
7170
b1ef1257
SM
71712011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7172
bbca48fe
SM
7173 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7174 byte-compile-lambda if it's actually a lambda.
7175
b1ef1257
SM
7176 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7177 Fix function quoting. Use backquote better.
7178
92a9cc65
YS
71792011-05-22 Yuanle Song <sylecn@gmail.com>
7180
7181 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7182 matching (Bug#8516).
7183
f0fb8059
JA
71842011-01-22 Jari Aalto <jari.aalto@cante.net>
7185
7186 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7187 different face (Bug#8178).
7188
d5b44c93
CY
71892011-05-22 Chong Yidong <cyd@stupidchicken.com>
7190
7191 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7192 defface (Bug#8144).
7193
79106a44
SM
71942011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7195
9c848d8a
SM
7196 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7197 funcall as well (bug#8712). Warn when performing those conversions.
7198 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7199
79106a44
SM
7200 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7201
88dfa756
GM
72022011-05-22 Glenn Morris <rgm@gnu.org>
7203
7204 * files.el (hack-local-variables-prop-line): Small simplifications.
7205 (hack-local-variables, hack-local-variables-prop-line):
7206 If MODE-ONLY, return the mode, rather than just `t'.
7207
b7cf2c79
SM
72082011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7211
3f1a8558
GM
72122011-05-21 Glenn Morris <rgm@gnu.org>
7213
7e4ccca3
GM
7214 * files.el (hack-local-variables-prop-line, hack-local-variables):
7215 If only interested in the mode, don't bother doing the other stuff.
7216
637d46ca
GM
7217 * image-mode.el (image-after-revert-hook):
7218 Redraw all frames on which the image is visible. (Bug#8567)
7219
973d955b
GM
7220 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7221
3f1a8558
GM
7222 * wid-edit.el (widget-checklist-match-inline):
7223 Fix 2011-04-19 change. (Bug#8649)
7224
96479927
SM
72252011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7226
1dcf791f
SM
7227 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7228 Also allow singlespace after single-letter capitals followed by a dot.
7229
96479927
SM
7230 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7231 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7232
35fd0881
N
72332011-05-20 Nix <nix@esperi.org.uk>
7234
7235 * files.el (basic-save-buffer-2):
7236 Fix handling of break-hardlink-on-save with non-existent files.
7237
82745640
DD
72382011-05-19 Deniz Dogan <deniz@dogan.se>
7239
7240 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7241 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7242
4a720484
GM
72432011-05-19 Glenn Morris <rgm@gnu.org>
7244
d1f21341
GM
7245 * progmodes/f90.el (f90-type-def-re):
7246 Handle "type, bind(c)". (Bug#8691)
7247
4a720484
GM
7248 * emacs-lisp/autoload.el (batch-update-autoloads):
7249 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7250
2fb0a219
MA
72512011-05-18 Michael Albinus <michael.albinus@gmx.de>
7252
7253 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7254 property for the correct connection in case of multihops.
7255
e565dd37
GM
72562011-05-18 Glenn Morris <rgm@gnu.org>
7257
c2571358 7258 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7259 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7260
e565dd37
GM
7261 Rationalize calendar handling of day and month abbrev-arrays.
7262 * calendar/calendar.el (calendar-customized-p): New function.
7263 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7264 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7265 Add :set function.
7266 (calendar-abbrev-length, calendar-day-abbrev-array)
7267 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7268 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7269 Elements may no longer be nil.
7270 (calendar-day-name, calendar-month-name):
7271 Update for changed nature of abbrev arrays.
7272 * calendar/diary-lib.el (diary-name-pattern):
7273 Update for changed nature of abbrev arrays.
7274 (diary-mark-entries-1): Update calendar-make-alist calls.
7275 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7276 * calendar/cal-html.el (cal-html-day-abbrev-array):
7277 Simply inherit from calendar-day-abbrev-array.
7278
1d99a745
SM
72792011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * progmodes/grep.el (grep-mode): Disable default
7282 compilation-directory-matcher setting (bug#8684).
7283
7c1d9aa0
MA
72842011-05-17 Michael Albinus <michael.albinus@gmx.de>
7285
7286 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7287 instead of "head" and "tail". There were problems with SunOS 5.9,
7288 and it performs better.
7289
3952e9d8
GM
72902011-05-17 Glenn Morris <rgm@gnu.org>
7291
2dd12e7f
GM
7292 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7293
e4157b9c
GM
7294 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7295 Replace obsolete function.
7296
8e249bbd
GM
7297 * shell.el (pcomplete-parse-arguments-function): Declare.
7298
3952e9d8
GM
7299 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7300 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7301 (appt-check): Doc fixes.
7302 (appt-disp-window-function, appt-delete-window-function):
7303 Remove needless special case in custom :type.
7304 (appt-display-count): Default to 0, not nil.
7305 (appt-check): Reset appt-display-count to 0, not nil.
7306
c71a0d48 73072011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7308
c71a0d48
GM
7309 * progmodes/python.el (python-font-lock-keywords):
7310 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7311
31d55be9
SM
73122011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7313
7314 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7315
3bfacb2f
KR
73162011-05-16 Kevin Ryde <user42@zip.com.au>
7317
7318 * info-look.el (makefile-automake-mode): New setups, looking in
7319 automake manual, then makefile-mode.
7320 (makefile-mode): Remove automake manual, have it just in
7321 makefile-automake-mode since there's various things different or
7322 not relevant to plain make.
7323 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7324 believe a hypothetical automake-mode would go to makefile-mode,
7325 not the other way around.
7326
c8e83751
CY
73272011-05-15 Chong Yidong <cyd@stupidchicken.com>
7328
5e9e35cd
CY
7329 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7330 hunk-end tags (Bug#8672).
7331
c8e83751
CY
7332 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7333 vc-annotate-show-diff-revision-at-line (Bug#8671).
7334
50b23e5a
GM
73352011-05-14 Glenn Morris <rgm@gnu.org>
7336
7210a739
GM
7337 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7338 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7339 (change-log-font-lock-keywords): Also handle multiple author lines
7340 with leading tabs. (Bug#8644)
7210a739 7341
4691905a
GM
7342 * calendar/appt.el (appt-check): Rename some local variables.
7343 Some simplification/reordering.
7344
50b23e5a
GM
7345 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7346 (feedmail-sendmail-f-doesnt-sell-me-out)
7347 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7348 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7349 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7350 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7351 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7352 (feedmail-binmail-gnulinuxish-template):
7353 Rename from feedmail-binmail-linuxish-template.
7354 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7355 Use insert-buffer-substring.
7356
215cda7c
BC
73572011-05-14 Bill Carpenter <bill@carpenter.org>
7358
7359 * mail/feedmail.el (feedmail-patch-level): Increase.
7360 (feedmail-debug): New custom group.
7361 (feedmail-confirm-outgoing-timeout)
7362 (feedmail-sendmail-f-doesnt-sell-me-out)
7363 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7364 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7365 (feedmail-sender-line, feedmail-from-line)
7366 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7367 (feedmail-spray-this-address)
215cda7c
BC
7368 (feedmail-spray-address-fiddle-plex-list)
7369 (feedmail-queue-use-send-time-for-date)
7370 (feedmail-queue-use-send-time-for-message-id)
7371 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7372 (feedmail-buffer-eating-function):
7373 Doc fixes.
7374 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7375 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7376 (feedmail-message-action-scroll-down): New functions.
7377 (feedmail-queue-directory, feedmail-queue-draft-directory):
7378 Use expand-file-name.
7379 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7380 Remove C-v help entry.
7381 (feedmail-queue-buffer-file-name): New variable.
7382 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7383 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7384 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7385 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7386 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7387 (feedmail-message-action-toggle-spray)
7388 (feedmail-run-the-queue-no-prompts)
7389 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7390 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7391 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7392 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7393 (feedmail-envelope-deducer, feedmail-fiddle-from)
7394 (feedmail-fiddle-sender, feedmail-default-date-generator)
7395 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7396 (feedmail-fiddle-spray-address)
7397 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7398 (feedmail-fiddle-list-of-fiddle-plexes)
7399 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7400 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7401 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7402 Change default. Doc fix.
7403 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7404 (feedmail-binmail-linuxish-template): New constant.
7405 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7406 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7407 (feedmail-send-it): Add debug call.
7408 Use feedmail-queue-buffer-file-name, and
7409 feedmail-send-it-immediately-wrapper.
7410 (feedmail-message-action-send): Add debug call.
7411 Use feedmail-send-it-immediately-wrapper.
7412 (feedmail-queue-express-to-queue): Add debug call.
7413 Run feedmail-queue-express-hook.
7414 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7415 (feedmail-message-action-help-blat):
7416 Rename from feedmail-queue-send-edit-prompt-help-first.
7417 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7418 Check line-endings. Handle errors better.
7419 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7420 Doc fix. Add debug call.
7421 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7422 Use feedmail-queue-send-edit-prompt-inner.
7423 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7424 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7425 from feedmail-queue-send-edit-prompt.
7426 (feedmail-queue-send-edit-prompt-help)
7427 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7428 (feedmail-tidy-up-slug): Add debug call.
7429 Respect feedmail-queue-slug-suspect-regexp.
7430 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7431 (feedmail-dump-message-to-queue): Add debug call.
7432 Expand queue-directory.
7433 (feedmail-dump-message-to-queue): Change message slightly.
7434 Use feedmail-say-chatter.
7435 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7436 (feedmail-send-it-immediately-wrapper): New function.
7437 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7438 Insert empty string rather than newline. Handle full-frame case.
7439 Use catch/throw. Use feedmail-say-chatter.
7440 (feedmail-fiddle-from): Try mail-host-address.
7441 (feedmail-default-message-id-generator): Doc fix.
7442 Bind system-time-locale. Handle missing end.
7443 (feedmail-fiddle-x-mailer): Add debug call.
7444 Handle feedmail-x-mailer-line being nil.
7445 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7446 Add debug call. Use buffer-substring-no-properties.
7447 (feedmail-say-debug, feedmail-say-chatter): New functions.
7448 (feedmail-find-eoh): Give an explicit error.
7449
42c7e61e
UJ
74502011-05-13 Ulf Jasper <ulf.jasper@web.de>
7451
c2571358 7452 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7453 family from helvetica to sans.
c2571358 7454 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7455 etc/images/newsticker.
7456
c2571358 7457 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7458 family from helvetica to sans.
7459
7460 * net/newst-plainview.el (newsticker-new-item-face)
7461 (newsticker-old-item-face, newsticker-immortal-item-face)
7462 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7463 (newsticker-statistics-face): Change default family from
42c7e61e 7464 helvetica to sans.
c2571358 7465 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7466 etc/images/newsticker.
7467
7468 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7469 (newsticker--process-auto-mark-filter-match): : Tell user about
7470 auto-marking.
7471
8497a297
DV
74722011-05-13 Didier Verna <didier@xemacs.org>
7473
7474 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7475 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7476 TODO entries.
8497a297
DV
7477 (lisp-lambda-list-keyword-parameter-indentation)
7478 (lisp-lambda-list-keyword-parameter-alignment)
7479 (lisp-lambda-list-keyword-alignment): New customizable user options.
7480 (lisp-indent-defun-method): Improve docstring.
7481 (extended-loop-p): Fix comment.
7482 (lisp-indent-lambda-list-keywords-regexp): New variable.
7483 (lisp-indent-lambda-list): New function.
7484 (lisp-indent-259): Use it.
7485 (lisp-indent-defmethod): Support for more than one
7486 method qualifier and properly indent methods lambda-lists.
7487 (defgeneric): Provide a missing common-lisp-indent-function property.
7488
f278f87f
SM
74892011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7492 bounds for the empty string (bug#8667).
7493
5233edd7
GM
74942011-05-13 Glenn Morris <rgm@gnu.org>
7495
5237a44f
GM
7496 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7497
8340026c 7498 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7499 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7500
5233edd7 7501 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7502 (appt-time-msg-list): Doc fix.
a5464014 7503 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7504
92d10796
AS
75052011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7506
7507 * progmodes/ld-script.el (ld-script-keywords)
7508 (ld-script-builtins): Update keywords list.
7509
914a0ae1
SM
75102011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7511
c89be45f
SM
7512 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7513
914a0ae1
SM
7514 * shell.el (shell-completion-vars): New function.
7515 (shell-mode):
7516 * simple.el (read-shell-command): Use it.
7517 (blink-matching-open): No need for " [...]" in minibuffer-message.
7518
98dc3df3
GM
75192011-05-12 Glenn Morris <rgm@gnu.org>
7520
7521 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7522 (appt-check): Simplify.
7523
d2fc7e3d 75242011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7525
4d61f28d 7526 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7527 literal "/dev/null".
7528
d2fc7e3d 75292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7530
7531 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7532 Fix typo.
7533
d2fc7e3d 75342011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7535
3f254caa
SM
7536 * progmodes/which-func.el (which-function):
7537 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7538 which might not be defined (Bug#8260).
7539
d45885f7
GM
75402011-05-12 Glenn Morris <rgm@gnu.org>
7541
7542 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7543 Let byte-compile-initial-macro-environment always take precedence.
7544
488086f4
SM
75452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7546
7547 * net/rcirc.el: Add support for SSL/TLS connections.
7548 (rcirc-server-alist): New field `encryption'.
7549 (rcirc): Check `encryption' settings.
7550 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7551 Merge make-local-variable into `set'.
7552 (rcirc--connection-open-p): New function.
7553 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7554 the process is not a network process (e.g. running gnutls-cli).
7555 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7556 Make rcirc-(en|de)code-coding-system local here.
7557 (rcirc-mode): Merge make-local-variable into `set'.
7558 (rcirc-parent-buffer): Make permanent buffer-local.
7559 (rcirc-multiline-minor-mode): Don't do it here.
7560 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7561 there's no server buffer.
7562
7d3b9d44
GM
75632011-05-11 Glenn Morris <rgm@gnu.org>
7564
f64049c6
GM
7565 * newcomment.el (comment-kill): Prefix "unused" local.
7566
93c9df73
GM
7567 * term/w32console.el (get-screen-color): Declare.
7568
7d3b9d44
GM
7569 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7570 Handle symbol elements of byte-compile-initial-macro-environment.
7571
9e2dd53f
LL
75722011-05-10 Leo Liu <sdl.web@gmail.com>
7573
488086f4
SM
7574 * bookmark.el (bookmark-bmenu-mode-map):
7575 Bind bookmark-bmenu-search to `/'.
8b340240 7576
9e2dd53f 7577 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7578 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7579 (Footnote-unicode): New function.
7580 (footnote-style-alist): Add unicode style to the list.
7581 (footnote-style): Doc fix.
9e2dd53f 7582
79b70037
GM
75832011-05-10 Jim Meyering <meyering@redhat.com>
7584
7585 Fix doubled-word typos.
7586 * international/quail.el (quail-insert-kbd-layout): and and -> and
7587 * kermit.el: and and -> and
7588 * net/ldap.el (ldap-search-internal): to to -> to
7589 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7590 * progmodes/js.el (js-mode): and and -> and
7591 * textmodes/artist.el (artist-move-to-xy): at at -> at
7592 (artist-draw-region-trim-line-endings): if if -> if
7593 And Safetyc -> Safety.
7594 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7595
b8f82dc1 75962011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7597 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7598
7599 * files.el (hack-one-local-variable-eval-safep):
7600 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7601
4f99f44b
GM
76022011-05-10 Glenn Morris <rgm@gnu.org>
7603
7604 * calendar/diary-lib.el (diary-list-entries-hook)
7605 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7606 (diary-nongregorian-marking-hook, diary-list-entries)
7607 (diary-include-other-diary-files, diary-mark-entries)
7608 (diary-mark-included-diary-files): Doc fixes.
7609
84f29e6b
JB
76102011-05-09 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * misc.el: Require tabulated-list.el during compilation.
7613
9bedd73a
CY
76142011-05-09 Chong Yidong <cyd@stupidchicken.com>
7615
488086f4
SM
7616 * progmodes/compile.el (compilation-start):
7617 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7618 (compilation-filter-hook): Doc fix.
7619
797c735c
DD
76202011-05-09 Deniz Dogan <deniz@dogan.se>
7621
7622 * wdired.el: Remove outdated installation comment. Fix usage
7623 comment.
7624
5f4b1dfe
JB
76252011-05-09 Juanma Barranquero <lekktu@gmail.com>
7626
7627 * misc.el: Implement new command `list-dynamic-libraries'.
7628 (list-dynamic-libraries--loaded-only-p): New variable.
7629 (list-dynamic-libraries--refresh): New function.
7630 (list-dynamic-libraries): New command.
7631
4c44026c
CY
76322011-05-09 Chong Yidong <cyd@stupidchicken.com>
7633
488086f4
SM
7634 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7635 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7636 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7637 higher priority to avoid clobbering by gnu.
7638
027f966d
CY
76392011-05-08 Chong Yidong <cyd@stupidchicken.com>
7640
7641 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7642 if the face has existing theme settings (Bug#8454).
7643
085f5d7d
CY
76442011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7645
488086f4
SM
7646 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7647 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7648
2a86a00c
RS
7649 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7650 special file names `.' and `..' (Bug#8259).
7651
d9c54a06
CY
76522011-05-08 Chong Yidong <cyd@stupidchicken.com>
7653
488086f4
SM
7654 * progmodes/grep.el (grep-mode-font-lock-keywords):
7655 Remove buffer-changing entries.
d9c54a06
CY
7656 (grep-filter): New function.
7657 (grep-mode): Add it to compilation-filter-hook.
7658
7659 * progmodes/compile.el (compilation-filter-hook)
7660 (compilation-filter-start): New defvars.
7661 (compilation-filter): Call compilation-filter-hook prior to
7662 updating the process mark.
7663
c4662635
SM
76642011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7667
b0512a1d
EZ
76682011-05-07 Eli Zaretskii <eliz@gnu.org>
7669
605c9376
EZ
7670 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7671 mailclient-send-it even if window-system is nil. (Bug#8595)
7672
c4662635
SM
7673 * term/w32console.el (terminal-init-w32console):
7674 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7675 background-mode. (Bug#8597)
7676
d1dc2cc2
SM
76772011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7678
7679 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7680 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7681 New functions.
7682 (defgeneric, eieio--defmethod): Use them.
7683 (eieio-defgeneric): Remove.
7684 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7685
915d1300
GM
76862011-05-07 Glenn Morris <rgm@gnu.org>
7687
a3961c3e
GM
7688 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7689 Use let rather than let*.
7690 (timeclock-find-discrep): Remove unused local.
7691
314347b9
GM
7692 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7693
915d1300
GM
7694 * calendar/appt.el (appt-time-msg-list): Doc fix.
7695
275b59b0
NF
76962011-05-06 Noah Friedman <friedman@splode.com>
7697
7698 * apropos.el (apropos-print-doc): Only use
7699 emacs-lisp-docstring-fill-column when it is bound to an integer,
7700 per that variable's documentation.
7701
6c19f744
SM
77022011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7705 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7706
60f884b2
GM
77072011-05-06 Glenn Morris <rgm@gnu.org>
7708
5006e634
GM
7709 * calendar/appt.el (appt-message-warning-time): Doc fix.
7710 (appt-warning-time-regexp): New option.
7711 (appt-make-list): Respect appt-message-warning-time.
7712
548d0a63
GM
7713 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7714 New options.
7715 (diary-add-to-list): Strip comments from the displayed string.
7716 (diary-mode): Set comment-start and comment-end.
7717
60f884b2
GM
7718 * vc/diff-mode.el (smerge-refine-subst): Declare.
7719 (diff-refine-hunk): Don't require smerge-mode when compiling.
7720
989681bb
JB
77212011-05-06 Juanma Barranquero <lekktu@gmail.com>
7722
7723 * simple.el (list-processes): Return nil as the docstring says.
7724
a6bc05e1
MA
77252011-05-05 Michael Albinus <michael.albinus@gmx.de>
7726
7727 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7728 to "".
7729 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7730 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7731 determining of binary transfer. (Bug#7383)
7732
23c22e9a
MA
77332011-05-05 Michael Albinus <michael.albinus@gmx.de>
7734
c4662635
SM
7735 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7736 Fix port computation bug. (Bug#8618)
23c22e9a 7737
0bff894f
GM
77382011-05-05 Glenn Morris <rgm@gnu.org>
7739
b8296902
GM
7740 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7741
1f522ce8
GM
7742 * simple.el (shell-dynamic-complete-functions)
7743 (comint-dynamic-complete-functions): Declare.
7744
cf5bee67
GM
7745 * net/network-stream.el (gnutls-negotiate):
7746 * simple.el (tabulated-list-print): Fix declarations.
7747
7748 * progmodes/gud.el (syntax-symbol, syntax-point):
7749 Remove unnecessary and incorrect declarations.
7750
0bff894f
GM
7751 * emacs-lisp/check-declare.el (check-declare-scan):
7752 Handle byte-compile-initial-macro-environment in bytecomp.el
7753
9869b3ae
SM
77542011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 Fix earlier half-done eieio-defmethod change (bug#8338).
7757 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7758 Streamline and change calling convention.
7759 (defmethod): Adjust accordingly and simplify.
7760 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7761 new eieio--defmethod.
7762 (slot-boundp): Minor CSE simplification.
7763
9c1d5ac5
MZ
77642011-05-05 Milan Zamazal <pdm@zamazal.org>
7765
7766 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7767 (glasses-make-readable): Use glasses-separate-capital-groups.
7768
455c834e
JB
77692011-05-05 Juanma Barranquero <lekktu@gmail.com>
7770
7771 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7772 (warning-series): Doc fix.
7773 (display-warning): Don't try to create the buffer if we just found it.
7774
9ed7c8cb
CY
77752011-05-04 Chong Yidong <cyd@stupidchicken.com>
7776
7777 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7778 (autoload-find-generated-file): New function.
7779 (generate-file-autoloads): Bind generated-autoload-file to
7780 buffer-file-name.
9869b3ae
SM
7781 (update-file-autoloads, update-directory-autoloads):
7782 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7783 output file (Bug#7989).
7784 (batch-update-autoloads): Doc fix.
7785
0898ca10
JB
77862011-05-04 Juanma Barranquero <lekktu@gmail.com>
7787
7788 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7789
31dfb76c
GM
77902011-05-04 Glenn Morris <rgm@gnu.org>
7791
f330b642
GM
7792 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7793 function, so it follows changes in calendar-date-style.
7794 (diary-fancy-date-matcher): New function.
7795 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7796 (diary-fancy-font-lock-fontify-region-function):
7797 Use diary-fancy-date-pattern as a function.
7798
31dfb76c
GM
7799 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7800 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7801
48e79d6a
TZ
78022011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7803
7804 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7805 instead of positional arguments. Allow :keylist and :crlfiles
7806 arguments.
7807 (open-gnutls-stream): Call it.
7808
7809 * net/network-stream.el (network-stream-open-starttls): Adjust to
7810 call `gnutls-negotiate' with :process and :hostname arguments.
7811
dd5a5ee0
SM
78122011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7813
ef80fc09
SM
7814 * minibuffer.el (completion--message): New function.
7815 (completion--do-completion, minibuffer-complete)
7816 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7817 (completion--do-completion): Don't ignore completion-auto-help when in
7818 icomplete-mode.
7819
dd5a5ee0
SM
7820 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7821 internal encoding (e.g. tibetan zero is not whitespace).
7822 (global-whitespace-mode): Prefer save-current-buffer.
7823 (whitespace-trailing-regexp): Remove useless save-match-data.
7824 (whitespace-empty-at-bob-regexp): Minor simplification.
7825
b7d22a83
CY
78262011-05-03 Chong Yidong <cyd@stupidchicken.com>
7827
7828 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7829
5192af46
AM
78302011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7831
7832 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 7833 Use `concat' to create string for insertion.
5192af46 7834
5767d190
SM
78352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7836
7837 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7838 Avoid open-line which runs post-self-insert-hook.
7839 (bibtex-fill-entry): Remove unused `end' var.
7840
bf242939
AM
78412011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7842
5767d190
SM
7843 * textmodes/ispell.el (ispell-add-per-file-word-list):
7844 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 7845
25666126
LL
78462011-05-03 Leo Liu <sdl.web@gmail.com>
7847
7848 * isearch.el (isearch-yank-pop): New command.
5767d190 7849 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
7850 (isearch-forward): Mention it.
7851
52d3c2d0
SM
78522011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7853
1bcace58
SM
7854 * simple.el (minibuffer-complete-shell-command): Remove.
7855 (minibuffer-local-shell-command-map): Use completion-at-point.
7856 (read-shell-command): Setup completion vars here instead.
7857 (read-expression-map): Bind TAB to symbol completion.
7858
52d3c2d0
SM
7859 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7860 error directly rather via storing it into `results'.
7861
35813471
LL
78622011-05-02 Leo Liu <sdl.web@gmail.com>
7863
7864 * vc/diff.el: Fix description.
7865
e793a940
LMI
78662011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867
7868 * server.el (server-eval-at): New function.
7869
8de66e05
LMI
78702011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7871
7872 * net/network-stream.el (open-network-stream): Take a :nowait
7873 parameter and pass it on to `make-network-process'.
7874 (network-stream-open-plain): Ditto.
7875
dcb79f20
AS
78762011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7877
7878 * faces.el (face-spec-set-match-display): Don't match toolkit
7879 options on terminal frames.
7880
14a7fbd8
SM
78812011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7eabc1be
SM
7883 * progmodes/pascal.el: Use lexical binding.
7884 (pascal-mode-map): Remove author preferences.
7885
14a7fbd8
SM
7886 * pcomplete.el (pcomplete-std-complete): Don't abuse
7887 completion-at-point.
7888
50f84510
JB
78892011-04-28 Juanma Barranquero <lekktu@gmail.com>
7890
6e087a44
JB
7891 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7892 removing code that has been dead since 1991 or so.
7893
50f84510
JB
7894 * startup.el (command-line): When warning about "_emacs", use a
7895 delayed warning to allow the user to filter it out.
7896
0ba690bd
DD
78972011-04-28 Deniz Dogan <deniz@dogan.se>
7898
7899 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7900 user has not joined.
7901
08abfaad
SM
79022011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7905 aren't any completions at point.
7906
638f053a
JB
79072011-04-28 Juanma Barranquero <lekktu@gmail.com>
7908
7909 * subr.el (display-delayed-warnings): New function.
7910 (delayed-warnings-hook): New variable.
7911
8fff8daa
SM
79122011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7913
08abfaad
SM
7914 * minibuffer.el (completion-at-point, completion-help-at-point):
7915 Don't presume that a given completion-at-point-function will always
7916 use the same calling convention.
7917
8fff8daa
SM
7918 * pcomplete.el (pcomplete-completions-at-point):
7919 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7920 pcomplete-seen is non-nil.
7921 (pcomplete-comint-setup): Also recognize the new comint/shell
7922 completion functions.
7923 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7924 pcomplete-seen is non-nil.
7925
841a1577 79262011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 7927
841a1577 7928 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 7929 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 7930 the first character in the entry. This allows for code to add its
211ec907
UJ
7931 own uid to the entry.
7932 (icalendar--convert-float-to-ical): Add export of
7933 `diary-float'-entries save for those with the optional DAY
7934 argument.
7935
2a782793
DC
79362011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7937
7938 * subr.el (shell-quote-argument): Use alternate escaping strategy
7939 when we spot a variable reference in a string.
7940
0438ce91
DC
79412011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7942
7943 * cus-start.el (all): Define customization for debug-on-event.
7944
841a1577 79452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
7946
7947 * subr.el (shell-quote-argument): Escape correctly under Windows.
7948
d090ed6c
SM
79492011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7950
7951 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7952
bfd31217
MA
79532011-04-25 Michael Albinus <michael.albinus@gmx.de>
7954
d090ed6c
SM
7955 * net/tramp.el (tramp-process-actions): Add POS argument.
7956 Delete region between POS and (pos).
bfd31217 7957
d090ed6c
SM
7958 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7959 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
7960 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7961
7962 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7963 position in `tramp-process-actions' call.
7964
7965 * net/trampver.el: Update release number.
7966
e92f3bd3
SM
79672011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7968
850256b5
SM
7969 * custom.el (defcustom): Obey lexical-binding.
7970
e92f3bd3
SM
7971 Fix octave-inf completion problems reported by Alexander Klimov.
7972 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7973 Inherit from octave-mode-syntax-table.
7974 (inferior-octave-mode): Set info-lookup-mode.
7975 (inferior-octave-completion-at-point): New function.
7976 (inferior-octave-complete): Use it and completion-in-region.
7977 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7978 comint-filename-completion.
7979 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7980 symbol elements which shouldn't be word elements.
7981 (octave-font-lock-keywords, octave-beginning-of-defun)
7982 (octave-function-header-regexp): Adjust regexps accordingly.
7983 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7984
cd22b309
JB
79852011-04-25 Juanma Barranquero <lekktu@gmail.com>
7986
7987 * net/gnutls.el (gnutls-errorp): Declare before first use.
7988
8b492194
TZ
79892011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7990
7991 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7992 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 7993 default trustfile exists before going to use it. Add missing
5a5fa834 7994 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
7995 Reported by Claudio Bley <claudio.bley@gmail.com>.
7996 (open-gnutls-stream): Add usage example.
7997
7998 * net/network-stream.el (network-stream-open-starttls): Give host
7999 parameter to `gnutls-negotiate'.
8000 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8001 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8002
841a1577 80032011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8004
cd22b309
JB
8005 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8006 Use correct match group (bug#8438).
05842630 8007
3ba7869c
CY
80082011-04-24 Chong Yidong <cyd@stupidchicken.com>
8009
512e3ae1
CY
8010 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8011 (package-menu--generate): New arg specifying packages to show.
8012 (package-menu-refresh, package-menu-execute, list-packages):
8013 Callers changed.
8014 (package-show-package-list): New function, replacing deleted
8015 package--list-packages (renamed because it is non-internal).
8016
8017 * finder.el (finder-list-matches): Use package-show-package-list
8018 instead of deleted package--list-packages.
8019
e92f3bd3
SM
8020 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8021 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8022 (vc-annotate-mode-map): Bind it to RET.
8023
7031be6d
UR
80242011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8025
8026 * progmodes/etags.el (next-file): Don't use set-buffer to change
8027 buffers (Bug#8478).
8028
4ef177aa
CY
80292011-04-24 Chong Yidong <cyd@stupidchicken.com>
8030
c8d173eb
CY
8031 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8032
4ef177aa
CY
8033 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8034 (apropos-accumulator): Doc fix.
8035 (apropos-function, apropos-macro, apropos-command)
8036 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8037 (apropos-plist): Add face property.
8038 (apropos-symbols-internal): Fix indentation.
8039 (apropos-print): Simplify help, and recognize apropos-multi-type.
8040 (apropos-print-doc): Use button-type-get to extract the button's
8041 face property. Fill docstring (Bug#8352).
8042
4ffd0d6b 80432011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8044
8045 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8046
c6c32125 8047 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8048 (mpuz-mode-map): Use mapc.
c6c32125
JB
8049 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8050 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8051 Fix typos in docstrings.
8052
58d468b4
JB
8053 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8054 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8055
6470c3c6
JB
8056 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8057
4ffd0d6b 80582011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8059
8060 * minibuffer.el (completion--do-completion): Avoid the "Next char
8061 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8062
3ad8bad0
CY
8063 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8064 mouse-2 into unread-command-events, it is interpreted correctly.
8065
71d73c9c 8066 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8067 (image-toggle-display): Doc fix.
71d73c9c 8068
841a1577 80692011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8070
4ffd0d6b
GM
8071 * textmodes/page.el (what-page): Use line-number-at-pos to
8072 calculate line number (Bug#6825).
6e1dbaa9 8073
c2fb1b60
JB
80742011-04-22 Juanma Barranquero <lekktu@gmail.com>
8075
8076 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8077 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8078 Pass argument NO-DEFAULT to `find-tag-interactive'.
8079
e02f48d7
JB
80802011-04-22 Juanma Barranquero <lekktu@gmail.com>
8081
8082 Lexical-binding cleanup.
8083
8084 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8085 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8086 * progmodes/ada-prj.el (ada-prj-initialize-values)
8087 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8088 (ada-prj-show-value):
8089 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8090 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8091 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8092 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8093 * progmodes/bug-reference.el (bug-reference-push-button):
8094 * progmodes/fortran.el (fortran-line-length):
8095 * progmodes/glasses.el (glasses-change):
8096 * progmodes/octave-mod.el (octave-fill-paragraph):
8097 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8098 (python-pdbtrack-grub-for-buffer, python-sentinel):
8099 * progmodes/sql.el (sql-save-connection):
8100 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8101 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8102 Mark unused parameters.
8103
8104 * progmodes/compile.el (compilation--flush-directory-cache)
8105 (compilation--flush-parse, compile-internal): Mark unused parameters.
8106 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8107 (compilation-next-error-function): Remove unused variable `timestamp'.
8108
8109 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8110 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8111
8112 * progmodes/dcl-mode.el (dcl-end-of-command):
8113 Remove unused variable `start'.
8114 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8115 (dcl-option-value-basic, dcl-option-value-offset)
8116 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8117 Mark unused parameters.
8118 (dcl-save-local-variable): Remove unused variable `val'.
8119 (mode): Declare.
8120
8121 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8122 Mark unused parameters.
8123 (delphi-ignore-changes): Move before first use.
8124 (delphi-charset-token-at): Remove unused variable `start'.
8125 (delphi-else-start): Remove unused variable `if-count'.
8126 (delphi-comment-block-start, delphi-comment-block-end):
8127 Remove unused variable `kind'.
8128 (delphi-indent-line): Remove unused variable `new-point'.
8129
8130 * progmodes/ebrowse.el (ebrowse-files-list)
8131 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8132 Mark unused parameters. Don't quote `lambda'.
8133 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8134 Don't quote `lambda'.
8135 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8136 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8137 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8138 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8139 Use `ignore-errors'.
8140 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8141 (ebrowse-view/find-file-and-search-pattern)
8142 (ebrowse-view/find-member-declaration/definition):
8143 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8144 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8145 Rename parameter PREFIX-ARG to PREFIX.
8146 (ebrowse-tags-read-name): Remove unused variables `start' and
8147 `member-info'.
8148 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8149 to `tags-file'.
8150
8151 * progmodes/etags.el (local-find-tag-hook): Declare.
8152 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8153 Mark unused parameters.
8154
8155 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8156 (executable-interpret): Mark unused parameter.
8157
8158 * progmodes/flymake.el (flymake-process-sentinel)
8159 (flymake-after-change-function)
8160 (flymake-create-temp-with-folder-structure)
8161 (flymake-get-include-dirs-dot): Mark unused parameters.
8162 (flymake-safe-delete-directory): Remove unused variable `err'.
8163
8164 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8165 (speedbar-timer-fn, speedbar-line-text)
8166 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8167 (speedbar-center-buffer-smartly): Declare functions.
8168 (gdb-find-watch-expression): Remove unused variable `array'.
8169 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8170 (gdb-starting): Mark unused parameters.
8171 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8172 (gdb-table-string): Remove unused variable `res'.
8173 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8174 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8175 (gdb-display-buffer): Remove unused variable `cur-size'.
8176
8177 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8178 allow lexical-binding compilation.
8179 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8180 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8181 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8182 Mark unused parameters.
8183 (gud-gdb-marker-filter): Remove unused variable `match'.
8184 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8185 lambda expressions and funcall them, instead of using `fset'.
8186
8187 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8188 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8189
8190 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8191 variable `header-beg'; use `let'.
8192
8193 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8194 `restart', `last-sexp' and `at-do'.
8195
8196 * progmodes/js.el (js--debug): Mark unused parameter.
8197 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8198 (js--splice-into-items): Remove unused variable `item'.
8199 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8200
8201 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8202 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8203 (makefile-complete): Remove unused variable `try'.
8204 (makefile-fill-paragraph, makefile-match-function-end):
8205 Mark unused parameters.
8206
8207 * progmodes/octave-inf.el (inferior-octave-complete):
8208 Remove unused variable `proc'.
8209 (inferior-octave-output-digest): Mark unused parameter.
8210
8211 * progmodes/perl-mode.el (perl-calculate-indent):
8212 Remove unused variable `err'.
8213
8214 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8215 (prolog-indent-line): Mark unused parameters.
8216 (prolog-indent-line): Remove unused variable `beg'.
8217
8218 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8219 (reporter-dont-compact-list): Declare.
8220
8221 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8222 Remove unused variable `char'.
8223 (sh-debug): Mark unused parameter.
8224 (sh-get-indent-info): Remove unused variable `start'.
8225 (sh-calculate-indent): Remove unused variable `var'.
8226
8227 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8228 (simula-electric-keyword): Remove unused variable `null'.
8229 (simula-search-backward, simula-search-forward): Remove unused
8230 variables `begin' and `end'.
8231
8232 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8233 Remove unused variable `pos'.
8234 (vera-electric-tab, vera-comment-uncomment-region):
8235 Mark unused parameters.
8236 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8237
7ede3b65
CY
82382011-04-22 Chong Yidong <cyd@stupidchicken.com>
8239
8240 * emacs-lisp/package.el (package--builtins, package-alist)
8241 (package-load-descriptor, package-built-in-p, package-activate)
8242 (define-package, package-installed-p)
8243 (package-compute-transaction, package-buffer-info)
8244 (package--push): Doc fix. Distinguish more clearly between
8245 version strings and version lists.
8246
121656e9
JB
82472011-04-21 Juanma Barranquero <lekktu@gmail.com>
8248
8249 Lexical-binding cleanup.
8250
8251 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8252 (5x5-make-mutate-best):
8253 * play/fortune.el (fortune-in-buffer):
8254 * play/gomoku.el (gomoku-init-display):
8255 * play/solitaire.el (solitaire, solitaire-do-check):
8256 * play/tetris.el (tetris-default-update-speed-function):
8257 Mark unused parameters.
8258
8259 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8260 (bubbles--shift): Remove unused variable `char-org'.
8261 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8262 (bubbles--show-images): Remove unused variable `char'.
8263
8264 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8265 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8266 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8267 (decipher-analyze-buffer): Use ?\s.
8268 (decipher-make-checkpoint): Remove unused variable `mapping'.
8269
8270 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8271
8272 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8273 Remove unused variable `result'; use `let'.
8274
8275 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8276 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8277 (gametree-children-shown-p, gametree-compute-reduced-score):
8278 Use `ignore-errors'.
8279
8280 * play/handwrite.el (ps-lpr-switches): Declare.
8281 (handwrite): Remove unused variables `pmin' and `lastp'.
8282
8283 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8284
8285 * play/landmark.el (landmark-init-display)
8286 (landmark-update-naught-weights): Mark unused parameters.
8287 (landmark-y): Remove unused variable `noise'. Simplify.
8288 (landmark-human-plays): Remove unused variable `score'.
8289
8290 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8291 (mpuz-try-proposal): Remove unused variable `game'.
8292
8293 * play/zone.el (life-patterns): Declare.
8294
80f499c7
JB
82952011-04-20 Juanma Barranquero <lekktu@gmail.com>
8296
8297 * vc/vc.el (ediff-vc-internal): Declare function.
8298
024ff170
SM
82992011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8300
c0a193ea
SM
8301 * shell.el: Use lexical-binding and std completion UI.
8302 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8303 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8304 comint-preoutput-filter-functions rather than on
8305 comint-output-filter-functions.
8306 (shell-command-completion, shell--command-completion-data)
8307 (shell-filename-completion, shell-environment-variable-completion)
8308 (shell-c-a-p-replace-by-expanded-directory): New functions.
8309 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8310 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8311 (shell-dynamic-complete-environment-variable): Use them.
8312 (shell-dynamic-complete-as-environment-variable)
8313 (shell-dynamic-complete-as-command): Remove.
8314 (shell-match-partial-variable): Match past point.
8315 * comint.el: Clean up use of completion-at-point-functions.
8316 (comint-completion-at-point): New function.
8317 (comint-mode): Use it completion-at-point-functions.
8318 (comint-dynamic-complete): Make it obsolete.
8319 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8320 (comint-c-a-p-replace-by-expanded-history): New function.
8321 (comint-dynamic-complete-functions)
8322 (comint-replace-by-expanded-history): Use it.
8323 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8324 termination strings. Try harder to avoid second try-completion.
8325 (completion-in-region-mode-map): Disable bindings that don't work yet.
8326
2dbaa080
SM
8327 * comint.el: Use lexical-binding. Require CL.
8328 (comint-dynamic-complete-functions): Use comint-filename-completion.
8329 (comint-completion-addsuffix): Tweak custom type.
8330 (comint-filename-completion, comint--common-suffix)
8331 (comint--common-quoted-suffix, comint--table-subvert)
8332 (comint--complete-file-name-data): New functions.
8333 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8334 (comint-dynamic-list-filename-completions): Use them.
8335 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8336
2dbaa080
SM
8337 * minibuffer.el (completion-in-region-mode):
8338 Keep completion-in-region-mode--predicate global.
8339 (completion-in-region--postch):
8340 Assume completion-in-region-mode--predicate is not null.
8341
c79a6f38
SM
8342 * progmodes/flymake.el (flymake-start-syntax-check-process):
8343 Obey `dir'. Simplify.
8344
024ff170
SM
8345 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8346 we're in VC after all.
8347
1c6c854e
CS
83482011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8349
8350 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8351 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8352 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8353
bed7f140
SM
83542011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8355
332e62ab
SM
8356 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8357 add sanity check.
8358
bed7f140
SM
8359 * obsolete/erc-hecomplete.el: Make obsolete.
8360 * obsolete/: Standardize obsolescence info in the header.
8361
f195c582
GM
83622011-04-20 Glenn Morris <rgm@gnu.org>
8363
8364 * calendar/solar.el (solar-horizontal-coordinates):
8365 Use the longitude argument rather than `calendar-longitude'.
8366 (solar-date-next-longitude): Remove unused locals.
8367
cb79b8c0
VJL
83682011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8369
8370 * whitespace.el: New version 13.2.1.
8371
83722011-04-20 felix <EmacsWiki> (tiny change)
8373
d8e4b68b 8374 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8375 switching between major modes on a file.
8376
602ea69d
SM
83772011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8380 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8381 multi-line comments as well.
8382
06b60517
JB
83832011-04-19 Juanma Barranquero <lekktu@gmail.com>
8384
8385 Lexical-binding cleanup.
8386
8387 * arc-mode.el (archive-mode-revert):
8388 * cmuscheme.el (scheme-interactively-start-process):
8389 * custom.el (custom-initialize-delay):
8390 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8391 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8392 * emacs-lock.el (emacs-lock-clear-sentinel):
8393 * ezimage.el (defezimage):
8394 * follow.el (follow-avoid-tail-recenter):
8395 * fringe.el (set-fringe-mode-1):
8396 * generic-x.el (bat-generic-mode-compile):
8397 * help-mode.el (help-info-variable, help-do-xref)
8398 (help-mode-revert-buffer):
8399 * help.el (view-emacs-todo):
8400 * iswitchb.el (iswitchb-completion-help):
8401 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8402 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8403 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8404 * locate.el (locate-update):
8405 * longlines.el (longlines-encode-region)
8406 (longlines-after-change-function):
8407 * outline.el (outline-isearch-open-invisible):
8408 * ps-def.el (declare-function, charset-dimension, char-width)
8409 (encode-char):
8410 * ps-mule.el (ps-mule-plot-string):
8411 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8412 (recentf-edit-list-select, recentf-edit-list-validate)
8413 (recentf-open-files-action):
8414 * rect.el (delete-whitespace-rectangle-line)
8415 (rectangle-number-line-callback):
8416 * register.el (window-configuration-to-register)
8417 (frame-configuration-to-register):
8418 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8419 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8420 (xselect-convert-to-targets, xselect-convert-to-delete)
8421 (xselect-convert-to-filename, xselect-convert-to-charpos)
8422 (xselect-convert-to-lineno, xselect-convert-to-colno)
8423 (xselect-convert-to-os, xselect-convert-to-host)
8424 (xselect-convert-to-user, xselect-convert-to-class)
8425 (xselect-convert-to-name, xselect-convert-to-integer)
8426 (xselect-convert-to-atom, xselect-convert-to-identity):
8427 * subr.el (declare, ignore, process-kill-without-query)
8428 (text-clone-maintain):
8429 * terminal.el (te-get-char, te-tic-sentinel):
8430 * tool-bar.el (tool-bar-make-keymap):
8431 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8432 * type-break.el (type-break-mode, type-break-noninteractive-query):
8433 * view.el (View-back-to-mark):
8434 * wid-browse.el (widget-browse-action, widget-browse-widget)
8435 (widget-browse-widgets, widget-browse-sexp):
8436 * widget.el (define-widget-keywords):
8437 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8438 Mark unused parameters.
8439
8440 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8441 (align-areas): Remove unused variable `look'.
8442 (align-region): Remove unused variables `real-end' and `pos-list'.
8443
8444 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8445
8446 * bindings.el (mode-line-modified, mode-line-remote):
8447 Mark unused parameters.
8448 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8449
8450 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8451 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8452
8453 * comint.el (comint-history-isearch-pop-state)
8454 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8455 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8456 (comint-substitute-in-file-name): Doc fix.
8457
8458 * completion.el (cmpl-statistics-block): Mark unused parameter.
8459 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8460 (save-completions-to-file, load-completions-from-file):
8461 Remove unused local variable `e'.
8462
8463 * composite.el (compose-chars): Remove unused variable `len'.
8464 (lgstring-insert-glyph): Remove unused variable `g'.
8465 (compose-glyph-string): Remove unused variables `ascent',
8466 `descent', `lbearing' and `rbearing'.
8467 (compose-glyph-string-relative): Remove unused variables
8468 `lbearing', `rbearing' and `wadjust'.
8469 (compose-gstring-for-graphic): Remove unused variables `header',
8470 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8471 (compose-gstring-for-terminal): Remove unused variables `header'
8472 and `nchars'. Use `let', not `let*'.
8473
8474 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8475 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8476 (Custom-buffer-done, custom-buffer-create-internal)
8477 (custom-browse-visibility-action, custom-browse-group-tag-action)
8478 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8479 (widget-magic-mouse-down-action, custom-toggle-parent)
8480 (custom-add-parent-links, custom-toggle-hide-variable)
8481 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8482 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8483 (custom-face-menu-create, custom-variable-menu-create, get)
8484 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8485 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8486 (customize-apropos): Remove unused variable `tests'.
8487 (custom-group-value-create): Remove unused variable `hidden-p'.
8488 (sort-fold-case): Declare.
8489
8490 * cus-theme.el (custom-reset-standard-faces-list)
8491 (custom-reset-standard-variables-list): Declare.
8492 (customize-create-theme, custom-theme-revert, custom-theme-write)
8493 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8494 Mark unused parameters.
8495
8496 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8497
8498 * delim-col.el (delimit-columns-max): Move defvar before first use.
8499
8500 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8501 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8502
8503 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8504 (auto-insert): Declare.
8505 (desktop-restore-file-buffer): Rename desktop-* parameters;
8506 mark unused ones.
8507 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8508 (desktop-buffer): Rename desktop-* parameters.
8509
8510 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8511 (dframe-reposition-frame-xemacs, dframe-help-echo)
8512 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8513 Mark unused parameters.
8514
8515 * dired-aux.el (backup-extract-version-start, overwrite-query)
8516 (overwrite-backup-query, rename-regexp-query)
8517 (rename-non-directory-query): Declare.
8518 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8519 (dired-add-entry): Remove unused variable `orig-file-name'.
8520 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8521 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8522 `dired-copy-preserve-time' directly.
8523 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8524 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8525
8526 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8527 (dired-virtual-revert, dired-make-relative-symlink):
8528 Mark unused parameters.
8529 (manual-program): Declare.
8530 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8531 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8532 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8533
8534 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8535
8536 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8537
8538 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8539 Declare.
8540
8541 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8542
8543 * electric.el (Electric-command-loop): Rename parameter
8544 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8545
8546 * expand.el (expand-in-literal): Remove unused variable `here'.
8547
8548 * facemenu.el (facemenu-add-new-color):
8549 Remove unused variable `docstring'.
8550
8551 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8552 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8553 (face-attr-construct): Mark unused parameter. Doc fix.
8554 (read-color): Remove unused variable `hex-string'.
8555
8556 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8557 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8558 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8559 (display-buffer-other-frame): Remove unused variable `old-window'.
8560 (kill-buffer-hook): Declare.
8561 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8562 Mark unused parameters.
8563 (after-find-file): Pass 1 to `auto-save-mode', not t.
8564
8565 * files-x.el (auto-insert): Declare.
8566 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8567
8568 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8569 variable `buf'. Mark unused parameter.
06b60517
JB
8570 (find-lisp-insert-directory): Mark unused parameter.
8571
8572 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8573 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8574 (format-common-tail): Remove, unused.
8575 (format-deannotate-region): Remove unused variable `loc'.
8576 (format-annotate-region): Remove unused variable `p'.
8577 (format-annotate-single-property-change): Remove unused variables
8578 `default' and `tail'.
8579
8580 * forms.el (read-file-filter): Declare.
8581 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8582
8583 * frame.el (frame-creation-function-alist): Mark unused parameter.
8584 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8585
8586 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8587 Remove unused parameters.
8588 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8589 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8590
8591 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8592 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8593 (hfy-prepare-tag-map): Mark unused parameters.
8594 (htmlfontify-buffer): Use `called-interactively-p'.
8595
8596 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8597 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8598 (ibuffer-do-occur): Mark unused parameters.
8599 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8600 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8601
8602 * ibuffer.el: Don't quote `lambda'.
8603 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8604 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8605 Mark unused parameters.
8606
8607 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8608 (ido-completing-read): Mark unused parameters.
8609 (ido-copy-current-word): Mark unused parameters;
8610 remove unused variable `name'.
8611 (ido-sort-merged-list): Remove unused parameter `dirs'.
8612
8613 * ielm.el (ielm-input-sender): Mark unused parameter.
8614 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8615 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8616 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8617 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8618 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8619
8620 * image-dired.el (image-dired-display-thumbs): Remove unused
8621 variables `curr-file' and `count'.
8622 (image-dired-remove-tag): Remove unused variable `start'.
8623 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8624 variable `curr-file'
8625 (image-dired-rotate-original): Remove unused variable `temp-file'.
8626 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8627 Remove unused variable `file'.
8628 (image-dired-gallery-generate): Remove unused variable `curr'.
8629 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8630
8631 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8632
8633 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8634
8635 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8636
8637 * isearch.el (minibuffer-history-symbol): Declare.
8638 (isearch-edit-string): Remove unused variable `err'.
8639 (isearch-message-prefix, isearch-message-suffix):
8640 Mark unused parameters.
8641
8642 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8643
8644 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8645
8646 * makesum.el (double-column): Remove unused variable `cnt'.
8647
8648 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8649 (ido-ignore-item-temp-list): Declare.
8650
8651 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8652 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8653 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8654 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8655 `mouse-col-delta'.
8656
8657 * mouse-sel.el (mouse-extend-internal):
8658 Remove unused variable `orig-window-frame'.
8659
8660 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8661 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8662 Move declarations before first use.
8663 (pcomplete-opt): Mark unused parameters; doc fix.
8664
8665 * proced.el (proced-revert): Mark unused parameter.
8666 (proced-send-signal): Remove unused variable `err'.
8667
8668 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8669 Rename parameter PREFIX-ARG to ARG.
8670 (ps-basic-plot-string, ps-basic-plot-whitespace):
8671 Mark unused parameters.
8672
8673 * replace.el (replace-count): Define.
8674 (occur-revert-function): Mark unused parameters.
8675 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8676 (isearch-case-fold-search, isearch-string): Declare.
8677 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8678 bind `case-fold-search'. Remove unused variables `beg' and `end',
8679 and simplify.
8680 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8681 COUNT and bind `replace-count'.
8682 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8683 to COUNT.
8684
8685 * savehist.el (print-readably, print-string-length): Declare.
8686
8687 * shadowfile.el (shadow-expand-cluster-in-file-name):
8688 Remove unused variable `cluster'.
8689 (shadow-copy-file): Remove unused variable `i'.
8690 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8691 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8692 (shadow-define-literal-group, shadow-define-regexp-group)
8693 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8694
8695 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8696 (shell): Use `called-interactively-p'.
8697 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8698
8699 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8700 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8701 (delete-backward-char): Remove unused variable `ocol'.
8702 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8703 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8704 (event-apply-hyper-modifier, event-apply-shift-modifier)
8705 (event-apply-control-modifier, event-apply-meta-modifier):
8706 Mark unused parameters.
8707 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8708 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8709
8710 * speedbar.el (speedbar-ignored-directory-expressions)
8711 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8712 (speedbar-find-file, speedbar-dir-follow)
8713 (speedbar-directory-buttons-follow, speedbar-tag-find)
8714 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8715 (speedbar-buffers-line-directory, speedbar-buffer-click):
8716 Mark unused parameters.
8717 (speedbar-tag-file): Remove unused variable `mode'.
8718 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8719
8720 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8721
8722 * talk.el (talk): Remove unused variable `display'.
8723
8724 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8725 (tar-write-region-annotate): Mark unused parameter.
8726
8727 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8728 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8729 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8730 warning by another.
8731
8732 * time-stamp.el (time-stamp-string-preprocess):
8733 Remove unused variable `require-padding'.
8734
8735 * tree-widget.el (widget-glyph-enable): Declare.
8736 (tree-widget-action): Mark unused parameter.
8737
8738 * w32-fns.el (x-get-selection): Mark unused parameter.
8739 (autoload-make-program, generated-autoload-file): Declare.
8740
8741 * wdired.el (wdired-revert): Mark unused parameters.
8742 (wdired-xcase-word): Remove unused variable `err'.
8743
8744 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8745 (whitespace-help-scroll): Remove unused variable `data-help'.
8746
8747 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8748 (widget-image-insert, widget-after-change, default)
8749 (widget-default-format-handler, widget-default-notify)
8750 (widget-default-prompt-value, widget-info-link-action)
8751 (widget-url-link-action, widget-function-link-action)
8752 (widget-variable-link-action, widget-file-link-action)
8753 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8754 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8755 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8756 (widget-insert-button-action, widget-delete-button-action, visibility)
8757 (widget-documentation-link-action, widget-documentation-string-action)
8758 (widget-const-prompt-value, widget-regexp-match, symbol)
8759 (widget-coding-system-prompt-value)
8760 (widget-key-sequence-value-to-external, sexp)
8761 (widget-sexp-value-to-internal, character, vector, cons)
8762 (widget-choice-prompt-value, widget-boolean-prompt-value)
8763 (widget-color--choose-action): Mark unused parameters.
8764 (widget-item-match-inline, widget-choice-match-inline)
8765 (widget-checklist-match, widget-checklist-match-inline)
8766 (widget-group-match): Rename parameter VALUES to VALS.
8767 (widget-field-value-set): Remove unused variable `size'.
8768 (widget-color-action): Remove unused variables `value' and `start'.
8769
8770 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8771 variable `dir'. Doc fix.
06b60517
JB
8772 (windmove-find-other-window): Don't pass it.
8773
8774 * window.el (count-windows): Mark unused parameter.
8775 (bw-adjust-window): Remove unused variable `err'.
8776
8777 * woman.el (woman-file-name): Remove unused variable `default'.
8778 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8779 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8780 (global-font-lock-mode): Declare.
8781 (woman-decode-region): Mark unused parameter.
8782 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8783
8784 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8785 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8786 (x-dnd-handle-moz-url): Remove unused variable `title'.
8787 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8788
8789 * xml.el (xml-parse-tag, xml-parse-attlist):
8790 Remove unused variable `pos'.
8791
bc4f7f3d
GM
87922011-04-19 Glenn Morris <rgm@gnu.org>
8793
8794 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8795 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8796 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8797 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8798 * calendar/cal-html.el (cal-html-insert-minical):
8799 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8800 (calendar-mark-date-pattern):
8801 Prefix "unused" locals.
8802
8803 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8804 optional argument `style'.
8805
8806 * calendar/appt.el (appt-make-list):
8807 * calendar/cal-china.el (calendar-chinese-date-string):
8808 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8809 (diary-hebrew-yahrzeit):
8810 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8811 * calendar/calendar.el (calendar-generate-window):
8812 * calendar/time-date.el (time-to-days):
8813 Remove unused local variables.
8814
16a43933
CY
88152011-04-18 Chong Yidong <cyd@stupidchicken.com>
8816
8817 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8818 glyphless-char-display table.
8819 (tabulated-list-glyphless-char-display): New var.
8820
7eed1860
SS
88212011-04-18 Sam Steingold <sds@gnu.org>
8822
8823 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8824 to acknowledgments.
8825
4d2d1ccd
GM
88262011-04-17 Glenn Morris <rgm@gnu.org>
8827
8828 * calendar/diary-lib.el (diary-sexp-entry):
8829 * calendar/holidays.el (holiday-sexp):
8830 Set debug-on-error rather than the removed stack-trace-on-error.
8831
239da61d
GM
88322011-04-16 Glenn Morris <rgm@gnu.org>
8833
8834 * progmodes/f90.el: Use lexical-binding.
8835 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8836
8b05752a
SM
88372011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8838
daca8ba5
SM
8839 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8840 (mail-mode): Setup mailalias completion here instead.
8841 * mail/mailalias.el: Use lexical-binding.
8842 (pattern, mailalias-done): Declare dynamic.
8843 (mail-completion-at-point-function): New function, from mail-complete.
8844 (mail-complete): Use it.
8845 (mail-completion-expand): New function.
8846 (mail-get-names): Use it.
8847 (mail-directory, mail-directory-process, mail-directory-stream):
8848 Don't use `pattern' for lexically bound arg.
8849
6f542485
SM
8850 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8851
037e7c3f
SM
8852 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8853 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8854 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8855
8b05752a
SM
8856 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8857 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8858 (byte-interactive-p): Define them again, for use when inlining
8859 old code.
8860
49093f60
JB
88612011-04-15 Juanma Barranquero <lekktu@gmail.com>
8862
8863 * loadup.el: Use `string-to-number', not `string-to-int'.
8864
b5b8e7de
SM
88652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8868 gud-gdb-complete-command.
8869 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8870 (gud-gdb-completion-at-point): New function.
8871 (gud-gdb-completions): Remove.
8872
f42efeb5
MA
88732011-04-14 Michael Albinus <michael.albinus@gmx.de>
8874
49093f60
JB
8875 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8876 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8877 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8878 whether `executable-find' is bound.
f42efeb5
MA
8879
8880 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8881
e240cc21
SM
88822011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * minibuffer.el (completion-in-region-mode-predicate)
8885 (completion-in-region-mode--predicate): New vars.
8886 (completion-in-region, completion-in-region--postch)
8887 (completion-in-region-mode): Use them.
8888 (completion--capf-wrapper): Also return the hook function.
8889 (completion-at-point, completion-help-at-point):
8890 Adjust and provide a predicate.
c2bd2ab0
SM
8891
8892 Preserve arg names for advice of subr and lexical functions (bug#8457).
8893 * help-fns.el (help-function-arglist): Consolidate the subr and
8894 new-byte-code cases. Add argument `preserve-names' to extract names
8895 from the docstring when needed.
8896 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8897 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8898 (ad-arglist): Use help-function-arglist's new arg.
8899 (ad-definition-type): Use cond.
8900
c183f693
JB
89012011-04-13 Juanma Barranquero <lekktu@gmail.com>
8902
06641a47
JB
8903 * autorevert.el (auto-revert-handler):
8904 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8905 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8906 Don't quote lambda.
8907
c183f693
JB
8908 * image-mode.el (image-transform-set-scale):
8909 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8910
1e3b6001
G
89112011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8912
8913 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 8914 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
8915 Upgrades via gnutls-cli are too slow to be done opportunistically.
8916
2d6af8dd
JB
89172011-04-12 Juanma Barranquero <lekktu@gmail.com>
8918
8919 * dframe.el (dframe-current-frame): Remove spurious quote.
8920
c0749a51
GM
89212011-04-12 Glenn Morris <rgm@gnu.org>
8922
088d0d61
GM
8923 * calendar/cal-tex.el (cal-tex-end-document):
8924 Try to automatically use latin1 input if needed.
8925
c0749a51
GM
8926 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8927 Don't try to cons a mark onto an empty element.
8928
5c90fde0
LL
89292011-04-11 Leo Liu <sdl.web@gmail.com>
8930
8931 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8932 buffers.
8933 (ido-kill-buffer-at-head): Support killing virtual buffers.
8934
369e974d
CY
89352011-04-10 Chong Yidong <cyd@stupidchicken.com>
8936
8937 * minibuffer.el (completion-show-inline-help): New var.
8938 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
8939 (minibuffer-force-complete, minibuffer-complete-word):
8940 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
8941
8942 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8943 to avoid interference from inline help (Bug#5849).
8944
37f1c930
LL
89452011-04-10 Leo Liu <sdl.web@gmail.com>
8946
099c39a4
JB
8947 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8948 Fix typo.
37f1c930 8949
a32d4040
CY
89502011-04-09 Chong Yidong <cyd@stupidchicken.com>
8951
8952 * image-mode.el (image-toggle-display-image): Signal an error if
8953 not in Image mode.
8954 (image-transform-mode, image-transform-resize)
8955 (image-transform-set-rotation): Doc fix.
daca8ba5 8956 (image-transform-set-resize): Delete.
a32d4040
CY
8957 (image-transform-set-scale, image-transform-fit-to-height)
8958 (image-transform-fit-to-width): Handle image-toggle-display-image
8959 and image-transform-resize directly.
8960
099c39a4 89612011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
8962
8963 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
8964 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8965 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
8966 (doc-view-mode-map): Add bindings for the new functions.
8967
099c39a4 89682011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 8969
4d61f28d 8970 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
8971 Fix typo in docstring.
8972
3726838a
EZ
89732011-04-08 Eli Zaretskii <eliz@gnu.org>
8974
04f33f1e
EZ
8975 * files.el (file-size-human-readable): Produce one digit after
8976 decimal, like "ls -lh" does.
8977
8978 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8979 the file size representation.
8980
3726838a
EZ
8981 * simple.el (list-processes): If async subprocesses are not
8982 available, error out with a clear error message.
8983
cbb59342
CY
89842011-04-08 Chong Yidong <cyd@stupidchicken.com>
8985
8986 * help.el (help-form-show): New function, to be called from C.
8987 Put help-form output in a buffer named differently than *Help*.
8988
e3971c44
EZ
89892011-04-08 Eli Zaretskii <eliz@gnu.org>
8990
8991 * files.el (file-size-human-readable): New function.
8992
8993 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8994 computing the representation inline. Don't require `cl'.
8995
12544bbe
GM
89962011-04-08 Glenn Morris <rgm@gnu.org>
8997
a1de6c6a
GM
8998 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8999
3c4671f4
GM
9000 * net/browse-url.el (browse-url-firefox):
9001 Test system-type, not system-configuration.
9002
b605679c
GM
9003 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9004 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9005 Use log-edit-empty-buffer-p. (Bug#7598)
9006
56442f0c
GM
9007 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9008 (rlogin-mode-map): Initialize in the defvar.
9009 (rlogin): Use ignore-errors.
9010
12544bbe
GM
9011 * replace.el (occur-mode-map): Some fixes for menu items.
9012
eb237b0f
AH
90132011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9014
9015 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9016
7d668f2c
CY
90172011-04-06 Chong Yidong <cyd@stupidchicken.com>
9018
e67a13ab
CY
9019 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9020 issuing unused warnings.
9021
9022 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9023 macro directly.
9024
7d668f2c
CY
9025 * simple.el: Lisp reimplement of list-processes. Based on an
9026 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9027 (process-menu-mode): New major mode.
9028 (list-processes--refresh, list-processes):
9029 (process-menu-visit-buffer): New functions.
9030
9031 * files.el (save-buffers-kill-emacs): Don't assume any return
9032 value of list-processes, which is undocumented anyway.
9033
a83ec3c9
CY
90342011-04-06 Chong Yidong <cyd@stupidchicken.com>
9035
9036 * emacs-lisp/tabulated-list.el: New file.
9037
e91a96fe
CY
9038 * emacs-lisp/package.el: Use Tabulated List mode.
9039 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9040 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9041 table format using Tabulated List mode variables.
9042 (package--push): New macro, replacing package-list-maybe-add.
9043 (package-menu--generate): Use package--push. Renamed from
9044 package--generate-package-list.
9045 (package-menu-refresh, list-packages): Use it.
daca8ba5 9046 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9047 Return insertion data instead of inserting it directly.
099c39a4
JB
9048 (package-menu-describe-package, package-menu-execute):
9049 Use tabulated-list-get-id.
e91a96fe
CY
9050 (package-menu-mark-delete, package-menu-mark-install)
9051 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9052 (package-menu-mark-obsolete-for-deletion):
9053 Use tabulated-list-put-tag.
e91a96fe
CY
9054 (package--list-packages, package-menu-revert)
9055 (package-menu-get-package, package-menu-get-version)
9056 (package-menu-sort-by-column): Functions deleted.
9057 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9058 (package-menu--status-predicate, package-menu--version-predicate)
9059 (package-menu--name-predicate)
9060 (package-menu--description-predicate): Handle arguments in the
9061 Tabulated List format.
9062 (package-list-packages-no-fetch): Call list-packages.
9063
3e214b50
JB
90642011-04-06 Juanma Barranquero <lekktu@gmail.com>
9065
9066 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9067 (after-find-file): Don't bind it.
3e214b50
JB
9068 (revert-buffer-in-progress-p): New variable.
9069 (revert-buffer): Bind it.
9070 Pass nil for `after-find-file-from-revert-buffer'.
9071
9072 * saveplace.el (save-place-find-file-hook): Use new variable
9073 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9074
3f0f1700
GM
90752011-04-06 Glenn Morris <rgm@gnu.org>
9076
c0274801
GM
9077 * Makefile.in (AUTOGEN_VCS): New variable.
9078 (autoloads): Use $AUTOGEN_VCS.
9079
3f0f1700
GM
9080 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9081 * calendar/calendar.el (calendar-mode-map):
9082 Check for toolkit scroll bars. (Bug#8305)
9083
41ea9e48
CY
90842011-04-05 Chong Yidong <cyd@stupidchicken.com>
9085
9086 * minibuffer.el (completion-in-region--postch)
9087 (completion-in-region-mode): Remove unnecessary messages.
9088
6194c800
JB
90892011-04-05 Juanma Barranquero <lekktu@gmail.com>
9090
33256f14
JB
9091 * font-lock.el (font-lock-refresh-defaults):
9092 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9093 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9094
6194c800
JB
9095 * info.el (Info-directory-list, Info-read-node-name-2)
9096 (Info-split-parameter-string): Doc fixes.
9097 (Info-virtual-nodes): Reflow docstring.
9098 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9099 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9100 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9101 Fix typos in docstrings.
9102 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9103 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9104 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9105 (Info-restore-desktop-buffer): Mark unused parameters.
9106 (Info-directory-find-file, Info-directory-find-node)
9107 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9108 (Info-virtual-index-find-node, Info-apropos-find-file)
9109 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9110 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9111 (Info-virtual-index): Remove unused local variable `nodename'.
9112
b87a8200 91132011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9114
b87a8200
DD
9115 * net/rcirc.el: Update my e-mail address.
9116 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9117
3b2ff876
CY
91182011-04-05 Chong Yidong <cyd@stupidchicken.com>
9119
9120 * startup.el (command-line): Save the cursor's theme-face
9121 directly, instead of using face-override-spec.
9122
9123 * custom.el (load-theme): Minor optimization in assigning faces.
9124
8d17e7ca
JB
91252011-04-04 Juanma Barranquero <lekktu@gmail.com>
9126
9127 * help-fns.el (describe-variable): Complete all variables having
9128 documentation, including keywords.
9129 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9130
2fbc1934
JB
91312011-04-04 Juanma Barranquero <lekktu@gmail.com>
9132
9133 Convert to lexical-binding.
9134
9135 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9136 (bs--get-marked-string, bs--get-modified-string)
9137 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9138 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9139 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9140
9141 * ehelp.el (electric-help-execute-extended)
9142 (electric-help-ctrl-x-prefix):
9143 * hexl.el (hexl-revert-buffer-function):
9144 * linum.el (linum-after-change, linum-after-scroll):
9145 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9146
9147 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9148
74f50695
DU
91492011-04-04 Daiki Ueno <ueno@unixuser.org>
9150
9151 * epa-dired.el:
9152 * epa-mail.el:
9153 * epa-hook.el:
9154 * epa-file.el:
9155 * epa.el:
9156 * epg.el: Use lexical binding.
9157
c11325f7
CY
91582011-04-03 Chong Yidong <cyd@stupidchicken.com>
9159
0d9e9a12
CY
9160 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9161
c11325f7 9162 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9163 dictionary case for flyspell-mark-duplications-exceptions.
9164 Use regexp matching for languages.
c11325f7
CY
9165 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9166 default dictionary (Bug#7926).
9167
da91b5f2
CY
91682011-04-02 Chong Yidong <cyd@stupidchicken.com>
9169
099c39a4
JB
9170 * emacs-lisp/package.el (package--with-work-buffer):
9171 Recognize https URLs.
da91b5f2 9172
099c39a4
JB
9173 * net/network-stream.el: Move from gnus/proto-stream.el.
9174 Change prefix to network-stream throughout.
da91b5f2
CY
9175 (open-protocol-stream): Merge into open-network-stream, leaving
9176 open-protocol-stream as an alias. Handle nil BUFFER args.
9177
9178 * subr.el (open-network-stream): Move to net/network-stream.el.
9179
afa8e9f6
GM
91802011-04-02 Glenn Morris <rgm@gnu.org>
9181
1d2e369d
GM
9182 * find-dired.el (find-exec-terminator): New option.
9183 (find-ls-option): Test for -ls support.
9184 (find-ls-subdir-switches): Test for -b in find-ls-option.
9185 (find-dired, find-grep-dired): Doc fixes.
9186 (find-dired): Use find-exec-terminator.
9187
8abb7da8 9188 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9189 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9190 (find-name-arg): Remove purecopy.
8abb7da8 9191
f3ca7378
GM
9192 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9193 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9194 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9195 accordingly. Don't add the null-device if not needed.
9196
afa8e9f6
GM
9197 * files.el (save-some-buffers): Doc fix.
9198
35eae264
EZ
91992011-04-02 Eli Zaretskii <eliz@gnu.org>
9200
9201 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9202
26b51db5
JB
92032011-04-01 Juanma Barranquero <lekktu@gmail.com>
9204
9205 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9206 Use `dolist' rather than `mapcar'.
9207
7200d79c
SM
92082011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9209
03408648 9210 Add lexical binding.
7200d79c 9211
03408648
SM
9212 * subr.el (apply-partially): Use new closures rather than CL.
9213 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9214 (dolist, dotimes): Use slightly different expansion for lexical code.
9215 (functionp): Move to C.
9216 (letrec): New macro.
9217 (with-wrapper-hook): Use it and apply-partially instead of CL.
9218 (eval-after-load): Preserve lexical-binding.
9219 (save-window-excursion, with-output-to-temp-buffer): Turn them
9220 into macros.
7200d79c 9221
03408648
SM
9222 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9223
9224 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9225 than the arglist.
9226 (help-add-fundoc-usage): Don't add `Not documented'.
9227 (help-function-arglist): Handle closures, subroutines, and new
9228 byte-code-functions.
9229 (help-make-usage): Remove leading underscores.
9230 (describe-function-1): Handle closures.
9231 (describe-variable): Use special-variable-p for completion.
9232
9233 * files.el (lexical-binding): Declare safe.
f488fb65 9234
03408648
SM
9235 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9236 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9237 (pcase): Add `let' pattern.
9238 Change memoization so it actually works.
9239 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9240 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9241 <let>: New case.
f488fb65 9242
03408648
SM
9243 * emacs-lisp/macroexp.el: Use lexical binding.
9244 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9245 Don't convert ' to #' without checking that it's indeed quoting
9246 a lambda.
9247
9248 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9249 Use eval-sexp-add-defvars.
03408648
SM
9250 (eval-sexp-add-defvars): New fun.
9251
9252 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9253
9254 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9255 Don't autoload.
9256 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9257 than the internal `byte-compile-lambda'.
9258 (defmethod): Don't hide code under quotes.
9259 (eieio-defmethod): New `code' argument.
9260
9261 * emacs-lisp/eieio-comp.el: Remove.
9262
9263 * emacs-lisp/edebug.el (edebug-eval-defun)
9264 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9265 (edebug-toggle): Avoid `eval'.
9266
9267 * emacs-lisp/disass.el (disassemble-internal): Handle new
9268 `closure' objects.
9269 (disassemble-1): Handle new byte codes.
9270
9271 * emacs-lisp/cl.el (pushnew): Silence warning.
9272
9273 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9274 (cl-byte-compile-throw): Remove.
9275 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9276
9277 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9278 closures.
9279
9280 * emacs-lisp/cconv.el: New file.
9281
9282 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9283 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9284 (byte-compile-initial-macro-environment):
9285 Handle declare-function here.
9286 (byte-compile--lexical-environment): New var.
9287 (byte-stack-ref, byte-stack-set, byte-discardN)
9288 (byte-discardN-preserve-tos): New lap codes.
9289 (byte-interactive-p): Don't use any more.
9290 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9291 New macros.
9292 (byte-compile-lapcode): Use them and handle new lap codes.
9293 (byte-compile-obsolete): Remove.
9294 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9295 (byte-compile-arglist-warn): Check late def of inlinable funs.
9296 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9297 since they should have been expanded by now.
9298 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9299 (byte-compile-from-buffer): Remove unused second arg.
9300 (byte-compile-preprocess): New function.
9301 (byte-compile-toplevel-file-form): New function to distinguish
9302 file-form calls from outside from file-form calls from hunk-handlers.
9303 (byte-compile-file-form): Simplify.
9304 (byte-compile-file-form-defsubst): Remove.
9305 (byte-compile-file-form-defmumble): Simplify now that
9306 byte-compile-lambda always returns a byte-code-function.
9307 (byte-compile): Preprocess.
9308 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9309 Remove, not used any more.
9310 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9311 (byte-compile-make-args-desc): New funs.
9312 (byte-compile-lambda): Handle lexical functions. Always return
9313 a byte-code-function.
9314 (byte-compile-reserved-constants): New var, to make up room for
9315 closed-over variables.
9316 (byte-compile-constants-vector): Obey it.
9317 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9318 (byte-compile-macroexpand-declare-function): New function.
9319 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9320 byte-code-functions.
9321 (byte-compile-form): Check obsolescence here.
9322 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9323 (byte-compile-variable-ref): Remove.
9324 (byte-compile-dynamic-variable-op): New fun.
9325 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9326 (byte-compile-variable-set): New funs.
9327 (byte-compile-discard): Add 2 args.
9328 (byte-compile-stack-ref, byte-compile-stack-set)
9329 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9330 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9331 macroexpand-all instead.
9332 (byte-compile-quote-form): Remove.
9333 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9334 (byte-compile-bind, byte-compile-unbind): New funs.
9335 (byte-compile-let): Handle let* and lexical binding.
9336 (byte-compile-let*): Remove.
9337 (byte-compile-catch, byte-compile-unwind-protect)
9338 (byte-compile-track-mouse, byte-compile-condition-case):
9339 Handle a new :fun-body form, used for lexical scoping.
9340 (byte-compile-save-window-excursion)
9341 (byte-compile-with-output-to-temp-buffer): Remove.
9342 (byte-compile-defun): Simplify.
9343 (byte-compile-stack-adjustment): New fun.
9344 (byte-compile-out): Use it.
9345 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9346
9347 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9348 handler any more.
9349
9350 * emacs-lisp/byte-opt.el: Use lexical binding.
9351 (byte-inline-lapcode): Remove (to bytecomp).
9352 (byte-compile-inline-expand): Pay attention to inlining to/from
9353 lexically bound code.
9354 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9355 any more.
9356 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9357 any more and don't call compiler-macros.
9358 (byte-compile-splice-in-already-compiled-code): Remove.
9359 (byte-code): Don't inline any more.
9360 (disassemble-offset): Receive `bytes' as argument rather than via
9361 dynamic scoping.
9362 (byte-compile-tag-number): Declare before first use.
9363 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9364 `return' even if make-spliceable.
9365 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9366 obsolete interactive-p.
9367 (byte-optimize-lapcode): Optimize new lap-codes.
9368 Don't trip up on new form of `byte-constant' lap code.
9369
9370 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9371
9372 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9373
9374 * custom.el (custom-initialize-default, custom-declare-variable):
9375 Use `defvar'.
9376
9377 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9378 New variables.
9379 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9380 (COMPILE_FIRST): Add macroexp and cconv.
9381 * makefile.w32-in: Mirror changes in Makefile.in.
9382
9383 * vc/cvs-status.el:
9384 * vc/diff-mode.el:
9385 * vc/log-edit.el:
9386 * vc/log-view.el:
9387 * vc/smerge-mode.el:
9388 * textmodes/bibtex-style.el:
9389 * textmodes/css.el:
9390 * startup.el:
9391 * uniquify.el:
da91b5f2
CY
9392 * minibuffer.el:
9393 * newcomment.el:
9394 * reveal.el:
9395 * server.el:
9396 * mpc.el:
9397 * emacs-lisp/smie.el:
9398 * doc-view.el:
9399 * dired.el:
03408648
SM
9400 * abbrev.el: Use lexical binding.
9401
0f0c1f27
EZ
94022011-04-01 Eli Zaretskii <eliz@gnu.org>
9403
9404 * info.el (info-display-manual): New function.
9405
c82b2579
SM
94062011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9409
221ddf68
TH
94102011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9411
9412 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9413 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9414
cba6e77e
GM
94152011-03-31 Glenn Morris <rgm@gnu.org>
9416
e040639f
GM
9417 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9418
cba6e77e
GM
9419 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9420
6d0f1c9e
CS
94212011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9422
9423 * progmodes/python.el (python-default-interpreter)
9424 (python-python-command-args, python-jython-command-args)
9425 (python-which-shell, python-which-args, python-which-bufname)
9426 (python-file-queue, python-comint-output-filter-function)
9427 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9428 variables and functions.
9429
3e2d70fd
SM
94302011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9431
9432 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9433 (completion-in-region-mode): New minor mode.
9434 (completion-in-region): Use it.
9435 (completion-in-region--data, completion-in-region-mode-map): New vars.
9436 (completion-in-region--postch): New function.
9437 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9438 New vars.
9439 (completion--capf-wrapper): New function.
9440 (completion-at-point): Use it to track well-behavedness of
9441 hook functions.
9442 (completion-help-at-point): New command.
9443
f3e4086c
JM
94442011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9445
9446 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9447 syntax class to search for whitespace on a single line
9448 (Message-ID: <4D938140.4030905@redhat.com>).
9449
eb7ffc14
LL
94502011-03-30 Leo Liu <sdl.web@gmail.com>
9451
9452 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9453 New commands.
9454 (edit-abbrevs-map): Bind them here.
9455 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9456
d806ab68
KM
94572011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9458
9459 * allout.el (allout-hide-by-annotation, allout-flag-region):
9460 Reduce possibility of overlay leakage by making them volatile.
9461
9462 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9463 hash is not shared between buffers. Mode initialization is
9464 responsible for giving it a useful starting value.
9465 (allout-item-span): Reduce possibility of overlay leakage by
9466 making them volatile.
9467 (allout-widgets-count-buttons-in-region): Add diagnostic function
9468 for tracking down button overlay leaks.
9469
ea622834
LL
94702011-03-29 Leo Liu <sdl.web@gmail.com>
9471
9472 * ido.el (ido-read-internal): Use the default history var
9473 minibuffer-history if no HISTORY is specified.
9474
b62f8267
G
94752011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9476
03408648
SM
9477 * net/imap.el (imap-shell-open, imap-process-connection-type):
9478 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9479 Kerberos, SSL, other subprocesses.
9480
947b6566
LL
94812011-03-28 Leo Liu <sdl.web@gmail.com>
9482
9483 * abbrev.el (abbrev-table-empty-p): New function.
9484 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9485 nonempty ones. (Bug#5937)
9486
5ffb62aa
JD
94872011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9488
9489 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9490
7a097943
LL
94912011-03-27 Leo Liu <sdl.web@gmail.com>
9492
9493 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9494 for foreground and background colors.
9495 (ansi-color-make-color-map): Adapt.
9496
c5b40130
LL
94972011-03-25 Leo Liu <sdl.web@gmail.com>
9498
1f48f7d2
LL
9499 * midnight.el (midnight-time-float): Remove. Note it calculates
9500 the microsecond component incorrectly and seconds-to-time does the
9501 same job.
625897ec 9502 Remove redundant (require 'timer).
1f48f7d2 9503
c5b40130
LL
9504 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9505 (ido-completions): Remove unused arguments. (Bug#8329)
9506
d86d2721
SM
95072011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * minibuffer.el (completion--flush-all-sorted-completions):
9510 Remove itself from hook.
9511 (completion-at-point): Let the functions perform the completion
9512 immediately and return nil or t.
9513 * comint.el (comint-dynamic-complete-functions): Now identical to
9514 completion-at-point-functions.
9515 (comint-dynamic-list-input-ring): Remove unused var `index'.
9516 (comint--match-partial-filename, comint--unquote&expand-filename):
9517 New funs, split from comint-match-partial-filename.
9518 (comint-dynamic-complete): Use completion-at-point.
9519 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9520
e8974c48
DA
95212011-03-24 Drew Adams <drew.adams@oracle.com>
9522
9523 * thingatpt.el: Support `defun'.
9524
def71b5e
LL
95252011-03-23 Leo Liu <sdl.web@gmail.com>
9526
cb5af48e
LL
9527 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9528
def71b5e
LL
9529 * help-mode.el (help-mode-finish): Tweak regexp.
9530
927c53e7
GM
95312011-03-23 Glenn Morris <rgm@gnu.org>
9532
18d05bed
GM
9533 * eshell/esh-opt.el (eshell-eval-using-options):
9534 Do not bind unused local variable `eshell-option-stub'.
9535
927c53e7
GM
9536 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9537
9d0da923
JB
95382011-03-22 Juanma Barranquero <lekktu@gmail.com>
9539
9540 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9541 keymap variable in `with-no-warnings' to avoid a warning when the
9542 keymap has been already `defconst'ed.
9543
4b978a67
LL
95442011-03-22 Leo Liu <sdl.web@gmail.com>
9545
9546 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9547 encode all chars in abbrevs; otherwise use emacs-mule or
9548 utf-8-emacs. (Bug#8308)
9549
5fd62452
JB
95502011-03-22 Juanma Barranquero <lekktu@gmail.com>
9551
0b1596c6
JB
9552 * simple.el (backward-delete-char-untabify):
9553 Avoid warning about using `delete-backward-char'.
9554
5fd62452
JB
9555 * image.el (image-type-file-name-regexps): Make it variable.
9556 `imagemagick-register-types' modifies it, and the user may want
9557 to add new extensions for known image types.
9558 (imagemagick-register-types): Throw error if not using ImageMagick.
9559
0b4e93f1
LL
95602011-03-22 Leo Liu <sdl.web@gmail.com>
9561
9562 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9563 located before rcirc-prompt-end-marker.
9564 (rcirc-complete): Error if point is not after rcirc prompt.
9565 Handle the case when table is nil.
9882e214 9566 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9567
fccee4ab
CY
95682011-03-22 Chong Yidong <cyd@stupidchicken.com>
9569
9570 * custom.el (custom--inhibit-theme-enable): Make it affect only
9571 custom-theme-set-variables and custom-theme-set-faces.
9572 (provide-theme): Ignore custom--inhibit-theme-enable.
9573 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9574 (custom-enabling-themes): Delete variable.
d86d2721
SM
9575 (enable-theme): Accept only loaded themes as arguments.
9576 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9577 (custom-enabled-themes): Forbid themes from setting this.
9578 Eliminate use of custom-enabling-themes.
9579 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9580
af896da6
LL
95812011-03-21 Leo Liu <sdl.web@gmail.com>
9582
9583 * ido.el (ido-read-internal): Add ido-selected to history instead
9584 of user input.
9585
78f64af0
SM
95862011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * subr.el (deferred-action-list, deferred-action-function):
9589 Mark obsolete.
9590
b16ac1ec
LL
95912011-03-21 Leo Liu <sdl.web@gmail.com>
9592
810f7698
LL
9593 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9594 change on 2011-02-13 (bug#8309).
9595
b16ac1ec
LL
9596 * minibuffer.el (read-file-name-function): Change default value.
9597 (read-file-name--defaults): Rename from read-file-name-defaults.
9598 (read-file-name-default): Rename from read-file-name.
9599 (read-file-name): Call read-file-name-function.
9600
4e05e67e
GM
96012011-03-21 Glenn Morris <rgm@gnu.org>
9602
9603 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9604 Doc fixes.
9605
4359915b
CY
96062011-03-21 Chong Yidong <cyd@stupidchicken.com>
9607
9608 * cus-theme.el: Add missing provide statement.
9609 (customize-create-theme): Extract theme value correctly.
9610 (custom-theme-visit-theme): Autoload.
9611 (customize-create-theme): Prompt before inserting default faces.
9612
1fe275ee
JB
96132011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9614
9615 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9616 units and musical notes.
9617
cd394be1 96182011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9619
9620 * ido.el (ido-read-internal): Use completing-read-default.
9621 (ido-completing-read): Fix compatibility with completing-read.
9622
7d476bde
CO
96232011-03-20 Christian Ohler <ohler@gnu.org>
9624
9625 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9626 (ert-delete-all-tests): Use `called-interactively-p' rather than
9627 `interactive-p'.
9628 (ert--make-xrefs-region): Respect END.
9629
fe0fb33e
CY
96302011-03-19 Chong Yidong <cyd@stupidchicken.com>
9631
ff854b0b
CY
9632 * dired-aux.el (dired-create-directory): Signal an error if the
9633 directory already exists (Bug#8246).
9634
fe0fb33e
CY
9635 * facemenu.el (list-colors-display): Call list-faces-display
9636 inside with-help-window.
9637 (list-colors-print): Use display property to align the final
9638 column, instead of checking window-width.
9639
576bce32
EZ
96402011-03-19 Eli Zaretskii <eliz@gnu.org>
9641
4d61f28d 9642 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9643 windows-nt systems.
9644 (emerge-protect-metachars): Quote correctly for ms-dos and
9645 windows-nt systems.
9646
89c41d68 96472011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9648
9649 * info.el (info-initialize): Replace all uses of `:' with
9650 path-separator for compatibility with non-Unix systems.
9651 Cache quoting of path-separator. (Bug#8258)
9652
b14e3e21 96532011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9654
9655 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9656 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9657 (mouse-avoidance-mode): Fix typos in docstrings.
9658
4525ce3e
CY
96592011-03-19 Chong Yidong <cyd@stupidchicken.com>
9660
9661 * startup.el (package-subdirectory-regexp): Move from package.el.
9662 Omit \\` and \\', and let callers add them.
9663
9664 * emacs-lisp/package.el (package-strip-version)
9665 (package-load-all-descriptors): Add \\` and \\' to
9666 package-subdirectory-regexp before using it.
9667 (package-untar-buffer): New arg DIR; ensure that file untars only
9668 into this expected directory. Remove superfluous delete-region.
9669 (package-unpack): Caller changed.
9670 (package-tar-file-info): Use package-subdirectory-regexp.
9671
a904a09a 96722011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9673
a904a09a
SM
9674 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9675 diff-mode-shared-map (bug#8284).
9676 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9677
96782011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9679
9680 * calendar/time-date.el (format-seconds): Use assoc instead of
9681 assoc-string, since assoc-string doesn't exist in XEmacs.
9682
171fc304
JB
96832011-03-17 Juanma Barranquero <lekktu@gmail.com>
9684
9685 * custom.el (custom-known-themes): Reflow docstring.
9686 (custom-theme-load-path): Fix typo in docstring.
9687 (load-theme): Fix typo in error message.
9688 (custom-available-themes, custom-variable-theme-value):
9689 Use `let', not `let*'.
9690
d71990a1
JB
96912011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9692
9693 * calc/README: Mention inclusion of musical notes.
9694
9695 * calc/calc-units.el (calc-lu-quant): Rename from
9696 `calc-logunits-quantity'.
9697 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9698 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9699 (calc-db): Rename from `calc-dblevel'.
9700 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9701 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9702 (calc-np): Rename from `calc-nplevel'.
9703 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9704 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9705 (calc-lu-plus): Rename from `calc-logunits-add'.
9706 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9707 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9708 (calc-lu-minus): Rename from `calc-logunits-sub'.
9709 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9710 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9711 (calc-lu-times): Rename from `calc-logunits-mul'.
9712 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9713 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9714 (calc-lu-divide): Rename from `calc-logunits-div'.
9715 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9716 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9717
9718 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9719 functions being autoloaded.
9720
9721 * calc/calc.el (calc-lu-power-reference): Rename from
9722 `calc-logunits-power-reference'.
9723 (calc-lu-field-reference): Rename from
9724 `calc-logunits-field-reference'.
9725
9726 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9727
40c2934b
SM
97282011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * minibuffer.el (completion-all-sorted-completions):
9731 Use :completion-cycle-penalty text property if present.
9732
b0911414
KM
97332011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9734
9735 * allout.el (allout-yank-processing): Adjust for new rebulleting
9736 regime so bullet being yanked is used without prompting the user
9737 for a choice.
9738
8a05b668
JB
97392011-03-16 Juanma Barranquero <lekktu@gmail.com>
9740
9741 * startup.el (command-line): Warn the user that _emacs is deprecated.
9742
5ba5fb81
JB
97432011-03-16 Juanma Barranquero <lekktu@gmail.com>
9744
9745 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9746 (delphi-verbose, delphi-comment-face, delphi-string-face)
9747 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9748 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9749 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9750 (delphi-new-comment-line, delphi-font-lock-defaults)
9751 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9752 Fix typos in docstrings.
9753
2dab465b
KM
97542011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9755
5ba5fb81 9756 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9757 Invert the roles of character and string values for INSTEAD, so a
9758 string is used for the more common case of a defaulting prompt.
9759
0adf5618
SM
97602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9761
9762 * progmodes/ruby-mode.el (ruby-backward-sexp):
9763 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9764 * play/gamegrid.el (gamegrid-make-face):
9765 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9766 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9767 * notifications.el (notifications-notify):
9768 * net/xesam.el (xesam-search-engines):
9769 * net/quickurl.el (quickurl-list-insert):
9770 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9771
d72700e5
CY
97722011-03-15 Chong Yidong <cyd@stupidchicken.com>
9773
9774 * startup.el (command-line): Update package subdirectory regexp.
9775
49c5410a
SM
97762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9777
c6eee9aa
SM
9778 * allout.el (allout-abbreviate-flattened-numbering)
9779 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9780
49c5410a
SM
9781 * subr.el (read-char-choice): Only show the cursor after the prompt,
9782 not after the answer.
9783
047b2bb9
KR
97842011-03-15 Kevin Ryde <user42@zip.com.au>
9785
9786 * help-fns.el (variable-at-point): Skip leading quotes, if any
9787 (bug#8253).
9788
0a57d256
SM
97892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9792 warning message.
9793
77c992bc
MA
97942011-03-14 Michael Albinus <michael.albinus@gmx.de>
9795
9796 * shell.el (shell): When called interactively, offer to change the
9797 shell file name on remote hosts.
9798
eebc475d
TZ
97992011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9800
9801 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9802 integration for LDAP parameters. The host, base, user or binddn,
9803 and secret tokens can be specified in a netrc file, for instance.
9804 This is optional because an `auth-source' parameter must be
9805 specified in the search attributes.
9806
9d05d1ba
JB
98072011-03-13 Juanma Barranquero <lekktu@gmail.com>
9808
9809 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9810
09d9db2c
GM
98112011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9812
9813 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9814 into declaration. Remove redundant and harmful binding.
9815
98162011-03-12 Eli Zaretskii <eliz@gnu.org>
9817
9818 * files.el (file-ownership-preserved-p): Pass `integer' as an
9819 explicit 2nd argument to `file-attributes'. If the file's owner
9820 is the Administrators group on Windows, and the current user is
9821 Administrator, consider that a match.
9822
9823 * server.el (server-ensure-safe-dir): Consider server directory
9824 safe on MS-Windows if its owner is the Administrators group while
9825 the current Emacs user is Administrator. Use `=' to compare
9826 numerical UIDs, since they could be integers or floats.
9827
219bd536
JB
98282011-03-12 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9831
f3afd36b
MA
98322011-03-12 Michael Albinus <michael.albinus@gmx.de>
9833
9834 Sync with Tramp 2.2.1.
9835
9836 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9837
9838 * net/trampver.el: Update release number.
9839
3aaaa6f1
SM
98402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9841
94642599
SM
9842 * progmodes/compile.el (compilation--previous-directory): Fix up
9843 various nil/dead-marker mismatches (bug#8014).
9844 (compilation-directory-properties, compilation-error-properties):
9845 Don't call it at a position past the one we're about to change.
9846
3aaaa6f1
SM
9847 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9848 Disable obsolescence warnings in the file that declares it.
9849
14239447
KM
98502011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9851
099c39a4
JB
9852 * allout-widgets.el (allout-widgets-tally):
9853 Initialize allout-widgets-tally as a hash table rather than nil to
9854 prevent mode-line redisplay warnings. Also, clarify the module
9855 description and fix a comment typo.
14239447 9856
135e287c
JB
98572011-03-11 Juanma Barranquero <lekktu@gmail.com>
9858
9859 * help-fns.el (describe-variable): Don't complete keywords.
9860 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9861
ffbf300e
CY
98622011-03-10 Chong Yidong <cyd@stupidchicken.com>
9863
ba08b241
CY
9864 * emacs-lisp/package.el (package-version-join): Impose a standard
9865 string representation for pre/alpha/beta version lists.
9866 (package-unpack-single): Standardize the directory name by passing
9867 it through package-version-join.
9868 (package-strip-rcs-id): Accept any version string that does not
9869 signal an error in version-to-list.
ffbf300e 9870
f346fd6b
MA
98712011-03-10 Michael Albinus <michael.albinus@gmx.de>
9872
9873 * simple.el (delete-trailing-whitespace): Return nil for the
9874 benefit of `write-file-functions'.
9875
ccb55d27
GM
98762011-03-10 Glenn Morris <rgm@gnu.org>
9877
5ceaac0c
GM
9878 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9879
02da65ff
GM
9880 * vc/vc-git.el (vc-git-program): New option.
9881 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9882 (vc-git--call): Use it.
9883
b2f603cc
GM
9884 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9885
5772caab
GM
9886 * cus-edit.el (Custom-newline): If no button at point, look
9887 for a subgroup button at start-of-line. (Bug#2298)
9888
ccb55d27
GM
9889 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9890
ec6ecaed
JD
98912011-03-10 Julien Danjou <julien@danjou.info>
9892
9893 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9894 `cursor-type' is nil.
9895
9d5aa01d
JB
98962011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9897
9898 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9899
b6a5875b
KM
99002011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9901
9902 * allout.el Summary: Change so yank of distinctive-bullet items
9903 preserves the existing header prefix, rebulleting it if necessary,
9904 rather than replacing it. This is necessary for proper operation
9905 of cooperative addons like allout-widgets.
1154d12e
JB
9906 (allout-make-topic-prefix, allout-rebullet-heading):
9907 Change SOLICIT arg to INSTEAD, and interpret additionally a string
9908 value as alternate bullet to be used, instead of prompting the user
9909 for a bullet character.
b6a5875b 9910
ee545c35
MA
99112011-03-09 Michael Albinus <michael.albinus@gmx.de>
9912
d86d2721
SM
9913 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9914 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
9915 `tramp-default-port'.
9916
c47971d7
DD
99172011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9918
9919 * net/rcirc.el (rcirc-handler-001): Remove useless
9920 with-rcirc-process-buffer.
9921 (rcirc-check-auth-status): Swap arguments to string-match.
9922
13522cb4
GM
99232011-03-09 Glenn Morris <rgm@gnu.org>
9924
0be6f4f1
GM
9925 * shell.el (shell-mode):
9926 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9927
13522cb4
GM
9928 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9929 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9930
515de2e3
CY
99312011-03-08 Chong Yidong <cyd@stupidchicken.com>
9932
9933 * emacs-lisp/package.el (package-refresh-contents)
9934 (package-menu-execute): Use condition-case-no-debug.
9935
b511b994
MA
99362011-03-08 Michael Albinus <michael.albinus@gmx.de>
9937
9938 * simple.el (shell-command-to-string): Use `process-file'.
9939
9940 * emacs-lisp/package.el (package-tar-file-info): Handle also
9941 remote files.
9942
d86d2721
SM
9943 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9944 Use `equal' for upload base check.
b511b994 9945
25bbfb31
AM
99462011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9947
9948 * textmodes/texinfo.el (texinfo-environments):
9949 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9950
be996521
GM
99512011-03-08 Glenn Morris <rgm@gnu.org>
9952
e9c8529f
GM
9953 * cus-start.el (cursor-in-non-selected-windows):
9954 Fix :set quoting oddness. (Bug#8192)
9955
be996521
GM
9956 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9957 in some setf expressions. (Bug#2159)
9958
2bb5649e
CY
99592011-03-08 Chong Yidong <cyd@stupidchicken.com>
9960
9961 * custom.el (custom-available-themes): Return themes in
9962 alphabetical order.
9963
33383987 9964See ChangeLog.15 for earlier changes.
e3d51b27
MR
9965
9966;; Local Variables:
9967;; coding: utf-8
e3d51b27
MR
9968;; End:
9969
acaf905b 9970 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
9971
9972 This file is part of GNU Emacs.
9973
9974 GNU Emacs is free software: you can redistribute it and/or modify
9975 it under the terms of the GNU General Public License as published by
9976 the Free Software Foundation, either version 3 of the License, or
9977 (at your option) any later version.
9978
9979 GNU Emacs is distributed in the hope that it will be useful,
9980 but WITHOUT ANY WARRANTY; without even the implied warranty of
9981 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9982 GNU General Public License for more details.
9983
9984 You should have received a copy of the GNU General Public License
9985 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.