Add NEWS entry about update-directory-autoloads change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4fd96557
JB
12012-02-26 Jim Blandy <jimb@red-bean.com>
2
3 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4 (gdb-send): Apply it to the operand of the '-interpreter-exec
5 console' command, so that we can pass arguments with (say) quotes
6 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7
9a4888c0
CY
82012-02-26 Chong Yidong <cyd@gnu.org>
9
07498861
CY
10 * help-fns.el (describe-function-1): Clarify description of
11 remapping (Bug#10844).
12
9a4888c0
CY
13 * files.el (files-equal-p): Doc fix.
14 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15 and quit the loop once a mismatch is found.
16
ea8fb88d
JB
172012-02-25 Juanma Barranquero <lekktu@gmail.com>
18
19 * bs.el (bs--show-with-configuration): Don't throw an error
20 if the window cannot be split; otherwise, subsequent calls to
21 bs-show fail, restoring a stale window config. (Bug#10882)
22
525795c1
JD
232012-02-25 Jan Djärv <jan.h.d@swipnet.se>
24
25 * term/ns-win.el (global-map): Bind ns-drag-file to
26 ns-find-file (Bug#5855, Bug#10050).
27
f008086f
AS
282012-02-25 Andreas Schwab <schwab@linux-m68k.org>
29
30 * calendar/parse-time.el (parse-time-string): Allow extractor to
31 return nil.
32
a3fcfa99
MA
332012-02-25 Michael Albinus <michael.albinus@gmx.de>
34
91027d08
JB
35 * net/tramp.el (tramp-file-name-for-operation):
36 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
37
38 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
39 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
40 Add COPY-CONTENTS argument.
a3fcfa99 41
67b0de11
CY
422012-02-25 Chong Yidong <cyd@gnu.org>
43
44 Add custom groups for VC backends, for consistency with vc-bzr.
45
46 * vc/vc-arch.el (vc-arch):
47 * vc/vc-cvs.el (vc-cvs):
48 * vc/vc-git.el (vc-git):
49 * vc/vc-hg.el (vc-hg):
50 * vc/vc-mtn.el (vc-mtn):
51 * vc/vc-rcs.el (vc-rcs):
52 * vc/vc-sccs.el (vc-sccs):
53 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
54 All relevant defcustoms reassigned.
55
3c9dfce6
CY
562012-02-25 Chong Yidong <cyd@gnu.org>
57
1339bf43
CY
58 * newcomment.el (comment-styles): Add autoload (Bug#10868).
59
3c9dfce6
CY
60 * term/x-win.el (x-initialize-window-system): Reduce default for
61 x-selection-timeout to 5 seconds (Bug#8869).
62
53a46cd0 632012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 64
53a46cd0 65 * files.el (file-subdir-of-p): Fix typo.
14a8a663 66
25b2e303 672012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
68
ec70a47d
GM
69 * files.el (files-equal-p, file-subdir-of-p): New functions.
70 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 71 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
72 * dired-aux.el (dired-copy-file-recursive): Same.
73 (dired-create-files): Modify destination when source is equal to
74 dest when copying files.
53a46cd0 75 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 76
914260cd
MA
772012-02-24 Michael Albinus <michael.albinus@gmx.de>
78
79 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
80 (Bug#10874)
81
2cb228f7
AM
822012-02-23 Alan Mackenzie <acm@muc.de>
83
84 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
85 parameter "after-hook:" to allow the expansion to run code after
86 the execution of the mode hooks.
87
88 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 89 from font-lock-mode-internal.
2cb228f7 90
91027d08 91 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
92 :after-hook.
93
8f0fde21
SM
942012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
95
3e88618b
SM
96 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
97 (completion--cache-all-sorted-completions): New function.
98 (completion-all-sorted-completions): Use it.
99 (completion--do-completion, minibuffer-force-complete):
100 Use it to re-instate the flush hook.
101
8f0fde21
SM
102 * icomplete.el (icomplete-completions): Replace last fix with a better
103 one (bug#10850).
104
8e911f6f
DG
1052012-02-23 Dmitry Gutov <dgutov@yandex.ru>
106
107 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
108 when it might call us back infinitely (bug#10797).
109
49fe4321
GM
1102012-02-23 Glenn Morris <rgm@gnu.org>
111
112 * minibuffer.el (completion-category-overrides): Doc fix.
113
b291b572
SM
1142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * minibuffer.el (completion-table-with-context): Fix inf-loop.
117 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
118
31a9ef2e
GM
1192012-02-23 Glenn Morris <rgm@gnu.org>
120
5e6e6794 121 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
122 (authors-obsolete-files-regexps, authors-ignored-files)
123 (authors-ambiguous-files, authors-renamed-files-alist):
124 Add more entries.
125
0bd1e074
JL
1262012-02-23 Juri Linkov <juri@jurta.org>
127
128 * isearch.el (isearch-occur): Sync interactive spec with occur's
129 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
130
b617673c
JL
131 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
132
19e9789e
JL
1332012-02-22 Juri Linkov <juri@jurta.org>
134
135 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
136 (ucs-insert): Doc fix. Check for hex digits in the string.
137 Don't display `nil' in the error message. (Bug#10857)
138
f41ce09d
AM
1392012-02-22 Alan Mackenzie <acm@muc.de>
140
7a71b18d 141 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 142
ac2eceee
GM
1432012-02-22 Glenn Morris <rgm@gnu.org>
144
145 * ffap.el (ffap-c-path):
146 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
147
abd1f678
CY
1482012-02-22 Chong Yidong <cyd@gnu.org>
149
150 * custom.el (load-theme): Doc fix.
151
f25aef2e
GM
1522012-02-22 Glenn Morris <rgm@gnu.org>
153
154 * dired-x.el (dired-guess-shell-alist-default):
155 Remove escape sequences from nroff output. (Bug#172)
156
5f8dc2ca
GM
1572012-02-21 Glenn Morris <rgm@gnu.org>
158
6ff86ec4
GM
159 * vc/emerge.el (emerge-defvar-local):
160 Set `permanent-local' property rather than unused `preserved'.
161
be3223a3 162 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
163 (picture-mode-map): Use it. (Bug#10860)
164 (picture-mode): Doc fix.
165
3fe58f4f
JB
1662012-02-21 Juanma Barranquero <lekktu@gmail.com>
167
168 * newcomment.el (uncomment-region-default): Remove unused binding.
169
f9a998c3
GM
1702012-02-21 Glenn Morris <rgm@gnu.org>
171
172 * textmodes/picture.el (picture-motion, picture-motion-reverse)
173 (picture-self-insert, picture-tab-chars): Doc fix.
174 (picture-mode-map): Fix C-a, C-e.
175
c6029348
GM
1762012-02-20 Glenn Morris <rgm@gnu.org>
177
178 * emacs-lisp/authors.el (authors-aliases): Add another entry.
179
ab1ce9d7
LL
1802012-02-20 Leo Liu <sdl.web@gmail.com>
181
182 * icomplete.el (icomplete-completions): Check FROM arg before
183 passing to substring (Bug#10850).
184
0fd40f89
CY
1852012-02-19 Chong Yidong <cyd@gnu.org>
186
187 * comint.el: Require ansi-color.
188 (comint-output-filter-functions): Add ansi-color-process-output.
189
190 * ansi-color.el: Don't set comint-output-filter-functions; it is
191 now in the initial value defined in comint.el.
192 (ansi-color-apply-face-function): New variable.
193 (ansi-color-apply-on-region): Use it.
194 (ansi-color-apply-overlay-face): New function.
195
196 * shell.el (shell): No need to require ansi-color.
197 (shell-mode): Use ansi-color-apply-face-function to highlight
198 color escapes using font-lock-face property (Bug#10835).
199
20af2394
CY
2002012-02-19 Chong Yidong <cyd@gnu.org>
201
202 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
203 mode-line formats (Bug#10839).
204
e23a3fbe
GM
2052012-02-18 Glenn Morris <rgm@gnu.org>
206
b474519e
GM
207 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
208
209 * mail/undigest.el (unforward-rmail-message): Doc fix.
210
e23a3fbe
GM
211 * saveplace.el (save-place-ignore-files-regexp): Add :version.
212
57939ff4
EZ
2132012-02-18 Eli Zaretskii <eliz@gnu.org>
214
215 * international/characters.el (script-list): Sync with the latest
216 Unicode Character Database.
217
0c23686e
AS
2182012-02-18 Andreas Schwab <schwab@linux-m68k.org>
219
220 * international/titdic-cnv.el: Remove duplicate coding tag.
221 * language/cham.el: Likewise.
222 * language/tai-viet.el: Likewise.
223
6818b449
GM
2242012-02-18 Glenn Morris <rgm@gnu.org>
225
226 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
227 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
228 (calendar-bahai-all-holidays-flag, calendar-other-dates):
229 * calendar/diary-lib.el (diary-abbreviated-year-flag):
230 * calendar/holidays.el (holiday-bahai-holidays)
231 (calendar-holidays, list-holidays):
232 Use utf-8 Bahá'í in doc-strings, menus, etc.
233
0311a3fc
TH
2342012-02-17 Tassilo Horn <tassilo@member.fsf.org>
235
236 * saveplace.el (save-place-ignore-files-regexp): New variable
237 allowing for excluding files from saving their location of point.
238 The default value matches the temporary commit message editing
239 files from Git, SVN, Bazaar, and Mercurial.
240 (save-place-to-alist): Use it.
241
eb864a71
LM
2422012-02-17 Lawrence Mitchell <wence@gmx.li>
243 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * newcomment.el (uncomment-region-default): Don't leave extra space
246 when an arg is provided (bug#8150).
247
ee0ce425
TZ
2482012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
249
eb864a71 250 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 251
95ddf442
GM
2522012-02-17 Glenn Morris <rgm@gnu.org>
253
254 * net/socks.el: Require network-stream. (Bug#10599)
255
48dd1e39 2562012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
257
258 * international/charprop.el:
259 * international/uni-name.el:
260 * international/uni-old-name.el:
261 * international/uni-comment.el: Regenerate.
262
d68cd087
GM
2632012-02-16 Glenn Morris <rgm@gnu.org>
264
265 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
266 Interactively in calendar buffer, give an error if not on a date.
267
13932042
GM
2682012-02-15 Glenn Morris <rgm@gnu.org>
269
270 * shell.el (shell-delimiter-argument-list):
271 Revert 2011-02-17 change. (Bug#8027)
272
c3a70e2b
CY
2732012-02-15 Chong Yidong <cyd@gnu.org>
274
60236b0d
CY
275 * minibuffer.el (completion-at-point-functions): Doc fix.
276
c3a70e2b
CY
277 * custom.el (defcustom): Doc fix; note use of defvar.
278
9f26dc24
GM
2792012-02-15 Glenn Morris <rgm@gnu.org>
280
281 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
282 Doc fixes.
283
6546b134
GM
2842012-02-14 Glenn Morris <rgm@gnu.org>
285
286 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
287
d29b2b4c
LI
2882012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
289
290 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
291 way the ports list is computed.
835bdcba
LI
292 (smtpmail-query-smtp-server): Prompt the user for a port number if
293 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 294
08dcdbc9
TZ
2952012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
296
297 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
298
2605051a
GM
2992012-02-13 Glenn Morris <rgm@gnu.org>
300
301 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
302
7ee99f32
TZ
3032012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
304
305 * net/gnutls.el (gnutls-trustfiles): New variable.
306 (gnutls-negotiate): Use it.
307
5f0af64f
LI
3082012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
309
310 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
311 does its stuff if Gnus is running.
312
c14fcc95
AM
3132012-02-13 Alan Mackenzie <acm@muc.de>
314
315 Fix a loop in c-set-fl-decl-start.
316
7a71b18d 317 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
318 c-backward-syntactic-ws actually moves backwards.
319
142b4d90
LL
3202012-02-13 Leo Liu <sdl.web@gmail.com>
321
322 * net/rcirc.el (rcirc-markup-attributes): Move point to the
323 beginning so that all \C-o chars are removed.
324
fa9958a6
TZ
3252012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
326
327 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
328 tag.
329
0bc5886a
AM
3302012-02-12 Alan Mackenzie <acm@muc.de>
331
332 Fix infinite loop with long macros.
333 * cc-engine.el (c-state-safe-place): Handle macros properly.
334
d4bd55e7
CY
3352012-02-12 Chong Yidong <cyd@gnu.org>
336
337 * window.el (display-buffer): Doc fix (Bug#10785).
338
66f3fe22
GM
3392012-02-12 Glenn Morris <rgm@gnu.org>
340
bd7da63e
GM
341 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
342 (x-disown-selection-internal, x-get-selection-internal):
343 Sync docs with the xselect.c versions.
344
66f3fe22
GM
345 * allout-widgets.el: Add missing license notice.
346
3e0d2fa7
GM
3472012-02-11 Glenn Morris <rgm@gnu.org>
348
cfecdf09
GM
349 * select.el (x-get-selection-internal, x-own-selection-internal)
350 (x-disown-selection-internal):
351 * x-dnd.el (x-get-selection-internal): Update declarations.
352
6d216d7f
GM
353 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
354
2bed3f04
GM
355 * window.el (window-sides-slots):
356 * tool-bar.el (tool-bar-position):
357 * term/xterm.el (xterm-extra-capabilities):
358 * ses.el (ses-self-reference-early-detection):
359 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
360 (verilog-auto-wire-type)
361 (verilog-auto-delete-trailing-whitespace)
362 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
363 (verilog-auto-tieoff-declaration):
364 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
365 (sql-oracle-statement-starters, sql-oracle-scan-on):
366 * progmodes/prolog.el (prolog-align-comments-flag)
367 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
368 (prolog-left-indent-regexp, prolog-paren-indent-p)
369 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
370 (prolog-types, prolog-mode-specificators)
371 (prolog-determinism-specificators, prolog-directives)
372 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
373 (prolog-electric-dot-flag)
374 (prolog-electric-dot-full-predicate-template)
375 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
376 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
377 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
378 (prolog-program-switches, prolog-prompt-regexp)
379 (prolog-debug-on-string, prolog-debug-off-string)
380 (prolog-trace-on-string, prolog-trace-off-string)
381 (prolog-zip-on-string, prolog-zip-off-string)
382 (prolog-use-standard-consult-compile-method-flag)
383 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
384 (prolog-imenu-max-lines, prolog-info-predicate-index)
385 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
386 (prolog-char-quote-workaround):
387 * progmodes/cc-vars.el (c-defun-tactic):
388 * net/tramp.el (tramp-encoding-command-interactive)
389 (tramp-local-end-of-line):
390 * net/soap-client.el (soap-client):
391 * net/netrc.el (netrc-file):
392 * net/gnutls.el (gnutls):
393 * minibuffer.el (completion-category-overrides)
394 (completion-cycle-threshold)
395 (completion-pcm-complete-word-inserts-delimiters):
396 * man.el (Man-name-local-regexp):
397 * mail/feedmail.el (feedmail-display-full-frame):
398 * international/characters.el (glyphless-char-display-control):
399 * eshell/em-ls.el (eshell-ls-date-format):
400 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
401 (lisp-lambda-list-keyword-parameter-indentation)
402 (lisp-lambda-list-keyword-parameter-alignment):
403 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
404 * dired-x.el (dired-omit-verbose):
405 * cus-theme.el (custom-theme-allow-multiple-selections):
406 * calc/calc.el (calc-highlight-selections-with-faces)
407 (calc-lu-field-reference, calc-lu-power-reference)
408 (calc-note-threshold):
409 * battery.el (battery-mode-line-limit):
410 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
411 (archive-7z-update):
412 * allout.el (allout-prefixed-keybindings)
413 (allout-unprefixed-keybindings)
414 (allout-inhibit-auto-fill-on-headline)
415 (allout-flattened-numbering-abbreviation):
416 * allout-widgets.el (allout-widgets-auto-activation)
417 (allout-widgets-icons-dark-subdir)
418 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
419 (allout-widgets-theme-dark-background)
420 (allout-widgets-theme-light-background)
421 (allout-widgets-item-image-properties-emacs)
422 (allout-widgets-item-image-properties-xemacs)
423 (allout-widgets-run-unit-tests-on-load)
424 (allout-widgets-time-decoration-activity)
425 (allout-widgets-hook-error-post-time)
426 (allout-widgets-track-decoration):
427 Add missing :version tags to new defcustoms and defgroups.
428
5fec1b8e
GM
429 * progmodes/sql.el (sql-ansi-statement-starters)
430 (sql-oracle-statement-starters): Add custom type.
431
3e0d2fa7
GM
432 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
433 (prolog-system-version): Give it a type.
434
90b671e2
EZ
4352012-02-11 Eli Zaretskii <eliz@gnu.org>
436
437 * term/pc-win.el (x-select-text, x-selection-owner-p)
438 (x-own-selection-internal, x-disown-selection-internal)
439 (x-get-selection-internal): Sync doc strings and argument lists
440 with xselect.c, common-win.el and x-win.el. (Bug#10783)
441
5eac0c02
LL
4422012-02-11 Leo Liu <sdl.web@gmail.com>
443
444 * progmodes/python.el (python-end-of-statement): Fix infinite
445 loop. (Bug#10788)
446
f82cb659
GM
4472012-02-10 Glenn Morris <rgm@gnu.org>
448
449 * international/mule-cmds.el (unify-8859-on-encoding-mode)
450 (unify-8859-on-decoding-mode): Properly mark as obsolete.
451
cc26d239
LI
4522012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
453
454 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
455 about SMTP before checking the From header.
456
91027d08 457 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
458 into own function for reuse by emacsbug.el.
459
1be3ca5a
LL
4602012-02-10 Leo Liu <sdl.web@gmail.com>
461
462 * subr.el (condition-case-unless-debug): Rename from
463 condition-case-no-debug. All callers changed.
464 (with-demoted-errors): Fix caller.
465
466 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
467 * nxml/rng-valid.el (rng-do-some-validation):
468 * emacs-lisp/package.el (package-refresh-contents)
469 (package-menu-execute):
470 * desktop.el (desktop-create-buffer):
91027d08 471 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 472
b011fbfe
GM
4732012-02-10 Glenn Morris <rgm@gnu.org>
474
b2096d72
GM
475 * textmodes/bibtex.el:
476 Add missing :version tags for new/changed defcustoms.
477
b011fbfe
GM
478 * files.el (remote-file-name-inhibit-cache): Doc fixes.
479
4c7e65bf
LI
4802012-02-09 Lars Ingebrigtsen <larsi@rusty>
481
482 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
483 (smtpmail-via-smtp): Use it, or fall back on the From address.
484 (smtpmail-send-it): Ditto.
485
f3934f6f
SM
4862012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
489 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
490 (byte-compile-tmp-var): New const.
491 (byte-compile-defvar): Use it to minimize .elc size.
492 Just use `defvar' rather than simulate it (bug#10761).
493
a075a2c5
GM
4942012-02-09 Glenn Morris <rgm@gnu.org>
495
cf3aa21b
GM
496 * files.el (rename-uniquely): Doc fix. (Bug#3806)
497
354998cd
GM
498 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
499 Add :version tags.
500
83274125 501 * progmodes/compile.el (compilation-first-column)
34c071c6 502 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 503
dab3703d
GM
504 * vc/log-view.el (log-view-toggle-entry-display):
505 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
506
3f88cd72
GM
507 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
508 (report-emacs-bug-can-use-xdg-email):
509 (report-emacs-bug-insert-to-mailer): Doc fixes.
510 (report-emacs-bug): Message fix.
511
d95b247d
GM
512 * net/browse-url.el (browse-url-can-use-xdg-open)
513 (browse-url-xdg-open): Doc fixes.
514
a075a2c5
GM
515 * electric.el (electric-indent-mode, electric-pair-mode)
516 (electric-layout-rules, electric-layout-mode): Doc fixes.
517 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
518
ffb6157e
MR
5192012-02-08 Martin Rudalics <rudalics@gmx.at>
520
521 * server.el (server-unselect-display): Don't inadvertently kill
522 the current buffer. (Bug#10729)
523
e1ac4066
GM
5242012-02-08 Glenn Morris <rgm@gnu.org>
525
34e8a2da
GM
526 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
527 (sql-list-table): Doc fixes.
528
b4ac6e8c
GM
529 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
530 Comment out (does nothing).
531
e1ac4066
GM
532 * completion.el (dynamic-completion-mode):
533 * dirtrack.el (dirtrack-debug-mode):
534 * electric.el (electric-layout-mode):
535 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
536 * face-remap.el (text-scale-mode, buffer-face-mode):
537 * iimage.el (iimage-mode):
538 * image-mode.el (image-transform-mode):
539 * minibuffer.el (completion-in-region-mode):
540 * scroll-lock.el (scroll-lock-mode):
541 * simple.el (next-error-follow-minor-mode):
542 * tar-mode.el (tar-subfile-mode):
543 * tooltip.el (tooltip-mode):
544 * vcursor.el (vcursor-use-vcursor-map):
545 * wid-browse.el (widget-minor-mode):
546 * emulation/tpu-edt.el (tpu-edt-mode):
547 * emulation/tpu-extras.el (tpu-cursor-free-mode):
548 * international/iso-ascii.el (iso-ascii-mode):
549 * language/thai-util.el (thai-word-mode):
550 * mail/supercite.el (sc-minor-mode):
551 * net/goto-addr.el (goto-address-mode):
552 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
553 * progmodes/cwarn.el (cwarn-mode):
554 * progmodes/flymake.el (flymake-mode):
555 * progmodes/glasses.el (glasses-mode):
556 * progmodes/hideshow.el (hs-minor-mode):
557 * progmodes/pascal.el (pascal-outline-mode):
558 * textmodes/enriched.el (enriched-mode):
559 * vc/smerge-mode.el (smerge-mode):
560 Doc fixes (minor mode argument).
561
5e0d957f
EZ
5622012-02-07 Eli Zaretskii <eliz@gnu.org>
563
564 * ls-lisp.el (ls-lisp-sanitize): New function.
565 (ls-lisp-insert-directory): Use it to fix or remove any elements
566 in file-alist with missing attributes. (Bug#4673)
567
98d7371e
AM
5682012-02-07 Alan Mackenzie <acm@muc.de>
569
570 Fix spurious recognition of c-in-knr-argdecl.
571
572 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
573 putative K&R region.
574
667ced3a
AM
5752012-02-07 Alan Mackenzie <acm@muc.de>
576
eb864a71
LM
577 * progmodes/cc-engine.el (c-forward-objc-directive):
578 Prevent looping in "#pragma mark @implementation".
667ced3a 579
5b77774d
MA
5802012-02-07 Michael Albinus <michael.albinus@gmx.de>
581
582 * notifications.el (notifications-on-closed-signal): Make `reason'
583 optional. (Bug#10744)
584
af008560
GM
5852012-02-07 Glenn Morris <rgm@gnu.org>
586
60d47423
GM
587 * emacs-lisp/easy-mmode.el (define-minor-mode):
588 Doc fixes for the macro and the mode it defines.
589
dd605cc4
GM
590 * image.el (imagemagick-types-inhibit): Doc fix.
591
af008560
GM
592 * cus-start.el (imagemagick-render-type): Add it.
593
5cc59a37
LI
5942012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
595
596 * progmodes/cc-mode.el
597 (c-standard-font-lock-fontify-region-function): Set the default at
598 load time, too, so that `font-lock-fontify-buffer' can be called
599 without setting up the entire mode first. This fixes a bug in
600 `mm-inline-text' with C MIME parts.
601
9a6dd747
CY
6022012-02-06 Chong Yidong <cyd@gnu.org>
603
2d16b285
CY
604 * simple.el (list-processes--refresh): Delete exited processes
605 (Bug#8094).
606
171e9b6e
CY
607 * comint.el (comint-next-prompt): next-single-char-property-change
608 and prev-single-char-property-change never return nil (Bug#8657).
609
9a6dd747
CY
610 * custom.el (defcustom): Doc fix (Bug#9711).
611
aa4589a7
CY
6122012-02-05 Chong Yidong <cyd@gnu.org>
613
5c2a252f
CY
614 * cus-edit.el (custom-variable-reset-backup): Quote the value
615 before storing it in the customized-value property (Bug#6712).
4aab9006 616 (custom-display): Add a customization type tag.
983b9602 617 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 618
aa4589a7
CY
619 * wid-edit.el (widget-field-value-get): New optional arg to
620 suppress trailing whitespace truncation.
621 (character): Use it (Bug#2689).
622
1ff980ae
AS
6232012-02-05 Andreas Schwab <schwab@linux-m68k.org>
624
625 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
626 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
627
03988c98
CY
6282012-02-05 Chong Yidong <cyd@gnu.org>
629
eeb6cc88
CY
630 * cus-edit.el (custom-variable-value-create): For mismatched
631 types, show the current value (Bug#7600).
632
03988c98
CY
633 * custom.el (defcustom): Doc fix.
634
f8cdeef0
GM
6352012-02-05 Glenn Morris <rgm@gnu.org>
636
637 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
638
0696d255
JB
6392012-02-05 Juanma Barranquero <lekktu@gmail.com>
640
641 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
642 (pp-buffer): Use `ignore-errors', `looking-at-p'.
643 (pp-last-sexp): Use `looking-at-p'.
644
34c99998
GM
6452012-02-04 Glenn Morris <rgm@gnu.org>
646
8f05da42
GM
647 * files.el (revert-buffer):
648 Doc fix (mention revert-buffer-in-progress-p).
649
f160676e
GM
650 * emacs-lisp/ert-x.el (ert-simulate-command):
651 Check deferred-action-list (which is obsolete) is bound.
652
c7291ad9
GM
653 * subr.el (with-wrapper-hook): Doc fixes.
654
34c99998
GM
655 * simple.el (filter-buffer-substring-functions)
656 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
657
6283a7d3
LL
6582012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
659
660 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
661 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
662
e96e3013
LL
6632012-02-04 Leo Liu <sdl.web@gmail.com>
664
665 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
666
8ded50f2
GM
6672012-02-04 Glenn Morris <rgm@gnu.org>
668
82ff1d13
GM
669 * image.el (image-extension-data): Add obsolete alias.
670
987a0a16
GM
671 * isearch.el (isearch-update): Doc fix.
672
ea32ef46
GM
673 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
674
8ded50f2
GM
675 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
676
eea14f31
GM
6772012-02-03 Glenn Morris <rgm@gnu.org>
678
679 * image.el (image-animated-p): Doc fix. Use image-animated-types.
680 (image-animate-timeout): Doc fix.
681
682 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
683
12f381b7
GM
6842012-02-02 Glenn Morris <rgm@gnu.org>
685
953cebf5
GM
686 * server.el (server-auth-dir): Doc fix.
687 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
688
12f381b7
GM
689 * subr.el (run-mode-hooks): Doc fix.
690
953a8c3b
JL
6912012-02-02 Juri Linkov <juri@jurta.org>
692
693 * image-mode.el (image-toggle-display-image): Remove tautological
694 `major-mode' from the `derived-mode-p' test.
695
c5d3843c
KH
6962012-02-02 Kenichi Handa <handa@m17n.org>
697
9f6e692e 698 * composite.el (compose-region): Cancel previous change.
c5d3843c 699
159462d4 7002012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
701
702 * composite.el (compose-region, compose-string): Signal error for
703 a null string component (Bug#6988).
704
9f562668
CY
7052012-02-01 Chong Yidong <cyd@gnu.org>
706
e2cef717
CY
707 * view.el (view-buffer-other-window, view-buffer-other-frame):
708 Handle special modes like view-buffer (Bug#10650).
709 (view-buffer): Simplify.
710
9f562668
CY
711 * frame.el (set-frame-font): Tweak meaning of third argument.
712
9f6e692e
JB
713 * dynamic-setting.el (font-setting-change-default-font):
714 Use set-frame-font (Bug#9982).
9f562668 715
781acb9f
GM
7162012-02-01 Glenn Morris <rgm@gnu.org>
717
6035be52
GM
718 * progmodes/compile.el (compilation-internal-error-properties):
719 Respect compilation-first-column in the "*compilation*" buffer.
720
781acb9f
GM
721 * emacs-lisp/easy-mmode.el (define-minor-mode):
722 Relax :variable's test for a named function.
723
abbceb00
AM
7242012-01-31 Alan Mackenzie <acm@muc.de>
725
726 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
727 off by one error.
728
fce3fdeb
CY
7292012-01-31 Chong Yidong <cyd@gnu.org>
730
731 * frame.el (set-frame-font): New arg ALL-FRAMES.
732
733 * menu-bar.el (menu-set-font): Use set-frame-font.
734
735 * faces.el (face-spec-reset-face): Don't apply unspecified
736 attribute values to the default face.
737
47893581
JB
7382012-01-31 Juanma Barranquero <lekktu@gmail.com>
739
740 * progmodes/cwarn.el (cwarn): Remove dead link.
741 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
742 Remove * from defcustom docstrings.
743 (turn-on-cwarn-mode): Make obsolete.
744 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
745 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
746
e58e988a
GM
7472012-01-31 Glenn Morris <rgm@gnu.org>
748
60dc2671 749 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 750 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 751 Allow named functions to be used as the cdr of :variable.
e58e988a 752
7a3f511d
GM
7532012-01-30 Glenn Morris <rgm@gnu.org>
754
755 * emacs-lisp/authors.el (authors-fixed-entries):
756 Remove reference to deleted file rnewspost.el.
757
cb882333
JB
7582012-01-29 Juanma Barranquero <lekktu@gmail.com>
759
760 * window.el (window-with-parameter): Remove unused variable `windows'.
761 (window--side-check): Remove unused variable `code'.
762 (window--resize-siblings): Remove unused variable `first'.
763 (adjust-window-trailing-edge): Remove unused variable `failed'.
764 (window-deletable-p, window--delete): Remove unused variable `buffer'.
765 Use `let', not `let*'.
766 (balance-windows-2): Remove unused variable `found'.
767 (window--state-put-2): Remove unused variable `splits'.
768 (window-state-put): Remove unused variable `selected'.
769 (same-window-p): Use `string-match-p'.
770 (display-buffer-assq-regexp): Remove unused variable `value'.
771 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
772 Mark argument ALIST as ignored.
773 (pop-to-buffer): Remove unused variable `old-window'.
774
907201af
EZ
7752012-01-29 Eli Zaretskii <eliz@gnu.org>
776
777 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
778 and .lzma compressed files.
779
ea162670
CY
7802012-01-29 Chong Yidong <cyd@gnu.org>
781
5b95ee8a
CY
782 * frame.el (window-system-default-frame-alist): Doc fix.
783
ea162670
CY
784 * dynamic-setting.el (font-setting-change-default-font): Don't
785 change the default face if SET-FONT argument is non-nil (Bug#9982).
786
d6e6f4b1
SB
7872012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
788
789 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
790
0f29fa41 7912012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
792
793 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
794 breakpoints in files outside current directory (Bug#6098).
795
db174434
CY
7962012-01-29 Chong Yidong <cyd@gnu.org>
797
6b25e4e2
SE
798 * progmodes/python.el: Require ansi-color at top-level.
799
6df6ae42
JB
800 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
801 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
802 (lisp-mode-abbrev-table): Add doc.
803 (lisp-mode-variables): Don't set local-abbrev-table.
804 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
805
e70ee681
RW
8062012-01-28 Roland Winkler <winkler@gnu.org>
807
808 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
809
ace88aa2
RW
8102012-01-28 Roland Winkler <winkler@gnu.org>
811
812 * textmodes/bibtex.el (bibtex-entry-alist): New function.
813 (bibtex-set-dialect): Use it. Either set global values of
814 dialect-dependent variables or bind these variables buffer-locally
815 (Bug#10254).
816 (bibtex-mode): Call bibtex-set-dialect via
817 hack-local-variables-hook.
eb864a71
LM
818 (bibtex-dialect): Update docstring.
819 Add safe-local-variable predicate.
ace88aa2
RW
820 (bibtex-entry-alist, bibtex-field-alist): Initialize via
821 bibtex-set-dialect.
822 (bibtex-mode-map): Define menu for each dialect.
823 (bibtex-entry): Fix docstring.
824
93376c5b
CY
8252012-01-28 Chong Yidong <cyd@gnu.org>
826
827 * eshell/esh-arg.el (eshell-quote-argument): New function.
828
829 * eshell/esh-ext.el (eshell-invoke-batch-file):
830 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
831 first arg to eshell-parse-command (Bug#10523).
832
4372494f
DA
8332012-01-28 Drew Adams <drew.adams@oracle.com>
834
835 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
836 `default-directory' is non-nil.
837
4d4ec1f8
EZ
8382012-01-28 Eli Zaretskii <eliz@gnu.org>
839
840 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
841 line that displays system-configuration-options. (Bug#9924)
842
7c188927
DA
8432012-01-28 Drew Adams <drew.adams@oracle.com>
844
845 * descr-text.el (describe-char): Show information about POS, in
846 addition to information about the character at POS. Improve and
847 update the doc string. Change "code point" to "code point in
848 charset", to avoid confusion with the character's Unicode code
849 point shown above that. (Bug#10129)
850
e0da685a
EZ
8512012-01-28 Eli Zaretskii <eliz@gnu.org>
852
853 * descr-text.el (describe-char): Show the raw character, not only
854 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
855 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
856 for the reasons.
857
70550acf
PH
8582012-01-28 Phil Hagelberg <phil@hagelb.org>
859
eb864a71
LM
860 * emacs-lisp/package.el (package-install):
861 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 862
0ce8e868
CY
8632012-01-28 Chong Yidong <cyd@gnu.org>
864
cb882333
JB
865 * emacs-lisp/package.el (package-maybe-load-descriptor):
866 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
867 (package-maybe-load-descriptor): Use it.
868 (package-download-transaction): Fully load required packages
869 inside the loop, so that `require' calls work (Bug#10593).
870 (package-install): No need to call package-initialize now.
871
2e7f3bea
CY
8722012-01-28 Chong Yidong <cyd@gnu.org>
873
6e9bad14
CY
874 * simple.el (deactivate-mark): Doc fix (Bug#8614).
875
f823b8ca
CY
876 * tooltip.el (tooltip-mode): Doc fix.
877 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
878
2680c309
CY
879 * frame.el (set-cursor-color): Doc fix (Bug#352).
880
d7a9e63b
CY
881 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
882 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
883
2e7f3bea
CY
884 * cus-edit.el (custom-buffer-create-internal): Fix search button
885 action (Bug#10542).
2ae01800 886 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 887
fc4f7a23
EW
8882012-01-27 Eduard Wiebe <usenet@pusto.de>
889
890 * dired.el (dired-mark-files-regexp):
891 Include any subdirectory components. (Bug#10445)
892
7dd37071
ML
8932012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
894
895 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
896 Handle [host]:port syntax. (Bug#10533)
897
a268160b
AH
8982012-01-27 Alex Harsanyi <harsanyi@mac.com>
899
900 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
901
e43273ef
GM
9022012-01-26 Glenn Morris <rgm@gnu.org>
903
904 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
905 * term.el (term-raw-escape-map): Use Control-X-prefix.
906 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
907
1edf595d
MR
9082012-01-25 Martin Rudalics <rudalics@gmx.at>
909
910 * window.el (window-state-get, window--state-get-1): Don't deal
911 with fixed-sizeness of windows. Simplify code.
912
fa8eafef
JC
9132012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
914
6df6ae42
JB
915 * window.el (window--state-get-1, window--state-put-2):
916 Don't save and restore the mark.
fa8eafef 917
0b21c100
CY
9182012-01-25 Chong Yidong <cyd@gnu.org>
919
920 * custom.el (custom-variable-p): Doc fix.
921
5ae1a6c8
GM
9222012-01-25 Glenn Morris <rgm@gnu.org>
923
40047858
GM
924 * dired.el (dired-goto-file): Handle some of the more common
925 characters that `ls -b' escapes. (Bug#10596)
926
5ddce96c
GM
927 * progmodes/compile.el (compilation-next-error-function):
928 Respect compilation-first-column in the "*compilation*" buffer.
929 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
930
5ae1a6c8
GM
931 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
932
b559f1a9
GM
9332012-01-24 Glenn Morris <rgm@gnu.org>
934
935 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
936
6725d21a
JD
9372012-01-24 Julien Danjou <julien@danjou.info>
938
939 * color.el (color-rgb-to-hsl): Fix value computing.
940 (color-hue-to-rgb): New function.
941 (color-hsl-to-rgb): New function.
942 (color-clamp, color-saturate-hsl, color-saturate-name)
943 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
944 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
945
70df4bbe
GM
9462012-01-24 Glenn Morris <rgm@gnu.org>
947
948 * vc/vc-rcs.el (vc-rcs-create-tag):
949 * vc/vc-sccs.el (vc-sccs-create-tag):
950 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
951
802a2ae2
ML
9522012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
953
954 * eshell/esh-util.el (eshell-read-hosts-file):
955 Skip comment lines. (Bug#10549)
956
d7128bb1
ML
957 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
958
d1a5c3b4
JB
9592012-01-23 Juanma Barranquero <lekktu@gmail.com>
960
2724d9c7
JB
961 * subr.el (display-delayed-warnings): Doc fix.
962 (collapse-delayed-warnings): New function to collapse identical
963 adjacent warnings.
964 (delayed-warnings-hook): Add it.
d1a5c3b4 965
a5509865
MA
9662012-01-22 Michael Albinus <michael.albinus@gmx.de>
967
968 * net/tramp.el (tramp-action-login): Set connection property "login-as".
969
970 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
971 properties, when "login-as" is set.
972
973 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
974 (tramp-default-user-alist): Don't add "pscp".
975 (tramp-do-copy-or-rename-file-out-of-band): Use connection
976 property "login-as", if set. (Bug#10530)
977
cc6d5805
MA
9782012-01-21 Michael Albinus <michael.albinus@gmx.de>
979
980 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
981 "plink1" and "psftp". (Bug#10530)
982
9832012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
984
985 * international/mule-cmds.el (prefer-coding-system): Show a
986 warning message if the default value of file-name-coding-system
987 was not changed.
988
f0960428
JC
9892012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
990
cb882333
JB
991 * windmove.el (windmove-reference-loc):
992 Fix windmove-reference-loc miscalculation.
f0960428 993
dd6f2a63
JB
9942012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
995
996 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
997 default unit.
998
7b447e9b
GM
9992012-01-21 Glenn Morris <rgm@gnu.org>
1000
117a9ea1
GM
1001 * international/mule.el (auto-coding-alist): Add .tbz.
1002
7b447e9b
GM
1003 * files.el (local-enable-local-variables): Doc fix.
1004 (inhibit-local-variables-regexps): Rename from
1005 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1006 Doc fix. Add some extensions from auto-coding-alist.
1007 (inhibit-local-variables-suffixes):
1008 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1009 (inhibit-local-variables-p):
1010 New function, extracted from set-auto-mode-1.
1011 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1012 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1013 (hack-local-variables): Doc fix. Make the mode-only case
1014 respect enable-local-variables and friends.
1015 Respect inhibit-local-variables-regexps for file-locals, but
1016 not for directory-locals.
1017 (set-visited-file-name):
1018 Take account of inhibit-local-variables-regexps.
1019 Whether it applies may change as the file name is changed.
1020 * jka-cmpr-hook.el (jka-compr-install):
1021 * jka-compr.el (jka-compr-uninstall):
1022 Update for inhibit-first-line-modes-suffixes name change.
1023
dd6e3cdd
MR
10242012-01-20 Martin Rudalics <rudalics@gmx.at>
1025
1026 * help-macro.el (make-help-screen): Temporarily restore original
1027 binding for minor-mode-map-alist (Bug#10454).
1028
0d0deb38
JD
10292012-01-19 Julien Danjou <julien@danjou.info>
1030
1031 * color.el (color-name-to-rgb): Use the white color to find the max
1032 color component value and return correctly computed values.
1033 (color-name-to-rgb): Add missing float conversion for max value.
1034
34a02f46
MR
10352012-01-19 Martin Rudalics <rudalics@gmx.at>
1036
1037 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1038 special state value for window-persistent-parameters.
1039 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1040 (window--state-put-2): Reset all window parameters to nil before
1041 assigning values of persistent parameters.
1042
606c44c4
AM
10432012-01-18 Alan Mackenzie <acm@muc.de>
1044
1045 Eliminate sluggishness and hangs in fontification of "semicolon
1046 deserts".
1047
cb882333
JB
1048 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1049 Change value 10000 -> 3000.
606c44c4
AM
1050 (c-state-safe-place): Reformulate so it doesn't stack up an
1051 infinite number of wrong entries in c-state-nonlit-pos-cache.
1052 (c-determine-limit-get-base, c-determine-limit): New functions to
1053 determine backward search limits disregarding literals.
1054 (c-find-decl-spots): Amend commenting.
1055 (c-cheap-inside-bracelist-p): New function which detects "={".
1056
1057 * progmodes/cc-fonts.el
1058 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1059 backward search.
1060 (c-font-lock-declarations): Fix an occurrence of point being
1061 undefined. Check additionally for point being in a bracelist or
1062 near a macro invocation without a semicolon so as to avoid a
1063 fruitless time consuming search for a declarator. Give a more
1064 precise search limit for declarators using the new
1065 c-determine-limit.
1066
f3860cea
GM
10672012-01-18 Glenn Morris <rgm@gnu.org>
1068
1069 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1070 (set-auto-mode): Doc fixes.
1071
1db03b16
GM
10722012-01-17 Glenn Morris <rgm@gnu.org>
1073
0e6038be
GM
1074 * isearch.el (search-nonincremental-instead): Fix doc typo.
1075
1db03b16
GM
1076 * dired.el (dired-insert-directory): Handle newlines in directory name.
1077 (dired-build-subdir-alist): Unescape newlines in directory name.
1078
4cb0aa75
MA
10792012-01-17 Michael Albinus <michael.albinus@gmx.de>
1080
1081 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1082 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1083 (tramp-action-terminal): Use it. (Bug#10530)
1084
1d00653d
SM
10852012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1088
6a6ee00d
MR
10892012-01-16 Martin Rudalics <rudalics@gmx.at>
1090
1091 * window.el (window-state-ignored-parameters): Remove variable.
1092 (window--state-get-1): Rename argument MARKERS to IGNORE.
1093 Handle persistent window parameters. Make copy of clone-of
1094 parameter only if requested. (Bug#10348)
1095 (window--state-put-2): Install a window parameter only if it has
1096 a non-nil value or an existing parameter shall be overwritten.
1097
97912def
MA
10982012-01-15 Michael Albinus <michael.albinus@gmx.de>
1099
1100 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1101
688070a5
EZ
11022012-01-14 Eli Zaretskii <eliz@gnu.org>
1103
1104 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1105 don't pass the (nil) value of `upnode' to string-match.
1106
301afadc
CY
11072012-01-14 Chong Yidong <cyd@gnu.org>
1108
1109 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1110 Fix values recognized by the cursorBlink resource.
301afadc 1111
9e5788aa
PE
11122012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1113
1114 * epg.el (epg--make-temp-file): Avoid permission race condition
1115 when running on old Emacs versions (bug#10403).
1116
3cdb7f5a
GM
11172012-01-14 Glenn Morris <rgm@gnu.org>
1118
1119 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1120
8c82b1b4
AM
11212012-01-13 Alan Mackenzie <acm@muc.de>
1122
1123 Fix filling for when filladapt mode is enabled.
1124
1125 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1126 c-mask-paragraph, pass in `fill-paragraph' rather than
1127 `fill-region-as-paragraph'. (This is a reversion of a previous
1128 change.)
eb864a71
LM
1129 * progmodes/cc-mode.el (c-basic-common-init):
1130 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1131
e517eda4
GM
11322012-01-13 Glenn Morris <rgm@gnu.org>
1133
1498536e
GM
1134 * dired.el (dired-switches-escape-p): New function.
1135 (dired-insert-directory): Use dired-switches-escape-p.
1136 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1137
e517eda4
GM
1138 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1139
328f984d
GM
11402012-01-12 Glenn Morris <rgm@gnu.org>
1141
1142 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1143 changes in adaptive-fill-regexp. (Bug#10276)
1144
2cc769a8
AM
11452012-01-11 Alan Mackenzie <acm@muc.de>
1146
1147 Fix Emacs bug #10463 - put `widen's around the critical spots.
1148
1d00653d 1149 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1150 widen around each invocation of c-state-pp-to-literal. Remove an
1151 unused let variable.
1152
e52c37fa
GM
11532012-01-11 Glenn Morris <rgm@gnu.org>
1154
1155 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1156 Doc fix.
e52c37fa 1157
96f8741e
CY
11582012-01-10 Chong Yidong <cyd@gnu.org>
1159
1d00653d
SM
1160 * net/network-stream.el (network-stream-open-starttls):
1161 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1162 response to the capability command.
1163
b09a806e
GM
11642012-01-10 Glenn Morris <rgm@gnu.org>
1165
1166 * mail/unrmail.el (unrmail): Tweak previous change.
1167
7655cb66
CY
11682012-01-09 Chong Yidong <cyd@gnu.org>
1169
1170 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1171
9d5a8f0b
AM
11722012-01-08 Alan Mackenzie <acm@muc.de>
1173
1174 Optimise font locking in long enum definitions.
1175
1176 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1177 arm to a cond form to handle enums.
1178 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1179 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1180
9a0115ab 11812012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1182
1183 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1184 (Bug#10401)
6bb72cbd 1185
f186bb95
LMI
11862012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1187
29232a68
LMI
1188 * faces.el (set-face-attribute): Clarify the meaning of the nil
1189 frame (bug#10294).
1190
4e5d086d
LMI
1191 * subr.el (with-selected-frame): Mention that the selected frame
1192 is restored (bug#9980).
1193
8e66aebe
LMI
1194 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1195 (bug#9759).
1196
cd394be1 1197 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1198 (password-read): Don't autoload unused function.
1199
adf4e762
JB
12002012-01-07 Juanma Barranquero <lekktu@gmail.com>
1201
1202 * progmodes/which-func.el (which-func-mode): Turn into a
1203 non-interactive function and mark as obsolete (bug#10428).
1204
89bd9ccd
CY
12052012-01-06 Chong Yidong <cyd@gnu.org>
1206
1207 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1208 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1209 functions, along with 1 and -1.
1210
4afee9d5
EZ
12112012-01-06 Eli Zaretskii <eliz@gnu.org>
1212
1213 * time.el (display-time-load-average)
1214 (display-time-default-load-average): Doc fixes. See the thread
1215 starting at
1216 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1217 for the details.
1218
536aea70
GM
12192012-01-06 Glenn Morris <rgm@gnu.org>
1220
665ae865
GM
1221 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1222 has no messages. (Bug#10377)
1223
c869783d
GM
1224 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1225 than Info-edit. (Bug#10385)
1226
2bb4227e
GM
1227 * time.el (display-time-load-average, display-time-next-load-average):
1228 Doc fixes.
1229
7d5944b9
GM
1230 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1231 local setting of buffer-read-only to the input buffer. (Bug#10419)
1232
536aea70
GM
1233 * calendar/calendar.el (calendar-mode):
1234 Locally set scroll-margin to 0. (Bug#10379)
1235
7dccca16
UM
12362012-01-06 Ulrich Mueller <ulm@gentoo.org>
1237
1238 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1239
afbb7930
GM
12402012-01-05 Glenn Morris <rgm@gnu.org>
1241
1242 * eshell/em-unix.el (diff-no-select): Autoload it.
1243 (eshell/diff): Use diff-no-select. (Bug#10420)
1244
04482335
CY
12452012-01-05 Chong Yidong <cyd@gnu.org>
1246
7baca3bc
CY
1247 * shell.el (shell-dynamic-complete-functions): Revert last change.
1248 (shell-command-completion-function): New function.
1249 (shell-completion-vars): Use it to implement
1250 shell-completion-execonly (Bug#10417).
1251
04482335
CY
1252 * custom.el (enable-theme): Don't set custom-safe-themes.
1253
1d00653d
SM
1254 * cus-theme.el (custom-theme-merge-theme):
1255 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1256
bb5aa5d6
MM
12572012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1258
1259 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1260 first prompt in `sql-interacive-mode'.
1261 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1262 keywords.
6df6ae42 1263 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1264 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1265 context of original buffer. Invoke `sql-login-hook'.
1266
a7183d7c
EZ
12672012-01-04 Eli Zaretskii <eliz@gnu.org>
1268
1269 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1270 letters in cite-prefix.
1271
a1eacd1e
LMI
12722012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1273
1274 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1275
787cdb34
CY
12762012-01-03 Chong Yidong <cyd@gnu.org>
1277
1d00653d
SM
1278 * shell.el (shell-dynamic-complete-functions):
1279 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1280 comint-filename-completion first (Bug#10417).
1281
30710442
RS
12822012-01-02 Richard Stallman <rms@gnu.org>
1283
1284 * battery.el (battery-status-function):
1285 Detect when to use battery-yeeloong-sysfs.
1286 (battery-echo-area-format): Add string for Yeeloong.
1287 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1288 (battery-yeeloong-sysfs): New function.
1289
f75bfc33
CY
12902012-01-02 Chong Yidong <cyd@gnu.org>
1291
1292 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1293 (dirtrack): Merge code for handling relative filenames in prompt
1294 from shell-dir-cookie-watcher.
1295 (dirtrack-debug-message): New arg to avoid excess format calls.
1296
1297 * shell.el (shell-dir-cookie-re): Variable deleted.
1298 (shell-dir-cookie-watcher): Function deleted.
1299 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1300 with dirtrack-mode.
1301
651e947e
EZ
13022012-01-01 Eli Zaretskii <eliz@gnu.org>
1303
1d00653d
SM
1304 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1305 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1306 libgnutls-26.dll.
1307
94d4c7dc
AS
13082011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1309
1310 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1311
8d43f3cd
EZ
13122011-12-31 Eli Zaretskii <eliz@gnu.org>
1313
1314 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1315 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1316
98c8795a
MA
13172011-12-29 Michael Albinus <michael.albinus@gmx.de>
1318
1319 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1320 also for alternative shells.
1321 (tramp-open-connection-setup-interactive-shell): Check, whether
1322 the shell is a busybox.
1323 (tramp-send-command): Don't suppress multiple prompts for
1324 busyboxes, it hurts.
1325
51281b32
CY
13262011-12-28 Chong Yidong <cyd@gnu.org>
1327
1328 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1329 (gdb-get-source-file): Move mode line update to
1330 gdb-get-source-file (Bug#10087).
1331
2170cb53
CY
13322011-12-25 Chong Yidong <cyd@gnu.org>
1333
1334 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1335 gud-gdb-marker-filter without taking it as an argument.
1336 (gud-gdb-run-command-fetch-lines): Caller changed.
1337 (gud-gdb-completion-function): New variable.
1338 (gud-gdb-completion-at-point): Use it.
1339 (gud-gdb-completions-1): Split from gud-gdb-completions.
1340
1341 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1342 function as separate arguments.
1343 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1344 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1345 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1346 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1347 (gdb-stopped, def-gdb-auto-update-trigger)
1348 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1349 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1350 Callers changed.
2170cb53
CY
1351 (gud-gdbmi-completions): New function.
1352 (gdb): Use it for generating the completion table.
1353
be8b11bb
AM
13542011-12-24 Alan Mackenzie <acm@muc.de>
1355
1356 Introduce a mechanism to widen the region used in context font
1d00653d 1357 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1358
1d00653d
SM
1359 * progmodes/cc-langs.el (c-before-font-lock-functions):
1360 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1361 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1362 functions to be run just before context (etc.) font locking.
1363
1364 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1365 New, functionality extracted from
be8b11bb 1366 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1367 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1368 (c-after-change): Set c-in-after-change-fontification.
1369 (c-set-fl-decl-start): Rejig its interface, so it can be called
1370 from both after-change and context fontifying.
b81d40f0
JB
1371 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1372 New functions.
1373 (c-standard-font-lock-fontify-region-function): New variable.
1374 (c-font-lock-fontify-region): New function.
be8b11bb 1375
341cf6ac
JL
13762011-12-24 Juri Linkov <juri@jurta.org>
1377
1378 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1379 (Bug#10348)
1380
bffcee0a
MA
13812011-12-23 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1384 existence of source file. (Bug#10325)
1385
cb5e207c
AM
13862011-12-23 Alan Mackenzie <acm@muc.de>
1387
1388 Fix unstable fontification inside templates.
1389
b81d40f0
JB
1390 * progmodes/cc-langs.el (c-before-font-lock-functions):
1391 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1392 additionally has c-set-fl-decl-start. The other languages (apart
1393 from AWK) have that as a single entry.
1394
b81d40f0
JB
1395 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1396 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1397 c-set-fl-decl-start.
1398
b81d40f0
JB
1399 * progmodes/cc-mode.el (c-common-init, c-after-change):
1400 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1401 (c-set-fl-decl-start): New function, extracted from
1402 c-font-lock-enclosing-decls and enhanced.
1403
60ff536c
JB
14042011-12-23 Juanma Barranquero <lekktu@gmail.com>
1405
1406 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1407
1c4757d6
JL
14082011-12-22 Juri Linkov <juri@jurta.org>
1409
1410 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1411
d031f2c7
CY
14122011-12-22 Chong Yidong <cyd@gnu.org>
1413
1414 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1415
bace743a
DA
14162011-12-21 Drew Adams <drew.adams@oracle.com>
1417
1418 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1419
728a1f2b
JC
14202011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1421
1422 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1423
0d373f73
TZ
14242011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1425
fec0aaa4
TZ
1426 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1427 highlighting and support. Fix up comments for capitalization.
1428 (cfengine-mode-debug): New var.
1429 (cfengine3-mode): Change the modeline indicator to "CFE3".
1430 (cfengine3-font-lock-keywords): Improve defun highlighting.
1431 (cfengine2-actions): Rename from `cfengine-actions'.
1432 (cfengine2-font-lock-keywords): Rename from
1433 `cfengine-font-lock-keywords'.
1434 (cfengine2-imenu-expression): Rename from
1435 `cfengine-imenu-expression'.
1436 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1437 (cfengine2-beginning-of-defun): Rename from
1438 `cfengine-beginning-of-defun'.
1439 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1440 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1441 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1442 modeline indicator to "CFE2".
1443 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1444 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1445
bc86f573
CY
14462011-12-21 Chong Yidong <cyd@gnu.org>
1447
1448 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1449 filename argument.
1450
d45ba96b
MR
14512011-12-20 Martin Rudalics <rudalics@gmx.at>
1452
1453 * window.el (window-normalize-buffer-to-display): Remove.
1454 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1455
a6198c90
CY
14562011-12-19 Chong Yidong <cyd@gnu.org>
1457
1458 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1459 Don't signal an error in a predicate function; return non-nil.
1460 (vc-dir-mark-file): Move the error here.
1461 (vc-dir-mark-unmark): If acting on the region, keep going if one
1462 of the entries cannot be marked/unmarked.
1463 (vc-dir-mark-all-files): If current entry is a directory, mark
1464 only child files, as documented.
1465
34c5fb55
VB
14662011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1467
1468 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1469 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1470 addition.
1471
c803b2b7
JD
14722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1473
1474 * term/ns-win.el (ns-get-selection-internal)
1475 (ns-store-selection-internal): Declare.
1154d12e
JB
1476 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1477 Declare as obsolete.
1478 (ns-get-pasteboard, ns-paste-secondary):
1479 Use ns-get-selection-internal.
1480 (ns-set-pasteboard, ns-copy-including-secondary):
1481 Use ns-store-selection-internal.
c803b2b7 1482
9cff91f8 14832011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1484
1485 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1486 (vc-deduce-fileset): Doc fix.
99a289d9 1487
f16c898a
AS
14882011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1489
1490 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1491
763237c4
SS
14922011-12-13 Sam Steingold <sds@gnu.org>
1493
1494 * man.el (Man-getpage-in-background): When running under a
1495 window-system, ignore $MANWIDTH and $COLUMNS.
1496
5fc1c122
KH
14972011-12-15 Kenichi Handa <handa@m17n.org>
1498
1499 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1500 (setup-ethiopic-environment-internal): Comment out key-binding for
1501 ethio-toggle-punctuation.
1502
13d49cbb
AM
15032011-12-13 Alan Mackenzie <acm@muc.de>
1504
898169a2
AM
1505 Add the switch statement to AWK Mode.
1506
7a71b18d 1507 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1508 "default" to the keywords regexp.
1509
7a71b18d 1510 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1511 expression as the rest.
1d00653d
SM
1512 (c-nonlabel-token-key): Allow string literals for AWK.
1513 Refactor for the other modes.
898169a2 1514
13d49cbb 1515 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1516 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1517 routines. Limit backward searching in c-font-lock-enclosing.decl.
1518
1519 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1520 pp-state and literal type in addition to the limits.
1d00653d 1521 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1522 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1523 (c-slow-in-literal, c-fast-in-literal): Remove.
1524 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1525
1526 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1527 being in a literal. Add a limit for backward searching.
1528
1529 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1530 c-slow-in-literal.
1531
15e0efc7
SM
15322011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1533
1534 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1535
454592a6
MR
15362011-12-13 Martin Rudalics <rudalics@gmx.at>
1537
1538 * window.el (delete-other-windows): Use correct frame in call to
1539 window-with-parameter.
1540
87393f26
DP
15412011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1542
1543 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1544 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1545 (makefile-gmake-statements, makefile-makepp-statements):
1546 Use it and add new makepp keywords.
1547 (makefile-makepp-font-lock-keywords): Add new patterns.
1548 (makefile-match-function-end): Match new [...] and [[...]].
1549
11636b22
JB
15502011-12-11 Juanma Barranquero <lekktu@gmail.com>
1551
1552 * ses.el (ses-call-printer-return, ses-cell-property-get)
1553 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1554 (ses-create-cell-variable, ses-reset-header-string)
1555 (ses-cell-set-formula, ses-repair-cell-reference-all)
1556 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1557 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1558 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1559 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1560 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1561 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1562 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1563 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1564 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1565 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1566 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1567 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1568
cf018193
VB
15692011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
1570
1571 * ses.el: The overall change is to add cell renaming, that is
1572 setting fancy names for cell symbols other than name matching
1573 "\\`[A-Z]+[0-9]+\\'" regexp .
1574 (ses-create-cell-variable): New defun.
1575 (ses-relocate-formula): Relocate formulas only for cells the
1576 symbols of which are not renamed, i.e. symbols whose names do not
1577 match regexp "\\`[A-Z]+[0-9]+\\'".
1578 (ses-relocate-all): Relocate values only for cells the symbols of
1579 which are not renamed.
1580 (ses-load): Create cells variables as the (ses-cell ...) are read,
1581 in order to check row col consistency with cell symbol name only
1582 for cells that are not renamed.
1583 (ses-replace-name-in-formula): New defun.
1584 (ses-rename-cell): New defun.
1585
ee957461
CY
15862011-12-11 Chong Yidong <cyd@gnu.org>
1587
1588 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1589 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1590
9a9e9ef0
MR
15912011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
1592
1593 * window.el (other-window): Fix docstring.
1594
92a8eba5
EZ
15952011-12-10 Eli Zaretskii <eliz@gnu.org>
1596
1597 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
1598 `from' or `to' address before taking its substring.
1599 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
1600 encoded name is chopped in the middle of the encoded string, and
1601 thus displayed encoded.
1602
e152e577
JB
16032011-12-10 Juanma Barranquero <lekktu@gmail.com>
1604
1605 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1606
e5d84bfe
EZ
16072011-12-10 Eli Zaretskii <eliz@gnu.org>
1608
1609 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
1610 to use texinfo-update-node and commands that call it if the
1611 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 1612 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
1613 (texinfo-all-menus-update, texinfo-master-menu)
1614 (texinfo-update-node, texinfo-every-node-update)
1615 (texinfo-multiple-files-update): Doc fix. Warn against updating
1616 all the @node lines.
1617 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
1618 argument is numeric. Explain better in the doc string what the
1619 function really does.
1620 (texinfo-insert-master-menu-list): Improve the error message
1621 displayed if there's no menu in the Top node.
1622 (Bug#2975) See also this thread:
e5d84bfe
EZ
1623 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1624
1d84e9bb
MG
16252011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1626
1627 * speedbar.el (speedbar-supported-extension-expressions):
1628 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1629
382c953b
JB
16302011-12-09 Juanma Barranquero <lekktu@gmail.com>
1631
1632 * printing.el (pr-mode-alist):
1633 * simple.el (filter-buffer-substring-functions)
1634 (completion-list-insert-choice-function):
1635 * window.el (window-with-parameter, window-atom-root)
1636 (window-sides-slots, window-size-fixed, window-min-delta)
1637 (window-max-delta, window--resize-mini-window)
1638 (window--resize-child-windows-normal, window-tree)
1639 (delete-other-windows, quit-window, split-window)
1640 (display-buffer-record-window, special-display-buffer-names)
1641 (special-display-regexps, special-display-popup-frame)
1642 (same-window-p, split-window-sensibly)
1643 (display-buffer-overriding-action, display-buffer-alist)
1644 (display-buffer-base-action, display-buffer, switch-to-buffer)
1645 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1646 (fit-window-to-buffer, recenter-positions)
1647 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1648 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1649 and remove unneeded backslashes in docstrings.
1650
39c9faef
SM
16512011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1652
98449af8
SM
1653 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1654
39c9faef
SM
1655 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1656 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1657 end in ".mk".
1658 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1659 when reading the makefile (bug#10116).
1660
86ed9fdc
SM
16612011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1664 (bug#10116).
1665
5580f89d
GM
16662011-12-06 Glenn Morris <rgm@gnu.org>
1667
1668 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1669
28d3917c
CY
16702011-12-06 Chong Yidong <cyd@gnu.org>
1671
1672 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1673
a98edce9
JB
16742011-12-06 Juanma Barranquero <lekktu@gmail.com>
1675
1676 * textmodes/table.el (table-shorten-cell): Fix typo.
1677
e65adfac
CG
16782011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1679
1680 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1681
71cc0b74
EZ
16822011-12-05 Eli Zaretskii <eliz@gnu.org>
1683
1684 * descr-text.el (describe-char): Fix display of strong
1685 right-to-left characters and directional embeddings and overrides.
1686
1687 * simple.el (what-cursor-position): Fix display of codepoints of
1688 strong right-to-left characters.
1689
315bc30d
CY
16902011-12-05 Chong Yidong <cyd@gnu.org>
1691
1692 * faces.el (read-color): Doc fix.
1693
58a70b94
GM
16942011-12-05 Glenn Morris <rgm@gnu.org>
1695
1696 * align.el (align--set-marker): Add doc-string.
1697 Don't try to move something that is not a marker. (Bug#10216)
1698
5158face
GM
16992011-12-04 Glenn Morris <rgm@gnu.org>
1700
1701 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1702 overly zealous deletion of trailing whitespace.
1703
520fca41
JB
17042011-12-04 Juanma Barranquero <lekktu@gmail.com>
1705
1706 * server.el (server-delete-client): On Windows, do not try to delete
1707 the only terminal.
1708 (server-process-filter): On Windows, treat requests for a tty frame as
1709 if they were for a GUI frame if the running server is in GUI mode.
1710
5e605a2e
GM
17112011-12-03 Glenn Morris <rgm@gnu.org>
1712
1713 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1714
5c3fe83f
SM
17152011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1716
6f5e57e7
SM
1717 * electric.el: Streamline electric-indent's hook.
1718 (electric-indent-chars): Revert to simple list.
1719 (electric-indent-functions): New var.
1720 (electric-indent-post-self-insert-function): Use it.
1721
5c3fe83f
SM
1722 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1723 there's no inferior buffer (bug#10196).
1724 (prolog-consult-compile): Don't use toggle-read-only.
1725
6bdac736
MA
17262011-12-02 Michael Albinus <michael.albinus@gmx.de>
1727
1728 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1729 interrupt. (Bug#10187)
1730
6131ba7f
SM
17312011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1732
99c79fee
SM
1733 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1734 (bug#9160).
1735
6131ba7f
SM
1736 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1737 (bug#10191).
1738
cb0a02ea
JL
17392011-12-02 Juri Linkov <juri@jurta.org>
1740
1741 * info.el (Info-search): Display "end of manual" when Isearch
1742 reaches the end of single-file Info manual. (Bug#9918)
1743
66e0570c
EZ
17442011-12-02 Eli Zaretskii <eliz@gnu.org>
1745
1746 * isearch.el (isearch-message-prefix): Run the input method part
1747 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1748
02b16839
JL
17492011-12-02 Juri Linkov <juri@jurta.org>
1750
1751 * isearch.el (isearch-occur): Use `word-search-regexp' for
1752 `isearch-word'.
1753 (isearch-search-and-update): Add condition for `isearch-word' and
1754 call `word-search-regexp'. (Bug#10145)
1755
0b950688
GM
17562011-12-01 Glenn Morris <rgm@gnu.org>
1757
1758 * eshell/em-hist.el (eshell-hist-initialize):
1759 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1760 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 1761
9505c3c7
SM
17622011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1765
1bbe96b2 17662011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 1767
a1beca85
SM
1768 * progmodes/verilog-mode.el (verilog-pretty-expr):
1769 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
1770 verilog, such as += *= and the like.
1771 (verilog-assignment-operator-re): Regular expression to find the
1772 assigment operator in a verilog assignment.
1773 (verilog-assignment-operation-re): Regular expression to find an
1774 assignment statement for pretty-expr.
1775 (verilog-in-attribute-p): Query returns true if point is in an
1776 attribute context; used to skip these for expression line up from
1777 pretty-expr.
1778 (verilog-in-parameter-p): Query returns true if point is in an
1779 parameter definition context; used to skip these for expression
1780 line up from pretty-expr.
1781 (verilog-in-parenthesis-p): Query returns true if point is in a
1782 parenthetical expression, specifically ( ) but not [ ] or { };
1783 used by pretty-expr.
1784 (verilog-just-one-space): If there is no space, don't add one.
1785 (verilog-get-lineup-indent-2): Specifically skip just attribute
1786 contexts for expression lineup, rather than skipping all
1787 parenthetical expressions.
1788 (verilog-calculate-indent): Fix comment, and fix indent.
1789 (verilog-do-indent): Indent declarations in lists (suggested by
1790 Joachim Lechner).
1791 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1792 skeleton items.
1793 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1794 by Alain Mellan).
1795
1bbe96b2 17962011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
1797
1798 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1799 parameters with embedded comments. Reported by Ray Stevens.
1800 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1801 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1802 Reported by Tim Holt.
1803 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1804 instantiated by upper module causing wrong expansion until AUTOed a
1805 second time. Reported by K C Buckenmaier.
1806 (verilog-diff-auto): Fix showing .* as a difference when
1807 `verilog-auto-star-save' off. Reported by Dan Dever.
1808 (verilog-auto-reset, verilog-read-always-signals)
1809 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1810 temporary signals in reset list if
1811 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
1812 style to each signal's assignment type, bug381.
1813 Reported by Thomas Esposito.
6288f0ca
WS
1814 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1815 (verilog-uvm-statement-re): Support UVM indentation and
1816 highlighting, with old OVM keywords only.
a1beca85 1817 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
1818 Support AUTOTIEOFF creating non-wire data types.
1819 Suggested by Jonathan Greenlaw.
6288f0ca
WS
1820 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1821 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1822 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
1823 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1824 Fix mismatching parenthesis inside commented out code when deleting
382c953b 1825 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
1826 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1827 non-numeric vector width. Reported by Alex Reed.
1828 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 1829 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
1830 (verilog-auto-delete-trailing-whitespace):
1831 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
1832 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1833 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1834 Fix verilog-scan-cache corruption when running user AUTO expansion
1835 hooks that call indentation routines.
1836 (verilog-simplify-range-expression): Fix typo ignoring lower case
1837 identifiers.
1838 (verilog-delete-auto): Fix delete-autos to also remove user created
1839 automatics, as long as they start with AUTO.
1840 (verilog-batch-diff-auto, verilog-diff-auto)
1841 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1842 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1843 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1844 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1845 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1846 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1847 is disabled and its cache will get corrupt, causing AUTOS not to
1848 expand. Instead use only -quick functions.
1849 (verilog-scan-region): Fix scanning over escaped quotes.
1850 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1851 (verilog-re-search-backward-quick)
1852 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1853 related functions now ignore strings, to fix misparsing of strings
1854 with magic comments embedded in them.
a1beca85
SM
1855 (verilog-read-auto-template):
1856 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1857 Reported by Brad Dobbie.
1858 (verilog-read-auto-template):
1859 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1860 Reported by Brad Dobbie.
6288f0ca
WS
1861 (verilog-auto-inst, verilog-auto-inst-param)
1862 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1863 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1864 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1865 debugging templates without merge conflicts, bug357.
1866 Reported by Brad Dobbie.
1867 (verilog-read-auto-template):
1868 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1869 Reported by Brad Dobbie.
1870 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1871 abbrevs so user won't be asked to save.
1872 (verilog-read-auto-lisp-present): Fix to start at beginning of
1873 buffer in case called outside of verilog-auto.
1874 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1875 to "X-2". Reported by Matthew Myers.
1876 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1877 all inputs from module templates. Reported by Leith Johnson.
1878 (verilog-module-inside-filename-p): Fix locating programs as with
1879 modules.
1880 (verilog-auto-inst-port): Fix vl-width expressions when using
1881 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1882 (verilog-decls-get-regs, verilog-decls-get-signals,
1883 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1884 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1885 verilog-read-decls): Combine reg and wire structures into one var
1886 structure to represent SystemVerilog concepts.
1887 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1888 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1889 (verilog-auto-wire-type, verilog-insert-definition):
1890 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1891 SystemVerilog "logic" keyword instead of "wire"/"reg".
1892 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1893 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1894 ifdef or generate if so there's not a driver conflict).
1895 Reported by Matthew Myers.
1896 (verilog-auto-declare-nettype, verilog-insert-definition):
1897 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1898 `default_nettype none. Reported by Julian Gorfajn.
1899 (verilog-read-always-signals-recurse, verilog-read-decls)
1900 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1901 malformed end statement, bug325. Reported by Joshua Wise and
1902 Andrew Drake.
1903 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1904 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1905 when expanding .* in interfaces, bug320.
1906 Reported by Pierre-David Pfister.
6288f0ca 1907 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1908 name and open parenthesis, bug317.
1909 Reported by Pierre-David Pfister.
6288f0ca
WS
1910 (verilog-simplify-range-expression): Fix simplification of
1911 multiplications inside AUTOWIRE connections, bug303.
1912 (verilog-auto-inst-port): Support parameter expansion in
1913 multidimensional arrays.
1914 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1915 after "assert property". Reported by Julian Gorfajn.
1916 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1917 with multiplication, bug303.
1918 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1919 Reported by Jan Frode Lonnum.
1920
1bbe96b2
GM
19212011-11-30 Juanma Barranquero <lekktu@gmail.com>
1922
1923 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1924 (hfy-shell-file-name, hfy-shell):
1925 * international/fontset.el (x-decompose-font-name): Fix typos.
1926
19272011-11-29 Ken Brown <kbrown@cornell.edu>
1928
1929 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1930 (gdb-version): Remove defvar.
1931 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1932 (gdb-gud-context-command, gdb-non-stop-handler)
1933 (gdb-current-context-command, gdb-stopped): Use it.
1934 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
1935 (gdb-non-stop-handler): Don't enable pretty-printing here.
1936 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
1937 non-stop mode. Use the following.
1938 (gdb-check-target-async): New defun.
1939 (gud-watch, gdb-stopped): Fix whitespace.
1940 (gdb-get-source-file): Don't try to display the source file if
1941 `gdb-main-file' is nil.
1942
19432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * align.el: Try to generate fewer markers (bug#10047).
1946 (align--set-marker): New macro.
1947 (align-region): Use it.
1948
c935221f
SM
19492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1952
e70b5064
CY
19532011-11-29 Chong Yidong <cyd@gnu.org>
1954
1955 * indent.el (indent-for-tab-command, indent-according-to-mode):
1956 Doc fix.
1957 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1958
f3af92b7
MA
19592011-11-29 Michael Albinus <michael.albinus@gmx.de>
1960
1961 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1962 aware of remote file names. (Bug#10124)
1963
ed472be9
CY
19642011-11-29 Chong Yidong <cyd@gnu.org>
1965
1966 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1967
24510c22
SM
19682011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * files.el (find-file): Don't use force-same-window (bug#10144).
1971 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1972 use pop-to-buffer if the selected window can't be used.
1973 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1974
c60c3703
EZ
19752011-11-28 Eli Zaretskii <eliz@gnu.org>
1976
1977 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1978 special-mode-map.
1979
e95def75
CY
19802011-11-28 Chong Yidong <cyd@gnu.org>
1981
1982 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1983
c3f1c606
NR
19842011-11-27 Nick Roberts <nickrob@snap.net.nz>
1985
1986 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1987 gdb-get-source-file-list on gdb-create-source-file-list.
1988
00db469c
EZ
19892011-11-26 Eli Zaretskii <eliz@gnu.org>
1990
1991 * whitespace.el (whitespace-newline): Use a different foreground
1992 color for 16-color light-background displays.
1993
4ad3bc2a
CY
19942011-11-24 Chong Yidong <cyd@gnu.org>
1995
1996 * window.el (display-buffer--special-action): Doc fix.
1997
e9fce1ac
JB
19982011-11-25 Juanma Barranquero <lekktu@gmail.com>
1999
2000 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2001 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2002 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2003 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2004 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2005 (avl-tree-stack-first):
2006 * emacs-lisp/cconv.el (cconv--analyse-use):
2007 * net/gnutls.el (gnutls-negotiate): Fix typos.
2008
cb825e5d
GM
20092011-11-24 Glenn Morris <rgm@gnu.org>
2010
3adbe224
GM
2011 * lpr.el (lpr-windows-system, lpr-lp-system):
2012 * mail/binhex.el (binhex-begin-line):
2013 * progmodes/grep.el (grep-history, grep-find-history):
2014 * textmodes/flyspell.el:
2015 * vc/pcvs-defs.el (cvs-global-menu):
2016 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2017 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2018 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2019
321decc8
GM
2020 * net/tls.el: Fix case of "GnuTLS".
2021
420b63ad
GM
2022 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2023
cb825e5d
GM
2024 * version.el (emacs-build-system): Give it a doc-string.
2025
a0649f08
JL
20262011-11-24 Juri Linkov <juri@jurta.org>
2027
2028 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2029
c0bc0fd4
GM
20302011-11-24 Glenn Morris <rgm@gnu.org>
2031
2032 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2033 if called on a non-mime message just toggle the headers. (Bug#8006)
2034
20db1522
JB
20352011-11-24 Juanma Barranquero <lekktu@gmail.com>
2036
2037 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2038 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2039 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2040 (allout-rebullet-heading, allout-open-sibtopic)
2041 (allout-toggle-current-subtree-encryption)
2042 (allout-toggle-subtree-encryption, allout-encrypt-string)
2043 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2044 (allout-distinctive-bullets-string, allout-auto-activation):
2045 * window.el (window-normalize-buffer-to-display):
2046 * progmodes/verilog-mode.el (verilog-batch-indent):
2047 * textmodes/bibtex.el (bibtex-field-braces-opt)
2048 (bibtex-field-strings-opt):
2049 * vc/cvs-status.el (cvs-tree-merge):
2050 Fix typos.
2051
7262a87c
MA
20522011-11-23 Michael Albinus <michael.albinus@gmx.de>
2053
2054 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2055 `non-essential' to t, in order to avoid remote connections.
2056
283430a1
EZ
20572011-11-23 Eli Zaretskii <eliz@gnu.org>
2058
a1beca85
SM
2059 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2060 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2061 case-insensitively.
2062
d2992a38
ML
20632011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2064
2065 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2066
50419064
GM
20672011-11-23 Glenn Morris <rgm@gnu.org>
2068
da94eca1
GM
2069 * paths.el (rmail-file-name): Reformat the doc-string so that it
2070 is picked up.
2071
9aac4de2
GM
2072 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2073 (rmail-auto-file): Ignore case in the "special" field names,
2074 as mail-fetch-field does for all others.
2075
8038d2d2
GM
2076 * mail/rmail.el (rmail-forward):
2077 * mail/rmailkwd.el (rmail-set-label):
2078 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2079 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2080
f3fe222a
GM
2081 * mail/rmail.el (rmail-current-message): Doc fix.
2082
50419064
GM
2083 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2084
28109f49
SM
20852011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2088
394c65f1
GM
20892011-11-22 Glenn Morris <rgm@gnu.org>
2090
2091 * mail/rmailmm.el (test-rmail-mime-handler)
2092 (test-rmail-mime-bulk-handler)
2093 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2094
f2a0aa3a
JL
20952011-11-21 Juri Linkov <juri@jurta.org>
2096
1154d12e
JB
2097 * calc/calc.el (calc-read-key-sequence):
2098 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2099
9c34a344
LMI
21002011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2101
2102 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2103 Tell the caller that the next line needs recomputation, even
2104 though it doesn't start a sexp (bug#10094).
2105
f04a3be9
SM
21062011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2109
7978747f
SM
21102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2111
f04a3be9
SM
2112 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2113 Use force-same-window.
7978747f 2114
fe7a3057
JB
21152011-11-20 Juanma Barranquero <lekktu@gmail.com>
2116
2117 * descr-text.el (describe-char-unicode-data):
2118 * json.el (json-string-escape):
2119 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2120 (Footnote-unicode, Footnote-style-p):
2121 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2122
24901d61
CY
21232011-11-20 Chong Yidong <cyd@gnu.org>
2124
2125 * window.el (replace-buffer-in-windows): Restore interactive spec.
2126
bac7ff22
SM
21272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2128
24f3d7b9
SM
2129 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2130
bac7ff22
SM
2131 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2132 (byte-compile-global-not-obsolete-vars): New var.
2133 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2134 Use it.
2135 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2136
cd1181db
JB
21372011-11-20 Juanma Barranquero <lekktu@gmail.com>
2138
2139 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2140 * progmodes/pascal.el (electric-pascal-equal):
2141 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2142 * xml.el (xml-substitute-special): Fix typos.
2143
7fb18e9e
GM
21442011-11-20 Glenn Morris <rgm@gnu.org>
2145
2146 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2147 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2148 Doc fixes.
2149 (rmail-decode-mime-charset): Mark as obsolete.
2150
2151 * mail/rmailsum.el (rmail-message-regexp-p-1):
2152 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2153 Before using mime functions, check they are set. (Bug#10077)
2154
d5a6b3ba
JL
21552011-11-19 Juri Linkov <juri@jurta.org>
2156
2157 * info.el (Info-finder-find-node): Use `package--builtins' instead
2158 of `package-alist'. Use node names formed by the pattern "Keyword "
2159 and the keyword name.
2160
e981b61f
AS
21612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2162
1d00653d 2163 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2164
3ffbc301
JL
21652011-11-19 Juri Linkov <juri@jurta.org>
2166
2167 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2168 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2169 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2170 `old-history', `old-history-forward'. Add let-binding
2171 `window-selected'. Remove calls to `kill-buffer',
2172 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2173 before calling `Info-find-node', so `Info-find-node-2' will reread
2174 the Info file. Restore window positions only when `window-selected'
2175 is non-nil.
2176
30c62133
JL
21772011-11-19 Juri Linkov <juri@jurta.org>
2178
2179 * isearch.el (isearch-lazy-highlight-new-loop):
2180 Remove condition `(not isearch-error)'. (Bug#9918)
2181
2182 * misearch.el (multi-isearch-search-fun): Add condition
2183 `(not bound)' to ignore lazy-highlighting search.
2184 Add the search-failed message "end of multi" when the end of
2185 multi-sequence is reached. Uncapitalize the search-failed
2186 message "Repeat for next buffer".
2187
2188 * info.el (Info-search): Add the search-failed message
2189 "end of the manual" when the end of the manual is reached
2190 in Isearch mode.
2191
645ca9cf
JL
21922011-11-19 Juri Linkov <juri@jurta.org>
2193
2194 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2195 Use non-destructive `remove' instead of `delete' because
2196 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2197 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2198
df754f66
JL
21992011-11-19 Juri Linkov <juri@jurta.org>
2200
2201 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2202 to nil instead of binding `search-ring' and `regexp-search-ring'.
2203 (Bug#9185)
2204
0e23d96a
EZ
22052011-11-19 Eli Zaretskii <eliz@gnu.org>
2206
2207 * simple.el (line-move): Force movement by logical lines for any
2208 hscrolled window, not only when auto-hscroll-mode is on.
2209 (line-move-visual): Update doc string to that effect. (Bug#10076)
2210
8a6ccb66
AS
22112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2212
2213 * language/european.el (macintosh): Define as alias for mac-roman.
2214
49ae5b39
EZ
22152011-11-19 Eli Zaretskii <eliz@gnu.org>
2216
2217 * mail/rmailmm.el (rmail-mime-display-header)
2218 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2219 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2220 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2221 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2222 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2223 of a raw aref.
2224 (rmail-mime-entity-segment): To get past the tagline, move forward
2225 2 more lines, to account for the 2 empty lines that precede and
2226 follow the line with the buttons.
2227 (rmail-mime-update-tagline): Move one more line, to get past the
2228 empty line that follows the buttons in the tagline. (Bug#9520)
2229
c56cad4a
MR
22302011-11-19 Martin Rudalics <rudalics@gmx.at>
2231
2232 * window.el (window-max-delta-1, window-min-delta-1)
2233 (window-min-size-1, window-state-get-1, window-state-put-1)
2234 (window-state-put-2): Use "window--" prefix.
2235
cbe71af3
SM
22362011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2ad52c60
SM
2238 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2239 (smie-warning-count): New var.
2240 (smie-set-prec2tab): Use it.
2241 (smie-bnf->prec2): Improve warnings. Add docstring.
2242 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2243 (smie-bnf--set-class): New function.
2244 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2245 corner case.
2246
6944dbc1
SM
2247 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2248 (compilation-error-properties, compilation-move-to-column):
2249 Handle compilation-first-column while in the target buffer.
2250
c400c4d7
SM
2251 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2252 Don't hardcode point-min==1.
2253
6dbe3e96
SM
2254 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2255 (eshell-rewrite-for-command): Remove workaround.
2256 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2257 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2258 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2259
cbe71af3
SM
2260 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2261
a8e1496d
GM
22622011-11-17 Glenn Morris <rgm@gnu.org>
2263
2264 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2265 Ignore buffer-local generated-autoload-file if it is the same
2266 as the global value. (Bug#10049)
2267
df85d315
JB
22682011-11-17 Juanma Barranquero <lekktu@gmail.com>
2269
2270 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2271 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2272 (reftex-toc-previous-heading, reftex-toc-max-level)
2273 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2274 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2275 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2276 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2277 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2278 (reftex-toc-rename-label, reftex-toc-visit-location)
2279 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2280 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2281 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2282 leaving "*toc*" only for references to the buffer.
2283
a0c2d0ae
MR
22842011-11-17 Martin Rudalics <rudalics@gmx.at>
2285
2286 * window.el (window-resize, delete-window, split-window):
2287 Replace window-splits by window-combination-resize.
1d00653d 2288 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2289
35c0bac8
GM
22902011-11-17 Glenn Morris <rgm@gnu.org>
2291
2292 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2293 Make bash entry derive from sh entry, not shell entry.
2294
d0c8fc8a
MA
22952011-11-16 Michael Albinus <michael.albinus@gmx.de>
2296
d0c8fc8a
MA
2297 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2298 properties of linked files. (Bug#9879)
2299
7262a87c
MA
2300 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2301 local file name.
2302
7877f373
JB
23032011-11-16 Juanma Barranquero <lekktu@gmail.com>
2304
2305 * menu-bar.el (menu-bar-file-menu):
2306 * printing.el (pr-ps-utility):
2307 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2308 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2309 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2310 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2311 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2312 (icalendar--convert-cyclic-to-ical)
2313 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2314 (icalendar--convert-ical-to-diary)
2315 (icalendar--convert-recurring-to-diary)
2316 (icalendar--convert-non-recurring-all-day-to-diary)
2317 (icalendar-import-format-sample):
2318 * progmodes/idlw-shell.el (idlwave-shell-mode):
2319 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2320 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2321 (vhdl-ps-print-init): Fix typos.
2322
10649b82
KM
23232011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2324
9d0cfcd6
GM
2325 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2326 FSF and collapse date sequence, obscure author/maintainer email address
2327 better, remove extra version line, track relocation of author's webpage.
10649b82 2328
9d0cfcd6
GM
2329 * progmodes/python.el (python-pdbtrack-input-prompt)
2330 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2331 regular python pdb prompts. Adjustments shamelessly taken exactly as
2332 suggested in EmacsWiki page (tiny change):
2333 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2334
58179cce
JB
23352011-11-16 Juanma Barranquero <lekktu@gmail.com>
2336
2337 * expand.el (expand-pos, expand-index, expand-point):
2338 Remove redundant info from docstring.
2339 (expand-add-abbrevs): Doc fix.
2340 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2341 (expand-sample-perl-mode-expand-list): Fix typos.
2342
2343 * net/dbus.el (dbus-event-member-name):
2344 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2345 * term/pc-win.el (msdos-create-frame-with-faces):
2346 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2347
b6f67890
MR
23482011-11-16 Martin Rudalics <rudalics@gmx.at>
2349
2350 * window.el (split-window, window-state-get-1)
2351 (window-state-put-1, window-state-put-2): Rename occurrences of
2352 window-nest to window-combination-limit.
1d00653d 2353 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2354
ce7ddba0
CY
23552011-11-16 Chong Yidong <cyd@gnu.org>
2356
2357 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2358 regexp (Bug#10033).
2359
3ae704f4
SM
23602011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2363 `completing-read' will remove *Completions* and will preserve
2364 current-buffer for us.
2365 (tmm-add-prompt): Users of *Completions* will always (re)set its
2366 major mode.
2367 (tmm-old-comp-map): Remove.
2368
6ad1cdde
GM
23692011-11-16 Glenn Morris <rgm@gnu.org>
2370
2371 * mail/rmailedit.el: Require rmailmm when compiling.
2372 (rmail-old-mime-state): New declaration.
2373 (rmail-edit-current-message): If editing a mime message,
2374 edit the "raw" message from the mbox buffer.
2375 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2376
d20faa20
GM
23772011-11-15 Glenn Morris <rgm@gnu.org>
2378
2379 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2380 which wasn't being used. Add optional arg to force given state.
2381 (rmail-mime): Add optional arg to force given state.
2382
c7015153
JB
23832011-11-15 Juanma Barranquero <lekktu@gmail.com>
2384
2385 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2386 * frame.el (display-mm-dimensions-alist):
2387 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2388 (outline-move-subtree-down):
2389 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2390 (newsticker--treeview-do-get-node):
2391 * net/quickurl.el (quickurl-list-buffer-name):
2392 * progmodes/dcl-mode.el (dcl-mode):
2393 * progmodes/gdb-mi.el (gdb-mapcar*):
2394 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2395
45261b50
GM
23962011-11-15 Glenn Morris <rgm@gnu.org>
2397
2398 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2399 in a boolean sense, so just make it a boolean, and fix the doc.
2400 (rmail-show-mime-function, rmail-mime-feature)
2401 (rmail-require-mime-maybe): Doc fixes.
2402 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2403
2404 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2405
0d26e0b6
JB
24062011-11-15 Juanma Barranquero <lekktu@gmail.com>
2407
2408 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2409 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2410 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2411 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2412
447f30f6
GM
24132011-11-15 Glenn Morris <rgm@gnu.org>
2414
672b871d
GM
2415 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2416 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2417 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2418 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2419 (rmail-mime, rmail-show-mime): Doc fixes.
2420
f6aa5bb1
GM
2421 * term/ns-win.el (mode-line-frame-identification):
2422 Leave it alone. (Bug#10051)
2423
947cd66b
GM
2424 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2425
447f30f6
GM
2426 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2427 Handle empty buffers. (Bug#9978)
2428
0b381c7e
JB
24292011-11-14 Juanma Barranquero <lekktu@gmail.com>
2430
2431 * international/mule.el (define-charset):
2432 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2433 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2434 * progmodes/verilog-mode.el (verilog-backward-token):
2435 * textmodes/ispell.el (lookup-words):
2436 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2437
71e027ac
GM
24382011-11-14 Glenn Morris <rgm@gnu.org>
2439
56632ce4
GM
2440 * progmodes/executable.el
2441 (executable-make-buffer-file-executable-if-script-p):
2442 Handle file-modes returning nil.
2443
40500957
GM
2444 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2445 message - not necessary, and causes problems. (Bug#9831)
2446
071c2340
GM
2447 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2448
d3cfca60
GM
2449 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2450
71e027ac
GM
2451 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2452 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2453 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2454
89d61221
MR
24552011-11-12 Martin Rudalics <rudalics@gmx.at>
2456
2457 * window.el (window-resize, delete-window): Use window-splits
2458 variable instead of function.
2459 (window-state-get-1, window-state-put-2, window-state-put):
2460 Don't deal with windows' splits status.
2461
98282f6f
GM
24622011-11-12 Glenn Morris <rgm@gnu.org>
2463
2464 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2465 (apropos-documentation): Doc fixes.
2466
40a8bdf6
JB
24672011-11-11 Juanma Barranquero <lekktu@gmail.com>
2468
2469 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2470 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2471
65bd19ff
SM
24722011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * electric.el (electric-indent-post-self-insert-function): Make it
2475 possible for a char to only indent in some circumstances.
2476 (electric-indent-mode): Simplify.
2477
54f9154c
MR
24782011-11-11 Martin Rudalics <rudalics@gmx.at>
2479
2480 * window.el (windows-with-parameter): Remove unused function.
2481 (windows-at-side): Rename to window-at-side-list.
2482 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2483 (window-side-check, window-size-ignore, window-size-fixed-1)
2484 (window-in-direction-2): Prefix with "window--".
2485 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2486
68cbc58b
GM
24872011-11-11 Glenn Morris <rgm@gnu.org>
2488
2489 * subr.el (eval-after-load): If FILE is already loaded,
2490 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2491
b2621720
GM
24922011-11-10 Glenn Morris <rgm@gnu.org>
2493
9a4de110
GM
2494 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2495 Call svn via vc-svn-command rather than vc-do-command.
2496 (vc-svn-command): Add --non-interactive. (Bug#9993)
2497 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2498
b2621720
GM
2499 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2500 Add toggle-read-only. (Bug#7292)
2501 * files.el (toggle-read-only): Mention that it should only
2502 be used interactively. (Bug#10006)
2503
1dce7193
SM
25042011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2505
d9ac1a1e
SM
2506 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2507 Adjust regexp for OCaml warnings.
2508
0c325082
SM
2509 * electric.el (electric-pair-post-self-insert-function): Let user
2510 turn it off buffer-locally (bug#9932).
2511
90132c14
SM
2512 * progmodes/python.el (python-beginning-of-statement):
2513 Rewrite (bug#2703).
2514
1dce7193
SM
2515 * progmodes/compile.el: Better handle TABs (bug#9749).
2516 (compilation-internal-error-properties)
2517 (compilation-next-error-function): Obey the target buffer's
2518 compilation-error-screen-columns.
2519
c4e7c63a
JB
25202011-11-09 Juanma Barranquero <lekktu@gmail.com>
2521
2522 * progmodes/meta-mode.el: Remove obsolete comments.
2523 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2524 Fix typos in docstrings.
2525
2cffd681
MR
25262011-11-09 Martin Rudalics <rudalics@gmx.at>
2527
2528 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2529 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2530 (window--resizable): New function. Make all callers of
2531 window-resizable call window--resizable instead.
2532 (window-resizable): Rewrite in terms of window--resizable.
2533
0edcba87
GM
25342011-11-08 Glenn Morris <rgm@gnu.org>
2535
2536 * progmodes/delphi.el (delphi-mode-syntax-table):
2537 Let define-derived-mode define a proper syntax table. (Bug#9994)
2538
4b0d61e3
SM
25392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * window.el: Stay away from defsubst.
2542 (window-list-no-nils): Remove.
2543 (window-state-get-1, window-state-get): Use backquote instead.
2544
cd394be1 25452011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2546
4b0d61e3 2547 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2548 Fix incorrect use of default argument in `completing-read'.
2549
e1c2c6f2
MR
25502011-11-08 Martin Rudalics <rudalics@gmx.at>
2551
2552 * window.el (display-buffer-function, special-display-function):
2553 Mention display-buffer-record-window but do not mention
2554 help-setup parameter in doc-strings.
b3f4a882 2555 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2556
105216ed
CY
25572011-11-08 Chong Yidong <cyd@gnu.org>
2558
2559 * window.el (window-total-height, window-total-width): Doc fix.
2560 (window-body-size): Move from C.
2561 (window-body-height, window-body-width): Move to C.
2562
0a9f9ab5
SM
25632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * window.el: Make special-display like display-buffer-alist (bug#9532).
2566 (display-buffer--special-action): New function, morphed
2567 from display-buffer--special.
2568 (display-buffer): Use it to handle special-display-buffers at higher
2569 priority (just after display-buffer-alist).
2570 (display-buffer-fallback-action, display-buffer--other-frame-action)
2571 (pop-to-buffer-same-window): Remove display-buffer--special.
2572
a769dd15
GM
25732011-11-07 Glenn Morris <rgm@gnu.org>
2574
2575 * calendar/cal-menu.el (cal-menu-set-date-title):
2576 Do nothing if not in a calendar. (Bug#9976)
2577
05a61ee3
SM
25782011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 * files.el (find-file): Always use selected-window.
2581
be7f5545
MR
25822011-11-07 Martin Rudalics <rudalics@gmx.at>
2583
2584 * window.el (window-combinations): Make WINDOW argument
2585 mandatory. Rewrite doc-string.
2586 (walk-window-subtree, window-atom-check, window-min-delta)
2587 (window-max-delta, window--resize-this-window)
2588 (window--resize-root-window-vertically, window-tree)
2589 (balance-windows, window-state-put): Rewrite doc-strings as to
2590 not mention the term "subwindow".
2591 (window--resize-subwindows-skip-p): Rename to
2592 window--resize-child-windows-skip-p.
2593 (window--resize-subwindows-normal): Rename to
2594 window--resize-child-windows-normal.
2595 (window--resize-subwindows): Rename to
2596 window--resize-child-windows.
2597 (window-or-subwindow-p): Rename to window--in-subtree-p.
2598
3c6702ef
ML
25992011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2600
2601 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2602 Ensure that mbox format messages end in two newlines (Bug#9974).
2603
49745b39
CY
26042011-11-06 Chong Yidong <cyd@gnu.org>
2605
2606 * window.el (window-combination-p): Function deleted; its
2607 side-effect is not used in any existing code.
2608 (window-combinations, window-combined-p): Call window-*-child
2609 directly.
2610
24300f5f
CY
26112011-11-05 Chong Yidong <cyd@gnu.org>
2612
2613 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
2614 (window-size-ignore, window-state-get): Callers changed.
2615 (window-normalize-window): Rename from window-normalize-any-window.
2616 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 2617 (window-normalize-live-window): Delete.
447f16b8
CY
2618 (window-combination-p, window-combined-p, window-combinations)
2619 (walk-window-subtree, window-atom-root, window-min-size)
2620 (window-sizable, window-sizable-p, window-size-fixed-p)
2621 (window-min-delta, window-max-delta, window-resizable)
2622 (window-resizable-p, window-full-height-p, window-full-width-p)
2623 (window-current-scroll-bars, window-point-1, set-window-point-1)
2624 (window-at-side-p, window-in-direction, window-resize)
2625 (adjust-window-trailing-edge, maximize-window, minimize-window)
2626 (window-deletable-p, delete-window, delete-other-windows)
2627 (record-window-buffer, unrecord-window-buffer)
2628 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2629 (quit-window, split-window, window-state-put)
2630 (set-window-text-height, fit-window-to-buffer)
2631 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 2632
89bd5ee1
EZ
26332011-11-04 Eli Zaretskii <eliz@gnu.org>
2634
53479029
EZ
2635 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2636 rfc2047-decode-string.
2637 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2638 warnings.
2639
89bd5ee1
EZ
2640 * window.el (window-body-height, window-body-width): Mention in
2641 the doc string that the return values are in frame's canonical
2642 units. (Bug#9949)
2643
bd17fdee
AM
26442011-11-03 Alan Mackenzie <acm@muc.de>
2645
2646 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2647 change in cc-engine.el.
2648
acc825c5
SM
26492011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2652
1885e5b8
MR
26532011-11-02 Martin Rudalics <rudalics@gmx.at>
2654
2655 * window.el (quit-window): Call unrecord-window-buffer after
2656 showing another buffer in the window. (Bug#9937)
acc825c5 2657 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 2658
ebe06da9
JB
26592011-11-02 Juanma Barranquero <lekktu@gmail.com>
2660
2661 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2662 Accept status with more than 9 shelves. (Bug#9935)
2663 Reported by Colin D Bennett <colin@gibibit.com>.
2664
4ee88440
MR
26652011-11-01 Martin Rudalics <rudalics@gmx.at>
2666
2667 * help.el (with-help-window): Don't reference
2668 temp-buffer-show-specifiers in doc-string.
2669
08e1d82c
AS
26702011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2671
2672 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2673 menu-item.
2674
84bd6e9e
VJL
26752011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2676
2677 * whitespace.el: New version 13.2.2.
2678 (whitespace-newline-mode): Disable properly. Reported by Sarah
2679 <EmacsWiki>.
2680
dba0634a
UJ
26812011-10-30 Ulf Jasper <ulf.jasper@web.de>
2682
2683 * net/newst-treeview.el: Remove "Time-stamp".
2684 (newsticker--group-manage-orphan-feeds): Do not call
2685 newsticker--treeview-tree-update.
db22a3c2
JB
2686 (newsticker-treeview-update, newsticker-treeview):
2687 Call newsticker--treeview-tree-update if necessary.
dba0634a 2688
3d8daefe
MR
26892011-10-30 Martin Rudalics <rudalics@gmx.at>
2690
2691 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
2692 (window-iso-combinations): Remove "iso-" infix.
2693 Suggested by Chong Yidong.
3d8daefe
MR
2694 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2695 (window-max-delta-1, window-resize, window--resize-siblings)
2696 (window--resize-this-window, adjust-window-trailing-edge)
2697 (split-window, balance-windows-1)
2698 (shrink-window-if-larger-than-buffer):
2699 * calendar/calendar.el (calendar-generate-window):
db22a3c2 2700 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 2701
1bc4c3ae
SM
27022011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2705 in place (bug#9907).
2706 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2707 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2708 (eshell-structure-basic-command, eshell-rewrite-while-command)
2709 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2710 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2711 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2712 (eshell-do-pipelines-synchronously, eshell-eval-command):
2713 Use backquotes and prefer setq to set.
2714 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2715 (eshell-macrop): Use functionp.
c1e2f5fa 2716 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 2717
30b65d9c
CY
27182011-10-30 Chong Yidong <cyd@gnu.org>
2719
2720 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2721 instead of set-mark (Bug#9810).
2722
2d197ffb
CY
27232011-10-30 Chong Yidong <cyd@gnu.org>
2724
2725 * window.el (split-window-below, split-window-right): Rename from
2726 split-window-above-each-other and split-window-side-by-side
2727 respectively. All callers changed.
2728 (split-window-sensibly, split-window-sensibly): Use them.
2729 (split-window-keep-point): Doc fix.
2730
2731 * isearch.el: Add isearch-scroll property to split-window-below
2732 and split-window-right.
2733
2734 * follow.el (follow-mode):
2735 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2736 * progmodes/ada-xref.el (ada-gdb-application):
2737 * emulation/vip.el (vip-buffer-in-two-windows):
2738 * image-dired.el (image-dired-dired-with-window-configuration):
2739 * dired-x.el (dired-do-find-marked-files):
2740 * dired.el (dired-pop-to-buffer):
2741 * bs.el (bs--show-with-configuration):
2742 * vc/emerge.el (emerge-setup-windows):
2743 * textmodes/two-column.el (2C-two-columns):
2744 * textmodes/reftex-toc.el (reftex-toc):
2745 * progmodes/gdb-mi.el (gdb-setup-windows):
2746 * progmodes/fortran.el (fortran-window-create):
2747 * net/newst-treeview.el (newsticker--treeview-window-init):
2748 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2749 * emulation/tpu-edt.el (tpu-gold-map):
2750 * emulation/crisp.el (crisp-mode-map):
2751 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2752
38bb2ca8
CY
27532011-10-29 Chong Yidong <cyd@gnu.org>
2754
aa4de341
CY
2755 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2756
e1eb5385
CY
2757 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2758
5d2ece3c
CY
2759 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2760 forged Ispell output (Bug#7904).
2761
38bb2ca8
CY
2762 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2763
d0af9f77
SM
27642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * doc-view.el: Avoid ugly errors about not finding nil.
2767 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2768 (doc-view-dvipdf-program, doc-view-unoconv-program)
2769 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2770 Avoid nil or absolute file name as default value.
2771 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2772
52bedd34
AM
27732011-10-28 Alan Mackenzie <acm@muc.de>
2774
db22a3c2 2775 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 2776
7e43cfa5
AM
27772011-10-28 Alan Mackenzie <acm@muc.de>
2778
2779 Amend the handling of c-beginning/end-of-defun in nested declaration
2780 scopes.
2781
52bedd34
AM
2782 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2783 cc-langs.el. Change it to a defcustom.
7e43cfa5 2784
52bedd34
AM
2785 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2786 cc-vars.el.
7e43cfa5 2787
d0af9f77
SM
2788 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2789 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 2790
52bedd34 2791 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 2792 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
2793 (c-widen-to-enclosing-decl-scope): New function.
2794 (c-while-widening-to-decl-block): New macro.
2795 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2796 outward for defun boundaries, and correspondingly change symbol
2797 `respect-enclosure' to `go-outward'.
2798 (c-declaration-limits): Change algorithm to report only the "innermost"
2799 defun's boundaries.
2800
1a2ce9ee
DD
28012011-10-28 Deniz Dogan <deniz@dogan.se>
2802
2803 * net/rcirc.el (rcirc-mode): Use hard newlines.
2804
bc97a826
AM
28052011-10-28 Alan Mackenzie <acm@muc.de>
2806
2807 Amend to indent and fontify macros "which include their own semicolon"
2808 correctly, using the "virtual semicolon" mechanism.
2809
52bedd34 2810 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 2811
d0af9f77 2812 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 2813 Recode to scan one line at a time rather than having \n and \r
58179cce 2814 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 2815 (c-forward-label): Amend for virtual semicolons.
58179cce 2816 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 2817
52bedd34
AM
2818 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2819 of the new C macros.
bc97a826 2820
52bedd34 2821 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
2822 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2823 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
2824 (c-opt-cpp-macro-define): Make into a full language variable.
2825 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2826 AWK Mode (including \n, \r) removed, no longer needed.
2827
d0af9f77
SM
2828 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2829 Invoke c-make-macro-with-semi-re.
bc97a826 2830
52bedd34
AM
2831 * progmodes/cc-vars.el (c-macro-with-semi-re):
2832 (c-macro-names-with-semicolon): New variables.
58179cce 2833 (c-make-macro-with-semi-re): New function.
bc97a826 2834
7a6c0941
SM
28352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * vc/log-edit.el: Fill empty field rather than adding new one.
2838 (log-edit-add-field): New function.
2839 (log-edit-insert-changelog): Use it.
2840
b0c4cdcf
ML
28412011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2842
2843 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2844
ee1f1da9
SM
28452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2846
2847 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2848 (gdb--check-interpreter): New function.
2849 (gdb): Use it.
2850
51bc5f8b
GM
28512011-10-27 Glenn Morris <rgm@gnu.org>
2852
416a2c45
GM
2853 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2854 (least-positive-float, least-negative-float)
2855 (least-positive-normalized-float, least-negative-normalized-float)
2856 (float-epsilon, float-negative-epsilon):
2857 Remove unnecessary declarations.
2858
2859 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2860 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2861 (least-positive-float, least-negative-float)
2862 (least-positive-normalized-float, least-negative-normalized-float)
2863 (float-epsilon, float-negative-epsilon): Add doc-strings,
2864 based on those in cl.texi.
2865
51bc5f8b
GM
2866 * files.el (set-visited-file-name): If the major-mode changed,
2867 reload the local variables. (Bug#9796)
2868
15de15c6
CY
28692011-10-27 Chong Yidong <cyd@gnu.org>
2870
2871 * subr.el (change-major-mode-after-body-hook): New hook.
2872 (run-mode-hooks): Run it.
2873
ee1f1da9
SM
2874 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2875 Use change-major-mode-before-body-hook.
15de15c6
CY
2876
2877 * simple.el (fundamental-mode):
2878 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2879 change introducing fundamental-mode-hook.
2880
5430d399
JB
28812011-10-26 Juanma Barranquero <lekktu@gmail.com>
2882
acc825c5 2883 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2884
ad74a69e
MA
28852011-10-26 Michael Albinus <michael.albinus@gmx.de>
2886
2887 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2888 tramp.el explicitly. (Bug#7583)
ad74a69e 2889
71d4c2a5
SM
28902011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * progmodes/octave-mod.el:
2893 * progmodes/octave-inf.el: Update maintainer.
2894
b1f6fa26
CY
28952011-10-26 Chong Yidong <cyd@gnu.org>
2896
2897 * subr.el (with-wrapper-hook): Rewrite doc.
2898
3f04efd6
MA
28992011-10-25 Michael Albinus <michael.albinus@gmx.de>
2900
2901 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2902 filenames "/method:foo:". (Bug#9793)
3f04efd6 2903
410488d3
SM
29042011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2907 (bug#9865).
2908
c1ebb47e
GM
29092011-10-24 Glenn Morris <rgm@gnu.org>
2910
2911 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2912
7f5c46c7
MA
29132011-10-24 Michael Albinus <michael.albinus@gmx.de>
2914
2915 * notifications.el: Add the requirement of a running D-Bus session
2916 bus to the Commentary.
2917
db2440b6
JL
29182011-10-24 Juri Linkov <juri@jurta.org>
2919
2920 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2921 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2922 (Bug#9364)
2923
feecf435
JL
29242011-10-24 Juri Linkov <juri@jurta.org>
2925
2926 * info.el (Info-following-node-name-re): Add newline to the list
2927 of allowed characters for leading space. (Bug#9824)
2928
a3839de2
SM
29292011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2930
acc825c5
SM
2931 * progmodes/octave-inf.el (inferior-octave-mode-map):
2932 Fix C-c C-h binding.
a3839de2
SM
2933 * progmodes/octave-mod.el (octave-help): Remove.
2934
09388e76
MA
29352011-10-23 Michael Albinus <michael.albinus@gmx.de>
2936
2937 Sync with Tramp 2.2.3.
2938
2939 * net/tramp-cache.el (top): Pacify byte-compiler using
2940 `init-file-user' and `site-run-file'.
2941
2942 * net/trampver.el: Update release number.
2943
86c60681
CY
29442011-10-23 Chong Yidong <cyd@gnu.org>
2945
2946 * files.el (toggle-read-only): Remove obsolete comment about
2947 version control.
2948
2949 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2950 for toggle-read-only. Note that this hasn't called vc-next-action
2951 since 2008-05-02, though it wasn't documented at the time.
2952
a3839de2
SM
2953 * vc/ediff-init.el (ediff-toggle-read-only-function):
2954 Use toggle-read-only.
86c60681 2955
cd5495ff
AM
29562011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2957
2958 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2959 of c-parse-state.
2960
00b77525 2961 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 2962 correct faulty logical expression.
cd5495ff
AM
2963 (c-parse-state-state, c-record-parse-state-state):
2964 (c-replay-parse-state-state): New defvar/defuns.
2965 (c-debug-parse-state): Use new functions.
2966
42ee24ed
MR
29672011-10-22 Martin Rudalics <rudalics@gmx.at>
2968
2969 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 2970 last fix. Use window-in-direction correctly.
42ee24ed 2971
a7dee7e7
CY
29722011-10-21 Chong Yidong <cyd@gnu.org>
2973
2974 * progmodes/idlwave.el (idlwave-mode):
2975 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
2976 require-final-newline; that's done in prog-mode.
2977 Suggested by Stefan Monnier.
a7dee7e7 2978
e07b9a6d
MR
29792011-10-21 Martin Rudalics <rudalics@gmx.at>
2980
2981 * mouse.el (mouse-drag-window-above)
2982 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2983 (mouse-drag-mode-line-1, mouse-drag-header-line)
2984 (mouse-drag-vertical-line-rightward-window): Remove.
2985 (mouse-drag-line): New function.
2986 (mouse-drag-mode-line, mouse-drag-header-line)
2987 (mouse-drag-vertical-line): Call mouse-drag-line.
2988 * window.el (window-at-side-p, windows-at-side): New functions.
2989
7e1361d9
UM
29902011-10-21 Ulrich Mueller <ulm@gentoo.org>
2991
2992 * tar-mode.el (tar-grind-file-mode):
2993 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2994
30fcaf3a
CY
29952011-10-21 Chong Yidong <cyd@gnu.org>
2996
2997 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
2998 * progmodes/vera-mode.el (vera-mode):
2999 Use mode-require-final-newline.
30fcaf3a 3000
516eddb0
GM
30012011-10-20 Glenn Morris <rgm@gnu.org>
3002
db22a3c2 3003 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3004
10d5f513
CS
30052011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3006
3007 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3008
ac6c8639
CY
30092011-10-20 Chong Yidong <cyd@gnu.org>
3010
3011 * emulation/cua-base.el (cua-mode):
3012 * mail/footnote.el (footnote-mode):
3013 * mail/mailabbrev.el (mail-abbrevs-mode):
3014 * net/xesam.el (xesam-minor-mode):
3015 * progmodes/bug-reference.el (bug-reference-mode):
3016 * progmodes/cap-words.el (capitalized-words-mode):
3017 * progmodes/compile.el (compilation-minor-mode)
3018 (compilation-shell-minor-mode):
3019 * progmodes/gud.el (gud-tooltip-mode):
3020 * progmodes/hideif.el (hide-ifdef-mode):
3021 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3022 * progmodes/subword.el (subword-mode):
3023 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3024 * progmodes/which-func.el (which-function-mode):
3025 * term/tvi970.el (tvi970-set-keypad-mode):
3026 * term/vt100.el (vt100-wide-mode):
3027 * textmodes/flyspell.el (flyspell-mode):
3028 * textmodes/ispell.el (ispell-minor-mode):
3029 * textmodes/nroff-mode.el (nroff-electric-mode):
3030 * textmodes/paragraphs.el (use-hard-newlines):
3031 * textmodes/refill.el (refill-mode):
3032 * textmodes/reftex.el (reftex-mode):
3033 * textmodes/rst.el (rst-minor-mode):
3034 * textmodes/sgml-mode.el (html-autoview-mode)
3035 (sgml-electric-tag-pair-mode):
3036 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3037 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3038 * emulation/crisp.el (crisp-mode):
3039 * emacs-lisp/eldoc.el (eldoc-mode):
3040 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3041 minor mode behavior.
3042
aa42ab43
JL
30432011-10-19 Juri Linkov <juri@jurta.org>
3044
3045 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3046 the list of hard-coded chars with escape-glyph face.
3047
89400f1d
SM
30482011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3051
305c07f6
MA
30522011-10-19 Michael Albinus <michael.albinus@gmx.de>
3053
3054 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3055 running process.
3056
13754b54
GM
30572011-10-19 Glenn Morris <rgm@gnu.org>
3058
3059 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3060 Ignore ignored files. (Bug#9726)
3061
06e21633
CY
30622011-10-19 Chong Yidong <cyd@gnu.org>
3063
3064 Doc fix for minor modes, stating that an omitted argument enables
3065 the mode unconditionally when called from Lisp.
3066
3067 * abbrev.el (abbrev-mode):
3068 * allout.el (allout-mode):
3069 * autoinsert.el (auto-insert-mode):
3070 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3071 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3072 (global-auto-revert-mode):
3073 * battery.el (display-battery-mode):
3074 * composite.el (global-auto-composition-mode)
3075 (auto-composition-mode):
3076 * delsel.el (delete-selection-mode):
3077 * desktop.el (desktop-save-mode):
3078 * dired-x.el (dired-omit-mode):
3079 * dirtrack.el (dirtrack-mode):
3080 * doc-view.el (doc-view-minor-mode):
3081 * double.el (double-mode):
3082 * electric.el (electric-indent-mode, electric-pair-mode):
3083 * emacs-lock.el (emacs-lock-mode):
3084 * epa-hook.el (auto-encryption-mode):
3085 * follow.el (follow-mode):
3086 * font-core.el (font-lock-mode):
3087 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3088 * help.el (temp-buffer-resize-mode):
3089 * hilit-chg.el (highlight-changes-mode)
3090 (highlight-changes-visible-mode):
3091 * hi-lock.el (hi-lock-mode):
3092 * hl-line.el (hl-line-mode, global-hl-line-mode):
3093 * icomplete.el (icomplete-mode):
3094 * ido.el (ido-everywhere):
3095 * image-file.el (auto-image-file-mode):
3096 * image-mode.el (image-minor-mode):
3097 * iswitchb.el (iswitchb-mode):
3098 * jka-cmpr-hook.el (auto-compression-mode):
3099 * linum.el (linum-mode):
3100 * longlines.el (longlines-mode):
3101 * master.el (master-mode):
3102 * mb-depth.el (minibuffer-depth-indicate-mode):
3103 * menu-bar.el (menu-bar-mode):
3104 * minibuf-eldef.el (minibuffer-electric-default-mode):
3105 * mouse-sel.el (mouse-sel-mode):
3106 * msb.el (msb-mode):
3107 * mwheel.el (mouse-wheel-mode):
3108 * outline.el (outline-minor-mode):
3109 * paren.el (show-paren-mode):
3110 * recentf.el (recentf-mode):
3111 * reveal.el (reveal-mode, global-reveal-mode):
3112 * rfn-eshadow.el (file-name-shadow-mode):
3113 * ruler-mode.el (ruler-mode):
3114 * savehist.el (savehist-mode):
3115 * scroll-all.el (scroll-all-mode):
3116 * scroll-bar.el (scroll-bar-mode):
3117 * server.el (server-mode):
3118 * shell.el (shell-dirtrack-mode):
3119 * simple.el (auto-fill-mode, transient-mark-mode)
3120 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3121 (line-number-mode, column-number-mode, size-indication-mode)
3122 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3123 * strokes.el (strokes-mode):
3124 * time.el (display-time-mode):
3125 * t-mouse.el (gpm-mouse-mode):
3126 * tool-bar.el (tool-bar-mode):
3127 * tooltip.el (tooltip-mode):
3128 * type-break.el (type-break-mode-line-message-mode)
3129 (type-break-query-mode):
3130 * view.el (view-mode):
3131 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3132 (global-whitespace-mode, global-whitespace-newline-mode):
3133 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3134
a3839de2
SM
3135 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3136 Fix autogenerated docstring.
06e21633 3137
5214e501
JL
31382011-10-19 Juri Linkov <juri@jurta.org>
3139
3140 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3141 by checking environment variables "DESKTOP_SESSION" and
3142 "XDG_CURRENT_DESKTOP". (Bug#9779)
3143
195f8db9
JL
31442011-10-19 Juri Linkov <juri@jurta.org>
3145
3146 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3147 (browse-url-chromium-program, browse-url-chromium-arguments):
3148 New defcustoms.
3149 (browse-url-default-browser): Check for `browse-url-chromium' and
3150 call `browse-url-chromium-program'.
3151 (browse-url-chromium): New command. (Bug#9779)
3152
343a34ff
JB
31532011-10-18 Juanma Barranquero <lekktu@gmail.com>
3154
3155 * facemenu.el (list-colors-duplicates): On Windows, detect more
3156 duplicates by assuming that only colors matching "^System" are
3157 special "system colors". (Bug#9722)
3158
6978a151
SM
31592011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3162 to distinguish the author from the committer.
3163
6a80b297
MA
31642011-10-18 Michael Albinus <michael.albinus@gmx.de>
3165
3166 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3167
b31a5677
JK
31682011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3169
3170 * international/mule.el (sgml-html-meta-auto-coding-function):
3171 Add support for detecting encoding in HTML5 specified only as
3172 <meta charset="UTF-8">. Implementation just makes http-equiv and
3173 content-type parts from HTML4 encoding string optional. (Bug#9716)
3174
80c6d77f
GM
31752011-10-18 Glenn Morris <rgm@gnu.org>
3176
3177 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3178
08b0fee8
CY
31792011-10-18 Chong Yidong <cyd@gnu.org>
3180
3181 * faces.el (cursor): Doc fix.
3182
67e729a5
CY
31832011-10-17 Chong Yidong <cyd@gnu.org>
3184
3185 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3186
343a34ff 31872011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3188
3189 * dirtrack.el (dirtrack): Support shell buffers with path
3190 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3191
0bc06380
TZ
31922011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3193
3194 * json.el: Bump version to 1.3 and note change in History.
3195 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3196
8b79f3e0
SM
31972011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3198
5a7c536b
SM
3199 * comint.el (comint-insert-input, comint-send-input)
3200 (comint-get-old-input-default, comint-backward-matching-input)
3201 (comint-next-prompt): Use nil instead of `input' for field property of
3202 past user input (bug#114).
3203
96a8a0df
SM
3204 * minibuffer.el (completion--replace): Inherit surrounding properties
3205 (bug#114).
3206 (minibuffer-complete-and-exit): Use it.
3207
8b79f3e0
SM
3208 * comint.el (comint--table-subvert): Quote the all-completions output
3209 (bug#9160).
3210
b8f7ff0d
MR
32112011-10-17 Martin Rudalics <rudalics@gmx.at>
3212
8b79f3e0 3213 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3214
b8f7ff0d 3215 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3216 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3217 entries and separate them from frame entries.
3218
c235b555
GM
32192011-10-15 Glenn Morris <rgm@gnu.org>
3220
3221 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3222 Doc fixes.
3223
6bbfa6e1
CY
32242011-10-15 Chong Yidong <cyd@stupidchicken.com>
3225
8b79f3e0
SM
3226 * net/network-stream.el (network-stream-open-starttls):
3227 Improve detection of failure due to lack of TLS support.
ec5c990d 3228
6bbfa6e1
CY
3229 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3230 putting the input text in front and in bold.
3231
98488977
SM
32322011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3233
3d1337be
SM
3234 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3235
ee0b45e4
SM
3236 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3237 empty buffer.
3238
98488977
SM
3239 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3240 unread-command-events rather than pushing yet-another event.
3241
186f4720
EZ
32422011-10-14 Eli Zaretskii <eliz@gnu.org>
3243
3244 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3245 the explanation of the possible choices. Make the options passed
3246 to completing-read shorter.
3247
8b7a997c
AM
32482011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3249
3250 * textmodes/flyspell.el (flyspell-large-region): Make sure
3251 extended character mode is used if defined (Bug#1339).
3252
12587bbb
EZ
32532011-10-13 Eli Zaretskii <eliz@gnu.org>
3254
3255 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3256 character info for LRE, LRO, RLE, and RLO characters by appending
3257 an invisible PDF.
12587bbb 3258
bad41229
SM
32592011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3262 even in case of error; add debug spec; simplify data flow.
3263 (with-timeout-handler): Remove.
3264
28dbc92f
MA
32652011-10-12 Michael Albinus <michael.albinus@gmx.de>
3266
3267 Fix Bug#6019, Bug#9315.
3268
3269 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3270 complete `buffer-file-name', the local file name part could look
3271 remotely (for example on VMS).
3272
3273 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3274 `tramp-run-real-handler'.
3275 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3276 already quoted by '"'.
3277
3278 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3279 Let `file-name-handler-alist' be nil, the local file name part
3280 could look remotely (for example on VMS).
3281
e1b0b23a
SM
32822011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3285 from here...
3286 (flyspell-post-command-hook): ...to here.
3287
a120bde9
SM
32882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3291 if not needed.
3292 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3293 using completion. Protect against "slow" callers.
3294 Remove the "message hack".
3295
7ce7717b
JL
32962011-10-11 Juri Linkov <juri@jurta.org>
3297
3298 * isearch.el (isearch-lazy-highlight-word): New variable.
3299 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3300 Use it. (Bug#9727)
3301
c02ee9d6
GM
33022011-10-11 Glenn Morris <rgm@gnu.org>
3303
3304 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3305 like f90-previous-statement does.
3306
93e616fd 33072011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3308
1f190e73 3309 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3310 only in interactive use, to avoid error.
3311
af7b6078
SM
33122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * minibuffer.el (completion-file-name-table): Fix last change,
3315 i.e. ignore normal errors but not the other ones.
3316
0563dae9
MR
33172011-10-10 Martin Rudalics <rudalics@gmx.at>
3318
3319 * window.el (special-display-buffer-names)
3320 (special-display-regexps): Remove some remnants of earlier
3321 changes from doc-strings.
366ca7f3
MR
3322 (quit-windows-on): New function.
3323
3324 * vc/vc.el (vc-revert, vc-rollback):
3325 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3326 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3327 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3328
49677495
MR
33292011-10-09 Martin Rudalics <rudalics@gmx.at>
3330
3331 * window.el (frame-auto-hide-function): Add version tag.
3332 (Bug#9699)
3333
56f2d1e1
MA
33342011-10-09 Michael Albinus <michael.albinus@gmx.de>
3335
3336 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3337 condition.
3338
112a6592
LL
33392011-10-09 Leo Liu <sdl.web@gmail.com>
3340
3341 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3342 (Bug#9701)
3343
0812589b
GM
33442011-10-08 Glenn Morris <rgm@gnu.org>
3345
3346 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3347 before the first code statement zero indent. (Bug#9690)
3348
b2b0776e
CY
33492011-10-08 Chong Yidong <cyd@stupidchicken.com>
3350
3351 * simple.el (count-words-region): Always count in the region.
3352 Report the number of lines and characters too.
3353 (count-words): New command, which counts in the buffer if the
3354 region is inactive, as count-words-region used to.
3355 (count-words--message): New function. Handle plurals.
3356 (count-lines-region): Make it an alias for count-words-region.
3357
3358 * bindings.el (esc-map): Replace count-lines-region with
3359 count-words-region.
3360
c557cd6b
MR
33612011-10-08 Martin Rudalics <rudalics@gmx.at>
3362
3363 * window.el (window--delete): Delete dedicated frame
3364 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3365 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3366
61a57ef4 33672011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3368
3a7d293b 3369 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3370
c3833279
CY
33712011-10-07 Chong Yidong <cyd@stupidchicken.com>
3372
3373 * bindings.el ([M-left],[M-right]): Bind to left-word and
3374 right-word respectively.
3375
21ce8245
GM
33762011-10-07 Glenn Morris <rgm@gnu.org>
3377
3378 * cus-start.el (debug-on-quit): Fix custom type.
3379
6d823bb2
LMI
33802011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3381
0181e193
LMI
3382 * subr.el (define-key-after): Clarify that the function is not
3383 useful for non-menu keymaps.
3384
6d823bb2
LMI
3385 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3386
8e3459ce 33872011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3388
21ce8245 3389 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3390 in current minibuffer (Fix bug with recursive minibuffers).
3391
a1c2d21e
CY
33922011-10-06 Chong Yidong <cyd@stupidchicken.com>
3393
3394 * progmodes/gdb-mi.el (gdb): Doc fix.
3395
5a4cf282
MR
33962011-10-05 Martin Rudalics <rudalics@gmx.at>
3397
3398 * window.el (frame-auto-hide-function): New option replacing
3399 frame-auto-delete. Suggested by Stefan Monnier.
3400 (window--delete): Call frame-auto-hide-function instead of
3401 investigating frame-auto-delete.
c96111ea
MR
3402 (window-point-1, set-window-point-1): New functions.
3403 (window-in-direction, record-window-buffer, window-state-get-1)
3404 (display-buffer-record-window): Use window-point-1 instead of
3405 window-point.
3406 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3407
9854542e
SM
34082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3411
8943cfb0
GM
34122011-10-05 Glenn Morris <rgm@gnu.org>
3413
3414 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3415 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3416
647ab967
LL
34172011-10-05 Leo Liu <sdl.web@gmail.com>
3418
3419 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3420 works with buffer object.
3421
3ddfbced
SM
34222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * mpc.el (mpc-tool-bar-map): Add labels.
3425
bdfa5dd2
GM
34262011-10-04 Glenn Morris <rgm@gnu.org>
3427
3428 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3429
0e2070b5
MR
34302011-10-04 Martin Rudalics <rudalics@gmx.at>
3431
3432 * window.el (window--delete): New function.
3433 (frame-auto-delete): Resuscitate option.
3434 (bury-buffer, replace-buffer-in-windows)
3435 (quit-window): Rewrite using window--delete.
3436 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3437 Pass display-buffer-mark-dedicated to window--display-buffer-2
3438 (Bug#9639).
3439
3dc61a09
SM
34402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3441
915a9b64
SM
3442 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3443 returns a list (bug#9554). Add remote file name completion.
3444 * comint.el (comint--table-subvert): Curry and get quote&unquote
3445 functions as arguments.
3446 (comint--complete-file-name-data): Adjust call accordingly.
3447 * pcomplete.el (pcomplete--table-subvert): Remove.
3448 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3449
3dc61a09
SM
3450 * minibuffer.el (completion-table-case-fold): Use currying.
3451 (completion--styles-type, completion--cycling-threshold-type):
3452 New constants.
3453 (completion-styles, completion-category-overrides)
3454 (completion-cycle-threshold): Use them.
3455 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3456 completion-table-case-fold.
3457
8ea0a993
SB
34582011-10-03 Stephen Berman <stephen.berman@gmx.net>
3459
3460 * minibuffer.el (completion-category-overrides): Fix type of styles
3461 and add more user friendly tags (bug#9660).
3462
8c24b7f6
SM
34632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3466 (mule-input-method-string): New widget.
3467 (default-input-method, language-info-custom-alist): Use it.
3468
428fe61a
SM
34692011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3470
32c1fffd
SM
3471 * pcomplete.el: Require comint.
3472 (pcomplete--common-suffix): Remove.
3473 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3474 (pcomplete--table-subvert): Sync with comint--table-subvert.
3475 (pcomplete--entries): Use comint-completion-file-name-table.
3476 * comint.el (comint-unquote-filename): Simplify.
3477 (comint-completion-file-name-table): New function (bug#9616).
3478 (comint--complete-file-name-data): Use it.
3479
428fe61a
SM
3480 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3481 (pcmpl-gnu-tar-buffer): Remove.
3482 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3483 around. Make sure pcomplete-suffix-list is only changed temporarily.
3484 Don't look inside the tar's file if it's too large.
428fe61a 3485
04c52e2f
CY
34862011-10-01 Chong Yidong <cyd@stupidchicken.com>
3487
ce3cefcc
CY
3488 * cus-edit.el (custom-mode-map):
3489 * epa.el (epa-key-list-mode-map):
3490 * man.el (Man-mode-map):
3491 * startup.el (splash-screen-keymap):
3492 * simple.el (special-mode-map): Use scroll-up-command and
3493 scroll-down-command.
3494
3495 * progmodes/idlw-help.el (idlwave-help-mode-map):
3496 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3497 * net/newst-plainview.el (newsticker-mode-map):
3498 * emulation/ws-mode.el (wordstar-mode-map):
3499 * emulation/vi.el (vi-com-map):
3500 * calc/calc-graph.el (calc-graph-show-dumb):
3501 * term/sun.el (terminal-init-sun):
3502 * term/ns-win.el (global-map):
3503 * progmodes/grep.el (grep-mode-map):
3504 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3505 * mail/rmail.el (rmail-mode-map):
3506 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3507
04c52e2f
CY
3508 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3509 custom-safe-themes as special.
3510
79adf8c8
JD
35112011-10-01 Julien Danjou <julien@danjou.info>
3512
3513 * notifications.el (notifications-notify): Fix docstring.
3514
63bd50d3
PS
35152011-10-01 Per Starbäck <per@starback.se>
3516
3517 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3518
199e4c7e
MR
35192011-09-30 Martin Rudalics <rudalics@gmx.at>
3520
3521 * startup.el (command-line-1): Fix last fix by inserting
3522 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3523 (Bug#9605) and (Bug#9636)
199e4c7e 3524
fe5f08dd
EZ
35252011-09-29 Eli Zaretskii <eliz@gnu.org>
3526
3527 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3528 window is hscrolled, move by logical lines. (Bug#9607)
3529 (line-move-visual): Update the doc string to the above effect.
3530
b5516bbd
MR
35312011-09-29 Martin Rudalics <rudalics@gmx.at>
3532
ccee00c0
MR
3533 * window.el (display-buffer-record-window): When WINDOW is the
3534 selected window use `point' instead of `window-point'. (Bug#9626)
3535
b5516bbd
MR
3536 * startup.el (command-line-1): Use insert-before-markers when
3537 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3538
b5516bbd
MR
3539 * help.el (help-window): Remove variable.
3540
52aa0014
GM
35412011-09-29 Glenn Morris <rgm@gnu.org>
3542
3543 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3544
df9a7357
JB
35452011-09-29 Juanma Barranquero <lekktu@gmail.com>
3546
3547 * descr-text.el (describe-char-categories): Accept category
3548 descriptions more than one line long.
3549
a8406c20
SM
35502011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3551
88d9610c
SM
3552 * simple.el (delete-trailing-whitespace): Fix last change.
3553
a5daf810
SM
3554 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3555 Don't confuse "y => 3" as the beginning of a `y' operation.
3556
a8406c20
SM
3557 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3558 object has more than 4 slots (bug#9613).
3559
a239d4e9
JB
35602011-09-28 Juanma Barranquero <lekktu@gmail.com>
3561
3562 * subr.el (with-output-to-temp-buffer):
3563 * net/quickurl.el (quickurl, quickurl-browse-url):
3564 Fix typos in docstrings.
3565
693fbdb6
EZ
35662011-09-27 Eli Zaretskii <eliz@gnu.org>
3567
3568 * minibuffer.el (completion-styles)
3569 (completion-category-overrides): Cross reference each other in doc
3570 strings.
3571
8b457e28
GM
35722011-09-27 Glenn Morris <rgm@gnu.org>
3573
3574 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3575 to split-string. (Bug#9606)
3576
85a16208
LMI
35772011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3578
3579 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3580 (bug#9615).
3581
502f9ebd
CY
35822011-09-27 Chong Yidong <cyd@stupidchicken.com>
3583
3584 * emacs-lisp/package.el (list-packages): Fix echo area message.
3585
7690bdea
LL
35862011-09-27 Leo Liu <sdl.web@gmail.com>
3587
3588 * ido.el (ido-read-internal): Accept cons cell HIST arg.
3589
e2ee6f30
MA
35902011-09-25 Michael Albinus <michael.albinus@gmx.de>
3591
3592 * net/dbus.el (dbus-unregister-object): Don't release services for
3593 registered signals. (Bug#9581)
3594
f3f98342
TZ
35952011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
3596
3597 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3598 function that picks between cfengine 2 and 3 support
3599 automatically. Update docs accordingly.
3600
dd7aa8dd
KH
36012011-09-22 Kenichi Handa <handa@m17n.org>
3602
3603 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3604 ZERO.
3605 (indian-itrans-v5-table-for-tamil): New variable.
3606 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3607
3f2b07f8
KM
36082011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
3609
3610 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3611 that's true if the current command involved collapsing of text.
3612 It's reset to false at the beginning of the next command.
3613 (allout-post-command-business): Move the cursor to the beginning
3614 of entry if the cursor is hidden and collapsing activity just
3615 happened.
3616
371d6a61
CY
36172011-09-24 Chong Yidong <cyd@stupidchicken.com>
3618
3619 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3620 tracking (Bug#9541).
3621
2ac2721a
UJ
36222011-09-24 Ulf Jasper <ulf.jasper@web.de>
3623
3624 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
3625 (newsticker-show-news): Automatically load html rendering package
3626 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3627 because w3m-fill-column is let-bound" and the error "Symbol's value
3628 as variable is void: w3m-fill-column".
2ac2721a 3629
fac7ae53
MA
36302011-09-24 Michael Albinus <michael.albinus@gmx.de>
3631
3632 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3633 Release services only if they are defined. (Bug#9581)
3634
e08b633b
RS
36352011-09-23 Richard Stallman <rms@gnu.org>
3636
e488d29c
RS
3637 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3638 distinguish start of paragraph from start of its text.
3639
19c38752
RS
3640 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3641
e08b633b
RS
3642 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3643 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3644 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3645
0a39f27e
AS
36462011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3647
3648 * international/mule-diag.el (mule-diag): Insert a newline after
3649 each fontset description.
3650
db4e950d
SM
36512011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * simple.el (delete-trailing-whitespace):
3654 Document last change; simplify.
3655
eca3f3ea
PW
36562011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3657
d68e189a
PW
3658 * simple.el (delete-trailing-whitespace): Also delete
3659 extra newlines at the end of the buffer.
3660
eca3f3ea
PW
3661 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3662 (picture-newline): Use forward-line so as to ignore fields.
3663
01c157cc
SM
36642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * subr.el (with-wrapper-hook): Fix edebug spec.
3667
022de23e
LMI
36682011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3669
3670 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3671 (bug#4538).
3672
91683089
MA
36732011-09-23 Michael Albinus <michael.albinus@gmx.de>
3674
eca3f3ea
PW
3675 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3676 Fix nasty bug using wrong cached values.
91683089 3677
5bdd6fa4
AM
36782011-09-23 Alan Mackenzie <acm@muc.de>
3679
3680 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3681
97adfb97
CY
36822011-09-23 Chong Yidong <cyd@stupidchicken.com>
3683
3684 * window.el (pop-to-buffer): Ensure right window is selected if we
3685 chose another frame.
3686
d4ef2b50
EZ
36872011-09-22 Eli Zaretskii <eliz@gnu.org>
3688
3689 * simple.el (what-cursor-position): Use get-char-property-change
3690 and next-single-char-property-change, to be able to show display
3691 properties that come from overlays as well as text properties.
3692
72258fe5
CY
36932011-09-22 Chong Yidong <cyd@stupidchicken.com>
3694
3695 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3696
3697 * cmuscheme.el (run-scheme, switch-to-scheme):
3698 * cus-edit.el (customize-group, custom-buffer-create)
3699 (customize-browse):
3700 * info.el (info):
3701 * shell.el (shell):
3702 * mail/sendmail.el (mail):
3703 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3704
8f098516
RS
37052011-09-22 Richard Stallman <rms@gnu.org>
3706
3707 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3708 move back only to line beg, don't move back over blank lines.
3709
e74f1bb6
MA
37102011-09-22 Michael Albinus <michael.albinus@gmx.de>
3711
3712 * files.el (copy-directory): Set directory attributes only in case
3713 they could be retrieved from the source directory. (Bug#9565)
3714
bfeef8b6
DK
37152011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3716
3717 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3718 (hs-find-block-beginning, hs-hide-level-recursive):
3719 Ignore strings as well as comments. (Bug#9502)
3720
7e423bb8
AS
37212011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3722
3723 * progmodes/sql.el (sql-comint-postgres):
3724 Convert port number to a string. (Bug#9566)
3725
b4d72fcf
MR
37262011-09-22 Martin Rudalics <rudalics@gmx.at>
3727
3728 * window.el (quit-window): Undedicate window when switching to
3729 previous buffer. Reported by Thierry Volpiatto
3730 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
3731 (special-display-popup-frame): When popping up a new frame reset
3732 its previous buffers to nil. Simplify code.
b4d72fcf 3733
a7b88dc6
MA
37342011-09-21 Michael Albinus <michael.albinus@gmx.de>
3735
3736 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3737 and process filter, as done also in `shell-command'.
3738
cf4eacfd
MR
37392011-09-21 Martin Rudalics <rudalics@gmx.at>
3740
eca3f3ea 3741 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
3742 Call set-window-start with NOFORCE argument t.
3743 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
3744 (quit-window): Reword doc-string. Handle new format of
3745 quit-restore parameter. Don't delete window if it has a
3746 previous buffer we can show instead of the present one.
3747 (display-buffer-record-window): Rewrite using a new format for
3748 the quit-restore window parameter
3749 (special-display-popup-frame, display-buffer-same-window)
3750 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3751 (display-buffer-pop-up-window, display-buffer-use-some-window):
3752 Adapt symbol passed to display-buffer-record-window.
3753 * help.el (help-window-setup): Handle new format of quit-restore
3754 parameter.
3755
8d28cb95
SM
37562011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3757
94ab793f
SM
3758 * faces.el (face-list): Fix docstring (bug#9564).
3759
8d28cb95
SM
3760 * window.el (display-buffer--action-function-custom-type):
3761 Don't include internal functions in the Custom interface.
3762
3820edeb
JL
37632011-09-20 Juri Linkov <juri@jurta.org>
3764
3765 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3766 (Info-forward-node, Info-backward-node, Info-next-preorder)
3767 (Info-last-preorder): Use it. (Bug#9528)
3768
5147931d
JL
37692011-09-20 Juri Linkov <juri@jurta.org>
3770
3771 * info.el (Info-last-preorder): Visit last menu item only when
3772 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3773
cf499a1a
JD
37742011-09-20 Julien Danjou <julien@danjou.info>
3775
3776 * password-cache.el (password-cache-remove): Remove entries even if the
3777 value is nil, so that password with a nil value (negative caching) is
3778 possible to invalidate.
3779
f84e2fe2
LM
37802011-09-20 Lawrence Mitchell <wence@gmx.li>
3781
3782 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3783 all whitespace around breakpoint. (Bug#9553)
3784 (f90-find-breakpoint): Only break at whitespace inside a comment.
3785
78054a46
SM
37862011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * minibuffer.el (completion-file-name-table): Keep track of errors.
3789 (completion-table-with-predicate): Handle the case where pred1 is nil.
3790 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3791
345083b2
SM
37922011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3793
e24e27be
SM
3794 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3795 (debugger-return-value): Signal an error if the debugging context does
3796 not await any return value.
3797
345083b2
SM
3798 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3799 * image-mode.el (image-toggle-display-text)
3800 (image-toggle-display-image): Stay away from evil `intangible'.
3801
08d355e3
LL
38022011-09-19 Leo Liu <sdl.web@gmail.com>
3803
3804 * replace.el (occur-revert-arguments): Make it permanent-local.
3805 (occur-mode): Don't call font-lock-defontify.
3806
f01da43f
CY
38072011-09-19 Chong Yidong <cyd@stupidchicken.com>
3808
3809 * net/ldap.el (ldap-search-internal): Don't push empty search
3810 result (Bug#9508).
3811
b6072fa6
SM
38122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3815
443d6696
MA
38162011-09-19 Michael Albinus <michael.albinus@gmx.de>
3817
3818 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3819 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3820
7cc6e154
JL
38212011-09-18 Juri Linkov <juri@jurta.org>
3822
3823 * buff-menu.el (Buffer-menu-mode-map):
3824 * dired.el (dired-mode-map):
3825 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3826 (lisp-interaction-mode-map):
3827 * emacs-lisp/package.el (package-menu-mode-map):
3828 * epa.el (epa-key-list-mode-map):
3829 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3830 (menu-bar-options-menu):
3831 * outline.el (outline-mode-menu-bar-map):
3832 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3833 * vc/vc-dir.el (vc-dir-menu-map):
3834 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3835 Capitalize non-function content words in menu item strings.
3836
3837 * dired.el (dired-mode-map): Add menu item for
3838 `image-dired-dired-toggle-marked-thumbs'.
3839
80302a81
JL
38402011-09-18 Juri Linkov <juri@jurta.org>
3841
3842 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3843 to `isearch-case-fold-search' and restore its original value
3844 after the `isearch-mode' call.
3845
46c5cf66
JL
38462011-09-18 Juri Linkov <juri@jurta.org>
3847
3848 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3849 because `zgrep' returns 1 for successful matches (bug#9226).
3850
d18b513b
JL
38512011-09-18 Juri Linkov <juri@jurta.org>
3852
3853 * info.el (Info-extract-menu-node-name): Check the second match
3854 for empty string (second test-case of bug#9528).
3855 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3856 intermediate nodes to the history (first test-case of bug#9528).
3857
72753f87
JL
38582011-09-18 Juri Linkov <juri@jurta.org>
3859
3860 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3861 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3862
c9384295
JL
38632011-09-18 Juri Linkov <juri@jurta.org>
3864
1154d12e
JB
3865 * info.el (Info-file-supports-index-cookies):
3866 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3867 outputs one more line for long file names (bug#4142).
c9384295 3868
d473dce8
CY
38692011-09-18 Chong Yidong <cyd@stupidchicken.com>
3870
3871 * newcomment.el (comment-normalize-vars): If prompting for
3872 comment-start, set comment-start-skip too (Bug#8424).
3873
2176854d
JB
38742011-09-18 Johan Bockgård <bojohan@gnu.org>
3875
3876 * icomplete.el: Fix previous fix of Bug#5849.
3877 (icomplete-mode): Don't set completion-show-inline-help.
3878 (icomplete-minibuffer-setup): Set completion-show-inline-help
3879 locally during icompletion.
3880
3aace4e4
CY
38812011-09-18 Chong Yidong <cyd@stupidchicken.com>
3882
c940224f
CY
3883 * woman.el (woman2-process-escapes): Don't delete unrecognized
3884 escapes (Bug#7843).
3885
3aace4e4
CY
3886 * files.el (inhibit-first-line-modes-regexps): Add image files.
3887 (hack-local-variables-prop-line): Return nil for malformed
3888 prop-lines (Bug#9044).
3889
710dec63
MA
38902011-09-18 Michael Albinus <michael.albinus@gmx.de>
3891
3892 * net/tramp.el (top): Don't require 'shell.
3893 (tramp-methods): Fix docstring.
3894 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3895 Return complete remote file name. Handle "smb" case.
3896 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3897 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3898
3899 * net/tramp-compat.el (top): Require 'shell.
3900
3901 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3902 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3903 `tramp-current-host'.
3904 (tramp-get-remote-tmpdir): Remove.
3905
3906 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3907 `tramp-tmpdir' entries.
3908 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3909 (tramp-smb-handle-file-attributes): Ignore errors.
3910 (tramp-smb-wait-for-output): Check also for process end.
3911
5d5ac8ec
LMI
39122011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3913
3914 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3915 when sending QUIT (bug#9312).
3916
8c0f49f0
CY
39172011-09-17 Chong Yidong <cyd@stupidchicken.com>
3918
3919 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3920 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3921 occur-mode-display-occurrence.
3922 (occur-edit-mode): Add usage message.
3923 (occur-cease-edit): New command.
3924 (occur-after-change-function): Use text properties to find the
3925 position of the prefix text.
3926 (occur-engine): Set stickiness of prefix text properties.
3927
8f1383f7
GM
39282011-09-17 Glenn Morris <rgm@gnu.org>
3929
3930 * progmodes/etags.el (complete-tag):
3931 Fix call to completion-in-region. (Bug#9526)
3932
744ba0e3
JL
39332011-09-17 Juri Linkov <juri@jurta.org>
3934
3935 * textmodes/ispell.el (ispell-word): Add to the error message
3936 the word, ispell program name and current dictionary (bug#9121).
3937 (ispell-tex-arg-end): Capitalize "error" in the error message.
3938
d9bbf400
AS
39392011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3940
3941 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3942 check. (Bug#4251)
3943
8da11505
JL
39442011-09-17 Juri Linkov <juri@jurta.org>
3945
3946 * window.el (window-safe-min-height, window-safe-min-width):
3947 Fix typos (followup to bug#9522).
3948
a91adc7e
SJ
39492011-09-17 Sven Joachim <svenjoac@gmx.de>
3950
3951 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3952
064f328a
EZ
39532011-09-16 Eli Zaretskii <eliz@gnu.org>
3954
3955 * simple.el (line-move): If goal-column is set, move by logical
3956 lines, not by display lines. (Bug#971)
3957 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3958 to reflect the above change.
3959
e69df516
SM
39602011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3961
3962 * image.el (imagemagick-register-types): Use regexp-opt.
3963
cbb0f9ab
CY
39642011-09-15 Chong Yidong <cyd@stupidchicken.com>
3965
3966 * window.el (display-buffer-base-action): Rename from
3967 display-buffer-default-action. Make default value empty.
3968 (display-buffer-overriding-action): Convert to defvar.
3969 (display-buffer-fallback-action): New var.
3970
25322144
CY
39712011-09-15 Chong Yidong <cyd@stupidchicken.com>
3972
3973 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3974 declaration.
3975 (package--add-to-archive-contents): If there is a duplicate entry
3976 with an older version, remove it.
3977 (package-menu-mark-delete, package-menu-mark-install)
3978 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
3979 (package-menu-mark-obsolete-for-deletion):
3980 Use package-menu-get-status instead of a regexp search.
25322144
CY
3981 (package-menu-get-status): Use tabulated-list-entry.
3982 (package-menu-mark-upgrades): New command.
d770725a 3983 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
3984 (package-menu-execute): Do installation before deletion.
3985 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3986 instead of checking major-mode.
3987 (package-menu--find-upgrades): New function.
3988
7520339c
LMI
39892011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3990
3991 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3992 passwords in the log buffer.
65a046c4
LMI
3993 (smtpmail-process-filter): Update the process marker so that the
3994 "broken by peer" status message is inserted in the right place.
7520339c 3995
d3c30954
SM
39962011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3fe48822
SM
3998 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3999 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4000 bibtex-completion-at-point-function.
4001 (bibtex-completion-at-point-function): Use them.
4002
1b8b3954
SM
4003 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4004
d3c30954
SM
4005 * mpc.el (mpc-constraints-tag-lookup): New function.
4006 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4007 also to browser "album|playlist".
4008
72779976
JL
40092011-09-14 Juri Linkov <juri@jurta.org>
4010
4011 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4012 (isearch-edit-string): Use length of `isearch-string' when
4013 `isearch-fail-pos' returns nil.
4014 (isearch-message): Remove duplicate code and call
4015 `isearch-fail-pos' with arg `t'.
4016
a0bf2bcd
CY
40172011-09-14 Chong Yidong <cyd@stupidchicken.com>
4018
17bb0a2d
CY
4019 * replace.el (occur-mode-goto-occurrence): Don't force using other
4020 window (Bug#9499).
4021
a0bf2bcd
CY
4022 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4023
f678e0b6
MR
40242011-09-14 Martin Rudalics <rudalics@gmx.at>
4025
4026 * window.el (display-buffer-window): Remove.
4027 (display-buffer-record-window): Use help-setup window parameter
4028 instead of variable display-buffer-window.
4029 (display-buffer-function, special-display-buffer-names)
4030 (special-display-function): Mention help-setup parameter instead
4031 of display-buffer-window in doc-string.
d3c30954
SM
4032 * help.el (help-window-setup): New argument help-window.
4033 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4034 Reword some messages.
4035 (with-help-window): Pass window used for displaying the buffer
4036 to help-window-setup. Don't set display-buffer-window.
4037
8e39b2e8
GM
40382011-09-13 Glenn Morris <rgm@gnu.org>
4039
4040 * emacs-lisp/debug.el (debugger-make-xrefs):
4041 Preserve point. (Bug#9462)
4042
85e9c04b
CY
40432011-09-13 Chong Yidong <cyd@stupidchicken.com>
4044
4045 * window.el (window-deletable-p): Use next-frame.
4046
1b36ed6a
MR
40472011-09-13 Martin Rudalics <rudalics@gmx.at>
4048
4049 * window.el (window-auto-delete): Remove.
4050 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4051 dedication and previous buffers.
1b36ed6a
MR
4052 (switch-to-prev-buffer): Don't delete window.
4053 (delete-windows-on): Delete a window's frame if and only if the
4054 window is dedicated.
4055 (replace-buffer-in-windows): Delete buffer's window or frame if
4056 and only if window is dedicated.
4057 (quit-window): Handle quit-restore as before last change.
4d61f28d 4058 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4059
ef8ef9fb
CY
40602011-09-13 Chong Yidong <cyd@stupidchicken.com>
4061
4062 * window.el (window-deletable-p): Never delete the last frame on a
4063 given terminal.
4064
b2cba41e
GM
40652011-09-13 Glenn Morris <rgm@gnu.org>
4066
4067 * help.el (describe-key-briefly): Copy previous standard-output change.
4068
51553db6 40692011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4070
4071 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4072
b7556719
GM
40732011-09-13 Glenn Morris <rgm@gnu.org>
4074
4075 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4076 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4077
64b51947
CY
40782011-09-12 Chong Yidong <cyd@stupidchicken.com>
4079
4080 * dired-aux.el (dired-mark-read-string): Don't return default
4081 value on empty input (Bug#9361).
4082 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4083 Omit initial minibuffer contents.
4084 (dired-do-chmod): Signal an error on empty input.
4085 (dired-mark-read-string): Don't return default on empty input.
4086
4087 * files.el (file-modes-symbolic-to-number): Doc fix.
4088
393a301e
SM
40892011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4090
4091 * international/mule-cmds.el (ucs-completions): Remove.
4092 (read-char-by-name): Use complete-with-action instead; add metadata.
4093
fa5660f9
CY
40942011-09-11 Chong Yidong <cyd@stupidchicken.com>
4095
4096 * window.el (display-buffer--action-function-custom-type)
4097 (display-buffer--action-custom-type): New vars.
4098 (display-buffer-alist, display-buffer-default-action)
4099 (display-buffer-overriding-action): Add defcustom types.
4100
4a592f66
CY
4101 * frame.el (delete-other-frames): Doc fix (Bug#276).
4102
73d56dbd
LMI
41032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4104
4105 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4106
37ac18a3
CY
41072011-09-11 Chong Yidong <cyd@stupidchicken.com>
4108
4109 Change modes that used same-window-* vars to use switch-to-buffer.
4110
4111 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4112 Use switch-to-buffer.
4113
4114 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4115 (customize-browse, custom-buffer-create-other-window):
4116 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4117
4118 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4119 (Info-prev, Info-up, Info-speedbar-goto-node)
4120 (info-display-manual): Use switch-to-buffer.
4121 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4122
4123 * mail/sendmail.el (mail): Use switch-to-buffer.
4124 (mail-recover): Use switch-to-buffer-other-window.
4125
4126 * cmuscheme.el (run-scheme, switch-to-scheme):
4127 * ielm.el (ielm):
4128 * shell.el (shell):
4129 * net/rlogin.el (rlogin):
4130 * net/telnet.el (telnet, rsh):
4131 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4132
10195bd6
AS
41332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4134
4135 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4136
b322f63a
LMI
41372011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4138
39d7fed6
LMI
4139 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4140 so don't mention it (bug#9301).
ba5a81f1 4141 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4142
ee0e9f11
LMI
4143 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4144 match `x', `w32' and `ns', like the manual says (bug#9029).
4145
0b1c89c1 4146 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4147 (process-kill-buffer-query-function): Mention the buffer name in
4148 the query.
0b1c89c1 4149
77549ea8
LMI
4150 * image-mode.el (image-next-line): The line parameter is mandatory
4151 (bug#9258).
4152
803ef892
LMI
4153 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4154 which can be useful (bug#9301).
4155
12980837
LMI
4156 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4157
91054f8f
LMI
4158 * subr.el (match-string): Mention that the current buffer should
4159 be the same as the search was done in (bug#9282).
4160
b322f63a
LMI
4161 * facemenu.el: Disable the remove-* commands if the mark isn't
4162 active (bug#9162).
4163
3199b96f
CY
41642011-09-10 Chong Yidong <cyd@stupidchicken.com>
4165
4166 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4167 of display-buffer.
4168 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4169
4170 * replace.el (occur-mode-goto-occurrence)
4171 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4172 and display-buffer.
4173
4174 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4175 display-buffer.
4176
4177 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4178 special-display and same-window variables.
4179 (mail-other-window): Use switch-to-buffer-other-window.
4180 (mail-other-frame): USe switch-to-buffer-other-frame.
4181
393a301e
SM
4182 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4183 Use display-buffer-other-frame.
3199b96f
CY
4184 (gdb-display-gdb-buffer): Use pop-to-buffer.
4185
4186 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4187
4188 * progmodes/python.el: Don't set same-window-buffer-names.
4189
4190 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4191
4192 * window.el (display-buffer-alist): Add *Python*.
4193
8319e0bf
CY
41942011-09-10 Chong Yidong <cyd@stupidchicken.com>
4195
4196 * window.el (display-buffer-alist): Add entry for buffers
4197 previously handled same-window-*.
4198 (display-buffer-alist, display-buffer-default-action)
4199 (display-buffer-overriding-action): Mark as risky.
4200 (display-buffer-alist): Document action function changes.
4201 (display-buffer--same-window-action)
4202 (display-buffer--other-frame-action): New variables.
4203 (switch-to-buffer, display-buffer-other-frame): Use them.
4204 (display-buffer): Rename reuse-frame entry to reusable-frames.
4205 (display-buffer-reuse-selected-window): Function deleted.
4206 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4207 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4208 (display-buffer-special): New function.
4209 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4210 display-buffer-reuse-or-pop-window. Split off special-display
4211 part into display-buffer-special.
4212 (display-buffer-use-some-window): Don't perform any special
4213 pop-up-frames handling.
4214 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4215 (display-buffer--maybe-same-window): Rename from
0d3ff375 4216 display-buffer-maybe-same-window.
8319e0bf 4217
919a69aa
CY
4218 * info.el: Don't set same-window-regexps.
4219 (info-setup): New function.
4220 (info-other-window, info): Call it.
4221
4222 * cus-edit.el: Don't set same-window-regexps.
4223 (customize-group): New argument.
4224 (customize-group-other-window): Use it.
4225 (customize-face, customize-face-other-window): Likewise.
4226 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4227
8319e0bf
CY
4228 * net/rlogin.el:
4229 * net/telnet.el:
4230 * progmodes/gud.el: Don't set same-window-regexps.
4231
4232 * cmuscheme.el:
4233 * ielm.el:
4234 * shell.el:
4235 * mail/sendmail.el:
4236 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4237
25173000
JL
42382011-09-10 Juri Linkov <juri@jurta.org>
4239
4240 * isearch.el (isearch-edit-string): Remove obsolete mention of
4241 `C-w' (`isearch-yank-word-or-char') from docstring.
4242 (isearch-query-replace): Fix typo in docstring (bug#9466).
4243
056e44ef
JL
42442011-09-10 Juri Linkov <juri@jurta.org>
4245
4246 * paren.el (show-paren-function): Don't show escaped parens.
4247 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4248
c3760c17
EZ
42492011-09-10 Eli Zaretskii <eliz@gnu.org>
4250
4251 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4252 (mm-default-file-encoding): Remove autoload forms, they are
4253 replaced with autoload cookies in mml.el and mm-encode.el.
4254 (mail-add-attachment): New command.
4255 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4256 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4257 the doc string.
4258 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4259
fece895e
RT
42602011-09-10 Reuben Thomas <rrt@sc3d.org>
4261
e69df516
SM
4262 * simple.el (count-words-region): Use buffer if there's no region
4263 (bug#9429).
fece895e 4264
5e68ce4a
JL
42652011-09-09 Juri Linkov <juri@jurta.org>
4266
4267 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4268 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4269 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4270
0a6b9622
AM
42712011-09-09 Alan Mackenzie <acm@muc.de>
4272
4273 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4274 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4275
14a29deb
EZ
42762011-09-09 Eli Zaretskii <eliz@gnu.org>
4277
4278 Fix for Savannah bug#9392.
4279 * simple.el (mail-encode-mml): New defvar.
4280
4281 * mail/rmail.el (mail-encode-mml): Add a defvar.
4282 (rmail-enable-mime-composing): Default to t.
4283 (rmail-forward): Use MIME method of forwarding only if both
4284 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4285 Set mail-encode-mml non-nil if the MIME method was used.
4286
4287 * mail/sendmail.el (mml-to-mime): Add autoload form.
4288 (mail-encode-mml): Add a defvar.
4289 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4290 to nil.
4291 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4292 message through mml-to-mime, and reset mail-encode-mml to nil.
4293
28c45130
GM
42942011-09-09 Glenn Morris <rgm@gnu.org>
4295
4296 * woman.el (woman-if-body): When processing an .el block,
4297 do not delete the next .el block as well. (Bug#9447)
69f4b618 4298 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4299
9b1c252e
MR
43002011-09-08 Martin Rudalics <rudalics@gmx.at>
4301
4302 * window.el (window-deletable-p): Make sure window is live before
4303 invoking window-prev-buffers.
4304
567457e3
LL
43052011-09-08 Leo Liu <sdl.web@gmail.com>
4306
4307 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4308
97f05794
JL
43092011-09-08 Juri Linkov <juri@jurta.org>
4310
4311 * progmodes/compile.el (compilation-environment): Make it
4312 a defcustom (bug#8340).
4313
8b0874b5
MR
43142011-09-08 Martin Rudalics <rudalics@gmx.at>
4315
4316 * window.el (frame-auto-delete): Rename to window-auto-delete.
4317 Make it control auto-deletion of windows and/or frames.
4318 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4319 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4320 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4321 Rewrite handling of case when window/frame can be deleted.
4322 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4323 argument t. (Bug#9456)
8b0874b5 4324
4feb6e73
CY
43252011-09-07 Chong Yidong <cyd@stupidchicken.com>
4326
4327 * help-mode.el (help-mode): Restore autoload.
4328
91ab9c13
JL
43292011-09-07 Juri Linkov <juri@jurta.org>
4330
4331 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4332 `compilation-environment'. Set buffer-local
4333 `compilation-environment' to `thisenv' later after (funcall mode).
4334 (Bug#8340)
4335
4336 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4337 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4338 instead of replacing its value. (Bug#8340)
4339
0527e251
JL
43402011-09-07 Juri Linkov <juri@jurta.org>
4341
4342 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4343 based on text properties put by `grep-filter' instead of matching
4344 escape sequences.
4345 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4346 to the value of `grep-error-screen-columns' (bug#9438).
4347
249f792c
JL
43482011-09-07 Juri Linkov <juri@jurta.org>
4349
4350 * simple.el (next-error-highlight, next-error-highlight-no-select):
4351 Doc fix (bug#9432).
4352
ff7271b9
OT
43532011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4354
4355 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4356 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4357
183fc730
LL
43582011-09-07 Leo Liu <sdl.web@gmail.com>
4359
4360 * net/rcirc.el (rcirc-mode): Conditionally initialize
4361 rcirc-input-ring.
4362
77694924
SM
43632011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * emacs-lisp/find-func.el (find-function-C-source): Only set
4366 find-function-C-source-directory after checking that we found a source
4367 file there (bug#9440).
4368
d809b8eb
AM
43692011-09-06 Alan Mackenzie <acm@muc.de>
4370
4371 * isearch.el (isearch-other-meta-char): Wherever a key list is
4372 unread, "unread" the prefix arg, too. This fixes bug #8901.
4373
453de99f
OG
43742011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4375
4376 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4377
90439906
JL
43782011-09-05 Juri Linkov <juri@jurta.org>
4379
4380 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4381
f62bd846
JL
43822011-09-05 Juri Linkov <juri@jurta.org>
4383
4384 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4385 keeping point where processing of grep matches begins, and
4386 continue to delete remaining escape sequences from the same point.
4387 (grep-filter): Make leading zero optional in "0?1;31m" because
4388 git-grep emits "\033[1;31m" escape sequences unlike expected
4389 "\033[01;31m" as GNU Grep does (bug#9408).
4390 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4391
045820ec
JL
43922011-09-05 Juri Linkov <juri@jurta.org>
4393
4394 * subr.el (y-or-n-p): Capitalize "yes".
4395
f5e29b9b
MA
43962011-09-04 Michael Albinus <michael.albinus@gmx.de>
4397
4398 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4399 `tramp-cache-unload-hook' where appropriate.
4400 (tramp-methods): Rename `tramp-remote-sh' to
4401 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4402 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4403
4404 * net/tramp-sh.el (top): Don't require 'shell.
4405 (tramp-methods): Add `tramp-remote-shell' and
4406 `tramp-remote-shell-args' entries.
4407 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4408 (tramp-sh-handle-shell-command): Remove.
4409 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4410 Use `tramp-remote-shell'.
4411
2784c434
CY
44122011-09-03 Chong Yidong <cyd@stupidchicken.com>
4413
393a301e 4414 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4415 (sendmail-query-once): Save directly to send-mail-function.
4416 Update message-send-mail-function too.
4417
4418 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4419
464cdf56
CS
44202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4421
4422 * progmodes/python.el (python-mode-map): Use correct function to
4423 start python interpreter from menu-bar (as reported by Geert
4424 Kloosterman).
4425 (inferior-python-mode-map): Fix typo.
393a301e 4426 (python-shell-map): Remove.
464cdf56 4427
d37e5c87
DD
44282011-09-03 Deniz Dogan <deniz@dogan.se>
4429
4430 * net/rcirc.el (rcirc-print): Simplify code for
4431 rcirc-scroll-show-maximum-output. There is no need to walk
4432 through all windows to find the right one.
4433
f3ada0ee
CS
44342011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4435
4436 * help.el (help-return-method): Doc fix.
4437
1f3c99ca
MR
44382011-09-03 Martin Rudalics <rudalics@gmx.at>
4439
4440 * window.el (window-deletable-p): Don't return a non-nil value
4441 when there's a buffer that was shown in the window before.
4442 (Bug#9419)
393a301e
SM
4443 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4444 Set window's previous buffers to nil.
1f3c99ca 4445
a3cf097f
EZ
44462011-09-03 Eli Zaretskii <eliz@gnu.org>
4447
4448 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4449 newline before and after the tag line, so it doesn't interfere
4450 with determining the paragraph direction of bidirectional text.
4451
3d03de90
LL
44522011-09-03 Leo Liu <sdl.web@gmail.com>
4453
4454 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4455
c3313451
CY
44562011-09-02 Chong Yidong <cyd@stupidchicken.com>
4457
393a301e 4458 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4459 (pop-to-buffer): Change interactive spec. Pass second argument
4460 directly to display-buffer.
4461 (display-buffer): Fix interactive spec. Use functionp to
4462 distinguish between a function and a list of functions.
4463
4464 * abbrev.el (edit-abbrevs):
4465 * arc-mode.el (archive-extract):
4466 * autoinsert.el (auto-insert):
4467 * bookmark.el (bookmark-bmenu-list):
4468 * files.el (find-file):
4469 * view.el (view-buffer):
4470 * progmodes/compile.el (compilation-goto-locus):
4471 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4472
89894cd8
CY
44732011-09-02 Chong Yidong <cyd@stupidchicken.com>
4474
4475 * window.el (display-buffer-alist): Doc fix.
4476 (display-buffer): Add docstring. Don't treat
4477 display-buffer-default specially.
4478 (display-buffer-reuse-selected-window)
4479 (display-buffer-same-window, display-buffer-maybe-same-window)
4480 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4481 (display-buffer-pop-up-window)
4482 (display-buffer-reuse-or-pop-window)
4483 (display-buffer-use-some-window): New functions.
4484 (display-buffer-default-action): Use them.
393a301e 4485 (display-buffer-default): Delete.
89894cd8
CY
4486 (pop-to-buffer-1): Fix choice of actions.
4487
ae0bc9fb
SM
44882011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * minibuffer.el (completion--insert-strings): Don't get confused by
4491 completion entries that end with an LF char.
4492
e9d90883
EZ
44932011-09-01 Eli Zaretskii <eliz@gnu.org>
4494
4495 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4496
437014c8
CY
44972011-09-01 Chong Yidong <cyd@stupidchicken.com>
4498
4499 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4500 (display-buffer-same-window, display-buffer-other-window):
4501 New functions.
437014c8
CY
4502 (pop-to-buffer-1): New function. Use the above.
4503 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4504 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4505
4506 * view.el (view-buffer-other-window, view-buffer-other-frame):
4507 Just use pop-to-buffer.
4508
a5e063d5
TV
45092011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4510
4511 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4512
793d32bb
WH
45132011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4514
4515 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4516
d65e4c15
RS
45172011-08-31 Richard Stallman <rms@gnu.org>
4518
4519 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4520 of the separation of rmail-view-buffer from rmail-buffer.
4521 If you say no to "replace original", the decrypt is in the
4522 view buffer. If you say yes, the decrypt goes into the
4523 rmail buffer also.
4524
f818cd2a
MR
45252011-08-31 Martin Rudalics <rudalics@gmx.at>
4526
4527 * window.el (display-buffer-window): Rewrite doc-string.
4528 (display-buffer-record-window): New function.
4529 (display-buffer-macro-specifiers)
4530 (display-buffer-even-window-sizes, display-buffer-set-height)
4531 (display-buffer-set-width, display-buffer-in-window)
4532 (display-buffer-reuse-window, display-buffer-split-specifiers)
4533 (display-buffer-side-specifiers, display-buffer-split-window-1)
4534 (display-buffer-split-window, display-buffer-split-atom-window)
4535 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4536 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4537 (display-buffer-other-window-means-other-frame)
4538 (display-buffer-normalize-special)
4539 (display-buffer-normalize-default)
4540 (display-buffer-normalize-argument)
4541 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4542 (display-buffer-normalize-specifiers, display-buffer-frame)
4543 (display-buffer-same-window, display-buffer-same-frame)
4544 (display-buffer-other-window)
4545 (display-buffer-same-frame-other-window)
4546 (display-buffer-other-frame, pop-to-buffer-same-window)
4547 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4548 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4549 (switch-to-buffer-same-frame)
4550 (switch-to-buffer-other-window-same-frame)
4551 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4552 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4553 (display-buffer-alist-set): Remove.
4554 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4555 (special-display-regexps, special-display-function):
4556 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4557 parameter.
4558 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4559 (special-display-frame-alist, special-display-popup-frame)
4560 (same-window-buffer-names, same-window-regexps, same-window-p)
4561 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4562 (split-window-preferred-function, split-height-threshold)
4563 (split-width-threshold, window-splittable-p)
4564 (split-window-sensibly, window--try-to-split-window)
4565 (window--frame-usable-p, even-window-heights)
4566 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
4567 (window--display-buffer-2, display-buffer-other-frame):
4568 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
4569 (display-buffer-default, display-buffer-assq-regexp): New functions.
4570 (display-buffer-alist): Rewrite doc-string.
4571 (display-buffer-default-action)
4572 (display-buffer-overriding-action): New variables.
4573 (display-buffer, switch-to-buffer): Rewrite.
4574 (pop-to-buffer): Restore Emacs 23 behavior but use
4575 window-normalize-buffer-to-display.
4576 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4577 Restore Emacs 23 behavior but use
4578 window-normalize-buffer-to-switch-to.
4579 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
4580 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4581 Rewrite using Emacs 23 options.
f818cd2a 4582
5bc3b51d
MA
45832011-08-31 Michael Albinus <michael.albinus@gmx.de>
4584
4585 * net/tramp.el (tramp-root-regexp): Remove.
4586 (tramp-completion-file-name-regexp-unified)
4587 (tramp-completion-file-name-regexp-separate)
4588 (tramp-completion-file-name-regexp-url): Don't use leading volume
4589 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
4590 (tramp-drop-volume-letter): Simplify definition.
4591 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 4592
b1a4f8e1
SM
45932011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4596 (bug#9356).
4597
5664fa7b
RT
45982011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
4599
b1a4f8e1 4600 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 4601
9a45d6c3
JL
46022011-08-29 Juri Linkov <juri@jurta.org>
4603
4604 * isearch.el (isearch-done): Don't display message "Mark saved"
4605 when arg `edit' is non-nil to prevent its flicker in the echo area.
4606
fb87e0fb
CY
46072011-08-28 Chong Yidong <cyd@stupidchicken.com>
4608
4609 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4610 obsolete packages for deletion.
4611
09ac1c2a
CS
46122011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
4613
4614 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 4615 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
4616 view-mode from help-mode.
4617 (help-xref-override-view-map): Remove.
4618 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4619 view-mode is not used anymore.
4620
7a1ff57f
CY
46212011-08-28 Chong Yidong <cyd@stupidchicken.com>
4622
4623 * server.el (server-port): Doc fix.
4624
b9696605
CY
4625 * cus-theme.el (custom-theme-choose-mode): Inherit from
4626 special-mode (Bug#9124).
4627 (custom-theme-choose-mode-map): Add special-mode to parent.
4628
ef8cdf8c
AM
46292011-08-28 Alan Mackenzie <acm@muc.de>
4630
4631 * progmodes/cc-fonts.el
4632 (c-make-font-lock-BO-decl-search-function): New function.
4633 (c-basic-matchers-after - "Fontify the clauses after various
4634 keywords"): Extract the three keyword lists for the 3 erroneous
4635 constructs from the list of four, and use the new function above
4636 in place of an old one.
4637
27de4e20
DD
46382011-08-28 Deniz Dogan <deniz@dogan.se>
4639
4640 * net/rcirc.el (rcirc-insert-prev-input)
4641 (rcirc-insert-next-input): Remove unused argument.
4642
356a3681
SM
46432011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4646
3fc9b218
AM
46472011-08-27 Alan Mackenzie <acm@muc.de>
4648
4649 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4650 handle function pointer parameters properly.
4651
538a061c
MR
46522011-08-27 Martin Rudalics <rudalics@gmx.at>
4653
4654 * window.el (display-buffer-reuse-window): Fix case where
4655 selected window was reused with non-nil OTHER-WINDOW argument.
4656 (Bug#9381)
4657
35b1c40c
DD
46582011-08-27 Deniz Dogan <deniz@dogan.se>
4659
4660 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4661 oftc's NickServ messages.
4662
2f6a3e79
GM
46632011-08-27 Glenn Morris <rgm@gnu.org>
4664
4665 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4666
7254299e
CY
46672011-08-26 Chong Yidong <cyd@stupidchicken.com>
4668
4669 * emacs-lisp/package.el (package-install): Call package-initialize
4670 if called interactively.
4671
f8ccf167
LL
46722011-08-26 Leo Liu <sdl.web@gmail.com>
4673
4674 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4675
3e8cd5ce
JL
46762011-08-25 Juri Linkov <juri@jurta.org>
4677
4678 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4679 `search-whitespace-regexp' (bug#9364).
4680
93eb7113
JL
46812011-08-25 Juri Linkov <juri@jurta.org>
4682
4683 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4684 `regexp-search-ring' to their global values to protect from
4685 updating by `read-from-minibuffer' (bug#9185).
4686
f65d1611
JL
46872011-08-25 Juri Linkov <juri@jurta.org>
4688
4689 * textmodes/ispell.el (ispell-command-loop): Add newline
4690 at the end of the "Use option `i'..." line.
4691
f1cf7a31
JL
46922011-08-25 Juri Linkov <juri@jurta.org>
4693
4694 * battery.el (display-battery-mode): If `battery-status-function'
4695 or `battery-mode-line-format' is nil, display the message and set
4696 `display-battery-mode' to nil (bug#9363).
4697
0c95fcf7
EZ
46982011-08-25 Eli Zaretskii <eliz@gnu.org>
4699
4700 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4701 bidi-string-mark-left-to-right; they are unnecessary now.
4702
a2ebe600
DD
47032011-08-25 Deniz Dogan <deniz@dogan.se>
4704
4705 * net/quickurl.el: Documentation typo fixes.
4706
e4ed06f1
CY
47072011-08-25 Chong Yidong <cyd@stupidchicken.com>
4708
4709 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4710
e5f1c99e
GM
47112011-08-25 Glenn Morris <rgm@gnu.org>
4712
b2948976
GM
4713 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4714
e5f1c99e
GM
4715 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4716 (smtpmail-via-smtp): Handle nil response from smtp.
4717
f22f4808
JL
47182011-08-24 Juri Linkov <juri@jurta.org>
4719
4720 * proced.el (proced-marked): Inherit from `error' instead of
4721 `font-lock-warning-face'.
4722
4723 * ibuffer.el (ibuffer-marked-face): Change default face from
4724 `font-lock-warning-face' to `warning'.
4725 (ibuffer-deletion-face): Change default face from
4726 `font-lock-type-face' to `error'.
4727
4728 * battery.el (battery-update): Use the face `error' instead of
4729 `font-lock-warning-face' (bug#6117).
4730
6a93965e
JL
47312011-08-24 Juri Linkov <juri@jurta.org>
4732
4733 * faces.el (success): Change face color from "Green3" to
4734 "ForestGreen" on light background (bug#9353).
4735
1ed43b09
CY
47362011-08-24 Chong Yidong <cyd@stupidchicken.com>
4737
5664fa7b
RT
4738 * window.el (quit-window): Rename from quit-restore-window.
4739 Use same arglist as old quit-window.
1ed43b09
CY
4740 (frame-auto-delete): Doc fix.
4741
4742 * view.el (view-mode-exit): Use quit-window.
4743
11dcdbb2
JL
47442011-08-24 Juri Linkov <juri@jurta.org>
4745
4746 * isearch.el (isearch-ring-adjust1): Start visiting previous
4747 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4748 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4749 for empty search string (when the last search string is reused
4750 automatically) to adjust the isearch ring to the last element and
4751 prepare the correct index for further M-p commands (bug#9185).
4752
de62b4df
KH
47532011-08-24 Kenichi Handa <handa@m17n.org>
4754
4755 * international/ucs-normalize.el: If decomposition property of
4756 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4757 nil.
4758 (nfd, nfkd): Likewise.
4759
963b492b
SM
47602011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4761
4762 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4763 from process filters aren't reliably transmitted to the surrounding
4764 accept-process-output.
4765 (mpc-proc-check): New function.
4766 (mpc-proc-sync): Use it (bug#8293)
4767
93b6b5e1
SM
47682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4771 Add compatibility functions (bug#9313).
4772
bca633fb
EZ
47732011-08-23 Eli Zaretskii <eliz@gnu.org>
4774
b177498a
EZ
4775 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4776
6df6ae42 4777 * international/uni-bidi.el: Regenerate.
bca633fb 4778
0902a04e
KH
47792011-08-23 Kenichi Handa <handa@m17n.org>
4780
4781 * international/charprop.el:
4782 * international/uni-bidi.el:
4783 * international/uni-category.el:
4784 * international/uni-combining.el:
4785 * international/uni-comment.el:
4786 * international/uni-decimal.el:
4787 * international/uni-decomposition.el:
4788 * international/uni-digit.el:
4789 * international/uni-lowercase.el:
4790 * international/uni-mirrored.el:
4791 * international/uni-name.el:
4792 * international/uni-numeric.el:
4793 * international/uni-old-name.el:
4794 * international/uni-titlecase.el:
4795 * international/uni-uppercase.el: Regenerate.
4796
3bbf23bc
MR
47972011-08-23 Martin Rudalics <rudalics@gmx.at>
4798
4799 * help.el (help-window-setup): Fix message displayed when other
4800 window is reused. (Bug#9341)
4801
b3fd59bd
SM
48022011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4803
1802e444
SM
4804 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4805 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4806
b3fd59bd
SM
4807 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4808 Mark obsolete.
4809 * shell.el (shell-parse-pcomplete-arguments): New function.
4810 (shell-completion-vars): Use it instead (bug#9160).
4811
4eb61348
SM
48122011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4813
867cab74
SM
4814 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4815 strings and comments (bug#9333).
4816
4eb61348
SM
4817 * emacs-lisp/debug.el (debug-arglist): New function.
4818 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4819 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4820
262a1439
JL
48212011-08-22 Juri Linkov <juri@jurta.org>
4822
56ee679c
JL
4823 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4824 Revert regexp that highlights output switches to its old
4825 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4826
262a1439
JL
4827 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4828 to check for empty output (bug#9226).
4829
f13f86fb
CY
48302011-08-22 Chong Yidong <cyd@stupidchicken.com>
4831
4832 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4833 symbol-constituent as the default, as that stops font-lock from
4834 working properly (Bug#8843).
4835
c65c9622
LMI
48362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4837
4838 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4839 `coding-system-for-*' around the process open call to avoid
4840 auth-source side effects.
e7f2c178 4841 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4842 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4843 probe hangs.
c65c9622 4844
23a8a5ab
CY
48452011-08-21 Chong Yidong <cyd@stupidchicken.com>
4846
ff98b2dd
CY
4847 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4848
23a8a5ab
CY
4849 * emacs-lisp/find-func.el (find-function-noselect): New arg
4850 lisp-only.
4851
4852 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4853 signal an error for built-in functions (Bug#6664).
4854
f5e3c598
LMI
48552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4856
4857 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4858 (smtpmail-try-auth-methods): Use it.
4859
a3f2468a
CY
48602011-08-21 Chong Yidong <cyd@stupidchicken.com>
4861
2c34e8da
CY
4862 * font-lock.el (font-lock-fontify-region)
4863 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4864 (font-lock-default-unfontify-buffer)
4865 (font-lock-default-fontify-region)
4866 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4867
b3fd59bd
SM
4868 * progmodes/compile.el (compilation-error-properties):
4869 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4870 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4871 `ant' regexp.
ee31aabc 4872
a3f2468a
CY
4873 * net/browse-url.el (browse-url-firefox): Don't call
4874 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4875
8e999f70
GM
48762011-08-20 Glenn Morris <rgm@gnu.org>
4877
c21a496a
GM
4878 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4879
59ee0542
GM
4880 * tutorial.el (tutorial--default-keys): Update some default bindings.
4881
8e999f70
GM
4882 * files.el (hack-local-variables): Fully ignore case for "mode:".
4883
e3715033
AM
48842011-08-20 Alan Mackenzie <acm@muc.de>
4885
4886 Resolve invalid use of a regexp in regexp-opt.
4887
4d61f28d
JB
4888 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4889 detection for a java annotation.
e3715033 4890
4d61f28d 4891 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4892 detection for a java annotation.
4893
4d61f28d
JB
4894 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4895 handling for java.
e3715033
AM
4896 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4897
04ed2e9c
CY
48982011-08-20 Chong Yidong <cyd@stupidchicken.com>
4899
4900 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4901 (Bug#9274).
4902
826cee64
AM
49032011-08-20 Alan Mackenzie <acm@muc.de>
4904
58179cce 4905 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4906 such a construct. Mainly for when jit-lock etc. starts a chunk
4907 here.
4908
58179cce 4909 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4910 variable.
58179cce 4911 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4912 c-make-font-lock-search-function.
4913 (c-make-font-lock-search-function): Use the above function.
4914 (c-make-font-lock-context-search-function): New function.
4915 (c-cpp-matchers): Enhance the preprocessor expression case with
4916 the above function
4917 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4918 which takes an expression.
4919
4920 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4921
13009bd8
MR
49222011-08-20 Martin Rudalics <rudalics@gmx.at>
4923
4924 * window.el (display-buffer-reuse-window)
4925 (display-buffer-pop-up-window): Don't reuse or split a side
4926 window.
4927
9234ff7f
GM
49282011-08-19 Glenn Morris <rgm@gnu.org>
4929
4930 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4931 Downcase "Mode:". (Bug#9331)
9234ff7f 4932
f635daa1
CY
49332011-08-18 Chong Yidong <cyd@stupidchicken.com>
4934
4935 * international/characters.el: Add L and R categories.
4936
4937 * subr.el (bidi-string-mark-left-to-right): Rename from
4938 string-mark-left-to-right. Use category search.
4939
4940 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4941
bc987f8b
JL
49422011-08-18 Juri Linkov <juri@jurta.org>
4943
4944 * faces.el (error, warning, success): New faces with definitions
4945 copied from old default values of `font-lock-warning-face',
4946 `compilation-warning', `compilation-info' (bug#6117).
4947
4948 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4949
4950 * progmodes/compile.el (compilation-error): Inherit from `error'.
4951 (compilation-warning): Inherit from `warning'.
4952 (compilation-info): Inherit from `success'.
4953
4954 * dired.el (dired-marked): Inherit from `warning'.
4955 (dired-flagged): Inherit from `error'.
4956
57173b96
LMI
49572011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4958
3e79eb87
LMI
4959 * mail/smtpmail.el (auth-source): Require to avoid problems with
4960 binding variables (bug#9298). Also clean up some unused
4961 autoloads.
4962
b3fd59bd
SM
4963 * net/network-stream.el (network-stream-open-starttls):
4964 Support using starttls.el without using gnutls-cli.
57173b96 4965
02b404de
JL
49662011-08-17 Juri Linkov <juri@jurta.org>
4967
4968 * progmodes/grep.el (rgrep): Handle the case when
4969 `grep-find-command' is a cons cell (bug#9278).
4970
8c9177f2
MR
49712011-08-17 Martin Rudalics <rudalics@gmx.at>
4972
4973 * window.el (display-buffer-pop-up-frame): Run frame creation
4974 function with BUFFER current (as special-display-popup-frame
4975 does). Reported by Drew Adams.
4976
3644a0ab
DU
49772011-08-17 Daiki Ueno <ueno@unixuser.org>
4978
4979 * epa-mail.el: Simplify GnuPG group expansion using
4980 epg-expand-group.
4981 (epa-mail-group-alist, epa-mail-group-modtime)
4982 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4983 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4984 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4985 Remove.
4986
5e617bc2 49872011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
4988
4989 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4990
9c4aeabf
AM
49912011-08-16 Alan Mackenzie <acm@muc.de>
4992
4993 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4994 Correct, to avoid the inside of macros.
4995
3a99bf64
RS
49962011-08-16 Richard Stallman <rms@gnu.org>
4997
04963aa8
RS
4998 * epa-mail.el: Handle GnuPG group definitions.
4999 (epa-mail-group-alist, epa-mail-group-modtime)
5000 (epa-mail-gnupg-conf-file): New variables.
5001 (epa-mail-parse-groups, epa-mail-sync-groups)
5002 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5003 (epa-mail-expand-recipients): New functions.
5004 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5005
177549d0
RS
5006 * mail/rmail.el (rmail-epa-decrypt): New command.
5007
fe38beef
RS
5008 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5009 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5010 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5011 (epa-decrypt-armor-in-region): Make error message clearer.
5012
934eacb9
SM
50132011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5016 and "a2b" to "ab" for `prefix'.
5017
d024fb4e
CY
50182011-08-14 Chong Yidong <cyd@stupidchicken.com>
5019
5020 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5021 filter groups.
de148fee
CY
5022 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5023 Fourquet (Bug#8804).
d024fb4e 5024
62f1ca49
JB
50252011-08-12 Juanma Barranquero <lekktu@gmail.com>
5026
5027 * startup.el (argi): Declare as global variable (bug#9275).
5028
9ccaaa4b
CY
50292011-08-12 Chong Yidong <cyd@stupidchicken.com>
5030
5031 * subr.el (string-mark-left-to-right): Search the entire string
5032 for RTL script, not just the terminating character. Doc fix.
5033
a3dae87a
SM
50342011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5035
6cd18349
SM
5036 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5037 New function.
5038 (js--regexp-literal, js-syntax-propertize-function): Remove.
5039 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5040 (js-mode-map): Don't rebind electric keys.
5041 (js-insert-and-indent): Remove.
5042 (js-mode): Setup electric-layout and electric-indent instead.
5043
a3dae87a
SM
5044 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5045
9d5cb631
DU
50462011-08-12 Daiki Ueno <ueno@unixuser.org>
5047
5048 * epa.el (epa-progress-callback-function): Fix the logic of
5049 displaying progress.
5050 * epa-file.el (epa-file-insert-file-contents): Make progress
5051 display more user-friendly.
5052 (epa-file-write-region): Ditto.
5053
3e26a4a2
CY
50542011-08-10 Chong Yidong <cyd@stupidchicken.com>
5055
5056 * subr.el (string-mark-left-to-right): New function.
5057
5058 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5059 Use string-mark-left-to-right.
5060 (list-buffers-noselect): Caller changed.
5061
a3dae87a
SM
5062 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5063 Use string-mark-left-to-right.
3e26a4a2
CY
5064 (tabulated-list-print): Recenter after moving point.
5065
ac8cf6e6
JL
50662011-08-10 Juri Linkov <juri@jurta.org>
5067
5068 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5069 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5070 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5071
8d96c9a4
CY
50722011-08-09 Chong Yidong <cyd@stupidchicken.com>
5073
5074 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5075 (Bug#7554).
5076
7be1c708 50772011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5078
5079 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5080 character. (Bug#6594)
5081
37e11a63
CY
50822011-08-08 Chong Yidong <cyd@stupidchicken.com>
5083
839dde57
CY
5084 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5085 (image-dired--with-db-file): New macro.
5086 (image-dired-write-tags, image-dired-remove-tag)
5087 (image-dired-create-gallery-lists, image-dired-write-comments)
5088 (image-dired-get-comment, image-dired-mark-tagged-files)
5089 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5090 (image-dired-gallery-generate): Use insert-file-contents.
5091
37e11a63
CY
5092 * time.el (display-time-world-list, display-time-world-display):
5093 * time-stamp.el (time-stamp-string):
5094 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5095 set-time-zone-rule (Bug#7337).
5096
0b4946c4
DU
50972011-08-08 Daiki Ueno <ueno@unixuser.org>
5098
5099 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5100 (epg-error-to-string, epg-errors-to-string): New function.
5101 (epg-wait-for-completion): Reverse errors list.
5102 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5103 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5104 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5105 (epg-sign-keys, epg-generate-key-from-file)
5106 (epg-generate-key-from-string): Format errors by using
5107 epg-errors-to-string (bug#9255).
5108 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5109
75bfc667
JL
51102011-08-07 Juri Linkov <juri@jurta.org>
5111
5112 * faces.el (list-faces-display): Remove extra angle bracket
5113 from `help-mode-map'.
5114
5115 * info.el (Info-history-toc-nodes): Doc fix.
5116
5117 * longlines.el (longlines-mode): Doc fix.
5118
673e08bb
SM
51192011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5120
4640dd88
SM
5121 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5122 of statements and in a few more cases (bug#9183).
5123
673e08bb
SM
5124 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5125 New functions.
5126 (cl-transform-lambda): Use them (bug#9239).
5127
89b3f019
MR
51282011-08-05 Martin Rudalics <rudalics@gmx.at>
5129
5130 * window.el (display-buffer-same-window)
5131 (display-buffer-same-frame, display-buffer-other-window)
5132 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5133 (pop-to-buffer-other-window)
5134 (pop-to-buffer-same-frame-other-window)
5135 (pop-to-buffer-other-frame): Make them defuns.
5136 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5137
640c8776
SM
51382011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * subr.el (make-composed-keymap): Move from C. Change calling
5141 convention, and improve docstring to bring attention to a subtle point.
5142 * minibuffer.el (completing-read-default): Adjust accordingly.
5143
63648a95
MA
51442011-08-03 Michael Albinus <michael.albinus@gmx.de>
5145
5146 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5147 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5148
5149 * net/trampver.el: Update release number.
5150
b796c9b7
SM
51512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5154 "in" (bug#9190).
5155
2239d7d5
LMI
51562011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157
e07dd7c3
LMI
5158 * mail/sendmail.el (sendmail-query-once): Restore the current
5159 buffer after querying (bug#9074).
5160
0e6a2bd7
LMI
5161 * dired.el (dired-flagged): Use different faces for marked and
5162 flagged files (bug#6117).
5163
ce887515
LMI
5164 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5165 (bug#4433).
5166
92f2affc
LMI
5167 * ido.el (ido-mode): Switch off the message if called
5168 non-interactively.
5169
57d5aff0
LMI
5170 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5171 before 587, since it appears that that's more likely to work for
5172 more people.
5173
98cd6c18 5174 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5175 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5176 exist.
5177
b96dec83
LMI
5178 * info.el: Remove the `Info-beginning-of-buffer' function
5179 (bug#8325).
5180
b796c9b7
SM
5181 * net/network-stream.el (network-stream-open-starttls):
5182 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5183
d90e2ea0
MR
51842011-08-01 Martin Rudalics <rudalics@gmx.at>
5185
5186 * window.el (display-buffer-in-window): Don't set dedicated status
5187 of window here (Bug#9215).
5188 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5189 (display-buffer-pop-up-side-window)
b796c9b7 5190 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5191
cca09170
SM
51922011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5195 before binding generated-autoload-file.
5196
027b979c
DD
51972011-08-01 Deniz Dogan <deniz@dogan.se>
5198
5199 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5200
3c7ee4f3
MA
52012011-07-30 Michael Albinus <michael.albinus@gmx.de>
5202
5203 Sync with Tramp 2.2.2.
5204
5205 * net/trampver.el: Update release number.
5206
2cc8e51a
JL
52072011-07-30 Juri Linkov <juri@jurta.org>
5208
5209 * dired-aux.el (dired-touch-initial): Remove function.
5210 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5211 current time, and `default' to the last modification time of the
5212 current marked file (bug#6887).
5213
a514d856
JM
52142011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5215
5216 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5217 numeric argument to read-number (bug#9163).
a514d856 5218
8a7eddd7
MA
52192011-07-27 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5222 connection process, it could be nil.
5223
1ddd96f5
LL
52242011-07-27 Leo Liu <sdl.web@gmail.com>
5225
5226 Simplify url handling in rcirc-mode.
5227
5228 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5229 (rcirc-browse-url-at-mouse): Remove.
5230 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5231
b248a85d
AM
52322011-07-26 Alan Mackenzie <acm@muc.de>
5233
5234 Fontify bitfield declarations properly.
5235
5236 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5237 (c-symbol-chars): Now exported as a lang variable.
5238 (c-not-primitive-type-keywords): New lang variable.
5239
5240 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5241 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5242 parsed as a bitfield declaration.
b248a85d 5243
b796c9b7
SM
5244 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5245 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5246 (c-punctuation-in): New function.
5247 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5248 declarations properly.
5249
68575ab0
UJ
52502011-07-26 Ulf Jasper <ulf.jasper@web.de>
5251
5252 * calendar/icalendar.el (icalendar--all-events): Take care of
5253 multiple vcalendars in a single file.
b796c9b7 5254 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5255
0f0a88b9
DD
52562011-07-25 Deniz Dogan <deniz@dogan.se>
5257
5258 * image.el (insert-image): Clarifying docstring.
5259
0b3f36df
MA
52602011-07-24 Michael Albinus <michael.albinus@gmx.de>
5261
5262 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5263 `tramp-send-command-and-check' if there is no error.
5264 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5265
a9901f61
AM
52662011-07-22 Alan Mackenzie <acm@muc.de>
5267
5268 Prevent cc-langs.elc being loaded at run time.
5269
5270 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5271 cc-langs.
5272
4d61f28d 5273 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5274 "(require 'cc-langs)". Quote a form so it will evaluate at
5275 (cc-mode's) compilation time.
5276
11d074b2
MA
52772011-07-22 Michael Albinus <michael.albinus@gmx.de>
5278
5279 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5280 loading. (Bug#9114)
5281
938b94c8
MR
52822011-07-21 Martin Rudalics <rudalics@gmx.at>
5283
5284 * window.el (display-buffer-pop-up-window)
5285 (display-buffer-pop-up-side-window)
5286 (display-buffer-in-side-window): Call display-buffer-set-height
5287 and display-buffer-set-width after setting the new window's
b796c9b7 5288 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5289
bfa4f190
SS
52902011-07-20 Sam Steingold <sds@gnu.org>
5291
5292 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5293 (etags-tags-included-tables): Call `convert-standard-filename' on
5294 the file names contained in TAGS so that windows Emacs can handle
5295 TAGS files created by cygwin ctags.
5296
8ca42262
LMI
52972011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5298
5299 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5300 which apparently didn't work.
5301
5db2afd2 53022011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5303
5db2afd2
RW
5304 * proced.el (proced-send-signal): For *Marked Processes* buffer
5305 put point at beginning of buffer.
5306
92e15d10
SB
53072011-07-19 Stephen Berman <stephen.berman@gmx.net>
5308
5309 * proced.el (proced-format): Make header lines align with the text
5310 (bug#1779).
5311
1bfd59e5
LMI
53122011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5313
5314 * view.el (view-buffer): Allow running in `special' modes if we're
5315 visiting a file (bug#8615).
5316
f5aae37c
MR
53172011-07-19 Martin Rudalics <rudalics@gmx.at>
5318
5319 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5320 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5321 New functions.
f5aae37c
MR
5322 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5323 more accurately.
5324
bf2c1571
AM
53252011-07-18 Alan Mackenzie <acm@muc.de>
5326
5327 Fontify declarators properly when, e.g., a jit-lock chunk begins
5328 inside a declaration.
5329
5330 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5331
b796c9b7
SM
5332 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5333 New function.
bf2c1571
AM
5334 (c-complex-decl-matchers): Insert reference to
5335 c-font-lock-enclosing-decls.
5336
5337 * progmodes/cc-engine.el (c-backward-single-comment):
5338 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5339 to nil around calls to (forward-comment -1).
5340
4e190b80
LMI
53412011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5342
12dc863d
LMI
5343 * image.el (put-image): Doc typo fix.
5344
a762e966
LMI
5345 * progmodes/etags.el (tags-search): Doc typo fix.
5346
4e190b80
LMI
5347 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5348 password if we get errors 550 to 554.
5349
f019fb21
LMI
53502011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5351
b796c9b7 5352 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5353
81746738
LMI
5354 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5355 indentation character (bug#6380).
5356
3ee3a1b5
LMI
5357 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5358
c82f64de
LMI
5359 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5360 to clarify what the problem is (bug#4291).
5361
f019fb21
LMI
5362 * simple.el (current-kill): Clarify what
5363 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5364 (auto-fill-mode): Document `auto-fill-function' in relation to
5365 `auto-fill-mode' (bug#2470).
f019fb21 5366
0794775d
LM
53672011-07-16 Lawrence Mitchell <wence@gmx.li>
5368
5369 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5370 method if slot is read-only (bug#9035).
5371
be39b8cc
MR
53722011-07-16 Martin Rudalics <rudalics@gmx.at>
5373
b796c9b7 5374 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5375 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5376 selected before, see discussion of (Bug#8615), (Bug#6954).
5377 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5378
6ccf7859
GM
53792011-07-15 Glenn Morris <rgm@gnu.org>
5380
5381 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5382 Respect help-form.
6ccf7859 5383
87e86684
LM
53842011-07-09 Lawrence Mitchell <wence@gmx.li>
5385
5386 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5387 (gnutls-negotiate): Use it.
5388
d6066239
LMI
53892011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5390
b796c9b7
SM
5391 * net/gnutls.el (gnutls-negotiate):
5392 Upcase `gnutls-algorithm-priority'.
d6066239 5393
bd23ebc0
GM
53942011-07-15 Glenn Morris <rgm@gnu.org>
5395
c65bca65
GM
5396 * jka-compr.el (jka-compr-verbose): Move from here...
5397 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5398 Add missing :version tag.
5399 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5400
478615cc
LMI
54012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5402
7b41decb
LMI
5403 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5404 (gnutls-negotiate): Use it.
5405
dbc44fcd
LMI
5406 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5407
06789f97
LMI
5408 * info.el (Info-beginning-of-buffer): New command.
5409 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5410 announcing `b' as the key (bug#8325).
ab896c37 5411 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5412
c39da690
LMI
5413 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5414
3aa5f34b
LMI
5415 * international/mule-cmds.el
5416 (describe-specified-language-support): Make the error message
5417 clearer (bug#8905).
5418
4bf0979f
LMI
5419 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5420
478615cc
LMI
5421 * isearch.el (isearch-barrier): Add a doc string, since it's
5422 mentioned in a function doc string (bug#8678).
5423
75c68aa1
MR
54242011-07-15 Martin Rudalics <rudalics@gmx.at>
5425
5426 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5427 buffer argument (Bug#9083) and self-identifying label argument.
5428
a7c33da2
GM
54292011-07-15 Glenn Morris <rgm@gnu.org>
5430
5431 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5432
2f5c6024
LMI
54332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5434
5435 * man.el (Man-fontify-manpage): Fix message when formatting the
5436 man page (bug#7929).
5437
0bb23927 54382011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5439
5440 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5441 argument LRM; if non-nil, append an invisible LRM character to the
5442 buffer name.
5443 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5444 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5445 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5446 paragraph direction.
cce4b0a7 5447
621ef9ab
LMI
54482011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5449
d1583c48
LMI
5450 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5451 the man page name (bug#7929).
5452
6a57fb5f
LMI
5453 * image.el (put-image): Mention the `put-image' overlay property
5454 (bug#7834).
5455
d7956b14
LMI
5456 * scroll-bar.el (set-scroll-bar-mode): Mention that
5457 `scroll-bar-mode' lists the values (bug#7772).
5458
5b2d4a66
LMI
5459 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5460 command (bug#7729).
5461
7509a874
LMI
5462 * rect.el (apply-on-rectangle): Return the point after the last
5463 operation.
5464 (string-rectangle): Go to the point after the last operation
5465 (bug#7522).
5466
4fe74b19
LMI
5467 * printing.el (pr-toggle-region): Clarify the documentation
5468 slightly (bug#7493).
5469
b796c9b7
SM
5470 * time.el (display-time-update):
5471 Allow `display-time-mail-function' to return nil (bug#7158).
5472 Fix suggested by Detlev Zundel.
ab283561 5473
fc233c9d
LMI
5474 * vc/diff.el (diff): Clarify the order the file names are read
5475 (bug#7111).
5476
43f5740b
LMI
5477 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5478 the doc string (bug#7015).
5479
f2182a76
LMI
5480 * font-lock.el (font-lock-maximum-decoration): Mention what
5481 numeric levels mean (bug#6935).
5482
621ef9ab
LMI
5483 * startup.el (initial-buffer-choice): Don't mention the `none'
5484 selection, which is against policy.
5485
adc47434
MR
54862011-07-14 Martin Rudalics <rudalics@gmx.at>
5487
b796c9b7
SM
5488 * window.el (display-buffer-normalize-special):
5489 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5490
7e5bfb8f
EZ
54912011-07-14 Eli Zaretskii <eliz@gnu.org>
5492
5493 * subr.el (version<, version<=, version=): Mention "-CVS" and
5494 "-12345" alpha version numbers.
5495
27fa387a
CY
54962011-07-14 Chong Yidong <cyd@stupidchicken.com>
5497
5498 * bindings.el: Add advertised binding for set-mark-command
5499 (Bug#5772).
5500
8bdfa064
CY
55012011-07-14 Chong Yidong <cyd@stupidchicken.com>
5502
5503 * bindings.el (mode-line-other-buffer):
5504 * bookmark.el (bookmark-bmenu-2-window):
5505 * bs.el (bs-cycle-next, bs-cycle-previous):
5506 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5507 switch-to-buffer.
5508
5509 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5510 Delete.
8bdfa064 5511
5eba16a3
JB
55122011-07-14 Juanma Barranquero <lekktu@gmail.com>
5513
5514 * follow.el (follow-debug-message, follow-redisplay):
5515 * jka-cmpr-hook.el (with-auto-compression-mode):
5516 Fix typos in docstrings.
5517
15853710
LMI
55182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5519
a28e4607
LMI
5520 * subr.el (with-silent-modifications): Clarify somewhat what the
5521 macro inhibits (bug#6525).
5522
15853710
LMI
5523 * simple.el (eval-expression): Note what it does if called
5524 interactively (bug#6495).
5525
bee0fcef
CY
55262011-07-13 Chong Yidong <cyd@stupidchicken.com>
5527
b796c9b7
SM
5528 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5529 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5530
5531 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5532 Remove switch-to-buffer.
5533
58274504
LMI
55342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5535
bd2fcc8d
LMI
5536 * files.el (make-directory): Clarify that an error will be raised
5537 if there's an error (bug#6397).
5538
0f04b32c
LMI
5539 * startup.el (initial-buffer-choice): Add `none' as a choice
5540 (bug#6234).
5541
465c5fc8
LMI
5542 * subr.el (add-hook): Clarify section about buffer-local hooks
5543 (bug#6218).
5544
58274504
LMI
5545 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5546
bead9a43
JB
55472011-07-13 Juanma Barranquero <lekktu@gmail.com>
5548
5549 * tabify.el (untabify): Preserve the current column so that point
5550 doesn't move (bug#6032).
5551
3af98a7b
LMI
55522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5553
b796c9b7
SM
5554 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5555 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5556
6240145a
GM
55572011-07-13 Glenn Morris <rgm@gnu.org>
5558
5559 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5560 (dired-insert-directory): Give a message the first time
5561 if ls is found not to support --dired.
5562
1d8c2ccc
LMI
55632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5564
5565 * simple.el (toggle-truncate-lines): Clarify what is toggled
5566 (bug#5580). Text by Drew Adams.
5567
5fc4038e
CY
55682011-07-13 Chong Yidong <cyd@stupidchicken.com>
5569
5570 * simple.el (blink-matching-open): Make the error message from the
5571 last change less verbose.
5572
bf6012e5
DN
55732011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5574
5575 * font-lock.el (font-lock-comment-face): Use the high contrast
5576 "yellow" color for font-lock-comment-face on low color terminals
5577 using a dark background color (bug#4221).
5578
343c3b5a
LMI
55792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5580
7e9505c5
LMI
5581 * dired.el (dired-insert-set-properties): Make the doc string
5582 reflect what it does now (bug#5325).
5583
c26fdcf5
LMI
5584 * simple.el (blink-matching-open): Say that we were unable to find
5585 the match within the limit, if we're limited (bug#5122).
5586
bb388cc5
LMI
5587 * international/mule-cmds.el (prefer-coding-system): Add an
5588 example (bug#4869).
5589
343c3b5a
LMI
5590 * progmodes/etags.el (tags-search): Document `file-list-form'
5591 (bug#4731).
5592
2a517d45
LM
55932011-07-13 Lawrence Mitchell <wence@gmx.li>
5594
5595 * net/browse-url.el (browse-url-default-browser)
5596 (browse-url-browser-function): Make the default browser choice a
5597 bit more logical (bug#4300). Also clean up the doc string.
5598
b6c78ef2
JB
55992011-07-13 Juanma Barranquero <lekktu@gmail.com>
5600
5601 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5602 binary endings (bug#4440).
5603
1c4dd947
LMI
56042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5605
a2014063
LMI
5606 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5607 which can be pretty annoying (bug#8971).
5608
9c9c2d88
LMI
5609 * jka-compr.el (jka-compr-verbose): New variable, and use
5610 throughout (bug#8971).
5611
1c4dd947
LMI
5612 * info.el (Info-find-file): Fall back on the installation
5613 directory if we can't find the info node anywhere else.
5614
a1c9f41b
SO
56152011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5616
5617 * vc/vc.el (vc-revert-file):
5618 Don't set file time-stamp in the past. (Bug#5181)
5619
536f3d36
LMI
56202011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5621
7152b011
LMI
5622 * files.el (after-find-file): Give a better error message when
5623 trying to find a symlink that points to a file that doesn't exist
5624 (bug#4398).
5625
536f3d36
LMI
5626 * progmodes/cc-vars.el: Remove (probably) misleading comment
5627 (bug#4396).
5628
460c0fba
JB
56292011-07-12 Johan Bockgård <bojohan@gnu.org>
5630
5631 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5632
7a6bda45
CY
56332011-07-12 Chong Yidong <cyd@stupidchicken.com>
5634
5635 * mouse-sel.el: Hack restoring functionality, while keeping
5636 compatibility with 2010-07-03 changes to mouse selection.
5637 (mouse-sel-primary-overlay): New var.
5638 (mouse-sel-selection-alist): Use it.
5639 (mouse-sel-mode): Doc fix; remove points that are default features
5640 of mouse.el.
5641
c79598ef
JB
56422011-07-12 Johan Bockgård <bojohan@gnu.org>
5643
5644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5645 Fix previous fix (bug#2490).
5646
ff8be6ef
RW
56472011-07-12 Roland Winkler <winkler@gnu.org>
5648
b796c9b7
SM
5649 * textmodes/bibtex.el (bibtex-initialize):
5650 Use pop-to-buffer-same-window.
ff8be6ef
RW
5651 (bibtex-search-entries): Fix interactive call.
5652
296ba3ee
LMI
56532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5654
f5242a02 5655 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
5656 Fontise bytecomp Error lines more correctly (bug#2490).
5657 Fix suggested by Johan Bockgård.
f5242a02 5658
296ba3ee
LMI
5659 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5660
5661 * dired-x.el (dired-guess-default): Use `delete-dups'.
5662
f69fd0d2
CY
56632011-07-12 Chong Yidong <cyd@stupidchicken.com>
5664
5665 * dired.el (dired-mark-prompt):
5666 * dired-aux.el (dired-read-shell-command): Doc fix.
5667
eab5dc07
LMI
56682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5669
b796c9b7
SM
5670 * mail/sendmail.el (sendmail-query-once):
5671 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
5672 emacs -Q.
5673
5674 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5675
eab5dc07
LMI
5676 * cus-edit.el (custom-file): Take an optional no-error variable.
5677 (customize-save-variable): Set the variable, and give a warning if
5678 running under "emacs -q".
5679
a1e65d42
JB
56802011-07-11 Juanma Barranquero <lekktu@gmail.com>
5681
5682 * loadhist.el (unload-feature-special-hooks):
5683 Add `auto-coding-functions', `fill-nobreak-predicate' and
5684 `find-directory-functions' (bug#5327).
5685
1d52da10
LMI
56862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5687
be958f1d
LMI
5688 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5689
5bedb26c
LMI
5690 * cus-edit.el (custom-guess-name-alist): -alist variables should
5691 use the `alist' type (bug#3120). Suggested by Drew Adams.
5692
1d52da10
LMI
5693 * printing.el: Add documentation to all the `pr-toggle-' commands.
5694
cd394be1 56952011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
5696
5697 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5698 backends where it makes sense (bug#2623).
5699
dcc88d8a
LMI
57002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5701
c3de9feb
LMI
5702 * dired-x.el (dired-guess-default): Remove duplicate shell command
5703 entries (bug#2028).
8a93078b 5704 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 5705 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 5706
dcc88d8a
LMI
5707 * subr.el (remove-duplicates): New conveniency function.
5708
505e3645
LMI
57092011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5710
5711 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5712 (bug#1526).
5713
57142011-07-10 Martin Rudalics <rudalics@gmx.at>
5715
5716 * window.el (display-buffer-normalize-default): Don't invert
5717 meaning of even-window-heights. Reported by Eli Zaretskii
5718 <eliz@gnu.org>.
5719
455e4fa1
BR
57202011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5721
5722 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5723
8e0bc3e9
CY
57242011-07-10 Chong Yidong <cyd@stupidchicken.com>
5725
5726 * window.el (display-buffer): Fix arguments to
5727 display-buffer-reuse-window in last change.
5728
fa7c3228
CY
5729 * faces.el (link): Use a less saturated blue on light backgrounds.
5730
5731 * startup.el (fancy-startup-text, fancy-about-text)
5732 (fancy-startup-tail): Use font-lock faces, for background safety.
5733
c0a7f300
BN
57342011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5735
b796c9b7
SM
5736 * emulation/viper-cmd.el (viper-change-state-to-vi):
5737 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 5738
4dc2a129
MR
57392011-07-09 Martin Rudalics <rudalics@gmx.at>
5740
5741 * window.el (display-buffer-default-specifiers): Remove.
5742 (display-buffer-macro-specifiers): Remove default specifiers.
5743 (display-buffer-alist): Default to nil.
b796c9b7 5744 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
5745 (display-buffer-pop-up-window): Allow splitting internal
5746 windows. Check whether a live window was created.
5747 (display-buffer-other-window-means-other-frame)
5748 (display-buffer-normalize-arguments): Rename to
5749 display-buffer-normalize-argument and rewrite. Set the
5750 other-window specifier.
5751 (display-buffer-normalize-special): New function.
5752 (display-buffer-normalize-options): Rename to
5753 display-buffer-normalize-default and rewrite.
5754 (display-buffer-normalize-options-inhibit): Remove.
5755 (display-buffer-normalize-specifiers): Rewrite.
5756 (display-buffer): Process other-window specifier and call
5757 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5758 more faithfully.
b796c9b7 5759 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5760 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
5761 (display-buffer-in-window, display-buffer-alist-set):
5762 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
5763 <tassilo@member.fsf.org>.
5764
2d43b8c9
LL
57652011-07-09 Leo Liu <sdl.web@gmail.com>
5766
5767 * register.el (insert-register): Restore accidental change on
5768 2011-06-26. (Bug#9028)
5769
7f9b7c53
GM
57702011-07-09 Glenn Morris <rgm@gnu.org>
5771
5772 * subr.el (remq): Handle the empty list. (Bug#9024)
5773
f042cfd8
AS
57742011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5775
5776 * mail/sendmail.el (send-mail-function): No longer delay custom
5777 initialization.
5778 * custom.el (custom-initialize-delay): Doc fix.
5779
856b2f11
SM
57802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5781
5782 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5783
afae1d68
MA
57842011-07-08 Michael Albinus <michael.albinus@gmx.de>
5785
5786 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5787 human-friendly prompt.
5788
0757af94
SM
57892011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5792 provided by a particular plugin.
5793
d760b731
LMI
57942011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5795
5796 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5797 save customizations (with "emacs -Q"), just set the variable
5798 instead of erroring out.
5799
5800 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5801
cd79ce90
JL
58022011-07-08 Juri Linkov <juri@jurta.org>
5803
5804 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5805 (archive-zip-update-case): Use 7z if found by `executable-find'.
5806 The order of searching the available programs is the same as in
5807 `archive-zip-extract' (bug#8968).
5808
14cc04aa
CY
58092011-07-07 Chong Yidong <cyd@stupidchicken.com>
5810
5811 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5812 (menu-bar-options-menu): Tweak descriptions.
5813
0a1848ec
LMI
58142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5815
5816 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5817 menu items into verb phrases (bug#1421). Also refill to fit under
5818 80 columns.
5819
f5bd0689
CY
58202011-07-07 Chong Yidong <cyd@stupidchicken.com>
5821
538e85c6
CY
5822 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5823 (Info-read-node-name): Doc fix (Bug#1084).
5824
f5bd0689
CY
5825 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5826 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5827 (end-of-sexp, beginning-of-sexp)
5828 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5829 (forward-symbol, forward-same-syntax, word-at-point)
5830 (sentence-at-point): Doc fix (Bug#1144).
5831
56ec5115
LMI
58322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5833
f3f8e37f
LMI
5834 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5835 should cover it (bug#1281).
5836
0757af94 5837 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 5838
e9fce1ac 5839 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5840 negotiation fails, then possibly try again with a non-encrypted
5841 connection (bug#9017).
5842
56ec5115
LMI
5843 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5844 be used.
5845
c2f9aec8
RS
58462011-07-07 Richard Stallman <rms@gnu.org>
5847
5848 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5849 property, and handle its changed format.
5850 Look for the correct line number.
5851 Use file's line contents (but not past first =) to find
5852 correct line in message.
5853
ef7b981d 58542011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5855
5856 * international/characters.el (build-unicode-category-table):
5857 Delete it.
0757af94 5858 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5859
0757af94 5860 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5861 to src/chartab.c.
5862 (get-char-code-property): Call unicode-property-table-internal to
5863 load a file. Call get-unicode-property-internal where necessary.
5864 (put-char-code-property): Call unicode-property-table-internal to
5865 load a file. Call put-unicode-property-internal where necessary.
5866 put-unicode-property-internal where necessary.
0757af94
SM
5867 (char-code-property-description):
5868 Call unicode-property-table-internal to load a file.
c805dec0
KH
5869
5870 * international/charprop.el:
5871 * international/uni-bidi.el:
5872 * international/uni-category.el:
5873 * international/uni-combining.el:
5874 * international/uni-comment.el:
5875 * international/uni-decimal.el:
5876 * international/uni-decomposition.el:
5877 * international/uni-digit.el:
5878 * international/uni-lowercase.el:
5879 * international/uni-mirrored.el:
5880 * international/uni-name.el:
5881 * international/uni-numeric.el:
5882 * international/uni-old-name.el:
5883 * international/uni-titlecase.el:
5884 * international/uni-uppercase.el: Regenerate.
5885
5886 * loadup.el: Load international/charprop.el before
5887 international/characters.
5888
e14b388a
CY
58892011-07-07 Chong Yidong <cyd@stupidchicken.com>
5890
5891 * window.el (next-buffer, previous-buffer): Signal an error if
5892 called from a minibuffer window.
5893
5894 * bindings.el: Revert 2011-07-04 change.
5895
354cf0ba
RS
58962011-07-06 Richard Stallman <rms@gnu.org>
5897
5898 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5899 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5900 Treat markers like ints.
5901 (rmail-mime-entity): Doc fix.
5902
a48868a7
LMI
59032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5904
4906cd3d
LMI
5905 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5906 defcustom again for backwards compatibility.
5907
e0457abe
LMI
5908 * simple.el (shell-command-on-region): Fill.
5909
d67f7e1f
LMI
5910 * dired-aux.el (dired-kill-line): Add a doc string.
5911
fe204702
LMI
5912 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5913 to "\\sw\\|\\s_" (bug#358).
5914
a48868a7
LMI
5915 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5916 (dired-unmark-backward): Ditto.
5917 (dired-flag-backup-files): Ditto.
5918
5919 * dired-x.el (dired-mark-sexp): Ditto.
5920
aa8a705c
RS
59212011-07-06 Richard Stallman <rms@gnu.org>
5922
5923 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5924 (rmail-mime-entity): New arg TRUNCATED.
5925 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5926 New functions.
5927 (rmail-mime-save): Warn if entity is truncated.
5928 (rmail-mime-toggle-hidden): Likewise, for showing.
5929 (rmail-mime-process-multipart): Record when an entity is truncated.
5930
a9a936b9
RS
5931 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5932 if ENTITY is a string.
5933
1f2b92cb
LMI
59342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5935
f4f73198 5936 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
5937 of faces when `M-C-x'-ing their definitions (bug#8378).
5938 Also clean up the code slightly.
f4f73198 5939
12b16734 5940 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 5941 because that makes the colors go away.
12b16734 5942
f0691d22
LMI
5943 * mail/sendmail.el (send-mail-function): Change the default to
5944 `sendmail-query-once'.
9e87df06 5945 (sendmail-query-once): Add an autoload cookie.
f0691d22 5946
1f2b92cb
LMI
5947 * net/network-stream.el (network-stream-open-starttls): Try using
5948 a plain connection even if the server offered STARTTLS, and we
5949 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5950 capability. This should make smtpmail.el work in slightly more
5951 configurations.
5952
1cdd2a1b
MA
59532011-07-06 Michael Albinus <michael.albinus@gmx.de>
5954
5955 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5956 New defun.
5957 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5958
fbcc67e2
MM
59592011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5960
5961 * progmodes/sql.el: Version 3.0
0757af94 5962 (sql-product-alist): Add product :completion-object,
fbcc67e2 5963 :completion-column, and :statement attributes.
0757af94 5964 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 5965 (sql-mode-syntax-table): Mark all punctuation.
0757af94 5966 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
5967 ansi keywords.
5968 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 5969 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
5970 (sql-oracle-show-reserved-words): New function for development.
5971 (sql-product-font-lock): Simplify for source code buffers.
5972 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5973 New functions.
5974 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
5975 (sql-mode-map): Add statement movement functions.
5976 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5977 New variable.
fbcc67e2
MM
5978 (sql-statement-regexp, sql-beginning-of-statement)
5979 (sql-end-of-statement, sql-signum): New functions.
0757af94 5980 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
5981 (sql-show-sqli-buffer): Bug fix.
5982 (sql-interactive-mode): Store connection data as buffer local.
0757af94 5983 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
5984 with sql-interactive-mode.
5985 (sql-save-connection): Save buffer local settings.
0757af94 5986 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
5987 (sql-product-interactive): Bug fix.
5988 (sql-preoutput-hold): New variable.
5989 (sql-interactive-remove-continuation-prompt): Bug fixes.
5990 (sql-debug-redirect): New variable.
5991 (sql-str-literal): New function.
5992 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 5993 Redesign.
fbcc67e2
MM
5994 (sql-oracle-save-settings, sql-oracle-restore-settings)
5995 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5996 (sql-completion-object, sql-completion-column)
5997 (sql-completion-sqlbuf): New variables.
5998 (sql-build-completions-1, sql-build-completions)
5999 (sql-try-completion): New functions.
6000 (sql-read-table-name): Use them.
6001 (sql-contains-names): New buffer local variable.
6002 (sql-list-all, sql-list-table): Use it.
6003 (sql-oracle-completion-types): New variable.
6004 (sql-oracle-completion-object, sql-sqlite-completion-object)
6005 (sql-postgres-completion-object): New functions.
6006
d4eaeab1
GM
60072011-07-06 Glenn Morris <rgm@gnu.org>
6008
6009 * window.el (pop-to-buffer): Doc fix.
6010
322b7dab 60112011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6012
6013 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6014
322b7dab 60152011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6016
322b7dab 6017 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6018
322b7dab 6019 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6020
605dd5bf
CY
60212011-07-05 Chong Yidong <cyd@stupidchicken.com>
6022
6023 * button.el (button): Inherit from link face. Suggested by Dan
6024 Nicolaescu.
6025
7dbfa719
SM
60262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6027
3db614b0
SM
6028 * progmodes/gdb-mi.el: Fit in 80 columns.
6029 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6030 switch-to-buffer.
6031
7dbfa719
SM
6032 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6033 if imenu is simply not configured (bug#8941).
6034
919d884a
KM
60352011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6036
6037 * allout.el (allout-post-undo-hook): New allout outline-change
6038 event hook to signal undo activity.
6039 (allout-post-command-business): Run allout-post-undo-hook if an
6040 undo just occurred.
7dbfa719
SM
6041 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6042 * allout-widgets.el (allout-widgets-after-undo-function):
6043 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6044 in the vicinity of an undo.
6045 (allout-widgets-mode): Include allout-widgets-after-undo-function
6046 on the new allout-post-undo-hook.
6047
450a0f09
SM
60482011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6051 Let define-derived-mode define it.
6052 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6053 cycles of abbrev-table inheritance (bug#8998).
6054
2de69e00
RW
60552011-07-05 Roland Winkler <winkler@gnu.org>
6056
6057 * textmodes/bibtex.el: Add support for biblatex.
6058 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6059 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6060 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6061 (bibtex-entry-alist, bibtex-field-alist): New variables.
6062 (bibtex-entry-field-alist): Obsolete alias for
6063 bibtex-BibTeX-entry-alist.
6064 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6065 (bibtex-set-dialect): New command.
6066 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6067 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6068 Bind via bibtex-set-dialect.
2de69e00
RW
6069 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6070 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6071 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6072 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6073 Define via bibtex-set-dialect.
450a0f09
SM
6074 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6075 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6076 (bibtex-vec-push, bibtex-vec-incr): New functions.
6077 (bibtex-format-entry, bibtex-field-list)
6078 (bibtex-print-help-message, bibtex-validate)
6079 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6080
2dcdbdd9
SM
60812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * progmodes/compile.el (compilation-goto-locus):
6084 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6085 * bs.el (bs-cycle-next, bs-cycle-previous):
6086 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6087 * bindings.el (mode-line-other-buffer):
6088 * autoinsert.el (auto-insert):
6089 * arc-mode.el (archive-extract):
6090 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6091
b27640fe
JB
60922011-07-05 Juanma Barranquero <lekktu@gmail.com>
6093
6094 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6095 Fix check of `emacs-lock-unlockable-modes'.
6096 Coerce true values of `emacs-lock--try-unlocking' to t.
6097
53bbe3ad
JB
60982011-07-05 Juanma Barranquero <lekktu@gmail.com>
6099
6100 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6101 * emacs-lock.el: New file.
6102
1d3cdbc7
JD
61032011-07-05 Julien Danjou <julien@danjou.info>
6104
6105 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6106 than `boundp' to check if face is set.
6107
9173deec
JB
61082011-07-05 Juanma Barranquero <lekktu@gmail.com>
6109
6110 * register.el (registerv-make):
6111 * window.el (window-min-height): Fix typos in docstrings.
6112
869795d6
JD
61132011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6114
9173deec 6115 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6116 Update doc string.
6117
b768cdcd
JB
61182011-07-04 Juanma Barranquero <lekktu@gmail.com>
6119
6120 * server.el (server-execute): Catch quit and call
6121 `server-return-error' to pass the error back to emacsclient and
6122 close the connection (bug#8942).
6123
13aa217b
KM
61242011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6125
6126 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6127 insecure exception for current topic. Also note that auto-saves
6128 are handled differently.
6129
6130 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6131 State variables for tracking auto-save inhibition situation.
6132
6133 (allout-write-contents-hook-handler): Rename from
6134 'allout-write-file-hook-handler', and describe how it depends on
6135 write-contents-functions sensitivity to non-nil value to prevent
6136 file write.
6137
6138 (allout-auto-save-hook-handler): Remove. auto-save does not check
6139 this in individual buffers, only in the starting buffer, so this
6140 is not the right way for us to inhibit auto-save in a buffer
6141 according to its condition.
6142
6143 (allout-mode): Use new allout-write-contents-hook-handler, and
6144 only with write-contents-functions. Remove auto-save provisions -
6145 they're implemented elsewhere.
6146
6147 (allout-before-change-handler): If undo is in progress, note that
6148 for attention of allout-post-command-business.
6149
6150 (allout-post-command-business): If the command we're following was
6151 an undo, check for change in the status of encrypted items and
6152 adjust auto-save inhibitions accordingly.
6153
6154 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6155 according to whether there are or aren't any plain-text topics
6156 pending encryption.
6157
2dcdbdd9 6158 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6159 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6160 if there are plain-text topics pending encryption.
13aa217b
KM
6161
6162 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6163 buffer-saved-size and some allout state to not inhibit auto-saves
6164 if there are no longer any plain-text topics pending encryption.
6165
0757af94
SM
6166 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6167 No longer provide for exemption of the current topic.
13aa217b 6168
ac89b32c
JL
61692011-07-04 Juri Linkov <juri@jurta.org>
6170
6171 Add 7z operations to delete and save changed members (bug#8968).
6172 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6173 New defcustoms.
6174 (archive-7z-write-file-member): New function.
6175 (archive-7z-summarize): Fix the number of dashes in the
6176 listing output.
6177
8fa39615
SM
61782011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6181 (bug#8958).
6182
2f11b3f1
CY
61832011-07-04 Chong Yidong <cyd@stupidchicken.com>
6184
d66fef2b
CY
6185 * bindings.el: Ignore next-buffer and previous-buffer in
6186 minibuffer-local-map.
6187
2f11b3f1
CY
6188 * font-lock.el (font-lock-builtin-face): Change light background
6189 color to dark slate blue (Bug#6693).
6190
f932a347
WD
61912011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6192
6193 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6194
c8af70e1
SM
61952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6198 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6199 Add switch-to-buffer.
6200
f158badc
LMI
62012011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6202
6203 * isearch.el (isearch-search-fun-function): Clarify further the
6204 meaning of the function returned.
6205
6d95bd46
MA
62062011-07-04 Michael Albinus <michael.albinus@gmx.de>
6207
6208 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6209
6210 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6211 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6212 Use it.
6213 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6214 `tramp-default-remote-path' does not exist.
6215 (tramp-send-command-and-read): New optional argument NOERROR.
6216 (tramp-open-connection-setup-interactive-shell)
6217 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6218 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6219 (tramp-process-sentinel): Flush also process' connection property.
6220 (tramp-sh-handle-start-file-process): Do not set process
6221 sentinel. It is done now ...
6222 (tramp-maybe-open-connection): ... here. (Bug#8929)
6223
909e6b67
MK
62242011-07-04 MON KEY <monkey@sandpframing.com>
6225
6226 * play/animate.el (animate-string): Doc fixes and allow changing
6227 the buffer name (bug#5417).
6228
62292011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6230
c8af70e1 6231 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6232
f34755dc
PE
62332011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6234
396cec72
PE
6235 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6236 This is simpler and helps future-proof the code.
6237 (timer-until): Use time-subtract and float-time.
08235028 6238 (timer--time-less-p): Use time-less-p.
f34755dc 6239
56e6cc31
JB
62402011-07-04 Juanma Barranquero <lekktu@gmail.com>
6241
3abb79e5
JB
6242 * type-break.el (timep): Use the value of `float-time' to avoid a
6243 byte-compiler warning.
6244
56e6cc31
JB
6245 * server.el (server-eval-and-print): Return any result, even nil.
6246
7b9430b4
PE
62472011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6248
6249 * type-break.el: Accept time formats that the builtins accept.
6250 (timep, type-break-time-difference): Accept any format that
6251 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6252 This is simpler and helps future-proof the code.
6253 (type-break-time-difference): Round rather than ignoring
6254 subseconds components.
6255
3034e9e7
LMI
62562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6257
6258 * info.el (Info-apropos-matches): Make non-interactive, since it
6259 doesn't seem to do anything useful as a command (bug#8829).
6260
1485f4c0
CY
62612011-07-03 Chong Yidong <cyd@stupidchicken.com>
6262
6263 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6264 Move from faces.el.
1485f4c0
CY
6265 (frame-default-terminal-background): New function.
6266
6267 * custom.el (custom-push-theme): Don't record faces in `changed'
6268 theme; this doesn't work correctly for per-frame face settings.
6269 (disable-theme): Use face-set-after-frame-default to reset faces.
6270 (custom--frame-color-default): New function.
6271
9fa3dd45
LMI
62722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6273
c8af70e1 6274 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6275 (bug#8769).
6276
6cbbc20c
KR
62772011-03-29 Kevin Ryde <user42@zip.com.au>
6278
6279 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6280 `perl-Test2' extend to match possible "fail #N" rep count
6281 (bug#8377).
6282
c7f98048
LMI
62832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6284
65676592
LMI
6285 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6286 `smtpmail-via-smtp' now returns the error instead of nil.
6287
c7f98048
LMI
6288 * isearch.el (isearch-search-fun-function): Clarify the doc string
6289 (bug#8101).
6290
56e6cc31 62912011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6292
6293 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6294 unnecessary spaces (bug#8987).
6295
2b216704
LMI
62962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6297
6298 * net/network-stream.el (open-network-stream): Use the
6299 :end-of-capability command thoughout.
6300
63012011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6302
6303 * net/network-stream.el (open-network-stream): Add the
6304 :end-of-capability command parameter, used by pop3.el.
6305
36adf6ce
LMI
63062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6307
1ca0da0e
LMI
6308 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6309
fc00f69c
LMI
6310 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6311 for list)" (bug#6475).
6312
28fd8759 6313 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6314 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6315 an error (bug#6297).
6316
0dd8b6da
LMI
6317 * man.el (Man-reference-regexp): Allow matching possible
6318 word-wrapped references (bug#6289).
6319
ce1438d6
LMI
6320 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6321 for consistency with the other vc buffers (bug#6197).
6322 (vc-checkin): Ditto.
6323
6324 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6325
36adf6ce
LMI
6326 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6327
e83cc1f7
LMI
63282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6329
8a20ca4c
LMI
6330 * custom.el (defcustom): Clarify that :set is only used in the
6331 Customize user interface (bug#6089).
6332
83319045
LMI
6333 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6334 associated with a file, refuse to run instead of erroring out
6335 (bug#6084).
6336
a8392169
LMI
6337 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6338 the doc string, since it appears that using `fill-column' always
6339 controls the width (bug#7845).
6340
e83cc1f7
LMI
6341 * simple.el (shell-command-on-region): Say where the error output
6342 went if `shell-command-default-error-buffer' is set (bug#6857).
6343
e47ca23b
KM
63442011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6345
6346 * allout.el (allout-yank-processing): Adjust cursor position for
6347 backwards-deleted space.
6348
6349 (allout-rebullet-heading): Register changes with
6350 allout-exposure-changed-hook, so the modified topic is properly
6351 decorated.
6352
5cf56143
LMI
63532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6354
08549772
LMI
6355 * minibuffer.el (completion-in-region): Document PREDICATE
6356 (bug#7136).
6357
48e96771
LMI
6358 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6359 of keyword/argument pairs (bug#6904).
6360
c8af70e1
SM
6361 * replace.el (multi-occur):
6362 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6363
e17d05e2
LMI
63642011-07-02 Drew Adams <drew.adams@oracle.com>
6365
6366 * dired.el (dired-mark-if): Make the message about whether it's
6367 marking or unmarking clearer (bug#8523).
6368
063b0e45
LMI
63692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6370
6371 * disp-table.el (display-table-print-array): New function.
6372 (describe-display-table): Use it to print the vectors more pretty
6373 (Bug#8859).
6374
28545e04
MR
63752011-07-02 Martin Rudalics <rudalics@gmx.at>
6376
6377 * window.el (window-state-get-1): Don't assign clone numbers.
6378 Add clone-of item to list of window parameters.
6379 (window-state-put-2): Don't process clone numbers.
6380 (display-buffer-alist): Fix doc-string.
6381
3349e122
SM
63822011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6383
6384 * subr.el (remq): Don't allocate if it's not needed.
6385 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6386 (keymap--merge-bindings): New functions.
6387 (keymap-canonicalize): Use them to refine the canonicalization.
6388 * minibuffer.el (minibuffer-local-completion-map)
6389 (minibuffer-local-must-match-map): Move initialization from C.
6390 (minibuffer-local-filename-completion-map): Move initialization from C;
6391 don't inherit from anything here.
6392 (minibuffer-local-filename-must-match-map): Make obsolete.
6393 (completing-read-default): Use make-composed-keymap to combine
6394 minibuffer-local-filename-completion-map with either
6395 minibuffer-local-must-match-map or
6396 minibuffer-local-filename-completion-map.
6397
d224ac83
GM
63982011-07-01 Glenn Morris <rgm@gnu.org>
6399
3de63bf8
GM
6400 * type-break.el (type-break-time-sum): Use dolist.
6401
d224ac83
GM
6402 * textmodes/flyspell.el (flyspell-word-search-backward):
6403 Replace CL function.
6404
1a1e3f32
SM
64052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6406
fe3f64d5
SM
6407 * mouse.el (mouse--strip-first-event): New function.
6408 (function-key-map): Use it to map fringe clicks to normal clicks
6409 by default.
6410
eb604e34
SM
6411 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6412 (vc-bzr-revision-completion-table): Add support for annotate and date.
6413
1a1e3f32
SM
6414 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6415 inherit from parent.
6416
5bd35902
LMI
64172011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6418
ace6c69c 6419 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6420 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6421
191e2bed
LMI
6422 * dired.el (dired-mode): Fix up the doc string as suggested by
6423 Drew Adams (bug#8817).
6424
5bd35902
LMI
6425 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6426 cookie, since the manual says that it should be possible to add
6427 this function to `find-file-hook' (bug#8709).
6428
eee8207a
TZ
64292011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6430
6431 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6432 here. Noted Ted Zlatanov as the maintainer.
6433 (cfengine-common-settings, cfengine-common-syntax): New functions
6434 to set up common things between `cfengine-mode' and
6435 `cfengine3-mode'.
6436 (cfengine3-mode): New mode.
6437 (cfengine3-defuns cfengine3-defuns-regex
6438 (cfengine3-class-selector-regex cfengine3-category-regex)
6439 (cfengine3-vartypes cfengine3-font-lock-keywords)
6440 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6441 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6442
36b148cf
MA
64432011-07-01 Michael Albinus <michael.albinus@gmx.de>
6444
6445 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6446
6447 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6448
0bf4ba9a
MR
64492011-07-01 Martin Rudalics <rudalics@gmx.at>
6450
6451 * window.el (same-window-buffer-names, same-window-regexps)
6452 (same-window-p, special-display-frame-alist)
6453 (special-display-popup-frame, special-display-function)
6454 (special-display-buffer-names, special-display-regexps)
6455 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6456 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6457 (split-window-preferred-function, split-height-threshold)
6458 (split-width-threshold, even-window-heights)
6459 (display-buffer-mark-dedicated, window-splittable-p)
6460 (split-window-sensibly, window-safely-shrinkable-p):
6461 Un-obsolete.
6462 (display-buffer): Don't spread args with function specifier
6463 because special-display-popup-frame won't like it.
6464
35837f51
PE
64652011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6466
d0672f86
PE
6467 Time-stamp simplifications and fixes.
6468 These improve accuracy slightly, and future-proof the code
6469 against some potential changes to current-time format.
6470
b9444d97
PE
6471 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6472 by using time-since and float-time.
6473
0ef923dc
PE
6474 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6475 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6476 + NNN microseconds".
6477
2f81380d
PE
6478 * type-break.el (type-break-time-sum): Rewrite using time-add.
6479
845b5c3e
PE
6480 * play/hanoi.el (hanoi-current-time-float): Remove.
6481 All uses replaced by float-time.
6482
ee6f1be0
PE
6483 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6484 This yields a more-accurate answer.
6485 (rng-time-to-float): Remove; no longer needed.
6486
fe955043
PE
6487 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6488
5777162a
PE
6489 * calendar/timeclock.el (timeclock-seconds-to-time):
6490 Defalias to seconds-to-time, since they're the same thing.
6491
3103f8b6 6492 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6493 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6494 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6495
0e61a35f
SM
64962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * window.el (bury-buffer): Don't iconify the only frame.
6499 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6500 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6501
ddd63a1e
CY
65022011-07-01 Chong Yidong <cyd@stupidchicken.com>
6503
0e61a35f
SM
6504 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6505 Add mouse-yank-primary.
ddd63a1e 6506
055f4923
TZ
65072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6508
6509 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6510
6a2fb145
SM
65112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6512
6513 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6514 (find-library-name): Use it to find relative load names when provided
6515 absolute file name (bug#8803).
6516
fd4983f2
LMI
65172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6518
887d14ad
LMI
6519 * textmodes/flyspell.el (flyspell-word): Consider words that
6520 differ only in case as potential doublons (bug#5687).
6521
c53dc7fc
LMI
6522 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6523 Remove two rather uninteresting debugging-like messages to make
6524 debbugs.el more silent.
6525
fd4983f2
LMI
6526 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6527 a password-like phrase.
6528
7a71b18d 65292011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
6530
6531 * progmodes/cc-guess.el: New file.
6532
6a2fb145 6533 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6534
6535 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6536 derived from `c-basic-common-init'.
6537
6538 * progmodes/cc-mode.el (top-level): Require cc-guess.
6539 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6540
1fa280a3
LM
65412011-06-30 Lawrence Mitchell <wence@gmx.li>
6542
6543 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6544
e6597158
AM
65452011-06-30 Alan Mackenzie <acm@muc.de>
6546
1fa280a3
LM
6547 * progmodes/cc-engine.el (c-guess-continued-construct):
6548 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6549 lock is disabled. Name this case as "CASE G".
6550
68ba37fb
KM
65512011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6552
6553 * allout.el (allout-yank-processing): Fix injection of extra space
6554 between bullet and non-whitespace character in first topic when
6555 pasting, ensuring that the actual spacing in the pasted topic
6556 following the bullet char is preserved. This extra space was
6557 causing pasted encrypted topics to get a decrypted status even
6558 when the content was actually still encrypted. Now the decryption
6559 status from before the paste is preserved.
6560
6561 (allout-flag-region): Set all allout overlays so they evaporate
6562 when reduced to zero length (evanescent), to prevent overlay
6563 leakage.
6564
887a0b34
GM
65652011-06-30 Glenn Morris <rgm@gnu.org>
6566
94b9acce
GM
6567 * w32-fns.el (w32-charset-info-alist): Declare.
6568
1d9b46d4
GM
6569 * find-dired.el (find-grep-options): Simplify.
6570
cc232200
GM
6571 * term/ns-win.el (ns-set-resource): Declare.
6572
28e77c46
GM
6573 * ses.el (row, col): Declare dynamic variables honestly.
6574
887a0b34
GM
6575 * textmodes/reftex-parse.el (index-tags): Declare.
6576
658d8eb8
CY
65772011-06-30 Chong Yidong <cyd@stupidchicken.com>
6578
6579 * cus-edit.el (customize-push-and-save): New function.
6580
6581 * files.el (hack-local-variables-confirm): Use it.
6582
1fa280a3
LM
6583 * custom.el (load-theme): New arg NO-CONFIRM.
6584 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
6585 (custom-enabled-themes): Doc fix.
6586
6587 * cus-theme.el (customize-create-theme)
6588 (custom-theme-merge-theme): Callers to load-theme changed.
6589
bb617717
LMI
65902011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6591
d61bdd5d
LMI
6592 * thingatpt.el (thing-at-point-short-url-regexp): Require that
6593 short URLs have at least one dot in them (bug #7614).
6594
bb617717
LMI
6595 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6596 nil, because using a pty is apparently too slow (bug #895).
6597
2f31f37a
LMI
65982011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6599
6600 * mail/sendmail.el (sendmail-query-once): New function.
6601 (sendmail-query-once-function): New variable.
6602
3076b24e
GM
66032011-06-29 Glenn Morris <rgm@gnu.org>
6604
faf2a174
GM
6605 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6606
3076b24e
GM
6607 * ses.el (top-level): Require cl when compiling.
6608 (ses-set-localvars): Fix error statement.
6609 Call it at compile time to silence a storm of warnings.
6610
5386012d
MR
66112011-06-29 Martin Rudalics <rudalics@gmx.at>
6612
6613 * window.el (normalize-live-buffer): Rename to
6614 window-normalize-buffer.
6615 (normalize-live-frame): Rename to window-normalize-frame.
6616 (normalize-any-window): Rename to window-normalize-any-window.
6617 (normalize-live-window): Rename to window-normalize-live-window.
6618 (make-window-atom): Rename to window-make-atom.
6619 (window-resize-reset): Rename to window--resize-reset.
6620 (window-resize-reset-1): Rename to window--resize-reset-1.
6621 (resize-mini-window): Rename to window--resize-mini-window.
6622 (resize-subwindows-skip-p): Rename to
6623 window--resize-subwindows-skip-p.
6624 (resize-subwindows-normal): Rename to
6625 window--resize-subwindows-normal.
6626 (resize-subwindows): Rename to window--resize-subwindows.
6627 (resize-other-windows): Rename to window--resize-siblings.
6628 (resize-this-window): Rename to window--resize-this-window.
6629 (resize-root-window): Rename to window--resize-root-window.
6630 (resize-root-window-vertically): Rename to
6631 window--resize-root-window-vertically.
6632 (normalize-buffer-to-display): Rename to
6633 window-normalize-buffer-to-display.
6634 (normalize-buffer-to-switch-to): Rename to
6635 window-normalize-buffer-to-switch-to.
6636 Correspondingly update all callers of the functions listed
6637 above.
6638 (display-buffer-alist, display-buffer-normalize-arguments)
6639 (display-buffer-normalize-options, display-buffer)
6640 (display-buffer-alist-set): Use "function" instead of
6641 "fun-with-args".
6642
1176868d
CY
66432011-06-28 Chong Yidong <cyd@stupidchicken.com>
6644
6645 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6646 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6647 debbugs.gnu.org. Mention acknowledgment email.
6648
20a7a65f
LMI
66492011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6650
6651 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6652 buffer multibyteness, since it shouldn't matter.
6653
5f45cca5
MR
66542011-06-28 Martin Rudalics <rudalics@gmx.at>
6655
6656 * window.el (display-buffer-in-side-window): Handle dedicated
6657 windows as in display-buffer-reuse-window.
6658 (display-buffer-normalize-alist): Use value of override
6659 specifier.
6660 (display-buffer-normalize-specifiers): Use value of
6661 other-window-means-other-frame specifier.
6662 (display-buffer-alist): Rewrite some texts in widgets.
6663 (display-buffer): Spread arguments when calling function
6664 specified by fun-with-args.
6665
ad85fe1f
DD
66662011-06-28 Deniz Dogan <deniz@dogan.se>
6667
1fa280a3
LM
6668 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6669 Unnest `let'.
da68c4c8 6670
ad85fe1f
DD
6671 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6672 selectors (Bug#5732).
ec49bd31 6673 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 6674
a08cc025
JA
66752011-06-27 Jari Aalto <jari.aalto@cante.net>
6676
6677 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6678 (eshell-ls-date-format): New defcustom.
6679 (eshell-ls-file): Use it.
6680
e2b551c5
SM
66812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6684
8982b231
KY
66852011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6686
6687 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6688 (ange-ftp-make-tmp-name): New arg.
6689 (ange-ftp-file-local-copy): Use it.
6690
36c9fa27
J
66912011-06-27 Jambunathan K <kjambunathan@gmail.com>
6692
6693 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6694 no-conversion (Bug#8870).
6695
d68443dc
MR
66962011-06-27 Martin Rudalics <rudalics@gmx.at>
6697
6698 * window.el (window-right, window-left, window-child)
6699 (window-child-count, window-last-child)
6700 (window-iso-combination-p, walk-window-tree-1)
6701 (window-atom-check-1, window-tree-1, delete-window)
6702 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6703 new naming conventions - window-vchild, window-hchild,
6704 window-next and window-prev are now called window-top-child,
6705 window-left-child, window-next-sibling and window-prev-sibling
6706 respectively.
d615d6d2
MR
6707 (resize-window-reset): Rename to window-resize-reset.
6708 (resize-window-reset-1): Rename to window-resize-reset-1.
6709 (resize-window): Rename to window-resize.
6710 (window-min-height, window-min-width)
6711 (resize-mini-window, resize-this-window, resize-root-window)
6712 (resize-root-window-vertically, adjust-window-trailing-edge)
6713 (enlarge-window, shrink-window, maximize-window)
6714 (minimize-window, delete-window, quit-restore-window)
6715 (split-window, balance-windows, balance-windows-area-adjust)
6716 (balance-windows-area, window-state-put-2)
6717 (display-buffer-even-window-sizes, display-buffer-set-height)
6718 (display-buffer-set-width, set-window-text-height)
6719 (fit-window-to-buffer): Rename all "resize-window" prefixed
6720 calls to use the "window-resize" prefix convention.
6721 (display-buffer-alist): Fix symbol for label specifier.
6722 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6723 corresponding specifier.
6724 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 6725
b6458526
VB
67262011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6727
6728 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6729 convention.
6730 (ses-call-printer): Does not pass an empty string to formatter when the
6731 cell is empty to keep from barking printer Calc math-format-value.
6732
d31fd9ac
RS
67332011-06-27 Richard Stallman <rms@gnu.org>
6734
43d5bf84
RS
6735 * battery.el (battery-mode-line-limit): New variable.
6736 (battery-update): Handle it.
6737
d31fd9ac
RS
6738 * mail/rmailmm.el (rmail-mime-process-multipart):
6739 Handle truncated messages.
6740
819a6054
GM
67412011-06-27 Glenn Morris <rgm@gnu.org>
6742
6743 * progmodes/flymake.el (flymake-err-line-patterns):
6744 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6745
cedc73f2
VB
67462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6747
819a6054 6748 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6749 (ses--clean-!, ses--clean-_): New functions.
6750 (ses-range): Add configurability of readout order, and conversion
6751 to Calc vector.
6752
5e5d49b6
VB
6753 * ses.el (ses-repair-cell-reference-all): New function.
6754 (ses-cell-symbol): Set macro as safe, so that it can be used in
6755 formulas.
6756
56e6cc31 6757 * ses.el: Update cycle detection algorithm.
90ca8b49 6758 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6759 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6760 (ses-set-localvars): New function.
6761 (ses-make-cell): Add property-list as a cell element.
6762 (ses-cell-property-get-fun, ses-cell-property-get)
6763 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
6764 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6765 New functions.
90ca8b49
VB
6766 (ses-cell-property-set, ses-cell-property-pop)
6767 (ses-cell-property-get-handle): New macro.
6768 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6769 New aliases, used for code readability.
6770 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6771 cycle detection.
6772 (ses-self-reference-early-detection): New defcustom.
fac916bf 6773 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
6774 (ses-mode): Use ses-set-localvars.
6775 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6776 before lauching the update processing.
6777 (ses-initialize-Dijkstra-attempt): New function.
6778 (ses-recalculate-cell): Update for cycle detection based on
6779 Dijkstra algorithm.
6780
2bb63e81
VB
6781 * ses.el: Fix commenting and indenting convention.
6782
c9d29fb8
SM
67832011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * bs.el (bs-cycle-next): Complete last change.
6786
d8e4b68b
JB
67872011-06-27 Drew Adams <drew.adams@oracle.com>
6788
6789 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6790
40098786
LMI
67912011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6792
c9d29fb8
SM
6793 * net/network-stream.el (network-stream-open-starttls):
6794 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
6795 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6796
40098786
LMI
6797 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6798 to binary to possibly avoid line encoding issues on Windows (among
6799 other things).
6800
468d09d4
LMI
68012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802
6803 * net/network-stream.el (open-network-stream): Return an :error
6804 saying what the problem was, if possible.
6805
6806 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6807 server.
6808
6809 * net/network-stream.el (network-stream-open-starttls): If we
6810 wanted to use STARTTLS, and the server offered it, but we weren't
6811 able to because we had no STARTTLS support, then close the connection.
6812 (open-network-stream): Return an :error element, if present.
6813
16f07dd7
CY
68142011-06-26 Chong Yidong <cyd@stupidchicken.com>
6815
88821ca0
CY
6816 * hl-line.el (hl-line-sticky-flag): Doc fix.
6817 (global-hl-line-sticky-flag): New option (Bug#8323).
6818 (global-hl-line-highlight): Obey it.
6819
16f07dd7
CY
6820 * vc/vc.el (vc-revert-show-diff): Default to t.
6821
6b5ccddf
KM
68222011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6823
c9d29fb8
SM
6824 * allout-widgets.el (allout-widgets-post-command-business):
6825 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
6826 undecorated when an isearch is continued past, and isearch
6827 automatically collapses them. This leads to "widget leaks", where
6828 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
6829 hidden widgets can slow down cursor travel, substantially.
6830 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
6831 so we're doing without this nicety.
6832
6833 (allout-widgets-tally-string): Don't try to do a hash-table-count
6834 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6835 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6836 *Messages* when allout-widgets-maintain-tally is t.
6837
355f2e07
MR
68382011-06-26 Martin Rudalics <rudalics@gmx.at>
6839
6840 * window.el (display-buffer-normalize-argument): Rename to
6841 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6842 LABEL argument. Respect special-display-function when popping up
6843 a new frame. Fix code searching for a window showing the buffer
6844 on another frame.
c9d29fb8
SM
6845 (display-buffer-normalize-specifiers):
6846 Call display-buffer-normalize-arguments.
355f2e07
MR
6847 (display-buffer-in-window): Don't undedicate the window if its
6848 buffer remains the same.
6849 Reported by Drew Adams <drew.adams@oracle.com>.
6850 (display-buffer-alist): Add choice for same-window macro
6851 specfier.
6852 (display-buffer): Mention special meaning of LABEL argument in
6853 doc-string. Fix quoting. Don't pop up a new frame even as
6854 fallback.
6855
7ca8fc42
JB
68562011-06-26 Juanma Barranquero <lekktu@gmail.com>
6857
6858 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6859 avoid deleting the current window in some cases (bug#8911).
6860
bc312254
AS
68612011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6862
6863 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6864 (Bug#8934)
6865
2db18f3f
LMI
68662011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6867
c9d29fb8
SM
6868 * net/network-stream.el (network-stream-open-starttls):
6869 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6870 (network-stream-open-tls): Ditto.
6871
6302e0d3
LL
68722011-06-26 Leo Liu <sdl.web@gmail.com>
6873
6874 * register.el (registerv): New struct.
6875 (registerv-make): New function.
c9d29fb8
SM
6876 (jump-to-register, describe-register-1, insert-register):
6877 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6878 struct. (Bug#8415)
6879
5fdd4046
CY
68802011-06-26 Chong Yidong <cyd@stupidchicken.com>
6881
2afef60a
CY
6882 * vc/vc.el (vc-revert-show-diff): New defcustom.
6883 (vc-diff-internal): New arg specifying diff buffer.
6884 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6885 reuse an existing *vc-diff* buffer (Bug#8927).
6886
5fdd4046
CY
6887 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6888
e93db24a
GM
68892011-06-26 Glenn Morris <rgm@gnu.org>
6890
6891 * progmodes/f90.el (f90-critical-indent): New option.
6892 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6893 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6894 (f90-mode): Doc fix.
6895 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6896 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6897 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6898 (f90-match-end): Handle block, critical.
6899
eefff499
GM
69002011-06-25 Glenn Morris <rgm@gnu.org>
6901
f6ba4cc9
GM
6902 * calendar/diary-lib.el (diary-included-files): Doc fix.
6903 (diary-include-files): New function, extracted from
6904 diary-include-other-diary-files and diary-mark-included-diary-files.
6905 (diary-include-other-diary-files, diary-mark-included-diary-files):
6906 Just call diary-include-files.
6907 (diary-mark-entries): Reset diary-included-files on first call.
6908
16712304
GM
6909 * calendar/diary-lib.el (diary-mark-entries)
6910 (diary-mark-included-diary-files):
6911 Visit included diary-files in temp buffers.
6912
5d8e0d43
GM
6913 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6914 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6915 (f90-start-block-re, f90-imenu-generic-expression)
6916 (f90-looking-at-program-block-start, f90-no-block-limit):
6917 Add support for submodules.
6918
ccf7a5d5
GM
6919 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6920 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6921
11fdef7d 69222011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6923
6924 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6925 buffer-file-type before setting its value, to avoid disastrous
eefff499 6926 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6927
74f53697
JB
69282011-06-25 Juanma Barranquero <lekktu@gmail.com>
6929
6930 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6931
6932 * ses.el (ses-unload-function):
6933 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6934
6935 * proced.el (proced-unload-function):
6936 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6937
18a4ce5e
AR
69382011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6939
6940 * server.el (server-create-window-system-frame): Add parameters arg.
6941 (server-process-filter): Doc fix. Handle frame-parameters.
6942
519d22cc
JB
69432011-06-25 Juanma Barranquero <lekktu@gmail.com>
6944
6945 Fix bug#8730, bug#8781.
6946
6947 * loadhist.el (unload--set-major-mode): New function.
6948 (unload-feature): Use it.
6949
6950 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6951 (python-unload-function): New function.
6952
c206f5b0
SM
69532011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6956
f9ad64f3
GS
69572011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6958
6959 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6960 the candidates list.
6961
7d0da90e
JB
69622011-06-24 Juanma Barranquero <lekktu@gmail.com>
6963
6964 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6965
14b4e83d
RS
69662011-06-23 Richard Stallman <rms@gnu.org>
6967
6968 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6969 (rmail-variables): Set next-error-move-function.
6970 (rmail-what-message): Take argument POS.
6971 (rmail-next-error-move): New function.
6972
273d2baf
SM
69732011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6976 messages for adjacent non-terminals.
6977
56c2cc9a
RS
69782011-06-23 Richard Stallman <rms@gnu.org>
6979
6980 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 6981 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
6982 (rmail-start-mail): Don't specify use of rmail-mail-return;
6983 that's done by mail-bury now.
6984 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 6985
d59eb518
MA
69862011-06-23 Michael Albinus <michael.albinus@gmx.de>
6987
6988 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6989 SIZE is a number.
6990
02cfc6d6
MR
69912011-06-23 Martin Rudalics <rudalics@gmx.at>
6992
6993 * window.el (get-lru-window, get-mru-window)
6994 (get-largest-window): Never return a minibuffer window.
6995 (display-buffer-pop-up-window): Fix a bug that could lead to
6996 reusing the minibuffer window.
6997 (display-buffer): Pass original specifier argument to
6998 display-buffer-function instead of the normalized one.
6999 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7000
4e323265
LL
70012011-06-22 Leo Liu <sdl.web@gmail.com>
7002
7003 * minibuffer.el (completing-read-function)
7004 (completing-read-default): Move from minibuf.c
7005
7a70468f
RS
70062011-06-22 Richard Stallman <rms@gnu.org>
7007
50718fc2
RS
7008 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7009 to Rmail even if not started by a special Rmail command.
7010
7a70468f
RS
7011 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7012 Copy the buffer currently showing just one message.
7013
297dde5a
RW
70142011-06-22 Roland Winkler <winkler@gnu.org>
7015
7016 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7017 (bibtex-clean-entry): First delete the old key so that a
7018 customized algorithm for generating the new key does not get
7019 confused by the old key.
7020 (bibtex-url): Obey regexp of first step.
7021 (bibtex-search-entries): Do not use add-to-list with local
7022 list-var.
7023
97bb1093
LMI
70242011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7025
7026 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7027 stored a user name, then query for the password first, instead of
7028 waiting for SMTP to give an error message and the trying again.
7029
1c0f1a19
JD
70302011-06-22 Lawrence Mitchell <wence@gmx.li>
7031
7032 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7033 BUFFER in call-process.
7034
396f7c9d
LMI
70352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7036
7037 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7038 QUIT twice.
ddb7ffee
LMI
7039 (smtpmail-try-auth-methods): Require user name and password from
7040 auth-source.
396f7c9d 7041
8998d1b3
MR
70422011-06-22 Martin Rudalics <rudalics@gmx.at>
7043
7044 * window.el (display-buffer-default-specifiers)
7045 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7046 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7047 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7048
7049 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7050 (special-display-frame-alist, special-display-popup-frame):
7051 Remove duplicate declarations. These are now in window.el.
7052
4ea31e07
LMI
70532011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7054
c9d29fb8
SM
7055 * mail/smtpmail.el (smtpmail-via-smtp):
7056 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7057 server supports it. SMTP servers that support STARTTLS commonly
7058 require it.
7059
7060 * net/network-stream.el (network-stream-open-starttls): Support
7061 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7062 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7063
95f41d9a
LMI
7064 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7065 upgrades with `open-network-stream', and rely solely on
7066 auth-source for all credentials. Big changes throughout the file,
7067 but in particular:
c9d29fb8
SM
7068 (smtpmail-auth-credentials): Remove.
7069 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7070 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7071 MAIL FROM, too.
95f41d9a 7072
c9d29fb8
SM
7073 * net/network-stream.el (network-stream-open-starttls):
7074 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7075 STARTTLS.
7076 (auth-source): Require.
7077 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7078 (network-stream-certificate): Change cert-cert to cert and
7079 cert-key to key.
4ea31e07 7080
065ec2c7
MA
70812011-06-21 Michael Albinus <michael.albinus@gmx.de>
7082
7083 * net/tramp-cache.el (top): Don't load the persistency file when
7084 "emacs -Q" has been called.
7085
cd93b359
DR
70862011-06-21 Tim Harper <timcharper@gmail.com>
7087
d8e4b68b
JB
7088 * term/ns-win.el (ns-initialize-window-system):
7089 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7090 resource to NO as it is not yet supported by the NS port.
7091
ae9c0411
JB
70922011-06-21 Juanma Barranquero <lekktu@gmail.com>
7093
7094 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7095 (list-dynamic-libraries): ...not here.
7096
7f3f739f
LL
70972011-06-21 Leo Liu <sdl.web@gmail.com>
7098
7099 * subr.el (sha1): Implement sha1 using secure-hash.
7100
327c8fb1
MR
71012011-06-21 Martin Rudalics <rudalics@gmx.at>
7102
7103 * window.el (display-buffer-alist): In default value do not
7104 enforce searching a window on any but the selected frame.
7105 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7106 (display-buffer-select-window): Remove function.
7107 (display-buffer-in-window): When a window on another frame gets
7108 reused, do not select it any more but just raise its frame if
7109 necessary (Bug#8851) and (Bug#8856).
7110 (display-buffer-normalize-options): Handle pop-up-frames related
7111 options more faithfully.
7112 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7113 window if it is on another frame.
c9d29fb8
SM
7114 (display-buffer-alist, display-buffer-default-specifiers):
7115 Don't make new frame unsplittable by default.
9e9de014
MR
7116 (display-buffer-normalize-argument): Fix doc-string typo and use
7117 'same-frame-other-window instead of 'other-window when associating
7118 with display-buffer-macro-specifiers.
327c8fb1 7119
7cf3f556
VB
71202011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7121
7122 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7123 New functions.
7124 (5x5-mode-map, 5x5-mode-menu): Bind them.
7125 (5x5-draw-grid): Tweak the solver's rendering.
7126
60a406cf
SM
71272011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7130 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7131
d8e4b68b 71322011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7133
7134 * menu-bar.el: Use function variable instead of switch-to-buffer.
7135 (menu-bar-select-buffer-function): New variable.
60a406cf 7136 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7137
478d6f95
SM
71382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7141 variable's status.
7142
ca530739
JD
71432011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7144
7145 * x-dnd.el (x-dnd-version-from-flags)
7146 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7147 and long as number (Bug#8899).
7148 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7149
bcd70d97
SM
71502011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7151
60a406cf 7152 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7153 (completion-try-completion, completion-all-completions): Compute the
7154 metadata argument if it's missing; make it optional (bug#8795).
7155
60a406cf 7156 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7157 (widget-complete): Use new :completion-function property.
7158 (widget-completions-at-point): New function.
7159 (default): Use :completion-function instead of :complete.
60a406cf
SM
7160 (widget-default-completions): Rename from widget-default-complete;
7161 Rewrite.
bcd70d97
SM
7162 (widget-string-complete, widget-file-complete, widget-color-complete):
7163 Remove functions.
7164 (file, symbol, function, variable, coding-system, color):
7165 * international/mule-cmds.el (default-input-method, charset)
7166 (language-info-custom-alist):
7167 * cus-edit.el (face): Use new property :completions.
7168
7169 * progmodes/pascal.el (pascal-completions-at-point): New function.
7170 (pascal-mode): Use it.
7171 (pascal-mode-map): Use completion-at-point.
7172 (pascal-toggle-completions): Make obsolete.
7173 (pascal-complete-word, pascal-show-completions):
7174 * progmodes/octave-mod.el (octave-complete-symbol):
7175 Redefine as obsolete alias.
7176 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7177 Signal absence of completion info for old Octave,
7178 (inferior-octave-complete): Redefine as obsolete alias.
7179 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7180 (meta-completions-at-point): Rename from meta-complete-symbol and
7181 adapt it for use on completion-at-point-functions.
7182 (meta-common-mode): Use it.
7183 (meta-looking-at-backward, meta-match-buffer): Remove.
7184 (meta-complete-symbol): Redefine as obsolete alias.
7185 (meta-common-mode-map): Use completion-at-point.
7186 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7187 (makefile-mode-map): Use completion-at-point.
7188 (makefile-completions-at-point): Rename from makefile-complete and
7189 adapt it for use on completion-at-point-functions.
7190 (makefile-mode): Use it.
7191 (makefile-complete): Redefine as obsolete alias.
7192
aebf69c8
DD
71932011-06-20 Deniz Dogan <deniz@dogan.se>
7194
7195 * net/rcirc.el: Delete trailing whitespaces once and for all.
7196
bfbbb27d
DC
71972011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7198
7199 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7200
d264a46b
CY
72012011-06-19 Chong Yidong <cyd@stupidchicken.com>
7202
4ca009e5
CY
7203 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7204
d264a46b
CY
7205 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7206
fbf5b3ce
MR
72072011-06-19 Martin Rudalics <rudalics@gmx.at>
7208
7209 * window.el (display-buffer-other-window-means-other-frame):
7210 Call display-buffer-normalize-alist.
7211 (display-buffer-normalize-specifiers-1): Rename to
7212 display-buffer-normalize-argument. New argument other-frame.
7213 Rewrite.
7214 (display-buffer-normalize-specifiers-2): Rename to
7215 display-buffer-normalize-options.
7216 (display-buffer-normalize-alist-1): New function.
7217 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7218 display-buffer-normalize-alist.
7219 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7220 (display-buffer-normalize-options-inhibit): New variable.
7221 (display-buffer-normalize-specifiers): Rewrite calling
7222 display-buffer-normalize-alist,
7223 display-buffer-normalize-argument, and
7224 display-buffer-normalize-options. Don't call the latter if
7225 display-buffer-normalize-options-inhibit is non-nil.
7226 (frame-auto-delete): New option.
7227 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7228 (window-list-no-nils, window-state-ignored-parameters)
7229 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7230 (window-state-put-1, window-state-put-2, window-state-put):
7231 New functions.
9a028c23
MR
7232 (display-buffer-normalize-options): Move special-display-p group
7233 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7234
6d10d800
CY
72352011-06-18 Chong Yidong <cyd@stupidchicken.com>
7236
6420d28b
CY
7237 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7238 groups (Bug#8776).
7239 (rx-submatch-n): New function.
7240 (rx): Document it.
7241
ddb8b596
CY
7242 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7243 (Bug#8768).
7244
7245 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7246
77080289
CY
7247 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7248
61dfb316
CY
7249 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7250 anytime existing face settings are present (Bug#8889).
7251
6d10d800
CY
7252 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7253 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7254 Remove unused argument.
7255
be3fb2b8
MR
72562011-06-18 Martin Rudalics <rudalics@gmx.at>
7257
bcd70d97
SM
7258 * window.el (display-buffer-default-specifiers):
7259 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7260 pop-up-window-min-width, and another reuse-window specifier
7261 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7262 (display-buffer-normalize-specifiers-2):
7263 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7264 pop-up-windows is unset. Add a reuse-window specifier for the
7265 case popping up a new window fails.
7266 (special-display-popup-frame): Remove double quoting.
28dec25a 7267 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7268
1c6d8c76
SM
72692011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7272 according to comint-completion-addsuffix.
7273
7274 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7275 (pcomplete-suffix-list): Mark as obsolete.
7276 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7277 pcomplete-seen in the closure.
7278 (pcomplete-comint-setup): Setup completion-at-point as well.
7279 (pcomplete--entries): New function.
7280 (pcomplete--env-regexp): New var.
7281 (pcomplete-entries): Rewrite to work with partial-completion and
7282 without relying on pcomplete-suffix-list.
7283 (pcomplete-pare-list): Remove, unused.
7284
25aef8b8
MR
72852011-06-17 Martin Rudalics <rudalics@gmx.at>
7286
7287 * window.el (display-buffer-alist): Set pop-up-window-min-height
7288 and pop-up-window-min-width in default value. Reported by
7289 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7290 other-window-means-other-frame.
7291 (display-buffer-macro-specifiers): Comment out entry for
7292 other-window specifier.
7293 (display-buffer-other-window-means-other-frame): New function.
7294 (display-buffer-normalize-specifiers-1): New arguments
7295 buffer-name and label. Treat other-window case specially.
7296 (display-buffer-normalize-specifiers-2): Treat other-window case
7297 specially.
7298 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7299 (display-buffer-normalize-specifiers):
7300 Call display-buffer-normalize-specifiers-3.
25aef8b8 7301
dbad4f69
MR
73022011-06-17 Martin Rudalics <rudalics@gmx.at>
7303
7304 * window.el (same-window-p): Fix two typos introduced when
7305 adding with-no-warnings.
d1067961
MR
7306 (display-buffer-normalize-specifiers-1): Don't check
7307 pop-up-frames for 'unset initialization.
7308 (display-buffer-normalize-specifiers-2): Major rewrite using
7309 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7310 (pop-up-frames, display-buffer-reuse-frames)
7311 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7312 Suggested by David Engster <deng@randomsample.de>.
7313 (even-window-heights): Initialize to 'unset.
7314 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7315 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7316 other window case.
dbad4f69 7317
9b9c9e3a
MR
73182011-06-16 Martin Rudalics <rudalics@gmx.at>
7319
bcd70d97
SM
7320 * window.el (display-buffer-normalize-specifiers-1):
7321 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7322 second argument of display-buffer (Bug#8865).
981d5c09
MR
7323 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7324 (switch-to-buffer-other-window-same-frame)
7325 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7326 Adams (Bug#8875).
9c2755e9
MR
7327 (display-buffer): Don't check noninteractive when calling
7328 display-buffer-pop-up-frame.
7329 (display-buffer-pop-up-frame): Never pop up a frame in
7330 noninteractive mode (Bug#8857).
67222e1d
MR
7331 (enlarge-window, shrink-window): Don't report an error when the
7332 window can't be resized as requested (Bug#8862).
9b9c9e3a 7333
2b75be67
SM
73342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7335
9ffdd3ba
SM
7336 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7337
cb581a67
SM
7338 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7339
2b75be67
SM
7340 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7341
8c0e3589
AM
73422011-06-15 Alan Mackenzie <acm@muc.de>
7343
cb581a67
SM
7344 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7345 for declarators, disable knr checking to speed up for normal files.
7346 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7347
b96e6cde
LMI
73482011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7349
4bba86e6
LMI
7350 * net/network-stream.el (open-network-stream): Add the keyword
7351 :always-query-capabilities for the case where you want to force a
7352 `plain' network connection, but the protocol still requires the
7353 capabilitiy command (i.e., SMTP and EHLO).
7354
2b75be67 7355 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7356 consistency with other `-live-p' functions.
7357
efdcdbf8
SM
73582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * window.el (same-window-buffer-names, same-window-regexps)
7361 (special-display-frame-alist, special-display-popup-frame)
7362 (special-display-function, special-display-buffer-names)
7363 (special-display-regexps, pop-up-frame-alist)
7364 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7365 (pop-up-windows, split-window-preferred-function)
7366 (split-height-threshold, split-width-threshold, even-window-heights)
7367 (display-buffer-mark-dedicated): Don't encourage the use of
7368 display-buffer-alist from Elisp code.
7369
c5cde042
DN
73702011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7371
7372 * progmodes/python.el (python-mode): Derive from prog-mode.
7373 * progmodes/ps-mode.el (ps-mode):
7374 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7375 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7376 * progmodes/ld-script.el (ld-script-mode): Likewise.
7377
baa1c9ab
MR
73782011-06-15 Martin Rudalics <rudalics@gmx.at>
7379
7380 * window.el (display-buffer-alist): Trim default value to avoid
7381 popping up a new frame (Bug#8857) or reusing an arbitrary window
7382 on another frame.
7383 (display-buffer): Do not fall back on popping up a new frame in
7384 batch mode (Bug#8857).
7385
c5dd5a51
CY
73862011-06-14 Chong Yidong <cyd@stupidchicken.com>
7387
7388 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7389 (custom-theme-summary): New function.
7390 (customize-themes): Use it.
7391
d647b7c4
GM
73922011-06-13 Glenn Morris <rgm@gnu.org>
7393
7394 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7395
9481c002
MR
73962011-06-13 Martin Rudalics <rudalics@gmx.at>
7397
357f93d2
MR
7398 * help.el (help-window): Remove variable.
7399 (help-window-point-marker, temp-buffer-max-height)
7400 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7401 (help-print-return-message): Don't set help-window.
7402 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7403 (help-window-setup-finish): Remove.
7404 (help-window-display-message, help-window-setup)
7405 (with-help-window): Major rewrite based on new
7406 display-buffer-window variable.
7407
7408 * help-mode.el (help-mode-finish): Remove help-window related
7409 code.
7410
7411 * view.el (view-exits-all-viewing-windows): Remove reference to
7412 view-return-to-alist in doc-string.
7413 (view-return-to-alist): Make obsolete.
7414 (view-buffer): Call pop-to-buffer-same-window and remove
7415 undo-window code.
7416 (view-buffer-other-window): Call pop-to-buffer-other-window and
7417 simplify code. Ignore second argument.
7418 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7419 simplify code. Ignore second argument.
7420 (view-return-to-alist-update): Make obsolete.
7421 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7422 Rewrite using quit-restore window parameters.
2b75be67
SM
7423 (view-mode-exit): Rename second argument to EXIT-ONLY.
7424 Rewrite using quit-restore-window.
357f93d2
MR
7425 (View-exit, View-exit-and-edit, View-leave, View-quit)
7426 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7427 appropriate arguments.
7428 (view-end-message): Use quit-restore window parameter.
7429
9481c002
MR
7430 * window.el (display-buffer-function): Rewrite doc-string.
7431 (display-buffer-window, display-buffer-alist): New variables.
7432 (display-buffer-split-specifiers)
7433 (display-buffer-side-specifiers)
7434 (display-buffer-macro-specifiers): New constants.
7435 (display-buffer-even-window-sizes, display-buffer-set-height)
7436 (display-buffer-set-width, display-buffer-select-window)
7437 (display-buffer-in-window, display-buffer-reuse-window)
7438 (display-buffer-split-window-1, display-buffer-split-window)
7439 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7440 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7441 (display-buffer-in-side-window, normalize-buffer-to-display)
7442 (display-buffer-normalize-specifiers-1)
7443 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7444 (display-buffer-normalize-specifiers, display-buffer-frame):
7445 New functions.
9481c002
MR
7446 (display-buffer): Major rewrite.
7447 (display-buffer-other-window, display-buffer-other-frame)
7448 (pop-to-buffer, switch-to-buffer-other-window)
7449 (switch-to-buffer-other-frame): Rewrite.
7450 (display-buffer-same-window, display-buffer-same-frame)
7451 (display-buffer-same-frame-other-window)
7452 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7453 (pop-to-buffer-other-window)
7454 (pop-to-buffer-same-frame-other-window)
7455 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7456 (switch-to-buffer-other-window-same-frame): New functions.
7457 (same-window-p, special-display-p): Rewrite disabling warnings.
7458 Make obsolete.
7459 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7460 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7461 Make obsolete
7462 (same-window-buffer-names, same-window-regexps)
7463 (special-display-frame-alist, special-display-popup-frame)
7464 (special-display-function, special-display-buffer-names)
7465 (special-display-regexps, pop-up-frame-alist)
7466 (pop-up-frame-function, split-window-preferred-function)
7467 (split-height-threshold, split-width-threshold)
7468 (even-window-heights): Make obsolete.
7469
9db51aca
GM
74702011-06-12 Glenn Morris <rgm@gnu.org>
7471
7472 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7473 Misc simplifications.
9db51aca 7474
39cffb44
MR
74752011-06-12 Martin Rudalics <rudalics@gmx.at>
7476
7477 * window.el (window-safely-shrinkable-p): Restore function which
7478 was inadvertently removed in change from 2011-06-11. Declare as
7479 obsolete.
7480
2b75be67
SM
7481 * calendar/calendar.el (calendar-generate-window):
7482 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7483 window-safely-shrinkable-p.
7484
a8955be7
GM
74852011-06-12 Glenn Morris <rgm@gnu.org>
7486
7487 * progmodes/fortran.el (fortran-mode-syntax-table):
7488 * progmodes/f90.el (f90-mode-syntax-table):
7489 Set % to punctuation. (Bug#8820)
7490 (f90-find-tag-default): Remove, no longer needed.
7491
f0d4059d
DC
74922011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7493
7494 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7495
1100a63c
CY
74962011-06-11 Chong Yidong <cyd@stupidchicken.com>
7497
7498 * image.el (image-animated-p): Return animation delay in seconds.
7499 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7500 (image-animate-timeout): Remove DELAY argument. Don't assume
7501 every subimage has the same delay; get it from image-animated-p.
7502 (image-animate): Caller changed.
7503
def722bf
MA
75042011-06-11 Michael Albinus <michael.albinus@gmx.de>
7505
7506 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7507 to ignored backtrace functions.
7508
0a2bb1a9
GM
75092011-06-11 Glenn Morris <rgm@gnu.org>
7510
7511 * calendar/appt.el (appt-disp-window-function): Doc fix.
7512 (appt-check): Handle overlapping appointments. (Bug#8337)
7513
6198ccd0
MR
75142011-06-11 Martin Rudalics <rudalics@gmx.at>
7515
7516 * window.el (window-tree-1, window-tree): New functions, moving
7517 the latter to window.el.
7518 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7519 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7520 (bw-refresh-edges): Remove.
7521 (balance-windows-1, balance-windows-2): New functions.
7522 (balance-windows): Rewrite in terms of window tree functions,
7523 balance-windows-1 and balance-windows-2.
7524 (bw-adjust-window): Remove.
7525 (balance-windows-area-adjust): New function with functionality of
7526 bw-adjust-window but using resize-window.
2b75be67
SM
7527 (set-window-text-height): Rewrite doc-string.
7528 Use normalize-live-window and resize-window.
7529 (enlarge-window-horizontally, shrink-window-horizontally):
7530 Rename argument to DELTA.
6198ccd0
MR
7531 (window-buffer-height): New function.
7532 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7533 Rewrite using new window resize routines.
2b75be67
SM
7534 (kill-buffer-and-window, mouse-autoselect-window-select):
7535 Use ignore-errors instead of condition-case.
6198ccd0
MR
7536 (quit-window): Call delete-frame instead of delete-windows-on
7537 for the only buffer on frame.
7538
9397e56f
MR
75392011-06-10 Martin Rudalics <rudalics@gmx.at>
7540
7541 * loadup.el (top-level): Load window before files for the sake
7542 of replace-buffer-in-windows.
7543
7544 * files.el (read-buffer-to-switch)
7545 (switch-to-buffer-other-window)
2b75be67
SM
7546 (switch-to-buffer-other-frame, display-buffer-other-frame):
7547 Move to window.el.
9397e56f
MR
7548
7549 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7550 (previous-buffer): Move to window.el.
7551
7552 * bindings.el (unbury-buffer): Move to window.el.
7553
7554 * window.el (delete-other-windows-vertically): Move after
7555 definition of delete-other-windows.
7556 (other-window, delete-windows-on, replace-buffer-in-windows):
7557 Move here from window.c.
7558 (record-window-buffer, unrecord-window-buffer)
7559 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7560 (switch-to-next-buffer): New functions.
7561 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7562 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
7563 (previous-buffer): Move here from simple.el.
7564 Call switch-to-prev-buffer.
9397e56f
MR
7565 (bury-buffer): Move here from buffer.c. Switch to previous
7566 buffer when window cannot be deleted.
7567 (unbury-buffer): Move here from bindings.el.
7568 (ctl-x-map): Move binding for other-window from window.c to
7569 here.
7570 (read-buffer-to-switch, switch-to-buffer-other-window)
7571 (switch-to-buffer-other-frame): Move here from files.el.
7572 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
7573 (switch-to-buffer): Move here from buffer.c.
7574 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 7575
562dd5e9
MR
75762011-06-10 Martin Rudalics <rudalics@gmx.at>
7577
7578 * window.el (window-min-height, window-min-width): Move here
7579 from window.c. Add defcustoms and rewrite doc-strings.
7580 (resize-mini-window, resize-window): New functions.
7581 (adjust-window-trailing-edge, enlarge-window, shrink-window):
7582 Move here from window.c.
7583 (maximize-window, minimize-window): New functions.
7584 (delete-window, delete-other-windows, split-window): Move here
7585 from window.c.
7586 (window-split-min-size): New function.
7587 (split-window-keep-point): Mention split-window-above-each-other
7588 instead of split-window-vertically.
2b75be67 7589 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
7590 Rename split-window-vertically to split-window-above-each-other
7591 and provide defalias for old definition.
7592 (split-window-side-by-side, split-window-horizontally):
7593 Rename split-window-horizontally to split-window-side-by-side
7594 and provide defalias for the old definition.
562dd5e9
MR
7595 (ctl-x-map): Move bindings for delete-window,
7596 delete-other-windows and enlarge-window here from window.c.
7597 Replace bindings for split-window-vertically and
7598 split-window-horizontally by bindings for
7599 split-window-above-each-other and split-window-side-by-side.
7600
7601 * cus-start.el (all): Remove entries for window-min-height and
7602 window-min-width. Add entries for window-splits and
7603 window-nest.
7604
f0da764a
GM
76052011-06-09 Glenn Morris <rgm@gnu.org>
7606
80675c21
GM
7607 * calendar/appt.el (appt-mode-line): New function.
7608 (appt-check, appt-disp-window): Use it.
7609
f0da764a
GM
7610 * files.el (hack-one-local-variable-eval-safep):
7611 Allow minor-modes with explicit +/-1 arguments.
7612
59f623b7
TZ
76132011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
7614
7615 * term/xterm.el (xterm): Add defgroup.
7616 (xterm-extra-capabilities): Add defcustom to supply known xterm
7617 capabilities, skip querying them, or query them (default).
7618 (terminal-init-xterm): Use it.
7619 (terminal-init-xterm-modify-other-keys): New function to set up
7620 modifyOtherKeys support to simplify `terminal-init-xterm'.
7621
9aab8e0d
MR
76222011-06-09 Martin Rudalics <rudalics@gmx.at>
7623
7624 * window.el (resize-window-reset, resize-window-reset-1)
7625 (resize-subwindows-skip-p, resize-subwindows-normal)
7626 (resize-subwindows, resize-other-windows, resize-this-window)
7627 (resize-root-window, resize-root-window-vertically)
7628 (window-deletable-p, window-or-subwindow-p)
7629 (frame-root-window-p): New functions.
7630
e8b08aee
GM
76312011-06-09 Glenn Morris <rgm@gnu.org>
7632
7633 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7634 (ange-ftp-get-files): Use it.
7635
254c37a5
AK
76362011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7637
7638 * mail/sendmail.el (mail-recover-1, mail-recover):
7639 * files.el (recover-file, recover-session):
7640 Handle dired-listing-switches not being just a single short option.
7641
35d7dbd3
GM
76422011-06-09 Glenn Morris <rgm@gnu.org>
7643
7644 * calendar/appt.el (appt-display-message, appt-disp-window):
7645 Handle lists of appointments.
7646
387522b2
MR
76472011-06-08 Martin Rudalics <rudalics@gmx.at>
7648
2b75be67
SM
7649 * window.el (one-window-p): Move down in code.
7650 Rewrite doc-string.
7651 (window-current-scroll-bars): Rewrite doc-string.
7652 Normalize live window argument.
387522b2
MR
7653 (walk-windows, get-window-with-predicate, count-windows):
7654 Rewrite doc-string. Use window-list-1.
7655 (window-in-direction-2, window-in-direction, get-mru-window):
7656 New functions.
7657
d8e4b68b 76582011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
7659
7660 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7661 Doc fix (Bug#8713).
7662
76632011-06-08 Chong Yidong <cyd@stupidchicken.com>
7664
7665 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7666
76672011-06-08 Juanma Barranquero <lekktu@gmail.com>
7668
7669 * loadhist.el (unload-feature-special-hooks):
7670 Add `comint-output-filter-functions'.
7671
0de12c52
IK
76722011-06-08 Ivan Kanis <gnu@kanis.fr>
7673
7674 * calendar/appt.el (appt-check): Move some initializations into the let.
7675
f3d1777e
MR
76762011-06-08 Martin Rudalics <rudalics@gmx.at>
7677
7678 * window.el (window-height): Defalias to window-total-height.
7679 (window-width): Defalias to window-body-width.
7680
18af70d0
CY
76812011-06-07 Chong Yidong <cyd@stupidchicken.com>
7682
7683 * image-mode.el (image-toggle-animation): New command.
7684 (image-mode-map): Bind it to RET.
7685 (image-mode): Update message.
7686 (image-toggle-display-image): Avoid a spurious cache flush.
7687 (image-transform-rotation): Doc fix.
7688 (image-transform-properties): Return quickly in the normal case.
7689 (image-animate-loop): Rename from image-animate-max-time.
7690
2b75be67 7691 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
7692 (create-animated-image): Remove unnecessary function.
7693 (image-animate): Rename from image-animate-start. New arg.
2b75be67 7694 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
7695 (image-animate-timer): Use car-safe.
7696 (image-animate-timeout): Rename argument.
7697
190b47e6
MR
76982011-06-07 Martin Rudalics <rudalics@gmx.at>
7699
7700 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
7701 window.c. Rename first argument to ALL-FRAMES.
7702 Rephrase doc-strings.
7703 (get-buffer-window-list): Rewrite using window-list-1.
7704 Rephrase doc-string.
a1511caf
MR
7705 (window-safe-min-height, window-safe-min-width): New constants.
7706 (window-size-ignore, window-min-size, window-min-size-1)
7707 (window-sizable, window-sizable-p, window-size-fixed-1)
7708 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7709 (window-max-delta-1, window-max-delta, window-resizable)
7710 (window-resizable-p, window-total-height, window-total-width)
7711 (window-body-width): New functions.
7712 (window-full-height-p, window-full-width-p): Rewrite using
7713 window-total-size.
7714 (window-body-height): Rewrite using window-body-size.
190b47e6 7715
85cc1f11
MR
77162011-06-06 Martin Rudalics <rudalics@gmx.at>
7717
7718 * window.el (window-right, window-left, window-child)
7719 (window-child-count, window-last-child, window-any-p)
7720 (normalize-live-buffer, normalize-live-frame)
7721 (normalize-any-window, normalize-live-window)
7722 (window-iso-combination-p, window-iso-combined-p)
7723 (window-iso-combinations)
7724 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7725 (windows-with-parameter, window-with-parameter)
7726 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
7727 (window-atom-check, window-side-check, window-check):
7728 New functions.
85cc1f11
MR
7729 (ignore-window-parameters, window-sides, window-sides-vertical)
7730 (window-sides-slots): New variables.
7731 (window-size-fixed): Move down in code. Minor doc-string fix.
7732
e7156492
AS
77332011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7734
7735 * comint.el (comint-dynamic-complete-as-filename)
7736 (comint-dynamic-complete-filename): Correctly call
7737 completion-in-region.
7738
7e821d0d
DD
77392011-06-05 Deniz Dogan <deniz@dogan.se>
7740
7741 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7742 in last change.
7743
ac09b8a1
DD
77442011-06-05 Deniz Dogan <deniz@dogan.se>
7745
7746 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7747 (rcirc): Use it to prompt for encryption.
7748
34699b85
RW
77492011-06-05 Roland Winkler <winkler@gnu.org>
7750
7751 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7752 (bibtex-search-entries): New command bound to C-c C-a.
7753 (bibtex-display-entries): New function.
7754
004dedd3
RW
77552011-06-05 Roland Winkler <winkler@gnu.org>
7756
7757 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7758 (bibtex-insert-kill): After yanking insert newline if necessary.
7759 (bibtex-initialize): Call bibtex-string-files-init only once.
7760 (bibtex-mode): Do not call easy-menu-add.
7761 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7762 (bibtex-yank): Set arg properly if nil.
7763
022fe7ce
RW
77642011-06-05 Roland Winkler <winkler@gnu.org>
7765
2b75be67
SM
7766 * textmodes/bibtex.el (bibtex-search-entry-globally):
7767 New variable.
022fe7ce
RW
7768 (bibtex-search-entry): Use it.
7769
b7c3692a
RW
77702011-06-05 Roland Winkler <winkler@gnu.org>
7771
7772 * textmodes/bibtex.el (bibtex-entry-format): New option
7773 sort-fields.
7774 (bibtex-format-entry, bibtex-reformat): Honor this option.
7775 (bibtex-parse-entry): Return fields in proper order.
7776
8eda563d
JB
77772011-06-05 Juanma Barranquero <lekktu@gmail.com>
7778
7779 * doc-view.el (doc-view-remove-if): Move computation of result out
7780 of `dolist' to silence misleading lexical-binding warning.
7781
7dbe3dbc
CY
77822011-06-04 Chong Yidong <cyd@stupidchicken.com>
7783
7784 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7785 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7786
0c33dd17
MA
77872011-06-04 Michael Albinus <michael.albinus@gmx.de>
7788
7789 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7790 "SunOS 5.10".
7791
f8f91c2b
MA
77922011-06-04 Michael Albinus <michael.albinus@gmx.de>
7793
7794 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7795 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7796 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7797 (tramp-parse-putty):
7798 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7799 (tramp-completion-function-alist-ssh)
7800 (tramp-completion-function-alist-telnet)
7801 (tramp-completion-function-alist-su)
7802 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7803 cookie.
7804
7805 * net/tramp-ftp.el:
7806 * net/tramp-sh.el:
7807 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7808 load "tramp.el" `tramp-set-completion-function'.
7809
e17d9003
SM
78102011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * shell.el: Require and use pcomplete.
7813 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7814 (shell-completion-vars): Set pcomplete-default-completion-function.
7815
6c4cab03
DD
78162011-06-04 Deniz Dogan <deniz@dogan.se>
7817
7818 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7819 `memq' (Bug#8799).
7820
ea9fafe0
SM
78212011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7824
b3e945d3
JB
78252011-06-02 Juanma Barranquero <lekktu@gmail.com>
7826
7827 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7828 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7829 * vc/log-view.el (log-view-beginning-of-defun):
7830 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7831 (smerge-refine-forward, smerge-refine-chopup-region):
7832 Silence warning for unused `dotimes' counter variables.
7833
7d520089
SM
78342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 * net/tramp.el (tramp-with-progress-reporter): Rename from
7837 with-progress-reporter. Use `declare'.
7838 * net/tramp-smb.el:
7839 * net/tramp-sh.el:
7840 * net/tramp-gvfs.el: Update all uses.
7841
a1c2400f
JB
78422011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7843
7844 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7845 buffer isn't killed before making it current.
7846
2403c841
SM
78472011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 Silence various byte-compiler warnings.
7850 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7851 `access-type' and new obsolescence format.
7852 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7853 new format.
7854 (byte-compile-check-variable): New `access-type' argument.
7855 Only warn if the access-type is obsolete.
7856 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7857 (byte-compile-variable-set): Adjust callers.
7858 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7859 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7860 setting it as obsolete.
7861 * simple.el (minibuffer-completing-symbol):
7862 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7863 access as obsolete.
7864 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7865 obsolete yet.
7866 * international/quail.el (quail-mouse-choose-completion): Remove unused
7867 code referring to obsolete var.
7868 (quail-choose-completion-string): Remove.
7869 * server.el (server-clients-with, server-kill-buffer-query-function)
7870 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7871 * proced.el (proced-send-signal):
7872 * emacs-lisp/lisp.el (lisp-complete-symbol):
7873 Replace completion-annotate-function with completion-extra-properties.
7874
2462470b
SM
78752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7876
fb5b2591
SM
7877 * simple.el (goto-line): Use read-number.
7878 (overriding-map-is-bound): Remove.
7879 (saved-overriding-map): Change default.
7880 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7881 Take the map as argument.
7882 (universal-argument, negative-argument, digit-argument): Use it.
7883 (restore-overriding-map): Adjust.
7884 (do-auto-fill): Use fill-forward-paragraph.
7885 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7886
fd6fa53f
SM
7887 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7888 (minibuffer-inactive-mode): New major mode.
7889 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7890 the *Messages* buffer" hack.
7891 (mouse-popup-menubar): Don't burp if the event is a normal key.
7892
2462470b
SM
7893 Miscellaneous tweaks.
7894 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7895 lexical scoping as in subr.el's dolist and dotimes.
7896 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7897 Silence compiler warning.
7898 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7899 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7900 * international/ccl.el (ccl-compile): Trivial simplification.
7901 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7902 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7903 `printflag' argument.
7904 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7905 Purecopy the whole obsolescence data.
7906
108bf785
LL
79072011-06-01 Leo Liu <sdl.web@gmail.com>
7908
7909 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7910 improve doc-string as suggested by Marco Pessotto
7911 <melmothx@gmail.com>.
7912 (rcirc-print): Fix last change.
7913
30a23501
SM
79142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7915
7916 * minibuffer.el (complete-with-action): Return nil for the metadata and
7917 boundaries of non-functional tables.
7918 (completion-table-dynamic): Return nil for the metadata.
7919 (completion-table-with-terminator): Add default case, using
7920 complete-with-action.
7921 (completion--metadata): New function.
7922 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7923 to try and avoid pathological performance problems.
7924 (completion--embedded-envvar-table): Return `category' metadata.
7925
bcd54f83
LMI
79262011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7927
7928 * subr.el (process-alive-p): New tiny convenience function.
7929
e227544d
SM
79302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7933 content but also its previous major mode.
7934
e8296fdc
HE
79352011-05-31 Helmut Eller <eller.helmut@gmail.com>
7936
4d61f28d 7937 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
7938 *Backtrace* buffer when we exit with C-M-c.
7939
620c53a6
SM
79402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * minibuffer.el: Add metadata method to completion tables.
7943 (completion-category-overrides): New defcustom.
7944 (completion-metadata, completion--field-metadata)
7945 (completion-metadata-get, completion--styles)
7946 (completion--cycle-threshold): New functions.
7947 (completion-try-completion, completion-all-completions):
7948 Add `metadata' argument to choose completion-styles.
7949 (completion--do-completion): Use metadata to choose cycling.
7950 (completion-all-sorted-completions): Use metadata for sorting.
7951 Remove :completion-cycle-penalty which is not needed any more.
7952 (completion--try-word-completion): Add `metadata' argument.
7953 (minibuffer-completion-help): Check metadata for annotation function
7954 and sorting.
7955 (completion-file-name-table): Return `category' metadata.
7956 (minibuffer-completing-file-name): Make obsolete.
7957 * simple.el (minibuffer-completing-symbol): Make obsolete.
7958 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7959 completion-try-completion.
7960
1257e755
SM
79612011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7964
3767e706
LL
79652011-05-30 Leo Liu <sdl.web@gmail.com>
7966
7967 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
7968 (rcirc-print): Decode all incoming messages (bug#8744).
7969 (rcirc-decode-coding-system): Allow value nil for automatic coding
7970 system detection.
3767e706 7971
d1a5d56a
GM
79722011-06-01 Glenn Morris <rgm@gnu.org>
7973
7974 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7975
e8cbec34
CY
79762011-05-29 Chong Yidong <cyd@stupidchicken.com>
7977
7978 * image.el (image-animate-max-time): Allow nil and t values.
7979 Default to nil.
7980 (create-animated-image): Doc fix.
7981 (image-animate-start): Remove second arg; just use
7982 image-animate-max-time.
7983 (image-animate-timeout): Doc fix. Args changed.
7984
7985 * image-mode.el (image-toggle-display-image): Ensure that the
7986 image spec passed to the animate timer is the same object as in
58179cce 7987 the buffer's display property (Bug#6981).
e8cbec34
CY
7988 (image-transform-properties): Doc fix.
7989
7990 * image.el (image-animate-max-time): Default to nil.
7991
159daf87
MR
79922011-05-29 Martin Rudalics <rudalics@gmx.at>
7993
7994 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7995 entire buffer list (Bug#8184).
7996
d66c4c7c
CY
79972011-05-29 Chong Yidong <cyd@stupidchicken.com>
7998
7999 * image.el (imagemagick-types-inhibit)
8000 (imagemagick-register-types): Doc fix.
8001
80aec780
DD
80022011-05-29 Deniz Dogan <deniz@dogan.se>
8003
8004 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8005 default.
8006
1dd3c2d9
CY
80072011-05-29 Chong Yidong <cyd@stupidchicken.com>
8008
8009 * select.el: Don't perform clipboard-manager saving in hooks;
8010 leave the hooks empty.
8011
60e56523
LL
80122011-05-28 Leo Liu <sdl.web@gmail.com>
8013
8014 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8015 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8016 (occur-edit-mode): New major mode (Bug#8463).
8017 (occur-after-change-function): New function.
8018 (occur-engine): Give Occur tags a read-only property.
8019
2b1e1a22
KR
80202011-05-28 Kevin Ryde <user42@zip.com.au>
8021
8022 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8023
5d344e88
CY
80242011-05-28 Chong Yidong <cyd@stupidchicken.com>
8025
8e6ca83d
CY
8026 * bindings.el (help-echo): Make the initial non-indicator dash
8027 empty on graphical terminals (Bug#7295).
8028
5d344e88
CY
8029 * files.el (auto-mode-alist): Move config rule after the
8030 in-stripping one (Bug#8547).
8031
bfbbace7
CY
8032 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8033
fbeba6e2
CY
8034 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8035 setting (Bug#8740).
8036
60ed8c72
AA
80372011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8038
4ac619f0
AA
8039 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8040 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8041 (Bug#8539).
60ed8c72 8042
23db196e
CY
80432011-05-28 Chong Yidong <cyd@stupidchicken.com>
8044
8045 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8046
5012f24c
DK
80472011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8048
8049 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8050 (hs-hide-block-at-point, hs-find-block-beginning)
8051 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8052 (Bug#8279).
8053
6a639b16
GM
80542011-05-28 Glenn Morris <rgm@gnu.org>
8055
8056 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8057
d43eaf2c
CY
80582011-05-28 Chong Yidong <cyd@stupidchicken.com>
8059
5199bde1
CY
8060 * help-fns.el (describe-function-1): If the function is a derived
8061 major mode, print the parent mode.
8062
d43eaf2c
CY
8063 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8064 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8065
423428a8
SM
80662011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8067
0ff8e1ba 8068 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8069 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8070 * progmodes/etags.el (tags-completion-at-point-function):
8071 * info-look.el (info-lookup-completions-at-point): Mark as
8072 non-exclusive.
8073 (info-complete): Adjust accordingly.
8074
423428a8
SM
8075 * info-look.el: Convert to lexical-binding and completion-at-point.
8076 (info-lookup-completions-at-point): New function.
8077 (info-complete): Use it and completion-in-region.
8078
b74aa22b
DA
80792011-05-28 Drew Adams <drew.adams@oracle.com>
8080
8081 * isearch.el: Let M-e start with point at the first mismatched char.
8082 (isearch-fail-pos): New function.
8083 (isearch-edit-string): Use it.
8084
66e2e71d
DK
80852011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8086
8087 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8088
b1890b0f 80892011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8090
8091 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8092 traversal functions for avl-trees.
8093 (avl-tree--stack): New struct.
8094 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8095 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8096 (avl-tree--do-enter): Add optional `updatefun' arg.
8097 Change return value.
eb95d01d 8098 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8099 (avl-tree--do-delete): Add `test' and `nilflag' args.
8100 Change return value.
eb95d01d
TC
8101 (avl-tree-member): Add optional `nilflag'
8102 (avl-tree-member-p): New function.
8103 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8104 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8105 (avl-tree-stack-empty-p): New functions.
8106
3769ddcf
TC
8107 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8108 avl-tree--del-balance1 and make it work both ways.
8109 (avl-tree--del-balance2): Remove.
8110 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8111 make it work both ways.
8112 (avl-tree--enter-balance2): Remove.
8113 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8114 New macros.
8115 (avl-tree--mapc, avl-tree-map): Add direction argument.
8116
eb95d01d 81172011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8118
8119 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8120
a9f737ee
CY
81212011-05-27 Chong Yidong <cyd@stupidchicken.com>
8122
8123 * select.el: Support clipboard managers with built-in function
8124 x-clipboard-manager-save, via delete-frame-functions and
8125 kill-emacs-hook.
8126 (xselect-convert-to-targets): Add MULTIPLE target to list.
8127 (xselect-convert-to-save-targets): New function.
8128
c92a1e54
KH
81292011-05-27 Kenichi Handa <handa@m17n.org>
8130
8131 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8132 let-binding rfc2047-encode-encoded-words to nil.
8133
e145f188
GM
81342011-05-27 Glenn Morris <rgm@gnu.org>
8135
5ec8a862
GM
8136 * mail/emacsbug.el: Don't require url-util.
8137
4b29d9fb
GM
8138 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8139
e145f188
GM
8140 * files.el (set-auto-mode):
8141 Also respect mode: entries at the end of the file. (Bug#8586)
8142
7d15102b
GM
81432011-05-26 Glenn Morris <rgm@gnu.org>
8144
98f593b8
GM
8145 * files.el (hack-local-variables-prop-line, hack-local-variables):
8146 Downcase mode names, as seems to be traditional.
27b48e63 8147 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8148
7d15102b
GM
8149 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8150 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8151
51d5b4ec
JD
81522011-05-25 Julien Danjou <julien@danjou.info>
8153
8154 * textmodes/rst.el (rst-define-level-faces): Do not define face
8155 symbol if it is already defined.
8156
91513f63
VB
81572011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8158
8159 * play/5x5.el (5x5-new-game, 5x5-randomize):
8160 Reset 5x5-solver-output to nil when a new grid is cast.
8161 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8162 these debugging traces, as defmacro breaks the compiled code.
8163
4d90d6d0
DK
81642011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8165
8166 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8167
e1b90ef6
LL
81682011-05-24 Leo Liu <sdl.web@gmail.com>
8169
8170 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8171 (vc-bzr-sha1): Adapt.
8172
d8e4b68b 8173 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8174
8175 * bindings.el: Provide sha1 feature.
8176
db0406bb 81772011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8178
8179 * mail/sendmail.el: Require `rfc2047'.
8180 (mail-insert-from-field): Do not perform RFC2047 encoding.
8181 (mail-encode-header): New function.
8182 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8183 buffer to the return value of select-message-coding-system.
8184 Call mail-encode-header.
b8d747b9
KH
8185
8186 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8187
db0406bb 81882011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8189
4d90d6d0
DK
8190 * mail/supercite.el (sc-default-cite-frame):
8191 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8192
eb8a5e9b
GM
81932011-05-24 Glenn Morris <rgm@gnu.org>
8194
f8630703
GM
8195 * progmodes/python.el (brm-menu): Declare.
8196
8831bbed
GM
8197 * emulation/viper.el (viper-set-hooks): Declare.
8198
eb8a5e9b
GM
8199 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8200 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8201 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8202 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8203 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8204 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8205
a2a25d24
SM
82062011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8207
8208 Add an :exit-function for completion-at-point.
8209
8210 * minibuffer.el (completion--done): New fun.
8211 (completion--do-completion): Use it. New arg `expect-exact'.
8212 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8213 since completion--do-completion does it for us now.
8214 (minibuffer-force-complete): Use completion--done and
8215 completion--replace. Handle sole-completion case with more care.
8216 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8217 (completion-extra-properties): New var.
8218 (completion-annotate-function): Make obsolete.
8219 (minibuffer-completion-help): Adjust accordingly.
8220 Use completion-list-insert-choice-function.
8221 (completion-at-point, completion-help-at-point):
8222 Bind completion-extra-properties.
8223 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8224 * simple.el (completion-list-insert-choice-function): New var.
8225 (completion-setup-function): Preserve it.
8226 (choose-completion): Pay attention to it, shuffle the code a bit.
8227 (choose-completion-string): New arg `insert-function'.
8228
8229 * textmodes/bibtex.el: Convert to lexical binding.
8230 (bibtex-mode-map): Use completion-at-point.
8231 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8232 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8233 (bibtex-complete): Define as obsolete alias.
8234 (bibtex-complete-internal): Remove.
8235 (bibtex-format-entry): Remove unused sub-group in regexp.
8236 * shell.el (shell--command-completion-data)
8237 (shell-environment-variable-completion):
8238 * pcomplete.el (pcomplete-completions-at-point):
8239 * comint.el (comint--complete-file-name-data): Use :exit-function
8240 instead of completion-table-with-terminator so it also works for
8241 choose-completion.
8242
e44e373d
SM
82432011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8244
4f91a816
SM
8245 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8246
782fc819
SM
8247 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8248 (bug#8710).
8249
e44e373d
SM
8250 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8251
381987c3
KM
82522011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8253
8254 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8255 customization variable and implement: If non-nil, auto-fill will
8256 be inhibited while on topic's header line.
8257
b776bc70
VB
82582011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8259
8260 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8261 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8262 always have a solution in grid size = 5 cases.
8263 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8264 (5x5-solver-output, 5x5-log-buffer): New vars.
8265 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8266 Make these variables buffer local to achieve 5x5 multi-session-ness.
8267 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8268 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8269 (5x5-solve-suggest): New funs.
8270 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8271 randomize a grid so that we ensure that there is always a solution.
8272 (5x5-make-random-grid): Allow other movement than flipping.
8273
7de88b6e
KR
82742011-05-23 Kevin Ryde <user42@zip.com.au>
8275
8276 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8277 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8278 advice and passes PREDICATE.
8279
b1ef1257
SM
82802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8281
bbca48fe
SM
8282 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8283 byte-compile-lambda if it's actually a lambda.
8284
b1ef1257
SM
8285 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8286 Fix function quoting. Use backquote better.
8287
92a9cc65
YS
82882011-05-22 Yuanle Song <sylecn@gmail.com>
8289
8290 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8291 matching (Bug#8516).
8292
f0fb8059
JA
82932011-01-22 Jari Aalto <jari.aalto@cante.net>
8294
8295 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8296 different face (Bug#8178).
8297
d5b44c93
CY
82982011-05-22 Chong Yidong <cyd@stupidchicken.com>
8299
8300 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8301 defface (Bug#8144).
8302
79106a44
SM
83032011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8304
9c848d8a
SM
8305 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8306 funcall as well (bug#8712). Warn when performing those conversions.
8307 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8308
79106a44
SM
8309 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8310
88dfa756
GM
83112011-05-22 Glenn Morris <rgm@gnu.org>
8312
8313 * files.el (hack-local-variables-prop-line): Small simplifications.
8314 (hack-local-variables, hack-local-variables-prop-line):
8315 If MODE-ONLY, return the mode, rather than just `t'.
8316
b7cf2c79
SM
83172011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8320
3f1a8558
GM
83212011-05-21 Glenn Morris <rgm@gnu.org>
8322
7e4ccca3
GM
8323 * files.el (hack-local-variables-prop-line, hack-local-variables):
8324 If only interested in the mode, don't bother doing the other stuff.
8325
637d46ca
GM
8326 * image-mode.el (image-after-revert-hook):
8327 Redraw all frames on which the image is visible. (Bug#8567)
8328
973d955b
GM
8329 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8330
3f1a8558
GM
8331 * wid-edit.el (widget-checklist-match-inline):
8332 Fix 2011-04-19 change. (Bug#8649)
8333
96479927
SM
83342011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8335
1dcf791f
SM
8336 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8337 Also allow singlespace after single-letter capitals followed by a dot.
8338
96479927
SM
8339 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8340 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8341
35fd0881
N
83422011-05-20 Nix <nix@esperi.org.uk>
8343
8344 * files.el (basic-save-buffer-2):
8345 Fix handling of break-hardlink-on-save with non-existent files.
8346
82745640
DD
83472011-05-19 Deniz Dogan <deniz@dogan.se>
8348
8349 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8350 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8351
4a720484
GM
83522011-05-19 Glenn Morris <rgm@gnu.org>
8353
d1f21341
GM
8354 * progmodes/f90.el (f90-type-def-re):
8355 Handle "type, bind(c)". (Bug#8691)
8356
4a720484
GM
8357 * emacs-lisp/autoload.el (batch-update-autoloads):
8358 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8359
2fb0a219
MA
83602011-05-18 Michael Albinus <michael.albinus@gmx.de>
8361
8362 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8363 property for the correct connection in case of multihops.
8364
e565dd37
GM
83652011-05-18 Glenn Morris <rgm@gnu.org>
8366
c2571358 8367 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8368 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8369
e565dd37
GM
8370 Rationalize calendar handling of day and month abbrev-arrays.
8371 * calendar/calendar.el (calendar-customized-p): New function.
8372 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8373 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8374 Add :set function.
8375 (calendar-abbrev-length, calendar-day-abbrev-array)
8376 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8377 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8378 Elements may no longer be nil.
8379 (calendar-day-name, calendar-month-name):
8380 Update for changed nature of abbrev arrays.
8381 * calendar/diary-lib.el (diary-name-pattern):
8382 Update for changed nature of abbrev arrays.
8383 (diary-mark-entries-1): Update calendar-make-alist calls.
8384 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8385 * calendar/cal-html.el (cal-html-day-abbrev-array):
8386 Simply inherit from calendar-day-abbrev-array.
8387
1d99a745
SM
83882011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * progmodes/grep.el (grep-mode): Disable default
8391 compilation-directory-matcher setting (bug#8684).
8392
7c1d9aa0
MA
83932011-05-17 Michael Albinus <michael.albinus@gmx.de>
8394
8395 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8396 instead of "head" and "tail". There were problems with SunOS 5.9,
8397 and it performs better.
8398
3952e9d8
GM
83992011-05-17 Glenn Morris <rgm@gnu.org>
8400
2dd12e7f
GM
8401 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8402
e4157b9c
GM
8403 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8404 Replace obsolete function.
8405
8e249bbd
GM
8406 * shell.el (pcomplete-parse-arguments-function): Declare.
8407
3952e9d8
GM
8408 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8409 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8410 (appt-check): Doc fixes.
8411 (appt-disp-window-function, appt-delete-window-function):
8412 Remove needless special case in custom :type.
8413 (appt-display-count): Default to 0, not nil.
8414 (appt-check): Reset appt-display-count to 0, not nil.
8415
c71a0d48 84162011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8417
c71a0d48
GM
8418 * progmodes/python.el (python-font-lock-keywords):
8419 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8420
31d55be9
SM
84212011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8424
3bfacb2f
KR
84252011-05-16 Kevin Ryde <user42@zip.com.au>
8426
8427 * info-look.el (makefile-automake-mode): New setups, looking in
8428 automake manual, then makefile-mode.
8429 (makefile-mode): Remove automake manual, have it just in
8430 makefile-automake-mode since there's various things different or
8431 not relevant to plain make.
8432 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8433 believe a hypothetical automake-mode would go to makefile-mode,
8434 not the other way around.
8435
c8e83751
CY
84362011-05-15 Chong Yidong <cyd@stupidchicken.com>
8437
5e9e35cd
CY
8438 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8439 hunk-end tags (Bug#8672).
8440
c8e83751
CY
8441 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8442 vc-annotate-show-diff-revision-at-line (Bug#8671).
8443
50b23e5a
GM
84442011-05-14 Glenn Morris <rgm@gnu.org>
8445
7210a739
GM
8446 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8447 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8448 (change-log-font-lock-keywords): Also handle multiple author lines
8449 with leading tabs. (Bug#8644)
7210a739 8450
4691905a
GM
8451 * calendar/appt.el (appt-check): Rename some local variables.
8452 Some simplification/reordering.
8453
50b23e5a
GM
8454 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8455 (feedmail-sendmail-f-doesnt-sell-me-out)
8456 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8457 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8458 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8459 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8460 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8461 (feedmail-binmail-gnulinuxish-template):
8462 Rename from feedmail-binmail-linuxish-template.
8463 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8464 Use insert-buffer-substring.
8465
215cda7c
BC
84662011-05-14 Bill Carpenter <bill@carpenter.org>
8467
8468 * mail/feedmail.el (feedmail-patch-level): Increase.
8469 (feedmail-debug): New custom group.
8470 (feedmail-confirm-outgoing-timeout)
8471 (feedmail-sendmail-f-doesnt-sell-me-out)
8472 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8473 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8474 (feedmail-sender-line, feedmail-from-line)
8475 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8476 (feedmail-spray-this-address)
215cda7c
BC
8477 (feedmail-spray-address-fiddle-plex-list)
8478 (feedmail-queue-use-send-time-for-date)
8479 (feedmail-queue-use-send-time-for-message-id)
8480 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8481 (feedmail-buffer-eating-function):
8482 Doc fixes.
8483 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8484 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8485 (feedmail-message-action-scroll-down): New functions.
8486 (feedmail-queue-directory, feedmail-queue-draft-directory):
8487 Use expand-file-name.
8488 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8489 Remove C-v help entry.
8490 (feedmail-queue-buffer-file-name): New variable.
8491 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8492 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8493 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8494 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8495 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8496 (feedmail-message-action-toggle-spray)
8497 (feedmail-run-the-queue-no-prompts)
8498 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8499 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8500 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8501 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8502 (feedmail-envelope-deducer, feedmail-fiddle-from)
8503 (feedmail-fiddle-sender, feedmail-default-date-generator)
8504 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8505 (feedmail-fiddle-spray-address)
8506 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8507 (feedmail-fiddle-list-of-fiddle-plexes)
8508 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8509 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8510 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8511 Change default. Doc fix.
8512 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8513 (feedmail-binmail-linuxish-template): New constant.
8514 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8515 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8516 (feedmail-send-it): Add debug call.
8517 Use feedmail-queue-buffer-file-name, and
8518 feedmail-send-it-immediately-wrapper.
8519 (feedmail-message-action-send): Add debug call.
8520 Use feedmail-send-it-immediately-wrapper.
8521 (feedmail-queue-express-to-queue): Add debug call.
8522 Run feedmail-queue-express-hook.
8523 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8524 (feedmail-message-action-help-blat):
8525 Rename from feedmail-queue-send-edit-prompt-help-first.
8526 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8527 Check line-endings. Handle errors better.
8528 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8529 Doc fix. Add debug call.
8530 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8531 Use feedmail-queue-send-edit-prompt-inner.
8532 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8533 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8534 from feedmail-queue-send-edit-prompt.
8535 (feedmail-queue-send-edit-prompt-help)
8536 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8537 (feedmail-tidy-up-slug): Add debug call.
8538 Respect feedmail-queue-slug-suspect-regexp.
8539 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8540 (feedmail-dump-message-to-queue): Add debug call.
8541 Expand queue-directory.
8542 (feedmail-dump-message-to-queue): Change message slightly.
8543 Use feedmail-say-chatter.
8544 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8545 (feedmail-send-it-immediately-wrapper): New function.
8546 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8547 Insert empty string rather than newline. Handle full-frame case.
8548 Use catch/throw. Use feedmail-say-chatter.
8549 (feedmail-fiddle-from): Try mail-host-address.
8550 (feedmail-default-message-id-generator): Doc fix.
8551 Bind system-time-locale. Handle missing end.
8552 (feedmail-fiddle-x-mailer): Add debug call.
8553 Handle feedmail-x-mailer-line being nil.
8554 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8555 Add debug call. Use buffer-substring-no-properties.
8556 (feedmail-say-debug, feedmail-say-chatter): New functions.
8557 (feedmail-find-eoh): Give an explicit error.
8558
42c7e61e
UJ
85592011-05-13 Ulf Jasper <ulf.jasper@web.de>
8560
c2571358 8561 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 8562 family from helvetica to sans.
c2571358 8563 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8564 etc/images/newsticker.
8565
c2571358 8566 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
8567 family from helvetica to sans.
8568
8569 * net/newst-plainview.el (newsticker-new-item-face)
8570 (newsticker-old-item-face, newsticker-immortal-item-face)
8571 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 8572 (newsticker-statistics-face): Change default family from
42c7e61e 8573 helvetica to sans.
c2571358 8574 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8575 etc/images/newsticker.
8576
8577 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8578 (newsticker--process-auto-mark-filter-match): : Tell user about
8579 auto-marking.
8580
8497a297
DV
85812011-05-13 Didier Verna <didier@xemacs.org>
8582
8583 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
8584 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8585 TODO entries.
8497a297
DV
8586 (lisp-lambda-list-keyword-parameter-indentation)
8587 (lisp-lambda-list-keyword-parameter-alignment)
8588 (lisp-lambda-list-keyword-alignment): New customizable user options.
8589 (lisp-indent-defun-method): Improve docstring.
8590 (extended-loop-p): Fix comment.
8591 (lisp-indent-lambda-list-keywords-regexp): New variable.
8592 (lisp-indent-lambda-list): New function.
8593 (lisp-indent-259): Use it.
8594 (lisp-indent-defmethod): Support for more than one
8595 method qualifier and properly indent methods lambda-lists.
8596 (defgeneric): Provide a missing common-lisp-indent-function property.
8597
f278f87f
SM
85982011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8601 bounds for the empty string (bug#8667).
8602
5233edd7
GM
86032011-05-13 Glenn Morris <rgm@gnu.org>
8604
5237a44f
GM
8605 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8606
8340026c 8607 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 8608 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 8609
5233edd7 8610 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 8611 (appt-time-msg-list): Doc fix.
a5464014 8612 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 8613
92d10796
AS
86142011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8615
8616 * progmodes/ld-script.el (ld-script-keywords)
8617 (ld-script-builtins): Update keywords list.
8618
914a0ae1
SM
86192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8620
c89be45f
SM
8621 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8622
914a0ae1
SM
8623 * shell.el (shell-completion-vars): New function.
8624 (shell-mode):
8625 * simple.el (read-shell-command): Use it.
8626 (blink-matching-open): No need for " [...]" in minibuffer-message.
8627
98dc3df3
GM
86282011-05-12 Glenn Morris <rgm@gnu.org>
8629
8630 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8631 (appt-check): Simplify.
8632
d2fc7e3d 86332011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 8634
4d61f28d 8635 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
8636 literal "/dev/null".
8637
d2fc7e3d 86382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
8639
8640 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8641 Fix typo.
8642
d2fc7e3d 86432011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 8644
3f254caa
SM
8645 * progmodes/which-func.el (which-function):
8646 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
8647 which might not be defined (Bug#8260).
8648
d45885f7
GM
86492011-05-12 Glenn Morris <rgm@gnu.org>
8650
8651 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8652 Let byte-compile-initial-macro-environment always take precedence.
8653
488086f4
SM
86542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * net/rcirc.el: Add support for SSL/TLS connections.
8657 (rcirc-server-alist): New field `encryption'.
8658 (rcirc): Check `encryption' settings.
8659 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8660 Merge make-local-variable into `set'.
8661 (rcirc--connection-open-p): New function.
8662 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8663 the process is not a network process (e.g. running gnutls-cli).
8664 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8665 Make rcirc-(en|de)code-coding-system local here.
8666 (rcirc-mode): Merge make-local-variable into `set'.
8667 (rcirc-parent-buffer): Make permanent buffer-local.
8668 (rcirc-multiline-minor-mode): Don't do it here.
8669 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8670 there's no server buffer.
8671
7d3b9d44
GM
86722011-05-11 Glenn Morris <rgm@gnu.org>
8673
f64049c6
GM
8674 * newcomment.el (comment-kill): Prefix "unused" local.
8675
93c9df73
GM
8676 * term/w32console.el (get-screen-color): Declare.
8677
7d3b9d44
GM
8678 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8679 Handle symbol elements of byte-compile-initial-macro-environment.
8680
9e2dd53f
LL
86812011-05-10 Leo Liu <sdl.web@gmail.com>
8682
488086f4
SM
8683 * bookmark.el (bookmark-bmenu-mode-map):
8684 Bind bookmark-bmenu-search to `/'.
8b340240 8685
9e2dd53f 8686 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
8687 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8688 (Footnote-unicode): New function.
8689 (footnote-style-alist): Add unicode style to the list.
8690 (footnote-style): Doc fix.
9e2dd53f 8691
79b70037
GM
86922011-05-10 Jim Meyering <meyering@redhat.com>
8693
8694 Fix doubled-word typos.
8695 * international/quail.el (quail-insert-kbd-layout): and and -> and
8696 * kermit.el: and and -> and
8697 * net/ldap.el (ldap-search-internal): to to -> to
8698 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8699 * progmodes/js.el (js-mode): and and -> and
8700 * textmodes/artist.el (artist-move-to-xy): at at -> at
8701 (artist-draw-region-trim-line-endings): if if -> if
8702 And Safetyc -> Safety.
8703 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8704
b8f82dc1 87052011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 8706 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
8707
8708 * files.el (hack-one-local-variable-eval-safep):
8709 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8710
4f99f44b
GM
87112011-05-10 Glenn Morris <rgm@gnu.org>
8712
8713 * calendar/diary-lib.el (diary-list-entries-hook)
8714 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8715 (diary-nongregorian-marking-hook, diary-list-entries)
8716 (diary-include-other-diary-files, diary-mark-entries)
8717 (diary-mark-included-diary-files): Doc fixes.
8718
84f29e6b
JB
87192011-05-09 Juanma Barranquero <lekktu@gmail.com>
8720
8721 * misc.el: Require tabulated-list.el during compilation.
8722
9bedd73a
CY
87232011-05-09 Chong Yidong <cyd@stupidchicken.com>
8724
488086f4
SM
8725 * progmodes/compile.el (compilation-start):
8726 Run compilation-filter-hook for the async case too.
9bedd73a
CY
8727 (compilation-filter-hook): Doc fix.
8728
797c735c
DD
87292011-05-09 Deniz Dogan <deniz@dogan.se>
8730
8731 * wdired.el: Remove outdated installation comment. Fix usage
8732 comment.
8733
5f4b1dfe
JB
87342011-05-09 Juanma Barranquero <lekktu@gmail.com>
8735
8736 * misc.el: Implement new command `list-dynamic-libraries'.
8737 (list-dynamic-libraries--loaded-only-p): New variable.
8738 (list-dynamic-libraries--refresh): New function.
8739 (list-dynamic-libraries): New command.
8740
4c44026c
CY
87412011-05-09 Chong Yidong <cyd@stupidchicken.com>
8742
488086f4
SM
8743 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8744 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
8745 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8746 higher priority to avoid clobbering by gnu.
8747
027f966d
CY
87482011-05-08 Chong Yidong <cyd@stupidchicken.com>
8749
8750 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8751 if the face has existing theme settings (Bug#8454).
8752
085f5d7d
CY
87532011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8754
488086f4
SM
8755 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8756 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8757
2a86a00c
RS
8758 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8759 special file names `.' and `..' (Bug#8259).
8760
d9c54a06
CY
87612011-05-08 Chong Yidong <cyd@stupidchicken.com>
8762
488086f4
SM
8763 * progmodes/grep.el (grep-mode-font-lock-keywords):
8764 Remove buffer-changing entries.
d9c54a06
CY
8765 (grep-filter): New function.
8766 (grep-mode): Add it to compilation-filter-hook.
8767
8768 * progmodes/compile.el (compilation-filter-hook)
8769 (compilation-filter-start): New defvars.
8770 (compilation-filter): Call compilation-filter-hook prior to
8771 updating the process mark.
8772
c4662635
SM
87732011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8776
b0512a1d
EZ
87772011-05-07 Eli Zaretskii <eliz@gnu.org>
8778
605c9376
EZ
8779 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8780 mailclient-send-it even if window-system is nil. (Bug#8595)
8781
c4662635
SM
8782 * term/w32console.el (terminal-init-w32console):
8783 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
8784 background-mode. (Bug#8597)
8785
d1dc2cc2
SM
87862011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8789 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8790 New functions.
8791 (defgeneric, eieio--defmethod): Use them.
8792 (eieio-defgeneric): Remove.
8793 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8794
915d1300
GM
87952011-05-07 Glenn Morris <rgm@gnu.org>
8796
a3961c3e
GM
8797 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8798 Use let rather than let*.
8799 (timeclock-find-discrep): Remove unused local.
8800
314347b9
GM
8801 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8802
915d1300
GM
8803 * calendar/appt.el (appt-time-msg-list): Doc fix.
8804
275b59b0
NF
88052011-05-06 Noah Friedman <friedman@splode.com>
8806
8807 * apropos.el (apropos-print-doc): Only use
8808 emacs-lisp-docstring-fill-column when it is bound to an integer,
8809 per that variable's documentation.
8810
6c19f744
SM
88112011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 8814 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 8815
60f884b2
GM
88162011-05-06 Glenn Morris <rgm@gnu.org>
8817
5006e634
GM
8818 * calendar/appt.el (appt-message-warning-time): Doc fix.
8819 (appt-warning-time-regexp): New option.
8820 (appt-make-list): Respect appt-message-warning-time.
8821
548d0a63
GM
8822 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8823 New options.
8824 (diary-add-to-list): Strip comments from the displayed string.
8825 (diary-mode): Set comment-start and comment-end.
8826
60f884b2
GM
8827 * vc/diff-mode.el (smerge-refine-subst): Declare.
8828 (diff-refine-hunk): Don't require smerge-mode when compiling.
8829
989681bb
JB
88302011-05-06 Juanma Barranquero <lekktu@gmail.com>
8831
8832 * simple.el (list-processes): Return nil as the docstring says.
8833
a6bc05e1
MA
88342011-05-05 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8837 to "".
8838 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8839 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8840 determining of binary transfer. (Bug#7383)
8841
23c22e9a
MA
88422011-05-05 Michael Albinus <michael.albinus@gmx.de>
8843
c4662635
SM
8844 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8845 Fix port computation bug. (Bug#8618)
23c22e9a 8846
0bff894f
GM
88472011-05-05 Glenn Morris <rgm@gnu.org>
8848
b8296902
GM
8849 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8850
1f522ce8
GM
8851 * simple.el (shell-dynamic-complete-functions)
8852 (comint-dynamic-complete-functions): Declare.
8853
cf5bee67
GM
8854 * net/network-stream.el (gnutls-negotiate):
8855 * simple.el (tabulated-list-print): Fix declarations.
8856
8857 * progmodes/gud.el (syntax-symbol, syntax-point):
8858 Remove unnecessary and incorrect declarations.
8859
0bff894f
GM
8860 * emacs-lisp/check-declare.el (check-declare-scan):
8861 Handle byte-compile-initial-macro-environment in bytecomp.el
8862
9869b3ae
SM
88632011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8864
8865 Fix earlier half-done eieio-defmethod change (bug#8338).
8866 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8867 Streamline and change calling convention.
8868 (defmethod): Adjust accordingly and simplify.
8869 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8870 new eieio--defmethod.
8871 (slot-boundp): Minor CSE simplification.
8872
9c1d5ac5
MZ
88732011-05-05 Milan Zamazal <pdm@zamazal.org>
8874
8875 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8876 (glasses-make-readable): Use glasses-separate-capital-groups.
8877
455c834e
JB
88782011-05-05 Juanma Barranquero <lekktu@gmail.com>
8879
8880 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8881 (warning-series): Doc fix.
8882 (display-warning): Don't try to create the buffer if we just found it.
8883
9ed7c8cb
CY
88842011-05-04 Chong Yidong <cyd@stupidchicken.com>
8885
8886 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8887 (autoload-find-generated-file): New function.
8888 (generate-file-autoloads): Bind generated-autoload-file to
8889 buffer-file-name.
9869b3ae
SM
8890 (update-file-autoloads, update-directory-autoloads):
8891 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8892 output file (Bug#7989).
8893 (batch-update-autoloads): Doc fix.
8894
0898ca10
JB
88952011-05-04 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8898
31dfb76c
GM
88992011-05-04 Glenn Morris <rgm@gnu.org>
8900
f330b642
GM
8901 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8902 function, so it follows changes in calendar-date-style.
8903 (diary-fancy-date-matcher): New function.
8904 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8905 (diary-fancy-font-lock-fontify-region-function):
8906 Use diary-fancy-date-pattern as a function.
8907
31dfb76c
GM
8908 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8909 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8910
48e79d6a
TZ
89112011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8912
8913 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8914 instead of positional arguments. Allow :keylist and :crlfiles
8915 arguments.
8916 (open-gnutls-stream): Call it.
8917
8918 * net/network-stream.el (network-stream-open-starttls): Adjust to
8919 call `gnutls-negotiate' with :process and :hostname arguments.
8920
dd5a5ee0
SM
89212011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8922
ef80fc09
SM
8923 * minibuffer.el (completion--message): New function.
8924 (completion--do-completion, minibuffer-complete)
8925 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8926 (completion--do-completion): Don't ignore completion-auto-help when in
8927 icomplete-mode.
8928
dd5a5ee0
SM
8929 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8930 internal encoding (e.g. tibetan zero is not whitespace).
8931 (global-whitespace-mode): Prefer save-current-buffer.
8932 (whitespace-trailing-regexp): Remove useless save-match-data.
8933 (whitespace-empty-at-bob-regexp): Minor simplification.
8934
b7d22a83
CY
89352011-05-03 Chong Yidong <cyd@stupidchicken.com>
8936
8937 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8938
5192af46
AM
89392011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8940
8941 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 8942 Use `concat' to create string for insertion.
5192af46 8943
5767d190
SM
89442011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8945
8946 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8947 Avoid open-line which runs post-self-insert-hook.
8948 (bibtex-fill-entry): Remove unused `end' var.
8949
bf242939
AM
89502011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8951
5767d190
SM
8952 * textmodes/ispell.el (ispell-add-per-file-word-list):
8953 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 8954
25666126
LL
89552011-05-03 Leo Liu <sdl.web@gmail.com>
8956
8957 * isearch.el (isearch-yank-pop): New command.
5767d190 8958 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
8959 (isearch-forward): Mention it.
8960
52d3c2d0
SM
89612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8962
1bcace58
SM
8963 * simple.el (minibuffer-complete-shell-command): Remove.
8964 (minibuffer-local-shell-command-map): Use completion-at-point.
8965 (read-shell-command): Setup completion vars here instead.
8966 (read-expression-map): Bind TAB to symbol completion.
8967
52d3c2d0
SM
8968 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8969 error directly rather via storing it into `results'.
8970
35813471
LL
89712011-05-02 Leo Liu <sdl.web@gmail.com>
8972
8973 * vc/diff.el: Fix description.
8974
e793a940
LMI
89752011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8976
8977 * server.el (server-eval-at): New function.
8978
8de66e05
LMI
89792011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8980
8981 * net/network-stream.el (open-network-stream): Take a :nowait
8982 parameter and pass it on to `make-network-process'.
8983 (network-stream-open-plain): Ditto.
8984
dcb79f20
AS
89852011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8986
8987 * faces.el (face-spec-set-match-display): Don't match toolkit
8988 options on terminal frames.
8989
14a7fbd8
SM
89902011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8991
7eabc1be
SM
8992 * progmodes/pascal.el: Use lexical binding.
8993 (pascal-mode-map): Remove author preferences.
8994
14a7fbd8
SM
8995 * pcomplete.el (pcomplete-std-complete): Don't abuse
8996 completion-at-point.
8997
50f84510
JB
89982011-04-28 Juanma Barranquero <lekktu@gmail.com>
8999
6e087a44
JB
9000 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9001 removing code that has been dead since 1991 or so.
9002
50f84510
JB
9003 * startup.el (command-line): When warning about "_emacs", use a
9004 delayed warning to allow the user to filter it out.
9005
0ba690bd
DD
90062011-04-28 Deniz Dogan <deniz@dogan.se>
9007
9008 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9009 user has not joined.
9010
08abfaad
SM
90112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9014 aren't any completions at point.
9015
638f053a
JB
90162011-04-28 Juanma Barranquero <lekktu@gmail.com>
9017
9018 * subr.el (display-delayed-warnings): New function.
9019 (delayed-warnings-hook): New variable.
9020
8fff8daa
SM
90212011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9022
08abfaad
SM
9023 * minibuffer.el (completion-at-point, completion-help-at-point):
9024 Don't presume that a given completion-at-point-function will always
9025 use the same calling convention.
9026
8fff8daa
SM
9027 * pcomplete.el (pcomplete-completions-at-point):
9028 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9029 pcomplete-seen is non-nil.
9030 (pcomplete-comint-setup): Also recognize the new comint/shell
9031 completion functions.
9032 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9033 pcomplete-seen is non-nil.
9034
841a1577 90352011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9036
841a1577 9037 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9038 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9039 the first character in the entry. This allows for code to add its
211ec907
UJ
9040 own uid to the entry.
9041 (icalendar--convert-float-to-ical): Add export of
9042 `diary-float'-entries save for those with the optional DAY
9043 argument.
9044
2a782793
DC
90452011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9046
9047 * subr.el (shell-quote-argument): Use alternate escaping strategy
9048 when we spot a variable reference in a string.
9049
0438ce91
DC
90502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9051
9052 * cus-start.el (all): Define customization for debug-on-event.
9053
841a1577 90542011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9055
9056 * subr.el (shell-quote-argument): Escape correctly under Windows.
9057
d090ed6c
SM
90582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9059
9060 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9061
bfd31217
MA
90622011-04-25 Michael Albinus <michael.albinus@gmx.de>
9063
d090ed6c
SM
9064 * net/tramp.el (tramp-process-actions): Add POS argument.
9065 Delete region between POS and (pos).
bfd31217 9066
d090ed6c
SM
9067 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9068 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9069 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9070
9071 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9072 position in `tramp-process-actions' call.
9073
9074 * net/trampver.el: Update release number.
9075
e92f3bd3
SM
90762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9077
850256b5
SM
9078 * custom.el (defcustom): Obey lexical-binding.
9079
e92f3bd3
SM
9080 Fix octave-inf completion problems reported by Alexander Klimov.
9081 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9082 Inherit from octave-mode-syntax-table.
9083 (inferior-octave-mode): Set info-lookup-mode.
9084 (inferior-octave-completion-at-point): New function.
9085 (inferior-octave-complete): Use it and completion-in-region.
9086 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9087 comint-filename-completion.
9088 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9089 symbol elements which shouldn't be word elements.
9090 (octave-font-lock-keywords, octave-beginning-of-defun)
9091 (octave-function-header-regexp): Adjust regexps accordingly.
9092 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9093
cd22b309
JB
90942011-04-25 Juanma Barranquero <lekktu@gmail.com>
9095
9096 * net/gnutls.el (gnutls-errorp): Declare before first use.
9097
8b492194
TZ
90982011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9099
9100 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9101 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9102 default trustfile exists before going to use it. Add missing
5a5fa834 9103 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9104 Reported by Claudio Bley <claudio.bley@gmail.com>.
9105 (open-gnutls-stream): Add usage example.
9106
9107 * net/network-stream.el (network-stream-open-starttls): Give host
9108 parameter to `gnutls-negotiate'.
9109 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9110 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9111
841a1577 91122011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9113
cd22b309
JB
9114 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9115 Use correct match group (bug#8438).
05842630 9116
3ba7869c
CY
91172011-04-24 Chong Yidong <cyd@stupidchicken.com>
9118
512e3ae1
CY
9119 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9120 (package-menu--generate): New arg specifying packages to show.
9121 (package-menu-refresh, package-menu-execute, list-packages):
9122 Callers changed.
9123 (package-show-package-list): New function, replacing deleted
9124 package--list-packages (renamed because it is non-internal).
9125
9126 * finder.el (finder-list-matches): Use package-show-package-list
9127 instead of deleted package--list-packages.
9128
e92f3bd3
SM
9129 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9130 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9131 (vc-annotate-mode-map): Bind it to RET.
9132
7031be6d
UR
91332011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9134
9135 * progmodes/etags.el (next-file): Don't use set-buffer to change
9136 buffers (Bug#8478).
9137
4ef177aa
CY
91382011-04-24 Chong Yidong <cyd@stupidchicken.com>
9139
c8d173eb
CY
9140 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9141
4ef177aa
CY
9142 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9143 (apropos-accumulator): Doc fix.
9144 (apropos-function, apropos-macro, apropos-command)
9145 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9146 (apropos-plist): Add face property.
9147 (apropos-symbols-internal): Fix indentation.
9148 (apropos-print): Simplify help, and recognize apropos-multi-type.
9149 (apropos-print-doc): Use button-type-get to extract the button's
9150 face property. Fill docstring (Bug#8352).
9151
4ffd0d6b 91522011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9153
9154 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9155
c6c32125 9156 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9157 (mpuz-mode-map): Use mapc.
c6c32125
JB
9158 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9159 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9160 Fix typos in docstrings.
9161
58d468b4
JB
9162 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9163 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9164
6470c3c6
JB
9165 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9166
4ffd0d6b 91672011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9168
9169 * minibuffer.el (completion--do-completion): Avoid the "Next char
9170 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9171
3ad8bad0
CY
9172 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9173 mouse-2 into unread-command-events, it is interpreted correctly.
9174
71d73c9c 9175 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9176 (image-toggle-display): Doc fix.
71d73c9c 9177
841a1577 91782011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9179
4ffd0d6b
GM
9180 * textmodes/page.el (what-page): Use line-number-at-pos to
9181 calculate line number (Bug#6825).
6e1dbaa9 9182
c2fb1b60
JB
91832011-04-22 Juanma Barranquero <lekktu@gmail.com>
9184
9185 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9186 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9187 Pass argument NO-DEFAULT to `find-tag-interactive'.
9188
e02f48d7
JB
91892011-04-22 Juanma Barranquero <lekktu@gmail.com>
9190
9191 Lexical-binding cleanup.
9192
9193 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9194 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9195 * progmodes/ada-prj.el (ada-prj-initialize-values)
9196 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9197 (ada-prj-show-value):
9198 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9199 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9200 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9201 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9202 * progmodes/bug-reference.el (bug-reference-push-button):
9203 * progmodes/fortran.el (fortran-line-length):
9204 * progmodes/glasses.el (glasses-change):
9205 * progmodes/octave-mod.el (octave-fill-paragraph):
9206 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9207 (python-pdbtrack-grub-for-buffer, python-sentinel):
9208 * progmodes/sql.el (sql-save-connection):
9209 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9210 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9211 Mark unused parameters.
9212
9213 * progmodes/compile.el (compilation--flush-directory-cache)
9214 (compilation--flush-parse, compile-internal): Mark unused parameters.
9215 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9216 (compilation-next-error-function): Remove unused variable `timestamp'.
9217
9218 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9219 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9220
9221 * progmodes/dcl-mode.el (dcl-end-of-command):
9222 Remove unused variable `start'.
9223 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9224 (dcl-option-value-basic, dcl-option-value-offset)
9225 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9226 Mark unused parameters.
9227 (dcl-save-local-variable): Remove unused variable `val'.
9228 (mode): Declare.
9229
9230 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9231 Mark unused parameters.
9232 (delphi-ignore-changes): Move before first use.
9233 (delphi-charset-token-at): Remove unused variable `start'.
9234 (delphi-else-start): Remove unused variable `if-count'.
9235 (delphi-comment-block-start, delphi-comment-block-end):
9236 Remove unused variable `kind'.
9237 (delphi-indent-line): Remove unused variable `new-point'.
9238
9239 * progmodes/ebrowse.el (ebrowse-files-list)
9240 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9241 Mark unused parameters. Don't quote `lambda'.
9242 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9243 Don't quote `lambda'.
9244 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9245 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9246 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9247 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9248 Use `ignore-errors'.
9249 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9250 (ebrowse-view/find-file-and-search-pattern)
9251 (ebrowse-view/find-member-declaration/definition):
9252 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9253 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9254 Rename parameter PREFIX-ARG to PREFIX.
9255 (ebrowse-tags-read-name): Remove unused variables `start' and
9256 `member-info'.
9257 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9258 to `tags-file'.
9259
9260 * progmodes/etags.el (local-find-tag-hook): Declare.
9261 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9262 Mark unused parameters.
9263
9264 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9265 (executable-interpret): Mark unused parameter.
9266
9267 * progmodes/flymake.el (flymake-process-sentinel)
9268 (flymake-after-change-function)
9269 (flymake-create-temp-with-folder-structure)
9270 (flymake-get-include-dirs-dot): Mark unused parameters.
9271 (flymake-safe-delete-directory): Remove unused variable `err'.
9272
9273 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9274 (speedbar-timer-fn, speedbar-line-text)
9275 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9276 (speedbar-center-buffer-smartly): Declare functions.
9277 (gdb-find-watch-expression): Remove unused variable `array'.
9278 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9279 (gdb-starting): Mark unused parameters.
9280 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9281 (gdb-table-string): Remove unused variable `res'.
9282 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9283 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9284 (gdb-display-buffer): Remove unused variable `cur-size'.
9285
9286 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9287 allow lexical-binding compilation.
9288 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9289 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9290 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9291 Mark unused parameters.
9292 (gud-gdb-marker-filter): Remove unused variable `match'.
9293 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9294 lambda expressions and funcall them, instead of using `fset'.
9295
9296 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9297 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9298
9299 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9300 variable `header-beg'; use `let'.
9301
9302 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9303 `restart', `last-sexp' and `at-do'.
9304
9305 * progmodes/js.el (js--debug): Mark unused parameter.
9306 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9307 (js--splice-into-items): Remove unused variable `item'.
9308 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9309
9310 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9311 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9312 (makefile-complete): Remove unused variable `try'.
9313 (makefile-fill-paragraph, makefile-match-function-end):
9314 Mark unused parameters.
9315
9316 * progmodes/octave-inf.el (inferior-octave-complete):
9317 Remove unused variable `proc'.
9318 (inferior-octave-output-digest): Mark unused parameter.
9319
9320 * progmodes/perl-mode.el (perl-calculate-indent):
9321 Remove unused variable `err'.
9322
9323 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9324 (prolog-indent-line): Mark unused parameters.
9325 (prolog-indent-line): Remove unused variable `beg'.
9326
9327 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9328 (reporter-dont-compact-list): Declare.
9329
9330 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9331 Remove unused variable `char'.
9332 (sh-debug): Mark unused parameter.
9333 (sh-get-indent-info): Remove unused variable `start'.
9334 (sh-calculate-indent): Remove unused variable `var'.
9335
9336 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9337 (simula-electric-keyword): Remove unused variable `null'.
9338 (simula-search-backward, simula-search-forward): Remove unused
9339 variables `begin' and `end'.
9340
9341 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9342 Remove unused variable `pos'.
9343 (vera-electric-tab, vera-comment-uncomment-region):
9344 Mark unused parameters.
9345 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9346
7ede3b65
CY
93472011-04-22 Chong Yidong <cyd@stupidchicken.com>
9348
9349 * emacs-lisp/package.el (package--builtins, package-alist)
9350 (package-load-descriptor, package-built-in-p, package-activate)
9351 (define-package, package-installed-p)
9352 (package-compute-transaction, package-buffer-info)
9353 (package--push): Doc fix. Distinguish more clearly between
9354 version strings and version lists.
9355
121656e9
JB
93562011-04-21 Juanma Barranquero <lekktu@gmail.com>
9357
9358 Lexical-binding cleanup.
9359
9360 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9361 (5x5-make-mutate-best):
9362 * play/fortune.el (fortune-in-buffer):
9363 * play/gomoku.el (gomoku-init-display):
9364 * play/solitaire.el (solitaire, solitaire-do-check):
9365 * play/tetris.el (tetris-default-update-speed-function):
9366 Mark unused parameters.
9367
9368 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9369 (bubbles--shift): Remove unused variable `char-org'.
9370 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9371 (bubbles--show-images): Remove unused variable `char'.
9372
9373 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9374 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9375 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9376 (decipher-analyze-buffer): Use ?\s.
9377 (decipher-make-checkpoint): Remove unused variable `mapping'.
9378
9379 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9380
9381 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9382 Remove unused variable `result'; use `let'.
9383
9384 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9385 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9386 (gametree-children-shown-p, gametree-compute-reduced-score):
9387 Use `ignore-errors'.
9388
9389 * play/handwrite.el (ps-lpr-switches): Declare.
9390 (handwrite): Remove unused variables `pmin' and `lastp'.
9391
9392 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9393
9394 * play/landmark.el (landmark-init-display)
9395 (landmark-update-naught-weights): Mark unused parameters.
9396 (landmark-y): Remove unused variable `noise'. Simplify.
9397 (landmark-human-plays): Remove unused variable `score'.
9398
9399 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9400 (mpuz-try-proposal): Remove unused variable `game'.
9401
9402 * play/zone.el (life-patterns): Declare.
9403
80f499c7
JB
94042011-04-20 Juanma Barranquero <lekktu@gmail.com>
9405
9406 * vc/vc.el (ediff-vc-internal): Declare function.
9407
024ff170
SM
94082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9409
c0a193ea
SM
9410 * shell.el: Use lexical-binding and std completion UI.
9411 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9412 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9413 comint-preoutput-filter-functions rather than on
9414 comint-output-filter-functions.
9415 (shell-command-completion, shell--command-completion-data)
9416 (shell-filename-completion, shell-environment-variable-completion)
9417 (shell-c-a-p-replace-by-expanded-directory): New functions.
9418 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9419 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9420 (shell-dynamic-complete-environment-variable): Use them.
9421 (shell-dynamic-complete-as-environment-variable)
9422 (shell-dynamic-complete-as-command): Remove.
9423 (shell-match-partial-variable): Match past point.
9424 * comint.el: Clean up use of completion-at-point-functions.
9425 (comint-completion-at-point): New function.
9426 (comint-mode): Use it completion-at-point-functions.
9427 (comint-dynamic-complete): Make it obsolete.
9428 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9429 (comint-c-a-p-replace-by-expanded-history): New function.
9430 (comint-dynamic-complete-functions)
9431 (comint-replace-by-expanded-history): Use it.
9432 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9433 termination strings. Try harder to avoid second try-completion.
9434 (completion-in-region-mode-map): Disable bindings that don't work yet.
9435
2dbaa080
SM
9436 * comint.el: Use lexical-binding. Require CL.
9437 (comint-dynamic-complete-functions): Use comint-filename-completion.
9438 (comint-completion-addsuffix): Tweak custom type.
9439 (comint-filename-completion, comint--common-suffix)
9440 (comint--common-quoted-suffix, comint--table-subvert)
9441 (comint--complete-file-name-data): New functions.
9442 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9443 (comint-dynamic-list-filename-completions): Use them.
9444 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9445
2dbaa080
SM
9446 * minibuffer.el (completion-in-region-mode):
9447 Keep completion-in-region-mode--predicate global.
9448 (completion-in-region--postch):
9449 Assume completion-in-region-mode--predicate is not null.
9450
c79a6f38
SM
9451 * progmodes/flymake.el (flymake-start-syntax-check-process):
9452 Obey `dir'. Simplify.
9453
024ff170
SM
9454 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9455 we're in VC after all.
9456
1c6c854e
CS
94572011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9458
9459 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9460 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9461 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9462
bed7f140
SM
94632011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9464
332e62ab
SM
9465 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9466 add sanity check.
9467
bed7f140
SM
9468 * obsolete/erc-hecomplete.el: Make obsolete.
9469 * obsolete/: Standardize obsolescence info in the header.
9470
f195c582
GM
94712011-04-20 Glenn Morris <rgm@gnu.org>
9472
9473 * calendar/solar.el (solar-horizontal-coordinates):
9474 Use the longitude argument rather than `calendar-longitude'.
9475 (solar-date-next-longitude): Remove unused locals.
9476
cb79b8c0
VJL
94772011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9478
9479 * whitespace.el: New version 13.2.1.
9480
94812011-04-20 felix <EmacsWiki> (tiny change)
9482
d8e4b68b 9483 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9484 switching between major modes on a file.
9485
602ea69d
SM
94862011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9489 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9490 multi-line comments as well.
9491
06b60517
JB
94922011-04-19 Juanma Barranquero <lekktu@gmail.com>
9493
9494 Lexical-binding cleanup.
9495
9496 * arc-mode.el (archive-mode-revert):
9497 * cmuscheme.el (scheme-interactively-start-process):
9498 * custom.el (custom-initialize-delay):
9499 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9500 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9501 * emacs-lock.el (emacs-lock-clear-sentinel):
9502 * ezimage.el (defezimage):
9503 * follow.el (follow-avoid-tail-recenter):
9504 * fringe.el (set-fringe-mode-1):
9505 * generic-x.el (bat-generic-mode-compile):
9506 * help-mode.el (help-info-variable, help-do-xref)
9507 (help-mode-revert-buffer):
9508 * help.el (view-emacs-todo):
9509 * iswitchb.el (iswitchb-completion-help):
9510 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9511 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9512 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9513 * locate.el (locate-update):
9514 * longlines.el (longlines-encode-region)
9515 (longlines-after-change-function):
9516 * outline.el (outline-isearch-open-invisible):
9517 * ps-def.el (declare-function, charset-dimension, char-width)
9518 (encode-char):
9519 * ps-mule.el (ps-mule-plot-string):
9520 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9521 (recentf-edit-list-select, recentf-edit-list-validate)
9522 (recentf-open-files-action):
9523 * rect.el (delete-whitespace-rectangle-line)
9524 (rectangle-number-line-callback):
9525 * register.el (window-configuration-to-register)
9526 (frame-configuration-to-register):
9527 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9528 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9529 (xselect-convert-to-targets, xselect-convert-to-delete)
9530 (xselect-convert-to-filename, xselect-convert-to-charpos)
9531 (xselect-convert-to-lineno, xselect-convert-to-colno)
9532 (xselect-convert-to-os, xselect-convert-to-host)
9533 (xselect-convert-to-user, xselect-convert-to-class)
9534 (xselect-convert-to-name, xselect-convert-to-integer)
9535 (xselect-convert-to-atom, xselect-convert-to-identity):
9536 * subr.el (declare, ignore, process-kill-without-query)
9537 (text-clone-maintain):
9538 * terminal.el (te-get-char, te-tic-sentinel):
9539 * tool-bar.el (tool-bar-make-keymap):
9540 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9541 * type-break.el (type-break-mode, type-break-noninteractive-query):
9542 * view.el (View-back-to-mark):
9543 * wid-browse.el (widget-browse-action, widget-browse-widget)
9544 (widget-browse-widgets, widget-browse-sexp):
9545 * widget.el (define-widget-keywords):
9546 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9547 Mark unused parameters.
9548
9549 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9550 (align-areas): Remove unused variable `look'.
9551 (align-region): Remove unused variables `real-end' and `pos-list'.
9552
9553 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9554
9555 * bindings.el (mode-line-modified, mode-line-remote):
9556 Mark unused parameters.
9557 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9558
9559 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9560 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9561
9562 * comint.el (comint-history-isearch-pop-state)
9563 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9564 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9565 (comint-substitute-in-file-name): Doc fix.
9566
9567 * completion.el (cmpl-statistics-block): Mark unused parameter.
9568 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9569 (save-completions-to-file, load-completions-from-file):
9570 Remove unused local variable `e'.
9571
9572 * composite.el (compose-chars): Remove unused variable `len'.
9573 (lgstring-insert-glyph): Remove unused variable `g'.
9574 (compose-glyph-string): Remove unused variables `ascent',
9575 `descent', `lbearing' and `rbearing'.
9576 (compose-glyph-string-relative): Remove unused variables
9577 `lbearing', `rbearing' and `wadjust'.
9578 (compose-gstring-for-graphic): Remove unused variables `header',
9579 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
9580 (compose-gstring-for-terminal): Remove unused variables `header'
9581 and `nchars'. Use `let', not `let*'.
9582
9583 * cus-edit.el (Custom-set, Custom-save, custom-reset)
9584 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9585 (Custom-buffer-done, custom-buffer-create-internal)
9586 (custom-browse-visibility-action, custom-browse-group-tag-action)
9587 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9588 (widget-magic-mouse-down-action, custom-toggle-parent)
9589 (custom-add-parent-links, custom-toggle-hide-variable)
9590 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9591 (custom-toggle-hide-face, face, hook, custom-group-link-action)
9592 (custom-face-menu-create, custom-variable-menu-create, get)
9593 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9594 (custom-reset-standard-save-and-update): Remove unused variable `value'.
9595 (customize-apropos): Remove unused variable `tests'.
9596 (custom-group-value-create): Remove unused variable `hidden-p'.
9597 (sort-fold-case): Declare.
9598
9599 * cus-theme.el (custom-reset-standard-faces-list)
9600 (custom-reset-standard-variables-list): Declare.
9601 (customize-create-theme, custom-theme-revert, custom-theme-write)
9602 (custom-theme-choose-mode, customize-themes, custom-theme-save):
9603 Mark unused parameters.
9604
9605 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9606
9607 * delim-col.el (delimit-columns-max): Move defvar before first use.
9608
9609 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 9610 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
9611
9612 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9613 (auto-insert): Declare.
9614 (desktop-restore-file-buffer): Rename desktop-* parameters;
9615 mark unused ones.
9616 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9617 (desktop-buffer): Rename desktop-* parameters.
9618
9619 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9620 (dframe-reposition-frame-xemacs, dframe-help-echo)
9621 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9622 Mark unused parameters.
9623
9624 * dired-aux.el (backup-extract-version-start, overwrite-query)
9625 (overwrite-backup-query, rename-regexp-query)
9626 (rename-non-directory-query): Declare.
9627 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9628 (dired-add-entry): Remove unused variable `orig-file-name'.
9629 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9630 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9631 `dired-copy-preserve-time' directly.
9632 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9633 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9634
9635 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9636 (dired-virtual-revert, dired-make-relative-symlink):
9637 Mark unused parameters.
9638 (manual-program): Declare.
9639 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9640 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9641 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9642
9643 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9644
9645 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9646
9647 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9648 Declare.
9649
9650 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9651
9652 * electric.el (Electric-command-loop): Rename parameter
9653 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9654
9655 * expand.el (expand-in-literal): Remove unused variable `here'.
9656
9657 * facemenu.el (facemenu-add-new-color):
9658 Remove unused variable `docstring'.
9659
9660 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9661 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9662 (face-attr-construct): Mark unused parameter. Doc fix.
9663 (read-color): Remove unused variable `hex-string'.
9664
9665 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9666 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9667 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9668 (display-buffer-other-frame): Remove unused variable `old-window'.
9669 (kill-buffer-hook): Declare.
9670 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9671 Mark unused parameters.
9672 (after-find-file): Pass 1 to `auto-save-mode', not t.
9673
9674 * files-x.el (auto-insert): Declare.
9675 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9676
9677 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 9678 variable `buf'. Mark unused parameter.
06b60517
JB
9679 (find-lisp-insert-directory): Mark unused parameter.
9680
9681 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9682 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9683 (format-common-tail): Remove, unused.
9684 (format-deannotate-region): Remove unused variable `loc'.
9685 (format-annotate-region): Remove unused variable `p'.
9686 (format-annotate-single-property-change): Remove unused variables
9687 `default' and `tail'.
9688
9689 * forms.el (read-file-filter): Declare.
9690 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9691
9692 * frame.el (frame-creation-function-alist): Mark unused parameter.
9693 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9694
9695 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9696 Remove unused parameters.
9697 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9698 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9699
9700 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9701 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9702 (hfy-prepare-tag-map): Mark unused parameters.
9703 (htmlfontify-buffer): Use `called-interactively-p'.
9704
9705 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9706 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9707 (ibuffer-do-occur): Mark unused parameters.
9708 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9709 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9710
9711 * ibuffer.el: Don't quote `lambda'.
9712 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9713 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9714 Mark unused parameters.
9715
9716 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9717 (ido-completing-read): Mark unused parameters.
9718 (ido-copy-current-word): Mark unused parameters;
9719 remove unused variable `name'.
9720 (ido-sort-merged-list): Remove unused parameter `dirs'.
9721
9722 * ielm.el (ielm-input-sender): Mark unused parameter.
9723 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9724 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9725 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9726 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9727 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9728
9729 * image-dired.el (image-dired-display-thumbs): Remove unused
9730 variables `curr-file' and `count'.
9731 (image-dired-remove-tag): Remove unused variable `start'.
9732 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9733 variable `curr-file'
9734 (image-dired-rotate-original): Remove unused variable `temp-file'.
9735 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9736 Remove unused variable `file'.
9737 (image-dired-gallery-generate): Remove unused variable `curr'.
9738 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9739
9740 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9741
9742 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9743
9744 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9745
9746 * isearch.el (minibuffer-history-symbol): Declare.
9747 (isearch-edit-string): Remove unused variable `err'.
9748 (isearch-message-prefix, isearch-message-suffix):
9749 Mark unused parameters.
9750
9751 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9752
9753 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9754
9755 * makesum.el (double-column): Remove unused variable `cnt'.
9756
9757 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9758 (ido-ignore-item-temp-list): Declare.
9759
9760 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9761 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9762 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9763 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9764 `mouse-col-delta'.
9765
9766 * mouse-sel.el (mouse-extend-internal):
9767 Remove unused variable `orig-window-frame'.
9768
9769 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9770 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9771 Move declarations before first use.
9772 (pcomplete-opt): Mark unused parameters; doc fix.
9773
9774 * proced.el (proced-revert): Mark unused parameter.
9775 (proced-send-signal): Remove unused variable `err'.
9776
9777 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9778 Rename parameter PREFIX-ARG to ARG.
9779 (ps-basic-plot-string, ps-basic-plot-whitespace):
9780 Mark unused parameters.
9781
9782 * replace.el (replace-count): Define.
9783 (occur-revert-function): Mark unused parameters.
9784 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9785 (isearch-case-fold-search, isearch-string): Declare.
9786 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9787 bind `case-fold-search'. Remove unused variables `beg' and `end',
9788 and simplify.
9789 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9790 COUNT and bind `replace-count'.
9791 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9792 to COUNT.
9793
9794 * savehist.el (print-readably, print-string-length): Declare.
9795
9796 * shadowfile.el (shadow-expand-cluster-in-file-name):
9797 Remove unused variable `cluster'.
9798 (shadow-copy-file): Remove unused variable `i'.
9799 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9800 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9801 (shadow-define-literal-group, shadow-define-regexp-group)
9802 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9803
9804 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9805 (shell): Use `called-interactively-p'.
9806 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9807
9808 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9809 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9810 (delete-backward-char): Remove unused variable `ocol'.
9811 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9812 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9813 (event-apply-hyper-modifier, event-apply-shift-modifier)
9814 (event-apply-control-modifier, event-apply-meta-modifier):
9815 Mark unused parameters.
9816 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9817 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9818
9819 * speedbar.el (speedbar-ignored-directory-expressions)
9820 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9821 (speedbar-find-file, speedbar-dir-follow)
9822 (speedbar-directory-buttons-follow, speedbar-tag-find)
9823 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9824 (speedbar-buffers-line-directory, speedbar-buffer-click):
9825 Mark unused parameters.
9826 (speedbar-tag-file): Remove unused variable `mode'.
9827 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9828
9829 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9830
9831 * talk.el (talk): Remove unused variable `display'.
9832
9833 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9834 (tar-write-region-annotate): Mark unused parameter.
9835
9836 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9837 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9838 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9839 warning by another.
9840
9841 * time-stamp.el (time-stamp-string-preprocess):
9842 Remove unused variable `require-padding'.
9843
9844 * tree-widget.el (widget-glyph-enable): Declare.
9845 (tree-widget-action): Mark unused parameter.
9846
9847 * w32-fns.el (x-get-selection): Mark unused parameter.
9848 (autoload-make-program, generated-autoload-file): Declare.
9849
9850 * wdired.el (wdired-revert): Mark unused parameters.
9851 (wdired-xcase-word): Remove unused variable `err'.
9852
9853 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9854 (whitespace-help-scroll): Remove unused variable `data-help'.
9855
9856 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9857 (widget-image-insert, widget-after-change, default)
9858 (widget-default-format-handler, widget-default-notify)
9859 (widget-default-prompt-value, widget-info-link-action)
9860 (widget-url-link-action, widget-function-link-action)
9861 (widget-variable-link-action, widget-file-link-action)
9862 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9863 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9864 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9865 (widget-insert-button-action, widget-delete-button-action, visibility)
9866 (widget-documentation-link-action, widget-documentation-string-action)
9867 (widget-const-prompt-value, widget-regexp-match, symbol)
9868 (widget-coding-system-prompt-value)
9869 (widget-key-sequence-value-to-external, sexp)
9870 (widget-sexp-value-to-internal, character, vector, cons)
9871 (widget-choice-prompt-value, widget-boolean-prompt-value)
9872 (widget-color--choose-action): Mark unused parameters.
9873 (widget-item-match-inline, widget-choice-match-inline)
9874 (widget-checklist-match, widget-checklist-match-inline)
9875 (widget-group-match): Rename parameter VALUES to VALS.
9876 (widget-field-value-set): Remove unused variable `size'.
9877 (widget-color-action): Remove unused variables `value' and `start'.
9878
9879 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9880 variable `dir'. Doc fix.
06b60517
JB
9881 (windmove-find-other-window): Don't pass it.
9882
9883 * window.el (count-windows): Mark unused parameter.
9884 (bw-adjust-window): Remove unused variable `err'.
9885
9886 * woman.el (woman-file-name): Remove unused variable `default'.
9887 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9888 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9889 (global-font-lock-mode): Declare.
9890 (woman-decode-region): Mark unused parameter.
9891 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9892
9893 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9894 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9895 (x-dnd-handle-moz-url): Remove unused variable `title'.
9896 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9897
9898 * xml.el (xml-parse-tag, xml-parse-attlist):
9899 Remove unused variable `pos'.
9900
bc4f7f3d
GM
99012011-04-19 Glenn Morris <rgm@gnu.org>
9902
9903 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9904 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9905 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9906 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9907 * calendar/cal-html.el (cal-html-insert-minical):
9908 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9909 (calendar-mark-date-pattern):
9910 Prefix "unused" locals.
9911
9912 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9913 optional argument `style'.
9914
9915 * calendar/appt.el (appt-make-list):
9916 * calendar/cal-china.el (calendar-chinese-date-string):
9917 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9918 (diary-hebrew-yahrzeit):
9919 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9920 * calendar/calendar.el (calendar-generate-window):
9921 * calendar/time-date.el (time-to-days):
9922 Remove unused local variables.
9923
16a43933
CY
99242011-04-18 Chong Yidong <cyd@stupidchicken.com>
9925
9926 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9927 glyphless-char-display table.
9928 (tabulated-list-glyphless-char-display): New var.
9929
7eed1860
SS
99302011-04-18 Sam Steingold <sds@gnu.org>
9931
9932 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9933 to acknowledgments.
9934
4d2d1ccd
GM
99352011-04-17 Glenn Morris <rgm@gnu.org>
9936
9937 * calendar/diary-lib.el (diary-sexp-entry):
9938 * calendar/holidays.el (holiday-sexp):
9939 Set debug-on-error rather than the removed stack-trace-on-error.
9940
239da61d
GM
99412011-04-16 Glenn Morris <rgm@gnu.org>
9942
9943 * progmodes/f90.el: Use lexical-binding.
9944 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9945
8b05752a
SM
99462011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9947
daca8ba5
SM
9948 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9949 (mail-mode): Setup mailalias completion here instead.
9950 * mail/mailalias.el: Use lexical-binding.
9951 (pattern, mailalias-done): Declare dynamic.
9952 (mail-completion-at-point-function): New function, from mail-complete.
9953 (mail-complete): Use it.
9954 (mail-completion-expand): New function.
9955 (mail-get-names): Use it.
9956 (mail-directory, mail-directory-process, mail-directory-stream):
9957 Don't use `pattern' for lexically bound arg.
9958
6f542485
SM
9959 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9960
037e7c3f
SM
9961 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9962 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9963 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9964
8b05752a
SM
9965 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9966 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9967 (byte-interactive-p): Define them again, for use when inlining
9968 old code.
9969
49093f60
JB
99702011-04-15 Juanma Barranquero <lekktu@gmail.com>
9971
9972 * loadup.el: Use `string-to-number', not `string-to-int'.
9973
b5b8e7de
SM
99742011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9977 gud-gdb-complete-command.
9978 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9979 (gud-gdb-completion-at-point): New function.
9980 (gud-gdb-completions): Remove.
9981
f42efeb5
MA
99822011-04-14 Michael Albinus <michael.albinus@gmx.de>
9983
49093f60
JB
9984 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9985 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9986 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9987 whether `executable-find' is bound.
f42efeb5
MA
9988
9989 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9990
e240cc21
SM
99912011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * minibuffer.el (completion-in-region-mode-predicate)
9994 (completion-in-region-mode--predicate): New vars.
9995 (completion-in-region, completion-in-region--postch)
9996 (completion-in-region-mode): Use them.
9997 (completion--capf-wrapper): Also return the hook function.
9998 (completion-at-point, completion-help-at-point):
9999 Adjust and provide a predicate.
c2bd2ab0
SM
10000
10001 Preserve arg names for advice of subr and lexical functions (bug#8457).
10002 * help-fns.el (help-function-arglist): Consolidate the subr and
10003 new-byte-code cases. Add argument `preserve-names' to extract names
10004 from the docstring when needed.
10005 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10006 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10007 (ad-arglist): Use help-function-arglist's new arg.
10008 (ad-definition-type): Use cond.
10009
c183f693
JB
100102011-04-13 Juanma Barranquero <lekktu@gmail.com>
10011
06641a47
JB
10012 * autorevert.el (auto-revert-handler):
10013 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10014 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10015 Don't quote lambda.
10016
c183f693
JB
10017 * image-mode.el (image-transform-set-scale):
10018 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10019
1e3b6001
G
100202011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10021
10022 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10023 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10024 Upgrades via gnutls-cli are too slow to be done opportunistically.
10025
2d6af8dd
JB
100262011-04-12 Juanma Barranquero <lekktu@gmail.com>
10027
10028 * dframe.el (dframe-current-frame): Remove spurious quote.
10029
c0749a51
GM
100302011-04-12 Glenn Morris <rgm@gnu.org>
10031
088d0d61
GM
10032 * calendar/cal-tex.el (cal-tex-end-document):
10033 Try to automatically use latin1 input if needed.
10034
c0749a51
GM
10035 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10036 Don't try to cons a mark onto an empty element.
10037
5c90fde0
LL
100382011-04-11 Leo Liu <sdl.web@gmail.com>
10039
10040 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10041 buffers.
10042 (ido-kill-buffer-at-head): Support killing virtual buffers.
10043
369e974d
CY
100442011-04-10 Chong Yidong <cyd@stupidchicken.com>
10045
10046 * minibuffer.el (completion-show-inline-help): New var.
10047 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10048 (minibuffer-force-complete, minibuffer-complete-word):
10049 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10050
10051 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10052 to avoid interference from inline help (Bug#5849).
10053
37f1c930
LL
100542011-04-10 Leo Liu <sdl.web@gmail.com>
10055
099c39a4
JB
10056 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10057 Fix typo.
37f1c930 10058
a32d4040
CY
100592011-04-09 Chong Yidong <cyd@stupidchicken.com>
10060
10061 * image-mode.el (image-toggle-display-image): Signal an error if
10062 not in Image mode.
10063 (image-transform-mode, image-transform-resize)
10064 (image-transform-set-rotation): Doc fix.
daca8ba5 10065 (image-transform-set-resize): Delete.
a32d4040
CY
10066 (image-transform-set-scale, image-transform-fit-to-height)
10067 (image-transform-fit-to-width): Handle image-toggle-display-image
10068 and image-transform-resize directly.
10069
099c39a4 100702011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10071
10072 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10073 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10074 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10075 (doc-view-mode-map): Add bindings for the new functions.
10076
099c39a4 100772011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10078
4d61f28d 10079 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10080 Fix typo in docstring.
10081
3726838a
EZ
100822011-04-08 Eli Zaretskii <eliz@gnu.org>
10083
04f33f1e
EZ
10084 * files.el (file-size-human-readable): Produce one digit after
10085 decimal, like "ls -lh" does.
10086
10087 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10088 the file size representation.
10089
3726838a
EZ
10090 * simple.el (list-processes): If async subprocesses are not
10091 available, error out with a clear error message.
10092
cbb59342
CY
100932011-04-08 Chong Yidong <cyd@stupidchicken.com>
10094
10095 * help.el (help-form-show): New function, to be called from C.
10096 Put help-form output in a buffer named differently than *Help*.
10097
e3971c44
EZ
100982011-04-08 Eli Zaretskii <eliz@gnu.org>
10099
10100 * files.el (file-size-human-readable): New function.
10101
10102 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10103 computing the representation inline. Don't require `cl'.
10104
12544bbe
GM
101052011-04-08 Glenn Morris <rgm@gnu.org>
10106
a1de6c6a
GM
10107 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10108
3c4671f4
GM
10109 * net/browse-url.el (browse-url-firefox):
10110 Test system-type, not system-configuration.
10111
b605679c
GM
10112 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10113 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10114 Use log-edit-empty-buffer-p. (Bug#7598)
10115
56442f0c
GM
10116 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10117 (rlogin-mode-map): Initialize in the defvar.
10118 (rlogin): Use ignore-errors.
10119
12544bbe
GM
10120 * replace.el (occur-mode-map): Some fixes for menu items.
10121
eb237b0f
AH
101222011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10123
10124 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10125
7d668f2c
CY
101262011-04-06 Chong Yidong <cyd@stupidchicken.com>
10127
e67a13ab
CY
10128 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10129 issuing unused warnings.
10130
10131 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10132 macro directly.
10133
7d668f2c
CY
10134 * simple.el: Lisp reimplement of list-processes. Based on an
10135 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10136 (process-menu-mode): New major mode.
10137 (list-processes--refresh, list-processes):
10138 (process-menu-visit-buffer): New functions.
10139
10140 * files.el (save-buffers-kill-emacs): Don't assume any return
10141 value of list-processes, which is undocumented anyway.
10142
a83ec3c9
CY
101432011-04-06 Chong Yidong <cyd@stupidchicken.com>
10144
10145 * emacs-lisp/tabulated-list.el: New file.
10146
e91a96fe
CY
10147 * emacs-lisp/package.el: Use Tabulated List mode.
10148 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10149 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10150 table format using Tabulated List mode variables.
10151 (package--push): New macro, replacing package-list-maybe-add.
10152 (package-menu--generate): Use package--push. Renamed from
10153 package--generate-package-list.
10154 (package-menu-refresh, list-packages): Use it.
daca8ba5 10155 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10156 Return insertion data instead of inserting it directly.
099c39a4
JB
10157 (package-menu-describe-package, package-menu-execute):
10158 Use tabulated-list-get-id.
e91a96fe
CY
10159 (package-menu-mark-delete, package-menu-mark-install)
10160 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10161 (package-menu-mark-obsolete-for-deletion):
10162 Use tabulated-list-put-tag.
e91a96fe
CY
10163 (package--list-packages, package-menu-revert)
10164 (package-menu-get-package, package-menu-get-version)
10165 (package-menu-sort-by-column): Functions deleted.
10166 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10167 (package-menu--status-predicate, package-menu--version-predicate)
10168 (package-menu--name-predicate)
10169 (package-menu--description-predicate): Handle arguments in the
10170 Tabulated List format.
10171 (package-list-packages-no-fetch): Call list-packages.
10172
3e214b50
JB
101732011-04-06 Juanma Barranquero <lekktu@gmail.com>
10174
10175 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10176 (after-find-file): Don't bind it.
3e214b50
JB
10177 (revert-buffer-in-progress-p): New variable.
10178 (revert-buffer): Bind it.
10179 Pass nil for `after-find-file-from-revert-buffer'.
10180
10181 * saveplace.el (save-place-find-file-hook): Use new variable
10182 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10183
3f0f1700
GM
101842011-04-06 Glenn Morris <rgm@gnu.org>
10185
c0274801
GM
10186 * Makefile.in (AUTOGEN_VCS): New variable.
10187 (autoloads): Use $AUTOGEN_VCS.
10188
3f0f1700
GM
10189 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10190 * calendar/calendar.el (calendar-mode-map):
10191 Check for toolkit scroll bars. (Bug#8305)
10192
41ea9e48
CY
101932011-04-05 Chong Yidong <cyd@stupidchicken.com>
10194
10195 * minibuffer.el (completion-in-region--postch)
10196 (completion-in-region-mode): Remove unnecessary messages.
10197
6194c800
JB
101982011-04-05 Juanma Barranquero <lekktu@gmail.com>
10199
33256f14
JB
10200 * font-lock.el (font-lock-refresh-defaults):
10201 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10202 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10203
6194c800
JB
10204 * info.el (Info-directory-list, Info-read-node-name-2)
10205 (Info-split-parameter-string): Doc fixes.
10206 (Info-virtual-nodes): Reflow docstring.
10207 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10208 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10209 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10210 Fix typos in docstrings.
10211 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10212 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10213 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10214 (Info-restore-desktop-buffer): Mark unused parameters.
10215 (Info-directory-find-file, Info-directory-find-node)
10216 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10217 (Info-virtual-index-find-node, Info-apropos-find-file)
10218 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10219 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10220 (Info-virtual-index): Remove unused local variable `nodename'.
10221
b87a8200 102222011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10223
b87a8200
DD
10224 * net/rcirc.el: Update my e-mail address.
10225 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10226
3b2ff876
CY
102272011-04-05 Chong Yidong <cyd@stupidchicken.com>
10228
10229 * startup.el (command-line): Save the cursor's theme-face
10230 directly, instead of using face-override-spec.
10231
10232 * custom.el (load-theme): Minor optimization in assigning faces.
10233
8d17e7ca
JB
102342011-04-04 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * help-fns.el (describe-variable): Complete all variables having
10237 documentation, including keywords.
10238 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10239
2fbc1934
JB
102402011-04-04 Juanma Barranquero <lekktu@gmail.com>
10241
10242 Convert to lexical-binding.
10243
10244 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10245 (bs--get-marked-string, bs--get-modified-string)
10246 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10247 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10248 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10249
10250 * ehelp.el (electric-help-execute-extended)
10251 (electric-help-ctrl-x-prefix):
10252 * hexl.el (hexl-revert-buffer-function):
10253 * linum.el (linum-after-change, linum-after-scroll):
10254 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10255
10256 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10257
74f50695
DU
102582011-04-04 Daiki Ueno <ueno@unixuser.org>
10259
10260 * epa-dired.el:
10261 * epa-mail.el:
10262 * epa-hook.el:
10263 * epa-file.el:
10264 * epa.el:
10265 * epg.el: Use lexical binding.
10266
c11325f7
CY
102672011-04-03 Chong Yidong <cyd@stupidchicken.com>
10268
0d9e9a12
CY
10269 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10270
c11325f7 10271 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10272 dictionary case for flyspell-mark-duplications-exceptions.
10273 Use regexp matching for languages.
c11325f7
CY
10274 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10275 default dictionary (Bug#7926).
10276
da91b5f2
CY
102772011-04-02 Chong Yidong <cyd@stupidchicken.com>
10278
099c39a4
JB
10279 * emacs-lisp/package.el (package--with-work-buffer):
10280 Recognize https URLs.
da91b5f2 10281
099c39a4
JB
10282 * net/network-stream.el: Move from gnus/proto-stream.el.
10283 Change prefix to network-stream throughout.
da91b5f2
CY
10284 (open-protocol-stream): Merge into open-network-stream, leaving
10285 open-protocol-stream as an alias. Handle nil BUFFER args.
10286
10287 * subr.el (open-network-stream): Move to net/network-stream.el.
10288
afa8e9f6
GM
102892011-04-02 Glenn Morris <rgm@gnu.org>
10290
1d2e369d
GM
10291 * find-dired.el (find-exec-terminator): New option.
10292 (find-ls-option): Test for -ls support.
10293 (find-ls-subdir-switches): Test for -b in find-ls-option.
10294 (find-dired, find-grep-dired): Doc fixes.
10295 (find-dired): Use find-exec-terminator.
10296
8abb7da8 10297 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10298 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10299 (find-name-arg): Remove purecopy.
8abb7da8 10300
f3ca7378
GM
10301 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10302 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10303 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10304 accordingly. Don't add the null-device if not needed.
10305
afa8e9f6
GM
10306 * files.el (save-some-buffers): Doc fix.
10307
35eae264
EZ
103082011-04-02 Eli Zaretskii <eliz@gnu.org>
10309
10310 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10311
26b51db5
JB
103122011-04-01 Juanma Barranquero <lekktu@gmail.com>
10313
10314 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10315 Use `dolist' rather than `mapcar'.
10316
7200d79c
SM
103172011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10318
03408648 10319 Add lexical binding.
7200d79c 10320
03408648
SM
10321 * subr.el (apply-partially): Use new closures rather than CL.
10322 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10323 (dolist, dotimes): Use slightly different expansion for lexical code.
10324 (functionp): Move to C.
10325 (letrec): New macro.
10326 (with-wrapper-hook): Use it and apply-partially instead of CL.
10327 (eval-after-load): Preserve lexical-binding.
10328 (save-window-excursion, with-output-to-temp-buffer): Turn them
10329 into macros.
7200d79c 10330
03408648
SM
10331 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10332
10333 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10334 than the arglist.
10335 (help-add-fundoc-usage): Don't add `Not documented'.
10336 (help-function-arglist): Handle closures, subroutines, and new
10337 byte-code-functions.
10338 (help-make-usage): Remove leading underscores.
10339 (describe-function-1): Handle closures.
10340 (describe-variable): Use special-variable-p for completion.
10341
10342 * files.el (lexical-binding): Declare safe.
f488fb65 10343
03408648
SM
10344 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10345 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10346 (pcase): Add `let' pattern.
10347 Change memoization so it actually works.
10348 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10349 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10350 <let>: New case.
f488fb65 10351
03408648
SM
10352 * emacs-lisp/macroexp.el: Use lexical binding.
10353 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10354 Don't convert ' to #' without checking that it's indeed quoting
10355 a lambda.
10356
10357 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10358 Use eval-sexp-add-defvars.
03408648
SM
10359 (eval-sexp-add-defvars): New fun.
10360
10361 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10362
10363 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10364 Don't autoload.
10365 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10366 than the internal `byte-compile-lambda'.
10367 (defmethod): Don't hide code under quotes.
10368 (eieio-defmethod): New `code' argument.
10369
10370 * emacs-lisp/eieio-comp.el: Remove.
10371
10372 * emacs-lisp/edebug.el (edebug-eval-defun)
10373 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10374 (edebug-toggle): Avoid `eval'.
10375
10376 * emacs-lisp/disass.el (disassemble-internal): Handle new
10377 `closure' objects.
10378 (disassemble-1): Handle new byte codes.
10379
10380 * emacs-lisp/cl.el (pushnew): Silence warning.
10381
10382 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10383 (cl-byte-compile-throw): Remove.
10384 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10385
10386 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10387 closures.
10388
10389 * emacs-lisp/cconv.el: New file.
10390
10391 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10392 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10393 (byte-compile-initial-macro-environment):
10394 Handle declare-function here.
10395 (byte-compile--lexical-environment): New var.
10396 (byte-stack-ref, byte-stack-set, byte-discardN)
10397 (byte-discardN-preserve-tos): New lap codes.
10398 (byte-interactive-p): Don't use any more.
10399 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10400 New macros.
10401 (byte-compile-lapcode): Use them and handle new lap codes.
10402 (byte-compile-obsolete): Remove.
10403 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10404 (byte-compile-arglist-warn): Check late def of inlinable funs.
10405 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10406 since they should have been expanded by now.
10407 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10408 (byte-compile-from-buffer): Remove unused second arg.
10409 (byte-compile-preprocess): New function.
10410 (byte-compile-toplevel-file-form): New function to distinguish
10411 file-form calls from outside from file-form calls from hunk-handlers.
10412 (byte-compile-file-form): Simplify.
10413 (byte-compile-file-form-defsubst): Remove.
10414 (byte-compile-file-form-defmumble): Simplify now that
10415 byte-compile-lambda always returns a byte-code-function.
10416 (byte-compile): Preprocess.
10417 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10418 Remove, not used any more.
10419 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10420 (byte-compile-make-args-desc): New funs.
10421 (byte-compile-lambda): Handle lexical functions. Always return
10422 a byte-code-function.
10423 (byte-compile-reserved-constants): New var, to make up room for
10424 closed-over variables.
10425 (byte-compile-constants-vector): Obey it.
10426 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10427 (byte-compile-macroexpand-declare-function): New function.
10428 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10429 byte-code-functions.
10430 (byte-compile-form): Check obsolescence here.
10431 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10432 (byte-compile-variable-ref): Remove.
10433 (byte-compile-dynamic-variable-op): New fun.
10434 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10435 (byte-compile-variable-set): New funs.
10436 (byte-compile-discard): Add 2 args.
10437 (byte-compile-stack-ref, byte-compile-stack-set)
10438 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10439 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10440 macroexpand-all instead.
10441 (byte-compile-quote-form): Remove.
10442 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10443 (byte-compile-bind, byte-compile-unbind): New funs.
10444 (byte-compile-let): Handle let* and lexical binding.
10445 (byte-compile-let*): Remove.
10446 (byte-compile-catch, byte-compile-unwind-protect)
10447 (byte-compile-track-mouse, byte-compile-condition-case):
10448 Handle a new :fun-body form, used for lexical scoping.
10449 (byte-compile-save-window-excursion)
10450 (byte-compile-with-output-to-temp-buffer): Remove.
10451 (byte-compile-defun): Simplify.
10452 (byte-compile-stack-adjustment): New fun.
10453 (byte-compile-out): Use it.
10454 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10455
10456 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10457 handler any more.
10458
10459 * emacs-lisp/byte-opt.el: Use lexical binding.
10460 (byte-inline-lapcode): Remove (to bytecomp).
10461 (byte-compile-inline-expand): Pay attention to inlining to/from
10462 lexically bound code.
10463 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10464 any more.
10465 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10466 any more and don't call compiler-macros.
10467 (byte-compile-splice-in-already-compiled-code): Remove.
10468 (byte-code): Don't inline any more.
10469 (disassemble-offset): Receive `bytes' as argument rather than via
10470 dynamic scoping.
10471 (byte-compile-tag-number): Declare before first use.
10472 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10473 `return' even if make-spliceable.
10474 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10475 obsolete interactive-p.
10476 (byte-optimize-lapcode): Optimize new lap-codes.
10477 Don't trip up on new form of `byte-constant' lap code.
10478
10479 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10480
10481 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10482
10483 * custom.el (custom-initialize-default, custom-declare-variable):
10484 Use `defvar'.
10485
10486 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10487 New variables.
10488 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10489 (COMPILE_FIRST): Add macroexp and cconv.
10490 * makefile.w32-in: Mirror changes in Makefile.in.
10491
10492 * vc/cvs-status.el:
10493 * vc/diff-mode.el:
10494 * vc/log-edit.el:
10495 * vc/log-view.el:
10496 * vc/smerge-mode.el:
10497 * textmodes/bibtex-style.el:
10498 * textmodes/css.el:
10499 * startup.el:
10500 * uniquify.el:
da91b5f2
CY
10501 * minibuffer.el:
10502 * newcomment.el:
10503 * reveal.el:
10504 * server.el:
10505 * mpc.el:
10506 * emacs-lisp/smie.el:
10507 * doc-view.el:
10508 * dired.el:
03408648
SM
10509 * abbrev.el: Use lexical binding.
10510
0f0c1f27
EZ
105112011-04-01 Eli Zaretskii <eliz@gnu.org>
10512
10513 * info.el (info-display-manual): New function.
10514
c82b2579
SM
105152011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10518
221ddf68
TH
105192011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10520
10521 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10522 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10523
cba6e77e
GM
105242011-03-31 Glenn Morris <rgm@gnu.org>
10525
e040639f
GM
10526 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10527
cba6e77e
GM
10528 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10529
6d0f1c9e
CS
105302011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10531
10532 * progmodes/python.el (python-default-interpreter)
10533 (python-python-command-args, python-jython-command-args)
10534 (python-which-shell, python-which-args, python-which-bufname)
10535 (python-file-queue, python-comint-output-filter-function)
10536 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10537 variables and functions.
10538
3e2d70fd
SM
105392011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10540
10541 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10542 (completion-in-region-mode): New minor mode.
10543 (completion-in-region): Use it.
10544 (completion-in-region--data, completion-in-region-mode-map): New vars.
10545 (completion-in-region--postch): New function.
10546 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10547 New vars.
10548 (completion--capf-wrapper): New function.
10549 (completion-at-point): Use it to track well-behavedness of
10550 hook functions.
10551 (completion-help-at-point): New command.
10552
f3e4086c
JM
105532011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10554
10555 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10556 syntax class to search for whitespace on a single line
10557 (Message-ID: <4D938140.4030905@redhat.com>).
10558
eb7ffc14
LL
105592011-03-30 Leo Liu <sdl.web@gmail.com>
10560
10561 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10562 New commands.
10563 (edit-abbrevs-map): Bind them here.
10564 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10565
d806ab68
KM
105662011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10567
10568 * allout.el (allout-hide-by-annotation, allout-flag-region):
10569 Reduce possibility of overlay leakage by making them volatile.
10570
10571 * allout-widgets.el (allout-widgets-tally): Define as nil so the
10572 hash is not shared between buffers. Mode initialization is
10573 responsible for giving it a useful starting value.
10574 (allout-item-span): Reduce possibility of overlay leakage by
10575 making them volatile.
10576 (allout-widgets-count-buttons-in-region): Add diagnostic function
10577 for tracking down button overlay leaks.
10578
ea622834
LL
105792011-03-29 Leo Liu <sdl.web@gmail.com>
10580
10581 * ido.el (ido-read-internal): Use the default history var
10582 minibuffer-history if no HISTORY is specified.
10583
b62f8267
G
105842011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
10585
03408648
SM
10586 * net/imap.el (imap-shell-open, imap-process-connection-type):
10587 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
10588 Kerberos, SSL, other subprocesses.
10589
947b6566
LL
105902011-03-28 Leo Liu <sdl.web@gmail.com>
10591
10592 * abbrev.el (abbrev-table-empty-p): New function.
10593 (prepare-abbrev-list-buffer): Place empty abbrev tables after
10594 nonempty ones. (Bug#5937)
10595
5ffb62aa
JD
105962011-03-27 Jan Djärv <jan.h.d@swipnet.se>
10597
10598 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10599
7a097943
LL
106002011-03-27 Leo Liu <sdl.web@gmail.com>
10601
10602 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10603 for foreground and background colors.
10604 (ansi-color-make-color-map): Adapt.
10605
c5b40130
LL
106062011-03-25 Leo Liu <sdl.web@gmail.com>
10607
1f48f7d2
LL
10608 * midnight.el (midnight-time-float): Remove. Note it calculates
10609 the microsecond component incorrectly and seconds-to-time does the
10610 same job.
625897ec 10611 Remove redundant (require 'timer).
1f48f7d2 10612
c5b40130
LL
10613 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10614 (ido-completions): Remove unused arguments. (Bug#8329)
10615
d86d2721
SM
106162011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * minibuffer.el (completion--flush-all-sorted-completions):
10619 Remove itself from hook.
10620 (completion-at-point): Let the functions perform the completion
10621 immediately and return nil or t.
10622 * comint.el (comint-dynamic-complete-functions): Now identical to
10623 completion-at-point-functions.
10624 (comint-dynamic-list-input-ring): Remove unused var `index'.
10625 (comint--match-partial-filename, comint--unquote&expand-filename):
10626 New funs, split from comint-match-partial-filename.
10627 (comint-dynamic-complete): Use completion-at-point.
10628 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10629
e8974c48
DA
106302011-03-24 Drew Adams <drew.adams@oracle.com>
10631
10632 * thingatpt.el: Support `defun'.
10633
def71b5e
LL
106342011-03-23 Leo Liu <sdl.web@gmail.com>
10635
cb5af48e
LL
10636 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10637
def71b5e
LL
10638 * help-mode.el (help-mode-finish): Tweak regexp.
10639
927c53e7
GM
106402011-03-23 Glenn Morris <rgm@gnu.org>
10641
18d05bed
GM
10642 * eshell/esh-opt.el (eshell-eval-using-options):
10643 Do not bind unused local variable `eshell-option-stub'.
10644
927c53e7
GM
10645 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10646
9d0da923
JB
106472011-03-22 Juanma Barranquero <lekktu@gmail.com>
10648
10649 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10650 keymap variable in `with-no-warnings' to avoid a warning when the
10651 keymap has been already `defconst'ed.
10652
4b978a67
LL
106532011-03-22 Leo Liu <sdl.web@gmail.com>
10654
10655 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10656 encode all chars in abbrevs; otherwise use emacs-mule or
10657 utf-8-emacs. (Bug#8308)
10658
5fd62452
JB
106592011-03-22 Juanma Barranquero <lekktu@gmail.com>
10660
0b1596c6
JB
10661 * simple.el (backward-delete-char-untabify):
10662 Avoid warning about using `delete-backward-char'.
10663
5fd62452
JB
10664 * image.el (image-type-file-name-regexps): Make it variable.
10665 `imagemagick-register-types' modifies it, and the user may want
10666 to add new extensions for known image types.
10667 (imagemagick-register-types): Throw error if not using ImageMagick.
10668
0b4e93f1
LL
106692011-03-22 Leo Liu <sdl.web@gmail.com>
10670
10671 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10672 located before rcirc-prompt-end-marker.
10673 (rcirc-complete): Error if point is not after rcirc prompt.
10674 Handle the case when table is nil.
9882e214 10675 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 10676
fccee4ab
CY
106772011-03-22 Chong Yidong <cyd@stupidchicken.com>
10678
10679 * custom.el (custom--inhibit-theme-enable): Make it affect only
10680 custom-theme-set-variables and custom-theme-set-faces.
10681 (provide-theme): Ignore custom--inhibit-theme-enable.
10682 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10683 (custom-enabling-themes): Delete variable.
d86d2721
SM
10684 (enable-theme): Accept only loaded themes as arguments.
10685 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
10686 (custom-enabled-themes): Forbid themes from setting this.
10687 Eliminate use of custom-enabling-themes.
10688 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 10689
af896da6
LL
106902011-03-21 Leo Liu <sdl.web@gmail.com>
10691
10692 * ido.el (ido-read-internal): Add ido-selected to history instead
10693 of user input.
10694
78f64af0
SM
106952011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10696
10697 * subr.el (deferred-action-list, deferred-action-function):
10698 Mark obsolete.
10699
b16ac1ec
LL
107002011-03-21 Leo Liu <sdl.web@gmail.com>
10701
810f7698
LL
10702 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10703 change on 2011-02-13 (bug#8309).
10704
b16ac1ec
LL
10705 * minibuffer.el (read-file-name-function): Change default value.
10706 (read-file-name--defaults): Rename from read-file-name-defaults.
10707 (read-file-name-default): Rename from read-file-name.
10708 (read-file-name): Call read-file-name-function.
10709
4e05e67e
GM
107102011-03-21 Glenn Morris <rgm@gnu.org>
10711
10712 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10713 Doc fixes.
10714
4359915b
CY
107152011-03-21 Chong Yidong <cyd@stupidchicken.com>
10716
10717 * cus-theme.el: Add missing provide statement.
10718 (customize-create-theme): Extract theme value correctly.
10719 (custom-theme-visit-theme): Autoload.
10720 (customize-create-theme): Prompt before inserting default faces.
10721
1fe275ee
JB
107222011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10723
10724 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10725 units and musical notes.
10726
cd394be1 107272011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
10728
10729 * ido.el (ido-read-internal): Use completing-read-default.
10730 (ido-completing-read): Fix compatibility with completing-read.
10731
7d476bde
CO
107322011-03-20 Christian Ohler <ohler@gnu.org>
10733
10734 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10735 (ert-delete-all-tests): Use `called-interactively-p' rather than
10736 `interactive-p'.
10737 (ert--make-xrefs-region): Respect END.
10738
fe0fb33e
CY
107392011-03-19 Chong Yidong <cyd@stupidchicken.com>
10740
ff854b0b
CY
10741 * dired-aux.el (dired-create-directory): Signal an error if the
10742 directory already exists (Bug#8246).
10743
fe0fb33e
CY
10744 * facemenu.el (list-colors-display): Call list-faces-display
10745 inside with-help-window.
10746 (list-colors-print): Use display property to align the final
10747 column, instead of checking window-width.
10748
576bce32
EZ
107492011-03-19 Eli Zaretskii <eliz@gnu.org>
10750
4d61f28d 10751 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10752 windows-nt systems.
10753 (emerge-protect-metachars): Quote correctly for ms-dos and
10754 windows-nt systems.
10755
89c41d68 107562011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10757
10758 * info.el (info-initialize): Replace all uses of `:' with
10759 path-separator for compatibility with non-Unix systems.
10760 Cache quoting of path-separator. (Bug#8258)
10761
b14e3e21 107622011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
10763
10764 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10765 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10766 (mouse-avoidance-mode): Fix typos in docstrings.
10767
4525ce3e
CY
107682011-03-19 Chong Yidong <cyd@stupidchicken.com>
10769
10770 * startup.el (package-subdirectory-regexp): Move from package.el.
10771 Omit \\` and \\', and let callers add them.
10772
10773 * emacs-lisp/package.el (package-strip-version)
10774 (package-load-all-descriptors): Add \\` and \\' to
10775 package-subdirectory-regexp before using it.
10776 (package-untar-buffer): New arg DIR; ensure that file untars only
10777 into this expected directory. Remove superfluous delete-region.
10778 (package-unpack): Caller changed.
10779 (package-tar-file-info): Use package-subdirectory-regexp.
10780
a904a09a 107812011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 10782
a904a09a
SM
10783 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10784 diff-mode-shared-map (bug#8284).
10785 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
10786
107872011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10788
10789 * calendar/time-date.el (format-seconds): Use assoc instead of
10790 assoc-string, since assoc-string doesn't exist in XEmacs.
10791
171fc304
JB
107922011-03-17 Juanma Barranquero <lekktu@gmail.com>
10793
10794 * custom.el (custom-known-themes): Reflow docstring.
10795 (custom-theme-load-path): Fix typo in docstring.
10796 (load-theme): Fix typo in error message.
10797 (custom-available-themes, custom-variable-theme-value):
10798 Use `let', not `let*'.
10799
d71990a1
JB
108002011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10801
10802 * calc/README: Mention inclusion of musical notes.
10803
10804 * calc/calc-units.el (calc-lu-quant): Rename from
10805 `calc-logunits-quantity'.
10806 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10807 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10808 (calc-db): Rename from `calc-dblevel'.
10809 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10810 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10811 (calc-np): Rename from `calc-nplevel'.
10812 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10813 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10814 (calc-lu-plus): Rename from `calc-logunits-add'.
10815 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10816 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10817 (calc-lu-minus): Rename from `calc-logunits-sub'.
10818 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10819 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10820 (calc-lu-times): Rename from `calc-logunits-mul'.
10821 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10822 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10823 (calc-lu-divide): Rename from `calc-logunits-div'.
10824 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10825 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10826
10827 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10828 functions being autoloaded.
10829
10830 * calc/calc.el (calc-lu-power-reference): Rename from
10831 `calc-logunits-power-reference'.
10832 (calc-lu-field-reference): Rename from
10833 `calc-logunits-field-reference'.
10834
7a71b18d
GM
10835 * calc/calc-help.el (calc-l-prefix-help):
10836 Mention musical note functions.
d71990a1 10837
40c2934b
SM
108382011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * minibuffer.el (completion-all-sorted-completions):
10841 Use :completion-cycle-penalty text property if present.
10842
b0911414
KM
108432011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10844
10845 * allout.el (allout-yank-processing): Adjust for new rebulleting
10846 regime so bullet being yanked is used without prompting the user
10847 for a choice.
10848
8a05b668
JB
108492011-03-16 Juanma Barranquero <lekktu@gmail.com>
10850
10851 * startup.el (command-line): Warn the user that _emacs is deprecated.
10852
5ba5fb81
JB
108532011-03-16 Juanma Barranquero <lekktu@gmail.com>
10854
10855 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10856 (delphi-verbose, delphi-comment-face, delphi-string-face)
10857 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10858 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10859 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10860 (delphi-new-comment-line, delphi-font-lock-defaults)
10861 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10862 Fix typos in docstrings.
10863
2dab465b
KM
108642011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10865
5ba5fb81 10866 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10867 Invert the roles of character and string values for INSTEAD, so a
10868 string is used for the more common case of a defaulting prompt.
10869
0adf5618
SM
108702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * progmodes/ruby-mode.el (ruby-backward-sexp):
10873 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10874 * play/gamegrid.el (gamegrid-make-face):
10875 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10876 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10877 * notifications.el (notifications-notify):
10878 * net/xesam.el (xesam-search-engines):
10879 * net/quickurl.el (quickurl-list-insert):
10880 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10881
d72700e5
CY
108822011-03-15 Chong Yidong <cyd@stupidchicken.com>
10883
10884 * startup.el (command-line): Update package subdirectory regexp.
10885
49c5410a
SM
108862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10887
c6eee9aa
SM
10888 * allout.el (allout-abbreviate-flattened-numbering)
10889 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10890
49c5410a
SM
10891 * subr.el (read-char-choice): Only show the cursor after the prompt,
10892 not after the answer.
10893
047b2bb9
KR
108942011-03-15 Kevin Ryde <user42@zip.com.au>
10895
10896 * help-fns.el (variable-at-point): Skip leading quotes, if any
10897 (bug#8253).
10898
0a57d256
SM
108992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10902 warning message.
10903
77c992bc
MA
109042011-03-14 Michael Albinus <michael.albinus@gmx.de>
10905
10906 * shell.el (shell): When called interactively, offer to change the
10907 shell file name on remote hosts.
10908
eebc475d
TZ
109092011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10910
10911 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10912 integration for LDAP parameters. The host, base, user or binddn,
10913 and secret tokens can be specified in a netrc file, for instance.
10914 This is optional because an `auth-source' parameter must be
10915 specified in the search attributes.
10916
9d05d1ba
JB
109172011-03-13 Juanma Barranquero <lekktu@gmail.com>
10918
10919 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10920
09d9db2c
GM
109212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10924 into declaration. Remove redundant and harmful binding.
10925
109262011-03-12 Eli Zaretskii <eliz@gnu.org>
10927
10928 * files.el (file-ownership-preserved-p): Pass `integer' as an
10929 explicit 2nd argument to `file-attributes'. If the file's owner
10930 is the Administrators group on Windows, and the current user is
10931 Administrator, consider that a match.
10932
10933 * server.el (server-ensure-safe-dir): Consider server directory
10934 safe on MS-Windows if its owner is the Administrators group while
10935 the current Emacs user is Administrator. Use `=' to compare
10936 numerical UIDs, since they could be integers or floats.
10937
219bd536
JB
109382011-03-12 Juanma Barranquero <lekktu@gmail.com>
10939
10940 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10941
f3afd36b
MA
109422011-03-12 Michael Albinus <michael.albinus@gmx.de>
10943
10944 Sync with Tramp 2.2.1.
10945
10946 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10947
10948 * net/trampver.el: Update release number.
10949
3aaaa6f1
SM
109502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10951
94642599
SM
10952 * progmodes/compile.el (compilation--previous-directory): Fix up
10953 various nil/dead-marker mismatches (bug#8014).
10954 (compilation-directory-properties, compilation-error-properties):
10955 Don't call it at a position past the one we're about to change.
10956
3aaaa6f1
SM
10957 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10958 Disable obsolescence warnings in the file that declares it.
10959
14239447
KM
109602011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10961
099c39a4
JB
10962 * allout-widgets.el (allout-widgets-tally):
10963 Initialize allout-widgets-tally as a hash table rather than nil to
10964 prevent mode-line redisplay warnings. Also, clarify the module
10965 description and fix a comment typo.
14239447 10966
135e287c
JB
109672011-03-11 Juanma Barranquero <lekktu@gmail.com>
10968
10969 * help-fns.el (describe-variable): Don't complete keywords.
10970 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10971
ffbf300e
CY
109722011-03-10 Chong Yidong <cyd@stupidchicken.com>
10973
ba08b241
CY
10974 * emacs-lisp/package.el (package-version-join): Impose a standard
10975 string representation for pre/alpha/beta version lists.
10976 (package-unpack-single): Standardize the directory name by passing
10977 it through package-version-join.
10978 (package-strip-rcs-id): Accept any version string that does not
10979 signal an error in version-to-list.
ffbf300e 10980
f346fd6b
MA
109812011-03-10 Michael Albinus <michael.albinus@gmx.de>
10982
10983 * simple.el (delete-trailing-whitespace): Return nil for the
10984 benefit of `write-file-functions'.
10985
ccb55d27
GM
109862011-03-10 Glenn Morris <rgm@gnu.org>
10987
5ceaac0c
GM
10988 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10989
02da65ff
GM
10990 * vc/vc-git.el (vc-git-program): New option.
10991 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10992 (vc-git--call): Use it.
10993
b2f603cc
GM
10994 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10995
5772caab
GM
10996 * cus-edit.el (Custom-newline): If no button at point, look
10997 for a subgroup button at start-of-line. (Bug#2298)
10998
ccb55d27
GM
10999 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11000
ec6ecaed
JD
110012011-03-10 Julien Danjou <julien@danjou.info>
11002
11003 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11004 `cursor-type' is nil.
11005
9d5aa01d
JB
110062011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11007
11008 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11009
b6a5875b
KM
110102011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11011
7a71b18d 11012 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11013 preserves the existing header prefix, rebulleting it if necessary,
11014 rather than replacing it. This is necessary for proper operation
11015 of cooperative addons like allout-widgets.
1154d12e
JB
11016 (allout-make-topic-prefix, allout-rebullet-heading):
11017 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11018 value as alternate bullet to be used, instead of prompting the user
11019 for a bullet character.
b6a5875b 11020
ee545c35
MA
110212011-03-09 Michael Albinus <michael.albinus@gmx.de>
11022
d86d2721
SM
11023 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11024 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11025 `tramp-default-port'.
11026
c47971d7
DD
110272011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11028
11029 * net/rcirc.el (rcirc-handler-001): Remove useless
11030 with-rcirc-process-buffer.
11031 (rcirc-check-auth-status): Swap arguments to string-match.
11032
13522cb4
GM
110332011-03-09 Glenn Morris <rgm@gnu.org>
11034
0be6f4f1
GM
11035 * shell.el (shell-mode):
11036 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11037
13522cb4
GM
11038 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11039 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11040
515de2e3
CY
110412011-03-08 Chong Yidong <cyd@stupidchicken.com>
11042
11043 * emacs-lisp/package.el (package-refresh-contents)
11044 (package-menu-execute): Use condition-case-no-debug.
11045
b511b994
MA
110462011-03-08 Michael Albinus <michael.albinus@gmx.de>
11047
11048 * simple.el (shell-command-to-string): Use `process-file'.
11049
11050 * emacs-lisp/package.el (package-tar-file-info): Handle also
11051 remote files.
11052
d86d2721
SM
11053 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11054 Use `equal' for upload base check.
b511b994 11055
25bbfb31
AM
110562011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11057
11058 * textmodes/texinfo.el (texinfo-environments):
11059 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11060
be996521
GM
110612011-03-08 Glenn Morris <rgm@gnu.org>
11062
e9c8529f
GM
11063 * cus-start.el (cursor-in-non-selected-windows):
11064 Fix :set quoting oddness. (Bug#8192)
11065
be996521
GM
11066 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11067 in some setf expressions. (Bug#2159)
11068
2bb5649e
CY
110692011-03-08 Chong Yidong <cyd@stupidchicken.com>
11070
11071 * custom.el (custom-available-themes): Return themes in
11072 alphabetical order.
11073
33383987 11074See ChangeLog.15 for earlier changes.
e3d51b27
MR
11075
11076;; Local Variables:
11077;; coding: utf-8
e3d51b27
MR
11078;; End:
11079
acaf905b 11080 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11081
11082 This file is part of GNU Emacs.
11083
11084 GNU Emacs is free software: you can redistribute it and/or modify
11085 it under the terms of the GNU General Public License as published by
11086 the Free Software Foundation, either version 3 of the License, or
11087 (at your option) any later version.
11088
11089 GNU Emacs is distributed in the hope that it will be useful,
11090 but WITHOUT ANY WARRANTY; without even the implied warranty of
11091 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11092 GNU General Public License for more details.
11093
11094 You should have received a copy of the GNU General Public License
11095 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.