Fix bug #10903 with displaying an empty display string.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2d44d9cc
LL
12012-02-29 Leo Liu <sdl.web@gmail.com>
2
3 * abbrev.el (define-abbrevs): Reset sys to nil.
4
96b49301 52012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6
bf7f9bc5
JB
7 * files.el (file-equal-p): Rename from `files-equal-p'.
8 Return nil when one or both files don't exist.
96b49301 9 (file-subdir-of-p): Now only top directory must exists,
10 return nil if it doesn't.
bf7f9bc5
JB
11 (copy-directory): No need to test with `file-subdir-of-p' after
12 creating dir.
13 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14 to `file-equal-p'.
96b49301 15
44e97401
GM
162012-02-28 Glenn Morris <rgm@gnu.org>
17
18 * shell.el (shell-mode):
19 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
20 * play/landmark.el (landmark-font-lock-face-O):
21 * play/handwrite.el (handwrite):
22 * play/gomoku.el (gomoku-O):
23 * net/browse-url.el (browse-url-browser-display):
24 * international/mule.el (define-charset):
25 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
26 * filesets.el (filesets-find-file-delay):
27 * eshell/em-xtra.el (eshell-xtra):
28 * eshell/em-unix.el (eshell-grep):
29 * emulation/viper.el (viper-mode):
30 * emacs-lisp/regexp-opt.el (regexp-opt-group):
31 * emacs-lisp/easymenu.el (easy-menu-define):
32 * calendar/timeclock.el (timeclock-use-display-time):
33 * bs.el (bs-mode):
34 * bookmark.el (bookmark-save-flag):
35 Doc fix (standardize possessive apostrophe usage).
36
c98c6276
CY
372012-02-27 Chong Yidong <cyd@gnu.org>
38
bf7f9bc5
JB
39 * emulation/viper-cmd.el (viper-intercept-ESC-key):
40 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 41
c98c6276
CY
42 * font-lock.el (font-lock-specified-p): Rename from
43 font-lock-spec-present. Callers changed.
44
9c62cd04 452012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 46
bf7f9bc5
JB
47 * emacs-lisp/package.el (package-compute-transaction):
48 Handle holding a package version to t in package-load-list.
8ac9e529 49
530739c9
MA
502012-02-26 Michael Albinus <michael.albinus@gmx.de>
51
52 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
53 (tramp-get-inode, tramp-get-device): Use cached values.
54
487915d7
AM
552012-02-26 Alan Mackenzie <acm@muc.de>
56
57 Check there is a font-lock specification before doing initial
58 fontification.
59
60 * font-core.el (font-lock-mode): Move the conditional from
61 :after-hook to font-lock-initial-fontify.
62 (font-lock-default-function): Move the check for a specification
63 to font-lock-spec-present.
64
65 * font-lock.el (font-lock-initial-fontify): call ...
66 (font-lock-spec-present): New function.
67
4fd96557
JB
682012-02-26 Jim Blandy <jimb@red-bean.com>
69
70 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
71 (gdb-send): Apply it to the operand of the '-interpreter-exec
72 console' command, so that we can pass arguments with (say) quotes
73 in them. Store exact string sent in gdb-debug-log (Bug#10765).
74
9a4888c0
CY
752012-02-26 Chong Yidong <cyd@gnu.org>
76
07498861
CY
77 * help-fns.el (describe-function-1): Clarify description of
78 remapping (Bug#10844).
79
9a4888c0
CY
80 * files.el (files-equal-p): Doc fix.
81 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
82 and quit the loop once a mismatch is found.
83
ea8fb88d
JB
842012-02-25 Juanma Barranquero <lekktu@gmail.com>
85
86 * bs.el (bs--show-with-configuration): Don't throw an error
87 if the window cannot be split; otherwise, subsequent calls to
88 bs-show fail, restoring a stale window config. (Bug#10882)
89
525795c1
JD
902012-02-25 Jan Djärv <jan.h.d@swipnet.se>
91
92 * term/ns-win.el (global-map): Bind ns-drag-file to
93 ns-find-file (Bug#5855, Bug#10050).
94
f008086f
AS
952012-02-25 Andreas Schwab <schwab@linux-m68k.org>
96
97 * calendar/parse-time.el (parse-time-string): Allow extractor to
98 return nil.
99
a3fcfa99
MA
1002012-02-25 Michael Albinus <michael.albinus@gmx.de>
101
91027d08
JB
102 * net/tramp.el (tramp-file-name-for-operation):
103 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
104
105 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
106 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
107 Add COPY-CONTENTS argument.
a3fcfa99 108
67b0de11
CY
1092012-02-25 Chong Yidong <cyd@gnu.org>
110
111 Add custom groups for VC backends, for consistency with vc-bzr.
112
113 * vc/vc-arch.el (vc-arch):
114 * vc/vc-cvs.el (vc-cvs):
115 * vc/vc-git.el (vc-git):
116 * vc/vc-hg.el (vc-hg):
117 * vc/vc-mtn.el (vc-mtn):
118 * vc/vc-rcs.el (vc-rcs):
119 * vc/vc-sccs.el (vc-sccs):
120 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
121 All relevant defcustoms reassigned.
122
3c9dfce6
CY
1232012-02-25 Chong Yidong <cyd@gnu.org>
124
1339bf43
CY
125 * newcomment.el (comment-styles): Add autoload (Bug#10868).
126
3c9dfce6
CY
127 * term/x-win.el (x-initialize-window-system): Reduce default for
128 x-selection-timeout to 5 seconds (Bug#8869).
129
53a46cd0 1302012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14a8a663 131
53a46cd0 132 * files.el (file-subdir-of-p): Fix typo.
14a8a663 133
25b2e303 1342012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
135
ec70a47d
GM
136 * files.el (files-equal-p, file-subdir-of-p): New functions.
137 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 138 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
139 * dired-aux.el (dired-copy-file-recursive): Same.
140 (dired-create-files): Modify destination when source is equal to
141 dest when copying files.
53a46cd0 142 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 143
914260cd
MA
1442012-02-24 Michael Albinus <michael.albinus@gmx.de>
145
146 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
147 (Bug#10874)
148
2cb228f7
AM
1492012-02-23 Alan Mackenzie <acm@muc.de>
150
151 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
152 parameter "after-hook:" to allow the expansion to run code after
153 the execution of the mode hooks.
154
155 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 156 from font-lock-mode-internal.
2cb228f7 157
91027d08 158 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
159 :after-hook.
160
8f0fde21
SM
1612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
162
3e88618b
SM
163 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
164 (completion--cache-all-sorted-completions): New function.
165 (completion-all-sorted-completions): Use it.
166 (completion--do-completion, minibuffer-force-complete):
167 Use it to re-instate the flush hook.
168
8f0fde21
SM
169 * icomplete.el (icomplete-completions): Replace last fix with a better
170 one (bug#10850).
171
8e911f6f
DG
1722012-02-23 Dmitry Gutov <dgutov@yandex.ru>
173
174 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
175 when it might call us back infinitely (bug#10797).
176
49fe4321
GM
1772012-02-23 Glenn Morris <rgm@gnu.org>
178
179 * minibuffer.el (completion-category-overrides): Doc fix.
180
b291b572
SM
1812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * minibuffer.el (completion-table-with-context): Fix inf-loop.
184 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
185
31a9ef2e
GM
1862012-02-23 Glenn Morris <rgm@gnu.org>
187
5e6e6794 188 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
189 (authors-obsolete-files-regexps, authors-ignored-files)
190 (authors-ambiguous-files, authors-renamed-files-alist):
191 Add more entries.
192
0bd1e074
JL
1932012-02-23 Juri Linkov <juri@jurta.org>
194
195 * isearch.el (isearch-occur): Sync interactive spec with occur's
196 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
197
b617673c
JL
198 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
199
19e9789e
JL
2002012-02-22 Juri Linkov <juri@jurta.org>
201
202 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
203 (ucs-insert): Doc fix. Check for hex digits in the string.
204 Don't display `nil' in the error message. (Bug#10857)
205
f41ce09d
AM
2062012-02-22 Alan Mackenzie <acm@muc.de>
207
7a71b18d 208 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 209
ac2eceee
GM
2102012-02-22 Glenn Morris <rgm@gnu.org>
211
212 * ffap.el (ffap-c-path):
213 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
214
abd1f678
CY
2152012-02-22 Chong Yidong <cyd@gnu.org>
216
217 * custom.el (load-theme): Doc fix.
218
f25aef2e
GM
2192012-02-22 Glenn Morris <rgm@gnu.org>
220
221 * dired-x.el (dired-guess-shell-alist-default):
222 Remove escape sequences from nroff output. (Bug#172)
223
5f8dc2ca
GM
2242012-02-21 Glenn Morris <rgm@gnu.org>
225
6ff86ec4
GM
226 * vc/emerge.el (emerge-defvar-local):
227 Set `permanent-local' property rather than unused `preserved'.
228
be3223a3 229 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
230 (picture-mode-map): Use it. (Bug#10860)
231 (picture-mode): Doc fix.
232
3fe58f4f
JB
2332012-02-21 Juanma Barranquero <lekktu@gmail.com>
234
235 * newcomment.el (uncomment-region-default): Remove unused binding.
236
f9a998c3
GM
2372012-02-21 Glenn Morris <rgm@gnu.org>
238
239 * textmodes/picture.el (picture-motion, picture-motion-reverse)
240 (picture-self-insert, picture-tab-chars): Doc fix.
241 (picture-mode-map): Fix C-a, C-e.
242
c6029348
GM
2432012-02-20 Glenn Morris <rgm@gnu.org>
244
245 * emacs-lisp/authors.el (authors-aliases): Add another entry.
246
ab1ce9d7
LL
2472012-02-20 Leo Liu <sdl.web@gmail.com>
248
249 * icomplete.el (icomplete-completions): Check FROM arg before
250 passing to substring (Bug#10850).
251
0fd40f89
CY
2522012-02-19 Chong Yidong <cyd@gnu.org>
253
254 * comint.el: Require ansi-color.
255 (comint-output-filter-functions): Add ansi-color-process-output.
256
257 * ansi-color.el: Don't set comint-output-filter-functions; it is
258 now in the initial value defined in comint.el.
259 (ansi-color-apply-face-function): New variable.
260 (ansi-color-apply-on-region): Use it.
261 (ansi-color-apply-overlay-face): New function.
262
263 * shell.el (shell): No need to require ansi-color.
264 (shell-mode): Use ansi-color-apply-face-function to highlight
265 color escapes using font-lock-face property (Bug#10835).
266
20af2394
CY
2672012-02-19 Chong Yidong <cyd@gnu.org>
268
269 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
270 mode-line formats (Bug#10839).
271
e23a3fbe
GM
2722012-02-18 Glenn Morris <rgm@gnu.org>
273
b474519e
GM
274 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
275
276 * mail/undigest.el (unforward-rmail-message): Doc fix.
277
e23a3fbe
GM
278 * saveplace.el (save-place-ignore-files-regexp): Add :version.
279
57939ff4
EZ
2802012-02-18 Eli Zaretskii <eliz@gnu.org>
281
282 * international/characters.el (script-list): Sync with the latest
283 Unicode Character Database.
284
0c23686e
AS
2852012-02-18 Andreas Schwab <schwab@linux-m68k.org>
286
287 * international/titdic-cnv.el: Remove duplicate coding tag.
288 * language/cham.el: Likewise.
289 * language/tai-viet.el: Likewise.
290
6818b449
GM
2912012-02-18 Glenn Morris <rgm@gnu.org>
292
293 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
294 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
295 (calendar-bahai-all-holidays-flag, calendar-other-dates):
296 * calendar/diary-lib.el (diary-abbreviated-year-flag):
297 * calendar/holidays.el (holiday-bahai-holidays)
298 (calendar-holidays, list-holidays):
299 Use utf-8 Bahá'í in doc-strings, menus, etc.
300
0311a3fc
TH
3012012-02-17 Tassilo Horn <tassilo@member.fsf.org>
302
303 * saveplace.el (save-place-ignore-files-regexp): New variable
304 allowing for excluding files from saving their location of point.
305 The default value matches the temporary commit message editing
306 files from Git, SVN, Bazaar, and Mercurial.
307 (save-place-to-alist): Use it.
308
eb864a71
LM
3092012-02-17 Lawrence Mitchell <wence@gmx.li>
310 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * newcomment.el (uncomment-region-default): Don't leave extra space
313 when an arg is provided (bug#8150).
314
ee0ce425
TZ
3152012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
316
eb864a71 317 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 318
95ddf442
GM
3192012-02-17 Glenn Morris <rgm@gnu.org>
320
321 * net/socks.el: Require network-stream. (Bug#10599)
322
48dd1e39 3232012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
324
325 * international/charprop.el:
326 * international/uni-name.el:
327 * international/uni-old-name.el:
328 * international/uni-comment.el: Regenerate.
329
d68cd087
GM
3302012-02-16 Glenn Morris <rgm@gnu.org>
331
332 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
333 Interactively in calendar buffer, give an error if not on a date.
334
13932042
GM
3352012-02-15 Glenn Morris <rgm@gnu.org>
336
337 * shell.el (shell-delimiter-argument-list):
338 Revert 2011-02-17 change. (Bug#8027)
339
c3a70e2b
CY
3402012-02-15 Chong Yidong <cyd@gnu.org>
341
60236b0d
CY
342 * minibuffer.el (completion-at-point-functions): Doc fix.
343
c3a70e2b
CY
344 * custom.el (defcustom): Doc fix; note use of defvar.
345
9f26dc24
GM
3462012-02-15 Glenn Morris <rgm@gnu.org>
347
348 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
349 Doc fixes.
350
6546b134
GM
3512012-02-14 Glenn Morris <rgm@gnu.org>
352
353 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
354
d29b2b4c
LI
3552012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
356
357 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
358 way the ports list is computed.
835bdcba
LI
359 (smtpmail-query-smtp-server): Prompt the user for a port number if
360 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 361
08dcdbc9
TZ
3622012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
363
364 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
365
2605051a
GM
3662012-02-13 Glenn Morris <rgm@gnu.org>
367
368 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
369
7ee99f32
TZ
3702012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
371
372 * net/gnutls.el (gnutls-trustfiles): New variable.
373 (gnutls-negotiate): Use it.
374
5f0af64f
LI
3752012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
376
377 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
378 does its stuff if Gnus is running.
379
c14fcc95
AM
3802012-02-13 Alan Mackenzie <acm@muc.de>
381
382 Fix a loop in c-set-fl-decl-start.
383
7a71b18d 384 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
385 c-backward-syntactic-ws actually moves backwards.
386
142b4d90
LL
3872012-02-13 Leo Liu <sdl.web@gmail.com>
388
389 * net/rcirc.el (rcirc-markup-attributes): Move point to the
390 beginning so that all \C-o chars are removed.
391
fa9958a6
TZ
3922012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
393
394 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
395 tag.
396
0bc5886a
AM
3972012-02-12 Alan Mackenzie <acm@muc.de>
398
399 Fix infinite loop with long macros.
400 * cc-engine.el (c-state-safe-place): Handle macros properly.
401
d4bd55e7
CY
4022012-02-12 Chong Yidong <cyd@gnu.org>
403
404 * window.el (display-buffer): Doc fix (Bug#10785).
405
66f3fe22
GM
4062012-02-12 Glenn Morris <rgm@gnu.org>
407
bd7da63e
GM
408 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
409 (x-disown-selection-internal, x-get-selection-internal):
410 Sync docs with the xselect.c versions.
411
66f3fe22
GM
412 * allout-widgets.el: Add missing license notice.
413
3e0d2fa7
GM
4142012-02-11 Glenn Morris <rgm@gnu.org>
415
cfecdf09
GM
416 * select.el (x-get-selection-internal, x-own-selection-internal)
417 (x-disown-selection-internal):
418 * x-dnd.el (x-get-selection-internal): Update declarations.
419
6d216d7f
GM
420 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
421
2bed3f04
GM
422 * window.el (window-sides-slots):
423 * tool-bar.el (tool-bar-position):
424 * term/xterm.el (xterm-extra-capabilities):
425 * ses.el (ses-self-reference-early-detection):
426 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
427 (verilog-auto-wire-type)
428 (verilog-auto-delete-trailing-whitespace)
429 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
430 (verilog-auto-tieoff-declaration):
431 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
432 (sql-oracle-statement-starters, sql-oracle-scan-on):
433 * progmodes/prolog.el (prolog-align-comments-flag)
434 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
435 (prolog-left-indent-regexp, prolog-paren-indent-p)
436 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
437 (prolog-types, prolog-mode-specificators)
438 (prolog-determinism-specificators, prolog-directives)
439 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
440 (prolog-electric-dot-flag)
441 (prolog-electric-dot-full-predicate-template)
442 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
443 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
444 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
445 (prolog-program-switches, prolog-prompt-regexp)
446 (prolog-debug-on-string, prolog-debug-off-string)
447 (prolog-trace-on-string, prolog-trace-off-string)
448 (prolog-zip-on-string, prolog-zip-off-string)
449 (prolog-use-standard-consult-compile-method-flag)
450 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
451 (prolog-imenu-max-lines, prolog-info-predicate-index)
452 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
453 (prolog-char-quote-workaround):
454 * progmodes/cc-vars.el (c-defun-tactic):
455 * net/tramp.el (tramp-encoding-command-interactive)
456 (tramp-local-end-of-line):
457 * net/soap-client.el (soap-client):
458 * net/netrc.el (netrc-file):
459 * net/gnutls.el (gnutls):
460 * minibuffer.el (completion-category-overrides)
461 (completion-cycle-threshold)
462 (completion-pcm-complete-word-inserts-delimiters):
463 * man.el (Man-name-local-regexp):
464 * mail/feedmail.el (feedmail-display-full-frame):
465 * international/characters.el (glyphless-char-display-control):
466 * eshell/em-ls.el (eshell-ls-date-format):
467 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
468 (lisp-lambda-list-keyword-parameter-indentation)
469 (lisp-lambda-list-keyword-parameter-alignment):
470 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
471 * dired-x.el (dired-omit-verbose):
472 * cus-theme.el (custom-theme-allow-multiple-selections):
473 * calc/calc.el (calc-highlight-selections-with-faces)
474 (calc-lu-field-reference, calc-lu-power-reference)
475 (calc-note-threshold):
476 * battery.el (battery-mode-line-limit):
477 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
478 (archive-7z-update):
479 * allout.el (allout-prefixed-keybindings)
480 (allout-unprefixed-keybindings)
481 (allout-inhibit-auto-fill-on-headline)
482 (allout-flattened-numbering-abbreviation):
483 * allout-widgets.el (allout-widgets-auto-activation)
484 (allout-widgets-icons-dark-subdir)
485 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
486 (allout-widgets-theme-dark-background)
487 (allout-widgets-theme-light-background)
488 (allout-widgets-item-image-properties-emacs)
489 (allout-widgets-item-image-properties-xemacs)
490 (allout-widgets-run-unit-tests-on-load)
491 (allout-widgets-time-decoration-activity)
492 (allout-widgets-hook-error-post-time)
493 (allout-widgets-track-decoration):
494 Add missing :version tags to new defcustoms and defgroups.
495
5fec1b8e
GM
496 * progmodes/sql.el (sql-ansi-statement-starters)
497 (sql-oracle-statement-starters): Add custom type.
498
3e0d2fa7
GM
499 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
500 (prolog-system-version): Give it a type.
501
90b671e2
EZ
5022012-02-11 Eli Zaretskii <eliz@gnu.org>
503
504 * term/pc-win.el (x-select-text, x-selection-owner-p)
505 (x-own-selection-internal, x-disown-selection-internal)
506 (x-get-selection-internal): Sync doc strings and argument lists
507 with xselect.c, common-win.el and x-win.el. (Bug#10783)
508
5eac0c02
LL
5092012-02-11 Leo Liu <sdl.web@gmail.com>
510
511 * progmodes/python.el (python-end-of-statement): Fix infinite
512 loop. (Bug#10788)
513
f82cb659
GM
5142012-02-10 Glenn Morris <rgm@gnu.org>
515
516 * international/mule-cmds.el (unify-8859-on-encoding-mode)
517 (unify-8859-on-decoding-mode): Properly mark as obsolete.
518
cc26d239
LI
5192012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
520
521 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
522 about SMTP before checking the From header.
523
91027d08 524 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
525 into own function for reuse by emacsbug.el.
526
1be3ca5a
LL
5272012-02-10 Leo Liu <sdl.web@gmail.com>
528
529 * subr.el (condition-case-unless-debug): Rename from
530 condition-case-no-debug. All callers changed.
531 (with-demoted-errors): Fix caller.
532
533 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
534 * nxml/rng-valid.el (rng-do-some-validation):
535 * emacs-lisp/package.el (package-refresh-contents)
536 (package-menu-execute):
537 * desktop.el (desktop-create-buffer):
91027d08 538 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 539
b011fbfe
GM
5402012-02-10 Glenn Morris <rgm@gnu.org>
541
b2096d72
GM
542 * textmodes/bibtex.el:
543 Add missing :version tags for new/changed defcustoms.
544
b011fbfe
GM
545 * files.el (remote-file-name-inhibit-cache): Doc fixes.
546
4c7e65bf
LI
5472012-02-09 Lars Ingebrigtsen <larsi@rusty>
548
549 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
550 (smtpmail-via-smtp): Use it, or fall back on the From address.
551 (smtpmail-send-it): Ditto.
552
f3934f6f
SM
5532012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
556 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
557 (byte-compile-tmp-var): New const.
558 (byte-compile-defvar): Use it to minimize .elc size.
559 Just use `defvar' rather than simulate it (bug#10761).
560
a075a2c5
GM
5612012-02-09 Glenn Morris <rgm@gnu.org>
562
cf3aa21b
GM
563 * files.el (rename-uniquely): Doc fix. (Bug#3806)
564
354998cd
GM
565 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
566 Add :version tags.
567
83274125 568 * progmodes/compile.el (compilation-first-column)
34c071c6 569 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
83274125 570
dab3703d
GM
571 * vc/log-view.el (log-view-toggle-entry-display):
572 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
573
3f88cd72
GM
574 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
575 (report-emacs-bug-can-use-xdg-email):
576 (report-emacs-bug-insert-to-mailer): Doc fixes.
577 (report-emacs-bug): Message fix.
578
d95b247d
GM
579 * net/browse-url.el (browse-url-can-use-xdg-open)
580 (browse-url-xdg-open): Doc fixes.
581
a075a2c5
GM
582 * electric.el (electric-indent-mode, electric-pair-mode)
583 (electric-layout-rules, electric-layout-mode): Doc fixes.
584 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
585
ffb6157e
MR
5862012-02-08 Martin Rudalics <rudalics@gmx.at>
587
588 * server.el (server-unselect-display): Don't inadvertently kill
589 the current buffer. (Bug#10729)
590
e1ac4066
GM
5912012-02-08 Glenn Morris <rgm@gnu.org>
592
34e8a2da
GM
593 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
594 (sql-list-table): Doc fixes.
595
b4ac6e8c
GM
596 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
597 Comment out (does nothing).
598
e1ac4066
GM
599 * completion.el (dynamic-completion-mode):
600 * dirtrack.el (dirtrack-debug-mode):
601 * electric.el (electric-layout-mode):
602 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
603 * face-remap.el (text-scale-mode, buffer-face-mode):
604 * iimage.el (iimage-mode):
605 * image-mode.el (image-transform-mode):
606 * minibuffer.el (completion-in-region-mode):
607 * scroll-lock.el (scroll-lock-mode):
608 * simple.el (next-error-follow-minor-mode):
609 * tar-mode.el (tar-subfile-mode):
610 * tooltip.el (tooltip-mode):
611 * vcursor.el (vcursor-use-vcursor-map):
612 * wid-browse.el (widget-minor-mode):
613 * emulation/tpu-edt.el (tpu-edt-mode):
614 * emulation/tpu-extras.el (tpu-cursor-free-mode):
615 * international/iso-ascii.el (iso-ascii-mode):
616 * language/thai-util.el (thai-word-mode):
617 * mail/supercite.el (sc-minor-mode):
618 * net/goto-addr.el (goto-address-mode):
619 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
620 * progmodes/cwarn.el (cwarn-mode):
621 * progmodes/flymake.el (flymake-mode):
622 * progmodes/glasses.el (glasses-mode):
623 * progmodes/hideshow.el (hs-minor-mode):
624 * progmodes/pascal.el (pascal-outline-mode):
625 * textmodes/enriched.el (enriched-mode):
626 * vc/smerge-mode.el (smerge-mode):
627 Doc fixes (minor mode argument).
628
5e0d957f
EZ
6292012-02-07 Eli Zaretskii <eliz@gnu.org>
630
631 * ls-lisp.el (ls-lisp-sanitize): New function.
632 (ls-lisp-insert-directory): Use it to fix or remove any elements
633 in file-alist with missing attributes. (Bug#4673)
634
98d7371e
AM
6352012-02-07 Alan Mackenzie <acm@muc.de>
636
637 Fix spurious recognition of c-in-knr-argdecl.
638
639 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
640 putative K&R region.
641
667ced3a
AM
6422012-02-07 Alan Mackenzie <acm@muc.de>
643
eb864a71
LM
644 * progmodes/cc-engine.el (c-forward-objc-directive):
645 Prevent looping in "#pragma mark @implementation".
667ced3a 646
5b77774d
MA
6472012-02-07 Michael Albinus <michael.albinus@gmx.de>
648
649 * notifications.el (notifications-on-closed-signal): Make `reason'
650 optional. (Bug#10744)
651
af008560
GM
6522012-02-07 Glenn Morris <rgm@gnu.org>
653
60d47423
GM
654 * emacs-lisp/easy-mmode.el (define-minor-mode):
655 Doc fixes for the macro and the mode it defines.
656
dd605cc4
GM
657 * image.el (imagemagick-types-inhibit): Doc fix.
658
af008560
GM
659 * cus-start.el (imagemagick-render-type): Add it.
660
5cc59a37
LI
6612012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
662
663 * progmodes/cc-mode.el
664 (c-standard-font-lock-fontify-region-function): Set the default at
665 load time, too, so that `font-lock-fontify-buffer' can be called
666 without setting up the entire mode first. This fixes a bug in
667 `mm-inline-text' with C MIME parts.
668
9a6dd747
CY
6692012-02-06 Chong Yidong <cyd@gnu.org>
670
2d16b285
CY
671 * simple.el (list-processes--refresh): Delete exited processes
672 (Bug#8094).
673
171e9b6e
CY
674 * comint.el (comint-next-prompt): next-single-char-property-change
675 and prev-single-char-property-change never return nil (Bug#8657).
676
9a6dd747
CY
677 * custom.el (defcustom): Doc fix (Bug#9711).
678
aa4589a7
CY
6792012-02-05 Chong Yidong <cyd@gnu.org>
680
5c2a252f
CY
681 * cus-edit.el (custom-variable-reset-backup): Quote the value
682 before storing it in the customized-value property (Bug#6712).
4aab9006 683 (custom-display): Add a customization type tag.
983b9602 684 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 685
aa4589a7
CY
686 * wid-edit.el (widget-field-value-get): New optional arg to
687 suppress trailing whitespace truncation.
688 (character): Use it (Bug#2689).
689
1ff980ae
AS
6902012-02-05 Andreas Schwab <schwab@linux-m68k.org>
691
692 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
693 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
694
03988c98
CY
6952012-02-05 Chong Yidong <cyd@gnu.org>
696
eeb6cc88
CY
697 * cus-edit.el (custom-variable-value-create): For mismatched
698 types, show the current value (Bug#7600).
699
03988c98
CY
700 * custom.el (defcustom): Doc fix.
701
f8cdeef0
GM
7022012-02-05 Glenn Morris <rgm@gnu.org>
703
704 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
705
0696d255
JB
7062012-02-05 Juanma Barranquero <lekktu@gmail.com>
707
708 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
709 (pp-buffer): Use `ignore-errors', `looking-at-p'.
710 (pp-last-sexp): Use `looking-at-p'.
711
34c99998
GM
7122012-02-04 Glenn Morris <rgm@gnu.org>
713
8f05da42
GM
714 * files.el (revert-buffer):
715 Doc fix (mention revert-buffer-in-progress-p).
716
f160676e
GM
717 * emacs-lisp/ert-x.el (ert-simulate-command):
718 Check deferred-action-list (which is obsolete) is bound.
719
c7291ad9
GM
720 * subr.el (with-wrapper-hook): Doc fixes.
721
34c99998
GM
722 * simple.el (filter-buffer-substring-functions)
723 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
724
6283a7d3
LL
7252012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
726
727 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
728 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
729
e96e3013
LL
7302012-02-04 Leo Liu <sdl.web@gmail.com>
731
732 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
733
8ded50f2
GM
7342012-02-04 Glenn Morris <rgm@gnu.org>
735
82ff1d13
GM
736 * image.el (image-extension-data): Add obsolete alias.
737
987a0a16
GM
738 * isearch.el (isearch-update): Doc fix.
739
ea32ef46
GM
740 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
741
8ded50f2
GM
742 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
743
eea14f31
GM
7442012-02-03 Glenn Morris <rgm@gnu.org>
745
746 * image.el (image-animated-p): Doc fix. Use image-animated-types.
747 (image-animate-timeout): Doc fix.
748
749 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
750
12f381b7
GM
7512012-02-02 Glenn Morris <rgm@gnu.org>
752
953cebf5
GM
753 * server.el (server-auth-dir): Doc fix.
754 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
755
12f381b7
GM
756 * subr.el (run-mode-hooks): Doc fix.
757
953a8c3b
JL
7582012-02-02 Juri Linkov <juri@jurta.org>
759
760 * image-mode.el (image-toggle-display-image): Remove tautological
761 `major-mode' from the `derived-mode-p' test.
762
c5d3843c
KH
7632012-02-02 Kenichi Handa <handa@m17n.org>
764
9f6e692e 765 * composite.el (compose-region): Cancel previous change.
c5d3843c 766
159462d4 7672012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
768
769 * composite.el (compose-region, compose-string): Signal error for
770 a null string component (Bug#6988).
771
9f562668
CY
7722012-02-01 Chong Yidong <cyd@gnu.org>
773
e2cef717
CY
774 * view.el (view-buffer-other-window, view-buffer-other-frame):
775 Handle special modes like view-buffer (Bug#10650).
776 (view-buffer): Simplify.
777
9f562668
CY
778 * frame.el (set-frame-font): Tweak meaning of third argument.
779
9f6e692e
JB
780 * dynamic-setting.el (font-setting-change-default-font):
781 Use set-frame-font (Bug#9982).
9f562668 782
781acb9f
GM
7832012-02-01 Glenn Morris <rgm@gnu.org>
784
6035be52
GM
785 * progmodes/compile.el (compilation-internal-error-properties):
786 Respect compilation-first-column in the "*compilation*" buffer.
787
781acb9f
GM
788 * emacs-lisp/easy-mmode.el (define-minor-mode):
789 Relax :variable's test for a named function.
790
abbceb00
AM
7912012-01-31 Alan Mackenzie <acm@muc.de>
792
793 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
794 off by one error.
795
fce3fdeb
CY
7962012-01-31 Chong Yidong <cyd@gnu.org>
797
798 * frame.el (set-frame-font): New arg ALL-FRAMES.
799
800 * menu-bar.el (menu-set-font): Use set-frame-font.
801
802 * faces.el (face-spec-reset-face): Don't apply unspecified
803 attribute values to the default face.
804
47893581
JB
8052012-01-31 Juanma Barranquero <lekktu@gmail.com>
806
807 * progmodes/cwarn.el (cwarn): Remove dead link.
808 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
809 Remove * from defcustom docstrings.
810 (turn-on-cwarn-mode): Make obsolete.
811 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
812 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
813
e58e988a
GM
8142012-01-31 Glenn Morris <rgm@gnu.org>
815
60dc2671 816 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 817 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 818 Allow named functions to be used as the cdr of :variable.
e58e988a 819
7a3f511d
GM
8202012-01-30 Glenn Morris <rgm@gnu.org>
821
822 * emacs-lisp/authors.el (authors-fixed-entries):
823 Remove reference to deleted file rnewspost.el.
824
cb882333
JB
8252012-01-29 Juanma Barranquero <lekktu@gmail.com>
826
827 * window.el (window-with-parameter): Remove unused variable `windows'.
828 (window--side-check): Remove unused variable `code'.
829 (window--resize-siblings): Remove unused variable `first'.
830 (adjust-window-trailing-edge): Remove unused variable `failed'.
831 (window-deletable-p, window--delete): Remove unused variable `buffer'.
832 Use `let', not `let*'.
833 (balance-windows-2): Remove unused variable `found'.
834 (window--state-put-2): Remove unused variable `splits'.
835 (window-state-put): Remove unused variable `selected'.
836 (same-window-p): Use `string-match-p'.
837 (display-buffer-assq-regexp): Remove unused variable `value'.
838 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
839 Mark argument ALIST as ignored.
840 (pop-to-buffer): Remove unused variable `old-window'.
841
907201af
EZ
8422012-01-29 Eli Zaretskii <eliz@gnu.org>
843
844 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
845 and .lzma compressed files.
846
ea162670
CY
8472012-01-29 Chong Yidong <cyd@gnu.org>
848
5b95ee8a
CY
849 * frame.el (window-system-default-frame-alist): Doc fix.
850
ea162670
CY
851 * dynamic-setting.el (font-setting-change-default-font): Don't
852 change the default face if SET-FONT argument is non-nil (Bug#9982).
853
d6e6f4b1
SB
8542012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
855
856 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
857
0f29fa41 8582012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
859
860 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
861 breakpoints in files outside current directory (Bug#6098).
862
db174434
CY
8632012-01-29 Chong Yidong <cyd@gnu.org>
864
6b25e4e2
SE
865 * progmodes/python.el: Require ansi-color at top-level.
866
6df6ae42
JB
867 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
868 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
869 (lisp-mode-abbrev-table): Add doc.
870 (lisp-mode-variables): Don't set local-abbrev-table.
871 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
872
e70ee681
RW
8732012-01-28 Roland Winkler <winkler@gnu.org>
874
875 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
876
ace88aa2
RW
8772012-01-28 Roland Winkler <winkler@gnu.org>
878
879 * textmodes/bibtex.el (bibtex-entry-alist): New function.
880 (bibtex-set-dialect): Use it. Either set global values of
881 dialect-dependent variables or bind these variables buffer-locally
882 (Bug#10254).
883 (bibtex-mode): Call bibtex-set-dialect via
884 hack-local-variables-hook.
eb864a71
LM
885 (bibtex-dialect): Update docstring.
886 Add safe-local-variable predicate.
ace88aa2
RW
887 (bibtex-entry-alist, bibtex-field-alist): Initialize via
888 bibtex-set-dialect.
889 (bibtex-mode-map): Define menu for each dialect.
890 (bibtex-entry): Fix docstring.
891
93376c5b
CY
8922012-01-28 Chong Yidong <cyd@gnu.org>
893
894 * eshell/esh-arg.el (eshell-quote-argument): New function.
895
896 * eshell/esh-ext.el (eshell-invoke-batch-file):
897 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
898 first arg to eshell-parse-command (Bug#10523).
899
4372494f
DA
9002012-01-28 Drew Adams <drew.adams@oracle.com>
901
902 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
903 `default-directory' is non-nil.
904
4d4ec1f8
EZ
9052012-01-28 Eli Zaretskii <eliz@gnu.org>
906
907 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
908 line that displays system-configuration-options. (Bug#9924)
909
7c188927
DA
9102012-01-28 Drew Adams <drew.adams@oracle.com>
911
912 * descr-text.el (describe-char): Show information about POS, in
913 addition to information about the character at POS. Improve and
914 update the doc string. Change "code point" to "code point in
915 charset", to avoid confusion with the character's Unicode code
916 point shown above that. (Bug#10129)
917
e0da685a
EZ
9182012-01-28 Eli Zaretskii <eliz@gnu.org>
919
920 * descr-text.el (describe-char): Show the raw character, not only
921 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
922 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
923 for the reasons.
924
70550acf
PH
9252012-01-28 Phil Hagelberg <phil@hagelb.org>
926
eb864a71
LM
927 * emacs-lisp/package.el (package-install):
928 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 929
0ce8e868
CY
9302012-01-28 Chong Yidong <cyd@gnu.org>
931
cb882333
JB
932 * emacs-lisp/package.el (package-maybe-load-descriptor):
933 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
934 (package-maybe-load-descriptor): Use it.
935 (package-download-transaction): Fully load required packages
936 inside the loop, so that `require' calls work (Bug#10593).
937 (package-install): No need to call package-initialize now.
938
2e7f3bea
CY
9392012-01-28 Chong Yidong <cyd@gnu.org>
940
6e9bad14
CY
941 * simple.el (deactivate-mark): Doc fix (Bug#8614).
942
f823b8ca
CY
943 * tooltip.el (tooltip-mode): Doc fix.
944 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
945
2680c309
CY
946 * frame.el (set-cursor-color): Doc fix (Bug#352).
947
d7a9e63b
CY
948 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
949 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
950
2e7f3bea
CY
951 * cus-edit.el (custom-buffer-create-internal): Fix search button
952 action (Bug#10542).
2ae01800 953 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 954
fc4f7a23
EW
9552012-01-27 Eduard Wiebe <usenet@pusto.de>
956
957 * dired.el (dired-mark-files-regexp):
958 Include any subdirectory components. (Bug#10445)
959
7dd37071
ML
9602012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
961
962 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
963 Handle [host]:port syntax. (Bug#10533)
964
a268160b
AH
9652012-01-27 Alex Harsanyi <harsanyi@mac.com>
966
967 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
968
e43273ef
GM
9692012-01-26 Glenn Morris <rgm@gnu.org>
970
971 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
972 * term.el (term-raw-escape-map): Use Control-X-prefix.
973 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
974
1edf595d
MR
9752012-01-25 Martin Rudalics <rudalics@gmx.at>
976
977 * window.el (window-state-get, window--state-get-1): Don't deal
978 with fixed-sizeness of windows. Simplify code.
979
fa8eafef
JC
9802012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
981
6df6ae42
JB
982 * window.el (window--state-get-1, window--state-put-2):
983 Don't save and restore the mark.
fa8eafef 984
0b21c100
CY
9852012-01-25 Chong Yidong <cyd@gnu.org>
986
987 * custom.el (custom-variable-p): Doc fix.
988
5ae1a6c8
GM
9892012-01-25 Glenn Morris <rgm@gnu.org>
990
40047858
GM
991 * dired.el (dired-goto-file): Handle some of the more common
992 characters that `ls -b' escapes. (Bug#10596)
993
5ddce96c
GM
994 * progmodes/compile.el (compilation-next-error-function):
995 Respect compilation-first-column in the "*compilation*" buffer.
996 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
997
5ae1a6c8
GM
998 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
999
b559f1a9
GM
10002012-01-24 Glenn Morris <rgm@gnu.org>
1001
1002 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
1003
6725d21a
JD
10042012-01-24 Julien Danjou <julien@danjou.info>
1005
1006 * color.el (color-rgb-to-hsl): Fix value computing.
1007 (color-hue-to-rgb): New function.
1008 (color-hsl-to-rgb): New function.
1009 (color-clamp, color-saturate-hsl, color-saturate-name)
1010 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1011 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
1012
70df4bbe
GM
10132012-01-24 Glenn Morris <rgm@gnu.org>
1014
1015 * vc/vc-rcs.el (vc-rcs-create-tag):
1016 * vc/vc-sccs.el (vc-sccs-create-tag):
1017 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
1018
802a2ae2
ML
10192012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
1020
1021 * eshell/esh-util.el (eshell-read-hosts-file):
1022 Skip comment lines. (Bug#10549)
1023
d7128bb1
ML
1024 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
1025
d1a5c3b4
JB
10262012-01-23 Juanma Barranquero <lekktu@gmail.com>
1027
2724d9c7
JB
1028 * subr.el (display-delayed-warnings): Doc fix.
1029 (collapse-delayed-warnings): New function to collapse identical
1030 adjacent warnings.
1031 (delayed-warnings-hook): Add it.
d1a5c3b4 1032
a5509865
MA
10332012-01-22 Michael Albinus <michael.albinus@gmx.de>
1034
1035 * net/tramp.el (tramp-action-login): Set connection property "login-as".
1036
1037 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
1038 properties, when "login-as" is set.
1039
1040 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
1041 (tramp-default-user-alist): Don't add "pscp".
1042 (tramp-do-copy-or-rename-file-out-of-band): Use connection
1043 property "login-as", if set. (Bug#10530)
1044
cc6d5805
MA
10452012-01-21 Michael Albinus <michael.albinus@gmx.de>
1046
1047 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
1048 "plink1" and "psftp". (Bug#10530)
1049
10502012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
1051
1052 * international/mule-cmds.el (prefer-coding-system): Show a
1053 warning message if the default value of file-name-coding-system
1054 was not changed.
1055
f0960428
JC
10562012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1057
cb882333
JB
1058 * windmove.el (windmove-reference-loc):
1059 Fix windmove-reference-loc miscalculation.
f0960428 1060
dd6f2a63
JB
10612012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
1062
1063 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
1064 default unit.
1065
7b447e9b
GM
10662012-01-21 Glenn Morris <rgm@gnu.org>
1067
117a9ea1
GM
1068 * international/mule.el (auto-coding-alist): Add .tbz.
1069
7b447e9b
GM
1070 * files.el (local-enable-local-variables): Doc fix.
1071 (inhibit-local-variables-regexps): Rename from
1072 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
1073 Doc fix. Add some extensions from auto-coding-alist.
1074 (inhibit-local-variables-suffixes):
1075 Rename from inhibit-first-line-modes-suffixes. Doc fix.
1076 (inhibit-local-variables-p):
1077 New function, extracted from set-auto-mode-1.
1078 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
1079 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
1080 (hack-local-variables): Doc fix. Make the mode-only case
1081 respect enable-local-variables and friends.
1082 Respect inhibit-local-variables-regexps for file-locals, but
1083 not for directory-locals.
1084 (set-visited-file-name):
1085 Take account of inhibit-local-variables-regexps.
1086 Whether it applies may change as the file name is changed.
1087 * jka-cmpr-hook.el (jka-compr-install):
1088 * jka-compr.el (jka-compr-uninstall):
1089 Update for inhibit-first-line-modes-suffixes name change.
1090
dd6e3cdd
MR
10912012-01-20 Martin Rudalics <rudalics@gmx.at>
1092
1093 * help-macro.el (make-help-screen): Temporarily restore original
1094 binding for minor-mode-map-alist (Bug#10454).
1095
0d0deb38
JD
10962012-01-19 Julien Danjou <julien@danjou.info>
1097
1098 * color.el (color-name-to-rgb): Use the white color to find the max
1099 color component value and return correctly computed values.
1100 (color-name-to-rgb): Add missing float conversion for max value.
1101
34a02f46
MR
11022012-01-19 Martin Rudalics <rudalics@gmx.at>
1103
1104 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
1105 special state value for window-persistent-parameters.
1106 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
1107 (window--state-put-2): Reset all window parameters to nil before
1108 assigning values of persistent parameters.
1109
606c44c4
AM
11102012-01-18 Alan Mackenzie <acm@muc.de>
1111
1112 Eliminate sluggishness and hangs in fontification of "semicolon
1113 deserts".
1114
cb882333
JB
1115 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
1116 Change value 10000 -> 3000.
606c44c4
AM
1117 (c-state-safe-place): Reformulate so it doesn't stack up an
1118 infinite number of wrong entries in c-state-nonlit-pos-cache.
1119 (c-determine-limit-get-base, c-determine-limit): New functions to
1120 determine backward search limits disregarding literals.
1121 (c-find-decl-spots): Amend commenting.
1122 (c-cheap-inside-bracelist-p): New function which detects "={".
1123
1124 * progmodes/cc-fonts.el
1125 (c-make-font-lock-BO-decl-search-function): Give a limit to a
1126 backward search.
1127 (c-font-lock-declarations): Fix an occurrence of point being
1128 undefined. Check additionally for point being in a bracelist or
1129 near a macro invocation without a semicolon so as to avoid a
1130 fruitless time consuming search for a declarator. Give a more
1131 precise search limit for declarators using the new
1132 c-determine-limit.
1133
f3860cea
GM
11342012-01-18 Glenn Morris <rgm@gnu.org>
1135
1136 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
1137 (set-auto-mode): Doc fixes.
1138
1db03b16
GM
11392012-01-17 Glenn Morris <rgm@gnu.org>
1140
0e6038be
GM
1141 * isearch.el (search-nonincremental-instead): Fix doc typo.
1142
1db03b16
GM
1143 * dired.el (dired-insert-directory): Handle newlines in directory name.
1144 (dired-build-subdir-alist): Unescape newlines in directory name.
1145
4cb0aa75
MA
11462012-01-17 Michael Albinus <michael.albinus@gmx.de>
1147
1148 * net/tramp.el (tramp-local-end-of-line): New defcustom.
1149 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
1150 (tramp-action-terminal): Use it. (Bug#10530)
1151
1d00653d
SM
11522012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * minibuffer.el (completion--replace): Strip properties (bug#10062).
1155
6a6ee00d
MR
11562012-01-16 Martin Rudalics <rudalics@gmx.at>
1157
1158 * window.el (window-state-ignored-parameters): Remove variable.
1159 (window--state-get-1): Rename argument MARKERS to IGNORE.
1160 Handle persistent window parameters. Make copy of clone-of
1161 parameter only if requested. (Bug#10348)
1162 (window--state-put-2): Install a window parameter only if it has
1163 a non-nil value or an existing parameter shall be overwritten.
1164
97912def
MA
11652012-01-15 Michael Albinus <michael.albinus@gmx.de>
1166
1167 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
1168
688070a5
EZ
11692012-01-14 Eli Zaretskii <eliz@gnu.org>
1170
1171 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
1172 don't pass the (nil) value of `upnode' to string-match.
1173
301afadc
CY
11742012-01-14 Chong Yidong <cyd@gnu.org>
1175
1176 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 1177 Fix values recognized by the cursorBlink resource.
301afadc 1178
9e5788aa
PE
11792012-01-14 Paul Eggert <eggert@cs.ucla.edu>
1180
1181 * epg.el (epg--make-temp-file): Avoid permission race condition
1182 when running on old Emacs versions (bug#10403).
1183
3cdb7f5a
GM
11842012-01-14 Glenn Morris <rgm@gnu.org>
1185
1186 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
1187
8c82b1b4
AM
11882012-01-13 Alan Mackenzie <acm@muc.de>
1189
1190 Fix filling for when filladapt mode is enabled.
1191
1192 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
1193 c-mask-paragraph, pass in `fill-paragraph' rather than
1194 `fill-region-as-paragraph'. (This is a reversion of a previous
1195 change.)
eb864a71
LM
1196 * progmodes/cc-mode.el (c-basic-common-init):
1197 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 1198
e517eda4
GM
11992012-01-13 Glenn Morris <rgm@gnu.org>
1200
1498536e
GM
1201 * dired.el (dired-switches-escape-p): New function.
1202 (dired-insert-directory): Use dired-switches-escape-p.
1203 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
1204
e517eda4
GM
1205 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
1206
328f984d
GM
12072012-01-12 Glenn Morris <rgm@gnu.org>
1208
1209 * mail/sendmail.el (mail-mode): Update paragraph-separate for
1210 changes in adaptive-fill-regexp. (Bug#10276)
1211
2cc769a8
AM
12122012-01-11 Alan Mackenzie <acm@muc.de>
1213
1214 Fix Emacs bug #10463 - put `widen's around the critical spots.
1215
1d00653d 1216 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
1217 widen around each invocation of c-state-pp-to-literal. Remove an
1218 unused let variable.
1219
e52c37fa
GM
12202012-01-11 Glenn Morris <rgm@gnu.org>
1221
1222 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 1223 Doc fix.
e52c37fa 1224
96f8741e
CY
12252012-01-10 Chong Yidong <cyd@gnu.org>
1226
1d00653d
SM
1227 * net/network-stream.el (network-stream-open-starttls):
1228 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
1229 response to the capability command.
1230
b09a806e
GM
12312012-01-10 Glenn Morris <rgm@gnu.org>
1232
1233 * mail/unrmail.el (unrmail): Tweak previous change.
1234
7655cb66
CY
12352012-01-09 Chong Yidong <cyd@gnu.org>
1236
1237 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
1238
9d5a8f0b
AM
12392012-01-08 Alan Mackenzie <acm@muc.de>
1240
1241 Optimise font locking in long enum definitions.
1242
1243 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
1244 arm to a cond form to handle enums.
1245 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
1246 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
1247
9a0115ab 12482012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
1249
1250 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 1251 (Bug#10401)
6bb72cbd 1252
f186bb95
LMI
12532012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1254
29232a68
LMI
1255 * faces.el (set-face-attribute): Clarify the meaning of the nil
1256 frame (bug#10294).
1257
4e5d086d
LMI
1258 * subr.el (with-selected-frame): Mention that the selected frame
1259 is restored (bug#9980).
1260
8e66aebe
LMI
1261 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1262 (bug#9759).
1263
cd394be1 1264 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
1265 (password-read): Don't autoload unused function.
1266
adf4e762
JB
12672012-01-07 Juanma Barranquero <lekktu@gmail.com>
1268
1269 * progmodes/which-func.el (which-func-mode): Turn into a
1270 non-interactive function and mark as obsolete (bug#10428).
1271
89bd9ccd
CY
12722012-01-06 Chong Yidong <cyd@gnu.org>
1273
1274 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1275 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1276 functions, along with 1 and -1.
1277
4afee9d5
EZ
12782012-01-06 Eli Zaretskii <eliz@gnu.org>
1279
1280 * time.el (display-time-load-average)
1281 (display-time-default-load-average): Doc fixes. See the thread
1282 starting at
1283 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1284 for the details.
1285
536aea70
GM
12862012-01-06 Glenn Morris <rgm@gnu.org>
1287
665ae865
GM
1288 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1289 has no messages. (Bug#10377)
1290
c869783d
GM
1291 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1292 than Info-edit. (Bug#10385)
1293
2bb4227e
GM
1294 * time.el (display-time-load-average, display-time-next-load-average):
1295 Doc fixes.
1296
7d5944b9
GM
1297 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1298 local setting of buffer-read-only to the input buffer. (Bug#10419)
1299
536aea70
GM
1300 * calendar/calendar.el (calendar-mode):
1301 Locally set scroll-margin to 0. (Bug#10379)
1302
7dccca16
UM
13032012-01-06 Ulrich Mueller <ulm@gentoo.org>
1304
1305 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1306
afbb7930
GM
13072012-01-05 Glenn Morris <rgm@gnu.org>
1308
1309 * eshell/em-unix.el (diff-no-select): Autoload it.
1310 (eshell/diff): Use diff-no-select. (Bug#10420)
1311
04482335
CY
13122012-01-05 Chong Yidong <cyd@gnu.org>
1313
7baca3bc
CY
1314 * shell.el (shell-dynamic-complete-functions): Revert last change.
1315 (shell-command-completion-function): New function.
1316 (shell-completion-vars): Use it to implement
1317 shell-completion-execonly (Bug#10417).
1318
04482335
CY
1319 * custom.el (enable-theme): Don't set custom-safe-themes.
1320
1d00653d
SM
1321 * cus-theme.el (custom-theme-merge-theme):
1322 Ignore custom-enabled-themes and custom-safe-themes.
04482335 1323
bb5aa5d6
MM
13242012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1325
1326 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1327 first prompt in `sql-interacive-mode'.
1328 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 1329 keywords.
6df6ae42 1330 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
1331 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1332 context of original buffer. Invoke `sql-login-hook'.
1333
a7183d7c
EZ
13342012-01-04 Eli Zaretskii <eliz@gnu.org>
1335
1336 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1337 letters in cite-prefix.
1338
a1eacd1e
LMI
13392012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1340
1341 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1342
787cdb34
CY
13432012-01-03 Chong Yidong <cyd@gnu.org>
1344
1d00653d
SM
1345 * shell.el (shell-dynamic-complete-functions):
1346 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
1347 comint-filename-completion first (Bug#10417).
1348
30710442
RS
13492012-01-02 Richard Stallman <rms@gnu.org>
1350
1351 * battery.el (battery-status-function):
1352 Detect when to use battery-yeeloong-sysfs.
1353 (battery-echo-area-format): Add string for Yeeloong.
1354 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1355 (battery-yeeloong-sysfs): New function.
1356
f75bfc33
CY
13572012-01-02 Chong Yidong <cyd@gnu.org>
1358
1359 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1360 (dirtrack): Merge code for handling relative filenames in prompt
1361 from shell-dir-cookie-watcher.
1362 (dirtrack-debug-message): New arg to avoid excess format calls.
1363
1364 * shell.el (shell-dir-cookie-re): Variable deleted.
1365 (shell-dir-cookie-watcher): Function deleted.
1366 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1367 with dirtrack-mode.
1368
651e947e
EZ
13692012-01-01 Eli Zaretskii <eliz@gnu.org>
1370
1d00653d
SM
1371 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1372 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
1373 libgnutls-26.dll.
1374
94d4c7dc
AS
13752011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1376
1377 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1378
8d43f3cd
EZ
13792011-12-31 Eli Zaretskii <eliz@gnu.org>
1380
1381 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1382 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1383
98c8795a
MA
13842011-12-29 Michael Albinus <michael.albinus@gmx.de>
1385
1386 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1387 also for alternative shells.
1388 (tramp-open-connection-setup-interactive-shell): Check, whether
1389 the shell is a busybox.
1390 (tramp-send-command): Don't suppress multiple prompts for
1391 busyboxes, it hurts.
1392
51281b32
CY
13932011-12-28 Chong Yidong <cyd@gnu.org>
1394
1395 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1396 (gdb-get-source-file): Move mode line update to
1397 gdb-get-source-file (Bug#10087).
1398
2170cb53
CY
13992011-12-25 Chong Yidong <cyd@gnu.org>
1400
1401 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1402 gud-gdb-marker-filter without taking it as an argument.
1403 (gud-gdb-run-command-fetch-lines): Caller changed.
1404 (gud-gdb-completion-function): New variable.
1405 (gud-gdb-completion-at-point): Use it.
1406 (gud-gdb-completions-1): Split from gud-gdb-completions.
1407
1408 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1409 function as separate arguments.
1410 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1411 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1412 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1413 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1414 (gdb-stopped, def-gdb-auto-update-trigger)
1415 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
1416 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1417 Callers changed.
2170cb53
CY
1418 (gud-gdbmi-completions): New function.
1419 (gdb): Use it for generating the completion table.
1420
be8b11bb
AM
14212011-12-24 Alan Mackenzie <acm@muc.de>
1422
1423 Introduce a mechanism to widen the region used in context font
1d00653d 1424 locking. Use this to protect declarations from losing their contexts.
be8b11bb 1425
1d00653d
SM
1426 * progmodes/cc-langs.el (c-before-font-lock-functions):
1427 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 1428 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
1429 functions to be run just before context (etc.) font locking.
1430
1431 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 1432 New, functionality extracted from
be8b11bb 1433 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 1434 (c-in-after-change-fontification): New variable.
be8b11bb
AM
1435 (c-after-change): Set c-in-after-change-fontification.
1436 (c-set-fl-decl-start): Rejig its interface, so it can be called
1437 from both after-change and context fontifying.
b81d40f0
JB
1438 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1439 New functions.
1440 (c-standard-font-lock-fontify-region-function): New variable.
1441 (c-font-lock-fontify-region): New function.
be8b11bb 1442
341cf6ac
JL
14432011-12-24 Juri Linkov <juri@jurta.org>
1444
1445 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1446 (Bug#10348)
1447
bffcee0a
MA
14482011-12-23 Michael Albinus <michael.albinus@gmx.de>
1449
1450 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1451 existence of source file. (Bug#10325)
1452
cb5e207c
AM
14532011-12-23 Alan Mackenzie <acm@muc.de>
1454
1455 Fix unstable fontification inside templates.
1456
b81d40f0
JB
1457 * progmodes/cc-langs.el (c-before-font-lock-functions):
1458 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
1459 additionally has c-set-fl-decl-start. The other languages (apart
1460 from AWK) have that as a single entry.
1461
b81d40f0
JB
1462 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1463 The functionality for "local" declarations has been extracted to
cb5e207c
AM
1464 c-set-fl-decl-start.
1465
b81d40f0
JB
1466 * progmodes/cc-mode.el (c-common-init, c-after-change):
1467 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
1468 (c-set-fl-decl-start): New function, extracted from
1469 c-font-lock-enclosing-decls and enhanced.
1470
60ff536c
JB
14712011-12-23 Juanma Barranquero <lekktu@gmail.com>
1472
1473 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1474
1c4757d6
JL
14752011-12-22 Juri Linkov <juri@jurta.org>
1476
1477 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1478
d031f2c7
CY
14792011-12-22 Chong Yidong <cyd@gnu.org>
1480
1481 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1482
bace743a
DA
14832011-12-21 Drew Adams <drew.adams@oracle.com>
1484
1485 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1486
728a1f2b
JC
14872011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1488
1489 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1490
0d373f73
TZ
14912011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1492
fec0aaa4
TZ
1493 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1494 highlighting and support. Fix up comments for capitalization.
1495 (cfengine-mode-debug): New var.
1496 (cfengine3-mode): Change the modeline indicator to "CFE3".
1497 (cfengine3-font-lock-keywords): Improve defun highlighting.
1498 (cfengine2-actions): Rename from `cfengine-actions'.
1499 (cfengine2-font-lock-keywords): Rename from
1500 `cfengine-font-lock-keywords'.
1501 (cfengine2-imenu-expression): Rename from
1502 `cfengine-imenu-expression'.
1503 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1504 (cfengine2-beginning-of-defun): Rename from
1505 `cfengine-beginning-of-defun'.
1506 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1507 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1508 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1509 modeline indicator to "CFE2".
1510 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1511 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 1512
bc86f573
CY
15132011-12-21 Chong Yidong <cyd@gnu.org>
1514
1515 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1516 filename argument.
1517
d45ba96b
MR
15182011-12-20 Martin Rudalics <rudalics@gmx.at>
1519
1520 * window.el (window-normalize-buffer-to-display): Remove.
1521 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1522
a6198c90
CY
15232011-12-19 Chong Yidong <cyd@gnu.org>
1524
1525 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1526 Don't signal an error in a predicate function; return non-nil.
1527 (vc-dir-mark-file): Move the error here.
1528 (vc-dir-mark-unmark): If acting on the region, keep going if one
1529 of the entries cannot be marked/unmarked.
1530 (vc-dir-mark-all-files): If current entry is a directory, mark
1531 only child files, as documented.
1532
34c5fb55
VB
15332011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1534
1535 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1536 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1537 addition.
1538
c803b2b7
JD
15392011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1540
1541 * term/ns-win.el (ns-get-selection-internal)
1542 (ns-store-selection-internal): Declare.
1154d12e
JB
1543 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1544 Declare as obsolete.
1545 (ns-get-pasteboard, ns-paste-secondary):
1546 Use ns-get-selection-internal.
1547 (ns-set-pasteboard, ns-copy-including-secondary):
1548 Use ns-store-selection-internal.
c803b2b7 1549
9cff91f8 15502011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
1551
1552 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 1553 (vc-deduce-fileset): Doc fix.
99a289d9 1554
f16c898a
AS
15552011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1556
1557 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1558
763237c4
SS
15592011-12-13 Sam Steingold <sds@gnu.org>
1560
1561 * man.el (Man-getpage-in-background): When running under a
1562 window-system, ignore $MANWIDTH and $COLUMNS.
1563
5fc1c122
KH
15642011-12-15 Kenichi Handa <handa@m17n.org>
1565
1566 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1567 (setup-ethiopic-environment-internal): Comment out key-binding for
1568 ethio-toggle-punctuation.
1569
13d49cbb
AM
15702011-12-13 Alan Mackenzie <acm@muc.de>
1571
898169a2
AM
1572 Add the switch statement to AWK Mode.
1573
7a71b18d 1574 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
1575 "default" to the keywords regexp.
1576
7a71b18d 1577 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 1578 expression as the rest.
1d00653d
SM
1579 (c-nonlabel-token-key): Allow string literals for AWK.
1580 Refactor for the other modes.
898169a2 1581
13d49cbb 1582 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 1583 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
1584 routines. Limit backward searching in c-font-lock-enclosing.decl.
1585
1586 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1587 pp-state and literal type in addition to the limits.
1d00653d 1588 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 1589 (c-state-literal-at): Use the above new defun.
1d00653d
SM
1590 (c-slow-in-literal, c-fast-in-literal): Remove.
1591 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
1592
1593 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1594 being in a literal. Add a limit for backward searching.
1595
1596 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1597 c-slow-in-literal.
1598
15e0efc7
SM
15992011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1602
454592a6
MR
16032011-12-13 Martin Rudalics <rudalics@gmx.at>
1604
1605 * window.el (delete-other-windows): Use correct frame in call to
1606 window-with-parameter.
1607
87393f26
DP
16082011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1609
1610 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1611 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1612 (makefile-gmake-statements, makefile-makepp-statements):
1613 Use it and add new makepp keywords.
1614 (makefile-makepp-font-lock-keywords): Add new patterns.
1615 (makefile-match-function-end): Match new [...] and [[...]].
1616
11636b22
JB
16172011-12-11 Juanma Barranquero <lekktu@gmail.com>
1618
1619 * ses.el (ses-call-printer-return, ses-cell-property-get)
1620 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1621 (ses-create-cell-variable, ses-reset-header-string)
1622 (ses-cell-set-formula, ses-repair-cell-reference-all)
1623 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1624 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1625 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1626 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1627 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1628 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1629 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1630 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1631 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1632 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1633 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1634 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1635
cf018193
VB
16362011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
1637
1638 * ses.el: The overall change is to add cell renaming, that is
1639 setting fancy names for cell symbols other than name matching
1640 "\\`[A-Z]+[0-9]+\\'" regexp .
1641 (ses-create-cell-variable): New defun.
1642 (ses-relocate-formula): Relocate formulas only for cells the
1643 symbols of which are not renamed, i.e. symbols whose names do not
1644 match regexp "\\`[A-Z]+[0-9]+\\'".
1645 (ses-relocate-all): Relocate values only for cells the symbols of
1646 which are not renamed.
1647 (ses-load): Create cells variables as the (ses-cell ...) are read,
1648 in order to check row col consistency with cell symbol name only
1649 for cells that are not renamed.
1650 (ses-replace-name-in-formula): New defun.
1651 (ses-rename-cell): New defun.
1652
ee957461
CY
16532011-12-11 Chong Yidong <cyd@gnu.org>
1654
1655 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1656 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1657
9a9e9ef0
MR
16582011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
1659
1660 * window.el (other-window): Fix docstring.
1661
92a8eba5
EZ
16622011-12-10 Eli Zaretskii <eliz@gnu.org>
1663
1664 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
1665 `from' or `to' address before taking its substring.
1666 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
1667 encoded name is chopped in the middle of the encoded string, and
1668 thus displayed encoded.
1669
e152e577
JB
16702011-12-10 Juanma Barranquero <lekktu@gmail.com>
1671
1672 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1673
e5d84bfe
EZ
16742011-12-10 Eli Zaretskii <eliz@gnu.org>
1675
1676 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
1677 to use texinfo-update-node and commands that call it if the
1678 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 1679 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
1680 (texinfo-all-menus-update, texinfo-master-menu)
1681 (texinfo-update-node, texinfo-every-node-update)
1682 (texinfo-multiple-files-update): Doc fix. Warn against updating
1683 all the @node lines.
1684 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
1685 argument is numeric. Explain better in the doc string what the
1686 function really does.
1687 (texinfo-insert-master-menu-list): Improve the error message
1688 displayed if there's no menu in the Top node.
1689 (Bug#2975) See also this thread:
e5d84bfe
EZ
1690 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1691
1d84e9bb
MG
16922011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1693
1694 * speedbar.el (speedbar-supported-extension-expressions):
1695 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1696
382c953b
JB
16972011-12-09 Juanma Barranquero <lekktu@gmail.com>
1698
1699 * printing.el (pr-mode-alist):
1700 * simple.el (filter-buffer-substring-functions)
1701 (completion-list-insert-choice-function):
1702 * window.el (window-with-parameter, window-atom-root)
1703 (window-sides-slots, window-size-fixed, window-min-delta)
1704 (window-max-delta, window--resize-mini-window)
1705 (window--resize-child-windows-normal, window-tree)
1706 (delete-other-windows, quit-window, split-window)
1707 (display-buffer-record-window, special-display-buffer-names)
1708 (special-display-regexps, special-display-popup-frame)
1709 (same-window-p, split-window-sensibly)
1710 (display-buffer-overriding-action, display-buffer-alist)
1711 (display-buffer-base-action, display-buffer, switch-to-buffer)
1712 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1713 (fit-window-to-buffer, recenter-positions)
1714 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1715 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1716 and remove unneeded backslashes in docstrings.
1717
39c9faef
SM
17182011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1719
98449af8
SM
1720 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1721
39c9faef
SM
1722 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1723 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1724 end in ".mk".
1725 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1726 when reading the makefile (bug#10116).
1727
86ed9fdc
SM
17282011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1729
1730 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1731 (bug#10116).
1732
5580f89d
GM
17332011-12-06 Glenn Morris <rgm@gnu.org>
1734
1735 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1736
28d3917c
CY
17372011-12-06 Chong Yidong <cyd@gnu.org>
1738
1739 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1740
a98edce9
JB
17412011-12-06 Juanma Barranquero <lekktu@gmail.com>
1742
1743 * textmodes/table.el (table-shorten-cell): Fix typo.
1744
e65adfac
CG
17452011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1746
1747 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1748
71cc0b74
EZ
17492011-12-05 Eli Zaretskii <eliz@gnu.org>
1750
1751 * descr-text.el (describe-char): Fix display of strong
1752 right-to-left characters and directional embeddings and overrides.
1753
1754 * simple.el (what-cursor-position): Fix display of codepoints of
1755 strong right-to-left characters.
1756
315bc30d
CY
17572011-12-05 Chong Yidong <cyd@gnu.org>
1758
1759 * faces.el (read-color): Doc fix.
1760
58a70b94
GM
17612011-12-05 Glenn Morris <rgm@gnu.org>
1762
1763 * align.el (align--set-marker): Add doc-string.
1764 Don't try to move something that is not a marker. (Bug#10216)
1765
5158face
GM
17662011-12-04 Glenn Morris <rgm@gnu.org>
1767
1768 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1769 overly zealous deletion of trailing whitespace.
1770
520fca41
JB
17712011-12-04 Juanma Barranquero <lekktu@gmail.com>
1772
1773 * server.el (server-delete-client): On Windows, do not try to delete
1774 the only terminal.
1775 (server-process-filter): On Windows, treat requests for a tty frame as
1776 if they were for a GUI frame if the running server is in GUI mode.
1777
5e605a2e
GM
17782011-12-03 Glenn Morris <rgm@gnu.org>
1779
1780 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1781
5c3fe83f
SM
17822011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1783
6f5e57e7
SM
1784 * electric.el: Streamline electric-indent's hook.
1785 (electric-indent-chars): Revert to simple list.
1786 (electric-indent-functions): New var.
1787 (electric-indent-post-self-insert-function): Use it.
1788
5c3fe83f
SM
1789 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1790 there's no inferior buffer (bug#10196).
1791 (prolog-consult-compile): Don't use toggle-read-only.
1792
6bdac736
MA
17932011-12-02 Michael Albinus <michael.albinus@gmx.de>
1794
1795 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1796 interrupt. (Bug#10187)
1797
6131ba7f
SM
17982011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1799
99c79fee
SM
1800 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1801 (bug#9160).
1802
6131ba7f
SM
1803 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1804 (bug#10191).
1805
cb0a02ea
JL
18062011-12-02 Juri Linkov <juri@jurta.org>
1807
1808 * info.el (Info-search): Display "end of manual" when Isearch
1809 reaches the end of single-file Info manual. (Bug#9918)
1810
66e0570c
EZ
18112011-12-02 Eli Zaretskii <eliz@gnu.org>
1812
1813 * isearch.el (isearch-message-prefix): Run the input method part
1814 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1815
02b16839
JL
18162011-12-02 Juri Linkov <juri@jurta.org>
1817
1818 * isearch.el (isearch-occur): Use `word-search-regexp' for
1819 `isearch-word'.
1820 (isearch-search-and-update): Add condition for `isearch-word' and
1821 call `word-search-regexp'. (Bug#10145)
1822
0b950688
GM
18232011-12-01 Glenn Morris <rgm@gnu.org>
1824
1825 * eshell/em-hist.el (eshell-hist-initialize):
1826 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 1827 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 1828
9505c3c7
SM
18292011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1832
1bbe96b2 18332011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 1834
a1beca85
SM
1835 * progmodes/verilog-mode.el (verilog-pretty-expr):
1836 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
1837 verilog, such as += *= and the like.
1838 (verilog-assignment-operator-re): Regular expression to find the
1839 assigment operator in a verilog assignment.
1840 (verilog-assignment-operation-re): Regular expression to find an
1841 assignment statement for pretty-expr.
1842 (verilog-in-attribute-p): Query returns true if point is in an
1843 attribute context; used to skip these for expression line up from
1844 pretty-expr.
1845 (verilog-in-parameter-p): Query returns true if point is in an
1846 parameter definition context; used to skip these for expression
1847 line up from pretty-expr.
1848 (verilog-in-parenthesis-p): Query returns true if point is in a
1849 parenthetical expression, specifically ( ) but not [ ] or { };
1850 used by pretty-expr.
1851 (verilog-just-one-space): If there is no space, don't add one.
1852 (verilog-get-lineup-indent-2): Specifically skip just attribute
1853 contexts for expression lineup, rather than skipping all
1854 parenthetical expressions.
1855 (verilog-calculate-indent): Fix comment, and fix indent.
1856 (verilog-do-indent): Indent declarations in lists (suggested by
1857 Joachim Lechner).
1858 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1859 skeleton items.
1860 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1861 by Alain Mellan).
1862
1bbe96b2 18632011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
1864
1865 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1866 parameters with embedded comments. Reported by Ray Stevens.
1867 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1868 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1869 Reported by Tim Holt.
1870 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1871 instantiated by upper module causing wrong expansion until AUTOed a
1872 second time. Reported by K C Buckenmaier.
1873 (verilog-diff-auto): Fix showing .* as a difference when
1874 `verilog-auto-star-save' off. Reported by Dan Dever.
1875 (verilog-auto-reset, verilog-read-always-signals)
1876 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1877 temporary signals in reset list if
1878 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
1879 style to each signal's assignment type, bug381.
1880 Reported by Thomas Esposito.
6288f0ca
WS
1881 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1882 (verilog-uvm-statement-re): Support UVM indentation and
1883 highlighting, with old OVM keywords only.
a1beca85 1884 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
1885 Support AUTOTIEOFF creating non-wire data types.
1886 Suggested by Jonathan Greenlaw.
6288f0ca
WS
1887 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1888 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1889 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
1890 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1891 Fix mismatching parenthesis inside commented out code when deleting
382c953b 1892 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
1893 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1894 non-numeric vector width. Reported by Alex Reed.
1895 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 1896 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
1897 (verilog-auto-delete-trailing-whitespace):
1898 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
1899 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1900 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1901 Fix verilog-scan-cache corruption when running user AUTO expansion
1902 hooks that call indentation routines.
1903 (verilog-simplify-range-expression): Fix typo ignoring lower case
1904 identifiers.
1905 (verilog-delete-auto): Fix delete-autos to also remove user created
1906 automatics, as long as they start with AUTO.
1907 (verilog-batch-diff-auto, verilog-diff-auto)
1908 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1909 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1910 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1911 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
1912 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1913 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
1914 is disabled and its cache will get corrupt, causing AUTOS not to
1915 expand. Instead use only -quick functions.
1916 (verilog-scan-region): Fix scanning over escaped quotes.
1917 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1918 (verilog-re-search-backward-quick)
1919 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1920 related functions now ignore strings, to fix misparsing of strings
1921 with magic comments embedded in them.
a1beca85
SM
1922 (verilog-read-auto-template):
1923 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1924 Reported by Brad Dobbie.
1925 (verilog-read-auto-template):
1926 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 1927 Reported by Brad Dobbie.
6288f0ca
WS
1928 (verilog-auto-inst, verilog-auto-inst-param)
1929 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1930 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1931 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
1932 debugging templates without merge conflicts, bug357.
1933 Reported by Brad Dobbie.
1934 (verilog-read-auto-template):
1935 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
1936 Reported by Brad Dobbie.
1937 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1938 abbrevs so user won't be asked to save.
1939 (verilog-read-auto-lisp-present): Fix to start at beginning of
1940 buffer in case called outside of verilog-auto.
1941 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1942 to "X-2". Reported by Matthew Myers.
1943 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1944 all inputs from module templates. Reported by Leith Johnson.
1945 (verilog-module-inside-filename-p): Fix locating programs as with
1946 modules.
1947 (verilog-auto-inst-port): Fix vl-width expressions when using
1948 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1949 (verilog-decls-get-regs, verilog-decls-get-signals,
1950 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1951 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1952 verilog-read-decls): Combine reg and wire structures into one var
1953 structure to represent SystemVerilog concepts.
1954 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1955 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
1956 (verilog-auto-wire-type, verilog-insert-definition):
1957 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
1958 SystemVerilog "logic" keyword instead of "wire"/"reg".
1959 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1960 to declares outputs that also have assignments (presumably in an
a1beca85
SM
1961 ifdef or generate if so there's not a driver conflict).
1962 Reported by Matthew Myers.
1963 (verilog-auto-declare-nettype, verilog-insert-definition):
1964 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
1965 `default_nettype none. Reported by Julian Gorfajn.
1966 (verilog-read-always-signals-recurse, verilog-read-decls)
1967 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1968 malformed end statement, bug325. Reported by Joshua Wise and
1969 Andrew Drake.
1970 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1971 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
1972 when expanding .* in interfaces, bug320.
1973 Reported by Pierre-David Pfister.
6288f0ca 1974 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
1975 name and open parenthesis, bug317.
1976 Reported by Pierre-David Pfister.
6288f0ca
WS
1977 (verilog-simplify-range-expression): Fix simplification of
1978 multiplications inside AUTOWIRE connections, bug303.
1979 (verilog-auto-inst-port): Support parameter expansion in
1980 multidimensional arrays.
1981 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1982 after "assert property". Reported by Julian Gorfajn.
1983 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1984 with multiplication, bug303.
1985 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1986 Reported by Jan Frode Lonnum.
1987
1bbe96b2
GM
19882011-11-30 Juanma Barranquero <lekktu@gmail.com>
1989
1990 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1991 (hfy-shell-file-name, hfy-shell):
1992 * international/fontset.el (x-decompose-font-name): Fix typos.
1993
19942011-11-29 Ken Brown <kbrown@cornell.edu>
1995
1996 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1997 (gdb-version): Remove defvar.
1998 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1999 (gdb-gud-context-command, gdb-non-stop-handler)
2000 (gdb-current-context-command, gdb-stopped): Use it.
2001 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
2002 (gdb-non-stop-handler): Don't enable pretty-printing here.
2003 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
2004 non-stop mode. Use the following.
2005 (gdb-check-target-async): New defun.
2006 (gud-watch, gdb-stopped): Fix whitespace.
2007 (gdb-get-source-file): Don't try to display the source file if
2008 `gdb-main-file' is nil.
2009
20102011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * align.el: Try to generate fewer markers (bug#10047).
2013 (align--set-marker): New macro.
2014 (align-region): Use it.
2015
c935221f
SM
20162011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
2019
e70b5064
CY
20202011-11-29 Chong Yidong <cyd@gnu.org>
2021
2022 * indent.el (indent-for-tab-command, indent-according-to-mode):
2023 Doc fix.
2024 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
2025
f3af92b7
MA
20262011-11-29 Michael Albinus <michael.albinus@gmx.de>
2027
2028 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
2029 aware of remote file names. (Bug#10124)
2030
ed472be9
CY
20312011-11-29 Chong Yidong <cyd@gnu.org>
2032
2033 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
2034
24510c22
SM
20352011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2036
2037 * files.el (find-file): Don't use force-same-window (bug#10144).
2038 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
2039 use pop-to-buffer if the selected window can't be used.
2040 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
2041
c60c3703
EZ
20422011-11-28 Eli Zaretskii <eliz@gnu.org>
2043
2044 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
2045 special-mode-map.
2046
e95def75
CY
20472011-11-28 Chong Yidong <cyd@gnu.org>
2048
2049 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2050
c3f1c606
NR
20512011-11-27 Nick Roberts <nickrob@snap.net.nz>
2052
2053 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
2054 gdb-get-source-file-list on gdb-create-source-file-list.
2055
00db469c
EZ
20562011-11-26 Eli Zaretskii <eliz@gnu.org>
2057
2058 * whitespace.el (whitespace-newline): Use a different foreground
2059 color for 16-color light-background displays.
2060
4ad3bc2a
CY
20612011-11-24 Chong Yidong <cyd@gnu.org>
2062
2063 * window.el (display-buffer--special-action): Doc fix.
2064
e9fce1ac
JB
20652011-11-25 Juanma Barranquero <lekktu@gmail.com>
2066
2067 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
2068 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
2069 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
2070 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
2071 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
2072 (avl-tree-stack-first):
2073 * emacs-lisp/cconv.el (cconv--analyse-use):
2074 * net/gnutls.el (gnutls-negotiate): Fix typos.
2075
cb825e5d
GM
20762011-11-24 Glenn Morris <rgm@gnu.org>
2077
3adbe224
GM
2078 * lpr.el (lpr-windows-system, lpr-lp-system):
2079 * mail/binhex.el (binhex-begin-line):
2080 * progmodes/grep.el (grep-history, grep-find-history):
2081 * textmodes/flyspell.el:
2082 * vc/pcvs-defs.el (cvs-global-menu):
2083 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
2084 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
2085 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
2086
321decc8
GM
2087 * net/tls.el: Fix case of "GnuTLS".
2088
420b63ad
GM
2089 * paths.el (rmail-file-name): Format doc-string for make-docfile.
2090
cb825e5d
GM
2091 * version.el (emacs-build-system): Give it a doc-string.
2092
a0649f08
JL
20932011-11-24 Juri Linkov <juri@jurta.org>
2094
2095 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
2096
c0bc0fd4
GM
20972011-11-24 Glenn Morris <rgm@gnu.org>
2098
2099 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
2100 if called on a non-mime message just toggle the headers. (Bug#8006)
2101
20db1522
JB
21022011-11-24 Juanma Barranquero <lekktu@gmail.com>
2103
2104 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
2105 (allout-lead-with-comment-string, allout-structure-deleted-hook)
2106 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
2107 (allout-rebullet-heading, allout-open-sibtopic)
2108 (allout-toggle-current-subtree-encryption)
2109 (allout-toggle-subtree-encryption, allout-encrypt-string)
2110 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
2111 (allout-distinctive-bullets-string, allout-auto-activation):
2112 * window.el (window-normalize-buffer-to-display):
2113 * progmodes/verilog-mode.el (verilog-batch-indent):
2114 * textmodes/bibtex.el (bibtex-field-braces-opt)
2115 (bibtex-field-strings-opt):
2116 * vc/cvs-status.el (cvs-tree-merge):
2117 Fix typos.
2118
7262a87c
MA
21192011-11-23 Michael Albinus <michael.albinus@gmx.de>
2120
2121 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
2122 `non-essential' to t, in order to avoid remote connections.
2123
283430a1
EZ
21242011-11-23 Eli Zaretskii <eliz@gnu.org>
2125
a1beca85
SM
2126 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2127 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
2128 case-insensitively.
2129
d2992a38
ML
21302011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2131
2132 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
2133
50419064
GM
21342011-11-23 Glenn Morris <rgm@gnu.org>
2135
da94eca1
GM
2136 * paths.el (rmail-file-name): Reformat the doc-string so that it
2137 is picked up.
2138
9aac4de2
GM
2139 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
2140 (rmail-auto-file): Ignore case in the "special" field names,
2141 as mail-fetch-field does for all others.
2142
8038d2d2
GM
2143 * mail/rmail.el (rmail-forward):
2144 * mail/rmailkwd.el (rmail-set-label):
2145 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
2146 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
2147
f3fe222a
GM
2148 * mail/rmail.el (rmail-current-message): Doc fix.
2149
50419064
GM
2150 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
2151
28109f49
SM
21522011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * server.el (server-eval-and-print): Allow C-g (bug#6585).
2155
394c65f1
GM
21562011-11-22 Glenn Morris <rgm@gnu.org>
2157
2158 * mail/rmailmm.el (test-rmail-mime-handler)
2159 (test-rmail-mime-bulk-handler)
2160 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
2161
f2a0aa3a
JL
21622011-11-21 Juri Linkov <juri@jurta.org>
2163
1154d12e
JB
2164 * calc/calc.el (calc-read-key-sequence):
2165 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 2166
9c34a344
LMI
21672011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2168
2169 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
2170 Tell the caller that the next line needs recomputation, even
2171 though it doesn't start a sexp (bug#10094).
2172
f04a3be9
SM
21732011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2174
2175 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2176
7978747f
SM
21772011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2178
f04a3be9
SM
2179 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2180 Use force-same-window.
7978747f 2181
fe7a3057
JB
21822011-11-20 Juanma Barranquero <lekktu@gmail.com>
2183
2184 * descr-text.el (describe-char-unicode-data):
2185 * json.el (json-string-escape):
2186 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
2187 (Footnote-unicode, Footnote-style-p):
2188 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
2189
24901d61
CY
21902011-11-20 Chong Yidong <cyd@gnu.org>
2191
2192 * window.el (replace-buffer-in-windows): Restore interactive spec.
2193
bac7ff22
SM
21942011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2195
24f3d7b9
SM
2196 * electric.el (electric-indent-mode): Fix last change (too optimistic).
2197
bac7ff22
SM
2198 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
2199 (byte-compile-global-not-obsolete-vars): New var.
2200 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
2201 Use it.
2202 (byte-compile-warn-obsolete): Align text with the one in *Help*.
2203
cd1181db
JB
22042011-11-20 Juanma Barranquero <lekktu@gmail.com>
2205
2206 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
2207 * progmodes/pascal.el (electric-pascal-equal):
2208 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
2209 * xml.el (xml-substitute-special): Fix typos.
2210
7fb18e9e
GM
22112011-11-20 Glenn Morris <rgm@gnu.org>
2212
2213 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
2214 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
2215 Doc fixes.
2216 (rmail-decode-mime-charset): Mark as obsolete.
2217
2218 * mail/rmailsum.el (rmail-message-regexp-p-1):
2219 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
2220 Before using mime functions, check they are set. (Bug#10077)
2221
d5a6b3ba
JL
22222011-11-19 Juri Linkov <juri@jurta.org>
2223
2224 * info.el (Info-finder-find-node): Use `package--builtins' instead
2225 of `package-alist'. Use node names formed by the pattern "Keyword "
2226 and the keyword name.
2227
e981b61f
AS
22282011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2229
1d00653d 2230 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 2231
3ffbc301
JL
22322011-11-19 Juri Linkov <juri@jurta.org>
2233
2234 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
2235 that calls `revert-buffer' on all Info buffers. (Bug#9915)
2236 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
2237 `old-history', `old-history-forward'. Add let-binding
2238 `window-selected'. Remove calls to `kill-buffer',
2239 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
2240 before calling `Info-find-node', so `Info-find-node-2' will reread
2241 the Info file. Restore window positions only when `window-selected'
2242 is non-nil.
2243
30c62133
JL
22442011-11-19 Juri Linkov <juri@jurta.org>
2245
2246 * isearch.el (isearch-lazy-highlight-new-loop):
2247 Remove condition `(not isearch-error)'. (Bug#9918)
2248
2249 * misearch.el (multi-isearch-search-fun): Add condition
2250 `(not bound)' to ignore lazy-highlighting search.
2251 Add the search-failed message "end of multi" when the end of
2252 multi-sequence is reached. Uncapitalize the search-failed
2253 message "Repeat for next buffer".
2254
2255 * info.el (Info-search): Add the search-failed message
2256 "end of the manual" when the end of the manual is reached
2257 in Isearch mode.
2258
645ca9cf
JL
22592011-11-19 Juri Linkov <juri@jurta.org>
2260
2261 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2262 Use non-destructive `remove' instead of `delete' because
2263 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2264 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2265
df754f66
JL
22662011-11-19 Juri Linkov <juri@jurta.org>
2267
2268 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2269 to nil instead of binding `search-ring' and `regexp-search-ring'.
2270 (Bug#9185)
2271
0e23d96a
EZ
22722011-11-19 Eli Zaretskii <eliz@gnu.org>
2273
2274 * simple.el (line-move): Force movement by logical lines for any
2275 hscrolled window, not only when auto-hscroll-mode is on.
2276 (line-move-visual): Update doc string to that effect. (Bug#10076)
2277
8a6ccb66
AS
22782011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2279
2280 * language/european.el (macintosh): Define as alias for mac-roman.
2281
49ae5b39
EZ
22822011-11-19 Eli Zaretskii <eliz@gnu.org>
2283
2284 * mail/rmailmm.el (rmail-mime-display-header)
2285 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2286 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2287 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2288 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2289 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2290 of a raw aref.
2291 (rmail-mime-entity-segment): To get past the tagline, move forward
2292 2 more lines, to account for the 2 empty lines that precede and
2293 follow the line with the buttons.
2294 (rmail-mime-update-tagline): Move one more line, to get past the
2295 empty line that follows the buttons in the tagline. (Bug#9520)
2296
c56cad4a
MR
22972011-11-19 Martin Rudalics <rudalics@gmx.at>
2298
2299 * window.el (window-max-delta-1, window-min-delta-1)
2300 (window-min-size-1, window-state-get-1, window-state-put-1)
2301 (window-state-put-2): Use "window--" prefix.
2302
cbe71af3
SM
23032011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2ad52c60
SM
2305 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2306 (smie-warning-count): New var.
2307 (smie-set-prec2tab): Use it.
2308 (smie-bnf->prec2): Improve warnings. Add docstring.
2309 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2310 (smie-bnf--set-class): New function.
2311 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2312 corner case.
2313
6944dbc1
SM
2314 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2315 (compilation-error-properties, compilation-move-to-column):
2316 Handle compilation-first-column while in the target buffer.
2317
c400c4d7
SM
2318 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2319 Don't hardcode point-min==1.
2320
6dbe3e96
SM
2321 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2322 (eshell-rewrite-for-command): Remove workaround.
2323 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2324 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2325 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2326
cbe71af3
SM
2327 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2328
a8e1496d
GM
23292011-11-17 Glenn Morris <rgm@gnu.org>
2330
2331 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2332 Ignore buffer-local generated-autoload-file if it is the same
2333 as the global value. (Bug#10049)
2334
df85d315
JB
23352011-11-17 Juanma Barranquero <lekktu@gmail.com>
2336
2337 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2338 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2339 (reftex-toc-previous-heading, reftex-toc-max-level)
2340 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2341 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2342 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2343 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2344 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2345 (reftex-toc-rename-label, reftex-toc-visit-location)
2346 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2347 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2348 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2349 leaving "*toc*" only for references to the buffer.
2350
a0c2d0ae
MR
23512011-11-17 Martin Rudalics <rudalics@gmx.at>
2352
2353 * window.el (window-resize, delete-window, split-window):
2354 Replace window-splits by window-combination-resize.
1d00653d 2355 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 2356
35c0bac8
GM
23572011-11-17 Glenn Morris <rgm@gnu.org>
2358
2359 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2360 Make bash entry derive from sh entry, not shell entry.
2361
d0c8fc8a
MA
23622011-11-16 Michael Albinus <michael.albinus@gmx.de>
2363
d0c8fc8a
MA
2364 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2365 properties of linked files. (Bug#9879)
2366
7262a87c
MA
2367 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2368 local file name.
2369
7877f373
JB
23702011-11-16 Juanma Barranquero <lekktu@gmail.com>
2371
2372 * menu-bar.el (menu-bar-file-menu):
2373 * printing.el (pr-ps-utility):
2374 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2375 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2376 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2377 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2378 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2379 (icalendar--convert-cyclic-to-ical)
2380 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2381 (icalendar--convert-ical-to-diary)
2382 (icalendar--convert-recurring-to-diary)
2383 (icalendar--convert-non-recurring-all-day-to-diary)
2384 (icalendar-import-format-sample):
2385 * progmodes/idlw-shell.el (idlwave-shell-mode):
2386 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2387 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2388 (vhdl-ps-print-init): Fix typos.
2389
10649b82
KM
23902011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2391
9d0cfcd6
GM
2392 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2393 FSF and collapse date sequence, obscure author/maintainer email address
2394 better, remove extra version line, track relocation of author's webpage.
10649b82 2395
9d0cfcd6
GM
2396 * progmodes/python.el (python-pdbtrack-input-prompt)
2397 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2398 regular python pdb prompts. Adjustments shamelessly taken exactly as
2399 suggested in EmacsWiki page (tiny change):
2400 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 2401
58179cce
JB
24022011-11-16 Juanma Barranquero <lekktu@gmail.com>
2403
2404 * expand.el (expand-pos, expand-index, expand-point):
2405 Remove redundant info from docstring.
2406 (expand-add-abbrevs): Doc fix.
2407 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2408 (expand-sample-perl-mode-expand-list): Fix typos.
2409
2410 * net/dbus.el (dbus-event-member-name):
2411 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2412 * term/pc-win.el (msdos-create-frame-with-faces):
2413 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2414
b6f67890
MR
24152011-11-16 Martin Rudalics <rudalics@gmx.at>
2416
2417 * window.el (split-window, window-state-get-1)
2418 (window-state-put-1, window-state-put-2): Rename occurrences of
2419 window-nest to window-combination-limit.
1d00653d 2420 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 2421
ce7ddba0
CY
24222011-11-16 Chong Yidong <cyd@gnu.org>
2423
2424 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2425 regexp (Bug#10033).
2426
3ae704f4
SM
24272011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2430 `completing-read' will remove *Completions* and will preserve
2431 current-buffer for us.
2432 (tmm-add-prompt): Users of *Completions* will always (re)set its
2433 major mode.
2434 (tmm-old-comp-map): Remove.
2435
6ad1cdde
GM
24362011-11-16 Glenn Morris <rgm@gnu.org>
2437
2438 * mail/rmailedit.el: Require rmailmm when compiling.
2439 (rmail-old-mime-state): New declaration.
2440 (rmail-edit-current-message): If editing a mime message,
2441 edit the "raw" message from the mbox buffer.
2442 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2443
d20faa20
GM
24442011-11-15 Glenn Morris <rgm@gnu.org>
2445
2446 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2447 which wasn't being used. Add optional arg to force given state.
2448 (rmail-mime): Add optional arg to force given state.
2449
c7015153
JB
24502011-11-15 Juanma Barranquero <lekktu@gmail.com>
2451
2452 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2453 * frame.el (display-mm-dimensions-alist):
2454 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2455 (outline-move-subtree-down):
2456 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2457 (newsticker--treeview-do-get-node):
2458 * net/quickurl.el (quickurl-list-buffer-name):
2459 * progmodes/dcl-mode.el (dcl-mode):
2460 * progmodes/gdb-mi.el (gdb-mapcar*):
2461 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2462
45261b50
GM
24632011-11-15 Glenn Morris <rgm@gnu.org>
2464
2465 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2466 in a boolean sense, so just make it a boolean, and fix the doc.
2467 (rmail-show-mime-function, rmail-mime-feature)
2468 (rmail-require-mime-maybe): Doc fixes.
2469 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2470
2471 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2472
0d26e0b6
JB
24732011-11-15 Juanma Barranquero <lekktu@gmail.com>
2474
2475 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2476 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2477 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2478 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2479
447f30f6
GM
24802011-11-15 Glenn Morris <rgm@gnu.org>
2481
672b871d
GM
2482 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2483 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2484 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2485 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2486 (rmail-mime, rmail-show-mime): Doc fixes.
2487
f6aa5bb1
GM
2488 * term/ns-win.el (mode-line-frame-identification):
2489 Leave it alone. (Bug#10051)
2490
947cd66b
GM
2491 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2492
447f30f6
GM
2493 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2494 Handle empty buffers. (Bug#9978)
2495
0b381c7e
JB
24962011-11-14 Juanma Barranquero <lekktu@gmail.com>
2497
2498 * international/mule.el (define-charset):
2499 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2500 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2501 * progmodes/verilog-mode.el (verilog-backward-token):
2502 * textmodes/ispell.el (lookup-words):
2503 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2504
71e027ac
GM
25052011-11-14 Glenn Morris <rgm@gnu.org>
2506
56632ce4
GM
2507 * progmodes/executable.el
2508 (executable-make-buffer-file-executable-if-script-p):
2509 Handle file-modes returning nil.
2510
40500957
GM
2511 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2512 message - not necessary, and causes problems. (Bug#9831)
2513
071c2340
GM
2514 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2515
d3cfca60
GM
2516 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2517
71e027ac
GM
2518 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2519 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2520 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2521
89d61221
MR
25222011-11-12 Martin Rudalics <rudalics@gmx.at>
2523
2524 * window.el (window-resize, delete-window): Use window-splits
2525 variable instead of function.
2526 (window-state-get-1, window-state-put-2, window-state-put):
2527 Don't deal with windows' splits status.
2528
98282f6f
GM
25292011-11-12 Glenn Morris <rgm@gnu.org>
2530
2531 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2532 (apropos-documentation): Doc fixes.
2533
40a8bdf6
JB
25342011-11-11 Juanma Barranquero <lekktu@gmail.com>
2535
2536 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2537 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2538
65bd19ff
SM
25392011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * electric.el (electric-indent-post-self-insert-function): Make it
2542 possible for a char to only indent in some circumstances.
2543 (electric-indent-mode): Simplify.
2544
54f9154c
MR
25452011-11-11 Martin Rudalics <rudalics@gmx.at>
2546
2547 * window.el (windows-with-parameter): Remove unused function.
2548 (windows-at-side): Rename to window-at-side-list.
2549 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
2550 (window-side-check, window-size-ignore, window-size-fixed-1)
2551 (window-in-direction-2): Prefix with "window--".
2552 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 2553
68cbc58b
GM
25542011-11-11 Glenn Morris <rgm@gnu.org>
2555
2556 * subr.el (eval-after-load): If FILE is already loaded,
2557 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2558
b2621720
GM
25592011-11-10 Glenn Morris <rgm@gnu.org>
2560
9a4de110
GM
2561 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2562 Call svn via vc-svn-command rather than vc-do-command.
2563 (vc-svn-command): Add --non-interactive. (Bug#9993)
2564 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2565
b2621720
GM
2566 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2567 Add toggle-read-only. (Bug#7292)
2568 * files.el (toggle-read-only): Mention that it should only
2569 be used interactively. (Bug#10006)
2570
1dce7193
SM
25712011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2572
d9ac1a1e
SM
2573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2574 Adjust regexp for OCaml warnings.
2575
0c325082
SM
2576 * electric.el (electric-pair-post-self-insert-function): Let user
2577 turn it off buffer-locally (bug#9932).
2578
90132c14
SM
2579 * progmodes/python.el (python-beginning-of-statement):
2580 Rewrite (bug#2703).
2581
1dce7193
SM
2582 * progmodes/compile.el: Better handle TABs (bug#9749).
2583 (compilation-internal-error-properties)
2584 (compilation-next-error-function): Obey the target buffer's
2585 compilation-error-screen-columns.
2586
c4e7c63a
JB
25872011-11-09 Juanma Barranquero <lekktu@gmail.com>
2588
2589 * progmodes/meta-mode.el: Remove obsolete comments.
2590 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2591 Fix typos in docstrings.
2592
2cffd681
MR
25932011-11-09 Martin Rudalics <rudalics@gmx.at>
2594
2595 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 2596 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
2597 (window--resizable): New function. Make all callers of
2598 window-resizable call window--resizable instead.
2599 (window-resizable): Rewrite in terms of window--resizable.
2600
0edcba87
GM
26012011-11-08 Glenn Morris <rgm@gnu.org>
2602
2603 * progmodes/delphi.el (delphi-mode-syntax-table):
2604 Let define-derived-mode define a proper syntax table. (Bug#9994)
2605
4b0d61e3
SM
26062011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * window.el: Stay away from defsubst.
2609 (window-list-no-nils): Remove.
2610 (window-state-get-1, window-state-get): Use backquote instead.
2611
cd394be1 26122011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 2613
4b0d61e3 2614 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 2615 Fix incorrect use of default argument in `completing-read'.
2616
e1c2c6f2
MR
26172011-11-08 Martin Rudalics <rudalics@gmx.at>
2618
2619 * window.el (display-buffer-function, special-display-function):
2620 Mention display-buffer-record-window but do not mention
2621 help-setup parameter in doc-strings.
b3f4a882 2622 (window-min-delta): Fix doc-string typo.
e1c2c6f2 2623
105216ed
CY
26242011-11-08 Chong Yidong <cyd@gnu.org>
2625
2626 * window.el (window-total-height, window-total-width): Doc fix.
2627 (window-body-size): Move from C.
2628 (window-body-height, window-body-width): Move to C.
2629
0a9f9ab5
SM
26302011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * window.el: Make special-display like display-buffer-alist (bug#9532).
2633 (display-buffer--special-action): New function, morphed
2634 from display-buffer--special.
2635 (display-buffer): Use it to handle special-display-buffers at higher
2636 priority (just after display-buffer-alist).
2637 (display-buffer-fallback-action, display-buffer--other-frame-action)
2638 (pop-to-buffer-same-window): Remove display-buffer--special.
2639
a769dd15
GM
26402011-11-07 Glenn Morris <rgm@gnu.org>
2641
2642 * calendar/cal-menu.el (cal-menu-set-date-title):
2643 Do nothing if not in a calendar. (Bug#9976)
2644
05a61ee3
SM
26452011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * files.el (find-file): Always use selected-window.
2648
be7f5545
MR
26492011-11-07 Martin Rudalics <rudalics@gmx.at>
2650
2651 * window.el (window-combinations): Make WINDOW argument
2652 mandatory. Rewrite doc-string.
2653 (walk-window-subtree, window-atom-check, window-min-delta)
2654 (window-max-delta, window--resize-this-window)
2655 (window--resize-root-window-vertically, window-tree)
2656 (balance-windows, window-state-put): Rewrite doc-strings as to
2657 not mention the term "subwindow".
2658 (window--resize-subwindows-skip-p): Rename to
2659 window--resize-child-windows-skip-p.
2660 (window--resize-subwindows-normal): Rename to
2661 window--resize-child-windows-normal.
2662 (window--resize-subwindows): Rename to
2663 window--resize-child-windows.
2664 (window-or-subwindow-p): Rename to window--in-subtree-p.
2665
3c6702ef
ML
26662011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2667
2668 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2669 Ensure that mbox format messages end in two newlines (Bug#9974).
2670
49745b39
CY
26712011-11-06 Chong Yidong <cyd@gnu.org>
2672
2673 * window.el (window-combination-p): Function deleted; its
2674 side-effect is not used in any existing code.
2675 (window-combinations, window-combined-p): Call window-*-child
2676 directly.
2677
24300f5f
CY
26782011-11-05 Chong Yidong <cyd@gnu.org>
2679
2680 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
2681 (window-size-ignore, window-state-get): Callers changed.
2682 (window-normalize-window): Rename from window-normalize-any-window.
2683 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 2684 (window-normalize-live-window): Delete.
447f16b8
CY
2685 (window-combination-p, window-combined-p, window-combinations)
2686 (walk-window-subtree, window-atom-root, window-min-size)
2687 (window-sizable, window-sizable-p, window-size-fixed-p)
2688 (window-min-delta, window-max-delta, window-resizable)
2689 (window-resizable-p, window-full-height-p, window-full-width-p)
2690 (window-current-scroll-bars, window-point-1, set-window-point-1)
2691 (window-at-side-p, window-in-direction, window-resize)
2692 (adjust-window-trailing-edge, maximize-window, minimize-window)
2693 (window-deletable-p, delete-window, delete-other-windows)
2694 (record-window-buffer, unrecord-window-buffer)
2695 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2696 (quit-window, split-window, window-state-put)
2697 (set-window-text-height, fit-window-to-buffer)
2698 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 2699
89bd5ee1
EZ
27002011-11-04 Eli Zaretskii <eliz@gnu.org>
2701
53479029
EZ
2702 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2703 rfc2047-decode-string.
2704 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2705 warnings.
2706
89bd5ee1
EZ
2707 * window.el (window-body-height, window-body-width): Mention in
2708 the doc string that the return values are in frame's canonical
2709 units. (Bug#9949)
2710
bd17fdee
AM
27112011-11-03 Alan Mackenzie <acm@muc.de>
2712
2713 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2714 change in cc-engine.el.
2715
acc825c5
SM
27162011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2719
1885e5b8
MR
27202011-11-02 Martin Rudalics <rudalics@gmx.at>
2721
2722 * window.el (quit-window): Call unrecord-window-buffer after
2723 showing another buffer in the window. (Bug#9937)
acc825c5 2724 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 2725
ebe06da9
JB
27262011-11-02 Juanma Barranquero <lekktu@gmail.com>
2727
2728 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2729 Accept status with more than 9 shelves. (Bug#9935)
2730 Reported by Colin D Bennett <colin@gibibit.com>.
2731
4ee88440
MR
27322011-11-01 Martin Rudalics <rudalics@gmx.at>
2733
2734 * help.el (with-help-window): Don't reference
2735 temp-buffer-show-specifiers in doc-string.
2736
08e1d82c
AS
27372011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2738
2739 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2740 menu-item.
2741
84bd6e9e
VJL
27422011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2743
2744 * whitespace.el: New version 13.2.2.
2745 (whitespace-newline-mode): Disable properly. Reported by Sarah
2746 <EmacsWiki>.
2747
dba0634a
UJ
27482011-10-30 Ulf Jasper <ulf.jasper@web.de>
2749
2750 * net/newst-treeview.el: Remove "Time-stamp".
2751 (newsticker--group-manage-orphan-feeds): Do not call
2752 newsticker--treeview-tree-update.
db22a3c2
JB
2753 (newsticker-treeview-update, newsticker-treeview):
2754 Call newsticker--treeview-tree-update if necessary.
dba0634a 2755
3d8daefe
MR
27562011-10-30 Martin Rudalics <rudalics@gmx.at>
2757
2758 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
2759 (window-iso-combinations): Remove "iso-" infix.
2760 Suggested by Chong Yidong.
3d8daefe
MR
2761 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2762 (window-max-delta-1, window-resize, window--resize-siblings)
2763 (window--resize-this-window, adjust-window-trailing-edge)
2764 (split-window, balance-windows-1)
2765 (shrink-window-if-larger-than-buffer):
2766 * calendar/calendar.el (calendar-generate-window):
db22a3c2 2767 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 2768
1bc4c3ae
SM
27692011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2772 in place (bug#9907).
2773 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2774 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2775 (eshell-structure-basic-command, eshell-rewrite-while-command)
2776 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2777 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2778 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2779 (eshell-do-pipelines-synchronously, eshell-eval-command):
2780 Use backquotes and prefer setq to set.
2781 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2782 (eshell-macrop): Use functionp.
c1e2f5fa 2783 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 2784
30b65d9c
CY
27852011-10-30 Chong Yidong <cyd@gnu.org>
2786
2787 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2788 instead of set-mark (Bug#9810).
2789
2d197ffb
CY
27902011-10-30 Chong Yidong <cyd@gnu.org>
2791
2792 * window.el (split-window-below, split-window-right): Rename from
2793 split-window-above-each-other and split-window-side-by-side
2794 respectively. All callers changed.
2795 (split-window-sensibly, split-window-sensibly): Use them.
2796 (split-window-keep-point): Doc fix.
2797
2798 * isearch.el: Add isearch-scroll property to split-window-below
2799 and split-window-right.
2800
2801 * follow.el (follow-mode):
2802 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2803 * progmodes/ada-xref.el (ada-gdb-application):
2804 * emulation/vip.el (vip-buffer-in-two-windows):
2805 * image-dired.el (image-dired-dired-with-window-configuration):
2806 * dired-x.el (dired-do-find-marked-files):
2807 * dired.el (dired-pop-to-buffer):
2808 * bs.el (bs--show-with-configuration):
2809 * vc/emerge.el (emerge-setup-windows):
2810 * textmodes/two-column.el (2C-two-columns):
2811 * textmodes/reftex-toc.el (reftex-toc):
2812 * progmodes/gdb-mi.el (gdb-setup-windows):
2813 * progmodes/fortran.el (fortran-window-create):
2814 * net/newst-treeview.el (newsticker--treeview-window-init):
2815 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2816 * emulation/tpu-edt.el (tpu-gold-map):
2817 * emulation/crisp.el (crisp-mode-map):
2818 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2819
38bb2ca8
CY
28202011-10-29 Chong Yidong <cyd@gnu.org>
2821
aa4de341
CY
2822 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2823
e1eb5385
CY
2824 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2825
5d2ece3c
CY
2826 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2827 forged Ispell output (Bug#7904).
2828
38bb2ca8
CY
2829 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2830
d0af9f77
SM
28312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * doc-view.el: Avoid ugly errors about not finding nil.
2834 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2835 (doc-view-dvipdf-program, doc-view-unoconv-program)
2836 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2837 Avoid nil or absolute file name as default value.
2838 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2839
52bedd34
AM
28402011-10-28 Alan Mackenzie <acm@muc.de>
2841
db22a3c2 2842 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 2843
7e43cfa5
AM
28442011-10-28 Alan Mackenzie <acm@muc.de>
2845
2846 Amend the handling of c-beginning/end-of-defun in nested declaration
2847 scopes.
2848
52bedd34
AM
2849 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2850 cc-langs.el. Change it to a defcustom.
7e43cfa5 2851
52bedd34
AM
2852 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2853 cc-vars.el.
7e43cfa5 2854
d0af9f77
SM
2855 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2856 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 2857
52bedd34 2858 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 2859 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
2860 (c-widen-to-enclosing-decl-scope): New function.
2861 (c-while-widening-to-decl-block): New macro.
2862 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2863 outward for defun boundaries, and correspondingly change symbol
2864 `respect-enclosure' to `go-outward'.
2865 (c-declaration-limits): Change algorithm to report only the "innermost"
2866 defun's boundaries.
2867
1a2ce9ee
DD
28682011-10-28 Deniz Dogan <deniz@dogan.se>
2869
2870 * net/rcirc.el (rcirc-mode): Use hard newlines.
2871
bc97a826
AM
28722011-10-28 Alan Mackenzie <acm@muc.de>
2873
2874 Amend to indent and fontify macros "which include their own semicolon"
2875 correctly, using the "virtual semicolon" mechanism.
2876
52bedd34 2877 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 2878
d0af9f77 2879 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 2880 Recode to scan one line at a time rather than having \n and \r
58179cce 2881 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 2882 (c-forward-label): Amend for virtual semicolons.
58179cce 2883 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 2884
52bedd34
AM
2885 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2886 of the new C macros.
bc97a826 2887
52bedd34 2888 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
2889 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2890 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
2891 (c-opt-cpp-macro-define): Make into a full language variable.
2892 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2893 AWK Mode (including \n, \r) removed, no longer needed.
2894
d0af9f77
SM
2895 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2896 Invoke c-make-macro-with-semi-re.
bc97a826 2897
52bedd34
AM
2898 * progmodes/cc-vars.el (c-macro-with-semi-re):
2899 (c-macro-names-with-semicolon): New variables.
58179cce 2900 (c-make-macro-with-semi-re): New function.
bc97a826 2901
7a6c0941
SM
29022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * vc/log-edit.el: Fill empty field rather than adding new one.
2905 (log-edit-add-field): New function.
2906 (log-edit-insert-changelog): Use it.
2907
b0c4cdcf
ML
29082011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2909
2910 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2911
ee1f1da9
SM
29122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2915 (gdb--check-interpreter): New function.
2916 (gdb): Use it.
2917
51bc5f8b
GM
29182011-10-27 Glenn Morris <rgm@gnu.org>
2919
416a2c45
GM
2920 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2921 (least-positive-float, least-negative-float)
2922 (least-positive-normalized-float, least-negative-normalized-float)
2923 (float-epsilon, float-negative-epsilon):
2924 Remove unnecessary declarations.
2925
2926 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2927 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2928 (least-positive-float, least-negative-float)
2929 (least-positive-normalized-float, least-negative-normalized-float)
2930 (float-epsilon, float-negative-epsilon): Add doc-strings,
2931 based on those in cl.texi.
2932
51bc5f8b
GM
2933 * files.el (set-visited-file-name): If the major-mode changed,
2934 reload the local variables. (Bug#9796)
2935
15de15c6
CY
29362011-10-27 Chong Yidong <cyd@gnu.org>
2937
2938 * subr.el (change-major-mode-after-body-hook): New hook.
2939 (run-mode-hooks): Run it.
2940
ee1f1da9
SM
2941 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2942 Use change-major-mode-before-body-hook.
15de15c6
CY
2943
2944 * simple.el (fundamental-mode):
2945 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2946 change introducing fundamental-mode-hook.
2947
5430d399
JB
29482011-10-26 Juanma Barranquero <lekktu@gmail.com>
2949
acc825c5 2950 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 2951
ad74a69e
MA
29522011-10-26 Michael Albinus <michael.albinus@gmx.de>
2953
2954 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 2955 tramp.el explicitly. (Bug#7583)
ad74a69e 2956
71d4c2a5
SM
29572011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * progmodes/octave-mod.el:
2960 * progmodes/octave-inf.el: Update maintainer.
2961
b1f6fa26
CY
29622011-10-26 Chong Yidong <cyd@gnu.org>
2963
2964 * subr.el (with-wrapper-hook): Rewrite doc.
2965
3f04efd6
MA
29662011-10-25 Michael Albinus <michael.albinus@gmx.de>
2967
2968 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 2969 filenames "/method:foo:". (Bug#9793)
3f04efd6 2970
410488d3
SM
29712011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2974 (bug#9865).
2975
c1ebb47e
GM
29762011-10-24 Glenn Morris <rgm@gnu.org>
2977
2978 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2979
7f5c46c7
MA
29802011-10-24 Michael Albinus <michael.albinus@gmx.de>
2981
2982 * notifications.el: Add the requirement of a running D-Bus session
2983 bus to the Commentary.
2984
db2440b6
JL
29852011-10-24 Juri Linkov <juri@jurta.org>
2986
2987 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2988 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2989 (Bug#9364)
2990
feecf435
JL
29912011-10-24 Juri Linkov <juri@jurta.org>
2992
2993 * info.el (Info-following-node-name-re): Add newline to the list
2994 of allowed characters for leading space. (Bug#9824)
2995
a3839de2
SM
29962011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2997
acc825c5
SM
2998 * progmodes/octave-inf.el (inferior-octave-mode-map):
2999 Fix C-c C-h binding.
a3839de2
SM
3000 * progmodes/octave-mod.el (octave-help): Remove.
3001
09388e76
MA
30022011-10-23 Michael Albinus <michael.albinus@gmx.de>
3003
3004 Sync with Tramp 2.2.3.
3005
3006 * net/tramp-cache.el (top): Pacify byte-compiler using
3007 `init-file-user' and `site-run-file'.
3008
3009 * net/trampver.el: Update release number.
3010
86c60681
CY
30112011-10-23 Chong Yidong <cyd@gnu.org>
3012
3013 * files.el (toggle-read-only): Remove obsolete comment about
3014 version control.
3015
3016 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
3017 for toggle-read-only. Note that this hasn't called vc-next-action
3018 since 2008-05-02, though it wasn't documented at the time.
3019
a3839de2
SM
3020 * vc/ediff-init.el (ediff-toggle-read-only-function):
3021 Use toggle-read-only.
86c60681 3022
cd5495ff
AM
30232011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
3024
3025 Fix bug #9560, sporadic wrong indentation; improve instrumentation
3026 of c-parse-state.
3027
00b77525 3028 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 3029 correct faulty logical expression.
cd5495ff
AM
3030 (c-parse-state-state, c-record-parse-state-state):
3031 (c-replay-parse-state-state): New defvar/defuns.
3032 (c-debug-parse-state): Use new functions.
3033
42ee24ed
MR
30342011-10-22 Martin Rudalics <rudalics@gmx.at>
3035
3036 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 3037 last fix. Use window-in-direction correctly.
42ee24ed 3038
a7dee7e7
CY
30392011-10-21 Chong Yidong <cyd@gnu.org>
3040
3041 * progmodes/idlwave.el (idlwave-mode):
3042 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
3043 require-final-newline; that's done in prog-mode.
3044 Suggested by Stefan Monnier.
a7dee7e7 3045
e07b9a6d
MR
30462011-10-21 Martin Rudalics <rudalics@gmx.at>
3047
3048 * mouse.el (mouse-drag-window-above)
3049 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
3050 (mouse-drag-mode-line-1, mouse-drag-header-line)
3051 (mouse-drag-vertical-line-rightward-window): Remove.
3052 (mouse-drag-line): New function.
3053 (mouse-drag-mode-line, mouse-drag-header-line)
3054 (mouse-drag-vertical-line): Call mouse-drag-line.
3055 * window.el (window-at-side-p, windows-at-side): New functions.
3056
7e1361d9
UM
30572011-10-21 Ulrich Mueller <ulm@gentoo.org>
3058
3059 * tar-mode.el (tar-grind-file-mode):
3060 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
3061
30fcaf3a
CY
30622011-10-21 Chong Yidong <cyd@gnu.org>
3063
3064 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
3065 * progmodes/vera-mode.el (vera-mode):
3066 Use mode-require-final-newline.
30fcaf3a 3067
516eddb0
GM
30682011-10-20 Glenn Morris <rgm@gnu.org>
3069
db22a3c2 3070 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 3071
10d5f513
CS
30722011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
3073
3074 * emulation/cua-base.el (cua-set-mark): Fix case of string.
3075
ac6c8639
CY
30762011-10-20 Chong Yidong <cyd@gnu.org>
3077
3078 * emulation/cua-base.el (cua-mode):
3079 * mail/footnote.el (footnote-mode):
3080 * mail/mailabbrev.el (mail-abbrevs-mode):
3081 * net/xesam.el (xesam-minor-mode):
3082 * progmodes/bug-reference.el (bug-reference-mode):
3083 * progmodes/cap-words.el (capitalized-words-mode):
3084 * progmodes/compile.el (compilation-minor-mode)
3085 (compilation-shell-minor-mode):
3086 * progmodes/gud.el (gud-tooltip-mode):
3087 * progmodes/hideif.el (hide-ifdef-mode):
3088 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
3089 * progmodes/subword.el (subword-mode):
3090 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
3091 * progmodes/which-func.el (which-function-mode):
3092 * term/tvi970.el (tvi970-set-keypad-mode):
3093 * term/vt100.el (vt100-wide-mode):
3094 * textmodes/flyspell.el (flyspell-mode):
3095 * textmodes/ispell.el (ispell-minor-mode):
3096 * textmodes/nroff-mode.el (nroff-electric-mode):
3097 * textmodes/paragraphs.el (use-hard-newlines):
3098 * textmodes/refill.el (refill-mode):
3099 * textmodes/reftex.el (reftex-mode):
3100 * textmodes/rst.el (rst-minor-mode):
3101 * textmodes/sgml-mode.el (html-autoview-mode)
3102 (sgml-electric-tag-pair-mode):
3103 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
3104 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
3105 * emulation/crisp.el (crisp-mode):
3106 * emacs-lisp/eldoc.el (eldoc-mode):
3107 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
3108 minor mode behavior.
3109
aa42ab43
JL
31102011-10-19 Juri Linkov <juri@jurta.org>
3111
3112 * descr-text.el (describe-char): Add #x2010 and #x2011 to
3113 the list of hard-coded chars with escape-glyph face.
3114
89400f1d
SM
31152011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
3118
305c07f6
MA
31192011-10-19 Michael Albinus <michael.albinus@gmx.de>
3120
3121 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
3122 running process.
3123
13754b54
GM
31242011-10-19 Glenn Morris <rgm@gnu.org>
3125
3126 * vc/vc-bzr.el (vc-bzr-after-dir-status):
3127 Ignore ignored files. (Bug#9726)
3128
06e21633
CY
31292011-10-19 Chong Yidong <cyd@gnu.org>
3130
3131 Doc fix for minor modes, stating that an omitted argument enables
3132 the mode unconditionally when called from Lisp.
3133
3134 * abbrev.el (abbrev-mode):
3135 * allout.el (allout-mode):
3136 * autoinsert.el (auto-insert-mode):
3137 * autoarg.el (autoarg-mode, autoarg-kp-mode):
3138 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
3139 (global-auto-revert-mode):
3140 * battery.el (display-battery-mode):
3141 * composite.el (global-auto-composition-mode)
3142 (auto-composition-mode):
3143 * delsel.el (delete-selection-mode):
3144 * desktop.el (desktop-save-mode):
3145 * dired-x.el (dired-omit-mode):
3146 * dirtrack.el (dirtrack-mode):
3147 * doc-view.el (doc-view-minor-mode):
3148 * double.el (double-mode):
3149 * electric.el (electric-indent-mode, electric-pair-mode):
3150 * emacs-lock.el (emacs-lock-mode):
3151 * epa-hook.el (auto-encryption-mode):
3152 * follow.el (follow-mode):
3153 * font-core.el (font-lock-mode):
3154 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
3155 * help.el (temp-buffer-resize-mode):
3156 * hilit-chg.el (highlight-changes-mode)
3157 (highlight-changes-visible-mode):
3158 * hi-lock.el (hi-lock-mode):
3159 * hl-line.el (hl-line-mode, global-hl-line-mode):
3160 * icomplete.el (icomplete-mode):
3161 * ido.el (ido-everywhere):
3162 * image-file.el (auto-image-file-mode):
3163 * image-mode.el (image-minor-mode):
3164 * iswitchb.el (iswitchb-mode):
3165 * jka-cmpr-hook.el (auto-compression-mode):
3166 * linum.el (linum-mode):
3167 * longlines.el (longlines-mode):
3168 * master.el (master-mode):
3169 * mb-depth.el (minibuffer-depth-indicate-mode):
3170 * menu-bar.el (menu-bar-mode):
3171 * minibuf-eldef.el (minibuffer-electric-default-mode):
3172 * mouse-sel.el (mouse-sel-mode):
3173 * msb.el (msb-mode):
3174 * mwheel.el (mouse-wheel-mode):
3175 * outline.el (outline-minor-mode):
3176 * paren.el (show-paren-mode):
3177 * recentf.el (recentf-mode):
3178 * reveal.el (reveal-mode, global-reveal-mode):
3179 * rfn-eshadow.el (file-name-shadow-mode):
3180 * ruler-mode.el (ruler-mode):
3181 * savehist.el (savehist-mode):
3182 * scroll-all.el (scroll-all-mode):
3183 * scroll-bar.el (scroll-bar-mode):
3184 * server.el (server-mode):
3185 * shell.el (shell-dirtrack-mode):
3186 * simple.el (auto-fill-mode, transient-mark-mode)
3187 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
3188 (line-number-mode, column-number-mode, size-indication-mode)
3189 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
3190 * strokes.el (strokes-mode):
3191 * time.el (display-time-mode):
3192 * t-mouse.el (gpm-mouse-mode):
3193 * tool-bar.el (tool-bar-mode):
3194 * tooltip.el (tooltip-mode):
3195 * type-break.el (type-break-mode-line-message-mode)
3196 (type-break-query-mode):
3197 * view.el (view-mode):
3198 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3199 (global-whitespace-mode, global-whitespace-newline-mode):
3200 * xt-mouse.el (xterm-mouse-mode): Doc fix.
3201
a3839de2
SM
3202 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3203 Fix autogenerated docstring.
06e21633 3204
5214e501
JL
32052011-10-19 Juri Linkov <juri@jurta.org>
3206
3207 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
3208 by checking environment variables "DESKTOP_SESSION" and
3209 "XDG_CURRENT_DESKTOP". (Bug#9779)
3210
195f8db9
JL
32112011-10-19 Juri Linkov <juri@jurta.org>
3212
3213 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
3214 (browse-url-chromium-program, browse-url-chromium-arguments):
3215 New defcustoms.
3216 (browse-url-default-browser): Check for `browse-url-chromium' and
3217 call `browse-url-chromium-program'.
3218 (browse-url-chromium): New command. (Bug#9779)
3219
343a34ff
JB
32202011-10-18 Juanma Barranquero <lekktu@gmail.com>
3221
3222 * facemenu.el (list-colors-duplicates): On Windows, detect more
3223 duplicates by assuming that only colors matching "^System" are
3224 special "system colors". (Bug#9722)
3225
6978a151
SM
32262011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
3229 to distinguish the author from the committer.
3230
6a80b297
MA
32312011-10-18 Michael Albinus <michael.albinus@gmx.de>
3232
3233 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
3234
b31a5677
JK
32352011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
3236
3237 * international/mule.el (sgml-html-meta-auto-coding-function):
3238 Add support for detecting encoding in HTML5 specified only as
3239 <meta charset="UTF-8">. Implementation just makes http-equiv and
3240 content-type parts from HTML4 encoding string optional. (Bug#9716)
3241
80c6d77f
GM
32422011-10-18 Glenn Morris <rgm@gnu.org>
3243
3244 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
3245
08b0fee8
CY
32462011-10-18 Chong Yidong <cyd@gnu.org>
3247
3248 * faces.el (cursor): Doc fix.
3249
67e729a5
CY
32502011-10-17 Chong Yidong <cyd@gnu.org>
3251
3252 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3253
343a34ff 32542011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
3255
3256 * dirtrack.el (dirtrack): Support shell buffers with path
3257 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3258
0bc06380
TZ
32592011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3260
3261 * json.el: Bump version to 1.3 and note change in History.
3262 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3263
8b79f3e0
SM
32642011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3265
5a7c536b
SM
3266 * comint.el (comint-insert-input, comint-send-input)
3267 (comint-get-old-input-default, comint-backward-matching-input)
3268 (comint-next-prompt): Use nil instead of `input' for field property of
3269 past user input (bug#114).
3270
96a8a0df
SM
3271 * minibuffer.el (completion--replace): Inherit surrounding properties
3272 (bug#114).
3273 (minibuffer-complete-and-exit): Use it.
3274
8b79f3e0
SM
3275 * comint.el (comint--table-subvert): Quote the all-completions output
3276 (bug#9160).
3277
b8f7ff0d
MR
32782011-10-17 Martin Rudalics <rudalics@gmx.at>
3279
8b79f3e0 3280 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 3281
b8f7ff0d 3282 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 3283 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
3284 entries and separate them from frame entries.
3285
c235b555
GM
32862011-10-15 Glenn Morris <rgm@gnu.org>
3287
3288 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3289 Doc fixes.
3290
6bbfa6e1
CY
32912011-10-15 Chong Yidong <cyd@stupidchicken.com>
3292
8b79f3e0
SM
3293 * net/network-stream.el (network-stream-open-starttls):
3294 Improve detection of failure due to lack of TLS support.
ec5c990d 3295
6bbfa6e1
CY
3296 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3297 putting the input text in front and in bold.
3298
98488977
SM
32992011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3d1337be
SM
3301 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3302
ee0b45e4
SM
3303 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3304 empty buffer.
3305
98488977
SM
3306 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3307 unread-command-events rather than pushing yet-another event.
3308
186f4720
EZ
33092011-10-14 Eli Zaretskii <eliz@gnu.org>
3310
3311 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3312 the explanation of the possible choices. Make the options passed
3313 to completing-read shorter.
3314
8b7a997c
AM
33152011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3316
3317 * textmodes/flyspell.el (flyspell-large-region): Make sure
3318 extended character mode is used if defined (Bug#1339).
3319
12587bbb
EZ
33202011-10-13 Eli Zaretskii <eliz@gnu.org>
3321
3322 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
3323 character info for LRE, LRO, RLE, and RLO characters by appending
3324 an invisible PDF.
12587bbb 3325
bad41229
SM
33262011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3329 even in case of error; add debug spec; simplify data flow.
3330 (with-timeout-handler): Remove.
3331
28dbc92f
MA
33322011-10-12 Michael Albinus <michael.albinus@gmx.de>
3333
3334 Fix Bug#6019, Bug#9315.
3335
3336 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3337 complete `buffer-file-name', the local file name part could look
3338 remotely (for example on VMS).
3339
3340 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3341 `tramp-run-real-handler'.
3342 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3343 already quoted by '"'.
3344
3345 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3346 Let `file-name-handler-alist' be nil, the local file name part
3347 could look remotely (for example on VMS).
3348
e1b0b23a
SM
33492011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3352 from here...
3353 (flyspell-post-command-hook): ...to here.
3354
a120bde9
SM
33552011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3358 if not needed.
3359 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3360 using completion. Protect against "slow" callers.
3361 Remove the "message hack".
3362
7ce7717b
JL
33632011-10-11 Juri Linkov <juri@jurta.org>
3364
3365 * isearch.el (isearch-lazy-highlight-word): New variable.
3366 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3367 Use it. (Bug#9727)
3368
c02ee9d6
GM
33692011-10-11 Glenn Morris <rgm@gnu.org>
3370
3371 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3372 like f90-previous-statement does.
3373
93e616fd 33742011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3375
1f190e73 3376 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
3377 only in interactive use, to avoid error.
3378
af7b6078
SM
33792011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * minibuffer.el (completion-file-name-table): Fix last change,
3382 i.e. ignore normal errors but not the other ones.
3383
0563dae9
MR
33842011-10-10 Martin Rudalics <rudalics@gmx.at>
3385
3386 * window.el (special-display-buffer-names)
3387 (special-display-regexps): Remove some remnants of earlier
3388 changes from doc-strings.
366ca7f3
MR
3389 (quit-windows-on): New function.
3390
3391 * vc/vc.el (vc-revert, vc-rollback):
3392 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3393 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 3394 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 3395
49677495
MR
33962011-10-09 Martin Rudalics <rudalics@gmx.at>
3397
3398 * window.el (frame-auto-hide-function): Add version tag.
3399 (Bug#9699)
3400
56f2d1e1
MA
34012011-10-09 Michael Albinus <michael.albinus@gmx.de>
3402
3403 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3404 condition.
3405
112a6592
LL
34062011-10-09 Leo Liu <sdl.web@gmail.com>
3407
3408 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3409 (Bug#9701)
3410
0812589b
GM
34112011-10-08 Glenn Morris <rgm@gnu.org>
3412
3413 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3414 before the first code statement zero indent. (Bug#9690)
3415
b2b0776e
CY
34162011-10-08 Chong Yidong <cyd@stupidchicken.com>
3417
3418 * simple.el (count-words-region): Always count in the region.
3419 Report the number of lines and characters too.
3420 (count-words): New command, which counts in the buffer if the
3421 region is inactive, as count-words-region used to.
3422 (count-words--message): New function. Handle plurals.
3423 (count-lines-region): Make it an alias for count-words-region.
3424
3425 * bindings.el (esc-map): Replace count-lines-region with
3426 count-words-region.
3427
c557cd6b
MR
34282011-10-08 Martin Rudalics <rudalics@gmx.at>
3429
3430 * window.el (window--delete): Delete dedicated frame
3431 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 3432 (switch-to-buffer): Fix doc-string typo.
c557cd6b 3433
61a57ef4 34342011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3435
3a7d293b 3436 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 3437
c3833279
CY
34382011-10-07 Chong Yidong <cyd@stupidchicken.com>
3439
3440 * bindings.el ([M-left],[M-right]): Bind to left-word and
3441 right-word respectively.
3442
21ce8245
GM
34432011-10-07 Glenn Morris <rgm@gnu.org>
3444
3445 * cus-start.el (debug-on-quit): Fix custom type.
3446
6d823bb2
LMI
34472011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3448
0181e193
LMI
3449 * subr.el (define-key-after): Clarify that the function is not
3450 useful for non-menu keymaps.
3451
6d823bb2
LMI
3452 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3453
8e3459ce 34542011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3455
21ce8245 3456 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 3457 in current minibuffer (Fix bug with recursive minibuffers).
3458
a1c2d21e
CY
34592011-10-06 Chong Yidong <cyd@stupidchicken.com>
3460
3461 * progmodes/gdb-mi.el (gdb): Doc fix.
3462
5a4cf282
MR
34632011-10-05 Martin Rudalics <rudalics@gmx.at>
3464
3465 * window.el (frame-auto-hide-function): New option replacing
3466 frame-auto-delete. Suggested by Stefan Monnier.
3467 (window--delete): Call frame-auto-hide-function instead of
3468 investigating frame-auto-delete.
c96111ea
MR
3469 (window-point-1, set-window-point-1): New functions.
3470 (window-in-direction, record-window-buffer, window-state-get-1)
3471 (display-buffer-record-window): Use window-point-1 instead of
3472 window-point.
3473 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 3474
9854542e
SM
34752011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3478
8943cfb0
GM
34792011-10-05 Glenn Morris <rgm@gnu.org>
3480
3481 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3482 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3483
647ab967
LL
34842011-10-05 Leo Liu <sdl.web@gmail.com>
3485
3486 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3487 works with buffer object.
3488
3ddfbced
SM
34892011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * mpc.el (mpc-tool-bar-map): Add labels.
3492
bdfa5dd2
GM
34932011-10-04 Glenn Morris <rgm@gnu.org>
3494
3495 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3496
0e2070b5
MR
34972011-10-04 Martin Rudalics <rudalics@gmx.at>
3498
3499 * window.el (window--delete): New function.
3500 (frame-auto-delete): Resuscitate option.
3501 (bury-buffer, replace-buffer-in-windows)
3502 (quit-window): Rewrite using window--delete.
3503 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3504 Pass display-buffer-mark-dedicated to window--display-buffer-2
3505 (Bug#9639).
3506
3dc61a09
SM
35072011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3508
915a9b64
SM
3509 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3510 returns a list (bug#9554). Add remote file name completion.
3511 * comint.el (comint--table-subvert): Curry and get quote&unquote
3512 functions as arguments.
3513 (comint--complete-file-name-data): Adjust call accordingly.
3514 * pcomplete.el (pcomplete--table-subvert): Remove.
3515 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3516
3dc61a09
SM
3517 * minibuffer.el (completion-table-case-fold): Use currying.
3518 (completion--styles-type, completion--cycling-threshold-type):
3519 New constants.
3520 (completion-styles, completion-category-overrides)
3521 (completion-cycle-threshold): Use them.
3522 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3523 completion-table-case-fold.
3524
8ea0a993
SB
35252011-10-03 Stephen Berman <stephen.berman@gmx.net>
3526
3527 * minibuffer.el (completion-category-overrides): Fix type of styles
3528 and add more user friendly tags (bug#9660).
3529
8c24b7f6
SM
35302011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3533 (mule-input-method-string): New widget.
3534 (default-input-method, language-info-custom-alist): Use it.
3535
428fe61a
SM
35362011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3537
32c1fffd
SM
3538 * pcomplete.el: Require comint.
3539 (pcomplete--common-suffix): Remove.
3540 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3541 (pcomplete--table-subvert): Sync with comint--table-subvert.
3542 (pcomplete--entries): Use comint-completion-file-name-table.
3543 * comint.el (comint-unquote-filename): Simplify.
3544 (comint-completion-file-name-table): New function (bug#9616).
3545 (comint--complete-file-name-data): Use it.
3546
428fe61a
SM
3547 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3548 (pcmpl-gnu-tar-buffer): Remove.
3549 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
3550 around. Make sure pcomplete-suffix-list is only changed temporarily.
3551 Don't look inside the tar's file if it's too large.
428fe61a 3552
04c52e2f
CY
35532011-10-01 Chong Yidong <cyd@stupidchicken.com>
3554
ce3cefcc
CY
3555 * cus-edit.el (custom-mode-map):
3556 * epa.el (epa-key-list-mode-map):
3557 * man.el (Man-mode-map):
3558 * startup.el (splash-screen-keymap):
3559 * simple.el (special-mode-map): Use scroll-up-command and
3560 scroll-down-command.
3561
3562 * progmodes/idlw-help.el (idlwave-help-mode-map):
3563 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3564 * net/newst-plainview.el (newsticker-mode-map):
3565 * emulation/ws-mode.el (wordstar-mode-map):
3566 * emulation/vi.el (vi-com-map):
3567 * calc/calc-graph.el (calc-graph-show-dumb):
3568 * term/sun.el (terminal-init-sun):
3569 * term/ns-win.el (global-map):
3570 * progmodes/grep.el (grep-mode-map):
3571 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3572 * mail/rmail.el (rmail-mode-map):
3573 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3574
04c52e2f
CY
3575 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3576 custom-safe-themes as special.
3577
79adf8c8
JD
35782011-10-01 Julien Danjou <julien@danjou.info>
3579
3580 * notifications.el (notifications-notify): Fix docstring.
3581
63bd50d3
PS
35822011-10-01 Per Starbäck <per@starback.se>
3583
3584 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3585
199e4c7e
MR
35862011-09-30 Martin Rudalics <rudalics@gmx.at>
3587
3588 * startup.el (command-line-1): Fix last fix by inserting
3589 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 3590 (Bug#9605) and (Bug#9636)
199e4c7e 3591
fe5f08dd
EZ
35922011-09-29 Eli Zaretskii <eliz@gnu.org>
3593
3594 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3595 window is hscrolled, move by logical lines. (Bug#9607)
3596 (line-move-visual): Update the doc string to the above effect.
3597
b5516bbd
MR
35982011-09-29 Martin Rudalics <rudalics@gmx.at>
3599
ccee00c0
MR
3600 * window.el (display-buffer-record-window): When WINDOW is the
3601 selected window use `point' instead of `window-point'. (Bug#9626)
3602
b5516bbd
MR
3603 * startup.el (command-line-1): Use insert-before-markers when
3604 inserting initial-scratch-message. (Bug#9605)
ccee00c0 3605
b5516bbd
MR
3606 * help.el (help-window): Remove variable.
3607
52aa0014
GM
36082011-09-29 Glenn Morris <rgm@gnu.org>
3609
3610 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3611
df9a7357
JB
36122011-09-29 Juanma Barranquero <lekktu@gmail.com>
3613
3614 * descr-text.el (describe-char-categories): Accept category
3615 descriptions more than one line long.
3616
a8406c20
SM
36172011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3618
88d9610c
SM
3619 * simple.el (delete-trailing-whitespace): Fix last change.
3620
a5daf810
SM
3621 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3622 Don't confuse "y => 3" as the beginning of a `y' operation.
3623
a8406c20
SM
3624 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3625 object has more than 4 slots (bug#9613).
3626
a239d4e9
JB
36272011-09-28 Juanma Barranquero <lekktu@gmail.com>
3628
3629 * subr.el (with-output-to-temp-buffer):
3630 * net/quickurl.el (quickurl, quickurl-browse-url):
3631 Fix typos in docstrings.
3632
693fbdb6
EZ
36332011-09-27 Eli Zaretskii <eliz@gnu.org>
3634
3635 * minibuffer.el (completion-styles)
3636 (completion-category-overrides): Cross reference each other in doc
3637 strings.
3638
8b457e28
GM
36392011-09-27 Glenn Morris <rgm@gnu.org>
3640
3641 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3642 to split-string. (Bug#9606)
3643
85a16208
LMI
36442011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3645
3646 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3647 (bug#9615).
3648
502f9ebd
CY
36492011-09-27 Chong Yidong <cyd@stupidchicken.com>
3650
3651 * emacs-lisp/package.el (list-packages): Fix echo area message.
3652
7690bdea
LL
36532011-09-27 Leo Liu <sdl.web@gmail.com>
3654
3655 * ido.el (ido-read-internal): Accept cons cell HIST arg.
3656
e2ee6f30
MA
36572011-09-25 Michael Albinus <michael.albinus@gmx.de>
3658
3659 * net/dbus.el (dbus-unregister-object): Don't release services for
3660 registered signals. (Bug#9581)
3661
f3f98342
TZ
36622011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
3663
3664 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3665 function that picks between cfengine 2 and 3 support
3666 automatically. Update docs accordingly.
3667
dd7aa8dd
KH
36682011-09-22 Kenichi Handa <handa@m17n.org>
3669
3670 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3671 ZERO.
3672 (indian-itrans-v5-table-for-tamil): New variable.
3673 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3674
3f2b07f8
KM
36752011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
3676
3677 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3678 that's true if the current command involved collapsing of text.
3679 It's reset to false at the beginning of the next command.
3680 (allout-post-command-business): Move the cursor to the beginning
3681 of entry if the cursor is hidden and collapsing activity just
3682 happened.
3683
371d6a61
CY
36842011-09-24 Chong Yidong <cyd@stupidchicken.com>
3685
3686 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3687 tracking (Bug#9541).
3688
2ac2721a
UJ
36892011-09-24 Ulf Jasper <ulf.jasper@web.de>
3690
3691 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
3692 (newsticker-show-news): Automatically load html rendering package
3693 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3694 because w3m-fill-column is let-bound" and the error "Symbol's value
3695 as variable is void: w3m-fill-column".
2ac2721a 3696
fac7ae53
MA
36972011-09-24 Michael Albinus <michael.albinus@gmx.de>
3698
3699 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3700 Release services only if they are defined. (Bug#9581)
3701
e08b633b
RS
37022011-09-23 Richard Stallman <rms@gnu.org>
3703
e488d29c
RS
3704 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3705 distinguish start of paragraph from start of its text.
3706
19c38752
RS
3707 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3708
e08b633b
RS
3709 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3710 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3711 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3712
0a39f27e
AS
37132011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3714
3715 * international/mule-diag.el (mule-diag): Insert a newline after
3716 each fontset description.
3717
db4e950d
SM
37182011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * simple.el (delete-trailing-whitespace):
3721 Document last change; simplify.
3722
eca3f3ea
PW
37232011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3724
d68e189a
PW
3725 * simple.el (delete-trailing-whitespace): Also delete
3726 extra newlines at the end of the buffer.
3727
eca3f3ea
PW
3728 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3729 (picture-newline): Use forward-line so as to ignore fields.
3730
01c157cc
SM
37312011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * subr.el (with-wrapper-hook): Fix edebug spec.
3734
022de23e
LMI
37352011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3736
3737 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3738 (bug#4538).
3739
91683089
MA
37402011-09-23 Michael Albinus <michael.albinus@gmx.de>
3741
eca3f3ea
PW
3742 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3743 Fix nasty bug using wrong cached values.
91683089 3744
5bdd6fa4
AM
37452011-09-23 Alan Mackenzie <acm@muc.de>
3746
3747 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3748
97adfb97
CY
37492011-09-23 Chong Yidong <cyd@stupidchicken.com>
3750
3751 * window.el (pop-to-buffer): Ensure right window is selected if we
3752 chose another frame.
3753
d4ef2b50
EZ
37542011-09-22 Eli Zaretskii <eliz@gnu.org>
3755
3756 * simple.el (what-cursor-position): Use get-char-property-change
3757 and next-single-char-property-change, to be able to show display
3758 properties that come from overlays as well as text properties.
3759
72258fe5
CY
37602011-09-22 Chong Yidong <cyd@stupidchicken.com>
3761
3762 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3763
3764 * cmuscheme.el (run-scheme, switch-to-scheme):
3765 * cus-edit.el (customize-group, custom-buffer-create)
3766 (customize-browse):
3767 * info.el (info):
3768 * shell.el (shell):
3769 * mail/sendmail.el (mail):
3770 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3771
8f098516
RS
37722011-09-22 Richard Stallman <rms@gnu.org>
3773
3774 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3775 move back only to line beg, don't move back over blank lines.
3776
e74f1bb6
MA
37772011-09-22 Michael Albinus <michael.albinus@gmx.de>
3778
3779 * files.el (copy-directory): Set directory attributes only in case
3780 they could be retrieved from the source directory. (Bug#9565)
3781
bfeef8b6
DK
37822011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3783
3784 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3785 (hs-find-block-beginning, hs-hide-level-recursive):
3786 Ignore strings as well as comments. (Bug#9502)
3787
7e423bb8
AS
37882011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3789
3790 * progmodes/sql.el (sql-comint-postgres):
3791 Convert port number to a string. (Bug#9566)
3792
b4d72fcf
MR
37932011-09-22 Martin Rudalics <rudalics@gmx.at>
3794
3795 * window.el (quit-window): Undedicate window when switching to
3796 previous buffer. Reported by Thierry Volpiatto
3797 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
3798 (special-display-popup-frame): When popping up a new frame reset
3799 its previous buffers to nil. Simplify code.
b4d72fcf 3800
a7b88dc6
MA
38012011-09-21 Michael Albinus <michael.albinus@gmx.de>
3802
3803 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3804 and process filter, as done also in `shell-command'.
3805
cf4eacfd
MR
38062011-09-21 Martin Rudalics <rudalics@gmx.at>
3807
eca3f3ea 3808 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
3809 Call set-window-start with NOFORCE argument t.
3810 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
3811 (quit-window): Reword doc-string. Handle new format of
3812 quit-restore parameter. Don't delete window if it has a
3813 previous buffer we can show instead of the present one.
3814 (display-buffer-record-window): Rewrite using a new format for
3815 the quit-restore window parameter
3816 (special-display-popup-frame, display-buffer-same-window)
3817 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3818 (display-buffer-pop-up-window, display-buffer-use-some-window):
3819 Adapt symbol passed to display-buffer-record-window.
3820 * help.el (help-window-setup): Handle new format of quit-restore
3821 parameter.
3822
8d28cb95
SM
38232011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3824
94ab793f
SM
3825 * faces.el (face-list): Fix docstring (bug#9564).
3826
8d28cb95
SM
3827 * window.el (display-buffer--action-function-custom-type):
3828 Don't include internal functions in the Custom interface.
3829
3820edeb
JL
38302011-09-20 Juri Linkov <juri@jurta.org>
3831
3832 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3833 (Info-forward-node, Info-backward-node, Info-next-preorder)
3834 (Info-last-preorder): Use it. (Bug#9528)
3835
5147931d
JL
38362011-09-20 Juri Linkov <juri@jurta.org>
3837
3838 * info.el (Info-last-preorder): Visit last menu item only when
3839 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3840
cf499a1a
JD
38412011-09-20 Julien Danjou <julien@danjou.info>
3842
3843 * password-cache.el (password-cache-remove): Remove entries even if the
3844 value is nil, so that password with a nil value (negative caching) is
3845 possible to invalidate.
3846
f84e2fe2
LM
38472011-09-20 Lawrence Mitchell <wence@gmx.li>
3848
3849 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3850 all whitespace around breakpoint. (Bug#9553)
3851 (f90-find-breakpoint): Only break at whitespace inside a comment.
3852
78054a46
SM
38532011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * minibuffer.el (completion-file-name-table): Keep track of errors.
3856 (completion-table-with-predicate): Handle the case where pred1 is nil.
3857 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3858
345083b2
SM
38592011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3860
e24e27be
SM
3861 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3862 (debugger-return-value): Signal an error if the debugging context does
3863 not await any return value.
3864
345083b2
SM
3865 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3866 * image-mode.el (image-toggle-display-text)
3867 (image-toggle-display-image): Stay away from evil `intangible'.
3868
08d355e3
LL
38692011-09-19 Leo Liu <sdl.web@gmail.com>
3870
3871 * replace.el (occur-revert-arguments): Make it permanent-local.
3872 (occur-mode): Don't call font-lock-defontify.
3873
f01da43f
CY
38742011-09-19 Chong Yidong <cyd@stupidchicken.com>
3875
3876 * net/ldap.el (ldap-search-internal): Don't push empty search
3877 result (Bug#9508).
3878
b6072fa6
SM
38792011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3880
3881 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3882
443d6696
MA
38832011-09-19 Michael Albinus <michael.albinus@gmx.de>
3884
3885 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3886 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3887
7cc6e154
JL
38882011-09-18 Juri Linkov <juri@jurta.org>
3889
3890 * buff-menu.el (Buffer-menu-mode-map):
3891 * dired.el (dired-mode-map):
3892 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3893 (lisp-interaction-mode-map):
3894 * emacs-lisp/package.el (package-menu-mode-map):
3895 * epa.el (epa-key-list-mode-map):
3896 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3897 (menu-bar-options-menu):
3898 * outline.el (outline-mode-menu-bar-map):
3899 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3900 * vc/vc-dir.el (vc-dir-menu-map):
3901 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3902 Capitalize non-function content words in menu item strings.
3903
3904 * dired.el (dired-mode-map): Add menu item for
3905 `image-dired-dired-toggle-marked-thumbs'.
3906
80302a81
JL
39072011-09-18 Juri Linkov <juri@jurta.org>
3908
3909 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3910 to `isearch-case-fold-search' and restore its original value
3911 after the `isearch-mode' call.
3912
46c5cf66
JL
39132011-09-18 Juri Linkov <juri@jurta.org>
3914
3915 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3916 because `zgrep' returns 1 for successful matches (bug#9226).
3917
d18b513b
JL
39182011-09-18 Juri Linkov <juri@jurta.org>
3919
3920 * info.el (Info-extract-menu-node-name): Check the second match
3921 for empty string (second test-case of bug#9528).
3922 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3923 intermediate nodes to the history (first test-case of bug#9528).
3924
72753f87
JL
39252011-09-18 Juri Linkov <juri@jurta.org>
3926
3927 * info.el (Info-mode-syntax-table): New variable.
1154d12e 3928 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 3929
c9384295
JL
39302011-09-18 Juri Linkov <juri@jurta.org>
3931
1154d12e
JB
3932 * info.el (Info-file-supports-index-cookies):
3933 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3934 outputs one more line for long file names (bug#4142).
c9384295 3935
d473dce8
CY
39362011-09-18 Chong Yidong <cyd@stupidchicken.com>
3937
3938 * newcomment.el (comment-normalize-vars): If prompting for
3939 comment-start, set comment-start-skip too (Bug#8424).
3940
2176854d
JB
39412011-09-18 Johan Bockgård <bojohan@gnu.org>
3942
3943 * icomplete.el: Fix previous fix of Bug#5849.
3944 (icomplete-mode): Don't set completion-show-inline-help.
3945 (icomplete-minibuffer-setup): Set completion-show-inline-help
3946 locally during icompletion.
3947
3aace4e4
CY
39482011-09-18 Chong Yidong <cyd@stupidchicken.com>
3949
c940224f
CY
3950 * woman.el (woman2-process-escapes): Don't delete unrecognized
3951 escapes (Bug#7843).
3952
3aace4e4
CY
3953 * files.el (inhibit-first-line-modes-regexps): Add image files.
3954 (hack-local-variables-prop-line): Return nil for malformed
3955 prop-lines (Bug#9044).
3956
710dec63
MA
39572011-09-18 Michael Albinus <michael.albinus@gmx.de>
3958
3959 * net/tramp.el (top): Don't require 'shell.
3960 (tramp-methods): Fix docstring.
3961 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
3962 Return complete remote file name. Handle "smb" case.
3963 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
3964 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3965
3966 * net/tramp-compat.el (top): Require 'shell.
3967
3968 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3969 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3970 `tramp-current-host'.
3971 (tramp-get-remote-tmpdir): Remove.
3972
3973 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3974 `tramp-tmpdir' entries.
3975 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3976 (tramp-smb-handle-file-attributes): Ignore errors.
3977 (tramp-smb-wait-for-output): Check also for process end.
3978
5d5ac8ec
LMI
39792011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3980
3981 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3982 when sending QUIT (bug#9312).
3983
8c0f49f0
CY
39842011-09-17 Chong Yidong <cyd@stupidchicken.com>
3985
3986 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3987 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3988 occur-mode-display-occurrence.
3989 (occur-edit-mode): Add usage message.
3990 (occur-cease-edit): New command.
3991 (occur-after-change-function): Use text properties to find the
3992 position of the prefix text.
3993 (occur-engine): Set stickiness of prefix text properties.
3994
8f1383f7
GM
39952011-09-17 Glenn Morris <rgm@gnu.org>
3996
3997 * progmodes/etags.el (complete-tag):
3998 Fix call to completion-in-region. (Bug#9526)
3999
744ba0e3
JL
40002011-09-17 Juri Linkov <juri@jurta.org>
4001
4002 * textmodes/ispell.el (ispell-word): Add to the error message
4003 the word, ispell program name and current dictionary (bug#9121).
4004 (ispell-tex-arg-end): Capitalize "error" in the error message.
4005
d9bbf400
AS
40062011-09-17 Andreas Schwab <schwab@linux-m68k.org>
4007
4008 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
4009 check. (Bug#4251)
4010
8da11505
JL
40112011-09-17 Juri Linkov <juri@jurta.org>
4012
4013 * window.el (window-safe-min-height, window-safe-min-width):
4014 Fix typos (followup to bug#9522).
4015
a91adc7e
SJ
40162011-09-17 Sven Joachim <svenjoac@gmx.de>
4017
4018 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
4019
064f328a
EZ
40202011-09-16 Eli Zaretskii <eliz@gnu.org>
4021
4022 * simple.el (line-move): If goal-column is set, move by logical
4023 lines, not by display lines. (Bug#971)
4024 (next-line, previous-line, goal-column, line-move-visual): Doc fix
4025 to reflect the above change.
4026
e69df516
SM
40272011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 * image.el (imagemagick-register-types): Use regexp-opt.
4030
cbb0f9ab
CY
40312011-09-15 Chong Yidong <cyd@stupidchicken.com>
4032
4033 * window.el (display-buffer-base-action): Rename from
4034 display-buffer-default-action. Make default value empty.
4035 (display-buffer-overriding-action): Convert to defvar.
4036 (display-buffer-fallback-action): New var.
4037
25322144
CY
40382011-09-15 Chong Yidong <cyd@stupidchicken.com>
4039
4040 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
4041 declaration.
4042 (package--add-to-archive-contents): If there is a duplicate entry
4043 with an older version, remove it.
4044 (package-menu-mark-delete, package-menu-mark-install)
4045 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
4046 (package-menu-mark-obsolete-for-deletion):
4047 Use package-menu-get-status instead of a regexp search.
25322144
CY
4048 (package-menu-get-status): Use tabulated-list-entry.
4049 (package-menu-mark-upgrades): New command.
d770725a 4050 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
4051 (package-menu-execute): Do installation before deletion.
4052 (package-menu-refresh, package-menu-execute): Use derived-mode-p
4053 instead of checking major-mode.
4054 (package-menu--find-upgrades): New function.
4055
7520339c
LMI
40562011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4057
4058 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
4059 passwords in the log buffer.
65a046c4
LMI
4060 (smtpmail-process-filter): Update the process marker so that the
4061 "broken by peer" status message is inserted in the right place.
7520339c 4062
d3c30954
SM
40632011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4064
3fe48822
SM
4065 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
4066 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
4067 bibtex-completion-at-point-function.
4068 (bibtex-completion-at-point-function): Use them.
4069
1b8b3954
SM
4070 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
4071
d3c30954
SM
4072 * mpc.el (mpc-constraints-tag-lookup): New function.
4073 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
4074 also to browser "album|playlist".
4075
72779976
JL
40762011-09-14 Juri Linkov <juri@jurta.org>
4077
4078 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
4079 (isearch-edit-string): Use length of `isearch-string' when
4080 `isearch-fail-pos' returns nil.
4081 (isearch-message): Remove duplicate code and call
4082 `isearch-fail-pos' with arg `t'.
4083
a0bf2bcd
CY
40842011-09-14 Chong Yidong <cyd@stupidchicken.com>
4085
17bb0a2d
CY
4086 * replace.el (occur-mode-goto-occurrence): Don't force using other
4087 window (Bug#9499).
4088
a0bf2bcd
CY
4089 * dired-aux.el (dired-do-chmod): Don't provide initial input.
4090
f678e0b6
MR
40912011-09-14 Martin Rudalics <rudalics@gmx.at>
4092
4093 * window.el (display-buffer-window): Remove.
4094 (display-buffer-record-window): Use help-setup window parameter
4095 instead of variable display-buffer-window.
4096 (display-buffer-function, special-display-buffer-names)
4097 (special-display-function): Mention help-setup parameter instead
4098 of display-buffer-window in doc-string.
d3c30954
SM
4099 * help.el (help-window-setup): New argument help-window.
4100 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
4101 Reword some messages.
4102 (with-help-window): Pass window used for displaying the buffer
4103 to help-window-setup. Don't set display-buffer-window.
4104
8e39b2e8
GM
41052011-09-13 Glenn Morris <rgm@gnu.org>
4106
4107 * emacs-lisp/debug.el (debugger-make-xrefs):
4108 Preserve point. (Bug#9462)
4109
85e9c04b
CY
41102011-09-13 Chong Yidong <cyd@stupidchicken.com>
4111
4112 * window.el (window-deletable-p): Use next-frame.
4113
1b36ed6a
MR
41142011-09-13 Martin Rudalics <rudalics@gmx.at>
4115
4116 * window.el (window-auto-delete): Remove.
4117 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 4118 dedication and previous buffers.
1b36ed6a
MR
4119 (switch-to-prev-buffer): Don't delete window.
4120 (delete-windows-on): Delete a window's frame if and only if the
4121 window is dedicated.
4122 (replace-buffer-in-windows): Delete buffer's window or frame if
4123 and only if window is dedicated.
4124 (quit-window): Handle quit-restore as before last change.
4d61f28d 4125 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 4126
ef8ef9fb
CY
41272011-09-13 Chong Yidong <cyd@stupidchicken.com>
4128
4129 * window.el (window-deletable-p): Never delete the last frame on a
4130 given terminal.
4131
b2cba41e
GM
41322011-09-13 Glenn Morris <rgm@gnu.org>
4133
4134 * help.el (describe-key-briefly): Copy previous standard-output change.
4135
51553db6 41362011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
4137
4138 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
4139
b7556719
GM
41402011-09-13 Glenn Morris <rgm@gnu.org>
4141
4142 * emacs-lisp/lisp-mode.el (lisp-indent-function):
4143 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
4144
64b51947
CY
41452011-09-12 Chong Yidong <cyd@stupidchicken.com>
4146
4147 * dired-aux.el (dired-mark-read-string): Don't return default
4148 value on empty input (Bug#9361).
4149 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
4150 Omit initial minibuffer contents.
4151 (dired-do-chmod): Signal an error on empty input.
4152 (dired-mark-read-string): Don't return default on empty input.
4153
4154 * files.el (file-modes-symbolic-to-number): Doc fix.
4155
393a301e
SM
41562011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * international/mule-cmds.el (ucs-completions): Remove.
4159 (read-char-by-name): Use complete-with-action instead; add metadata.
4160
fa5660f9
CY
41612011-09-11 Chong Yidong <cyd@stupidchicken.com>
4162
4163 * window.el (display-buffer--action-function-custom-type)
4164 (display-buffer--action-custom-type): New vars.
4165 (display-buffer-alist, display-buffer-default-action)
4166 (display-buffer-overriding-action): Add defcustom types.
4167
4a592f66
CY
4168 * frame.el (delete-other-frames): Doc fix (Bug#276).
4169
73d56dbd
LMI
41702011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4171
4172 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
4173
37ac18a3
CY
41742011-09-11 Chong Yidong <cyd@stupidchicken.com>
4175
4176 Change modes that used same-window-* vars to use switch-to-buffer.
4177
4178 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
4179 Use switch-to-buffer.
4180
4181 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
4182 (customize-browse, custom-buffer-create-other-window):
4183 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
4184
4185 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
4186 (Info-prev, Info-up, Info-speedbar-goto-node)
4187 (info-display-manual): Use switch-to-buffer.
4188 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
4189
4190 * mail/sendmail.el (mail): Use switch-to-buffer.
4191 (mail-recover): Use switch-to-buffer-other-window.
4192
4193 * cmuscheme.el (run-scheme, switch-to-scheme):
4194 * ielm.el (ielm):
4195 * shell.el (shell):
4196 * net/rlogin.el (rlogin):
4197 * net/telnet.el (telnet, rsh):
4198 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
4199
10195bd6
AS
42002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4201
4202 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
4203
b322f63a
LMI
42042011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4205
39d7fed6
LMI
4206 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
4207 so don't mention it (bug#9301).
ba5a81f1 4208 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 4209
ee0e9f11
LMI
4210 * faces.el (face-spec-set-match-display): Make `(type graphic)'
4211 match `x', `w32' and `ns', like the manual says (bug#9029).
4212
0b1c89c1 4213 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
4214 (process-kill-buffer-query-function): Mention the buffer name in
4215 the query.
0b1c89c1 4216
77549ea8
LMI
4217 * image-mode.el (image-next-line): The line parameter is mandatory
4218 (bug#9258).
4219
803ef892
LMI
4220 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
4221 which can be useful (bug#9301).
4222
12980837
LMI
4223 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
4224
91054f8f
LMI
4225 * subr.el (match-string): Mention that the current buffer should
4226 be the same as the search was done in (bug#9282).
4227
b322f63a
LMI
4228 * facemenu.el: Disable the remove-* commands if the mark isn't
4229 active (bug#9162).
4230
3199b96f
CY
42312011-09-10 Chong Yidong <cyd@stupidchicken.com>
4232
4233 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
4234 of display-buffer.
4235 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
4236
4237 * replace.el (occur-mode-goto-occurrence)
4238 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
4239 and display-buffer.
4240
4241 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
4242 display-buffer.
4243
4244 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
4245 special-display and same-window variables.
4246 (mail-other-window): Use switch-to-buffer-other-window.
4247 (mail-other-frame): USe switch-to-buffer-other-frame.
4248
393a301e
SM
4249 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
4250 Use display-buffer-other-frame.
3199b96f
CY
4251 (gdb-display-gdb-buffer): Use pop-to-buffer.
4252
4253 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4254
4255 * progmodes/python.el: Don't set same-window-buffer-names.
4256
4257 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4258
4259 * window.el (display-buffer-alist): Add *Python*.
4260
8319e0bf
CY
42612011-09-10 Chong Yidong <cyd@stupidchicken.com>
4262
4263 * window.el (display-buffer-alist): Add entry for buffers
4264 previously handled same-window-*.
4265 (display-buffer-alist, display-buffer-default-action)
4266 (display-buffer-overriding-action): Mark as risky.
4267 (display-buffer-alist): Document action function changes.
4268 (display-buffer--same-window-action)
4269 (display-buffer--other-frame-action): New variables.
4270 (switch-to-buffer, display-buffer-other-frame): Use them.
4271 (display-buffer): Rename reuse-frame entry to reusable-frames.
4272 (display-buffer-reuse-selected-window): Function deleted.
4273 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4274 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4275 (display-buffer-special): New function.
4276 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4277 display-buffer-reuse-or-pop-window. Split off special-display
4278 part into display-buffer-special.
4279 (display-buffer-use-some-window): Don't perform any special
4280 pop-up-frames handling.
4281 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 4282 (display-buffer--maybe-same-window): Rename from
0d3ff375 4283 display-buffer-maybe-same-window.
8319e0bf 4284
919a69aa
CY
4285 * info.el: Don't set same-window-regexps.
4286 (info-setup): New function.
4287 (info-other-window, info): Call it.
4288
4289 * cus-edit.el: Don't set same-window-regexps.
4290 (customize-group): New argument.
4291 (customize-group-other-window): Use it.
4292 (customize-face, customize-face-other-window): Likewise.
4293 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4294
8319e0bf
CY
4295 * net/rlogin.el:
4296 * net/telnet.el:
4297 * progmodes/gud.el: Don't set same-window-regexps.
4298
4299 * cmuscheme.el:
4300 * ielm.el:
4301 * shell.el:
4302 * mail/sendmail.el:
4303 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4304
25173000
JL
43052011-09-10 Juri Linkov <juri@jurta.org>
4306
4307 * isearch.el (isearch-edit-string): Remove obsolete mention of
4308 `C-w' (`isearch-yank-word-or-char') from docstring.
4309 (isearch-query-replace): Fix typo in docstring (bug#9466).
4310
056e44ef
JL
43112011-09-10 Juri Linkov <juri@jurta.org>
4312
4313 * paren.el (show-paren-function): Don't show escaped parens.
4314 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4315
c3760c17
EZ
43162011-09-10 Eli Zaretskii <eliz@gnu.org>
4317
4318 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4319 (mm-default-file-encoding): Remove autoload forms, they are
4320 replaced with autoload cookies in mml.el and mm-encode.el.
4321 (mail-add-attachment): New command.
4322 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4323 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4324 the doc string.
4325 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4326
fece895e
RT
43272011-09-10 Reuben Thomas <rrt@sc3d.org>
4328
e69df516
SM
4329 * simple.el (count-words-region): Use buffer if there's no region
4330 (bug#9429).
fece895e 4331
5e68ce4a
JL
43322011-09-09 Juri Linkov <juri@jurta.org>
4333
4334 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4335 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4336 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4337
0a6b9622
AM
43382011-09-09 Alan Mackenzie <acm@muc.de>
4339
4340 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4341 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4342
14a29deb
EZ
43432011-09-09 Eli Zaretskii <eliz@gnu.org>
4344
4345 Fix for Savannah bug#9392.
4346 * simple.el (mail-encode-mml): New defvar.
4347
4348 * mail/rmail.el (mail-encode-mml): Add a defvar.
4349 (rmail-enable-mime-composing): Default to t.
4350 (rmail-forward): Use MIME method of forwarding only if both
4351 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4352 Set mail-encode-mml non-nil if the MIME method was used.
4353
4354 * mail/sendmail.el (mml-to-mime): Add autoload form.
4355 (mail-encode-mml): Add a defvar.
4356 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4357 to nil.
4358 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4359 message through mml-to-mime, and reset mail-encode-mml to nil.
4360
28c45130
GM
43612011-09-09 Glenn Morris <rgm@gnu.org>
4362
4363 * woman.el (woman-if-body): When processing an .el block,
4364 do not delete the next .el block as well. (Bug#9447)
69f4b618 4365 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 4366
9b1c252e
MR
43672011-09-08 Martin Rudalics <rudalics@gmx.at>
4368
4369 * window.el (window-deletable-p): Make sure window is live before
4370 invoking window-prev-buffers.
4371
567457e3
LL
43722011-09-08 Leo Liu <sdl.web@gmail.com>
4373
4374 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4375
97f05794
JL
43762011-09-08 Juri Linkov <juri@jurta.org>
4377
4378 * progmodes/compile.el (compilation-environment): Make it
4379 a defcustom (bug#8340).
4380
8b0874b5
MR
43812011-09-08 Martin Rudalics <rudalics@gmx.at>
4382
4383 * window.el (frame-auto-delete): Rename to window-auto-delete.
4384 Make it control auto-deletion of windows and/or frames.
4385 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 4386 for deleting window/frame. (Bug#9419)
8b0874b5
MR
4387 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4388 Rewrite handling of case when window/frame can be deleted.
4389 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 4390 argument t. (Bug#9456)
8b0874b5 4391
4feb6e73
CY
43922011-09-07 Chong Yidong <cyd@stupidchicken.com>
4393
4394 * help-mode.el (help-mode): Restore autoload.
4395
91ab9c13
JL
43962011-09-07 Juri Linkov <juri@jurta.org>
4397
4398 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4399 `compilation-environment'. Set buffer-local
4400 `compilation-environment' to `thisenv' later after (funcall mode).
4401 (Bug#8340)
4402
4403 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4404 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4405 instead of replacing its value. (Bug#8340)
4406
0527e251
JL
44072011-09-07 Juri Linkov <juri@jurta.org>
4408
4409 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4410 based on text properties put by `grep-filter' instead of matching
4411 escape sequences.
4412 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4413 to the value of `grep-error-screen-columns' (bug#9438).
4414
249f792c
JL
44152011-09-07 Juri Linkov <juri@jurta.org>
4416
4417 * simple.el (next-error-highlight, next-error-highlight-no-select):
4418 Doc fix (bug#9432).
4419
ff7271b9
OT
44202011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4421
4422 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4423 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4424
183fc730
LL
44252011-09-07 Leo Liu <sdl.web@gmail.com>
4426
4427 * net/rcirc.el (rcirc-mode): Conditionally initialize
4428 rcirc-input-ring.
4429
77694924
SM
44302011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * emacs-lisp/find-func.el (find-function-C-source): Only set
4433 find-function-C-source-directory after checking that we found a source
4434 file there (bug#9440).
4435
d809b8eb
AM
44362011-09-06 Alan Mackenzie <acm@muc.de>
4437
4438 * isearch.el (isearch-other-meta-char): Wherever a key list is
4439 unread, "unread" the prefix arg, too. This fixes bug #8901.
4440
453de99f
OG
44412011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4442
4443 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4444
90439906
JL
44452011-09-05 Juri Linkov <juri@jurta.org>
4446
4447 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4448
f62bd846
JL
44492011-09-05 Juri Linkov <juri@jurta.org>
4450
4451 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4452 keeping point where processing of grep matches begins, and
4453 continue to delete remaining escape sequences from the same point.
4454 (grep-filter): Make leading zero optional in "0?1;31m" because
4455 git-grep emits "\033[1;31m" escape sequences unlike expected
4456 "\033[01;31m" as GNU Grep does (bug#9408).
4457 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4458
045820ec
JL
44592011-09-05 Juri Linkov <juri@jurta.org>
4460
4461 * subr.el (y-or-n-p): Capitalize "yes".
4462
f5e29b9b
MA
44632011-09-04 Michael Albinus <michael.albinus@gmx.de>
4464
4465 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4466 `tramp-cache-unload-hook' where appropriate.
4467 (tramp-methods): Rename `tramp-remote-sh' to
4468 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4469 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4470
4471 * net/tramp-sh.el (top): Don't require 'shell.
4472 (tramp-methods): Add `tramp-remote-shell' and
4473 `tramp-remote-shell-args' entries.
4474 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4475 (tramp-sh-handle-shell-command): Remove.
4476 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4477 Use `tramp-remote-shell'.
4478
2784c434
CY
44792011-09-03 Chong Yidong <cyd@stupidchicken.com>
4480
393a301e 4481 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
4482 (sendmail-query-once): Save directly to send-mail-function.
4483 Update message-send-mail-function too.
4484
4485 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4486
464cdf56
CS
44872011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4488
4489 * progmodes/python.el (python-mode-map): Use correct function to
4490 start python interpreter from menu-bar (as reported by Geert
4491 Kloosterman).
4492 (inferior-python-mode-map): Fix typo.
393a301e 4493 (python-shell-map): Remove.
464cdf56 4494
d37e5c87
DD
44952011-09-03 Deniz Dogan <deniz@dogan.se>
4496
4497 * net/rcirc.el (rcirc-print): Simplify code for
4498 rcirc-scroll-show-maximum-output. There is no need to walk
4499 through all windows to find the right one.
4500
f3ada0ee
CS
45012011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4502
4503 * help.el (help-return-method): Doc fix.
4504
1f3c99ca
MR
45052011-09-03 Martin Rudalics <rudalics@gmx.at>
4506
4507 * window.el (window-deletable-p): Don't return a non-nil value
4508 when there's a buffer that was shown in the window before.
4509 (Bug#9419)
393a301e
SM
4510 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4511 Set window's previous buffers to nil.
1f3c99ca 4512
a3cf097f
EZ
45132011-09-03 Eli Zaretskii <eliz@gnu.org>
4514
4515 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4516 newline before and after the tag line, so it doesn't interfere
4517 with determining the paragraph direction of bidirectional text.
4518
3d03de90
LL
45192011-09-03 Leo Liu <sdl.web@gmail.com>
4520
4521 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4522
c3313451
CY
45232011-09-02 Chong Yidong <cyd@stupidchicken.com>
4524
393a301e 4525 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
4526 (pop-to-buffer): Change interactive spec. Pass second argument
4527 directly to display-buffer.
4528 (display-buffer): Fix interactive spec. Use functionp to
4529 distinguish between a function and a list of functions.
4530
4531 * abbrev.el (edit-abbrevs):
4532 * arc-mode.el (archive-extract):
4533 * autoinsert.el (auto-insert):
4534 * bookmark.el (bookmark-bmenu-list):
4535 * files.el (find-file):
4536 * view.el (view-buffer):
4537 * progmodes/compile.el (compilation-goto-locus):
4538 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4539
89894cd8
CY
45402011-09-02 Chong Yidong <cyd@stupidchicken.com>
4541
4542 * window.el (display-buffer-alist): Doc fix.
4543 (display-buffer): Add docstring. Don't treat
4544 display-buffer-default specially.
4545 (display-buffer-reuse-selected-window)
4546 (display-buffer-same-window, display-buffer-maybe-same-window)
4547 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4548 (display-buffer-pop-up-window)
4549 (display-buffer-reuse-or-pop-window)
4550 (display-buffer-use-some-window): New functions.
4551 (display-buffer-default-action): Use them.
393a301e 4552 (display-buffer-default): Delete.
89894cd8
CY
4553 (pop-to-buffer-1): Fix choice of actions.
4554
ae0bc9fb
SM
45552011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * minibuffer.el (completion--insert-strings): Don't get confused by
4558 completion entries that end with an LF char.
4559
e9d90883
EZ
45602011-09-01 Eli Zaretskii <eliz@gnu.org>
4561
4562 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4563
437014c8
CY
45642011-09-01 Chong Yidong <cyd@stupidchicken.com>
4565
4566 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
4567 (display-buffer-same-window, display-buffer-other-window):
4568 New functions.
437014c8
CY
4569 (pop-to-buffer-1): New function. Use the above.
4570 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 4571 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
4572
4573 * view.el (view-buffer-other-window, view-buffer-other-frame):
4574 Just use pop-to-buffer.
4575
a5e063d5
TV
45762011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4577
4578 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4579
793d32bb
WH
45802011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4581
4582 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4583
d65e4c15
RS
45842011-08-31 Richard Stallman <rms@gnu.org>
4585
4586 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4587 of the separation of rmail-view-buffer from rmail-buffer.
4588 If you say no to "replace original", the decrypt is in the
4589 view buffer. If you say yes, the decrypt goes into the
4590 rmail buffer also.
4591
f818cd2a
MR
45922011-08-31 Martin Rudalics <rudalics@gmx.at>
4593
4594 * window.el (display-buffer-window): Rewrite doc-string.
4595 (display-buffer-record-window): New function.
4596 (display-buffer-macro-specifiers)
4597 (display-buffer-even-window-sizes, display-buffer-set-height)
4598 (display-buffer-set-width, display-buffer-in-window)
4599 (display-buffer-reuse-window, display-buffer-split-specifiers)
4600 (display-buffer-side-specifiers, display-buffer-split-window-1)
4601 (display-buffer-split-window, display-buffer-split-atom-window)
4602 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4603 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4604 (display-buffer-other-window-means-other-frame)
4605 (display-buffer-normalize-special)
4606 (display-buffer-normalize-default)
4607 (display-buffer-normalize-argument)
4608 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4609 (display-buffer-normalize-specifiers, display-buffer-frame)
4610 (display-buffer-same-window, display-buffer-same-frame)
4611 (display-buffer-other-window)
4612 (display-buffer-same-frame-other-window)
4613 (display-buffer-other-frame, pop-to-buffer-same-window)
4614 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4615 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4616 (switch-to-buffer-same-frame)
4617 (switch-to-buffer-other-window-same-frame)
4618 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4619 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4620 (display-buffer-alist-set): Remove.
4621 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
4622 (special-display-regexps, special-display-function):
4623 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
4624 parameter.
4625 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4626 (special-display-frame-alist, special-display-popup-frame)
4627 (same-window-buffer-names, same-window-regexps, same-window-p)
4628 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4629 (split-window-preferred-function, split-height-threshold)
4630 (split-width-threshold, window-splittable-p)
4631 (split-window-sensibly, window--try-to-split-window)
4632 (window--frame-usable-p, even-window-heights)
4633 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
4634 (window--display-buffer-2, display-buffer-other-frame):
4635 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
4636 (display-buffer-default, display-buffer-assq-regexp): New functions.
4637 (display-buffer-alist): Rewrite doc-string.
4638 (display-buffer-default-action)
4639 (display-buffer-overriding-action): New variables.
4640 (display-buffer, switch-to-buffer): Rewrite.
4641 (pop-to-buffer): Restore Emacs 23 behavior but use
4642 window-normalize-buffer-to-display.
4643 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4644 Restore Emacs 23 behavior but use
4645 window-normalize-buffer-to-switch-to.
4646 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
4647 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4648 Rewrite using Emacs 23 options.
f818cd2a 4649
5bc3b51d
MA
46502011-08-31 Michael Albinus <michael.albinus@gmx.de>
4651
4652 * net/tramp.el (tramp-root-regexp): Remove.
4653 (tramp-completion-file-name-regexp-unified)
4654 (tramp-completion-file-name-regexp-separate)
4655 (tramp-completion-file-name-regexp-url): Don't use leading volume
4656 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
4657 (tramp-drop-volume-letter): Simplify definition.
4658 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 4659
b1a4f8e1
SM
46602011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4661
4662 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4663 (bug#9356).
4664
5664fa7b
RT
46652011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
4666
b1a4f8e1 4667 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 4668
9a45d6c3
JL
46692011-08-29 Juri Linkov <juri@jurta.org>
4670
4671 * isearch.el (isearch-done): Don't display message "Mark saved"
4672 when arg `edit' is non-nil to prevent its flicker in the echo area.
4673
fb87e0fb
CY
46742011-08-28 Chong Yidong <cyd@stupidchicken.com>
4675
4676 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4677 obsolete packages for deletion.
4678
09ac1c2a
CS
46792011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
4680
4681 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 4682 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
4683 view-mode from help-mode.
4684 (help-xref-override-view-map): Remove.
4685 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4686 view-mode is not used anymore.
4687
7a1ff57f
CY
46882011-08-28 Chong Yidong <cyd@stupidchicken.com>
4689
4690 * server.el (server-port): Doc fix.
4691
b9696605
CY
4692 * cus-theme.el (custom-theme-choose-mode): Inherit from
4693 special-mode (Bug#9124).
4694 (custom-theme-choose-mode-map): Add special-mode to parent.
4695
ef8cdf8c
AM
46962011-08-28 Alan Mackenzie <acm@muc.de>
4697
4698 * progmodes/cc-fonts.el
4699 (c-make-font-lock-BO-decl-search-function): New function.
4700 (c-basic-matchers-after - "Fontify the clauses after various
4701 keywords"): Extract the three keyword lists for the 3 erroneous
4702 constructs from the list of four, and use the new function above
4703 in place of an old one.
4704
27de4e20
DD
47052011-08-28 Deniz Dogan <deniz@dogan.se>
4706
4707 * net/rcirc.el (rcirc-insert-prev-input)
4708 (rcirc-insert-next-input): Remove unused argument.
4709
356a3681
SM
47102011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4713
3fc9b218
AM
47142011-08-27 Alan Mackenzie <acm@muc.de>
4715
4716 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4717 handle function pointer parameters properly.
4718
538a061c
MR
47192011-08-27 Martin Rudalics <rudalics@gmx.at>
4720
4721 * window.el (display-buffer-reuse-window): Fix case where
4722 selected window was reused with non-nil OTHER-WINDOW argument.
4723 (Bug#9381)
4724
35b1c40c
DD
47252011-08-27 Deniz Dogan <deniz@dogan.se>
4726
4727 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4728 oftc's NickServ messages.
4729
2f6a3e79
GM
47302011-08-27 Glenn Morris <rgm@gnu.org>
4731
4732 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4733
7254299e
CY
47342011-08-26 Chong Yidong <cyd@stupidchicken.com>
4735
4736 * emacs-lisp/package.el (package-install): Call package-initialize
4737 if called interactively.
4738
f8ccf167
LL
47392011-08-26 Leo Liu <sdl.web@gmail.com>
4740
4741 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4742
3e8cd5ce
JL
47432011-08-25 Juri Linkov <juri@jurta.org>
4744
4745 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4746 `search-whitespace-regexp' (bug#9364).
4747
93eb7113
JL
47482011-08-25 Juri Linkov <juri@jurta.org>
4749
4750 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4751 `regexp-search-ring' to their global values to protect from
4752 updating by `read-from-minibuffer' (bug#9185).
4753
f65d1611
JL
47542011-08-25 Juri Linkov <juri@jurta.org>
4755
4756 * textmodes/ispell.el (ispell-command-loop): Add newline
4757 at the end of the "Use option `i'..." line.
4758
f1cf7a31
JL
47592011-08-25 Juri Linkov <juri@jurta.org>
4760
4761 * battery.el (display-battery-mode): If `battery-status-function'
4762 or `battery-mode-line-format' is nil, display the message and set
4763 `display-battery-mode' to nil (bug#9363).
4764
0c95fcf7
EZ
47652011-08-25 Eli Zaretskii <eliz@gnu.org>
4766
4767 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4768 bidi-string-mark-left-to-right; they are unnecessary now.
4769
a2ebe600
DD
47702011-08-25 Deniz Dogan <deniz@dogan.se>
4771
4772 * net/quickurl.el: Documentation typo fixes.
4773
e4ed06f1
CY
47742011-08-25 Chong Yidong <cyd@stupidchicken.com>
4775
4776 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4777
e5f1c99e
GM
47782011-08-25 Glenn Morris <rgm@gnu.org>
4779
b2948976
GM
4780 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4781
e5f1c99e
GM
4782 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4783 (smtpmail-via-smtp): Handle nil response from smtp.
4784
f22f4808
JL
47852011-08-24 Juri Linkov <juri@jurta.org>
4786
4787 * proced.el (proced-marked): Inherit from `error' instead of
4788 `font-lock-warning-face'.
4789
4790 * ibuffer.el (ibuffer-marked-face): Change default face from
4791 `font-lock-warning-face' to `warning'.
4792 (ibuffer-deletion-face): Change default face from
4793 `font-lock-type-face' to `error'.
4794
4795 * battery.el (battery-update): Use the face `error' instead of
4796 `font-lock-warning-face' (bug#6117).
4797
6a93965e
JL
47982011-08-24 Juri Linkov <juri@jurta.org>
4799
4800 * faces.el (success): Change face color from "Green3" to
4801 "ForestGreen" on light background (bug#9353).
4802
1ed43b09
CY
48032011-08-24 Chong Yidong <cyd@stupidchicken.com>
4804
5664fa7b
RT
4805 * window.el (quit-window): Rename from quit-restore-window.
4806 Use same arglist as old quit-window.
1ed43b09
CY
4807 (frame-auto-delete): Doc fix.
4808
4809 * view.el (view-mode-exit): Use quit-window.
4810
11dcdbb2
JL
48112011-08-24 Juri Linkov <juri@jurta.org>
4812
4813 * isearch.el (isearch-ring-adjust1): Start visiting previous
4814 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4815 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4816 for empty search string (when the last search string is reused
4817 automatically) to adjust the isearch ring to the last element and
4818 prepare the correct index for further M-p commands (bug#9185).
4819
de62b4df
KH
48202011-08-24 Kenichi Handa <handa@m17n.org>
4821
4822 * international/ucs-normalize.el: If decomposition property of
4823 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4824 nil.
4825 (nfd, nfkd): Likewise.
4826
963b492b
SM
48272011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4830 from process filters aren't reliably transmitted to the surrounding
4831 accept-process-output.
4832 (mpc-proc-check): New function.
4833 (mpc-proc-sync): Use it (bug#8293)
4834
93b6b5e1
SM
48352011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4838 Add compatibility functions (bug#9313).
4839
bca633fb
EZ
48402011-08-23 Eli Zaretskii <eliz@gnu.org>
4841
b177498a
EZ
4842 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4843
6df6ae42 4844 * international/uni-bidi.el: Regenerate.
bca633fb 4845
0902a04e
KH
48462011-08-23 Kenichi Handa <handa@m17n.org>
4847
4848 * international/charprop.el:
4849 * international/uni-bidi.el:
4850 * international/uni-category.el:
4851 * international/uni-combining.el:
4852 * international/uni-comment.el:
4853 * international/uni-decimal.el:
4854 * international/uni-decomposition.el:
4855 * international/uni-digit.el:
4856 * international/uni-lowercase.el:
4857 * international/uni-mirrored.el:
4858 * international/uni-name.el:
4859 * international/uni-numeric.el:
4860 * international/uni-old-name.el:
4861 * international/uni-titlecase.el:
4862 * international/uni-uppercase.el: Regenerate.
4863
3bbf23bc
MR
48642011-08-23 Martin Rudalics <rudalics@gmx.at>
4865
4866 * help.el (help-window-setup): Fix message displayed when other
4867 window is reused. (Bug#9341)
4868
b3fd59bd
SM
48692011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4870
1802e444
SM
4871 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4872 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4873
b3fd59bd
SM
4874 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4875 Mark obsolete.
4876 * shell.el (shell-parse-pcomplete-arguments): New function.
4877 (shell-completion-vars): Use it instead (bug#9160).
4878
4eb61348
SM
48792011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4880
867cab74
SM
4881 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4882 strings and comments (bug#9333).
4883
4eb61348
SM
4884 * emacs-lisp/debug.el (debug-arglist): New function.
4885 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4886 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4887
262a1439
JL
48882011-08-22 Juri Linkov <juri@jurta.org>
4889
56ee679c
JL
4890 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4891 Revert regexp that highlights output switches to its old
4892 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4893
262a1439
JL
4894 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4895 to check for empty output (bug#9226).
4896
f13f86fb
CY
48972011-08-22 Chong Yidong <cyd@stupidchicken.com>
4898
4899 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4900 symbol-constituent as the default, as that stops font-lock from
4901 working properly (Bug#8843).
4902
c65c9622
LMI
49032011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4904
4905 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4906 `coding-system-for-*' around the process open call to avoid
4907 auth-source side effects.
e7f2c178 4908 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
4909 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4910 probe hangs.
c65c9622 4911
23a8a5ab
CY
49122011-08-21 Chong Yidong <cyd@stupidchicken.com>
4913
ff98b2dd
CY
4914 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4915
23a8a5ab
CY
4916 * emacs-lisp/find-func.el (find-function-noselect): New arg
4917 lisp-only.
4918
4919 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4920 signal an error for built-in functions (Bug#6664).
4921
f5e3c598
LMI
49222011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4923
4924 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4925 (smtpmail-try-auth-methods): Use it.
4926
a3f2468a
CY
49272011-08-21 Chong Yidong <cyd@stupidchicken.com>
4928
2c34e8da
CY
4929 * font-lock.el (font-lock-fontify-region)
4930 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4931 (font-lock-default-unfontify-buffer)
4932 (font-lock-default-fontify-region)
4933 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4934
b3fd59bd
SM
4935 * progmodes/compile.el (compilation-error-properties):
4936 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
4937 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4938 `ant' regexp.
ee31aabc 4939
a3f2468a
CY
4940 * net/browse-url.el (browse-url-firefox): Don't call
4941 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4942
8e999f70
GM
49432011-08-20 Glenn Morris <rgm@gnu.org>
4944
c21a496a
GM
4945 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4946
59ee0542
GM
4947 * tutorial.el (tutorial--default-keys): Update some default bindings.
4948
8e999f70
GM
4949 * files.el (hack-local-variables): Fully ignore case for "mode:".
4950
e3715033
AM
49512011-08-20 Alan Mackenzie <acm@muc.de>
4952
4953 Resolve invalid use of a regexp in regexp-opt.
4954
4d61f28d
JB
4955 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4956 detection for a java annotation.
e3715033 4957
4d61f28d 4958 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
4959 detection for a java annotation.
4960
4d61f28d
JB
4961 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4962 handling for java.
e3715033
AM
4963 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4964
04ed2e9c
CY
49652011-08-20 Chong Yidong <cyd@stupidchicken.com>
4966
4967 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4968 (Bug#9274).
4969
826cee64
AM
49702011-08-20 Alan Mackenzie <acm@muc.de>
4971
58179cce 4972 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
4973 such a construct. Mainly for when jit-lock etc. starts a chunk
4974 here.
4975
58179cce 4976 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 4977 variable.
58179cce 4978 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
4979 c-make-font-lock-search-function.
4980 (c-make-font-lock-search-function): Use the above function.
4981 (c-make-font-lock-context-search-function): New function.
4982 (c-cpp-matchers): Enhance the preprocessor expression case with
4983 the above function
4984 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4985 which takes an expression.
4986
4987 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4988
13009bd8
MR
49892011-08-20 Martin Rudalics <rudalics@gmx.at>
4990
4991 * window.el (display-buffer-reuse-window)
4992 (display-buffer-pop-up-window): Don't reuse or split a side
4993 window.
4994
9234ff7f
GM
49952011-08-19 Glenn Morris <rgm@gnu.org>
4996
4997 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 4998 Downcase "Mode:". (Bug#9331)
9234ff7f 4999
f635daa1
CY
50002011-08-18 Chong Yidong <cyd@stupidchicken.com>
5001
5002 * international/characters.el: Add L and R categories.
5003
5004 * subr.el (bidi-string-mark-left-to-right): Rename from
5005 string-mark-left-to-right. Use category search.
5006
5007 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
5008
bc987f8b
JL
50092011-08-18 Juri Linkov <juri@jurta.org>
5010
5011 * faces.el (error, warning, success): New faces with definitions
5012 copied from old default values of `font-lock-warning-face',
5013 `compilation-warning', `compilation-info' (bug#6117).
5014
5015 * font-lock.el (font-lock-warning-face): Inherit from `error'.
5016
5017 * progmodes/compile.el (compilation-error): Inherit from `error'.
5018 (compilation-warning): Inherit from `warning'.
5019 (compilation-info): Inherit from `success'.
5020
5021 * dired.el (dired-marked): Inherit from `warning'.
5022 (dired-flagged): Inherit from `error'.
5023
57173b96
LMI
50242011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5025
3e79eb87
LMI
5026 * mail/smtpmail.el (auth-source): Require to avoid problems with
5027 binding variables (bug#9298). Also clean up some unused
5028 autoloads.
5029
b3fd59bd
SM
5030 * net/network-stream.el (network-stream-open-starttls):
5031 Support using starttls.el without using gnutls-cli.
57173b96 5032
02b404de
JL
50332011-08-17 Juri Linkov <juri@jurta.org>
5034
5035 * progmodes/grep.el (rgrep): Handle the case when
5036 `grep-find-command' is a cons cell (bug#9278).
5037
8c9177f2
MR
50382011-08-17 Martin Rudalics <rudalics@gmx.at>
5039
5040 * window.el (display-buffer-pop-up-frame): Run frame creation
5041 function with BUFFER current (as special-display-popup-frame
5042 does). Reported by Drew Adams.
5043
3644a0ab
DU
50442011-08-17 Daiki Ueno <ueno@unixuser.org>
5045
5046 * epa-mail.el: Simplify GnuPG group expansion using
5047 epg-expand-group.
5048 (epa-mail-group-alist, epa-mail-group-modtime)
5049 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
5050 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
5051 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
5052 Remove.
5053
5e617bc2 50542011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
5055
5056 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
5057
9c4aeabf
AM
50582011-08-16 Alan Mackenzie <acm@muc.de>
5059
5060 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
5061 Correct, to avoid the inside of macros.
5062
3a99bf64
RS
50632011-08-16 Richard Stallman <rms@gnu.org>
5064
04963aa8
RS
5065 * epa-mail.el: Handle GnuPG group definitions.
5066 (epa-mail-group-alist, epa-mail-group-modtime)
5067 (epa-mail-gnupg-conf-file): New variables.
5068 (epa-mail-parse-groups, epa-mail-sync-groups)
5069 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
5070 (epa-mail-expand-recipients): New functions.
5071 (epa-mail-encrypt): Call epa-mail-expand-recipients.
5072
177549d0
RS
5073 * mail/rmail.el (rmail-epa-decrypt): New command.
5074
fe38beef
RS
5075 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
5076 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
5077 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
5078 (epa-decrypt-armor-in-region): Make error message clearer.
5079
934eacb9
SM
50802011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
5083 and "a2b" to "ab" for `prefix'.
5084
d024fb4e
CY
50852011-08-14 Chong Yidong <cyd@stupidchicken.com>
5086
5087 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
5088 filter groups.
de148fee
CY
5089 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
5090 Fourquet (Bug#8804).
d024fb4e 5091
62f1ca49
JB
50922011-08-12 Juanma Barranquero <lekktu@gmail.com>
5093
5094 * startup.el (argi): Declare as global variable (bug#9275).
5095
9ccaaa4b
CY
50962011-08-12 Chong Yidong <cyd@stupidchicken.com>
5097
5098 * subr.el (string-mark-left-to-right): Search the entire string
5099 for RTL script, not just the terminating character. Doc fix.
5100
a3dae87a
SM
51012011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5102
6cd18349
SM
5103 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
5104 New function.
5105 (js--regexp-literal, js-syntax-propertize-function): Remove.
5106 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
5107 (js-mode-map): Don't rebind electric keys.
5108 (js-insert-and-indent): Remove.
5109 (js-mode): Setup electric-layout and electric-indent instead.
5110
a3dae87a
SM
5111 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
5112
9d5cb631
DU
51132011-08-12 Daiki Ueno <ueno@unixuser.org>
5114
5115 * epa.el (epa-progress-callback-function): Fix the logic of
5116 displaying progress.
5117 * epa-file.el (epa-file-insert-file-contents): Make progress
5118 display more user-friendly.
5119 (epa-file-write-region): Ditto.
5120
3e26a4a2
CY
51212011-08-10 Chong Yidong <cyd@stupidchicken.com>
5122
5123 * subr.el (string-mark-left-to-right): New function.
5124
5125 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
5126 Use string-mark-left-to-right.
5127 (list-buffers-noselect): Caller changed.
5128
a3dae87a
SM
5129 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5130 Use string-mark-left-to-right.
3e26a4a2
CY
5131 (tabulated-list-print): Recenter after moving point.
5132
ac8cf6e6
JL
51332011-08-10 Juri Linkov <juri@jurta.org>
5134
5135 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
5136 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
5137 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
5138
8d96c9a4
CY
51392011-08-09 Chong Yidong <cyd@stupidchicken.com>
5140
5141 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
5142 (Bug#7554).
5143
7be1c708 51442011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
5145
5146 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
5147 character. (Bug#6594)
5148
37e11a63
CY
51492011-08-08 Chong Yidong <cyd@stupidchicken.com>
5150
839dde57
CY
5151 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
5152 (image-dired--with-db-file): New macro.
5153 (image-dired-write-tags, image-dired-remove-tag)
5154 (image-dired-create-gallery-lists, image-dired-write-comments)
5155 (image-dired-get-comment, image-dired-mark-tagged-files)
5156 (image-dired-list-tags, image-dired-gallery-generate): Use it.
5157 (image-dired-gallery-generate): Use insert-file-contents.
5158
37e11a63
CY
5159 * time.el (display-time-world-list, display-time-world-display):
5160 * time-stamp.el (time-stamp-string):
5161 * vc/add-log.el (add-change-log-entry): Use setenv instead of
5162 set-time-zone-rule (Bug#7337).
5163
0b4946c4
DU
51642011-08-08 Daiki Ueno <ueno@unixuser.org>
5165
5166 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
5167 (epg-error-to-string, epg-errors-to-string): New function.
5168 (epg-wait-for-completion): Reverse errors list.
5169 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
5170 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
5171 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
5172 (epg-sign-keys, epg-generate-key-from-file)
5173 (epg-generate-key-from-string): Format errors by using
5174 epg-errors-to-string (bug#9255).
5175 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
5176
75bfc667
JL
51772011-08-07 Juri Linkov <juri@jurta.org>
5178
5179 * faces.el (list-faces-display): Remove extra angle bracket
5180 from `help-mode-map'.
5181
5182 * info.el (Info-history-toc-nodes): Doc fix.
5183
5184 * longlines.el (longlines-mode): Doc fix.
5185
673e08bb
SM
51862011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5187
4640dd88
SM
5188 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
5189 of statements and in a few more cases (bug#9183).
5190
673e08bb
SM
5191 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
5192 New functions.
5193 (cl-transform-lambda): Use them (bug#9239).
5194
89b3f019
MR
51952011-08-05 Martin Rudalics <rudalics@gmx.at>
5196
5197 * window.el (display-buffer-same-window)
5198 (display-buffer-same-frame, display-buffer-other-window)
5199 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
5200 (pop-to-buffer-other-window)
5201 (pop-to-buffer-same-frame-other-window)
5202 (pop-to-buffer-other-frame): Make them defuns.
5203 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
5204
640c8776
SM
52052011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * subr.el (make-composed-keymap): Move from C. Change calling
5208 convention, and improve docstring to bring attention to a subtle point.
5209 * minibuffer.el (completing-read-default): Adjust accordingly.
5210
63648a95
MA
52112011-08-03 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5214 (tramp-open-shell): Use `tramp-shell-quote-argument'.
5215
5216 * net/trampver.el: Update release number.
5217
b796c9b7
SM
52182011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
5221 "in" (bug#9190).
5222
2239d7d5
LMI
52232011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5224
e07dd7c3
LMI
5225 * mail/sendmail.el (sendmail-query-once): Restore the current
5226 buffer after querying (bug#9074).
5227
0e6a2bd7
LMI
5228 * dired.el (dired-flagged): Use different faces for marked and
5229 flagged files (bug#6117).
5230
ce887515
LMI
5231 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
5232 (bug#4433).
5233
92f2affc
LMI
5234 * ido.el (ido-mode): Switch off the message if called
5235 non-interactively.
5236
57d5aff0
LMI
5237 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
5238 before 587, since it appears that that's more likely to work for
5239 more people.
5240
98cd6c18 5241 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 5242 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
5243 exist.
5244
b96dec83
LMI
5245 * info.el: Remove the `Info-beginning-of-buffer' function
5246 (bug#8325).
5247
b796c9b7
SM
5248 * net/network-stream.el (network-stream-open-starttls):
5249 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 5250
d90e2ea0
MR
52512011-08-01 Martin Rudalics <rudalics@gmx.at>
5252
5253 * window.el (display-buffer-in-window): Don't set dedicated status
5254 of window here (Bug#9215).
5255 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5256 (display-buffer-pop-up-side-window)
b796c9b7 5257 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 5258
cca09170
SM
52592011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5262 before binding generated-autoload-file.
5263
027b979c
DD
52642011-08-01 Deniz Dogan <deniz@dogan.se>
5265
5266 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5267
3c7ee4f3
MA
52682011-07-30 Michael Albinus <michael.albinus@gmx.de>
5269
5270 Sync with Tramp 2.2.2.
5271
5272 * net/trampver.el: Update release number.
5273
2cc8e51a
JL
52742011-07-30 Juri Linkov <juri@jurta.org>
5275
5276 * dired-aux.el (dired-touch-initial): Remove function.
5277 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5278 current time, and `default' to the last modification time of the
5279 current marked file (bug#6887).
5280
a514d856
JM
52812011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5282
5283 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 5284 numeric argument to read-number (bug#9163).
a514d856 5285
8a7eddd7
MA
52862011-07-27 Michael Albinus <michael.albinus@gmx.de>
5287
5288 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5289 connection process, it could be nil.
5290
1ddd96f5
LL
52912011-07-27 Leo Liu <sdl.web@gmail.com>
5292
5293 Simplify url handling in rcirc-mode.
5294
5295 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5296 (rcirc-browse-url-at-mouse): Remove.
5297 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5298
b248a85d
AM
52992011-07-26 Alan Mackenzie <acm@muc.de>
5300
5301 Fontify bitfield declarations properly.
5302
5303 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5304 (c-symbol-chars): Now exported as a lang variable.
5305 (c-not-primitive-type-keywords): New lang variable.
5306
5307 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5308 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 5309 parsed as a bitfield declaration.
b248a85d 5310
b796c9b7
SM
5311 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5312 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
5313 (c-punctuation-in): New function.
5314 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5315 declarations properly.
5316
68575ab0
UJ
53172011-07-26 Ulf Jasper <ulf.jasper@web.de>
5318
5319 * calendar/icalendar.el (icalendar--all-events): Take care of
5320 multiple vcalendars in a single file.
b796c9b7 5321 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 5322
0f0a88b9
DD
53232011-07-25 Deniz Dogan <deniz@dogan.se>
5324
5325 * image.el (insert-image): Clarifying docstring.
5326
0b3f36df
MA
53272011-07-24 Michael Albinus <michael.albinus@gmx.de>
5328
5329 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5330 `tramp-send-command-and-check' if there is no error.
5331 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5332
a9901f61
AM
53332011-07-22 Alan Mackenzie <acm@muc.de>
5334
5335 Prevent cc-langs.elc being loaded at run time.
5336
5337 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5338 cc-langs.
5339
4d61f28d 5340 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
5341 "(require 'cc-langs)". Quote a form so it will evaluate at
5342 (cc-mode's) compilation time.
5343
11d074b2
MA
53442011-07-22 Michael Albinus <michael.albinus@gmx.de>
5345
5346 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5347 loading. (Bug#9114)
5348
938b94c8
MR
53492011-07-21 Martin Rudalics <rudalics@gmx.at>
5350
5351 * window.el (display-buffer-pop-up-window)
5352 (display-buffer-pop-up-side-window)
5353 (display-buffer-in-side-window): Call display-buffer-set-height
5354 and display-buffer-set-width after setting the new window's
b796c9b7 5355 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 5356
bfa4f190
SS
53572011-07-20 Sam Steingold <sds@gnu.org>
5358
5359 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5360 (etags-tags-included-tables): Call `convert-standard-filename' on
5361 the file names contained in TAGS so that windows Emacs can handle
5362 TAGS files created by cygwin ctags.
5363
8ca42262
LMI
53642011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5365
5366 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5367 which apparently didn't work.
5368
5db2afd2 53692011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 5370
5db2afd2
RW
5371 * proced.el (proced-send-signal): For *Marked Processes* buffer
5372 put point at beginning of buffer.
5373
92e15d10
SB
53742011-07-19 Stephen Berman <stephen.berman@gmx.net>
5375
5376 * proced.el (proced-format): Make header lines align with the text
5377 (bug#1779).
5378
1bfd59e5
LMI
53792011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5380
5381 * view.el (view-buffer): Allow running in `special' modes if we're
5382 visiting a file (bug#8615).
5383
f5aae37c
MR
53842011-07-19 Martin Rudalics <rudalics@gmx.at>
5385
5386 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
5387 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5388 New functions.
f5aae37c
MR
5389 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5390 more accurately.
5391
bf2c1571
AM
53922011-07-18 Alan Mackenzie <acm@muc.de>
5393
5394 Fontify declarators properly when, e.g., a jit-lock chunk begins
5395 inside a declaration.
5396
5397 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5398
b796c9b7
SM
5399 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5400 New function.
bf2c1571
AM
5401 (c-complex-decl-matchers): Insert reference to
5402 c-font-lock-enclosing-decls.
5403
5404 * progmodes/cc-engine.el (c-backward-single-comment):
5405 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5406 to nil around calls to (forward-comment -1).
5407
4e190b80
LMI
54082011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5409
12dc863d
LMI
5410 * image.el (put-image): Doc typo fix.
5411
a762e966
LMI
5412 * progmodes/etags.el (tags-search): Doc typo fix.
5413
4e190b80
LMI
5414 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5415 password if we get errors 550 to 554.
5416
f019fb21
LMI
54172011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5418
b796c9b7 5419 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 5420
81746738
LMI
5421 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5422 indentation character (bug#6380).
5423
3ee3a1b5
LMI
5424 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5425
c82f64de
LMI
5426 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5427 to clarify what the problem is (bug#4291).
5428
f019fb21
LMI
5429 * simple.el (current-kill): Clarify what
5430 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
5431 (auto-fill-mode): Document `auto-fill-function' in relation to
5432 `auto-fill-mode' (bug#2470).
f019fb21 5433
0794775d
LM
54342011-07-16 Lawrence Mitchell <wence@gmx.li>
5435
5436 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5437 method if slot is read-only (bug#9035).
5438
be39b8cc
MR
54392011-07-16 Martin Rudalics <rudalics@gmx.at>
5440
b796c9b7 5441 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 5442 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
5443 selected before, see discussion of (Bug#8615), (Bug#6954).
5444 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 5445
6ccf7859
GM
54462011-07-15 Glenn Morris <rgm@gnu.org>
5447
5448 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 5449 Respect help-form.
6ccf7859 5450
87e86684
LM
54512011-07-09 Lawrence Mitchell <wence@gmx.li>
5452
5453 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5454 (gnutls-negotiate): Use it.
5455
d6066239
LMI
54562011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5457
b796c9b7
SM
5458 * net/gnutls.el (gnutls-negotiate):
5459 Upcase `gnutls-algorithm-priority'.
d6066239 5460
bd23ebc0
GM
54612011-07-15 Glenn Morris <rgm@gnu.org>
5462
c65bca65
GM
5463 * jka-compr.el (jka-compr-verbose): Move from here...
5464 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5465 Add missing :version tag.
5466 * info.el: No need to require jka-compr when compiling.
bd23ebc0 5467
478615cc
LMI
54682011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5469
7b41decb
LMI
5470 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5471 (gnutls-negotiate): Use it.
5472
dbc44fcd
LMI
5473 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5474
06789f97
LMI
5475 * info.el (Info-beginning-of-buffer): New command.
5476 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5477 announcing `b' as the key (bug#8325).
ab896c37 5478 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 5479
c39da690
LMI
5480 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5481
3aa5f34b
LMI
5482 * international/mule-cmds.el
5483 (describe-specified-language-support): Make the error message
5484 clearer (bug#8905).
5485
4bf0979f
LMI
5486 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5487
478615cc
LMI
5488 * isearch.el (isearch-barrier): Add a doc string, since it's
5489 mentioned in a function doc string (bug#8678).
5490
75c68aa1
MR
54912011-07-15 Martin Rudalics <rudalics@gmx.at>
5492
5493 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5494 buffer argument (Bug#9083) and self-identifying label argument.
5495
a7c33da2
GM
54962011-07-15 Glenn Morris <rgm@gnu.org>
5497
5498 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5499
2f5c6024
LMI
55002011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5501
5502 * man.el (Man-fontify-manpage): Fix message when formatting the
5503 man page (bug#7929).
5504
0bb23927 55052011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
5506
5507 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5508 argument LRM; if non-nil, append an invisible LRM character to the
5509 buffer name.
5510 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5511 last argument non-nil, when formatting buffer names.
0bb23927
EZ
5512 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5513 paragraph direction.
cce4b0a7 5514
621ef9ab
LMI
55152011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5516
d1583c48
LMI
5517 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5518 the man page name (bug#7929).
5519
6a57fb5f
LMI
5520 * image.el (put-image): Mention the `put-image' overlay property
5521 (bug#7834).
5522
d7956b14
LMI
5523 * scroll-bar.el (set-scroll-bar-mode): Mention that
5524 `scroll-bar-mode' lists the values (bug#7772).
5525
5b2d4a66
LMI
5526 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5527 command (bug#7729).
5528
7509a874
LMI
5529 * rect.el (apply-on-rectangle): Return the point after the last
5530 operation.
5531 (string-rectangle): Go to the point after the last operation
5532 (bug#7522).
5533
4fe74b19
LMI
5534 * printing.el (pr-toggle-region): Clarify the documentation
5535 slightly (bug#7493).
5536
b796c9b7
SM
5537 * time.el (display-time-update):
5538 Allow `display-time-mail-function' to return nil (bug#7158).
5539 Fix suggested by Detlev Zundel.
ab283561 5540
fc233c9d
LMI
5541 * vc/diff.el (diff): Clarify the order the file names are read
5542 (bug#7111).
5543
43f5740b
LMI
5544 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5545 the doc string (bug#7015).
5546
f2182a76
LMI
5547 * font-lock.el (font-lock-maximum-decoration): Mention what
5548 numeric levels mean (bug#6935).
5549
621ef9ab
LMI
5550 * startup.el (initial-buffer-choice): Don't mention the `none'
5551 selection, which is against policy.
5552
adc47434
MR
55532011-07-14 Martin Rudalics <rudalics@gmx.at>
5554
b796c9b7
SM
5555 * window.el (display-buffer-normalize-special):
5556 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 5557
7e5bfb8f
EZ
55582011-07-14 Eli Zaretskii <eliz@gnu.org>
5559
5560 * subr.el (version<, version<=, version=): Mention "-CVS" and
5561 "-12345" alpha version numbers.
5562
27fa387a
CY
55632011-07-14 Chong Yidong <cyd@stupidchicken.com>
5564
5565 * bindings.el: Add advertised binding for set-mark-command
5566 (Bug#5772).
5567
8bdfa064
CY
55682011-07-14 Chong Yidong <cyd@stupidchicken.com>
5569
5570 * bindings.el (mode-line-other-buffer):
5571 * bookmark.el (bookmark-bmenu-2-window):
5572 * bs.el (bs-cycle-next, bs-cycle-previous):
5573 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5574 switch-to-buffer.
5575
5576 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 5577 Delete.
8bdfa064 5578
5eba16a3
JB
55792011-07-14 Juanma Barranquero <lekktu@gmail.com>
5580
5581 * follow.el (follow-debug-message, follow-redisplay):
5582 * jka-cmpr-hook.el (with-auto-compression-mode):
5583 Fix typos in docstrings.
5584
15853710
LMI
55852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5586
a28e4607
LMI
5587 * subr.el (with-silent-modifications): Clarify somewhat what the
5588 macro inhibits (bug#6525).
5589
15853710
LMI
5590 * simple.el (eval-expression): Note what it does if called
5591 interactively (bug#6495).
5592
bee0fcef
CY
55932011-07-13 Chong Yidong <cyd@stupidchicken.com>
5594
b796c9b7
SM
5595 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5596 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
5597
5598 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5599 Remove switch-to-buffer.
5600
58274504
LMI
56012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5602
bd2fcc8d
LMI
5603 * files.el (make-directory): Clarify that an error will be raised
5604 if there's an error (bug#6397).
5605
0f04b32c
LMI
5606 * startup.el (initial-buffer-choice): Add `none' as a choice
5607 (bug#6234).
5608
465c5fc8
LMI
5609 * subr.el (add-hook): Clarify section about buffer-local hooks
5610 (bug#6218).
5611
58274504
LMI
5612 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5613
bead9a43
JB
56142011-07-13 Juanma Barranquero <lekktu@gmail.com>
5615
5616 * tabify.el (untabify): Preserve the current column so that point
5617 doesn't move (bug#6032).
5618
3af98a7b
LMI
56192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5620
b796c9b7
SM
5621 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5622 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 5623
6240145a
GM
56242011-07-13 Glenn Morris <rgm@gnu.org>
5625
5626 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5627 (dired-insert-directory): Give a message the first time
5628 if ls is found not to support --dired.
5629
1d8c2ccc
LMI
56302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5631
5632 * simple.el (toggle-truncate-lines): Clarify what is toggled
5633 (bug#5580). Text by Drew Adams.
5634
5fc4038e
CY
56352011-07-13 Chong Yidong <cyd@stupidchicken.com>
5636
5637 * simple.el (blink-matching-open): Make the error message from the
5638 last change less verbose.
5639
bf6012e5
DN
56402011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5641
5642 * font-lock.el (font-lock-comment-face): Use the high contrast
5643 "yellow" color for font-lock-comment-face on low color terminals
5644 using a dark background color (bug#4221).
5645
343c3b5a
LMI
56462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5647
7e9505c5
LMI
5648 * dired.el (dired-insert-set-properties): Make the doc string
5649 reflect what it does now (bug#5325).
5650
c26fdcf5
LMI
5651 * simple.el (blink-matching-open): Say that we were unable to find
5652 the match within the limit, if we're limited (bug#5122).
5653
bb388cc5
LMI
5654 * international/mule-cmds.el (prefer-coding-system): Add an
5655 example (bug#4869).
5656
343c3b5a
LMI
5657 * progmodes/etags.el (tags-search): Document `file-list-form'
5658 (bug#4731).
5659
2a517d45
LM
56602011-07-13 Lawrence Mitchell <wence@gmx.li>
5661
5662 * net/browse-url.el (browse-url-default-browser)
5663 (browse-url-browser-function): Make the default browser choice a
5664 bit more logical (bug#4300). Also clean up the doc string.
5665
b6c78ef2
JB
56662011-07-13 Juanma Barranquero <lekktu@gmail.com>
5667
5668 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5669 binary endings (bug#4440).
5670
1c4dd947
LMI
56712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5672
a2014063
LMI
5673 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5674 which can be pretty annoying (bug#8971).
5675
9c9c2d88
LMI
5676 * jka-compr.el (jka-compr-verbose): New variable, and use
5677 throughout (bug#8971).
5678
1c4dd947
LMI
5679 * info.el (Info-find-file): Fall back on the installation
5680 directory if we can't find the info node anywhere else.
5681
a1c9f41b
SO
56822011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5683
5684 * vc/vc.el (vc-revert-file):
5685 Don't set file time-stamp in the past. (Bug#5181)
5686
536f3d36
LMI
56872011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
7152b011
LMI
5689 * files.el (after-find-file): Give a better error message when
5690 trying to find a symlink that points to a file that doesn't exist
5691 (bug#4398).
5692
536f3d36
LMI
5693 * progmodes/cc-vars.el: Remove (probably) misleading comment
5694 (bug#4396).
5695
460c0fba
JB
56962011-07-12 Johan Bockgård <bojohan@gnu.org>
5697
5698 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5699
7a6bda45
CY
57002011-07-12 Chong Yidong <cyd@stupidchicken.com>
5701
5702 * mouse-sel.el: Hack restoring functionality, while keeping
5703 compatibility with 2010-07-03 changes to mouse selection.
5704 (mouse-sel-primary-overlay): New var.
5705 (mouse-sel-selection-alist): Use it.
5706 (mouse-sel-mode): Doc fix; remove points that are default features
5707 of mouse.el.
5708
c79598ef
JB
57092011-07-12 Johan Bockgård <bojohan@gnu.org>
5710
5711 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5712 Fix previous fix (bug#2490).
5713
ff8be6ef
RW
57142011-07-12 Roland Winkler <winkler@gnu.org>
5715
b796c9b7
SM
5716 * textmodes/bibtex.el (bibtex-initialize):
5717 Use pop-to-buffer-same-window.
ff8be6ef
RW
5718 (bibtex-search-entries): Fix interactive call.
5719
296ba3ee
LMI
57202011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5721
f5242a02 5722 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
5723 Fontise bytecomp Error lines more correctly (bug#2490).
5724 Fix suggested by Johan Bockgård.
f5242a02 5725
296ba3ee
LMI
5726 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5727
5728 * dired-x.el (dired-guess-default): Use `delete-dups'.
5729
f69fd0d2
CY
57302011-07-12 Chong Yidong <cyd@stupidchicken.com>
5731
5732 * dired.el (dired-mark-prompt):
5733 * dired-aux.el (dired-read-shell-command): Doc fix.
5734
eab5dc07
LMI
57352011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5736
b796c9b7
SM
5737 * mail/sendmail.el (sendmail-query-once):
5738 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
5739 emacs -Q.
5740
5741 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5742
eab5dc07
LMI
5743 * cus-edit.el (custom-file): Take an optional no-error variable.
5744 (customize-save-variable): Set the variable, and give a warning if
5745 running under "emacs -q".
5746
a1e65d42
JB
57472011-07-11 Juanma Barranquero <lekktu@gmail.com>
5748
5749 * loadhist.el (unload-feature-special-hooks):
5750 Add `auto-coding-functions', `fill-nobreak-predicate' and
5751 `find-directory-functions' (bug#5327).
5752
1d52da10
LMI
57532011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5754
be958f1d
LMI
5755 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5756
5bedb26c
LMI
5757 * cus-edit.el (custom-guess-name-alist): -alist variables should
5758 use the `alist' type (bug#3120). Suggested by Drew Adams.
5759
1d52da10
LMI
5760 * printing.el: Add documentation to all the `pr-toggle-' commands.
5761
cd394be1 57622011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
5763
5764 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5765 backends where it makes sense (bug#2623).
5766
dcc88d8a
LMI
57672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5768
c3de9feb
LMI
5769 * dired-x.el (dired-guess-default): Remove duplicate shell command
5770 entries (bug#2028).
8a93078b 5771 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 5772 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 5773
dcc88d8a
LMI
5774 * subr.el (remove-duplicates): New conveniency function.
5775
505e3645
LMI
57762011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5777
5778 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5779 (bug#1526).
5780
57812011-07-10 Martin Rudalics <rudalics@gmx.at>
5782
5783 * window.el (display-buffer-normalize-default): Don't invert
5784 meaning of even-window-heights. Reported by Eli Zaretskii
5785 <eliz@gnu.org>.
5786
455e4fa1
BR
57872011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5788
5789 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5790
8e0bc3e9
CY
57912011-07-10 Chong Yidong <cyd@stupidchicken.com>
5792
5793 * window.el (display-buffer): Fix arguments to
5794 display-buffer-reuse-window in last change.
5795
fa7c3228
CY
5796 * faces.el (link): Use a less saturated blue on light backgrounds.
5797
5798 * startup.el (fancy-startup-text, fancy-about-text)
5799 (fancy-startup-tail): Use font-lock faces, for background safety.
5800
c0a7f300
BN
58012011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5802
b796c9b7
SM
5803 * emulation/viper-cmd.el (viper-change-state-to-vi):
5804 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 5805
4dc2a129
MR
58062011-07-09 Martin Rudalics <rudalics@gmx.at>
5807
5808 * window.el (display-buffer-default-specifiers): Remove.
5809 (display-buffer-macro-specifiers): Remove default specifiers.
5810 (display-buffer-alist): Default to nil.
b796c9b7 5811 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
5812 (display-buffer-pop-up-window): Allow splitting internal
5813 windows. Check whether a live window was created.
5814 (display-buffer-other-window-means-other-frame)
5815 (display-buffer-normalize-arguments): Rename to
5816 display-buffer-normalize-argument and rewrite. Set the
5817 other-window specifier.
5818 (display-buffer-normalize-special): New function.
5819 (display-buffer-normalize-options): Rename to
5820 display-buffer-normalize-default and rewrite.
5821 (display-buffer-normalize-options-inhibit): Remove.
5822 (display-buffer-normalize-specifiers): Rewrite.
5823 (display-buffer): Process other-window specifier and call
5824 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5825 more faithfully.
b796c9b7 5826 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 5827 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
5828 (display-buffer-in-window, display-buffer-alist-set):
5829 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
5830 <tassilo@member.fsf.org>.
5831
2d43b8c9
LL
58322011-07-09 Leo Liu <sdl.web@gmail.com>
5833
5834 * register.el (insert-register): Restore accidental change on
5835 2011-06-26. (Bug#9028)
5836
7f9b7c53
GM
58372011-07-09 Glenn Morris <rgm@gnu.org>
5838
5839 * subr.el (remq): Handle the empty list. (Bug#9024)
5840
f042cfd8
AS
58412011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5842
5843 * mail/sendmail.el (send-mail-function): No longer delay custom
5844 initialization.
5845 * custom.el (custom-initialize-delay): Doc fix.
5846
856b2f11
SM
58472011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5850
afae1d68
MA
58512011-07-08 Michael Albinus <michael.albinus@gmx.de>
5852
5853 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5854 human-friendly prompt.
5855
0757af94
SM
58562011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5859 provided by a particular plugin.
5860
d760b731
LMI
58612011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5862
5863 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5864 save customizations (with "emacs -Q"), just set the variable
5865 instead of erroring out.
5866
5867 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5868
cd79ce90
JL
58692011-07-08 Juri Linkov <juri@jurta.org>
5870
5871 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5872 (archive-zip-update-case): Use 7z if found by `executable-find'.
5873 The order of searching the available programs is the same as in
5874 `archive-zip-extract' (bug#8968).
5875
14cc04aa
CY
58762011-07-07 Chong Yidong <cyd@stupidchicken.com>
5877
5878 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5879 (menu-bar-options-menu): Tweak descriptions.
5880
0a1848ec
LMI
58812011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5882
5883 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5884 menu items into verb phrases (bug#1421). Also refill to fit under
5885 80 columns.
5886
f5bd0689
CY
58872011-07-07 Chong Yidong <cyd@stupidchicken.com>
5888
538e85c6
CY
5889 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5890 (Info-read-node-name): Doc fix (Bug#1084).
5891
f5bd0689
CY
5892 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5893 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5894 (end-of-sexp, beginning-of-sexp)
5895 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5896 (forward-symbol, forward-same-syntax, word-at-point)
5897 (sentence-at-point): Doc fix (Bug#1144).
5898
56ec5115
LMI
58992011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5900
f3f8e37f
LMI
5901 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5902 should cover it (bug#1281).
5903
0757af94 5904 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 5905
e9fce1ac 5906 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
5907 negotiation fails, then possibly try again with a non-encrypted
5908 connection (bug#9017).
5909
56ec5115
LMI
5910 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5911 be used.
5912
c2f9aec8
RS
59132011-07-07 Richard Stallman <rms@gnu.org>
5914
5915 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5916 property, and handle its changed format.
5917 Look for the correct line number.
5918 Use file's line contents (but not past first =) to find
5919 correct line in message.
5920
ef7b981d 59212011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
5922
5923 * international/characters.el (build-unicode-category-table):
5924 Delete it.
0757af94 5925 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 5926
0757af94 5927 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
5928 to src/chartab.c.
5929 (get-char-code-property): Call unicode-property-table-internal to
5930 load a file. Call get-unicode-property-internal where necessary.
5931 (put-char-code-property): Call unicode-property-table-internal to
5932 load a file. Call put-unicode-property-internal where necessary.
5933 put-unicode-property-internal where necessary.
0757af94
SM
5934 (char-code-property-description):
5935 Call unicode-property-table-internal to load a file.
c805dec0
KH
5936
5937 * international/charprop.el:
5938 * international/uni-bidi.el:
5939 * international/uni-category.el:
5940 * international/uni-combining.el:
5941 * international/uni-comment.el:
5942 * international/uni-decimal.el:
5943 * international/uni-decomposition.el:
5944 * international/uni-digit.el:
5945 * international/uni-lowercase.el:
5946 * international/uni-mirrored.el:
5947 * international/uni-name.el:
5948 * international/uni-numeric.el:
5949 * international/uni-old-name.el:
5950 * international/uni-titlecase.el:
5951 * international/uni-uppercase.el: Regenerate.
5952
5953 * loadup.el: Load international/charprop.el before
5954 international/characters.
5955
e14b388a
CY
59562011-07-07 Chong Yidong <cyd@stupidchicken.com>
5957
5958 * window.el (next-buffer, previous-buffer): Signal an error if
5959 called from a minibuffer window.
5960
5961 * bindings.el: Revert 2011-07-04 change.
5962
354cf0ba
RS
59632011-07-06 Richard Stallman <rms@gnu.org>
5964
5965 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5966 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5967 Treat markers like ints.
5968 (rmail-mime-entity): Doc fix.
5969
a48868a7
LMI
59702011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5971
4906cd3d
LMI
5972 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5973 defcustom again for backwards compatibility.
5974
e0457abe
LMI
5975 * simple.el (shell-command-on-region): Fill.
5976
d67f7e1f
LMI
5977 * dired-aux.el (dired-kill-line): Add a doc string.
5978
fe204702
LMI
5979 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5980 to "\\sw\\|\\s_" (bug#358).
5981
a48868a7
LMI
5982 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5983 (dired-unmark-backward): Ditto.
5984 (dired-flag-backup-files): Ditto.
5985
5986 * dired-x.el (dired-mark-sexp): Ditto.
5987
aa8a705c
RS
59882011-07-06 Richard Stallman <rms@gnu.org>
5989
5990 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5991 (rmail-mime-entity): New arg TRUNCATED.
5992 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5993 New functions.
5994 (rmail-mime-save): Warn if entity is truncated.
5995 (rmail-mime-toggle-hidden): Likewise, for showing.
5996 (rmail-mime-process-multipart): Record when an entity is truncated.
5997
a9a936b9
RS
5998 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5999 if ENTITY is a string.
6000
1f2b92cb
LMI
60012011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6002
f4f73198 6003 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
6004 of faces when `M-C-x'-ing their definitions (bug#8378).
6005 Also clean up the code slightly.
f4f73198 6006
12b16734 6007 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 6008 because that makes the colors go away.
12b16734 6009
f0691d22
LMI
6010 * mail/sendmail.el (send-mail-function): Change the default to
6011 `sendmail-query-once'.
9e87df06 6012 (sendmail-query-once): Add an autoload cookie.
f0691d22 6013
1f2b92cb
LMI
6014 * net/network-stream.el (network-stream-open-starttls): Try using
6015 a plain connection even if the server offered STARTTLS, and we
6016 kinda wanted to use it, if Emacs doesn't have any STARTTLS
6017 capability. This should make smtpmail.el work in slightly more
6018 configurations.
6019
1cdd2a1b
MA
60202011-07-06 Michael Albinus <michael.albinus@gmx.de>
6021
6022 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
6023 New defun.
6024 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
6025
fbcc67e2
MM
60262011-07-06 Michael R. Mauger <mmaug@yahoo.com>
6027
6028 * progmodes/sql.el: Version 3.0
0757af94 6029 (sql-product-alist): Add product :completion-object,
fbcc67e2 6030 :completion-column, and :statement attributes.
0757af94 6031 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 6032 (sql-mode-syntax-table): Mark all punctuation.
0757af94 6033 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
6034 ansi keywords.
6035 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 6036 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
6037 (sql-oracle-show-reserved-words): New function for development.
6038 (sql-product-font-lock): Simplify for source code buffers.
6039 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
6040 New functions.
6041 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
6042 (sql-mode-map): Add statement movement functions.
6043 (sql-ansi-statement-starters, sql-oracle-statement-starters):
6044 New variable.
fbcc67e2
MM
6045 (sql-statement-regexp, sql-beginning-of-statement)
6046 (sql-end-of-statement, sql-signum): New functions.
0757af94 6047 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
6048 (sql-show-sqli-buffer): Bug fix.
6049 (sql-interactive-mode): Store connection data as buffer local.
0757af94 6050 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
6051 with sql-interactive-mode.
6052 (sql-save-connection): Save buffer local settings.
0757af94 6053 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
6054 (sql-product-interactive): Bug fix.
6055 (sql-preoutput-hold): New variable.
6056 (sql-interactive-remove-continuation-prompt): Bug fixes.
6057 (sql-debug-redirect): New variable.
6058 (sql-str-literal): New function.
6059 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 6060 Redesign.
fbcc67e2
MM
6061 (sql-oracle-save-settings, sql-oracle-restore-settings)
6062 (sql-oracle-list-all, sql-oracle-list-table): New functions.
6063 (sql-completion-object, sql-completion-column)
6064 (sql-completion-sqlbuf): New variables.
6065 (sql-build-completions-1, sql-build-completions)
6066 (sql-try-completion): New functions.
6067 (sql-read-table-name): Use them.
6068 (sql-contains-names): New buffer local variable.
6069 (sql-list-all, sql-list-table): Use it.
6070 (sql-oracle-completion-types): New variable.
6071 (sql-oracle-completion-object, sql-sqlite-completion-object)
6072 (sql-postgres-completion-object): New functions.
6073
d4eaeab1
GM
60742011-07-06 Glenn Morris <rgm@gnu.org>
6075
6076 * window.el (pop-to-buffer): Doc fix.
6077
322b7dab 60782011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
6079
6080 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
6081
322b7dab 60822011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 6083
322b7dab 6084 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 6085
322b7dab 6086 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 6087
605dd5bf
CY
60882011-07-05 Chong Yidong <cyd@stupidchicken.com>
6089
6090 * button.el (button): Inherit from link face. Suggested by Dan
6091 Nicolaescu.
6092
7dbfa719
SM
60932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6094
3db614b0
SM
6095 * progmodes/gdb-mi.el: Fit in 80 columns.
6096 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
6097 switch-to-buffer.
6098
7dbfa719
SM
6099 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
6100 if imenu is simply not configured (bug#8941).
6101
919d884a
KM
61022011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
6103
6104 * allout.el (allout-post-undo-hook): New allout outline-change
6105 event hook to signal undo activity.
6106 (allout-post-command-business): Run allout-post-undo-hook if an
6107 undo just occurred.
7dbfa719
SM
6108 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
6109 * allout-widgets.el (allout-widgets-after-undo-function):
6110 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
6111 in the vicinity of an undo.
6112 (allout-widgets-mode): Include allout-widgets-after-undo-function
6113 on the new allout-post-undo-hook.
6114
450a0f09
SM
61152011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
6118 Let define-derived-mode define it.
6119 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
6120 cycles of abbrev-table inheritance (bug#8998).
6121
2de69e00
RW
61222011-07-05 Roland Winkler <winkler@gnu.org>
6123
6124 * textmodes/bibtex.el: Add support for biblatex.
6125 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
6126 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
6127 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
6128 (bibtex-entry-alist, bibtex-field-alist): New variables.
6129 (bibtex-entry-field-alist): Obsolete alias for
6130 bibtex-BibTeX-entry-alist.
6131 (bibtex-entry-alist, bibtex-field-alist): New widgets.
6132 (bibtex-set-dialect): New command.
6133 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
6134 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
6135 Bind via bibtex-set-dialect.
2de69e00
RW
6136 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
6137 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
6138 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
6139 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
6140 Define via bibtex-set-dialect.
450a0f09
SM
6141 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
6142 Obey bibtex-no-opt-remove-re.
2de69e00
RW
6143 (bibtex-vec-push, bibtex-vec-incr): New functions.
6144 (bibtex-format-entry, bibtex-field-list)
6145 (bibtex-print-help-message, bibtex-validate)
6146 (bibtex-search-entries): Use new format of bibtex-entry-alist.
6147
2dcdbdd9
SM
61482011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 * progmodes/compile.el (compilation-goto-locus):
6151 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6152 * bs.el (bs-cycle-next, bs-cycle-previous):
6153 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
6154 * bindings.el (mode-line-other-buffer):
6155 * autoinsert.el (auto-insert):
6156 * arc-mode.el (archive-extract):
6157 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
6158
b27640fe
JB
61592011-07-05 Juanma Barranquero <lekktu@gmail.com>
6160
6161 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
6162 Fix check of `emacs-lock-unlockable-modes'.
6163 Coerce true values of `emacs-lock--try-unlocking' to t.
6164
53bbe3ad
JB
61652011-07-05 Juanma Barranquero <lekktu@gmail.com>
6166
6167 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
6168 * emacs-lock.el: New file.
6169
1d3cdbc7
JD
61702011-07-05 Julien Danjou <julien@danjou.info>
6171
6172 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
6173 than `boundp' to check if face is set.
6174
9173deec
JB
61752011-07-05 Juanma Barranquero <lekktu@gmail.com>
6176
6177 * register.el (registerv-make):
6178 * window.el (window-min-height): Fix typos in docstrings.
6179
869795d6
JD
61802011-07-05 Jan Djärv <jan.h.d@swipnet.se>
6181
9173deec 6182 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
6183 Update doc string.
6184
b768cdcd
JB
61852011-07-04 Juanma Barranquero <lekktu@gmail.com>
6186
6187 * server.el (server-execute): Catch quit and call
6188 `server-return-error' to pass the error back to emacsclient and
6189 close the connection (bug#8942).
6190
13aa217b
KM
61912011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
6192
6193 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
6194 insecure exception for current topic. Also note that auto-saves
6195 are handled differently.
6196
6197 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
6198 State variables for tracking auto-save inhibition situation.
6199
6200 (allout-write-contents-hook-handler): Rename from
6201 'allout-write-file-hook-handler', and describe how it depends on
6202 write-contents-functions sensitivity to non-nil value to prevent
6203 file write.
6204
6205 (allout-auto-save-hook-handler): Remove. auto-save does not check
6206 this in individual buffers, only in the starting buffer, so this
6207 is not the right way for us to inhibit auto-save in a buffer
6208 according to its condition.
6209
6210 (allout-mode): Use new allout-write-contents-hook-handler, and
6211 only with write-contents-functions. Remove auto-save provisions -
6212 they're implemented elsewhere.
6213
6214 (allout-before-change-handler): If undo is in progress, note that
6215 for attention of allout-post-command-business.
6216
6217 (allout-post-command-business): If the command we're following was
6218 an undo, check for change in the status of encrypted items and
6219 adjust auto-save inhibitions accordingly.
6220
6221 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
6222 according to whether there are or aren't any plain-text topics
6223 pending encryption.
6224
2dcdbdd9 6225 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
6226 Adjust buffer-saved-size and some allout state to inhibit auto-saves
6227 if there are plain-text topics pending encryption.
13aa217b
KM
6228
6229 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
6230 buffer-saved-size and some allout state to not inhibit auto-saves
6231 if there are no longer any plain-text topics pending encryption.
6232
0757af94
SM
6233 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
6234 No longer provide for exemption of the current topic.
13aa217b 6235
ac89b32c
JL
62362011-07-04 Juri Linkov <juri@jurta.org>
6237
6238 Add 7z operations to delete and save changed members (bug#8968).
6239 * arc-mode.el (archive-7z-expunge, archive-7z-update):
6240 New defcustoms.
6241 (archive-7z-write-file-member): New function.
6242 (archive-7z-summarize): Fix the number of dashes in the
6243 listing output.
6244
8fa39615
SM
62452011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
6248 (bug#8958).
6249
2f11b3f1
CY
62502011-07-04 Chong Yidong <cyd@stupidchicken.com>
6251
d66fef2b
CY
6252 * bindings.el: Ignore next-buffer and previous-buffer in
6253 minibuffer-local-map.
6254
2f11b3f1
CY
6255 * font-lock.el (font-lock-builtin-face): Change light background
6256 color to dark slate blue (Bug#6693).
6257
f932a347
WD
62582011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6259
6260 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6261
c8af70e1
SM
62622011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6265 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6266 Add switch-to-buffer.
6267
f158badc
LMI
62682011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6269
6270 * isearch.el (isearch-search-fun-function): Clarify further the
6271 meaning of the function returned.
6272
6d95bd46
MA
62732011-07-04 Michael Albinus <michael.albinus@gmx.de>
6274
6275 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6276
6277 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6278 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6279 Use it.
6280 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6281 `tramp-default-remote-path' does not exist.
6282 (tramp-send-command-and-read): New optional argument NOERROR.
6283 (tramp-open-connection-setup-interactive-shell)
6284 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6285 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6286 (tramp-process-sentinel): Flush also process' connection property.
6287 (tramp-sh-handle-start-file-process): Do not set process
6288 sentinel. It is done now ...
6289 (tramp-maybe-open-connection): ... here. (Bug#8929)
6290
909e6b67
MK
62912011-07-04 MON KEY <monkey@sandpframing.com>
6292
6293 * play/animate.el (animate-string): Doc fixes and allow changing
6294 the buffer name (bug#5417).
6295
62962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6297
c8af70e1 6298 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 6299
f34755dc
PE
63002011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6301
396cec72
PE
6302 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6303 This is simpler and helps future-proof the code.
6304 (timer-until): Use time-subtract and float-time.
08235028 6305 (timer--time-less-p): Use time-less-p.
f34755dc 6306
56e6cc31
JB
63072011-07-04 Juanma Barranquero <lekktu@gmail.com>
6308
3abb79e5
JB
6309 * type-break.el (timep): Use the value of `float-time' to avoid a
6310 byte-compiler warning.
6311
56e6cc31
JB
6312 * server.el (server-eval-and-print): Return any result, even nil.
6313
7b9430b4
PE
63142011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6315
6316 * type-break.el: Accept time formats that the builtins accept.
6317 (timep, type-break-time-difference): Accept any format that
6318 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6319 This is simpler and helps future-proof the code.
6320 (type-break-time-difference): Round rather than ignoring
6321 subseconds components.
6322
3034e9e7
LMI
63232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6324
6325 * info.el (Info-apropos-matches): Make non-interactive, since it
6326 doesn't seem to do anything useful as a command (bug#8829).
6327
1485f4c0
CY
63282011-07-03 Chong Yidong <cyd@stupidchicken.com>
6329
6330 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 6331 Move from faces.el.
1485f4c0
CY
6332 (frame-default-terminal-background): New function.
6333
6334 * custom.el (custom-push-theme): Don't record faces in `changed'
6335 theme; this doesn't work correctly for per-frame face settings.
6336 (disable-theme): Use face-set-after-frame-default to reset faces.
6337 (custom--frame-color-default): New function.
6338
9fa3dd45
LMI
63392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6340
c8af70e1 6341 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
6342 (bug#8769).
6343
6cbbc20c
KR
63442011-03-29 Kevin Ryde <user42@zip.com.au>
6345
6346 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6347 `perl-Test2' extend to match possible "fail #N" rep count
6348 (bug#8377).
6349
c7f98048
LMI
63502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6351
65676592
LMI
6352 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6353 `smtpmail-via-smtp' now returns the error instead of nil.
6354
c7f98048
LMI
6355 * isearch.el (isearch-search-fun-function): Clarify the doc string
6356 (bug#8101).
6357
56e6cc31 63582011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
6359
6360 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6361 unnecessary spaces (bug#8987).
6362
2b216704
LMI
63632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6364
6365 * net/network-stream.el (open-network-stream): Use the
6366 :end-of-capability command thoughout.
6367
63682011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6369
6370 * net/network-stream.el (open-network-stream): Add the
6371 :end-of-capability command parameter, used by pop3.el.
6372
36adf6ce
LMI
63732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6374
1ca0da0e
LMI
6375 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6376
fc00f69c
LMI
6377 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6378 for list)" (bug#6475).
6379
28fd8759 6380 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 6381 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
6382 an error (bug#6297).
6383
0dd8b6da
LMI
6384 * man.el (Man-reference-regexp): Allow matching possible
6385 word-wrapped references (bug#6289).
6386
ce1438d6
LMI
6387 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6388 for consistency with the other vc buffers (bug#6197).
6389 (vc-checkin): Ditto.
6390
6391 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6392
36adf6ce
LMI
6393 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6394
e83cc1f7
LMI
63952011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6396
8a20ca4c
LMI
6397 * custom.el (defcustom): Clarify that :set is only used in the
6398 Customize user interface (bug#6089).
6399
83319045
LMI
6400 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6401 associated with a file, refuse to run instead of erroring out
6402 (bug#6084).
6403
a8392169
LMI
6404 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6405 the doc string, since it appears that using `fill-column' always
6406 controls the width (bug#7845).
6407
e83cc1f7
LMI
6408 * simple.el (shell-command-on-region): Say where the error output
6409 went if `shell-command-default-error-buffer' is set (bug#6857).
6410
e47ca23b
KM
64112011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6412
6413 * allout.el (allout-yank-processing): Adjust cursor position for
6414 backwards-deleted space.
6415
6416 (allout-rebullet-heading): Register changes with
6417 allout-exposure-changed-hook, so the modified topic is properly
6418 decorated.
6419
5cf56143
LMI
64202011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6421
08549772
LMI
6422 * minibuffer.el (completion-in-region): Document PREDICATE
6423 (bug#7136).
6424
48e96771
LMI
6425 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6426 of keyword/argument pairs (bug#6904).
6427
c8af70e1
SM
6428 * replace.el (multi-occur):
6429 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 6430
e17d05e2
LMI
64312011-07-02 Drew Adams <drew.adams@oracle.com>
6432
6433 * dired.el (dired-mark-if): Make the message about whether it's
6434 marking or unmarking clearer (bug#8523).
6435
063b0e45
LMI
64362011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6437
6438 * disp-table.el (display-table-print-array): New function.
6439 (describe-display-table): Use it to print the vectors more pretty
6440 (Bug#8859).
6441
28545e04
MR
64422011-07-02 Martin Rudalics <rudalics@gmx.at>
6443
6444 * window.el (window-state-get-1): Don't assign clone numbers.
6445 Add clone-of item to list of window parameters.
6446 (window-state-put-2): Don't process clone numbers.
6447 (display-buffer-alist): Fix doc-string.
6448
3349e122
SM
64492011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * subr.el (remq): Don't allocate if it's not needed.
6452 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6453 (keymap--merge-bindings): New functions.
6454 (keymap-canonicalize): Use them to refine the canonicalization.
6455 * minibuffer.el (minibuffer-local-completion-map)
6456 (minibuffer-local-must-match-map): Move initialization from C.
6457 (minibuffer-local-filename-completion-map): Move initialization from C;
6458 don't inherit from anything here.
6459 (minibuffer-local-filename-must-match-map): Make obsolete.
6460 (completing-read-default): Use make-composed-keymap to combine
6461 minibuffer-local-filename-completion-map with either
6462 minibuffer-local-must-match-map or
6463 minibuffer-local-filename-completion-map.
6464
d224ac83
GM
64652011-07-01 Glenn Morris <rgm@gnu.org>
6466
3de63bf8
GM
6467 * type-break.el (type-break-time-sum): Use dolist.
6468
d224ac83
GM
6469 * textmodes/flyspell.el (flyspell-word-search-backward):
6470 Replace CL function.
6471
1a1e3f32
SM
64722011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6473
fe3f64d5
SM
6474 * mouse.el (mouse--strip-first-event): New function.
6475 (function-key-map): Use it to map fringe clicks to normal clicks
6476 by default.
6477
eb604e34
SM
6478 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6479 (vc-bzr-revision-completion-table): Add support for annotate and date.
6480
1a1e3f32
SM
6481 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6482 inherit from parent.
6483
5bd35902
LMI
64842011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6485
ace6c69c 6486 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 6487 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 6488
191e2bed
LMI
6489 * dired.el (dired-mode): Fix up the doc string as suggested by
6490 Drew Adams (bug#8817).
6491
5bd35902
LMI
6492 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6493 cookie, since the manual says that it should be possible to add
6494 this function to `find-file-hook' (bug#8709).
6495
eee8207a
TZ
64962011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6497
6498 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6499 here. Noted Ted Zlatanov as the maintainer.
6500 (cfengine-common-settings, cfengine-common-syntax): New functions
6501 to set up common things between `cfengine-mode' and
6502 `cfengine3-mode'.
6503 (cfengine3-mode): New mode.
6504 (cfengine3-defuns cfengine3-defuns-regex
6505 (cfengine3-class-selector-regex cfengine3-category-regex)
6506 (cfengine3-vartypes cfengine3-font-lock-keywords)
6507 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 6508 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 6509
36b148cf
MA
65102011-07-01 Michael Albinus <michael.albinus@gmx.de>
6511
6512 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6513
6514 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6515
0bf4ba9a
MR
65162011-07-01 Martin Rudalics <rudalics@gmx.at>
6517
6518 * window.el (same-window-buffer-names, same-window-regexps)
6519 (same-window-p, special-display-frame-alist)
6520 (special-display-popup-frame, special-display-function)
6521 (special-display-buffer-names, special-display-regexps)
6522 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6523 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6524 (split-window-preferred-function, split-height-threshold)
6525 (split-width-threshold, even-window-heights)
6526 (display-buffer-mark-dedicated, window-splittable-p)
6527 (split-window-sensibly, window-safely-shrinkable-p):
6528 Un-obsolete.
6529 (display-buffer): Don't spread args with function specifier
6530 because special-display-popup-frame won't like it.
6531
35837f51
PE
65322011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6533
d0672f86
PE
6534 Time-stamp simplifications and fixes.
6535 These improve accuracy slightly, and future-proof the code
6536 against some potential changes to current-time format.
6537
b9444d97
PE
6538 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6539 by using time-since and float-time.
6540
0ef923dc
PE
6541 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6542 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6543 + NNN microseconds".
6544
2f81380d
PE
6545 * type-break.el (type-break-time-sum): Rewrite using time-add.
6546
845b5c3e
PE
6547 * play/hanoi.el (hanoi-current-time-float): Remove.
6548 All uses replaced by float-time.
6549
ee6f1be0
PE
6550 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6551 This yields a more-accurate answer.
6552 (rng-time-to-float): Remove; no longer needed.
6553
fe955043
PE
6554 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6555
5777162a
PE
6556 * calendar/timeclock.el (timeclock-seconds-to-time):
6557 Defalias to seconds-to-time, since they're the same thing.
6558
3103f8b6 6559 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 6560 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
6561 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6562
0e61a35f
SM
65632011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6564
6565 * window.el (bury-buffer): Don't iconify the only frame.
6566 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6567 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6568
ddd63a1e
CY
65692011-07-01 Chong Yidong <cyd@stupidchicken.com>
6570
0e61a35f
SM
6571 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6572 Add mouse-yank-primary.
ddd63a1e 6573
055f4923
TZ
65742011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6575
6576 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6577
6a2fb145
SM
65782011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6579
6580 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6581 (find-library-name): Use it to find relative load names when provided
6582 absolute file name (bug#8803).
6583
fd4983f2
LMI
65842011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6585
887d14ad
LMI
6586 * textmodes/flyspell.el (flyspell-word): Consider words that
6587 differ only in case as potential doublons (bug#5687).
6588
c53dc7fc
LMI
6589 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6590 Remove two rather uninteresting debugging-like messages to make
6591 debbugs.el more silent.
6592
fd4983f2
LMI
6593 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6594 a password-like phrase.
6595
7a71b18d 65962011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
6597
6598 * progmodes/cc-guess.el: New file.
6599
6a2fb145 6600 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
6601
6602 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6603 derived from `c-basic-common-init'.
6604
6605 * progmodes/cc-mode.el (top-level): Require cc-guess.
6606 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6607
1fa280a3
LM
66082011-06-30 Lawrence Mitchell <wence@gmx.li>
6609
6610 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6611
e6597158
AM
66122011-06-30 Alan Mackenzie <acm@muc.de>
6613
1fa280a3
LM
6614 * progmodes/cc-engine.el (c-guess-continued-construct):
6615 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
6616 lock is disabled. Name this case as "CASE G".
6617
68ba37fb
KM
66182011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6619
6620 * allout.el (allout-yank-processing): Fix injection of extra space
6621 between bullet and non-whitespace character in first topic when
6622 pasting, ensuring that the actual spacing in the pasted topic
6623 following the bullet char is preserved. This extra space was
6624 causing pasted encrypted topics to get a decrypted status even
6625 when the content was actually still encrypted. Now the decryption
6626 status from before the paste is preserved.
6627
6628 (allout-flag-region): Set all allout overlays so they evaporate
6629 when reduced to zero length (evanescent), to prevent overlay
6630 leakage.
6631
887a0b34
GM
66322011-06-30 Glenn Morris <rgm@gnu.org>
6633
94b9acce
GM
6634 * w32-fns.el (w32-charset-info-alist): Declare.
6635
1d9b46d4
GM
6636 * find-dired.el (find-grep-options): Simplify.
6637
cc232200
GM
6638 * term/ns-win.el (ns-set-resource): Declare.
6639
28e77c46
GM
6640 * ses.el (row, col): Declare dynamic variables honestly.
6641
887a0b34
GM
6642 * textmodes/reftex-parse.el (index-tags): Declare.
6643
658d8eb8
CY
66442011-06-30 Chong Yidong <cyd@stupidchicken.com>
6645
6646 * cus-edit.el (customize-push-and-save): New function.
6647
6648 * files.el (hack-local-variables-confirm): Use it.
6649
1fa280a3
LM
6650 * custom.el (load-theme): New arg NO-CONFIRM.
6651 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
6652 (custom-enabled-themes): Doc fix.
6653
6654 * cus-theme.el (customize-create-theme)
6655 (custom-theme-merge-theme): Callers to load-theme changed.
6656
bb617717
LMI
66572011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6658
d61bdd5d
LMI
6659 * thingatpt.el (thing-at-point-short-url-regexp): Require that
6660 short URLs have at least one dot in them (bug #7614).
6661
bb617717
LMI
6662 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6663 nil, because using a pty is apparently too slow (bug #895).
6664
2f31f37a
LMI
66652011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666
6667 * mail/sendmail.el (sendmail-query-once): New function.
6668 (sendmail-query-once-function): New variable.
6669
3076b24e
GM
66702011-06-29 Glenn Morris <rgm@gnu.org>
6671
faf2a174
GM
6672 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6673
3076b24e
GM
6674 * ses.el (top-level): Require cl when compiling.
6675 (ses-set-localvars): Fix error statement.
6676 Call it at compile time to silence a storm of warnings.
6677
5386012d
MR
66782011-06-29 Martin Rudalics <rudalics@gmx.at>
6679
6680 * window.el (normalize-live-buffer): Rename to
6681 window-normalize-buffer.
6682 (normalize-live-frame): Rename to window-normalize-frame.
6683 (normalize-any-window): Rename to window-normalize-any-window.
6684 (normalize-live-window): Rename to window-normalize-live-window.
6685 (make-window-atom): Rename to window-make-atom.
6686 (window-resize-reset): Rename to window--resize-reset.
6687 (window-resize-reset-1): Rename to window--resize-reset-1.
6688 (resize-mini-window): Rename to window--resize-mini-window.
6689 (resize-subwindows-skip-p): Rename to
6690 window--resize-subwindows-skip-p.
6691 (resize-subwindows-normal): Rename to
6692 window--resize-subwindows-normal.
6693 (resize-subwindows): Rename to window--resize-subwindows.
6694 (resize-other-windows): Rename to window--resize-siblings.
6695 (resize-this-window): Rename to window--resize-this-window.
6696 (resize-root-window): Rename to window--resize-root-window.
6697 (resize-root-window-vertically): Rename to
6698 window--resize-root-window-vertically.
6699 (normalize-buffer-to-display): Rename to
6700 window-normalize-buffer-to-display.
6701 (normalize-buffer-to-switch-to): Rename to
6702 window-normalize-buffer-to-switch-to.
6703 Correspondingly update all callers of the functions listed
6704 above.
6705 (display-buffer-alist, display-buffer-normalize-arguments)
6706 (display-buffer-normalize-options, display-buffer)
6707 (display-buffer-alist-set): Use "function" instead of
6708 "fun-with-args".
6709
1176868d
CY
67102011-06-28 Chong Yidong <cyd@stupidchicken.com>
6711
6712 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6713 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6714 debbugs.gnu.org. Mention acknowledgment email.
6715
20a7a65f
LMI
67162011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717
6718 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6719 buffer multibyteness, since it shouldn't matter.
6720
5f45cca5
MR
67212011-06-28 Martin Rudalics <rudalics@gmx.at>
6722
6723 * window.el (display-buffer-in-side-window): Handle dedicated
6724 windows as in display-buffer-reuse-window.
6725 (display-buffer-normalize-alist): Use value of override
6726 specifier.
6727 (display-buffer-normalize-specifiers): Use value of
6728 other-window-means-other-frame specifier.
6729 (display-buffer-alist): Rewrite some texts in widgets.
6730 (display-buffer): Spread arguments when calling function
6731 specified by fun-with-args.
6732
ad85fe1f
DD
67332011-06-28 Deniz Dogan <deniz@dogan.se>
6734
1fa280a3
LM
6735 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6736 Unnest `let'.
da68c4c8 6737
ad85fe1f
DD
6738 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6739 selectors (Bug#5732).
ec49bd31 6740 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 6741
a08cc025
JA
67422011-06-27 Jari Aalto <jari.aalto@cante.net>
6743
6744 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6745 (eshell-ls-date-format): New defcustom.
6746 (eshell-ls-file): Use it.
6747
e2b551c5
SM
67482011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6751
8982b231
KY
67522011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6753
6754 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6755 (ange-ftp-make-tmp-name): New arg.
6756 (ange-ftp-file-local-copy): Use it.
6757
36c9fa27
J
67582011-06-27 Jambunathan K <kjambunathan@gmail.com>
6759
6760 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6761 no-conversion (Bug#8870).
6762
d68443dc
MR
67632011-06-27 Martin Rudalics <rudalics@gmx.at>
6764
6765 * window.el (window-right, window-left, window-child)
6766 (window-child-count, window-last-child)
6767 (window-iso-combination-p, walk-window-tree-1)
6768 (window-atom-check-1, window-tree-1, delete-window)
6769 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6770 new naming conventions - window-vchild, window-hchild,
6771 window-next and window-prev are now called window-top-child,
6772 window-left-child, window-next-sibling and window-prev-sibling
6773 respectively.
d615d6d2
MR
6774 (resize-window-reset): Rename to window-resize-reset.
6775 (resize-window-reset-1): Rename to window-resize-reset-1.
6776 (resize-window): Rename to window-resize.
6777 (window-min-height, window-min-width)
6778 (resize-mini-window, resize-this-window, resize-root-window)
6779 (resize-root-window-vertically, adjust-window-trailing-edge)
6780 (enlarge-window, shrink-window, maximize-window)
6781 (minimize-window, delete-window, quit-restore-window)
6782 (split-window, balance-windows, balance-windows-area-adjust)
6783 (balance-windows-area, window-state-put-2)
6784 (display-buffer-even-window-sizes, display-buffer-set-height)
6785 (display-buffer-set-width, set-window-text-height)
6786 (fit-window-to-buffer): Rename all "resize-window" prefixed
6787 calls to use the "window-resize" prefix convention.
6788 (display-buffer-alist): Fix symbol for label specifier.
6789 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6790 corresponding specifier.
6791 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 6792
b6458526
VB
67932011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6794
6795 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6796 convention.
6797 (ses-call-printer): Does not pass an empty string to formatter when the
6798 cell is empty to keep from barking printer Calc math-format-value.
6799
d31fd9ac
RS
68002011-06-27 Richard Stallman <rms@gnu.org>
6801
43d5bf84
RS
6802 * battery.el (battery-mode-line-limit): New variable.
6803 (battery-update): Handle it.
6804
d31fd9ac
RS
6805 * mail/rmailmm.el (rmail-mime-process-multipart):
6806 Handle truncated messages.
6807
819a6054
GM
68082011-06-27 Glenn Morris <rgm@gnu.org>
6809
6810 * progmodes/flymake.el (flymake-err-line-patterns):
6811 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6812
cedc73f2
VB
68132011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6814
819a6054 6815 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
6816 (ses--clean-!, ses--clean-_): New functions.
6817 (ses-range): Add configurability of readout order, and conversion
6818 to Calc vector.
6819
5e5d49b6
VB
6820 * ses.el (ses-repair-cell-reference-all): New function.
6821 (ses-cell-symbol): Set macro as safe, so that it can be used in
6822 formulas.
6823
56e6cc31 6824 * ses.el: Update cycle detection algorithm.
90ca8b49 6825 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 6826 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
6827 (ses-set-localvars): New function.
6828 (ses-make-cell): Add property-list as a cell element.
6829 (ses-cell-property-get-fun, ses-cell-property-get)
6830 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
6831 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6832 New functions.
90ca8b49
VB
6833 (ses-cell-property-set, ses-cell-property-pop)
6834 (ses-cell-property-get-handle): New macro.
6835 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6836 New aliases, used for code readability.
6837 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6838 cycle detection.
6839 (ses-self-reference-early-detection): New defcustom.
fac916bf 6840 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
6841 (ses-mode): Use ses-set-localvars.
6842 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6843 before lauching the update processing.
6844 (ses-initialize-Dijkstra-attempt): New function.
6845 (ses-recalculate-cell): Update for cycle detection based on
6846 Dijkstra algorithm.
6847
2bb63e81
VB
6848 * ses.el: Fix commenting and indenting convention.
6849
c9d29fb8
SM
68502011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6851
6852 * bs.el (bs-cycle-next): Complete last change.
6853
d8e4b68b
JB
68542011-06-27 Drew Adams <drew.adams@oracle.com>
6855
6856 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6857
40098786
LMI
68582011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6859
c9d29fb8
SM
6860 * net/network-stream.el (network-stream-open-starttls):
6861 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
6862 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6863
40098786
LMI
6864 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6865 to binary to possibly avoid line encoding issues on Windows (among
6866 other things).
6867
468d09d4
LMI
68682011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6869
6870 * net/network-stream.el (open-network-stream): Return an :error
6871 saying what the problem was, if possible.
6872
6873 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6874 server.
6875
6876 * net/network-stream.el (network-stream-open-starttls): If we
6877 wanted to use STARTTLS, and the server offered it, but we weren't
6878 able to because we had no STARTTLS support, then close the connection.
6879 (open-network-stream): Return an :error element, if present.
6880
16f07dd7
CY
68812011-06-26 Chong Yidong <cyd@stupidchicken.com>
6882
88821ca0
CY
6883 * hl-line.el (hl-line-sticky-flag): Doc fix.
6884 (global-hl-line-sticky-flag): New option (Bug#8323).
6885 (global-hl-line-highlight): Obey it.
6886
16f07dd7
CY
6887 * vc/vc.el (vc-revert-show-diff): Default to t.
6888
6b5ccddf
KM
68892011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6890
c9d29fb8
SM
6891 * allout-widgets.el (allout-widgets-post-command-business):
6892 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
6893 undecorated when an isearch is continued past, and isearch
6894 automatically collapses them. This leads to "widget leaks", where
6895 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
6896 hidden widgets can slow down cursor travel, substantially.
6897 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
6898 so we're doing without this nicety.
6899
6900 (allout-widgets-tally-string): Don't try to do a hash-table-count
6901 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6902 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6903 *Messages* when allout-widgets-maintain-tally is t.
6904
355f2e07
MR
69052011-06-26 Martin Rudalics <rudalics@gmx.at>
6906
6907 * window.el (display-buffer-normalize-argument): Rename to
6908 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
6909 LABEL argument. Respect special-display-function when popping up
6910 a new frame. Fix code searching for a window showing the buffer
6911 on another frame.
c9d29fb8
SM
6912 (display-buffer-normalize-specifiers):
6913 Call display-buffer-normalize-arguments.
355f2e07
MR
6914 (display-buffer-in-window): Don't undedicate the window if its
6915 buffer remains the same.
6916 Reported by Drew Adams <drew.adams@oracle.com>.
6917 (display-buffer-alist): Add choice for same-window macro
6918 specfier.
6919 (display-buffer): Mention special meaning of LABEL argument in
6920 doc-string. Fix quoting. Don't pop up a new frame even as
6921 fallback.
6922
7ca8fc42
JB
69232011-06-26 Juanma Barranquero <lekktu@gmail.com>
6924
6925 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6926 avoid deleting the current window in some cases (bug#8911).
6927
bc312254
AS
69282011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6929
6930 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6931 (Bug#8934)
6932
2db18f3f
LMI
69332011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6934
c9d29fb8
SM
6935 * net/network-stream.el (network-stream-open-starttls):
6936 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
6937 (network-stream-open-tls): Ditto.
6938
6302e0d3
LL
69392011-06-26 Leo Liu <sdl.web@gmail.com>
6940
6941 * register.el (registerv): New struct.
6942 (registerv-make): New function.
c9d29fb8
SM
6943 (jump-to-register, describe-register-1, insert-register):
6944 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
6945 struct. (Bug#8415)
6946
5fdd4046
CY
69472011-06-26 Chong Yidong <cyd@stupidchicken.com>
6948
2afef60a
CY
6949 * vc/vc.el (vc-revert-show-diff): New defcustom.
6950 (vc-diff-internal): New arg specifying diff buffer.
6951 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6952 reuse an existing *vc-diff* buffer (Bug#8927).
6953
5fdd4046
CY
6954 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6955
e93db24a
GM
69562011-06-26 Glenn Morris <rgm@gnu.org>
6957
6958 * progmodes/f90.el (f90-critical-indent): New option.
6959 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6960 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6961 (f90-mode): Doc fix.
6962 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6963 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6964 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6965 (f90-match-end): Handle block, critical.
6966
eefff499
GM
69672011-06-25 Glenn Morris <rgm@gnu.org>
6968
f6ba4cc9
GM
6969 * calendar/diary-lib.el (diary-included-files): Doc fix.
6970 (diary-include-files): New function, extracted from
6971 diary-include-other-diary-files and diary-mark-included-diary-files.
6972 (diary-include-other-diary-files, diary-mark-included-diary-files):
6973 Just call diary-include-files.
6974 (diary-mark-entries): Reset diary-included-files on first call.
6975
16712304
GM
6976 * calendar/diary-lib.el (diary-mark-entries)
6977 (diary-mark-included-diary-files):
6978 Visit included diary-files in temp buffers.
6979
5d8e0d43
GM
6980 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6981 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6982 (f90-start-block-re, f90-imenu-generic-expression)
6983 (f90-looking-at-program-block-start, f90-no-block-limit):
6984 Add support for submodules.
6985
ccf7a5d5
GM
6986 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6987 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 6988
11fdef7d 69892011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
6990
6991 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6992 buffer-file-type before setting its value, to avoid disastrous
eefff499 6993 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 6994
74f53697
JB
69952011-06-25 Juanma Barranquero <lekktu@gmail.com>
6996
6997 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6998
6999 * ses.el (ses-unload-function):
7000 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
7001
7002 * proced.el (proced-unload-function):
7003 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
7004
18a4ce5e
AR
70052011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
7006
7007 * server.el (server-create-window-system-frame): Add parameters arg.
7008 (server-process-filter): Doc fix. Handle frame-parameters.
7009
519d22cc
JB
70102011-06-25 Juanma Barranquero <lekktu@gmail.com>
7011
7012 Fix bug#8730, bug#8781.
7013
7014 * loadhist.el (unload--set-major-mode): New function.
7015 (unload-feature): Use it.
7016
7017 * progmodes/python.el (python-after-info-look): Add autoload cookie.
7018 (python-unload-function): New function.
7019
c206f5b0
SM
70202011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
7023
f9ad64f3
GS
70242011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
7025
7026 * net/browse-url.el (browse-url-firefox-program): Add icecat to
7027 the candidates list.
7028
7d0da90e
JB
70292011-06-24 Juanma Barranquero <lekktu@gmail.com>
7030
7031 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
7032
14b4e83d
RS
70332011-06-23 Richard Stallman <rms@gnu.org>
7034
7035 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
7036 (rmail-variables): Set next-error-move-function.
7037 (rmail-what-message): Take argument POS.
7038 (rmail-next-error-move): New function.
7039
273d2baf
SM
70402011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
7043 messages for adjacent non-terminals.
7044
56c2cc9a
RS
70452011-06-23 Richard Stallman <rms@gnu.org>
7046
7047 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 7048 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
7049 (rmail-start-mail): Don't specify use of rmail-mail-return;
7050 that's done by mail-bury now.
7051 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 7052
d59eb518
MA
70532011-06-23 Michael Albinus <michael.albinus@gmx.de>
7054
7055 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
7056 SIZE is a number.
7057
02cfc6d6
MR
70582011-06-23 Martin Rudalics <rudalics@gmx.at>
7059
7060 * window.el (get-lru-window, get-mru-window)
7061 (get-largest-window): Never return a minibuffer window.
7062 (display-buffer-pop-up-window): Fix a bug that could lead to
7063 reusing the minibuffer window.
7064 (display-buffer): Pass original specifier argument to
7065 display-buffer-function instead of the normalized one.
7066 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7067
4e323265
LL
70682011-06-22 Leo Liu <sdl.web@gmail.com>
7069
7070 * minibuffer.el (completing-read-function)
7071 (completing-read-default): Move from minibuf.c
7072
7a70468f
RS
70732011-06-22 Richard Stallman <rms@gnu.org>
7074
50718fc2
RS
7075 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
7076 to Rmail even if not started by a special Rmail command.
7077
7a70468f
RS
7078 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
7079 Copy the buffer currently showing just one message.
7080
297dde5a
RW
70812011-06-22 Roland Winkler <winkler@gnu.org>
7082
7083 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
7084 (bibtex-clean-entry): First delete the old key so that a
7085 customized algorithm for generating the new key does not get
7086 confused by the old key.
7087 (bibtex-url): Obey regexp of first step.
7088 (bibtex-search-entries): Do not use add-to-list with local
7089 list-var.
7090
97bb1093
LMI
70912011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7092
7093 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
7094 stored a user name, then query for the password first, instead of
7095 waiting for SMTP to give an error message and the trying again.
7096
1c0f1a19
JD
70972011-06-22 Lawrence Mitchell <wence@gmx.li>
7098
7099 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
7100 BUFFER in call-process.
7101
396f7c9d
LMI
71022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7103
7104 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
7105 QUIT twice.
ddb7ffee
LMI
7106 (smtpmail-try-auth-methods): Require user name and password from
7107 auth-source.
396f7c9d 7108
8998d1b3
MR
71092011-06-22 Martin Rudalics <rudalics@gmx.at>
7110
7111 * window.el (display-buffer-default-specifiers)
7112 (display-buffer-alist): Remove entries for pop-up-frame-alist.
7113 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 7114 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
7115
7116 * frame.el (pop-up-frame-alist, pop-up-frame-function)
7117 (special-display-frame-alist, special-display-popup-frame):
7118 Remove duplicate declarations. These are now in window.el.
7119
4ea31e07
LMI
71202011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7121
c9d29fb8
SM
7122 * mail/smtpmail.el (smtpmail-via-smtp):
7123 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
7124 server supports it. SMTP servers that support STARTTLS commonly
7125 require it.
7126
7127 * net/network-stream.el (network-stream-open-starttls): Support
7128 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 7129 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 7130
95f41d9a
LMI
7131 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
7132 upgrades with `open-network-stream', and rely solely on
7133 auth-source for all credentials. Big changes throughout the file,
7134 but in particular:
c9d29fb8
SM
7135 (smtpmail-auth-credentials): Remove.
7136 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
7137 (smtpmail-via-smtp): Check for servers saying they want AUTH after
7138 MAIL FROM, too.
95f41d9a 7139
c9d29fb8
SM
7140 * net/network-stream.el (network-stream-open-starttls):
7141 Provide support for client certificates both for external and built-in
4ea31e07
LMI
7142 STARTTLS.
7143 (auth-source): Require.
7144 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
7145 (network-stream-certificate): Change cert-cert to cert and
7146 cert-key to key.
4ea31e07 7147
065ec2c7
MA
71482011-06-21 Michael Albinus <michael.albinus@gmx.de>
7149
7150 * net/tramp-cache.el (top): Don't load the persistency file when
7151 "emacs -Q" has been called.
7152
cd93b359
DR
71532011-06-21 Tim Harper <timcharper@gmail.com>
7154
d8e4b68b
JB
7155 * term/ns-win.el (ns-initialize-window-system):
7156 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
7157 resource to NO as it is not yet supported by the NS port.
7158
ae9c0411
JB
71592011-06-21 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * misc.el (list-dynamic-libraries--refresh): Compute header here...
7162 (list-dynamic-libraries): ...not here.
7163
7f3f739f
LL
71642011-06-21 Leo Liu <sdl.web@gmail.com>
7165
7166 * subr.el (sha1): Implement sha1 using secure-hash.
7167
327c8fb1
MR
71682011-06-21 Martin Rudalics <rudalics@gmx.at>
7169
7170 * window.el (display-buffer-alist): In default value do not
7171 enforce searching a window on any but the selected frame.
7172 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
7173 (display-buffer-select-window): Remove function.
7174 (display-buffer-in-window): When a window on another frame gets
7175 reused, do not select it any more but just raise its frame if
7176 necessary (Bug#8851) and (Bug#8856).
7177 (display-buffer-normalize-options): Handle pop-up-frames related
7178 options more faithfully.
7179 (pop-to-buffer): Don't rely on `display-buffer' selecting the
7180 window if it is on another frame.
c9d29fb8
SM
7181 (display-buffer-alist, display-buffer-default-specifiers):
7182 Don't make new frame unsplittable by default.
9e9de014
MR
7183 (display-buffer-normalize-argument): Fix doc-string typo and use
7184 'same-frame-other-window instead of 'other-window when associating
7185 with display-buffer-macro-specifiers.
327c8fb1 7186
7cf3f556
VB
71872011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
7188
7189 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
7190 New functions.
7191 (5x5-mode-map, 5x5-mode-menu): Bind them.
7192 (5x5-draw-grid): Tweak the solver's rendering.
7193
60a406cf
SM
71942011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
7197 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
7198
d8e4b68b 71992011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
7200
7201 * menu-bar.el: Use function variable instead of switch-to-buffer.
7202 (menu-bar-select-buffer-function): New variable.
60a406cf 7203 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 7204
478d6f95
SM
72052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
7208 variable's status.
7209
ca530739
JD
72102011-06-20 Jan Djärv <jan.h.d@swipnet.se>
7211
7212 * x-dnd.el (x-dnd-version-from-flags)
7213 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
7214 and long as number (Bug#8899).
7215 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
7216
bcd70d97
SM
72172011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7218
60a406cf 7219 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
7220 (completion-try-completion, completion-all-completions): Compute the
7221 metadata argument if it's missing; make it optional (bug#8795).
7222
60a406cf 7223 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
7224 (widget-complete): Use new :completion-function property.
7225 (widget-completions-at-point): New function.
7226 (default): Use :completion-function instead of :complete.
60a406cf
SM
7227 (widget-default-completions): Rename from widget-default-complete;
7228 Rewrite.
bcd70d97
SM
7229 (widget-string-complete, widget-file-complete, widget-color-complete):
7230 Remove functions.
7231 (file, symbol, function, variable, coding-system, color):
7232 * international/mule-cmds.el (default-input-method, charset)
7233 (language-info-custom-alist):
7234 * cus-edit.el (face): Use new property :completions.
7235
7236 * progmodes/pascal.el (pascal-completions-at-point): New function.
7237 (pascal-mode): Use it.
7238 (pascal-mode-map): Use completion-at-point.
7239 (pascal-toggle-completions): Make obsolete.
7240 (pascal-complete-word, pascal-show-completions):
7241 * progmodes/octave-mod.el (octave-complete-symbol):
7242 Redefine as obsolete alias.
7243 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
7244 Signal absence of completion info for old Octave,
7245 (inferior-octave-complete): Redefine as obsolete alias.
7246 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
7247 (meta-completions-at-point): Rename from meta-complete-symbol and
7248 adapt it for use on completion-at-point-functions.
7249 (meta-common-mode): Use it.
7250 (meta-looking-at-backward, meta-match-buffer): Remove.
7251 (meta-complete-symbol): Redefine as obsolete alias.
7252 (meta-common-mode-map): Use completion-at-point.
7253 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7254 (makefile-mode-map): Use completion-at-point.
7255 (makefile-completions-at-point): Rename from makefile-complete and
7256 adapt it for use on completion-at-point-functions.
7257 (makefile-mode): Use it.
7258 (makefile-complete): Redefine as obsolete alias.
7259
aebf69c8
DD
72602011-06-20 Deniz Dogan <deniz@dogan.se>
7261
7262 * net/rcirc.el: Delete trailing whitespaces once and for all.
7263
bfbbb27d
DC
72642011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7265
7266 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7267
d264a46b
CY
72682011-06-19 Chong Yidong <cyd@stupidchicken.com>
7269
4ca009e5
CY
7270 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7271
d264a46b
CY
7272 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7273
fbf5b3ce
MR
72742011-06-19 Martin Rudalics <rudalics@gmx.at>
7275
7276 * window.el (display-buffer-other-window-means-other-frame):
7277 Call display-buffer-normalize-alist.
7278 (display-buffer-normalize-specifiers-1): Rename to
7279 display-buffer-normalize-argument. New argument other-frame.
7280 Rewrite.
7281 (display-buffer-normalize-specifiers-2): Rename to
7282 display-buffer-normalize-options.
7283 (display-buffer-normalize-alist-1): New function.
7284 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
7285 display-buffer-normalize-alist.
7286 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
7287 (display-buffer-normalize-options-inhibit): New variable.
7288 (display-buffer-normalize-specifiers): Rewrite calling
7289 display-buffer-normalize-alist,
7290 display-buffer-normalize-argument, and
7291 display-buffer-normalize-options. Don't call the latter if
7292 display-buffer-normalize-options-inhibit is non-nil.
7293 (frame-auto-delete): New option.
7294 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
7295 (window-list-no-nils, window-state-ignored-parameters)
7296 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
7297 (window-state-put-1, window-state-put-2, window-state-put):
7298 New functions.
9a028c23
MR
7299 (display-buffer-normalize-options): Move special-display-p group
7300 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 7301
6d10d800
CY
73022011-06-18 Chong Yidong <cyd@stupidchicken.com>
7303
6420d28b
CY
7304 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7305 groups (Bug#8776).
7306 (rx-submatch-n): New function.
7307 (rx): Document it.
7308
ddb8b596
CY
7309 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7310 (Bug#8768).
7311
7312 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7313
77080289
CY
7314 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7315
61dfb316
CY
7316 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7317 anytime existing face settings are present (Bug#8889).
7318
6d10d800
CY
7319 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7320 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7321 Remove unused argument.
7322
be3fb2b8
MR
73232011-06-18 Martin Rudalics <rudalics@gmx.at>
7324
bcd70d97
SM
7325 * window.el (display-buffer-default-specifiers):
7326 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
7327 pop-up-window-min-width, and another reuse-window specifier
7328 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
7329 (display-buffer-normalize-specifiers-2):
7330 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
7331 pop-up-windows is unset. Add a reuse-window specifier for the
7332 case popping up a new window fails.
7333 (special-display-popup-frame): Remove double quoting.
28dec25a 7334 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 7335
1c6d8c76
SM
73362011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7339 according to comint-completion-addsuffix.
7340
7341 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7342 (pcomplete-suffix-list): Mark as obsolete.
7343 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7344 pcomplete-seen in the closure.
7345 (pcomplete-comint-setup): Setup completion-at-point as well.
7346 (pcomplete--entries): New function.
7347 (pcomplete--env-regexp): New var.
7348 (pcomplete-entries): Rewrite to work with partial-completion and
7349 without relying on pcomplete-suffix-list.
7350 (pcomplete-pare-list): Remove, unused.
7351
25aef8b8
MR
73522011-06-17 Martin Rudalics <rudalics@gmx.at>
7353
7354 * window.el (display-buffer-alist): Set pop-up-window-min-height
7355 and pop-up-window-min-width in default value. Reported by
7356 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7357 other-window-means-other-frame.
7358 (display-buffer-macro-specifiers): Comment out entry for
7359 other-window specifier.
7360 (display-buffer-other-window-means-other-frame): New function.
7361 (display-buffer-normalize-specifiers-1): New arguments
7362 buffer-name and label. Treat other-window case specially.
7363 (display-buffer-normalize-specifiers-2): Treat other-window case
7364 specially.
7365 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
7366 (display-buffer-normalize-specifiers):
7367 Call display-buffer-normalize-specifiers-3.
25aef8b8 7368
dbad4f69
MR
73692011-06-17 Martin Rudalics <rudalics@gmx.at>
7370
7371 * window.el (same-window-p): Fix two typos introduced when
7372 adding with-no-warnings.
d1067961
MR
7373 (display-buffer-normalize-specifiers-1): Don't check
7374 pop-up-frames for 'unset initialization.
7375 (display-buffer-normalize-specifiers-2): Major rewrite using
7376 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7377 (pop-up-frames, display-buffer-reuse-frames)
7378 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7379 Suggested by David Engster <deng@randomsample.de>.
7380 (even-window-heights): Initialize to 'unset.
7381 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
7382 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7383 other window case.
dbad4f69 7384
9b9c9e3a
MR
73852011-06-16 Martin Rudalics <rudalics@gmx.at>
7386
bcd70d97
SM
7387 * window.el (display-buffer-normalize-specifiers-1):
7388 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 7389 second argument of display-buffer (Bug#8865).
981d5c09
MR
7390 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7391 (switch-to-buffer-other-window-same-frame)
7392 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7393 Adams (Bug#8875).
9c2755e9
MR
7394 (display-buffer): Don't check noninteractive when calling
7395 display-buffer-pop-up-frame.
7396 (display-buffer-pop-up-frame): Never pop up a frame in
7397 noninteractive mode (Bug#8857).
67222e1d
MR
7398 (enlarge-window, shrink-window): Don't report an error when the
7399 window can't be resized as requested (Bug#8862).
9b9c9e3a 7400
2b75be67
SM
74012011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7402
9ffdd3ba
SM
7403 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7404
cb581a67
SM
7405 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7406
2b75be67
SM
7407 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7408
8c0e3589
AM
74092011-06-15 Alan Mackenzie <acm@muc.de>
7410
cb581a67
SM
7411 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7412 for declarators, disable knr checking to speed up for normal files.
7413 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 7414
b96e6cde
LMI
74152011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7416
4bba86e6
LMI
7417 * net/network-stream.el (open-network-stream): Add the keyword
7418 :always-query-capabilities for the case where you want to force a
7419 `plain' network connection, but the protocol still requires the
7420 capabilitiy command (i.e., SMTP and EHLO).
7421
2b75be67 7422 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
7423 consistency with other `-live-p' functions.
7424
efdcdbf8
SM
74252011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * window.el (same-window-buffer-names, same-window-regexps)
7428 (special-display-frame-alist, special-display-popup-frame)
7429 (special-display-function, special-display-buffer-names)
7430 (special-display-regexps, pop-up-frame-alist)
7431 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7432 (pop-up-windows, split-window-preferred-function)
7433 (split-height-threshold, split-width-threshold, even-window-heights)
7434 (display-buffer-mark-dedicated): Don't encourage the use of
7435 display-buffer-alist from Elisp code.
7436
c5cde042
DN
74372011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7438
7439 * progmodes/python.el (python-mode): Derive from prog-mode.
7440 * progmodes/ps-mode.el (ps-mode):
7441 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 7442 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
7443 * progmodes/ld-script.el (ld-script-mode): Likewise.
7444
baa1c9ab
MR
74452011-06-15 Martin Rudalics <rudalics@gmx.at>
7446
7447 * window.el (display-buffer-alist): Trim default value to avoid
7448 popping up a new frame (Bug#8857) or reusing an arbitrary window
7449 on another frame.
7450 (display-buffer): Do not fall back on popping up a new frame in
7451 batch mode (Bug#8857).
7452
c5dd5a51
CY
74532011-06-14 Chong Yidong <cyd@stupidchicken.com>
7454
7455 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7456 (custom-theme-summary): New function.
7457 (customize-themes): Use it.
7458
d647b7c4
GM
74592011-06-13 Glenn Morris <rgm@gnu.org>
7460
7461 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7462
9481c002
MR
74632011-06-13 Martin Rudalics <rudalics@gmx.at>
7464
357f93d2
MR
7465 * help.el (help-window): Remove variable.
7466 (help-window-point-marker, temp-buffer-max-height)
7467 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7468 (help-print-return-message): Don't set help-window.
7469 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7470 (help-window-setup-finish): Remove.
7471 (help-window-display-message, help-window-setup)
7472 (with-help-window): Major rewrite based on new
7473 display-buffer-window variable.
7474
7475 * help-mode.el (help-mode-finish): Remove help-window related
7476 code.
7477
7478 * view.el (view-exits-all-viewing-windows): Remove reference to
7479 view-return-to-alist in doc-string.
7480 (view-return-to-alist): Make obsolete.
7481 (view-buffer): Call pop-to-buffer-same-window and remove
7482 undo-window code.
7483 (view-buffer-other-window): Call pop-to-buffer-other-window and
7484 simplify code. Ignore second argument.
7485 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7486 simplify code. Ignore second argument.
7487 (view-return-to-alist-update): Make obsolete.
7488 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7489 Rewrite using quit-restore window parameters.
2b75be67
SM
7490 (view-mode-exit): Rename second argument to EXIT-ONLY.
7491 Rewrite using quit-restore-window.
357f93d2
MR
7492 (View-exit, View-exit-and-edit, View-leave, View-quit)
7493 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7494 appropriate arguments.
7495 (view-end-message): Use quit-restore window parameter.
7496
9481c002
MR
7497 * window.el (display-buffer-function): Rewrite doc-string.
7498 (display-buffer-window, display-buffer-alist): New variables.
7499 (display-buffer-split-specifiers)
7500 (display-buffer-side-specifiers)
7501 (display-buffer-macro-specifiers): New constants.
7502 (display-buffer-even-window-sizes, display-buffer-set-height)
7503 (display-buffer-set-width, display-buffer-select-window)
7504 (display-buffer-in-window, display-buffer-reuse-window)
7505 (display-buffer-split-window-1, display-buffer-split-window)
7506 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7507 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7508 (display-buffer-in-side-window, normalize-buffer-to-display)
7509 (display-buffer-normalize-specifiers-1)
7510 (display-buffer-normalize-specifiers-2)
2b75be67
SM
7511 (display-buffer-normalize-specifiers, display-buffer-frame):
7512 New functions.
9481c002
MR
7513 (display-buffer): Major rewrite.
7514 (display-buffer-other-window, display-buffer-other-frame)
7515 (pop-to-buffer, switch-to-buffer-other-window)
7516 (switch-to-buffer-other-frame): Rewrite.
7517 (display-buffer-same-window, display-buffer-same-frame)
7518 (display-buffer-same-frame-other-window)
7519 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7520 (pop-to-buffer-other-window)
7521 (pop-to-buffer-same-frame-other-window)
7522 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7523 (switch-to-buffer-other-window-same-frame): New functions.
7524 (same-window-p, special-display-p): Rewrite disabling warnings.
7525 Make obsolete.
7526 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7527 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7528 Make obsolete
7529 (same-window-buffer-names, same-window-regexps)
7530 (special-display-frame-alist, special-display-popup-frame)
7531 (special-display-function, special-display-buffer-names)
7532 (special-display-regexps, pop-up-frame-alist)
7533 (pop-up-frame-function, split-window-preferred-function)
7534 (split-height-threshold, split-width-threshold)
7535 (even-window-heights): Make obsolete.
7536
9db51aca
GM
75372011-06-12 Glenn Morris <rgm@gnu.org>
7538
7539 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 7540 Misc simplifications.
9db51aca 7541
39cffb44
MR
75422011-06-12 Martin Rudalics <rudalics@gmx.at>
7543
7544 * window.el (window-safely-shrinkable-p): Restore function which
7545 was inadvertently removed in change from 2011-06-11. Declare as
7546 obsolete.
7547
2b75be67
SM
7548 * calendar/calendar.el (calendar-generate-window):
7549 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
7550 window-safely-shrinkable-p.
7551
a8955be7
GM
75522011-06-12 Glenn Morris <rgm@gnu.org>
7553
7554 * progmodes/fortran.el (fortran-mode-syntax-table):
7555 * progmodes/f90.el (f90-mode-syntax-table):
7556 Set % to punctuation. (Bug#8820)
7557 (f90-find-tag-default): Remove, no longer needed.
7558
f0d4059d
DC
75592011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7560
7561 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7562
1100a63c
CY
75632011-06-11 Chong Yidong <cyd@stupidchicken.com>
7564
7565 * image.el (image-animated-p): Return animation delay in seconds.
7566 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7567 (image-animate-timeout): Remove DELAY argument. Don't assume
7568 every subimage has the same delay; get it from image-animated-p.
7569 (image-animate): Caller changed.
7570
def722bf
MA
75712011-06-11 Michael Albinus <michael.albinus@gmx.de>
7572
7573 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7574 to ignored backtrace functions.
7575
0a2bb1a9
GM
75762011-06-11 Glenn Morris <rgm@gnu.org>
7577
7578 * calendar/appt.el (appt-disp-window-function): Doc fix.
7579 (appt-check): Handle overlapping appointments. (Bug#8337)
7580
6198ccd0
MR
75812011-06-11 Martin Rudalics <rudalics@gmx.at>
7582
7583 * window.el (window-tree-1, window-tree): New functions, moving
7584 the latter to window.el.
7585 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7586 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7587 (bw-refresh-edges): Remove.
7588 (balance-windows-1, balance-windows-2): New functions.
7589 (balance-windows): Rewrite in terms of window tree functions,
7590 balance-windows-1 and balance-windows-2.
7591 (bw-adjust-window): Remove.
7592 (balance-windows-area-adjust): New function with functionality of
7593 bw-adjust-window but using resize-window.
2b75be67
SM
7594 (set-window-text-height): Rewrite doc-string.
7595 Use normalize-live-window and resize-window.
7596 (enlarge-window-horizontally, shrink-window-horizontally):
7597 Rename argument to DELTA.
6198ccd0
MR
7598 (window-buffer-height): New function.
7599 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7600 Rewrite using new window resize routines.
2b75be67
SM
7601 (kill-buffer-and-window, mouse-autoselect-window-select):
7602 Use ignore-errors instead of condition-case.
6198ccd0
MR
7603 (quit-window): Call delete-frame instead of delete-windows-on
7604 for the only buffer on frame.
7605
9397e56f
MR
76062011-06-10 Martin Rudalics <rudalics@gmx.at>
7607
7608 * loadup.el (top-level): Load window before files for the sake
7609 of replace-buffer-in-windows.
7610
7611 * files.el (read-buffer-to-switch)
7612 (switch-to-buffer-other-window)
2b75be67
SM
7613 (switch-to-buffer-other-frame, display-buffer-other-frame):
7614 Move to window.el.
9397e56f
MR
7615
7616 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7617 (previous-buffer): Move to window.el.
7618
7619 * bindings.el (unbury-buffer): Move to window.el.
7620
7621 * window.el (delete-other-windows-vertically): Move after
7622 definition of delete-other-windows.
7623 (other-window, delete-windows-on, replace-buffer-in-windows):
7624 Move here from window.c.
7625 (record-window-buffer, unrecord-window-buffer)
7626 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7627 (switch-to-next-buffer): New functions.
7628 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7629 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
7630 (previous-buffer): Move here from simple.el.
7631 Call switch-to-prev-buffer.
9397e56f
MR
7632 (bury-buffer): Move here from buffer.c. Switch to previous
7633 buffer when window cannot be deleted.
7634 (unbury-buffer): Move here from bindings.el.
7635 (ctl-x-map): Move binding for other-window from window.c to
7636 here.
7637 (read-buffer-to-switch, switch-to-buffer-other-window)
7638 (switch-to-buffer-other-frame): Move here from files.el.
7639 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
7640 (switch-to-buffer): Move here from buffer.c.
7641 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 7642
562dd5e9
MR
76432011-06-10 Martin Rudalics <rudalics@gmx.at>
7644
7645 * window.el (window-min-height, window-min-width): Move here
7646 from window.c. Add defcustoms and rewrite doc-strings.
7647 (resize-mini-window, resize-window): New functions.
7648 (adjust-window-trailing-edge, enlarge-window, shrink-window):
7649 Move here from window.c.
7650 (maximize-window, minimize-window): New functions.
7651 (delete-window, delete-other-windows, split-window): Move here
7652 from window.c.
7653 (window-split-min-size): New function.
7654 (split-window-keep-point): Mention split-window-above-each-other
7655 instead of split-window-vertically.
2b75be67 7656 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
7657 Rename split-window-vertically to split-window-above-each-other
7658 and provide defalias for old definition.
7659 (split-window-side-by-side, split-window-horizontally):
7660 Rename split-window-horizontally to split-window-side-by-side
7661 and provide defalias for the old definition.
562dd5e9
MR
7662 (ctl-x-map): Move bindings for delete-window,
7663 delete-other-windows and enlarge-window here from window.c.
7664 Replace bindings for split-window-vertically and
7665 split-window-horizontally by bindings for
7666 split-window-above-each-other and split-window-side-by-side.
7667
7668 * cus-start.el (all): Remove entries for window-min-height and
7669 window-min-width. Add entries for window-splits and
7670 window-nest.
7671
f0da764a
GM
76722011-06-09 Glenn Morris <rgm@gnu.org>
7673
80675c21
GM
7674 * calendar/appt.el (appt-mode-line): New function.
7675 (appt-check, appt-disp-window): Use it.
7676
f0da764a
GM
7677 * files.el (hack-one-local-variable-eval-safep):
7678 Allow minor-modes with explicit +/-1 arguments.
7679
59f623b7
TZ
76802011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
7681
7682 * term/xterm.el (xterm): Add defgroup.
7683 (xterm-extra-capabilities): Add defcustom to supply known xterm
7684 capabilities, skip querying them, or query them (default).
7685 (terminal-init-xterm): Use it.
7686 (terminal-init-xterm-modify-other-keys): New function to set up
7687 modifyOtherKeys support to simplify `terminal-init-xterm'.
7688
9aab8e0d
MR
76892011-06-09 Martin Rudalics <rudalics@gmx.at>
7690
7691 * window.el (resize-window-reset, resize-window-reset-1)
7692 (resize-subwindows-skip-p, resize-subwindows-normal)
7693 (resize-subwindows, resize-other-windows, resize-this-window)
7694 (resize-root-window, resize-root-window-vertically)
7695 (window-deletable-p, window-or-subwindow-p)
7696 (frame-root-window-p): New functions.
7697
e8b08aee
GM
76982011-06-09 Glenn Morris <rgm@gnu.org>
7699
7700 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7701 (ange-ftp-get-files): Use it.
7702
254c37a5
AK
77032011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7704
7705 * mail/sendmail.el (mail-recover-1, mail-recover):
7706 * files.el (recover-file, recover-session):
7707 Handle dired-listing-switches not being just a single short option.
7708
35d7dbd3
GM
77092011-06-09 Glenn Morris <rgm@gnu.org>
7710
7711 * calendar/appt.el (appt-display-message, appt-disp-window):
7712 Handle lists of appointments.
7713
387522b2
MR
77142011-06-08 Martin Rudalics <rudalics@gmx.at>
7715
2b75be67
SM
7716 * window.el (one-window-p): Move down in code.
7717 Rewrite doc-string.
7718 (window-current-scroll-bars): Rewrite doc-string.
7719 Normalize live window argument.
387522b2
MR
7720 (walk-windows, get-window-with-predicate, count-windows):
7721 Rewrite doc-string. Use window-list-1.
7722 (window-in-direction-2, window-in-direction, get-mru-window):
7723 New functions.
7724
d8e4b68b 77252011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
7726
7727 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7728 Doc fix (Bug#8713).
7729
77302011-06-08 Chong Yidong <cyd@stupidchicken.com>
7731
7732 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7733
77342011-06-08 Juanma Barranquero <lekktu@gmail.com>
7735
7736 * loadhist.el (unload-feature-special-hooks):
7737 Add `comint-output-filter-functions'.
7738
0de12c52
IK
77392011-06-08 Ivan Kanis <gnu@kanis.fr>
7740
7741 * calendar/appt.el (appt-check): Move some initializations into the let.
7742
f3d1777e
MR
77432011-06-08 Martin Rudalics <rudalics@gmx.at>
7744
7745 * window.el (window-height): Defalias to window-total-height.
7746 (window-width): Defalias to window-body-width.
7747
18af70d0
CY
77482011-06-07 Chong Yidong <cyd@stupidchicken.com>
7749
7750 * image-mode.el (image-toggle-animation): New command.
7751 (image-mode-map): Bind it to RET.
7752 (image-mode): Update message.
7753 (image-toggle-display-image): Avoid a spurious cache flush.
7754 (image-transform-rotation): Doc fix.
7755 (image-transform-properties): Return quickly in the normal case.
7756 (image-animate-loop): Rename from image-animate-max-time.
7757
2b75be67 7758 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
7759 (create-animated-image): Remove unnecessary function.
7760 (image-animate): Rename from image-animate-start. New arg.
2b75be67 7761 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
7762 (image-animate-timer): Use car-safe.
7763 (image-animate-timeout): Rename argument.
7764
190b47e6
MR
77652011-06-07 Martin Rudalics <rudalics@gmx.at>
7766
7767 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
7768 window.c. Rename first argument to ALL-FRAMES.
7769 Rephrase doc-strings.
7770 (get-buffer-window-list): Rewrite using window-list-1.
7771 Rephrase doc-string.
a1511caf
MR
7772 (window-safe-min-height, window-safe-min-width): New constants.
7773 (window-size-ignore, window-min-size, window-min-size-1)
7774 (window-sizable, window-sizable-p, window-size-fixed-1)
7775 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7776 (window-max-delta-1, window-max-delta, window-resizable)
7777 (window-resizable-p, window-total-height, window-total-width)
7778 (window-body-width): New functions.
7779 (window-full-height-p, window-full-width-p): Rewrite using
7780 window-total-size.
7781 (window-body-height): Rewrite using window-body-size.
190b47e6 7782
85cc1f11
MR
77832011-06-06 Martin Rudalics <rudalics@gmx.at>
7784
7785 * window.el (window-right, window-left, window-child)
7786 (window-child-count, window-last-child, window-any-p)
7787 (normalize-live-buffer, normalize-live-frame)
7788 (normalize-any-window, normalize-live-window)
7789 (window-iso-combination-p, window-iso-combined-p)
7790 (window-iso-combinations)
7791 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7792 (windows-with-parameter, window-with-parameter)
7793 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
7794 (window-atom-check, window-side-check, window-check):
7795 New functions.
85cc1f11
MR
7796 (ignore-window-parameters, window-sides, window-sides-vertical)
7797 (window-sides-slots): New variables.
7798 (window-size-fixed): Move down in code. Minor doc-string fix.
7799
e7156492
AS
78002011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7801
7802 * comint.el (comint-dynamic-complete-as-filename)
7803 (comint-dynamic-complete-filename): Correctly call
7804 completion-in-region.
7805
7e821d0d
DD
78062011-06-05 Deniz Dogan <deniz@dogan.se>
7807
7808 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7809 in last change.
7810
ac09b8a1
DD
78112011-06-05 Deniz Dogan <deniz@dogan.se>
7812
7813 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7814 (rcirc): Use it to prompt for encryption.
7815
34699b85
RW
78162011-06-05 Roland Winkler <winkler@gnu.org>
7817
7818 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7819 (bibtex-search-entries): New command bound to C-c C-a.
7820 (bibtex-display-entries): New function.
7821
004dedd3
RW
78222011-06-05 Roland Winkler <winkler@gnu.org>
7823
7824 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7825 (bibtex-insert-kill): After yanking insert newline if necessary.
7826 (bibtex-initialize): Call bibtex-string-files-init only once.
7827 (bibtex-mode): Do not call easy-menu-add.
7828 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7829 (bibtex-yank): Set arg properly if nil.
7830
022fe7ce
RW
78312011-06-05 Roland Winkler <winkler@gnu.org>
7832
2b75be67
SM
7833 * textmodes/bibtex.el (bibtex-search-entry-globally):
7834 New variable.
022fe7ce
RW
7835 (bibtex-search-entry): Use it.
7836
b7c3692a
RW
78372011-06-05 Roland Winkler <winkler@gnu.org>
7838
7839 * textmodes/bibtex.el (bibtex-entry-format): New option
7840 sort-fields.
7841 (bibtex-format-entry, bibtex-reformat): Honor this option.
7842 (bibtex-parse-entry): Return fields in proper order.
7843
8eda563d
JB
78442011-06-05 Juanma Barranquero <lekktu@gmail.com>
7845
7846 * doc-view.el (doc-view-remove-if): Move computation of result out
7847 of `dolist' to silence misleading lexical-binding warning.
7848
7dbe3dbc
CY
78492011-06-04 Chong Yidong <cyd@stupidchicken.com>
7850
7851 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7852 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7853
0c33dd17
MA
78542011-06-04 Michael Albinus <michael.albinus@gmx.de>
7855
7856 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7857 "SunOS 5.10".
7858
f8f91c2b
MA
78592011-06-04 Michael Albinus <michael.albinus@gmx.de>
7860
7861 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7862 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7863 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7864 (tramp-parse-putty):
7865 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7866 (tramp-completion-function-alist-ssh)
7867 (tramp-completion-function-alist-telnet)
7868 (tramp-completion-function-alist-su)
7869 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7870 cookie.
7871
7872 * net/tramp-ftp.el:
7873 * net/tramp-sh.el:
7874 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7875 load "tramp.el" `tramp-set-completion-function'.
7876
e17d9003
SM
78772011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7878
7879 * shell.el: Require and use pcomplete.
7880 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7881 (shell-completion-vars): Set pcomplete-default-completion-function.
7882
6c4cab03
DD
78832011-06-04 Deniz Dogan <deniz@dogan.se>
7884
7885 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7886 `memq' (Bug#8799).
7887
ea9fafe0
SM
78882011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7891
b3e945d3
JB
78922011-06-02 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7895 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7896 * vc/log-view.el (log-view-beginning-of-defun):
7897 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7898 (smerge-refine-forward, smerge-refine-chopup-region):
7899 Silence warning for unused `dotimes' counter variables.
7900
7d520089
SM
79012011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7902
7903 * net/tramp.el (tramp-with-progress-reporter): Rename from
7904 with-progress-reporter. Use `declare'.
7905 * net/tramp-smb.el:
7906 * net/tramp-sh.el:
7907 * net/tramp-gvfs.el: Update all uses.
7908
a1c2400f
JB
79092011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7910
7911 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7912 buffer isn't killed before making it current.
7913
2403c841
SM
79142011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7915
7916 Silence various byte-compiler warnings.
7917 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7918 `access-type' and new obsolescence format.
7919 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7920 new format.
7921 (byte-compile-check-variable): New `access-type' argument.
7922 Only warn if the access-type is obsolete.
7923 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7924 (byte-compile-variable-set): Adjust callers.
7925 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7926 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7927 setting it as obsolete.
7928 * simple.el (minibuffer-completing-symbol):
7929 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7930 access as obsolete.
7931 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7932 obsolete yet.
7933 * international/quail.el (quail-mouse-choose-completion): Remove unused
7934 code referring to obsolete var.
7935 (quail-choose-completion-string): Remove.
7936 * server.el (server-clients-with, server-kill-buffer-query-function)
7937 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7938 * proced.el (proced-send-signal):
7939 * emacs-lisp/lisp.el (lisp-complete-symbol):
7940 Replace completion-annotate-function with completion-extra-properties.
7941
2462470b
SM
79422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7943
fb5b2591
SM
7944 * simple.el (goto-line): Use read-number.
7945 (overriding-map-is-bound): Remove.
7946 (saved-overriding-map): Change default.
7947 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7948 Take the map as argument.
7949 (universal-argument, negative-argument, digit-argument): Use it.
7950 (restore-overriding-map): Adjust.
7951 (do-auto-fill): Use fill-forward-paragraph.
7952 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7953
fd6fa53f
SM
7954 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7955 (minibuffer-inactive-mode): New major mode.
7956 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7957 the *Messages* buffer" hack.
7958 (mouse-popup-menubar): Don't burp if the event is a normal key.
7959
2462470b
SM
7960 Miscellaneous tweaks.
7961 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7962 lexical scoping as in subr.el's dolist and dotimes.
7963 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7964 Silence compiler warning.
7965 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7966 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7967 * international/ccl.el (ccl-compile): Trivial simplification.
7968 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7969 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7970 `printflag' argument.
7971 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7972 Purecopy the whole obsolescence data.
7973
108bf785
LL
79742011-06-01 Leo Liu <sdl.web@gmail.com>
7975
7976 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7977 improve doc-string as suggested by Marco Pessotto
7978 <melmothx@gmail.com>.
7979 (rcirc-print): Fix last change.
7980
30a23501
SM
79812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * minibuffer.el (complete-with-action): Return nil for the metadata and
7984 boundaries of non-functional tables.
7985 (completion-table-dynamic): Return nil for the metadata.
7986 (completion-table-with-terminator): Add default case, using
7987 complete-with-action.
7988 (completion--metadata): New function.
7989 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7990 to try and avoid pathological performance problems.
7991 (completion--embedded-envvar-table): Return `category' metadata.
7992
bcd54f83
LMI
79932011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7994
7995 * subr.el (process-alive-p): New tiny convenience function.
7996
e227544d
SM
79972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
8000 content but also its previous major mode.
8001
e8296fdc
HE
80022011-05-31 Helmut Eller <eller.helmut@gmail.com>
8003
4d61f28d 8004 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
8005 *Backtrace* buffer when we exit with C-M-c.
8006
620c53a6
SM
80072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * minibuffer.el: Add metadata method to completion tables.
8010 (completion-category-overrides): New defcustom.
8011 (completion-metadata, completion--field-metadata)
8012 (completion-metadata-get, completion--styles)
8013 (completion--cycle-threshold): New functions.
8014 (completion-try-completion, completion-all-completions):
8015 Add `metadata' argument to choose completion-styles.
8016 (completion--do-completion): Use metadata to choose cycling.
8017 (completion-all-sorted-completions): Use metadata for sorting.
8018 Remove :completion-cycle-penalty which is not needed any more.
8019 (completion--try-word-completion): Add `metadata' argument.
8020 (minibuffer-completion-help): Check metadata for annotation function
8021 and sorting.
8022 (completion-file-name-table): Return `category' metadata.
8023 (minibuffer-completing-file-name): Make obsolete.
8024 * simple.el (minibuffer-completing-symbol): Make obsolete.
8025 * icomplete.el (icomplete-completions): Pass new `metadata' param to
8026 completion-try-completion.
8027
1257e755
SM
80282011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
8031
3767e706
LL
80322011-05-30 Leo Liu <sdl.web@gmail.com>
8033
8034 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
8035 (rcirc-print): Decode all incoming messages (bug#8744).
8036 (rcirc-decode-coding-system): Allow value nil for automatic coding
8037 system detection.
3767e706 8038
d1a5d56a
GM
80392011-06-01 Glenn Morris <rgm@gnu.org>
8040
8041 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
8042
e8cbec34
CY
80432011-05-29 Chong Yidong <cyd@stupidchicken.com>
8044
8045 * image.el (image-animate-max-time): Allow nil and t values.
8046 Default to nil.
8047 (create-animated-image): Doc fix.
8048 (image-animate-start): Remove second arg; just use
8049 image-animate-max-time.
8050 (image-animate-timeout): Doc fix. Args changed.
8051
8052 * image-mode.el (image-toggle-display-image): Ensure that the
8053 image spec passed to the animate timer is the same object as in
58179cce 8054 the buffer's display property (Bug#6981).
e8cbec34
CY
8055 (image-transform-properties): Doc fix.
8056
8057 * image.el (image-animate-max-time): Default to nil.
8058
159daf87
MR
80592011-05-29 Martin Rudalics <rudalics@gmx.at>
8060
8061 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
8062 entire buffer list (Bug#8184).
8063
d66c4c7c
CY
80642011-05-29 Chong Yidong <cyd@stupidchicken.com>
8065
8066 * image.el (imagemagick-types-inhibit)
8067 (imagemagick-register-types): Doc fix.
8068
80aec780
DD
80692011-05-29 Deniz Dogan <deniz@dogan.se>
8070
8071 * net/rcirc.el (rcirc): Use the user's stored encryption method by
8072 default.
8073
1dd3c2d9
CY
80742011-05-29 Chong Yidong <cyd@stupidchicken.com>
8075
8076 * select.el: Don't perform clipboard-manager saving in hooks;
8077 leave the hooks empty.
8078
60e56523
LL
80792011-05-28 Leo Liu <sdl.web@gmail.com>
8080
8081 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
8082 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
8083 (occur-edit-mode): New major mode (Bug#8463).
8084 (occur-after-change-function): New function.
8085 (occur-engine): Give Occur tags a read-only property.
8086
2b1e1a22
KR
80872011-05-28 Kevin Ryde <user42@zip.com.au>
8088
8089 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
8090
5d344e88
CY
80912011-05-28 Chong Yidong <cyd@stupidchicken.com>
8092
8e6ca83d
CY
8093 * bindings.el (help-echo): Make the initial non-indicator dash
8094 empty on graphical terminals (Bug#7295).
8095
5d344e88
CY
8096 * files.el (auto-mode-alist): Move config rule after the
8097 in-stripping one (Bug#8547).
8098
bfbbace7
CY
8099 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
8100
fbeba6e2
CY
8101 * startup.el (normal-splash-screen): Remove gratuitous mode-line
8102 setting (Bug#8740).
8103
60ed8c72
AA
81042011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
8105
4ac619f0
AA
8106 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
8107 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
8108 (Bug#8539).
60ed8c72 8109
23db196e
CY
81102011-05-28 Chong Yidong <cyd@stupidchicken.com>
8111
8112 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
8113
5012f24c
DK
81142011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
8115
8116 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8117 (hs-hide-block-at-point, hs-find-block-beginning)
8118 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
8119 (Bug#8279).
8120
6a639b16
GM
81212011-05-28 Glenn Morris <rgm@gnu.org>
8122
8123 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
8124
d43eaf2c
CY
81252011-05-28 Chong Yidong <cyd@stupidchicken.com>
8126
5199bde1
CY
8127 * help-fns.el (describe-function-1): If the function is a derived
8128 major mode, print the parent mode.
8129
d43eaf2c
CY
8130 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
8131 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
8132
423428a8
SM
81332011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8134
0ff8e1ba 8135 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 8136 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
8137 * progmodes/etags.el (tags-completion-at-point-function):
8138 * info-look.el (info-lookup-completions-at-point): Mark as
8139 non-exclusive.
8140 (info-complete): Adjust accordingly.
8141
423428a8
SM
8142 * info-look.el: Convert to lexical-binding and completion-at-point.
8143 (info-lookup-completions-at-point): New function.
8144 (info-complete): Use it and completion-in-region.
8145
b74aa22b
DA
81462011-05-28 Drew Adams <drew.adams@oracle.com>
8147
8148 * isearch.el: Let M-e start with point at the first mismatched char.
8149 (isearch-fail-pos): New function.
8150 (isearch-edit-string): Use it.
8151
66e2e71d
DK
81522011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8153
8154 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8155
b1890b0f 81562011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
8157
8158 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
8159 traversal functions for avl-trees.
8160 (avl-tree--stack): New struct.
8161 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
8162 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
8163 (avl-tree--do-enter): Add optional `updatefun' arg.
8164 Change return value.
eb95d01d 8165 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
8166 (avl-tree--do-delete): Add `test' and `nilflag' args.
8167 Change return value.
eb95d01d
TC
8168 (avl-tree-member): Add optional `nilflag'
8169 (avl-tree-member-p): New function.
8170 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
8171 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
8172 (avl-tree-stack-empty-p): New functions.
8173
3769ddcf
TC
8174 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
8175 avl-tree--del-balance1 and make it work both ways.
8176 (avl-tree--del-balance2): Remove.
8177 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
8178 make it work both ways.
8179 (avl-tree--enter-balance2): Remove.
8180 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
8181 New macros.
8182 (avl-tree--mapc, avl-tree-map): Add direction argument.
8183
eb95d01d 81842011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
8185
8186 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
8187
a9f737ee
CY
81882011-05-27 Chong Yidong <cyd@stupidchicken.com>
8189
8190 * select.el: Support clipboard managers with built-in function
8191 x-clipboard-manager-save, via delete-frame-functions and
8192 kill-emacs-hook.
8193 (xselect-convert-to-targets): Add MULTIPLE target to list.
8194 (xselect-convert-to-save-targets): New function.
8195
c92a1e54
KH
81962011-05-27 Kenichi Handa <handa@m17n.org>
8197
8198 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
8199 let-binding rfc2047-encode-encoded-words to nil.
8200
e145f188
GM
82012011-05-27 Glenn Morris <rgm@gnu.org>
8202
5ec8a862
GM
8203 * mail/emacsbug.el: Don't require url-util.
8204
4b29d9fb
GM
8205 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
8206
e145f188
GM
8207 * files.el (set-auto-mode):
8208 Also respect mode: entries at the end of the file. (Bug#8586)
8209
7d15102b
GM
82102011-05-26 Glenn Morris <rgm@gnu.org>
8211
98f593b8
GM
8212 * files.el (hack-local-variables-prop-line, hack-local-variables):
8213 Downcase mode names, as seems to be traditional.
27b48e63 8214 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 8215
7d15102b
GM
8216 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
8217 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
8218
51d5b4ec
JD
82192011-05-25 Julien Danjou <julien@danjou.info>
8220
8221 * textmodes/rst.el (rst-define-level-faces): Do not define face
8222 symbol if it is already defined.
8223
91513f63
VB
82242011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
8225
8226 * play/5x5.el (5x5-new-game, 5x5-randomize):
8227 Reset 5x5-solver-output to nil when a new grid is cast.
8228 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
8229 these debugging traces, as defmacro breaks the compiled code.
8230
4d90d6d0
DK
82312011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
8232
8233 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
8234
e1b90ef6
LL
82352011-05-24 Leo Liu <sdl.web@gmail.com>
8236
8237 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
8238 (vc-bzr-sha1): Adapt.
8239
d8e4b68b 8240 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
8241
8242 * bindings.el: Provide sha1 feature.
8243
db0406bb 82442011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
8245
8246 * mail/sendmail.el: Require `rfc2047'.
8247 (mail-insert-from-field): Do not perform RFC2047 encoding.
8248 (mail-encode-header): New function.
8249 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
8250 buffer to the return value of select-message-coding-system.
8251 Call mail-encode-header.
b8d747b9
KH
8252
8253 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8254
db0406bb 82552011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 8256
4d90d6d0
DK
8257 * mail/supercite.el (sc-default-cite-frame):
8258 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 8259
eb8a5e9b
GM
82602011-05-24 Glenn Morris <rgm@gnu.org>
8261
f8630703
GM
8262 * progmodes/python.el (brm-menu): Declare.
8263
8831bbed
GM
8264 * emulation/viper.el (viper-set-hooks): Declare.
8265
eb8a5e9b
GM
8266 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8267 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8268 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8269 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8270 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8271 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8272
a2a25d24
SM
82732011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 Add an :exit-function for completion-at-point.
8276
8277 * minibuffer.el (completion--done): New fun.
8278 (completion--do-completion): Use it. New arg `expect-exact'.
8279 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8280 since completion--do-completion does it for us now.
8281 (minibuffer-force-complete): Use completion--done and
8282 completion--replace. Handle sole-completion case with more care.
8283 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8284 (completion-extra-properties): New var.
8285 (completion-annotate-function): Make obsolete.
8286 (minibuffer-completion-help): Adjust accordingly.
8287 Use completion-list-insert-choice-function.
8288 (completion-at-point, completion-help-at-point):
8289 Bind completion-extra-properties.
8290 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8291 * simple.el (completion-list-insert-choice-function): New var.
8292 (completion-setup-function): Preserve it.
8293 (choose-completion): Pay attention to it, shuffle the code a bit.
8294 (choose-completion-string): New arg `insert-function'.
8295
8296 * textmodes/bibtex.el: Convert to lexical binding.
8297 (bibtex-mode-map): Use completion-at-point.
8298 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8299 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8300 (bibtex-complete): Define as obsolete alias.
8301 (bibtex-complete-internal): Remove.
8302 (bibtex-format-entry): Remove unused sub-group in regexp.
8303 * shell.el (shell--command-completion-data)
8304 (shell-environment-variable-completion):
8305 * pcomplete.el (pcomplete-completions-at-point):
8306 * comint.el (comint--complete-file-name-data): Use :exit-function
8307 instead of completion-table-with-terminator so it also works for
8308 choose-completion.
8309
e44e373d
SM
83102011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8311
4f91a816
SM
8312 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8313
782fc819
SM
8314 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8315 (bug#8710).
8316
e44e373d
SM
8317 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8318
381987c3
KM
83192011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8320
8321 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8322 customization variable and implement: If non-nil, auto-fill will
8323 be inhibited while on topic's header line.
8324
b776bc70
VB
83252011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8326
8327 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 8328 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
8329 always have a solution in grid size = 5 cases.
8330 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8331 (5x5-solver-output, 5x5-log-buffer): New vars.
8332 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8333 Make these variables buffer local to achieve 5x5 multi-session-ness.
8334 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8335 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8336 (5x5-solve-suggest): New funs.
8337 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8338 randomize a grid so that we ensure that there is always a solution.
8339 (5x5-make-random-grid): Allow other movement than flipping.
8340
7de88b6e
KR
83412011-05-23 Kevin Ryde <user42@zip.com.au>
8342
8343 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 8344 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
8345 advice and passes PREDICATE.
8346
b1ef1257
SM
83472011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8348
bbca48fe
SM
8349 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8350 byte-compile-lambda if it's actually a lambda.
8351
b1ef1257
SM
8352 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8353 Fix function quoting. Use backquote better.
8354
92a9cc65
YS
83552011-05-22 Yuanle Song <sylecn@gmail.com>
8356
8357 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8358 matching (Bug#8516).
8359
f0fb8059
JA
83602011-01-22 Jari Aalto <jari.aalto@cante.net>
8361
8362 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8363 different face (Bug#8178).
8364
d5b44c93
CY
83652011-05-22 Chong Yidong <cyd@stupidchicken.com>
8366
8367 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8368 defface (Bug#8144).
8369
79106a44
SM
83702011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8371
9c848d8a
SM
8372 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8373 funcall as well (bug#8712). Warn when performing those conversions.
8374 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8375
79106a44
SM
8376 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8377
88dfa756
GM
83782011-05-22 Glenn Morris <rgm@gnu.org>
8379
8380 * files.el (hack-local-variables-prop-line): Small simplifications.
8381 (hack-local-variables, hack-local-variables-prop-line):
8382 If MODE-ONLY, return the mode, rather than just `t'.
8383
b7cf2c79
SM
83842011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8387
3f1a8558
GM
83882011-05-21 Glenn Morris <rgm@gnu.org>
8389
7e4ccca3
GM
8390 * files.el (hack-local-variables-prop-line, hack-local-variables):
8391 If only interested in the mode, don't bother doing the other stuff.
8392
637d46ca
GM
8393 * image-mode.el (image-after-revert-hook):
8394 Redraw all frames on which the image is visible. (Bug#8567)
8395
973d955b
GM
8396 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8397
3f1a8558
GM
8398 * wid-edit.el (widget-checklist-match-inline):
8399 Fix 2011-04-19 change. (Bug#8649)
8400
96479927
SM
84012011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8402
1dcf791f
SM
8403 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8404 Also allow singlespace after single-letter capitals followed by a dot.
8405
96479927
SM
8406 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8407 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8408
35fd0881
N
84092011-05-20 Nix <nix@esperi.org.uk>
8410
8411 * files.el (basic-save-buffer-2):
8412 Fix handling of break-hardlink-on-save with non-existent files.
8413
82745640
DD
84142011-05-19 Deniz Dogan <deniz@dogan.se>
8415
8416 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 8417 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 8418
4a720484
GM
84192011-05-19 Glenn Morris <rgm@gnu.org>
8420
d1f21341
GM
8421 * progmodes/f90.el (f90-type-def-re):
8422 Handle "type, bind(c)". (Bug#8691)
8423
4a720484
GM
8424 * emacs-lisp/autoload.el (batch-update-autoloads):
8425 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8426
2fb0a219
MA
84272011-05-18 Michael Albinus <michael.albinus@gmx.de>
8428
8429 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8430 property for the correct connection in case of multihops.
8431
e565dd37
GM
84322011-05-18 Glenn Morris <rgm@gnu.org>
8433
c2571358 8434 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
8435 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8436
e565dd37
GM
8437 Rationalize calendar handling of day and month abbrev-arrays.
8438 * calendar/calendar.el (calendar-customized-p): New function.
8439 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8440 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8441 Add :set function.
8442 (calendar-abbrev-length, calendar-day-abbrev-array)
8443 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8444 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8445 Elements may no longer be nil.
8446 (calendar-day-name, calendar-month-name):
8447 Update for changed nature of abbrev arrays.
8448 * calendar/diary-lib.el (diary-name-pattern):
8449 Update for changed nature of abbrev arrays.
8450 (diary-mark-entries-1): Update calendar-make-alist calls.
8451 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8452 * calendar/cal-html.el (cal-html-day-abbrev-array):
8453 Simply inherit from calendar-day-abbrev-array.
8454
1d99a745
SM
84552011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * progmodes/grep.el (grep-mode): Disable default
8458 compilation-directory-matcher setting (bug#8684).
8459
7c1d9aa0
MA
84602011-05-17 Michael Albinus <michael.albinus@gmx.de>
8461
8462 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8463 instead of "head" and "tail". There were problems with SunOS 5.9,
8464 and it performs better.
8465
3952e9d8
GM
84662011-05-17 Glenn Morris <rgm@gnu.org>
8467
2dd12e7f
GM
8468 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8469
e4157b9c
GM
8470 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8471 Replace obsolete function.
8472
8e249bbd
GM
8473 * shell.el (pcomplete-parse-arguments-function): Declare.
8474
3952e9d8
GM
8475 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8476 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8477 (appt-check): Doc fixes.
8478 (appt-disp-window-function, appt-delete-window-function):
8479 Remove needless special case in custom :type.
8480 (appt-display-count): Default to 0, not nil.
8481 (appt-check): Reset appt-display-count to 0, not nil.
8482
c71a0d48 84832011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 8484
c71a0d48
GM
8485 * progmodes/python.el (python-font-lock-keywords):
8486 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 8487
31d55be9
SM
84882011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8489
8490 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8491
3bfacb2f
KR
84922011-05-16 Kevin Ryde <user42@zip.com.au>
8493
8494 * info-look.el (makefile-automake-mode): New setups, looking in
8495 automake manual, then makefile-mode.
8496 (makefile-mode): Remove automake manual, have it just in
8497 makefile-automake-mode since there's various things different or
8498 not relevant to plain make.
8499 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8500 believe a hypothetical automake-mode would go to makefile-mode,
8501 not the other way around.
8502
c8e83751
CY
85032011-05-15 Chong Yidong <cyd@stupidchicken.com>
8504
5e9e35cd
CY
8505 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8506 hunk-end tags (Bug#8672).
8507
c8e83751
CY
8508 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8509 vc-annotate-show-diff-revision-at-line (Bug#8671).
8510
50b23e5a
GM
85112011-05-14 Glenn Morris <rgm@gnu.org>
8512
7210a739
GM
8513 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8514 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
8515 (change-log-font-lock-keywords): Also handle multiple author lines
8516 with leading tabs. (Bug#8644)
7210a739 8517
4691905a
GM
8518 * calendar/appt.el (appt-check): Rename some local variables.
8519 Some simplification/reordering.
8520
50b23e5a
GM
8521 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8522 (feedmail-sendmail-f-doesnt-sell-me-out)
8523 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8524 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8525 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
8526 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8527 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
8528 (feedmail-binmail-gnulinuxish-template):
8529 Rename from feedmail-binmail-linuxish-template.
8530 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8531 Use insert-buffer-substring.
8532
215cda7c
BC
85332011-05-14 Bill Carpenter <bill@carpenter.org>
8534
8535 * mail/feedmail.el (feedmail-patch-level): Increase.
8536 (feedmail-debug): New custom group.
8537 (feedmail-confirm-outgoing-timeout)
8538 (feedmail-sendmail-f-doesnt-sell-me-out)
8539 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8540 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8541 (feedmail-sender-line, feedmail-from-line)
8542 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 8543 (feedmail-spray-this-address)
215cda7c
BC
8544 (feedmail-spray-address-fiddle-plex-list)
8545 (feedmail-queue-use-send-time-for-date)
8546 (feedmail-queue-use-send-time-for-message-id)
8547 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8548 (feedmail-buffer-eating-function):
8549 Doc fixes.
8550 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8551 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8552 (feedmail-message-action-scroll-down): New functions.
8553 (feedmail-queue-directory, feedmail-queue-draft-directory):
8554 Use expand-file-name.
8555 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8556 Remove C-v help entry.
8557 (feedmail-queue-buffer-file-name): New variable.
8558 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8559 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8560 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8561 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8562 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8563 (feedmail-message-action-toggle-spray)
8564 (feedmail-run-the-queue-no-prompts)
8565 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8566 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8567 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8568 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8569 (feedmail-envelope-deducer, feedmail-fiddle-from)
8570 (feedmail-fiddle-sender, feedmail-default-date-generator)
8571 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8572 (feedmail-fiddle-spray-address)
8573 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8574 (feedmail-fiddle-list-of-fiddle-plexes)
8575 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8576 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8577 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8578 Change default. Doc fix.
8579 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8580 (feedmail-binmail-linuxish-template): New constant.
8581 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8582 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8583 (feedmail-send-it): Add debug call.
8584 Use feedmail-queue-buffer-file-name, and
8585 feedmail-send-it-immediately-wrapper.
8586 (feedmail-message-action-send): Add debug call.
8587 Use feedmail-send-it-immediately-wrapper.
8588 (feedmail-queue-express-to-queue): Add debug call.
8589 Run feedmail-queue-express-hook.
8590 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8591 (feedmail-message-action-help-blat):
8592 Rename from feedmail-queue-send-edit-prompt-help-first.
8593 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8594 Check line-endings. Handle errors better.
8595 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8596 Doc fix. Add debug call.
8597 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8598 Use feedmail-queue-send-edit-prompt-inner.
8599 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8600 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8601 from feedmail-queue-send-edit-prompt.
8602 (feedmail-queue-send-edit-prompt-help)
8603 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8604 (feedmail-tidy-up-slug): Add debug call.
8605 Respect feedmail-queue-slug-suspect-regexp.
8606 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8607 (feedmail-dump-message-to-queue): Add debug call.
8608 Expand queue-directory.
8609 (feedmail-dump-message-to-queue): Change message slightly.
8610 Use feedmail-say-chatter.
8611 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8612 (feedmail-send-it-immediately-wrapper): New function.
8613 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8614 Insert empty string rather than newline. Handle full-frame case.
8615 Use catch/throw. Use feedmail-say-chatter.
8616 (feedmail-fiddle-from): Try mail-host-address.
8617 (feedmail-default-message-id-generator): Doc fix.
8618 Bind system-time-locale. Handle missing end.
8619 (feedmail-fiddle-x-mailer): Add debug call.
8620 Handle feedmail-x-mailer-line being nil.
8621 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8622 Add debug call. Use buffer-substring-no-properties.
8623 (feedmail-say-debug, feedmail-say-chatter): New functions.
8624 (feedmail-find-eoh): Give an explicit error.
8625
42c7e61e
UJ
86262011-05-13 Ulf Jasper <ulf.jasper@web.de>
8627
c2571358 8628 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 8629 family from helvetica to sans.
c2571358 8630 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8631 etc/images/newsticker.
8632
c2571358 8633 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
8634 family from helvetica to sans.
8635
8636 * net/newst-plainview.el (newsticker-new-item-face)
8637 (newsticker-old-item-face, newsticker-immortal-item-face)
8638 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 8639 (newsticker-statistics-face): Change default family from
42c7e61e 8640 helvetica to sans.
c2571358 8641 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
8642 etc/images/newsticker.
8643
8644 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8645 (newsticker--process-auto-mark-filter-match): : Tell user about
8646 auto-marking.
8647
8497a297
DV
86482011-05-13 Didier Verna <didier@xemacs.org>
8649
8650 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
8651 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8652 TODO entries.
8497a297
DV
8653 (lisp-lambda-list-keyword-parameter-indentation)
8654 (lisp-lambda-list-keyword-parameter-alignment)
8655 (lisp-lambda-list-keyword-alignment): New customizable user options.
8656 (lisp-indent-defun-method): Improve docstring.
8657 (extended-loop-p): Fix comment.
8658 (lisp-indent-lambda-list-keywords-regexp): New variable.
8659 (lisp-indent-lambda-list): New function.
8660 (lisp-indent-259): Use it.
8661 (lisp-indent-defmethod): Support for more than one
8662 method qualifier and properly indent methods lambda-lists.
8663 (defgeneric): Provide a missing common-lisp-indent-function property.
8664
f278f87f
SM
86652011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8668 bounds for the empty string (bug#8667).
8669
5233edd7
GM
86702011-05-13 Glenn Morris <rgm@gnu.org>
8671
5237a44f
GM
8672 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8673
8340026c 8674 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 8675 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 8676
5233edd7 8677 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 8678 (appt-time-msg-list): Doc fix.
a5464014 8679 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 8680
92d10796
AS
86812011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8682
8683 * progmodes/ld-script.el (ld-script-keywords)
8684 (ld-script-builtins): Update keywords list.
8685
914a0ae1
SM
86862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8687
c89be45f
SM
8688 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8689
914a0ae1
SM
8690 * shell.el (shell-completion-vars): New function.
8691 (shell-mode):
8692 * simple.el (read-shell-command): Use it.
8693 (blink-matching-open): No need for " [...]" in minibuffer-message.
8694
98dc3df3
GM
86952011-05-12 Glenn Morris <rgm@gnu.org>
8696
8697 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8698 (appt-check): Simplify.
8699
d2fc7e3d 87002011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 8701
4d61f28d 8702 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
8703 literal "/dev/null".
8704
d2fc7e3d 87052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
8706
8707 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8708 Fix typo.
8709
d2fc7e3d 87102011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 8711
3f254caa
SM
8712 * progmodes/which-func.el (which-function):
8713 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
8714 which might not be defined (Bug#8260).
8715
d45885f7
GM
87162011-05-12 Glenn Morris <rgm@gnu.org>
8717
8718 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8719 Let byte-compile-initial-macro-environment always take precedence.
8720
488086f4
SM
87212011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8722
8723 * net/rcirc.el: Add support for SSL/TLS connections.
8724 (rcirc-server-alist): New field `encryption'.
8725 (rcirc): Check `encryption' settings.
8726 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8727 Merge make-local-variable into `set'.
8728 (rcirc--connection-open-p): New function.
8729 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8730 the process is not a network process (e.g. running gnutls-cli).
8731 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8732 Make rcirc-(en|de)code-coding-system local here.
8733 (rcirc-mode): Merge make-local-variable into `set'.
8734 (rcirc-parent-buffer): Make permanent buffer-local.
8735 (rcirc-multiline-minor-mode): Don't do it here.
8736 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8737 there's no server buffer.
8738
7d3b9d44
GM
87392011-05-11 Glenn Morris <rgm@gnu.org>
8740
f64049c6
GM
8741 * newcomment.el (comment-kill): Prefix "unused" local.
8742
93c9df73
GM
8743 * term/w32console.el (get-screen-color): Declare.
8744
7d3b9d44
GM
8745 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8746 Handle symbol elements of byte-compile-initial-macro-environment.
8747
9e2dd53f
LL
87482011-05-10 Leo Liu <sdl.web@gmail.com>
8749
488086f4
SM
8750 * bookmark.el (bookmark-bmenu-mode-map):
8751 Bind bookmark-bmenu-search to `/'.
8b340240 8752
9e2dd53f 8753 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
8754 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8755 (Footnote-unicode): New function.
8756 (footnote-style-alist): Add unicode style to the list.
8757 (footnote-style): Doc fix.
9e2dd53f 8758
79b70037
GM
87592011-05-10 Jim Meyering <meyering@redhat.com>
8760
8761 Fix doubled-word typos.
8762 * international/quail.el (quail-insert-kbd-layout): and and -> and
8763 * kermit.el: and and -> and
8764 * net/ldap.el (ldap-search-internal): to to -> to
8765 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8766 * progmodes/js.el (js-mode): and and -> and
8767 * textmodes/artist.el (artist-move-to-xy): at at -> at
8768 (artist-draw-region-trim-line-endings): if if -> if
8769 And Safetyc -> Safety.
8770 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8771
b8f82dc1 87722011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 8773 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
8774
8775 * files.el (hack-one-local-variable-eval-safep):
8776 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8777
4f99f44b
GM
87782011-05-10 Glenn Morris <rgm@gnu.org>
8779
8780 * calendar/diary-lib.el (diary-list-entries-hook)
8781 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8782 (diary-nongregorian-marking-hook, diary-list-entries)
8783 (diary-include-other-diary-files, diary-mark-entries)
8784 (diary-mark-included-diary-files): Doc fixes.
8785
84f29e6b
JB
87862011-05-09 Juanma Barranquero <lekktu@gmail.com>
8787
8788 * misc.el: Require tabulated-list.el during compilation.
8789
9bedd73a
CY
87902011-05-09 Chong Yidong <cyd@stupidchicken.com>
8791
488086f4
SM
8792 * progmodes/compile.el (compilation-start):
8793 Run compilation-filter-hook for the async case too.
9bedd73a
CY
8794 (compilation-filter-hook): Doc fix.
8795
797c735c
DD
87962011-05-09 Deniz Dogan <deniz@dogan.se>
8797
8798 * wdired.el: Remove outdated installation comment. Fix usage
8799 comment.
8800
5f4b1dfe
JB
88012011-05-09 Juanma Barranquero <lekktu@gmail.com>
8802
8803 * misc.el: Implement new command `list-dynamic-libraries'.
8804 (list-dynamic-libraries--loaded-only-p): New variable.
8805 (list-dynamic-libraries--refresh): New function.
8806 (list-dynamic-libraries): New command.
8807
4c44026c
CY
88082011-05-09 Chong Yidong <cyd@stupidchicken.com>
8809
488086f4
SM
8810 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8811 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
8812 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8813 higher priority to avoid clobbering by gnu.
8814
027f966d
CY
88152011-05-08 Chong Yidong <cyd@stupidchicken.com>
8816
8817 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8818 if the face has existing theme settings (Bug#8454).
8819
085f5d7d
CY
88202011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8821
488086f4
SM
8822 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8823 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 8824
2a86a00c
RS
8825 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8826 special file names `.' and `..' (Bug#8259).
8827
d9c54a06
CY
88282011-05-08 Chong Yidong <cyd@stupidchicken.com>
8829
488086f4
SM
8830 * progmodes/grep.el (grep-mode-font-lock-keywords):
8831 Remove buffer-changing entries.
d9c54a06
CY
8832 (grep-filter): New function.
8833 (grep-mode): Add it to compilation-filter-hook.
8834
8835 * progmodes/compile.el (compilation-filter-hook)
8836 (compilation-filter-start): New defvars.
8837 (compilation-filter): Call compilation-filter-hook prior to
8838 updating the process mark.
8839
c4662635
SM
88402011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8841
8842 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8843
b0512a1d
EZ
88442011-05-07 Eli Zaretskii <eliz@gnu.org>
8845
605c9376
EZ
8846 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8847 mailclient-send-it even if window-system is nil. (Bug#8595)
8848
c4662635
SM
8849 * term/w32console.el (terminal-init-w32console):
8850 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
8851 background-mode. (Bug#8597)
8852
d1dc2cc2
SM
88532011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8856 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8857 New functions.
8858 (defgeneric, eieio--defmethod): Use them.
8859 (eieio-defgeneric): Remove.
8860 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8861
915d1300
GM
88622011-05-07 Glenn Morris <rgm@gnu.org>
8863
a3961c3e
GM
8864 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8865 Use let rather than let*.
8866 (timeclock-find-discrep): Remove unused local.
8867
314347b9
GM
8868 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8869
915d1300
GM
8870 * calendar/appt.el (appt-time-msg-list): Doc fix.
8871
275b59b0
NF
88722011-05-06 Noah Friedman <friedman@splode.com>
8873
8874 * apropos.el (apropos-print-doc): Only use
8875 emacs-lisp-docstring-fill-column when it is bound to an integer,
8876 per that variable's documentation.
8877
6c19f744
SM
88782011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 8881 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 8882
60f884b2
GM
88832011-05-06 Glenn Morris <rgm@gnu.org>
8884
5006e634
GM
8885 * calendar/appt.el (appt-message-warning-time): Doc fix.
8886 (appt-warning-time-regexp): New option.
8887 (appt-make-list): Respect appt-message-warning-time.
8888
548d0a63
GM
8889 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8890 New options.
8891 (diary-add-to-list): Strip comments from the displayed string.
8892 (diary-mode): Set comment-start and comment-end.
8893
60f884b2
GM
8894 * vc/diff-mode.el (smerge-refine-subst): Declare.
8895 (diff-refine-hunk): Don't require smerge-mode when compiling.
8896
989681bb
JB
88972011-05-06 Juanma Barranquero <lekktu@gmail.com>
8898
8899 * simple.el (list-processes): Return nil as the docstring says.
8900
a6bc05e1
MA
89012011-05-05 Michael Albinus <michael.albinus@gmx.de>
8902
8903 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8904 to "".
8905 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8906 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8907 determining of binary transfer. (Bug#7383)
8908
23c22e9a
MA
89092011-05-05 Michael Albinus <michael.albinus@gmx.de>
8910
c4662635
SM
8911 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8912 Fix port computation bug. (Bug#8618)
23c22e9a 8913
0bff894f
GM
89142011-05-05 Glenn Morris <rgm@gnu.org>
8915
b8296902
GM
8916 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8917
1f522ce8
GM
8918 * simple.el (shell-dynamic-complete-functions)
8919 (comint-dynamic-complete-functions): Declare.
8920
cf5bee67
GM
8921 * net/network-stream.el (gnutls-negotiate):
8922 * simple.el (tabulated-list-print): Fix declarations.
8923
8924 * progmodes/gud.el (syntax-symbol, syntax-point):
8925 Remove unnecessary and incorrect declarations.
8926
0bff894f
GM
8927 * emacs-lisp/check-declare.el (check-declare-scan):
8928 Handle byte-compile-initial-macro-environment in bytecomp.el
8929
9869b3ae
SM
89302011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8931
8932 Fix earlier half-done eieio-defmethod change (bug#8338).
8933 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8934 Streamline and change calling convention.
8935 (defmethod): Adjust accordingly and simplify.
8936 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8937 new eieio--defmethod.
8938 (slot-boundp): Minor CSE simplification.
8939
9c1d5ac5
MZ
89402011-05-05 Milan Zamazal <pdm@zamazal.org>
8941
8942 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8943 (glasses-make-readable): Use glasses-separate-capital-groups.
8944
455c834e
JB
89452011-05-05 Juanma Barranquero <lekktu@gmail.com>
8946
8947 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8948 (warning-series): Doc fix.
8949 (display-warning): Don't try to create the buffer if we just found it.
8950
9ed7c8cb
CY
89512011-05-04 Chong Yidong <cyd@stupidchicken.com>
8952
8953 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8954 (autoload-find-generated-file): New function.
8955 (generate-file-autoloads): Bind generated-autoload-file to
8956 buffer-file-name.
9869b3ae
SM
8957 (update-file-autoloads, update-directory-autoloads):
8958 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
8959 output file (Bug#7989).
8960 (batch-update-autoloads): Doc fix.
8961
0898ca10
JB
89622011-05-04 Juanma Barranquero <lekktu@gmail.com>
8963
8964 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8965
31dfb76c
GM
89662011-05-04 Glenn Morris <rgm@gnu.org>
8967
f330b642
GM
8968 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8969 function, so it follows changes in calendar-date-style.
8970 (diary-fancy-date-matcher): New function.
8971 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8972 (diary-fancy-font-lock-fontify-region-function):
8973 Use diary-fancy-date-pattern as a function.
8974
31dfb76c
GM
8975 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8976 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8977
48e79d6a
TZ
89782011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8979
8980 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8981 instead of positional arguments. Allow :keylist and :crlfiles
8982 arguments.
8983 (open-gnutls-stream): Call it.
8984
8985 * net/network-stream.el (network-stream-open-starttls): Adjust to
8986 call `gnutls-negotiate' with :process and :hostname arguments.
8987
dd5a5ee0
SM
89882011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8989
ef80fc09
SM
8990 * minibuffer.el (completion--message): New function.
8991 (completion--do-completion, minibuffer-complete)
8992 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8993 (completion--do-completion): Don't ignore completion-auto-help when in
8994 icomplete-mode.
8995
dd5a5ee0
SM
8996 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8997 internal encoding (e.g. tibetan zero is not whitespace).
8998 (global-whitespace-mode): Prefer save-current-buffer.
8999 (whitespace-trailing-regexp): Remove useless save-match-data.
9000 (whitespace-empty-at-bob-regexp): Minor simplification.
9001
b7d22a83
CY
90022011-05-03 Chong Yidong <cyd@stupidchicken.com>
9003
9004 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
9005
5192af46
AM
90062011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9007
9008 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 9009 Use `concat' to create string for insertion.
5192af46 9010
5767d190
SM
90112011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
9014 Avoid open-line which runs post-self-insert-hook.
9015 (bibtex-fill-entry): Remove unused `end' var.
9016
bf242939
AM
90172011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
9018
5767d190
SM
9019 * textmodes/ispell.el (ispell-add-per-file-word-list):
9020 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 9021
25666126
LL
90222011-05-03 Leo Liu <sdl.web@gmail.com>
9023
9024 * isearch.el (isearch-yank-pop): New command.
5767d190 9025 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
9026 (isearch-forward): Mention it.
9027
52d3c2d0
SM
90282011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9029
1bcace58
SM
9030 * simple.el (minibuffer-complete-shell-command): Remove.
9031 (minibuffer-local-shell-command-map): Use completion-at-point.
9032 (read-shell-command): Setup completion vars here instead.
9033 (read-expression-map): Bind TAB to symbol completion.
9034
52d3c2d0
SM
9035 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
9036 error directly rather via storing it into `results'.
9037
35813471
LL
90382011-05-02 Leo Liu <sdl.web@gmail.com>
9039
9040 * vc/diff.el: Fix description.
9041
e793a940
LMI
90422011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9043
9044 * server.el (server-eval-at): New function.
9045
8de66e05
LMI
90462011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9047
9048 * net/network-stream.el (open-network-stream): Take a :nowait
9049 parameter and pass it on to `make-network-process'.
9050 (network-stream-open-plain): Ditto.
9051
dcb79f20
AS
90522011-04-30 Andreas Schwab <schwab@linux-m68k.org>
9053
9054 * faces.el (face-spec-set-match-display): Don't match toolkit
9055 options on terminal frames.
9056
14a7fbd8
SM
90572011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9058
7eabc1be
SM
9059 * progmodes/pascal.el: Use lexical binding.
9060 (pascal-mode-map): Remove author preferences.
9061
14a7fbd8
SM
9062 * pcomplete.el (pcomplete-std-complete): Don't abuse
9063 completion-at-point.
9064
50f84510
JB
90652011-04-28 Juanma Barranquero <lekktu@gmail.com>
9066
6e087a44
JB
9067 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
9068 removing code that has been dead since 1991 or so.
9069
50f84510
JB
9070 * startup.el (command-line): When warning about "_emacs", use a
9071 delayed warning to allow the user to filter it out.
9072
0ba690bd
DD
90732011-04-28 Deniz Dogan <deniz@dogan.se>
9074
9075 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
9076 user has not joined.
9077
08abfaad
SM
90782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9079
9080 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
9081 aren't any completions at point.
9082
638f053a
JB
90832011-04-28 Juanma Barranquero <lekktu@gmail.com>
9084
9085 * subr.el (display-delayed-warnings): New function.
9086 (delayed-warnings-hook): New variable.
9087
8fff8daa
SM
90882011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9089
08abfaad
SM
9090 * minibuffer.el (completion-at-point, completion-help-at-point):
9091 Don't presume that a given completion-at-point-function will always
9092 use the same calling convention.
9093
8fff8daa
SM
9094 * pcomplete.el (pcomplete-completions-at-point):
9095 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
9096 pcomplete-seen is non-nil.
9097 (pcomplete-comint-setup): Also recognize the new comint/shell
9098 completion functions.
9099 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
9100 pcomplete-seen is non-nil.
9101
841a1577 91022011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 9103
841a1577 9104 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 9105 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 9106 the first character in the entry. This allows for code to add its
211ec907
UJ
9107 own uid to the entry.
9108 (icalendar--convert-float-to-ical): Add export of
9109 `diary-float'-entries save for those with the optional DAY
9110 argument.
9111
2a782793
DC
91122011-04-27 Daniel Colascione <dan.colascione@gmail.com>
9113
9114 * subr.el (shell-quote-argument): Use alternate escaping strategy
9115 when we spot a variable reference in a string.
9116
0438ce91
DC
91172011-04-26 Daniel Colascione <dan.colascione@gmail.com>
9118
9119 * cus-start.el (all): Define customization for debug-on-event.
9120
841a1577 91212011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
9122
9123 * subr.el (shell-quote-argument): Escape correctly under Windows.
9124
d090ed6c
SM
91252011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
9128
bfd31217
MA
91292011-04-25 Michael Albinus <michael.albinus@gmx.de>
9130
d090ed6c
SM
9131 * net/tramp.el (tramp-process-actions): Add POS argument.
9132 Delete region between POS and (pos).
bfd31217 9133
d090ed6c
SM
9134 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9135 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
9136 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
9137
9138 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
9139 position in `tramp-process-actions' call.
9140
9141 * net/trampver.el: Update release number.
9142
e92f3bd3
SM
91432011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9144
850256b5
SM
9145 * custom.el (defcustom): Obey lexical-binding.
9146
e92f3bd3
SM
9147 Fix octave-inf completion problems reported by Alexander Klimov.
9148 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
9149 Inherit from octave-mode-syntax-table.
9150 (inferior-octave-mode): Set info-lookup-mode.
9151 (inferior-octave-completion-at-point): New function.
9152 (inferior-octave-complete): Use it and completion-in-region.
9153 (inferior-octave-dynamic-complete-functions): Use it as well, and use
9154 comint-filename-completion.
9155 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
9156 symbol elements which shouldn't be word elements.
9157 (octave-font-lock-keywords, octave-beginning-of-defun)
9158 (octave-function-header-regexp): Adjust regexps accordingly.
9159 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
9160
cd22b309
JB
91612011-04-25 Juanma Barranquero <lekktu@gmail.com>
9162
9163 * net/gnutls.el (gnutls-errorp): Declare before first use.
9164
8b492194
TZ
91652011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
9166
9167 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
9168 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 9169 default trustfile exists before going to use it. Add missing
5a5fa834 9170 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
9171 Reported by Claudio Bley <claudio.bley@gmail.com>.
9172 (open-gnutls-stream): Add usage example.
9173
9174 * net/network-stream.el (network-stream-open-starttls): Give host
9175 parameter to `gnutls-negotiate'.
9176 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 9177 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 9178
841a1577 91792011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 9180
cd22b309
JB
9181 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9182 Use correct match group (bug#8438).
05842630 9183
3ba7869c
CY
91842011-04-24 Chong Yidong <cyd@stupidchicken.com>
9185
512e3ae1
CY
9186 * emacs-lisp/package.el (package-built-in-p): Fix typo.
9187 (package-menu--generate): New arg specifying packages to show.
9188 (package-menu-refresh, package-menu-execute, list-packages):
9189 Callers changed.
9190 (package-show-package-list): New function, replacing deleted
9191 package--list-packages (renamed because it is non-internal).
9192
9193 * finder.el (finder-list-matches): Use package-show-package-list
9194 instead of deleted package--list-packages.
9195
e92f3bd3
SM
9196 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
9197 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
9198 (vc-annotate-mode-map): Bind it to RET.
9199
7031be6d
UR
92002011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9201
9202 * progmodes/etags.el (next-file): Don't use set-buffer to change
9203 buffers (Bug#8478).
9204
4ef177aa
CY
92052011-04-24 Chong Yidong <cyd@stupidchicken.com>
9206
c8d173eb
CY
9207 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
9208
4ef177aa
CY
9209 * apropos.el (apropos-label-face): Avoid variable-pitch face.
9210 (apropos-accumulator): Doc fix.
9211 (apropos-function, apropos-macro, apropos-command)
9212 (apropos-variable, apropos-face, apropos-group, apropos-widget)
9213 (apropos-plist): Add face property.
9214 (apropos-symbols-internal): Fix indentation.
9215 (apropos-print): Simplify help, and recognize apropos-multi-type.
9216 (apropos-print-doc): Use button-type-get to extract the button's
9217 face property. Fill docstring (Bug#8352).
9218
4ffd0d6b 92192011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
9220
9221 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
9222
c6c32125 9223 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 9224 (mpuz-mode-map): Use mapc.
c6c32125
JB
9225 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
9226 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
9227 Fix typos in docstrings.
9228
58d468b4
JB
9229 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
9230 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
9231
6470c3c6
JB
9232 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
9233
4ffd0d6b 92342011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
9235
9236 * minibuffer.el (completion--do-completion): Avoid the "Next char
9237 not unique" prompt if icomplete-mode is enabled (Bug#5849).
9238
3ad8bad0
CY
9239 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
9240 mouse-2 into unread-command-events, it is interpreted correctly.
9241
71d73c9c 9242 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 9243 (image-toggle-display): Doc fix.
71d73c9c 9244
841a1577 92452011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 9246
4ffd0d6b
GM
9247 * textmodes/page.el (what-page): Use line-number-at-pos to
9248 calculate line number (Bug#6825).
6e1dbaa9 9249
c2fb1b60
JB
92502011-04-22 Juanma Barranquero <lekktu@gmail.com>
9251
9252 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9253 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9254 Pass argument NO-DEFAULT to `find-tag-interactive'.
9255
e02f48d7
JB
92562011-04-22 Juanma Barranquero <lekktu@gmail.com>
9257
9258 Lexical-binding cleanup.
9259
9260 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9261 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9262 * progmodes/ada-prj.el (ada-prj-initialize-values)
9263 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9264 (ada-prj-show-value):
9265 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9266 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9267 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9268 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9269 * progmodes/bug-reference.el (bug-reference-push-button):
9270 * progmodes/fortran.el (fortran-line-length):
9271 * progmodes/glasses.el (glasses-change):
9272 * progmodes/octave-mod.el (octave-fill-paragraph):
9273 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9274 (python-pdbtrack-grub-for-buffer, python-sentinel):
9275 * progmodes/sql.el (sql-save-connection):
9276 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9277 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9278 Mark unused parameters.
9279
9280 * progmodes/compile.el (compilation--flush-directory-cache)
9281 (compilation--flush-parse, compile-internal): Mark unused parameters.
9282 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9283 (compilation-next-error-function): Remove unused variable `timestamp'.
9284
9285 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9286 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9287
9288 * progmodes/dcl-mode.el (dcl-end-of-command):
9289 Remove unused variable `start'.
9290 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9291 (dcl-option-value-basic, dcl-option-value-offset)
9292 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9293 Mark unused parameters.
9294 (dcl-save-local-variable): Remove unused variable `val'.
9295 (mode): Declare.
9296
9297 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9298 Mark unused parameters.
9299 (delphi-ignore-changes): Move before first use.
9300 (delphi-charset-token-at): Remove unused variable `start'.
9301 (delphi-else-start): Remove unused variable `if-count'.
9302 (delphi-comment-block-start, delphi-comment-block-end):
9303 Remove unused variable `kind'.
9304 (delphi-indent-line): Remove unused variable `new-point'.
9305
9306 * progmodes/ebrowse.el (ebrowse-files-list)
9307 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9308 Mark unused parameters. Don't quote `lambda'.
9309 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9310 Don't quote `lambda'.
9311 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9312 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9313 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9314 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9315 Use `ignore-errors'.
9316 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9317 (ebrowse-view/find-file-and-search-pattern)
9318 (ebrowse-view/find-member-declaration/definition):
9319 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9320 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9321 Rename parameter PREFIX-ARG to PREFIX.
9322 (ebrowse-tags-read-name): Remove unused variables `start' and
9323 `member-info'.
9324 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9325 to `tags-file'.
9326
9327 * progmodes/etags.el (local-find-tag-hook): Declare.
9328 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9329 Mark unused parameters.
9330
9331 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9332 (executable-interpret): Mark unused parameter.
9333
9334 * progmodes/flymake.el (flymake-process-sentinel)
9335 (flymake-after-change-function)
9336 (flymake-create-temp-with-folder-structure)
9337 (flymake-get-include-dirs-dot): Mark unused parameters.
9338 (flymake-safe-delete-directory): Remove unused variable `err'.
9339
9340 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9341 (speedbar-timer-fn, speedbar-line-text)
9342 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9343 (speedbar-center-buffer-smartly): Declare functions.
9344 (gdb-find-watch-expression): Remove unused variable `array'.
9345 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9346 (gdb-starting): Mark unused parameters.
9347 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9348 (gdb-table-string): Remove unused variable `res'.
9349 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9350 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9351 (gdb-display-buffer): Remove unused variable `cur-size'.
9352
9353 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9354 allow lexical-binding compilation.
9355 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9356 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9357 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9358 Mark unused parameters.
9359 (gud-gdb-marker-filter): Remove unused variable `match'.
9360 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9361 lambda expressions and funcall them, instead of using `fset'.
9362
9363 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9364 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9365
9366 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9367 variable `header-beg'; use `let'.
9368
9369 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9370 `restart', `last-sexp' and `at-do'.
9371
9372 * progmodes/js.el (js--debug): Mark unused parameter.
9373 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9374 (js--splice-into-items): Remove unused variable `item'.
9375 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9376
9377 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9378 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9379 (makefile-complete): Remove unused variable `try'.
9380 (makefile-fill-paragraph, makefile-match-function-end):
9381 Mark unused parameters.
9382
9383 * progmodes/octave-inf.el (inferior-octave-complete):
9384 Remove unused variable `proc'.
9385 (inferior-octave-output-digest): Mark unused parameter.
9386
9387 * progmodes/perl-mode.el (perl-calculate-indent):
9388 Remove unused variable `err'.
9389
9390 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9391 (prolog-indent-line): Mark unused parameters.
9392 (prolog-indent-line): Remove unused variable `beg'.
9393
9394 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9395 (reporter-dont-compact-list): Declare.
9396
9397 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9398 Remove unused variable `char'.
9399 (sh-debug): Mark unused parameter.
9400 (sh-get-indent-info): Remove unused variable `start'.
9401 (sh-calculate-indent): Remove unused variable `var'.
9402
9403 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9404 (simula-electric-keyword): Remove unused variable `null'.
9405 (simula-search-backward, simula-search-forward): Remove unused
9406 variables `begin' and `end'.
9407
9408 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9409 Remove unused variable `pos'.
9410 (vera-electric-tab, vera-comment-uncomment-region):
9411 Mark unused parameters.
9412 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9413
7ede3b65
CY
94142011-04-22 Chong Yidong <cyd@stupidchicken.com>
9415
9416 * emacs-lisp/package.el (package--builtins, package-alist)
9417 (package-load-descriptor, package-built-in-p, package-activate)
9418 (define-package, package-installed-p)
9419 (package-compute-transaction, package-buffer-info)
9420 (package--push): Doc fix. Distinguish more clearly between
9421 version strings and version lists.
9422
121656e9
JB
94232011-04-21 Juanma Barranquero <lekktu@gmail.com>
9424
9425 Lexical-binding cleanup.
9426
9427 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9428 (5x5-make-mutate-best):
9429 * play/fortune.el (fortune-in-buffer):
9430 * play/gomoku.el (gomoku-init-display):
9431 * play/solitaire.el (solitaire, solitaire-do-check):
9432 * play/tetris.el (tetris-default-update-speed-function):
9433 Mark unused parameters.
9434
9435 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9436 (bubbles--shift): Remove unused variable `char-org'.
9437 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9438 (bubbles--show-images): Remove unused variable `char'.
9439
9440 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9441 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9442 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9443 (decipher-analyze-buffer): Use ?\s.
9444 (decipher-make-checkpoint): Remove unused variable `mapping'.
9445
9446 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9447
9448 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9449 Remove unused variable `result'; use `let'.
9450
9451 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9452 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9453 (gametree-children-shown-p, gametree-compute-reduced-score):
9454 Use `ignore-errors'.
9455
9456 * play/handwrite.el (ps-lpr-switches): Declare.
9457 (handwrite): Remove unused variables `pmin' and `lastp'.
9458
9459 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9460
9461 * play/landmark.el (landmark-init-display)
9462 (landmark-update-naught-weights): Mark unused parameters.
9463 (landmark-y): Remove unused variable `noise'. Simplify.
9464 (landmark-human-plays): Remove unused variable `score'.
9465
9466 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9467 (mpuz-try-proposal): Remove unused variable `game'.
9468
9469 * play/zone.el (life-patterns): Declare.
9470
80f499c7
JB
94712011-04-20 Juanma Barranquero <lekktu@gmail.com>
9472
9473 * vc/vc.el (ediff-vc-internal): Declare function.
9474
024ff170
SM
94752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9476
c0a193ea
SM
9477 * shell.el: Use lexical-binding and std completion UI.
9478 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9479 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9480 comint-preoutput-filter-functions rather than on
9481 comint-output-filter-functions.
9482 (shell-command-completion, shell--command-completion-data)
9483 (shell-filename-completion, shell-environment-variable-completion)
9484 (shell-c-a-p-replace-by-expanded-directory): New functions.
9485 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9486 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9487 (shell-dynamic-complete-environment-variable): Use them.
9488 (shell-dynamic-complete-as-environment-variable)
9489 (shell-dynamic-complete-as-command): Remove.
9490 (shell-match-partial-variable): Match past point.
9491 * comint.el: Clean up use of completion-at-point-functions.
9492 (comint-completion-at-point): New function.
9493 (comint-mode): Use it completion-at-point-functions.
9494 (comint-dynamic-complete): Make it obsolete.
9495 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9496 (comint-c-a-p-replace-by-expanded-history): New function.
9497 (comint-dynamic-complete-functions)
9498 (comint-replace-by-expanded-history): Use it.
9499 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9500 termination strings. Try harder to avoid second try-completion.
9501 (completion-in-region-mode-map): Disable bindings that don't work yet.
9502
2dbaa080
SM
9503 * comint.el: Use lexical-binding. Require CL.
9504 (comint-dynamic-complete-functions): Use comint-filename-completion.
9505 (comint-completion-addsuffix): Tweak custom type.
9506 (comint-filename-completion, comint--common-suffix)
9507 (comint--common-quoted-suffix, comint--table-subvert)
9508 (comint--complete-file-name-data): New functions.
9509 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9510 (comint-dynamic-list-filename-completions): Use them.
9511 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 9512
2dbaa080
SM
9513 * minibuffer.el (completion-in-region-mode):
9514 Keep completion-in-region-mode--predicate global.
9515 (completion-in-region--postch):
9516 Assume completion-in-region-mode--predicate is not null.
9517
c79a6f38
SM
9518 * progmodes/flymake.el (flymake-start-syntax-check-process):
9519 Obey `dir'. Simplify.
9520
024ff170
SM
9521 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9522 we're in VC after all.
9523
1c6c854e
CS
95242011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9525
9526 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 9527 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
9528 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9529
bed7f140
SM
95302011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9531
332e62ab
SM
9532 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9533 add sanity check.
9534
bed7f140
SM
9535 * obsolete/erc-hecomplete.el: Make obsolete.
9536 * obsolete/: Standardize obsolescence info in the header.
9537
f195c582
GM
95382011-04-20 Glenn Morris <rgm@gnu.org>
9539
9540 * calendar/solar.el (solar-horizontal-coordinates):
9541 Use the longitude argument rather than `calendar-longitude'.
9542 (solar-date-next-longitude): Remove unused locals.
9543
cb79b8c0
VJL
95442011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9545
9546 * whitespace.el: New version 13.2.1.
9547
95482011-04-20 felix <EmacsWiki> (tiny change)
9549
d8e4b68b 9550 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
9551 switching between major modes on a file.
9552
602ea69d
SM
95532011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9556 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9557 multi-line comments as well.
9558
06b60517
JB
95592011-04-19 Juanma Barranquero <lekktu@gmail.com>
9560
9561 Lexical-binding cleanup.
9562
9563 * arc-mode.el (archive-mode-revert):
9564 * cmuscheme.el (scheme-interactively-start-process):
9565 * custom.el (custom-initialize-delay):
9566 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9567 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9568 * emacs-lock.el (emacs-lock-clear-sentinel):
9569 * ezimage.el (defezimage):
9570 * follow.el (follow-avoid-tail-recenter):
9571 * fringe.el (set-fringe-mode-1):
9572 * generic-x.el (bat-generic-mode-compile):
9573 * help-mode.el (help-info-variable, help-do-xref)
9574 (help-mode-revert-buffer):
9575 * help.el (view-emacs-todo):
9576 * iswitchb.el (iswitchb-completion-help):
9577 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9578 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9579 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9580 * locate.el (locate-update):
9581 * longlines.el (longlines-encode-region)
9582 (longlines-after-change-function):
9583 * outline.el (outline-isearch-open-invisible):
9584 * ps-def.el (declare-function, charset-dimension, char-width)
9585 (encode-char):
9586 * ps-mule.el (ps-mule-plot-string):
9587 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9588 (recentf-edit-list-select, recentf-edit-list-validate)
9589 (recentf-open-files-action):
9590 * rect.el (delete-whitespace-rectangle-line)
9591 (rectangle-number-line-callback):
9592 * register.el (window-configuration-to-register)
9593 (frame-configuration-to-register):
9594 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9595 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9596 (xselect-convert-to-targets, xselect-convert-to-delete)
9597 (xselect-convert-to-filename, xselect-convert-to-charpos)
9598 (xselect-convert-to-lineno, xselect-convert-to-colno)
9599 (xselect-convert-to-os, xselect-convert-to-host)
9600 (xselect-convert-to-user, xselect-convert-to-class)
9601 (xselect-convert-to-name, xselect-convert-to-integer)
9602 (xselect-convert-to-atom, xselect-convert-to-identity):
9603 * subr.el (declare, ignore, process-kill-without-query)
9604 (text-clone-maintain):
9605 * terminal.el (te-get-char, te-tic-sentinel):
9606 * tool-bar.el (tool-bar-make-keymap):
9607 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9608 * type-break.el (type-break-mode, type-break-noninteractive-query):
9609 * view.el (View-back-to-mark):
9610 * wid-browse.el (widget-browse-action, widget-browse-widget)
9611 (widget-browse-widgets, widget-browse-sexp):
9612 * widget.el (define-widget-keywords):
9613 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9614 Mark unused parameters.
9615
9616 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9617 (align-areas): Remove unused variable `look'.
9618 (align-region): Remove unused variables `real-end' and `pos-list'.
9619
9620 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9621
9622 * bindings.el (mode-line-modified, mode-line-remote):
9623 Mark unused parameters.
9624 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9625
9626 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9627 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9628
9629 * comint.el (comint-history-isearch-pop-state)
9630 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9631 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9632 (comint-substitute-in-file-name): Doc fix.
9633
9634 * completion.el (cmpl-statistics-block): Mark unused parameter.
9635 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9636 (save-completions-to-file, load-completions-from-file):
9637 Remove unused local variable `e'.
9638
9639 * composite.el (compose-chars): Remove unused variable `len'.
9640 (lgstring-insert-glyph): Remove unused variable `g'.
9641 (compose-glyph-string): Remove unused variables `ascent',
9642 `descent', `lbearing' and `rbearing'.
9643 (compose-glyph-string-relative): Remove unused variables
9644 `lbearing', `rbearing' and `wadjust'.
9645 (compose-gstring-for-graphic): Remove unused variables `header',
9646 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
9647 (compose-gstring-for-terminal): Remove unused variables `header'
9648 and `nchars'. Use `let', not `let*'.
9649
9650 * cus-edit.el (Custom-set, Custom-save, custom-reset)
9651 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9652 (Custom-buffer-done, custom-buffer-create-internal)
9653 (custom-browse-visibility-action, custom-browse-group-tag-action)
9654 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9655 (widget-magic-mouse-down-action, custom-toggle-parent)
9656 (custom-add-parent-links, custom-toggle-hide-variable)
9657 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9658 (custom-toggle-hide-face, face, hook, custom-group-link-action)
9659 (custom-face-menu-create, custom-variable-menu-create, get)
9660 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9661 (custom-reset-standard-save-and-update): Remove unused variable `value'.
9662 (customize-apropos): Remove unused variable `tests'.
9663 (custom-group-value-create): Remove unused variable `hidden-p'.
9664 (sort-fold-case): Declare.
9665
9666 * cus-theme.el (custom-reset-standard-faces-list)
9667 (custom-reset-standard-variables-list): Declare.
9668 (customize-create-theme, custom-theme-revert, custom-theme-write)
9669 (custom-theme-choose-mode, customize-themes, custom-theme-save):
9670 Mark unused parameters.
9671
9672 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9673
9674 * delim-col.el (delimit-columns-max): Move defvar before first use.
9675
9676 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 9677 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
9678
9679 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9680 (auto-insert): Declare.
9681 (desktop-restore-file-buffer): Rename desktop-* parameters;
9682 mark unused ones.
9683 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9684 (desktop-buffer): Rename desktop-* parameters.
9685
9686 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9687 (dframe-reposition-frame-xemacs, dframe-help-echo)
9688 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9689 Mark unused parameters.
9690
9691 * dired-aux.el (backup-extract-version-start, overwrite-query)
9692 (overwrite-backup-query, rename-regexp-query)
9693 (rename-non-directory-query): Declare.
9694 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9695 (dired-add-entry): Remove unused variable `orig-file-name'.
9696 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9697 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9698 `dired-copy-preserve-time' directly.
9699 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9700 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9701
9702 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9703 (dired-virtual-revert, dired-make-relative-symlink):
9704 Mark unused parameters.
9705 (manual-program): Declare.
9706 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9707 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9708 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9709
9710 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9711
9712 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9713
9714 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9715 Declare.
9716
9717 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9718
9719 * electric.el (Electric-command-loop): Rename parameter
9720 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9721
9722 * expand.el (expand-in-literal): Remove unused variable `here'.
9723
9724 * facemenu.el (facemenu-add-new-color):
9725 Remove unused variable `docstring'.
9726
9727 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9728 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9729 (face-attr-construct): Mark unused parameter. Doc fix.
9730 (read-color): Remove unused variable `hex-string'.
9731
9732 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9733 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9734 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9735 (display-buffer-other-frame): Remove unused variable `old-window'.
9736 (kill-buffer-hook): Declare.
9737 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9738 Mark unused parameters.
9739 (after-find-file): Pass 1 to `auto-save-mode', not t.
9740
9741 * files-x.el (auto-insert): Declare.
9742 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9743
9744 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 9745 variable `buf'. Mark unused parameter.
06b60517
JB
9746 (find-lisp-insert-directory): Mark unused parameter.
9747
9748 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9749 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9750 (format-common-tail): Remove, unused.
9751 (format-deannotate-region): Remove unused variable `loc'.
9752 (format-annotate-region): Remove unused variable `p'.
9753 (format-annotate-single-property-change): Remove unused variables
9754 `default' and `tail'.
9755
9756 * forms.el (read-file-filter): Declare.
9757 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9758
9759 * frame.el (frame-creation-function-alist): Mark unused parameter.
9760 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9761
9762 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9763 Remove unused parameters.
9764 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9765 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9766
9767 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9768 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9769 (hfy-prepare-tag-map): Mark unused parameters.
9770 (htmlfontify-buffer): Use `called-interactively-p'.
9771
9772 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9773 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9774 (ibuffer-do-occur): Mark unused parameters.
9775 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9776 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9777
9778 * ibuffer.el: Don't quote `lambda'.
9779 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9780 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9781 Mark unused parameters.
9782
9783 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9784 (ido-completing-read): Mark unused parameters.
9785 (ido-copy-current-word): Mark unused parameters;
9786 remove unused variable `name'.
9787 (ido-sort-merged-list): Remove unused parameter `dirs'.
9788
9789 * ielm.el (ielm-input-sender): Mark unused parameter.
9790 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9791 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9792 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9793 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9794 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9795
9796 * image-dired.el (image-dired-display-thumbs): Remove unused
9797 variables `curr-file' and `count'.
9798 (image-dired-remove-tag): Remove unused variable `start'.
9799 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9800 variable `curr-file'
9801 (image-dired-rotate-original): Remove unused variable `temp-file'.
9802 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9803 Remove unused variable `file'.
9804 (image-dired-gallery-generate): Remove unused variable `curr'.
9805 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9806
9807 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9808
9809 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9810
9811 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9812
9813 * isearch.el (minibuffer-history-symbol): Declare.
9814 (isearch-edit-string): Remove unused variable `err'.
9815 (isearch-message-prefix, isearch-message-suffix):
9816 Mark unused parameters.
9817
9818 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9819
9820 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9821
9822 * makesum.el (double-column): Remove unused variable `cnt'.
9823
9824 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9825 (ido-ignore-item-temp-list): Declare.
9826
9827 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9828 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9829 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9830 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9831 `mouse-col-delta'.
9832
9833 * mouse-sel.el (mouse-extend-internal):
9834 Remove unused variable `orig-window-frame'.
9835
9836 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9837 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9838 Move declarations before first use.
9839 (pcomplete-opt): Mark unused parameters; doc fix.
9840
9841 * proced.el (proced-revert): Mark unused parameter.
9842 (proced-send-signal): Remove unused variable `err'.
9843
9844 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9845 Rename parameter PREFIX-ARG to ARG.
9846 (ps-basic-plot-string, ps-basic-plot-whitespace):
9847 Mark unused parameters.
9848
9849 * replace.el (replace-count): Define.
9850 (occur-revert-function): Mark unused parameters.
9851 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9852 (isearch-case-fold-search, isearch-string): Declare.
9853 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9854 bind `case-fold-search'. Remove unused variables `beg' and `end',
9855 and simplify.
9856 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9857 COUNT and bind `replace-count'.
9858 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9859 to COUNT.
9860
9861 * savehist.el (print-readably, print-string-length): Declare.
9862
9863 * shadowfile.el (shadow-expand-cluster-in-file-name):
9864 Remove unused variable `cluster'.
9865 (shadow-copy-file): Remove unused variable `i'.
9866 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9867 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9868 (shadow-define-literal-group, shadow-define-regexp-group)
9869 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9870
9871 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9872 (shell): Use `called-interactively-p'.
9873 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9874
9875 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9876 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9877 (delete-backward-char): Remove unused variable `ocol'.
9878 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9879 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9880 (event-apply-hyper-modifier, event-apply-shift-modifier)
9881 (event-apply-control-modifier, event-apply-meta-modifier):
9882 Mark unused parameters.
9883 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9884 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9885
9886 * speedbar.el (speedbar-ignored-directory-expressions)
9887 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9888 (speedbar-find-file, speedbar-dir-follow)
9889 (speedbar-directory-buttons-follow, speedbar-tag-find)
9890 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9891 (speedbar-buffers-line-directory, speedbar-buffer-click):
9892 Mark unused parameters.
9893 (speedbar-tag-file): Remove unused variable `mode'.
9894 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9895
9896 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9897
9898 * talk.el (talk): Remove unused variable `display'.
9899
9900 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9901 (tar-write-region-annotate): Mark unused parameter.
9902
9903 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9904 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9905 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9906 warning by another.
9907
9908 * time-stamp.el (time-stamp-string-preprocess):
9909 Remove unused variable `require-padding'.
9910
9911 * tree-widget.el (widget-glyph-enable): Declare.
9912 (tree-widget-action): Mark unused parameter.
9913
9914 * w32-fns.el (x-get-selection): Mark unused parameter.
9915 (autoload-make-program, generated-autoload-file): Declare.
9916
9917 * wdired.el (wdired-revert): Mark unused parameters.
9918 (wdired-xcase-word): Remove unused variable `err'.
9919
9920 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9921 (whitespace-help-scroll): Remove unused variable `data-help'.
9922
9923 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9924 (widget-image-insert, widget-after-change, default)
9925 (widget-default-format-handler, widget-default-notify)
9926 (widget-default-prompt-value, widget-info-link-action)
9927 (widget-url-link-action, widget-function-link-action)
9928 (widget-variable-link-action, widget-file-link-action)
9929 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9930 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9931 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9932 (widget-insert-button-action, widget-delete-button-action, visibility)
9933 (widget-documentation-link-action, widget-documentation-string-action)
9934 (widget-const-prompt-value, widget-regexp-match, symbol)
9935 (widget-coding-system-prompt-value)
9936 (widget-key-sequence-value-to-external, sexp)
9937 (widget-sexp-value-to-internal, character, vector, cons)
9938 (widget-choice-prompt-value, widget-boolean-prompt-value)
9939 (widget-color--choose-action): Mark unused parameters.
9940 (widget-item-match-inline, widget-choice-match-inline)
9941 (widget-checklist-match, widget-checklist-match-inline)
9942 (widget-group-match): Rename parameter VALUES to VALS.
9943 (widget-field-value-set): Remove unused variable `size'.
9944 (widget-color-action): Remove unused variables `value' and `start'.
9945
9946 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 9947 variable `dir'. Doc fix.
06b60517
JB
9948 (windmove-find-other-window): Don't pass it.
9949
9950 * window.el (count-windows): Mark unused parameter.
9951 (bw-adjust-window): Remove unused variable `err'.
9952
9953 * woman.el (woman-file-name): Remove unused variable `default'.
9954 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9955 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9956 (global-font-lock-mode): Declare.
9957 (woman-decode-region): Mark unused parameter.
9958 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9959
9960 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9961 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9962 (x-dnd-handle-moz-url): Remove unused variable `title'.
9963 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9964
9965 * xml.el (xml-parse-tag, xml-parse-attlist):
9966 Remove unused variable `pos'.
9967
bc4f7f3d
GM
99682011-04-19 Glenn Morris <rgm@gnu.org>
9969
9970 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9971 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9972 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9973 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9974 * calendar/cal-html.el (cal-html-insert-minical):
9975 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9976 (calendar-mark-date-pattern):
9977 Prefix "unused" locals.
9978
9979 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9980 optional argument `style'.
9981
9982 * calendar/appt.el (appt-make-list):
9983 * calendar/cal-china.el (calendar-chinese-date-string):
9984 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9985 (diary-hebrew-yahrzeit):
9986 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9987 * calendar/calendar.el (calendar-generate-window):
9988 * calendar/time-date.el (time-to-days):
9989 Remove unused local variables.
9990
16a43933
CY
99912011-04-18 Chong Yidong <cyd@stupidchicken.com>
9992
9993 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9994 glyphless-char-display table.
9995 (tabulated-list-glyphless-char-display): New var.
9996
7eed1860
SS
99972011-04-18 Sam Steingold <sds@gnu.org>
9998
9999 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
10000 to acknowledgments.
10001
4d2d1ccd
GM
100022011-04-17 Glenn Morris <rgm@gnu.org>
10003
10004 * calendar/diary-lib.el (diary-sexp-entry):
10005 * calendar/holidays.el (holiday-sexp):
10006 Set debug-on-error rather than the removed stack-trace-on-error.
10007
239da61d
GM
100082011-04-16 Glenn Morris <rgm@gnu.org>
10009
10010 * progmodes/f90.el: Use lexical-binding.
10011 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
10012
8b05752a
SM
100132011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10014
daca8ba5
SM
10015 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
10016 (mail-mode): Setup mailalias completion here instead.
10017 * mail/mailalias.el: Use lexical-binding.
10018 (pattern, mailalias-done): Declare dynamic.
10019 (mail-completion-at-point-function): New function, from mail-complete.
10020 (mail-complete): Use it.
10021 (mail-completion-expand): New function.
10022 (mail-get-names): Use it.
10023 (mail-directory, mail-directory-process, mail-directory-stream):
10024 Don't use `pattern' for lexically bound arg.
10025
6f542485
SM
10026 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
10027
037e7c3f
SM
10028 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
10029 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
10030 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
10031
8b05752a
SM
10032 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
10033 (byte-save-window-excursion, byte-temp-output-buffer-setup)
10034 (byte-interactive-p): Define them again, for use when inlining
10035 old code.
10036
49093f60
JB
100372011-04-15 Juanma Barranquero <lekktu@gmail.com>
10038
10039 * loadup.el: Use `string-to-number', not `string-to-int'.
10040
b5b8e7de
SM
100412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
10044 gud-gdb-complete-command.
10045 (gud-gdb-completions): New function, from gud-gdb-complete-command.
10046 (gud-gdb-completion-at-point): New function.
10047 (gud-gdb-completions): Remove.
10048
f42efeb5
MA
100492011-04-14 Michael Albinus <michael.albinus@gmx.de>
10050
49093f60
JB
10051 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
10052 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
10053 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
10054 whether `executable-find' is bound.
f42efeb5
MA
10055
10056 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
10057
e240cc21
SM
100582011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10059
10060 * minibuffer.el (completion-in-region-mode-predicate)
10061 (completion-in-region-mode--predicate): New vars.
10062 (completion-in-region, completion-in-region--postch)
10063 (completion-in-region-mode): Use them.
10064 (completion--capf-wrapper): Also return the hook function.
10065 (completion-at-point, completion-help-at-point):
10066 Adjust and provide a predicate.
c2bd2ab0
SM
10067
10068 Preserve arg names for advice of subr and lexical functions (bug#8457).
10069 * help-fns.el (help-function-arglist): Consolidate the subr and
10070 new-byte-code cases. Add argument `preserve-names' to extract names
10071 from the docstring when needed.
10072 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
10073 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
10074 (ad-arglist): Use help-function-arglist's new arg.
10075 (ad-definition-type): Use cond.
10076
c183f693
JB
100772011-04-13 Juanma Barranquero <lekktu@gmail.com>
10078
06641a47
JB
10079 * autorevert.el (auto-revert-handler):
10080 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
10081 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
10082 Don't quote lambda.
10083
c183f693
JB
10084 * image-mode.el (image-transform-set-scale):
10085 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
10086
1e3b6001
G
100872011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10088
10089 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 10090 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
10091 Upgrades via gnutls-cli are too slow to be done opportunistically.
10092
2d6af8dd
JB
100932011-04-12 Juanma Barranquero <lekktu@gmail.com>
10094
10095 * dframe.el (dframe-current-frame): Remove spurious quote.
10096
c0749a51
GM
100972011-04-12 Glenn Morris <rgm@gnu.org>
10098
088d0d61
GM
10099 * calendar/cal-tex.el (cal-tex-end-document):
10100 Try to automatically use latin1 input if needed.
10101
c0749a51
GM
10102 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
10103 Don't try to cons a mark onto an empty element.
10104
5c90fde0
LL
101052011-04-11 Leo Liu <sdl.web@gmail.com>
10106
10107 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
10108 buffers.
10109 (ido-kill-buffer-at-head): Support killing virtual buffers.
10110
369e974d
CY
101112011-04-10 Chong Yidong <cyd@stupidchicken.com>
10112
10113 * minibuffer.el (completion-show-inline-help): New var.
10114 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
10115 (minibuffer-force-complete, minibuffer-complete-word):
10116 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
10117
10118 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
10119 to avoid interference from inline help (Bug#5849).
10120
37f1c930
LL
101212011-04-10 Leo Liu <sdl.web@gmail.com>
10122
099c39a4
JB
10123 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10124 Fix typo.
37f1c930 10125
a32d4040
CY
101262011-04-09 Chong Yidong <cyd@stupidchicken.com>
10127
10128 * image-mode.el (image-toggle-display-image): Signal an error if
10129 not in Image mode.
10130 (image-transform-mode, image-transform-resize)
10131 (image-transform-set-rotation): Doc fix.
daca8ba5 10132 (image-transform-set-resize): Delete.
a32d4040
CY
10133 (image-transform-set-scale, image-transform-fit-to-height)
10134 (image-transform-fit-to-width): Handle image-toggle-display-image
10135 and image-transform-resize directly.
10136
099c39a4 101372011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
10138
10139 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
10140 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
10141 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
10142 (doc-view-mode-map): Add bindings for the new functions.
10143
099c39a4 101442011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 10145
4d61f28d 10146 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
10147 Fix typo in docstring.
10148
3726838a
EZ
101492011-04-08 Eli Zaretskii <eliz@gnu.org>
10150
04f33f1e
EZ
10151 * files.el (file-size-human-readable): Produce one digit after
10152 decimal, like "ls -lh" does.
10153
10154 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
10155 the file size representation.
10156
3726838a
EZ
10157 * simple.el (list-processes): If async subprocesses are not
10158 available, error out with a clear error message.
10159
cbb59342
CY
101602011-04-08 Chong Yidong <cyd@stupidchicken.com>
10161
10162 * help.el (help-form-show): New function, to be called from C.
10163 Put help-form output in a buffer named differently than *Help*.
10164
e3971c44
EZ
101652011-04-08 Eli Zaretskii <eliz@gnu.org>
10166
10167 * files.el (file-size-human-readable): New function.
10168
10169 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
10170 computing the representation inline. Don't require `cl'.
10171
12544bbe
GM
101722011-04-08 Glenn Morris <rgm@gnu.org>
10173
a1de6c6a
GM
10174 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
10175
3c4671f4
GM
10176 * net/browse-url.el (browse-url-firefox):
10177 Test system-type, not system-configuration.
10178
b605679c
GM
10179 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
10180 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
10181 Use log-edit-empty-buffer-p. (Bug#7598)
10182
56442f0c
GM
10183 * net/rlogin.el (rlogin-process-connection-type): Simplify.
10184 (rlogin-mode-map): Initialize in the defvar.
10185 (rlogin): Use ignore-errors.
10186
12544bbe
GM
10187 * replace.el (occur-mode-map): Some fixes for menu items.
10188
eb237b0f
AH
101892011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10190
10191 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
10192
7d668f2c
CY
101932011-04-06 Chong Yidong <cyd@stupidchicken.com>
10194
e67a13ab
CY
10195 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
10196 issuing unused warnings.
10197
10198 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
10199 macro directly.
10200
7d668f2c
CY
10201 * simple.el: Lisp reimplement of list-processes. Based on an
10202 earlier reimplementation by Leo Liu, but using tabulated-list.el.
10203 (process-menu-mode): New major mode.
10204 (list-processes--refresh, list-processes):
10205 (process-menu-visit-buffer): New functions.
10206
10207 * files.el (save-buffers-kill-emacs): Don't assume any return
10208 value of list-processes, which is undocumented anyway.
10209
a83ec3c9
CY
102102011-04-06 Chong Yidong <cyd@stupidchicken.com>
10211
10212 * emacs-lisp/tabulated-list.el: New file.
10213
e91a96fe
CY
10214 * emacs-lisp/package.el: Use Tabulated List mode.
10215 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
10216 (package-menu-mode): Derive from tabulated-list-mode. Set up the
10217 table format using Tabulated List mode variables.
10218 (package--push): New macro, replacing package-list-maybe-add.
10219 (package-menu--generate): Use package--push. Renamed from
10220 package--generate-package-list.
10221 (package-menu-refresh, list-packages): Use it.
daca8ba5 10222 (package-menu--print-info): Rename from package-print-package.
e91a96fe 10223 Return insertion data instead of inserting it directly.
099c39a4
JB
10224 (package-menu-describe-package, package-menu-execute):
10225 Use tabulated-list-get-id.
e91a96fe
CY
10226 (package-menu-mark-delete, package-menu-mark-install)
10227 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
10228 (package-menu-mark-obsolete-for-deletion):
10229 Use tabulated-list-put-tag.
e91a96fe
CY
10230 (package--list-packages, package-menu-revert)
10231 (package-menu-get-package, package-menu-get-version)
10232 (package-menu-sort-by-column): Functions deleted.
10233 (package-menu-package-list, package-menu-sort-key): Vars deleted.
10234 (package-menu--status-predicate, package-menu--version-predicate)
10235 (package-menu--name-predicate)
10236 (package-menu--description-predicate): Handle arguments in the
10237 Tabulated List format.
10238 (package-list-packages-no-fetch): Call list-packages.
10239
3e214b50
JB
102402011-04-06 Juanma Barranquero <lekktu@gmail.com>
10241
10242 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 10243 (after-find-file): Don't bind it.
3e214b50
JB
10244 (revert-buffer-in-progress-p): New variable.
10245 (revert-buffer): Bind it.
10246 Pass nil for `after-find-file-from-revert-buffer'.
10247
10248 * saveplace.el (save-place-find-file-hook): Use new variable
10249 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10250
3f0f1700
GM
102512011-04-06 Glenn Morris <rgm@gnu.org>
10252
c0274801
GM
10253 * Makefile.in (AUTOGEN_VCS): New variable.
10254 (autoloads): Use $AUTOGEN_VCS.
10255
3f0f1700
GM
10256 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10257 * calendar/calendar.el (calendar-mode-map):
10258 Check for toolkit scroll bars. (Bug#8305)
10259
41ea9e48
CY
102602011-04-05 Chong Yidong <cyd@stupidchicken.com>
10261
10262 * minibuffer.el (completion-in-region--postch)
10263 (completion-in-region-mode): Remove unnecessary messages.
10264
6194c800
JB
102652011-04-05 Juanma Barranquero <lekktu@gmail.com>
10266
33256f14
JB
10267 * font-lock.el (font-lock-refresh-defaults):
10268 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10269 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10270
6194c800
JB
10271 * info.el (Info-directory-list, Info-read-node-name-2)
10272 (Info-split-parameter-string): Doc fixes.
10273 (Info-virtual-nodes): Reflow docstring.
10274 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10275 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10276 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10277 Fix typos in docstrings.
10278 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10279 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10280 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10281 (Info-restore-desktop-buffer): Mark unused parameters.
10282 (Info-directory-find-file, Info-directory-find-node)
10283 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10284 (Info-virtual-index-find-node, Info-apropos-find-file)
10285 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 10286 Mark unused parameters; fix typos in docstrings.
6194c800
JB
10287 (Info-virtual-index): Remove unused local variable `nodename'.
10288
b87a8200 102892011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 10290
b87a8200
DD
10291 * net/rcirc.el: Update my e-mail address.
10292 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 10293
3b2ff876
CY
102942011-04-05 Chong Yidong <cyd@stupidchicken.com>
10295
10296 * startup.el (command-line): Save the cursor's theme-face
10297 directly, instead of using face-override-spec.
10298
10299 * custom.el (load-theme): Minor optimization in assigning faces.
10300
8d17e7ca
JB
103012011-04-04 Juanma Barranquero <lekktu@gmail.com>
10302
10303 * help-fns.el (describe-variable): Complete all variables having
10304 documentation, including keywords.
10305 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10306
2fbc1934
JB
103072011-04-04 Juanma Barranquero <lekktu@gmail.com>
10308
10309 Convert to lexical-binding.
10310
10311 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10312 (bs--get-marked-string, bs--get-modified-string)
10313 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10314 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10315 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10316
10317 * ehelp.el (electric-help-execute-extended)
10318 (electric-help-ctrl-x-prefix):
10319 * hexl.el (hexl-revert-buffer-function):
10320 * linum.el (linum-after-change, linum-after-scroll):
10321 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10322
10323 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10324
74f50695
DU
103252011-04-04 Daiki Ueno <ueno@unixuser.org>
10326
10327 * epa-dired.el:
10328 * epa-mail.el:
10329 * epa-hook.el:
10330 * epa-file.el:
10331 * epa.el:
10332 * epg.el: Use lexical binding.
10333
c11325f7
CY
103342011-04-03 Chong Yidong <cyd@stupidchicken.com>
10335
0d9e9a12
CY
10336 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10337
c11325f7 10338 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
10339 dictionary case for flyspell-mark-duplications-exceptions.
10340 Use regexp matching for languages.
c11325f7
CY
10341 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10342 default dictionary (Bug#7926).
10343
da91b5f2
CY
103442011-04-02 Chong Yidong <cyd@stupidchicken.com>
10345
099c39a4
JB
10346 * emacs-lisp/package.el (package--with-work-buffer):
10347 Recognize https URLs.
da91b5f2 10348
099c39a4
JB
10349 * net/network-stream.el: Move from gnus/proto-stream.el.
10350 Change prefix to network-stream throughout.
da91b5f2
CY
10351 (open-protocol-stream): Merge into open-network-stream, leaving
10352 open-protocol-stream as an alias. Handle nil BUFFER args.
10353
10354 * subr.el (open-network-stream): Move to net/network-stream.el.
10355
afa8e9f6
GM
103562011-04-02 Glenn Morris <rgm@gnu.org>
10357
1d2e369d
GM
10358 * find-dired.el (find-exec-terminator): New option.
10359 (find-ls-option): Test for -ls support.
10360 (find-ls-subdir-switches): Test for -b in find-ls-option.
10361 (find-dired, find-grep-dired): Doc fixes.
10362 (find-dired): Use find-exec-terminator.
10363
8abb7da8 10364 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
10365 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10366 (find-name-arg): Remove purecopy.
8abb7da8 10367
f3ca7378
GM
10368 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10369 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10370 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10371 accordingly. Don't add the null-device if not needed.
10372
afa8e9f6
GM
10373 * files.el (save-some-buffers): Doc fix.
10374
35eae264
EZ
103752011-04-02 Eli Zaretskii <eliz@gnu.org>
10376
10377 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10378
26b51db5
JB
103792011-04-01 Juanma Barranquero <lekktu@gmail.com>
10380
10381 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10382 Use `dolist' rather than `mapcar'.
10383
7200d79c
SM
103842011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10385
03408648 10386 Add lexical binding.
7200d79c 10387
03408648
SM
10388 * subr.el (apply-partially): Use new closures rather than CL.
10389 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10390 (dolist, dotimes): Use slightly different expansion for lexical code.
10391 (functionp): Move to C.
10392 (letrec): New macro.
10393 (with-wrapper-hook): Use it and apply-partially instead of CL.
10394 (eval-after-load): Preserve lexical-binding.
10395 (save-window-excursion, with-output-to-temp-buffer): Turn them
10396 into macros.
7200d79c 10397
03408648
SM
10398 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10399
10400 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10401 than the arglist.
10402 (help-add-fundoc-usage): Don't add `Not documented'.
10403 (help-function-arglist): Handle closures, subroutines, and new
10404 byte-code-functions.
10405 (help-make-usage): Remove leading underscores.
10406 (describe-function-1): Handle closures.
10407 (describe-variable): Use special-variable-p for completion.
10408
10409 * files.el (lexical-binding): Declare safe.
f488fb65 10410
03408648
SM
10411 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10412 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10413 (pcase): Add `let' pattern.
10414 Change memoization so it actually works.
10415 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10416 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10417 <let>: New case.
f488fb65 10418
03408648
SM
10419 * emacs-lisp/macroexp.el: Use lexical binding.
10420 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10421 Don't convert ' to #' without checking that it's indeed quoting
10422 a lambda.
10423
10424 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 10425 Use eval-sexp-add-defvars.
03408648
SM
10426 (eval-sexp-add-defvars): New fun.
10427
10428 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10429
10430 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10431 Don't autoload.
10432 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10433 than the internal `byte-compile-lambda'.
10434 (defmethod): Don't hide code under quotes.
10435 (eieio-defmethod): New `code' argument.
10436
10437 * emacs-lisp/eieio-comp.el: Remove.
10438
10439 * emacs-lisp/edebug.el (edebug-eval-defun)
10440 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10441 (edebug-toggle): Avoid `eval'.
10442
10443 * emacs-lisp/disass.el (disassemble-internal): Handle new
10444 `closure' objects.
10445 (disassemble-1): Handle new byte codes.
10446
10447 * emacs-lisp/cl.el (pushnew): Silence warning.
10448
10449 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10450 (cl-byte-compile-throw): Remove.
10451 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10452
10453 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10454 closures.
10455
10456 * emacs-lisp/cconv.el: New file.
10457
10458 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10459 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10460 (byte-compile-initial-macro-environment):
10461 Handle declare-function here.
10462 (byte-compile--lexical-environment): New var.
10463 (byte-stack-ref, byte-stack-set, byte-discardN)
10464 (byte-discardN-preserve-tos): New lap codes.
10465 (byte-interactive-p): Don't use any more.
10466 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10467 New macros.
10468 (byte-compile-lapcode): Use them and handle new lap codes.
10469 (byte-compile-obsolete): Remove.
10470 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10471 (byte-compile-arglist-warn): Check late def of inlinable funs.
10472 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10473 since they should have been expanded by now.
10474 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10475 (byte-compile-from-buffer): Remove unused second arg.
10476 (byte-compile-preprocess): New function.
10477 (byte-compile-toplevel-file-form): New function to distinguish
10478 file-form calls from outside from file-form calls from hunk-handlers.
10479 (byte-compile-file-form): Simplify.
10480 (byte-compile-file-form-defsubst): Remove.
10481 (byte-compile-file-form-defmumble): Simplify now that
10482 byte-compile-lambda always returns a byte-code-function.
10483 (byte-compile): Preprocess.
10484 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10485 Remove, not used any more.
10486 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10487 (byte-compile-make-args-desc): New funs.
10488 (byte-compile-lambda): Handle lexical functions. Always return
10489 a byte-code-function.
10490 (byte-compile-reserved-constants): New var, to make up room for
10491 closed-over variables.
10492 (byte-compile-constants-vector): Obey it.
10493 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10494 (byte-compile-macroexpand-declare-function): New function.
10495 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10496 byte-code-functions.
10497 (byte-compile-form): Check obsolescence here.
10498 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10499 (byte-compile-variable-ref): Remove.
10500 (byte-compile-dynamic-variable-op): New fun.
10501 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10502 (byte-compile-variable-set): New funs.
10503 (byte-compile-discard): Add 2 args.
10504 (byte-compile-stack-ref, byte-compile-stack-set)
10505 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10506 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10507 macroexpand-all instead.
10508 (byte-compile-quote-form): Remove.
10509 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10510 (byte-compile-bind, byte-compile-unbind): New funs.
10511 (byte-compile-let): Handle let* and lexical binding.
10512 (byte-compile-let*): Remove.
10513 (byte-compile-catch, byte-compile-unwind-protect)
10514 (byte-compile-track-mouse, byte-compile-condition-case):
10515 Handle a new :fun-body form, used for lexical scoping.
10516 (byte-compile-save-window-excursion)
10517 (byte-compile-with-output-to-temp-buffer): Remove.
10518 (byte-compile-defun): Simplify.
10519 (byte-compile-stack-adjustment): New fun.
10520 (byte-compile-out): Use it.
10521 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10522
10523 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10524 handler any more.
10525
10526 * emacs-lisp/byte-opt.el: Use lexical binding.
10527 (byte-inline-lapcode): Remove (to bytecomp).
10528 (byte-compile-inline-expand): Pay attention to inlining to/from
10529 lexically bound code.
10530 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10531 any more.
10532 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10533 any more and don't call compiler-macros.
10534 (byte-compile-splice-in-already-compiled-code): Remove.
10535 (byte-code): Don't inline any more.
10536 (disassemble-offset): Receive `bytes' as argument rather than via
10537 dynamic scoping.
10538 (byte-compile-tag-number): Declare before first use.
10539 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10540 `return' even if make-spliceable.
10541 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10542 obsolete interactive-p.
10543 (byte-optimize-lapcode): Optimize new lap-codes.
10544 Don't trip up on new form of `byte-constant' lap code.
10545
10546 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10547
10548 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10549
10550 * custom.el (custom-initialize-default, custom-declare-variable):
10551 Use `defvar'.
10552
10553 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10554 New variables.
10555 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10556 (COMPILE_FIRST): Add macroexp and cconv.
10557 * makefile.w32-in: Mirror changes in Makefile.in.
10558
10559 * vc/cvs-status.el:
10560 * vc/diff-mode.el:
10561 * vc/log-edit.el:
10562 * vc/log-view.el:
10563 * vc/smerge-mode.el:
10564 * textmodes/bibtex-style.el:
10565 * textmodes/css.el:
10566 * startup.el:
10567 * uniquify.el:
da91b5f2
CY
10568 * minibuffer.el:
10569 * newcomment.el:
10570 * reveal.el:
10571 * server.el:
10572 * mpc.el:
10573 * emacs-lisp/smie.el:
10574 * doc-view.el:
10575 * dired.el:
03408648
SM
10576 * abbrev.el: Use lexical binding.
10577
0f0c1f27
EZ
105782011-04-01 Eli Zaretskii <eliz@gnu.org>
10579
10580 * info.el (info-display-manual): New function.
10581
c82b2579
SM
105822011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10583
10584 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10585
221ddf68
TH
105862011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10587
10588 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 10589 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 10590
cba6e77e
GM
105912011-03-31 Glenn Morris <rgm@gnu.org>
10592
e040639f
GM
10593 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10594
cba6e77e
GM
10595 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10596
6d0f1c9e
CS
105972011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10598
10599 * progmodes/python.el (python-default-interpreter)
10600 (python-python-command-args, python-jython-command-args)
10601 (python-which-shell, python-which-args, python-which-bufname)
10602 (python-file-queue, python-comint-output-filter-function)
10603 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10604 variables and functions.
10605
3e2d70fd
SM
106062011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10607
10608 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10609 (completion-in-region-mode): New minor mode.
10610 (completion-in-region): Use it.
10611 (completion-in-region--data, completion-in-region-mode-map): New vars.
10612 (completion-in-region--postch): New function.
10613 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10614 New vars.
10615 (completion--capf-wrapper): New function.
10616 (completion-at-point): Use it to track well-behavedness of
10617 hook functions.
10618 (completion-help-at-point): New command.
10619
f3e4086c
JM
106202011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10621
10622 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10623 syntax class to search for whitespace on a single line
10624 (Message-ID: <4D938140.4030905@redhat.com>).
10625
eb7ffc14
LL
106262011-03-30 Leo Liu <sdl.web@gmail.com>
10627
10628 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10629 New commands.
10630 (edit-abbrevs-map): Bind them here.
10631 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10632
d806ab68
KM
106332011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10634
10635 * allout.el (allout-hide-by-annotation, allout-flag-region):
10636 Reduce possibility of overlay leakage by making them volatile.
10637
10638 * allout-widgets.el (allout-widgets-tally): Define as nil so the
10639 hash is not shared between buffers. Mode initialization is
10640 responsible for giving it a useful starting value.
10641 (allout-item-span): Reduce possibility of overlay leakage by
10642 making them volatile.
10643 (allout-widgets-count-buttons-in-region): Add diagnostic function
10644 for tracking down button overlay leaks.
10645
ea622834
LL
106462011-03-29 Leo Liu <sdl.web@gmail.com>
10647
10648 * ido.el (ido-read-internal): Use the default history var
10649 minibuffer-history if no HISTORY is specified.
10650
b62f8267
G
106512011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
10652
03408648
SM
10653 * net/imap.el (imap-shell-open, imap-process-connection-type):
10654 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
10655 Kerberos, SSL, other subprocesses.
10656
947b6566
LL
106572011-03-28 Leo Liu <sdl.web@gmail.com>
10658
10659 * abbrev.el (abbrev-table-empty-p): New function.
10660 (prepare-abbrev-list-buffer): Place empty abbrev tables after
10661 nonempty ones. (Bug#5937)
10662
5ffb62aa
JD
106632011-03-27 Jan Djärv <jan.h.d@swipnet.se>
10664
10665 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10666
7a097943
LL
106672011-03-27 Leo Liu <sdl.web@gmail.com>
10668
10669 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10670 for foreground and background colors.
10671 (ansi-color-make-color-map): Adapt.
10672
c5b40130
LL
106732011-03-25 Leo Liu <sdl.web@gmail.com>
10674
1f48f7d2
LL
10675 * midnight.el (midnight-time-float): Remove. Note it calculates
10676 the microsecond component incorrectly and seconds-to-time does the
10677 same job.
625897ec 10678 Remove redundant (require 'timer).
1f48f7d2 10679
c5b40130
LL
10680 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10681 (ido-completions): Remove unused arguments. (Bug#8329)
10682
d86d2721
SM
106832011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * minibuffer.el (completion--flush-all-sorted-completions):
10686 Remove itself from hook.
10687 (completion-at-point): Let the functions perform the completion
10688 immediately and return nil or t.
10689 * comint.el (comint-dynamic-complete-functions): Now identical to
10690 completion-at-point-functions.
10691 (comint-dynamic-list-input-ring): Remove unused var `index'.
10692 (comint--match-partial-filename, comint--unquote&expand-filename):
10693 New funs, split from comint-match-partial-filename.
10694 (comint-dynamic-complete): Use completion-at-point.
10695 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10696
e8974c48
DA
106972011-03-24 Drew Adams <drew.adams@oracle.com>
10698
10699 * thingatpt.el: Support `defun'.
10700
def71b5e
LL
107012011-03-23 Leo Liu <sdl.web@gmail.com>
10702
cb5af48e
LL
10703 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10704
def71b5e
LL
10705 * help-mode.el (help-mode-finish): Tweak regexp.
10706
927c53e7
GM
107072011-03-23 Glenn Morris <rgm@gnu.org>
10708
18d05bed
GM
10709 * eshell/esh-opt.el (eshell-eval-using-options):
10710 Do not bind unused local variable `eshell-option-stub'.
10711
927c53e7
GM
10712 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10713
9d0da923
JB
107142011-03-22 Juanma Barranquero <lekktu@gmail.com>
10715
10716 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10717 keymap variable in `with-no-warnings' to avoid a warning when the
10718 keymap has been already `defconst'ed.
10719
4b978a67
LL
107202011-03-22 Leo Liu <sdl.web@gmail.com>
10721
10722 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10723 encode all chars in abbrevs; otherwise use emacs-mule or
10724 utf-8-emacs. (Bug#8308)
10725
5fd62452
JB
107262011-03-22 Juanma Barranquero <lekktu@gmail.com>
10727
0b1596c6
JB
10728 * simple.el (backward-delete-char-untabify):
10729 Avoid warning about using `delete-backward-char'.
10730
5fd62452
JB
10731 * image.el (image-type-file-name-regexps): Make it variable.
10732 `imagemagick-register-types' modifies it, and the user may want
10733 to add new extensions for known image types.
10734 (imagemagick-register-types): Throw error if not using ImageMagick.
10735
0b4e93f1
LL
107362011-03-22 Leo Liu <sdl.web@gmail.com>
10737
10738 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10739 located before rcirc-prompt-end-marker.
10740 (rcirc-complete): Error if point is not after rcirc prompt.
10741 Handle the case when table is nil.
9882e214 10742 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 10743
fccee4ab
CY
107442011-03-22 Chong Yidong <cyd@stupidchicken.com>
10745
10746 * custom.el (custom--inhibit-theme-enable): Make it affect only
10747 custom-theme-set-variables and custom-theme-set-faces.
10748 (provide-theme): Ignore custom--inhibit-theme-enable.
10749 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10750 (custom-enabling-themes): Delete variable.
d86d2721
SM
10751 (enable-theme): Accept only loaded themes as arguments.
10752 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
10753 (custom-enabled-themes): Forbid themes from setting this.
10754 Eliminate use of custom-enabling-themes.
10755 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 10756
af896da6
LL
107572011-03-21 Leo Liu <sdl.web@gmail.com>
10758
10759 * ido.el (ido-read-internal): Add ido-selected to history instead
10760 of user input.
10761
78f64af0
SM
107622011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * subr.el (deferred-action-list, deferred-action-function):
10765 Mark obsolete.
10766
b16ac1ec
LL
107672011-03-21 Leo Liu <sdl.web@gmail.com>
10768
810f7698
LL
10769 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10770 change on 2011-02-13 (bug#8309).
10771
b16ac1ec
LL
10772 * minibuffer.el (read-file-name-function): Change default value.
10773 (read-file-name--defaults): Rename from read-file-name-defaults.
10774 (read-file-name-default): Rename from read-file-name.
10775 (read-file-name): Call read-file-name-function.
10776
4e05e67e
GM
107772011-03-21 Glenn Morris <rgm@gnu.org>
10778
10779 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10780 Doc fixes.
10781
4359915b
CY
107822011-03-21 Chong Yidong <cyd@stupidchicken.com>
10783
10784 * cus-theme.el: Add missing provide statement.
10785 (customize-create-theme): Extract theme value correctly.
10786 (custom-theme-visit-theme): Autoload.
10787 (customize-create-theme): Prompt before inserting default faces.
10788
1fe275ee
JB
107892011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10790
10791 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10792 units and musical notes.
10793
cd394be1 107942011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
10795
10796 * ido.el (ido-read-internal): Use completing-read-default.
10797 (ido-completing-read): Fix compatibility with completing-read.
10798
7d476bde
CO
107992011-03-20 Christian Ohler <ohler@gnu.org>
10800
10801 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10802 (ert-delete-all-tests): Use `called-interactively-p' rather than
10803 `interactive-p'.
10804 (ert--make-xrefs-region): Respect END.
10805
fe0fb33e
CY
108062011-03-19 Chong Yidong <cyd@stupidchicken.com>
10807
ff854b0b
CY
10808 * dired-aux.el (dired-create-directory): Signal an error if the
10809 directory already exists (Bug#8246).
10810
fe0fb33e
CY
10811 * facemenu.el (list-colors-display): Call list-faces-display
10812 inside with-help-window.
10813 (list-colors-print): Use display property to align the final
10814 column, instead of checking window-width.
10815
576bce32
EZ
108162011-03-19 Eli Zaretskii <eliz@gnu.org>
10817
4d61f28d 10818 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
10819 windows-nt systems.
10820 (emerge-protect-metachars): Quote correctly for ms-dos and
10821 windows-nt systems.
10822
89c41d68 108232011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
10824
10825 * info.el (info-initialize): Replace all uses of `:' with
10826 path-separator for compatibility with non-Unix systems.
10827 Cache quoting of path-separator. (Bug#8258)
10828
b14e3e21 108292011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
10830
10831 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10832 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10833 (mouse-avoidance-mode): Fix typos in docstrings.
10834
4525ce3e
CY
108352011-03-19 Chong Yidong <cyd@stupidchicken.com>
10836
10837 * startup.el (package-subdirectory-regexp): Move from package.el.
10838 Omit \\` and \\', and let callers add them.
10839
10840 * emacs-lisp/package.el (package-strip-version)
10841 (package-load-all-descriptors): Add \\` and \\' to
10842 package-subdirectory-regexp before using it.
10843 (package-untar-buffer): New arg DIR; ensure that file untars only
10844 into this expected directory. Remove superfluous delete-region.
10845 (package-unpack): Caller changed.
10846 (package-tar-file-info): Use package-subdirectory-regexp.
10847
a904a09a 108482011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 10849
a904a09a
SM
10850 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10851 diff-mode-shared-map (bug#8284).
10852 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
10853
108542011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10855
10856 * calendar/time-date.el (format-seconds): Use assoc instead of
10857 assoc-string, since assoc-string doesn't exist in XEmacs.
10858
171fc304
JB
108592011-03-17 Juanma Barranquero <lekktu@gmail.com>
10860
10861 * custom.el (custom-known-themes): Reflow docstring.
10862 (custom-theme-load-path): Fix typo in docstring.
10863 (load-theme): Fix typo in error message.
10864 (custom-available-themes, custom-variable-theme-value):
10865 Use `let', not `let*'.
10866
d71990a1
JB
108672011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10868
10869 * calc/README: Mention inclusion of musical notes.
10870
10871 * calc/calc-units.el (calc-lu-quant): Rename from
10872 `calc-logunits-quantity'.
10873 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10874 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10875 (calc-db): Rename from `calc-dblevel'.
10876 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10877 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10878 (calc-np): Rename from `calc-nplevel'.
10879 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10880 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10881 (calc-lu-plus): Rename from `calc-logunits-add'.
10882 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10883 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10884 (calc-lu-minus): Rename from `calc-logunits-sub'.
10885 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10886 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10887 (calc-lu-times): Rename from `calc-logunits-mul'.
10888 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10889 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10890 (calc-lu-divide): Rename from `calc-logunits-div'.
10891 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10892 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10893
10894 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10895 functions being autoloaded.
10896
10897 * calc/calc.el (calc-lu-power-reference): Rename from
10898 `calc-logunits-power-reference'.
10899 (calc-lu-field-reference): Rename from
10900 `calc-logunits-field-reference'.
10901
7a71b18d
GM
10902 * calc/calc-help.el (calc-l-prefix-help):
10903 Mention musical note functions.
d71990a1 10904
40c2934b
SM
109052011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * minibuffer.el (completion-all-sorted-completions):
10908 Use :completion-cycle-penalty text property if present.
10909
b0911414
KM
109102011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10911
10912 * allout.el (allout-yank-processing): Adjust for new rebulleting
10913 regime so bullet being yanked is used without prompting the user
10914 for a choice.
10915
8a05b668
JB
109162011-03-16 Juanma Barranquero <lekktu@gmail.com>
10917
10918 * startup.el (command-line): Warn the user that _emacs is deprecated.
10919
5ba5fb81
JB
109202011-03-16 Juanma Barranquero <lekktu@gmail.com>
10921
10922 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10923 (delphi-verbose, delphi-comment-face, delphi-string-face)
10924 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10925 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10926 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10927 (delphi-new-comment-line, delphi-font-lock-defaults)
10928 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10929 Fix typos in docstrings.
10930
2dab465b
KM
109312011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10932
5ba5fb81 10933 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
10934 Invert the roles of character and string values for INSTEAD, so a
10935 string is used for the more common case of a defaulting prompt.
10936
0adf5618
SM
109372011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10938
10939 * progmodes/ruby-mode.el (ruby-backward-sexp):
10940 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10941 * play/gamegrid.el (gamegrid-make-face):
10942 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10943 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10944 * notifications.el (notifications-notify):
10945 * net/xesam.el (xesam-search-engines):
10946 * net/quickurl.el (quickurl-list-insert):
10947 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10948
d72700e5
CY
109492011-03-15 Chong Yidong <cyd@stupidchicken.com>
10950
10951 * startup.el (command-line): Update package subdirectory regexp.
10952
49c5410a
SM
109532011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10954
c6eee9aa
SM
10955 * allout.el (allout-abbreviate-flattened-numbering)
10956 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10957
49c5410a
SM
10958 * subr.el (read-char-choice): Only show the cursor after the prompt,
10959 not after the answer.
10960
047b2bb9
KR
109612011-03-15 Kevin Ryde <user42@zip.com.au>
10962
10963 * help-fns.el (variable-at-point): Skip leading quotes, if any
10964 (bug#8253).
10965
0a57d256
SM
109662011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10967
10968 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10969 warning message.
10970
77c992bc
MA
109712011-03-14 Michael Albinus <michael.albinus@gmx.de>
10972
10973 * shell.el (shell): When called interactively, offer to change the
10974 shell file name on remote hosts.
10975
eebc475d
TZ
109762011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10977
10978 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10979 integration for LDAP parameters. The host, base, user or binddn,
10980 and secret tokens can be specified in a netrc file, for instance.
10981 This is optional because an `auth-source' parameter must be
10982 specified in the search attributes.
10983
9d05d1ba
JB
109842011-03-13 Juanma Barranquero <lekktu@gmail.com>
10985
10986 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10987
09d9db2c
GM
109882011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10989
10990 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10991 into declaration. Remove redundant and harmful binding.
10992
109932011-03-12 Eli Zaretskii <eliz@gnu.org>
10994
10995 * files.el (file-ownership-preserved-p): Pass `integer' as an
10996 explicit 2nd argument to `file-attributes'. If the file's owner
10997 is the Administrators group on Windows, and the current user is
10998 Administrator, consider that a match.
10999
11000 * server.el (server-ensure-safe-dir): Consider server directory
11001 safe on MS-Windows if its owner is the Administrators group while
11002 the current Emacs user is Administrator. Use `=' to compare
11003 numerical UIDs, since they could be integers or floats.
11004
219bd536
JB
110052011-03-12 Juanma Barranquero <lekktu@gmail.com>
11006
11007 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
11008
f3afd36b
MA
110092011-03-12 Michael Albinus <michael.albinus@gmx.de>
11010
11011 Sync with Tramp 2.2.1.
11012
11013 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
11014
11015 * net/trampver.el: Update release number.
11016
3aaaa6f1
SM
110172011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11018
94642599
SM
11019 * progmodes/compile.el (compilation--previous-directory): Fix up
11020 various nil/dead-marker mismatches (bug#8014).
11021 (compilation-directory-properties, compilation-error-properties):
11022 Don't call it at a position past the one we're about to change.
11023
3aaaa6f1
SM
11024 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
11025 Disable obsolescence warnings in the file that declares it.
11026
14239447
KM
110272011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
11028
099c39a4
JB
11029 * allout-widgets.el (allout-widgets-tally):
11030 Initialize allout-widgets-tally as a hash table rather than nil to
11031 prevent mode-line redisplay warnings. Also, clarify the module
11032 description and fix a comment typo.
14239447 11033
135e287c
JB
110342011-03-11 Juanma Barranquero <lekktu@gmail.com>
11035
11036 * help-fns.el (describe-variable): Don't complete keywords.
11037 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
11038
ffbf300e
CY
110392011-03-10 Chong Yidong <cyd@stupidchicken.com>
11040
ba08b241
CY
11041 * emacs-lisp/package.el (package-version-join): Impose a standard
11042 string representation for pre/alpha/beta version lists.
11043 (package-unpack-single): Standardize the directory name by passing
11044 it through package-version-join.
11045 (package-strip-rcs-id): Accept any version string that does not
11046 signal an error in version-to-list.
ffbf300e 11047
f346fd6b
MA
110482011-03-10 Michael Albinus <michael.albinus@gmx.de>
11049
11050 * simple.el (delete-trailing-whitespace): Return nil for the
11051 benefit of `write-file-functions'.
11052
ccb55d27
GM
110532011-03-10 Glenn Morris <rgm@gnu.org>
11054
5ceaac0c
GM
11055 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
11056
02da65ff
GM
11057 * vc/vc-git.el (vc-git-program): New option.
11058 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
11059 (vc-git--call): Use it.
11060
b2f603cc
GM
11061 * eshell/esh-util.el (eshell-condition-case): Doc fix.
11062
5772caab
GM
11063 * cus-edit.el (Custom-newline): If no button at point, look
11064 for a subgroup button at start-of-line. (Bug#2298)
11065
ccb55d27
GM
11066 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
11067
ec6ecaed
JD
110682011-03-10 Julien Danjou <julien@danjou.info>
11069
11070 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
11071 `cursor-type' is nil.
11072
9d5aa01d
JB
110732011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
11074
11075 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
11076
b6a5875b
KM
110772011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
11078
7a71b18d 11079 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
11080 preserves the existing header prefix, rebulleting it if necessary,
11081 rather than replacing it. This is necessary for proper operation
11082 of cooperative addons like allout-widgets.
1154d12e
JB
11083 (allout-make-topic-prefix, allout-rebullet-heading):
11084 Change SOLICIT arg to INSTEAD, and interpret additionally a string
11085 value as alternate bullet to be used, instead of prompting the user
11086 for a bullet character.
b6a5875b 11087
ee545c35
MA
110882011-03-09 Michael Albinus <michael.albinus@gmx.de>
11089
d86d2721
SM
11090 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11091 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
11092 `tramp-default-port'.
11093
c47971d7
DD
110942011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
11095
11096 * net/rcirc.el (rcirc-handler-001): Remove useless
11097 with-rcirc-process-buffer.
11098 (rcirc-check-auth-status): Swap arguments to string-match.
11099
13522cb4
GM
111002011-03-09 Glenn Morris <rgm@gnu.org>
11101
0be6f4f1
GM
11102 * shell.el (shell-mode):
11103 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
11104
13522cb4
GM
11105 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
11106 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
11107
515de2e3
CY
111082011-03-08 Chong Yidong <cyd@stupidchicken.com>
11109
11110 * emacs-lisp/package.el (package-refresh-contents)
11111 (package-menu-execute): Use condition-case-no-debug.
11112
b511b994
MA
111132011-03-08 Michael Albinus <michael.albinus@gmx.de>
11114
11115 * simple.el (shell-command-to-string): Use `process-file'.
11116
11117 * emacs-lisp/package.el (package-tar-file-info): Handle also
11118 remote files.
11119
d86d2721
SM
11120 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11121 Use `equal' for upload base check.
b511b994 11122
25bbfb31
AM
111232011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
11124
11125 * textmodes/texinfo.el (texinfo-environments):
11126 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
11127
be996521
GM
111282011-03-08 Glenn Morris <rgm@gnu.org>
11129
e9c8529f
GM
11130 * cus-start.el (cursor-in-non-selected-windows):
11131 Fix :set quoting oddness. (Bug#8192)
11132
be996521
GM
11133 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
11134 in some setf expressions. (Bug#2159)
11135
2bb5649e
CY
111362011-03-08 Chong Yidong <cyd@stupidchicken.com>
11137
11138 * custom.el (custom-available-themes): Return themes in
11139 alphabetical order.
11140
33383987 11141See ChangeLog.15 for earlier changes.
e3d51b27
MR
11142
11143;; Local Variables:
11144;; coding: utf-8
e3d51b27
MR
11145;; End:
11146
acaf905b 11147 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
11148
11149 This file is part of GNU Emacs.
11150
11151 GNU Emacs is free software: you can redistribute it and/or modify
11152 it under the terms of the GNU General Public License as published by
11153 the Free Software Foundation, either version 3 of the License, or
11154 (at your option) any later version.
11155
11156 GNU Emacs is distributed in the hope that it will be useful,
11157 but WITHOUT ANY WARRANTY; without even the implied warranty of
11158 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11159 GNU General Public License for more details.
11160
11161 You should have received a copy of the GNU General Public License
11162 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.