Fix last change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d1a5c3b4
JB
12012-01-23 Juanma Barranquero <lekktu@gmail.com>
2
2724d9c7
JB
3 * subr.el (display-delayed-warnings): Doc fix.
4 (collapse-delayed-warnings): New function to collapse identical
5 adjacent warnings.
6 (delayed-warnings-hook): Add it.
d1a5c3b4 7
a5509865
MA
82012-01-22 Michael Albinus <michael.albinus@gmx.de>
9
10 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11
12 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
13 properties, when "login-as" is set.
14
15 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16 (tramp-default-user-alist): Don't add "pscp".
17 (tramp-do-copy-or-rename-file-out-of-band): Use connection
18 property "login-as", if set. (Bug#10530)
19
cc6d5805
MA
202012-01-21 Michael Albinus <michael.albinus@gmx.de>
21
22 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
23 "plink1" and "psftp". (Bug#10530)
24
252012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
26
27 * international/mule-cmds.el (prefer-coding-system): Show a
28 warning message if the default value of file-name-coding-system
29 was not changed.
30
f0960428
JC
312012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
32
33 * windmove.el (windmove-reference-loc): Fix
34 windmove-reference-loc miscalculation.
35
dd6f2a63
JB
362012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
37
38 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
39 default unit.
40
7b447e9b
GM
412012-01-21 Glenn Morris <rgm@gnu.org>
42
117a9ea1
GM
43 * international/mule.el (auto-coding-alist): Add .tbz.
44
7b447e9b
GM
45 * files.el (local-enable-local-variables): Doc fix.
46 (inhibit-local-variables-regexps): Rename from
47 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
48 Doc fix. Add some extensions from auto-coding-alist.
49 (inhibit-local-variables-suffixes):
50 Rename from inhibit-first-line-modes-suffixes. Doc fix.
51 (inhibit-local-variables-p):
52 New function, extracted from set-auto-mode-1.
53 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
54 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
55 (hack-local-variables): Doc fix. Make the mode-only case
56 respect enable-local-variables and friends.
57 Respect inhibit-local-variables-regexps for file-locals, but
58 not for directory-locals.
59 (set-visited-file-name):
60 Take account of inhibit-local-variables-regexps.
61 Whether it applies may change as the file name is changed.
62 * jka-cmpr-hook.el (jka-compr-install):
63 * jka-compr.el (jka-compr-uninstall):
64 Update for inhibit-first-line-modes-suffixes name change.
65
dd6e3cdd
MR
662012-01-20 Martin Rudalics <rudalics@gmx.at>
67
68 * help-macro.el (make-help-screen): Temporarily restore original
69 binding for minor-mode-map-alist (Bug#10454).
70
0d0deb38
JD
712012-01-19 Julien Danjou <julien@danjou.info>
72
73 * color.el (color-name-to-rgb): Use the white color to find the max
74 color component value and return correctly computed values.
75 (color-name-to-rgb): Add missing float conversion for max value.
76
34a02f46
MR
772012-01-19 Martin Rudalics <rudalics@gmx.at>
78
79 * window.el (window--state-get-1, window-state-get): Do not use
80 special state value for window-persistent-parameters. Rename
81 argument IGNORE to WRITABLE. Rewrite doc-string.
82 (window--state-put-2): Reset all window parameters to nil before
83 assigning values of persistent parameters.
84
606c44c4
AM
852012-01-18 Alan Mackenzie <acm@muc.de>
86
87 Eliminate sluggishness and hangs in fontification of "semicolon
88 deserts".
89
90 * progmodes/cc-engine.el (c-state-nonlit-pos-interval): change
91 value 10000 -> 3000.
92 (c-state-safe-place): Reformulate so it doesn't stack up an
93 infinite number of wrong entries in c-state-nonlit-pos-cache.
94 (c-determine-limit-get-base, c-determine-limit): New functions to
95 determine backward search limits disregarding literals.
96 (c-find-decl-spots): Amend commenting.
97 (c-cheap-inside-bracelist-p): New function which detects "={".
98
99 * progmodes/cc-fonts.el
100 (c-make-font-lock-BO-decl-search-function): Give a limit to a
101 backward search.
102 (c-font-lock-declarations): Fix an occurrence of point being
103 undefined. Check additionally for point being in a bracelist or
104 near a macro invocation without a semicolon so as to avoid a
105 fruitless time consuming search for a declarator. Give a more
106 precise search limit for declarators using the new
107 c-determine-limit.
108
f3860cea
GM
1092012-01-18 Glenn Morris <rgm@gnu.org>
110
111 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
112 (set-auto-mode): Doc fixes.
113
1db03b16
GM
1142012-01-17 Glenn Morris <rgm@gnu.org>
115
0e6038be
GM
116 * isearch.el (search-nonincremental-instead): Fix doc typo.
117
1db03b16
GM
118 * dired.el (dired-insert-directory): Handle newlines in directory name.
119 (dired-build-subdir-alist): Unescape newlines in directory name.
120
4cb0aa75
MA
1212012-01-17 Michael Albinus <michael.albinus@gmx.de>
122
123 * net/tramp.el (tramp-local-end-of-line): New defcustom.
124 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
125 (tramp-action-terminal): Use it. (Bug#10530)
126
1d00653d
SM
1272012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * minibuffer.el (completion--replace): Strip properties (bug#10062).
130
6a6ee00d
MR
1312012-01-16 Martin Rudalics <rudalics@gmx.at>
132
133 * window.el (window-state-ignored-parameters): Remove variable.
134 (window--state-get-1): Rename argument MARKERS to IGNORE.
135 Handle persistent window parameters. Make copy of clone-of
136 parameter only if requested. (Bug#10348)
137 (window--state-put-2): Install a window parameter only if it has
138 a non-nil value or an existing parameter shall be overwritten.
139
97912def
MA
1402012-01-15 Michael Albinus <michael.albinus@gmx.de>
141
142 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
143
688070a5
EZ
1442012-01-14 Eli Zaretskii <eliz@gnu.org>
145
146 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
147 don't pass the (nil) value of `upnode' to string-match.
148
301afadc
CY
1492012-01-14 Chong Yidong <cyd@gnu.org>
150
151 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 152 Fix values recognized by the cursorBlink resource.
301afadc 153
9e5788aa
PE
1542012-01-14 Paul Eggert <eggert@cs.ucla.edu>
155
156 * epg.el (epg--make-temp-file): Avoid permission race condition
157 when running on old Emacs versions (bug#10403).
158
3cdb7f5a
GM
1592012-01-14 Glenn Morris <rgm@gnu.org>
160
161 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
162
8c82b1b4
AM
1632012-01-13 Alan Mackenzie <acm@muc.de>
164
165 Fix filling for when filladapt mode is enabled.
166
167 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
168 c-mask-paragraph, pass in `fill-paragraph' rather than
169 `fill-region-as-paragraph'. (This is a reversion of a previous
170 change.)
171 * progmodes/cc-mode.el (c-basic-common-init): Make
172 fill-paragraph-handle-comment buffer local and set it to nil.
173
e517eda4
GM
1742012-01-13 Glenn Morris <rgm@gnu.org>
175
1498536e
GM
176 * dired.el (dired-switches-escape-p): New function.
177 (dired-insert-directory): Use dired-switches-escape-p.
178 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
179
e517eda4
GM
180 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
181
328f984d
GM
1822012-01-12 Glenn Morris <rgm@gnu.org>
183
184 * mail/sendmail.el (mail-mode): Update paragraph-separate for
185 changes in adaptive-fill-regexp. (Bug#10276)
186
2cc769a8
AM
1872012-01-11 Alan Mackenzie <acm@muc.de>
188
189 Fix Emacs bug #10463 - put `widen's around the critical spots.
190
1d00653d 191 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
192 widen around each invocation of c-state-pp-to-literal. Remove an
193 unused let variable.
194
e52c37fa
GM
1952012-01-11 Glenn Morris <rgm@gnu.org>
196
197 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 198 Doc fix.
e52c37fa 199
96f8741e
CY
2002012-01-10 Chong Yidong <cyd@gnu.org>
201
1d00653d
SM
202 * net/network-stream.el (network-stream-open-starttls):
203 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
204 response to the capability command.
205
b09a806e
GM
2062012-01-10 Glenn Morris <rgm@gnu.org>
207
208 * mail/unrmail.el (unrmail): Tweak previous change.
209
7655cb66
CY
2102012-01-09 Chong Yidong <cyd@gnu.org>
211
212 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
213
9d5a8f0b
AM
2142012-01-08 Alan Mackenzie <acm@muc.de>
215
216 Optimise font locking in long enum definitions.
217
218 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
219 arm to a cond form to handle enums.
220 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
221 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
222
9a0115ab 2232012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
224
225 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 226 (Bug#10401)
6bb72cbd 227
f186bb95
LMI
2282012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
229
29232a68
LMI
230 * faces.el (set-face-attribute): Clarify the meaning of the nil
231 frame (bug#10294).
232
4e5d086d
LMI
233 * subr.el (with-selected-frame): Mention that the selected frame
234 is restored (bug#9980).
235
8e66aebe
LMI
236 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
237 (bug#9759).
238
cd394be1 239 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
240 (password-read): Don't autoload unused function.
241
adf4e762
JB
2422012-01-07 Juanma Barranquero <lekktu@gmail.com>
243
244 * progmodes/which-func.el (which-func-mode): Turn into a
245 non-interactive function and mark as obsolete (bug#10428).
246
89bd9ccd
CY
2472012-01-06 Chong Yidong <cyd@gnu.org>
248
249 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
250 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
251 functions, along with 1 and -1.
252
4afee9d5
EZ
2532012-01-06 Eli Zaretskii <eliz@gnu.org>
254
255 * time.el (display-time-load-average)
256 (display-time-default-load-average): Doc fixes. See the thread
257 starting at
258 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
259 for the details.
260
536aea70
GM
2612012-01-06 Glenn Morris <rgm@gnu.org>
262
665ae865
GM
263 * mail/unrmail.el (unrmail): Give an explicit error if the input file
264 has no messages. (Bug#10377)
265
c869783d
GM
266 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
267 than Info-edit. (Bug#10385)
268
2bb4227e
GM
269 * time.el (display-time-load-average, display-time-next-load-average):
270 Doc fixes.
271
7d5944b9
GM
272 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
273 local setting of buffer-read-only to the input buffer. (Bug#10419)
274
536aea70
GM
275 * calendar/calendar.el (calendar-mode):
276 Locally set scroll-margin to 0. (Bug#10379)
277
7dccca16
UM
2782012-01-06 Ulrich Mueller <ulm@gentoo.org>
279
280 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
281
afbb7930
GM
2822012-01-05 Glenn Morris <rgm@gnu.org>
283
284 * eshell/em-unix.el (diff-no-select): Autoload it.
285 (eshell/diff): Use diff-no-select. (Bug#10420)
286
04482335
CY
2872012-01-05 Chong Yidong <cyd@gnu.org>
288
7baca3bc
CY
289 * shell.el (shell-dynamic-complete-functions): Revert last change.
290 (shell-command-completion-function): New function.
291 (shell-completion-vars): Use it to implement
292 shell-completion-execonly (Bug#10417).
293
04482335
CY
294 * custom.el (enable-theme): Don't set custom-safe-themes.
295
1d00653d
SM
296 * cus-theme.el (custom-theme-merge-theme):
297 Ignore custom-enabled-themes and custom-safe-themes.
04482335 298
bb5aa5d6
MM
2992012-01-05 Michael R. Mauger <mmaug@yahoo.com>
300
301 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
302 first prompt in `sql-interacive-mode'.
303 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 304 keywords.
bb5aa5d6
MM
305 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
306 (sql-product-interactive): Bug fix: Set `sql-buffer' in
307 context of original buffer. Invoke `sql-login-hook'.
308
a7183d7c
EZ
3092012-01-04 Eli Zaretskii <eliz@gnu.org>
310
311 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
312 letters in cite-prefix.
313
a1eacd1e
LMI
3142012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
315
316 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
317
787cdb34
CY
3182012-01-03 Chong Yidong <cyd@gnu.org>
319
1d00653d
SM
320 * shell.el (shell-dynamic-complete-functions):
321 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
322 comint-filename-completion first (Bug#10417).
323
30710442
RS
3242012-01-02 Richard Stallman <rms@gnu.org>
325
326 * battery.el (battery-status-function):
327 Detect when to use battery-yeeloong-sysfs.
328 (battery-echo-area-format): Add string for Yeeloong.
329 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
330 (battery-yeeloong-sysfs): New function.
331
f75bfc33
CY
3322012-01-02 Chong Yidong <cyd@gnu.org>
333
334 * dirtrack.el (dirtrack-list): Eliminate unused third element.
335 (dirtrack): Merge code for handling relative filenames in prompt
336 from shell-dir-cookie-watcher.
337 (dirtrack-debug-message): New arg to avoid excess format calls.
338
339 * shell.el (shell-dir-cookie-re): Variable deleted.
340 (shell-dir-cookie-watcher): Function deleted.
341 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
342 with dirtrack-mode.
343
651e947e
EZ
3442012-01-01 Eli Zaretskii <eliz@gnu.org>
345
1d00653d
SM
346 * term/w32-win.el (dynamic-library-alist) <gnutls>:
347 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
348 libgnutls-26.dll.
349
94d4c7dc
AS
3502011-12-31 Andreas Schwab <schwab@linux-m68k.org>
351
352 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
353
8d43f3cd
EZ
3542011-12-31 Eli Zaretskii <eliz@gnu.org>
355
356 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
357 headers of non-MIME messages, when rmail-enable-mime is non-nil.
358
98c8795a
MA
3592011-12-29 Michael Albinus <michael.albinus@gmx.de>
360
361 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
362 also for alternative shells.
363 (tramp-open-connection-setup-interactive-shell): Check, whether
364 the shell is a busybox.
365 (tramp-send-command): Don't suppress multiple prompts for
366 busyboxes, it hurts.
367
51281b32
CY
3682011-12-28 Chong Yidong <cyd@gnu.org>
369
370 * progmodes/gdb-mi.el (gdb-get-source-file-list)
371 (gdb-get-source-file): Move mode line update to
372 gdb-get-source-file (Bug#10087).
373
2170cb53
CY
3742011-12-25 Chong Yidong <cyd@gnu.org>
375
376 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
377 gud-gdb-marker-filter without taking it as an argument.
378 (gud-gdb-run-command-fetch-lines): Caller changed.
379 (gud-gdb-completion-function): New variable.
380 (gud-gdb-completion-at-point): Use it.
381 (gud-gdb-completions-1): Split from gud-gdb-completions.
382
383 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
384 function as separate arguments.
385 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
386 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
387 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
388 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
389 (gdb-stopped, def-gdb-auto-update-trigger)
390 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
391 (gdb-get-changed-registers, gdb-get-main-selected-frame):
392 Callers changed.
2170cb53
CY
393 (gud-gdbmi-completions): New function.
394 (gdb): Use it for generating the completion table.
395
be8b11bb
AM
3962011-12-24 Alan Mackenzie <acm@muc.de>
397
398 Introduce a mechanism to widen the region used in context font
1d00653d 399 locking. Use this to protect declarations from losing their contexts.
be8b11bb 400
1d00653d
SM
401 * progmodes/cc-langs.el (c-before-font-lock-functions):
402 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 403 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
404 functions to be run just before context (etc.) font locking.
405
406 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 407 New, functionality extracted from
be8b11bb 408 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 409 (c-in-after-change-fontification): New variable.
be8b11bb
AM
410 (c-after-change): Set c-in-after-change-fontification.
411 (c-set-fl-decl-start): Rejig its interface, so it can be called
412 from both after-change and context fontifying.
b81d40f0
JB
413 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
414 New functions.
415 (c-standard-font-lock-fontify-region-function): New variable.
416 (c-font-lock-fontify-region): New function.
be8b11bb 417
341cf6ac
JL
4182011-12-24 Juri Linkov <juri@jurta.org>
419
420 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
421 (Bug#10348)
422
bffcee0a
MA
4232011-12-23 Michael Albinus <michael.albinus@gmx.de>
424
425 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
426 existence of source file. (Bug#10325)
427
cb5e207c
AM
4282011-12-23 Alan Mackenzie <acm@muc.de>
429
430 Fix unstable fontification inside templates.
431
b81d40f0
JB
432 * progmodes/cc-langs.el (c-before-font-lock-functions):
433 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
434 additionally has c-set-fl-decl-start. The other languages (apart
435 from AWK) have that as a single entry.
436
b81d40f0
JB
437 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
438 The functionality for "local" declarations has been extracted to
cb5e207c
AM
439 c-set-fl-decl-start.
440
b81d40f0
JB
441 * progmodes/cc-mode.el (c-common-init, c-after-change):
442 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
443 (c-set-fl-decl-start): New function, extracted from
444 c-font-lock-enclosing-decls and enhanced.
445
60ff536c
JB
4462011-12-23 Juanma Barranquero <lekktu@gmail.com>
447
448 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
449
1c4757d6
JL
4502011-12-22 Juri Linkov <juri@jurta.org>
451
452 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
453
d031f2c7
CY
4542011-12-22 Chong Yidong <cyd@gnu.org>
455
456 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
457
bace743a
DA
4582011-12-21 Drew Adams <drew.adams@oracle.com>
459
460 * files.el (file-remote-p): Fix docstring. (Bug#10319)
461
728a1f2b
JC
4622011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
463
464 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
465
0d373f73
TZ
4662011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
467
fec0aaa4
TZ
468 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
469 highlighting and support. Fix up comments for capitalization.
470 (cfengine-mode-debug): New var.
471 (cfengine3-mode): Change the modeline indicator to "CFE3".
472 (cfengine3-font-lock-keywords): Improve defun highlighting.
473 (cfengine2-actions): Rename from `cfengine-actions'.
474 (cfengine2-font-lock-keywords): Rename from
475 `cfengine-font-lock-keywords'.
476 (cfengine2-imenu-expression): Rename from
477 `cfengine-imenu-expression'.
478 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
479 (cfengine2-beginning-of-defun): Rename from
480 `cfengine-beginning-of-defun'.
481 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
482 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
483 (cfengine2-mode): Rename from `cfengine-mode'. Change the
484 modeline indicator to "CFE2".
485 (cfengine-mode): Defalias to `cfengine-auto-mode'.
486 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 487
bc86f573
CY
4882011-12-21 Chong Yidong <cyd@gnu.org>
489
490 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
491 filename argument.
492
d45ba96b
MR
4932011-12-20 Martin Rudalics <rudalics@gmx.at>
494
495 * window.el (window-normalize-buffer-to-display): Remove.
496 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
497
a6198c90
CY
4982011-12-19 Chong Yidong <cyd@gnu.org>
499
500 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
501 Don't signal an error in a predicate function; return non-nil.
502 (vc-dir-mark-file): Move the error here.
503 (vc-dir-mark-unmark): If acting on the region, keep going if one
504 of the entries cannot be marked/unmarked.
505 (vc-dir-mark-all-files): If current entry is a directory, mark
506 only child files, as documented.
507
34c5fb55
VB
5082011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
509
510 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
511 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
512 addition.
513
c803b2b7
JD
5142011-12-18 Jan Djärv <jan.h.d@swipnet.se>
515
516 * term/ns-win.el (ns-get-selection-internal)
517 (ns-store-selection-internal): Declare.
1154d12e
JB
518 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
519 Declare as obsolete.
520 (ns-get-pasteboard, ns-paste-secondary):
521 Use ns-get-selection-internal.
522 (ns-set-pasteboard, ns-copy-including-secondary):
523 Use ns-store-selection-internal.
c803b2b7 524
9cff91f8 5252011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
526
527 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 528 (vc-deduce-fileset): Doc fix.
99a289d9 529
f16c898a
AS
5302011-12-16 Andreas Schwab <schwab@linux-m68k.org>
531
532 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
533
763237c4
SS
5342011-12-13 Sam Steingold <sds@gnu.org>
535
536 * man.el (Man-getpage-in-background): When running under a
537 window-system, ignore $MANWIDTH and $COLUMNS.
538
5fc1c122
KH
5392011-12-15 Kenichi Handa <handa@m17n.org>
540
541 * language/ethio-util.el: Change coding tag to utf-8-emacs.
542 (setup-ethiopic-environment-internal): Comment out key-binding for
543 ethio-toggle-punctuation.
544
13d49cbb
AM
5452011-12-13 Alan Mackenzie <acm@muc.de>
546
898169a2
AM
547 Add the switch statement to AWK Mode.
548
549 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
550 "default" to the keywords regexp.
551
552 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
553 expression as the rest.
1d00653d
SM
554 (c-nonlabel-token-key): Allow string literals for AWK.
555 Refactor for the other modes.
898169a2 556
13d49cbb 557 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 558 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
559 routines. Limit backward searching in c-font-lock-enclosing.decl.
560
561 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
562 pp-state and literal type in addition to the limits.
1d00653d 563 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 564 (c-state-literal-at): Use the above new defun.
1d00653d
SM
565 (c-slow-in-literal, c-fast-in-literal): Remove.
566 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
567
568 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
569 being in a literal. Add a limit for backward searching.
570
571 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
572 c-slow-in-literal.
573
15e0efc7
SM
5742011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
577
454592a6
MR
5782011-12-13 Martin Rudalics <rudalics@gmx.at>
579
580 * window.el (delete-other-windows): Use correct frame in call to
581 window-with-parameter.
582
87393f26
DP
5832011-12-12 Daniel Pfeiffer <occitan@t-online.de>
584
585 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
586 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
587 (makefile-gmake-statements, makefile-makepp-statements):
588 Use it and add new makepp keywords.
589 (makefile-makepp-font-lock-keywords): Add new patterns.
590 (makefile-match-function-end): Match new [...] and [[...]].
591
11636b22
JB
5922011-12-11 Juanma Barranquero <lekktu@gmail.com>
593
594 * ses.el (ses-call-printer-return, ses-cell-property-get)
595 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
596 (ses-create-cell-variable, ses-reset-header-string)
597 (ses-cell-set-formula, ses-repair-cell-reference-all)
598 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
599 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
600 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
601 (ses-aset-with-undo, ses-load, ses-truncate-cell)
602 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
603 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
604 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
605 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
606 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
607 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
608 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
609 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
610
cf018193
VB
6112011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
612
613 * ses.el: The overall change is to add cell renaming, that is
614 setting fancy names for cell symbols other than name matching
615 "\\`[A-Z]+[0-9]+\\'" regexp .
616 (ses-create-cell-variable): New defun.
617 (ses-relocate-formula): Relocate formulas only for cells the
618 symbols of which are not renamed, i.e. symbols whose names do not
619 match regexp "\\`[A-Z]+[0-9]+\\'".
620 (ses-relocate-all): Relocate values only for cells the symbols of
621 which are not renamed.
622 (ses-load): Create cells variables as the (ses-cell ...) are read,
623 in order to check row col consistency with cell symbol name only
624 for cells that are not renamed.
625 (ses-replace-name-in-formula): New defun.
626 (ses-rename-cell): New defun.
627
ee957461
CY
6282011-12-11 Chong Yidong <cyd@gnu.org>
629
630 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
631 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
632
9a9e9ef0
MR
6332011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
634
635 * window.el (other-window): Fix docstring.
636
92a8eba5
EZ
6372011-12-10 Eli Zaretskii <eliz@gnu.org>
638
639 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
640 `from' or `to' address before taking its substring.
641 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
642 encoded name is chopped in the middle of the encoded string, and
643 thus displayed encoded.
644
e152e577
JB
6452011-12-10 Juanma Barranquero <lekktu@gmail.com>
646
647 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
648
e5d84bfe
EZ
6492011-12-10 Eli Zaretskii <eliz@gnu.org>
650
651 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
652 to use texinfo-update-node and commands that call it if the
653 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 654 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
655 (texinfo-all-menus-update, texinfo-master-menu)
656 (texinfo-update-node, texinfo-every-node-update)
657 (texinfo-multiple-files-update): Doc fix. Warn against updating
658 all the @node lines.
659 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
660 argument is numeric. Explain better in the doc string what the
661 function really does.
662 (texinfo-insert-master-menu-list): Improve the error message
663 displayed if there's no menu in the Top node.
664 (Bug#2975) See also this thread:
e5d84bfe
EZ
665 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
666
1d84e9bb
MG
6672011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
668
669 * speedbar.el (speedbar-supported-extension-expressions):
670 Add .adb and .ads, commonly used for Ada source code (bug#10256).
671
382c953b
JB
6722011-12-09 Juanma Barranquero <lekktu@gmail.com>
673
674 * printing.el (pr-mode-alist):
675 * simple.el (filter-buffer-substring-functions)
676 (completion-list-insert-choice-function):
677 * window.el (window-with-parameter, window-atom-root)
678 (window-sides-slots, window-size-fixed, window-min-delta)
679 (window-max-delta, window--resize-mini-window)
680 (window--resize-child-windows-normal, window-tree)
681 (delete-other-windows, quit-window, split-window)
682 (display-buffer-record-window, special-display-buffer-names)
683 (special-display-regexps, special-display-popup-frame)
684 (same-window-p, split-window-sensibly)
685 (display-buffer-overriding-action, display-buffer-alist)
686 (display-buffer-base-action, display-buffer, switch-to-buffer)
687 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
688 (fit-window-to-buffer, recenter-positions)
689 (mouse-autoselect-window-state, mouse-autoselect-window-select):
690 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
691 and remove unneeded backslashes in docstrings.
692
39c9faef
SM
6932011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
694
98449af8
SM
695 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
696
39c9faef
SM
697 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
698 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
699 end in ".mk".
700 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
701 when reading the makefile (bug#10116).
702
86ed9fdc
SM
7032011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
706 (bug#10116).
707
5580f89d
GM
7082011-12-06 Glenn Morris <rgm@gnu.org>
709
710 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
711
28d3917c
CY
7122011-12-06 Chong Yidong <cyd@gnu.org>
713
714 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
715
a98edce9
JB
7162011-12-06 Juanma Barranquero <lekktu@gmail.com>
717
718 * textmodes/table.el (table-shorten-cell): Fix typo.
719
e65adfac
CG
7202011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
721
722 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
723
71cc0b74
EZ
7242011-12-05 Eli Zaretskii <eliz@gnu.org>
725
726 * descr-text.el (describe-char): Fix display of strong
727 right-to-left characters and directional embeddings and overrides.
728
729 * simple.el (what-cursor-position): Fix display of codepoints of
730 strong right-to-left characters.
731
315bc30d
CY
7322011-12-05 Chong Yidong <cyd@gnu.org>
733
734 * faces.el (read-color): Doc fix.
735
58a70b94
GM
7362011-12-05 Glenn Morris <rgm@gnu.org>
737
738 * align.el (align--set-marker): Add doc-string.
739 Don't try to move something that is not a marker. (Bug#10216)
740
5158face
GM
7412011-12-04 Glenn Morris <rgm@gnu.org>
742
743 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
744 overly zealous deletion of trailing whitespace.
745
520fca41
JB
7462011-12-04 Juanma Barranquero <lekktu@gmail.com>
747
748 * server.el (server-delete-client): On Windows, do not try to delete
749 the only terminal.
750 (server-process-filter): On Windows, treat requests for a tty frame as
751 if they were for a GUI frame if the running server is in GUI mode.
752
5e605a2e
GM
7532011-12-03 Glenn Morris <rgm@gnu.org>
754
755 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
756
5c3fe83f
SM
7572011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
758
6f5e57e7
SM
759 * electric.el: Streamline electric-indent's hook.
760 (electric-indent-chars): Revert to simple list.
761 (electric-indent-functions): New var.
762 (electric-indent-post-self-insert-function): Use it.
763
5c3fe83f
SM
764 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
765 there's no inferior buffer (bug#10196).
766 (prolog-consult-compile): Don't use toggle-read-only.
767
6bdac736
MA
7682011-12-02 Michael Albinus <michael.albinus@gmx.de>
769
770 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
771 interrupt. (Bug#10187)
772
6131ba7f
SM
7732011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
774
99c79fee
SM
775 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
776 (bug#9160).
777
6131ba7f
SM
778 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
779 (bug#10191).
780
cb0a02ea
JL
7812011-12-02 Juri Linkov <juri@jurta.org>
782
783 * info.el (Info-search): Display "end of manual" when Isearch
784 reaches the end of single-file Info manual. (Bug#9918)
785
66e0570c
EZ
7862011-12-02 Eli Zaretskii <eliz@gnu.org>
787
788 * isearch.el (isearch-message-prefix): Run the input method part
789 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
790
02b16839
JL
7912011-12-02 Juri Linkov <juri@jurta.org>
792
793 * isearch.el (isearch-occur): Use `word-search-regexp' for
794 `isearch-word'.
795 (isearch-search-and-update): Add condition for `isearch-word' and
796 call `word-search-regexp'. (Bug#10145)
797
0b950688
GM
7982011-12-01 Glenn Morris <rgm@gnu.org>
799
800 * eshell/em-hist.el (eshell-hist-initialize):
801 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 802 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 803
9505c3c7
SM
8042011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
807
1bbe96b2 8082011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 809
a1beca85
SM
810 * progmodes/verilog-mode.el (verilog-pretty-expr):
811 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
812 verilog, such as += *= and the like.
813 (verilog-assignment-operator-re): Regular expression to find the
814 assigment operator in a verilog assignment.
815 (verilog-assignment-operation-re): Regular expression to find an
816 assignment statement for pretty-expr.
817 (verilog-in-attribute-p): Query returns true if point is in an
818 attribute context; used to skip these for expression line up from
819 pretty-expr.
820 (verilog-in-parameter-p): Query returns true if point is in an
821 parameter definition context; used to skip these for expression
822 line up from pretty-expr.
823 (verilog-in-parenthesis-p): Query returns true if point is in a
824 parenthetical expression, specifically ( ) but not [ ] or { };
825 used by pretty-expr.
826 (verilog-just-one-space): If there is no space, don't add one.
827 (verilog-get-lineup-indent-2): Specifically skip just attribute
828 contexts for expression lineup, rather than skipping all
829 parenthetical expressions.
830 (verilog-calculate-indent): Fix comment, and fix indent.
831 (verilog-do-indent): Indent declarations in lists (suggested by
832 Joachim Lechner).
833 (verilog-mode-abbrev-table): Populate abbrev mode with the various
834 skeleton items.
835 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
836 by Alain Mellan).
837
1bbe96b2 8382011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
839
840 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
841 parameters with embedded comments. Reported by Ray Stevens.
842 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
843 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
844 Reported by Tim Holt.
845 (verilog-auto): Fix AUTOing a upper module then AUTOing module
846 instantiated by upper module causing wrong expansion until AUTOed a
847 second time. Reported by K C Buckenmaier.
848 (verilog-diff-auto): Fix showing .* as a difference when
849 `verilog-auto-star-save' off. Reported by Dan Dever.
850 (verilog-auto-reset, verilog-read-always-signals)
851 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
852 temporary signals in reset list if
853 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
854 style to each signal's assignment type, bug381.
855 Reported by Thomas Esposito.
6288f0ca
WS
856 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
857 (verilog-uvm-statement-re): Support UVM indentation and
858 highlighting, with old OVM keywords only.
a1beca85 859 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
860 Support AUTOTIEOFF creating non-wire data types.
861 Suggested by Jonathan Greenlaw.
6288f0ca
WS
862 (verilog-auto-insert-lisp, verilog-delete-to-paren)
863 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
864 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
865 (verilog-read-sub-decls, verilog-read-sub-decls-line):
866 Fix mismatching parenthesis inside commented out code when deleting
382c953b 867 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
868 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
869 non-numeric vector width. Reported by Alex Reed.
870 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 871 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
872 (verilog-auto-delete-trailing-whitespace):
873 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
874 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
875 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
876 Fix verilog-scan-cache corruption when running user AUTO expansion
877 hooks that call indentation routines.
878 (verilog-simplify-range-expression): Fix typo ignoring lower case
879 identifiers.
880 (verilog-delete-auto): Fix delete-autos to also remove user created
881 automatics, as long as they start with AUTO.
882 (verilog-batch-diff-auto, verilog-diff-auto)
883 (verilog-diff-function): Add `verilog-diff-auto' and bind to
884 "C-c?" to report differences in AUTO expansion, ignoring spaces.
885 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
886 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
887 (verilog-re-search-forward-quick, verilog-syntax-ppss):
888 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
889 is disabled and its cache will get corrupt, causing AUTOS not to
890 expand. Instead use only -quick functions.
891 (verilog-scan-region): Fix scanning over escaped quotes.
892 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
893 (verilog-re-search-backward-quick)
894 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
895 related functions now ignore strings, to fix misparsing of strings
896 with magic comments embedded in them.
a1beca85
SM
897 (verilog-read-auto-template):
898 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
899 Reported by Brad Dobbie.
900 (verilog-read-auto-template):
901 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 902 Reported by Brad Dobbie.
6288f0ca
WS
903 (verilog-auto-inst, verilog-auto-inst-param)
904 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
905 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
906 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
907 debugging templates without merge conflicts, bug357.
908 Reported by Brad Dobbie.
909 (verilog-read-auto-template):
910 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
911 Reported by Brad Dobbie.
912 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
913 abbrevs so user won't be asked to save.
914 (verilog-read-auto-lisp-present): Fix to start at beginning of
915 buffer in case called outside of verilog-auto.
916 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
917 to "X-2". Reported by Matthew Myers.
918 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
919 all inputs from module templates. Reported by Leith Johnson.
920 (verilog-module-inside-filename-p): Fix locating programs as with
921 modules.
922 (verilog-auto-inst-port): Fix vl-width expressions when using
923 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
924 (verilog-decls-get-regs, verilog-decls-get-signals,
925 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
926 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
927 verilog-read-decls): Combine reg and wire structures into one var
928 structure to represent SystemVerilog concepts.
929 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
930 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
931 (verilog-auto-wire-type, verilog-insert-definition):
932 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
933 SystemVerilog "logic" keyword instead of "wire"/"reg".
934 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
935 to declares outputs that also have assignments (presumably in an
a1beca85
SM
936 ifdef or generate if so there's not a driver conflict).
937 Reported by Matthew Myers.
938 (verilog-auto-declare-nettype, verilog-insert-definition):
939 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
940 `default_nettype none. Reported by Julian Gorfajn.
941 (verilog-read-always-signals-recurse, verilog-read-decls)
942 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
943 malformed end statement, bug325. Reported by Joshua Wise and
944 Andrew Drake.
945 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
946 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
947 when expanding .* in interfaces, bug320.
948 Reported by Pierre-David Pfister.
6288f0ca 949 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
950 name and open parenthesis, bug317.
951 Reported by Pierre-David Pfister.
6288f0ca
WS
952 (verilog-simplify-range-expression): Fix simplification of
953 multiplications inside AUTOWIRE connections, bug303.
954 (verilog-auto-inst-port): Support parameter expansion in
955 multidimensional arrays.
956 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
957 after "assert property". Reported by Julian Gorfajn.
958 (verilog-simplify-range-expression): Fix "couldn't merge" errors
959 with multiplication, bug303.
960 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
961 Reported by Jan Frode Lonnum.
962
1bbe96b2
GM
9632011-11-30 Juanma Barranquero <lekktu@gmail.com>
964
965 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
966 (hfy-shell-file-name, hfy-shell):
967 * international/fontset.el (x-decompose-font-name): Fix typos.
968
9692011-11-29 Ken Brown <kbrown@cornell.edu>
970
971 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
972 (gdb-version): Remove defvar.
973 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
974 (gdb-gud-context-command, gdb-non-stop-handler)
975 (gdb-current-context-command, gdb-stopped): Use it.
976 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
977 (gdb-non-stop-handler): Don't enable pretty-printing here.
978 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
979 non-stop mode. Use the following.
980 (gdb-check-target-async): New defun.
981 (gud-watch, gdb-stopped): Fix whitespace.
982 (gdb-get-source-file): Don't try to display the source file if
983 `gdb-main-file' is nil.
984
9852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * align.el: Try to generate fewer markers (bug#10047).
988 (align--set-marker): New macro.
989 (align-region): Use it.
990
c935221f
SM
9912011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
994
e70b5064
CY
9952011-11-29 Chong Yidong <cyd@gnu.org>
996
997 * indent.el (indent-for-tab-command, indent-according-to-mode):
998 Doc fix.
999 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1000
f3af92b7
MA
10012011-11-29 Michael Albinus <michael.albinus@gmx.de>
1002
1003 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1004 aware of remote file names. (Bug#10124)
1005
ed472be9
CY
10062011-11-29 Chong Yidong <cyd@gnu.org>
1007
1008 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1009
24510c22
SM
10102011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * files.el (find-file): Don't use force-same-window (bug#10144).
1013 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1014 use pop-to-buffer if the selected window can't be used.
1015 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1016
c60c3703
EZ
10172011-11-28 Eli Zaretskii <eliz@gnu.org>
1018
1019 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1020 special-mode-map.
1021
e95def75
CY
10222011-11-28 Chong Yidong <cyd@gnu.org>
1023
1024 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1025
c3f1c606
NR
10262011-11-27 Nick Roberts <nickrob@snap.net.nz>
1027
1028 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1029 gdb-get-source-file-list on gdb-create-source-file-list.
1030
00db469c
EZ
10312011-11-26 Eli Zaretskii <eliz@gnu.org>
1032
1033 * whitespace.el (whitespace-newline): Use a different foreground
1034 color for 16-color light-background displays.
1035
4ad3bc2a
CY
10362011-11-24 Chong Yidong <cyd@gnu.org>
1037
1038 * window.el (display-buffer--special-action): Doc fix.
1039
e9fce1ac
JB
10402011-11-25 Juanma Barranquero <lekktu@gmail.com>
1041
1042 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1043 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1044 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1045 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1046 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1047 (avl-tree-stack-first):
1048 * emacs-lisp/cconv.el (cconv--analyse-use):
1049 * net/gnutls.el (gnutls-negotiate): Fix typos.
1050
cb825e5d
GM
10512011-11-24 Glenn Morris <rgm@gnu.org>
1052
3adbe224
GM
1053 * lpr.el (lpr-windows-system, lpr-lp-system):
1054 * mail/binhex.el (binhex-begin-line):
1055 * progmodes/grep.el (grep-history, grep-find-history):
1056 * textmodes/flyspell.el:
1057 * vc/pcvs-defs.el (cvs-global-menu):
1058 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1059 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1060 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1061
321decc8
GM
1062 * net/tls.el: Fix case of "GnuTLS".
1063
420b63ad
GM
1064 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1065
cb825e5d
GM
1066 * version.el (emacs-build-system): Give it a doc-string.
1067
a0649f08
JL
10682011-11-24 Juri Linkov <juri@jurta.org>
1069
1070 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1071
c0bc0fd4
GM
10722011-11-24 Glenn Morris <rgm@gnu.org>
1073
1074 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1075 if called on a non-mime message just toggle the headers. (Bug#8006)
1076
20db1522
JB
10772011-11-24 Juanma Barranquero <lekktu@gmail.com>
1078
1079 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1080 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1081 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1082 (allout-rebullet-heading, allout-open-sibtopic)
1083 (allout-toggle-current-subtree-encryption)
1084 (allout-toggle-subtree-encryption, allout-encrypt-string)
1085 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1086 (allout-distinctive-bullets-string, allout-auto-activation):
1087 * window.el (window-normalize-buffer-to-display):
1088 * progmodes/verilog-mode.el (verilog-batch-indent):
1089 * textmodes/bibtex.el (bibtex-field-braces-opt)
1090 (bibtex-field-strings-opt):
1091 * vc/cvs-status.el (cvs-tree-merge):
1092 Fix typos.
1093
7262a87c
MA
10942011-11-23 Michael Albinus <michael.albinus@gmx.de>
1095
1096 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1097 `non-essential' to t, in order to avoid remote connections.
1098
283430a1
EZ
10992011-11-23 Eli Zaretskii <eliz@gnu.org>
1100
a1beca85
SM
1101 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1102 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
1103 case-insensitively.
1104
d2992a38
ML
11052011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1106
1107 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1108
50419064
GM
11092011-11-23 Glenn Morris <rgm@gnu.org>
1110
da94eca1
GM
1111 * paths.el (rmail-file-name): Reformat the doc-string so that it
1112 is picked up.
1113
9aac4de2
GM
1114 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1115 (rmail-auto-file): Ignore case in the "special" field names,
1116 as mail-fetch-field does for all others.
1117
8038d2d2
GM
1118 * mail/rmail.el (rmail-forward):
1119 * mail/rmailkwd.el (rmail-set-label):
1120 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1121 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1122
f3fe222a
GM
1123 * mail/rmail.el (rmail-current-message): Doc fix.
1124
50419064
GM
1125 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1126
28109f49
SM
11272011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1130
394c65f1
GM
11312011-11-22 Glenn Morris <rgm@gnu.org>
1132
1133 * mail/rmailmm.el (test-rmail-mime-handler)
1134 (test-rmail-mime-bulk-handler)
1135 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1136
f2a0aa3a
JL
11372011-11-21 Juri Linkov <juri@jurta.org>
1138
1154d12e
JB
1139 * calc/calc.el (calc-read-key-sequence):
1140 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 1141
9c34a344
LMI
11422011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1143
1144 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1145 Tell the caller that the next line needs recomputation, even
1146 though it doesn't start a sexp (bug#10094).
1147
f04a3be9
SM
11482011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1151
7978747f
SM
11522011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1153
f04a3be9
SM
1154 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1155 Use force-same-window.
7978747f 1156
fe7a3057
JB
11572011-11-20 Juanma Barranquero <lekktu@gmail.com>
1158
1159 * descr-text.el (describe-char-unicode-data):
1160 * json.el (json-string-escape):
1161 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1162 (Footnote-unicode, Footnote-style-p):
1163 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1164
24901d61
CY
11652011-11-20 Chong Yidong <cyd@gnu.org>
1166
1167 * window.el (replace-buffer-in-windows): Restore interactive spec.
1168
bac7ff22
SM
11692011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1170
24f3d7b9
SM
1171 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1172
bac7ff22
SM
1173 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1174 (byte-compile-global-not-obsolete-vars): New var.
1175 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1176 Use it.
1177 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1178
cd1181db
JB
11792011-11-20 Juanma Barranquero <lekktu@gmail.com>
1180
1181 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1182 * progmodes/pascal.el (electric-pascal-equal):
1183 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1184 * xml.el (xml-substitute-special): Fix typos.
1185
7fb18e9e
GM
11862011-11-20 Glenn Morris <rgm@gnu.org>
1187
1188 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1189 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1190 Doc fixes.
1191 (rmail-decode-mime-charset): Mark as obsolete.
1192
1193 * mail/rmailsum.el (rmail-message-regexp-p-1):
1194 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1195 Before using mime functions, check they are set. (Bug#10077)
1196
d5a6b3ba
JL
11972011-11-19 Juri Linkov <juri@jurta.org>
1198
1199 * info.el (Info-finder-find-node): Use `package--builtins' instead
1200 of `package-alist'. Use node names formed by the pattern "Keyword "
1201 and the keyword name.
1202
e981b61f
AS
12032011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1204
1d00653d 1205 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 1206
3ffbc301
JL
12072011-11-19 Juri Linkov <juri@jurta.org>
1208
1209 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1210 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1211 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1212 `old-history', `old-history-forward'. Add let-binding
1213 `window-selected'. Remove calls to `kill-buffer',
1214 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1215 before calling `Info-find-node', so `Info-find-node-2' will reread
1216 the Info file. Restore window positions only when `window-selected'
1217 is non-nil.
1218
30c62133
JL
12192011-11-19 Juri Linkov <juri@jurta.org>
1220
1221 * isearch.el (isearch-lazy-highlight-new-loop):
1222 Remove condition `(not isearch-error)'. (Bug#9918)
1223
1224 * misearch.el (multi-isearch-search-fun): Add condition
1225 `(not bound)' to ignore lazy-highlighting search.
1226 Add the search-failed message "end of multi" when the end of
1227 multi-sequence is reached. Uncapitalize the search-failed
1228 message "Repeat for next buffer".
1229
1230 * info.el (Info-search): Add the search-failed message
1231 "end of the manual" when the end of the manual is reached
1232 in Isearch mode.
1233
645ca9cf
JL
12342011-11-19 Juri Linkov <juri@jurta.org>
1235
1236 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1237 Use non-destructive `remove' instead of `delete' because
1238 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1239 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1240
df754f66
JL
12412011-11-19 Juri Linkov <juri@jurta.org>
1242
1243 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1244 to nil instead of binding `search-ring' and `regexp-search-ring'.
1245 (Bug#9185)
1246
0e23d96a
EZ
12472011-11-19 Eli Zaretskii <eliz@gnu.org>
1248
1249 * simple.el (line-move): Force movement by logical lines for any
1250 hscrolled window, not only when auto-hscroll-mode is on.
1251 (line-move-visual): Update doc string to that effect. (Bug#10076)
1252
8a6ccb66
AS
12532011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1254
1255 * language/european.el (macintosh): Define as alias for mac-roman.
1256
49ae5b39
EZ
12572011-11-19 Eli Zaretskii <eliz@gnu.org>
1258
1259 * mail/rmailmm.el (rmail-mime-display-header)
1260 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1261 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1262 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1263 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1264 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1265 of a raw aref.
1266 (rmail-mime-entity-segment): To get past the tagline, move forward
1267 2 more lines, to account for the 2 empty lines that precede and
1268 follow the line with the buttons.
1269 (rmail-mime-update-tagline): Move one more line, to get past the
1270 empty line that follows the buttons in the tagline. (Bug#9520)
1271
c56cad4a
MR
12722011-11-19 Martin Rudalics <rudalics@gmx.at>
1273
1274 * window.el (window-max-delta-1, window-min-delta-1)
1275 (window-min-size-1, window-state-get-1, window-state-put-1)
1276 (window-state-put-2): Use "window--" prefix.
1277
cbe71af3
SM
12782011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1279
2ad52c60
SM
1280 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1281 (smie-warning-count): New var.
1282 (smie-set-prec2tab): Use it.
1283 (smie-bnf->prec2): Improve warnings. Add docstring.
1284 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1285 (smie-bnf--set-class): New function.
1286 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1287 corner case.
1288
6944dbc1
SM
1289 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1290 (compilation-error-properties, compilation-move-to-column):
1291 Handle compilation-first-column while in the target buffer.
1292
c400c4d7
SM
1293 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1294 Don't hardcode point-min==1.
1295
6dbe3e96
SM
1296 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1297 (eshell-rewrite-for-command): Remove workaround.
1298 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1299 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1300 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1301
cbe71af3
SM
1302 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1303
a8e1496d
GM
13042011-11-17 Glenn Morris <rgm@gnu.org>
1305
1306 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1307 Ignore buffer-local generated-autoload-file if it is the same
1308 as the global value. (Bug#10049)
1309
df85d315
JB
13102011-11-17 Juanma Barranquero <lekktu@gmail.com>
1311
1312 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1313 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1314 (reftex-toc-previous-heading, reftex-toc-max-level)
1315 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1316 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1317 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1318 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1319 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1320 (reftex-toc-rename-label, reftex-toc-visit-location)
1321 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1322 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1323 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1324 leaving "*toc*" only for references to the buffer.
1325
a0c2d0ae
MR
13262011-11-17 Martin Rudalics <rudalics@gmx.at>
1327
1328 * window.el (window-resize, delete-window, split-window):
1329 Replace window-splits by window-combination-resize.
1d00653d 1330 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 1331
35c0bac8
GM
13322011-11-17 Glenn Morris <rgm@gnu.org>
1333
1334 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1335 Make bash entry derive from sh entry, not shell entry.
1336
d0c8fc8a
MA
13372011-11-16 Michael Albinus <michael.albinus@gmx.de>
1338
d0c8fc8a
MA
1339 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1340 properties of linked files. (Bug#9879)
1341
7262a87c
MA
1342 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1343 local file name.
1344
7877f373
JB
13452011-11-16 Juanma Barranquero <lekktu@gmail.com>
1346
1347 * menu-bar.el (menu-bar-file-menu):
1348 * printing.el (pr-ps-utility):
1349 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1350 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1351 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1352 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1353 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1354 (icalendar--convert-cyclic-to-ical)
1355 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1356 (icalendar--convert-ical-to-diary)
1357 (icalendar--convert-recurring-to-diary)
1358 (icalendar--convert-non-recurring-all-day-to-diary)
1359 (icalendar-import-format-sample):
1360 * progmodes/idlw-shell.el (idlwave-shell-mode):
1361 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1362 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1363 (vhdl-ps-print-init): Fix typos.
1364
10649b82
KM
13652011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1366
9d0cfcd6
GM
1367 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1368 FSF and collapse date sequence, obscure author/maintainer email address
1369 better, remove extra version line, track relocation of author's webpage.
10649b82 1370
9d0cfcd6
GM
1371 * progmodes/python.el (python-pdbtrack-input-prompt)
1372 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1373 regular python pdb prompts. Adjustments shamelessly taken exactly as
1374 suggested in EmacsWiki page (tiny change):
1375 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 1376
58179cce
JB
13772011-11-16 Juanma Barranquero <lekktu@gmail.com>
1378
1379 * expand.el (expand-pos, expand-index, expand-point):
1380 Remove redundant info from docstring.
1381 (expand-add-abbrevs): Doc fix.
1382 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1383 (expand-sample-perl-mode-expand-list): Fix typos.
1384
1385 * net/dbus.el (dbus-event-member-name):
1386 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1387 * term/pc-win.el (msdos-create-frame-with-faces):
1388 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1389
b6f67890
MR
13902011-11-16 Martin Rudalics <rudalics@gmx.at>
1391
1392 * window.el (split-window, window-state-get-1)
1393 (window-state-put-1, window-state-put-2): Rename occurrences of
1394 window-nest to window-combination-limit.
1d00653d 1395 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 1396
ce7ddba0
CY
13972011-11-16 Chong Yidong <cyd@gnu.org>
1398
1399 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1400 regexp (Bug#10033).
1401
3ae704f4
SM
14022011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1405 `completing-read' will remove *Completions* and will preserve
1406 current-buffer for us.
1407 (tmm-add-prompt): Users of *Completions* will always (re)set its
1408 major mode.
1409 (tmm-old-comp-map): Remove.
1410
6ad1cdde
GM
14112011-11-16 Glenn Morris <rgm@gnu.org>
1412
1413 * mail/rmailedit.el: Require rmailmm when compiling.
1414 (rmail-old-mime-state): New declaration.
1415 (rmail-edit-current-message): If editing a mime message,
1416 edit the "raw" message from the mbox buffer.
1417 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1418
d20faa20
GM
14192011-11-15 Glenn Morris <rgm@gnu.org>
1420
1421 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1422 which wasn't being used. Add optional arg to force given state.
1423 (rmail-mime): Add optional arg to force given state.
1424
c7015153
JB
14252011-11-15 Juanma Barranquero <lekktu@gmail.com>
1426
1427 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1428 * frame.el (display-mm-dimensions-alist):
1429 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1430 (outline-move-subtree-down):
1431 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1432 (newsticker--treeview-do-get-node):
1433 * net/quickurl.el (quickurl-list-buffer-name):
1434 * progmodes/dcl-mode.el (dcl-mode):
1435 * progmodes/gdb-mi.el (gdb-mapcar*):
1436 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1437
45261b50
GM
14382011-11-15 Glenn Morris <rgm@gnu.org>
1439
1440 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1441 in a boolean sense, so just make it a boolean, and fix the doc.
1442 (rmail-show-mime-function, rmail-mime-feature)
1443 (rmail-require-mime-maybe): Doc fixes.
1444 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1445
1446 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1447
0d26e0b6
JB
14482011-11-15 Juanma Barranquero <lekktu@gmail.com>
1449
1450 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1451 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1452 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1453 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1454
447f30f6
GM
14552011-11-15 Glenn Morris <rgm@gnu.org>
1456
672b871d
GM
1457 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1458 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1459 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1460 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1461 (rmail-mime, rmail-show-mime): Doc fixes.
1462
f6aa5bb1
GM
1463 * term/ns-win.el (mode-line-frame-identification):
1464 Leave it alone. (Bug#10051)
1465
947cd66b
GM
1466 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1467
447f30f6
GM
1468 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1469 Handle empty buffers. (Bug#9978)
1470
0b381c7e
JB
14712011-11-14 Juanma Barranquero <lekktu@gmail.com>
1472
1473 * international/mule.el (define-charset):
1474 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1475 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1476 * progmodes/verilog-mode.el (verilog-backward-token):
1477 * textmodes/ispell.el (lookup-words):
1478 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1479
71e027ac
GM
14802011-11-14 Glenn Morris <rgm@gnu.org>
1481
56632ce4
GM
1482 * progmodes/executable.el
1483 (executable-make-buffer-file-executable-if-script-p):
1484 Handle file-modes returning nil.
1485
40500957
GM
1486 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1487 message - not necessary, and causes problems. (Bug#9831)
1488
071c2340
GM
1489 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1490
d3cfca60
GM
1491 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1492
71e027ac
GM
1493 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1494 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1495 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1496
89d61221
MR
14972011-11-12 Martin Rudalics <rudalics@gmx.at>
1498
1499 * window.el (window-resize, delete-window): Use window-splits
1500 variable instead of function.
1501 (window-state-get-1, window-state-put-2, window-state-put):
1502 Don't deal with windows' splits status.
1503
98282f6f
GM
15042011-11-12 Glenn Morris <rgm@gnu.org>
1505
1506 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1507 (apropos-documentation): Doc fixes.
1508
40a8bdf6
JB
15092011-11-11 Juanma Barranquero <lekktu@gmail.com>
1510
1511 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1512 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1513
65bd19ff
SM
15142011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1515
1516 * electric.el (electric-indent-post-self-insert-function): Make it
1517 possible for a char to only indent in some circumstances.
1518 (electric-indent-mode): Simplify.
1519
54f9154c
MR
15202011-11-11 Martin Rudalics <rudalics@gmx.at>
1521
1522 * window.el (windows-with-parameter): Remove unused function.
1523 (windows-at-side): Rename to window-at-side-list.
1524 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
1525 (window-side-check, window-size-ignore, window-size-fixed-1)
1526 (window-in-direction-2): Prefix with "window--".
1527 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 1528
68cbc58b
GM
15292011-11-11 Glenn Morris <rgm@gnu.org>
1530
1531 * subr.el (eval-after-load): If FILE is already loaded,
1532 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1533
b2621720
GM
15342011-11-10 Glenn Morris <rgm@gnu.org>
1535
9a4de110
GM
1536 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1537 Call svn via vc-svn-command rather than vc-do-command.
1538 (vc-svn-command): Add --non-interactive. (Bug#9993)
1539 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1540
b2621720
GM
1541 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1542 Add toggle-read-only. (Bug#7292)
1543 * files.el (toggle-read-only): Mention that it should only
1544 be used interactively. (Bug#10006)
1545
1dce7193
SM
15462011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1547
d9ac1a1e
SM
1548 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1549 Adjust regexp for OCaml warnings.
1550
0c325082
SM
1551 * electric.el (electric-pair-post-self-insert-function): Let user
1552 turn it off buffer-locally (bug#9932).
1553
90132c14
SM
1554 * progmodes/python.el (python-beginning-of-statement):
1555 Rewrite (bug#2703).
1556
1dce7193
SM
1557 * progmodes/compile.el: Better handle TABs (bug#9749).
1558 (compilation-internal-error-properties)
1559 (compilation-next-error-function): Obey the target buffer's
1560 compilation-error-screen-columns.
1561
c4e7c63a
JB
15622011-11-09 Juanma Barranquero <lekktu@gmail.com>
1563
1564 * progmodes/meta-mode.el: Remove obsolete comments.
1565 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1566 Fix typos in docstrings.
1567
2cffd681
MR
15682011-11-09 Martin Rudalics <rudalics@gmx.at>
1569
1570 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 1571 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
1572 (window--resizable): New function. Make all callers of
1573 window-resizable call window--resizable instead.
1574 (window-resizable): Rewrite in terms of window--resizable.
1575
0edcba87
GM
15762011-11-08 Glenn Morris <rgm@gnu.org>
1577
1578 * progmodes/delphi.el (delphi-mode-syntax-table):
1579 Let define-derived-mode define a proper syntax table. (Bug#9994)
1580
4b0d61e3
SM
15812011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * window.el: Stay away from defsubst.
1584 (window-list-no-nils): Remove.
1585 (window-state-get-1, window-state-get): Use backquote instead.
1586
cd394be1 15872011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 1588
4b0d61e3 1589 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 1590 Fix incorrect use of default argument in `completing-read'.
1591
e1c2c6f2
MR
15922011-11-08 Martin Rudalics <rudalics@gmx.at>
1593
1594 * window.el (display-buffer-function, special-display-function):
1595 Mention display-buffer-record-window but do not mention
1596 help-setup parameter in doc-strings.
b3f4a882 1597 (window-min-delta): Fix doc-string typo.
e1c2c6f2 1598
105216ed
CY
15992011-11-08 Chong Yidong <cyd@gnu.org>
1600
1601 * window.el (window-total-height, window-total-width): Doc fix.
1602 (window-body-size): Move from C.
1603 (window-body-height, window-body-width): Move to C.
1604
0a9f9ab5
SM
16052011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * window.el: Make special-display like display-buffer-alist (bug#9532).
1608 (display-buffer--special-action): New function, morphed
1609 from display-buffer--special.
1610 (display-buffer): Use it to handle special-display-buffers at higher
1611 priority (just after display-buffer-alist).
1612 (display-buffer-fallback-action, display-buffer--other-frame-action)
1613 (pop-to-buffer-same-window): Remove display-buffer--special.
1614
a769dd15
GM
16152011-11-07 Glenn Morris <rgm@gnu.org>
1616
1617 * calendar/cal-menu.el (cal-menu-set-date-title):
1618 Do nothing if not in a calendar. (Bug#9976)
1619
05a61ee3
SM
16202011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * files.el (find-file): Always use selected-window.
1623
be7f5545
MR
16242011-11-07 Martin Rudalics <rudalics@gmx.at>
1625
1626 * window.el (window-combinations): Make WINDOW argument
1627 mandatory. Rewrite doc-string.
1628 (walk-window-subtree, window-atom-check, window-min-delta)
1629 (window-max-delta, window--resize-this-window)
1630 (window--resize-root-window-vertically, window-tree)
1631 (balance-windows, window-state-put): Rewrite doc-strings as to
1632 not mention the term "subwindow".
1633 (window--resize-subwindows-skip-p): Rename to
1634 window--resize-child-windows-skip-p.
1635 (window--resize-subwindows-normal): Rename to
1636 window--resize-child-windows-normal.
1637 (window--resize-subwindows): Rename to
1638 window--resize-child-windows.
1639 (window-or-subwindow-p): Rename to window--in-subtree-p.
1640
3c6702ef
ML
16412011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1642
1643 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1644 Ensure that mbox format messages end in two newlines (Bug#9974).
1645
49745b39
CY
16462011-11-06 Chong Yidong <cyd@gnu.org>
1647
1648 * window.el (window-combination-p): Function deleted; its
1649 side-effect is not used in any existing code.
1650 (window-combinations, window-combined-p): Call window-*-child
1651 directly.
1652
24300f5f
CY
16532011-11-05 Chong Yidong <cyd@gnu.org>
1654
1655 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
1656 (window-size-ignore, window-state-get): Callers changed.
1657 (window-normalize-window): Rename from window-normalize-any-window.
1658 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 1659 (window-normalize-live-window): Delete.
447f16b8
CY
1660 (window-combination-p, window-combined-p, window-combinations)
1661 (walk-window-subtree, window-atom-root, window-min-size)
1662 (window-sizable, window-sizable-p, window-size-fixed-p)
1663 (window-min-delta, window-max-delta, window-resizable)
1664 (window-resizable-p, window-full-height-p, window-full-width-p)
1665 (window-current-scroll-bars, window-point-1, set-window-point-1)
1666 (window-at-side-p, window-in-direction, window-resize)
1667 (adjust-window-trailing-edge, maximize-window, minimize-window)
1668 (window-deletable-p, delete-window, delete-other-windows)
1669 (record-window-buffer, unrecord-window-buffer)
1670 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1671 (quit-window, split-window, window-state-put)
1672 (set-window-text-height, fit-window-to-buffer)
1673 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 1674
89bd5ee1
EZ
16752011-11-04 Eli Zaretskii <eliz@gnu.org>
1676
53479029
EZ
1677 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1678 rfc2047-decode-string.
1679 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1680 warnings.
1681
89bd5ee1
EZ
1682 * window.el (window-body-height, window-body-width): Mention in
1683 the doc string that the return values are in frame's canonical
1684 units. (Bug#9949)
1685
bd17fdee
AM
16862011-11-03 Alan Mackenzie <acm@muc.de>
1687
1688 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1689 change in cc-engine.el.
1690
acc825c5
SM
16912011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1694
1885e5b8
MR
16952011-11-02 Martin Rudalics <rudalics@gmx.at>
1696
1697 * window.el (quit-window): Call unrecord-window-buffer after
1698 showing another buffer in the window. (Bug#9937)
acc825c5 1699 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 1700
ebe06da9
JB
17012011-11-02 Juanma Barranquero <lekktu@gmail.com>
1702
1703 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1704 Accept status with more than 9 shelves. (Bug#9935)
1705 Reported by Colin D Bennett <colin@gibibit.com>.
1706
4ee88440
MR
17072011-11-01 Martin Rudalics <rudalics@gmx.at>
1708
1709 * help.el (with-help-window): Don't reference
1710 temp-buffer-show-specifiers in doc-string.
1711
08e1d82c
AS
17122011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1713
1714 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1715 menu-item.
1716
84bd6e9e
VJL
17172011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1718
1719 * whitespace.el: New version 13.2.2.
1720 (whitespace-newline-mode): Disable properly. Reported by Sarah
1721 <EmacsWiki>.
1722
dba0634a
UJ
17232011-10-30 Ulf Jasper <ulf.jasper@web.de>
1724
1725 * net/newst-treeview.el: Remove "Time-stamp".
1726 (newsticker--group-manage-orphan-feeds): Do not call
1727 newsticker--treeview-tree-update.
db22a3c2
JB
1728 (newsticker-treeview-update, newsticker-treeview):
1729 Call newsticker--treeview-tree-update if necessary.
dba0634a 1730
3d8daefe
MR
17312011-10-30 Martin Rudalics <rudalics@gmx.at>
1732
1733 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
1734 (window-iso-combinations): Remove "iso-" infix.
1735 Suggested by Chong Yidong.
3d8daefe
MR
1736 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1737 (window-max-delta-1, window-resize, window--resize-siblings)
1738 (window--resize-this-window, adjust-window-trailing-edge)
1739 (split-window, balance-windows-1)
1740 (shrink-window-if-larger-than-buffer):
1741 * calendar/calendar.el (calendar-generate-window):
db22a3c2 1742 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 1743
1bc4c3ae
SM
17442011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1747 in place (bug#9907).
1748 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1749 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1750 (eshell-structure-basic-command, eshell-rewrite-while-command)
1751 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1752 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1753 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1754 (eshell-do-pipelines-synchronously, eshell-eval-command):
1755 Use backquotes and prefer setq to set.
1756 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1757 (eshell-macrop): Use functionp.
c1e2f5fa 1758 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 1759
30b65d9c
CY
17602011-10-30 Chong Yidong <cyd@gnu.org>
1761
1762 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1763 instead of set-mark (Bug#9810).
1764
2d197ffb
CY
17652011-10-30 Chong Yidong <cyd@gnu.org>
1766
1767 * window.el (split-window-below, split-window-right): Rename from
1768 split-window-above-each-other and split-window-side-by-side
1769 respectively. All callers changed.
1770 (split-window-sensibly, split-window-sensibly): Use them.
1771 (split-window-keep-point): Doc fix.
1772
1773 * isearch.el: Add isearch-scroll property to split-window-below
1774 and split-window-right.
1775
1776 * follow.el (follow-mode):
1777 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1778 * progmodes/ada-xref.el (ada-gdb-application):
1779 * emulation/vip.el (vip-buffer-in-two-windows):
1780 * image-dired.el (image-dired-dired-with-window-configuration):
1781 * dired-x.el (dired-do-find-marked-files):
1782 * dired.el (dired-pop-to-buffer):
1783 * bs.el (bs--show-with-configuration):
1784 * vc/emerge.el (emerge-setup-windows):
1785 * textmodes/two-column.el (2C-two-columns):
1786 * textmodes/reftex-toc.el (reftex-toc):
1787 * progmodes/gdb-mi.el (gdb-setup-windows):
1788 * progmodes/fortran.el (fortran-window-create):
1789 * net/newst-treeview.el (newsticker--treeview-window-init):
1790 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1791 * emulation/tpu-edt.el (tpu-gold-map):
1792 * emulation/crisp.el (crisp-mode-map):
1793 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1794
38bb2ca8
CY
17952011-10-29 Chong Yidong <cyd@gnu.org>
1796
aa4de341
CY
1797 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1798
e1eb5385
CY
1799 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1800
5d2ece3c
CY
1801 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1802 forged Ispell output (Bug#7904).
1803
38bb2ca8
CY
1804 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1805
d0af9f77
SM
18062011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * doc-view.el: Avoid ugly errors about not finding nil.
1809 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1810 (doc-view-dvipdf-program, doc-view-unoconv-program)
1811 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1812 Avoid nil or absolute file name as default value.
1813 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1814
52bedd34
AM
18152011-10-28 Alan Mackenzie <acm@muc.de>
1816
db22a3c2 1817 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 1818
7e43cfa5
AM
18192011-10-28 Alan Mackenzie <acm@muc.de>
1820
1821 Amend the handling of c-beginning/end-of-defun in nested declaration
1822 scopes.
1823
52bedd34
AM
1824 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1825 cc-langs.el. Change it to a defcustom.
7e43cfa5 1826
52bedd34
AM
1827 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1828 cc-vars.el.
7e43cfa5 1829
d0af9f77
SM
1830 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1831 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 1832
52bedd34 1833 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 1834 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
1835 (c-widen-to-enclosing-decl-scope): New function.
1836 (c-while-widening-to-decl-block): New macro.
1837 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1838 outward for defun boundaries, and correspondingly change symbol
1839 `respect-enclosure' to `go-outward'.
1840 (c-declaration-limits): Change algorithm to report only the "innermost"
1841 defun's boundaries.
1842
1a2ce9ee
DD
18432011-10-28 Deniz Dogan <deniz@dogan.se>
1844
1845 * net/rcirc.el (rcirc-mode): Use hard newlines.
1846
bc97a826
AM
18472011-10-28 Alan Mackenzie <acm@muc.de>
1848
1849 Amend to indent and fontify macros "which include their own semicolon"
1850 correctly, using the "virtual semicolon" mechanism.
1851
52bedd34 1852 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 1853
d0af9f77 1854 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 1855 Recode to scan one line at a time rather than having \n and \r
58179cce 1856 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 1857 (c-forward-label): Amend for virtual semicolons.
58179cce 1858 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 1859
52bedd34
AM
1860 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1861 of the new C macros.
bc97a826 1862
52bedd34 1863 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
1864 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1865 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
1866 (c-opt-cpp-macro-define): Make into a full language variable.
1867 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1868 AWK Mode (including \n, \r) removed, no longer needed.
1869
d0af9f77
SM
1870 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1871 Invoke c-make-macro-with-semi-re.
bc97a826 1872
52bedd34
AM
1873 * progmodes/cc-vars.el (c-macro-with-semi-re):
1874 (c-macro-names-with-semicolon): New variables.
58179cce 1875 (c-make-macro-with-semi-re): New function.
bc97a826 1876
7a6c0941
SM
18772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * vc/log-edit.el: Fill empty field rather than adding new one.
1880 (log-edit-add-field): New function.
1881 (log-edit-insert-changelog): Use it.
1882
b0c4cdcf
ML
18832011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1884
1885 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1886
ee1f1da9
SM
18872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1890 (gdb--check-interpreter): New function.
1891 (gdb): Use it.
1892
51bc5f8b
GM
18932011-10-27 Glenn Morris <rgm@gnu.org>
1894
416a2c45
GM
1895 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1896 (least-positive-float, least-negative-float)
1897 (least-positive-normalized-float, least-negative-normalized-float)
1898 (float-epsilon, float-negative-epsilon):
1899 Remove unnecessary declarations.
1900
1901 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1902 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1903 (least-positive-float, least-negative-float)
1904 (least-positive-normalized-float, least-negative-normalized-float)
1905 (float-epsilon, float-negative-epsilon): Add doc-strings,
1906 based on those in cl.texi.
1907
51bc5f8b
GM
1908 * files.el (set-visited-file-name): If the major-mode changed,
1909 reload the local variables. (Bug#9796)
1910
15de15c6
CY
19112011-10-27 Chong Yidong <cyd@gnu.org>
1912
1913 * subr.el (change-major-mode-after-body-hook): New hook.
1914 (run-mode-hooks): Run it.
1915
ee1f1da9
SM
1916 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1917 Use change-major-mode-before-body-hook.
15de15c6
CY
1918
1919 * simple.el (fundamental-mode):
1920 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1921 change introducing fundamental-mode-hook.
1922
5430d399
JB
19232011-10-26 Juanma Barranquero <lekktu@gmail.com>
1924
acc825c5 1925 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 1926
ad74a69e
MA
19272011-10-26 Michael Albinus <michael.albinus@gmx.de>
1928
1929 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 1930 tramp.el explicitly. (Bug#7583)
ad74a69e 1931
71d4c2a5
SM
19322011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * progmodes/octave-mod.el:
1935 * progmodes/octave-inf.el: Update maintainer.
1936
b1f6fa26
CY
19372011-10-26 Chong Yidong <cyd@gnu.org>
1938
1939 * subr.el (with-wrapper-hook): Rewrite doc.
1940
3f04efd6
MA
19412011-10-25 Michael Albinus <michael.albinus@gmx.de>
1942
1943 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 1944 filenames "/method:foo:". (Bug#9793)
3f04efd6 1945
410488d3
SM
19462011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1947
1948 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1949 (bug#9865).
1950
c1ebb47e
GM
19512011-10-24 Glenn Morris <rgm@gnu.org>
1952
1953 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1954
7f5c46c7
MA
19552011-10-24 Michael Albinus <michael.albinus@gmx.de>
1956
1957 * notifications.el: Add the requirement of a running D-Bus session
1958 bus to the Commentary.
1959
db2440b6
JL
19602011-10-24 Juri Linkov <juri@jurta.org>
1961
1962 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1963 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1964 (Bug#9364)
1965
feecf435
JL
19662011-10-24 Juri Linkov <juri@jurta.org>
1967
1968 * info.el (Info-following-node-name-re): Add newline to the list
1969 of allowed characters for leading space. (Bug#9824)
1970
a3839de2
SM
19712011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1972
acc825c5
SM
1973 * progmodes/octave-inf.el (inferior-octave-mode-map):
1974 Fix C-c C-h binding.
a3839de2
SM
1975 * progmodes/octave-mod.el (octave-help): Remove.
1976
09388e76
MA
19772011-10-23 Michael Albinus <michael.albinus@gmx.de>
1978
1979 Sync with Tramp 2.2.3.
1980
1981 * net/tramp-cache.el (top): Pacify byte-compiler using
1982 `init-file-user' and `site-run-file'.
1983
1984 * net/trampver.el: Update release number.
1985
86c60681
CY
19862011-10-23 Chong Yidong <cyd@gnu.org>
1987
1988 * files.el (toggle-read-only): Remove obsolete comment about
1989 version control.
1990
1991 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1992 for toggle-read-only. Note that this hasn't called vc-next-action
1993 since 2008-05-02, though it wasn't documented at the time.
1994
a3839de2
SM
1995 * vc/ediff-init.el (ediff-toggle-read-only-function):
1996 Use toggle-read-only.
86c60681 1997
cd5495ff
AM
19982011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1999
2000 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2001 of c-parse-state.
2002
00b77525 2003 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2004 correct faulty logical expression.
cd5495ff
AM
2005 (c-parse-state-state, c-record-parse-state-state):
2006 (c-replay-parse-state-state): New defvar/defuns.
2007 (c-debug-parse-state): Use new functions.
2008
42ee24ed
MR
20092011-10-22 Martin Rudalics <rudalics@gmx.at>
2010
2011 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2012 last fix. Use window-in-direction correctly.
42ee24ed 2013
a7dee7e7
CY
20142011-10-21 Chong Yidong <cyd@gnu.org>
2015
2016 * progmodes/idlwave.el (idlwave-mode):
2017 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2018 require-final-newline; that's done in prog-mode.
2019 Suggested by Stefan Monnier.
a7dee7e7 2020
e07b9a6d
MR
20212011-10-21 Martin Rudalics <rudalics@gmx.at>
2022
2023 * mouse.el (mouse-drag-window-above)
2024 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2025 (mouse-drag-mode-line-1, mouse-drag-header-line)
2026 (mouse-drag-vertical-line-rightward-window): Remove.
2027 (mouse-drag-line): New function.
2028 (mouse-drag-mode-line, mouse-drag-header-line)
2029 (mouse-drag-vertical-line): Call mouse-drag-line.
2030 * window.el (window-at-side-p, windows-at-side): New functions.
2031
7e1361d9
UM
20322011-10-21 Ulrich Mueller <ulm@gentoo.org>
2033
2034 * tar-mode.el (tar-grind-file-mode):
2035 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2036
30fcaf3a
CY
20372011-10-21 Chong Yidong <cyd@gnu.org>
2038
2039 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2040 * progmodes/vera-mode.el (vera-mode):
2041 Use mode-require-final-newline.
30fcaf3a 2042
516eddb0
GM
20432011-10-20 Glenn Morris <rgm@gnu.org>
2044
db22a3c2 2045 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 2046
10d5f513
CS
20472011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2048
2049 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2050
ac6c8639
CY
20512011-10-20 Chong Yidong <cyd@gnu.org>
2052
2053 * emulation/cua-base.el (cua-mode):
2054 * mail/footnote.el (footnote-mode):
2055 * mail/mailabbrev.el (mail-abbrevs-mode):
2056 * net/xesam.el (xesam-minor-mode):
2057 * progmodes/bug-reference.el (bug-reference-mode):
2058 * progmodes/cap-words.el (capitalized-words-mode):
2059 * progmodes/compile.el (compilation-minor-mode)
2060 (compilation-shell-minor-mode):
2061 * progmodes/gud.el (gud-tooltip-mode):
2062 * progmodes/hideif.el (hide-ifdef-mode):
2063 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2064 * progmodes/subword.el (subword-mode):
2065 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2066 * progmodes/which-func.el (which-function-mode):
2067 * term/tvi970.el (tvi970-set-keypad-mode):
2068 * term/vt100.el (vt100-wide-mode):
2069 * textmodes/flyspell.el (flyspell-mode):
2070 * textmodes/ispell.el (ispell-minor-mode):
2071 * textmodes/nroff-mode.el (nroff-electric-mode):
2072 * textmodes/paragraphs.el (use-hard-newlines):
2073 * textmodes/refill.el (refill-mode):
2074 * textmodes/reftex.el (reftex-mode):
2075 * textmodes/rst.el (rst-minor-mode):
2076 * textmodes/sgml-mode.el (html-autoview-mode)
2077 (sgml-electric-tag-pair-mode):
2078 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2079 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2080 * emulation/crisp.el (crisp-mode):
2081 * emacs-lisp/eldoc.el (eldoc-mode):
2082 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2083 minor mode behavior.
2084
aa42ab43
JL
20852011-10-19 Juri Linkov <juri@jurta.org>
2086
2087 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2088 the list of hard-coded chars with escape-glyph face.
2089
89400f1d
SM
20902011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2093
305c07f6
MA
20942011-10-19 Michael Albinus <michael.albinus@gmx.de>
2095
2096 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2097 running process.
2098
13754b54
GM
20992011-10-19 Glenn Morris <rgm@gnu.org>
2100
2101 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2102 Ignore ignored files. (Bug#9726)
2103
06e21633
CY
21042011-10-19 Chong Yidong <cyd@gnu.org>
2105
2106 Doc fix for minor modes, stating that an omitted argument enables
2107 the mode unconditionally when called from Lisp.
2108
2109 * abbrev.el (abbrev-mode):
2110 * allout.el (allout-mode):
2111 * autoinsert.el (auto-insert-mode):
2112 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2113 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2114 (global-auto-revert-mode):
2115 * battery.el (display-battery-mode):
2116 * composite.el (global-auto-composition-mode)
2117 (auto-composition-mode):
2118 * delsel.el (delete-selection-mode):
2119 * desktop.el (desktop-save-mode):
2120 * dired-x.el (dired-omit-mode):
2121 * dirtrack.el (dirtrack-mode):
2122 * doc-view.el (doc-view-minor-mode):
2123 * double.el (double-mode):
2124 * electric.el (electric-indent-mode, electric-pair-mode):
2125 * emacs-lock.el (emacs-lock-mode):
2126 * epa-hook.el (auto-encryption-mode):
2127 * follow.el (follow-mode):
2128 * font-core.el (font-lock-mode):
2129 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2130 * help.el (temp-buffer-resize-mode):
2131 * hilit-chg.el (highlight-changes-mode)
2132 (highlight-changes-visible-mode):
2133 * hi-lock.el (hi-lock-mode):
2134 * hl-line.el (hl-line-mode, global-hl-line-mode):
2135 * icomplete.el (icomplete-mode):
2136 * ido.el (ido-everywhere):
2137 * image-file.el (auto-image-file-mode):
2138 * image-mode.el (image-minor-mode):
2139 * iswitchb.el (iswitchb-mode):
2140 * jka-cmpr-hook.el (auto-compression-mode):
2141 * linum.el (linum-mode):
2142 * longlines.el (longlines-mode):
2143 * master.el (master-mode):
2144 * mb-depth.el (minibuffer-depth-indicate-mode):
2145 * menu-bar.el (menu-bar-mode):
2146 * minibuf-eldef.el (minibuffer-electric-default-mode):
2147 * mouse-sel.el (mouse-sel-mode):
2148 * msb.el (msb-mode):
2149 * mwheel.el (mouse-wheel-mode):
2150 * outline.el (outline-minor-mode):
2151 * paren.el (show-paren-mode):
2152 * recentf.el (recentf-mode):
2153 * reveal.el (reveal-mode, global-reveal-mode):
2154 * rfn-eshadow.el (file-name-shadow-mode):
2155 * ruler-mode.el (ruler-mode):
2156 * savehist.el (savehist-mode):
2157 * scroll-all.el (scroll-all-mode):
2158 * scroll-bar.el (scroll-bar-mode):
2159 * server.el (server-mode):
2160 * shell.el (shell-dirtrack-mode):
2161 * simple.el (auto-fill-mode, transient-mark-mode)
2162 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2163 (line-number-mode, column-number-mode, size-indication-mode)
2164 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2165 * strokes.el (strokes-mode):
2166 * time.el (display-time-mode):
2167 * t-mouse.el (gpm-mouse-mode):
2168 * tool-bar.el (tool-bar-mode):
2169 * tooltip.el (tooltip-mode):
2170 * type-break.el (type-break-mode-line-message-mode)
2171 (type-break-query-mode):
2172 * view.el (view-mode):
2173 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2174 (global-whitespace-mode, global-whitespace-newline-mode):
2175 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2176
a3839de2
SM
2177 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2178 Fix autogenerated docstring.
06e21633 2179
5214e501
JL
21802011-10-19 Juri Linkov <juri@jurta.org>
2181
2182 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2183 by checking environment variables "DESKTOP_SESSION" and
2184 "XDG_CURRENT_DESKTOP". (Bug#9779)
2185
195f8db9
JL
21862011-10-19 Juri Linkov <juri@jurta.org>
2187
2188 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2189 (browse-url-chromium-program, browse-url-chromium-arguments):
2190 New defcustoms.
2191 (browse-url-default-browser): Check for `browse-url-chromium' and
2192 call `browse-url-chromium-program'.
2193 (browse-url-chromium): New command. (Bug#9779)
2194
343a34ff
JB
21952011-10-18 Juanma Barranquero <lekktu@gmail.com>
2196
2197 * facemenu.el (list-colors-duplicates): On Windows, detect more
2198 duplicates by assuming that only colors matching "^System" are
2199 special "system colors". (Bug#9722)
2200
6978a151
SM
22012011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2204 to distinguish the author from the committer.
2205
6a80b297
MA
22062011-10-18 Michael Albinus <michael.albinus@gmx.de>
2207
2208 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2209
b31a5677
JK
22102011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2211
2212 * international/mule.el (sgml-html-meta-auto-coding-function):
2213 Add support for detecting encoding in HTML5 specified only as
2214 <meta charset="UTF-8">. Implementation just makes http-equiv and
2215 content-type parts from HTML4 encoding string optional. (Bug#9716)
2216
80c6d77f
GM
22172011-10-18 Glenn Morris <rgm@gnu.org>
2218
2219 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2220
08b0fee8
CY
22212011-10-18 Chong Yidong <cyd@gnu.org>
2222
2223 * faces.el (cursor): Doc fix.
2224
67e729a5
CY
22252011-10-17 Chong Yidong <cyd@gnu.org>
2226
2227 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2228
343a34ff 22292011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
2230
2231 * dirtrack.el (dirtrack): Support shell buffers with path
2232 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2233
0bc06380
TZ
22342011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2235
2236 * json.el: Bump version to 1.3 and note change in History.
2237 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2238
8b79f3e0
SM
22392011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2240
5a7c536b
SM
2241 * comint.el (comint-insert-input, comint-send-input)
2242 (comint-get-old-input-default, comint-backward-matching-input)
2243 (comint-next-prompt): Use nil instead of `input' for field property of
2244 past user input (bug#114).
2245
96a8a0df
SM
2246 * minibuffer.el (completion--replace): Inherit surrounding properties
2247 (bug#114).
2248 (minibuffer-complete-and-exit): Use it.
2249
8b79f3e0
SM
2250 * comint.el (comint--table-subvert): Quote the all-completions output
2251 (bug#9160).
2252
b8f7ff0d
MR
22532011-10-17 Martin Rudalics <rudalics@gmx.at>
2254
8b79f3e0 2255 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 2256
b8f7ff0d 2257 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 2258 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
2259 entries and separate them from frame entries.
2260
c235b555
GM
22612011-10-15 Glenn Morris <rgm@gnu.org>
2262
2263 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2264 Doc fixes.
2265
6bbfa6e1
CY
22662011-10-15 Chong Yidong <cyd@stupidchicken.com>
2267
8b79f3e0
SM
2268 * net/network-stream.el (network-stream-open-starttls):
2269 Improve detection of failure due to lack of TLS support.
ec5c990d 2270
6bbfa6e1
CY
2271 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2272 putting the input text in front and in bold.
2273
98488977
SM
22742011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2275
3d1337be
SM
2276 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2277
ee0b45e4
SM
2278 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2279 empty buffer.
2280
98488977
SM
2281 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2282 unread-command-events rather than pushing yet-another event.
2283
186f4720
EZ
22842011-10-14 Eli Zaretskii <eliz@gnu.org>
2285
2286 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2287 the explanation of the possible choices. Make the options passed
2288 to completing-read shorter.
2289
8b7a997c
AM
22902011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2291
2292 * textmodes/flyspell.el (flyspell-large-region): Make sure
2293 extended character mode is used if defined (Bug#1339).
2294
12587bbb
EZ
22952011-10-13 Eli Zaretskii <eliz@gnu.org>
2296
2297 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
2298 character info for LRE, LRO, RLE, and RLO characters by appending
2299 an invisible PDF.
12587bbb 2300
bad41229
SM
23012011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2304 even in case of error; add debug spec; simplify data flow.
2305 (with-timeout-handler): Remove.
2306
28dbc92f
MA
23072011-10-12 Michael Albinus <michael.albinus@gmx.de>
2308
2309 Fix Bug#6019, Bug#9315.
2310
2311 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2312 complete `buffer-file-name', the local file name part could look
2313 remotely (for example on VMS).
2314
2315 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2316 `tramp-run-real-handler'.
2317 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2318 already quoted by '"'.
2319
2320 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2321 Let `file-name-handler-alist' be nil, the local file name part
2322 could look remotely (for example on VMS).
2323
e1b0b23a
SM
23242011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2327 from here...
2328 (flyspell-post-command-hook): ...to here.
2329
a120bde9
SM
23302011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2333 if not needed.
2334 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2335 using completion. Protect against "slow" callers.
2336 Remove the "message hack".
2337
7ce7717b
JL
23382011-10-11 Juri Linkov <juri@jurta.org>
2339
2340 * isearch.el (isearch-lazy-highlight-word): New variable.
2341 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2342 Use it. (Bug#9727)
2343
c02ee9d6
GM
23442011-10-11 Glenn Morris <rgm@gnu.org>
2345
2346 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2347 like f90-previous-statement does.
2348
93e616fd 23492011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2350
1f190e73 2351 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
2352 only in interactive use, to avoid error.
2353
af7b6078
SM
23542011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * minibuffer.el (completion-file-name-table): Fix last change,
2357 i.e. ignore normal errors but not the other ones.
2358
0563dae9
MR
23592011-10-10 Martin Rudalics <rudalics@gmx.at>
2360
2361 * window.el (special-display-buffer-names)
2362 (special-display-regexps): Remove some remnants of earlier
2363 changes from doc-strings.
366ca7f3
MR
2364 (quit-windows-on): New function.
2365
2366 * vc/vc.el (vc-revert, vc-rollback):
2367 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2368 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 2369 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 2370
49677495
MR
23712011-10-09 Martin Rudalics <rudalics@gmx.at>
2372
2373 * window.el (frame-auto-hide-function): Add version tag.
2374 (Bug#9699)
2375
56f2d1e1
MA
23762011-10-09 Michael Albinus <michael.albinus@gmx.de>
2377
2378 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2379 condition.
2380
112a6592
LL
23812011-10-09 Leo Liu <sdl.web@gmail.com>
2382
2383 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2384 (Bug#9701)
2385
0812589b
GM
23862011-10-08 Glenn Morris <rgm@gnu.org>
2387
2388 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2389 before the first code statement zero indent. (Bug#9690)
2390
b2b0776e
CY
23912011-10-08 Chong Yidong <cyd@stupidchicken.com>
2392
2393 * simple.el (count-words-region): Always count in the region.
2394 Report the number of lines and characters too.
2395 (count-words): New command, which counts in the buffer if the
2396 region is inactive, as count-words-region used to.
2397 (count-words--message): New function. Handle plurals.
2398 (count-lines-region): Make it an alias for count-words-region.
2399
2400 * bindings.el (esc-map): Replace count-lines-region with
2401 count-words-region.
2402
c557cd6b
MR
24032011-10-08 Martin Rudalics <rudalics@gmx.at>
2404
2405 * window.el (window--delete): Delete dedicated frame
2406 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 2407 (switch-to-buffer): Fix doc-string typo.
c557cd6b 2408
61a57ef4 24092011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2410
2411 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2412
c3833279
CY
24132011-10-07 Chong Yidong <cyd@stupidchicken.com>
2414
2415 * bindings.el ([M-left],[M-right]): Bind to left-word and
2416 right-word respectively.
2417
21ce8245
GM
24182011-10-07 Glenn Morris <rgm@gnu.org>
2419
2420 * cus-start.el (debug-on-quit): Fix custom type.
2421
6d823bb2
LMI
24222011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2423
0181e193
LMI
2424 * subr.el (define-key-after): Clarify that the function is not
2425 useful for non-menu keymaps.
2426
6d823bb2
LMI
2427 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2428
8e3459ce 24292011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2430
21ce8245 2431 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 2432 in current minibuffer (Fix bug with recursive minibuffers).
2433
a1c2d21e
CY
24342011-10-06 Chong Yidong <cyd@stupidchicken.com>
2435
2436 * progmodes/gdb-mi.el (gdb): Doc fix.
2437
5a4cf282
MR
24382011-10-05 Martin Rudalics <rudalics@gmx.at>
2439
2440 * window.el (frame-auto-hide-function): New option replacing
2441 frame-auto-delete. Suggested by Stefan Monnier.
2442 (window--delete): Call frame-auto-hide-function instead of
2443 investigating frame-auto-delete.
c96111ea
MR
2444 (window-point-1, set-window-point-1): New functions.
2445 (window-in-direction, record-window-buffer, window-state-get-1)
2446 (display-buffer-record-window): Use window-point-1 instead of
2447 window-point.
2448 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 2449
9854542e
SM
24502011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2453
8943cfb0
GM
24542011-10-05 Glenn Morris <rgm@gnu.org>
2455
2456 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2457 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2458
647ab967
LL
24592011-10-05 Leo Liu <sdl.web@gmail.com>
2460
2461 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2462 works with buffer object.
2463
3ddfbced
SM
24642011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * mpc.el (mpc-tool-bar-map): Add labels.
2467
bdfa5dd2
GM
24682011-10-04 Glenn Morris <rgm@gnu.org>
2469
2470 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2471
0e2070b5
MR
24722011-10-04 Martin Rudalics <rudalics@gmx.at>
2473
2474 * window.el (window--delete): New function.
2475 (frame-auto-delete): Resuscitate option.
2476 (bury-buffer, replace-buffer-in-windows)
2477 (quit-window): Rewrite using window--delete.
2478 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2479 Pass display-buffer-mark-dedicated to window--display-buffer-2
2480 (Bug#9639).
2481
3dc61a09
SM
24822011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2483
915a9b64
SM
2484 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2485 returns a list (bug#9554). Add remote file name completion.
2486 * comint.el (comint--table-subvert): Curry and get quote&unquote
2487 functions as arguments.
2488 (comint--complete-file-name-data): Adjust call accordingly.
2489 * pcomplete.el (pcomplete--table-subvert): Remove.
2490 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2491
3dc61a09
SM
2492 * minibuffer.el (completion-table-case-fold): Use currying.
2493 (completion--styles-type, completion--cycling-threshold-type):
2494 New constants.
2495 (completion-styles, completion-category-overrides)
2496 (completion-cycle-threshold): Use them.
2497 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2498 completion-table-case-fold.
2499
8ea0a993
SB
25002011-10-03 Stephen Berman <stephen.berman@gmx.net>
2501
2502 * minibuffer.el (completion-category-overrides): Fix type of styles
2503 and add more user friendly tags (bug#9660).
2504
8c24b7f6
SM
25052011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2508 (mule-input-method-string): New widget.
2509 (default-input-method, language-info-custom-alist): Use it.
2510
428fe61a
SM
25112011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2512
32c1fffd
SM
2513 * pcomplete.el: Require comint.
2514 (pcomplete--common-suffix): Remove.
2515 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2516 (pcomplete--table-subvert): Sync with comint--table-subvert.
2517 (pcomplete--entries): Use comint-completion-file-name-table.
2518 * comint.el (comint-unquote-filename): Simplify.
2519 (comint-completion-file-name-table): New function (bug#9616).
2520 (comint--complete-file-name-data): Use it.
2521
428fe61a
SM
2522 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2523 (pcmpl-gnu-tar-buffer): Remove.
2524 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
2525 around. Make sure pcomplete-suffix-list is only changed temporarily.
2526 Don't look inside the tar's file if it's too large.
428fe61a 2527
04c52e2f
CY
25282011-10-01 Chong Yidong <cyd@stupidchicken.com>
2529
ce3cefcc
CY
2530 * cus-edit.el (custom-mode-map):
2531 * epa.el (epa-key-list-mode-map):
2532 * man.el (Man-mode-map):
2533 * startup.el (splash-screen-keymap):
2534 * simple.el (special-mode-map): Use scroll-up-command and
2535 scroll-down-command.
2536
2537 * progmodes/idlw-help.el (idlwave-help-mode-map):
2538 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2539 * net/newst-plainview.el (newsticker-mode-map):
2540 * emulation/ws-mode.el (wordstar-mode-map):
2541 * emulation/vi.el (vi-com-map):
2542 * calc/calc-graph.el (calc-graph-show-dumb):
2543 * term/sun.el (terminal-init-sun):
2544 * term/ns-win.el (global-map):
2545 * progmodes/grep.el (grep-mode-map):
2546 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2547 * mail/rmail.el (rmail-mode-map):
2548 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2549
04c52e2f
CY
2550 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2551 custom-safe-themes as special.
2552
79adf8c8
JD
25532011-10-01 Julien Danjou <julien@danjou.info>
2554
2555 * notifications.el (notifications-notify): Fix docstring.
2556
63bd50d3
PS
25572011-10-01 Per Starbäck <per@starback.se>
2558
2559 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2560
199e4c7e
MR
25612011-09-30 Martin Rudalics <rudalics@gmx.at>
2562
2563 * startup.el (command-line-1): Fix last fix by inserting
2564 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 2565 (Bug#9605) and (Bug#9636)
199e4c7e 2566
fe5f08dd
EZ
25672011-09-29 Eli Zaretskii <eliz@gnu.org>
2568
2569 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2570 window is hscrolled, move by logical lines. (Bug#9607)
2571 (line-move-visual): Update the doc string to the above effect.
2572
b5516bbd
MR
25732011-09-29 Martin Rudalics <rudalics@gmx.at>
2574
ccee00c0
MR
2575 * window.el (display-buffer-record-window): When WINDOW is the
2576 selected window use `point' instead of `window-point'. (Bug#9626)
2577
b5516bbd
MR
2578 * startup.el (command-line-1): Use insert-before-markers when
2579 inserting initial-scratch-message. (Bug#9605)
ccee00c0 2580
b5516bbd
MR
2581 * help.el (help-window): Remove variable.
2582
52aa0014
GM
25832011-09-29 Glenn Morris <rgm@gnu.org>
2584
2585 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2586
df9a7357
JB
25872011-09-29 Juanma Barranquero <lekktu@gmail.com>
2588
2589 * descr-text.el (describe-char-categories): Accept category
2590 descriptions more than one line long.
2591
a8406c20
SM
25922011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2593
88d9610c
SM
2594 * simple.el (delete-trailing-whitespace): Fix last change.
2595
a5daf810
SM
2596 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2597 Don't confuse "y => 3" as the beginning of a `y' operation.
2598
a8406c20
SM
2599 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2600 object has more than 4 slots (bug#9613).
2601
a239d4e9
JB
26022011-09-28 Juanma Barranquero <lekktu@gmail.com>
2603
2604 * subr.el (with-output-to-temp-buffer):
2605 * net/quickurl.el (quickurl, quickurl-browse-url):
2606 Fix typos in docstrings.
2607
693fbdb6
EZ
26082011-09-27 Eli Zaretskii <eliz@gnu.org>
2609
2610 * minibuffer.el (completion-styles)
2611 (completion-category-overrides): Cross reference each other in doc
2612 strings.
2613
8b457e28
GM
26142011-09-27 Glenn Morris <rgm@gnu.org>
2615
2616 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2617 to split-string. (Bug#9606)
2618
85a16208
LMI
26192011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2620
2621 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2622 (bug#9615).
2623
502f9ebd
CY
26242011-09-27 Chong Yidong <cyd@stupidchicken.com>
2625
2626 * emacs-lisp/package.el (list-packages): Fix echo area message.
2627
7690bdea
LL
26282011-09-27 Leo Liu <sdl.web@gmail.com>
2629
2630 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2631
e2ee6f30
MA
26322011-09-25 Michael Albinus <michael.albinus@gmx.de>
2633
2634 * net/dbus.el (dbus-unregister-object): Don't release services for
2635 registered signals. (Bug#9581)
2636
f3f98342
TZ
26372011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2638
2639 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2640 function that picks between cfengine 2 and 3 support
2641 automatically. Update docs accordingly.
2642
dd7aa8dd
KH
26432011-09-22 Kenichi Handa <handa@m17n.org>
2644
2645 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2646 ZERO.
2647 (indian-itrans-v5-table-for-tamil): New variable.
2648 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2649
3f2b07f8
KM
26502011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2651
2652 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2653 that's true if the current command involved collapsing of text.
2654 It's reset to false at the beginning of the next command.
2655 (allout-post-command-business): Move the cursor to the beginning
2656 of entry if the cursor is hidden and collapsing activity just
2657 happened.
2658
371d6a61
CY
26592011-09-24 Chong Yidong <cyd@stupidchicken.com>
2660
2661 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2662 tracking (Bug#9541).
2663
2ac2721a
UJ
26642011-09-24 Ulf Jasper <ulf.jasper@web.de>
2665
2666 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
2667 (newsticker-show-news): Automatically load html rendering package
2668 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2669 because w3m-fill-column is let-bound" and the error "Symbol's value
2670 as variable is void: w3m-fill-column".
2ac2721a 2671
fac7ae53
MA
26722011-09-24 Michael Albinus <michael.albinus@gmx.de>
2673
2674 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2675 Release services only if they are defined. (Bug#9581)
2676
e08b633b
RS
26772011-09-23 Richard Stallman <rms@gnu.org>
2678
e488d29c
RS
2679 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2680 distinguish start of paragraph from start of its text.
2681
19c38752
RS
2682 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2683
e08b633b
RS
2684 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2685 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2686 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2687
0a39f27e
AS
26882011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2689
2690 * international/mule-diag.el (mule-diag): Insert a newline after
2691 each fontset description.
2692
db4e950d
SM
26932011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 * simple.el (delete-trailing-whitespace):
2696 Document last change; simplify.
2697
eca3f3ea
PW
26982011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2699
d68e189a
PW
2700 * simple.el (delete-trailing-whitespace): Also delete
2701 extra newlines at the end of the buffer.
2702
eca3f3ea
PW
2703 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2704 (picture-newline): Use forward-line so as to ignore fields.
2705
01c157cc
SM
27062011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * subr.el (with-wrapper-hook): Fix edebug spec.
2709
022de23e
LMI
27102011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2711
2712 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2713 (bug#4538).
2714
91683089
MA
27152011-09-23 Michael Albinus <michael.albinus@gmx.de>
2716
eca3f3ea
PW
2717 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2718 Fix nasty bug using wrong cached values.
91683089 2719
5bdd6fa4
AM
27202011-09-23 Alan Mackenzie <acm@muc.de>
2721
2722 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2723
97adfb97
CY
27242011-09-23 Chong Yidong <cyd@stupidchicken.com>
2725
2726 * window.el (pop-to-buffer): Ensure right window is selected if we
2727 chose another frame.
2728
d4ef2b50
EZ
27292011-09-22 Eli Zaretskii <eliz@gnu.org>
2730
2731 * simple.el (what-cursor-position): Use get-char-property-change
2732 and next-single-char-property-change, to be able to show display
2733 properties that come from overlays as well as text properties.
2734
72258fe5
CY
27352011-09-22 Chong Yidong <cyd@stupidchicken.com>
2736
2737 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2738
2739 * cmuscheme.el (run-scheme, switch-to-scheme):
2740 * cus-edit.el (customize-group, custom-buffer-create)
2741 (customize-browse):
2742 * info.el (info):
2743 * shell.el (shell):
2744 * mail/sendmail.el (mail):
2745 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2746
8f098516
RS
27472011-09-22 Richard Stallman <rms@gnu.org>
2748
2749 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2750 move back only to line beg, don't move back over blank lines.
2751
e74f1bb6
MA
27522011-09-22 Michael Albinus <michael.albinus@gmx.de>
2753
2754 * files.el (copy-directory): Set directory attributes only in case
2755 they could be retrieved from the source directory. (Bug#9565)
2756
bfeef8b6
DK
27572011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2758
2759 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2760 (hs-find-block-beginning, hs-hide-level-recursive):
2761 Ignore strings as well as comments. (Bug#9502)
2762
7e423bb8
AS
27632011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2764
2765 * progmodes/sql.el (sql-comint-postgres):
2766 Convert port number to a string. (Bug#9566)
2767
b4d72fcf
MR
27682011-09-22 Martin Rudalics <rudalics@gmx.at>
2769
2770 * window.el (quit-window): Undedicate window when switching to
2771 previous buffer. Reported by Thierry Volpiatto
2772 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
2773 (special-display-popup-frame): When popping up a new frame reset
2774 its previous buffers to nil. Simplify code.
b4d72fcf 2775
a7b88dc6
MA
27762011-09-21 Michael Albinus <michael.albinus@gmx.de>
2777
2778 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2779 and process filter, as done also in `shell-command'.
2780
cf4eacfd
MR
27812011-09-21 Martin Rudalics <rudalics@gmx.at>
2782
eca3f3ea 2783 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
2784 Call set-window-start with NOFORCE argument t.
2785 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
2786 (quit-window): Reword doc-string. Handle new format of
2787 quit-restore parameter. Don't delete window if it has a
2788 previous buffer we can show instead of the present one.
2789 (display-buffer-record-window): Rewrite using a new format for
2790 the quit-restore window parameter
2791 (special-display-popup-frame, display-buffer-same-window)
2792 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2793 (display-buffer-pop-up-window, display-buffer-use-some-window):
2794 Adapt symbol passed to display-buffer-record-window.
2795 * help.el (help-window-setup): Handle new format of quit-restore
2796 parameter.
2797
8d28cb95
SM
27982011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2799
94ab793f
SM
2800 * faces.el (face-list): Fix docstring (bug#9564).
2801
8d28cb95
SM
2802 * window.el (display-buffer--action-function-custom-type):
2803 Don't include internal functions in the Custom interface.
2804
3820edeb
JL
28052011-09-20 Juri Linkov <juri@jurta.org>
2806
2807 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2808 (Info-forward-node, Info-backward-node, Info-next-preorder)
2809 (Info-last-preorder): Use it. (Bug#9528)
2810
5147931d
JL
28112011-09-20 Juri Linkov <juri@jurta.org>
2812
2813 * info.el (Info-last-preorder): Visit last menu item only when
2814 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2815
cf499a1a
JD
28162011-09-20 Julien Danjou <julien@danjou.info>
2817
2818 * password-cache.el (password-cache-remove): Remove entries even if the
2819 value is nil, so that password with a nil value (negative caching) is
2820 possible to invalidate.
2821
f84e2fe2
LM
28222011-09-20 Lawrence Mitchell <wence@gmx.li>
2823
2824 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2825 all whitespace around breakpoint. (Bug#9553)
2826 (f90-find-breakpoint): Only break at whitespace inside a comment.
2827
78054a46
SM
28282011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2829
2830 * minibuffer.el (completion-file-name-table): Keep track of errors.
2831 (completion-table-with-predicate): Handle the case where pred1 is nil.
2832 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2833
345083b2
SM
28342011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2835
e24e27be
SM
2836 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2837 (debugger-return-value): Signal an error if the debugging context does
2838 not await any return value.
2839
345083b2
SM
2840 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2841 * image-mode.el (image-toggle-display-text)
2842 (image-toggle-display-image): Stay away from evil `intangible'.
2843
08d355e3
LL
28442011-09-19 Leo Liu <sdl.web@gmail.com>
2845
2846 * replace.el (occur-revert-arguments): Make it permanent-local.
2847 (occur-mode): Don't call font-lock-defontify.
2848
f01da43f
CY
28492011-09-19 Chong Yidong <cyd@stupidchicken.com>
2850
2851 * net/ldap.el (ldap-search-internal): Don't push empty search
2852 result (Bug#9508).
2853
b6072fa6
SM
28542011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2857
443d6696
MA
28582011-09-19 Michael Albinus <michael.albinus@gmx.de>
2859
2860 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2861 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2862
7cc6e154
JL
28632011-09-18 Juri Linkov <juri@jurta.org>
2864
2865 * buff-menu.el (Buffer-menu-mode-map):
2866 * dired.el (dired-mode-map):
2867 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2868 (lisp-interaction-mode-map):
2869 * emacs-lisp/package.el (package-menu-mode-map):
2870 * epa.el (epa-key-list-mode-map):
2871 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2872 (menu-bar-options-menu):
2873 * outline.el (outline-mode-menu-bar-map):
2874 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2875 * vc/vc-dir.el (vc-dir-menu-map):
2876 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2877 Capitalize non-function content words in menu item strings.
2878
2879 * dired.el (dired-mode-map): Add menu item for
2880 `image-dired-dired-toggle-marked-thumbs'.
2881
80302a81
JL
28822011-09-18 Juri Linkov <juri@jurta.org>
2883
2884 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2885 to `isearch-case-fold-search' and restore its original value
2886 after the `isearch-mode' call.
2887
46c5cf66
JL
28882011-09-18 Juri Linkov <juri@jurta.org>
2889
2890 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2891 because `zgrep' returns 1 for successful matches (bug#9226).
2892
d18b513b
JL
28932011-09-18 Juri Linkov <juri@jurta.org>
2894
2895 * info.el (Info-extract-menu-node-name): Check the second match
2896 for empty string (second test-case of bug#9528).
2897 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2898 intermediate nodes to the history (first test-case of bug#9528).
2899
72753f87
JL
29002011-09-18 Juri Linkov <juri@jurta.org>
2901
2902 * info.el (Info-mode-syntax-table): New variable.
1154d12e 2903 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 2904
c9384295
JL
29052011-09-18 Juri Linkov <juri@jurta.org>
2906
1154d12e
JB
2907 * info.el (Info-file-supports-index-cookies):
2908 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2909 outputs one more line for long file names (bug#4142).
c9384295 2910
d473dce8
CY
29112011-09-18 Chong Yidong <cyd@stupidchicken.com>
2912
2913 * newcomment.el (comment-normalize-vars): If prompting for
2914 comment-start, set comment-start-skip too (Bug#8424).
2915
2176854d
JB
29162011-09-18 Johan Bockgård <bojohan@gnu.org>
2917
2918 * icomplete.el: Fix previous fix of Bug#5849.
2919 (icomplete-mode): Don't set completion-show-inline-help.
2920 (icomplete-minibuffer-setup): Set completion-show-inline-help
2921 locally during icompletion.
2922
3aace4e4
CY
29232011-09-18 Chong Yidong <cyd@stupidchicken.com>
2924
c940224f
CY
2925 * woman.el (woman2-process-escapes): Don't delete unrecognized
2926 escapes (Bug#7843).
2927
3aace4e4
CY
2928 * files.el (inhibit-first-line-modes-regexps): Add image files.
2929 (hack-local-variables-prop-line): Return nil for malformed
2930 prop-lines (Bug#9044).
2931
710dec63
MA
29322011-09-18 Michael Albinus <michael.albinus@gmx.de>
2933
2934 * net/tramp.el (top): Don't require 'shell.
2935 (tramp-methods): Fix docstring.
2936 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
2937 Return complete remote file name. Handle "smb" case.
2938 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
2939 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2940
2941 * net/tramp-compat.el (top): Require 'shell.
2942
2943 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2944 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2945 `tramp-current-host'.
2946 (tramp-get-remote-tmpdir): Remove.
2947
2948 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2949 `tramp-tmpdir' entries.
2950 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2951 (tramp-smb-handle-file-attributes): Ignore errors.
2952 (tramp-smb-wait-for-output): Check also for process end.
2953
5d5ac8ec
LMI
29542011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2955
2956 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2957 when sending QUIT (bug#9312).
2958
8c0f49f0
CY
29592011-09-17 Chong Yidong <cyd@stupidchicken.com>
2960
2961 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2962 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2963 occur-mode-display-occurrence.
2964 (occur-edit-mode): Add usage message.
2965 (occur-cease-edit): New command.
2966 (occur-after-change-function): Use text properties to find the
2967 position of the prefix text.
2968 (occur-engine): Set stickiness of prefix text properties.
2969
8f1383f7
GM
29702011-09-17 Glenn Morris <rgm@gnu.org>
2971
2972 * progmodes/etags.el (complete-tag):
2973 Fix call to completion-in-region. (Bug#9526)
2974
744ba0e3
JL
29752011-09-17 Juri Linkov <juri@jurta.org>
2976
2977 * textmodes/ispell.el (ispell-word): Add to the error message
2978 the word, ispell program name and current dictionary (bug#9121).
2979 (ispell-tex-arg-end): Capitalize "error" in the error message.
2980
d9bbf400
AS
29812011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2982
2983 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2984 check. (Bug#4251)
2985
8da11505
JL
29862011-09-17 Juri Linkov <juri@jurta.org>
2987
2988 * window.el (window-safe-min-height, window-safe-min-width):
2989 Fix typos (followup to bug#9522).
2990
a91adc7e
SJ
29912011-09-17 Sven Joachim <svenjoac@gmx.de>
2992
2993 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2994
064f328a
EZ
29952011-09-16 Eli Zaretskii <eliz@gnu.org>
2996
2997 * simple.el (line-move): If goal-column is set, move by logical
2998 lines, not by display lines. (Bug#971)
2999 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3000 to reflect the above change.
3001
e69df516
SM
30022011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * image.el (imagemagick-register-types): Use regexp-opt.
3005
cbb0f9ab
CY
30062011-09-15 Chong Yidong <cyd@stupidchicken.com>
3007
3008 * window.el (display-buffer-base-action): Rename from
3009 display-buffer-default-action. Make default value empty.
3010 (display-buffer-overriding-action): Convert to defvar.
3011 (display-buffer-fallback-action): New var.
3012
25322144
CY
30132011-09-15 Chong Yidong <cyd@stupidchicken.com>
3014
3015 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3016 declaration.
3017 (package--add-to-archive-contents): If there is a duplicate entry
3018 with an older version, remove it.
3019 (package-menu-mark-delete, package-menu-mark-install)
3020 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3021 (package-menu-mark-obsolete-for-deletion):
3022 Use package-menu-get-status instead of a regexp search.
25322144
CY
3023 (package-menu-get-status): Use tabulated-list-entry.
3024 (package-menu-mark-upgrades): New command.
d770725a 3025 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3026 (package-menu-execute): Do installation before deletion.
3027 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3028 instead of checking major-mode.
3029 (package-menu--find-upgrades): New function.
3030
7520339c
LMI
30312011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3032
3033 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3034 passwords in the log buffer.
65a046c4
LMI
3035 (smtpmail-process-filter): Update the process marker so that the
3036 "broken by peer" status message is inserted in the right place.
7520339c 3037
d3c30954
SM
30382011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3fe48822
SM
3040 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3041 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3042 bibtex-completion-at-point-function.
3043 (bibtex-completion-at-point-function): Use them.
3044
1b8b3954
SM
3045 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3046
d3c30954
SM
3047 * mpc.el (mpc-constraints-tag-lookup): New function.
3048 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3049 also to browser "album|playlist".
3050
72779976
JL
30512011-09-14 Juri Linkov <juri@jurta.org>
3052
3053 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3054 (isearch-edit-string): Use length of `isearch-string' when
3055 `isearch-fail-pos' returns nil.
3056 (isearch-message): Remove duplicate code and call
3057 `isearch-fail-pos' with arg `t'.
3058
a0bf2bcd
CY
30592011-09-14 Chong Yidong <cyd@stupidchicken.com>
3060
17bb0a2d
CY
3061 * replace.el (occur-mode-goto-occurrence): Don't force using other
3062 window (Bug#9499).
3063
a0bf2bcd
CY
3064 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3065
f678e0b6
MR
30662011-09-14 Martin Rudalics <rudalics@gmx.at>
3067
3068 * window.el (display-buffer-window): Remove.
3069 (display-buffer-record-window): Use help-setup window parameter
3070 instead of variable display-buffer-window.
3071 (display-buffer-function, special-display-buffer-names)
3072 (special-display-function): Mention help-setup parameter instead
3073 of display-buffer-window in doc-string.
d3c30954
SM
3074 * help.el (help-window-setup): New argument help-window.
3075 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
3076 Reword some messages.
3077 (with-help-window): Pass window used for displaying the buffer
3078 to help-window-setup. Don't set display-buffer-window.
3079
8e39b2e8
GM
30802011-09-13 Glenn Morris <rgm@gnu.org>
3081
3082 * emacs-lisp/debug.el (debugger-make-xrefs):
3083 Preserve point. (Bug#9462)
3084
85e9c04b
CY
30852011-09-13 Chong Yidong <cyd@stupidchicken.com>
3086
3087 * window.el (window-deletable-p): Use next-frame.
3088
1b36ed6a
MR
30892011-09-13 Martin Rudalics <rudalics@gmx.at>
3090
3091 * window.el (window-auto-delete): Remove.
3092 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 3093 dedication and previous buffers.
1b36ed6a
MR
3094 (switch-to-prev-buffer): Don't delete window.
3095 (delete-windows-on): Delete a window's frame if and only if the
3096 window is dedicated.
3097 (replace-buffer-in-windows): Delete buffer's window or frame if
3098 and only if window is dedicated.
3099 (quit-window): Handle quit-restore as before last change.
4d61f28d 3100 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 3101
ef8ef9fb
CY
31022011-09-13 Chong Yidong <cyd@stupidchicken.com>
3103
3104 * window.el (window-deletable-p): Never delete the last frame on a
3105 given terminal.
3106
b2cba41e
GM
31072011-09-13 Glenn Morris <rgm@gnu.org>
3108
3109 * help.el (describe-key-briefly): Copy previous standard-output change.
3110
51553db6 31112011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
3112
3113 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3114
b7556719
GM
31152011-09-13 Glenn Morris <rgm@gnu.org>
3116
3117 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3118 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3119
64b51947
CY
31202011-09-12 Chong Yidong <cyd@stupidchicken.com>
3121
3122 * dired-aux.el (dired-mark-read-string): Don't return default
3123 value on empty input (Bug#9361).
3124 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3125 Omit initial minibuffer contents.
3126 (dired-do-chmod): Signal an error on empty input.
3127 (dired-mark-read-string): Don't return default on empty input.
3128
3129 * files.el (file-modes-symbolic-to-number): Doc fix.
3130
393a301e
SM
31312011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * international/mule-cmds.el (ucs-completions): Remove.
3134 (read-char-by-name): Use complete-with-action instead; add metadata.
3135
fa5660f9
CY
31362011-09-11 Chong Yidong <cyd@stupidchicken.com>
3137
3138 * window.el (display-buffer--action-function-custom-type)
3139 (display-buffer--action-custom-type): New vars.
3140 (display-buffer-alist, display-buffer-default-action)
3141 (display-buffer-overriding-action): Add defcustom types.
3142
4a592f66
CY
3143 * frame.el (delete-other-frames): Doc fix (Bug#276).
3144
73d56dbd
LMI
31452011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3146
3147 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3148
37ac18a3
CY
31492011-09-11 Chong Yidong <cyd@stupidchicken.com>
3150
3151 Change modes that used same-window-* vars to use switch-to-buffer.
3152
3153 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3154 Use switch-to-buffer.
3155
3156 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
3157 (customize-browse, custom-buffer-create-other-window):
3158 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
3159
3160 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3161 (Info-prev, Info-up, Info-speedbar-goto-node)
3162 (info-display-manual): Use switch-to-buffer.
3163 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3164
3165 * mail/sendmail.el (mail): Use switch-to-buffer.
3166 (mail-recover): Use switch-to-buffer-other-window.
3167
3168 * cmuscheme.el (run-scheme, switch-to-scheme):
3169 * ielm.el (ielm):
3170 * shell.el (shell):
3171 * net/rlogin.el (rlogin):
3172 * net/telnet.el (telnet, rsh):
3173 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3174
10195bd6
AS
31752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3176
3177 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3178
b322f63a
LMI
31792011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3180
39d7fed6
LMI
3181 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3182 so don't mention it (bug#9301).
ba5a81f1 3183 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 3184
ee0e9f11
LMI
3185 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3186 match `x', `w32' and `ns', like the manual says (bug#9029).
3187
0b1c89c1 3188 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
3189 (process-kill-buffer-query-function): Mention the buffer name in
3190 the query.
0b1c89c1 3191
77549ea8
LMI
3192 * image-mode.el (image-next-line): The line parameter is mandatory
3193 (bug#9258).
3194
803ef892
LMI
3195 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3196 which can be useful (bug#9301).
3197
12980837
LMI
3198 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3199
91054f8f
LMI
3200 * subr.el (match-string): Mention that the current buffer should
3201 be the same as the search was done in (bug#9282).
3202
b322f63a
LMI
3203 * facemenu.el: Disable the remove-* commands if the mark isn't
3204 active (bug#9162).
3205
3199b96f
CY
32062011-09-10 Chong Yidong <cyd@stupidchicken.com>
3207
3208 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3209 of display-buffer.
3210 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3211
3212 * replace.el (occur-mode-goto-occurrence)
3213 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3214 and display-buffer.
3215
3216 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3217 display-buffer.
3218
3219 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3220 special-display and same-window variables.
3221 (mail-other-window): Use switch-to-buffer-other-window.
3222 (mail-other-frame): USe switch-to-buffer-other-frame.
3223
393a301e
SM
3224 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3225 Use display-buffer-other-frame.
3199b96f
CY
3226 (gdb-display-gdb-buffer): Use pop-to-buffer.
3227
3228 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3229
3230 * progmodes/python.el: Don't set same-window-buffer-names.
3231
3232 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3233
3234 * window.el (display-buffer-alist): Add *Python*.
3235
8319e0bf
CY
32362011-09-10 Chong Yidong <cyd@stupidchicken.com>
3237
3238 * window.el (display-buffer-alist): Add entry for buffers
3239 previously handled same-window-*.
3240 (display-buffer-alist, display-buffer-default-action)
3241 (display-buffer-overriding-action): Mark as risky.
3242 (display-buffer-alist): Document action function changes.
3243 (display-buffer--same-window-action)
3244 (display-buffer--other-frame-action): New variables.
3245 (switch-to-buffer, display-buffer-other-frame): Use them.
3246 (display-buffer): Rename reuse-frame entry to reusable-frames.
3247 (display-buffer-reuse-selected-window): Function deleted.
3248 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3249 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3250 (display-buffer-special): New function.
3251 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3252 display-buffer-reuse-or-pop-window. Split off special-display
3253 part into display-buffer-special.
3254 (display-buffer-use-some-window): Don't perform any special
3255 pop-up-frames handling.
3256 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 3257 (display-buffer--maybe-same-window): Rename from
0d3ff375 3258 display-buffer-maybe-same-window.
8319e0bf 3259
919a69aa
CY
3260 * info.el: Don't set same-window-regexps.
3261 (info-setup): New function.
3262 (info-other-window, info): Call it.
3263
3264 * cus-edit.el: Don't set same-window-regexps.
3265 (customize-group): New argument.
3266 (customize-group-other-window): Use it.
3267 (customize-face, customize-face-other-window): Likewise.
3268 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3269
8319e0bf
CY
3270 * net/rlogin.el:
3271 * net/telnet.el:
3272 * progmodes/gud.el: Don't set same-window-regexps.
3273
3274 * cmuscheme.el:
3275 * ielm.el:
3276 * shell.el:
3277 * mail/sendmail.el:
3278 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3279
25173000
JL
32802011-09-10 Juri Linkov <juri@jurta.org>
3281
3282 * isearch.el (isearch-edit-string): Remove obsolete mention of
3283 `C-w' (`isearch-yank-word-or-char') from docstring.
3284 (isearch-query-replace): Fix typo in docstring (bug#9466).
3285
056e44ef
JL
32862011-09-10 Juri Linkov <juri@jurta.org>
3287
3288 * paren.el (show-paren-function): Don't show escaped parens.
3289 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3290
c3760c17
EZ
32912011-09-10 Eli Zaretskii <eliz@gnu.org>
3292
3293 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3294 (mm-default-file-encoding): Remove autoload forms, they are
3295 replaced with autoload cookies in mml.el and mm-encode.el.
3296 (mail-add-attachment): New command.
3297 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3298 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3299 the doc string.
3300 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3301
fece895e
RT
33022011-09-10 Reuben Thomas <rrt@sc3d.org>
3303
e69df516
SM
3304 * simple.el (count-words-region): Use buffer if there's no region
3305 (bug#9429).
fece895e 3306
5e68ce4a
JL
33072011-09-09 Juri Linkov <juri@jurta.org>
3308
3309 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3310 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3311 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3312
0a6b9622
AM
33132011-09-09 Alan Mackenzie <acm@muc.de>
3314
3315 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3316 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3317
14a29deb
EZ
33182011-09-09 Eli Zaretskii <eliz@gnu.org>
3319
3320 Fix for Savannah bug#9392.
3321 * simple.el (mail-encode-mml): New defvar.
3322
3323 * mail/rmail.el (mail-encode-mml): Add a defvar.
3324 (rmail-enable-mime-composing): Default to t.
3325 (rmail-forward): Use MIME method of forwarding only if both
3326 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3327 Set mail-encode-mml non-nil if the MIME method was used.
3328
3329 * mail/sendmail.el (mml-to-mime): Add autoload form.
3330 (mail-encode-mml): Add a defvar.
3331 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3332 to nil.
3333 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3334 message through mml-to-mime, and reset mail-encode-mml to nil.
3335
28c45130
GM
33362011-09-09 Glenn Morris <rgm@gnu.org>
3337
3338 * woman.el (woman-if-body): When processing an .el block,
3339 do not delete the next .el block as well. (Bug#9447)
69f4b618 3340 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 3341
9b1c252e
MR
33422011-09-08 Martin Rudalics <rudalics@gmx.at>
3343
3344 * window.el (window-deletable-p): Make sure window is live before
3345 invoking window-prev-buffers.
3346
567457e3
LL
33472011-09-08 Leo Liu <sdl.web@gmail.com>
3348
3349 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3350
97f05794
JL
33512011-09-08 Juri Linkov <juri@jurta.org>
3352
3353 * progmodes/compile.el (compilation-environment): Make it
3354 a defcustom (bug#8340).
3355
8b0874b5
MR
33562011-09-08 Martin Rudalics <rudalics@gmx.at>
3357
3358 * window.el (frame-auto-delete): Rename to window-auto-delete.
3359 Make it control auto-deletion of windows and/or frames.
3360 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 3361 for deleting window/frame. (Bug#9419)
8b0874b5
MR
3362 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3363 Rewrite handling of case when window/frame can be deleted.
3364 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 3365 argument t. (Bug#9456)
8b0874b5 3366
4feb6e73
CY
33672011-09-07 Chong Yidong <cyd@stupidchicken.com>
3368
3369 * help-mode.el (help-mode): Restore autoload.
3370
91ab9c13
JL
33712011-09-07 Juri Linkov <juri@jurta.org>
3372
3373 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3374 `compilation-environment'. Set buffer-local
3375 `compilation-environment' to `thisenv' later after (funcall mode).
3376 (Bug#8340)
3377
3378 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3379 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3380 instead of replacing its value. (Bug#8340)
3381
0527e251
JL
33822011-09-07 Juri Linkov <juri@jurta.org>
3383
3384 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3385 based on text properties put by `grep-filter' instead of matching
3386 escape sequences.
3387 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3388 to the value of `grep-error-screen-columns' (bug#9438).
3389
249f792c
JL
33902011-09-07 Juri Linkov <juri@jurta.org>
3391
3392 * simple.el (next-error-highlight, next-error-highlight-no-select):
3393 Doc fix (bug#9432).
3394
ff7271b9
OT
33952011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3396
3397 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3398 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3399
183fc730
LL
34002011-09-07 Leo Liu <sdl.web@gmail.com>
3401
3402 * net/rcirc.el (rcirc-mode): Conditionally initialize
3403 rcirc-input-ring.
3404
77694924
SM
34052011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 * emacs-lisp/find-func.el (find-function-C-source): Only set
3408 find-function-C-source-directory after checking that we found a source
3409 file there (bug#9440).
3410
d809b8eb
AM
34112011-09-06 Alan Mackenzie <acm@muc.de>
3412
3413 * isearch.el (isearch-other-meta-char): Wherever a key list is
3414 unread, "unread" the prefix arg, too. This fixes bug #8901.
3415
453de99f
OG
34162011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3417
3418 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3419
90439906
JL
34202011-09-05 Juri Linkov <juri@jurta.org>
3421
3422 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3423
f62bd846
JL
34242011-09-05 Juri Linkov <juri@jurta.org>
3425
3426 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3427 keeping point where processing of grep matches begins, and
3428 continue to delete remaining escape sequences from the same point.
3429 (grep-filter): Make leading zero optional in "0?1;31m" because
3430 git-grep emits "\033[1;31m" escape sequences unlike expected
3431 "\033[01;31m" as GNU Grep does (bug#9408).
3432 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3433
045820ec
JL
34342011-09-05 Juri Linkov <juri@jurta.org>
3435
3436 * subr.el (y-or-n-p): Capitalize "yes".
3437
f5e29b9b
MA
34382011-09-04 Michael Albinus <michael.albinus@gmx.de>
3439
3440 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3441 `tramp-cache-unload-hook' where appropriate.
3442 (tramp-methods): Rename `tramp-remote-sh' to
3443 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3444 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3445
3446 * net/tramp-sh.el (top): Don't require 'shell.
3447 (tramp-methods): Add `tramp-remote-shell' and
3448 `tramp-remote-shell-args' entries.
3449 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3450 (tramp-sh-handle-shell-command): Remove.
3451 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3452 Use `tramp-remote-shell'.
3453
2784c434
CY
34542011-09-03 Chong Yidong <cyd@stupidchicken.com>
3455
393a301e 3456 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
3457 (sendmail-query-once): Save directly to send-mail-function.
3458 Update message-send-mail-function too.
3459
3460 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3461
464cdf56
CS
34622011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3463
3464 * progmodes/python.el (python-mode-map): Use correct function to
3465 start python interpreter from menu-bar (as reported by Geert
3466 Kloosterman).
3467 (inferior-python-mode-map): Fix typo.
393a301e 3468 (python-shell-map): Remove.
464cdf56 3469
d37e5c87
DD
34702011-09-03 Deniz Dogan <deniz@dogan.se>
3471
3472 * net/rcirc.el (rcirc-print): Simplify code for
3473 rcirc-scroll-show-maximum-output. There is no need to walk
3474 through all windows to find the right one.
3475
f3ada0ee
CS
34762011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3477
3478 * help.el (help-return-method): Doc fix.
3479
1f3c99ca
MR
34802011-09-03 Martin Rudalics <rudalics@gmx.at>
3481
3482 * window.el (window-deletable-p): Don't return a non-nil value
3483 when there's a buffer that was shown in the window before.
3484 (Bug#9419)
393a301e
SM
3485 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3486 Set window's previous buffers to nil.
1f3c99ca 3487
a3cf097f
EZ
34882011-09-03 Eli Zaretskii <eliz@gnu.org>
3489
3490 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3491 newline before and after the tag line, so it doesn't interfere
3492 with determining the paragraph direction of bidirectional text.
3493
3d03de90
LL
34942011-09-03 Leo Liu <sdl.web@gmail.com>
3495
3496 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3497
c3313451
CY
34982011-09-02 Chong Yidong <cyd@stupidchicken.com>
3499
393a301e 3500 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
3501 (pop-to-buffer): Change interactive spec. Pass second argument
3502 directly to display-buffer.
3503 (display-buffer): Fix interactive spec. Use functionp to
3504 distinguish between a function and a list of functions.
3505
3506 * abbrev.el (edit-abbrevs):
3507 * arc-mode.el (archive-extract):
3508 * autoinsert.el (auto-insert):
3509 * bookmark.el (bookmark-bmenu-list):
3510 * files.el (find-file):
3511 * view.el (view-buffer):
3512 * progmodes/compile.el (compilation-goto-locus):
3513 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3514
89894cd8
CY
35152011-09-02 Chong Yidong <cyd@stupidchicken.com>
3516
3517 * window.el (display-buffer-alist): Doc fix.
3518 (display-buffer): Add docstring. Don't treat
3519 display-buffer-default specially.
3520 (display-buffer-reuse-selected-window)
3521 (display-buffer-same-window, display-buffer-maybe-same-window)
3522 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3523 (display-buffer-pop-up-window)
3524 (display-buffer-reuse-or-pop-window)
3525 (display-buffer-use-some-window): New functions.
3526 (display-buffer-default-action): Use them.
393a301e 3527 (display-buffer-default): Delete.
89894cd8
CY
3528 (pop-to-buffer-1): Fix choice of actions.
3529
ae0bc9fb
SM
35302011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * minibuffer.el (completion--insert-strings): Don't get confused by
3533 completion entries that end with an LF char.
3534
e9d90883
EZ
35352011-09-01 Eli Zaretskii <eliz@gnu.org>
3536
3537 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3538
437014c8
CY
35392011-09-01 Chong Yidong <cyd@stupidchicken.com>
3540
3541 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
3542 (display-buffer-same-window, display-buffer-other-window):
3543 New functions.
437014c8
CY
3544 (pop-to-buffer-1): New function. Use the above.
3545 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 3546 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
3547
3548 * view.el (view-buffer-other-window, view-buffer-other-frame):
3549 Just use pop-to-buffer.
3550
a5e063d5
TV
35512011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3552
3553 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3554
793d32bb
WH
35552011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3556
3557 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3558
d65e4c15
RS
35592011-08-31 Richard Stallman <rms@gnu.org>
3560
3561 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3562 of the separation of rmail-view-buffer from rmail-buffer.
3563 If you say no to "replace original", the decrypt is in the
3564 view buffer. If you say yes, the decrypt goes into the
3565 rmail buffer also.
3566
f818cd2a
MR
35672011-08-31 Martin Rudalics <rudalics@gmx.at>
3568
3569 * window.el (display-buffer-window): Rewrite doc-string.
3570 (display-buffer-record-window): New function.
3571 (display-buffer-macro-specifiers)
3572 (display-buffer-even-window-sizes, display-buffer-set-height)
3573 (display-buffer-set-width, display-buffer-in-window)
3574 (display-buffer-reuse-window, display-buffer-split-specifiers)
3575 (display-buffer-side-specifiers, display-buffer-split-window-1)
3576 (display-buffer-split-window, display-buffer-split-atom-window)
3577 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3578 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3579 (display-buffer-other-window-means-other-frame)
3580 (display-buffer-normalize-special)
3581 (display-buffer-normalize-default)
3582 (display-buffer-normalize-argument)
3583 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3584 (display-buffer-normalize-specifiers, display-buffer-frame)
3585 (display-buffer-same-window, display-buffer-same-frame)
3586 (display-buffer-other-window)
3587 (display-buffer-same-frame-other-window)
3588 (display-buffer-other-frame, pop-to-buffer-same-window)
3589 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3590 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3591 (switch-to-buffer-same-frame)
3592 (switch-to-buffer-other-window-same-frame)
3593 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3594 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3595 (display-buffer-alist-set): Remove.
3596 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
3597 (special-display-regexps, special-display-function):
3598 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
3599 parameter.
3600 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3601 (special-display-frame-alist, special-display-popup-frame)
3602 (same-window-buffer-names, same-window-regexps, same-window-p)
3603 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3604 (split-window-preferred-function, split-height-threshold)
3605 (split-width-threshold, window-splittable-p)
3606 (split-window-sensibly, window--try-to-split-window)
3607 (window--frame-usable-p, even-window-heights)
3608 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
3609 (window--display-buffer-2, display-buffer-other-frame):
3610 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
3611 (display-buffer-default, display-buffer-assq-regexp): New functions.
3612 (display-buffer-alist): Rewrite doc-string.
3613 (display-buffer-default-action)
3614 (display-buffer-overriding-action): New variables.
3615 (display-buffer, switch-to-buffer): Rewrite.
3616 (pop-to-buffer): Restore Emacs 23 behavior but use
3617 window-normalize-buffer-to-display.
3618 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3619 Restore Emacs 23 behavior but use
3620 window-normalize-buffer-to-switch-to.
3621 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
3622 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3623 Rewrite using Emacs 23 options.
f818cd2a 3624
5bc3b51d
MA
36252011-08-31 Michael Albinus <michael.albinus@gmx.de>
3626
3627 * net/tramp.el (tramp-root-regexp): Remove.
3628 (tramp-completion-file-name-regexp-unified)
3629 (tramp-completion-file-name-regexp-separate)
3630 (tramp-completion-file-name-regexp-url): Don't use leading volume
3631 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
3632 (tramp-drop-volume-letter): Simplify definition.
3633 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 3634
b1a4f8e1
SM
36352011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3638 (bug#9356).
3639
5664fa7b
RT
36402011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3641
b1a4f8e1 3642 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 3643
9a45d6c3
JL
36442011-08-29 Juri Linkov <juri@jurta.org>
3645
3646 * isearch.el (isearch-done): Don't display message "Mark saved"
3647 when arg `edit' is non-nil to prevent its flicker in the echo area.
3648
fb87e0fb
CY
36492011-08-28 Chong Yidong <cyd@stupidchicken.com>
3650
3651 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3652 obsolete packages for deletion.
3653
09ac1c2a
CS
36542011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3655
3656 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 3657 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
3658 view-mode from help-mode.
3659 (help-xref-override-view-map): Remove.
3660 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3661 view-mode is not used anymore.
3662
7a1ff57f
CY
36632011-08-28 Chong Yidong <cyd@stupidchicken.com>
3664
3665 * server.el (server-port): Doc fix.
3666
b9696605
CY
3667 * cus-theme.el (custom-theme-choose-mode): Inherit from
3668 special-mode (Bug#9124).
3669 (custom-theme-choose-mode-map): Add special-mode to parent.
3670
ef8cdf8c
AM
36712011-08-28 Alan Mackenzie <acm@muc.de>
3672
3673 * progmodes/cc-fonts.el
3674 (c-make-font-lock-BO-decl-search-function): New function.
3675 (c-basic-matchers-after - "Fontify the clauses after various
3676 keywords"): Extract the three keyword lists for the 3 erroneous
3677 constructs from the list of four, and use the new function above
3678 in place of an old one.
3679
27de4e20
DD
36802011-08-28 Deniz Dogan <deniz@dogan.se>
3681
3682 * net/rcirc.el (rcirc-insert-prev-input)
3683 (rcirc-insert-next-input): Remove unused argument.
3684
356a3681
SM
36852011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3688
3fc9b218
AM
36892011-08-27 Alan Mackenzie <acm@muc.de>
3690
3691 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3692 handle function pointer parameters properly.
3693
538a061c
MR
36942011-08-27 Martin Rudalics <rudalics@gmx.at>
3695
3696 * window.el (display-buffer-reuse-window): Fix case where
3697 selected window was reused with non-nil OTHER-WINDOW argument.
3698 (Bug#9381)
3699
35b1c40c
DD
37002011-08-27 Deniz Dogan <deniz@dogan.se>
3701
3702 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3703 oftc's NickServ messages.
3704
2f6a3e79
GM
37052011-08-27 Glenn Morris <rgm@gnu.org>
3706
3707 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3708
7254299e
CY
37092011-08-26 Chong Yidong <cyd@stupidchicken.com>
3710
3711 * emacs-lisp/package.el (package-install): Call package-initialize
3712 if called interactively.
3713
f8ccf167
LL
37142011-08-26 Leo Liu <sdl.web@gmail.com>
3715
3716 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3717
3e8cd5ce
JL
37182011-08-25 Juri Linkov <juri@jurta.org>
3719
3720 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3721 `search-whitespace-regexp' (bug#9364).
3722
93eb7113
JL
37232011-08-25 Juri Linkov <juri@jurta.org>
3724
3725 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3726 `regexp-search-ring' to their global values to protect from
3727 updating by `read-from-minibuffer' (bug#9185).
3728
f65d1611
JL
37292011-08-25 Juri Linkov <juri@jurta.org>
3730
3731 * textmodes/ispell.el (ispell-command-loop): Add newline
3732 at the end of the "Use option `i'..." line.
3733
f1cf7a31
JL
37342011-08-25 Juri Linkov <juri@jurta.org>
3735
3736 * battery.el (display-battery-mode): If `battery-status-function'
3737 or `battery-mode-line-format' is nil, display the message and set
3738 `display-battery-mode' to nil (bug#9363).
3739
0c95fcf7
EZ
37402011-08-25 Eli Zaretskii <eliz@gnu.org>
3741
3742 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3743 bidi-string-mark-left-to-right; they are unnecessary now.
3744
a2ebe600
DD
37452011-08-25 Deniz Dogan <deniz@dogan.se>
3746
3747 * net/quickurl.el: Documentation typo fixes.
3748
e4ed06f1
CY
37492011-08-25 Chong Yidong <cyd@stupidchicken.com>
3750
3751 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3752
e5f1c99e
GM
37532011-08-25 Glenn Morris <rgm@gnu.org>
3754
b2948976
GM
3755 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3756
e5f1c99e
GM
3757 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3758 (smtpmail-via-smtp): Handle nil response from smtp.
3759
f22f4808
JL
37602011-08-24 Juri Linkov <juri@jurta.org>
3761
3762 * proced.el (proced-marked): Inherit from `error' instead of
3763 `font-lock-warning-face'.
3764
3765 * ibuffer.el (ibuffer-marked-face): Change default face from
3766 `font-lock-warning-face' to `warning'.
3767 (ibuffer-deletion-face): Change default face from
3768 `font-lock-type-face' to `error'.
3769
3770 * battery.el (battery-update): Use the face `error' instead of
3771 `font-lock-warning-face' (bug#6117).
3772
6a93965e
JL
37732011-08-24 Juri Linkov <juri@jurta.org>
3774
3775 * faces.el (success): Change face color from "Green3" to
3776 "ForestGreen" on light background (bug#9353).
3777
1ed43b09
CY
37782011-08-24 Chong Yidong <cyd@stupidchicken.com>
3779
5664fa7b
RT
3780 * window.el (quit-window): Rename from quit-restore-window.
3781 Use same arglist as old quit-window.
1ed43b09
CY
3782 (frame-auto-delete): Doc fix.
3783
3784 * view.el (view-mode-exit): Use quit-window.
3785
11dcdbb2
JL
37862011-08-24 Juri Linkov <juri@jurta.org>
3787
3788 * isearch.el (isearch-ring-adjust1): Start visiting previous
3789 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3790 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3791 for empty search string (when the last search string is reused
3792 automatically) to adjust the isearch ring to the last element and
3793 prepare the correct index for further M-p commands (bug#9185).
3794
de62b4df
KH
37952011-08-24 Kenichi Handa <handa@m17n.org>
3796
3797 * international/ucs-normalize.el: If decomposition property of
3798 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3799 nil.
3800 (nfd, nfkd): Likewise.
3801
963b492b
SM
38022011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3805 from process filters aren't reliably transmitted to the surrounding
3806 accept-process-output.
3807 (mpc-proc-check): New function.
3808 (mpc-proc-sync): Use it (bug#8293)
3809
93b6b5e1
SM
38102011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3813 Add compatibility functions (bug#9313).
3814
bca633fb
EZ
38152011-08-23 Eli Zaretskii <eliz@gnu.org>
3816
b177498a
EZ
3817 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3818
bca633fb
EZ
3819 * international/uni-bidi.el: Regenerated.
3820
0902a04e
KH
38212011-08-23 Kenichi Handa <handa@m17n.org>
3822
3823 * international/charprop.el:
3824 * international/uni-bidi.el:
3825 * international/uni-category.el:
3826 * international/uni-combining.el:
3827 * international/uni-comment.el:
3828 * international/uni-decimal.el:
3829 * international/uni-decomposition.el:
3830 * international/uni-digit.el:
3831 * international/uni-lowercase.el:
3832 * international/uni-mirrored.el:
3833 * international/uni-name.el:
3834 * international/uni-numeric.el:
3835 * international/uni-old-name.el:
3836 * international/uni-titlecase.el:
3837 * international/uni-uppercase.el: Regenerate.
3838
3bbf23bc
MR
38392011-08-23 Martin Rudalics <rudalics@gmx.at>
3840
3841 * help.el (help-window-setup): Fix message displayed when other
3842 window is reused. (Bug#9341)
3843
b3fd59bd
SM
38442011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3845
1802e444
SM
3846 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3847 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3848
b3fd59bd
SM
3849 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3850 Mark obsolete.
3851 * shell.el (shell-parse-pcomplete-arguments): New function.
3852 (shell-completion-vars): Use it instead (bug#9160).
3853
4eb61348
SM
38542011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3855
867cab74
SM
3856 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3857 strings and comments (bug#9333).
3858
4eb61348
SM
3859 * emacs-lisp/debug.el (debug-arglist): New function.
3860 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3861 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3862
262a1439
JL
38632011-08-22 Juri Linkov <juri@jurta.org>
3864
56ee679c
JL
3865 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3866 Revert regexp that highlights output switches to its old
3867 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3868
262a1439
JL
3869 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3870 to check for empty output (bug#9226).
3871
f13f86fb
CY
38722011-08-22 Chong Yidong <cyd@stupidchicken.com>
3873
3874 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3875 symbol-constituent as the default, as that stops font-lock from
3876 working properly (Bug#8843).
3877
c65c9622
LMI
38782011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3879
3880 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3881 `coding-system-for-*' around the process open call to avoid
3882 auth-source side effects.
e7f2c178 3883 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
3884 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3885 probe hangs.
c65c9622 3886
23a8a5ab
CY
38872011-08-21 Chong Yidong <cyd@stupidchicken.com>
3888
ff98b2dd
CY
3889 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3890
23a8a5ab
CY
3891 * emacs-lisp/find-func.el (find-function-noselect): New arg
3892 lisp-only.
3893
3894 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3895 signal an error for built-in functions (Bug#6664).
3896
f5e3c598
LMI
38972011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3898
3899 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3900 (smtpmail-try-auth-methods): Use it.
3901
a3f2468a
CY
39022011-08-21 Chong Yidong <cyd@stupidchicken.com>
3903
2c34e8da
CY
3904 * font-lock.el (font-lock-fontify-region)
3905 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3906 (font-lock-default-unfontify-buffer)
3907 (font-lock-default-fontify-region)
3908 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3909
b3fd59bd
SM
3910 * progmodes/compile.el (compilation-error-properties):
3911 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
3912 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3913 `ant' regexp.
ee31aabc 3914
a3f2468a
CY
3915 * net/browse-url.el (browse-url-firefox): Don't call
3916 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3917
8e999f70
GM
39182011-08-20 Glenn Morris <rgm@gnu.org>
3919
c21a496a
GM
3920 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3921
59ee0542
GM
3922 * tutorial.el (tutorial--default-keys): Update some default bindings.
3923
8e999f70
GM
3924 * files.el (hack-local-variables): Fully ignore case for "mode:".
3925
e3715033
AM
39262011-08-20 Alan Mackenzie <acm@muc.de>
3927
3928 Resolve invalid use of a regexp in regexp-opt.
3929
4d61f28d
JB
3930 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3931 detection for a java annotation.
e3715033 3932
4d61f28d 3933 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
3934 detection for a java annotation.
3935
4d61f28d
JB
3936 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3937 handling for java.
e3715033
AM
3938 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3939
04ed2e9c
CY
39402011-08-20 Chong Yidong <cyd@stupidchicken.com>
3941
3942 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3943 (Bug#9274).
3944
826cee64
AM
39452011-08-20 Alan Mackenzie <acm@muc.de>
3946
58179cce 3947 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
3948 such a construct. Mainly for when jit-lock etc. starts a chunk
3949 here.
3950
58179cce 3951 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 3952 variable.
58179cce 3953 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
3954 c-make-font-lock-search-function.
3955 (c-make-font-lock-search-function): Use the above function.
3956 (c-make-font-lock-context-search-function): New function.
3957 (c-cpp-matchers): Enhance the preprocessor expression case with
3958 the above function
3959 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3960 which takes an expression.
3961
3962 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3963
13009bd8
MR
39642011-08-20 Martin Rudalics <rudalics@gmx.at>
3965
3966 * window.el (display-buffer-reuse-window)
3967 (display-buffer-pop-up-window): Don't reuse or split a side
3968 window.
3969
9234ff7f
GM
39702011-08-19 Glenn Morris <rgm@gnu.org>
3971
3972 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 3973 Downcase "Mode:". (Bug#9331)
9234ff7f 3974
f635daa1
CY
39752011-08-18 Chong Yidong <cyd@stupidchicken.com>
3976
3977 * international/characters.el: Add L and R categories.
3978
3979 * subr.el (bidi-string-mark-left-to-right): Rename from
3980 string-mark-left-to-right. Use category search.
3981
3982 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3983
bc987f8b
JL
39842011-08-18 Juri Linkov <juri@jurta.org>
3985
3986 * faces.el (error, warning, success): New faces with definitions
3987 copied from old default values of `font-lock-warning-face',
3988 `compilation-warning', `compilation-info' (bug#6117).
3989
3990 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3991
3992 * progmodes/compile.el (compilation-error): Inherit from `error'.
3993 (compilation-warning): Inherit from `warning'.
3994 (compilation-info): Inherit from `success'.
3995
3996 * dired.el (dired-marked): Inherit from `warning'.
3997 (dired-flagged): Inherit from `error'.
3998
57173b96
LMI
39992011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4000
3e79eb87
LMI
4001 * mail/smtpmail.el (auth-source): Require to avoid problems with
4002 binding variables (bug#9298). Also clean up some unused
4003 autoloads.
4004
b3fd59bd
SM
4005 * net/network-stream.el (network-stream-open-starttls):
4006 Support using starttls.el without using gnutls-cli.
57173b96 4007
02b404de
JL
40082011-08-17 Juri Linkov <juri@jurta.org>
4009
4010 * progmodes/grep.el (rgrep): Handle the case when
4011 `grep-find-command' is a cons cell (bug#9278).
4012
8c9177f2
MR
40132011-08-17 Martin Rudalics <rudalics@gmx.at>
4014
4015 * window.el (display-buffer-pop-up-frame): Run frame creation
4016 function with BUFFER current (as special-display-popup-frame
4017 does). Reported by Drew Adams.
4018
3644a0ab
DU
40192011-08-17 Daiki Ueno <ueno@unixuser.org>
4020
4021 * epa-mail.el: Simplify GnuPG group expansion using
4022 epg-expand-group.
4023 (epa-mail-group-alist, epa-mail-group-modtime)
4024 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4025 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4026 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4027 Remove.
4028
5e617bc2 40292011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4030
4031 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4032
9c4aeabf
AM
40332011-08-16 Alan Mackenzie <acm@muc.de>
4034
4035 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4036 Correct, to avoid the inside of macros.
4037
3a99bf64
RS
40382011-08-16 Richard Stallman <rms@gnu.org>
4039
04963aa8
RS
4040 * epa-mail.el: Handle GnuPG group definitions.
4041 (epa-mail-group-alist, epa-mail-group-modtime)
4042 (epa-mail-gnupg-conf-file): New variables.
4043 (epa-mail-parse-groups, epa-mail-sync-groups)
4044 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4045 (epa-mail-expand-recipients): New functions.
4046 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4047
177549d0
RS
4048 * mail/rmail.el (rmail-epa-decrypt): New command.
4049
fe38beef
RS
4050 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4051 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
4052 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4053 (epa-decrypt-armor-in-region): Make error message clearer.
4054
934eacb9
SM
40552011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4056
4057 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4058 and "a2b" to "ab" for `prefix'.
4059
d024fb4e
CY
40602011-08-14 Chong Yidong <cyd@stupidchicken.com>
4061
4062 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4063 filter groups.
de148fee
CY
4064 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4065 Fourquet (Bug#8804).
d024fb4e 4066
62f1ca49
JB
40672011-08-12 Juanma Barranquero <lekktu@gmail.com>
4068
4069 * startup.el (argi): Declare as global variable (bug#9275).
4070
9ccaaa4b
CY
40712011-08-12 Chong Yidong <cyd@stupidchicken.com>
4072
4073 * subr.el (string-mark-left-to-right): Search the entire string
4074 for RTL script, not just the terminating character. Doc fix.
4075
a3dae87a
SM
40762011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4077
6cd18349
SM
4078 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4079 New function.
4080 (js--regexp-literal, js-syntax-propertize-function): Remove.
4081 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4082 (js-mode-map): Don't rebind electric keys.
4083 (js-insert-and-indent): Remove.
4084 (js-mode): Setup electric-layout and electric-indent instead.
4085
a3dae87a
SM
4086 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4087
9d5cb631
DU
40882011-08-12 Daiki Ueno <ueno@unixuser.org>
4089
4090 * epa.el (epa-progress-callback-function): Fix the logic of
4091 displaying progress.
4092 * epa-file.el (epa-file-insert-file-contents): Make progress
4093 display more user-friendly.
4094 (epa-file-write-region): Ditto.
4095
3e26a4a2
CY
40962011-08-10 Chong Yidong <cyd@stupidchicken.com>
4097
4098 * subr.el (string-mark-left-to-right): New function.
4099
4100 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4101 Use string-mark-left-to-right.
4102 (list-buffers-noselect): Caller changed.
4103
a3dae87a
SM
4104 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4105 Use string-mark-left-to-right.
3e26a4a2
CY
4106 (tabulated-list-print): Recenter after moving point.
4107
ac8cf6e6
JL
41082011-08-10 Juri Linkov <juri@jurta.org>
4109
4110 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4111 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4112 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4113
8d96c9a4
CY
41142011-08-09 Chong Yidong <cyd@stupidchicken.com>
4115
4116 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4117 (Bug#7554).
4118
7be1c708 41192011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
4120
4121 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4122 character. (Bug#6594)
4123
37e11a63
CY
41242011-08-08 Chong Yidong <cyd@stupidchicken.com>
4125
839dde57
CY
4126 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4127 (image-dired--with-db-file): New macro.
4128 (image-dired-write-tags, image-dired-remove-tag)
4129 (image-dired-create-gallery-lists, image-dired-write-comments)
4130 (image-dired-get-comment, image-dired-mark-tagged-files)
4131 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4132 (image-dired-gallery-generate): Use insert-file-contents.
4133
37e11a63
CY
4134 * time.el (display-time-world-list, display-time-world-display):
4135 * time-stamp.el (time-stamp-string):
4136 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4137 set-time-zone-rule (Bug#7337).
4138
0b4946c4
DU
41392011-08-08 Daiki Ueno <ueno@unixuser.org>
4140
4141 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4142 (epg-error-to-string, epg-errors-to-string): New function.
4143 (epg-wait-for-completion): Reverse errors list.
4144 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4145 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4146 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4147 (epg-sign-keys, epg-generate-key-from-file)
4148 (epg-generate-key-from-string): Format errors by using
4149 epg-errors-to-string (bug#9255).
4150 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4151
75bfc667
JL
41522011-08-07 Juri Linkov <juri@jurta.org>
4153
4154 * faces.el (list-faces-display): Remove extra angle bracket
4155 from `help-mode-map'.
4156
4157 * info.el (Info-history-toc-nodes): Doc fix.
4158
4159 * longlines.el (longlines-mode): Doc fix.
4160
673e08bb
SM
41612011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4640dd88
SM
4163 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4164 of statements and in a few more cases (bug#9183).
4165
673e08bb
SM
4166 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4167 New functions.
4168 (cl-transform-lambda): Use them (bug#9239).
4169
89b3f019
MR
41702011-08-05 Martin Rudalics <rudalics@gmx.at>
4171
4172 * window.el (display-buffer-same-window)
4173 (display-buffer-same-frame, display-buffer-other-window)
4174 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4175 (pop-to-buffer-other-window)
4176 (pop-to-buffer-same-frame-other-window)
4177 (pop-to-buffer-other-frame): Make them defuns.
4178 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4179
640c8776
SM
41802011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * subr.el (make-composed-keymap): Move from C. Change calling
4183 convention, and improve docstring to bring attention to a subtle point.
4184 * minibuffer.el (completing-read-default): Adjust accordingly.
4185
63648a95
MA
41862011-08-03 Michael Albinus <michael.albinus@gmx.de>
4187
4188 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4189 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4190
4191 * net/trampver.el: Update release number.
4192
b796c9b7
SM
41932011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4196 "in" (bug#9190).
4197
2239d7d5
LMI
41982011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4199
e07dd7c3
LMI
4200 * mail/sendmail.el (sendmail-query-once): Restore the current
4201 buffer after querying (bug#9074).
4202
0e6a2bd7
LMI
4203 * dired.el (dired-flagged): Use different faces for marked and
4204 flagged files (bug#6117).
4205
ce887515
LMI
4206 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4207 (bug#4433).
4208
92f2affc
LMI
4209 * ido.el (ido-mode): Switch off the message if called
4210 non-interactively.
4211
57d5aff0
LMI
4212 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4213 before 587, since it appears that that's more likely to work for
4214 more people.
4215
98cd6c18 4216 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 4217 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
4218 exist.
4219
b96dec83
LMI
4220 * info.el: Remove the `Info-beginning-of-buffer' function
4221 (bug#8325).
4222
b796c9b7
SM
4223 * net/network-stream.el (network-stream-open-starttls):
4224 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 4225
d90e2ea0
MR
42262011-08-01 Martin Rudalics <rudalics@gmx.at>
4227
4228 * window.el (display-buffer-in-window): Don't set dedicated status
4229 of window here (Bug#9215).
4230 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4231 (display-buffer-pop-up-side-window)
b796c9b7 4232 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 4233
cca09170
SM
42342011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4237 before binding generated-autoload-file.
4238
027b979c
DD
42392011-08-01 Deniz Dogan <deniz@dogan.se>
4240
4241 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4242
3c7ee4f3
MA
42432011-07-30 Michael Albinus <michael.albinus@gmx.de>
4244
4245 Sync with Tramp 2.2.2.
4246
4247 * net/trampver.el: Update release number.
4248
2cc8e51a
JL
42492011-07-30 Juri Linkov <juri@jurta.org>
4250
4251 * dired-aux.el (dired-touch-initial): Remove function.
4252 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4253 current time, and `default' to the last modification time of the
4254 current marked file (bug#6887).
4255
a514d856
JM
42562011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4257
4258 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 4259 numeric argument to read-number (bug#9163).
a514d856 4260
8a7eddd7
MA
42612011-07-27 Michael Albinus <michael.albinus@gmx.de>
4262
4263 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4264 connection process, it could be nil.
4265
1ddd96f5
LL
42662011-07-27 Leo Liu <sdl.web@gmail.com>
4267
4268 Simplify url handling in rcirc-mode.
4269
4270 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4271 (rcirc-browse-url-at-mouse): Remove.
4272 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4273
b248a85d
AM
42742011-07-26 Alan Mackenzie <acm@muc.de>
4275
4276 Fontify bitfield declarations properly.
4277
4278 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4279 (c-symbol-chars): Now exported as a lang variable.
4280 (c-not-primitive-type-keywords): New lang variable.
4281
4282 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4283 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 4284 parsed as a bitfield declaration.
b248a85d 4285
b796c9b7
SM
4286 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4287 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
4288 (c-punctuation-in): New function.
4289 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4290 declarations properly.
4291
68575ab0
UJ
42922011-07-26 Ulf Jasper <ulf.jasper@web.de>
4293
4294 * calendar/icalendar.el (icalendar--all-events): Take care of
4295 multiple vcalendars in a single file.
b796c9b7 4296 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 4297
0f0a88b9
DD
42982011-07-25 Deniz Dogan <deniz@dogan.se>
4299
4300 * image.el (insert-image): Clarifying docstring.
4301
0b3f36df
MA
43022011-07-24 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4305 `tramp-send-command-and-check' if there is no error.
4306 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4307
a9901f61
AM
43082011-07-22 Alan Mackenzie <acm@muc.de>
4309
4310 Prevent cc-langs.elc being loaded at run time.
4311
4312 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4313 cc-langs.
4314
4d61f28d 4315 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
4316 "(require 'cc-langs)". Quote a form so it will evaluate at
4317 (cc-mode's) compilation time.
4318
11d074b2
MA
43192011-07-22 Michael Albinus <michael.albinus@gmx.de>
4320
4321 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4322 loading. (Bug#9114)
4323
938b94c8
MR
43242011-07-21 Martin Rudalics <rudalics@gmx.at>
4325
4326 * window.el (display-buffer-pop-up-window)
4327 (display-buffer-pop-up-side-window)
4328 (display-buffer-in-side-window): Call display-buffer-set-height
4329 and display-buffer-set-width after setting the new window's
b796c9b7 4330 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 4331
bfa4f190
SS
43322011-07-20 Sam Steingold <sds@gnu.org>
4333
4334 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4335 (etags-tags-included-tables): Call `convert-standard-filename' on
4336 the file names contained in TAGS so that windows Emacs can handle
4337 TAGS files created by cygwin ctags.
4338
8ca42262
LMI
43392011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4340
4341 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4342 which apparently didn't work.
4343
5db2afd2 43442011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 4345
5db2afd2
RW
4346 * proced.el (proced-send-signal): For *Marked Processes* buffer
4347 put point at beginning of buffer.
4348
92e15d10
SB
43492011-07-19 Stephen Berman <stephen.berman@gmx.net>
4350
4351 * proced.el (proced-format): Make header lines align with the text
4352 (bug#1779).
4353
1bfd59e5
LMI
43542011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4355
4356 * view.el (view-buffer): Allow running in `special' modes if we're
4357 visiting a file (bug#8615).
4358
f5aae37c
MR
43592011-07-19 Martin Rudalics <rudalics@gmx.at>
4360
4361 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
4362 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4363 New functions.
f5aae37c
MR
4364 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4365 more accurately.
4366
bf2c1571
AM
43672011-07-18 Alan Mackenzie <acm@muc.de>
4368
4369 Fontify declarators properly when, e.g., a jit-lock chunk begins
4370 inside a declaration.
4371
4372 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4373
b796c9b7
SM
4374 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4375 New function.
bf2c1571
AM
4376 (c-complex-decl-matchers): Insert reference to
4377 c-font-lock-enclosing-decls.
4378
4379 * progmodes/cc-engine.el (c-backward-single-comment):
4380 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4381 to nil around calls to (forward-comment -1).
4382
4e190b80
LMI
43832011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4384
12dc863d
LMI
4385 * image.el (put-image): Doc typo fix.
4386
a762e966
LMI
4387 * progmodes/etags.el (tags-search): Doc typo fix.
4388
4e190b80
LMI
4389 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4390 password if we get errors 550 to 554.
4391
f019fb21
LMI
43922011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4393
b796c9b7 4394 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 4395
81746738
LMI
4396 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4397 indentation character (bug#6380).
4398
3ee3a1b5
LMI
4399 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4400
c82f64de
LMI
4401 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4402 to clarify what the problem is (bug#4291).
4403
f019fb21
LMI
4404 * simple.el (current-kill): Clarify what
4405 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
4406 (auto-fill-mode): Document `auto-fill-function' in relation to
4407 `auto-fill-mode' (bug#2470).
f019fb21 4408
0794775d
LM
44092011-07-16 Lawrence Mitchell <wence@gmx.li>
4410
4411 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4412 method if slot is read-only (bug#9035).
4413
be39b8cc
MR
44142011-07-16 Martin Rudalics <rudalics@gmx.at>
4415
b796c9b7 4416 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 4417 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
4418 selected before, see discussion of (Bug#8615), (Bug#6954).
4419 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 4420
6ccf7859
GM
44212011-07-15 Glenn Morris <rgm@gnu.org>
4422
4423 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 4424 Respect help-form.
6ccf7859 4425
87e86684
LM
44262011-07-09 Lawrence Mitchell <wence@gmx.li>
4427
4428 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4429 (gnutls-negotiate): Use it.
4430
d6066239
LMI
44312011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4432
b796c9b7
SM
4433 * net/gnutls.el (gnutls-negotiate):
4434 Upcase `gnutls-algorithm-priority'.
d6066239 4435
bd23ebc0
GM
44362011-07-15 Glenn Morris <rgm@gnu.org>
4437
c65bca65
GM
4438 * jka-compr.el (jka-compr-verbose): Move from here...
4439 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4440 Add missing :version tag.
4441 * info.el: No need to require jka-compr when compiling.
bd23ebc0 4442
478615cc
LMI
44432011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4444
7b41decb
LMI
4445 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4446 (gnutls-negotiate): Use it.
4447
dbc44fcd
LMI
4448 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4449
06789f97
LMI
4450 * info.el (Info-beginning-of-buffer): New command.
4451 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4452 announcing `b' as the key (bug#8325).
ab896c37 4453 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 4454
c39da690
LMI
4455 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4456
3aa5f34b
LMI
4457 * international/mule-cmds.el
4458 (describe-specified-language-support): Make the error message
4459 clearer (bug#8905).
4460
4bf0979f
LMI
4461 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4462
478615cc
LMI
4463 * isearch.el (isearch-barrier): Add a doc string, since it's
4464 mentioned in a function doc string (bug#8678).
4465
75c68aa1
MR
44662011-07-15 Martin Rudalics <rudalics@gmx.at>
4467
4468 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4469 buffer argument (Bug#9083) and self-identifying label argument.
4470
a7c33da2
GM
44712011-07-15 Glenn Morris <rgm@gnu.org>
4472
4473 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4474
2f5c6024
LMI
44752011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4476
4477 * man.el (Man-fontify-manpage): Fix message when formatting the
4478 man page (bug#7929).
4479
0bb23927 44802011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
4481
4482 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4483 argument LRM; if non-nil, append an invisible LRM character to the
4484 buffer name.
4485 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4486 last argument non-nil, when formatting buffer names.
0bb23927
EZ
4487 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4488 paragraph direction.
cce4b0a7 4489
621ef9ab
LMI
44902011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4491
d1583c48
LMI
4492 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4493 the man page name (bug#7929).
4494
6a57fb5f
LMI
4495 * image.el (put-image): Mention the `put-image' overlay property
4496 (bug#7834).
4497
d7956b14
LMI
4498 * scroll-bar.el (set-scroll-bar-mode): Mention that
4499 `scroll-bar-mode' lists the values (bug#7772).
4500
5b2d4a66
LMI
4501 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4502 command (bug#7729).
4503
7509a874
LMI
4504 * rect.el (apply-on-rectangle): Return the point after the last
4505 operation.
4506 (string-rectangle): Go to the point after the last operation
4507 (bug#7522).
4508
4fe74b19
LMI
4509 * printing.el (pr-toggle-region): Clarify the documentation
4510 slightly (bug#7493).
4511
b796c9b7
SM
4512 * time.el (display-time-update):
4513 Allow `display-time-mail-function' to return nil (bug#7158).
4514 Fix suggested by Detlev Zundel.
ab283561 4515
fc233c9d
LMI
4516 * vc/diff.el (diff): Clarify the order the file names are read
4517 (bug#7111).
4518
43f5740b
LMI
4519 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4520 the doc string (bug#7015).
4521
f2182a76
LMI
4522 * font-lock.el (font-lock-maximum-decoration): Mention what
4523 numeric levels mean (bug#6935).
4524
621ef9ab
LMI
4525 * startup.el (initial-buffer-choice): Don't mention the `none'
4526 selection, which is against policy.
4527
adc47434
MR
45282011-07-14 Martin Rudalics <rudalics@gmx.at>
4529
b796c9b7
SM
4530 * window.el (display-buffer-normalize-special):
4531 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 4532
7e5bfb8f
EZ
45332011-07-14 Eli Zaretskii <eliz@gnu.org>
4534
4535 * subr.el (version<, version<=, version=): Mention "-CVS" and
4536 "-12345" alpha version numbers.
4537
27fa387a
CY
45382011-07-14 Chong Yidong <cyd@stupidchicken.com>
4539
4540 * bindings.el: Add advertised binding for set-mark-command
4541 (Bug#5772).
4542
8bdfa064
CY
45432011-07-14 Chong Yidong <cyd@stupidchicken.com>
4544
4545 * bindings.el (mode-line-other-buffer):
4546 * bookmark.el (bookmark-bmenu-2-window):
4547 * bs.el (bs-cycle-next, bs-cycle-previous):
4548 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4549 switch-to-buffer.
4550
4551 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 4552 Delete.
8bdfa064 4553
5eba16a3
JB
45542011-07-14 Juanma Barranquero <lekktu@gmail.com>
4555
4556 * follow.el (follow-debug-message, follow-redisplay):
4557 * jka-cmpr-hook.el (with-auto-compression-mode):
4558 Fix typos in docstrings.
4559
15853710
LMI
45602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4561
a28e4607
LMI
4562 * subr.el (with-silent-modifications): Clarify somewhat what the
4563 macro inhibits (bug#6525).
4564
15853710
LMI
4565 * simple.el (eval-expression): Note what it does if called
4566 interactively (bug#6495).
4567
bee0fcef
CY
45682011-07-13 Chong Yidong <cyd@stupidchicken.com>
4569
b796c9b7
SM
4570 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4571 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
4572
4573 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4574 Remove switch-to-buffer.
4575
58274504
LMI
45762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4577
bd2fcc8d
LMI
4578 * files.el (make-directory): Clarify that an error will be raised
4579 if there's an error (bug#6397).
4580
0f04b32c
LMI
4581 * startup.el (initial-buffer-choice): Add `none' as a choice
4582 (bug#6234).
4583
465c5fc8
LMI
4584 * subr.el (add-hook): Clarify section about buffer-local hooks
4585 (bug#6218).
4586
58274504
LMI
4587 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4588
bead9a43
JB
45892011-07-13 Juanma Barranquero <lekktu@gmail.com>
4590
4591 * tabify.el (untabify): Preserve the current column so that point
4592 doesn't move (bug#6032).
4593
3af98a7b
LMI
45942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4595
b796c9b7
SM
4596 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4597 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 4598
6240145a
GM
45992011-07-13 Glenn Morris <rgm@gnu.org>
4600
4601 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4602 (dired-insert-directory): Give a message the first time
4603 if ls is found not to support --dired.
4604
1d8c2ccc
LMI
46052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4606
4607 * simple.el (toggle-truncate-lines): Clarify what is toggled
4608 (bug#5580). Text by Drew Adams.
4609
5fc4038e
CY
46102011-07-13 Chong Yidong <cyd@stupidchicken.com>
4611
4612 * simple.el (blink-matching-open): Make the error message from the
4613 last change less verbose.
4614
bf6012e5
DN
46152011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4616
4617 * font-lock.el (font-lock-comment-face): Use the high contrast
4618 "yellow" color for font-lock-comment-face on low color terminals
4619 using a dark background color (bug#4221).
4620
343c3b5a
LMI
46212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4622
7e9505c5
LMI
4623 * dired.el (dired-insert-set-properties): Make the doc string
4624 reflect what it does now (bug#5325).
4625
c26fdcf5
LMI
4626 * simple.el (blink-matching-open): Say that we were unable to find
4627 the match within the limit, if we're limited (bug#5122).
4628
bb388cc5
LMI
4629 * international/mule-cmds.el (prefer-coding-system): Add an
4630 example (bug#4869).
4631
343c3b5a
LMI
4632 * progmodes/etags.el (tags-search): Document `file-list-form'
4633 (bug#4731).
4634
2a517d45
LM
46352011-07-13 Lawrence Mitchell <wence@gmx.li>
4636
4637 * net/browse-url.el (browse-url-default-browser)
4638 (browse-url-browser-function): Make the default browser choice a
4639 bit more logical (bug#4300). Also clean up the doc string.
4640
b6c78ef2
JB
46412011-07-13 Juanma Barranquero <lekktu@gmail.com>
4642
4643 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4644 binary endings (bug#4440).
4645
1c4dd947
LMI
46462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4647
a2014063
LMI
4648 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4649 which can be pretty annoying (bug#8971).
4650
9c9c2d88
LMI
4651 * jka-compr.el (jka-compr-verbose): New variable, and use
4652 throughout (bug#8971).
4653
1c4dd947
LMI
4654 * info.el (Info-find-file): Fall back on the installation
4655 directory if we can't find the info node anywhere else.
4656
a1c9f41b
SO
46572011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4658
4659 * vc/vc.el (vc-revert-file):
4660 Don't set file time-stamp in the past. (Bug#5181)
4661
536f3d36
LMI
46622011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4663
7152b011
LMI
4664 * files.el (after-find-file): Give a better error message when
4665 trying to find a symlink that points to a file that doesn't exist
4666 (bug#4398).
4667
536f3d36
LMI
4668 * progmodes/cc-vars.el: Remove (probably) misleading comment
4669 (bug#4396).
4670
460c0fba
JB
46712011-07-12 Johan Bockgård <bojohan@gnu.org>
4672
4673 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4674
7a6bda45
CY
46752011-07-12 Chong Yidong <cyd@stupidchicken.com>
4676
4677 * mouse-sel.el: Hack restoring functionality, while keeping
4678 compatibility with 2010-07-03 changes to mouse selection.
4679 (mouse-sel-primary-overlay): New var.
4680 (mouse-sel-selection-alist): Use it.
4681 (mouse-sel-mode): Doc fix; remove points that are default features
4682 of mouse.el.
4683
c79598ef
JB
46842011-07-12 Johan Bockgård <bojohan@gnu.org>
4685
4686 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4687 Fix previous fix (bug#2490).
4688
ff8be6ef
RW
46892011-07-12 Roland Winkler <winkler@gnu.org>
4690
b796c9b7
SM
4691 * textmodes/bibtex.el (bibtex-initialize):
4692 Use pop-to-buffer-same-window.
ff8be6ef
RW
4693 (bibtex-search-entries): Fix interactive call.
4694
296ba3ee
LMI
46952011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4696
f5242a02 4697 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
4698 Fontise bytecomp Error lines more correctly (bug#2490).
4699 Fix suggested by Johan Bockgård.
f5242a02 4700
296ba3ee
LMI
4701 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4702
4703 * dired-x.el (dired-guess-default): Use `delete-dups'.
4704
f69fd0d2
CY
47052011-07-12 Chong Yidong <cyd@stupidchicken.com>
4706
4707 * dired.el (dired-mark-prompt):
4708 * dired-aux.el (dired-read-shell-command): Doc fix.
4709
eab5dc07
LMI
47102011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4711
b796c9b7
SM
4712 * mail/sendmail.el (sendmail-query-once):
4713 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
4714 emacs -Q.
4715
4716 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4717
eab5dc07
LMI
4718 * cus-edit.el (custom-file): Take an optional no-error variable.
4719 (customize-save-variable): Set the variable, and give a warning if
4720 running under "emacs -q".
4721
a1e65d42
JB
47222011-07-11 Juanma Barranquero <lekktu@gmail.com>
4723
4724 * loadhist.el (unload-feature-special-hooks):
4725 Add `auto-coding-functions', `fill-nobreak-predicate' and
4726 `find-directory-functions' (bug#5327).
4727
1d52da10
LMI
47282011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4729
be958f1d
LMI
4730 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4731
5bedb26c
LMI
4732 * cus-edit.el (custom-guess-name-alist): -alist variables should
4733 use the `alist' type (bug#3120). Suggested by Drew Adams.
4734
1d52da10
LMI
4735 * printing.el: Add documentation to all the `pr-toggle-' commands.
4736
cd394be1 47372011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
4738
4739 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4740 backends where it makes sense (bug#2623).
4741
dcc88d8a
LMI
47422011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4743
c3de9feb
LMI
4744 * dired-x.el (dired-guess-default): Remove duplicate shell command
4745 entries (bug#2028).
8a93078b 4746 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 4747 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 4748
dcc88d8a
LMI
4749 * subr.el (remove-duplicates): New conveniency function.
4750
505e3645
LMI
47512011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4752
4753 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4754 (bug#1526).
4755
47562011-07-10 Martin Rudalics <rudalics@gmx.at>
4757
4758 * window.el (display-buffer-normalize-default): Don't invert
4759 meaning of even-window-heights. Reported by Eli Zaretskii
4760 <eliz@gnu.org>.
4761
455e4fa1
BR
47622011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4763
4764 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4765
8e0bc3e9
CY
47662011-07-10 Chong Yidong <cyd@stupidchicken.com>
4767
4768 * window.el (display-buffer): Fix arguments to
4769 display-buffer-reuse-window in last change.
4770
fa7c3228
CY
4771 * faces.el (link): Use a less saturated blue on light backgrounds.
4772
4773 * startup.el (fancy-startup-text, fancy-about-text)
4774 (fancy-startup-tail): Use font-lock faces, for background safety.
4775
c0a7f300
BN
47762011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4777
b796c9b7
SM
4778 * emulation/viper-cmd.el (viper-change-state-to-vi):
4779 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 4780
4dc2a129
MR
47812011-07-09 Martin Rudalics <rudalics@gmx.at>
4782
4783 * window.el (display-buffer-default-specifiers): Remove.
4784 (display-buffer-macro-specifiers): Remove default specifiers.
4785 (display-buffer-alist): Default to nil.
b796c9b7 4786 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
4787 (display-buffer-pop-up-window): Allow splitting internal
4788 windows. Check whether a live window was created.
4789 (display-buffer-other-window-means-other-frame)
4790 (display-buffer-normalize-arguments): Rename to
4791 display-buffer-normalize-argument and rewrite. Set the
4792 other-window specifier.
4793 (display-buffer-normalize-special): New function.
4794 (display-buffer-normalize-options): Rename to
4795 display-buffer-normalize-default and rewrite.
4796 (display-buffer-normalize-options-inhibit): Remove.
4797 (display-buffer-normalize-specifiers): Rewrite.
4798 (display-buffer): Process other-window specifier and call
4799 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4800 more faithfully.
b796c9b7 4801 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 4802 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
4803 (display-buffer-in-window, display-buffer-alist-set):
4804 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
4805 <tassilo@member.fsf.org>.
4806
2d43b8c9
LL
48072011-07-09 Leo Liu <sdl.web@gmail.com>
4808
4809 * register.el (insert-register): Restore accidental change on
4810 2011-06-26. (Bug#9028)
4811
7f9b7c53
GM
48122011-07-09 Glenn Morris <rgm@gnu.org>
4813
4814 * subr.el (remq): Handle the empty list. (Bug#9024)
4815
f042cfd8
AS
48162011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4817
4818 * mail/sendmail.el (send-mail-function): No longer delay custom
4819 initialization.
4820 * custom.el (custom-initialize-delay): Doc fix.
4821
856b2f11
SM
48222011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4825
afae1d68
MA
48262011-07-08 Michael Albinus <michael.albinus@gmx.de>
4827
4828 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4829 human-friendly prompt.
4830
0757af94
SM
48312011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4834 provided by a particular plugin.
4835
d760b731
LMI
48362011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4837
4838 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4839 save customizations (with "emacs -Q"), just set the variable
4840 instead of erroring out.
4841
4842 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4843
cd79ce90
JL
48442011-07-08 Juri Linkov <juri@jurta.org>
4845
4846 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4847 (archive-zip-update-case): Use 7z if found by `executable-find'.
4848 The order of searching the available programs is the same as in
4849 `archive-zip-extract' (bug#8968).
4850
14cc04aa
CY
48512011-07-07 Chong Yidong <cyd@stupidchicken.com>
4852
4853 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4854 (menu-bar-options-menu): Tweak descriptions.
4855
0a1848ec
LMI
48562011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4857
4858 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4859 menu items into verb phrases (bug#1421). Also refill to fit under
4860 80 columns.
4861
f5bd0689
CY
48622011-07-07 Chong Yidong <cyd@stupidchicken.com>
4863
538e85c6
CY
4864 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4865 (Info-read-node-name): Doc fix (Bug#1084).
4866
f5bd0689
CY
4867 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4868 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4869 (end-of-sexp, beginning-of-sexp)
4870 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4871 (forward-symbol, forward-same-syntax, word-at-point)
4872 (sentence-at-point): Doc fix (Bug#1144).
4873
56ec5115
LMI
48742011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4875
f3f8e37f
LMI
4876 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4877 should cover it (bug#1281).
4878
0757af94 4879 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 4880
e9fce1ac 4881 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
4882 negotiation fails, then possibly try again with a non-encrypted
4883 connection (bug#9017).
4884
56ec5115
LMI
4885 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4886 be used.
4887
c2f9aec8
RS
48882011-07-07 Richard Stallman <rms@gnu.org>
4889
4890 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4891 property, and handle its changed format.
4892 Look for the correct line number.
4893 Use file's line contents (but not past first =) to find
4894 correct line in message.
4895
ef7b981d 48962011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
4897
4898 * international/characters.el (build-unicode-category-table):
4899 Delete it.
0757af94 4900 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 4901
0757af94 4902 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
4903 to src/chartab.c.
4904 (get-char-code-property): Call unicode-property-table-internal to
4905 load a file. Call get-unicode-property-internal where necessary.
4906 (put-char-code-property): Call unicode-property-table-internal to
4907 load a file. Call put-unicode-property-internal where necessary.
4908 put-unicode-property-internal where necessary.
0757af94
SM
4909 (char-code-property-description):
4910 Call unicode-property-table-internal to load a file.
c805dec0
KH
4911
4912 * international/charprop.el:
4913 * international/uni-bidi.el:
4914 * international/uni-category.el:
4915 * international/uni-combining.el:
4916 * international/uni-comment.el:
4917 * international/uni-decimal.el:
4918 * international/uni-decomposition.el:
4919 * international/uni-digit.el:
4920 * international/uni-lowercase.el:
4921 * international/uni-mirrored.el:
4922 * international/uni-name.el:
4923 * international/uni-numeric.el:
4924 * international/uni-old-name.el:
4925 * international/uni-titlecase.el:
4926 * international/uni-uppercase.el: Regenerate.
4927
4928 * loadup.el: Load international/charprop.el before
4929 international/characters.
4930
e14b388a
CY
49312011-07-07 Chong Yidong <cyd@stupidchicken.com>
4932
4933 * window.el (next-buffer, previous-buffer): Signal an error if
4934 called from a minibuffer window.
4935
4936 * bindings.el: Revert 2011-07-04 change.
4937
354cf0ba
RS
49382011-07-06 Richard Stallman <rms@gnu.org>
4939
4940 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4941 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4942 Treat markers like ints.
4943 (rmail-mime-entity): Doc fix.
4944
a48868a7
LMI
49452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4946
4906cd3d
LMI
4947 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4948 defcustom again for backwards compatibility.
4949
e0457abe
LMI
4950 * simple.el (shell-command-on-region): Fill.
4951
d67f7e1f
LMI
4952 * dired-aux.el (dired-kill-line): Add a doc string.
4953
fe204702
LMI
4954 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4955 to "\\sw\\|\\s_" (bug#358).
4956
a48868a7
LMI
4957 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4958 (dired-unmark-backward): Ditto.
4959 (dired-flag-backup-files): Ditto.
4960
4961 * dired-x.el (dired-mark-sexp): Ditto.
4962
aa8a705c
RS
49632011-07-06 Richard Stallman <rms@gnu.org>
4964
4965 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4966 (rmail-mime-entity): New arg TRUNCATED.
4967 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4968 New functions.
4969 (rmail-mime-save): Warn if entity is truncated.
4970 (rmail-mime-toggle-hidden): Likewise, for showing.
4971 (rmail-mime-process-multipart): Record when an entity is truncated.
4972
a9a936b9
RS
4973 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4974 if ENTITY is a string.
4975
1f2b92cb
LMI
49762011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977
f4f73198 4978 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
4979 of faces when `M-C-x'-ing their definitions (bug#8378).
4980 Also clean up the code slightly.
f4f73198 4981
12b16734 4982 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 4983 because that makes the colors go away.
12b16734 4984
f0691d22
LMI
4985 * mail/sendmail.el (send-mail-function): Change the default to
4986 `sendmail-query-once'.
9e87df06 4987 (sendmail-query-once): Add an autoload cookie.
f0691d22 4988
1f2b92cb
LMI
4989 * net/network-stream.el (network-stream-open-starttls): Try using
4990 a plain connection even if the server offered STARTTLS, and we
4991 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4992 capability. This should make smtpmail.el work in slightly more
4993 configurations.
4994
1cdd2a1b
MA
49952011-07-06 Michael Albinus <michael.albinus@gmx.de>
4996
4997 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4998 New defun.
4999 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5000
fbcc67e2
MM
50012011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5002
5003 * progmodes/sql.el: Version 3.0
0757af94 5004 (sql-product-alist): Add product :completion-object,
fbcc67e2 5005 :completion-column, and :statement attributes.
0757af94 5006 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5007 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5008 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5009 ansi keywords.
5010 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5011 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5012 (sql-oracle-show-reserved-words): New function for development.
5013 (sql-product-font-lock): Simplify for source code buffers.
5014 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5015 New functions.
5016 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5017 (sql-mode-map): Add statement movement functions.
5018 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5019 New variable.
fbcc67e2
MM
5020 (sql-statement-regexp, sql-beginning-of-statement)
5021 (sql-end-of-statement, sql-signum): New functions.
0757af94 5022 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5023 (sql-show-sqli-buffer): Bug fix.
5024 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5025 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5026 with sql-interactive-mode.
5027 (sql-save-connection): Save buffer local settings.
0757af94 5028 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5029 (sql-product-interactive): Bug fix.
5030 (sql-preoutput-hold): New variable.
5031 (sql-interactive-remove-continuation-prompt): Bug fixes.
5032 (sql-debug-redirect): New variable.
5033 (sql-str-literal): New function.
5034 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5035 Redesign.
fbcc67e2
MM
5036 (sql-oracle-save-settings, sql-oracle-restore-settings)
5037 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5038 (sql-completion-object, sql-completion-column)
5039 (sql-completion-sqlbuf): New variables.
5040 (sql-build-completions-1, sql-build-completions)
5041 (sql-try-completion): New functions.
5042 (sql-read-table-name): Use them.
5043 (sql-contains-names): New buffer local variable.
5044 (sql-list-all, sql-list-table): Use it.
5045 (sql-oracle-completion-types): New variable.
5046 (sql-oracle-completion-object, sql-sqlite-completion-object)
5047 (sql-postgres-completion-object): New functions.
5048
d4eaeab1
GM
50492011-07-06 Glenn Morris <rgm@gnu.org>
5050
5051 * window.el (pop-to-buffer): Doc fix.
5052
322b7dab 50532011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
5054
5055 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5056
322b7dab 50572011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 5058
322b7dab 5059 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 5060
322b7dab 5061 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 5062
605dd5bf
CY
50632011-07-05 Chong Yidong <cyd@stupidchicken.com>
5064
5065 * button.el (button): Inherit from link face. Suggested by Dan
5066 Nicolaescu.
5067
7dbfa719
SM
50682011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5069
3db614b0
SM
5070 * progmodes/gdb-mi.el: Fit in 80 columns.
5071 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5072 switch-to-buffer.
5073
7dbfa719
SM
5074 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5075 if imenu is simply not configured (bug#8941).
5076
919d884a
KM
50772011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5078
5079 * allout.el (allout-post-undo-hook): New allout outline-change
5080 event hook to signal undo activity.
5081 (allout-post-command-business): Run allout-post-undo-hook if an
5082 undo just occurred.
7dbfa719
SM
5083 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5084 * allout-widgets.el (allout-widgets-after-undo-function):
5085 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
5086 in the vicinity of an undo.
5087 (allout-widgets-mode): Include allout-widgets-after-undo-function
5088 on the new allout-post-undo-hook.
5089
450a0f09
SM
50902011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5093 Let define-derived-mode define it.
5094 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5095 cycles of abbrev-table inheritance (bug#8998).
5096
2de69e00
RW
50972011-07-05 Roland Winkler <winkler@gnu.org>
5098
5099 * textmodes/bibtex.el: Add support for biblatex.
5100 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5101 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5102 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5103 (bibtex-entry-alist, bibtex-field-alist): New variables.
5104 (bibtex-entry-field-alist): Obsolete alias for
5105 bibtex-BibTeX-entry-alist.
5106 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5107 (bibtex-set-dialect): New command.
5108 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
5109 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5110 Bind via bibtex-set-dialect.
2de69e00
RW
5111 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5112 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5113 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5114 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5115 Define via bibtex-set-dialect.
450a0f09
SM
5116 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5117 Obey bibtex-no-opt-remove-re.
2de69e00
RW
5118 (bibtex-vec-push, bibtex-vec-incr): New functions.
5119 (bibtex-format-entry, bibtex-field-list)
5120 (bibtex-print-help-message, bibtex-validate)
5121 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5122
2dcdbdd9
SM
51232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * progmodes/compile.el (compilation-goto-locus):
5126 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5127 * bs.el (bs-cycle-next, bs-cycle-previous):
5128 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5129 * bindings.el (mode-line-other-buffer):
5130 * autoinsert.el (auto-insert):
5131 * arc-mode.el (archive-extract):
5132 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5133
b27640fe
JB
51342011-07-05 Juanma Barranquero <lekktu@gmail.com>
5135
5136 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5137 Fix check of `emacs-lock-unlockable-modes'.
5138 Coerce true values of `emacs-lock--try-unlocking' to t.
5139
53bbe3ad
JB
51402011-07-05 Juanma Barranquero <lekktu@gmail.com>
5141
5142 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5143 * emacs-lock.el: New file.
5144
1d3cdbc7
JD
51452011-07-05 Julien Danjou <julien@danjou.info>
5146
5147 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5148 than `boundp' to check if face is set.
5149
9173deec
JB
51502011-07-05 Juanma Barranquero <lekktu@gmail.com>
5151
5152 * register.el (registerv-make):
5153 * window.el (window-min-height): Fix typos in docstrings.
5154
869795d6
JD
51552011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5156
9173deec 5157 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
5158 Update doc string.
5159
b768cdcd
JB
51602011-07-04 Juanma Barranquero <lekktu@gmail.com>
5161
5162 * server.el (server-execute): Catch quit and call
5163 `server-return-error' to pass the error back to emacsclient and
5164 close the connection (bug#8942).
5165
13aa217b
KM
51662011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5167
5168 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5169 insecure exception for current topic. Also note that auto-saves
5170 are handled differently.
5171
5172 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5173 State variables for tracking auto-save inhibition situation.
5174
5175 (allout-write-contents-hook-handler): Rename from
5176 'allout-write-file-hook-handler', and describe how it depends on
5177 write-contents-functions sensitivity to non-nil value to prevent
5178 file write.
5179
5180 (allout-auto-save-hook-handler): Remove. auto-save does not check
5181 this in individual buffers, only in the starting buffer, so this
5182 is not the right way for us to inhibit auto-save in a buffer
5183 according to its condition.
5184
5185 (allout-mode): Use new allout-write-contents-hook-handler, and
5186 only with write-contents-functions. Remove auto-save provisions -
5187 they're implemented elsewhere.
5188
5189 (allout-before-change-handler): If undo is in progress, note that
5190 for attention of allout-post-command-business.
5191
5192 (allout-post-command-business): If the command we're following was
5193 an undo, check for change in the status of encrypted items and
5194 adjust auto-save inhibitions accordingly.
5195
5196 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5197 according to whether there are or aren't any plain-text topics
5198 pending encryption.
5199
2dcdbdd9 5200 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
5201 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5202 if there are plain-text topics pending encryption.
13aa217b
KM
5203
5204 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5205 buffer-saved-size and some allout state to not inhibit auto-saves
5206 if there are no longer any plain-text topics pending encryption.
5207
0757af94
SM
5208 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5209 No longer provide for exemption of the current topic.
13aa217b 5210
ac89b32c
JL
52112011-07-04 Juri Linkov <juri@jurta.org>
5212
5213 Add 7z operations to delete and save changed members (bug#8968).
5214 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5215 New defcustoms.
5216 (archive-7z-write-file-member): New function.
5217 (archive-7z-summarize): Fix the number of dashes in the
5218 listing output.
5219
8fa39615
SM
52202011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5221
5222 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5223 (bug#8958).
5224
2f11b3f1
CY
52252011-07-04 Chong Yidong <cyd@stupidchicken.com>
5226
d66fef2b
CY
5227 * bindings.el: Ignore next-buffer and previous-buffer in
5228 minibuffer-local-map.
5229
2f11b3f1
CY
5230 * font-lock.el (font-lock-builtin-face): Change light background
5231 color to dark slate blue (Bug#6693).
5232
f932a347
WD
52332011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5234
5235 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5236
c8af70e1
SM
52372011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5240 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5241 Add switch-to-buffer.
5242
f158badc
LMI
52432011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5244
5245 * isearch.el (isearch-search-fun-function): Clarify further the
5246 meaning of the function returned.
5247
6d95bd46
MA
52482011-07-04 Michael Albinus <michael.albinus@gmx.de>
5249
5250 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5251
5252 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5253 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5254 Use it.
5255 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5256 `tramp-default-remote-path' does not exist.
5257 (tramp-send-command-and-read): New optional argument NOERROR.
5258 (tramp-open-connection-setup-interactive-shell)
5259 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5260 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5261 (tramp-process-sentinel): Flush also process' connection property.
5262 (tramp-sh-handle-start-file-process): Do not set process
5263 sentinel. It is done now ...
5264 (tramp-maybe-open-connection): ... here. (Bug#8929)
5265
909e6b67
MK
52662011-07-04 MON KEY <monkey@sandpframing.com>
5267
5268 * play/animate.el (animate-string): Doc fixes and allow changing
5269 the buffer name (bug#5417).
5270
52712011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5272
c8af70e1 5273 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 5274
f34755dc
PE
52752011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5276
396cec72
PE
5277 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5278 This is simpler and helps future-proof the code.
5279 (timer-until): Use time-subtract and float-time.
08235028 5280 (timer--time-less-p): Use time-less-p.
f34755dc 5281
56e6cc31
JB
52822011-07-04 Juanma Barranquero <lekktu@gmail.com>
5283
3abb79e5
JB
5284 * type-break.el (timep): Use the value of `float-time' to avoid a
5285 byte-compiler warning.
5286
56e6cc31
JB
5287 * server.el (server-eval-and-print): Return any result, even nil.
5288
7b9430b4
PE
52892011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5290
5291 * type-break.el: Accept time formats that the builtins accept.
5292 (timep, type-break-time-difference): Accept any format that
5293 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5294 This is simpler and helps future-proof the code.
5295 (type-break-time-difference): Round rather than ignoring
5296 subseconds components.
5297
3034e9e7
LMI
52982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5299
5300 * info.el (Info-apropos-matches): Make non-interactive, since it
5301 doesn't seem to do anything useful as a command (bug#8829).
5302
1485f4c0
CY
53032011-07-03 Chong Yidong <cyd@stupidchicken.com>
5304
5305 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 5306 Move from faces.el.
1485f4c0
CY
5307 (frame-default-terminal-background): New function.
5308
5309 * custom.el (custom-push-theme): Don't record faces in `changed'
5310 theme; this doesn't work correctly for per-frame face settings.
5311 (disable-theme): Use face-set-after-frame-default to reset faces.
5312 (custom--frame-color-default): New function.
5313
9fa3dd45
LMI
53142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5315
c8af70e1 5316 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
5317 (bug#8769).
5318
6cbbc20c
KR
53192011-03-29 Kevin Ryde <user42@zip.com.au>
5320
5321 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5322 `perl-Test2' extend to match possible "fail #N" rep count
5323 (bug#8377).
5324
c7f98048
LMI
53252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5326
65676592
LMI
5327 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5328 `smtpmail-via-smtp' now returns the error instead of nil.
5329
c7f98048
LMI
5330 * isearch.el (isearch-search-fun-function): Clarify the doc string
5331 (bug#8101).
5332
56e6cc31 53332011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
5334
5335 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5336 unnecessary spaces (bug#8987).
5337
2b216704
LMI
53382011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5339
5340 * net/network-stream.el (open-network-stream): Use the
5341 :end-of-capability command thoughout.
5342
53432011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5344
5345 * net/network-stream.el (open-network-stream): Add the
5346 :end-of-capability command parameter, used by pop3.el.
5347
36adf6ce
LMI
53482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5349
1ca0da0e
LMI
5350 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5351
fc00f69c
LMI
5352 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5353 for list)" (bug#6475).
5354
28fd8759 5355 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 5356 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
5357 an error (bug#6297).
5358
0dd8b6da
LMI
5359 * man.el (Man-reference-regexp): Allow matching possible
5360 word-wrapped references (bug#6289).
5361
ce1438d6
LMI
5362 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5363 for consistency with the other vc buffers (bug#6197).
5364 (vc-checkin): Ditto.
5365
5366 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5367
36adf6ce
LMI
5368 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5369
e83cc1f7
LMI
53702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5371
8a20ca4c
LMI
5372 * custom.el (defcustom): Clarify that :set is only used in the
5373 Customize user interface (bug#6089).
5374
83319045
LMI
5375 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5376 associated with a file, refuse to run instead of erroring out
5377 (bug#6084).
5378
a8392169
LMI
5379 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5380 the doc string, since it appears that using `fill-column' always
5381 controls the width (bug#7845).
5382
e83cc1f7
LMI
5383 * simple.el (shell-command-on-region): Say where the error output
5384 went if `shell-command-default-error-buffer' is set (bug#6857).
5385
e47ca23b
KM
53862011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5387
5388 * allout.el (allout-yank-processing): Adjust cursor position for
5389 backwards-deleted space.
5390
5391 (allout-rebullet-heading): Register changes with
5392 allout-exposure-changed-hook, so the modified topic is properly
5393 decorated.
5394
5cf56143
LMI
53952011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5396
08549772
LMI
5397 * minibuffer.el (completion-in-region): Document PREDICATE
5398 (bug#7136).
5399
48e96771
LMI
5400 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5401 of keyword/argument pairs (bug#6904).
5402
c8af70e1
SM
5403 * replace.el (multi-occur):
5404 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 5405
e17d05e2
LMI
54062011-07-02 Drew Adams <drew.adams@oracle.com>
5407
5408 * dired.el (dired-mark-if): Make the message about whether it's
5409 marking or unmarking clearer (bug#8523).
5410
063b0e45
LMI
54112011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5412
5413 * disp-table.el (display-table-print-array): New function.
5414 (describe-display-table): Use it to print the vectors more pretty
5415 (Bug#8859).
5416
28545e04
MR
54172011-07-02 Martin Rudalics <rudalics@gmx.at>
5418
5419 * window.el (window-state-get-1): Don't assign clone numbers.
5420 Add clone-of item to list of window parameters.
5421 (window-state-put-2): Don't process clone numbers.
5422 (display-buffer-alist): Fix doc-string.
5423
3349e122
SM
54242011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * subr.el (remq): Don't allocate if it's not needed.
5427 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5428 (keymap--merge-bindings): New functions.
5429 (keymap-canonicalize): Use them to refine the canonicalization.
5430 * minibuffer.el (minibuffer-local-completion-map)
5431 (minibuffer-local-must-match-map): Move initialization from C.
5432 (minibuffer-local-filename-completion-map): Move initialization from C;
5433 don't inherit from anything here.
5434 (minibuffer-local-filename-must-match-map): Make obsolete.
5435 (completing-read-default): Use make-composed-keymap to combine
5436 minibuffer-local-filename-completion-map with either
5437 minibuffer-local-must-match-map or
5438 minibuffer-local-filename-completion-map.
5439
d224ac83
GM
54402011-07-01 Glenn Morris <rgm@gnu.org>
5441
3de63bf8
GM
5442 * type-break.el (type-break-time-sum): Use dolist.
5443
d224ac83
GM
5444 * textmodes/flyspell.el (flyspell-word-search-backward):
5445 Replace CL function.
5446
1a1e3f32
SM
54472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5448
fe3f64d5
SM
5449 * mouse.el (mouse--strip-first-event): New function.
5450 (function-key-map): Use it to map fringe clicks to normal clicks
5451 by default.
5452
eb604e34
SM
5453 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5454 (vc-bzr-revision-completion-table): Add support for annotate and date.
5455
1a1e3f32
SM
5456 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5457 inherit from parent.
5458
5bd35902
LMI
54592011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5460
ace6c69c 5461 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 5462 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 5463
191e2bed
LMI
5464 * dired.el (dired-mode): Fix up the doc string as suggested by
5465 Drew Adams (bug#8817).
5466
5bd35902
LMI
5467 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5468 cookie, since the manual says that it should be possible to add
5469 this function to `find-file-hook' (bug#8709).
5470
eee8207a
TZ
54712011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5472
5473 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5474 here. Noted Ted Zlatanov as the maintainer.
5475 (cfengine-common-settings, cfengine-common-syntax): New functions
5476 to set up common things between `cfengine-mode' and
5477 `cfengine3-mode'.
5478 (cfengine3-mode): New mode.
5479 (cfengine3-defuns cfengine3-defuns-regex
5480 (cfengine3-class-selector-regex cfengine3-category-regex)
5481 (cfengine3-vartypes cfengine3-font-lock-keywords)
5482 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 5483 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 5484
36b148cf
MA
54852011-07-01 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5488
5489 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5490
0bf4ba9a
MR
54912011-07-01 Martin Rudalics <rudalics@gmx.at>
5492
5493 * window.el (same-window-buffer-names, same-window-regexps)
5494 (same-window-p, special-display-frame-alist)
5495 (special-display-popup-frame, special-display-function)
5496 (special-display-buffer-names, special-display-regexps)
5497 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5498 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5499 (split-window-preferred-function, split-height-threshold)
5500 (split-width-threshold, even-window-heights)
5501 (display-buffer-mark-dedicated, window-splittable-p)
5502 (split-window-sensibly, window-safely-shrinkable-p):
5503 Un-obsolete.
5504 (display-buffer): Don't spread args with function specifier
5505 because special-display-popup-frame won't like it.
5506
35837f51
PE
55072011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5508
d0672f86
PE
5509 Time-stamp simplifications and fixes.
5510 These improve accuracy slightly, and future-proof the code
5511 against some potential changes to current-time format.
5512
b9444d97
PE
5513 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5514 by using time-since and float-time.
5515
0ef923dc
PE
5516 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5517 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5518 + NNN microseconds".
5519
2f81380d
PE
5520 * type-break.el (type-break-time-sum): Rewrite using time-add.
5521
845b5c3e
PE
5522 * play/hanoi.el (hanoi-current-time-float): Remove.
5523 All uses replaced by float-time.
5524
ee6f1be0
PE
5525 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5526 This yields a more-accurate answer.
5527 (rng-time-to-float): Remove; no longer needed.
5528
fe955043
PE
5529 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5530
5777162a
PE
5531 * calendar/timeclock.el (timeclock-seconds-to-time):
5532 Defalias to seconds-to-time, since they're the same thing.
5533
3103f8b6 5534 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 5535 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
5536 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5537
0e61a35f
SM
55382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * window.el (bury-buffer): Don't iconify the only frame.
5541 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5542 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5543
ddd63a1e
CY
55442011-07-01 Chong Yidong <cyd@stupidchicken.com>
5545
0e61a35f
SM
5546 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5547 Add mouse-yank-primary.
ddd63a1e 5548
055f4923
TZ
55492011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5550
5551 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5552
6a2fb145
SM
55532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5556 (find-library-name): Use it to find relative load names when provided
5557 absolute file name (bug#8803).
5558
fd4983f2
LMI
55592011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5560
887d14ad
LMI
5561 * textmodes/flyspell.el (flyspell-word): Consider words that
5562 differ only in case as potential doublons (bug#5687).
5563
c53dc7fc
LMI
5564 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5565 Remove two rather uninteresting debugging-like messages to make
5566 debbugs.el more silent.
5567
fd4983f2
LMI
5568 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5569 a password-like phrase.
5570
b14c0c55
AM
55712011-06-30 Mastake YAMATO <yamato@redhat.com>
5572
5573 * progmodes/cc-guess.el: New file.
5574
6a2fb145 5575 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
5576
5577 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5578 derived from `c-basic-common-init'.
5579
5580 * progmodes/cc-mode.el (top-level): Require cc-guess.
5581 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5582
1fa280a3
LM
55832011-06-30 Lawrence Mitchell <wence@gmx.li>
5584
5585 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5586
e6597158
AM
55872011-06-30 Alan Mackenzie <acm@muc.de>
5588
1fa280a3
LM
5589 * progmodes/cc-engine.el (c-guess-continued-construct):
5590 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
5591 lock is disabled. Name this case as "CASE G".
5592
68ba37fb
KM
55932011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5594
5595 * allout.el (allout-yank-processing): Fix injection of extra space
5596 between bullet and non-whitespace character in first topic when
5597 pasting, ensuring that the actual spacing in the pasted topic
5598 following the bullet char is preserved. This extra space was
5599 causing pasted encrypted topics to get a decrypted status even
5600 when the content was actually still encrypted. Now the decryption
5601 status from before the paste is preserved.
5602
5603 (allout-flag-region): Set all allout overlays so they evaporate
5604 when reduced to zero length (evanescent), to prevent overlay
5605 leakage.
5606
887a0b34
GM
56072011-06-30 Glenn Morris <rgm@gnu.org>
5608
94b9acce
GM
5609 * w32-fns.el (w32-charset-info-alist): Declare.
5610
1d9b46d4
GM
5611 * find-dired.el (find-grep-options): Simplify.
5612
cc232200
GM
5613 * term/ns-win.el (ns-set-resource): Declare.
5614
28e77c46
GM
5615 * ses.el (row, col): Declare dynamic variables honestly.
5616
887a0b34
GM
5617 * textmodes/reftex-parse.el (index-tags): Declare.
5618
658d8eb8
CY
56192011-06-30 Chong Yidong <cyd@stupidchicken.com>
5620
5621 * cus-edit.el (customize-push-and-save): New function.
5622
5623 * files.el (hack-local-variables-confirm): Use it.
5624
1fa280a3
LM
5625 * custom.el (load-theme): New arg NO-CONFIRM.
5626 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
5627 (custom-enabled-themes): Doc fix.
5628
5629 * cus-theme.el (customize-create-theme)
5630 (custom-theme-merge-theme): Callers to load-theme changed.
5631
bb617717
LMI
56322011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5633
d61bdd5d
LMI
5634 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5635 short URLs have at least one dot in them (bug #7614).
5636
bb617717
LMI
5637 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5638 nil, because using a pty is apparently too slow (bug #895).
5639
2f31f37a
LMI
56402011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5641
5642 * mail/sendmail.el (sendmail-query-once): New function.
5643 (sendmail-query-once-function): New variable.
5644
3076b24e
GM
56452011-06-29 Glenn Morris <rgm@gnu.org>
5646
faf2a174
GM
5647 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5648
3076b24e
GM
5649 * ses.el (top-level): Require cl when compiling.
5650 (ses-set-localvars): Fix error statement.
5651 Call it at compile time to silence a storm of warnings.
5652
5386012d
MR
56532011-06-29 Martin Rudalics <rudalics@gmx.at>
5654
5655 * window.el (normalize-live-buffer): Rename to
5656 window-normalize-buffer.
5657 (normalize-live-frame): Rename to window-normalize-frame.
5658 (normalize-any-window): Rename to window-normalize-any-window.
5659 (normalize-live-window): Rename to window-normalize-live-window.
5660 (make-window-atom): Rename to window-make-atom.
5661 (window-resize-reset): Rename to window--resize-reset.
5662 (window-resize-reset-1): Rename to window--resize-reset-1.
5663 (resize-mini-window): Rename to window--resize-mini-window.
5664 (resize-subwindows-skip-p): Rename to
5665 window--resize-subwindows-skip-p.
5666 (resize-subwindows-normal): Rename to
5667 window--resize-subwindows-normal.
5668 (resize-subwindows): Rename to window--resize-subwindows.
5669 (resize-other-windows): Rename to window--resize-siblings.
5670 (resize-this-window): Rename to window--resize-this-window.
5671 (resize-root-window): Rename to window--resize-root-window.
5672 (resize-root-window-vertically): Rename to
5673 window--resize-root-window-vertically.
5674 (normalize-buffer-to-display): Rename to
5675 window-normalize-buffer-to-display.
5676 (normalize-buffer-to-switch-to): Rename to
5677 window-normalize-buffer-to-switch-to.
5678 Correspondingly update all callers of the functions listed
5679 above.
5680 (display-buffer-alist, display-buffer-normalize-arguments)
5681 (display-buffer-normalize-options, display-buffer)
5682 (display-buffer-alist-set): Use "function" instead of
5683 "fun-with-args".
5684
1176868d
CY
56852011-06-28 Chong Yidong <cyd@stupidchicken.com>
5686
5687 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5688 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5689 debbugs.gnu.org. Mention acknowledgment email.
5690
20a7a65f
LMI
56912011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5692
5693 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5694 buffer multibyteness, since it shouldn't matter.
5695
5f45cca5
MR
56962011-06-28 Martin Rudalics <rudalics@gmx.at>
5697
5698 * window.el (display-buffer-in-side-window): Handle dedicated
5699 windows as in display-buffer-reuse-window.
5700 (display-buffer-normalize-alist): Use value of override
5701 specifier.
5702 (display-buffer-normalize-specifiers): Use value of
5703 other-window-means-other-frame specifier.
5704 (display-buffer-alist): Rewrite some texts in widgets.
5705 (display-buffer): Spread arguments when calling function
5706 specified by fun-with-args.
5707
ad85fe1f
DD
57082011-06-28 Deniz Dogan <deniz@dogan.se>
5709
1fa280a3
LM
5710 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5711 Unnest `let'.
da68c4c8 5712
ad85fe1f
DD
5713 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5714 selectors (Bug#5732).
ec49bd31 5715 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 5716
a08cc025
JA
57172011-06-27 Jari Aalto <jari.aalto@cante.net>
5718
5719 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5720 (eshell-ls-date-format): New defcustom.
5721 (eshell-ls-file): Use it.
5722
e2b551c5
SM
57232011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5726
8982b231
KY
57272011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5728
5729 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5730 (ange-ftp-make-tmp-name): New arg.
5731 (ange-ftp-file-local-copy): Use it.
5732
36c9fa27
J
57332011-06-27 Jambunathan K <kjambunathan@gmail.com>
5734
5735 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5736 no-conversion (Bug#8870).
5737
d68443dc
MR
57382011-06-27 Martin Rudalics <rudalics@gmx.at>
5739
5740 * window.el (window-right, window-left, window-child)
5741 (window-child-count, window-last-child)
5742 (window-iso-combination-p, walk-window-tree-1)
5743 (window-atom-check-1, window-tree-1, delete-window)
5744 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5745 new naming conventions - window-vchild, window-hchild,
5746 window-next and window-prev are now called window-top-child,
5747 window-left-child, window-next-sibling and window-prev-sibling
5748 respectively.
d615d6d2
MR
5749 (resize-window-reset): Rename to window-resize-reset.
5750 (resize-window-reset-1): Rename to window-resize-reset-1.
5751 (resize-window): Rename to window-resize.
5752 (window-min-height, window-min-width)
5753 (resize-mini-window, resize-this-window, resize-root-window)
5754 (resize-root-window-vertically, adjust-window-trailing-edge)
5755 (enlarge-window, shrink-window, maximize-window)
5756 (minimize-window, delete-window, quit-restore-window)
5757 (split-window, balance-windows, balance-windows-area-adjust)
5758 (balance-windows-area, window-state-put-2)
5759 (display-buffer-even-window-sizes, display-buffer-set-height)
5760 (display-buffer-set-width, set-window-text-height)
5761 (fit-window-to-buffer): Rename all "resize-window" prefixed
5762 calls to use the "window-resize" prefix convention.
5763 (display-buffer-alist): Fix symbol for label specifier.
5764 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5765 corresponding specifier.
5766 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 5767
b6458526
VB
57682011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5769
5770 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5771 convention.
5772 (ses-call-printer): Does not pass an empty string to formatter when the
5773 cell is empty to keep from barking printer Calc math-format-value.
5774
d31fd9ac
RS
57752011-06-27 Richard Stallman <rms@gnu.org>
5776
43d5bf84
RS
5777 * battery.el (battery-mode-line-limit): New variable.
5778 (battery-update): Handle it.
5779
d31fd9ac
RS
5780 * mail/rmailmm.el (rmail-mime-process-multipart):
5781 Handle truncated messages.
5782
819a6054
GM
57832011-06-27 Glenn Morris <rgm@gnu.org>
5784
5785 * progmodes/flymake.el (flymake-err-line-patterns):
5786 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5787
cedc73f2
VB
57882011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5789
819a6054 5790 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
5791 (ses--clean-!, ses--clean-_): New functions.
5792 (ses-range): Add configurability of readout order, and conversion
5793 to Calc vector.
5794
5e5d49b6
VB
5795 * ses.el (ses-repair-cell-reference-all): New function.
5796 (ses-cell-symbol): Set macro as safe, so that it can be used in
5797 formulas.
5798
56e6cc31 5799 * ses.el: Update cycle detection algorithm.
90ca8b49 5800 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 5801 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
5802 (ses-set-localvars): New function.
5803 (ses-make-cell): Add property-list as a cell element.
5804 (ses-cell-property-get-fun, ses-cell-property-get)
5805 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
5806 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5807 New functions.
90ca8b49
VB
5808 (ses-cell-property-set, ses-cell-property-pop)
5809 (ses-cell-property-get-handle): New macro.
5810 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5811 New aliases, used for code readability.
5812 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5813 cycle detection.
5814 (ses-self-reference-early-detection): New defcustom.
fac916bf 5815 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
5816 (ses-mode): Use ses-set-localvars.
5817 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5818 before lauching the update processing.
5819 (ses-initialize-Dijkstra-attempt): New function.
5820 (ses-recalculate-cell): Update for cycle detection based on
5821 Dijkstra algorithm.
5822
2bb63e81
VB
5823 * ses.el: Fix commenting and indenting convention.
5824
c9d29fb8
SM
58252011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * bs.el (bs-cycle-next): Complete last change.
5828
d8e4b68b
JB
58292011-06-27 Drew Adams <drew.adams@oracle.com>
5830
5831 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5832
40098786
LMI
58332011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5834
c9d29fb8
SM
5835 * net/network-stream.el (network-stream-open-starttls):
5836 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
5837 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5838
40098786
LMI
5839 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5840 to binary to possibly avoid line encoding issues on Windows (among
5841 other things).
5842
468d09d4
LMI
58432011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5844
5845 * net/network-stream.el (open-network-stream): Return an :error
5846 saying what the problem was, if possible.
5847
5848 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5849 server.
5850
5851 * net/network-stream.el (network-stream-open-starttls): If we
5852 wanted to use STARTTLS, and the server offered it, but we weren't
5853 able to because we had no STARTTLS support, then close the connection.
5854 (open-network-stream): Return an :error element, if present.
5855
16f07dd7
CY
58562011-06-26 Chong Yidong <cyd@stupidchicken.com>
5857
88821ca0
CY
5858 * hl-line.el (hl-line-sticky-flag): Doc fix.
5859 (global-hl-line-sticky-flag): New option (Bug#8323).
5860 (global-hl-line-highlight): Obey it.
5861
16f07dd7
CY
5862 * vc/vc.el (vc-revert-show-diff): Default to t.
5863
6b5ccddf
KM
58642011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5865
c9d29fb8
SM
5866 * allout-widgets.el (allout-widgets-post-command-business):
5867 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
5868 undecorated when an isearch is continued past, and isearch
5869 automatically collapses them. This leads to "widget leaks", where
5870 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
5871 hidden widgets can slow down cursor travel, substantially.
5872 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
5873 so we're doing without this nicety.
5874
5875 (allout-widgets-tally-string): Don't try to do a hash-table-count
5876 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5877 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5878 *Messages* when allout-widgets-maintain-tally is t.
5879
355f2e07
MR
58802011-06-26 Martin Rudalics <rudalics@gmx.at>
5881
5882 * window.el (display-buffer-normalize-argument): Rename to
5883 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
5884 LABEL argument. Respect special-display-function when popping up
5885 a new frame. Fix code searching for a window showing the buffer
5886 on another frame.
c9d29fb8
SM
5887 (display-buffer-normalize-specifiers):
5888 Call display-buffer-normalize-arguments.
355f2e07
MR
5889 (display-buffer-in-window): Don't undedicate the window if its
5890 buffer remains the same.
5891 Reported by Drew Adams <drew.adams@oracle.com>.
5892 (display-buffer-alist): Add choice for same-window macro
5893 specfier.
5894 (display-buffer): Mention special meaning of LABEL argument in
5895 doc-string. Fix quoting. Don't pop up a new frame even as
5896 fallback.
5897
7ca8fc42
JB
58982011-06-26 Juanma Barranquero <lekktu@gmail.com>
5899
5900 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5901 avoid deleting the current window in some cases (bug#8911).
5902
bc312254
AS
59032011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5904
5905 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5906 (Bug#8934)
5907
2db18f3f
LMI
59082011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909
c9d29fb8
SM
5910 * net/network-stream.el (network-stream-open-starttls):
5911 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
5912 (network-stream-open-tls): Ditto.
5913
6302e0d3
LL
59142011-06-26 Leo Liu <sdl.web@gmail.com>
5915
5916 * register.el (registerv): New struct.
5917 (registerv-make): New function.
c9d29fb8
SM
5918 (jump-to-register, describe-register-1, insert-register):
5919 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
5920 struct. (Bug#8415)
5921
5fdd4046
CY
59222011-06-26 Chong Yidong <cyd@stupidchicken.com>
5923
2afef60a
CY
5924 * vc/vc.el (vc-revert-show-diff): New defcustom.
5925 (vc-diff-internal): New arg specifying diff buffer.
5926 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5927 reuse an existing *vc-diff* buffer (Bug#8927).
5928
5fdd4046
CY
5929 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5930
e93db24a
GM
59312011-06-26 Glenn Morris <rgm@gnu.org>
5932
5933 * progmodes/f90.el (f90-critical-indent): New option.
5934 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5935 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5936 (f90-mode): Doc fix.
5937 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5938 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5939 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5940 (f90-match-end): Handle block, critical.
5941
eefff499
GM
59422011-06-25 Glenn Morris <rgm@gnu.org>
5943
f6ba4cc9
GM
5944 * calendar/diary-lib.el (diary-included-files): Doc fix.
5945 (diary-include-files): New function, extracted from
5946 diary-include-other-diary-files and diary-mark-included-diary-files.
5947 (diary-include-other-diary-files, diary-mark-included-diary-files):
5948 Just call diary-include-files.
5949 (diary-mark-entries): Reset diary-included-files on first call.
5950
16712304
GM
5951 * calendar/diary-lib.el (diary-mark-entries)
5952 (diary-mark-included-diary-files):
5953 Visit included diary-files in temp buffers.
5954
5d8e0d43
GM
5955 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5956 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5957 (f90-start-block-re, f90-imenu-generic-expression)
5958 (f90-looking-at-program-block-start, f90-no-block-limit):
5959 Add support for submodules.
5960
ccf7a5d5
GM
5961 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5962 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 5963
11fdef7d 59642011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
5965
5966 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5967 buffer-file-type before setting its value, to avoid disastrous
eefff499 5968 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 5969
74f53697
JB
59702011-06-25 Juanma Barranquero <lekktu@gmail.com>
5971
5972 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5973
5974 * ses.el (ses-unload-function):
5975 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5976
5977 * proced.el (proced-unload-function):
5978 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5979
18a4ce5e
AR
59802011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5981
5982 * server.el (server-create-window-system-frame): Add parameters arg.
5983 (server-process-filter): Doc fix. Handle frame-parameters.
5984
519d22cc
JB
59852011-06-25 Juanma Barranquero <lekktu@gmail.com>
5986
5987 Fix bug#8730, bug#8781.
5988
5989 * loadhist.el (unload--set-major-mode): New function.
5990 (unload-feature): Use it.
5991
5992 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5993 (python-unload-function): New function.
5994
c206f5b0
SM
59952011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5998
f9ad64f3
GS
59992011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6000
6001 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6002 the candidates list.
6003
7d0da90e
JB
60042011-06-24 Juanma Barranquero <lekktu@gmail.com>
6005
6006 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6007
14b4e83d
RS
60082011-06-23 Richard Stallman <rms@gnu.org>
6009
6010 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6011 (rmail-variables): Set next-error-move-function.
6012 (rmail-what-message): Take argument POS.
6013 (rmail-next-error-move): New function.
6014
273d2baf
SM
60152011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6018 messages for adjacent non-terminals.
6019
56c2cc9a
RS
60202011-06-23 Richard Stallman <rms@gnu.org>
6021
6022 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6023 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6024 (rmail-start-mail): Don't specify use of rmail-mail-return;
6025 that's done by mail-bury now.
6026 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6027
d59eb518
MA
60282011-06-23 Michael Albinus <michael.albinus@gmx.de>
6029
6030 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6031 SIZE is a number.
6032
02cfc6d6
MR
60332011-06-23 Martin Rudalics <rudalics@gmx.at>
6034
6035 * window.el (get-lru-window, get-mru-window)
6036 (get-largest-window): Never return a minibuffer window.
6037 (display-buffer-pop-up-window): Fix a bug that could lead to
6038 reusing the minibuffer window.
6039 (display-buffer): Pass original specifier argument to
6040 display-buffer-function instead of the normalized one.
6041 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6042
4e323265
LL
60432011-06-22 Leo Liu <sdl.web@gmail.com>
6044
6045 * minibuffer.el (completing-read-function)
6046 (completing-read-default): Move from minibuf.c
6047
7a70468f
RS
60482011-06-22 Richard Stallman <rms@gnu.org>
6049
50718fc2
RS
6050 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6051 to Rmail even if not started by a special Rmail command.
6052
7a70468f
RS
6053 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6054 Copy the buffer currently showing just one message.
6055
297dde5a
RW
60562011-06-22 Roland Winkler <winkler@gnu.org>
6057
6058 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6059 (bibtex-clean-entry): First delete the old key so that a
6060 customized algorithm for generating the new key does not get
6061 confused by the old key.
6062 (bibtex-url): Obey regexp of first step.
6063 (bibtex-search-entries): Do not use add-to-list with local
6064 list-var.
6065
97bb1093
LMI
60662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6067
6068 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6069 stored a user name, then query for the password first, instead of
6070 waiting for SMTP to give an error message and the trying again.
6071
1c0f1a19
JD
60722011-06-22 Lawrence Mitchell <wence@gmx.li>
6073
6074 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6075 BUFFER in call-process.
6076
396f7c9d
LMI
60772011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6078
6079 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6080 QUIT twice.
ddb7ffee
LMI
6081 (smtpmail-try-auth-methods): Require user name and password from
6082 auth-source.
396f7c9d 6083
8998d1b3
MR
60842011-06-22 Martin Rudalics <rudalics@gmx.at>
6085
6086 * window.el (display-buffer-default-specifiers)
6087 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6088 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 6089 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
6090
6091 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6092 (special-display-frame-alist, special-display-popup-frame):
6093 Remove duplicate declarations. These are now in window.el.
6094
4ea31e07
LMI
60952011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6096
c9d29fb8
SM
6097 * mail/smtpmail.el (smtpmail-via-smtp):
6098 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
6099 server supports it. SMTP servers that support STARTTLS commonly
6100 require it.
6101
6102 * net/network-stream.el (network-stream-open-starttls): Support
6103 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 6104 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 6105
95f41d9a
LMI
6106 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6107 upgrades with `open-network-stream', and rely solely on
6108 auth-source for all credentials. Big changes throughout the file,
6109 but in particular:
c9d29fb8
SM
6110 (smtpmail-auth-credentials): Remove.
6111 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
6112 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6113 MAIL FROM, too.
95f41d9a 6114
c9d29fb8
SM
6115 * net/network-stream.el (network-stream-open-starttls):
6116 Provide support for client certificates both for external and built-in
4ea31e07
LMI
6117 STARTTLS.
6118 (auth-source): Require.
6119 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
6120 (network-stream-certificate): Change cert-cert to cert and
6121 cert-key to key.
4ea31e07 6122
065ec2c7
MA
61232011-06-21 Michael Albinus <michael.albinus@gmx.de>
6124
6125 * net/tramp-cache.el (top): Don't load the persistency file when
6126 "emacs -Q" has been called.
6127
cd93b359
DR
61282011-06-21 Tim Harper <timcharper@gmail.com>
6129
d8e4b68b
JB
6130 * term/ns-win.el (ns-initialize-window-system):
6131 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
6132 resource to NO as it is not yet supported by the NS port.
6133
ae9c0411
JB
61342011-06-21 Juanma Barranquero <lekktu@gmail.com>
6135
6136 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6137 (list-dynamic-libraries): ...not here.
6138
7f3f739f
LL
61392011-06-21 Leo Liu <sdl.web@gmail.com>
6140
6141 * subr.el (sha1): Implement sha1 using secure-hash.
6142
327c8fb1
MR
61432011-06-21 Martin Rudalics <rudalics@gmx.at>
6144
6145 * window.el (display-buffer-alist): In default value do not
6146 enforce searching a window on any but the selected frame.
6147 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6148 (display-buffer-select-window): Remove function.
6149 (display-buffer-in-window): When a window on another frame gets
6150 reused, do not select it any more but just raise its frame if
6151 necessary (Bug#8851) and (Bug#8856).
6152 (display-buffer-normalize-options): Handle pop-up-frames related
6153 options more faithfully.
6154 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6155 window if it is on another frame.
c9d29fb8
SM
6156 (display-buffer-alist, display-buffer-default-specifiers):
6157 Don't make new frame unsplittable by default.
9e9de014
MR
6158 (display-buffer-normalize-argument): Fix doc-string typo and use
6159 'same-frame-other-window instead of 'other-window when associating
6160 with display-buffer-macro-specifiers.
327c8fb1 6161
7cf3f556
VB
61622011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6163
6164 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6165 New functions.
6166 (5x5-mode-map, 5x5-mode-menu): Bind them.
6167 (5x5-draw-grid): Tweak the solver's rendering.
6168
60a406cf
SM
61692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6172 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6173
d8e4b68b 61742011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
6175
6176 * menu-bar.el: Use function variable instead of switch-to-buffer.
6177 (menu-bar-select-buffer-function): New variable.
60a406cf 6178 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 6179
478d6f95
SM
61802011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6183 variable's status.
6184
ca530739
JD
61852011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6186
6187 * x-dnd.el (x-dnd-version-from-flags)
6188 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6189 and long as number (Bug#8899).
6190 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6191
bcd70d97
SM
61922011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6193
60a406cf 6194 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
6195 (completion-try-completion, completion-all-completions): Compute the
6196 metadata argument if it's missing; make it optional (bug#8795).
6197
60a406cf 6198 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
6199 (widget-complete): Use new :completion-function property.
6200 (widget-completions-at-point): New function.
6201 (default): Use :completion-function instead of :complete.
60a406cf
SM
6202 (widget-default-completions): Rename from widget-default-complete;
6203 Rewrite.
bcd70d97
SM
6204 (widget-string-complete, widget-file-complete, widget-color-complete):
6205 Remove functions.
6206 (file, symbol, function, variable, coding-system, color):
6207 * international/mule-cmds.el (default-input-method, charset)
6208 (language-info-custom-alist):
6209 * cus-edit.el (face): Use new property :completions.
6210
6211 * progmodes/pascal.el (pascal-completions-at-point): New function.
6212 (pascal-mode): Use it.
6213 (pascal-mode-map): Use completion-at-point.
6214 (pascal-toggle-completions): Make obsolete.
6215 (pascal-complete-word, pascal-show-completions):
6216 * progmodes/octave-mod.el (octave-complete-symbol):
6217 Redefine as obsolete alias.
6218 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6219 Signal absence of completion info for old Octave,
6220 (inferior-octave-complete): Redefine as obsolete alias.
6221 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6222 (meta-completions-at-point): Rename from meta-complete-symbol and
6223 adapt it for use on completion-at-point-functions.
6224 (meta-common-mode): Use it.
6225 (meta-looking-at-backward, meta-match-buffer): Remove.
6226 (meta-complete-symbol): Redefine as obsolete alias.
6227 (meta-common-mode-map): Use completion-at-point.
6228 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6229 (makefile-mode-map): Use completion-at-point.
6230 (makefile-completions-at-point): Rename from makefile-complete and
6231 adapt it for use on completion-at-point-functions.
6232 (makefile-mode): Use it.
6233 (makefile-complete): Redefine as obsolete alias.
6234
aebf69c8
DD
62352011-06-20 Deniz Dogan <deniz@dogan.se>
6236
6237 * net/rcirc.el: Delete trailing whitespaces once and for all.
6238
bfbbb27d
DC
62392011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6240
6241 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6242
d264a46b
CY
62432011-06-19 Chong Yidong <cyd@stupidchicken.com>
6244
4ca009e5
CY
6245 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6246
d264a46b
CY
6247 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6248
fbf5b3ce
MR
62492011-06-19 Martin Rudalics <rudalics@gmx.at>
6250
6251 * window.el (display-buffer-other-window-means-other-frame):
6252 Call display-buffer-normalize-alist.
6253 (display-buffer-normalize-specifiers-1): Rename to
6254 display-buffer-normalize-argument. New argument other-frame.
6255 Rewrite.
6256 (display-buffer-normalize-specifiers-2): Rename to
6257 display-buffer-normalize-options.
6258 (display-buffer-normalize-alist-1): New function.
6259 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
6260 display-buffer-normalize-alist.
6261 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
6262 (display-buffer-normalize-options-inhibit): New variable.
6263 (display-buffer-normalize-specifiers): Rewrite calling
6264 display-buffer-normalize-alist,
6265 display-buffer-normalize-argument, and
6266 display-buffer-normalize-options. Don't call the latter if
6267 display-buffer-normalize-options-inhibit is non-nil.
6268 (frame-auto-delete): New option.
6269 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
6270 (window-list-no-nils, window-state-ignored-parameters)
6271 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
6272 (window-state-put-1, window-state-put-2, window-state-put):
6273 New functions.
9a028c23
MR
6274 (display-buffer-normalize-options): Move special-display-p group
6275 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 6276
6d10d800
CY
62772011-06-18 Chong Yidong <cyd@stupidchicken.com>
6278
6420d28b
CY
6279 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6280 groups (Bug#8776).
6281 (rx-submatch-n): New function.
6282 (rx): Document it.
6283
ddb8b596
CY
6284 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6285 (Bug#8768).
6286
6287 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6288
77080289
CY
6289 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6290
61dfb316
CY
6291 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6292 anytime existing face settings are present (Bug#8889).
6293
6d10d800
CY
6294 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6295 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6296 Remove unused argument.
6297
be3fb2b8
MR
62982011-06-18 Martin Rudalics <rudalics@gmx.at>
6299
bcd70d97
SM
6300 * window.el (display-buffer-default-specifiers):
6301 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
6302 pop-up-window-min-width, and another reuse-window specifier
6303 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
6304 (display-buffer-normalize-specifiers-2):
6305 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
6306 pop-up-windows is unset. Add a reuse-window specifier for the
6307 case popping up a new window fails.
6308 (special-display-popup-frame): Remove double quoting.
28dec25a 6309 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 6310
1c6d8c76
SM
63112011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6314 according to comint-completion-addsuffix.
6315
6316 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6317 (pcomplete-suffix-list): Mark as obsolete.
6318 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6319 pcomplete-seen in the closure.
6320 (pcomplete-comint-setup): Setup completion-at-point as well.
6321 (pcomplete--entries): New function.
6322 (pcomplete--env-regexp): New var.
6323 (pcomplete-entries): Rewrite to work with partial-completion and
6324 without relying on pcomplete-suffix-list.
6325 (pcomplete-pare-list): Remove, unused.
6326
25aef8b8
MR
63272011-06-17 Martin Rudalics <rudalics@gmx.at>
6328
6329 * window.el (display-buffer-alist): Set pop-up-window-min-height
6330 and pop-up-window-min-width in default value. Reported by
6331 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6332 other-window-means-other-frame.
6333 (display-buffer-macro-specifiers): Comment out entry for
6334 other-window specifier.
6335 (display-buffer-other-window-means-other-frame): New function.
6336 (display-buffer-normalize-specifiers-1): New arguments
6337 buffer-name and label. Treat other-window case specially.
6338 (display-buffer-normalize-specifiers-2): Treat other-window case
6339 specially.
6340 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
6341 (display-buffer-normalize-specifiers):
6342 Call display-buffer-normalize-specifiers-3.
25aef8b8 6343
dbad4f69
MR
63442011-06-17 Martin Rudalics <rudalics@gmx.at>
6345
6346 * window.el (same-window-p): Fix two typos introduced when
6347 adding with-no-warnings.
d1067961
MR
6348 (display-buffer-normalize-specifiers-1): Don't check
6349 pop-up-frames for 'unset initialization.
6350 (display-buffer-normalize-specifiers-2): Major rewrite using
6351 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6352 (pop-up-frames, display-buffer-reuse-frames)
6353 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6354 Suggested by David Engster <deng@randomsample.de>.
6355 (even-window-heights): Initialize to 'unset.
6356 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
6357 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6358 other window case.
dbad4f69 6359
9b9c9e3a
MR
63602011-06-16 Martin Rudalics <rudalics@gmx.at>
6361
bcd70d97
SM
6362 * window.el (display-buffer-normalize-specifiers-1):
6363 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 6364 second argument of display-buffer (Bug#8865).
981d5c09
MR
6365 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6366 (switch-to-buffer-other-window-same-frame)
6367 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6368 Adams (Bug#8875).
9c2755e9
MR
6369 (display-buffer): Don't check noninteractive when calling
6370 display-buffer-pop-up-frame.
6371 (display-buffer-pop-up-frame): Never pop up a frame in
6372 noninteractive mode (Bug#8857).
67222e1d
MR
6373 (enlarge-window, shrink-window): Don't report an error when the
6374 window can't be resized as requested (Bug#8862).
9b9c9e3a 6375
2b75be67
SM
63762011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6377
9ffdd3ba
SM
6378 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6379
cb581a67
SM
6380 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6381
2b75be67
SM
6382 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6383
8c0e3589
AM
63842011-06-15 Alan Mackenzie <acm@muc.de>
6385
cb581a67
SM
6386 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6387 for declarators, disable knr checking to speed up for normal files.
6388 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 6389
b96e6cde
LMI
63902011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6391
4bba86e6
LMI
6392 * net/network-stream.el (open-network-stream): Add the keyword
6393 :always-query-capabilities for the case where you want to force a
6394 `plain' network connection, but the protocol still requires the
6395 capabilitiy command (i.e., SMTP and EHLO).
6396
2b75be67 6397 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
6398 consistency with other `-live-p' functions.
6399
efdcdbf8
SM
64002011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * window.el (same-window-buffer-names, same-window-regexps)
6403 (special-display-frame-alist, special-display-popup-frame)
6404 (special-display-function, special-display-buffer-names)
6405 (special-display-regexps, pop-up-frame-alist)
6406 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6407 (pop-up-windows, split-window-preferred-function)
6408 (split-height-threshold, split-width-threshold, even-window-heights)
6409 (display-buffer-mark-dedicated): Don't encourage the use of
6410 display-buffer-alist from Elisp code.
6411
c5cde042
DN
64122011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6413
6414 * progmodes/python.el (python-mode): Derive from prog-mode.
6415 * progmodes/ps-mode.el (ps-mode):
6416 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 6417 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
6418 * progmodes/ld-script.el (ld-script-mode): Likewise.
6419
baa1c9ab
MR
64202011-06-15 Martin Rudalics <rudalics@gmx.at>
6421
6422 * window.el (display-buffer-alist): Trim default value to avoid
6423 popping up a new frame (Bug#8857) or reusing an arbitrary window
6424 on another frame.
6425 (display-buffer): Do not fall back on popping up a new frame in
6426 batch mode (Bug#8857).
6427
c5dd5a51
CY
64282011-06-14 Chong Yidong <cyd@stupidchicken.com>
6429
6430 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6431 (custom-theme-summary): New function.
6432 (customize-themes): Use it.
6433
d647b7c4
GM
64342011-06-13 Glenn Morris <rgm@gnu.org>
6435
6436 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6437
9481c002
MR
64382011-06-13 Martin Rudalics <rudalics@gmx.at>
6439
357f93d2
MR
6440 * help.el (help-window): Remove variable.
6441 (help-window-point-marker, temp-buffer-max-height)
6442 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6443 (help-print-return-message): Don't set help-window.
6444 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6445 (help-window-setup-finish): Remove.
6446 (help-window-display-message, help-window-setup)
6447 (with-help-window): Major rewrite based on new
6448 display-buffer-window variable.
6449
6450 * help-mode.el (help-mode-finish): Remove help-window related
6451 code.
6452
6453 * view.el (view-exits-all-viewing-windows): Remove reference to
6454 view-return-to-alist in doc-string.
6455 (view-return-to-alist): Make obsolete.
6456 (view-buffer): Call pop-to-buffer-same-window and remove
6457 undo-window code.
6458 (view-buffer-other-window): Call pop-to-buffer-other-window and
6459 simplify code. Ignore second argument.
6460 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6461 simplify code. Ignore second argument.
6462 (view-return-to-alist-update): Make obsolete.
6463 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6464 Rewrite using quit-restore window parameters.
2b75be67
SM
6465 (view-mode-exit): Rename second argument to EXIT-ONLY.
6466 Rewrite using quit-restore-window.
357f93d2
MR
6467 (View-exit, View-exit-and-edit, View-leave, View-quit)
6468 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6469 appropriate arguments.
6470 (view-end-message): Use quit-restore window parameter.
6471
9481c002
MR
6472 * window.el (display-buffer-function): Rewrite doc-string.
6473 (display-buffer-window, display-buffer-alist): New variables.
6474 (display-buffer-split-specifiers)
6475 (display-buffer-side-specifiers)
6476 (display-buffer-macro-specifiers): New constants.
6477 (display-buffer-even-window-sizes, display-buffer-set-height)
6478 (display-buffer-set-width, display-buffer-select-window)
6479 (display-buffer-in-window, display-buffer-reuse-window)
6480 (display-buffer-split-window-1, display-buffer-split-window)
6481 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6482 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6483 (display-buffer-in-side-window, normalize-buffer-to-display)
6484 (display-buffer-normalize-specifiers-1)
6485 (display-buffer-normalize-specifiers-2)
2b75be67
SM
6486 (display-buffer-normalize-specifiers, display-buffer-frame):
6487 New functions.
9481c002
MR
6488 (display-buffer): Major rewrite.
6489 (display-buffer-other-window, display-buffer-other-frame)
6490 (pop-to-buffer, switch-to-buffer-other-window)
6491 (switch-to-buffer-other-frame): Rewrite.
6492 (display-buffer-same-window, display-buffer-same-frame)
6493 (display-buffer-same-frame-other-window)
6494 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6495 (pop-to-buffer-other-window)
6496 (pop-to-buffer-same-frame-other-window)
6497 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6498 (switch-to-buffer-other-window-same-frame): New functions.
6499 (same-window-p, special-display-p): Rewrite disabling warnings.
6500 Make obsolete.
6501 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6502 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6503 Make obsolete
6504 (same-window-buffer-names, same-window-regexps)
6505 (special-display-frame-alist, special-display-popup-frame)
6506 (special-display-function, special-display-buffer-names)
6507 (special-display-regexps, pop-up-frame-alist)
6508 (pop-up-frame-function, split-window-preferred-function)
6509 (split-height-threshold, split-width-threshold)
6510 (even-window-heights): Make obsolete.
6511
9db51aca
GM
65122011-06-12 Glenn Morris <rgm@gnu.org>
6513
6514 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 6515 Misc simplifications.
9db51aca 6516
39cffb44
MR
65172011-06-12 Martin Rudalics <rudalics@gmx.at>
6518
6519 * window.el (window-safely-shrinkable-p): Restore function which
6520 was inadvertently removed in change from 2011-06-11. Declare as
6521 obsolete.
6522
2b75be67
SM
6523 * calendar/calendar.el (calendar-generate-window):
6524 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
6525 window-safely-shrinkable-p.
6526
a8955be7
GM
65272011-06-12 Glenn Morris <rgm@gnu.org>
6528
6529 * progmodes/fortran.el (fortran-mode-syntax-table):
6530 * progmodes/f90.el (f90-mode-syntax-table):
6531 Set % to punctuation. (Bug#8820)
6532 (f90-find-tag-default): Remove, no longer needed.
6533
f0d4059d
DC
65342011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6535
6536 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6537
1100a63c
CY
65382011-06-11 Chong Yidong <cyd@stupidchicken.com>
6539
6540 * image.el (image-animated-p): Return animation delay in seconds.
6541 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6542 (image-animate-timeout): Remove DELAY argument. Don't assume
6543 every subimage has the same delay; get it from image-animated-p.
6544 (image-animate): Caller changed.
6545
def722bf
MA
65462011-06-11 Michael Albinus <michael.albinus@gmx.de>
6547
6548 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6549 to ignored backtrace functions.
6550
0a2bb1a9
GM
65512011-06-11 Glenn Morris <rgm@gnu.org>
6552
6553 * calendar/appt.el (appt-disp-window-function): Doc fix.
6554 (appt-check): Handle overlapping appointments. (Bug#8337)
6555
6198ccd0
MR
65562011-06-11 Martin Rudalics <rudalics@gmx.at>
6557
6558 * window.el (window-tree-1, window-tree): New functions, moving
6559 the latter to window.el.
6560 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6561 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6562 (bw-refresh-edges): Remove.
6563 (balance-windows-1, balance-windows-2): New functions.
6564 (balance-windows): Rewrite in terms of window tree functions,
6565 balance-windows-1 and balance-windows-2.
6566 (bw-adjust-window): Remove.
6567 (balance-windows-area-adjust): New function with functionality of
6568 bw-adjust-window but using resize-window.
2b75be67
SM
6569 (set-window-text-height): Rewrite doc-string.
6570 Use normalize-live-window and resize-window.
6571 (enlarge-window-horizontally, shrink-window-horizontally):
6572 Rename argument to DELTA.
6198ccd0
MR
6573 (window-buffer-height): New function.
6574 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6575 Rewrite using new window resize routines.
2b75be67
SM
6576 (kill-buffer-and-window, mouse-autoselect-window-select):
6577 Use ignore-errors instead of condition-case.
6198ccd0
MR
6578 (quit-window): Call delete-frame instead of delete-windows-on
6579 for the only buffer on frame.
6580
9397e56f
MR
65812011-06-10 Martin Rudalics <rudalics@gmx.at>
6582
6583 * loadup.el (top-level): Load window before files for the sake
6584 of replace-buffer-in-windows.
6585
6586 * files.el (read-buffer-to-switch)
6587 (switch-to-buffer-other-window)
2b75be67
SM
6588 (switch-to-buffer-other-frame, display-buffer-other-frame):
6589 Move to window.el.
9397e56f
MR
6590
6591 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6592 (previous-buffer): Move to window.el.
6593
6594 * bindings.el (unbury-buffer): Move to window.el.
6595
6596 * window.el (delete-other-windows-vertically): Move after
6597 definition of delete-other-windows.
6598 (other-window, delete-windows-on, replace-buffer-in-windows):
6599 Move here from window.c.
6600 (record-window-buffer, unrecord-window-buffer)
6601 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6602 (switch-to-next-buffer): New functions.
6603 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6604 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
6605 (previous-buffer): Move here from simple.el.
6606 Call switch-to-prev-buffer.
9397e56f
MR
6607 (bury-buffer): Move here from buffer.c. Switch to previous
6608 buffer when window cannot be deleted.
6609 (unbury-buffer): Move here from bindings.el.
6610 (ctl-x-map): Move binding for other-window from window.c to
6611 here.
6612 (read-buffer-to-switch, switch-to-buffer-other-window)
6613 (switch-to-buffer-other-frame): Move here from files.el.
6614 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
6615 (switch-to-buffer): Move here from buffer.c.
6616 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 6617
562dd5e9
MR
66182011-06-10 Martin Rudalics <rudalics@gmx.at>
6619
6620 * window.el (window-min-height, window-min-width): Move here
6621 from window.c. Add defcustoms and rewrite doc-strings.
6622 (resize-mini-window, resize-window): New functions.
6623 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6624 Move here from window.c.
6625 (maximize-window, minimize-window): New functions.
6626 (delete-window, delete-other-windows, split-window): Move here
6627 from window.c.
6628 (window-split-min-size): New function.
6629 (split-window-keep-point): Mention split-window-above-each-other
6630 instead of split-window-vertically.
2b75be67 6631 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
6632 Rename split-window-vertically to split-window-above-each-other
6633 and provide defalias for old definition.
6634 (split-window-side-by-side, split-window-horizontally):
6635 Rename split-window-horizontally to split-window-side-by-side
6636 and provide defalias for the old definition.
562dd5e9
MR
6637 (ctl-x-map): Move bindings for delete-window,
6638 delete-other-windows and enlarge-window here from window.c.
6639 Replace bindings for split-window-vertically and
6640 split-window-horizontally by bindings for
6641 split-window-above-each-other and split-window-side-by-side.
6642
6643 * cus-start.el (all): Remove entries for window-min-height and
6644 window-min-width. Add entries for window-splits and
6645 window-nest.
6646
f0da764a
GM
66472011-06-09 Glenn Morris <rgm@gnu.org>
6648
80675c21
GM
6649 * calendar/appt.el (appt-mode-line): New function.
6650 (appt-check, appt-disp-window): Use it.
6651
f0da764a
GM
6652 * files.el (hack-one-local-variable-eval-safep):
6653 Allow minor-modes with explicit +/-1 arguments.
6654
59f623b7
TZ
66552011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6656
6657 * term/xterm.el (xterm): Add defgroup.
6658 (xterm-extra-capabilities): Add defcustom to supply known xterm
6659 capabilities, skip querying them, or query them (default).
6660 (terminal-init-xterm): Use it.
6661 (terminal-init-xterm-modify-other-keys): New function to set up
6662 modifyOtherKeys support to simplify `terminal-init-xterm'.
6663
9aab8e0d
MR
66642011-06-09 Martin Rudalics <rudalics@gmx.at>
6665
6666 * window.el (resize-window-reset, resize-window-reset-1)
6667 (resize-subwindows-skip-p, resize-subwindows-normal)
6668 (resize-subwindows, resize-other-windows, resize-this-window)
6669 (resize-root-window, resize-root-window-vertically)
6670 (window-deletable-p, window-or-subwindow-p)
6671 (frame-root-window-p): New functions.
6672
e8b08aee
GM
66732011-06-09 Glenn Morris <rgm@gnu.org>
6674
6675 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6676 (ange-ftp-get-files): Use it.
6677
254c37a5
AK
66782011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6679
6680 * mail/sendmail.el (mail-recover-1, mail-recover):
6681 * files.el (recover-file, recover-session):
6682 Handle dired-listing-switches not being just a single short option.
6683
35d7dbd3
GM
66842011-06-09 Glenn Morris <rgm@gnu.org>
6685
6686 * calendar/appt.el (appt-display-message, appt-disp-window):
6687 Handle lists of appointments.
6688
387522b2
MR
66892011-06-08 Martin Rudalics <rudalics@gmx.at>
6690
2b75be67
SM
6691 * window.el (one-window-p): Move down in code.
6692 Rewrite doc-string.
6693 (window-current-scroll-bars): Rewrite doc-string.
6694 Normalize live window argument.
387522b2
MR
6695 (walk-windows, get-window-with-predicate, count-windows):
6696 Rewrite doc-string. Use window-list-1.
6697 (window-in-direction-2, window-in-direction, get-mru-window):
6698 New functions.
6699
d8e4b68b 67002011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
6701
6702 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6703 Doc fix (Bug#8713).
6704
67052011-06-08 Chong Yidong <cyd@stupidchicken.com>
6706
6707 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6708
67092011-06-08 Juanma Barranquero <lekktu@gmail.com>
6710
6711 * loadhist.el (unload-feature-special-hooks):
6712 Add `comint-output-filter-functions'.
6713
0de12c52
IK
67142011-06-08 Ivan Kanis <gnu@kanis.fr>
6715
6716 * calendar/appt.el (appt-check): Move some initializations into the let.
6717
f3d1777e
MR
67182011-06-08 Martin Rudalics <rudalics@gmx.at>
6719
6720 * window.el (window-height): Defalias to window-total-height.
6721 (window-width): Defalias to window-body-width.
6722
18af70d0
CY
67232011-06-07 Chong Yidong <cyd@stupidchicken.com>
6724
6725 * image-mode.el (image-toggle-animation): New command.
6726 (image-mode-map): Bind it to RET.
6727 (image-mode): Update message.
6728 (image-toggle-display-image): Avoid a spurious cache flush.
6729 (image-transform-rotation): Doc fix.
6730 (image-transform-properties): Return quickly in the normal case.
6731 (image-animate-loop): Rename from image-animate-max-time.
6732
2b75be67 6733 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
6734 (create-animated-image): Remove unnecessary function.
6735 (image-animate): Rename from image-animate-start. New arg.
2b75be67 6736 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
6737 (image-animate-timer): Use car-safe.
6738 (image-animate-timeout): Rename argument.
6739
190b47e6
MR
67402011-06-07 Martin Rudalics <rudalics@gmx.at>
6741
6742 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
6743 window.c. Rename first argument to ALL-FRAMES.
6744 Rephrase doc-strings.
6745 (get-buffer-window-list): Rewrite using window-list-1.
6746 Rephrase doc-string.
a1511caf
MR
6747 (window-safe-min-height, window-safe-min-width): New constants.
6748 (window-size-ignore, window-min-size, window-min-size-1)
6749 (window-sizable, window-sizable-p, window-size-fixed-1)
6750 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6751 (window-max-delta-1, window-max-delta, window-resizable)
6752 (window-resizable-p, window-total-height, window-total-width)
6753 (window-body-width): New functions.
6754 (window-full-height-p, window-full-width-p): Rewrite using
6755 window-total-size.
6756 (window-body-height): Rewrite using window-body-size.
190b47e6 6757
85cc1f11
MR
67582011-06-06 Martin Rudalics <rudalics@gmx.at>
6759
6760 * window.el (window-right, window-left, window-child)
6761 (window-child-count, window-last-child, window-any-p)
6762 (normalize-live-buffer, normalize-live-frame)
6763 (normalize-any-window, normalize-live-window)
6764 (window-iso-combination-p, window-iso-combined-p)
6765 (window-iso-combinations)
6766 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6767 (windows-with-parameter, window-with-parameter)
6768 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
6769 (window-atom-check, window-side-check, window-check):
6770 New functions.
85cc1f11
MR
6771 (ignore-window-parameters, window-sides, window-sides-vertical)
6772 (window-sides-slots): New variables.
6773 (window-size-fixed): Move down in code. Minor doc-string fix.
6774
e7156492
AS
67752011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6776
6777 * comint.el (comint-dynamic-complete-as-filename)
6778 (comint-dynamic-complete-filename): Correctly call
6779 completion-in-region.
6780
7e821d0d
DD
67812011-06-05 Deniz Dogan <deniz@dogan.se>
6782
6783 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6784 in last change.
6785
ac09b8a1
DD
67862011-06-05 Deniz Dogan <deniz@dogan.se>
6787
6788 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6789 (rcirc): Use it to prompt for encryption.
6790
34699b85
RW
67912011-06-05 Roland Winkler <winkler@gnu.org>
6792
6793 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6794 (bibtex-search-entries): New command bound to C-c C-a.
6795 (bibtex-display-entries): New function.
6796
004dedd3
RW
67972011-06-05 Roland Winkler <winkler@gnu.org>
6798
6799 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6800 (bibtex-insert-kill): After yanking insert newline if necessary.
6801 (bibtex-initialize): Call bibtex-string-files-init only once.
6802 (bibtex-mode): Do not call easy-menu-add.
6803 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6804 (bibtex-yank): Set arg properly if nil.
6805
022fe7ce
RW
68062011-06-05 Roland Winkler <winkler@gnu.org>
6807
2b75be67
SM
6808 * textmodes/bibtex.el (bibtex-search-entry-globally):
6809 New variable.
022fe7ce
RW
6810 (bibtex-search-entry): Use it.
6811
b7c3692a
RW
68122011-06-05 Roland Winkler <winkler@gnu.org>
6813
6814 * textmodes/bibtex.el (bibtex-entry-format): New option
6815 sort-fields.
6816 (bibtex-format-entry, bibtex-reformat): Honor this option.
6817 (bibtex-parse-entry): Return fields in proper order.
6818
8eda563d
JB
68192011-06-05 Juanma Barranquero <lekktu@gmail.com>
6820
6821 * doc-view.el (doc-view-remove-if): Move computation of result out
6822 of `dolist' to silence misleading lexical-binding warning.
6823
7dbe3dbc
CY
68242011-06-04 Chong Yidong <cyd@stupidchicken.com>
6825
6826 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6827 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6828
0c33dd17
MA
68292011-06-04 Michael Albinus <michael.albinus@gmx.de>
6830
6831 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6832 "SunOS 5.10".
6833
f8f91c2b
MA
68342011-06-04 Michael Albinus <michael.albinus@gmx.de>
6835
6836 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6837 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6838 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6839 (tramp-parse-putty):
6840 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6841 (tramp-completion-function-alist-ssh)
6842 (tramp-completion-function-alist-telnet)
6843 (tramp-completion-function-alist-su)
6844 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6845 cookie.
6846
6847 * net/tramp-ftp.el:
6848 * net/tramp-sh.el:
6849 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6850 load "tramp.el" `tramp-set-completion-function'.
6851
e17d9003
SM
68522011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * shell.el: Require and use pcomplete.
6855 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6856 (shell-completion-vars): Set pcomplete-default-completion-function.
6857
6c4cab03
DD
68582011-06-04 Deniz Dogan <deniz@dogan.se>
6859
6860 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6861 `memq' (Bug#8799).
6862
ea9fafe0
SM
68632011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6866
b3e945d3
JB
68672011-06-02 Juanma Barranquero <lekktu@gmail.com>
6868
6869 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6870 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6871 * vc/log-view.el (log-view-beginning-of-defun):
6872 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6873 (smerge-refine-forward, smerge-refine-chopup-region):
6874 Silence warning for unused `dotimes' counter variables.
6875
7d520089
SM
68762011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6877
6878 * net/tramp.el (tramp-with-progress-reporter): Rename from
6879 with-progress-reporter. Use `declare'.
6880 * net/tramp-smb.el:
6881 * net/tramp-sh.el:
6882 * net/tramp-gvfs.el: Update all uses.
6883
a1c2400f
JB
68842011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6885
6886 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6887 buffer isn't killed before making it current.
6888
2403c841
SM
68892011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 Silence various byte-compiler warnings.
6892 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6893 `access-type' and new obsolescence format.
6894 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6895 new format.
6896 (byte-compile-check-variable): New `access-type' argument.
6897 Only warn if the access-type is obsolete.
6898 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6899 (byte-compile-variable-set): Adjust callers.
6900 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6901 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6902 setting it as obsolete.
6903 * simple.el (minibuffer-completing-symbol):
6904 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6905 access as obsolete.
6906 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6907 obsolete yet.
6908 * international/quail.el (quail-mouse-choose-completion): Remove unused
6909 code referring to obsolete var.
6910 (quail-choose-completion-string): Remove.
6911 * server.el (server-clients-with, server-kill-buffer-query-function)
6912 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6913 * proced.el (proced-send-signal):
6914 * emacs-lisp/lisp.el (lisp-complete-symbol):
6915 Replace completion-annotate-function with completion-extra-properties.
6916
2462470b
SM
69172011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6918
fb5b2591
SM
6919 * simple.el (goto-line): Use read-number.
6920 (overriding-map-is-bound): Remove.
6921 (saved-overriding-map): Change default.
6922 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6923 Take the map as argument.
6924 (universal-argument, negative-argument, digit-argument): Use it.
6925 (restore-overriding-map): Adjust.
6926 (do-auto-fill): Use fill-forward-paragraph.
6927 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6928
fd6fa53f
SM
6929 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6930 (minibuffer-inactive-mode): New major mode.
6931 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6932 the *Messages* buffer" hack.
6933 (mouse-popup-menubar): Don't burp if the event is a normal key.
6934
2462470b
SM
6935 Miscellaneous tweaks.
6936 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6937 lexical scoping as in subr.el's dolist and dotimes.
6938 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6939 Silence compiler warning.
6940 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6941 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6942 * international/ccl.el (ccl-compile): Trivial simplification.
6943 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6944 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6945 `printflag' argument.
6946 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6947 Purecopy the whole obsolescence data.
6948
108bf785
LL
69492011-06-01 Leo Liu <sdl.web@gmail.com>
6950
6951 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6952 improve doc-string as suggested by Marco Pessotto
6953 <melmothx@gmail.com>.
6954 (rcirc-print): Fix last change.
6955
30a23501
SM
69562011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6957
6958 * minibuffer.el (complete-with-action): Return nil for the metadata and
6959 boundaries of non-functional tables.
6960 (completion-table-dynamic): Return nil for the metadata.
6961 (completion-table-with-terminator): Add default case, using
6962 complete-with-action.
6963 (completion--metadata): New function.
6964 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6965 to try and avoid pathological performance problems.
6966 (completion--embedded-envvar-table): Return `category' metadata.
6967
bcd54f83
LMI
69682011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6969
6970 * subr.el (process-alive-p): New tiny convenience function.
6971
e227544d
SM
69722011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6975 content but also its previous major mode.
6976
e8296fdc
HE
69772011-05-31 Helmut Eller <eller.helmut@gmail.com>
6978
4d61f28d 6979 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
6980 *Backtrace* buffer when we exit with C-M-c.
6981
620c53a6
SM
69822011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * minibuffer.el: Add metadata method to completion tables.
6985 (completion-category-overrides): New defcustom.
6986 (completion-metadata, completion--field-metadata)
6987 (completion-metadata-get, completion--styles)
6988 (completion--cycle-threshold): New functions.
6989 (completion-try-completion, completion-all-completions):
6990 Add `metadata' argument to choose completion-styles.
6991 (completion--do-completion): Use metadata to choose cycling.
6992 (completion-all-sorted-completions): Use metadata for sorting.
6993 Remove :completion-cycle-penalty which is not needed any more.
6994 (completion--try-word-completion): Add `metadata' argument.
6995 (minibuffer-completion-help): Check metadata for annotation function
6996 and sorting.
6997 (completion-file-name-table): Return `category' metadata.
6998 (minibuffer-completing-file-name): Make obsolete.
6999 * simple.el (minibuffer-completing-symbol): Make obsolete.
7000 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7001 completion-try-completion.
7002
1257e755
SM
70032011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7006
3767e706
LL
70072011-05-30 Leo Liu <sdl.web@gmail.com>
7008
7009 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7010 (rcirc-print): Decode all incoming messages (bug#8744).
7011 (rcirc-decode-coding-system): Allow value nil for automatic coding
7012 system detection.
3767e706 7013
d1a5d56a
GM
70142011-06-01 Glenn Morris <rgm@gnu.org>
7015
7016 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7017
e8cbec34
CY
70182011-05-29 Chong Yidong <cyd@stupidchicken.com>
7019
7020 * image.el (image-animate-max-time): Allow nil and t values.
7021 Default to nil.
7022 (create-animated-image): Doc fix.
7023 (image-animate-start): Remove second arg; just use
7024 image-animate-max-time.
7025 (image-animate-timeout): Doc fix. Args changed.
7026
7027 * image-mode.el (image-toggle-display-image): Ensure that the
7028 image spec passed to the animate timer is the same object as in
58179cce 7029 the buffer's display property (Bug#6981).
e8cbec34
CY
7030 (image-transform-properties): Doc fix.
7031
7032 * image.el (image-animate-max-time): Default to nil.
7033
159daf87
MR
70342011-05-29 Martin Rudalics <rudalics@gmx.at>
7035
7036 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7037 entire buffer list (Bug#8184).
7038
d66c4c7c
CY
70392011-05-29 Chong Yidong <cyd@stupidchicken.com>
7040
7041 * image.el (imagemagick-types-inhibit)
7042 (imagemagick-register-types): Doc fix.
7043
80aec780
DD
70442011-05-29 Deniz Dogan <deniz@dogan.se>
7045
7046 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7047 default.
7048
1dd3c2d9
CY
70492011-05-29 Chong Yidong <cyd@stupidchicken.com>
7050
7051 * select.el: Don't perform clipboard-manager saving in hooks;
7052 leave the hooks empty.
7053
60e56523
LL
70542011-05-28 Leo Liu <sdl.web@gmail.com>
7055
7056 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7057 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7058 (occur-edit-mode): New major mode (Bug#8463).
7059 (occur-after-change-function): New function.
7060 (occur-engine): Give Occur tags a read-only property.
7061
2b1e1a22
KR
70622011-05-28 Kevin Ryde <user42@zip.com.au>
7063
7064 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7065
5d344e88
CY
70662011-05-28 Chong Yidong <cyd@stupidchicken.com>
7067
8e6ca83d
CY
7068 * bindings.el (help-echo): Make the initial non-indicator dash
7069 empty on graphical terminals (Bug#7295).
7070
5d344e88
CY
7071 * files.el (auto-mode-alist): Move config rule after the
7072 in-stripping one (Bug#8547).
7073
bfbbace7
CY
7074 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7075
fbeba6e2
CY
7076 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7077 setting (Bug#8740).
7078
60ed8c72
AA
70792011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7080
4ac619f0
AA
7081 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7082 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7083 (Bug#8539).
60ed8c72 7084
23db196e
CY
70852011-05-28 Chong Yidong <cyd@stupidchicken.com>
7086
7087 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7088
5012f24c
DK
70892011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7090
7091 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7092 (hs-hide-block-at-point, hs-find-block-beginning)
7093 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7094 (Bug#8279).
7095
6a639b16
GM
70962011-05-28 Glenn Morris <rgm@gnu.org>
7097
7098 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7099
d43eaf2c
CY
71002011-05-28 Chong Yidong <cyd@stupidchicken.com>
7101
5199bde1
CY
7102 * help-fns.el (describe-function-1): If the function is a derived
7103 major mode, print the parent mode.
7104
d43eaf2c
CY
7105 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7106 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7107
423428a8
SM
71082011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7109
0ff8e1ba 7110 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 7111 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
7112 * progmodes/etags.el (tags-completion-at-point-function):
7113 * info-look.el (info-lookup-completions-at-point): Mark as
7114 non-exclusive.
7115 (info-complete): Adjust accordingly.
7116
423428a8
SM
7117 * info-look.el: Convert to lexical-binding and completion-at-point.
7118 (info-lookup-completions-at-point): New function.
7119 (info-complete): Use it and completion-in-region.
7120
b74aa22b
DA
71212011-05-28 Drew Adams <drew.adams@oracle.com>
7122
7123 * isearch.el: Let M-e start with point at the first mismatched char.
7124 (isearch-fail-pos): New function.
7125 (isearch-edit-string): Use it.
7126
66e2e71d
DK
71272011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7128
7129 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7130
eb95d01d
TC
71312009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7132
7133 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7134 traversal functions for avl-trees.
7135 (avl-tree--stack): New struct.
7136 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7137 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
7138 (avl-tree--do-enter): Add optional `updatefun' arg.
7139 Change return value.
eb95d01d 7140 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
7141 (avl-tree--do-delete): Add `test' and `nilflag' args.
7142 Change return value.
eb95d01d
TC
7143 (avl-tree-member): Add optional `nilflag'
7144 (avl-tree-member-p): New function.
7145 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7146 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7147 (avl-tree-stack-empty-p): New functions.
7148
3769ddcf
TC
71492009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7150
7151 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7152 avl-tree--del-balance1 and make it work both ways.
7153 (avl-tree--del-balance2): Remove.
7154 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7155 make it work both ways.
7156 (avl-tree--enter-balance2): Remove.
7157 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7158 New macros.
7159 (avl-tree--mapc, avl-tree-map): Add direction argument.
7160
eb95d01d 71612011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
7162
7163 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7164
a9f737ee
CY
71652011-05-27 Chong Yidong <cyd@stupidchicken.com>
7166
7167 * select.el: Support clipboard managers with built-in function
7168 x-clipboard-manager-save, via delete-frame-functions and
7169 kill-emacs-hook.
7170 (xselect-convert-to-targets): Add MULTIPLE target to list.
7171 (xselect-convert-to-save-targets): New function.
7172
c92a1e54
KH
71732011-05-27 Kenichi Handa <handa@m17n.org>
7174
7175 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7176 let-binding rfc2047-encode-encoded-words to nil.
7177
e145f188
GM
71782011-05-27 Glenn Morris <rgm@gnu.org>
7179
5ec8a862
GM
7180 * mail/emacsbug.el: Don't require url-util.
7181
4b29d9fb
GM
7182 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7183
e145f188
GM
7184 * files.el (set-auto-mode):
7185 Also respect mode: entries at the end of the file. (Bug#8586)
7186
7d15102b
GM
71872011-05-26 Glenn Morris <rgm@gnu.org>
7188
98f593b8
GM
7189 * files.el (hack-local-variables-prop-line, hack-local-variables):
7190 Downcase mode names, as seems to be traditional.
27b48e63 7191 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 7192
7d15102b
GM
7193 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7194 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7195
51d5b4ec
JD
71962011-05-25 Julien Danjou <julien@danjou.info>
7197
7198 * textmodes/rst.el (rst-define-level-faces): Do not define face
7199 symbol if it is already defined.
7200
91513f63
VB
72012011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7202
7203 * play/5x5.el (5x5-new-game, 5x5-randomize):
7204 Reset 5x5-solver-output to nil when a new grid is cast.
7205 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7206 these debugging traces, as defmacro breaks the compiled code.
7207
4d90d6d0
DK
72082011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7209
7210 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7211
e1b90ef6
LL
72122011-05-24 Leo Liu <sdl.web@gmail.com>
7213
7214 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7215 (vc-bzr-sha1): Adapt.
7216
d8e4b68b 7217 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
7218
7219 * bindings.el: Provide sha1 feature.
7220
db0406bb 72212011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
7222
7223 * mail/sendmail.el: Require `rfc2047'.
7224 (mail-insert-from-field): Do not perform RFC2047 encoding.
7225 (mail-encode-header): New function.
7226 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
7227 buffer to the return value of select-message-coding-system.
7228 Call mail-encode-header.
b8d747b9
KH
7229
7230 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7231
db0406bb 72322011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 7233
4d90d6d0
DK
7234 * mail/supercite.el (sc-default-cite-frame):
7235 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 7236
eb8a5e9b
GM
72372011-05-24 Glenn Morris <rgm@gnu.org>
7238
f8630703
GM
7239 * progmodes/python.el (brm-menu): Declare.
7240
8831bbed
GM
7241 * emulation/viper.el (viper-set-hooks): Declare.
7242
eb8a5e9b
GM
7243 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7244 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7245 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7246 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7247 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7248 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7249
a2a25d24
SM
72502011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 Add an :exit-function for completion-at-point.
7253
7254 * minibuffer.el (completion--done): New fun.
7255 (completion--do-completion): Use it. New arg `expect-exact'.
7256 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7257 since completion--do-completion does it for us now.
7258 (minibuffer-force-complete): Use completion--done and
7259 completion--replace. Handle sole-completion case with more care.
7260 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7261 (completion-extra-properties): New var.
7262 (completion-annotate-function): Make obsolete.
7263 (minibuffer-completion-help): Adjust accordingly.
7264 Use completion-list-insert-choice-function.
7265 (completion-at-point, completion-help-at-point):
7266 Bind completion-extra-properties.
7267 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7268 * simple.el (completion-list-insert-choice-function): New var.
7269 (completion-setup-function): Preserve it.
7270 (choose-completion): Pay attention to it, shuffle the code a bit.
7271 (choose-completion-string): New arg `insert-function'.
7272
7273 * textmodes/bibtex.el: Convert to lexical binding.
7274 (bibtex-mode-map): Use completion-at-point.
7275 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7276 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7277 (bibtex-complete): Define as obsolete alias.
7278 (bibtex-complete-internal): Remove.
7279 (bibtex-format-entry): Remove unused sub-group in regexp.
7280 * shell.el (shell--command-completion-data)
7281 (shell-environment-variable-completion):
7282 * pcomplete.el (pcomplete-completions-at-point):
7283 * comint.el (comint--complete-file-name-data): Use :exit-function
7284 instead of completion-table-with-terminator so it also works for
7285 choose-completion.
7286
e44e373d
SM
72872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7288
4f91a816
SM
7289 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7290
782fc819
SM
7291 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7292 (bug#8710).
7293
e44e373d
SM
7294 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7295
381987c3
KM
72962011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7297
7298 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7299 customization variable and implement: If non-nil, auto-fill will
7300 be inhibited while on topic's header line.
7301
b776bc70
VB
73022011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7303
7304 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 7305 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
7306 always have a solution in grid size = 5 cases.
7307 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7308 (5x5-solver-output, 5x5-log-buffer): New vars.
7309 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7310 Make these variables buffer local to achieve 5x5 multi-session-ness.
7311 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7312 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7313 (5x5-solve-suggest): New funs.
7314 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7315 randomize a grid so that we ensure that there is always a solution.
7316 (5x5-make-random-grid): Allow other movement than flipping.
7317
7de88b6e
KR
73182011-05-23 Kevin Ryde <user42@zip.com.au>
7319
7320 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 7321 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
7322 advice and passes PREDICATE.
7323
b1ef1257
SM
73242011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7325
bbca48fe
SM
7326 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7327 byte-compile-lambda if it's actually a lambda.
7328
b1ef1257
SM
7329 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7330 Fix function quoting. Use backquote better.
7331
92a9cc65
YS
73322011-05-22 Yuanle Song <sylecn@gmail.com>
7333
7334 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7335 matching (Bug#8516).
7336
f0fb8059
JA
73372011-01-22 Jari Aalto <jari.aalto@cante.net>
7338
7339 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7340 different face (Bug#8178).
7341
d5b44c93
CY
73422011-05-22 Chong Yidong <cyd@stupidchicken.com>
7343
7344 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7345 defface (Bug#8144).
7346
79106a44
SM
73472011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7348
9c848d8a
SM
7349 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7350 funcall as well (bug#8712). Warn when performing those conversions.
7351 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7352
79106a44
SM
7353 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7354
88dfa756
GM
73552011-05-22 Glenn Morris <rgm@gnu.org>
7356
7357 * files.el (hack-local-variables-prop-line): Small simplifications.
7358 (hack-local-variables, hack-local-variables-prop-line):
7359 If MODE-ONLY, return the mode, rather than just `t'.
7360
b7cf2c79
SM
73612011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7364
3f1a8558
GM
73652011-05-21 Glenn Morris <rgm@gnu.org>
7366
7e4ccca3
GM
7367 * files.el (hack-local-variables-prop-line, hack-local-variables):
7368 If only interested in the mode, don't bother doing the other stuff.
7369
637d46ca
GM
7370 * image-mode.el (image-after-revert-hook):
7371 Redraw all frames on which the image is visible. (Bug#8567)
7372
973d955b
GM
7373 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7374
3f1a8558
GM
7375 * wid-edit.el (widget-checklist-match-inline):
7376 Fix 2011-04-19 change. (Bug#8649)
7377
96479927
SM
73782011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7379
1dcf791f
SM
7380 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7381 Also allow singlespace after single-letter capitals followed by a dot.
7382
96479927
SM
7383 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7384 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7385
35fd0881
N
73862011-05-20 Nix <nix@esperi.org.uk>
7387
7388 * files.el (basic-save-buffer-2):
7389 Fix handling of break-hardlink-on-save with non-existent files.
7390
82745640
DD
73912011-05-19 Deniz Dogan <deniz@dogan.se>
7392
7393 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 7394 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 7395
4a720484
GM
73962011-05-19 Glenn Morris <rgm@gnu.org>
7397
d1f21341
GM
7398 * progmodes/f90.el (f90-type-def-re):
7399 Handle "type, bind(c)". (Bug#8691)
7400
4a720484
GM
7401 * emacs-lisp/autoload.el (batch-update-autoloads):
7402 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7403
2fb0a219
MA
74042011-05-18 Michael Albinus <michael.albinus@gmx.de>
7405
7406 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7407 property for the correct connection in case of multihops.
7408
e565dd37
GM
74092011-05-18 Glenn Morris <rgm@gnu.org>
7410
c2571358 7411 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
7412 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7413
e565dd37
GM
7414 Rationalize calendar handling of day and month abbrev-arrays.
7415 * calendar/calendar.el (calendar-customized-p): New function.
7416 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7417 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7418 Add :set function.
7419 (calendar-abbrev-length, calendar-day-abbrev-array)
7420 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7421 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7422 Elements may no longer be nil.
7423 (calendar-day-name, calendar-month-name):
7424 Update for changed nature of abbrev arrays.
7425 * calendar/diary-lib.el (diary-name-pattern):
7426 Update for changed nature of abbrev arrays.
7427 (diary-mark-entries-1): Update calendar-make-alist calls.
7428 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7429 * calendar/cal-html.el (cal-html-day-abbrev-array):
7430 Simply inherit from calendar-day-abbrev-array.
7431
1d99a745
SM
74322011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * progmodes/grep.el (grep-mode): Disable default
7435 compilation-directory-matcher setting (bug#8684).
7436
7c1d9aa0
MA
74372011-05-17 Michael Albinus <michael.albinus@gmx.de>
7438
7439 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7440 instead of "head" and "tail". There were problems with SunOS 5.9,
7441 and it performs better.
7442
3952e9d8
GM
74432011-05-17 Glenn Morris <rgm@gnu.org>
7444
2dd12e7f
GM
7445 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7446
e4157b9c
GM
7447 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7448 Replace obsolete function.
7449
8e249bbd
GM
7450 * shell.el (pcomplete-parse-arguments-function): Declare.
7451
3952e9d8
GM
7452 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7453 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7454 (appt-check): Doc fixes.
7455 (appt-disp-window-function, appt-delete-window-function):
7456 Remove needless special case in custom :type.
7457 (appt-display-count): Default to 0, not nil.
7458 (appt-check): Reset appt-display-count to 0, not nil.
7459
c71a0d48 74602011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 7461
c71a0d48
GM
7462 * progmodes/python.el (python-font-lock-keywords):
7463 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 7464
31d55be9
SM
74652011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7468
3bfacb2f
KR
74692011-05-16 Kevin Ryde <user42@zip.com.au>
7470
7471 * info-look.el (makefile-automake-mode): New setups, looking in
7472 automake manual, then makefile-mode.
7473 (makefile-mode): Remove automake manual, have it just in
7474 makefile-automake-mode since there's various things different or
7475 not relevant to plain make.
7476 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7477 believe a hypothetical automake-mode would go to makefile-mode,
7478 not the other way around.
7479
c8e83751
CY
74802011-05-15 Chong Yidong <cyd@stupidchicken.com>
7481
5e9e35cd
CY
7482 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7483 hunk-end tags (Bug#8672).
7484
c8e83751
CY
7485 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7486 vc-annotate-show-diff-revision-at-line (Bug#8671).
7487
50b23e5a
GM
74882011-05-14 Glenn Morris <rgm@gnu.org>
7489
7210a739
GM
7490 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7491 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
7492 (change-log-font-lock-keywords): Also handle multiple author lines
7493 with leading tabs. (Bug#8644)
7210a739 7494
4691905a
GM
7495 * calendar/appt.el (appt-check): Rename some local variables.
7496 Some simplification/reordering.
7497
50b23e5a
GM
7498 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7499 (feedmail-sendmail-f-doesnt-sell-me-out)
7500 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7501 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7502 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
7503 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7504 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
7505 (feedmail-binmail-gnulinuxish-template):
7506 Rename from feedmail-binmail-linuxish-template.
7507 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7508 Use insert-buffer-substring.
7509
215cda7c
BC
75102011-05-14 Bill Carpenter <bill@carpenter.org>
7511
7512 * mail/feedmail.el (feedmail-patch-level): Increase.
7513 (feedmail-debug): New custom group.
7514 (feedmail-confirm-outgoing-timeout)
7515 (feedmail-sendmail-f-doesnt-sell-me-out)
7516 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7517 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7518 (feedmail-sender-line, feedmail-from-line)
7519 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 7520 (feedmail-spray-this-address)
215cda7c
BC
7521 (feedmail-spray-address-fiddle-plex-list)
7522 (feedmail-queue-use-send-time-for-date)
7523 (feedmail-queue-use-send-time-for-message-id)
7524 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7525 (feedmail-buffer-eating-function):
7526 Doc fixes.
7527 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7528 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7529 (feedmail-message-action-scroll-down): New functions.
7530 (feedmail-queue-directory, feedmail-queue-draft-directory):
7531 Use expand-file-name.
7532 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7533 Remove C-v help entry.
7534 (feedmail-queue-buffer-file-name): New variable.
7535 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7536 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7537 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7538 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7539 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7540 (feedmail-message-action-toggle-spray)
7541 (feedmail-run-the-queue-no-prompts)
7542 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7543 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7544 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7545 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7546 (feedmail-envelope-deducer, feedmail-fiddle-from)
7547 (feedmail-fiddle-sender, feedmail-default-date-generator)
7548 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7549 (feedmail-fiddle-spray-address)
7550 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7551 (feedmail-fiddle-list-of-fiddle-plexes)
7552 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7553 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7554 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7555 Change default. Doc fix.
7556 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7557 (feedmail-binmail-linuxish-template): New constant.
7558 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7559 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7560 (feedmail-send-it): Add debug call.
7561 Use feedmail-queue-buffer-file-name, and
7562 feedmail-send-it-immediately-wrapper.
7563 (feedmail-message-action-send): Add debug call.
7564 Use feedmail-send-it-immediately-wrapper.
7565 (feedmail-queue-express-to-queue): Add debug call.
7566 Run feedmail-queue-express-hook.
7567 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7568 (feedmail-message-action-help-blat):
7569 Rename from feedmail-queue-send-edit-prompt-help-first.
7570 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7571 Check line-endings. Handle errors better.
7572 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7573 Doc fix. Add debug call.
7574 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7575 Use feedmail-queue-send-edit-prompt-inner.
7576 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7577 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7578 from feedmail-queue-send-edit-prompt.
7579 (feedmail-queue-send-edit-prompt-help)
7580 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7581 (feedmail-tidy-up-slug): Add debug call.
7582 Respect feedmail-queue-slug-suspect-regexp.
7583 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7584 (feedmail-dump-message-to-queue): Add debug call.
7585 Expand queue-directory.
7586 (feedmail-dump-message-to-queue): Change message slightly.
7587 Use feedmail-say-chatter.
7588 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7589 (feedmail-send-it-immediately-wrapper): New function.
7590 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7591 Insert empty string rather than newline. Handle full-frame case.
7592 Use catch/throw. Use feedmail-say-chatter.
7593 (feedmail-fiddle-from): Try mail-host-address.
7594 (feedmail-default-message-id-generator): Doc fix.
7595 Bind system-time-locale. Handle missing end.
7596 (feedmail-fiddle-x-mailer): Add debug call.
7597 Handle feedmail-x-mailer-line being nil.
7598 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7599 Add debug call. Use buffer-substring-no-properties.
7600 (feedmail-say-debug, feedmail-say-chatter): New functions.
7601 (feedmail-find-eoh): Give an explicit error.
7602
42c7e61e
UJ
76032011-05-13 Ulf Jasper <ulf.jasper@web.de>
7604
c2571358 7605 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 7606 family from helvetica to sans.
c2571358 7607 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7608 etc/images/newsticker.
7609
c2571358 7610 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
7611 family from helvetica to sans.
7612
7613 * net/newst-plainview.el (newsticker-new-item-face)
7614 (newsticker-old-item-face, newsticker-immortal-item-face)
7615 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 7616 (newsticker-statistics-face): Change default family from
42c7e61e 7617 helvetica to sans.
c2571358 7618 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
7619 etc/images/newsticker.
7620
7621 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7622 (newsticker--process-auto-mark-filter-match): : Tell user about
7623 auto-marking.
7624
8497a297
DV
76252011-05-13 Didier Verna <didier@xemacs.org>
7626
7627 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
7628 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7629 TODO entries.
8497a297
DV
7630 (lisp-lambda-list-keyword-parameter-indentation)
7631 (lisp-lambda-list-keyword-parameter-alignment)
7632 (lisp-lambda-list-keyword-alignment): New customizable user options.
7633 (lisp-indent-defun-method): Improve docstring.
7634 (extended-loop-p): Fix comment.
7635 (lisp-indent-lambda-list-keywords-regexp): New variable.
7636 (lisp-indent-lambda-list): New function.
7637 (lisp-indent-259): Use it.
7638 (lisp-indent-defmethod): Support for more than one
7639 method qualifier and properly indent methods lambda-lists.
7640 (defgeneric): Provide a missing common-lisp-indent-function property.
7641
f278f87f
SM
76422011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7645 bounds for the empty string (bug#8667).
7646
5233edd7
GM
76472011-05-13 Glenn Morris <rgm@gnu.org>
7648
5237a44f
GM
7649 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7650
8340026c 7651 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 7652 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 7653
5233edd7 7654 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 7655 (appt-time-msg-list): Doc fix.
a5464014 7656 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 7657
92d10796
AS
76582011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7659
7660 * progmodes/ld-script.el (ld-script-keywords)
7661 (ld-script-builtins): Update keywords list.
7662
914a0ae1
SM
76632011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7664
c89be45f
SM
7665 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7666
914a0ae1
SM
7667 * shell.el (shell-completion-vars): New function.
7668 (shell-mode):
7669 * simple.el (read-shell-command): Use it.
7670 (blink-matching-open): No need for " [...]" in minibuffer-message.
7671
98dc3df3
GM
76722011-05-12 Glenn Morris <rgm@gnu.org>
7673
7674 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7675 (appt-check): Simplify.
7676
d2fc7e3d 76772011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 7678
4d61f28d 7679 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
7680 literal "/dev/null".
7681
d2fc7e3d 76822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
7683
7684 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7685 Fix typo.
7686
d2fc7e3d 76872011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 7688
3f254caa
SM
7689 * progmodes/which-func.el (which-function):
7690 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
7691 which might not be defined (Bug#8260).
7692
d45885f7
GM
76932011-05-12 Glenn Morris <rgm@gnu.org>
7694
7695 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7696 Let byte-compile-initial-macro-environment always take precedence.
7697
488086f4
SM
76982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * net/rcirc.el: Add support for SSL/TLS connections.
7701 (rcirc-server-alist): New field `encryption'.
7702 (rcirc): Check `encryption' settings.
7703 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7704 Merge make-local-variable into `set'.
7705 (rcirc--connection-open-p): New function.
7706 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7707 the process is not a network process (e.g. running gnutls-cli).
7708 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7709 Make rcirc-(en|de)code-coding-system local here.
7710 (rcirc-mode): Merge make-local-variable into `set'.
7711 (rcirc-parent-buffer): Make permanent buffer-local.
7712 (rcirc-multiline-minor-mode): Don't do it here.
7713 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7714 there's no server buffer.
7715
7d3b9d44
GM
77162011-05-11 Glenn Morris <rgm@gnu.org>
7717
f64049c6
GM
7718 * newcomment.el (comment-kill): Prefix "unused" local.
7719
93c9df73
GM
7720 * term/w32console.el (get-screen-color): Declare.
7721
7d3b9d44
GM
7722 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7723 Handle symbol elements of byte-compile-initial-macro-environment.
7724
9e2dd53f
LL
77252011-05-10 Leo Liu <sdl.web@gmail.com>
7726
488086f4
SM
7727 * bookmark.el (bookmark-bmenu-mode-map):
7728 Bind bookmark-bmenu-search to `/'.
8b340240 7729
9e2dd53f 7730 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
7731 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7732 (Footnote-unicode): New function.
7733 (footnote-style-alist): Add unicode style to the list.
7734 (footnote-style): Doc fix.
9e2dd53f 7735
79b70037
GM
77362011-05-10 Jim Meyering <meyering@redhat.com>
7737
7738 Fix doubled-word typos.
7739 * international/quail.el (quail-insert-kbd-layout): and and -> and
7740 * kermit.el: and and -> and
7741 * net/ldap.el (ldap-search-internal): to to -> to
7742 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7743 * progmodes/js.el (js-mode): and and -> and
7744 * textmodes/artist.el (artist-move-to-xy): at at -> at
7745 (artist-draw-region-trim-line-endings): if if -> if
7746 And Safetyc -> Safety.
7747 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7748
b8f82dc1 77492011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 7750 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
7751
7752 * files.el (hack-one-local-variable-eval-safep):
7753 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7754
4f99f44b
GM
77552011-05-10 Glenn Morris <rgm@gnu.org>
7756
7757 * calendar/diary-lib.el (diary-list-entries-hook)
7758 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7759 (diary-nongregorian-marking-hook, diary-list-entries)
7760 (diary-include-other-diary-files, diary-mark-entries)
7761 (diary-mark-included-diary-files): Doc fixes.
7762
84f29e6b
JB
77632011-05-09 Juanma Barranquero <lekktu@gmail.com>
7764
7765 * misc.el: Require tabulated-list.el during compilation.
7766
9bedd73a
CY
77672011-05-09 Chong Yidong <cyd@stupidchicken.com>
7768
488086f4
SM
7769 * progmodes/compile.el (compilation-start):
7770 Run compilation-filter-hook for the async case too.
9bedd73a
CY
7771 (compilation-filter-hook): Doc fix.
7772
797c735c
DD
77732011-05-09 Deniz Dogan <deniz@dogan.se>
7774
7775 * wdired.el: Remove outdated installation comment. Fix usage
7776 comment.
7777
5f4b1dfe
JB
77782011-05-09 Juanma Barranquero <lekktu@gmail.com>
7779
7780 * misc.el: Implement new command `list-dynamic-libraries'.
7781 (list-dynamic-libraries--loaded-only-p): New variable.
7782 (list-dynamic-libraries--refresh): New function.
7783 (list-dynamic-libraries): New command.
7784
4c44026c
CY
77852011-05-09 Chong Yidong <cyd@stupidchicken.com>
7786
488086f4
SM
7787 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7788 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
7789 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7790 higher priority to avoid clobbering by gnu.
7791
027f966d
CY
77922011-05-08 Chong Yidong <cyd@stupidchicken.com>
7793
7794 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7795 if the face has existing theme settings (Bug#8454).
7796
085f5d7d
CY
77972011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7798
488086f4
SM
7799 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7800 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 7801
2a86a00c
RS
7802 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7803 special file names `.' and `..' (Bug#8259).
7804
d9c54a06
CY
78052011-05-08 Chong Yidong <cyd@stupidchicken.com>
7806
488086f4
SM
7807 * progmodes/grep.el (grep-mode-font-lock-keywords):
7808 Remove buffer-changing entries.
d9c54a06
CY
7809 (grep-filter): New function.
7810 (grep-mode): Add it to compilation-filter-hook.
7811
7812 * progmodes/compile.el (compilation-filter-hook)
7813 (compilation-filter-start): New defvars.
7814 (compilation-filter): Call compilation-filter-hook prior to
7815 updating the process mark.
7816
c4662635
SM
78172011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7818
7819 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7820
b0512a1d
EZ
78212011-05-07 Eli Zaretskii <eliz@gnu.org>
7822
605c9376
EZ
7823 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7824 mailclient-send-it even if window-system is nil. (Bug#8595)
7825
c4662635
SM
7826 * term/w32console.el (terminal-init-w32console):
7827 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
7828 background-mode. (Bug#8597)
7829
d1dc2cc2
SM
78302011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7833 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7834 New functions.
7835 (defgeneric, eieio--defmethod): Use them.
7836 (eieio-defgeneric): Remove.
7837 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7838
915d1300
GM
78392011-05-07 Glenn Morris <rgm@gnu.org>
7840
a3961c3e
GM
7841 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7842 Use let rather than let*.
7843 (timeclock-find-discrep): Remove unused local.
7844
314347b9
GM
7845 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7846
915d1300
GM
7847 * calendar/appt.el (appt-time-msg-list): Doc fix.
7848
275b59b0
NF
78492011-05-06 Noah Friedman <friedman@splode.com>
7850
7851 * apropos.el (apropos-print-doc): Only use
7852 emacs-lisp-docstring-fill-column when it is bound to an integer,
7853 per that variable's documentation.
7854
6c19f744
SM
78552011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 7858 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 7859
60f884b2
GM
78602011-05-06 Glenn Morris <rgm@gnu.org>
7861
5006e634
GM
7862 * calendar/appt.el (appt-message-warning-time): Doc fix.
7863 (appt-warning-time-regexp): New option.
7864 (appt-make-list): Respect appt-message-warning-time.
7865
548d0a63
GM
7866 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7867 New options.
7868 (diary-add-to-list): Strip comments from the displayed string.
7869 (diary-mode): Set comment-start and comment-end.
7870
60f884b2
GM
7871 * vc/diff-mode.el (smerge-refine-subst): Declare.
7872 (diff-refine-hunk): Don't require smerge-mode when compiling.
7873
989681bb
JB
78742011-05-06 Juanma Barranquero <lekktu@gmail.com>
7875
7876 * simple.el (list-processes): Return nil as the docstring says.
7877
a6bc05e1
MA
78782011-05-05 Michael Albinus <michael.albinus@gmx.de>
7879
7880 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7881 to "".
7882 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7883 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7884 determining of binary transfer. (Bug#7383)
7885
23c22e9a
MA
78862011-05-05 Michael Albinus <michael.albinus@gmx.de>
7887
c4662635
SM
7888 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7889 Fix port computation bug. (Bug#8618)
23c22e9a 7890
0bff894f
GM
78912011-05-05 Glenn Morris <rgm@gnu.org>
7892
b8296902
GM
7893 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7894
1f522ce8
GM
7895 * simple.el (shell-dynamic-complete-functions)
7896 (comint-dynamic-complete-functions): Declare.
7897
cf5bee67
GM
7898 * net/network-stream.el (gnutls-negotiate):
7899 * simple.el (tabulated-list-print): Fix declarations.
7900
7901 * progmodes/gud.el (syntax-symbol, syntax-point):
7902 Remove unnecessary and incorrect declarations.
7903
0bff894f
GM
7904 * emacs-lisp/check-declare.el (check-declare-scan):
7905 Handle byte-compile-initial-macro-environment in bytecomp.el
7906
9869b3ae
SM
79072011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7908
7909 Fix earlier half-done eieio-defmethod change (bug#8338).
7910 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7911 Streamline and change calling convention.
7912 (defmethod): Adjust accordingly and simplify.
7913 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7914 new eieio--defmethod.
7915 (slot-boundp): Minor CSE simplification.
7916
9c1d5ac5
MZ
79172011-05-05 Milan Zamazal <pdm@zamazal.org>
7918
7919 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7920 (glasses-make-readable): Use glasses-separate-capital-groups.
7921
455c834e
JB
79222011-05-05 Juanma Barranquero <lekktu@gmail.com>
7923
7924 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7925 (warning-series): Doc fix.
7926 (display-warning): Don't try to create the buffer if we just found it.
7927
9ed7c8cb
CY
79282011-05-04 Chong Yidong <cyd@stupidchicken.com>
7929
7930 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7931 (autoload-find-generated-file): New function.
7932 (generate-file-autoloads): Bind generated-autoload-file to
7933 buffer-file-name.
9869b3ae
SM
7934 (update-file-autoloads, update-directory-autoloads):
7935 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
7936 output file (Bug#7989).
7937 (batch-update-autoloads): Doc fix.
7938
0898ca10
JB
79392011-05-04 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7942
31dfb76c
GM
79432011-05-04 Glenn Morris <rgm@gnu.org>
7944
f330b642
GM
7945 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7946 function, so it follows changes in calendar-date-style.
7947 (diary-fancy-date-matcher): New function.
7948 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7949 (diary-fancy-font-lock-fontify-region-function):
7950 Use diary-fancy-date-pattern as a function.
7951
31dfb76c
GM
7952 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7953 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7954
48e79d6a
TZ
79552011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7956
7957 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7958 instead of positional arguments. Allow :keylist and :crlfiles
7959 arguments.
7960 (open-gnutls-stream): Call it.
7961
7962 * net/network-stream.el (network-stream-open-starttls): Adjust to
7963 call `gnutls-negotiate' with :process and :hostname arguments.
7964
dd5a5ee0
SM
79652011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7966
ef80fc09
SM
7967 * minibuffer.el (completion--message): New function.
7968 (completion--do-completion, minibuffer-complete)
7969 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7970 (completion--do-completion): Don't ignore completion-auto-help when in
7971 icomplete-mode.
7972
dd5a5ee0
SM
7973 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7974 internal encoding (e.g. tibetan zero is not whitespace).
7975 (global-whitespace-mode): Prefer save-current-buffer.
7976 (whitespace-trailing-regexp): Remove useless save-match-data.
7977 (whitespace-empty-at-bob-regexp): Minor simplification.
7978
b7d22a83
CY
79792011-05-03 Chong Yidong <cyd@stupidchicken.com>
7980
7981 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7982
5192af46
AM
79832011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7984
7985 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 7986 Use `concat' to create string for insertion.
5192af46 7987
5767d190
SM
79882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7991 Avoid open-line which runs post-self-insert-hook.
7992 (bibtex-fill-entry): Remove unused `end' var.
7993
bf242939
AM
79942011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7995
5767d190
SM
7996 * textmodes/ispell.el (ispell-add-per-file-word-list):
7997 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 7998
25666126
LL
79992011-05-03 Leo Liu <sdl.web@gmail.com>
8000
8001 * isearch.el (isearch-yank-pop): New command.
5767d190 8002 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8003 (isearch-forward): Mention it.
8004
52d3c2d0
SM
80052011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8006
1bcace58
SM
8007 * simple.el (minibuffer-complete-shell-command): Remove.
8008 (minibuffer-local-shell-command-map): Use completion-at-point.
8009 (read-shell-command): Setup completion vars here instead.
8010 (read-expression-map): Bind TAB to symbol completion.
8011
52d3c2d0
SM
8012 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8013 error directly rather via storing it into `results'.
8014
35813471
LL
80152011-05-02 Leo Liu <sdl.web@gmail.com>
8016
8017 * vc/diff.el: Fix description.
8018
e793a940
LMI
80192011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8020
8021 * server.el (server-eval-at): New function.
8022
8de66e05
LMI
80232011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8024
8025 * net/network-stream.el (open-network-stream): Take a :nowait
8026 parameter and pass it on to `make-network-process'.
8027 (network-stream-open-plain): Ditto.
8028
dcb79f20
AS
80292011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8030
8031 * faces.el (face-spec-set-match-display): Don't match toolkit
8032 options on terminal frames.
8033
14a7fbd8
SM
80342011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8035
7eabc1be
SM
8036 * progmodes/pascal.el: Use lexical binding.
8037 (pascal-mode-map): Remove author preferences.
8038
14a7fbd8
SM
8039 * pcomplete.el (pcomplete-std-complete): Don't abuse
8040 completion-at-point.
8041
50f84510
JB
80422011-04-28 Juanma Barranquero <lekktu@gmail.com>
8043
6e087a44
JB
8044 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8045 removing code that has been dead since 1991 or so.
8046
50f84510
JB
8047 * startup.el (command-line): When warning about "_emacs", use a
8048 delayed warning to allow the user to filter it out.
8049
0ba690bd
DD
80502011-04-28 Deniz Dogan <deniz@dogan.se>
8051
8052 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8053 user has not joined.
8054
08abfaad
SM
80552011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8056
8057 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8058 aren't any completions at point.
8059
638f053a
JB
80602011-04-28 Juanma Barranquero <lekktu@gmail.com>
8061
8062 * subr.el (display-delayed-warnings): New function.
8063 (delayed-warnings-hook): New variable.
8064
8fff8daa
SM
80652011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8066
08abfaad
SM
8067 * minibuffer.el (completion-at-point, completion-help-at-point):
8068 Don't presume that a given completion-at-point-function will always
8069 use the same calling convention.
8070
8fff8daa
SM
8071 * pcomplete.el (pcomplete-completions-at-point):
8072 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8073 pcomplete-seen is non-nil.
8074 (pcomplete-comint-setup): Also recognize the new comint/shell
8075 completion functions.
8076 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8077 pcomplete-seen is non-nil.
8078
841a1577 80792011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 8080
841a1577 8081 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 8082 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 8083 the first character in the entry. This allows for code to add its
211ec907
UJ
8084 own uid to the entry.
8085 (icalendar--convert-float-to-ical): Add export of
8086 `diary-float'-entries save for those with the optional DAY
8087 argument.
8088
2a782793
DC
80892011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8090
8091 * subr.el (shell-quote-argument): Use alternate escaping strategy
8092 when we spot a variable reference in a string.
8093
0438ce91
DC
80942011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8095
8096 * cus-start.el (all): Define customization for debug-on-event.
8097
841a1577 80982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
8099
8100 * subr.el (shell-quote-argument): Escape correctly under Windows.
8101
d090ed6c
SM
81022011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8105
bfd31217
MA
81062011-04-25 Michael Albinus <michael.albinus@gmx.de>
8107
d090ed6c
SM
8108 * net/tramp.el (tramp-process-actions): Add POS argument.
8109 Delete region between POS and (pos).
bfd31217 8110
d090ed6c
SM
8111 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8112 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
8113 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8114
8115 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8116 position in `tramp-process-actions' call.
8117
8118 * net/trampver.el: Update release number.
8119
e92f3bd3
SM
81202011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8121
850256b5
SM
8122 * custom.el (defcustom): Obey lexical-binding.
8123
e92f3bd3
SM
8124 Fix octave-inf completion problems reported by Alexander Klimov.
8125 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8126 Inherit from octave-mode-syntax-table.
8127 (inferior-octave-mode): Set info-lookup-mode.
8128 (inferior-octave-completion-at-point): New function.
8129 (inferior-octave-complete): Use it and completion-in-region.
8130 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8131 comint-filename-completion.
8132 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8133 symbol elements which shouldn't be word elements.
8134 (octave-font-lock-keywords, octave-beginning-of-defun)
8135 (octave-function-header-regexp): Adjust regexps accordingly.
8136 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8137
cd22b309
JB
81382011-04-25 Juanma Barranquero <lekktu@gmail.com>
8139
8140 * net/gnutls.el (gnutls-errorp): Declare before first use.
8141
8b492194
TZ
81422011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8143
8144 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8145 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 8146 default trustfile exists before going to use it. Add missing
5a5fa834 8147 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
8148 Reported by Claudio Bley <claudio.bley@gmail.com>.
8149 (open-gnutls-stream): Add usage example.
8150
8151 * net/network-stream.el (network-stream-open-starttls): Give host
8152 parameter to `gnutls-negotiate'.
8153 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 8154 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 8155
841a1577 81562011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 8157
cd22b309
JB
8158 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8159 Use correct match group (bug#8438).
05842630 8160
3ba7869c
CY
81612011-04-24 Chong Yidong <cyd@stupidchicken.com>
8162
512e3ae1
CY
8163 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8164 (package-menu--generate): New arg specifying packages to show.
8165 (package-menu-refresh, package-menu-execute, list-packages):
8166 Callers changed.
8167 (package-show-package-list): New function, replacing deleted
8168 package--list-packages (renamed because it is non-internal).
8169
8170 * finder.el (finder-list-matches): Use package-show-package-list
8171 instead of deleted package--list-packages.
8172
e92f3bd3
SM
8173 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8174 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
8175 (vc-annotate-mode-map): Bind it to RET.
8176
7031be6d
UR
81772011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8178
8179 * progmodes/etags.el (next-file): Don't use set-buffer to change
8180 buffers (Bug#8478).
8181
4ef177aa
CY
81822011-04-24 Chong Yidong <cyd@stupidchicken.com>
8183
c8d173eb
CY
8184 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8185
4ef177aa
CY
8186 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8187 (apropos-accumulator): Doc fix.
8188 (apropos-function, apropos-macro, apropos-command)
8189 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8190 (apropos-plist): Add face property.
8191 (apropos-symbols-internal): Fix indentation.
8192 (apropos-print): Simplify help, and recognize apropos-multi-type.
8193 (apropos-print-doc): Use button-type-get to extract the button's
8194 face property. Fill docstring (Bug#8352).
8195
4ffd0d6b 81962011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
8197
8198 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8199
c6c32125 8200 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 8201 (mpuz-mode-map): Use mapc.
c6c32125
JB
8202 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8203 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8204 Fix typos in docstrings.
8205
58d468b4
JB
8206 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8207 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8208
6470c3c6
JB
8209 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8210
4ffd0d6b 82112011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
8212
8213 * minibuffer.el (completion--do-completion): Avoid the "Next char
8214 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8215
3ad8bad0
CY
8216 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8217 mouse-2 into unread-command-events, it is interpreted correctly.
8218
71d73c9c 8219 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 8220 (image-toggle-display): Doc fix.
71d73c9c 8221
841a1577 82222011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 8223
4ffd0d6b
GM
8224 * textmodes/page.el (what-page): Use line-number-at-pos to
8225 calculate line number (Bug#6825).
6e1dbaa9 8226
c2fb1b60
JB
82272011-04-22 Juanma Barranquero <lekktu@gmail.com>
8228
8229 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8230 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8231 Pass argument NO-DEFAULT to `find-tag-interactive'.
8232
e02f48d7
JB
82332011-04-22 Juanma Barranquero <lekktu@gmail.com>
8234
8235 Lexical-binding cleanup.
8236
8237 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8238 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8239 * progmodes/ada-prj.el (ada-prj-initialize-values)
8240 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8241 (ada-prj-show-value):
8242 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8243 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8244 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8245 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8246 * progmodes/bug-reference.el (bug-reference-push-button):
8247 * progmodes/fortran.el (fortran-line-length):
8248 * progmodes/glasses.el (glasses-change):
8249 * progmodes/octave-mod.el (octave-fill-paragraph):
8250 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8251 (python-pdbtrack-grub-for-buffer, python-sentinel):
8252 * progmodes/sql.el (sql-save-connection):
8253 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8254 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8255 Mark unused parameters.
8256
8257 * progmodes/compile.el (compilation--flush-directory-cache)
8258 (compilation--flush-parse, compile-internal): Mark unused parameters.
8259 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8260 (compilation-next-error-function): Remove unused variable `timestamp'.
8261
8262 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8263 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8264
8265 * progmodes/dcl-mode.el (dcl-end-of-command):
8266 Remove unused variable `start'.
8267 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8268 (dcl-option-value-basic, dcl-option-value-offset)
8269 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8270 Mark unused parameters.
8271 (dcl-save-local-variable): Remove unused variable `val'.
8272 (mode): Declare.
8273
8274 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8275 Mark unused parameters.
8276 (delphi-ignore-changes): Move before first use.
8277 (delphi-charset-token-at): Remove unused variable `start'.
8278 (delphi-else-start): Remove unused variable `if-count'.
8279 (delphi-comment-block-start, delphi-comment-block-end):
8280 Remove unused variable `kind'.
8281 (delphi-indent-line): Remove unused variable `new-point'.
8282
8283 * progmodes/ebrowse.el (ebrowse-files-list)
8284 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8285 Mark unused parameters. Don't quote `lambda'.
8286 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8287 Don't quote `lambda'.
8288 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8289 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8290 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8291 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8292 Use `ignore-errors'.
8293 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8294 (ebrowse-view/find-file-and-search-pattern)
8295 (ebrowse-view/find-member-declaration/definition):
8296 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8297 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8298 Rename parameter PREFIX-ARG to PREFIX.
8299 (ebrowse-tags-read-name): Remove unused variables `start' and
8300 `member-info'.
8301 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8302 to `tags-file'.
8303
8304 * progmodes/etags.el (local-find-tag-hook): Declare.
8305 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8306 Mark unused parameters.
8307
8308 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8309 (executable-interpret): Mark unused parameter.
8310
8311 * progmodes/flymake.el (flymake-process-sentinel)
8312 (flymake-after-change-function)
8313 (flymake-create-temp-with-folder-structure)
8314 (flymake-get-include-dirs-dot): Mark unused parameters.
8315 (flymake-safe-delete-directory): Remove unused variable `err'.
8316
8317 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8318 (speedbar-timer-fn, speedbar-line-text)
8319 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8320 (speedbar-center-buffer-smartly): Declare functions.
8321 (gdb-find-watch-expression): Remove unused variable `array'.
8322 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8323 (gdb-starting): Mark unused parameters.
8324 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8325 (gdb-table-string): Remove unused variable `res'.
8326 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8327 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8328 (gdb-display-buffer): Remove unused variable `cur-size'.
8329
8330 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8331 allow lexical-binding compilation.
8332 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8333 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8334 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8335 Mark unused parameters.
8336 (gud-gdb-marker-filter): Remove unused variable `match'.
8337 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8338 lambda expressions and funcall them, instead of using `fset'.
8339
8340 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8341 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8342
8343 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8344 variable `header-beg'; use `let'.
8345
8346 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8347 `restart', `last-sexp' and `at-do'.
8348
8349 * progmodes/js.el (js--debug): Mark unused parameter.
8350 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8351 (js--splice-into-items): Remove unused variable `item'.
8352 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8353
8354 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8355 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8356 (makefile-complete): Remove unused variable `try'.
8357 (makefile-fill-paragraph, makefile-match-function-end):
8358 Mark unused parameters.
8359
8360 * progmodes/octave-inf.el (inferior-octave-complete):
8361 Remove unused variable `proc'.
8362 (inferior-octave-output-digest): Mark unused parameter.
8363
8364 * progmodes/perl-mode.el (perl-calculate-indent):
8365 Remove unused variable `err'.
8366
8367 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8368 (prolog-indent-line): Mark unused parameters.
8369 (prolog-indent-line): Remove unused variable `beg'.
8370
8371 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8372 (reporter-dont-compact-list): Declare.
8373
8374 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8375 Remove unused variable `char'.
8376 (sh-debug): Mark unused parameter.
8377 (sh-get-indent-info): Remove unused variable `start'.
8378 (sh-calculate-indent): Remove unused variable `var'.
8379
8380 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8381 (simula-electric-keyword): Remove unused variable `null'.
8382 (simula-search-backward, simula-search-forward): Remove unused
8383 variables `begin' and `end'.
8384
8385 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8386 Remove unused variable `pos'.
8387 (vera-electric-tab, vera-comment-uncomment-region):
8388 Mark unused parameters.
8389 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8390
7ede3b65
CY
83912011-04-22 Chong Yidong <cyd@stupidchicken.com>
8392
8393 * emacs-lisp/package.el (package--builtins, package-alist)
8394 (package-load-descriptor, package-built-in-p, package-activate)
8395 (define-package, package-installed-p)
8396 (package-compute-transaction, package-buffer-info)
8397 (package--push): Doc fix. Distinguish more clearly between
8398 version strings and version lists.
8399
121656e9
JB
84002011-04-21 Juanma Barranquero <lekktu@gmail.com>
8401
8402 Lexical-binding cleanup.
8403
8404 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8405 (5x5-make-mutate-best):
8406 * play/fortune.el (fortune-in-buffer):
8407 * play/gomoku.el (gomoku-init-display):
8408 * play/solitaire.el (solitaire, solitaire-do-check):
8409 * play/tetris.el (tetris-default-update-speed-function):
8410 Mark unused parameters.
8411
8412 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8413 (bubbles--shift): Remove unused variable `char-org'.
8414 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8415 (bubbles--show-images): Remove unused variable `char'.
8416
8417 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8418 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8419 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8420 (decipher-analyze-buffer): Use ?\s.
8421 (decipher-make-checkpoint): Remove unused variable `mapping'.
8422
8423 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8424
8425 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8426 Remove unused variable `result'; use `let'.
8427
8428 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8429 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8430 (gametree-children-shown-p, gametree-compute-reduced-score):
8431 Use `ignore-errors'.
8432
8433 * play/handwrite.el (ps-lpr-switches): Declare.
8434 (handwrite): Remove unused variables `pmin' and `lastp'.
8435
8436 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8437
8438 * play/landmark.el (landmark-init-display)
8439 (landmark-update-naught-weights): Mark unused parameters.
8440 (landmark-y): Remove unused variable `noise'. Simplify.
8441 (landmark-human-plays): Remove unused variable `score'.
8442
8443 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8444 (mpuz-try-proposal): Remove unused variable `game'.
8445
8446 * play/zone.el (life-patterns): Declare.
8447
80f499c7
JB
84482011-04-20 Juanma Barranquero <lekktu@gmail.com>
8449
8450 * vc/vc.el (ediff-vc-internal): Declare function.
8451
024ff170
SM
84522011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8453
c0a193ea
SM
8454 * shell.el: Use lexical-binding and std completion UI.
8455 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8456 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8457 comint-preoutput-filter-functions rather than on
8458 comint-output-filter-functions.
8459 (shell-command-completion, shell--command-completion-data)
8460 (shell-filename-completion, shell-environment-variable-completion)
8461 (shell-c-a-p-replace-by-expanded-directory): New functions.
8462 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8463 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8464 (shell-dynamic-complete-environment-variable): Use them.
8465 (shell-dynamic-complete-as-environment-variable)
8466 (shell-dynamic-complete-as-command): Remove.
8467 (shell-match-partial-variable): Match past point.
8468 * comint.el: Clean up use of completion-at-point-functions.
8469 (comint-completion-at-point): New function.
8470 (comint-mode): Use it completion-at-point-functions.
8471 (comint-dynamic-complete): Make it obsolete.
8472 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8473 (comint-c-a-p-replace-by-expanded-history): New function.
8474 (comint-dynamic-complete-functions)
8475 (comint-replace-by-expanded-history): Use it.
8476 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8477 termination strings. Try harder to avoid second try-completion.
8478 (completion-in-region-mode-map): Disable bindings that don't work yet.
8479
2dbaa080
SM
8480 * comint.el: Use lexical-binding. Require CL.
8481 (comint-dynamic-complete-functions): Use comint-filename-completion.
8482 (comint-completion-addsuffix): Tweak custom type.
8483 (comint-filename-completion, comint--common-suffix)
8484 (comint--common-quoted-suffix, comint--table-subvert)
8485 (comint--complete-file-name-data): New functions.
8486 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8487 (comint-dynamic-list-filename-completions): Use them.
8488 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 8489
2dbaa080
SM
8490 * minibuffer.el (completion-in-region-mode):
8491 Keep completion-in-region-mode--predicate global.
8492 (completion-in-region--postch):
8493 Assume completion-in-region-mode--predicate is not null.
8494
c79a6f38
SM
8495 * progmodes/flymake.el (flymake-start-syntax-check-process):
8496 Obey `dir'. Simplify.
8497
024ff170
SM
8498 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8499 we're in VC after all.
8500
1c6c854e
CS
85012011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8502
8503 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 8504 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
8505 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8506
bed7f140
SM
85072011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8508
332e62ab
SM
8509 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8510 add sanity check.
8511
bed7f140
SM
8512 * obsolete/erc-hecomplete.el: Make obsolete.
8513 * obsolete/: Standardize obsolescence info in the header.
8514
f195c582
GM
85152011-04-20 Glenn Morris <rgm@gnu.org>
8516
8517 * calendar/solar.el (solar-horizontal-coordinates):
8518 Use the longitude argument rather than `calendar-longitude'.
8519 (solar-date-next-longitude): Remove unused locals.
8520
cb79b8c0
VJL
85212011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8522
8523 * whitespace.el: New version 13.2.1.
8524
85252011-04-20 felix <EmacsWiki> (tiny change)
8526
d8e4b68b 8527 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
8528 switching between major modes on a file.
8529
602ea69d
SM
85302011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8533 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8534 multi-line comments as well.
8535
06b60517
JB
85362011-04-19 Juanma Barranquero <lekktu@gmail.com>
8537
8538 Lexical-binding cleanup.
8539
8540 * arc-mode.el (archive-mode-revert):
8541 * cmuscheme.el (scheme-interactively-start-process):
8542 * custom.el (custom-initialize-delay):
8543 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8544 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8545 * emacs-lock.el (emacs-lock-clear-sentinel):
8546 * ezimage.el (defezimage):
8547 * follow.el (follow-avoid-tail-recenter):
8548 * fringe.el (set-fringe-mode-1):
8549 * generic-x.el (bat-generic-mode-compile):
8550 * help-mode.el (help-info-variable, help-do-xref)
8551 (help-mode-revert-buffer):
8552 * help.el (view-emacs-todo):
8553 * iswitchb.el (iswitchb-completion-help):
8554 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8555 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8556 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8557 * locate.el (locate-update):
8558 * longlines.el (longlines-encode-region)
8559 (longlines-after-change-function):
8560 * outline.el (outline-isearch-open-invisible):
8561 * ps-def.el (declare-function, charset-dimension, char-width)
8562 (encode-char):
8563 * ps-mule.el (ps-mule-plot-string):
8564 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8565 (recentf-edit-list-select, recentf-edit-list-validate)
8566 (recentf-open-files-action):
8567 * rect.el (delete-whitespace-rectangle-line)
8568 (rectangle-number-line-callback):
8569 * register.el (window-configuration-to-register)
8570 (frame-configuration-to-register):
8571 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8572 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8573 (xselect-convert-to-targets, xselect-convert-to-delete)
8574 (xselect-convert-to-filename, xselect-convert-to-charpos)
8575 (xselect-convert-to-lineno, xselect-convert-to-colno)
8576 (xselect-convert-to-os, xselect-convert-to-host)
8577 (xselect-convert-to-user, xselect-convert-to-class)
8578 (xselect-convert-to-name, xselect-convert-to-integer)
8579 (xselect-convert-to-atom, xselect-convert-to-identity):
8580 * subr.el (declare, ignore, process-kill-without-query)
8581 (text-clone-maintain):
8582 * terminal.el (te-get-char, te-tic-sentinel):
8583 * tool-bar.el (tool-bar-make-keymap):
8584 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8585 * type-break.el (type-break-mode, type-break-noninteractive-query):
8586 * view.el (View-back-to-mark):
8587 * wid-browse.el (widget-browse-action, widget-browse-widget)
8588 (widget-browse-widgets, widget-browse-sexp):
8589 * widget.el (define-widget-keywords):
8590 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8591 Mark unused parameters.
8592
8593 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8594 (align-areas): Remove unused variable `look'.
8595 (align-region): Remove unused variables `real-end' and `pos-list'.
8596
8597 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8598
8599 * bindings.el (mode-line-modified, mode-line-remote):
8600 Mark unused parameters.
8601 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8602
8603 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8604 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8605
8606 * comint.el (comint-history-isearch-pop-state)
8607 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8608 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8609 (comint-substitute-in-file-name): Doc fix.
8610
8611 * completion.el (cmpl-statistics-block): Mark unused parameter.
8612 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8613 (save-completions-to-file, load-completions-from-file):
8614 Remove unused local variable `e'.
8615
8616 * composite.el (compose-chars): Remove unused variable `len'.
8617 (lgstring-insert-glyph): Remove unused variable `g'.
8618 (compose-glyph-string): Remove unused variables `ascent',
8619 `descent', `lbearing' and `rbearing'.
8620 (compose-glyph-string-relative): Remove unused variables
8621 `lbearing', `rbearing' and `wadjust'.
8622 (compose-gstring-for-graphic): Remove unused variables `header',
8623 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8624 (compose-gstring-for-terminal): Remove unused variables `header'
8625 and `nchars'. Use `let', not `let*'.
8626
8627 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8628 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8629 (Custom-buffer-done, custom-buffer-create-internal)
8630 (custom-browse-visibility-action, custom-browse-group-tag-action)
8631 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8632 (widget-magic-mouse-down-action, custom-toggle-parent)
8633 (custom-add-parent-links, custom-toggle-hide-variable)
8634 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8635 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8636 (custom-face-menu-create, custom-variable-menu-create, get)
8637 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8638 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8639 (customize-apropos): Remove unused variable `tests'.
8640 (custom-group-value-create): Remove unused variable `hidden-p'.
8641 (sort-fold-case): Declare.
8642
8643 * cus-theme.el (custom-reset-standard-faces-list)
8644 (custom-reset-standard-variables-list): Declare.
8645 (customize-create-theme, custom-theme-revert, custom-theme-write)
8646 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8647 Mark unused parameters.
8648
8649 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8650
8651 * delim-col.el (delimit-columns-max): Move defvar before first use.
8652
8653 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 8654 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
8655
8656 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8657 (auto-insert): Declare.
8658 (desktop-restore-file-buffer): Rename desktop-* parameters;
8659 mark unused ones.
8660 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8661 (desktop-buffer): Rename desktop-* parameters.
8662
8663 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8664 (dframe-reposition-frame-xemacs, dframe-help-echo)
8665 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8666 Mark unused parameters.
8667
8668 * dired-aux.el (backup-extract-version-start, overwrite-query)
8669 (overwrite-backup-query, rename-regexp-query)
8670 (rename-non-directory-query): Declare.
8671 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8672 (dired-add-entry): Remove unused variable `orig-file-name'.
8673 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8674 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8675 `dired-copy-preserve-time' directly.
8676 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8677 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8678
8679 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8680 (dired-virtual-revert, dired-make-relative-symlink):
8681 Mark unused parameters.
8682 (manual-program): Declare.
8683 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8684 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8685 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8686
8687 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8688
8689 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8690
8691 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8692 Declare.
8693
8694 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8695
8696 * electric.el (Electric-command-loop): Rename parameter
8697 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8698
8699 * expand.el (expand-in-literal): Remove unused variable `here'.
8700
8701 * facemenu.el (facemenu-add-new-color):
8702 Remove unused variable `docstring'.
8703
8704 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8705 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8706 (face-attr-construct): Mark unused parameter. Doc fix.
8707 (read-color): Remove unused variable `hex-string'.
8708
8709 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8710 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8711 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8712 (display-buffer-other-frame): Remove unused variable `old-window'.
8713 (kill-buffer-hook): Declare.
8714 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8715 Mark unused parameters.
8716 (after-find-file): Pass 1 to `auto-save-mode', not t.
8717
8718 * files-x.el (auto-insert): Declare.
8719 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8720
8721 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 8722 variable `buf'. Mark unused parameter.
06b60517
JB
8723 (find-lisp-insert-directory): Mark unused parameter.
8724
8725 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8726 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8727 (format-common-tail): Remove, unused.
8728 (format-deannotate-region): Remove unused variable `loc'.
8729 (format-annotate-region): Remove unused variable `p'.
8730 (format-annotate-single-property-change): Remove unused variables
8731 `default' and `tail'.
8732
8733 * forms.el (read-file-filter): Declare.
8734 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8735
8736 * frame.el (frame-creation-function-alist): Mark unused parameter.
8737 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8738
8739 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8740 Remove unused parameters.
8741 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8742 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8743
8744 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8745 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8746 (hfy-prepare-tag-map): Mark unused parameters.
8747 (htmlfontify-buffer): Use `called-interactively-p'.
8748
8749 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8750 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8751 (ibuffer-do-occur): Mark unused parameters.
8752 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8753 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8754
8755 * ibuffer.el: Don't quote `lambda'.
8756 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8757 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8758 Mark unused parameters.
8759
8760 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8761 (ido-completing-read): Mark unused parameters.
8762 (ido-copy-current-word): Mark unused parameters;
8763 remove unused variable `name'.
8764 (ido-sort-merged-list): Remove unused parameter `dirs'.
8765
8766 * ielm.el (ielm-input-sender): Mark unused parameter.
8767 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8768 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8769 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8770 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8771 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8772
8773 * image-dired.el (image-dired-display-thumbs): Remove unused
8774 variables `curr-file' and `count'.
8775 (image-dired-remove-tag): Remove unused variable `start'.
8776 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8777 variable `curr-file'
8778 (image-dired-rotate-original): Remove unused variable `temp-file'.
8779 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8780 Remove unused variable `file'.
8781 (image-dired-gallery-generate): Remove unused variable `curr'.
8782 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8783
8784 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8785
8786 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8787
8788 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8789
8790 * isearch.el (minibuffer-history-symbol): Declare.
8791 (isearch-edit-string): Remove unused variable `err'.
8792 (isearch-message-prefix, isearch-message-suffix):
8793 Mark unused parameters.
8794
8795 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8796
8797 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8798
8799 * makesum.el (double-column): Remove unused variable `cnt'.
8800
8801 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8802 (ido-ignore-item-temp-list): Declare.
8803
8804 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8805 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8806 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8807 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8808 `mouse-col-delta'.
8809
8810 * mouse-sel.el (mouse-extend-internal):
8811 Remove unused variable `orig-window-frame'.
8812
8813 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8814 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8815 Move declarations before first use.
8816 (pcomplete-opt): Mark unused parameters; doc fix.
8817
8818 * proced.el (proced-revert): Mark unused parameter.
8819 (proced-send-signal): Remove unused variable `err'.
8820
8821 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8822 Rename parameter PREFIX-ARG to ARG.
8823 (ps-basic-plot-string, ps-basic-plot-whitespace):
8824 Mark unused parameters.
8825
8826 * replace.el (replace-count): Define.
8827 (occur-revert-function): Mark unused parameters.
8828 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8829 (isearch-case-fold-search, isearch-string): Declare.
8830 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8831 bind `case-fold-search'. Remove unused variables `beg' and `end',
8832 and simplify.
8833 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8834 COUNT and bind `replace-count'.
8835 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8836 to COUNT.
8837
8838 * savehist.el (print-readably, print-string-length): Declare.
8839
8840 * shadowfile.el (shadow-expand-cluster-in-file-name):
8841 Remove unused variable `cluster'.
8842 (shadow-copy-file): Remove unused variable `i'.
8843 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8844 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8845 (shadow-define-literal-group, shadow-define-regexp-group)
8846 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8847
8848 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8849 (shell): Use `called-interactively-p'.
8850 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8851
8852 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8853 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8854 (delete-backward-char): Remove unused variable `ocol'.
8855 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8856 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8857 (event-apply-hyper-modifier, event-apply-shift-modifier)
8858 (event-apply-control-modifier, event-apply-meta-modifier):
8859 Mark unused parameters.
8860 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8861 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8862
8863 * speedbar.el (speedbar-ignored-directory-expressions)
8864 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8865 (speedbar-find-file, speedbar-dir-follow)
8866 (speedbar-directory-buttons-follow, speedbar-tag-find)
8867 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8868 (speedbar-buffers-line-directory, speedbar-buffer-click):
8869 Mark unused parameters.
8870 (speedbar-tag-file): Remove unused variable `mode'.
8871 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8872
8873 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8874
8875 * talk.el (talk): Remove unused variable `display'.
8876
8877 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8878 (tar-write-region-annotate): Mark unused parameter.
8879
8880 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8881 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8882 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8883 warning by another.
8884
8885 * time-stamp.el (time-stamp-string-preprocess):
8886 Remove unused variable `require-padding'.
8887
8888 * tree-widget.el (widget-glyph-enable): Declare.
8889 (tree-widget-action): Mark unused parameter.
8890
8891 * w32-fns.el (x-get-selection): Mark unused parameter.
8892 (autoload-make-program, generated-autoload-file): Declare.
8893
8894 * wdired.el (wdired-revert): Mark unused parameters.
8895 (wdired-xcase-word): Remove unused variable `err'.
8896
8897 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8898 (whitespace-help-scroll): Remove unused variable `data-help'.
8899
8900 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8901 (widget-image-insert, widget-after-change, default)
8902 (widget-default-format-handler, widget-default-notify)
8903 (widget-default-prompt-value, widget-info-link-action)
8904 (widget-url-link-action, widget-function-link-action)
8905 (widget-variable-link-action, widget-file-link-action)
8906 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8907 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8908 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8909 (widget-insert-button-action, widget-delete-button-action, visibility)
8910 (widget-documentation-link-action, widget-documentation-string-action)
8911 (widget-const-prompt-value, widget-regexp-match, symbol)
8912 (widget-coding-system-prompt-value)
8913 (widget-key-sequence-value-to-external, sexp)
8914 (widget-sexp-value-to-internal, character, vector, cons)
8915 (widget-choice-prompt-value, widget-boolean-prompt-value)
8916 (widget-color--choose-action): Mark unused parameters.
8917 (widget-item-match-inline, widget-choice-match-inline)
8918 (widget-checklist-match, widget-checklist-match-inline)
8919 (widget-group-match): Rename parameter VALUES to VALS.
8920 (widget-field-value-set): Remove unused variable `size'.
8921 (widget-color-action): Remove unused variables `value' and `start'.
8922
8923 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 8924 variable `dir'. Doc fix.
06b60517
JB
8925 (windmove-find-other-window): Don't pass it.
8926
8927 * window.el (count-windows): Mark unused parameter.
8928 (bw-adjust-window): Remove unused variable `err'.
8929
8930 * woman.el (woman-file-name): Remove unused variable `default'.
8931 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8932 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8933 (global-font-lock-mode): Declare.
8934 (woman-decode-region): Mark unused parameter.
8935 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8936
8937 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8938 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8939 (x-dnd-handle-moz-url): Remove unused variable `title'.
8940 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8941
8942 * xml.el (xml-parse-tag, xml-parse-attlist):
8943 Remove unused variable `pos'.
8944
bc4f7f3d
GM
89452011-04-19 Glenn Morris <rgm@gnu.org>
8946
8947 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8948 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8949 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8950 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8951 * calendar/cal-html.el (cal-html-insert-minical):
8952 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8953 (calendar-mark-date-pattern):
8954 Prefix "unused" locals.
8955
8956 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8957 optional argument `style'.
8958
8959 * calendar/appt.el (appt-make-list):
8960 * calendar/cal-china.el (calendar-chinese-date-string):
8961 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8962 (diary-hebrew-yahrzeit):
8963 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8964 * calendar/calendar.el (calendar-generate-window):
8965 * calendar/time-date.el (time-to-days):
8966 Remove unused local variables.
8967
16a43933
CY
89682011-04-18 Chong Yidong <cyd@stupidchicken.com>
8969
8970 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8971 glyphless-char-display table.
8972 (tabulated-list-glyphless-char-display): New var.
8973
7eed1860
SS
89742011-04-18 Sam Steingold <sds@gnu.org>
8975
8976 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8977 to acknowledgments.
8978
4d2d1ccd
GM
89792011-04-17 Glenn Morris <rgm@gnu.org>
8980
8981 * calendar/diary-lib.el (diary-sexp-entry):
8982 * calendar/holidays.el (holiday-sexp):
8983 Set debug-on-error rather than the removed stack-trace-on-error.
8984
239da61d
GM
89852011-04-16 Glenn Morris <rgm@gnu.org>
8986
8987 * progmodes/f90.el: Use lexical-binding.
8988 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8989
8b05752a
SM
89902011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8991
daca8ba5
SM
8992 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8993 (mail-mode): Setup mailalias completion here instead.
8994 * mail/mailalias.el: Use lexical-binding.
8995 (pattern, mailalias-done): Declare dynamic.
8996 (mail-completion-at-point-function): New function, from mail-complete.
8997 (mail-complete): Use it.
8998 (mail-completion-expand): New function.
8999 (mail-get-names): Use it.
9000 (mail-directory, mail-directory-process, mail-directory-stream):
9001 Don't use `pattern' for lexically bound arg.
9002
6f542485
SM
9003 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9004
037e7c3f
SM
9005 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9006 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9007 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9008
8b05752a
SM
9009 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9010 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9011 (byte-interactive-p): Define them again, for use when inlining
9012 old code.
9013
49093f60
JB
90142011-04-15 Juanma Barranquero <lekktu@gmail.com>
9015
9016 * loadup.el: Use `string-to-number', not `string-to-int'.
9017
b5b8e7de
SM
90182011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9021 gud-gdb-complete-command.
9022 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9023 (gud-gdb-completion-at-point): New function.
9024 (gud-gdb-completions): Remove.
9025
f42efeb5
MA
90262011-04-14 Michael Albinus <michael.albinus@gmx.de>
9027
49093f60
JB
9028 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9029 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9030 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9031 whether `executable-find' is bound.
f42efeb5
MA
9032
9033 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9034
e240cc21
SM
90352011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * minibuffer.el (completion-in-region-mode-predicate)
9038 (completion-in-region-mode--predicate): New vars.
9039 (completion-in-region, completion-in-region--postch)
9040 (completion-in-region-mode): Use them.
9041 (completion--capf-wrapper): Also return the hook function.
9042 (completion-at-point, completion-help-at-point):
9043 Adjust and provide a predicate.
c2bd2ab0
SM
9044
9045 Preserve arg names for advice of subr and lexical functions (bug#8457).
9046 * help-fns.el (help-function-arglist): Consolidate the subr and
9047 new-byte-code cases. Add argument `preserve-names' to extract names
9048 from the docstring when needed.
9049 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9050 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9051 (ad-arglist): Use help-function-arglist's new arg.
9052 (ad-definition-type): Use cond.
9053
c183f693
JB
90542011-04-13 Juanma Barranquero <lekktu@gmail.com>
9055
06641a47
JB
9056 * autorevert.el (auto-revert-handler):
9057 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9058 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9059 Don't quote lambda.
9060
c183f693
JB
9061 * image-mode.el (image-transform-set-scale):
9062 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9063
1e3b6001
G
90642011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9065
9066 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 9067 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
9068 Upgrades via gnutls-cli are too slow to be done opportunistically.
9069
2d6af8dd
JB
90702011-04-12 Juanma Barranquero <lekktu@gmail.com>
9071
9072 * dframe.el (dframe-current-frame): Remove spurious quote.
9073
c0749a51
GM
90742011-04-12 Glenn Morris <rgm@gnu.org>
9075
088d0d61
GM
9076 * calendar/cal-tex.el (cal-tex-end-document):
9077 Try to automatically use latin1 input if needed.
9078
c0749a51
GM
9079 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9080 Don't try to cons a mark onto an empty element.
9081
5c90fde0
LL
90822011-04-11 Leo Liu <sdl.web@gmail.com>
9083
9084 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9085 buffers.
9086 (ido-kill-buffer-at-head): Support killing virtual buffers.
9087
369e974d
CY
90882011-04-10 Chong Yidong <cyd@stupidchicken.com>
9089
9090 * minibuffer.el (completion-show-inline-help): New var.
9091 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
9092 (minibuffer-force-complete, minibuffer-complete-word):
9093 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
9094
9095 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9096 to avoid interference from inline help (Bug#5849).
9097
37f1c930
LL
90982011-04-10 Leo Liu <sdl.web@gmail.com>
9099
099c39a4
JB
9100 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9101 Fix typo.
37f1c930 9102
a32d4040
CY
91032011-04-09 Chong Yidong <cyd@stupidchicken.com>
9104
9105 * image-mode.el (image-toggle-display-image): Signal an error if
9106 not in Image mode.
9107 (image-transform-mode, image-transform-resize)
9108 (image-transform-set-rotation): Doc fix.
daca8ba5 9109 (image-transform-set-resize): Delete.
a32d4040
CY
9110 (image-transform-set-scale, image-transform-fit-to-height)
9111 (image-transform-fit-to-width): Handle image-toggle-display-image
9112 and image-transform-resize directly.
9113
099c39a4 91142011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
9115
9116 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
9117 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9118 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
9119 (doc-view-mode-map): Add bindings for the new functions.
9120
099c39a4 91212011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 9122
4d61f28d 9123 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
9124 Fix typo in docstring.
9125
3726838a
EZ
91262011-04-08 Eli Zaretskii <eliz@gnu.org>
9127
04f33f1e
EZ
9128 * files.el (file-size-human-readable): Produce one digit after
9129 decimal, like "ls -lh" does.
9130
9131 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9132 the file size representation.
9133
3726838a
EZ
9134 * simple.el (list-processes): If async subprocesses are not
9135 available, error out with a clear error message.
9136
cbb59342
CY
91372011-04-08 Chong Yidong <cyd@stupidchicken.com>
9138
9139 * help.el (help-form-show): New function, to be called from C.
9140 Put help-form output in a buffer named differently than *Help*.
9141
e3971c44
EZ
91422011-04-08 Eli Zaretskii <eliz@gnu.org>
9143
9144 * files.el (file-size-human-readable): New function.
9145
9146 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9147 computing the representation inline. Don't require `cl'.
9148
12544bbe
GM
91492011-04-08 Glenn Morris <rgm@gnu.org>
9150
a1de6c6a
GM
9151 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9152
3c4671f4
GM
9153 * net/browse-url.el (browse-url-firefox):
9154 Test system-type, not system-configuration.
9155
b605679c
GM
9156 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9157 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9158 Use log-edit-empty-buffer-p. (Bug#7598)
9159
56442f0c
GM
9160 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9161 (rlogin-mode-map): Initialize in the defvar.
9162 (rlogin): Use ignore-errors.
9163
12544bbe
GM
9164 * replace.el (occur-mode-map): Some fixes for menu items.
9165
eb237b0f
AH
91662011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9167
9168 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9169
7d668f2c
CY
91702011-04-06 Chong Yidong <cyd@stupidchicken.com>
9171
e67a13ab
CY
9172 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9173 issuing unused warnings.
9174
9175 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9176 macro directly.
9177
7d668f2c
CY
9178 * simple.el: Lisp reimplement of list-processes. Based on an
9179 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9180 (process-menu-mode): New major mode.
9181 (list-processes--refresh, list-processes):
9182 (process-menu-visit-buffer): New functions.
9183
9184 * files.el (save-buffers-kill-emacs): Don't assume any return
9185 value of list-processes, which is undocumented anyway.
9186
a83ec3c9
CY
91872011-04-06 Chong Yidong <cyd@stupidchicken.com>
9188
9189 * emacs-lisp/tabulated-list.el: New file.
9190
e91a96fe
CY
9191 * emacs-lisp/package.el: Use Tabulated List mode.
9192 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9193 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9194 table format using Tabulated List mode variables.
9195 (package--push): New macro, replacing package-list-maybe-add.
9196 (package-menu--generate): Use package--push. Renamed from
9197 package--generate-package-list.
9198 (package-menu-refresh, list-packages): Use it.
daca8ba5 9199 (package-menu--print-info): Rename from package-print-package.
e91a96fe 9200 Return insertion data instead of inserting it directly.
099c39a4
JB
9201 (package-menu-describe-package, package-menu-execute):
9202 Use tabulated-list-get-id.
e91a96fe
CY
9203 (package-menu-mark-delete, package-menu-mark-install)
9204 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
9205 (package-menu-mark-obsolete-for-deletion):
9206 Use tabulated-list-put-tag.
e91a96fe
CY
9207 (package--list-packages, package-menu-revert)
9208 (package-menu-get-package, package-menu-get-version)
9209 (package-menu-sort-by-column): Functions deleted.
9210 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9211 (package-menu--status-predicate, package-menu--version-predicate)
9212 (package-menu--name-predicate)
9213 (package-menu--description-predicate): Handle arguments in the
9214 Tabulated List format.
9215 (package-list-packages-no-fetch): Call list-packages.
9216
3e214b50
JB
92172011-04-06 Juanma Barranquero <lekktu@gmail.com>
9218
9219 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 9220 (after-find-file): Don't bind it.
3e214b50
JB
9221 (revert-buffer-in-progress-p): New variable.
9222 (revert-buffer): Bind it.
9223 Pass nil for `after-find-file-from-revert-buffer'.
9224
9225 * saveplace.el (save-place-find-file-hook): Use new variable
9226 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9227
3f0f1700
GM
92282011-04-06 Glenn Morris <rgm@gnu.org>
9229
c0274801
GM
9230 * Makefile.in (AUTOGEN_VCS): New variable.
9231 (autoloads): Use $AUTOGEN_VCS.
9232
3f0f1700
GM
9233 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9234 * calendar/calendar.el (calendar-mode-map):
9235 Check for toolkit scroll bars. (Bug#8305)
9236
41ea9e48
CY
92372011-04-05 Chong Yidong <cyd@stupidchicken.com>
9238
9239 * minibuffer.el (completion-in-region--postch)
9240 (completion-in-region-mode): Remove unnecessary messages.
9241
6194c800
JB
92422011-04-05 Juanma Barranquero <lekktu@gmail.com>
9243
33256f14
JB
9244 * font-lock.el (font-lock-refresh-defaults):
9245 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9246 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9247
6194c800
JB
9248 * info.el (Info-directory-list, Info-read-node-name-2)
9249 (Info-split-parameter-string): Doc fixes.
9250 (Info-virtual-nodes): Reflow docstring.
9251 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9252 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9253 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9254 Fix typos in docstrings.
9255 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9256 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9257 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9258 (Info-restore-desktop-buffer): Mark unused parameters.
9259 (Info-directory-find-file, Info-directory-find-node)
9260 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9261 (Info-virtual-index-find-node, Info-apropos-find-file)
9262 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 9263 Mark unused parameters; fix typos in docstrings.
6194c800
JB
9264 (Info-virtual-index): Remove unused local variable `nodename'.
9265
b87a8200 92662011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 9267
b87a8200
DD
9268 * net/rcirc.el: Update my e-mail address.
9269 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 9270
3b2ff876
CY
92712011-04-05 Chong Yidong <cyd@stupidchicken.com>
9272
9273 * startup.el (command-line): Save the cursor's theme-face
9274 directly, instead of using face-override-spec.
9275
9276 * custom.el (load-theme): Minor optimization in assigning faces.
9277
8d17e7ca
JB
92782011-04-04 Juanma Barranquero <lekktu@gmail.com>
9279
9280 * help-fns.el (describe-variable): Complete all variables having
9281 documentation, including keywords.
9282 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9283
2fbc1934
JB
92842011-04-04 Juanma Barranquero <lekktu@gmail.com>
9285
9286 Convert to lexical-binding.
9287
9288 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9289 (bs--get-marked-string, bs--get-modified-string)
9290 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9291 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9292 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9293
9294 * ehelp.el (electric-help-execute-extended)
9295 (electric-help-ctrl-x-prefix):
9296 * hexl.el (hexl-revert-buffer-function):
9297 * linum.el (linum-after-change, linum-after-scroll):
9298 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9299
9300 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9301
74f50695
DU
93022011-04-04 Daiki Ueno <ueno@unixuser.org>
9303
9304 * epa-dired.el:
9305 * epa-mail.el:
9306 * epa-hook.el:
9307 * epa-file.el:
9308 * epa.el:
9309 * epg.el: Use lexical binding.
9310
c11325f7
CY
93112011-04-03 Chong Yidong <cyd@stupidchicken.com>
9312
0d9e9a12
CY
9313 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9314
c11325f7 9315 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
9316 dictionary case for flyspell-mark-duplications-exceptions.
9317 Use regexp matching for languages.
c11325f7
CY
9318 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9319 default dictionary (Bug#7926).
9320
da91b5f2
CY
93212011-04-02 Chong Yidong <cyd@stupidchicken.com>
9322
099c39a4
JB
9323 * emacs-lisp/package.el (package--with-work-buffer):
9324 Recognize https URLs.
da91b5f2 9325
099c39a4
JB
9326 * net/network-stream.el: Move from gnus/proto-stream.el.
9327 Change prefix to network-stream throughout.
da91b5f2
CY
9328 (open-protocol-stream): Merge into open-network-stream, leaving
9329 open-protocol-stream as an alias. Handle nil BUFFER args.
9330
9331 * subr.el (open-network-stream): Move to net/network-stream.el.
9332
afa8e9f6
GM
93332011-04-02 Glenn Morris <rgm@gnu.org>
9334
1d2e369d
GM
9335 * find-dired.el (find-exec-terminator): New option.
9336 (find-ls-option): Test for -ls support.
9337 (find-ls-subdir-switches): Test for -b in find-ls-option.
9338 (find-dired, find-grep-dired): Doc fixes.
9339 (find-dired): Use find-exec-terminator.
9340
8abb7da8 9341 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
9342 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9343 (find-name-arg): Remove purecopy.
8abb7da8 9344
f3ca7378
GM
9345 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9346 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9347 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9348 accordingly. Don't add the null-device if not needed.
9349
afa8e9f6
GM
9350 * files.el (save-some-buffers): Doc fix.
9351
35eae264
EZ
93522011-04-02 Eli Zaretskii <eliz@gnu.org>
9353
9354 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9355
26b51db5
JB
93562011-04-01 Juanma Barranquero <lekktu@gmail.com>
9357
9358 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9359 Use `dolist' rather than `mapcar'.
9360
7200d79c
SM
93612011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9362
03408648 9363 Add lexical binding.
7200d79c 9364
03408648
SM
9365 * subr.el (apply-partially): Use new closures rather than CL.
9366 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9367 (dolist, dotimes): Use slightly different expansion for lexical code.
9368 (functionp): Move to C.
9369 (letrec): New macro.
9370 (with-wrapper-hook): Use it and apply-partially instead of CL.
9371 (eval-after-load): Preserve lexical-binding.
9372 (save-window-excursion, with-output-to-temp-buffer): Turn them
9373 into macros.
7200d79c 9374
03408648
SM
9375 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9376
9377 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9378 than the arglist.
9379 (help-add-fundoc-usage): Don't add `Not documented'.
9380 (help-function-arglist): Handle closures, subroutines, and new
9381 byte-code-functions.
9382 (help-make-usage): Remove leading underscores.
9383 (describe-function-1): Handle closures.
9384 (describe-variable): Use special-variable-p for completion.
9385
9386 * files.el (lexical-binding): Declare safe.
f488fb65 9387
03408648
SM
9388 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9389 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9390 (pcase): Add `let' pattern.
9391 Change memoization so it actually works.
9392 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9393 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9394 <let>: New case.
f488fb65 9395
03408648
SM
9396 * emacs-lisp/macroexp.el: Use lexical binding.
9397 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9398 Don't convert ' to #' without checking that it's indeed quoting
9399 a lambda.
9400
9401 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 9402 Use eval-sexp-add-defvars.
03408648
SM
9403 (eval-sexp-add-defvars): New fun.
9404
9405 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9406
9407 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9408 Don't autoload.
9409 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9410 than the internal `byte-compile-lambda'.
9411 (defmethod): Don't hide code under quotes.
9412 (eieio-defmethod): New `code' argument.
9413
9414 * emacs-lisp/eieio-comp.el: Remove.
9415
9416 * emacs-lisp/edebug.el (edebug-eval-defun)
9417 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9418 (edebug-toggle): Avoid `eval'.
9419
9420 * emacs-lisp/disass.el (disassemble-internal): Handle new
9421 `closure' objects.
9422 (disassemble-1): Handle new byte codes.
9423
9424 * emacs-lisp/cl.el (pushnew): Silence warning.
9425
9426 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9427 (cl-byte-compile-throw): Remove.
9428 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9429
9430 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9431 closures.
9432
9433 * emacs-lisp/cconv.el: New file.
9434
9435 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9436 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9437 (byte-compile-initial-macro-environment):
9438 Handle declare-function here.
9439 (byte-compile--lexical-environment): New var.
9440 (byte-stack-ref, byte-stack-set, byte-discardN)
9441 (byte-discardN-preserve-tos): New lap codes.
9442 (byte-interactive-p): Don't use any more.
9443 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9444 New macros.
9445 (byte-compile-lapcode): Use them and handle new lap codes.
9446 (byte-compile-obsolete): Remove.
9447 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9448 (byte-compile-arglist-warn): Check late def of inlinable funs.
9449 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9450 since they should have been expanded by now.
9451 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9452 (byte-compile-from-buffer): Remove unused second arg.
9453 (byte-compile-preprocess): New function.
9454 (byte-compile-toplevel-file-form): New function to distinguish
9455 file-form calls from outside from file-form calls from hunk-handlers.
9456 (byte-compile-file-form): Simplify.
9457 (byte-compile-file-form-defsubst): Remove.
9458 (byte-compile-file-form-defmumble): Simplify now that
9459 byte-compile-lambda always returns a byte-code-function.
9460 (byte-compile): Preprocess.
9461 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9462 Remove, not used any more.
9463 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9464 (byte-compile-make-args-desc): New funs.
9465 (byte-compile-lambda): Handle lexical functions. Always return
9466 a byte-code-function.
9467 (byte-compile-reserved-constants): New var, to make up room for
9468 closed-over variables.
9469 (byte-compile-constants-vector): Obey it.
9470 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9471 (byte-compile-macroexpand-declare-function): New function.
9472 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9473 byte-code-functions.
9474 (byte-compile-form): Check obsolescence here.
9475 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9476 (byte-compile-variable-ref): Remove.
9477 (byte-compile-dynamic-variable-op): New fun.
9478 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9479 (byte-compile-variable-set): New funs.
9480 (byte-compile-discard): Add 2 args.
9481 (byte-compile-stack-ref, byte-compile-stack-set)
9482 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9483 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9484 macroexpand-all instead.
9485 (byte-compile-quote-form): Remove.
9486 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9487 (byte-compile-bind, byte-compile-unbind): New funs.
9488 (byte-compile-let): Handle let* and lexical binding.
9489 (byte-compile-let*): Remove.
9490 (byte-compile-catch, byte-compile-unwind-protect)
9491 (byte-compile-track-mouse, byte-compile-condition-case):
9492 Handle a new :fun-body form, used for lexical scoping.
9493 (byte-compile-save-window-excursion)
9494 (byte-compile-with-output-to-temp-buffer): Remove.
9495 (byte-compile-defun): Simplify.
9496 (byte-compile-stack-adjustment): New fun.
9497 (byte-compile-out): Use it.
9498 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9499
9500 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9501 handler any more.
9502
9503 * emacs-lisp/byte-opt.el: Use lexical binding.
9504 (byte-inline-lapcode): Remove (to bytecomp).
9505 (byte-compile-inline-expand): Pay attention to inlining to/from
9506 lexically bound code.
9507 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9508 any more.
9509 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9510 any more and don't call compiler-macros.
9511 (byte-compile-splice-in-already-compiled-code): Remove.
9512 (byte-code): Don't inline any more.
9513 (disassemble-offset): Receive `bytes' as argument rather than via
9514 dynamic scoping.
9515 (byte-compile-tag-number): Declare before first use.
9516 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9517 `return' even if make-spliceable.
9518 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9519 obsolete interactive-p.
9520 (byte-optimize-lapcode): Optimize new lap-codes.
9521 Don't trip up on new form of `byte-constant' lap code.
9522
9523 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9524
9525 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9526
9527 * custom.el (custom-initialize-default, custom-declare-variable):
9528 Use `defvar'.
9529
9530 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9531 New variables.
9532 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9533 (COMPILE_FIRST): Add macroexp and cconv.
9534 * makefile.w32-in: Mirror changes in Makefile.in.
9535
9536 * vc/cvs-status.el:
9537 * vc/diff-mode.el:
9538 * vc/log-edit.el:
9539 * vc/log-view.el:
9540 * vc/smerge-mode.el:
9541 * textmodes/bibtex-style.el:
9542 * textmodes/css.el:
9543 * startup.el:
9544 * uniquify.el:
da91b5f2
CY
9545 * minibuffer.el:
9546 * newcomment.el:
9547 * reveal.el:
9548 * server.el:
9549 * mpc.el:
9550 * emacs-lisp/smie.el:
9551 * doc-view.el:
9552 * dired.el:
03408648
SM
9553 * abbrev.el: Use lexical binding.
9554
0f0c1f27
EZ
95552011-04-01 Eli Zaretskii <eliz@gnu.org>
9556
9557 * info.el (info-display-manual): New function.
9558
c82b2579
SM
95592011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9560
9561 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9562
221ddf68
TH
95632011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9564
9565 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 9566 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 9567
cba6e77e
GM
95682011-03-31 Glenn Morris <rgm@gnu.org>
9569
e040639f
GM
9570 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9571
cba6e77e
GM
9572 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9573
6d0f1c9e
CS
95742011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9575
9576 * progmodes/python.el (python-default-interpreter)
9577 (python-python-command-args, python-jython-command-args)
9578 (python-which-shell, python-which-args, python-which-bufname)
9579 (python-file-queue, python-comint-output-filter-function)
9580 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9581 variables and functions.
9582
3e2d70fd
SM
95832011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9584
9585 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9586 (completion-in-region-mode): New minor mode.
9587 (completion-in-region): Use it.
9588 (completion-in-region--data, completion-in-region-mode-map): New vars.
9589 (completion-in-region--postch): New function.
9590 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9591 New vars.
9592 (completion--capf-wrapper): New function.
9593 (completion-at-point): Use it to track well-behavedness of
9594 hook functions.
9595 (completion-help-at-point): New command.
9596
f3e4086c
JM
95972011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9598
9599 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9600 syntax class to search for whitespace on a single line
9601 (Message-ID: <4D938140.4030905@redhat.com>).
9602
eb7ffc14
LL
96032011-03-30 Leo Liu <sdl.web@gmail.com>
9604
9605 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9606 New commands.
9607 (edit-abbrevs-map): Bind them here.
9608 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9609
d806ab68
KM
96102011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9611
9612 * allout.el (allout-hide-by-annotation, allout-flag-region):
9613 Reduce possibility of overlay leakage by making them volatile.
9614
9615 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9616 hash is not shared between buffers. Mode initialization is
9617 responsible for giving it a useful starting value.
9618 (allout-item-span): Reduce possibility of overlay leakage by
9619 making them volatile.
9620 (allout-widgets-count-buttons-in-region): Add diagnostic function
9621 for tracking down button overlay leaks.
9622
ea622834
LL
96232011-03-29 Leo Liu <sdl.web@gmail.com>
9624
9625 * ido.el (ido-read-internal): Use the default history var
9626 minibuffer-history if no HISTORY is specified.
9627
b62f8267
G
96282011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9629
03408648
SM
9630 * net/imap.el (imap-shell-open, imap-process-connection-type):
9631 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
9632 Kerberos, SSL, other subprocesses.
9633
947b6566
LL
96342011-03-28 Leo Liu <sdl.web@gmail.com>
9635
9636 * abbrev.el (abbrev-table-empty-p): New function.
9637 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9638 nonempty ones. (Bug#5937)
9639
5ffb62aa
JD
96402011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9641
9642 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9643
7a097943
LL
96442011-03-27 Leo Liu <sdl.web@gmail.com>
9645
9646 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9647 for foreground and background colors.
9648 (ansi-color-make-color-map): Adapt.
9649
c5b40130
LL
96502011-03-25 Leo Liu <sdl.web@gmail.com>
9651
1f48f7d2
LL
9652 * midnight.el (midnight-time-float): Remove. Note it calculates
9653 the microsecond component incorrectly and seconds-to-time does the
9654 same job.
625897ec 9655 Remove redundant (require 'timer).
1f48f7d2 9656
c5b40130
LL
9657 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9658 (ido-completions): Remove unused arguments. (Bug#8329)
9659
d86d2721
SM
96602011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9661
9662 * minibuffer.el (completion--flush-all-sorted-completions):
9663 Remove itself from hook.
9664 (completion-at-point): Let the functions perform the completion
9665 immediately and return nil or t.
9666 * comint.el (comint-dynamic-complete-functions): Now identical to
9667 completion-at-point-functions.
9668 (comint-dynamic-list-input-ring): Remove unused var `index'.
9669 (comint--match-partial-filename, comint--unquote&expand-filename):
9670 New funs, split from comint-match-partial-filename.
9671 (comint-dynamic-complete): Use completion-at-point.
9672 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9673
e8974c48
DA
96742011-03-24 Drew Adams <drew.adams@oracle.com>
9675
9676 * thingatpt.el: Support `defun'.
9677
def71b5e
LL
96782011-03-23 Leo Liu <sdl.web@gmail.com>
9679
cb5af48e
LL
9680 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9681
def71b5e
LL
9682 * help-mode.el (help-mode-finish): Tweak regexp.
9683
927c53e7
GM
96842011-03-23 Glenn Morris <rgm@gnu.org>
9685
18d05bed
GM
9686 * eshell/esh-opt.el (eshell-eval-using-options):
9687 Do not bind unused local variable `eshell-option-stub'.
9688
927c53e7
GM
9689 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9690
9d0da923
JB
96912011-03-22 Juanma Barranquero <lekktu@gmail.com>
9692
9693 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9694 keymap variable in `with-no-warnings' to avoid a warning when the
9695 keymap has been already `defconst'ed.
9696
4b978a67
LL
96972011-03-22 Leo Liu <sdl.web@gmail.com>
9698
9699 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9700 encode all chars in abbrevs; otherwise use emacs-mule or
9701 utf-8-emacs. (Bug#8308)
9702
5fd62452
JB
97032011-03-22 Juanma Barranquero <lekktu@gmail.com>
9704
0b1596c6
JB
9705 * simple.el (backward-delete-char-untabify):
9706 Avoid warning about using `delete-backward-char'.
9707
5fd62452
JB
9708 * image.el (image-type-file-name-regexps): Make it variable.
9709 `imagemagick-register-types' modifies it, and the user may want
9710 to add new extensions for known image types.
9711 (imagemagick-register-types): Throw error if not using ImageMagick.
9712
0b4e93f1
LL
97132011-03-22 Leo Liu <sdl.web@gmail.com>
9714
9715 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9716 located before rcirc-prompt-end-marker.
9717 (rcirc-complete): Error if point is not after rcirc prompt.
9718 Handle the case when table is nil.
9882e214 9719 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 9720
fccee4ab
CY
97212011-03-22 Chong Yidong <cyd@stupidchicken.com>
9722
9723 * custom.el (custom--inhibit-theme-enable): Make it affect only
9724 custom-theme-set-variables and custom-theme-set-faces.
9725 (provide-theme): Ignore custom--inhibit-theme-enable.
9726 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9727 (custom-enabling-themes): Delete variable.
d86d2721
SM
9728 (enable-theme): Accept only loaded themes as arguments.
9729 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
9730 (custom-enabled-themes): Forbid themes from setting this.
9731 Eliminate use of custom-enabling-themes.
9732 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 9733
af896da6
LL
97342011-03-21 Leo Liu <sdl.web@gmail.com>
9735
9736 * ido.el (ido-read-internal): Add ido-selected to history instead
9737 of user input.
9738
78f64af0
SM
97392011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9740
9741 * subr.el (deferred-action-list, deferred-action-function):
9742 Mark obsolete.
9743
b16ac1ec
LL
97442011-03-21 Leo Liu <sdl.web@gmail.com>
9745
810f7698
LL
9746 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9747 change on 2011-02-13 (bug#8309).
9748
b16ac1ec
LL
9749 * minibuffer.el (read-file-name-function): Change default value.
9750 (read-file-name--defaults): Rename from read-file-name-defaults.
9751 (read-file-name-default): Rename from read-file-name.
9752 (read-file-name): Call read-file-name-function.
9753
4e05e67e
GM
97542011-03-21 Glenn Morris <rgm@gnu.org>
9755
9756 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9757 Doc fixes.
9758
4359915b
CY
97592011-03-21 Chong Yidong <cyd@stupidchicken.com>
9760
9761 * cus-theme.el: Add missing provide statement.
9762 (customize-create-theme): Extract theme value correctly.
9763 (custom-theme-visit-theme): Autoload.
9764 (customize-create-theme): Prompt before inserting default faces.
9765
1fe275ee
JB
97662011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9767
9768 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9769 units and musical notes.
9770
cd394be1 97712011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
9772
9773 * ido.el (ido-read-internal): Use completing-read-default.
9774 (ido-completing-read): Fix compatibility with completing-read.
9775
7d476bde
CO
97762011-03-20 Christian Ohler <ohler@gnu.org>
9777
9778 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9779 (ert-delete-all-tests): Use `called-interactively-p' rather than
9780 `interactive-p'.
9781 (ert--make-xrefs-region): Respect END.
9782
fe0fb33e
CY
97832011-03-19 Chong Yidong <cyd@stupidchicken.com>
9784
ff854b0b
CY
9785 * dired-aux.el (dired-create-directory): Signal an error if the
9786 directory already exists (Bug#8246).
9787
fe0fb33e
CY
9788 * facemenu.el (list-colors-display): Call list-faces-display
9789 inside with-help-window.
9790 (list-colors-print): Use display property to align the final
9791 column, instead of checking window-width.
9792
576bce32
EZ
97932011-03-19 Eli Zaretskii <eliz@gnu.org>
9794
4d61f28d 9795 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
9796 windows-nt systems.
9797 (emerge-protect-metachars): Quote correctly for ms-dos and
9798 windows-nt systems.
9799
89c41d68 98002011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
9801
9802 * info.el (info-initialize): Replace all uses of `:' with
9803 path-separator for compatibility with non-Unix systems.
9804 Cache quoting of path-separator. (Bug#8258)
9805
b14e3e21 98062011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
9807
9808 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9809 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9810 (mouse-avoidance-mode): Fix typos in docstrings.
9811
4525ce3e
CY
98122011-03-19 Chong Yidong <cyd@stupidchicken.com>
9813
9814 * startup.el (package-subdirectory-regexp): Move from package.el.
9815 Omit \\` and \\', and let callers add them.
9816
9817 * emacs-lisp/package.el (package-strip-version)
9818 (package-load-all-descriptors): Add \\` and \\' to
9819 package-subdirectory-regexp before using it.
9820 (package-untar-buffer): New arg DIR; ensure that file untars only
9821 into this expected directory. Remove superfluous delete-region.
9822 (package-unpack): Caller changed.
9823 (package-tar-file-info): Use package-subdirectory-regexp.
9824
a904a09a 98252011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 9826
a904a09a
SM
9827 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9828 diff-mode-shared-map (bug#8284).
9829 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
9830
98312011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9832
9833 * calendar/time-date.el (format-seconds): Use assoc instead of
9834 assoc-string, since assoc-string doesn't exist in XEmacs.
9835
171fc304
JB
98362011-03-17 Juanma Barranquero <lekktu@gmail.com>
9837
9838 * custom.el (custom-known-themes): Reflow docstring.
9839 (custom-theme-load-path): Fix typo in docstring.
9840 (load-theme): Fix typo in error message.
9841 (custom-available-themes, custom-variable-theme-value):
9842 Use `let', not `let*'.
9843
d71990a1
JB
98442011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9845
9846 * calc/README: Mention inclusion of musical notes.
9847
9848 * calc/calc-units.el (calc-lu-quant): Rename from
9849 `calc-logunits-quantity'.
9850 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9851 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9852 (calc-db): Rename from `calc-dblevel'.
9853 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9854 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9855 (calc-np): Rename from `calc-nplevel'.
9856 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9857 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9858 (calc-lu-plus): Rename from `calc-logunits-add'.
9859 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9860 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9861 (calc-lu-minus): Rename from `calc-logunits-sub'.
9862 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9863 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9864 (calc-lu-times): Rename from `calc-logunits-mul'.
9865 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9866 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9867 (calc-lu-divide): Rename from `calc-logunits-div'.
9868 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9869 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9870
9871 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9872 functions being autoloaded.
9873
9874 * calc/calc.el (calc-lu-power-reference): Rename from
9875 `calc-logunits-power-reference'.
9876 (calc-lu-field-reference): Rename from
9877 `calc-logunits-field-reference'.
9878
9879 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9880
40c2934b
SM
98812011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9882
9883 * minibuffer.el (completion-all-sorted-completions):
9884 Use :completion-cycle-penalty text property if present.
9885
b0911414
KM
98862011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9887
9888 * allout.el (allout-yank-processing): Adjust for new rebulleting
9889 regime so bullet being yanked is used without prompting the user
9890 for a choice.
9891
8a05b668
JB
98922011-03-16 Juanma Barranquero <lekktu@gmail.com>
9893
9894 * startup.el (command-line): Warn the user that _emacs is deprecated.
9895
5ba5fb81
JB
98962011-03-16 Juanma Barranquero <lekktu@gmail.com>
9897
9898 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9899 (delphi-verbose, delphi-comment-face, delphi-string-face)
9900 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9901 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9902 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9903 (delphi-new-comment-line, delphi-font-lock-defaults)
9904 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9905 Fix typos in docstrings.
9906
2dab465b
KM
99072011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9908
5ba5fb81 9909 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
9910 Invert the roles of character and string values for INSTEAD, so a
9911 string is used for the more common case of a defaulting prompt.
9912
0adf5618
SM
99132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * progmodes/ruby-mode.el (ruby-backward-sexp):
9916 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9917 * play/gamegrid.el (gamegrid-make-face):
9918 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9919 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9920 * notifications.el (notifications-notify):
9921 * net/xesam.el (xesam-search-engines):
9922 * net/quickurl.el (quickurl-list-insert):
9923 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9924
d72700e5
CY
99252011-03-15 Chong Yidong <cyd@stupidchicken.com>
9926
9927 * startup.el (command-line): Update package subdirectory regexp.
9928
49c5410a
SM
99292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9930
c6eee9aa
SM
9931 * allout.el (allout-abbreviate-flattened-numbering)
9932 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9933
49c5410a
SM
9934 * subr.el (read-char-choice): Only show the cursor after the prompt,
9935 not after the answer.
9936
047b2bb9
KR
99372011-03-15 Kevin Ryde <user42@zip.com.au>
9938
9939 * help-fns.el (variable-at-point): Skip leading quotes, if any
9940 (bug#8253).
9941
0a57d256
SM
99422011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9945 warning message.
9946
77c992bc
MA
99472011-03-14 Michael Albinus <michael.albinus@gmx.de>
9948
9949 * shell.el (shell): When called interactively, offer to change the
9950 shell file name on remote hosts.
9951
eebc475d
TZ
99522011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9953
9954 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9955 integration for LDAP parameters. The host, base, user or binddn,
9956 and secret tokens can be specified in a netrc file, for instance.
9957 This is optional because an `auth-source' parameter must be
9958 specified in the search attributes.
9959
9d05d1ba
JB
99602011-03-13 Juanma Barranquero <lekktu@gmail.com>
9961
9962 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9963
09d9db2c
GM
99642011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9967 into declaration. Remove redundant and harmful binding.
9968
99692011-03-12 Eli Zaretskii <eliz@gnu.org>
9970
9971 * files.el (file-ownership-preserved-p): Pass `integer' as an
9972 explicit 2nd argument to `file-attributes'. If the file's owner
9973 is the Administrators group on Windows, and the current user is
9974 Administrator, consider that a match.
9975
9976 * server.el (server-ensure-safe-dir): Consider server directory
9977 safe on MS-Windows if its owner is the Administrators group while
9978 the current Emacs user is Administrator. Use `=' to compare
9979 numerical UIDs, since they could be integers or floats.
9980
219bd536
JB
99812011-03-12 Juanma Barranquero <lekktu@gmail.com>
9982
9983 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9984
f3afd36b
MA
99852011-03-12 Michael Albinus <michael.albinus@gmx.de>
9986
9987 Sync with Tramp 2.2.1.
9988
9989 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9990
9991 * net/trampver.el: Update release number.
9992
3aaaa6f1
SM
99932011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9994
94642599
SM
9995 * progmodes/compile.el (compilation--previous-directory): Fix up
9996 various nil/dead-marker mismatches (bug#8014).
9997 (compilation-directory-properties, compilation-error-properties):
9998 Don't call it at a position past the one we're about to change.
9999
3aaaa6f1
SM
10000 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10001 Disable obsolescence warnings in the file that declares it.
10002
14239447
KM
100032011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10004
099c39a4
JB
10005 * allout-widgets.el (allout-widgets-tally):
10006 Initialize allout-widgets-tally as a hash table rather than nil to
10007 prevent mode-line redisplay warnings. Also, clarify the module
10008 description and fix a comment typo.
14239447 10009
135e287c
JB
100102011-03-11 Juanma Barranquero <lekktu@gmail.com>
10011
10012 * help-fns.el (describe-variable): Don't complete keywords.
10013 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10014
ffbf300e
CY
100152011-03-10 Chong Yidong <cyd@stupidchicken.com>
10016
ba08b241
CY
10017 * emacs-lisp/package.el (package-version-join): Impose a standard
10018 string representation for pre/alpha/beta version lists.
10019 (package-unpack-single): Standardize the directory name by passing
10020 it through package-version-join.
10021 (package-strip-rcs-id): Accept any version string that does not
10022 signal an error in version-to-list.
ffbf300e 10023
f346fd6b
MA
100242011-03-10 Michael Albinus <michael.albinus@gmx.de>
10025
10026 * simple.el (delete-trailing-whitespace): Return nil for the
10027 benefit of `write-file-functions'.
10028
ccb55d27
GM
100292011-03-10 Glenn Morris <rgm@gnu.org>
10030
5ceaac0c
GM
10031 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10032
02da65ff
GM
10033 * vc/vc-git.el (vc-git-program): New option.
10034 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10035 (vc-git--call): Use it.
10036
b2f603cc
GM
10037 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10038
5772caab
GM
10039 * cus-edit.el (Custom-newline): If no button at point, look
10040 for a subgroup button at start-of-line. (Bug#2298)
10041
ccb55d27
GM
10042 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10043
ec6ecaed
JD
100442011-03-10 Julien Danjou <julien@danjou.info>
10045
10046 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10047 `cursor-type' is nil.
10048
9d5aa01d
JB
100492011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10050
10051 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10052
b6a5875b
KM
100532011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10054
10055 * allout.el Summary: Change so yank of distinctive-bullet items
10056 preserves the existing header prefix, rebulleting it if necessary,
10057 rather than replacing it. This is necessary for proper operation
10058 of cooperative addons like allout-widgets.
1154d12e
JB
10059 (allout-make-topic-prefix, allout-rebullet-heading):
10060 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10061 value as alternate bullet to be used, instead of prompting the user
10062 for a bullet character.
b6a5875b 10063
ee545c35
MA
100642011-03-09 Michael Albinus <michael.albinus@gmx.de>
10065
d86d2721
SM
10066 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10067 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
10068 `tramp-default-port'.
10069
c47971d7
DD
100702011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10071
10072 * net/rcirc.el (rcirc-handler-001): Remove useless
10073 with-rcirc-process-buffer.
10074 (rcirc-check-auth-status): Swap arguments to string-match.
10075
13522cb4
GM
100762011-03-09 Glenn Morris <rgm@gnu.org>
10077
0be6f4f1
GM
10078 * shell.el (shell-mode):
10079 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10080
13522cb4
GM
10081 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10082 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10083
515de2e3
CY
100842011-03-08 Chong Yidong <cyd@stupidchicken.com>
10085
10086 * emacs-lisp/package.el (package-refresh-contents)
10087 (package-menu-execute): Use condition-case-no-debug.
10088
b511b994
MA
100892011-03-08 Michael Albinus <michael.albinus@gmx.de>
10090
10091 * simple.el (shell-command-to-string): Use `process-file'.
10092
10093 * emacs-lisp/package.el (package-tar-file-info): Handle also
10094 remote files.
10095
d86d2721
SM
10096 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10097 Use `equal' for upload base check.
b511b994 10098
25bbfb31
AM
100992011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10100
10101 * textmodes/texinfo.el (texinfo-environments):
10102 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10103
be996521
GM
101042011-03-08 Glenn Morris <rgm@gnu.org>
10105
e9c8529f
GM
10106 * cus-start.el (cursor-in-non-selected-windows):
10107 Fix :set quoting oddness. (Bug#8192)
10108
be996521
GM
10109 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10110 in some setf expressions. (Bug#2159)
10111
2bb5649e
CY
101122011-03-08 Chong Yidong <cyd@stupidchicken.com>
10113
10114 * custom.el (custom-available-themes): Return themes in
10115 alphabetical order.
10116
33383987 10117See ChangeLog.15 for earlier changes.
e3d51b27
MR
10118
10119;; Local Variables:
10120;; coding: utf-8
e3d51b27
MR
10121;; End:
10122
acaf905b 10123 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
10124
10125 This file is part of GNU Emacs.
10126
10127 GNU Emacs is free software: you can redistribute it and/or modify
10128 it under the terms of the GNU General Public License as published by
10129 the Free Software Foundation, either version 3 of the License, or
10130 (at your option) any later version.
10131
10132 GNU Emacs is distributed in the hope that it will be useful,
10133 but WITHOUT ANY WARRANTY; without even the implied warranty of
10134 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10135 GNU General Public License for more details.
10136
10137 You should have received a copy of the GNU General Public License
10138 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.