Auto-commit of loaddefs files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0876a82d
JL
12012-09-20 Juri Linkov <juri@jurta.org>
2
3 * dired-aux.el (dired-diff): Remove (require 'diff) since
4 `diff-latest-backup-file' is now autoloaded.
5
9f7c28f0
CY
62012-09-20 Chong Yidong <cyd@gnu.org>
7
8 * vc/diff.el (diff-latest-backup-file): Autoload.
9
7a04bee9
SM
102012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11
e6f0a80d
SM
12 * calc/calc.el: Remove redundant autoload shape check.
13 (sel-mode): Don't defvar.
14 (calc-get-stack-element): Add `sel-mode' arg instead.
15 (calc-top, calc-top-list): Pass it this additional argument.
16 * calc/calc-store.el (calc-store-map):
17 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
18 (calc-map-equation, calc-outer-product, calc-inner-product):
19 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
20
7a04bee9
SM
21 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
22
12734222
JL
232012-09-19 Juri Linkov <juri@jurta.org>
24
25 * dired-aux.el (dired-diff): Add (require 'diff) because
26 `diff-latest-backup-file' is not autoloaded.
27 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
28 of `dired-get-filename' to t to not report error when there is
29 no default file on the current line.
30
46624b4f
SM
312012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
32
ce97595b
SM
33 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
34 macroexp--eval-if-compile.
35 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
36 (macroexp--expand-all): Use them (bug#12371).
37
46624b4f
SM
38 * doc-view.el (doc-view-guess-paper-size)
39 (doc-view-scale-bounding-box): Fix unbound `caddr'.
40
db8a5a18
TH
412012-09-19 Tassilo Horn <tsdh@gnu.org>
42
43 New feature: set optimal slice from BoundingBox information.
44 * doc-view.el (doc-view-mode-map): Add keybinding.
45 (doc-view-menu): Add menu entry.
46 (doc-view-set-slice): Adapt docstring.
47 (doc-view-get-bounding-box, doc-view-guess-paper-size)
48 (doc-view-scale-bounding-box)
49 (doc-view-set-slice-from-bounding-box): New functions.
50 (doc-view-paper-sizes): New defvar.
51
69f6644c
GM
522012-09-19 Glenn Morris <rgm@gnu.org>
53
35f5b19d
GM
54 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
55 (byte-compile-log-warning): Autoload. (Bug#12371)
56
69f6644c
GM
57 * calendar/calendar.el (calendar-american-month-header)
58 (calendar-european-month-header, calendar-iso-month-header)
59 (calendar-month-header): New options.
60 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
61 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
62
e543ae91
JD
632012-09-19 Jan Djärv <jan.h.d@swipnet.se>
64
65 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
66
2fd5e67d
JL
672012-09-18 Juri Linkov <juri@jurta.org>
68
69 * dired-aux.el (dired-diff): Restore original functionality of
70 getting the default value, but keep new feature of using the
71 latest existing backup file (`diff-latest-backup-file').
72
42917e79
JL
732012-09-18 Juri Linkov <juri@jurta.org>
74
75 * dired.el (dired-mark): If the region is active in Transient Mark
76 mode, mark all files in the active region. Doc fix.
77 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
78 Doc fix. (Bug#10624)
79
20f70ede
JL
802012-09-18 Juri Linkov <juri@jurta.org>
81
82 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
83 attributes for M-n are pulled from the file at point.
84 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
85 Suggested by Drew Adams. (Bug#10624)
86
32fb8162
DG
872012-09-18 Dmitry Gutov <dgutov@yandex.ru>
88
89 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
90 whitespace after "end".
91 (ruby-do-end-to-brace): Collapse block to one line if it fits
92 within fill-column.
93
37ab5092
MR
942012-09-18 Martin Rudalics <rudalics@gmx.at>
95
96 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
97 value.
98 (debug): Don't remove debugger window when debugger is expected
99 to be back.
100
ed1f0bd3
CY
1012012-09-18 Chong Yidong <cyd@gnu.org>
102
103 * custom.el (defface): Doc fix.
104
105 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
106
a11035b8
MB
1072012-09-18 Martin Blais <blais@furius.ca> (tiny change)
108
109 * progmodes/compile.el (compilation-start): Use compilation-always-kill
110 to initialize query-on-exit; then test that instead (bug#12288).
111
64f6a736
SM
1122012-09-17 Stefan Merten <smerten@oekonux.de>
113
114 * rst.el: Add support for `testcover'.
115 (rst-defcustom-testcover, rst-testcover-add-compose)
116 (rst-testcover-add-1value): New functions.
117 (rst-portable-mark-active-p): Replace by `use-region-p'.
118 (rst-update-section, rst-classify-adornment)
119 (rst-find-title-line): Mark `1value' forms.
120 (rst-classify-adornment): Remove superfluous form.
121 (rst-update-section, rst-get-adornments-around)
122 (rst-adornment-complete-p, rst-get-next-adornment)
123 (rst-adjust, rst-promote-region)
124 (rst-display-adornments-hierarchy, rst-straighten-adornments)
125 (rst-find-pfx-in-region, rst-section-tree-rec)
126 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
127 (rst-toc-node, rst-toc, rst-forward-section)
128 (rst-iterate-leftmost-paragraphs)
129 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
130 (rst-bullet-list-region)
131 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
132 (rst-compile-find-conf, rst-compile)
133 (rst-repeat-last-character): Fix style.
134
580bd868
CY
1352012-09-17 Chong Yidong <cyd@gnu.org>
136
137 * comint.el (comint--complete-file-name-data): Don't add a space
138 if the status is `sole'; that adds a gratuitous space in the
139 completion-cycling case (Bug#12092).
140
141 * pcomplete.el (pcomplete-completions-at-point): Likewise.
142
69de3ec6
RS
1432012-09-17 Richard Stallman <rms@gnu.org>
144
0dee970c
RS
145 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
146 only in the mime-shown mode, not in raw mode.
147 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 148 mime processing. (Bug#12305)
0dee970c 149
6b250df6
GM
150 * mail/rmail.el (rmail-retry-failure):
151 Turn off mime processing first. (Bug#12037)
acb1c47b 152
69de3ec6
RS
153 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
154
d079ee5f
CY
1552012-09-17 Chong Yidong <cyd@gnu.org>
156
157 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
158 (shell-dynamic-complete-functions): Convert to defcustom.
159 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
160
865fe16f
CY
161 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
162 * comint.el (comint-prompt-read-only):
163 * custom.el (defcustom):
164 * hi-lock.el (hi-lock-mode):
165 * ibuffer.el (ibuffer-formats):
166 * ielm.el (ielm-prompt-read-only):
167 * novice.el (disable-command):
168 * saveplace.el (toggle-save-place):
169 * speedbar.el (speedbar-supported-extension-expressions):
170 * startup.el (auto-save-list-file-prefix, init-file-user)
171 (after-init-hook, inhibit-startup-echo-area-message):
172 * strokes.el (strokes-help):
173 * time-stamp.el (time-stamp):
174 * calendar/calendar.el (calendar, diary-file):
175 * calendar/diary-lib.el (diary-mail-entries, diary)
176 (diary-list-entries-hook):
177 * calendar/holidays.el (holidays, calendar-holidays):
178 * calendar/lunar.el (lunar-phases):
179 * calendar/solar.el (sunrise-sunset):
180 * emulation/edt.el (edt-load-keys):
181 * emulation/viper.el (viper-mode):
182 * eshell/em-alias.el (eshell-command-aliases-list):
183 * eshell/esh-util.el (eshell-convert-numeric-arguments):
184 * international/ogonek.el (ogonek-information):
185 * net/tramp-cmds.el (tramp-bug):
186 * net/quickurl.el (quickurl-reread-hook-postfix):
187 * play/decipher.el (decipher-font-lock-keywords):
188 * progmodes/cc-styles.el (c-set-style):
189 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
190 * progmodes/inf-lisp.el (inferior-lisp-prompt):
191 * progmodes/octave-mod.el (octave-mode):
192 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
193 * progmodes/verilog-mode.el (verilog-read-defines):
194 * textmodes/two-column.el (2C-mode): Likewise.
195
48093eb9
KY
1962012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
197
198 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
199 that holds many addresses.
200
c584eaf9
CY
2012012-09-16 Chong Yidong <cyd@gnu.org>
202
40d70ecb
CY
203 * align.el (align-areas): Call the indication function with
204 positions instead of markers for arguments (Bug#12343).
205
1667e065
CY
206 * files.el (parse-colon-path): Use split-string (Bug#12351).
207
fdc2806d 208 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 209 (display-buffer-function): Mark as obsolete.
fdc2806d 210
f1be615c 211 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
212 values similar to font-lock-keywords (Bug#12136).
213 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
214 (compilation-error-regexp-alist): Doc fix.
215
f40a9709
GM
2162012-09-15 Glenn Morris <rgm@gnu.org>
217
72aa16e1
GM
218 * version.el (emacs-bzr-version-bzr): New function.
219 (emacs-bzr-get-version): Add optional EXTERNAL argument.
220
82375160
GM
221 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
222 checkouts, check the parent dirstate matches the branch.
223 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
224 empty string.
225
f40a9709
GM
226 * version.el (emacs-bzr-version): Doc fix.
227 (emacs-bzr-version-dirstate): New function.
228 (emacs-bzr-get-version): For lightweight checkouts, if the parent
229 is local try and check that it matches the branch. If not, just
230 use dirstate information. (Bug#12441)
231
cb26b7f5
JL
2322012-09-14 Juri Linkov <juri@jurta.org>
233
234 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
235 (Bug#12399)
236
2de39f08
SM
2372012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
238
0fb3cb7c
SM
239 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
240
2de39f08
SM
241 * emacs-lisp/edebug.el: Miscellaneous cleanup.
242 Remove obsolete byte-compiler hack that tried to silence some warnings.
243 (edebug-submit-bug-report): Remove.
244 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
245 Remove aliases, use the un-prefixed name instead.
246 (edebug-pop-to-buffer): Consider other frames.
247 (edebug-original-read):: Make it more obvious that it's always defined.
248 (edebug--make-form-data-entry, edebug--form-data-name)
249 (edebug--form-data-begin, edebug--form-data-end): Rename from the
250 single-dashed name, and implement with cl-defstruct.
251 (edebug-set-form-data-entry): Use the standard accessors.
252 (edebug-make-top-form-data-entry): Use push.
253 (edebug-no-match): Drop useless `funcall'.
254 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
255 to functions.
256 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
257 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
258 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
259 (easy-menu-define, with-custom-print): Remove redundant specs.
260 (edebug-outside-overriding-local-map)
261 (edebug-outside-overriding-terminal-local-map): Remove, unused.
262 (edebug--display): Bind unread-command-events directly to nil rather
263 than binding it to unread-command-events and later setting it to nil.
264 (edebug--display): Kill edebug-eval-buffer here...
265 (edebug--recursive-edit): ...rather than here.
266 Bind standard-output and standard-input.
267 (edebug-eval): Check cl-macroexpand-all is fboundp.
268 (edebug-temp-display-freq-count): Fix last change.
269
270 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
271 * subr.el (noreturn, 1value): Add `debug' spec.
272 * emacs-lisp/advice.el: Require cl-lib.
273 (ad-copy-tree): Remove, use copy-tree instead.
274 (ad-dolist): Remove use dolist or cl-dolist instead.
275 (ad-do-return): Remove, use cl-return instead.
276 (defadvice): Add `debug' spec.
277
5b68b333
JL
2782012-09-13 Juri Linkov <juri@jurta.org>
279
280 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
281 (Bug#12399)
282
b9800ec4
GM
2832012-09-13 Glenn Morris <rgm@gnu.org>
284
6a2e6868
GM
285 * calc/calc.el (math-compose-expr):
286 * calc/calc-ext.el (math-compose-expr):
287 * progmodes/cc-defs.el (cl-macroexpand-all):
288 * progmodes/cc-langs.el (delete-duplicates, mapcan)
289 (cl-macroexpand-all): Update declarations.
290
b9800ec4
GM
291 * vc/vc.el: No need to require ediff.
292 (ediff-load-version-control): Declare.
293 (ediff-vc-internal): Fix declaration.
294 (vc-version-ediff): Require ediff.
295
c18e885b
PE
2962012-09-13 Paul Eggert <eggert@cs.ucla.edu>
297
298 Use a more backwards-compatible timer format (Bug#12430).
299 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
300 being right after USECS, as that better supports old code that
301 inadvisedly looked directly at the timer vector.
302
d607d303
KH
3032012-09-13 Kenichi Handa <handa@gnu.org>
304
305 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
306 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
307 `coding-priority' property of these language environment.
308
72eac303
PE
3092012-09-13 Paul Eggert <eggert@cs.ucla.edu>
310
311 Fix glitches caused by addition of psec to timers (Bug#12430).
312 * image.el (image-animate-timer):
313 * time.el (display-time-world-timer):
314 Use timer--function and timer--args rather than raw access to
315 timer vector.
316
2168fe4f
GM
3172012-09-13 Glenn Morris <rgm@gnu.org>
318
319 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
320 If not compiling a file, try using load-file-name.
321
bd8d6108
SM
3222012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
323
c0c54fbd
SM
324 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
325 Fix last change.
326 (edebug-update-eval-list): Use `push'.
327
bd8d6108
SM
328 * emacs-lisp/edebug.el: Use lexical-binding.
329 Remove the "edebug-" prefix from non-dynamically-scoped variables.
330 Mark unused args with underscore.
331 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
332 (edebug-form-data): Use defvar-local.
333 (edebug-make-before-and-after-form, edebug-make-after-form):
334 Use backquote.
335 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
336 Not dynamically scoped any more.
337 (edebug--enter-trace): Add arguments `function' and `args'.
338 Rename from edebug-enter-trace.
339 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
340 (edebug--update-coverage): Add `after-index' and `value' args.
341 Rename from edebug-update-coverage.
342 (edebug-slow-after): Call it accordingly.
343 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
344 edebug-recursive-edit.
345 (edebug--display): Call it accordingly. Add args `value',
346 `offset-index', and `arg-mode'. Rename from edebug-display.
347 (edebug-debugger, edebug): Call it accordingly.
348 (edebug-eval-display-list): Use dolist.
349
a9f9d9de
JL
3502012-09-12 Juri Linkov <juri@jurta.org>
351
352 * info.el (Info-search): Don't check for isearch-mode and
353 isearch-regexp before let-binding search-spaces-regexp to
354 Info-search-whitespace-regexp.
355 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
356 search-whitespace-regexp if isearch-lax-whitespace or
357 isearch-regexp-lax-whitespace is non-nil.
358 (Info-mode): Don't set local variable search-whitespace-regexp.
359 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
360
bfeae2cf
SM
3612012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
364 (debugger-env-macro): Remove support for unread-command-char.
365
366 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
367 the temporary map re-appearing on emulation-mode-map-alists.
368
369 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
370 since 22.1.
371
372 * ehelp.el (with-electric-help): Accept functions in
373 electric-help-form-to-execute.
374 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
375 And replace unread-command-char -> unread-command-events.
376
fbbcaf1b
MA
3772012-09-12 Michael Albinus <michael.albinus@gmx.de>
378
379 Sync with Tramp 2.2.6.
380
381 * net/tramp.el (tramp-accept-process-output): Don't use
382 JUST-THIS-ONE in the XEmacs case.
383
384 * net/trampver.el: Update release number.
385
4dece104
MR
3862012-09-12 Martin Rudalics <rudalics@gmx.at>
387
bfeae2cf
SM
388 * emacs-lisp/debug.el (debugger-previous-window-height):
389 New variable.
4dece104
MR
390 (debug): When debugger-jumping-flag is non-nil try to restore
391 height of debugger window. (Bug#8789)
392
45b82ad0
SM
3932012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
394
60c49c0f
SM
395 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
396 overriding-local-map and pre/post-command-hook here.
397 (edebug-recursive-edit): Do it here instead (bug#12345).
398 (edebug-outside-unread-command-char): Remove all uses of
399 unread-command-char.
400
45b82ad0
SM
401 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
402 inhibit-debugger is bound instead.
403
baa26ea0
BG
4042012-09-11 Bastien Guerry <bzg@gnu.org>
405
406 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 407 (Bug#12346)
baa26ea0 408
04e8abfa
BG
4092012-09-11 Bastien Guerry <bzg@gnu.org>
410
96d03571 411 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 412 (Bug#12347)
96d03571
BG
413
4142012-09-11 Bastien Guerry <bzg@gnu.org>
415
fc0c31f8 416 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 417
04e082b0
MM
4182012-09-10 Michael R. Mauger <mmaug@yahoo.com>
419
420 * progmodes/sql.el: Version 3.1
421 (sql-db2-escape-newlines): New variable.
422 (sql-escape-newlines-filter): Use it.
423
399a361b
JB
4242012-09-10 Juanma Barranquero <lekktu@gmail.com>
425
426 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
427
0780c517
DN
4282012-09-10 Dan Nicolaescu <dann@gnu.org>
429
45b82ad0
SM
430 * vc/diff-mode.el (diff-mode-menu):
431 Bind diff-remove-trailing-whitespace.
0780c517 432
9b851e25
SM
4332012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
436 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
437 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
438 (eval-sexp-add-defvars): Don't skip defvars in column >0.
439 (eval-defun-2): Remove bogus interactive spec.
440 (lisp-indent-line): Remove redundant whole-exp code, now done in
441 indent-according-to-mode.
442 (save-match-data): Remove redundant indent data.
443
444 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
445 Use `declare'.
446
3231d532
JL
4472012-09-09 Juri Linkov <juri@jurta.org>
448
449 * replace.el (replace-regexp-lax-whitespace): New defcustom.
450 (replace-lax-whitespace, query-replace-regexp)
451 (query-replace-regexp-eval, replace-regexp): Doc fix.
452 (perform-replace, replace-highlight): Let-bind
453 isearch-lax-whitespace to replace-lax-whitespace and
454 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
455
456 * isearch.el (isearch-query-replace): Let-bind
457 replace-lax-whitespace to isearch-lax-whitespace and
458 replace-regexp-lax-whitespace to
459 isearch-regexp-lax-whitespace. (Bug#10885)
460
70fe8236
SM
4612012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
464
8ed43f15
AM
4652012-09-09 Alan Mackenzie <acm@muc.de>
466
70fe8236
SM
467 * progmodes/cc-engine.el (c-state-cache-init):
468 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
469 (c-record-parse-state-state):
470 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 471
bfabf70a
AS
4722012-09-09 Andreas Schwab <schwab@linux-m68k.org>
473
474 * register.el (register-separator): Rename from
475 separator-register. All uses changed. Doc fix.
476 (register): Fix version.
477
011474aa
CY
4782012-09-09 Chong Yidong <cyd@gnu.org>
479
480 * replace.el (query-replace-map): Bind four new symbols for
481 requesting window scrolling.
482
483 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
484 query-replace-map (Bug#8948).
485
486 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
487
488 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
489 since they are now in query-replace-map.
490
491 * window.el (scroll-other-window-down): Make the arg optional.
492
a8b7cd8d
CY
4932012-09-09 Chong Yidong <cyd@gnu.org>
494
495 * files.el (hack-local-variables-confirm): Use quit-window to kill
496 the *Local Variables* buffer.
497
c3268831
DG
4982012-09-08 Dmitry Gutov <dgutov@yandex.ru>
499
500 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
501 not just expect to be at its beginning. Adjust callees.
502 Succeed when do-end block has no space before the pipe character.
503 (ruby-brace-to-do-end): When the original block is one-liner,
504 convert to multiline. Reindent the result.
505
0979429b
J
5062012-09-08 Jambunathan K <kjambunathan@gmail.com>
507
508 * register.el (register): New group.
509 (register-separator): New user option.
510 (increment-register): Route it to `append-to-register', if
511 register contains text. Implication is that `C-x r +' can now be
512 used for appending to a text register (bug#12217).
513 (append-to-register, prepend-to-register): Add separator based on
514 `register-separator.
515
ace2989a
AM
5162012-09-08 Alan Mackenzie <acm@muc.de>
517
518 AWK Mode: make auto-newline work when there's "==" in the pattern.
519 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
520 correctly.
0979429b
J
521 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
522 Test more rigorously for "=" token.
ace2989a 523
616c6c36
DG
5242012-09-08 Dmitry Gutov <dgutov@yandex.ru>
525
0979429b
J
526 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
527 Only fail when reached LIMIT.
616c6c36 528
35d98877
CY
5292012-09-08 Chong Yidong <cyd@gnu.org>
530
531 * dired.el (dired-mode-map): Don't bind M-=.
532
533 * dired-aux.el (dired-diff): Use backup file as default.
534
1715f2db
DA
5352012-09-08 Drew Adams <drew.adams@oracle.com>
536
537 * subr.el (add-to-history): Fix delete usage (Bug#12314).
538
6dcef6ec
CY
5392012-09-08 Chong Yidong <cyd@gnu.org>
540
541 * subr.el (syntax-after, syntax-class): Doc fix.
542
fa2bcf43
MR
5432012-09-08 Martin Rudalics <rudalics@gmx.at>
544
545 * window.el (display-buffer-in-previous-window): New buffer
546 display action function.
547
548 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
549 (debugger-previous-window): New variable.
550 (debug): Rewrite using display-buffer-in-previous-window,
551 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
552
daac280a
SM
5532012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
556
9dd40b00
MM
5572012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
558
daac280a
SM
559 * progmodes/python.el (python-shell-send-string):
560 When default-directory is remote, create temp file on remote
9dd40b00
MM
561 filesystem.
562 (python-shell-send-file): When file is remote, pass local view of
563 file paths to remote Python interpreter. (Bug#12340)
564
145823ec
CY
5652012-09-07 Chong Yidong <cyd@gnu.org>
566
cee2e90d
CY
567 * window.el (switch-to-buffer): Doc fix (Bug#12181).
568
0d7eb2ea
CY
569 * files.el (after-find-file): Don't fail on a read-only buffer if
570 require-final-newline is `visit' or `visit-save' (Bug#11156).
571
145823ec
CY
572 * subr.el (read-char-choice): Allow quitting via ESC ESC.
573
daac280a
SM
574 * userlock.el (ask-user-about-supersession-threat):
575 Use read-char-choice (Bug#12093).
145823ec 576
74c582e6
CY
5772012-09-07 Chong Yidong <cyd@gnu.org>
578
e5c2edf7
CY
579 * subr.el (buffer-narrowed-p): New function.
580
581 * ses.el (ses-widen):
582 * simple.el (count-words--buffer-message):
583 * net/browse-url.el (browse-url-of-buffer): Use it
584
585 * simple.el (count-words-region): Don't signal an error if there
586 is a non-nil prefix arg and the mark is not set.
c640e87d 587
74c582e6
CY
588 * help.el (describe-key-briefly): Allow the message to be seen
589 when invoked from the minibuffer (Bug#7014).
590
d81ceaaf
DG
5912012-09-07 Dmitry Gutov <dgutov@yandex.ru>
592
593 * progmodes/ruby-mode.el (ruby-end-of-defun)
594 (ruby-beginning-of-defun): Simplify, allow indentation before
595 block beginning and end keywords.
8f06acce
DG
596 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
597 (ruby-end-of-defun): Expect that the point is at the beginning of
598 the defun.
d81ceaaf 599
d458ef98
SM
6002012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
603 (bug#12367).
604 (cl--make-usage-args): Strip _ from argument names.
605
20367d28
RS
6062012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
607
608 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
609 obsolete alias speedbar-key-map.
610 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
611 (vhdl-index-menu-init): Don't use obsolete variable
612 font-lock-maximum-size.
613
3424a4f6
CY
6142012-09-06 Chong Yidong <cyd@gnu.org>
615
616 * frame.el (window-system-version): Mark as obsolete.
617
fcbfbdea
CY
618 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
619 of obsolete variable speedbar-key-map.
620
826b3235
JL
6212012-09-06 Juri Linkov <juri@jurta.org>
622
623 * replace.el (replace-lax-whitespace): New defcustom.
624 (query-replace, query-replace-regexp, query-replace-regexp-eval)
625 (replace-string, replace-regexp): Mention it in docstrings.
626 (perform-replace, replace-highlight): Let-bind
627 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
628 to the values of replace-lax-whitespace and regexp-flag.
629 Don't let-bind search-whitespace-regexp. (Bug#10885)
630
631 * isearch.el (isearch-query-replace): Let-bind
632 replace-lax-whitespace instead of let-binding
633 replace-search-function and replace-re-search-function.
634 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
635 and isearch-regexp-lax-whitespace to lazy-highlight variables.
636 (isearch-toggle-symbol): Set isearch-regexp to nil
637 in isearch-word mode (like in isearch-toggle-word).
638
1ec5e41d
JL
6392012-09-06 Juri Linkov <juri@jurta.org>
640
641 * replace.el (replace-search-function)
642 (replace-re-search-function): Set default values to nil.
643 (perform-replace): Let-bind isearch-related variables based on
644 replace-related values, call `isearch-search-fun' and let-bind
645 the result to `search-function'. Remove code that sets
646 `search-function' and `search-string' separately for
647 `delimited-flag'.
648 (replace-highlight): Add new argument `delimited-flag' and
649 rename other arguments to the names used in `perform-replace'.
650 Let-bind `isearch-word' to the argument `delimited-flag'.
651 (Bug#10885, bug#10887)
652
0ba2d4b6
DG
6532012-09-07 Dmitry Gutov <dgutov@yandex.ru>
654
655 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
656 ruby-beginning-of-indent, simplify, allow all keywords to have
657 indentation before them.
658 (ruby-beginning-of-indent): Adjust for above. Search until the
659 found point is not inside a string or comment.
660 (ruby-font-lock-keywords): Allow symbols to start with "@"
661 character, give them higher priority than variables.
662 (ruby-syntax-propertize-function)
663 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
664 matchers. Expression expansions are not comments when inside a
665 string, and there comment syntax status is irrelevant.
666 (ruby-match-expression-expansion): New function. Check that
667 expression expansion is inside a string, and it's not escaped.
668 (ruby-font-lock-keywords): Use it.
669
ef654460
MR
6702012-09-05 Martin Rudalics <rudalics@gmx.at>
671
672 * help.el (temp-buffer-max-height): New default value.
673 (temp-buffer-resize-frames): New option.
674 (resize-temp-buffer-window): Optionally resize frame.
675
676 * window.el (fit-frame-to-buffer-bottom-margin): New option.
677 (fit-frame-to-buffer): New function.
678
7e570fbf 6792012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
680
681 * emulation/cua-rect.el (cua--init-rectangles):
682 * textmodes/picture.el (picture-mode-map):
683 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
684 like forward-char and backward-char. (Bug#12317)
685
7e570fbf 6862012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
687
688 * progmodes/flymake.el (flymake-warning-re): New variable.
689 (flymake-parse-line): Use it.
690
7e570fbf 6912012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
692
693 * calendar/holidays.el (holiday-christian-holidays):
694 Rename an entry. (Bug#12289)
695
7e570fbf 6962012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
697
698 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
699 (bug#12222).
700
972debf2
SM
7012012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * loadup.el: Load macroexp. Remove hack.
704 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
705 (macroexp--expand-all): Use it to get better warnings.
706 (macroexp--backtrace, macroexp--trim-backtrace-frame)
707 (internal-macroexpand-for-load): New functions.
708 (macroexp--pending-eager-loads): New var.
709 (emacs-startup-hook): New hack to replace one in loadup.el.
710 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
711 (cl--compiler-macro-cXXr): Move to top, before they can be used.
712 (cl-psetf): Simplify.
713 (cl-defstruct): Add indent rule.
714
8ce192e3
LI
7152012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
716
717 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
718 over `user-mail-address' for the SMTP MAIL FROM envelope.
719 (smtpmail-via-smtp): Ditto.
720
6578b4d8
DG
7212012-09-04 Dmitry Gutov <dgutov@yandex.ru>
722
723 * progmodes/ruby-mode.el: Clean up keybindings.
724 (ruby-mode-map): Don't bind ruby-electric-brace,
725 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
726 backward-kill-word, reindent-then-newline-and-indent.
727 (ruby-mark-defun): Remove.
728 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
729 (ruby-mode): Set local beginning-of-defun-function and
730 end-of-defun-function values.
731
c5e28e39
MR
7322012-09-03 Martin Rudalics <rudalics@gmx.at>
733
734 * window.el (temp-buffer-window-setup-hook)
735 (temp-buffer-window-show-hook): New hooks.
736 (temp-buffer-window-setup, temp-buffer-window-show)
737 (with-temp-buffer-window): New functions.
972debf2
SM
738 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
739 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
740
741 * help.el (temp-buffer-resize-mode): Fix doc-string.
742 (resize-temp-buffer-window): New optional argument WINDOW.
743
744 * files.el (recover-file, save-buffers-kill-emacs):
745 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
746
73406194
MA
7472012-09-02 Michael Albinus <michael.albinus@gmx.de>
748
749 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
750 remote definition of `default-directory', ensure we can connect.
751
63dd1c6f
JL
7522012-09-02 Juri Linkov <juri@jurta.org>
753
754 Toggle whitespace matching mode with M-s SPC.
755 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
756
757 * isearch.el (search-whitespace-regexp): Doc fix.
758 Remove cons cell customization.
759 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
760 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
761 New variables.
762 (isearch-forward, isearch-forward-regexp): Doc fix.
763 (isearch-toggle-lax-whitespace): New command.
764 (search-forward-lax-whitespace, search-backward-lax-whitespace)
765 (re-search-forward-lax-whitespace)
766 (re-search-backward-lax-whitespace): New functions.
767 (isearch-whitespace-regexp): Remove function.
768 (isearch-query-replace): Let-bind replace-search-function and
769 replace-re-search-function.
770 (isearch-occur): Let-bind search-spaces-regexp according to the
771 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
772 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
773 condition for C-q SPC.
774 (isearch-search-fun-default): Use new functions mentioned above.
775 (isearch-search-forward, isearch-search-backward): Remove functions.
776 (isearch-search): Don't let-bind search-spaces-regexp.
777 (isearch-lazy-highlight-space-regexp): Remove variable.
778 (isearch-lazy-highlight-lax-whitespace)
779 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
780 (isearch-lazy-highlight-new-loop): Use them.
781 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
782
af7dda05
CY
7832012-09-02 Chong Yidong <cyd@gnu.org>
784
785 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
786
d67d3afd
GM
7872012-09-02 Glenn Morris <rgm@gnu.org>
788
789 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
790
69678719
GM
7912012-09-01 Glenn Morris <rgm@gnu.org>
792
793 * term.el: Tidy up menu definitions.
794 (term-mode-map): Use easymenu for In/Out, Complete menus.
795 (term-pager-break-map): Initialize in the defvar.
796 (term-terminal-menu, term-signals-menu): Define with easymenu.
797 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
798 (term-pager-menu): New, extracted from term-process-pager.
799 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
800 (term-update-mode-line): Propertize line/char and page items.
801 (term-process-pager): Move keymap initialization elsewhere.
802
78dd6ab1
MR
8032012-09-01 Martin Rudalics <rudalics@gmx.at>
804
805 * window.el (switch-to-prev-buffer): Handle additional values of
806 BURY-OR-KILL argument. Don't switch in minibuffer window.
807 (switch-to-next-buffer): Don't switch in minibuffer window.
808 (quit-restore-window): New function based on quit-window.
809 Handle additional values of former KILL argument.
810 (quit-window): Call quit-restore-window with appropriate
811 interpretation of KILL argument.
812 (display-buffer-below-selected): New buffer display action
813 function.
814
3d10e134
SM
8152012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * minibuffer.el (completion-at-point-functions): Complete docstring
818 (bug#12254).
819
0e23ef9d
PE
8202012-09-01 Paul Eggert <eggert@cs.ucla.edu>
821
822 Better seed support for (random).
823 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
824 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
825 * play/mpuz.el, play/tetris.el, play/zone.el:
826 * calc/calc-comb.el (math-init-random-base):
827 * play/blackbox.el (bb-init-board):
828 * play/life.el (life):
829 * server.el (server-use-tcp):
830 * type-break.el (type-break):
831 Remove unnecessary call to (random t).
832 * net/sasl.el (sasl-unique-id-function):
833 Change (random t) to (random), now that the latter is more random.
834 * play/life.el (life-initialized): Remove no-longer-needed var.
835
862382df
MR
8362012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
837
838 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
839 Consider frame's buffer predicate when choosing the buffer.
840 (Bug#12081)
841
262a66e1
RS
8422012-08-30 Richard Stallman <rms@gnu.org>
843
844 * simple.el (special-mode-map): Delete binding for `z'.
845
f17e1d00
AS
8462012-08-30 Andreas Schwab <schwab@linux-m68k.org>
847
848 * progmodes/compile.el (compilation-always-kill): Doc fix.
849
24777832
CY
8502012-08-30 Chong Yidong <cyd@gnu.org>
851
852 * window.el (display-buffer-reuse-frames): Make the obsolescence
853 message more informative.
854
69ba1f04
GM
8552012-08-30 Glenn Morris <rgm@gnu.org>
856
857 * paren.el (show-paren-delay):
858 Add a :set function. Doc fix. (Bug#12297)
859
f0019ede
MB
8602012-08-29 Martin Blais <blais@furius.ca> (tiny change)
861
862 * progmodes/compile.el (compilation-always-kill): New var.
863 (compilation-start): Use it.
864
35e62fc9
SM
8652012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
866
af070a1c
SM
867 * simple.el (read-only-mode): Move from files.el for bootstrapping.
868 * files.el (read-only-mode): Move to simple.el.
869
35e62fc9
SM
870 * files.el (read-only-mode): New minor mode.
871 (toggle-read-only): Use it and mark obsolete.
872 (find-file--read-only):
873 * vc/vc.el (vc-next-action, vc-checkout):
874 * vc/vc-cvs.el (vc-cvs-checkout):
875 * obsolete/vc-mcvs.el (vc-mcvs-update):
876 * ffap.el (ffap--toggle-read-only): Update callers.
877
c2c43c23
MA
8782012-08-29 Michael Albinus <michael.albinus@gmx.de>
879
880 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
881 remote shell scripts.
882 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
883
884 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
885 "/usr/local/sbin".
886
9fba804b
SM
8872012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
890
eada0861 8912012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 892
806f0cc7
LL
893 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
894 completion-at-point. (Bug#12220)
895
3bb213b9
LL
896 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
897
22ab32ef
LL
898 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
899
eada0861 9002012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 901
19c17fc1
CY
902 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
903 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 904
eada0861 9052012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
906
907 * progmodes/hideif.el (hif-compress-define-list):
908 Fix typo. (Bug#11951)
909
eada0861 9102012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
911
912 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
913 buffer local setting.
914
27d6c5a8
LL
915 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
916 rcirc-encode-coding-system.
917
eada0861 9182012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
919
920 * net/rcirc.el (rcirc-split-message): New function.
921 (rcirc-send-message): Use it. (Bug#12051)
922
d44688e4
JL
9232012-08-28 Juri Linkov <juri@jurta.org>
924
925 * info.el (Info-fontify-node): Hide empty lines at the end of
926 the node. (Bug#12272)
927
34f10d41
MR
9282012-08-27 Drew Adams <drew.adams@oracle.com>
929
930 * dired.el (dired-pop-to-buffer): Make window start at beginning
931 of buffer (Bug#12281).
932
77f1f99c
CY
9332012-08-26 Chong Yidong <cyd@gnu.org>
934
935 * window.el (special-display-regexps, special-display-frame-alist)
936 (special-display-buffer-names, special-display-function)
937 (display-buffer-reuse-frames): Mark as obsolete.
938
939 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
940
941 * help.el (help-print-return-message): Don't treat
942 display-buffer-reuse-frames specially.
943
d97af5a0
CY
9442012-08-26 Chong Yidong <cyd@gnu.org>
945
9fba804b
SM
946 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
947 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
948 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
949 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
950 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
951 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
952 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
953 the functions directly with gdb-display-buffer-other-frame-action.
954 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
955 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
956 (gdb-display-stack-buffer, gdb-display-locals-buffer)
957 (gdb-display-registers-buffer): Define directly.
958 (def-gdb-display-buffer): Macro deleted.
959 (gdb-display-buffer): Remove second and third args, callers don't
960 use them. Defer to the default display-buffer behavior, apart
961 from making windows dedicated.
962 (gdb-setup-windows): Don't call display-buffer unnecessarily.
963
964 * progmodes/gud.el (gud-display-line): Just use display-buffer.
965
966 * window.el (display-buffer-pop-up-frame): Handle a
967 pop-up-frame-parameters alist entry.
968 (display-buffer): Document it.
969
dd7ffad6
CY
9702012-08-26 Chong Yidong <cyd@gnu.org>
971
972 * isearch.el (search-whitespace-regexp): Make string and nil
973 values apply to both ordinary and regexp search. Allow a cons
974 cell value to distinguish between the two.
975 (isearch-whitespace-regexp, isearch-search-forward)
976 (isearch-search-backward): New functions.
977 (isearch-occur, isearch-search-fun-default, isearch-search)
978 (isearch-lazy-highlight-new-loop): Use them.
979 (isearch-forward, isearch-forward-regexp): Doc fix.
980
4c47bd1e
CY
9812012-08-26 Chong Yidong <cyd@gnu.org>
982
983 * faces.el (help-argument-name): Always inherit from italic
984 (Bug#12213).
985
9aba119d
MR
9862012-08-25 Martin Rudalics <rudalics@gmx.at>
987
988 * window.el (window--even-window-heights): Even heights when
989 WINDOW and the selected window form a vertical combination.
990 (display-buffer-use-some-window): Provide that window used gets
991 sized back by quit-window. (Bug#11880) and (Bug#12091)
992
ca5256ad
PE
9932012-08-24 Paul Eggert <eggert@cs.ucla.edu>
994
995 Fix file time stamp problem with bzr and CVS (Bug#12001).
996 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
997 in the file's time stamp, since the version control system loses
998 that information.
999
d1c0d176
JL
10002012-08-22 Juri Linkov <juri@jurta.org>
1001
1002 * info.el (Info-fontify-node): Hide the suffix of the
1003 Info file name in the header line. (Bug#12187)
1004
141562ff
GM
10052012-08-22 Glenn Morris <rgm@gnu.org>
1006
1007 * calendar/cal-tex.el (cal-tex-weekly-common):
1008 Restore leading blank page.
1009
61a48e19 10102012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1011
1012 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1013 the region under `shift-select-mode'. (Bug#12231)
1014
10152012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1016
1017 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1018 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1019 gives details on why the space is never needed.
1020
ea95074e
MR
10212012-08-22 Martin Rudalics <rudalics@gmx.at>
1022
9fba804b
SM
1023 * window.el (walk-window-tree, window-with-parameter):
1024 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1025 should run on the minibuffer window.
1026 (window-at-side-list): Don't operate on minibuffer window.
1027 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1028 (window--size-ignore): Rename to window--size-ignore-p.
1029 Update callers.
caceae25
MR
1030 (display-buffer-in-atom-window, window--major-non-side-window)
1031 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1032 (delete-side-window, display-buffer-in-side-window):
1033 New functions.
caceae25
MR
1034 (window--side-check, window-deletable-p, delete-window)
1035 (delete-other-windows, split-window): Handle side windows and
1036 atomic windows appropriately.
1037 (window--display-buffer): Call display-buffer-record-window also
1038 when the window buffer did not change.
ea95074e 1039
80a51fa0
CS
10402012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1041
1042 * help-fns.el (help-fns--key-bindings):
1043 Abbreviate non-symbol remap targets. (Bug#12174)
1044
fbb6300b
MR
10452012-08-22 Martin Rudalics <rudalics@gmx.at>
1046
1047 * dired.el (dired-mark-remembered): Don't clobber point.
1048 (Bug#11795)
1049
2b2c0794
GM
10502012-08-22 Glenn Morris <rgm@gnu.org>
1051
1052 * progmodes/bug-reference.el (bug-reference): New custom group.
1053 (bug-reference-bug-regexp): Make it a defcustom.
1054
37219830
DU
10552012-08-22 Daiki Ueno <ueno@unixuser.org>
1056
1057 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1058 (js-paren-indent-offset, js-square-indent-offset)
1059 (js-curly-indent-offset): Add :safe (Bug#12257).
1060
94e0e559
EC
10612012-08-22 Edward O'Connor <hober0@gmail.com>
1062
1063 * json.el (json-key-format): Add error properties.
1064 (json-encode-key): New function.
1065 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1066 Use json-encode-key.
1067
da485f5e
GM
10682012-08-22 Glenn Morris <rgm@gnu.org>
1069
1070 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1071 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1072 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1073 Update for above change.
1074
c6cc78b8
AS
10752012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1076
1077 * cus-face.el (custom-face-attributes): Fix customize type for the
1078 :underline attribute. (Bug#11805)
1079
5481664a
MR
10802012-08-21 Martin Rudalics <rudalics@gmx.at>
1081
1082 * window.el (window-point-1, set-window-point-1): Remove.
1083 (window-in-direction, record-window-buffer)
1084 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1085 (window--state-get-1, display-buffer-record-window):
1086 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1087 window-point and set-window-point respectively.
1088
6d74698e
GM
10892012-08-21 Glenn Morris <rgm@gnu.org>
1090
b7fa2691
GM
1091 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1092 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1093 Use it.
1094
52f56d5a
GM
1095 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1096 (cal-tex-shortday): New function.
1097 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1098 (cal-tex-cursor-filofax-daily): Use the above.
1099
9f1ee09e
GM
1100 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1101 New functions.
1102 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1103 (cal-tex-cursor-filofax-week): Use them.
1104
79858159
GM
1105 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1106 New constants.
1107 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1108 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1109
d346b2b4
GM
1110 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1111 (cal-tex-end-document): Don't rely on buffer name.
1112
b2403709
GM
1113 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1114 Use cal-tex-vspace.
1115 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1116 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1117 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1118 Use cal-tex-arg.
b2403709 1119
1cebb5c0
GM
1120 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1121 (cal-tex-cursor-week, cal-tex-cursor-week2)
1122 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1123 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1124 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1125 (cal-tex-insert-preamble, cal-tex-b-document)
1126 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1127 Improve cal-tex-cmd usage.
1128
c68cd5d4
GM
1129 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1130 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1131 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1132 (cal-tex-weekly-paper): New function.
1133 (cal-tex-cursor-week, cal-tex-cursor-week2)
1134 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1135 (cal-tex-cursor-day): Use it.
1136
9dca4801
GM
1137 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1138 (cal-tex-cursor-filofax-week): Remove leading blank page.
1139
1941e134
GM
1140 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1141 Add autoload cookie. For now at least, don't use color, since
1142 no other cal-tex function does.
1143
6d74698e
GM
1144 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1145 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1146 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1147
64cde199
JL
11482012-08-21 Juri Linkov <juri@jurta.org>
1149
1150 * info.el (Info-file-attributes): New variable.
1151 (info-insert-file-contents): Add file attributes to
1152 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1153 `Info-toc-nodes' when previous modtime of the Info file is less
1154 than new modtime.
1155 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1156 of info.el. (Bug#12230)
1157
32757648
GM
11582012-08-20 Glenn Morris <rgm@gnu.org>
1159
1160 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1161 * calendar/holidays.el (calendar-holiday-list):
1162 Report errors with display-warning rather than beep'n'sleep.
1163
a32fbbcf
MA
11642012-08-20 Michael Albinus <michael.albinus@gmx.de>
1165
1166 * net/tramp.el (tramp-accept-process-output): Accept only output
1167 from PROC. Otherwise, process filters and sentinels might be
1168 confused. (Bug#12145)
1169
a05731a0
CY
11702012-08-20 Chong Yidong <cyd@gnu.org>
1171
1172 * descr-text.el (describe-text-properties-1): Use overlays-in to
1173 report on empty overlays (Bug#3322).
1174
36e8d1eb
GM
11752012-08-20 Glenn Morris <rgm@gnu.org>
1176
3d300447
GM
1177 * mail/rmailout.el (rmail-output-read-file-name):
1178 Trap and report errors in rmail-output-file-alist elements.
1179
36e8d1eb
GM
1180 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1181 since most non-font-lock faces are not also variables).
1182
b96e5814
ER
11832012-08-20 Edward Reingold <reingold@iit.edu>
1184
1185 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1186 New function. (Bug12160)
1187
7cef3569
GM
11882012-08-19 Glenn Morris <rgm@gnu.org>
1189
1190 * mail/rmailout.el (rmail-output-read-file-name):
1191 Fix previous change (when the alist is nil or does not match).
1192
17975d7f
CY
11932012-08-19 Chong Yidong <cyd@gnu.org>
1194
1195 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1196 (Bug#12228).
1197
2170b1bd
CY
11982012-08-18 Chong Yidong <cyd@gnu.org>
1199
1200 * simple.el (yank-handled-properties): New defcustom.
1201 (yank-excluded-properties): Add font-lock-face and category.
1202 (yank): Doc fix.
1203
9fba804b
SM
1204 * subr.el (remove-yank-excluded-properties):
1205 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1206 and category is now done this way, instead of being hard-coded.
1207 (insert-for-yank-1): Remove font-lock-face handling.
1208 (yank-handle-font-lock-face-property)
1209 (yank-handle-category-property): New function.
1210
ee218151
GM
12112012-08-17 Glenn Morris <rgm@gnu.org>
1212
1213 * mail/rmailout.el (rmail-output-read-file-name):
1214 Check rmail-output-file-alist against the full message body
1215 in the correct rmail buffer. (Bug#12214)
1216
4a6bc3fd
MA
12172012-08-17 Michael Albinus <michael.albinus@gmx.de>
1218
9fba804b
SM
1219 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1220 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1221
383dcbf9
CY
12222012-08-17 Chong Yidong <cyd@gnu.org>
1223
1224 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1225 font spec, set the font directly (Bug#3228).
1226
998c4a6a
MR
12272012-08-17 Martin Rudalics <rudalics@gmx.at>
1228
1229 * window.el (delete-window): Fix last fix.
1230
52162052
MR
12312012-08-16 Martin Rudalics <rudalics@gmx.at>
1232
1233 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1234 (window-child, window-child-count, window-last-child)
1235 (window-normalize-window, window-combined-p)
1236 (window-combinations, window-atom-root, window-min-size)
1237 (window-sizable, window-sizable-p, window-size-fixed-p)
1238 (window-min-delta, window-max-delta, window--resizable)
1239 (window--resizable-p, window-resizable, window-total-size)
1240 (window-full-height-p, window-full-width-p, window-body-size)
1241 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1242 (minimize-window, window-deletable-p, delete-window)
1243 (delete-other-windows, set-window-buffer-start-and-point)
1244 (next-buffer, previous-buffer, split-window, balance-windows-2)
1245 (set-window-text-height, window-buffer-height)
1246 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1247 (truncated-partial-width-window-p): Minor code adjustments.
1248 In doc-strings state whether the argument window has to denote a
85c2386b 1249 live, valid or any window.
52162052 1250
1c308380
PS
12512012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1252
1253 * progmodes/subword.el (subword-forward-function)
1254 (subword-backward-function, subword-forward-regexp)
1255 (subword-backward-regexp): New variables.
1256 (subword-forward, subword-forward-internal, subword-backward-internal):
1257 Use new variables, eg so that different "word" definitions
1258 can be easily used. (Bug#11411)
1259
94c9ece1
SM
12602012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1263 for composite selectors.
1264 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1265 operation just because we can't find a previous revision.
1266
f2045622
CY
12672012-08-15 Chong Yidong <cyd@gnu.org>
1268
1269 * frame.el (set-frame-font): Accept font objects.
1270
582db660
SM
12712012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1274
2f29c200
WJ
12752012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1276
456e62c2
WJ
1277 * man.el (Man-overstrike-face, Man-underline-face)
1278 (Man-reverse-face): Remove variables.
1279 (Man-overstrike, Man-underline, Man-reverse): New faces.
1280 (Man-fontify-manpage): Use them instead of the variables.
1281 (Man-cleanup-manpage): Comment change.
1282 (Man-ansi-color-map): New variable.
1283 (Man-fontify-manpage): Use it.
1284 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1285
2f29c200
WJ
1286 Implement ANSI SGR parameters 22-27 (bug#12146).
1287 * ansi-color.el (ansi-colors): Doc fix.
1288 (ansi-color-context, ansi-color-context-region): Doc fix.
1289 (ansi-color--find-face): New function.
1290 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1291 Rename the local variable `face' to `codes' since it is now a list of
1292 ansi codes. Doc fix.
1293 (ansi-color-get-face): Remove.
1294 (ansi-color-parse-sequence): New function, derived from
1295 ansi-color-get-face.
1296 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1297 codes 22-27.
1298
b4f5e9df
SM
12992012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * subr.el (read-passwd): Allow use from a minibuffer.
1302
ba025fbd
EZ
13032012-08-14 Eli Zaretskii <eliz@gnu.org>
1304
1305 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1306 inside comments and strings as identifiers.
1307
1308 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1309 expression to evaluate. This allows to evaluate expressions with
1310 embedded whitespace.
1311 (gud-tooltip-tips): Add a blank before the newline in the
1312 message-box text, for the benefit of message-box emulation on
1313 MS-Windows.
1314
1315 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1316 messages from GDB, pop them up in a tooltip to give feedback to
1317 user.
b4f5e9df
SM
1318 (gdb-tooltip-print-1): Quote the expression to evaluate.
1319 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1320 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1321 if the TTY name is nil or empty (which happens when communicating
1322 with the inferior via pipes, e.g. on MS-Windows).
1323 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1324 don't send that to the GUD buffer.
1325
c548f821
GM
13262012-08-14 Glenn Morris <rgm@gnu.org>
1327
1328 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1329 Optimize away setq-default with no args, as for setq. (Bug#12195)
1330
55802e4a
CY
13312012-08-14 Chong Yidong <cyd@gnu.org>
1332
4abcdac8
CY
1333 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1334
55802e4a
CY
1335 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1336 (Bug#12085).
1337
3c3cda1a
GM
13382012-08-14 Glenn Morris <rgm@gnu.org>
1339
1340 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1341
e1873bd0
MA
13422012-08-14 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1345 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1346 Use cached shell name.
1347
925411b4
FEG
13482012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1349
1350 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1351 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1352
e636fafe
DG
13532012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1354
1355 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1356 (ruby-percent-literal-beg-re): New constant.
1357 (ruby-syntax-general-delimiters-goto-beg): Rename to
1358 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1359 (ruby-syntax-propertize-general-delimiters): Rename to
1360 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1361 popular term. Adjust comments everywhere.
1362 (ruby-syntax-propertize-percent-literal): Only propertize when not
1363 inside a simple string or comment. When the literal is unclosed,
1364 leave the text after it unpropertized.
f063063a
DG
1365 (ruby-syntax-methods-before-regexp): New constant.
1366 (ruby-syntax-propertize-function): Use it to recognize regexps.
1367 Don't look at the text after regexp, just use the whitelist.
e636fafe 1368
e5b19827
AS
13692012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1370
1371 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1372 non-nil always load the compiled file if it exists. (Bug#12197)
1373
a9f6f311
CY
13742012-08-14 Chong Yidong <cyd@gnu.org>
1375
1376 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1377 (hi-lock-set-pattern): When deciding whether to use font lock or
1378 overlays, look at font-lock-mode instead of font-lock-fontified
1379 (Bug#12168).
1380 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1381 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1382
7d806b1e
DU
13832012-08-14 Daiki Ueno <ueno@unixuser.org>
1384
1385 * subr.el (internal--after-with-selected-window): Fix typo
1386 (Bug#12193).
1387
5beed586
FEG
13882012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1389
1390 Use `completion-table-dynamic' for completion functions.
1391 * progmodes/python.el
1392 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1393 (python-shell-completion--get-completions):
1394 Remove functions.
5beed586
FEG
1395 (python-shell-completion-complete-at-point): New function.
1396 (python-completion-complete-at-point): Use it.
1397
92cb3b04
J
13982012-08-13 Jambunathan K <kjambunathan@gmail.com>
1399
1400 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1401 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1402
89660017
SM
14032012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1404
3c98c962
SM
1405 * subr.el (function-get): Refine `autoload' arg so it can also
1406 autoload functions for gv.el (bug#12191).
1407 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1408 autoloads macros.
1409
aa7c6dbe
SM
1410 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1411 Prefer pcase-let over destructuring-bind.
1412 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1413 Also, remove whitespace as we go, rather than after accumulating the
1414 various places.
1415
89660017
SM
1416 * subr.el (internal--before-with-selected-window)
1417 (internal--after-with-selected-window): Fix typo seleted->selected.
1418 (with-selected-window): Adjust callers.
1419 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1420
31cd32c9
BG
14212012-08-13 Bastien Guerry <bzg@gnu.org>
1422
0fcd3d9f 1423 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1424 enhancement. (Bug#12172)
1425
1b15d8ad
AS
14262012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1427
31e54db0
AS
1428 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1429 type 1-6.
1430 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1431 extended headers.
1432
1b15d8ad
AS
1433 * files.el (hack-local-variables-filter): Remove useless eval.
1434
35cb9c06
MR
14352012-08-13 Martin Rudalics <rudalics@gmx.at>
1436
1437 * subr.el (with-selected-window): Fix last change.
1438
1439443b
SM
14392012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 * subr.el (internal--before-with-seleted-window)
1442 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1443 (with-selected-window): Use them, to replace dependency on
1444 tty-top-frame.
1439443b 1445
0d9e2599
NN
14462012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1447
1448 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1449 binding for `newline'.
1450 (ruby-move-to-block): When moving backward, stop at block opening,
1451 not indentation.
1452 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1453 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1454 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1455 `ruby-toggle-block'.
1456
ba10c48c
SM
14572012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * ibuffer.el (ibuffer-do-toggle-read-only):
1460 * dired.el (dired-toggle-read-only):
1461 * buff-menu.el (Buffer-menu-toggle-read-only):
1462 * bindings.el (mode-line-toggle-read-only):
1463 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1464
9229c658
AS
14652012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1466
1467 * descr-text.el (describe-char): Put the overlays over the
1468 "displayed as" character.
1469
0fd09128
JB
14702012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1471
1472 * calc/calc-units.el (math-default-units-table): Give an
1473 initial value.
1474 (math-put-default-units): Add options to put composite units and
1475 unit systems in the default units table.
1476 (calc-convert-units): Send composite units to
1477 `math-put-default-units' when appropriate.
1478
9ff9402d 14792012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1480
fbb5e336
GM
1481 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1482
7aacaf15
GM
1483 * tutorial.el (help-with-tutorial):
1484 * emacs-lisp/copyright.el (copyright-update-directory):
1485 * emacs-lisp/autoload.el (autoload-find-generated-file)
1486 (autoload-find-file): Disable local eval: (for insurance).
1487
f40b9f10
GM
1488 * files.el (hack-local-variables-filter): If an eval: form is not
1489 known to be safe, and enable-local-variables is :safe, then ignore
1490 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1491 This is CVE-2012-3479.
f40b9f10 1492
daa9f1a6
SM
14932012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1496 (rx-form): Simplify.
1497
9cd80478
DG
14982012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1499
0d9e2599
NN
1500 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1501 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1502 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1503 (ruby-syntax-propertize-function): Adjust for changes in
1504 `ruby-syntax-propertize-heredoc'.
1505
15062012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1507
9cd80478
DG
1508 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1509 binding (use `M-;' instead).
9cd80478 1510 (ruby-singleton-class-p): New function.
0d9e2599 1511 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1512
d301b413
SM
15132012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1516
1530c98e
CY
15172012-08-10 Chong Yidong <cyd@gnu.org>
1518
1519 * progmodes/python.el (python-shell-get-process-name): Don't mess
1520 with same-window-buffer-names.
1521
1522 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1523 (eshell-remove-from-window-buffer-names): Make obsolete.
1524 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1525 (eshell): Just use pop-to-buffer-same-window instead.
1526
e1293765
CY
15272012-08-10 Chong Yidong <cyd@gnu.org>
1528
1529 * bindings.el: Bind M-= back to count-words-region.
1530
1531 * simple.el (count-words-region): Accept a prefix arg for acting
1532 on the entire buffer.
1533 (count-words--buffer-message): New helper function.
1534
e1894109
SM
15352012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1538 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1539 (event-start, event-end): Use posn-at-point to return a more
1540 informative posn.
1541 (posnp): New function.
1542 * mouse.el (popup-menu-normalize-position): Use it.
1543
c69f56a2
MY
15442012-08-10 Masatake YAMATO <yamato@redhat.com>
1545
1546 * mouse.el (popup-menu-normalize-position): New function.
1547 (popup-menu): Use `popup-menu-normalize-position' to normalize
1548 the form for POSITION argument.
1549
1550 * term/x-win.el (x-menu-bar-open):
1551 Use the value returend from (posn-at-point) as position
1552 passed to `popup-menu'.
1553
31673780
JB
15542012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1555
1556 * calc/calccomp.el (math-compose-expr): Add extra argument
1557 indicating that parentheses should be put around products in
1558 denominators. Give multiplication precedence over division during
1559 composition.
1560
dab7711b
CY
15612012-08-09 Chong Yidong <cyd@gnu.org>
1562
dee4ef93
CY
1563 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1564 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1565 (Man-untabify-command, manual-program): Convert to defcustom
1566 (Bug#10429).
1567
73e2bbc5
CY
1568 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1569
3e861c8a
CY
1570 * descr-text.el (describe-char): Don't insert extra newlines
1571 (Bug#10127).
1572
a9f5a649
CY
1573 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1574 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1575
dab7711b
CY
1576 * align.el (align-region): Delete temporary markers (Bug#10047).
1577 Plus some code cleanups.
1578
e0cc4efa
FEG
15792012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1580
1581 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1582 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1583 (python-shell-internal-last-output): Use make-local-variable
1584 instead of make-variable-buffer-local.
1585
489af14f
FEG
15862012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1587
1588 * progmodes/python.el: Enhancements to forward-sexp.
1589 (python-nav-forward-sexp): Rename from
1590 python-nav-forward-sexp-function.
c69f56a2
MY
1591 (python-nav--forward-sexp, python-nav--backward-sexp):
1592 New functions.
489af14f 1593
0fc50303
JB
15942012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1595
1596 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1597 modes and simplification modes.
1598
5d65606a
SM
15992012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * delsel.el (delete-selection-pre-hook): Don't propagate the
1602 file-supersession signals (bug#12161).
1603
4250fdf5
SM
16042012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1607 (cl-map-extents): Add compatibility aliases (bug#12135).
1608
d9f9b465
MA
16092012-08-08 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1612 tests by `ignore-error'.
1613 (tramp-find-shell): Open also a new shell, when cache is already
1614 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1615
ce0fcefa
JL
16162012-08-08 Juri Linkov <juri@jurta.org>
1617
1618 * bookmark.el: Add `defaults' property to the bookmark record.
1619 (bookmark-current-buffer): Doc fix.
1620 (bookmark-make-record): Add `defaults' property with default values
1621 to the bookmark record.
1622 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1623 with `bookmark-insert-current-bookmark'.
1624 (bookmark-set): Get `defaults' property from the bookmark record
1625 and use it in `read-from-minibuffer'.
1626 (bookmark-insert-current-bookmark): Remove function.
1627
1628 * info.el (Info-bookmark-make-record): Add `defaults' property
1629 with values of canonical Info node name, the current Info file
1630 name and the current Info node name. (Bug#12107)
1631
53fa8652
JL
16322012-08-08 Juri Linkov <juri@jurta.org>
1633
1634 * files.el (basic-save-buffer): Use `buffer-name' as the default
1635 of `read-file-name' when buffer is not visiting a file (bug#12128).
1636
242c0a95
JL
16372012-08-08 Juri Linkov <juri@jurta.org>
1638
1639 * info.el (Info-isearch-search): Doc fix.
1640 (Info-search): Change search-failed message from "initial node" to
1641 "end of node" (bug#12078).
1642 (Info-isearch-search): Change `isearch-string-state' to
1643 `isearch--state-string'.
1644
32ac3a6b
GM
16452012-08-08 Glenn Morris <rgm@gnu.org>
1646
1647 * language/persian.el: Remove file.
f8c1afd5 1648 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1649 * loadup.el: Remove language/persian.
1650
2c2d9c9c
OF
16512012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1652
1653 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1654
2d79ec42
FEG
16552012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1656
1657 * progmodes/python.el Fixed defsubst warning.
1658 (python-syntax-context) Rename from python-info-ppss-context.
1659 (python-syntax-context-type): Rename from
1660 python-info-ppss-context-type.
1661 (python-syntax-comment-or-string-p): Rename from
1662 python-info-ppss-comment-or-string-p.
1663
2bd255dd
JB
16642012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1665
1666 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1667
c395097f
AS
16682012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1669
6125983e
AS
1670 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1671 a defcustom that is quoted with backquote.
1672
4250fdf5
SM
1673 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1674 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1675 (math-do-arg-check, math-define-function-body): Use backquote forms.
1676 * calc/calc-ext.el (math-defcache): Likewise.
1677 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1678 * allout.el (allout-new-exposure): Likewise.
1679 * calc/calcalg2.el (math-tracing-integral): Likewise.
1680 * info.el (Info-last-menu-item): Likewise.
1681 * emulation/vip.el (vip-loop): Likewise.
1682 * textmodes/artist.el (artist-funcall): Likewise.
1683 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1684 Construct menu-item directly.
1685
4250fdf5
SM
1686 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1687 Don't declare.
c395097f 1688
5fb50dd3
CY
16892012-08-07 Chong Yidong <cyd@gnu.org>
1690
1691 * simple.el (deactivate-mark): Preserve text properties when
1692 saving the primary selection (Bug#8384).
1693
54eea618
KR
16942012-08-07 Kevin Ryde <user42@zip.com.au>
1695
1696 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1697 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1698 and continue processing (Bug#12110).
1699
638eaeb9
SM
17002012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1703 syntax-propertize-function (bug#10095).
1704
ea376861
SM
17052012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1706
f91b35be
SM
1707 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1708 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1709 describe-function-1.
1710 (describe-function-1): Use them. Move compiler macro after sig.
1711 (help-fns--compiler-macro): Use function-get. Assume we're already in
1712 standard-output. Adjust layout to new call order.
1713
ea376861
SM
1714 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1715 re-binding a symbol that has a symbol-macro (bug#12119).
1716
d5be7bd0
MB
17172012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1718
1719 * language/persian.el: New file. (Bug#11812)
1720 * loadup.el: Add language/persian.el.
1721
90749b53
CY
17222012-08-06 Chong Yidong <cyd@gnu.org>
1723
1724 * window.el (window--maybe-raise-frame): New function.
1725 (window--display-buffer): Split off from here.
1726 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1727 (display-buffer-pop-up-window, display-buffer-use-some-window):
1728 Obey an inhibit-switch-frame action alist entry.
1729 (display-buffer): Update doc.
1730
1731 * replace.el (occur-after-change-function): Avoid losing focus by
1732 using the inhibit-switch-frame display parameter (Bug#12139).
1733
ba7b0154
FEG
17342012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1735
1736 Make internal shell process buffer names start with space.
1737 * progmodes/python.el (python-shell-make-comint): Add optional
1738 argument INTERNAL.
1739 (run-python-internal): Use it.
1740 (python-shell-internal-get-or-create-process): Check for new
1741 internal buffer names.
1742
5eaeacb5
GM
17432012-08-06 Glenn Morris <rgm@gnu.org>
1744
e296d94b 1745 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1746 Do less getting and setting of environment variables.
1747
b7ccbdc2
CY
17482012-08-05 Chong Yidong <cyd@gnu.org>
1749
777fe95e
CY
1750 * proced.el (proced): Add substitution string to docstring to
1751 trigger autoloading of the proced library on C-h f (Bug#1768).
1752
4250fdf5
SM
1753 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1754 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1755
1756 * imenu.el (imenu-generic-expression): Move documentation here
1757 from imenu--generic-function.
1758 (imenu--generic-function): Refer to imenu-generic-expression.
1759
9e3b7800 17602012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
1761
1762 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1763 indentation declaration.
1764 (viper-loop): Add indentation declaration (Bug#7025).
1765
e5d9c0d1
CY
17662012-08-05 Chong Yidong <cyd@gnu.org>
1767
f0422feb
CY
1768 * help-fns.el (describe-variable): Add hyperlink for
1769 directory-local variables files. Improve buffer-local and
1770 permanent-local reporting; suggested by MON KEY (Bug#6644).
1771
1772 * help-mode.el (help-dir-local-var-def): New button type.
1773
e5d9c0d1
CY
1774 * files.el (kill-buffer-hook): Provide a defvar.
1775
a4f2deaa
GM
17762012-08-05 Glenn Morris <rgm@gnu.org>
1777
1778 * eshell/esh-ext.el (eshell/addpath):
1779 Also update eshell-path-env. (Bug#12013)
1780
a9dd5754
CY
17812012-08-05 Chong Yidong <cyd@gnu.org>
1782
a4f2deaa 1783 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1784
d014c740
CY
1785 * fringe.el (fringe-styles): Add docstring.
1786 (fringe--check-mode): New function.
1787 (set-fringe-mode, set-fringe-style): Use it.
1788 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1789
a9dd5754
CY
1790 * files.el (set-auto-mode): Fix invalid setq call.
1791
7c2dc8bd
SM
17922012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * isearch.el: Misc simplification; use defstruct.
1795 (isearch-mode-map): Dense maps now work like sparse ones.
1796 (isearch--state): New defstruct.
1797 (isearch-string-state, isearch-message-state, isearch-point-state)
1798 (isearch-success-state, isearch-forward-state)
1799 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1800 (isearch-wrapped-state, isearch-barrier-state)
1801 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1802 replaced by defstruct's accessors.
1803 (isearch--set-state): Rename from isearch-top-state and change
1804 calling convention.
1805 (isearch-push-state): Use new isearch--get-state.
1806 (isearch-toggle-word): Disable regexp when enabling word.
1807 (isearch-message-prefix): Remove unused arg _c-q-hack.
1808 (isearch-message-suffix): Remove unused arg _ellipsis.
1809
7fcc0070
AS
18102012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1811
1812 * simple.el (list-processes--refresh): For a server use :host or
1813 :local as the address.
97ad0769 1814 (list-processes): Doc fix.
7fcc0070 1815
a11035b8 18162012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
1817
1818 * lisp/mpc.el: Support password in host argument.
1819 (mpc--proc-connect): Parse and use new password element.
1820 Set mpc-proc variable instead of returning process.
1821 (mpc-proc): Adjust accordingly.
1822
6dad7178
EZ
18232012-08-03 Eli Zaretskii <eliz@gnu.org>
1824
18949c2f
EZ
1825 * whitespace.el (whitespace-display-mappings): Use Unicode
1826 codepoints, instead of emacs-mule codepoints. See
1827 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1828 for the details.
1829
6dad7178
EZ
1830 * files.el (file-truename): Don't skip symlink-chasing part on
1831 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
1832 Windows into the loop that recursively chases symlinks.
1833 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
1834 MS-DOS.
1835
385b0198
CY
18362012-08-03 Chong Yidong <cyd@gnu.org>
1837
6200f3c4
CY
1838 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1839
385b0198
CY
1840 * sort.el (sort-regexp-fields): Doc fix.
1841
b9e74744
TH
18422012-08-03 Tassilo Horn <tsdh@gnu.org>
1843
1844 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1845 labels regex position point at the expected place.
1846
41013cb4
MK
18472012-08-03 MON KEY <monkey@sandpframing.com>
1848
1849 * net/imap.el (imap-interactive-login, imap-authenticate)
1850 (imap-mailbox-lsub, imap-mailbox-list)
1851 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1852 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1853 (imap-parse-response): Doc fix.
1854
0ffee616
JT
18552012-08-03 João Távora <joaotavora@gmail.com>
1856
1857 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1858 if sexp scanning does not move point (Bug#5734).
1859
cfcc9cc8
TH
18602012-08-02 Tassilo Horn <tsdh@gnu.org>
1861
1862 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1863 Add listings, minted, and ctable packages.
1864 (reftex-label-alist-builtin): Move listings, minted, and ctable
1865 entries before LaTeX.
a01bbb84 1866 (reftex-label-alist): Docfix.
cfcc9cc8 1867
66ec2442
BG
18682012-08-02 Bastien Guerry <bzg@gnu.org>
1869
1870 * replace.el (occur): Fix docstring (bug#12122).
1871
837b365b
GM
18722012-08-02 Glenn Morris <rgm@gnu.org>
1873
1874 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1875
e098de97
PE
18762012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1877
1878 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1879 * international/mule-cmds.el: Create
1880 inactivate-current-input-method-function as an obsolete alias for
1881 deactivate-current-input-method-function. See Katsumi Yamaoka in
1882 <http://bugs.gnu.org/10150#46>.
1883
a0f95636
JB
18842012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1885
1886 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1887 of nested `if's.
1888
0d26d7c4
GM
18892012-08-01 Glenn Morris <rgm@gnu.org>
1890
1891 * progmodes/autoconf.el (autoconf-definition-regexp):
1892 Add AH_TEMPLATE, adjust submatch numbering.
1893 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1894 (autoconf-current-defun-function): Update for above change.
1895 (autoconf-current-defun-function): First skip to end of current word.
1896
b686ba06
RS
18972012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1898
1899 * calendar/cal-html.el (cal-html-insert-agenda-days):
1900 Fix typo. (Bug#12018)
1901
0d49da68
FEG
19022012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1903
1904 Shell processes: enhancements to startup and CEDET compatibility.
1905 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1906 (python-shell-make-comint): accept-process-output at startup.
1907 (run-python-internal): Set inferior-python-mode-hook to nil.
1908 (python-shell-internal-get-or-create-process): call sit-for.
1909 (python-preoutput-result): Add obsolete alias.
1910 (python-shell-internal-send-string): Use it.
1911 (python-shell-send-setup-code): Remove call to
1912 accept-process-output.
1913
f1a71c6e
AS
19142012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1915
1916 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1917 (Bug#12108)
1918
d2605269
JB
19192012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1920
1921 * calc-mode.el (calc-basic-simplification-mode): Rename from
1922 `calc-limited-simplification-mode'.
1923 (calc-alg-simplification-mode): New function.
fc0c31f8 1924 (calc-set-simplify-mode): Adjust message.
f1a71c6e 1925
d2605269
JB
1926 * calc.el (calc-set-mode-line): Adjust mode line display for
1927 basic simplification mode.
1928
1929 * calc-help.el (calc-m-prefix-help): Update help message.
1930
1931 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1932 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1933
a3827a43
BG
19342012-07-31 Bastien Guerry <bzg@gnu.org>
1935
1936 * man.el (man): Fix comment. (bug#12101)
1937
502e3f89
MR
19382012-07-31 Martin Rudalics <rudalics@gmx.at>
1939
1940 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1941 Don't return a non-nil value when no suitable buffer was found.
1942
d7714961
FEG
19432012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1944
1945 * progmodes/python.el (run-python-internal): Disable font lock for
1946 internal shells.
1947
1f45e27e
SM
19482012-07-30 Stefan Merten <smerten@oekonux.de>
1949
1950 * rst.el: Silence `checkdoc-ispell'.
1951 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1952 (rst-official-version, rst-official-cvs-rev)
1953 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1954 (rst-mode-map): New key binding.
1955
0aee6912
PE
19562012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1957
1958 Update .PHONY listings in makefiles.
1959 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1960 autoloads, update-subdirs, updates, bzr-update, update-authors,
1961 compile-onefile, compile-calc, backup-compiled-files,
1962 compile-after-backup, compile-one-process, mh-autoloads,
1963 bootstrap-clean, distclean, maintainer-clean.
1964
9052f9f0
JB
19652012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1966
1823ac5a
JB
1967 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1968 (calc-set-mode-line): Don't display "AlgSimp ".
1969
1970 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1971 (calc-lim-simplify-mode): New function.
1972 (calc-set-simplify-mode): Default to 'alg.
1973 (calc-default-simplify-mode): Make algebraic simplifications
1974 the default.
1975
1976 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1977 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1978
8d7c7eed 1979 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
1980 indicate new simplification modes.
1981
1823ac5a
JB
1982 * calc/README: Mention new default simplification mode.
1983
9052f9f0
JB
1984 * calc/calc.el (math-normalize-error): New variable.
1985 (math-normalize): Set `math-normalize-error' to t
1986 when there's an error.
1987
1988 * calc/calc-alg.el (math-simplify): Don't simplify when
1989 `math-normalize' returns an error.
1990
20ba0cb4
EZ
19912012-07-29 Eli Zaretskii <eliz@gnu.org>
1992
1993 * international/mule-cmds.el (set-locale-environment): Revert last
1994 change, since display-graphic-p returns nil when this function is
1995 called during startup. Instead...
1996
1997 * term/w32console.el (terminal-init-w32console): ...setup the
1998 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1999
a5dcc929
JL
20002012-07-29 Juri Linkov <juri@jurta.org>
2001
2002 * simple.el (goto-line): Don't display default line number in the
2003 prompt because it should be displayed by `read-number' (bug#9952).
2004 Add the current line number to the defaults of `goto-line' to
2005 allow its easier modification by users with `M-n' (bug#9201).
2006
2007 * subr.el (read-number): Support multiple default values like in
2008 other minibuffer reading functions. Replace `read' with
2009 `string-to-number' for consistency with `number-to-string'.
2010
72b255c7
PE
20112012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2012
2013 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2014 * emulation/viper-init.el (viper-deactivate-input-method-action):
2015 Rename from viper-inactivate-input-method-action.
2016 (viper-deactivate-input-method):
2017 Rename from viper-inactivate-input-method.
2018 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2019 * international/mule-cmds.el (deactivate-input-method):
2020 Rename from inactivate-input-method.
2021 Also run input-method-deactivate-hook.
2022 (deactivate-current-input-method-function):
2023 Rename from inactivate-current-input-method-function.
2024 (input-method-deactivate-hook): New hook.
2025 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2026 (inactivate-input-method): Mark obsolete.
2027
72b255c7
PE
2028 * international/quail.el (quail-activate):
2029 Also run quail-deactivate-hook.
2030 (quail-deactivate): Rename from quail-inactivate.
2031 * international/robin.el (robin-activate):
2032 Also run robin-deactivate-hook.
2033 (robin-deactivate): Rename from robin-inactivate.
2034
2549c068
CY
20352012-07-29 Chong Yidong <cyd@gnu.org>
2036
2037 * simple.el (indicate-copied-region): New function.
2038 (kill-ring-save): Split off from here.
2039
2040 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2041 (kill-rectangle): Set deactivate-mark to t on read-only error.
2042
2043 * register.el (copy-to-register, copy-rectangle-to-register):
2044 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2045 (append-to-register, prepend-to-register):
2046 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2047
2048 * simple.el (async-shell-command-buffer): New defcustom.
2049 (shell-command): Use it. (Bug#4719)
2050
01bd1b0d
EZ
20512012-07-28 Eli Zaretskii <eliz@gnu.org>
2052
2053 * international/mule-cmds.el (set-locale-environment): In a
2054 console session on MS-Windows, set up keyboard and terminal
2055 encoding from the OEM codepage, not the ANSI codepage.
2056 (Bug#12055)
2057
a55739d3
CY
20582012-07-28 Chong Yidong <cyd@gnu.org>
2059
2060 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2061 gdb-get-location.
2062
0e1a094f 20632012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2064
2065 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2066 the alist (bug#12029).
2067
20329d73
EZ
20682012-07-28 Eli Zaretskii <eliz@gnu.org>
2069
2070 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2071 (compile-always, compile-first)
2072 ($(lisp)/calendar/cal-loaddefs.el)
2073 ($(lisp)/calendar/diary-loaddefs.el)
2074 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2075 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2076 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2077 instead of on update-subdirs.
2078 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2079
345a2258
CY
20802012-07-28 Chong Yidong <cyd@gnu.org>
2081
1eee6341
CY
2082 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2083 directory if vc-deduce-backend returns nil (Bug#7350).
2084
345a2258
CY
2085 * simple.el (delete-trailing-lines): New option.
2086 (delete-trailing-whitespace): Obey it (Bug#11879).
2087
049a0936
DE
20882012-07-28 David Engster <deng@randomsample.de>
2089
2090 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2091 Explanation of new 'symbol-qnames feature in doc-strings.
2092 (xml-maybe-do-ns): Return expanded names as plain symbols if
2093 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2094 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2095
aa81af71
FEG
20962012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2097
2098 Consistent completion in inferior python with emacs -nw.
2099 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2100 binding in inferior-python-mode-map with "\t".
2101 (python-shell-completion-complete-at-point)
2102 (python-completion-complete-at-point): Remove interactive spec.
2103
e827b1eb
JB
21042012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2105
2106 * calc/calccomp.el (math-compose-expr): Undo previous change.
2107
a90dfb95
FEG
21082012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2109
4250fdf5 2110 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2111 run-python.
2112 (python-shell-make-comint): Fix pop-to-buffer call.
2113 (run-python): Autoload. New arg SHOW.
2114 (python-shell-get-or-create-process): Do not pop python process
2115 buffer.
2116
32770973 21172012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2118
2119 * notifications.el (notifications-on-action-signal)
2120 (notifications-on-closed-signal): Use also the bus address for the map.
2121 (notifications-notify, notifications-close-notification)
fc0c31f8 2122 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2123
86332df2
TH
21242012-07-27 Tassilo Horn <tsdh@gnu.org>
2125
4250fdf5
SM
2126 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2127 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2128 ctable macro.
2129 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2130 labels written in keyvals syntax.
2131
ca1302a4
JB
21322012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2133
2134 * calc/calccomp.el (math-compose-expr): Use parentheses when
2135 there is a product in the denominator of a fraction.
2136
f8b91036
EZ
21372012-07-26 Eli Zaretskii <eliz@gnu.org>
2138
2139 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2140 ($(lisp)/calendar/diary-loaddefs.el)
2141 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2142 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2143 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2144 rewritten while the autoload files are built at the same time,
2145 which needs to load subdirs.el.
2146
c8e5a42c
MR
21472012-07-26 Martin Rudalics <rudalics@gmx.at>
2148
2149 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2150 (mouse-drag-line): Don't exit tracking when a switch-frame or
2151 switch-window event occurs (Bug#12006).
2152
670d85ea
SM
21532012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * mouse.el (popup-menu): Fix last change.
2156
7abaf5cc
SM
21572012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 Autoload from Lisp with more care. Follow aliases when looking for
2160 function properties.
2161 * subr.el (autoloadp): New function.
2162 (symbol-file): Use it.
2163 (function-get): New function.
2164 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2165 autoload-do-load.
2166 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2167 (lisp-indent-function):
2168 * emacs-lisp/gv.el (gv-get):
2169 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2170 * emacs-lisp/byte-opt.el (byte-optimize-form):
2171 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2172 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2173 Use function-get.
2174 * emacs-lisp/cl.el: Don't propagate function properties any more.
2175
2176 * speedbar.el (speedbar-add-localized-speedbar-support):
2177 * emacs-lisp/disass.el (disassemble-internal):
2178 * desktop.el (desktop-load-file):
2179 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2180 (describe-function-1):
2181 * emacs-lisp/find-func.el (find-function-noselect):
2182 * emacs-lisp/elp.el (elp-instrument-function):
2183 * emacs-lisp/advice.el (ad-has-proper-definition):
2184 * apropos.el (apropos-safe-documentation, apropos-macrop):
2185 * emacs-lisp/debug.el (debug-on-entry):
2186 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2187 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2188 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2189
b1364986
AA
21902012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2191
2192 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2193 function, not an obsolete variable (Bug#12046).
2194
67ada220
AS
21952012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2196
2197 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2198
f08088e3
CS
21992012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2200
2201 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2202 window only if it is still live (Bug#12034).
2203
8137e7b3
MR
22042012-07-25 Martin Rudalics <rudalics@gmx.at>
2205
2206 * subr.el (redirect-frame-focus): Add advertised calling
2207 convention (Bug#12030).
2208
09ae5da1
PE
22092012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2210
2211 Prefer typical American spelling for "acknowledgment".
2212 * vc/add-log.el (change-log-acknowledgment): Rename from
2213 change-log-acknowledgement, with an alias for the old name.
2214
3cc5a3a8
JB
22152012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2216
2217 * calc-alg.el (math-simplify-divide): Don't cross multiply
2218 in an equation when the lhs is a variable.
2219
b7af7f62
JD
22202012-07-24 Julien Danjou <julien@danjou.info>
2221
2222 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2223 Remove, unused.
2224
ec1b09b1
EZ
22252012-07-23 Eli Zaretskii <eliz@gnu.org>
2226
2227 * startup.el (command-line): Don't display an empty user name in
2228 the error message about non-existent home directory, when
2229 init-file-user was set to an empty string. See
2230 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2231 for the details and context.
2232
b525fd8a
VB
22332012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2234
2235 * ses.el (ses-cell-formula-aset): New macro.
2236 (ses-cell-references-aset): New macro.
2237 (ses-cell-p): New function.
2238 (ses-rename-cell): Do no longer rely on complex operations like
2239 ses-cell-set-formula or ses-set-cell to change the cell and handle
2240 the undo at the same time, but rather use lower level new macros
2241 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2242 the undo directly. Refresh the mode line.
b525fd8a 2243
2c73e345
LL
22442012-07-21 Leo Liu <sdl.web@gmail.com>
2245
670d85ea
SM
2246 * progmodes/cc-cmds.el (c-defun-name):
2247 Use match-string-no-properties instead for consistency.
2c73e345 2248
542dfbde
LL
22492012-07-20 Leo Liu <sdl.web@gmail.com>
2250
3646bcd6
LL
2251 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2252 (Bug#7879)
2253
542dfbde
LL
2254 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2255
25721031
CY
22562012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2259 * progmodes/bug-reference.el, misearch.el: Provide themselves
2260 (bug#11915).
2261
2262 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2263 of narrowed buffer (bug#11966).
2264
316e68a7
VB
22652012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2266
2267 * ses.el (ses-rename-cell): Set new name also in reference list of
2268 cells of which the renamed cell depends.
2269
bbf0e7d9
MY
22702012-07-20 Masatake YAMATO <yamato@redhat.com>
2271
2272 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2273 to check whether menu-bar is shown or not. If not shown,
2274 show the menu-bar as a popup menu instead of using tmm.
2275 * mouse.el (popup-menu): Accept `point' as `position' argument.
2276
c28662a8
DG
22772012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2278
2279 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2280 up inside string symbol literal (bug#11923).
2281
87ab808f
EZ
22822012-07-20 Eli Zaretskii <eliz@gnu.org>
2283
2284 * startup.el (fancy-startup-text): Read the whole tutorial, not
2285 just its first 256 bytes. Prevents gibberish in display of the
2286 tutorial title.
2287
89dea803
DA
22882012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2289
2290 Drop idle buffer compaction due to an absence of the
2291 proved efficiency.
2292 * compact.el: Remove.
2293
8a4e6db8
SS
22942012-07-19 Sam Steingold <sds@gnu.org>
2295
2296 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2297 vc-bzr-pull & vc-bzr-merge-branch.
2298 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2299 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2300 for consistency with compilation-error-regexp-alist.
2301 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2302 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2303 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2304 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2305
5db81e33
SM
23062012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * emacs-lisp/chart.el: Use lexical-binding.
2309 (chart-emacs-storage): Don't hardcode the list of entries.
2310
5b835e1d
DA
23112012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2312
2313 Next round of tweaks caused by Fgarbage_collect changes.
2314 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2315
9cd47b72
DA
23162012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2317
2318 Compact buffers when idle.
2319 * compact.el: New file.
2320
1d6fc0df
SM
23212012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * subr.el (eventp): Presume that if it looks vaguely like an event,
2324 it's an event (bug#10190).
2325
1d29cc7d
FEG
23262012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2327
2328 Enhancements to ppss related code (thanks Stefan).
2329 * progmodes/python.el (python-indent-context)
2330 (python-indent-calculate-indentation, python-indent-dedent-line)
2331 (python-indent-electric-colon, python-nav-forward-block)
2332 (python-mode-abbrev-table)
1d6fc0df 2333 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2334 for ppss context.
2335 (python-info-continuation-line-p): Cleanup.
2336 (python-info-ppss-context): Do not catch 'quote.
2337 (python-info-ppss-context-type)
2338 (python-info-ppss-comment-or-string-p): Simplify.
2339
d583cbe6
FEG
23402012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2341
2342 * progmodes/python.el: Enhancements to eldoc support.
2343 (python-info-current-symbol): New function.
2344 (python-eldoc-at-point): Use python-info-current-symbol.
2345 (python-info-current-defun): Fix cornercase on first defun scan.
2346 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2347 and signal error when no inferior python process is available.
2348
eceb6feb
DG
23492012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2350
2351 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2352 assume it's always t.
2353 (vc-git-registered): Remove caching, the function is only called
2354 once.
2355 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2356
4c8ff0fe
CY
23572012-07-18 Chong Yidong <cyd@gnu.org>
2358
19fb7186
CY
2359 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2360
9587c688
CY
2361 * simple.el (count-words): Report on narrowing (Bug#9959).
2362
0fe776a1
CY
2363 * bindings.el: Bind M-= to count-words.
2364
4c8ff0fe
CY
2365 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2366
7f5331cc
MY
23672012-07-18 Masatake YAMATO <yamato@redhat.com>
2368
2369 * progmodes/sh-script.el (sh-imenu-generic-expression):
2370 Capture a function with `function' keyword and without parentheses
2371 like "function FOO" (bug#11856).
2372
2dc2a609
TH
23732012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2374
2375 * window.el (split-window-sensibly): Make WINDOW argument
2376 optional.
2377
439f7677
CY
23782012-07-18 Chong Yidong <cyd@gnu.org>
2379
9aeb25a6
CY
2380 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2381
439f7677
CY
2382 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2383 and make C-x 8 RET exit isearch (Bug#11439).
2384
2385 * international/iso-transl.el: Move isearch-mode-map key
2386 definitions to isearch.el.
2387
12999ea8
SM
23882012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2391 (eieio-defclass): Use gv-define-setter when possible.
2392
3ab6e069
DA
23932012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2394
2395 Reflect recent changes in Fgarbage_collect.
2396 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2397 reflect new format of data returned by Fgarbage_collect.
2398
0a60bc10
FEG
23992012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2400
2401 New utility functions + python-info-ppss-context fix (Bug#11910).
2402 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2403 (python-info-ppss-comment-or-string-p): New functions.
2404 (python-info-ppss-context): Small fix for string check.
2405
6dafa0d5
JL
24062012-07-17 Juri Linkov <juri@jurta.org>
2407
2408 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2409 (dired-do-async-shell-command): Don't add `*' at the end of the
2410 command (Bug#11815).
2411 (dired-do-shell-command): Doc fix.
2412 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2413 Join the individual commands using either "&" or ";" as the
2414 separator depending on the values of these trailing characters.
2415 At the end re-add the trailing "&". (Bug#10598)
2416
2417 * simple.el (async-shell-command): Sync the interactive spec with
2418 `shell-command'. Doc fix.
2419 (shell-command): Doc fix.
2420
b19dd9d1
JL
24212012-07-17 Juri Linkov <juri@jurta.org>
2422
2423 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2424
bcdc27d7 24252012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2426
bcdc27d7 2427 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2428 * progmodes/python.el (python-nav-beginning-of-statement):
2429 Rename from python-nav-statement-start.
bcdc27d7
FEG
2430 (python-nav-end-of-statement): Rename from
2431 python-nav-statement-end.
2432 (python-nav-beginning-of-block): Rename from
2433 python-nav-block-start.
2434 (python-nav-end-of-block): Rename from python-nav-block-end.
2435
191da00e
FEG
24362012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2437
7f5331cc
MY
2438 * progmodes/python.el (python-shell-send-string-no-output):
2439 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2440 future interactions (Bug#11868).
2441
4dc7c8d5 24422012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2443
88ecaf8f
SM
2444 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2445
ef501ef0
SM
2446 * emacs-lisp/elint.el (elint-find-args-in-code):
2447 Use help-function-arglist, so as to handle lexical byte-code.
2448
aa7aaf8f
SM
2449 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2450 change (bug#11826).
2451
45fd731c
SM
24522012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2143fa32
SM
2454 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2455 Avoid spuriously marking the buffer as modified because of c-is-sws.
2456
efc26dbe
SM
2457 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2458 as not-a-comment (bug#11946).
2459
f5695c9a
SM
2460 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2461 for uninterned vars.
2462
2463 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2464 Use read-event since we don't really want to read chars but bytes.
2465
45fd731c
SM
2466 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2467 $$..$$ but also $..$ using regexps (bug#11953).
2468 Use tex-verbatim for \url and \path.
2469 (tex-font-lock-keywords): Define as defconst like the others.
2470 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2471
ddfc8813
RK
24722012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2473
2474 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2475 alias for insert-char.
2476
758e556a
FEG
24772012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2478
2479 * progmodes/python.el: Simplified imenu implementation.
2480 (python-nav-jump-to-defun): Remove command.
2481 (python-mode-map): Use `imenu' instead.
2482 (python-nav-list-defun-positions-cache)
2483 (python-imenu-include-defun-type, python-imenu-make-tree)
2484 (python-imenu-subtree-root-label, python-imenu-index-alist):
2485 Remove vars.
2486 (python-nav-list-defun-positions, python-nav-read-defun)
2487 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2488 (python-imenu-make-tree, python-imenu-create-index):
2489 Remove functions.
758e556a
FEG
2490 (python-mode): Update to interact with imenu by setting
2491 `imenu-extract-index-name-function' only.
2492
032d23ab
FEG
24932012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2494
2495 * progmodes/python.el: Enhancements to navigation commands.
2496 (python-nav-backward-sentence)
2497 (python-nav-forward-sentence): Remove.
2498 (python-nav-backward-statement, python-nav-forward-statement)
2499 (python-nav-statement-start, python-nav-statement-end)
2500 (python-nav-backward-block, python-nav-forward-block)
2501 (python-nav-block-start, python-nav-block-end)
2502 (python-nav-forward-sexp-function)
2503 (python-info-current-line-comment-p)
2504 (python-info-current-line-empty-p): New functions.
2505 (python-indent-context): Use `python-nav-statement-start'.
2506
01795a1b
MA
25072012-07-16 Michael Albinus <michael.albinus@gmx.de>
2508
9328d9aa
MA
2509 * eshell/em-ls.el (eshell/ls): Use `apply'.
2510
2511 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2512 multi-hops, instead of Tramp internals.
2513
01795a1b
MA
2514 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2515
2516 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2517 when F1 and F2 are located on different hosts.
2518
63408057
CY
25192012-07-14 Chong Yidong <cyd@gnu.org>
2520
2521 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2522 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2523 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2524 (xterm-mouse--read-event-sequence-1000)
2525 (xterm-mouse--read-event-sequence-1006): New functions. For old
2526 mouse protocol, handle M-mouse-X events correctly.
2527 (xterm-mouse-event): New arg specifying mouse protocol.
2528 (turn-on-xterm-mouse-tracking-on-terminal)
2529 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2530 sequence to toggle extended coordinates on newer XTerms.
2531 This appears to be harmless on terminals which do not support this.
63408057 2532
cd276f6e
LL
25332012-07-14 Leo Liu <sdl.web@gmail.com>
2534
28ca98ac
LL
2535 Add fringe bitmap indicators for flymake. (Bug#11253)
2536 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2537 (flymake-make-overlay): New arg BITMAP.
2538 (flymake-error-bitmap, flymake-warning-bitmap)
2539 (flymake-fringe-indicator-position): New user variables.
2540
cd276f6e
LL
2541 * fringe.el: New bitmap exclamation-mark.
2542
04408072
JD
25432012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2544
2545 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2546 also (Bug#7879).
2547
b5cf7fc4
CY
25482012-07-14 Chong Yidong <cyd@gnu.org>
2549
2550 * electric.el (electric-pair-post-self-insert-function): Fix pair
2551 insertion in empty-region case (Bug#11520).
2552
be755c79
RT
25532012-07-14 Chong Yidong <cyd@gnu.org>
2554
45fd731c
SM
2555 * bindings.el: Consolidate ctl-x-r-map bindings.
2556 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2557
2558 * rect.el, register.el: Move bindings to bindings.el.
2559
25602012-07-14 Reuben Thomas <rrt@sc3d.org>
2561
2562 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2563
7f5b3198
AS
25642012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2565
2566 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2567
97662200
JB
25682012-07-13 Juanma Barranquero <lekktu@gmail.com>
2569
80185fed
JB
2570 * bindings.el (top): Use `mapc' instead of `mapcar'.
2571
97662200
JB
2572 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2573
2bb1ae55
MA
25742012-07-13 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * progmodes/sql.el (sql-comint): Suppress the check for program on
2577 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2578 (Bug#11908)
2579
dea31bd3
CY
25802012-07-13 Chong Yidong <cyd@gnu.org>
2581
2582 * bindings.el: Assign a non-nil permanent-local property to
2583 per-buffer variables which lack a default value (Bug#11930).
2584
2585 * help-fns.el (describe-variable): In the "automatically becomes
2586 local" notice, take note of permanent-local variables.
2587
b68b3337
CY
25882012-07-13 Chong Yidong <cyd@gnu.org>
2589
2590 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2591 to allow printing the message when called from Lisp.
2592
2593 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2594 Remove toggle-read-only.
2595
2596 * bs.el (bs-toggle-readonly):
45fd731c
SM
2597 * buff-menu.el (Buffer-menu-toggle-read-only):
2598 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2599
2600 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2601 Remove with-no-warnings around toggle-read-only.
2602 (ffap-read-only, ffap-read-only-other-window)
2603 (ffap-read-only-other-frame): Callers changed.
2604
2605 * help-mode.el: Don't require view package.
2606 (help-mode-finish): Set buffer-read-only instead of calling
2607 toggle-read-only.
2608
2609 * bindings.el (mode-line-toggle-read-only):
2610 * dired.el (dired-toggle-read-only):
2611 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2612 with non-nil second arg.
2613
2614 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2615 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2616 directly.
2617
56bc1586
EZ
26182012-07-12 Eli Zaretskii <eliz@gnu.org>
2619
2620 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2621 not incf.
2622
a464a6c7
SM
26232012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 More CL cleanups and reduction of use of cl.el.
2626 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2627 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2628 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2629 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2630 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2631 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2632 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2633 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2634 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2635 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2636 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2637 * eshell/em-cmpl.el, eshell/em-banner.el:
2638 * calendar/parse-time.el: Use cl-lib.
2639 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2640 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2641 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2642 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2643 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2644 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2645 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2646 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2647 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2648 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2649 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2650 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2651 `lambda' rather than with `quote'.
2652 (eshell-do-opt): Adjust accordingly.
2653 (eshell-process-option): Simplify.
2654 * eshell/esh-var.el:
2655 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2656 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2657 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2658 to `pcase--dontcare'.
2659 * emacs-lisp/cl.el (labels): Mark obsolete.
2660 (cl--letf, letf): Move to cl-lib.
2661 (cl--letf*, letf*): Remove.
2662 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2663 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2664 (cl-progv): Rewrite.
2665 (cl--letf, cl-letf): Move from cl.el.
2666 (cl-letf*): New macro.
2667 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2668
7ad4afe1
MA
26692012-07-11 Michael Albinus <michael.albinus@gmx.de>
2670
2671 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2672
9af57756
CY
26732012-07-11 Chong Yidong <cyd@gnu.org>
2674
2675 * vc/log-edit.el (log-edit-vc-backend): New variable.
2676 (log-edit): Doc fix.
2677
2678 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2679 argument of log-edit to set up all local variables.
2680 (vc-start-logentry): New optional arg specifying VC backend.
2681
2682 * vc/vc.el (vc-checkin): Use it.
2683 (vc-deduce-fileset): Handle Log Edit buffers.
2684 (vc-diff): Make first argument optional too.
2685
2686 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2687
8477cc7a
MA
26882012-07-10 Michael Albinus <michael.albinus@gmx.de>
2689
2690 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2691 command, just in case. The function is not needed anymore.
2692 (eshell-external-command): Do not call `eshell-remote-command'.
2693
19faa8e8
SM
26942012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2695
f58e0fd5
SM
2696 Reduce use of (require 'cl).
2697 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2698 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2699 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2700 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2701 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2702 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2703 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2704 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2705 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2706 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2707 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2708 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2709 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2710 (byte-compile-unfold-bcf, byte-compile-check-variable):
2711 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2712 (byte-compile-nilconstp):
2713 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2714 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2715
2519d43a
SM
2716 * emacs-lisp/gv.el (cond): Make it a valid place.
2717 (if): Simplify slightly.
2718
19faa8e8
SM
2719 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2720 (pcase--self-quoting-p): New function.
2721 (pcase--u1): Use it.
2722
c4907a5e
GM
27232012-07-10 Glenn Morris <rgm@gnu.org>
2724
2725 * emacs-lisp/authors.el (authors-fixed-entries):
2726 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2727
c4444d16
PE
27282012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2729
2730 Rename configure.in to configure.ac (Bug#11603).
2731 * emacs-lisp/authors.el (authors-canonical-file-name):
2732 * progmodes/autoconf.el (autoconf-mode):
2733 Prefer configure.ac to configure.in.
2734
d75be97d
CY
27352012-07-08 Chong Yidong <cyd@gnu.org>
2736
01ac65bd
CY
2737 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2738 Implement the mouse-1-click-follows-link handling properly.
2739
2740 * info.el (Info-link-keymap): Use follow-link mechanism for
2741 header-line links (Bug#374).
2742
d75be97d
CY
2743 * simple.el (deactivate-mark): Do not set the primary selection
2744 if another program has acquired it (Bug#11772).
2745
87a92845 27462012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2747
2748 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2749 (woman-decode-region): Replace escaped-escapes without destroying
2750 bold or underline (Bug#11552).
87a92845 2751 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2752
621b9d6c
CY
27532012-07-07 Chong Yidong <cyd@gnu.org>
2754
2755 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2756 (interprogram-cut-function, interprogram-paste-function):
2757 Mention that we typically mean the clipboard.
621b9d6c 2758
133a11fc
GM
27592012-07-06 Glenn Morris <rgm@gnu.org>
2760
0d27a45e
GM
2761 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2762
133a11fc
GM
2763 * files.el (toggle-read-only): Restrict message to interactive use.
2764
07b151f1
MA
27652012-07-06 Michael Albinus <michael.albinus@gmx.de>
2766
2767 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2768
2769 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2770
211b896b
GM
27712012-07-06 Glenn Morris <rgm@gnu.org>
2772
50394322
GM
2773 * Makefile.in (compile-one-process): Rename from "recompile".
2774
211b896b
GM
2775 * Makefile.in (bzr-update): "compile" is the same as "recompile
2776 autoloads", but parallelizable, so use that instead.
2777
4737eec9
DG
27782012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2779
2780 * window.el (quit-window): Always restore window height when
8137e7b3 2781 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2782
226c3633 27832012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2784
2785 * simple.el (kill-whole-line): Doc tweak.
2786
226c3633 27872012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2788
2789 * files.el (file-relative-name): Compare file names
2790 case-insensitively if on MS-Windows or MS-DOS, or if
2791 read-file-name-completion-ignore-case is non-nil. Don't use
2792 case-fold-search for this purpose. (Bug#11827)
2793
4dc7c8d5
SM
27942012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2795
2796 * calendar/cal-dst.el (calendar-current-time-zone):
2797 Return calendar-current-time-zone-cache if non-nil.
2798
27992012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 28002012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2801
19faa8e8
SM
2802 * calendar/cal-dst.el (calendar-current-time-zone):
2803 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2804
60198fc9
GM
28052012-07-06 Glenn Morris <rgm@gnu.org>
2806
2807 * Makefile.in (cvs-update): Remove old alias.
2808
957b3189
MA
28092012-07-05 Michael Albinus <michael.albinus@gmx.de>
2810
2811 Sync with Tramp 2.2.6-pre.
2812
2813 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2814 compatible declaration.
2815
19faa8e8
SM
2816 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2817 Protect `list-load-path-shadows' call.
957b3189
MA
2818
2819 * net/tramp-compat.el (top): Require packages, which aren't
2820 autoloaded anymore for XEmacs. Protect call of
2821 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2822 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2823 it hurts at least for SXEmacs.
2824 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2825 standard-value for `temporary-file-directory'.
2826
2827 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2828 Redirect stderr to /dev/null.
2829 (tramp-sh-handle-write-region): uid and gid can be floats.
2830 Reported by Russell Sim <russell.sim@gmail.com>.
2831 (tramp-sh-handle-vc-registered): Hide errors.
2832 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2833 and `start-file-process'.
2834 (tramp-maybe-open-connection): Check also whether `non-essential'
2835 is bound.
2836
566df3fc
CY
28372012-07-04 Chong Yidong <cyd@gnu.org>
2838
2839 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2840 (xml-parse-tag): Likewise, and avoid changing entity tables.
2841 (xml-syntax-table): Define from scratch, making sure not to give
2842 x2000 and other Unicode spaces whitespace syntax, since those are
2843 not spaces in XML.
2844 (xml-parse-fragment): Delete unused function.
2845 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2846 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2847 (xml-entity-ref, xml-pe-reference-re)
2848 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2849 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2850 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2851 (xml-entity-value-re): Use syntax references in regexps where
2852 possible; no need to define inside a let-binding.
2853 (xml-parse-dtd): Use xml-pe-reference-re.
2854 (xml-entity-or-char-ref-re): New defconst.
2855 (xml-parse-string, xml-substitute-special): Use it.
2856
30eabd7a
SM
28572012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2858
0781098a
SM
2859 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2860 (find-file--read-only): New function.
2861 (find-file-read-only, find-file-read-only-other-window)
2862 (find-file-read-only-other-frame): Use it.
2863 (insert-file-contents-literally): Don't `fset'.
2864 (get-free-disk-space): Use locate-dominating-file.
2865
b5771c0d
SM
2866 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2867 function is already compiled.
2868
30eabd7a
SM
2869 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2870
b4886f6e
MA
28712012-07-03 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2874 files on the same host.
2875
b9d82339
AS
28762012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2877
2878 * help-fns.el (describe-function-1): Only call
2879 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2880
a76e6535
CY
28812012-07-03 Chong Yidong <cyd@gnu.org>
2882
2883 * xml.el: Protect parser against XML bombs.
2884 (xml-entity-expansion-limit): New variable.
2885 (xml-parse-string, xml-substitute-special): Use it.
2886 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2887
b544fef2
GM
28882012-07-03 Glenn Morris <rgm@gnu.org>
2889
2890 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2891 Allow linking to specific messages in debbugs reports (eg 123#5).
2892
a7aef6f5
CY
28932012-07-02 Chong Yidong <cyd@gnu.org>
2894
2895 * xml.el: Fix entity and character reference expansion, allowing
2896 them to expand into markup as per XML spec.
2897 (xml-default-ns): New variable.
2898 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
2899 (xml-parse-region): Make first two arguments optional.
2900 Discard text properties.
2901 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2902 All callers changed.
a7aef6f5
CY
2903 (xml-parse-tag): Call xml-parse-tag-1. For backward
2904 compatibility, this function should not modify buffer contents.
2905 (xml-parse-tag-1): Fix opening-tag regexp.
2906 (xml-parse-string): Rewrite, handling entity and character
2907 references properly.
2908 (xml--entity-replacement-text): Signal an error if a parameter
2909 entity is undefined.
2910
3df31c9f
SM
29112012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2b5208f1
SM
2913 * comint.el (comint-output-filter): Filter out repeated prompts.
2914
3df31c9f
SM
2915 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2916 and file-name-absolute-p.
2917 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2918 internal calls.
2919
e3ac1281
PE
29202012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2921
2922 Spelling fixes.
2923 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2924 Rename from byte-compile--refiy-function. All uses changed.
2925
fbf2e7ad
CY
29262012-07-01 Chong Yidong <cyd@gnu.org>
2927
2928 * xml.el (xml--parse-buffer): New function. Move most of
2929 xml-parse-region here.
2930 (xml-parse-region): Copy region into a temporary buffer, since
2931 parameter entity substitution requires changing buffer contents.
2932 Use xml--parse-buffer.
2933 (xml-parse-file): Use xml--parse-buffer.
2934 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 2935 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 2936
9bf0aa15
GM
29372012-06-30 Glenn Morris <rgm@gnu.org>
2938
bbce2853
GM
2939 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2940
9bf0aa15
GM
2941 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2942 Remove outdated and unnecessary dbus declarations.
2943
0d23c240
EZ
29442012-06-30 Eli Zaretskii <eliz@gnu.org>
2945
2946 * emacs-lisp/timer.el (timer-until): Subtract results of
2947 float-time, instead of taking float-time of the result of
2948 time-subtract, since float-time signals an error for negative time
2949 arguments.
2950
b3218de1
CY
29512012-06-30 Chong Yidong <cyd@gnu.org>
2952
2953 * xml.el (xml-*-re): Convert defvars into defconsts, and
2954 eval-and-compile them so eval-and-compile works on derivatives.
2955 (xml--entity-replacement-text): Use eval-and-comple.
2956
a40c87a0
MA
29572012-06-30 Michael Albinus <michael.albinus@gmx.de>
2958
2959 * vc/vc-git.el (vc-git-registered): Use cache property
2960 `git-registered'.
2961 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2962 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 2963 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 2964
ac87de97
DG
29652012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2966
2967 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 2968 removed (likely outside Emacs). (Bug#11757)
ac87de97 2969
ac10fe06
SM
29702012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2971
3df31c9f 2972 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 2973
7f3fbd5d
CY
29742012-06-30 Chong Yidong <cyd@gnu.org>
2975
2976 * xml.el: Implement XML parameter entities.
2977 (xml-parameter-entity-alist): New variable.
2978 (xml-parse-region, xml-parse-fragment): Preserve previous values
2979 of xml-entity-alist and xml-parameter-entity-alist, so that
2980 repeated calls on different documents do not change them.
2981 (xml-parse-tag): Fix doctype regexp.
2982 (xml--entity-replacement-text): New function.
2983 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2984 properly requires url retrieval which is unimplemented.
2985 (xml-escape-string): Doc fix.
2986
3cfbebba
SM
29872012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2990
2af3565e
DA
29912012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2992
2993 * fringe.el (fringe-mode): Doc fix.
2994
929df0e7
MA
29952012-06-29 Michael Albinus <michael.albinus@gmx.de>
2996
2997 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2998 is non-nil.
2999 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3000 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3001
c8d3a25c 30022012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3003
c8d3a25c
GM
3004 * calendar/cal-dst.el (calendar-current-time-zone):
3005 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3006
c8d3a25c 30072012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3008
3009 * progmodes/which-func.el (which-func-format):
3010 Add mouse-face. (Bug#11698)
3011
c8d3a25c
GM
30122012-06-29 Leo Liu <sdl.web@gmail.com>
3013
3014 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3015
30162012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * minibuffer.el (minibuffer-confirm-exit-commands):
3019 Add completion-at-point (bug#11725).
3020
30212012-06-29 Glenn Morris <rgm@gnu.org>
3022
3023 * progmodes/f90.el (f90-font-lock-keywords-2):
3024 Add some preprocessor elements. (Bug#10499)
3025
30262012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3029 Use syntax-propertize (bug#11739).
3030
2badeec4
JB
30312012-06-28 Juanma Barranquero <lekktu@gmail.com>
3032
3033 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3034
ae4969c2
JD
30352012-06-28 Julien Danjou <julien@danjou.info>
3036
3037 * term.el (term-handle-colors-array): Use a set of new faces to
3038 color the terminal. Also uses :inverse-video property.
3039 (term-default-fg-color): Set to nil by default, deprecate in favor
3040 of `term-face'.
3041 (term-default-bg-color): Set to nil by default, deprecate in favor
3042 of `term-face'.
3043 (term-current-face): Use `term-face' by default.
3044 (term-bold-attribute): Variable deleted.
3045
1c9bd870
GM
30462012-06-28 Glenn Morris <rgm@gnu.org>
3047
3048 * simple.el (completion-list-mode-finish):
3049 Don't use toggle-read-only. (Since completion-list-mode has
3050 a special mode-class, it wasn't doing anything extra anyway.)
3051
c207708c
SM
30522012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 Make inlining of other-mode interpreted functions work (bug#11799).
3055 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3056 (byte-compile): Use it to fix compilation of lexical-binding closures.
3057 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3058 function, if needed.
3059
3fd56834
SM
30602012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3061
04901786
SM
3062 * help-mode.el (help-make-xrefs): Don't just withstand
3063 cyclic-variable-indirection but any error in documentation-property.
3064
1ec4b7b2
SM
3065 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3066 memory use.
3067 * bindings.el (bindings--define-key): New function.
3068 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3069 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3070 * bindings.el: Use it to purecopy define-key bindings.
3071
e309e2a5
SM
3072 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3073
d5c6faf9
SM
3074 * emacs-lisp/cl.el (flet): Mark obsolete.
3075 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3076 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3077 * progmodes/js.el (js-c-fill-paragraph):
3078 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3079 (ebrowse-switch-member-buffer-to-derived-class):
3080 * play/5x5.el (5x5-solver): Use cl-flet.
3081
6e9590e2
SM
3082 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3083 (cl--symbol-function): New macro.
3084 (cl--letf, cl--letf*): Use it.
3085
3fd56834
SM
3086 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3087 Strip "toggle-" if any.
3088
35ff222c
GM
30892012-06-27 Glenn Morris <rgm@gnu.org>
3090
1ba6038a
GM
3091 * info.el (Info-default-directory-list): Move here from paths.el.
3092 * paths.el: Remove file, which is now empty.
3093 * loadup.el: No longer load "paths".
3094
0ea0e51b
GM
3095 * custom.el (custom-initialize-delay): Doc fix.
3096
35ff222c
GM
3097 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3098 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3099 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3100 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3101 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3102 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3103 * eshell/eshell.el (eshell-defgroup): Remove alias.
3104
c89926a5
CY
31052012-06-27 Chong Yidong <cyd@gnu.org>
3106
3107 * help.el (help-enable-auto-load): New variable.
3108
3109 * help-fns.el (help-fns--autoloaded-p): New function.
3110 (describe-function-1): Refer to a function as "autoloaded" if it
3111 was autoloaded at any time in the past. Perform autoloading if
3112 help-enable-auto-load is non-nil.
3113
cc06e7e7
EZ
31142012-06-26 Eli Zaretskii <eliz@gnu.org>
3115
3116 * makefile.w32-in (compile, compile-always): Depend on
3117 update-subdirs, not on subdirs.el. Otherwise, several different
3118 sub-targets of 'bootstrap' running in parallel could
3119 simultaneously write to subdirs.el, producing a garbled file.
3120
d2c32364
SS
31212012-06-26 Sam Steingold <sds@gnu.org>
3122
3123 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3124 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3125 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3126 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3127 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3128 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3129 * textmodes/tex-mode.el: Use it.
3130 Did not touch cedet and org because they are maintained elsewhere.
3131
5cf983b2
MR
31322012-06-26 Martin Rudalics <rudalics@gmx.at>
3133
3134 * calendar/calendar.el (calendar-exit): Don't try to delete or
3135 iconify last frame. See:
3136 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3137
8c4f2952
JD
31382012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3139
3140 * server.el (server-process-filter): Remember dir in the
3141 process's `server-client-directory' properties.
3142
772b2e2c
CY
31432012-06-24 Chong Yidong <cyd@gnu.org>
3144
3145 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3146 non-tag text.
3147
711b11e1
JB
31482012-06-23 Juanma Barranquero <lekktu@gmail.com>
3149
3150 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3151
dc5d230c
SM
31522012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * help-fns.el (describe-variable): Don't croak when doc is not found.
3155 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3156 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3157 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3158 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3159 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3160 ((lambda ..) ..).
3161 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3162
136e1c1d
CY
31632012-06-23 Chong Yidong <cyd@gnu.org>
3164
e8c1cabf
CY
3165 * info.el (Info-mouse-follow-link): Accept symbol values of
3166 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3167 (Info-fontify-node): Use Info-link-keymap for all navigation
3168 buttons, with link-args property to perform the desired action.
3169 (Info-link-keymap): Doc fix.
3170 (Info-next-link-keymap, Info-prev-link-keymap)
3171 (Info-up-link-keymap): Delete now-unused keymaps.
3172
0e9e6c6a
CY
31732012-06-23 Chong Yidong <cyd@gnu.org>
3174
05e89fea
CY
3175 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3176
0e9e6c6a
CY
3177 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3178 system abbrevs.
3179
3180 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3181
e33c6771
SM
31822012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3183
b68581e2
SM
3184 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3185 (bug#11719).
3186
e33c6771
SM
3187 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3188 the requote function doesn't work properly (bug#11714).
3189
7117e105
GM
31902012-06-23 Glenn Morris <rgm@gnu.org>
3191
3192 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3193
36cec983
SM
31942012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 Further GV/CL cleanups.
3197 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3198 gv-expander.
3199 (gv--defun-declaration): New function.
3200 (defun-declarations-alist): Use it.
3201 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3202 (gv-place): Autoload.
3203 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3204 original definition of dotimes and dolist.
3205 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3206 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3207 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3208 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3209 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3210 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3211 to the function's definition.
3212 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3213 * window.el:
3214 * files.el:
3215 * faces.el:
3216 * env.el: Don't use CL.
3217
d35af63c
PE
32182012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3219
3220 Support higher-resolution time stamps (Bug#9000).
3221
3222 * calendar/time-date.el (with-decoded-time-value): New arg
3223 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3224 (encode-time-value): New optional arg PICO. New type 3.
3225 (time-to-seconds) [!float-time]: Support the new picoseconds
3226 component if it's used.
3227 (seconds-to-time, time-subtract, time-add):
3228 Support ps-resolution time stamps as well.
3229
3230 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3231 (timerp): Timer vectors now have length 9, not 8.
3232 (timer--time): Support new-style (4-part) time stamps.
3233 (timer-next-integral-multiple-of-time): Time stamps now have
3234 picosecond resolution, so take a bit more care about rounding.
3235 (timer-relative-time, timer-inc-time): New optional arg psecs.
3236 (timer-set-time-with-usecs): Set psecs to 0.
3237 (timer--activate): Check psecs component, too.
3238
3239 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3240
ac77b21a
SM
32412012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3242
f143bfe3
SM
3243 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3244 Move the non-essential binding to the post/pre-command-hook where it is
3245 more obviously correct.
3246
ac77b21a
SM
3247 * subr.el (read-passwd): Don't use a history at all.
3248 * savehist.el (savehist-save): Remove password saved accidentally
3249 because of the above bug.
3250
76386c5a
BG
32512012-06-22 Bastien Guerry <bzg@gnu.org>
3252
3253 * files.el (toggle-read-only): Display a message telling whether
3254 the buffer is read-only or not (bug#11726).
3255
2ee3d7f0
SM
32562012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * emacs-lisp/gv.el: New file.
3259 * subr.el (push, pop): Extend to generalized variables.
3260 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3261 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3262 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3263 gv-define-simple-setter, and gv-define-expander.
3264 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3265 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3266 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3267 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3268 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3269 gv-letplace.
3270 (cl-defstruct): Don't define setf-method any more.
3271 * emacs-lisp/cl.el (flet): Don't autoload.
3272 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3273 (define-setf-expander, defsetf, define-modify-macro)
3274 (cl-struct-setf-expander): Move from cl-lib.el.
3275 * emacs-lisp/syntax.el:
3276 * emacs-lisp/ewoc.el:
3277 * emacs-lisp/smie.el:
3278 * emacs-lisp/cconv.el:
3279 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3280 (timer--time): Use gv-define-simple-setter.
3281 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3282 to avoid coding-system problems in subr.el. Adjust all users.
3283 (macroexp--maxsize, macroexp-small-p): New functions.
3284 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3285 * scroll-bar.el (scroll-bar-mode):
3286 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3287 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3288 * winner.el (winner-configuration, winner-make-point-alist)
3289 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3290 * files.el (locate-file-completion-table): Avoid list*.
3291
c5695d1d
CY
32922012-06-22 Chong Yidong <cyd@gnu.org>
3293
3294 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3295 (dired-create-files): Doc fix (Bug#11329).
3296 (dired-do-copy): Doc fix (Bug#11334).
3297 (dired-mark-read-string): Doc fix (Bug#11553).
3298
2ee3d7f0
SM
3299 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3300 Doc fix (Bug#11326).
c5695d1d
CY
3301 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3302 (dired-dwim-target): Doc fix.
3303
3304 * wdired.el (wdired-mode): Doc fix.
3305
89b5595a
GM
33062012-06-22 Glenn Morris <rgm@gnu.org>
3307
575db3f1
GM
3308 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3309 (pcmpl-rpm-cache-stamp-file): New constant.
3310 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3311 (pcmpl-rpm-packages): Optionally cache list of packages.
3312
a4c8dd51
GM
3313 * pcmpl-rpm.el (pcmpl-rpm): New group.
3314 (pcmpl-rpm-query-options): New option.
3315 (pcmpl-rpm-packages): No need to inline it.
3316 Use pcmpl-rpm-query-options.
3317
89b5595a
GM
3318 * calendar/calendar.el (calendar-in-read-only-buffer):
3319 Avoid some needless mode changes.
3320
e76f0800
CY
33212012-06-21 Chong Yidong <cyd@gnu.org>
3322
3323 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3324 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3325 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3326
297a8f1d
CY
33272012-06-20 Chong Yidong <cyd@gnu.org>
3328
3329 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3330
d34c18b1
DR
33312012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3332
3333 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3334 (bug#11201).
3335
32f7f28e
CY
33362012-06-20 Chong Yidong <cyd@gnu.org>
3337
3338 * term.el (term-window-width): Handle the case of a missing right
3339 fringe (Bug#8837).
3340 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3341 (term-mode): Use define-derived-mode. Minor cleanups.
3342 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3343 (term-move-columns, term-insert-char, term-emulate-terminal)
3344 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3345
493c6688
MA
33462012-06-20 Michael Albinus <michael.albinus@gmx.de>
3347
d34c18b1
DR
3348 * net/ange-ftp.el (ange-ftp-get-passwd):
3349 Bind `enable-recursive-minibuffers'.
493c6688
MA
3350 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3351
3f06ecf4
DR
33522012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3353
3354 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3355
68f12411
GM
33562012-06-19 Glenn Morris <rgm@gnu.org>
3357
3358 * progmodes/python.el (python-mode): Derive from prog-mode.
3359
b3820318
KG
33602012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3361
3362 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3363 (edt-user-menu-bar-update-buffers): New functions.
3364 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3365
c6bf3022
CY
33662012-06-19 Chong Yidong <cyd@gnu.org>
3367
3368 * subr.el (with-selected-window): Preserve the selected window's
3369 terminal's top-frame (Bug#4702).
3370
3371 * window.el (save-selected-window): Likewise.
3372
25f09295
SM
33732012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * progmodes/python.el (python-rx-constituents): Move backquote.
3376 (python-skeleton-define, python-define-auxiliary-skeleton):
3377 Use `declare'.
3378
6b11952a
MA
33792012-06-18 Michael Albinus <michael.albinus@gmx.de>
3380
3381 * minibuffer.el (read-file-name-default): Revert the patch from
3382 2012-06-17.
3383
ee4b1330
SM
33842012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3387 (pcase--u1, pcase--q1): Don't use apply-partially.
3388
35647f79
GM
33892012-06-18 Glenn Morris <rgm@gnu.org>
3390
3391 * progmodes/python.el (python-proc, python-buffer)
3392 (python-send-receive, python-send-string): Fix obsolete versions.
3393
24b0cff0
MR
33942012-06-18 Martin Rudalics <rudalics@gmx.at>
3395
3396 * window.el (special-display-p): Completely remove stringp
3397 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3398
29855149
MA
33992012-06-17 Michael Albinus <michael.albinus@gmx.de>
3400
3401 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3402
3403 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3404
3405 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3406 * net/tramp-sh.el (tramp-maybe-open-connection):
3407 Throw if `non-essential' is non-nil.
3408
07463363
MR
34092012-06-17 Martin Rudalics <rudalics@gmx.at>
3410
3411 * window.el (special-display-p): Signal an error if BUFFER-NAME
3412 is not a string (Bug#11713).
3413
48d1354e
PE
34142012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3415
3416 * progmodes/python.el (python-info-beginning-of-backslash):
3417 Rename from python-info-beginning-of-backlash, as a spelling fix.
3418
eb4a8a9a
CY
34192012-06-17 Chong Yidong <cyd@gnu.org>
3420
3421 * term.el (term-emulate-terminal): If term-check-size is called,
3422 move point to the process mark without resetting point (Bug#4635).
3423
ddfbf826 34242012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3425
3426 * international/mule-cmds.el (mule-menu-keymap)
3427 (set-language-environment, set-locale-environment): Doc tweaks.
3428
9b0e3eba
AA
34292012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3430
3431 * cus-face.el (custom-face-attributes): Add wave-style underline
3432 attribute.
3433 * faces.el (set-face-attribute): Update docstring to describe
3434 wave-style underline attribute.
3435
771e3eae
CY
34362012-06-16 Chong Yidong <cyd@gnu.org>
3437
3438 * term/xterm.el (terminal-init-xterm): Discard input before
3439 querying background mode (Bug#10959).
3440
7ae2ea10
SM
34412012-06-16 Stefan Merten <smerten@oekonux.de>
3442
3443 * textmodes/rst.el: Added and corrected some comments.
3444 (rst-re-alist-def): Improve symbol syntax.
3445 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3446 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3447 (rst-official-version, rst-official-cvs-rev): Update version
3448 information.
7ae2ea10 3449
b6974efa
JB
34502012-06-15 Juanma Barranquero <lekktu@gmail.com>
3451
3452 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3453 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3454
8826d473
GM
34552012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3456
3457 * progmodes/python.el: New python.el merge.
3458 (python-guess-indent): Obsolete var.
3459 (python-indent-guess-indent-offset): New defcustom.
3460 (python-indent): Obsolete var.
3461 (python-indent-offset): New defcustom.
3462 (python-python-command, python-jython-command): Delete var.
3463 (python-shell-interpreter): New defcustom.
3464 (python-pdbtrack-do-tracking-p): Delete var.
3465 (python-pdbtrack-activate): New defcustom.
3466 (python-use-skeletons): Obsolete var.
3467 (python-skeleton-autoinsert): New defcustom.
3468 (inferior-python-filter-regexp, python-continuation-offset)
3469 (python-honour-comment-indentation, python-indent-string-contents)
3470 (python-jython-packages, python-mode-hook)
3471 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3472 (python-shell-prompt-alist)
3473 (python-source-modes): Delete defcustoms.
3474 (python-check-buffer-name, python-eldoc-setup-code)
3475 (python-eldoc-string-code, python-ffap-setup-code)
3476 (python-ffap-string-code, python-fill-comment-function)
3477 (python-fill-decorator-function, python-fill-paren-function)
3478 (python-fill-string-function, python-imenu-include-defun-type)
3479 (python-imenu-make-tree, python-imenu-subtree-root-label)
3480 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3481 (python-shell-compilation-regexp-alist)
3482 (python-shell-completion-module-string-code)
3483 (python-shell-completion-pdb-string-code)
3484 (python-shell-completion-setup-code)
3485 (python-shell-completion-string-code)
3486 (python-shell-enable-font-lock, python-shell-exec-path)
3487 (python-shell-extra-pythonpaths)
3488 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3489 (python-shell-process-environment)
3490 (python-shell-prompt-block-regexp)
3491 (python-shell-prompt-output-regexp)
3492 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3493 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3494 (python-shell-virtualenv-path): New defcustoms.
3495 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3496 (inferior-python-mode-syntax-table, python--prompt-regexp)
3497 (python-buffer, python-command python-python-command)
3498 (python-default-template, python-imports, python-indent-index)
3499 (python-indent-list, python-indent-list-length)
3500 (python-mode-running, python-pdbtrack-is-tracking-p)
3501 (python-preoutput-continuation, python-preoutput-leftover)
3502 (python-preoutput-result, python-preoutput-skip-next-prompt)
3503 (python-prev-dir/file, python-recursing)
3504 (python-saved-check-command, python-version-checked)
3505 (python-which-func-length-limit)
3506 (view-return-to-alist): Delete vars.
3507 (python-check-custom-command, python-dotty-syntax-table)
3508 (python-imenu-index-alist, python-indent-current-level)
3509 (python-indent-dedenters, python-indent-levels)
3510 (python-nav-beginning-of-defun-regexp)
3511 (python-nav-list-defun-positions-cache)
3512 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3513 (python-shell-internal-buffer)
3514 (python-skeleton-available): New vars.
3515 (def-python-skeleton): Delete macro.
3516 (python-skeleton-define): New macro.
3517 (python-define-auxiliary-skeleton, python-rx): New macros.
3518 (python-insert-class): Delete command.
3519 (python-skeleton-class): New command.
3520 (python-insert-def): Delete command.
3521 (python-skeleton-def): New command.
3522 (python-insert-for): Delete command.
3523 (python-skeleton-for): New command.
3524 (python-insert-if): Delete command.
3525 (python-skeleton-if): New command.
3526 (python-insert-try/except, python-insert-try/finally): Delete commands.
3527 (python-skeleton-try): New command.
3528 (python-insert-while): Delete command.
3529 (python-skeleton-while): New command.
3530 (python-backspace): Delete command.
3531 (python-indent-dedent-line-backspace): New command.
3532 (python-electric-colon): Delete command.
3533 (python-indent-electric-colon): New command.
3534 (python-guess-indent): Delete command.
3535 (python-indent-guess-indent-offset): New command.
3536 (python-shift-left): Delete command.
3537 (python-indent-shift-left): New command.
3538 (python-shift-right): Delete command.
3539 (python-indent-shift-right): New command.
3540 (python-find-function): Delete command.
3541 (python-nav-jump-to-defun): New command.
3542 (python-next-statement): Delete command.
3543 (python-nav-forward-sentence): New command.
3544 (python-previous-statement): Delete command.
3545 (python-nav-backward-sentence): New command.
3546 (python-fill-paragraph): Delete command.
3547 (python-fill-paragraph-function): New command.
3548 (python-send-buffer): Delete command.
3549 (python-shell-send-buffer): New command.
3550 (python-send-defun): Delete command.
3551 (python-shell-send-defun): New command.
3552 (python-send-region, python-send-region-and-go): Delete commands.
3553 (python-shell-send-region)
3554 (python-shell-switch-to-shell): New commands.
3555 (python-send-string): Delete command.
3556 (python-shell-send-string): New command.
3557 (python-switch-to-python): Delete command.
3558 (python-shell-switch-to-shell): New command.
3559 (python-describe-symbol): Delete command.
3560 (python-eldoc-at-point): New command.
3561 (python--set-prompt-regexp, python-args-to-list)
3562 (python-after-info-look, python-check-version)
3563 (python-check-comint-prompt, python-find-imports)
3564 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3565 (python-unload-function, python-expand-template)
3566 (python-maybe-jython, python-preoutput-filter)
3567 (python-pdbtrack-get-source-buffer)
3568 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3569 (python-pdbtrack-toggle-stack-tracking)
3570 (python-pdbtrack-track-stack-file, python-initial-text)
3571 (python-first-word, python-comment-line-p, python-send-command)
3572 (python-setup-brm, python-sentinel, python-set-proc)
3573 (python-skip-out, python-input-filter, python-outdent-p)
3574 (python-outline-level, python-backslash-continuation-line-p)
3575 (python-end-of-block, python-end-of-statement, python-mark-block)
3576 (python-beginning-of-block, python-beginning-of-statement)
3577 (python-blank-line-p, python-beginning-of-string)
3578 (python-open-block-statement-p): Delete functions.
3579 (python-indent-line, python-indent-line-1): Delete functions.
3580 (python-indent-line): New function.
3581 (python-indentation-levels): Delete function.
3582 (python-indent-calculate-levels): New function.
3583 (python-proc): Delete function.
3584 (python-shell-get-process): New function.
3585 (python-send-receive): Delete function.
3586 (python-shell-send-string-no-output): New function.
3587 (python-module-path): Delete function.
3588 (python-ffap-module-path): New function.
3589 (python-completion-at-point)
3590 (python-symbol-completions): Delete functions.
3591 (python-completion-complete-at-point): New function.
3592 (python-load-file): Delete function.
3593 (python-shell-send-file): New function.
3594 (python-calculate-indentation): Delete function.
3595 (python-indent-calculate-indentation): New function.
3596 (python-skip-comments/blanks): Delete function.
3597 (python-util-forward-comment): New function.
3598 (python-continuation-line-p): Delete function.
3599 (python-info-continuation-line-p): New function.
3600 (python-which-func, python-current-defun): Delete function.
3601 (python-info-current-defun): New function.
3602 (python-beginning-of-defun): Delete function.
3603 (python-nav-beginning-of-defun): New function.
3604 (python-close-block-statement-p)
3605 (python-block-end-p): Delete function.
3606 (python-info-closing-block): New function.
3607 (python-comint-output-filter-function)
3608 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3609 (python-fill-comment, python-fill-decorator, python-fill-paren)
3610 (python-fill-string, python-imenu-make-element-tree)
3611 (python-imenu-make-tree, python-imenu-tree-assoc)
3612 (python-indent-context, python-indent-dedent-line)
3613 (python-indent-line-function)
3614 (python-indent-post-self-insert-function)
3615 (python-indent-toggle-levels)
3616 (python-info-assignment-continuation-line-p)
3617 (python-info-beginning-of-backlash)
3618 (python-info-block-continuation-line-p)
3619 (python-info-closing-block-message)
3620 (python-info-line-ends-backslash-p)
3621 (python-info-looking-at-beginning-of-defun)
3622 (python-info-ppss-context, python-info-ppss-context-type)
3623 (python-nav-list-defun-positions, python-nav-read-defun)
3624 (python-nav-sentence-end, python-nav-sentence-start)
3625 (python-pdbtrack-comint-output-filter-function)
3626 (python-pdbtrack-set-tracked-buffer)
3627 (python-shell-calculate-exec-path)
3628 (python-shell-calculate-process-environment)
3629 (python-shell-completion--do-completion-at-point)
3630 (python-shell-completion--get-completions)
3631 (python-shell-completion-complete-at-point)
3632 (python-shell-completion-complete-or-indent)
3633 (python-shell-get-or-create-process)
3634 (python-shell-get-process-name)
3635 (python-shell-internal-get-or-create-process)
3636 (python-shell-internal-get-process-name)
3637 (python-shell-internal-send-string, python-shell-make-comint)
3638 (python-shell-parse-command, python-shell-send-setup-code)
3639 (python-skeleton-add-menu-items)
3640 (python-util-clone-local-variables, python-util-position)
3641 (run-python-internal, python-indentation-levels)
3642 (python-nav-beginning-of-defun)
3643 (python-completion-complete-at-point): New functions.
3644 (run-python): Change arguments. New API requirements.
3645
4302f5ba
SM
36462012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3647
f38ea36d
SM
3648 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3649 (bug#11649).
3650
3651 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3652 (macroexp--expand-all): Use it.
3653
4302f5ba
SM
3654 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3655 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3656 Use `cl-function' instead.
3657
33377562
JB
36582012-06-14 Juanma Barranquero <lekktu@gmail.com>
3659
3660 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3661 Suggested by Stefan Monnier while discussing bug#11657.
3662
54c5ba1a
SS
36632012-06-14 Sam Steingold <sds@gnu.org>
3664
3665 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3666
f9f1b1fe
AS
36672012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3668
3669 * play/doctor.el (doctor-doc): Remove parameter and use
3670 doctor-sent instead of sent.
3671 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3672
a81068ba
SM
36732012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3674
5a315f9c
SM
3675 * files.el: Require cl-lib.
3676 (file-name-non-special): Replace case -> cl-case.
3677
3678 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3679
a81068ba
SM
3680 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3681 mapping from #' to function*.
3682
8cca9703
CY
36832012-06-13 Chong Yidong <cyd@gnu.org>
3684
3685 * mouse.el (mouse-drag-track): Do not set the mark if the user
3686 releases the mouse without selecting anything (Bug#11588).
3687
a12ac9d7
SM
36882012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3689
ccf1dc18
SM
3690 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3691 as well (bug#11646).
3692
ef62b23d
SM
3693 * loadup.el: Count byte-code functions as well.
3694
c4c8444a
SM
3695 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3696 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3697
a12ac9d7
SM
3698 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3699 (bug#11649). Add cl-defun and cl-defmacro.
3700
87e6e64f
DA
37012012-06-13 Drew Adams <drew.adams@oracle.com>
3702
3703 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3704 Fix last change.
3705
682cefaf
MA
37062012-06-13 Michael Albinus <michael.albinus@gmx.de>
3707
3708 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3709 Otherwise, it blocks in batch mode.
3710
773e1f08
JB
37112012-06-13 Juanma Barranquero <lekktu@gmail.com>
3712
3713 * help-mode.el (bookmark-make-record-default): Declare.
3714
60057926
CY
37152012-06-13 Chong Yidong <cyd@gnu.org>
3716
3717 * emacs-lisp/package.el (list-packages): Compute a list of
3718 packages that are newly-available since the last list-packages
3719 invocation.
3720 (package-menu--new-package-list): New var.
3721 (package-menu--generate, package-menu--print-info)
3722 (package-menu--status-predicate, package-menu-mark-install):
3723 Handle new status label "new".
3724
ad4d226c
SM
37252012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3728 conversion to backquotes.
3729
f1a4e679
CY
37302012-06-12 Chong Yidong <cyd@gnu.org>
3731
3732 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3733 Rename from gud-inhibit-global-bindings.
3734
3735 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3736
3737 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3738 hook from nxml-glyph-set-hook.
3739
3740 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3741 declaration.
3742
3743 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3744
3745 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3746 Convert to defcustom.
3747
0c9e42b5
DA
37482012-06-12 Drew Adams <drew.adams@oracle.com>
3749
3750 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3751 New functions.
3752 (help-mode): Use them.
3753
09e06855
GM
37542012-06-11 Glenn Morris <rgm@gnu.org>
3755
3756 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3757 Use preprocessor face for directives.
3758 (fortran-directive-re): Doc fix.
3759
71adb94b
SM
37602012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3761
2eb87922
SM
3762 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3763 conversion to backquotes (bug#11652).
3764
71adb94b
SM
3765 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3766 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3767 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3768 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3769 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3770 (cl-ninth, cl-tenth): Mark them as inlinable.
3771 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3772 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3773 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3774 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3775 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3776 (cl-list*, cl-adjoin): Don't put an autoload manually.
3777 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3778 (cl--compiler-macro-list*): Add autoload cookie.
3779 (cl--compiler-macro-cXXr): New function.
2eb87922 3780
71adb94b
SM
3781 * help-fns.el (help-fns--compiler-macro): New function extracted from
3782 describe-function-1; follow aliases and use `compiler-macro' property.
3783 (describe-function-1): Use it.
3784
a6674402
CY
37852012-06-11 Chong Yidong <cyd@gnu.org>
3786
3787 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3788 is uninstalled, if imagemagick is installed.
3789
bb3faf5b
SM
37902012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * emacs-lisp/cl-lib.el: Use lexical-binding.
3793 (cl-map-extents, cl-maclisp-member): Remove.
3794 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3795 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3796 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3797 * emacs-lisp/cl-extra.el: Use lexical-binding.
3798 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3799 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3800 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3801 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3802 * emacs-lisp/cl-seq.el: Use lexical-binding.
3803 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3804 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3805 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3806 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3807 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3808 CL's internals.
3809
2fe4b125
MA
38102012-06-11 Michael Albinus <michael.albinus@gmx.de>
3811
3812 Sync with Tramp 2.2.6-pre.
3813
3814 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3815 `print-length' and `print-level' to nil, in order to avoid
3816 truncation. Reported by Christopher Schmidt
3817 <christopher@ristopher.com>.
3818
3819 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3820
3821 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3822 New defmacro.
3823 (tramp-compat-copy-directory): Add optional argument
3824 COPY-CONTENTS. It is not handled yet.
3825
3826 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3827 (tramp-ftp-file-name-p): Simplify.
3828
3829 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3830 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3831 connection vector.
3832
3833 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3834 (tramp-methods): Do not use `tramp-password-end-of-line'.
3835 (tramp-completion-function-alist-putty): Handle UNIX case.
3836 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3837 (tramp-do-file-attributes-with-stat)
3838 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3839 gid as real numbers. They could run out of integer range on cygwin.
3840 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3841 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
3842 (tramp-open-connection-setup-interactive-shell):
3843 Use `tramp-cleanup'. Move check for busyboxes ...
3844 (tramp-find-shell): ... here. Simplify implementation.
3845 Set "remote-shell" property also for alternative shells.
3846 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3847 If failing, a regular file would be written otherwise.
3848 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
3849 (tramp-find-inline-encoding): Cache the coding commands in the
3850 process cache. Apply test command on the remote side, if defined.
3851 (tramp-find-inline-compress): Cache the compress commands in the
3852 process cache.
3853 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3854 when requested. Handle hops.
3855 (tramp-current-connection): New defvar.
87e6e64f
DA
3856 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3857 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 3858 Handle user interrupt. (Bug#10187)
87e6e64f
DA
3859 (tramp-get-inline-compress, tramp-get-inline-coding):
3860 Read connection properties from the process cache.
2fe4b125
MA
3861
3862 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
3863 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3864 New defconsts.
2fe4b125
MA
3865 (tramp-smb-prompt): Extend for powershell prompt.
3866 (tramp-smb-file-name-handler-alist): Add handlers for
3867 `process-file', `shell-command' and `start-file-process'.
3868 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3869 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3870 (tramp-smb-file-name-p): Simplify.
3871 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3872 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3873 (tramp-smb-shell-quote-argument): New defuns.
3874 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3875 Implement using "tar". By this, time-stamps are preserved.
3876 (tramp-smb-handle-copy-file): Handle also the case of directories.
3877 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
3878 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3879 Use `tramp-get-connection-buffer').
2fe4b125
MA
3880 (tramp-smb-handle-rename-file): Use "rename", when source and
3881 target are on the same share.
87e6e64f
DA
3882 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3883 Use `tramp-smb-server-version'.
2fe4b125
MA
3884 (tramp-smb-wait-for-output): Remove prompt.
3885
3886 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
3887 (tramp-methods, tramp-rsh-end-of-line):
3888 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
3889 (tramp-save-ad-hoc-proxies): New defcustom.
3890 (tramp-completion-function-alist): Adapt docstring.
3891 (tramp-default-password-end-of-line): Remove defcustom.
3892 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3893 (tramp-user-regexp, tramp-file-name-regexp-unified)
3894 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3895 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3896 (tramp-remote-file-name-spec-regexp): New defconst.
3897 (tramp-file-name-structure): Extend structure for hops.
3898 (tramp-get-method-parameter): Move up.
3899 (tramp-file-name-p, tramp-dissect-file-name)
3900 (with-parsed-tramp-file-name): Handle hops.
3901 (tramp-file-name-hop): New defun.
3902 (tramp-make-tramp-file-name): New optional arg HOP.
3903 (tramp-message-show-progress-reporter-message): New defvar.
3904 (tramp-with-progress-reporter): Use it. We cannot use
3905 `tramp-message-show-message' here, because this suppresses also
3906 error buffers.
3907 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
3908 `tramp-message-show-message' is nil.
3909 Use `tramp-get-connection-buffer'.
2fe4b125
MA
3910 (tramp-cleanup): New defun.
3911 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3912 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3913 an error unchanged.
3914 (tramp-completion-handle-file-name-all-completions): Handle hops.
3915 Fix an error when called from ido.
3916 (tramp-completion-dissect-file-name): Use better local variable
3917 name. Add hop to the vector.
3918 (tramp-handle-insert-file-contents): Use progress-reporter for the
3919 whole scenario.
3920 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3921 to `t'.
3922 (tramp-check-for-regexp): Simplify search.
3923 (tramp-enter-password): Remove it. Move implementation ...
3924 (tramp-action-password): ... here.
3925 (tramp-mode-string-to-int, tramp-local-host-p)
3926 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
3927 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3928 Set tramp-autoload cookie.
2fe4b125
MA
3929
3930 * net/trampver.el: Update release number.
3931
39322012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3933 Michael Albinus <michael.albinus@gmx.de>
3934
3935 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3936 (tramp-parse-group, tramp-parse-file)
3937 (tramp-parse-shostkeys-sknownhosts): New defuns.
3938 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3939 (tramp-parse-shosts-group, tramp-parse-sconfig)
3940 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3941 (tramp-parse-sknownhosts, tramp-parse-hosts)
3942 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3943 Use them.
3944 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3945 (tramp-parse-putty-group): Don't narrow.
3946 (tramp-parse-putty): Make a loop.
3947 (tramp-file-name-handler): Catch the `suppress' signal.
3948
72834e10
CY
39492012-06-11 Chong Yidong <cyd@gnu.org>
3950
3951 * image.el (imagemagick-register-types): Put the ImageMagick entry
3952 at the end of image-type-file-name-regexps.
3953
a4712e11
JB
39542012-06-11 Johan Bockgård <bojohan@gnu.org>
3955
3956 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3957 (pcase, pcase-let*, pcase-dolist): Use them.
3958
82ad98e3
SM
39592012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * emacs-lisp/pcase.el (pcase--let*): New function.
3962 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3963 (pcase--expand): Use macroexp-let².
3964
f80efb86
SM
39652012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3968 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3969 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3970 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3971 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3972 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3973
31ca4639 39742012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 3975
31ca4639
CY
3976 * mail/rmail.el (rmail-yank-current-message): Leave point at
3977 correct position. (Bug#11660)
94f0aa34 3978
31ca4639 39792012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 3980
31ca4639 3981 * allout-widgets.el: Fix code header.
9e1b8ec4 3982
31ca4639 39832012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 3984
f80efb86
SM
3985 * cus-edit.el (customize-changed-options-previous-release):
3986 Bump to 24.1.
31ca4639 3987
642b6d30
AS
39882012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3989
3990 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3991
4f5d2ba1
CY
39922012-06-09 Chong Yidong <cyd@gnu.org>
3993
3994 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3995
e75852fd
MR
39962012-06-09 Martin Rudalics <rudalics@gmx.at>
3997
3998 * window.el (special-display-popup-frame): Don't use
3999 window--display-buffer (Bug#11651).
4000
1e48e282
EZ
40012012-06-09 Eli Zaretskii <eliz@gnu.org>
4002
8a26b487
EZ
4003 Fix parallel builds: make sure loaddefs.el is not being written
4004 while Lisp files are compiled.
4005 (compile): Don't depend on 'mh-autoloads'.
4006 (compile-CMD, compile-SH): Depend on 'autoloads'.
4007 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4008
1e48e282
EZ
4009 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4010
6175e34b
CY
40112012-06-09 Chong Yidong <cyd@gnu.org>
4012
4013 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4014 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4015 Doc fixes (Bug#11225).
4016
d9857e53
SM
40172012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4020 a function if there's a clear indication that it has a compiler-macro.
4021 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4022 (macro-declarations-alist): Add arglist to declaration functions.
4023 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4024 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4025 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4026 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4027 Also add autoload to find the compiler macro.
4028 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4029 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4030 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4031 (cl--compiler-macro-get): New functions, replacing calls to
4032 cl-define-compiler-macro.
4033 (cl-typep) [compiler-macro]: Use macroexp-let².
4034
f81298f8 40352012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4036
4037 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4038 string properly, fixes Bug#11473.
4039
4b56d0fe
CY
40402012-06-08 Chong Yidong <cyd@gnu.org>
4041
4042 * faces.el (set-face-attribute): Doc fix.
4043 (modify-face): Don't use :bold and :italic.
4044 (error, warning, success): Tweak definitions.
4045
4046 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4047 (custom-modified, custom-set, custom-changed, custom-themed)
4048 (custom-saved, custom-button, custom-button-mouse)
4049 (custom-button-pressed, custom-state, custom-comment-tag)
4050 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4051 (custom-group-subtitle): Use new-style face specs.
4052 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4053 (custom-set-face, custom-changed-face, custom-saved-face)
4054 (custom-button-face, custom-button-pressed-face)
4055 (custom-documentation-face, custom-state-face)
4056 (custom-comment-face, custom-comment-tag-face)
4057 (custom-variable-tag-face, custom-variable-button-face)
4058 (custom-face-tag-face, custom-group-tag-face-1)
4059 (custom-group-tag-face): Remove obsolete face alias.
4060
4061 * epa.el (epa-validity-high, epa-validity-medium)
4062 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4063 (epa-field-name, epa-field-body):
4064 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4065 (font-lock-keyword-face, font-lock-builtin-face)
4066 (font-lock-function-name-face, font-lock-variable-name-face)
4067 (font-lock-type-face, font-lock-constant-face):
4068 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4069 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4070 * speedbar.el (speedbar-button-face, speedbar-file-face)
4071 (speedbar-directory-face, speedbar-tag-face)
4072 (speedbar-selected-face, speedbar-highlight-face)
4073 (speedbar-separator-face):
4074 * whitespace.el (whitespace-newline, whitespace-space)
4075 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4076 (whitespace-line, whitespace-space-before-tab)
4077 (whitespace-space-after-tab, whitespace-indentation)
4078 (whitespace-empty):
4079 * emulation/cua-base.el (cua-global-mark):
4080 * eshell/em-prompt.el (eshell-prompt):
4081 * net/newst-plainview.el (newsticker-new-item-face)
4082 (newsticker-old-item-face, newsticker-immortal-item-face)
4083 (newsticker-obsolete-item-face, newsticker-date-face)
4084 (newsticker-statistics-face, newsticker-default-face):
4085 * net/newst-reader.el (newsticker-feed-face)
4086 (newsticker-extra-face, newsticker-enclosure-face):
4087 * net/newst-treeview.el (newsticker-treeview-face)
4088 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4089 (newsticker-treeview-immortal-face)
4090 (newsticker-treeview-obsolete-face)
4091 (newsticker-treeview-selection-face):
4092 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4093 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4094 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4095 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4096 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4097 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4098 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4099 (mpuz-text):
4100 * progmodes/vera-mode.el (vera-font-lock-number)
4101 (vera-font-lock-function, vera-font-lock-interface):
4102 * textmodes/table.el (table-cell): Use new-style face specs, and
4103 don't use the old :bold and :italic attributes.
4104
4105 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4106 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4107 (ebrowse-member-class, ebrowse-progress): Likewise.
4108 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4109 (ebrowse-file-name-face, ebrowse-default-face)
4110 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4111 (ebrowse-progress-face): Remove obsolete faces.
4112
4113 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4114 Inherit from error and warning faces respectively.
4115
4116 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4117 Likewise.
f80efb86
SM
4118 (flyspell-incorrect-face, flyspell-duplicate-face):
4119 Remove obsolete aliases.
4b56d0fe 4120
03310646
MA
41212012-06-08 Michael Albinus <michael.albinus@gmx.de>
4122
4123 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4124 Avoid infloop.
4125
513749ee
SM
41262012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4127
4128 * startup.el (argv, argi): Make lexically scoped.
4129 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4130 * emacs-lisp/cl-macs.el: Use lexical-binding.
4131 Rename cl-bind-* to cl--bind-*.
4132 * files.el: Don't require `cl' since it doesn't use it.
4133 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4134
595ef4ad
JB
41352012-06-08 Juanma Barranquero <lekktu@gmail.com>
4136
4137 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4138 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4139 instead of calling external sort utility.
4140 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4141
e9f66fcb
EZ
41422012-06-08 Eli Zaretskii <eliz@gnu.org>
4143
4144 * descr-text.el (describe-char): Mention how to insert the
4145 character, if the current input method doesn't support it.
4146 See the discussion in this thread for the details:
4147 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4148
3d10db47
SS
41492012-06-08 Sam Steingold <sds@gnu.org>
4150
4151 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4152 XF86Back to previous-buffer.
4153 (minibuffer-local-map): Bind them to next-history-element and
4154 previous-history-element respectively.
4155 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4156 help-go-back respectively.
4157 * info.el (Info-mode-map): Bind them to Info-history-forward and
4158 Info-history-back respectively.
4159 These are the keys next to Up on the ThinkPad keyboard.
4160
de7e2b36
SM
41612012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4163 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4164 * emacs-lisp/cl-macs.el: Provide itself.
4165 (cl--labels-convert-cache): New var.
4166 (cl--labels-convert): New function.
4167 (cl-flet, cl-labels): New implementation with new semantics, relying on
4168 lexical-binding.
4169 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4170 (cl-closure-vars, cl--function-convert-cache)
4171 (cl--function-convert): Move from cl-macs.el.
4172 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4173 rename by removing the "cl-" prefix.
4174 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4175
6fa6c4ae
SM
41762012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4177
4178 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4179 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4180 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4181 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4182 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4183 (cl-hash-table-count): Add old compatibility aliases.
4184
4185 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4186 Use macroexpand-all-environment instead.
4187 (cl--old-macroexpand): New var.
4188 (cl--sm-macroexpand): New function.
4189 (cl-symbol-macrolet): Use it during macro expansion.
4190 (cl--function-convert-cache): New var.
4191 (cl--function-convert): New function, extracted from
4192 cl-macroexpand-all.
4193 (cl-lexical-let): Use it.
4194
4195 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4196 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4197 (cl-member): Remove old alias.
4198
4199 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4200 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4201 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4202 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4203 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4204 (cl-macroexpand-cmacs): Remove var.
4205 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4206 Use macroexpand-all instead.
4207
4dd1c416
SM
42082012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4211 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4212 (macroexp-copyable-p): New functions and macros.
4213 * emacs-lisp/edebug.el (edebug-unwrap):
4214 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4215 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4216 (pcase--let*): Remove.
4217 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4218 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4219 macroexp-const-p instead.
4220 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4221
4222 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4223 instead of "cl-" for internal definitions. Use macroexp-const-p.
4224 (cl-old-bc-file-form): Remove var.
4225 (cl-const-exprs-p): Remove fun.
4226 (cl-labels, cl-macrolet): Use backquote.
4227 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4228 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4229 (cl-define-setf-expander): Rename from cl-define-setf-method.
4230 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4231
4232 * international/mule-cmds.el: Don't require CL.
4233 (view-hello-file): Don't use `letf'.
4234
ed8bd4d7
SM
42352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4236
7287f2f3
SM
4237 * tmm.el (tmm-prompt): Use string-prefix-p.
4238 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4239 (tmm-add-prompt): Use minibuffer-completion-help.
4240 (tmm-delete-map): Remove.
4241
ed8bd4d7
SM
4242 * subr.el (kbd): Make it its own function.
4243
7b4cdbf4
SM
42442012-06-07 Stefan Merten <smerten@oekonux.de>
4245
4246 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4247 Silence compiler warnings. Fix versions.
ed8bd4d7 4248 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4249 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4250 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4251 (rst-package-emacs-version-alist): Correct Emacs version to
4252 represent major merge with upstream.
ed8bd4d7 4253 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4254
2b48d721
GM
42552012-06-06 Glenn Morris <rgm@gnu.org>
4256
4257 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4258 Only print environment variables if set.
4259
fa779ab0
SM
42602012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4263 (macroexp--cons): Rename from maybe-cons.
4264 (macroexp--accumulate): Rename from macroexp-accumulate.
4265 (macroexp--all-forms): Rename from macroexpand-all-forms.
4266 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4267 (macroexp--expand-all): Rename from macroexpand-all-1.
4268
628299e0
SS
42692012-06-06 Sam Steingold <sds@gnu.org>
4270
4271 * calendar/calendar.el (calendar-in-read-only-buffer):
4272 Call `special-mode' to enable the standard read-only keybindings.
4273
b7bb5838
SM
42742012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4275
4276 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4277 with "loading" messages (bug#11635).
4278
dfb308ba
MA
42792012-06-06 Michael Albinus <michael.albinus@gmx.de>
4280
4281 * files.el (enable-remote-dir-locals): New option.
4282 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4283
0372ee92
MA
4284 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4285 Ensure, that the temp directory is local.
4286
4287 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4288 `temporary-file-directory'.
4289
eed0bb91
MA
4290 * progmodes/python.el (python-send-region): Ensure, that the
4291 temporary file is created also in the remote case.
4292
7a58f64d
GM
42932012-06-06 Glenn Morris <rgm@gnu.org>
4294
f7dd4e98
GM
4295 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4296 (vc-rcs-update-changelog): Use it.
4297
090bd7cb 4298 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4299
7a58f64d
GM
4300 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4301 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4302 (vc-sccs-diff): Replace use of the external vcdiff script.
4303
daed4003
GM
43042012-06-05 Glenn Morris <rgm@gnu.org>
4305
4306 * ledit.el: Move to obsolete/.
4307
48c455c7
SS
43082012-06-05 Sam Steingold <sds@gnu.org>
4309
ed9265fc 4310 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4311 patch (Bug#11140).
4312
57a7d507
SM
43132012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4314
090bd7cb 4315 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4316
53aacf21
SM
4317 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4318 compiler-macro expansion.
4319
57a7d507
SM
4320 Add native compiler-macro support.
4321 * emacs-lisp/macroexp.el (macroexpand-all-1):
4322 Support compiler-macros directly. Properly follow aliases and apply
4323 the compiler macros more thoroughly.
4324 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4325 macroexpand now properly follows aliases.
4326 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4327 (cl-compiler-macroexpand): Use new prop.
4328 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4329
4330 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4331
51a5f9d8
MR
43322012-06-05 Martin Rudalics <rudalics@gmx.at>
4333
4334 * window.el (get-lru-window, get-mru-window, get-largest-window):
4335 New argument NOT-SELECTED to avoid picking the selected window.
4336 (window--display-buffer-1, window--display-buffer-2): Replace by
4337 new function window--display-buffer
4338 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4339 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4340 Use window--display-buffer.
51a5f9d8
MR
4341 (display-buffer-use-some-window): Remove temporary dedication
4342 hack by calling get-lru-window and get-largest-window with
4343 NOT-SELECTED argument non-nil. Call window--display-buffer.
4344
08f9f738
GM
43452012-06-05 Glenn Morris <rgm@gnu.org>
4346
4347 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4348 Replace external vcdiff script.
4349
e364a2b7
SM
43502012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4353
041df390
CY
43542012-06-04 Chong Yidong <cyd@gnu.org>
4355
e364a2b7
SM
4356 * image.el (imagemagick-types-inhibit): Revert last change.
4357 Add INFO and M.
47b36b94 4358 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4359
7c1898a7
SM
43602012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * emacs-lisp/cl-lib.el: Rename from cl.el.
4363 * emacs-lisp/cl.el: New compatibility file.
4364 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4365 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4366 to obey the "cl-" prefix.
4367 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4368
0c3461de
GM
43692012-06-03 Glenn Morris <rgm@gnu.org>
4370
1e266c88
GM
4371 * emacs-lisp/authors.el (authors-aliases): Addition.
4372
0c3461de
GM
4373 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4374 Fix :version.
4375
d8a52e15
SM
43762012-06-03 Stefan Merten <smerten@oekonux.de>
4377
4378 * textmodes/rst.el: Add comments.
4379 (rst-transition, rst-adornment): New faces.
4380 (rst-adornment-faces-alist): Make default safe to reevaluate.
4381 Fixes
4382 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4383 Improve customization tags.
4384 (rst-define-level-faces): Clarify meaning.
4385
5205d6f6
CY
43862012-06-03 Chong Yidong <cyd@gnu.org>
4387
4388 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4389 (compilation-mode-line-run, compilation-mode-line-exit):
4390 New faces.
5205d6f6
CY
4391 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4392
757ee657
JD
43932012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4394
7c1898a7
SM
4395 * progmodes/which-func.el (which-func-update-ediff-windows):
4396 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4397
5f2c76c6
CY
43982012-06-03 Chong Yidong <cyd@gnu.org>
4399
4400 * bindings.el: Remove explicit help text from format-mode-line.
4401 It is now supplied by mode-line-default-help-echo.
4402 (mode-line-front-space, mode-line-end-spaces)
4403 (mode-line-misc-info): New variables.
4404 (mode-line-modes, mode-line-position): Move the default value to
4405 the variable definition.
4406 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4407 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4408 (mode-line-modified-help-echo): New functions.
4409 (mode-line-mule-info, mode-line-modified): Use them.
4410 (mode-line-eol-desc, propertized-buffer-identification):
4411 Consistency fixes for help text.
cbe46e5f
CY
4412 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4413 set-buffer-file-coding-system (Bug#289).
4414 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4415
f2d6a3df
SM
44162012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * simple.el (execute-extended-command): Set real-this-command
4419 (bug#11506).
4420
37269466
CY
44212012-06-02 Chong Yidong <cyd@gnu.org>
4422
4423 Remove incorrect uses of "modeline" in comments, docstrings, and
4424 function/variable names (Bug#10329).
4425
4426 * cus-edit.el (mode-line):
4427 * dframe.el (dframe-mouse-hscroll):
4428 * emacs-lisp/re-builder.el:
4429 * emacs-lisp/easy-mmode.el (define-minor-mode):
4430 * frame.el (set-frame-name):
4431 * help.el (lookup-minor-mode-from-indicator):
4432 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4433 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4434 (c-toggle-hungry-state):
4435 * progmodes/antlr-mode.el (antlr-language-alist):
4436 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4437 * progmodes/vhdl-mode.el (vhdl-mode):
4438 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4439 * term/ns-win.el (ns-face-at-pos):
4440 * term/sup-mouse.el (sup-mouse-report):
4441 * textmodes/flyspell.el (flyspell-mode-line-string):
4442 * textmodes/ispell.el (ispell-highlight-face):
4443 * textmodes/reftex-global.el:
4444 * vc/vc-arch.el (vc-arch-mode-line-string):
4445 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4446 * vc/vc-git.el (vc-git-mode-line-string):
4447 * vc/vc-hooks.el (vc-display-status)
4448 (vc-default-mode-line-string):
4449 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4450
4451 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4452
4453 * dired.el (dired-sort-set-mode-line): Rename from
4454 dired-sort-set-modeline. All callers changed.
4455
4456 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4457 eshell-status-in-modeline.
4458
4459 * foldout.el (foldout-mode-line-string): Rename from
4460 foldout-modeline-string. All callers changed.
4461 (foldout-update-mode-line): Rename from foldout-update-modeline.
4462
4463 * subr.el (redraw-modeline): Make into obsolete alias.
4464
4465 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4466 timeclock-modeline-display. Make old name an alias.
4467 (timeclock-update-mode-line): Likewise. All callers changed.
4468 (timeclock-mode-line-display): No need to check before using
4469 add-hook.
4470 (timeclock-relative, timeclock-day-over-hook)
4471 (timeclock-use-elapsed, timeclock-mode-string)
4472 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4473
4474 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4475 crisp-mode-modeline-string.
4476
4477 * play/solitaire.el (solitaire-build-mode-line): Rename from
4478 solitaire-build-modeline. All callers changed.
4479
4480 * play/zone.el (zone-hiding-mode-line): Rename from
4481 zone-hiding-modeline. All callers changed.
4482 (zone): Remove unusued `modeline-hidden-level' property.
4483
4484 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4485 xscheme-modeline-initialize. All callers changed.
4486
4487 * strokes.el (strokes-lighter): Rename from
4488 strokes-modeline-string.
4489
4490 * textmodes/sgml-mode.el (html-face-tag-alist)
4491 (html-tag-face-alist): Use mode-line face instead of obsolete
4492 alias modeline.
4493
42152ee4
SM
44942012-06-02 Stefan Merten <smerten@oekonux.de>
4495
4496 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4497 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4498
95f520b5
CY
44992012-06-02 Chong Yidong <cyd@gnu.org>
4500
4501 * image.el (imagemagick-enabled-types): Rename from
4502 imagemagick-types-enable. Add many more types.
4503 (imagemagick-types-inhibit): Change default to nil.
4504 (imagemagick-filter-types): Caller changed.
4505
4a5f187a
SM
45062012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4507
03fef3e6
SM
4508 * emacs-lisp/cl-macs.el: Use backquotes.
4509 (cl-transform-function-property): Use eval-and-compile rather than
4510 abusing `require'.
4511 (defstruct): Use declare-function instead of with-no-warnings.
4512
4a5f187a
SM
4513 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4514 (byte-compile-output-docform): Re-add the print-circle bindings.
4515 (byte-compile-fix-header): Use #$ just because it's shorter.
4516 (byte-compile-output-file-form): Remove defun/defmacro.
4517
bd56924f
MR
45182012-06-01 Martin Rudalics <rudalics@gmx.at>
4519
4520 * simple.el (choose-completion): Remove now obsolete binding for
4521 owindow.
4522
046e38ce
MA
45232012-06-01 Michael Albinus <michael.albinus@gmx.de>
4524
4525 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4526 in order to avoid "Stack overflow in regexp matcher".
4527
32d72c2f
GM
45282012-05-31 Glenn Morris <rgm@gnu.org>
4529
4530 * image.el: For clarity, call imagemagick-register-types at
4531 top-level, rather than relying on a custom :initialize.
4532 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4533 (imagemagick-filter-types): New function. (Bug#7406)
4534 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4535 If disabling support, remove elements altogether rather
4536 than using an impossible regexp.
4537 (imagemagick-types-inhibit): Give it the default init function.
4538
dd41169b
SM
45392012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4a5f187a
SM
4541 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4542 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4543
efc00ab1 45442012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4545
4546 * desktop.el (desktop-read): Clear previous and next buffers for
4547 all windows and bury *Messages* buffer (bug#11556).
4548
500fcedc
SM
45492012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 Add `declare' for `defun'. Align `defmacro's with it.
4552 * emacs-lisp/easy-mmode.el (define-minor-mode)
4553 (define-globalized-minor-mode): Don't autoload the var definitions.
4554 * emacs-lisp/byte-run.el: Use lexical-binding.
4555 (defun-declarations-alist, macro-declarations-alist): New vars.
4556 (defmacro, defun): Use them.
4557 (make-obsolete, define-obsolete-function-alias)
4558 (make-obsolete-variable, define-obsolete-variable-alias):
4559 Use `declare'.
4560 (macro-declaration-function): Mark obsolete.
4561 * emacs-lisp/autoload.el: Use lexical-binding.
4562 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4563
6e8a1786
AM
45642012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4565
4566 * textmodes/ispell.el (ispell-with-no-warnings):
4567 Define as a macro.
500fcedc
SM
4568 (ispell-kill-ispell, ispell-change-dictionary):
4569 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4570 `interactive-p'.
4571
61b108cc
SM
45722012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4575 (macro-declaration-function): Move var from C code.
4576 (macro-declaration-function): Define function with defalias.
4577 * emacs-lisp/macroexp.el (macroexpand-all-1):
4578 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4579 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4580 defun/defmacro any more.
4581 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4582 Provide fallback for unknown arglist.
4583 (byte-compile-arglist-warn): Change calling convention.
4584 (byte-compile-output-file-form): Move print-vars binding.
4585 (byte-compile-output-docform): Simplify accordingly.
4586 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4587 (byte-compile-defmacro-declaration): Remove.
4588 (byte-compile-file-form-defmumble): Generalize to defalias.
4589 (byte-compile-output-as-comment): Return byte-positions.
4590 Simplify callers accordingly.
4591 (byte-compile-lambda): Use `assert'.
4592 (byte-compile-defun, byte-compile-defmacro): Remove.
4593 (byte-compile-file-form-defalias):
4594 Use byte-compile-file-form-defmumble.
4595 (byte-compile-defalias-warn): Remove.
4596
6d3f7c2f
SM
45972012-05-29 Stefan Merten <smerten@oekonux.de>
4598
4599 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4600 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4601
4602 (rst-mode-abbrev-table): Merge definition.
4603 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4604 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4605
6dbaa1c7
UJ
46062012-05-29 Ulf Jasper <ulf.jasper@web.de>
4607
4608 * calendar/icalendar.el
4609 (icalendar-export-region): Export UID properly.
4610
d209e2fb 46112012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4612 * calendar/icalendar.el (icalendar-import-format):
4613 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4614 (icalendar-import-format-uid): New.
4615 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4616 Export UID.
4617
6876a58d
SM
46182012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4621 different alternative patterns.
4622 (pcase-codegen): Be more careful to preserve identity.
4623 (pcase--u1): Don't forget to mark vars as used.
4624
4625 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4626 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4627 (byte-compile-from-buffer): ...rather than here.
4628
4629 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4630 functions from byte-compile-function-environment.
4631
46b7967e
TN
46322012-05-29 Troels Nielsen <bn.troels@gmail.com>
4633
4634 * window.el (window-deletable-p): Avoid deleting the root window
4635 of a frame with an active minibuffer.
4636
69d565e2
MR
46372012-05-29 Martin Rudalics <rudalics@gmx.at>
4638
4639 * simple.el (choose-completion): Use quit-window (Bug#11567).
4640
a149fa51
CY
46412012-05-29 Chong Yidong <cyd@gnu.org>
4642
4643 * whitespace.el (whitespace-cleanup): Fix usage of
4644 whitespace-empty-at-bob-regexp (Bug#11492).
4645
2b311310
AH
46462012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4647
4648 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4649 revert (Bug#11488).
4650
b9cb2387
JL
46512012-05-29 Juri Linkov <juri@jurta.org>
4652
4653 * isearch.el (isearch-mode-map): Bind `M-s _' to
4654 `isearch-toggle-symbol'. Bind `M-s c' to
4655 `isearch-toggle-case-fold'.
4656 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4657 (isearch-forward): Add `M-s _' to the docstring.
4658 (isearch-forward-symbol, isearch-toggle-case-fold)
4659 (isearch-symbol-regexp): New functions. (Bug#11381)
4660
d5e61c1c
JL
46612012-05-29 Juri Linkov <juri@jurta.org>
4662
4663 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4664 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4665 a function, call it to get the regexp.
4666 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4667 property `isearch-message-prefix' instead of the string "word ".
4668 (isearch-search-fun-default): For the case of `isearch-word',
4669 return a lambda that calls re-search-forward/re-search-backward
4670 with a regexp returned by `word-search-regexp' or by the function
4671 in `isearch-word'.
4672
8cbd80f7
JL
46732012-05-29 Juri Linkov <juri@jurta.org>
4674
4675 * isearch.el (isearch-search-fun-default): New function.
4676 (isearch-search-fun): Move default part to the new function
4677 `isearch-search-fun-default'.
4678 (isearch-search-fun-function): Set the default value to
4679 `isearch-search-fun-default'. (Bug#11381)
4680
4681 * comint.el (comint-history-isearch-end):
4682 Use `isearch-search-fun-default'.
4683 (comint-history-isearch-search): Use `isearch-search-fun-default'
4684 and remove spacial case for `isearch-word'.
4685 (comint-history-isearch-wrap): Remove spacial case for
4686 `isearch-word'.
4687
4688 * hexl.el (hexl-isearch-search-function):
4689 Use `isearch-search-fun-default'.
4690
4691 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4692 Use `word-search-regexp' for `isearch-word'.
4693
4694 * misearch.el (multi-isearch-search-fun):
4695 Use `isearch-search-fun-default'.
4696
4697 * simple.el (minibuffer-history-isearch-search):
4698 Use `isearch-search-fun-default' and remove spacial case for
4699 `isearch-word'.
4700 (minibuffer-history-isearch-wrap): Remove spacial case for
4701 `isearch-word'.
4702
4703 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4704 Remove spacial case for `isearch-word'.
4705 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4706
85c8c5b6
AM
47072012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4708
4709 Decrease XEmacs incompatibilities.
4710 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4711 Use `string-match'.
4712 (flyspell-delete-region-overlays): Use alternative definition for
4713 XEmacs.
4714 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4715 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4716 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4717 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4718 `define-obsolete-face-alias' under XEmacs, but old method.
4719
4720 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4721 `with-no-warnings' definition or Emacs alias.
4722 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4723 (ispell-word): Do not use `region-p' if XEmacs.
4724
8cab9efc
AM
47252012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4726
4727 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4728 Check for `ispell-dictionary-base-alist' instead of full
4729 `ispell-dictionary-alist'.
4730 (ispell-init-process): Show spellchecker when starting new Ispell
4731 process.
4732
fda91268
RZ
47332012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4736 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4737
694ea8e3
JB
47382012-05-27 Juanma Barranquero <lekktu@gmail.com>
4739
4740 * version.el (motif-version-string, gtk-version-string)
4741 (ns-version-string): Declare.
4742
e4d4f539
JL
47432012-05-27 Juri Linkov <juri@jurta.org>
4744
4745 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4746 after the `eval-defun-1' specialcaseing
4747 like in `edebug-eval-defun' (bug#10181).
4748
4749 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4750 like in `eval-defun-1'.
4751
33017faf 47522012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4753
fda91268
RZ
4754 * mail/sendmail.el (mail-yank-region):
4755 Recognize rmail-yank-current-message in addition to insert-buffer.
4756 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4757 a *mail* buffer created through rmail-start-mail with sendmail as
4758 mail-user-agent.
4759
33017faf
GM
47602012-05-27 Chong Yidong <cyd@gnu.org>
4761
4762 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4763 Default to 256 (Bug#11267).
4764
4765 * help.el (describe-mode): Doc fix.
4766
04188bb9
GM
47672012-05-26 Glenn Morris <rgm@gnu.org>
4768
38264cc9
GM
4769 * w32-fns.el (w32-init-info): Remove.
4770 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4771
eb7afdad
GM
4772 * info.el (info-initialize): For self-contained NS builds, put the
4773 included info/ directory at the front. (Bug#2791)
4774
04188bb9
GM
4775 * paths.el (Info-default-directory-list): Make it a defcustom,
4776 mainly so that we can use custom-initialize-delay.
4777
a179e3f7
SM
47782012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4779
43416392
SM
4780 * subr.el (buffer-has-markers-at): Mark obsolete.
4781
a179e3f7 4782 * subr.el (lambda): Use declare.
43416392 4783
a179e3f7
SM
4784 * emacs-lisp/lisp-mode.el (lambda):
4785 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4786
34a008d9
AH
47872012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4788
4789 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4790
0a3b289f
GM
47912012-05-26 Glenn Morris <rgm@gnu.org>
4792
4793 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4794
758c81e8
GM
47952012-05-25 Glenn Morris <rgm@gnu.org>
4796
f9f334f0
GM
4797 * paths.el: Remove no-byte-compile.
4798 * loadup.el: No need to load paths.el uncompiled.
4799
87eb79c2
GM
4800 * image.el (imagemagick-types-inhibit): Doc fix.
4801
758c81e8
GM
4802 * version.el: Remove no-byte-compile and associated formatting.
4803 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4804 is ancient code from when there was an "inc-vers.el".
4805
e7e85dc0
SM
48062012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * progmodes/gdb-mi.el: Minor style changes.
4809 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4810 Turn into minor modes.
4811 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4812 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4813 (gdb-shell): Remove unneeded let-binding.
4814 (gdb-get-many-fields): Eliminate O(n²) behavior.
4815
f31237a4
EZ
48162012-05-25 Eli Zaretskii <eliz@gnu.org>
4817
4818 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4819 platforms that don't link in fontset.c.
4820
bc1b21bb
JL
48212012-05-25 Juri Linkov <juri@jurta.org>
4822
4823 Use the same diff color scheme as in modern VCSes (bug#10181).
4824
4825 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4826 to avoid confusion with `diff-added' that now uses green colors.
4827 (diff-removed): Use shades of red.
4828 (diff-added): Use shades of green.
4829 (diff-changed): Leave just the yellow color.
4830 (diff-use-changed-face): New variable.
4831 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4832 how to highlight context diff changes.
4833 (diff-refine-change): Use shades of yellow.
4834 (diff-refine-removed): New face that uses shades of red.
4835 (diff-refine-added): New face that uses shades of green.
4836 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4837 `diff-refine-removed' in the call to `smerge-refine-subst'
4838 depending on the value of `diff-use-changed-face'.
4839
4840 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4841 (smerge-other): Use shades of green.
4842 (smerge-base): Use shades of yellow.
4843 (smerge-refined-change): Empty face.
4844 (smerge-refined-removed): New face that uses shades of red.
4845 (smerge-refined-added): New face that uses shades of green.
4846 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4847 args `props-r' and `props-a', and use them. Doc fix.
4848 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4849 on its value use different faces `smerge-refined-change',
4850 `smerge-refined-removed', `smerge-refined-added' in the call to
4851 `smerge-refine-subst'.
4852
4853 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4854 Add face condition `min-colors 88' with shades of red.
4855 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4856 `min-colors 88' with shades of green.
4857 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4858 `min-colors 88' with shades of yellow.
4859
6df9112c
GM
48602012-05-24 Glenn Morris <rgm@gnu.org>
4861
ead5edc0
GM
4862 * paths.el (prune-directory-list, remote-shell-program): Move to...
4863 * files.el (prune-directory-list, remote-shell-program): ...here.
4864 For the latter, delay initialization, prefer ssh, just search PATH.
4865
f18b81e6
GM
4866 * paths.el (term-file-prefix): Move to faces.el (the only user).
4867 * faces.el (term-file-prefix): Move here, make it a defcustom.
4868
ee2f89a6
GM
4869 * paths.el (news-directory, news-path, news-inews-program):
4870 Move to gnus/nnspool.el.
61a583ca 4871
f8815e4c
GM
4872 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4873
c8f3b42c
GM
4874 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4875 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4876 Make the latter a defcustom, with a delayed initialization.
4877
6df9112c
GM
4878 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4879 These were deleted from Gnus itself late 2010.
4880
5dadff36
JB
48812012-05-22 Juanma Barranquero <lekktu@gmail.com>
4882
9e1701c6
JB
4883 * progmodes/which-func.el (which-func-ff-hook):
4884 Check against user-error, not error.
4885
bd7239f5 4886 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
4887 cl-specs.el, which no longer exists.
4888
3290526d
GM
48892012-05-22 Glenn Morris <rgm@gnu.org>
4890
4891 * info.el (info-emacs-bug): New command.
4892 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4893 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4894
ff0c3cfb
GM
48952012-05-21 Glenn Morris <rgm@gnu.org>
4896
4897 * makefile.w32-in (update-subdirs-SH):
4898 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4899
5814f126
SM
49002012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4901
a52c0aa0
SM
4902 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4903
5814f126
SM
4904 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4905 Simplify Maven regexp, and make sure the file can't start with a space
4906 (bug#11517).
4907
b847032c
GM
49082012-05-21 Glenn Morris <rgm@gnu.org>
4909
4910 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4911 Scrap superfluous subshells.
4912
3858bfe7
SM
49132012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4916 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4917
d14b0029
JB
49182012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4919
4920 * calc/calc.el (calc-ensure-consistent-units): New variable.
4921
a52c0aa0
SM
4922 * calc/calc-units.el (math-consistent-units-p)
4923 (math-check-unit-consistency): New functions.
4924 (calc-quick-units, calc-convert-units):
4925 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4926 is non-nil.
d14b0029
JB
4927 (calc-extract-units): Fix typo.
4928
60c4db3a
SM
49292012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4930
77f3b62e
SM
4931 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4932
60c4db3a
SM
4933 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4934 (flyspell-default-deplacement-commands): Don't spell check after
4935 repeated window/frame switches (e.g. triggered by mouse-movement).
4936 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4937 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4938 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4939 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4940 Remove unused vars.
4941 (flyspell-get-casechars, flyspell-get-not-casechars):
4942 Simplify; Don't bother removing a ] just to add it back.
4943 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4944
d209e2fb 49452012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
4946
4947 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4948 New functions.
bd7239f5 4949 (math-function-table): Add support for more C functions.
b1a10716 4950
3f1b25b5
AM
49512012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4952
090bd7cb
JB
4953 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4954 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4955 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 4956
b581bb5c
SM
49572012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4960 their respective macro declarations.
4961 * skeleton.el (define-skeleton):
4962 * progmodes/compile.el (define-compilation-mode):
4963 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4964 (define-ibuffer-filter):
4965 * emacs-lisp/generic.el (define-generic-mode):
4966 * emacs-lisp/easy-mmode.el (define-minor-mode)
4967 (define-globalized-minor-mode):
4968 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4969 * emacs-lisp/byte-run.el (defsubst):
4970 * custom.el (deftheme): Add doc-string metadata.
4971
70b8ef8f
SM
49722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4973
4974 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4975
b1198e17
SM
49762012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4977
9abdc45d
SM
4978 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4979
b1198e17
SM
4980 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4981 * emacs-lisp/cl-macs.el: Idem.
4982 * emacs-lisp/cl-specs.el: Remove.
4983
4735906a
SM
49842012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 Minor renaming of internal CL functions and variables.
4987 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4988 (cl--position): Rename from cl-position.
4989 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4990 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4991 (cl--random-state): Rename from *random-state*.
4992
ac348012
SM
49932012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4996 parens around the arg list (bug#11499).
4997
a0a79cde
JL
49982012-05-17 Juri Linkov <juri@jurta.org>
4999
5000 * isearch.el (word-search-regexp, word-search-backward)
5001 (word-search-forward, word-search-backward-lax)
5002 (word-search-forward-lax): Move functions from search.c
5003 (bug#10145, bug#11381).
5004
65034a51
AM
50052012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5006
090bd7cb
JB
5007 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5008 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5009 Delay for otherchars as for normal word components.
65034a51 5010
1a72a195
SM
50112012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5012
5013 * minibuffer.el (completion--sifn-requote): Fix last change.
5014 (minibuffer-local-must-match-filename-map):
5015 Move define-obsolete-variable-alias before its var.
5016
fdb058c2
SM
50172012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5018
c41045e6
SM
5019 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5020
036dfb8b
SM
5021 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5022 behavior.
5023 (completion--string-equal-p): New function.
5024 (completion--twq-all): Use it to get better assertion failure data.
5025
2473256d
SM
5026 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5027 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5028 (shell--requote-argument): New functions.
5029 (shell-completion-vars): Use them.
5030 (shell--parse-pcomplete-arguments): Rename from
5031 shell-parse-pcomplete-arguments.
5032 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5033 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5034 Obey comint-file-name-quote-list.
5035
fdb058c2
SM
5036 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5037 (smie-indent-keyword): Use it.
5038
51fa99f1
SM
50392012-05-14 Stefan Merten <smerten@oekonux.de>
5040
5041 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5042
e18afed7 50432012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5044
5045 * net/rlogin.el (rlogin-mode-map): Fix last change.
5046
e18afed7 50472012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5048
5049 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5050 the following \r\n using a single `process-send-string', since the
5051 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5052 with two `process-send-string's (Bug#11444).
8633b1f4 5053
e18afed7 50542012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5055
fdb058c2
SM
5056 * shell.el (shell-parse-pcomplete-arguments):
5057 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5058
2d21d7f6
WJ
50592012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5060
e18afed7 5061 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5062 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5063 (image-transform-width, image-transform-fit-width): New functions.
5064 (image-transform-properties): Use them.
5065 (image-transform-check-size): New function.
5066 (image-toggle-display-image): Use it (for testing).
5067 (image-transform-set-rotation): Reduce angle mod 360.
5068 Delete obsolete comment.
5069
7102e6d0
WJ
50702012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5071
5072 * image-mode.el: Fix scaling (bug#11399).
5073 (image-transform-resize): Doc fix.
5074 (image-transform-properties): Default scale is 1 and height should
5075 be an integer.
5076
06bc5e6e
SM
50772012-05-13 Johan Bockgård <bojohan@gnu.org>
5078
5079 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5080 than hard-coding `car', to fix misbehavior when moving forward.
5081
0ae03b6a
CY
50822012-05-13 Chong Yidong <cyd@gnu.org>
5083
5084 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5085 (tabulated-list-entries, tabulated-list-padding)
5086 (tabulated-list-sort-key): Make permanent-local.
5087
5088 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5089 (electric-buffer-list): Put electric buffer menu
5090 command descriptions in this docstring, instead of the docstring
5091 of electric-buffer-menu-mode. Code cleanups.
5092 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5093 Electric-buffer-menu-mode.
5094 (electric-buffer-update-highlight): Minor code cleanup.
5095
205a7391
MA
50962012-05-13 Michael Albinus <michael.albinus@gmx.de>
5097
5098 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5099 (Bug#11447)
5100
e5bd0a28
SM
51012012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5102
5103 Move define-obsolete-variable-alias before the var's definition.
5104 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5105 * tooltip.el (tooltip-hook):
5106 * textmodes/reftex-toc.el (reftex-toc-map):
5107 * textmodes/reftex-sel.el (reftex-select-label-map)
5108 (reftex-select-bib-map):
5109 * textmodes/reftex-index.el (reftex-index-map)
5110 (reftex-index-phrases-map):
5111 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5112 * progmodes/meta-mode.el (meta-mode-map):
5113 * novice.el (disabled-command-hook):
5114 * loadhist.el (unload-hook-features-list):
5115 * frame.el (blink-cursor):
5116 * files.el (find-file-not-found-hooks, write-file-hooks)
5117 (write-contents-hooks):
5118 * emulation/tpu-edt.el (GOLD-map):
5119 * emacs-lock.el (emacs-lock-from-exiting):
5120 * emacs-lisp/generic.el (generic-font-lock-defaults):
5121 * emacs-lisp/chart.el (chart-map):
5122 * dos-fns.el (register-name-alist):
5123 * dired-x.el (dired-omit-files-p):
5124 * desktop.el (desktop-enable):
5125 * cus-edit.el (custom-mode-hook):
5126 * buff-menu.el (buffer-menu-mode-hook):
5127 * bookmark.el (bookmark-read-annotation-text-func)
5128 (bookmark-exit-hooks):
5129 * allout.el (allout-mode-deactivate-hook)
5130 (allout-exposure-change-hook, allout-structure-added-hook)
5131 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5132 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5133 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5134 comes before the corresponding variable's definition.
5135
ac59c2f6
CY
51362012-05-12 Chong Yidong <cyd@gnu.org>
5137
5138 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5139 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5140 (Buffer-menu-mode-map): Bind it.
5141 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5142
dee6c9a3
SM
51432012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5144
2171cea5
SM
5145 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5146 (prolog-upper-case-string, prolog-lower-case-string)
5147 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5148 (prolog-use-smie, prolog-smie-grammar): New vars.
5149 (prolog-smie-forward-token, prolog-smie-backward-token)
5150 (prolog-smie-rules): New funs.
5151 (prolog-comment-indent): Remove.
5152 (prolog-mode-variables): Use default comment indentation instead.
5153 Setup SMIE.
5154 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5155 (prolog-mode): Don't call them any more.
5156 (prolog-electric-colon, prolog-electric-dash)
5157 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5158
aa0382bd
SM
5159 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5160
dbacb4bd
SM
5161 * minibuffer.el (completion--twq-all): Again, allow case differences.
5162
13bdd94c
SM
5163 * term.el: Move keymap initialization code to be more idiomatic.
5164 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5165 (term-terminal-menu): Move initialization into declaration.
5166 (term-escape-char): Let the user set it in her .emacs.
5167
ff46c759
SM
5168 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5169 Provide SMIE-based indentation (not enabled by default yet).
5170 (sh-mode-map): Don't bind electric keys.
5171 Use electric-pair-mode instead of skeleton-pair.
5172 (sh-assignment-regexp): Fit within 80 columns.
5173 (sh-indent-supported): Specify actual shell name instead of boolean.
5174 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5175 (sh-maybe-here-document): Use it. Make obsolete.
5176 (sh-electric-here-document-mode) New minor mode.
5177 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5178 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5179 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5180 (sh-smie-rc-grammar, sh-use-smie): New vars.
5181 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5182 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5183 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5184 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5185 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5186 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5187 (sh-set-shell): Use smie-setup if requested.
5188
dee6c9a3
SM
5189 * term.el (term-set-escape-char): Properly set term-escape-char.
5190 See http://stackoverflow.com/questions/10524656.
5191
9f9aa044
CY
51922012-05-10 Chong Yidong <cyd@gnu.org>
5193
5194 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5195 Use url-generic-parse-url, and handle host names and Windows
5196 filenames properly.
5197 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5198 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5199 URL schemes to work on.
5200 (ffap--toggle-read-only): New function.
5201 (ffap-read-only, ffap-read-only-other-window)
5202 (ffap-read-only-other-frame): Use it.
5203 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5204 necessary for ffap-url-unwrap-remote.
5205
836d29b3
DA
52062012-05-10 Dave Abrahams <dave@boostpro.com>
5207
5208 * cus-start.el (create-lockfiles): Add it.
5209
00fd78ed
CY
52102012-05-09 Chong Yidong <cyd@gnu.org>
5211
5212 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5213 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5214
666b903b 52152012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5216
5217 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5218
666b903b 52192012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5220
5221 * ansi-color.el (ansi-color-process-output): Check for validity of
5222 comint-last-output-start before using it. This avoids a bad
5223 interaction with gdb-mi's input/output buffer.
5224
666b903b 52252012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5226
5227 * files.el (dir-locals-read-from-file):
5228 Mention dir-locals in any error message.
5229
666b903b 52302012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5231
5232 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5233 package (Bug#11410).
5234
f677562b
CY
5235 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5236 variables into description.
5237
666b903b 52382012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5239
5240 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5241 shell-delimiter-argument-list (bug#11348).
5242 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5243
b499d8d0
JB
52442012-05-09 Juanma Barranquero <lekktu@gmail.com>
5245
8f6b6da8
JB
5246 * textmodes/rst.el: Silence byte-compiler warnings.
5247 (rst-re-alist, rst-reset-section-caches): Move around.
5248 (rst-re): Use `characterp', not `char-valid-p'.
5249 (font-lock-beg, font-lock-end): Declare.
5250
4824146a
JB
5251 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5252 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5253
b499d8d0
JB
5254 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5255
ad89bb83
GM
52562012-05-08 Glenn Morris <rgm@gnu.org>
5257
5258 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5259
8bba5a75
SM
52602012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5261
49ed9c8e
SM
5262 * vc/log-edit.el: Add GNU coding standards highlighting.
5263 (log-edit-font-lock-gnu-style)
5264 (log-edit-font-lock-gnu-keywords): New vars.
5265 (log-edit-font-lock-keywords): New fun.
5266 (log-edit-mode): Don't fold case in font-lock.
5267 (log-edit-font-lock-keywords): Do not assume case-folding.
5268
07d00b56
SM
5269 * imenu.el: Misc cleanup. Make docstrings out of comments.
5270 Use lexical-binding.
5271 (imenu--index-alist, imenu--last-menubar-index-alist)
5272 (imenu-menubar-modified-tick): Use defvar-local.
5273 (imenu--split-menu): Remove unused var.
5274 (imenu--cleanup-seen): Declare as global.
5275 (imenu--cleanup): Use dolist.
5276
8bba5a75
SM
5277 * subr.el (defvar-local): Add debug spec and doc-string position.
5278
5075bdb5
GM
52792012-05-08 Glenn Morris <rgm@gnu.org>
5280
090bd7cb 5281 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5282 * language/english.el, language/georgian.el, language/greek.el:
5283 * language/japanese.el, language/khmer.el, language/korean.el:
5284 * language/lao.el, language/misc-lang.el, language/romanian.el:
5285 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5286 * language/thai.el, language/utf-8-lang.el:
5287 Remove no-byte-compile setting.
5288
5075bdb5
GM
5289 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5290
06f679a7
AH
52912012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5292
5293 * progmodes/make-mode.el (makefile-browse):
5294 Remove unnecessary interactive. (Bug#11324)
5295
03794570
GM
52962012-05-07 Glenn Morris <rgm@gnu.org>
5297
af8630f4
GM
5298 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5299
03794570
GM
5300 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5301
f0809a9d
SM
53022012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5303
28be5ce7
SM
5304 * loadup.el: Preload newcomment.el.
5305 * newcomment.el: Move autoload-only code to toplevel.
5306
f0809a9d
SM
5307 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5308 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5309 Handle new :right-align column property.
5310 (tabulated-list-print-col): Idem, plus use `display' text-property to
5311 try and preserve alignment for variable pitch fonts.
5312
1241b724
CY
53132012-05-07 Chong Yidong <cyd@gnu.org>
5314
5315 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5316 (tabulated-list-use-header-line): New var.
5317 (tabulated-list-init-header): Use it.
5318 (tabulated-list-print-fake-header): New function.
5319 (tabulated-list-print): Use it.
5320 (tabulated-list-sort-button-map): Add non-header-line commands.
5321 (tabulated-list-init-header): Add column name property to basic
5322 labels as well.
5323 (tabulated-list-col-sort): Handle non-header-line button case.
5324 (tabulated-list--sort-by-column-name): Fix a corner case.
5325
f0809a9d
SM
5326 * buff-menu.el (list-buffers--refresh):
5327 Handle Buffer-menu-use-header-line.
1241b724 5328
e5f9458f
CY
53292012-05-06 Chong Yidong <cyd@gnu.org>
5330
5331 * buff-menu.el: Convert to Tabulated List mode.
5332 (Buffer-menu-buffer+size-width): Make obsolete.
5333 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5334 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5335 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5336 documentation into docstring of buffer-menu.
5337 (Buffer-menu-toggle-files-only): Add an informative message.
5338 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5339 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5340 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5341 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5342 (Buffer-menu-execute, Buffer-menu-select)
5343 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5344 (Buffer-menu-bury): Use Tabulated List machinery.
5345 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5346 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5347 Delete.
e5f9458f
CY
5348 (list-buffers--refresh): New function.
5349 (list-buffers-noselect): Use it.
5350 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5351 (Buffer-menu--pretty-file-name): New helper functions.
5352
5353 * loadup.el: Preload tabulated-list.
5354
5355 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5356 tabulated-list-sort-column.
5357 (tabulated-list-init-header): Add the initial aligning space even
5358 if tabulated-list-padding is zero.
5359
e129292c
CS
53602012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5361
5362 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5363 whose cdr is not a cons cell correctly (bug#11038).
5364
6632d361
CY
53652012-05-06 Chong Yidong <cyd@gnu.org>
5366
e129292c
CS
5367 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5368 Accept additional plist in column descriptors.
6632d361
CY
5369 (tabulated-list-init-header): Obey it.
5370 (tabulated-list-get-entry): New function.
5371 (tabulated-list-put-tag): Use it. Use string-width instead of
5372 length.
5373 (tabulated-list--column-number): New function.
5374 (tabulated-list-print): Use it.
e129292c
CS
5375 (tabulated-list-print-col): New function.
5376 Set `tabulated-list-column-name' property on each column's text.
6632d361 5377 (tabulated-list-print-entry): Use it.
e129292c
CS
5378 (tabulated-list-delete-entry, tabulated-list-set-col):
5379 New functions.
6632d361
CY
5380 (tabulated-list-sort-column): New command (Bug#11337).
5381
3cc99f68
CY
5382 * buff-menu.el (list-buffers): Move C-x C-b binding from
5383 buff-menu.el to bindings.el.
5384
5385 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5386 :advertised-binding feature.
5387
52b61776
TN
53882012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5389
5390 * progmodes/compile.el (compilation-internal-error-properties):
5391 Calculate start position correctly when end-col is set but
5392 end-line is not (Bug#11382).
5393
ebfe2597
WJ
53942012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5395
5396 * man.el (Man-unindent): Use text-property-default-nonsticky to
5397 prevent untabify from inheriting face properties (Bug#11408).
5398
6d3f7c2f
SM
53992012-05-05 Stefan Merten <smerten@oekonux.de>
5400
5401 * textmodes/rst.el: Major merge with upstream development up to
5402 Docutils SVN r7399 / rst.el V1.2.1.
5403
5404 Clarify maintainership and authors.
5405
5406 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5407 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5408 (rst-official-version, rst-official-cvs-rev, rst-version)
5409 (rst-package-emacs-version-alist): New functions and variables
5410 for version information.
5411
5412 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5413 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5414 (rst-mode-syntax-table, rst-mode): New and corrected functions
5415 and variables representing reStructuredText features.
5416
5417 (rst-re): New function for reStructuredText regexes. Use in
5418 many places.
5419
5420 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5421 (rst-mode-map): Rebind keys.
5422
5423 (rst-mode-lazy, rst-font-lock-keywords)
5424 (rst-font-lock-extend-region)
5425 (rst-font-lock-extend-region-internal)
5426 (rst-font-lock-extend-region-extend)
5427 (rst-font-lock-find-unindented-line-limit)
5428 (rst-font-lock-find-unindented-line-match)
5429 (rst-adornment-level, rst-font-lock-adornment-level)
5430 (rst-font-lock-adornment-match)
5431 (rst-font-lock-handle-adornment-pre-match-form)
5432 (rst-font-lock-handle-adornment-matcher): Major revision of
5433 font-locking. Integrate with other code. Use `jit-lock-mode'.
5434
5435 (rst-preferred-adornments, rst-adjust-hook)
5436 (rst-new-adornment-down, rst-preferred-bullets)
5437 (rst-preferred-bullets, rst-indent, rst-indent-width)
5438 (rst-indent-field, rst-indent-literal-normal)
5439 (rst-indent-literal-minimized, rst-indent-comment): Change,
5440 extend and improve customization.
5441
5442 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5443 (rst-normalize-cursor-position, rst-get-decoration)
5444 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5445 (rst-rstrip, rst-toc-insert-find-delete-contents)
5446 (rst-shift-fill-region, rst-compute-bullet-tabs)
5447 (rst-debug-print-tabs, rst-debug-mark-found)
5448 (rst-shift-region-guts, rst-shift-region-right)
5449 (rst-shift-region-left, rst-use-char-classes)
5450 (rst-font-lock-keywords-function)
5451 (rst-font-lock-indentation-point)
5452 (rst-font-lock-find-unindented-line-begin)
5453 (rst-font-lock-find-unindented-line-end)
5454 (rst-font-lock-find-unindented-line)
5455 (rst-font-lock-adornment-point, rst-font-lock-level)
5456 (rst-adornment-level-alist): Remove functions and variables.
5457
5458 (rst-compare-adornments, rst-get-adornment-match)
5459 (rst-suggest-new-adornment, rst-get-adornments-around)
5460 (rst-adornment-complete-p, rst-get-next-adornment)
5461 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5462 (rst-straighten-adornments): Standardize function names to
5463 use "adornment" instead of "decoration". Correct callers.
5464 Similar standardizing in many places.
5465
5466 (rst-update-section, rst-adjust, rst-promote-region)
5467 (rst-enumerate-region, rst-bullet-list-region)
5468 (rst-repeat-last-character): Correct use of `interactive'.
5469
5470 (rst-classify-adornment, rst-find-all-adornments)
5471 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5472 (rst-find-leftmost-column, rst-repeat-last-character):
5473 Refactor functions.
5474
5475 (rst-find-title-line, rst-reset-section-caches)
5476 (rst-get-adornments-around, rst-adjust-adornment-work)
5477 (rst-arabic-to-roman, rst-roman-to-arabic)
5478 (rst-insert-list-pos, rst-insert-list-new-item)
5479 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5480 New functions.
5481
5482 (rst-all-sections, rst-section-hierarchy)
5483 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5484 New variables.
5485
5486 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5487 configuration instead of only buffer. Change where necessary.
5488
5489 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5490 (rst-shift-region, rst-adaptive-fill): New functions for
5491 indentation and filling.
5492
5493 (rst-comment-line-break, rst-comment-indent)
5494 (rst-comment-insert-comment, rst-comment-region)
5495 (rst-uncomment-region): New functions for handling comments.
5496
5497 (rst-compile): Quote shell arguments.
5498
5499 (rst-compile-pdf-preview, rst-compile-slides-preview):
5500 Delete temporary files after use.
5501
a43f98b3
GM
55022012-05-05 Glenn Morris <rgm@gnu.org>
5503
48176e8b
GM
5504 * calendar/cal-html.el: Optionally include holidays in the output.
5505 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5506 (cal-html-holidays): New option.
5507 (cal-html-css-default): Add holiday entry.
5508 (holiday-in-range): Autoload it.
5509 (cal-html-htmlify-entry): Add optional class argument.
5510 (cal-html-htmlify-list): Add optional holidays argument.
5511 (cal-html-insert-agenda-days): Include holidays in the output.
5512 (cal-html-one-month): Maybe include holidays.
5513
a43f98b3
GM
5514 * calendar/holidays.el (holiday-in-range):
5515 Move here from cal-tex-list-holidays.
5516 * calendar/cal-tex.el (cal-tex-list-holidays):
5517 Make it an obsolete alias for holiday-in-range. Update all callers.
5518
fef9d149 55192012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5520
5521 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5522 Nextstep.
5523
248da2f4
RW
55242012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5525
5526 * files.el (file-auto-mode-skip): New var.
5527 (set-auto-mode-1): Use it.
5528
f95e9344
SM
55292012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5530
df96ab1e
SM
5531 * repeat.el: Use lexical-binding.
5532 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5533 (repeat-undo-count): Remove.
5534 (repeat):
5535 * progmodes/octave-mod.el (octave-abbrev-start):
5536 * progmodes/f90.el (f90-abbrev-start):
5537 * face-remap.el (text-scale-adjust):
5538 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5539
5342bb06
SM
5540 * emacs-lisp/pcase.el (pcase--let*): New function.
5541 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5542 a bit more.
5543 (pcase--split-pred): Be more clever about ruling out overlap between
5544 a predicate and some constant pattern.
5545 (pcase--q1): Use `null' instead of (eq foo nil).
5546
f95e9344
SM
5547 * subr.el (setq-local, defvar-local): New macros.
5548 (kbd): Redefine as an alias.
5549 (with-selected-window): Leave unrelated frames alone.
5550 (set-temporary-overlay-map): New function.
5551
71873e2b
SM
55522012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * subr.el (user-error): New function.
5555 * window.el (switch-to-buffer):
5556 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5557 (smerge-match-conflict):
5558 * simple.el (previous-matching-history-element)
5559 (next-matching-history-element, goto-history-element, undo-more)
5560 (undo-start):
5561 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5562 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5563 (next-file, tags-loop-scan, list-tags, complete-tag):
5564 * progmodes/compile.el (compilation-loop):
5565 * mouse.el (mouse-minibuffer-check):
5566 * man.el (Man-bgproc-sentinel, Man-goto-page):
5567 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5568 (Info-history-forward, Info-follow-reference, Info-menu)
5569 (Info-extract-menu-item, Info-extract-menu-counting)
5570 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5571 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5572 (Info-next-reference, Info-prev-reference, Info-index)
5573 (Info-index-next, Info-follow-nearest-node)
5574 (Info-copy-current-node-name):
5575 * imenu.el (imenu--make-index-alist)
5576 (imenu-default-create-index-function, imenu-add-to-menubar):
5577 * files.el (basic-save-buffer, recover-file):
5578 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5579 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5580 (checkdoc-message-text, checkdoc-defun):
5581 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5582 * cus-edit.el (customize-changed-options, customize-rogue)
5583 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5584 (custom-variable-mark-to-reset-standard)
5585 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5586 (custom-file):
5587 * completion.el (check-completion-length):
5588 * comint.el (comint-search-arg)
5589 (comint-previous-matching-input-string-position)
5590 (comint-previous-matching-input)
5591 (comint-replace-by-expanded-history-before-point, comint-send-input)
5592 (comint-copy-old-input, comint-backward-matching-input)
5593 (comint-goto-process-mark, comint-set-process-mark):
5594 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5595 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5596
8a61ee22
SM
55972012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5598
66408d1e
SM
5599 * dabbrev.el (dabbrev--ignore-case-p): New function.
5600 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5601 Use it.
5602
8a61ee22
SM
5603 * files.el (automount-dir-prefix): Mark as obsolete.
5604
3c74813a
GM
56052012-05-04 Glenn Morris <rgm@gnu.org>
5606
5607 * patcomp.el, play/bruce.el: Move to obsolete/.
5608
0bfcf5c5
PE
56092012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5610
5611 Fix minor Y10k bugs.
5612 * arc-mode.el (archive-unixdate):
5613 * autoinsert.el (auto-insert-alist):
5614 * calc/calc-forms.el (math-this-year):
5615 * emacs-lisp/copyright.el (copyright-current-year)
5616 (copyright-update-year, copyright):
5617 * tar-mode.el (tar-clip-time-string):
5618 * time.el (display-time-update):
5619 Don't assume years have 4 digits.
5620
78f3273a
CY
56212012-05-04 Chong Yidong <cyd@gnu.org>
5622
5623 * dos-w32.el (file-name-buffer-file-type-alist)
5624 (direct-print-region-use-command-dot-com):
5625 * ffap.el (ffap-menu-regexp):
5626 * find-file.el (ff-special-constructs):
5627 * follow.el (follow-debug):
5628 * forms.el (forms--debug):
5629 * iswitchb.el (iswitchb-all-frames):
5630 * ido.el (ido-all-frames):
5631 * emacs-lisp/timer.el (timer-max-repeats):
5632 * mail/feedmail.el (feedmail-mail-send-hook)
5633 (feedmail-mail-send-hook-queued):
5634 * mail/footnote.el (footnote-signature-separator):
5635 * mail/mailabbrev.el (mail-alias-separator-string)
5636 (mail-abbrev-mode-regexp):
5637 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5638 * progmodes/idlwave.el (idlwave-libinfo-file)
5639 (idlwave-default-completion-case-is-down)
5640 (idlwave-library-routines): Convert defvars to defcustoms.
5641
5642 * mail/rmail.el (rmail-decode-mime-charset):
5643 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5644 (idlwave-shell-fix-inserted-breaks)
5645 (idlwave-shell-activate-alt-keybindings)
5646 (idlwave-shell-use-breakpoint-glyph):
5647 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5648
f7ae6719
SM
56492012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5652
47086495
WS
56532012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5654
5655 * progmodes/verilog-mode.el (font-lock-keywords):
5656 Fix mis-highligting auto. Reported by Craig Barner.
5657 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5658 defines from global name space. Reported by Dan Dever.
47086495
WS
5659 (verilog-auto-reset, verilog-auto-reset-widths)
5660 (verilog-auto-tieoff): Support using unbased numbers for
5661 AUTORESET and AUTOTIEOFF.
5662 (verilog-submit-bug-report): Update variable list.
5663 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5664 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5665 (verilog-auto-template-lint): Fix hash error when linting modules
5666 with no used templates.
5667 (verilog-warn, verilog-warn-error)
5668 (verilog-warn-fatal): When non-interactive report multiple
5669 warnings before exiting. Suggested by Brad Dobbie.
5670 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5671 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5672 to report unused template errors. Reported by Brad Dobbie.
5673 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5674 nets, bug438. Reported by Vns Blore.
47086495
WS
5675 (verilog-auto-inout-module, verilog-auto-reg)
5676 (verilog-read-decls, verilog-read-sub-decls-sig)
5677 (verilog-signals-edit-wire-reg, verilog-signals-with):
5678 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5679 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5680 "reg" for backwards compatibility presuming Verilog 2001.
5681 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5682 (verilog-preprocess): Fix replication of preprocess output.
5683 Reported by Brad Dobbie.
5684 (verilog-auto-inst-interfaced-ports):
5685 Create verilog-auto-inst-interfaced-ports, bug429.
5686 Reported by Julian Gorfajn.
5687 (verilog-after-save-font-hook)
5688 (verilog-before-save-font-hook): New variable.
5689 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5690 (verilog-save-font-mods): Wrap disabling fontification, reported
5691 by David Rogoff.
5692 (verilog-do-indent, verilog-pretty-declarations-auto)
5693 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5694 Reported by Pierre-David Pfister.
5695 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5696 of class declarations, bug292. Reported by Kevin Heilman.
5697 (verilog-read-decls): Fix 'parameter type' not appearing in
5698 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5699 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5700 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5701 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5702 Reported by David Kravitz.
5703
57042012-05-03 Michael McNamara <mac@mail.brushroad.com>
5705
5706 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5707 assignment with tests in ifs and for loops.
5708 (verilog-extended-complete-re, verilog-complete-reg): Change so
5709 that DPI inport functions don't look like fuction declarations.
5710 (verilog-pretty-expr): Don't line up assignment
5711 operations to the test and increment in if and for loops
5712 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5713 that DPI inport functions don't look like fuction declarations.
47086495 5714
2e51d4b5
KH
57152012-05-03 Kenichi Handa <handa@m17n.org>
5716
5717 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5718 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5719 (Bug#11282).
5720
2bd785a2
SM
57212012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * emacs-lisp/bytecomp.el
5724 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5725 since cconv.el might have introduced :fun-body, internal-make-closure,
5726 and friends for bytecomp to handle (bug#11391).
5727 * custom.el (defcustom): Avoid ((λ ..) ..).
5728
99d27583
SM
57292012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5732
55a71479
JB
57332012-05-02 Juanma Barranquero <lekktu@gmail.com>
5734
5735 * notifications.el (dbus-debug):
5736 * term/linux.el (gpm-mouse-enable):
5737 * term/screen.el (xterm-register-default-colors): Declare.
5738
7b97c764
CY
57392012-05-02 Chong Yidong <cyd@gnu.org>
5740
2bc356d7
CY
5741 * cus-start.el (gc-cons-percentage, exec-suffixes)
5742 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5743 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5744 (make-cursor-line-fully-visible, void-text-area-pointer)
5745 (font-list-limit): Add customization data.
5746
7b97c764
CY
5747 * allout.el (allout-exposure-change-functions)
5748 (allout-structure-added-functions)
5749 (allout-structure-deleted-functions)
5750 (allout-structure-shifted-functions): Rename abnormal hooks from
5751 *-hook, and convert to defcustoms.
5d3385a0
JB
5752 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5753 Convert to defcustoms.
7b97c764
CY
5754 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5755
5756 * allout-widgets.el: Hook callers changed.
5757
90207a15 57582012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5759
5760 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5761 the yanked message in preference to the default value of
5762 buffer-file-coding-system.
5763
90207a15 57642012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5765
5d3385a0
JB
5766 * window.el (display-buffer--action-function-custom-type):
5767 Fix entry.
d9558cad 5768
90207a15 57692012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5770
5771 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5772
d80ac57b
GM
57732012-05-01 Glenn Morris <rgm@gnu.org>
5774
976f7668
GM
5775 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5776
beb83b5a
GM
5777 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5778
d80ac57b
GM
5779 * cus-edit.el (custom-variable-documentation): Simplify with format.
5780
b593d6a9 57812012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5782 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5783
5784 * simple.el (suggest-key-bindings, execute-extended-command):
5785 Move from keyboard.c.
5786
782fbf2a
CY
57872012-05-01 Chong Yidong <cyd@gnu.org>
5788
5789 * follow.el: Eliminate advice.
5790 (set-process-filter, process-filter, sit-for): Advice deleted.
5791 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5792 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5793 Vars deleted.
782fbf2a
CY
5794 (follow-auto): Use a :set function.
5795 (follow-mode): Rewritten. Don't advise process filters.
5796 (follow-switch-to-current-buffer-all, follow-scroll-up)
5797 (follow-scroll-down): Assume follow-mode is bound.
5798 (follow-comint-scroll-to-bottom)
5799 (follow-align-compilation-windows): New functions.
5800 (follow--window-sorter): New function.
5801 (follow-all-followers): Use it to explicitly sort windows by their
5802 positions; don't make assumptions about next-window order.
5803 (follow-windows-start-end, follow-delete-other-windows-and-split)
5804 (follow-calc-win-start): Doc fix.
5805 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5806 vertical-motion unnecessarily.
5807 (follow-adjust-window): New function.
5808 (follow-post-command-hook): Use it.
5809 (follow-call-set-process-filter, follow-call-process-filter)
5810 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5811 (follow-stop-intercept-process-output, follow-generic-filter):
5812 Functions deleted.
5813 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5814 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5815 New functions, replacing advice on scroll-bar-* commands.
87233a14 5816 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5817
5818 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5819 (comint-postoutput-scroll-to-bottom): Use it.
5820 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5821
290af740
GM
58222012-05-01 Glenn Morris <rgm@gnu.org>
5823
5824 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5825 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5826 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5827 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5828 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5829 Remove no-byte-compile setting.
5830
6eac8dc9
SM
58312012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5834 all-completions code to not return a number in the last cdr.
5835
9cc7819c
LL
58362012-04-30 Leo Liu <sdl.web@gmail.com>
5837
5838 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5839 read-only error.
5840
c93b886f
CY
58412012-04-29 Chong Yidong <cyd@gnu.org>
5842
5843 * follow.el (follow-calc-win-end): Rewrite to handle partial
5844 screen lines correctly (Bug#8390).
5845 (follow-avoid-tail-recenter): Minor cleanup.
5846
8b6c19f4
SM
58472012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 Avoid the obsolete `assoc' package.
5850 * speedbar.el (speedbar-refresh): Avoid adelete.
5851 (speedbar-file-lists): Simplify and avoid aput.
5852 * man.el (Man--sections, Man--refpages): New vars, replacing
5853 Man-sections-alist and Man-refpages-alist.
5854 (Man-build-section-alist, Man-build-references-alist):
5855 Use them; avoid aput.
5856 (Man--last-section, Man--last-refpage): New vars.
5857 (Man-follow-manual-reference): Use them.
5858 Use the `default' arg of completing-read.
5859 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5860
c5bb7569
CY
58612012-04-27 Chong Yidong <cyd@gnu.org>
5862
d1d2e2e8
CY
5863 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5864
15cd8efd
CY
5865 * startup.el (x-apply-session-resources): New function.
5866
5867 * term/ns-win.el (ns-initialize-window-system):
5868 * term/w32-win.el (w32-initialize-window-system):
5869 * term/x-win.el (x-initialize-window-system): Use it to properly
5870 set menu-bar-mode and other vars from X resources, even if the
5871 initial frame is not a window-system frame (Bug#2299).
5872
c5bb7569
CY
5873 * subr.el (read-key): Avoid running filter function when setting
5874 up temporary tool bar entries (Bug#9922).
5875
a8e7d6d7 58762012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
5877
5878 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5879 (Bug#11344)
5880
a8e7d6d7 58812012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
5882
5883 * select.el (xselect--encode-string): New function, split from
5884 xselect-convert-to-string.
5885 (xselect-convert-to-string): Use it.
5886 (xselect-convert-to-filename, xselect-convert-to-os)
5887 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5888 returned strings are properly encoded (Bug#11315).
5889
a8e7d6d7 58902012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
5891
5892 * simple.el (delete-active-region): Move to killing custom group.
5893
a8e7d6d7 58942012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
5895
5896 * progmodes/which-func.el (which-func-current): Quote %
5897 characters for mode-line processing.
5898
578c1d4b 58992012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
5900
5901 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5902 reaching eob (Bug#11286).
5903
a8e7d6d7 59042012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
5905
5906 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5907 (gdb): Make it buffer-local and init to zero.
5908 (gdb-control-commands-regexp): New variable.
5909 (gdb-send): Don't wrap in "-interpreter-exec console" if
5910 gdb-control-level is positive. Increment gdb-control-level
5911 whenever the command matches gdb-control-commands-regexp, and
5912 decrement it each time the command is "end". (Bug#11279)
5913
a8e7d6d7 59142012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
5915
5916 * window.el (adjust-window-trailing-edge, enlarge-window)
5917 (shrink-window, window-resize):
5918 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5919 windows (Bug#11276).
5920
b3608390
CY
59212012-04-27 Chong Yidong <cyd@gnu.org>
5922
5923 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 5924 fix "missing prefix" warning. All callers changed.
b3608390 5925
797e6e88
SM
59262012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * emacs-lisp/assoc.el: Move to obsolete/.
5929
e95a67dc
SM
59302012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5931
657c21e4 5932 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
5933
5934 * term/ns-win.el (ns-define-service):
5935 * progmodes/pascal.el (pascal-goto-defun):
5936 * progmodes/js.el (js--read-tab):
5937 * progmodes/etags.el (tags-lazy-completion-table):
5938 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5939 * emacs-lisp/ewoc.el (ewoc--wrap):
5940 * emacs-lisp/assoc.el (aput, adelete, amake):
5941 * doc-view.el (doc-view-convert-current-doc):
5942 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5943
cb3e7ae0
CY
59442012-04-26 Chong Yidong <cyd@gnu.org>
5945
dce04f7f
CY
5946 * image.el (image-type-from-buffer): Only return supported image
5947 type (Bug#9045).
5948
cb3e7ae0
CY
5949 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5950 value, for symmetry with diff-end-of-hunk.
5951 (diff-split-hunk, diff-find-source-location)
5952 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5953 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5954 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5955 compute the relevant hunk or file properly (Bug#6005).
5956 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5957
0d42eb3e
SM
59582012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * vc/vc-mtn.el:
5961 * vc/vc-hg.el:
5962 * vc/vc-git.el:
5963 * vc/vc-dir.el:
5964 * vc/vc-cvs.el:
5965 * vc/vc-bzr.el:
5966 * vc/vc-arch.el:
5967 * vc/vc.el: Replace lexical-let by lexical-binding.
5968 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5969 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5970 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5971
f08ae1c9
CY
59722012-04-26 Chong Yidong <cyd@gnu.org>
5973
8b71081d
CY
5974 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5975 (diff-mode-shared-map): Bind it to / and [remap undo].
5976
f08ae1c9
CY
5977 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5978 (ediff-window-setup-function): Use it as the default, to set up
5979 windows based on whether the current frame is graphical (Bug#2138).
5980 (ediff-choose-window-setup-function-automatically): Make obsolete.
5981
5982 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5983
ef24141c
SM
59842012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5985
cc356a5d
SM
5986 * ffap.el: Remove old code for obsolete package.
5987 (ffap-complete-as-file-p): Remove.
5988
b4ff4f1f
SM
5989 Use completion-table-with-quoting for comint and pcomplete.
5990 * comint.el (comint--unquote&requote-argument)
5991 (comint--unquote-argument, comint--requote-argument): New functions.
5992 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5993 (comint-quote-filename): Use regexp-opt-charset.
5994 (comint--common-suffix, comint--common-quoted-suffix)
5995 (comint--table-subvert): Remove.
5996 (comint-unquote-function, comint-requote-function): New vars.
5997 (comint--complete-file-name-data): Use them with
5998 completion-table-with-quoting.
5999 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6000 * pcomplete.el (pcomplete-arg-quote-list)
6001 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6002 (pcomplete-unquote-argument-function): Default to non-nil.
6003 (pcomplete-unquote-argument): Simplify.
6004 (pcomplete--common-quoted-suffix): Remove.
6005 (pcomplete-requote-argument-function): New var.
6006 (pcomplete--common-suffix): New function.
6007 (pcomplete-completions-at-point): Use completion-table-with-quoting
6008 and completion-table-subvert.
6009
79c4eeb4
SM
6010 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6011 (minibuffer--double-dollars): Preserve properties.
6012 (completion--sifn-requote): New function.
6013 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6014
ef24141c
SM
6015 * minibuffer.el: Add support for completion of quoted/escaped data.
6016 (completion-table-with-quoting, completion-table-subvert): New funs.
6017 (completion--twq-try, completion--twq-all): New functions.
6018 (completion--nth-completion): New function.
6019 (completion-try-completion, completion-all-completions): Use it.
6020
784e7d6e
LL
60212012-04-25 Leo Liu <sdl.web@gmail.com>
6022
dd2ac746
SM
6023 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6024 Use compilation-message if available to find real filename.
784e7d6e 6025
07875ee7
CY
60262012-04-25 Chong Yidong <cyd@gnu.org>
6027
6028 * vc/diff-mode.el (diff-setup-whitespace): New function.
6029 (diff-mode): Use it.
6030
6031 * vc/diff.el (diff-sentinel):
6032 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6033 Whitespace mode variables based on diff style (Bug#8612).
6034
5055880d
LL
60352012-04-25 Leo Liu <sdl.web@gmail.com>
6036
daf75653
LL
6037 * progmodes/python.el (python-send-region): Add suffix .py to the
6038 temp file.
6039
5055880d
LL
6040 * files.el (auto-mode-alist): Use javascript-mode instead.
6041
db9b177b
AH
60422012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6043
ef24141c 6044 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6045
090bd7cb 6046 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6047 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6048 references, see Bug#9.
ef24141c 6049 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6050 when receiving a fault reply.
ef24141c 6051 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6052
090bd7cb 6053 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6054 (soap-inspect-simple-type): New function.
db9b177b 6055
090bd7cb 6056 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6057 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6058 (soap-decode-basic-type, soap-encode-basic-type):
6059 support unsignedInt and double basic types.
db9b177b 6060 (soap-resolve-references-for-simple-type)
ef24141c
SM
6061 (soap-parse-simple-type, soap-encode-simple-type): New function.
6062 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6063
090bd7cb 6064 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6065 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6066 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6067 the local name of "soapenc:Array".
6068 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6069 decoding integer, byte and anyURI xsd types.
6070
1fc6097b
CY
60712012-04-25 Chong Yidong <cyd@gnu.org>
6072
6073 * cus-edit.el (custom-buffer-create-internal): Update header text.
6074
afc6df87
EZ
60752012-04-25 Eli Zaretskii <eliz@gnu.org>
6076
6077 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6078 settings on 'system-type', not on 'window-system'. On MS-Windows,
6079 set interactive-mode on in GDB.
6080
dfbd787f
SM
60812012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6084 (ruby-syntax-propertize-regexp): Remove.
6085 (ruby-syntax-propertize-function): Split regexp into chunks.
6086 Match following code directly.
6087
85222d44
DG
60882012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6089
51a8ea2a
DG
6090 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6091 (ruby-syntax-propertize-regexp): New function.
6092 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6093 by a special keyword.
6094
85222d44
DG
6095 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6096 (ruby-syntax-general-delimiters-goto-beg)
6097 (ruby-syntax-propertize-general-delimiters): New functions.
6098 (ruby-syntax-propertize-function): Use them to handle GDL.
6099 (ruby-font-lock-keywords): Move old handling of GDL...
6100 (ruby-font-lock-syntactic-keywords): .. to here.
6101 (ruby-calculate-indent): Adjust indentation for GDL.
6102
b613912b
MA
61032012-04-24 Michael Albinus <michael.albinus@gmx.de>
6104
b5380639
MA
6105 * notifications.el (top): Remove unneeded declarations.
6106 (notifications-specification-version): Change to "1.2".
e43042fe 6107 (notifications-interface, notifications-notify-method)
b613912b
MA
6108 (notifications-close-notification-method): Fix docstring.
6109 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6110 (notifications-notify): Add :action-items, :resident and
6111 :transient hints. Change "image_data" to "image-data" and
6112 "image_path" to "image-path".
b613912b
MA
6113 (notifications-get-capabilities): New defun.
6114
257440aa
LL
61152012-04-24 Leo Liu <sdl.web@gmail.com>
6116
6117 * progmodes/python.el: Move hideshow setup to the end.
6118
b1bac16e
MR
61192012-04-24 Martin Rudalics <rudalics@gmx.at>
6120
6121 * window.el (handle-select-window): Clear echo area since this is
6122 no more done by read_char (Bug#11304).
6123
d81bd059
SM
61242012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6125
6126 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6127 and `/ M' to filter-derived-mode.
6128 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6129 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6130 (ibuffer-mark-by-mode): Use default rather than initial-input.
6131 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6132
c4cf6d91
IA
61332012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6134
6135 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6136 (ibuffer-filter-by-derived-mode): New filter.
6137 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6138
7511ded8
CY
61392012-04-23 Andreas Politz <politza@fh-trier.de>
6140
6141 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6142
775c916b
CY
61432012-04-23 Chong Yidong <cyd@gnu.org>
6144
6145 * cus-edit.el (customize-apropos, customize-apropos-options):
6146 Disable matching of non-option variables (Bug#11176).
6147 (customize-option, customize-option-other-window)
6148 (customize-changed-options): Doc fix.
6149 (customize-apropos-options, customize-apropos-faces)
6150 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6151
6152 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6153 Fix word list splitting (Bug#11132).
46c71e23
CY
6154 (apropos-symbol, apropos-keybinding, apropos-label)
6155 (apropos-property, apropos-function-button)
6156 (apropos-variable-button, apropos-misc-button): New faces.
6157 (apropos-symbol-face, apropos-keybinding-face)
6158 (apropos-label-face, apropos-property-face, apropos-match-face):
6159 Variables removed (Bug#8396).
6160 (apropos-library-button, apropos-format-plist, apropos-print)
6161 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6162
2df41f9c
MA
61632012-04-23 Michael Albinus <michael.albinus@gmx.de>
6164
6165 * net/xesam.el (xesam-mode-map): Use let-bound map in
6166 initialization. (Bug#11292)
6167
da00640a
AM
61682012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6169
6170 Preserve ispell session localwords when switching back to
6171 original buffer.
6172
090bd7cb
JB
6173 * textmodes/ispell.el (ispell-buffer-session-localwords):
6174 New buffer-local variable to hold buffer session localwords.
ed9265fc 6175 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6176 localwords.
6177 (ispell-command-loop, ispell-change-dictionary)
6178 (ispell-buffer-local-words): Preserve session localwords when
6179 needed.
6180
090bd7cb
JB
6181 * textmodes/flyspell.el (flyspell-process-localwords)
6182 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6183
f621ccf5
AM
61842012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6185
090bd7cb
JB
6186 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6187 using obsolete `translation-table-for-input'.
ef24141c
SM
6188 (ispell-word, ispell-process-line, ispell-complete-word):
6189 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6190
c2d1019e
CY
61912012-04-22 Chong Yidong <cyd@gnu.org>
6192
6193 * cus-edit.el (custom-variable-menu)
6194 (custom-variable-reset-saved, custom-face-menu)
6195 (custom-face-reset-saved): If there is no saved value, make the
6196 "reset-saved" operation bring back the default (Bug#9509).
6197 (custom-face-state): Properly detect themed faces.
6198
eeddc531
CY
6199 * faces.el (face-spec-set): Stop supporting deprecated form of
6200 third arg.
6201
dcbf5805
MA
62022012-04-22 Michael Albinus <michael.albinus@gmx.de>
6203
6204 Move functions from C to Lisp. Make non-blocking method calls
6205 the default. Implement further D-Bus standard interfaces.
6206
ef24141c
SM
6207 * net/dbus.el (dbus-message-internal): Declare function.
6208 Remove unneeded function declarations.
dcbf5805
MA
6209 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6210 (dbus-message-type-method-return, dbus-message-type-error)
6211 (dbus-message-type-signal): Declare variables. Remove local
6212 definitions.
6213 (dbus-interface-dbus, dbus-interface-peer)
6214 (dbus-interface-introspectable, dbus-interface-properties)
6215 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6216 Adapt docstring.
6217 (dbus-interface-objectmanager): New defconst.
6218 (dbus-call-method, dbus-call-method-asynchronously)
6219 (dbus-send-signal, dbus-method-return-internal)
6220 (dbus-method-error-internal, dbus-register-service)
6221 (dbus-register-signal, dbus-register-method): New defuns, moved
6222 from dbusbind.c
6223 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6224 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6225 New defuns.
dcbf5805
MA
6226 (dbus-call-method-non-blocking): Make it an obsolete function.
6227 (dbus-unregister-object, dbus-unregister-service)
6228 (dbus-handle-event, dbus-register-property)
6229 (dbus-property-handler): Obey the new structure of
6230 `bus-registered-objects'.
6231 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6232 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6233 Use `dbus-call-method'.
6234
cf20dee0
CY
62352012-04-22 Chong Yidong <cyd@gnu.org>
6236
6237 * cus-edit.el (custom-commands, custom-reset-menu)
6238 (Custom-reset-standard): Tweak labels.
6239 (custom-reset-button-menu): Change default to t.
6240 (custom-buffer-create-internal): For the custom-reset-button-menu
6241 case, put the revert button first.
6242 (custom-group-subtitle): New face.
6243 (custom-group-value-create): Align docstring to a specific column.
6244
6245 * wid-edit.el (widget-documentation-link-add): Don't handle
6246 indentation in this function.
6247 (widget-documentation-string-indent-to): New function.
6248 (widget-documentation-string-value-create): Use it.
6249
6250 * autorevert.el (auto-revert):
6251 * epg-config.el (epg):
6252 * ibuffer.el (ibuffer):
6253 * mpc.el (mpc):
6254 * ses.el (ses):
6255 * eshell/eshell.el (eshell):
6256 * net/ange-ftp.el (ange-ftp):
6257 * progmodes/ebnf2ps.el (postscript):
6258 * progmodes/flymake.el (flymake):
6259 * progmodes/prolog.el (prolog):
6260 * progmodes/verilog-mode.el (verilog-mode):
6261 * progmodes/which-func.el (which-func):
6262 * term/xterm.el (xterm):
6263 * textmodes/picture.el (picture):
6264 * textmodes/tildify.el (tildify):
6265 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6266 customization buffers.
6267
583e23bd
AM
62682012-04-22 Alan Mackenzie <acm@muc.de>
6269
6270 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6271 Adding a ) can hide the resulting (..) from searches. Fix it.
6272 Bound the backward search to the position of the existing (.
6273
7dd51bf1
JB
62742012-04-21 Juanma Barranquero <lekktu@gmail.com>
6275
6276 * progmodes/verilog-mode.el (verilog-mode): Check whether
6277 which-func-modes is t before adding verilog-mode.
6278 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6279
d64a438f
LL
62802012-04-21 Leo Liu <sdl.web@gmail.com>
6281
7dd51bf1 6282 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6283
081e8d65
MV
62842012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6285
6286 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6287 filling of the last column of a table (Bug#5635).
6288 (woman-find-next-control-line): New arg, specifying an additional
6289 regexp component for the control line.
6290 (woman2-roff-buffer): Use it.
6291 (woman-break-table): New function.
6292 (woman2-TS): Use it.
6293
62942012-04-21 Chong Yidong <cyd@gnu.org>
6295
6296 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6297 (woman-horizontal-escapes, woman-negative-vertical-space)
6298 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6299 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6300
ed571ccb
SM
63012012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * minibuffer.el (completion-file-name-table): Complete user names.
6304
39773899
LL
63052012-04-20 Leo Liu <sdl.web@gmail.com>
6306
6307 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6308 and pcase-let*.
6309
de6ff46d
CY
63102012-04-20 Chong Yidong <cyd@gnu.org>
6311
6312 * server.el (server-execute): Respect initial-buffer-choice if it
6313 is a string and there are no files to open (Bug#2825).
6314 (server-create-window-system-frame, server-create-tty-frame):
6315 Don't switch buffers here.
2d0e8e61
CY
6316 (server-process-filter): Only try to open a window system frame if
6317 compiled with graphical support (Bug#8314).
de6ff46d 6318
54071013
DN
63192012-04-20 Dan Nicolaescu <dann@gnu.org>
6320
6321 * battery.el (battery-echo-area-format): Display remaining time
6322 for sysfs backend too (Bug#11269).
6323 (battery-linux-sysfs): Fix conditional for the charge.
6324
f30d612a
CY
63252012-04-20 Chong Yidong <cyd@gnu.org>
6326
c07a4c0b 6327 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6328 (gdb-inferior-io--init-proc): New function.
6329 (gdb-init-1): Use it.
6330 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6331 responsible for allocating a new pty and hooking it to gdb when
6332 the old pty gets an EIO due to process exit.
6333 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6334 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6335 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6336
2116e93c
EZ
63372012-04-20 Eli Zaretskii <eliz@gnu.org>
6338
6339 * window.el (window-min-size, window-sizable, window-min-delta)
6340 (window-max-delta, window--resizable, window-resizable)
6341 (window-total-size, window-full-height-p, window-full-width-p)
6342 (window-in-direction, window--resize-mini-window, window-resize)
6343 (window--resize-child-windows-normal)
6344 (window--resize-child-windows, window--resize-siblings)
6345 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6346 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6347
c07a4c0b 63482012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6349
ef24141c
SM
6350 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6351 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6352 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6353 pty process (Bug#11273).
6354 (gdb-update): New arg to suppress talking to the gdb process.
6355 (gdb-done-or-error): Use it.
6356 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6357 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6358 sentinel not being called.
6359
6360 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6361
d02766ab
CY
6362 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6363
c07a4c0b 63642012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6365
6366 * net/network-stream.el (open-network-stream): Doc fix.
6367
c07a4c0b 63682012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6369
6370 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6371
c07a4c0b 63722012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6373
6374 Ensure searching for keywords is case sensitive.
6375
6376 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6377 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6378 (c-defun-name, c-mark-function, c-cpp-define-name)
6379 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6380 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6381
ef24141c
SM
6382 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6383 Bind case-fold-search to nil.
f0f6bc35 6384
c07a4c0b 63852012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6386
6387 * mail/sendmail.el (mail-bury): Call return action with the right
6388 Rmail buffer (Bug#11242).
6389
9a864fa2
CY
6390 * server.el (server-process-filter): Handle corner case where both
6391 tty and nowait options are present (Bug#11102).
6392
539aa513
EZ
63932012-04-20 Eli Zaretskii <eliz@gnu.org>
6394
6395 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6396 (top level): Put into the executable the ident-style '$Id:' tag on
6397 windows-nt as well.
539aa513 6398
cfc7d5da
SM
63992012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * electric.el (electric-indent-post-self-insert-function): Check that
6402 electric-indent-mode is enabled in current buffer.
6403
5b01685c
JB
64042012-04-19 Juanma Barranquero <lekktu@gmail.com>
6405
6406 * imenu.el (imenu-progress-message): Restore; it is "used" in
6407 erc/erc-imenu.el and net/snmp-mode.el.
6408
4d6769e1
JB
64092012-04-19 Juanma Barranquero <lekktu@gmail.com>
6410
6411 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6412 (mouse-avoidance-nudge-mouse): Remove unused binding.
6413
6414 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6415
6416 * descr-text.el (describe-char):
6417 * progmodes/python.el (python-describe-symbol):
6418 Don't call `toggle-read-only', set `buffer-read-only'.
6419
6420 * imenu.el (imenu-default-goto-function): Mark unused args.
6421 (imenu-progress-message): Remove obsolete macro; all callers changed.
6422
6423 * subr.el (keymap-canonicalize): Remove unused binding.
6424 (read-passwd): Mark unused arg.
6425
6426 * tutorial.el (tutorial--display-changes): Remove unused binding.
6427 (tutorial--save-tutorial-to): Remove unused variable.
6428
6429 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6430 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6431 (package-generate-autoloads, package-menu--generate)
6432 (package-menu--find-upgrades): Remove unused bindings.
6433
6434 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6435 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6436 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6437 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6438 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6439 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6440 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6441 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6442 (cua-delete-char-rectangle): Mark unused args.
6443 (cua-align-rectangle): Remove unused binding.
6444
6445 * mail/rmail.el (compilation--message->loc)
6446 (epa--find-coding-system-for-mime-charset): Declare.
6447
6448 * net/dbus.el (dbus-register-service): Declare.
6449 (dbus-name-owner-changed-handler): Remove unused binding.
6450
6451 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6452 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6453 (nxml-scan-backward-within): Mark unused arg.
6454 (nxml-dynamic-markup-word): Remove unused binding.
6455
6456 * mouse.el (mouse-menu-major-mode-map):
6457 * emacs-lisp/authors.el (authors-scan-change-log)
6458 (authors-add-to-author-list):
6459 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6460 * emacs-lisp/smie.el (smie-auto-fill):
6461 * mail/sendmail.el (mail-bury):
6462 * mail/unrmail.el (unrmail):
6463 * net/tls.el (open-tls-stream):
6464 * textmodes/picture.el (picture-mouse-set-point):
6465 Remove unused bindings.
6466
8c8fc5df
MA
64672012-04-19 Michael Albinus <michael.albinus@gmx.de>
6468
6469 * net/tramp.el (tramp-action-password): Let-bind
6470 `enable-recursive-minibuffers' to t.
6471
a77b0ac9
SS
64722012-04-18 Sam Steingold <sds@gnu.org>
6473
6474 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6475 instead of 'string to accommodate values like [f11].
6476 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6477 * progmodes/gdb-mi.el: Likewise.
6478
12a106a9
LL
64792012-04-18 Leo Liu <sdl.web@gmail.com>
6480
6481 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6482 current buffer.
6483 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6484 LOCAL is nil.
6485
bc6494ef
CY
64862012-04-18 Chong Yidong <cyd@gnu.org>
6487
6488 * simple.el (line-move): Use forward-line if in batch mode
6489 (Bug#11053).
6490
c09c46b2
CS
64912012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6492
6493 * files.el (after-find-file): Do not try to add a final newline if
6494 the buffer is read-only (Bug#11156).
6495
5f6530ea
RS
64962012-04-17 Richard Stallman <rms@gnu.org>
6497
6498 * mail/rmail.el (rmail-start-mail):
6499 Pass (rmail-mail-return...) for the return-action.
6500 Pass (rmail-yank-current-message...) for the yank-action.
6501 (rmail-yank-current-message): New function.
6502 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6503 (rmail-reply): Likewise.
6504 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6505
6506 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6507 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6508 buffer, not newbuf.
6509
197b6f3c
JB
65102012-04-17 Juanma Barranquero <lekktu@gmail.com>
6511
6512 * server.el (server-ensure-safe-dir): Simplify.
6513
2311d8e5 65142012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6515
2311d8e5
GM
6516 * emacs-lisp/smie.el: Provide smarter auto-filling.
6517 (smie-auto-fill): New function.
6518 (smie-setup): Use it.
98fb480e 6519
2311d8e5
GM
6520 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6521
65222012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6523
6524 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6525 (comment-indent): Use it.
6526
2311d8e5 65272012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6528
6529 * ses.el: The overall change is to add cell renaming, that is
6530 setting fancy names for cell symbols other than name matching
6531 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6532 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6533 (ses-create-cell-variable): New defun.
2311d8e5 6534 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6535 (ses-relocate-formula): Relocate formulas only for cells the
6536 symbols of which are not renamed, i.e. symbols whose names do not
6537 match regexp "\\`[A-Z]+[0-9]+\\'".
6538 (ses-relocate-all): Relocate values only for cells the symbols of
6539 which are not renamed.
6540 (ses-load): Create cells variables as the (ses-cell ...) are read,
6541 in order to check row col consistency with cell symbol name only
6542 for cells that are not renamed.
6543 (ses-replace-name-in-formula): New defun.
6544 (ses-rename-cell): New defun.
4bdf2ad2 6545
fc72b15c
PO
65462012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6547
6548 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6549 New option (bug#11118).
6550 (perl-calculate-indent): Respect it.
6551
12e10e61
GM
65522012-04-17 Glenn Morris <rgm@gnu.org>
6553
6554 * dired-aux.el (dired-mark-read-string): Doc fix.
6555
30009afd
DA
65562012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6557
6558 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6559 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6560
41f03f4d
GM
65612012-04-17 Glenn Morris <rgm@gnu.org>
6562
6563 * mouse.el (mouse-drag-track):
6564 * speedbar.el (speedbar-frame-mode):
6565 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6566
f45f90f3
LL
65672012-04-16 Leo Liu <sdl.web@gmail.com>
6568
6569 * progmodes/python.el: Trivial cleanup.
6570
94ee8db5
GM
65712012-04-16 Glenn Morris <rgm@gnu.org>
6572
121b8917
GM
6573 * vc/vc.el (vc-string-prefix-p):
6574 * vc/pcvs-util.el (cvs-string-prefix-p):
6575 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6576 * mpc.el (mpc-string-prefix-p):
6577 Make all of these into obsolete aliases for string-prefix-p.
6578 Update callers.
6579 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6580
1197ecfa
GM
6581 * textmodes/two-column.el: Move custom options to the start.
6582 (frame-width): Remove compat definition.
6583 (2C-associate-buffer, 2C-dissociate):
6584 Use with-current-buffer rather than save-excursion.
6585 (2C-dissociate): Force a mode-line update.
6586 (2C-autoscroll): Use ignore-errors.
6587
099e7202
GM
6588 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6589 Autoload trivia.
6590
bf350d6a
GM
6591 * emacs-lisp/cl-extra.el (*random-state*):
6592 Remove unnecessary declaration.
6593
0e829eab
GM
6594 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6595
e3ad7552
GM
6596 * play/cookie1.el (cookie-snarf):
6597 Give an explicit error if input file cannot be read.
6598
68892d27
GM
6599 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6600
20f0c46d
GM
6601 * progmodes/perl-mode.el (c-macro-expand):
6602 Remove unnecessary autoload (it is in loaddefs.el).
6603
5a0978ce
GM
6604 * textmodes/picture.el (picture-desired-column)
6605 (picture-update-desired-column): Convert comments to doc-strings.
6606 (picture-substitute): Remove function.
6607 (picture-mode-map): Initialize in the defvar.
6608
6b955486
GM
6609 * woman.el: Remove eval-after-load for tar-mode.
6610 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6611 (woman-tar-extract-file): Autoload it.
6612
94ee8db5
GM
6613 * frame.el (automatic-hscrolling): Make this alias obsolete.
6614
177eca34
AM
66152012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6616
090bd7cb 6617 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6618 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6619 (ispell-dictionary-base-alist): Revert to original XEmacs
6620 friendly version for default. [:alpha:] will be added in
090bd7cb 6621 `ispell-set-spellchecker-params' if needed.
177eca34 6622
c505aaeb
CY
66232012-04-16 Chong Yidong <cyd@gnu.org>
6624
b19dd9d1 6625 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6626 (imagemagick-register-types): Use it.
6627 (imagemagick-types-inhibit): Add :set function. Allow new value
6628 of t to inhibit all types.
6629
6630 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6631 so we can preload it.
6632
6633 * loadup.el (fboundp): Preload regexp-opt, needed by
6634 imagemagick-register-types.
6635
60efac0f
CY
66362012-04-15 Chong Yidong <cyd@gnu.org>
6637
6638 * frame.el (scrolling): Remove nearly unused customization group.
6639
6640 * scroll-all.el (scroll-all-mode): Move to windows group.
6641
5dd1713e
CY
66422012-04-15 Chong Yidong <cyd@gnu.org>
6643
6644 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6645
e6fd457e
CY
66462012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6649 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6650
e153c136
GM
66512012-04-15 Glenn Morris <rgm@gnu.org>
6652
6653 * simple.el (process-file-side-effects): Doc fix.
6654
e6fd457e 66552012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6656
6657 * international/mule-cmds.el (set-language-environment): Doc fix.
6658
3603c3b1
JB
66592012-04-14 Juanma Barranquero <lekktu@gmail.com>
6660
6661 * server.el (server-auth-key, server-generate-key): Doc fixes.
6662 (server-get-auth-key): Doc fix. Use `string-match-p'.
6663 (server-start): Reflow docstring.
6664
e6de100c
LI
66652012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6666
6667 * server.el (server-generate-key): `called-interactively-p'
6668 requires a parameter.
6669
29734c21
MN
66702012-04-14 Michal Nazarewicz <mina86@mina86.com>
6671
6672 * server.el (server-auth-key): New variable.
75f1671a 6673 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6674 (server-start): Use the new variable and functions to allow
6675 setting a permanent server key (bug#9423).
6676
d65c9521
LL
66772012-04-14 Leo Liu <sdl.web@gmail.com>
6678
6679 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6680
5ae255c7
PE
66812012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6682
6683 Spelling fixes.
6684 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6685 Emacs uses American spelling.
6686
d5e6342e
JB
66872012-04-14 Juanma Barranquero <lekktu@gmail.com>
6688
6689 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6690 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6691 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6692 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6693
ab036cd7
SM
66942012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * progmodes/which-func.el (which-func-modes): Change default.
6697
35dc09a1 66982012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6699
6700 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6701 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6702
35dc09a1 67032012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6704
6705 * custom.el (custom-theme-set-variables): Doc fix.
6706
35dc09a1 67072012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6708
6709 * international/mule.el (set-auto-coding-for-load): Doc fix.
6710
35dc09a1 67112012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6712
35dc09a1
GM
6713 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6714 imenu work again for Objective C Mode. Correct the *-index values,
6715 these having been disturbed by a previous change in 2011-08.
57f845ee 6716
0de3da9f
AM
6717 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6718 Correct two search limits.
6719
35dc09a1 67202012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6721
6722 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6723
35dc09a1 67242012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6725
6726 * international/characters.el: Fix sorting.
6727
35dc09a1 67282012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6729
6730 * international/characters.el: Add more missing Latin case pairs.
6731
35dc09a1 67322012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6733
6734 * files.el (dir-locals-set-class-variables): Doc fix.
6735
35dc09a1 67362012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6737
3f1b5bf8
EZ
6738 * international/characters.el: Add set-case-syntax-pair call for
6739 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6740 counterpart. (Bug#11209)
6741
9f847f41
EZ
6742 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6743
35dc09a1 67442012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6745
6746 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6747
35dc09a1 67482012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6749
35dc09a1
GM
6750 * textmodes/ispell.el (ispell-dictionary-base-alist):
6751 Add data for Hebrew.
e2627d21 6752
35dc09a1 67532012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6754
35dc09a1
GM
6755 * net/rcirc.el (rcirc-cmd-quit):
6756 Revert 2012-03-18 change (Bug#11192).
5c14e333 6757
35dc09a1 67582012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6759
6760 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6761
35dc09a1 67622012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6763
4517fe3a
SM
6764 * minibuffer.el (completion-in-region-mode-map):
6765 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6766
b472a594
VD
67672012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6768
6769 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6770
09b95ce3
MY
67712012-04-13 Masatake YAMATO <yamato@redhat.com>
6772
6773 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6774 to allow `C-M-f' and `C-M-b' to move to the nearest path
6775 separator (bug#9511).
6776
4b63a9ca
LI
67772012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6778
6779 * avoid.el: Require cl when compiling. And also move the
6780 `provide' to the end.
6781
7b55b8bf
TV
67822012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6783
6784 * avoid.el (mouse-avoidance-banish-position): New variable.
6785 (mouse-avoidance-banish-destination): Use it (bug#10165).
6786
adedaa1f
LL
67872012-04-13 Leo Liu <sdl.web@gmail.com>
6788
6789 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6790
70e74021
KB
67912012-04-13 Ken Brown <kbrown@cornell.edu>
6792
6793 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6794 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6795 (browse-url-filename-alist): For the same reason, don't modify
6796 file:// URLs on Cygwin.
6797
e75e89ba
SM
67982012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6799
6800 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6801 the region on shift if the binding is already shifted (bug#11221).
6802
82f289a4
GM
68032012-04-12 Glenn Morris <rgm@gnu.org>
6804
6805 * mail/mailpost.el: Move to obsolete/.
6806
d333dc4c
DA
68072012-04-12 Drew Adams <drew.adams@oracle.com>
6808
6809 * imenu.el (imenu--generic-function): Ignore invisible definitions
6810 (bug#10123).
6811
0d15b5ba
VD
68122012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6813
6814 * hexl.el (hexl-bits): New variable.
6815 (hexl-options): Mention the variable in the doc string.
75f1671a 6816 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6817 (hexl-mode): Mention the new variable.
75f1671a
JB
6818 (hexl-mode, hexl-current-address, hexl-current-address):
6819 Use the displen.
0d15b5ba
VD
6820 (hexl-ascii-start-column): New function.
6821 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6822 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6823
64a440db
AM
68242012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6825
6826 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6827 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6828 the encoding, as expected by hunspell.
6829
6decb6c2
SM
68302012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * battery.el (battery--linux-sysfs-regexp): New const.
6833 (battery-status-function): Use it. Remove yeeloong special case.
6834 (battery-yeeloong-sysfs): Remove.
6835 (battery-echo-area-format): Remove yeeloong special case.
6836
088be6fb
SM
68372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6622e416
SM
6839 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6840 Reported by Noah Friedman.
6841
088be6fb
SM
6842 * subr.el (read-passwd): Use read-string.
6843
b49f886e
LMI
68442012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6845
6846 * vcursor.el (vcursor-move): Increase the priority of the overlay
6847 (bug#9663).
6848
a63067fc
DD
68492012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6850
6851 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6852 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6853
ac3cf14a
WS
68542012-04-11 William Stevenson <yhvh2000@gmail.com>
6855
6856 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6857 define-minor-mode (bug#10760).
6858
c4fc691b 68592012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 6860
4d6769e1 6861 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
6862 that directories matching `grep-find-ignored-files' won't be
6863 pruned (bug#10351).
6864
af23e2e5
CY
68652012-04-11 Chong Yidong <cyd@gnu.org>
6866
6867 * startup.el (command-line): Remove support for long-obsolete
6868 variable font-lock-face-attributes.
6869
ab7ce8c1
GM
68702012-04-11 Glenn Morris <rgm@gnu.org>
6871
6872 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6873
de8c03dc
SM
68742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * window.el (window--state-get-1): Obey window-point-insertion-type.
6877
050cc68b
LB
68782012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6879
6880 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6881 to previous function when point is on the first character of a
75f1671a 6882 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 6883
a38c310c
GM
68842012-04-11 Glenn Morris <rgm@gnu.org>
6885
effed0c2
GM
6886 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6887 not just file-errors.
6888
a38c310c
GM
6889 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6890 (vc-bzr-sha1): Use internal sha1.
6891
0221e323
SM
68922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6895
43956923
SG
68962012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6897
6898 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6899 that start in the middle of the line (bug#10496).
6900
6a8c9eaf
DN
69012012-04-10 Dan Nicolaescu <dann@gnu.org>
6902
6903 * battery.el (battery-linux-proc-acpi): Only one battery is
6904 discharged at a time, but that seems to confuse battery.el when
6905 computing `rate-type' for the battery not being discharged
6906 (bug#10332).
6907
1930bf5d
SM
69082012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6909
2a718f6f
SM
6910 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6911
599430d0
SM
6912 * international/quail.el: Use dolist and simplify.
6913 (quail-define-package, quail-update-keyboard-layout)
6914 (quail-define-rules): Use dolist.
6915 (quail-insert-kbd-layout, quail-get-translation): CSE.
6916
a2754b6c
SM
6917 * tmm.el: Use dolist, remove left over hook.
6918 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6919 Use dolist.
6920 (calendar-load-hook): Don't mess with it.
6921
1930bf5d
SM
6922 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6923 Use derived-mode-p. Run the diff asynchronously.
6924
9f67961c
LMI
69252012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6926
6927 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6928
2a8ce227
JB
69292012-04-10 Juanma Barranquero <lekktu@gmail.com>
6930
6931 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6932 (list-dynamic-libraries--loaded): New function.
6933 (list-dynamic-libraries--refresh): Use it.
6934
8f33b5f8
NW
69352012-04-10 Nathan Weizenbaum <nweiz@google.com>
6936
1930bf5d
SM
6937 * progmodes/python.el (python-fill-paragraph):
6938 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
6939 disabled (bug#7018).
6940
b12f0439
L
69412012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
6942
1930bf5d 6943 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
6944 DOS/MS Windows for the Baltic languages. There are still plenty
6945 of texts written in this encoding/codepage (bug#6519).
b12f0439 6946
57c3bd01
GM
69472012-04-10 Glenn Morris <rgm@gnu.org>
6948
6949 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6950 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6951
6c3eab30
FA
69522012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6953
1930bf5d 6954 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
6955 next-line "n" and previous-line "p" in order to make recentf more
6956 consistent with ibuffer, dired or org-mode (bug#9387).
6957
24d78a88
LMI
69582012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6959
bc72b5d9
LMI
6960 * image.el (put-image): Return the overlay created instead of the
6961 optional input string (bug#7834). Note that this may break code
6962 that is (for some reason or other) depending on `put-image'
6963 returning the string.
6964
bd2dba5a
LMI
6965 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6966
74beb59f
LMI
6967 * simple.el (zap-to-char): Allow zapping using input methods
6968 (bug#1580).
6969
24d78a88
LMI
6970 * textmodes/fill.el (fill-region): Leave point and mark where they
6971 were before filling (bug#5399).
6972
263f20cd
GM
69732012-04-09 Glenn Morris <rgm@gnu.org>
6974
6975 * version.el (emacs-bzr-get-version):
6976 Handle lightweight checkouts of local branches.
6977
58d1f797
AS
69782012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6979
263f20cd 6980 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 6981
b4d3bc10
CY
69822012-04-09 Chong Yidong <cyd@gnu.org>
6983
6984 * custom.el (custom-variable-p): Return nil for non-symbol
6985 arguments instead of signaling an error.
6986 (user-variable-p): Obsolete alias for custom-variable-p.
6987
6988 * apropos.el (apropos-variable):
6989 * files-x.el (read-file-local-variable):
6990 * simple.el (set-variable):
6991 * woman.el (woman-mini-help):
6992 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6993
fd06db5d
GM
69942012-04-09 Glenn Morris <rgm@gnu.org>
6995
e5fcdb5e
GM
6996 * startup.el (normal-top-level): Don't look for leim-list.el
6997 in places where it will not be found. (Bug#910)
6998
fd06db5d
GM
6999 * international/mule-cmds.el (set-default-coding-systems):
7000 * files.el (normal-mode):
7001 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7002 This function was removed with ucs-tables.el in 2008.
7003
b39bb7e1
EZ
70042012-04-08 Eli Zaretskii <eliz@gnu.org>
7005
7006 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7007 ispell-encoding8-command to "-i", without a trailing space.
7008 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7009 separate command-line arguments, to specify the encoding, since
7010 that's how hunspell expects it.
7011
5c5b8e23
GM
70122012-04-08 Glenn Morris <rgm@gnu.org>
7013
7014 * loadup.el: Load bindings before cus-start.
7015 This reduces somewhat the number of "rogue" settings in emacs -Q.
7016
a1ed8b05
GM
70172012-04-07 Glenn Morris <rgm@gnu.org>
7018
7019 * version.el (emacs-bzr-get-version): New function.
dfae128a 7020 (emacs-bzr-version): New variable.
a1ed8b05
GM
7021 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7022 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7023
b142f158
EZ
70242012-04-07 Eli Zaretskii <eliz@gnu.org>
7025
dfae128a
GM
7026 * international/uni-bidi.el, international/uni-category.el:
7027 * international/uni-combining.el, international/uni-decimal.el:
7028 * international/uni-decomposition.el, international/uni-digit.el:
7029 * international/uni-lowercase.el, international/uni-mirrored.el:
7030 * international/uni-name.el, international/uni-numeric.el:
7031 * international/uni-titlecase.el, international/uni-uppercase.el:
7032 Update for Unicode 6.1.
b142f158 7033
9078ead6
EZ
70342012-04-07 Eli Zaretskii <eliz@gnu.org>
7035
7036 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7037
f23d2c7d
LMI
70382012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7039
7040 * window.el (shrink-window): Mention the `window-min-height'
7041 variable in the doc string.
7042
0a0a3573
BG
70432012-04-05 Bastien Guerry <bzg@altern.org>
7044
7045 * color.el (color-lighten-name): Fix typo.
7046
e5248ac9
SM
70472012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * server.el (server--on-display-p): New function.
7050 (server--on-display-p): Use it.
7051
b4243e22
GV
70522012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7053
7054 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7055 (bug#11145).
7056
305d9f44
SM
70572012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * comint.el (comint--common-quoted-suffix): Check string boundary
7060 before comparing (bug#11158).
7061 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7062
3d439cd1
CY
70632012-04-04 Chong Yidong <cyd@gnu.org>
7064
321cc491
CY
7065 * minibuffer.el (completion-extra-properties): Doc fix.
7066
3d439cd1
CY
7067 * subr.el (delayed-warnings-hook): Doc fix.
7068
2d562c0f
DU
70692012-04-04 Daiki Ueno <ueno@unixuser.org>
7070
7071 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7072 selection (Bug#11159).
7073 (epa-insert-keys): Inform that the default public key will be
7074 exported if no key is selected.
7075
4443f204
RS
70762012-04-04 Richard Stallman <rms@gnu.org>
7077
7078 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7079
529c06b6
CY
70802012-04-03 Chong Yidong <cyd@gnu.org>
7081
7082 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7083 mail-insert-file, not its obsolete alias mail-attach-file.
7084
66b907dc
MA
70852012-04-03 Michael Albinus <michael.albinus@gmx.de>
7086
7087 * notifications.el (notifications-notify): Fix docstring.
7088
c0ea195d
GM
70892012-04-02 Glenn Morris <rgm@gnu.org>
7090
7091 * emacs-lisp/authors.el (authors-aliases): Another addition.
7092
5ca64e00
MA
70932012-04-02 Michael Albinus <michael.albinus@gmx.de>
7094
7095 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7096 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7097 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7098
42ee526b
CY
70992012-04-01 Chong Yidong <cyd@gnu.org>
7100
7101 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7102 Handle root directory properly.
7103 (copy-directory): Caller changed.
7104
7105 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7106 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7107
0b021094
GM
71082012-03-31 Glenn Morris <rgm@gnu.org>
7109
40f86458
GM
7110 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7111
7019c177
GM
7112 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7113
a1daddd6
GM
7114 * calendar/calendar.el (calendar-window-list)
7115 (calendar-hide-window): Restore. (Bug#11140)
7116 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7117
0b021094
GM
7118 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7119
40311efc
TV
71202012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7121
7122 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7123 Check if file is a symlink (Bug#10489).
7124
7125 * files.el (copy-directory): Likewise.
7126
5319014e
CY
71272012-03-30 Chong Yidong <cyd@gnu.org>
7128
7129 * image.el (imagemagick-types-inhibit)
7130 (imagemagick-register-types): Doc fix.
7131
935d1290
AM
71322012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7133
090bd7cb 7134 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7135 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7136 and treats ~word as ordinary words in pipe mode.
935d1290 7137
61c6e8fd
GM
71382012-03-30 Glenn Morris <rgm@gnu.org>
7139
7140 * tutorial.el (help-with-tutorial): Ensure local variables don't
7141 happen to make the buffer read-only. (Bug#11127)
7142
81fdff00
SM
71432012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7146 (perl-calculate-indent): Return `noindent' in strings.
7147
6e7a6ec0
SS
71482012-03-28 Sam Steingold <sds@gnu.org>
7149
7150 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7151 instead of the broken adhockery which does not prevent calendar
7152 buffers from being displayed at random after exit.
7153 (calendar-window-list, calendar-hide-window): Remove the broken
7154 adhockery.
7155
fee88ca0
GM
71562012-03-28 Glenn Morris <rgm@gnu.org>
7157
7158 * replace.el (query-replace-map): Doc fix.
7159
38de3354
AS
71602012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7161
7162 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7163 contents. (Bug#11109)
7164
b973155e
SM
71652012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7166
7167 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7168 (bug#11077).
7169 (avl-tree--check, avl-tree--check-node): New funs.
7170
dcb6e7b3
MR
71712012-03-27 Martin Rudalics <rudalics@gmx.at>
7172
7173 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7174 (switch-to-prev-buffer, switch-to-next-buffer):
7175 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7176 showing a buffer already is done on the same frame.
7177
b4fa35fa
GM
71782012-03-27 Glenn Morris <rgm@gnu.org>
7179
7180 * startup.el (mail-host-address): Doc fix.
7181
f9210e18
SM
71822012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7185 than 197 variables.
7186
c0bf7753
AF
71872012-03-26 Ami Fischman <ami@fischman.org>
7188
7189 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7190
33da7b16
GM
71912012-03-26 Glenn Morris <rgm@gnu.org>
7192
02243d9d
GM
7193 * files.el (save-buffers-kill-emacs): Doc fix.
7194
33da7b16
GM
7195 * startup.el (normal-top-level, command-line, command-line-1):
7196 Give them doc strings.
7197
e5a69fd0
EZ
71982012-03-25 Eli Zaretskii <eliz@gnu.org>
7199
7200 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7201 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7202
9a69676a
CY
72032012-03-25 Chong Yidong <cyd@gnu.org>
7204
4125cb8b
CY
7205 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7206 theme if it was previously enabled before (Bug#11031).
7207
dd470960
CY
7208 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7209 spec with custom-face-get-current-spec if its :shown-value is not
7210 determined yet (Bug#9337).
4125cb8b 7211 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7212
9a69676a
CY
7213 * button.el (button-at): Minor addition to docstring.
7214
6e7e90fa
SL
72152012-03-24 Simon Leinen <simon.leinen@gmail.com>
7216
7217 * vc/vc.el (vc-merge): Fix a prompt.
7218
f06e2758
CY
72192012-03-24 Chong Yidong <cyd@gnu.org>
7220
7221 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7222 point (Bug#9623).
7223
6e7e90fa
SL
7224 * button.el (button-at): Minor addition to docstring.
7225
b9d0879b
SM
72262012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * newcomment.el (comment-choose-indent): No space after BOL.
7229
e71cebb3
SS
72302012-03-22 Sam Steingold <sds@gnu.org>
7231
7232 * window.el (switch-to-prev-buffer): Revert last patch because the
7233 bug turned out to be an advertised feature (Elisp manual 28.14).
7234
335aff35
GM
72352012-03-22 Glenn Morris <rgm@gnu.org>
7236
7237 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7238 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7239
c676576a
LMI
72402012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241
7242 * net/network-stream.el (network-stream-open-starttls): Make error
7243 message under Windows be less misleading.
7244
126f3d39
LW
72452012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7246
7247 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7248 understands (bug#9942).
7249
64fee311
CY
72502012-03-22 Chong Yidong <cyd@gnu.org>
7251
7252 * simple.el (end-of-visible-line): Handle return value of
7253 next-single-property-change properly (Bug#9371).
7254
a640d29a
KH
72552012-03-22 Kenichi Handa <handa@m17n.org>
7256
7257 * international/quail.el (quail-insert-kbd-layout): Fix previous
7258 change. To avoid unwanted bidi reordering, use
7259 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7260
39675016
DG
72612012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7262
7263 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7264 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7265 (ruby-beginning-of-indent): Be more careful with the difference
7266 between word-boundary and symbol boundary.
7267 (ruby-mode-syntax-table): Make : a symbol constituent.
7268
0a6934fc 72692012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7270
3d008e4f
SM
7271 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7272
0a6934fc
SM
72732012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7274
af67c9d7
SM
7275 * progmodes/etags.el (tags-completion-at-point-function):
7276 Improve last fix.
7277
1acad97c
SM
7278 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7279
e298b5da
SS
72802012-03-21 Sam Steingold <sds@gnu.org>
7281
7282 * progmodes/etags.el (tags-completion-at-point-function):
7283 Avoid the error when point is inside the pattern.
7284
91d82a70
JY
72852012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7286
7287 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7288 line (Bug#10855).
7289
69188b79
CY
72902012-03-21 Drew Adams <drew.adams@oracle.com>
7291
7292 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7293
99fc91fe
AK
72942012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7295
7296 * ido.el (ido-set-current-directory, ido-read-internal)
7297 (ido-choose-completion-string, ido-completion-help): Handle nil
7298 value of ido-completion-buffer (Bug#11008).
7299
087bbb4c
SS
73002012-03-21 Sam Steingold <sds@gnu.org>
7301
7302 * window.el (switch-to-prev-buffer): Do not switch to a visible
7303 window previous buffer, just like with the frame previous buffers.
7304
fb5b8aca
CY
73052012-03-21 Chong Yidong <cyd@gnu.org>
7306
7307 * faces.el (make-face, make-empty-face, copy-face):
7308 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7309 Doc fixes.
7310
dc9924b8
SM
73112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7314 (widget-complete): Remove broken use of it.
7315
f0bcceb9
CY
73162012-03-20 Chong Yidong <cyd@gnu.org>
7317
dc9924b8
SM
7318 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7319 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7320 characters.
7321
ee52ebf3
TH
73222012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7323
7324 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7325 to draw rectangles, not squares. (Regression introduced by revno
7326 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7327
4c5779ab
CY
73282012-03-18 Chong Yidong <cyd@gnu.org>
7329
7330 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7331 it is not yet defined (for temacs).
7332
15360934
LL
73332012-03-18 Leo Liu <sdl.web@gmail.com>
7334
dc9924b8 7335 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7336
d9a8eb66
EZ
73372012-03-17 Eli Zaretskii <eliz@gnu.org>
7338
7339 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7340 (ispell-choices-win-default-height, ispell-silently-savep)
7341 (ispell-dictionary-alist, ispell-encoding8-command)
7342 (ispell-check-version, ispell-aspell-find-dictionary)
7343 (ispell-valid-dictionary-list, ispell-words-keyword)
7344 (ispell-get-word, ispell-internal-change-dictionary)
7345 (ispell-region, ispell-skip-region-list)
7346 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7347 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7348 (ispell-message-text-end, ispell-message)
7349 (ispell-buffer-local-parsing): Doc fix.
7350
f02ff80d
J
73512012-03-13 Jambunathan K <kjambunathan@gmail.com>
7352
7353 * htmlfontify.el: Add support for code block fontification for ODT
7354 export (Bug #9914).
7355 (hfy-optimisations): Define new option
7356 `body-text-only'
7357 (hfy-fontify-buffer): Honor above setting.
7358 (hfy-begin-span, hfy-end-span): New routines factored out form
7359 `hfy-fontify-buffer'.
7360 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7361 that permit insertion of custom tags.
7362 (hfy-fontify-buffer): Use above handlers.
7363 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7364 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7365 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7366 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7367 bind a special variable `hfy-user-sheet-assoc'.
7368 (htmlfontify-string): New defun.
7369 (hfy-compile-face-map): Make sure that the last char in the
7370 buffer is correctly fontified.
7371 (hfy-face-resolve-face): Whitespace only change.
7372
9ac7a13f
EZ
73732012-03-17 Eli Zaretskii <eliz@gnu.org>
7374
7375 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7376 message more clear.
7377
e2b5bdd7
LL
73782012-03-16 Leo Liu <sdl.web@gmail.com>
7379
7380 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7381
2e492df3
AM
73822012-03-16 Alan Mackenzie <acm@muc.de>
7383
7384 Further optimise the handling of large macros.
7385
7386 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7387 limit to a call of `c-literal-limits'.
7388 (c-determine-+ve-limit): New function.
dc9924b8
SM
7389 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7390 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7391 In CASE 5B, restrict a search limit to 500.
7392 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7393
7394 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7395 Restrict macro bounds to +-500 from after-change's BEG END.
7396
50e94f0c
LL
73972012-03-16 Leo Liu <sdl.web@gmail.com>
7398
7399 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7400
6f09f6ed
AH
74012012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7402
7403 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7404 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7405
c7e73d51
GM
74062012-03-16 Glenn Morris <rgm@gnu.org>
7407
da986230
GM
7408 * view.el (view-buffer, view-buffer-other-window)
7409 (view-buffer-other-frame): Doc fixes re special mode-class.
7410
0835f01e
GM
7411 * subr.el (eval-after-load): If named feature is provided not from
7412 a file, run after-load forms. (Bug#10946)
7413
c7e73d51
GM
7414 * calendar/calendar.el (calendar-insert-at-column):
7415 Handle non-unit-width characters a bit better. (Bug#10978)
7416
3f2eafd1
CY
74172012-03-15 Chong Yidong <cyd@gnu.org>
7418
7419 * emacs-lisp/ring.el (ring-extend): New function.
7420 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7421
7422 * comint.el (comint-read-input-ring)
7423 (comint-add-to-input-history): Grow comint-input-ring lazily.
7424
103af3fe
SM
74252012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7426
663b1677
SM
7427 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7428 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7429
103af3fe
SM
7430 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7431 (imenu-add-to-menubar): Don't add a redundant index.
7432 (imenu-update-menubar): Handle a dynamically composed keymap.
7433
899cb7cb
KY
74342012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7435
7436 * mail/sendmail.el (mail-encode-header):
7437 Bind rfc2047-encode-encoded-words to nil.
7438
3809f91d
GM
74392012-03-13 Glenn Morris <rgm@gnu.org>
7440
7441 * calendar/calendar.el (calendar-string-spread):
7442 Handle non-unit-width characters a bit better. (Bug#10978)
7443
9e345a01
LL
74442012-03-13 Leo Liu <sdl.web@gmail.com>
7445
7446 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7447 directory and file as argument (Bug#10822).
7448
4a07df36
KS
74492012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7450
7451 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7452 For dynamically generated code, follow $PC.
7453 (gdb-disassembly-handler-custom): Handle no function name case.
7454
4aaa9356
TL
74552012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7456
7457 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7458 * emulation/ws-mode.el (ws-query-replace):
7459 * sort.el (sort-regexp-fields):
7460 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7461
225979da
SM
74622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * dabbrev.el: Fix cycle completion order (bug#10963).
7465 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7466 (dabbrev-completion): Don't use an obarray; provide
7467 a cycle-sort-function.
7468
e2f1fdab
LL
74692012-03-12 Leo Liu <sdl.web@gmail.com>
7470
dc9924b8 7471 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7472 (kill-do-not-save-duplicates): Doc fix.
7473
b19490ed
SM
74742012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * dabbrev.el: Fix cycle completion (bug#10963).
7477 Use lexical binding and wrap to 80 columns.
7478 (dabbrev-completion): Delay computing the list of completions.
7479
4b05d722
KH
74802012-03-12 Kenichi Handa <handa@m17n.org>
7481
7482 * international/quail.el (quail-insert-kbd-layout): Surround each
7483 row by LRO and PDF instead of inserting many LRMs. Pad the left
7484 and right of each non-spacing marks. Insert invisible space
7485 between lower and upper characters to prevent composition.
7486
dbbc2e69
SM
74872012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * minibuffer.el (minibuffer-complete): Don't get confused when the
7490 function is run twice via different commands (bug#10958).
7491 (complete-with-action): Fix docstring.
7492
292112ed
CY
74932012-03-12 Chong Yidong <cyd@gnu.org>
7494
5d1ac394
CY
7495 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7496 (nxml-completion-at-point-function): New function.
7497 (nxml-mode): Use it.
7498 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7499
292112ed
CY
7500 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7501 Load generated autoloads file before byte compiling (Bug#10970).
7502 (package--make-autoloads-and-compile): New helper fun.
7503
4098f8f7
CS
75042012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7505
7506 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7507
8f754691
MA
75082012-03-11 Michael Albinus <michael.albinus@gmx.de>
7509
7510 * autorevert.el (auto-revert-handler): Ensure, that
7511 file-readable-p is applied only for local files or in
7512 auto-revert-tail-mode.
7513
e29ab36b
AS
75142012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7515
dbbc2e69
SM
7516 * server.el (server-eval-at): Handle non-tcp connections.
7517 Decode result string.
ad0bf5b6 7518
e29ab36b
AS
7519 * server.el (server-msg-size): New constant.
7520 (server-reply-print): New function.
7521 (server-eval-and-print): Use it.
7522 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7523 Handle -print-nonl.
7524
de5939ba
CS
75252012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7526
7527 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7528 (Bug#10987).
7529
0c93eabf
CY
75302012-03-11 Chong Yidong <cyd@gnu.org>
7531
397a688f
CY
7532 * simple.el (goto-line): Doc fix (Bug#9938).
7533
2cc775f9
CY
7534 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7535
0c93eabf
CY
7536 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7537 when finished (Bug#10963).
7538
c491fa41
MR
75392012-03-11 Martin Rudalics <rudalics@gmx.at>
7540
7541 * window.el (split-window-below): Fix bug in case where
7542 split-window-keep-point is nil (Bug#10971).
7543
300e8fa5
JL
75442012-03-11 Juri Linkov <juri@jurta.org>
7545
7546 * replace.el (replace-highlight): Set isearch-word to nil
7547 unconditionally. (Bug#10887)
7548
dbf6c5a1
EZ
75492012-03-10 Eli Zaretskii <eliz@gnu.org>
7550
7551 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7552 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7553 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7554 (mairix-widget-create-query): Add usage information about mairix
7555 search forms: negating words, searching for substrings, etc.
7556
b9e501de
JP
75572012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7558
7559 * international/fontset.el (font-encoding-alist): Add an entry for
7560 ksx1001 (Bug#5667).
7561
92795c91
RS
75622012-03-10 Richard Stallman <rms@gnu.org>
7563
1694e6c1
RS
7564 * mail/sendmail.el (mail-encode-header):
7565 Set rfc2047-encode-encoded-words.
7566
607e8555
RS
7567 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7568
de3bc99a
RS
7569 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7570 view buffer means not swapped.
7571 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7572 (rmail-write-region-annotate): Error if real text has disappeared.
7573
92795c91
RS
7574 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7575
699bd04e
CY
75762012-03-10 Chong Yidong <cyd@gnu.org>
7577
7578 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7579 * emulation/cua-base.el (cua--init-keymaps):
7580 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7581
570a1714
MR
75822012-03-10 Martin Rudalics <rudalics@gmx.at>
7583
dbbc2e69
SM
7584 * speedbar.el (speedbar-unhighlight-one-tag-line):
7585 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7586
82dcf4e4
CY
75872012-03-10 Chong Yidong <cyd@gnu.org>
7588
7a2c7ca7
CY
7589 * minibuffer.el (completion-in-region, completion-help-at-point):
7590 Give the completion field overlay a high priority (Bug#6830).
7591
82dcf4e4
CY
7592 * dired.el (dired-goto-file): Recognize absolute file name
7593 listings (Bug#7126).
7594 (dired-goto-file-1): New helper function.
7595 (dired-toggle-read-only): Inhibit warnings.
7596
052e28ac
MA
75972012-03-09 Michael Albinus <michael.albinus@gmx.de>
7598
75f1671a 7599 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7600 there are no properties.
7601
95d5e396
LL
76022012-03-09 Leo Liu <sdl.web@gmail.com>
7603
7604 * savehist.el (savehist-printable): Stricter check for string
7605 value (Bug#10937).
7606
3f018d6d
EZ
76072012-03-09 Eli Zaretskii <eliz@gnu.org>
7608
dbbc2e69
SM
7609 * mail/smtpmail.el (smtpmail-send-it):
7610 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7611 valid mbox format.
7612
f7fd3d79
GM
76132012-03-09 Glenn Morris <rgm@gnu.org>
7614
7615 * files.el (dir-locals-find-file):
7616 Don't check result is regular, readable.
7617 (dir-locals-read-from-file): Demote errors.
7618
6ff6e72f
EZ
76192012-03-08 Eli Zaretskii <eliz@gnu.org>
7620
dbbc2e69
SM
7621 * international/quail.el (quail-insert-kbd-layout):
7622 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7623 layout cell, to prevent their reordering by bidi display engine.
7624 For details, see the discussion in
7625 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7626
9cec7834
AM
76272012-03-08 Alan Mackenzie <acm@muc.de>
7628
7629 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7630 the starting position; make it extend the marked region when
7631 invoked repeatedly - all under appropriate circumstances.
7632 Fixes bugs #5525, #10906.
7633
9a40b8d4
GM
76342012-03-08 Glenn Morris <rgm@gnu.org>
7635
7636 * files.el (locate-dominating-file, dir-locals-find-file):
7637 Undo 2012-03-06 change.
7638
7a08ed35
EZ
76392012-03-07 Eli Zaretskii <eliz@gnu.org>
7640
dbbc2e69
SM
7641 * international/quail.el (quail-help):
7642 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7643 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7644 for the reason.
7645
5aca4f71 76462012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7647
7648 Avoid superfluous registering of signals. (Bug#10807)
7649
7650 * notifications.el (notifications-on-action-object)
7651 (notifications-on-close-object): New defvars.
7652 (notifications-on-action-signal, notifications-on-closed-signal):
7653 Unregister the signal if not needed any longer.
7654 (notifications-notify): Register `notifications-action-signal' or
7655 `notifications-closed-signal', if :on-action or :on-close has been
7656 passed as argument.
7657
78e8b10a
CY
76582012-03-07 Chong Yidong <cyd@gnu.org>
7659
7660 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7661 non-X platforms.
7662
69481eb8
GM
76632012-03-06 Glenn Morris <rgm@gnu.org>
7664
7665 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7666 (x-disown-selection-internal, x-get-selection-internal):
7667 Doc fix (add arglist signatures). (Bug#10783)
7668
133b8e11
KS
76692012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7670
7671 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7672 Handle breakpoints with no "type".
7673
99a83064
GM
76742012-03-06 Glenn Morris <rgm@gnu.org>
7675
7676 * files.el (locate-dominating-file): Add optional predicate argument.
7677 (dir-locals-find-file): Make use of above change.
7678
17798e78
TTN
76792012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7680
7681 * info.el (Info-insert-dir): Also try "dir.gz".
7682
eb182446
GM
76832012-03-06 Glenn Morris <rgm@gnu.org>
7684
8f2114ee
GM
7685 * files.el (dir-locals-find-file):
7686 Ignore non-readable or non-regular files. (Bug#10928)
7687
eb182446
GM
7688 * files.el (locate-dominating-file): Doc fix.
7689
24679323
AS
76902012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7691
7692 * calendar/calendar.el (calendar-set-mode-line):
7693 `getenv' returns a string. (Bug#10951)
7694
01d972a9
LL
76952012-03-05 Leo Liu <sdl.web@gmail.com>
7696
109aa8a9
LL
7697 * simple.el (backward-delete-char-untabify): Constrain point to
7698 field (Bug#10939).
7699
01d972a9
LL
7700 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7701
10607bea
CY
77022012-03-05 Chong Yidong <cyd@gnu.org>
7703
7704 * simple.el (count-words): If called from Lisp, return the word
7705 count, for symmetry with `count-lines'. Arglist changed.
7706 (count-words--message): Args changed. Consolidate counting code
7707 from count-words and count-words-region.
7708 (count-words-region): Caller changed.
7709 (count-lines-region): Make it an obsolete alias.
7710
5dd11cfe
TH
77112012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7712
7713 * saveplace.el (save-place-to-alist)
7714 (save-place-ignore-files-regexp): Allow value nil to disable this
7715 feature.
7716
c349f4e6
CY
77172012-03-04 Chong Yidong <cyd@gnu.org>
7718
7719 * faces.el (face-spec-reset-face): For the default face, reset the
7720 attributes to default values (Bug#10748).
7721
e627be4c
LMI
77222012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7723
7724 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7725 previous patch: Check `message-send-mail-function', and not the
7726 default function (bug#10897).
7727
ebeabff4
MA
77282012-03-04 Michael Albinus <michael.albinus@gmx.de>
7729
a41a6cf4
MA
7730 * notifications.el (notifications-on-action-signal)
7731 (notifications-on-closed-signal): Check for unique service name of
7732 incoming event. Fix error in removing entry.
ebeabff4 7733 (top): Register for signals with wildcard service name.
a41a6cf4 7734 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7735
c1ca42b4
CY
77362012-03-04 Chong Yidong <cyd@gnu.org>
7737
dc9924b8 7738 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7739
ea16568d
GM
77402012-03-04 Glenn Morris <rgm@gnu.org>
7741
7742 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7743 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7744 (expand-abbrev, define-abbrev-table): Doc fixes.
7745
fbae4637
LMI
77462012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7747
7748 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7749 `message-default-send-mail-function' and not `send-mail-function'
7750 when doing the prompting for `sendmail-query-once' before sending
7751 in Message buffers (bug#10897).
7752
a1e7225c
LMI
7753 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7754 This is inconsistent with all the other stream functions, which leave
7755 the setting up to the higher levels (if so wanted) (bug#10931).
7756
56d093a9
AM
77572012-03-02 Alan Mackenzie <acm@muc.de>
7758
7759 Depessimize the handling of very large macros.
7760
7761 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7762 (c-macro-cache-syntactic): New variables to implement a one
7763 element macro cache.
7764 (c-invalidate-macro-cache): New function.
7765 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7766 Adapt to use the new cache.
7767 (c-state-safe-place): Use better the cache of safe positions.
7768 (c-state-semi-nonlit-pos-cache)
7769 (c-state-semi-nonlit-pos-cache-limit):
7770 New variables for...
7771 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7772 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7773 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7774 Use c-state-semi-safe-place.
56d093a9 7775
dbbc2e69
SM
7776 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7777 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7778
817e5c3d
MA
77792012-03-02 Michael Albinus <michael.albinus@gmx.de>
7780
dbbc2e69
SM
7781 * jka-compr.el (jka-compr-call-process):
7782 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7783 not remote.
7784
a032a702
MA
77852012-03-01 Michael Albinus <michael.albinus@gmx.de>
7786
7787 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7788 access of FILE2, if FILE1 does not exist.
7789
99a54f21
MA
7790 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7791 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7792
7793 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7794 Add "PAGER=" to `process-environment'.
7795
f6561e1f
MM
77962012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7797
7798 * progmodes/sql.el: Bug fix
7799 (sql-get-login-ext): Save login values in globals.
7800 (sql-get-login): Use new version of `sql-get-login-ext'.
7801 (sql-interactive-mode): Set global `sql-connection' to nil.
7802 (sql-connect): Set global values for connection.
7803 (sql-product-interactive): Save global values as buffer local.
7804
2d44d9cc
LL
78052012-02-29 Leo Liu <sdl.web@gmail.com>
7806
7807 * abbrev.el (define-abbrevs): Reset sys to nil.
7808
96b49301 78092012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7810
bf7f9bc5
JB
7811 * files.el (file-equal-p): Rename from `files-equal-p'.
7812 Return nil when one or both files don't exist.
96b49301 7813 (file-subdir-of-p): Now only top directory must exists,
7814 return nil if it doesn't.
bf7f9bc5
JB
7815 (copy-directory): No need to test with `file-subdir-of-p' after
7816 creating dir.
7817 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7818 to `file-equal-p'.
96b49301 7819
44e97401
GM
78202012-02-28 Glenn Morris <rgm@gnu.org>
7821
7822 * shell.el (shell-mode):
7823 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7824 * play/landmark.el (landmark-font-lock-face-O):
7825 * play/handwrite.el (handwrite):
7826 * play/gomoku.el (gomoku-O):
7827 * net/browse-url.el (browse-url-browser-display):
7828 * international/mule.el (define-charset):
7829 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7830 * filesets.el (filesets-find-file-delay):
7831 * eshell/em-xtra.el (eshell-xtra):
7832 * eshell/em-unix.el (eshell-grep):
7833 * emulation/viper.el (viper-mode):
7834 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7835 * emacs-lisp/easymenu.el (easy-menu-define):
7836 * calendar/timeclock.el (timeclock-use-display-time):
7837 * bs.el (bs-mode):
7838 * bookmark.el (bookmark-save-flag):
7839 Doc fix (standardize possessive apostrophe usage).
7840
c98c6276
CY
78412012-02-27 Chong Yidong <cyd@gnu.org>
7842
bf7f9bc5
JB
7843 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7844 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 7845
c98c6276
CY
7846 * font-lock.el (font-lock-specified-p): Rename from
7847 font-lock-spec-present. Callers changed.
7848
9c62cd04 78492012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 7850
bf7f9bc5
JB
7851 * emacs-lisp/package.el (package-compute-transaction):
7852 Handle holding a package version to t in package-load-list.
8ac9e529 7853
530739c9
MA
78542012-02-26 Michael Albinus <michael.albinus@gmx.de>
7855
7856 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7857 (tramp-get-inode, tramp-get-device): Use cached values.
7858
487915d7
AM
78592012-02-26 Alan Mackenzie <acm@muc.de>
7860
7861 Check there is a font-lock specification before doing initial
7862 fontification.
7863
7864 * font-core.el (font-lock-mode): Move the conditional from
7865 :after-hook to font-lock-initial-fontify.
7866 (font-lock-default-function): Move the check for a specification
7867 to font-lock-spec-present.
7868
dc9924b8 7869 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
7870 (font-lock-spec-present): New function.
7871
4fd96557
JB
78722012-02-26 Jim Blandy <jimb@red-bean.com>
7873
7874 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7875 (gdb-send): Apply it to the operand of the '-interpreter-exec
7876 console' command, so that we can pass arguments with (say) quotes
7877 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7878
9a4888c0
CY
78792012-02-26 Chong Yidong <cyd@gnu.org>
7880
07498861
CY
7881 * help-fns.el (describe-function-1): Clarify description of
7882 remapping (Bug#10844).
7883
9a4888c0
CY
7884 * files.el (files-equal-p): Doc fix.
7885 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7886 and quit the loop once a mismatch is found.
7887
ea8fb88d
JB
78882012-02-25 Juanma Barranquero <lekktu@gmail.com>
7889
7890 * bs.el (bs--show-with-configuration): Don't throw an error
7891 if the window cannot be split; otherwise, subsequent calls to
7892 bs-show fail, restoring a stale window config. (Bug#10882)
7893
525795c1
JD
78942012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7895
7896 * term/ns-win.el (global-map): Bind ns-drag-file to
7897 ns-find-file (Bug#5855, Bug#10050).
7898
f008086f
AS
78992012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7900
7901 * calendar/parse-time.el (parse-time-string): Allow extractor to
7902 return nil.
7903
a3fcfa99
MA
79042012-02-25 Michael Albinus <michael.albinus@gmx.de>
7905
91027d08
JB
7906 * net/tramp.el (tramp-file-name-for-operation):
7907 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
7908
7909 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
7910 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7911 Add COPY-CONTENTS argument.
a3fcfa99 7912
67b0de11
CY
79132012-02-25 Chong Yidong <cyd@gnu.org>
7914
7915 Add custom groups for VC backends, for consistency with vc-bzr.
7916
7917 * vc/vc-arch.el (vc-arch):
7918 * vc/vc-cvs.el (vc-cvs):
7919 * vc/vc-git.el (vc-git):
7920 * vc/vc-hg.el (vc-hg):
7921 * vc/vc-mtn.el (vc-mtn):
7922 * vc/vc-rcs.el (vc-rcs):
7923 * vc/vc-sccs.el (vc-sccs):
7924 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7925 All relevant defcustoms reassigned.
7926
3c9dfce6
CY
79272012-02-25 Chong Yidong <cyd@gnu.org>
7928
1339bf43
CY
7929 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7930
3c9dfce6
CY
7931 * term/x-win.el (x-initialize-window-system): Reduce default for
7932 x-selection-timeout to 5 seconds (Bug#8869).
7933
25b2e303 79342012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7935
ec70a47d
GM
7936 * files.el (files-equal-p, file-subdir-of-p): New functions.
7937 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 7938 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
7939 * dired-aux.el (dired-copy-file-recursive): Same.
7940 (dired-create-files): Modify destination when source is equal to
7941 dest when copying files.
53a46cd0 7942 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 7943
914260cd
MA
79442012-02-24 Michael Albinus <michael.albinus@gmx.de>
7945
7946 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7947 (Bug#10874)
7948
2cb228f7
AM
79492012-02-23 Alan Mackenzie <acm@muc.de>
7950
7951 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7952 parameter "after-hook:" to allow the expansion to run code after
7953 the execution of the mode hooks.
7954
7955 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 7956 from font-lock-mode-internal.
2cb228f7 7957
91027d08 7958 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
7959 :after-hook.
7960
8f0fde21
SM
79612012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7962
3e88618b
SM
7963 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7964 (completion--cache-all-sorted-completions): New function.
7965 (completion-all-sorted-completions): Use it.
7966 (completion--do-completion, minibuffer-force-complete):
7967 Use it to re-instate the flush hook.
7968
8f0fde21
SM
7969 * icomplete.el (icomplete-completions): Replace last fix with a better
7970 one (bug#10850).
7971
8e911f6f
DG
79722012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7973
7974 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7975 when it might call us back infinitely (bug#10797).
7976
49fe4321
GM
79772012-02-23 Glenn Morris <rgm@gnu.org>
7978
7979 * minibuffer.el (completion-category-overrides): Doc fix.
7980
b291b572
SM
79812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7984 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7985
31a9ef2e
GM
79862012-02-23 Glenn Morris <rgm@gnu.org>
7987
5e6e6794 7988 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
7989 (authors-obsolete-files-regexps, authors-ignored-files)
7990 (authors-ambiguous-files, authors-renamed-files-alist):
7991 Add more entries.
7992
0bd1e074
JL
79932012-02-23 Juri Linkov <juri@jurta.org>
7994
7995 * isearch.el (isearch-occur): Sync interactive spec with occur's
7996 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7997
b617673c
JL
7998 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7999
19e9789e
JL
80002012-02-22 Juri Linkov <juri@jurta.org>
8001
8002 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8003 (ucs-insert): Doc fix. Check for hex digits in the string.
8004 Don't display `nil' in the error message. (Bug#10857)
8005
f41ce09d
AM
80062012-02-22 Alan Mackenzie <acm@muc.de>
8007
7a71b18d 8008 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8009
ac2eceee
GM
80102012-02-22 Glenn Morris <rgm@gnu.org>
8011
8012 * ffap.el (ffap-c-path):
8013 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8014
abd1f678
CY
80152012-02-22 Chong Yidong <cyd@gnu.org>
8016
8017 * custom.el (load-theme): Doc fix.
8018
f25aef2e
GM
80192012-02-22 Glenn Morris <rgm@gnu.org>
8020
8021 * dired-x.el (dired-guess-shell-alist-default):
8022 Remove escape sequences from nroff output. (Bug#172)
8023
5f8dc2ca
GM
80242012-02-21 Glenn Morris <rgm@gnu.org>
8025
6ff86ec4
GM
8026 * vc/emerge.el (emerge-defvar-local):
8027 Set `permanent-local' property rather than unused `preserved'.
8028
be3223a3 8029 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8030 (picture-mode-map): Use it. (Bug#10860)
8031 (picture-mode): Doc fix.
8032
3fe58f4f
JB
80332012-02-21 Juanma Barranquero <lekktu@gmail.com>
8034
8035 * newcomment.el (uncomment-region-default): Remove unused binding.
8036
f9a998c3
GM
80372012-02-21 Glenn Morris <rgm@gnu.org>
8038
8039 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8040 (picture-self-insert, picture-tab-chars): Doc fix.
8041 (picture-mode-map): Fix C-a, C-e.
8042
c6029348
GM
80432012-02-20 Glenn Morris <rgm@gnu.org>
8044
8045 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8046
ab1ce9d7
LL
80472012-02-20 Leo Liu <sdl.web@gmail.com>
8048
8049 * icomplete.el (icomplete-completions): Check FROM arg before
8050 passing to substring (Bug#10850).
8051
0fd40f89
CY
80522012-02-19 Chong Yidong <cyd@gnu.org>
8053
8054 * comint.el: Require ansi-color.
8055 (comint-output-filter-functions): Add ansi-color-process-output.
8056
8057 * ansi-color.el: Don't set comint-output-filter-functions; it is
8058 now in the initial value defined in comint.el.
8059 (ansi-color-apply-face-function): New variable.
8060 (ansi-color-apply-on-region): Use it.
8061 (ansi-color-apply-overlay-face): New function.
8062
8063 * shell.el (shell): No need to require ansi-color.
8064 (shell-mode): Use ansi-color-apply-face-function to highlight
8065 color escapes using font-lock-face property (Bug#10835).
8066
20af2394
CY
80672012-02-19 Chong Yidong <cyd@gnu.org>
8068
8069 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8070 mode-line formats (Bug#10839).
8071
e23a3fbe
GM
80722012-02-18 Glenn Morris <rgm@gnu.org>
8073
b474519e
GM
8074 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8075
8076 * mail/undigest.el (unforward-rmail-message): Doc fix.
8077
e23a3fbe
GM
8078 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8079
57939ff4
EZ
80802012-02-18 Eli Zaretskii <eliz@gnu.org>
8081
8082 * international/characters.el (script-list): Sync with the latest
8083 Unicode Character Database.
8084
0c23686e
AS
80852012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8086
8087 * international/titdic-cnv.el: Remove duplicate coding tag.
8088 * language/cham.el: Likewise.
8089 * language/tai-viet.el: Likewise.
8090
6818b449
GM
80912012-02-18 Glenn Morris <rgm@gnu.org>
8092
8093 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8094 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8095 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8096 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8097 * calendar/holidays.el (holiday-bahai-holidays)
8098 (calendar-holidays, list-holidays):
8099 Use utf-8 Bahá'í in doc-strings, menus, etc.
8100
0311a3fc
TH
81012012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8102
8103 * saveplace.el (save-place-ignore-files-regexp): New variable
8104 allowing for excluding files from saving their location of point.
8105 The default value matches the temporary commit message editing
8106 files from Git, SVN, Bazaar, and Mercurial.
8107 (save-place-to-alist): Use it.
8108
d209e2fb 81092012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8110 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8111
8112 * newcomment.el (uncomment-region-default): Don't leave extra space
8113 when an arg is provided (bug#8150).
8114
ee0ce425
TZ
81152012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8116
eb864a71 8117 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8118
95ddf442
GM
81192012-02-17 Glenn Morris <rgm@gnu.org>
8120
8121 * net/socks.el: Require network-stream. (Bug#10599)
8122
48dd1e39 81232012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8124
8125 * international/charprop.el:
8126 * international/uni-name.el:
8127 * international/uni-old-name.el:
8128 * international/uni-comment.el: Regenerate.
8129
d68cd087
GM
81302012-02-16 Glenn Morris <rgm@gnu.org>
8131
8132 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8133 Interactively in calendar buffer, give an error if not on a date.
8134
13932042
GM
81352012-02-15 Glenn Morris <rgm@gnu.org>
8136
8137 * shell.el (shell-delimiter-argument-list):
8138 Revert 2011-02-17 change. (Bug#8027)
8139
c3a70e2b
CY
81402012-02-15 Chong Yidong <cyd@gnu.org>
8141
60236b0d
CY
8142 * minibuffer.el (completion-at-point-functions): Doc fix.
8143
c3a70e2b
CY
8144 * custom.el (defcustom): Doc fix; note use of defvar.
8145
9f26dc24
GM
81462012-02-15 Glenn Morris <rgm@gnu.org>
8147
8148 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8149 Doc fixes.
8150
6546b134
GM
81512012-02-14 Glenn Morris <rgm@gnu.org>
8152
8153 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8154
d29b2b4c
LI
81552012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8156
8157 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8158 way the ports list is computed.
835bdcba
LI
8159 (smtpmail-query-smtp-server): Prompt the user for a port number if
8160 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8161
08dcdbc9
TZ
81622012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8163
8164 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8165
2605051a
GM
81662012-02-13 Glenn Morris <rgm@gnu.org>
8167
8168 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8169
7ee99f32
TZ
81702012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8171
8172 * net/gnutls.el (gnutls-trustfiles): New variable.
8173 (gnutls-negotiate): Use it.
8174
5f0af64f
LI
81752012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8176
8177 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8178 does its stuff if Gnus is running.
8179
c14fcc95
AM
81802012-02-13 Alan Mackenzie <acm@muc.de>
8181
8182 Fix a loop in c-set-fl-decl-start.
8183
7a71b18d 8184 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8185 c-backward-syntactic-ws actually moves backwards.
8186
142b4d90
LL
81872012-02-13 Leo Liu <sdl.web@gmail.com>
8188
8189 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8190 beginning so that all \C-o chars are removed.
8191
fa9958a6
TZ
81922012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8193
dc9924b8 8194 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8195
0bc5886a
AM
81962012-02-12 Alan Mackenzie <acm@muc.de>
8197
8198 Fix infinite loop with long macros.
4d6769e1 8199 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8200
d4bd55e7
CY
82012012-02-12 Chong Yidong <cyd@gnu.org>
8202
8203 * window.el (display-buffer): Doc fix (Bug#10785).
8204
66f3fe22
GM
82052012-02-12 Glenn Morris <rgm@gnu.org>
8206
bd7da63e
GM
8207 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8208 (x-disown-selection-internal, x-get-selection-internal):
8209 Sync docs with the xselect.c versions.
8210
66f3fe22
GM
8211 * allout-widgets.el: Add missing license notice.
8212
3e0d2fa7
GM
82132012-02-11 Glenn Morris <rgm@gnu.org>
8214
cfecdf09
GM
8215 * select.el (x-get-selection-internal, x-own-selection-internal)
8216 (x-disown-selection-internal):
8217 * x-dnd.el (x-get-selection-internal): Update declarations.
8218
6d216d7f
GM
8219 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8220
2bed3f04
GM
8221 * window.el (window-sides-slots):
8222 * tool-bar.el (tool-bar-position):
8223 * term/xterm.el (xterm-extra-capabilities):
8224 * ses.el (ses-self-reference-early-detection):
8225 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8226 (verilog-auto-wire-type)
8227 (verilog-auto-delete-trailing-whitespace)
8228 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8229 (verilog-auto-tieoff-declaration):
8230 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8231 (sql-oracle-statement-starters, sql-oracle-scan-on):
8232 * progmodes/prolog.el (prolog-align-comments-flag)
8233 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8234 (prolog-left-indent-regexp, prolog-paren-indent-p)
8235 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8236 (prolog-types, prolog-mode-specificators)
8237 (prolog-determinism-specificators, prolog-directives)
8238 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8239 (prolog-electric-dot-flag)
8240 (prolog-electric-dot-full-predicate-template)
8241 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8242 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8243 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8244 (prolog-program-switches, prolog-prompt-regexp)
8245 (prolog-debug-on-string, prolog-debug-off-string)
8246 (prolog-trace-on-string, prolog-trace-off-string)
8247 (prolog-zip-on-string, prolog-zip-off-string)
8248 (prolog-use-standard-consult-compile-method-flag)
8249 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8250 (prolog-imenu-max-lines, prolog-info-predicate-index)
8251 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8252 (prolog-char-quote-workaround):
8253 * progmodes/cc-vars.el (c-defun-tactic):
8254 * net/tramp.el (tramp-encoding-command-interactive)
8255 (tramp-local-end-of-line):
8256 * net/soap-client.el (soap-client):
8257 * net/netrc.el (netrc-file):
8258 * net/gnutls.el (gnutls):
8259 * minibuffer.el (completion-category-overrides)
8260 (completion-cycle-threshold)
8261 (completion-pcm-complete-word-inserts-delimiters):
8262 * man.el (Man-name-local-regexp):
8263 * mail/feedmail.el (feedmail-display-full-frame):
8264 * international/characters.el (glyphless-char-display-control):
8265 * eshell/em-ls.el (eshell-ls-date-format):
8266 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8267 (lisp-lambda-list-keyword-parameter-indentation)
8268 (lisp-lambda-list-keyword-parameter-alignment):
8269 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8270 * dired-x.el (dired-omit-verbose):
8271 * cus-theme.el (custom-theme-allow-multiple-selections):
8272 * calc/calc.el (calc-highlight-selections-with-faces)
8273 (calc-lu-field-reference, calc-lu-power-reference)
8274 (calc-note-threshold):
8275 * battery.el (battery-mode-line-limit):
8276 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8277 (archive-7z-update):
8278 * allout.el (allout-prefixed-keybindings)
8279 (allout-unprefixed-keybindings)
8280 (allout-inhibit-auto-fill-on-headline)
8281 (allout-flattened-numbering-abbreviation):
8282 * allout-widgets.el (allout-widgets-auto-activation)
8283 (allout-widgets-icons-dark-subdir)
8284 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8285 (allout-widgets-theme-dark-background)
8286 (allout-widgets-theme-light-background)
8287 (allout-widgets-item-image-properties-emacs)
8288 (allout-widgets-item-image-properties-xemacs)
8289 (allout-widgets-run-unit-tests-on-load)
8290 (allout-widgets-time-decoration-activity)
8291 (allout-widgets-hook-error-post-time)
8292 (allout-widgets-track-decoration):
8293 Add missing :version tags to new defcustoms and defgroups.
8294
5fec1b8e
GM
8295 * progmodes/sql.el (sql-ansi-statement-starters)
8296 (sql-oracle-statement-starters): Add custom type.
8297
3e0d2fa7
GM
8298 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8299 (prolog-system-version): Give it a type.
8300
90b671e2
EZ
83012012-02-11 Eli Zaretskii <eliz@gnu.org>
8302
8303 * term/pc-win.el (x-select-text, x-selection-owner-p)
8304 (x-own-selection-internal, x-disown-selection-internal)
8305 (x-get-selection-internal): Sync doc strings and argument lists
8306 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8307
5eac0c02
LL
83082012-02-11 Leo Liu <sdl.web@gmail.com>
8309
8310 * progmodes/python.el (python-end-of-statement): Fix infinite
8311 loop. (Bug#10788)
8312
f82cb659
GM
83132012-02-10 Glenn Morris <rgm@gnu.org>
8314
8315 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8316 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8317
cc26d239
LI
83182012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8319
8320 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8321 about SMTP before checking the From header.
8322
91027d08 8323 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8324 into own function for reuse by emacsbug.el.
8325
1be3ca5a
LL
83262012-02-10 Leo Liu <sdl.web@gmail.com>
8327
8328 * subr.el (condition-case-unless-debug): Rename from
8329 condition-case-no-debug. All callers changed.
8330 (with-demoted-errors): Fix caller.
8331
8332 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8333 * nxml/rng-valid.el (rng-do-some-validation):
8334 * emacs-lisp/package.el (package-refresh-contents)
8335 (package-menu-execute):
8336 * desktop.el (desktop-create-buffer):
91027d08 8337 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8338
b011fbfe
GM
83392012-02-10 Glenn Morris <rgm@gnu.org>
8340
b2096d72
GM
8341 * textmodes/bibtex.el:
8342 Add missing :version tags for new/changed defcustoms.
8343
b011fbfe
GM
8344 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8345
4c7e65bf
LI
83462012-02-09 Lars Ingebrigtsen <larsi@rusty>
8347
8348 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8349 (smtpmail-via-smtp): Use it, or fall back on the From address.
8350 (smtpmail-send-it): Ditto.
8351
f3934f6f
SM
83522012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8353
8354 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8355 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8356 (byte-compile-tmp-var): New const.
8357 (byte-compile-defvar): Use it to minimize .elc size.
8358 Just use `defvar' rather than simulate it (bug#10761).
8359
a075a2c5
GM
83602012-02-09 Glenn Morris <rgm@gnu.org>
8361
cf3aa21b
GM
8362 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8363
354998cd
GM
8364 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8365 Add :version tags.
8366
dc9924b8
SM
8367 * progmodes/compile.el (compilation-error-screen-columns)
8368 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8369
dab3703d
GM
8370 * vc/log-view.el (log-view-toggle-entry-display):
8371 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8372
3f88cd72
GM
8373 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8374 (report-emacs-bug-can-use-xdg-email):
8375 (report-emacs-bug-insert-to-mailer): Doc fixes.
8376 (report-emacs-bug): Message fix.
8377
d95b247d
GM
8378 * net/browse-url.el (browse-url-can-use-xdg-open)
8379 (browse-url-xdg-open): Doc fixes.
8380
a075a2c5
GM
8381 * electric.el (electric-indent-mode, electric-pair-mode)
8382 (electric-layout-rules, electric-layout-mode): Doc fixes.
8383 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8384
ffb6157e
MR
83852012-02-08 Martin Rudalics <rudalics@gmx.at>
8386
8387 * server.el (server-unselect-display): Don't inadvertently kill
8388 the current buffer. (Bug#10729)
8389
e1ac4066
GM
83902012-02-08 Glenn Morris <rgm@gnu.org>
8391
34e8a2da
GM
8392 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8393 (sql-list-table): Doc fixes.
8394
b4ac6e8c
GM
8395 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8396 Comment out (does nothing).
8397
e1ac4066
GM
8398 * completion.el (dynamic-completion-mode):
8399 * dirtrack.el (dirtrack-debug-mode):
8400 * electric.el (electric-layout-mode):
8401 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8402 * face-remap.el (text-scale-mode, buffer-face-mode):
8403 * iimage.el (iimage-mode):
8404 * image-mode.el (image-transform-mode):
8405 * minibuffer.el (completion-in-region-mode):
8406 * scroll-lock.el (scroll-lock-mode):
8407 * simple.el (next-error-follow-minor-mode):
8408 * tar-mode.el (tar-subfile-mode):
8409 * tooltip.el (tooltip-mode):
8410 * vcursor.el (vcursor-use-vcursor-map):
8411 * wid-browse.el (widget-minor-mode):
8412 * emulation/tpu-edt.el (tpu-edt-mode):
8413 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8414 * international/iso-ascii.el (iso-ascii-mode):
8415 * language/thai-util.el (thai-word-mode):
8416 * mail/supercite.el (sc-minor-mode):
8417 * net/goto-addr.el (goto-address-mode):
8418 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8419 * progmodes/cwarn.el (cwarn-mode):
8420 * progmodes/flymake.el (flymake-mode):
8421 * progmodes/glasses.el (glasses-mode):
8422 * progmodes/hideshow.el (hs-minor-mode):
8423 * progmodes/pascal.el (pascal-outline-mode):
8424 * textmodes/enriched.el (enriched-mode):
8425 * vc/smerge-mode.el (smerge-mode):
8426 Doc fixes (minor mode argument).
8427
5e0d957f
EZ
84282012-02-07 Eli Zaretskii <eliz@gnu.org>
8429
8430 * ls-lisp.el (ls-lisp-sanitize): New function.
8431 (ls-lisp-insert-directory): Use it to fix or remove any elements
8432 in file-alist with missing attributes. (Bug#4673)
8433
98d7371e
AM
84342012-02-07 Alan Mackenzie <acm@muc.de>
8435
8436 Fix spurious recognition of c-in-knr-argdecl.
8437
8438 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8439 putative K&R region.
8440
667ced3a
AM
84412012-02-07 Alan Mackenzie <acm@muc.de>
8442
eb864a71
LM
8443 * progmodes/cc-engine.el (c-forward-objc-directive):
8444 Prevent looping in "#pragma mark @implementation".
667ced3a 8445
5b77774d
MA
84462012-02-07 Michael Albinus <michael.albinus@gmx.de>
8447
8448 * notifications.el (notifications-on-closed-signal): Make `reason'
8449 optional. (Bug#10744)
8450
af008560
GM
84512012-02-07 Glenn Morris <rgm@gnu.org>
8452
60d47423
GM
8453 * emacs-lisp/easy-mmode.el (define-minor-mode):
8454 Doc fixes for the macro and the mode it defines.
8455
dd605cc4
GM
8456 * image.el (imagemagick-types-inhibit): Doc fix.
8457
af008560
GM
8458 * cus-start.el (imagemagick-render-type): Add it.
8459
5cc59a37
LI
84602012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8461
4d6769e1
JB
8462 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8463 Set the default at load time, too, so that `font-lock-fontify-buffer'
8464 can be called without setting up the entire mode first. This fixes
8465 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8466
9a6dd747
CY
84672012-02-06 Chong Yidong <cyd@gnu.org>
8468
2d16b285
CY
8469 * simple.el (list-processes--refresh): Delete exited processes
8470 (Bug#8094).
8471
171e9b6e
CY
8472 * comint.el (comint-next-prompt): next-single-char-property-change
8473 and prev-single-char-property-change never return nil (Bug#8657).
8474
9a6dd747
CY
8475 * custom.el (defcustom): Doc fix (Bug#9711).
8476
aa4589a7
CY
84772012-02-05 Chong Yidong <cyd@gnu.org>
8478
5c2a252f
CY
8479 * cus-edit.el (custom-variable-reset-backup): Quote the value
8480 before storing it in the customized-value property (Bug#6712).
4aab9006 8481 (custom-display): Add a customization type tag.
983b9602 8482 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8483
aa4589a7
CY
8484 * wid-edit.el (widget-field-value-get): New optional arg to
8485 suppress trailing whitespace truncation.
8486 (character): Use it (Bug#2689).
8487
1ff980ae
AS
84882012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8489
8490 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8491 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8492
03988c98
CY
84932012-02-05 Chong Yidong <cyd@gnu.org>
8494
eeb6cc88
CY
8495 * cus-edit.el (custom-variable-value-create): For mismatched
8496 types, show the current value (Bug#7600).
8497
03988c98
CY
8498 * custom.el (defcustom): Doc fix.
8499
f8cdeef0
GM
85002012-02-05 Glenn Morris <rgm@gnu.org>
8501
8502 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8503
0696d255
JB
85042012-02-05 Juanma Barranquero <lekktu@gmail.com>
8505
8506 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8507 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8508 (pp-last-sexp): Use `looking-at-p'.
8509
34c99998
GM
85102012-02-04 Glenn Morris <rgm@gnu.org>
8511
8f05da42
GM
8512 * files.el (revert-buffer):
8513 Doc fix (mention revert-buffer-in-progress-p).
8514
f160676e
GM
8515 * emacs-lisp/ert-x.el (ert-simulate-command):
8516 Check deferred-action-list (which is obsolete) is bound.
8517
c7291ad9
GM
8518 * subr.el (with-wrapper-hook): Doc fixes.
8519
34c99998
GM
8520 * simple.el (filter-buffer-substring-functions)
8521 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8522
6283a7d3
LL
85232012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8524
8525 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8526 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8527
e96e3013
LL
85282012-02-04 Leo Liu <sdl.web@gmail.com>
8529
8530 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8531
8ded50f2
GM
85322012-02-04 Glenn Morris <rgm@gnu.org>
8533
82ff1d13
GM
8534 * image.el (image-extension-data): Add obsolete alias.
8535
987a0a16
GM
8536 * isearch.el (isearch-update): Doc fix.
8537
ea32ef46
GM
8538 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8539
8ded50f2
GM
8540 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8541
eea14f31
GM
85422012-02-03 Glenn Morris <rgm@gnu.org>
8543
8544 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8545 (image-animate-timeout): Doc fix.
8546
8547 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8548
12f381b7
GM
85492012-02-02 Glenn Morris <rgm@gnu.org>
8550
953cebf5
GM
8551 * server.el (server-auth-dir): Doc fix.
8552 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8553
12f381b7
GM
8554 * subr.el (run-mode-hooks): Doc fix.
8555
953a8c3b
JL
85562012-02-02 Juri Linkov <juri@jurta.org>
8557
8558 * image-mode.el (image-toggle-display-image): Remove tautological
8559 `major-mode' from the `derived-mode-p' test.
8560
c5d3843c
KH
85612012-02-02 Kenichi Handa <handa@m17n.org>
8562
9f6e692e 8563 * composite.el (compose-region): Cancel previous change.
c5d3843c 8564
159462d4 85652012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8566
8567 * composite.el (compose-region, compose-string): Signal error for
8568 a null string component (Bug#6988).
8569
9f562668
CY
85702012-02-01 Chong Yidong <cyd@gnu.org>
8571
e2cef717
CY
8572 * view.el (view-buffer-other-window, view-buffer-other-frame):
8573 Handle special modes like view-buffer (Bug#10650).
8574 (view-buffer): Simplify.
8575
9f562668
CY
8576 * frame.el (set-frame-font): Tweak meaning of third argument.
8577
9f6e692e
JB
8578 * dynamic-setting.el (font-setting-change-default-font):
8579 Use set-frame-font (Bug#9982).
9f562668 8580
781acb9f
GM
85812012-02-01 Glenn Morris <rgm@gnu.org>
8582
6035be52
GM
8583 * progmodes/compile.el (compilation-internal-error-properties):
8584 Respect compilation-first-column in the "*compilation*" buffer.
8585
781acb9f
GM
8586 * emacs-lisp/easy-mmode.el (define-minor-mode):
8587 Relax :variable's test for a named function.
8588
abbceb00
AM
85892012-01-31 Alan Mackenzie <acm@muc.de>
8590
8591 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8592 off by one error.
8593
fce3fdeb
CY
85942012-01-31 Chong Yidong <cyd@gnu.org>
8595
8596 * frame.el (set-frame-font): New arg ALL-FRAMES.
8597
8598 * menu-bar.el (menu-set-font): Use set-frame-font.
8599
8600 * faces.el (face-spec-reset-face): Don't apply unspecified
8601 attribute values to the default face.
8602
47893581
JB
86032012-01-31 Juanma Barranquero <lekktu@gmail.com>
8604
8605 * progmodes/cwarn.el (cwarn): Remove dead link.
8606 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8607 Remove * from defcustom docstrings.
8608 (turn-on-cwarn-mode): Make obsolete.
8609 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8610 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8611
e58e988a
GM
86122012-01-31 Glenn Morris <rgm@gnu.org>
8613
60dc2671 8614 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8615 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8616 Allow named functions to be used as the cdr of :variable.
e58e988a 8617
7a3f511d
GM
86182012-01-30 Glenn Morris <rgm@gnu.org>
8619
8620 * emacs-lisp/authors.el (authors-fixed-entries):
8621 Remove reference to deleted file rnewspost.el.
8622
cb882333
JB
86232012-01-29 Juanma Barranquero <lekktu@gmail.com>
8624
8625 * window.el (window-with-parameter): Remove unused variable `windows'.
8626 (window--side-check): Remove unused variable `code'.
8627 (window--resize-siblings): Remove unused variable `first'.
8628 (adjust-window-trailing-edge): Remove unused variable `failed'.
8629 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8630 Use `let', not `let*'.
8631 (balance-windows-2): Remove unused variable `found'.
8632 (window--state-put-2): Remove unused variable `splits'.
8633 (window-state-put): Remove unused variable `selected'.
8634 (same-window-p): Use `string-match-p'.
8635 (display-buffer-assq-regexp): Remove unused variable `value'.
8636 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8637 Mark argument ALIST as ignored.
8638 (pop-to-buffer): Remove unused variable `old-window'.
8639
907201af
EZ
86402012-01-29 Eli Zaretskii <eliz@gnu.org>
8641
8642 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8643 and .lzma compressed files.
8644
ea162670
CY
86452012-01-29 Chong Yidong <cyd@gnu.org>
8646
5b95ee8a
CY
8647 * frame.el (window-system-default-frame-alist): Doc fix.
8648
ea162670
CY
8649 * dynamic-setting.el (font-setting-change-default-font): Don't
8650 change the default face if SET-FONT argument is non-nil (Bug#9982).
8651
d6e6f4b1
SB
86522012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8653
8654 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8655
0f29fa41 86562012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8657
8658 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8659 breakpoints in files outside current directory (Bug#6098).
8660
db174434
CY
86612012-01-29 Chong Yidong <cyd@gnu.org>
8662
6b25e4e2
SE
8663 * progmodes/python.el: Require ansi-color at top-level.
8664
6df6ae42
JB
8665 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8666 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8667 (lisp-mode-abbrev-table): Add doc.
8668 (lisp-mode-variables): Don't set local-abbrev-table.
8669 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8670
e70ee681
RW
86712012-01-28 Roland Winkler <winkler@gnu.org>
8672
8673 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8674
ace88aa2
RW
86752012-01-28 Roland Winkler <winkler@gnu.org>
8676
8677 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8678 (bibtex-set-dialect): Use it. Either set global values of
8679 dialect-dependent variables or bind these variables buffer-locally
8680 (Bug#10254).
8681 (bibtex-mode): Call bibtex-set-dialect via
8682 hack-local-variables-hook.
eb864a71
LM
8683 (bibtex-dialect): Update docstring.
8684 Add safe-local-variable predicate.
ace88aa2
RW
8685 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8686 bibtex-set-dialect.
8687 (bibtex-mode-map): Define menu for each dialect.
8688 (bibtex-entry): Fix docstring.
8689
93376c5b
CY
86902012-01-28 Chong Yidong <cyd@gnu.org>
8691
8692 * eshell/esh-arg.el (eshell-quote-argument): New function.
8693
8694 * eshell/esh-ext.el (eshell-invoke-batch-file):
8695 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8696 first arg to eshell-parse-command (Bug#10523).
8697
4372494f
DA
86982012-01-28 Drew Adams <drew.adams@oracle.com>
8699
8700 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8701 `default-directory' is non-nil.
8702
4d4ec1f8
EZ
87032012-01-28 Eli Zaretskii <eliz@gnu.org>
8704
8705 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8706 line that displays system-configuration-options. (Bug#9924)
8707
7c188927
DA
87082012-01-28 Drew Adams <drew.adams@oracle.com>
8709
8710 * descr-text.el (describe-char): Show information about POS, in
8711 addition to information about the character at POS. Improve and
8712 update the doc string. Change "code point" to "code point in
8713 charset", to avoid confusion with the character's Unicode code
8714 point shown above that. (Bug#10129)
8715
e0da685a
EZ
87162012-01-28 Eli Zaretskii <eliz@gnu.org>
8717
8718 * descr-text.el (describe-char): Show the raw character, not only
8719 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8720 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8721 for the reasons.
8722
70550acf
PH
87232012-01-28 Phil Hagelberg <phil@hagelb.org>
8724
eb864a71
LM
8725 * emacs-lisp/package.el (package-install):
8726 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8727
0ce8e868
CY
87282012-01-28 Chong Yidong <cyd@gnu.org>
8729
cb882333
JB
8730 * emacs-lisp/package.el (package-maybe-load-descriptor):
8731 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8732 (package-maybe-load-descriptor): Use it.
8733 (package-download-transaction): Fully load required packages
8734 inside the loop, so that `require' calls work (Bug#10593).
8735 (package-install): No need to call package-initialize now.
8736
2e7f3bea
CY
87372012-01-28 Chong Yidong <cyd@gnu.org>
8738
6e9bad14
CY
8739 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8740
f823b8ca
CY
8741 * tooltip.el (tooltip-mode): Doc fix.
8742 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8743
2680c309
CY
8744 * frame.el (set-cursor-color): Doc fix (Bug#352).
8745
d7a9e63b
CY
8746 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8747 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8748
2e7f3bea
CY
8749 * cus-edit.el (custom-buffer-create-internal): Fix search button
8750 action (Bug#10542).
2ae01800 8751 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8752
fc4f7a23
EW
87532012-01-27 Eduard Wiebe <usenet@pusto.de>
8754
8755 * dired.el (dired-mark-files-regexp):
8756 Include any subdirectory components. (Bug#10445)
8757
7dd37071
ML
87582012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8759
8760 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8761 Handle [host]:port syntax. (Bug#10533)
8762
a268160b
AH
87632012-01-27 Alex Harsanyi <harsanyi@mac.com>
8764
8765 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8766
e43273ef
GM
87672012-01-26 Glenn Morris <rgm@gnu.org>
8768
8769 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8770 * term.el (term-raw-escape-map): Use Control-X-prefix.
8771 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8772
1edf595d
MR
87732012-01-25 Martin Rudalics <rudalics@gmx.at>
8774
8775 * window.el (window-state-get, window--state-get-1): Don't deal
8776 with fixed-sizeness of windows. Simplify code.
8777
fa8eafef
JC
87782012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8779
6df6ae42
JB
8780 * window.el (window--state-get-1, window--state-put-2):
8781 Don't save and restore the mark.
fa8eafef 8782
0b21c100
CY
87832012-01-25 Chong Yidong <cyd@gnu.org>
8784
8785 * custom.el (custom-variable-p): Doc fix.
8786
5ae1a6c8
GM
87872012-01-25 Glenn Morris <rgm@gnu.org>
8788
40047858
GM
8789 * dired.el (dired-goto-file): Handle some of the more common
8790 characters that `ls -b' escapes. (Bug#10596)
8791
5ddce96c
GM
8792 * progmodes/compile.el (compilation-next-error-function):
8793 Respect compilation-first-column in the "*compilation*" buffer.
8794 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8795
5ae1a6c8
GM
8796 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8797
b559f1a9
GM
87982012-01-24 Glenn Morris <rgm@gnu.org>
8799
8800 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8801
6725d21a
JD
88022012-01-24 Julien Danjou <julien@danjou.info>
8803
8804 * color.el (color-rgb-to-hsl): Fix value computing.
8805 (color-hue-to-rgb): New function.
8806 (color-hsl-to-rgb): New function.
8807 (color-clamp, color-saturate-hsl, color-saturate-name)
8808 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8809 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8810
70df4bbe
GM
88112012-01-24 Glenn Morris <rgm@gnu.org>
8812
8813 * vc/vc-rcs.el (vc-rcs-create-tag):
8814 * vc/vc-sccs.el (vc-sccs-create-tag):
8815 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8816
802a2ae2
ML
88172012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8818
8819 * eshell/esh-util.el (eshell-read-hosts-file):
8820 Skip comment lines. (Bug#10549)
8821
d7128bb1
ML
8822 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8823
d1a5c3b4
JB
88242012-01-23 Juanma Barranquero <lekktu@gmail.com>
8825
2724d9c7
JB
8826 * subr.el (display-delayed-warnings): Doc fix.
8827 (collapse-delayed-warnings): New function to collapse identical
8828 adjacent warnings.
8829 (delayed-warnings-hook): Add it.
d1a5c3b4 8830
a5509865
MA
88312012-01-22 Michael Albinus <michael.albinus@gmx.de>
8832
8833 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8834
a5509865
MA
8835 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8836 (tramp-default-user-alist): Don't add "pscp".
8837 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8838 property "login-as", if set. (Bug#10530)
8839
cc6d5805
MA
88402012-01-21 Michael Albinus <michael.albinus@gmx.de>
8841
8842 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8843 "plink1" and "psftp". (Bug#10530)
8844
88452012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
8846
8847 * international/mule-cmds.el (prefer-coding-system): Show a
8848 warning message if the default value of file-name-coding-system
8849 was not changed.
8850
f0960428
JC
88512012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8852
cb882333
JB
8853 * windmove.el (windmove-reference-loc):
8854 Fix windmove-reference-loc miscalculation.
f0960428 8855
dd6f2a63
JB
88562012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8857
8858 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8859 default unit.
8860
7b447e9b
GM
88612012-01-21 Glenn Morris <rgm@gnu.org>
8862
117a9ea1
GM
8863 * international/mule.el (auto-coding-alist): Add .tbz.
8864
7b447e9b
GM
8865 * files.el (local-enable-local-variables): Doc fix.
8866 (inhibit-local-variables-regexps): Rename from
8867 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8868 Doc fix. Add some extensions from auto-coding-alist.
8869 (inhibit-local-variables-suffixes):
8870 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8871 (inhibit-local-variables-p):
8872 New function, extracted from set-auto-mode-1.
8873 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8874 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8875 (hack-local-variables): Doc fix. Make the mode-only case
8876 respect enable-local-variables and friends.
8877 Respect inhibit-local-variables-regexps for file-locals, but
8878 not for directory-locals.
8879 (set-visited-file-name):
8880 Take account of inhibit-local-variables-regexps.
8881 Whether it applies may change as the file name is changed.
8882 * jka-cmpr-hook.el (jka-compr-install):
8883 * jka-compr.el (jka-compr-uninstall):
8884 Update for inhibit-first-line-modes-suffixes name change.
8885
dd6e3cdd
MR
88862012-01-20 Martin Rudalics <rudalics@gmx.at>
8887
8888 * help-macro.el (make-help-screen): Temporarily restore original
8889 binding for minor-mode-map-alist (Bug#10454).
8890
0d0deb38
JD
88912012-01-19 Julien Danjou <julien@danjou.info>
8892
8893 * color.el (color-name-to-rgb): Use the white color to find the max
8894 color component value and return correctly computed values.
8895 (color-name-to-rgb): Add missing float conversion for max value.
8896
34a02f46
MR
88972012-01-19 Martin Rudalics <rudalics@gmx.at>
8898
8899 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
8900 special state value for window-persistent-parameters.
8901 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
8902 (window--state-put-2): Reset all window parameters to nil before
8903 assigning values of persistent parameters.
8904
606c44c4
AM
89052012-01-18 Alan Mackenzie <acm@muc.de>
8906
8907 Eliminate sluggishness and hangs in fontification of "semicolon
8908 deserts".
8909
cb882333
JB
8910 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8911 Change value 10000 -> 3000.
606c44c4
AM
8912 (c-state-safe-place): Reformulate so it doesn't stack up an
8913 infinite number of wrong entries in c-state-nonlit-pos-cache.
8914 (c-determine-limit-get-base, c-determine-limit): New functions to
8915 determine backward search limits disregarding literals.
8916 (c-find-decl-spots): Amend commenting.
8917 (c-cheap-inside-bracelist-p): New function which detects "={".
8918
8919 * progmodes/cc-fonts.el
8920 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8921 backward search.
8922 (c-font-lock-declarations): Fix an occurrence of point being
8923 undefined. Check additionally for point being in a bracelist or
8924 near a macro invocation without a semicolon so as to avoid a
8925 fruitless time consuming search for a declarator. Give a more
8926 precise search limit for declarators using the new
8927 c-determine-limit.
8928
f3860cea
GM
89292012-01-18 Glenn Morris <rgm@gnu.org>
8930
8931 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8932 (set-auto-mode): Doc fixes.
8933
1db03b16
GM
89342012-01-17 Glenn Morris <rgm@gnu.org>
8935
0e6038be
GM
8936 * isearch.el (search-nonincremental-instead): Fix doc typo.
8937
1db03b16
GM
8938 * dired.el (dired-insert-directory): Handle newlines in directory name.
8939 (dired-build-subdir-alist): Unescape newlines in directory name.
8940
4cb0aa75
MA
89412012-01-17 Michael Albinus <michael.albinus@gmx.de>
8942
8943 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8944 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8945 (tramp-action-terminal): Use it. (Bug#10530)
8946
1d00653d
SM
89472012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8950
6a6ee00d
MR
89512012-01-16 Martin Rudalics <rudalics@gmx.at>
8952
8953 * window.el (window-state-ignored-parameters): Remove variable.
8954 (window--state-get-1): Rename argument MARKERS to IGNORE.
8955 Handle persistent window parameters. Make copy of clone-of
8956 parameter only if requested. (Bug#10348)
8957 (window--state-put-2): Install a window parameter only if it has
8958 a non-nil value or an existing parameter shall be overwritten.
8959
97912def
MA
89602012-01-15 Michael Albinus <michael.albinus@gmx.de>
8961
8962 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8963
688070a5
EZ
89642012-01-14 Eli Zaretskii <eliz@gnu.org>
8965
8966 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8967 don't pass the (nil) value of `upnode' to string-match.
8968
301afadc
CY
89692012-01-14 Chong Yidong <cyd@gnu.org>
8970
8971 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 8972 Fix values recognized by the cursorBlink resource.
301afadc 8973
9e5788aa
PE
89742012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8975
8976 * epg.el (epg--make-temp-file): Avoid permission race condition
8977 when running on old Emacs versions (bug#10403).
8978
3cdb7f5a
GM
89792012-01-14 Glenn Morris <rgm@gnu.org>
8980
8981 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8982
8c82b1b4
AM
89832012-01-13 Alan Mackenzie <acm@muc.de>
8984
8985 Fix filling for when filladapt mode is enabled.
8986
8987 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8988 c-mask-paragraph, pass in `fill-paragraph' rather than
8989 `fill-region-as-paragraph'. (This is a reversion of a previous
8990 change.)
eb864a71
LM
8991 * progmodes/cc-mode.el (c-basic-common-init):
8992 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 8993
e517eda4
GM
89942012-01-13 Glenn Morris <rgm@gnu.org>
8995
1498536e
GM
8996 * dired.el (dired-switches-escape-p): New function.
8997 (dired-insert-directory): Use dired-switches-escape-p.
8998 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8999
e517eda4
GM
9000 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9001
328f984d
GM
90022012-01-12 Glenn Morris <rgm@gnu.org>
9003
9004 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9005 changes in adaptive-fill-regexp. (Bug#10276)
9006
2cc769a8
AM
90072012-01-11 Alan Mackenzie <acm@muc.de>
9008
9009 Fix Emacs bug #10463 - put `widen's around the critical spots.
9010
1d00653d 9011 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9012 widen around each invocation of c-state-pp-to-literal. Remove an
9013 unused let variable.
9014
e52c37fa
GM
90152012-01-11 Glenn Morris <rgm@gnu.org>
9016
9017 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9018 Doc fix.
e52c37fa 9019
96f8741e
CY
90202012-01-10 Chong Yidong <cyd@gnu.org>
9021
1d00653d
SM
9022 * net/network-stream.el (network-stream-open-starttls):
9023 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9024 response to the capability command.
9025
b09a806e
GM
90262012-01-10 Glenn Morris <rgm@gnu.org>
9027
9028 * mail/unrmail.el (unrmail): Tweak previous change.
9029
7655cb66
CY
90302012-01-09 Chong Yidong <cyd@gnu.org>
9031
9032 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9033
9d5a8f0b
AM
90342012-01-08 Alan Mackenzie <acm@muc.de>
9035
9036 Optimise font locking in long enum definitions.
9037
9038 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9039 arm to a cond form to handle enums.
9040 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9041 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9042
9a0115ab 90432012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9044
9045 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9046 (Bug#10401)
6bb72cbd 9047
f186bb95
LMI
90482012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049
29232a68
LMI
9050 * faces.el (set-face-attribute): Clarify the meaning of the nil
9051 frame (bug#10294).
9052
4e5d086d
LMI
9053 * subr.el (with-selected-frame): Mention that the selected frame
9054 is restored (bug#9980).
9055
8e66aebe
LMI
9056 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9057 (bug#9759).
9058
cd394be1 9059 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9060 (password-read): Don't autoload unused function.
9061
adf4e762
JB
90622012-01-07 Juanma Barranquero <lekktu@gmail.com>
9063
9064 * progmodes/which-func.el (which-func-mode): Turn into a
9065 non-interactive function and mark as obsolete (bug#10428).
9066
89bd9ccd
CY
90672012-01-06 Chong Yidong <cyd@gnu.org>
9068
9069 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9070 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9071 functions, along with 1 and -1.
9072
4afee9d5
EZ
90732012-01-06 Eli Zaretskii <eliz@gnu.org>
9074
9075 * time.el (display-time-load-average)
9076 (display-time-default-load-average): Doc fixes. See the thread
9077 starting at
9078 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9079 for the details.
9080
536aea70
GM
90812012-01-06 Glenn Morris <rgm@gnu.org>
9082
665ae865
GM
9083 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9084 has no messages. (Bug#10377)
9085
c869783d
GM
9086 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9087 than Info-edit. (Bug#10385)
9088
2bb4227e
GM
9089 * time.el (display-time-load-average, display-time-next-load-average):
9090 Doc fixes.
9091
7d5944b9
GM
9092 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9093 local setting of buffer-read-only to the input buffer. (Bug#10419)
9094
536aea70
GM
9095 * calendar/calendar.el (calendar-mode):
9096 Locally set scroll-margin to 0. (Bug#10379)
9097
7dccca16
UM
90982012-01-06 Ulrich Mueller <ulm@gentoo.org>
9099
9100 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9101
afbb7930
GM
91022012-01-05 Glenn Morris <rgm@gnu.org>
9103
9104 * eshell/em-unix.el (diff-no-select): Autoload it.
9105 (eshell/diff): Use diff-no-select. (Bug#10420)
9106
04482335
CY
91072012-01-05 Chong Yidong <cyd@gnu.org>
9108
7baca3bc
CY
9109 * shell.el (shell-dynamic-complete-functions): Revert last change.
9110 (shell-command-completion-function): New function.
9111 (shell-completion-vars): Use it to implement
9112 shell-completion-execonly (Bug#10417).
9113
04482335
CY
9114 * custom.el (enable-theme): Don't set custom-safe-themes.
9115
1d00653d
SM
9116 * cus-theme.el (custom-theme-merge-theme):
9117 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9118
bb5aa5d6
MM
91192012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9120
9121 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9122 first prompt in `sql-interacive-mode'.
9123 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9124 keywords.
6df6ae42 9125 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9126 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9127 context of original buffer. Invoke `sql-login-hook'.
9128
a7183d7c
EZ
91292012-01-04 Eli Zaretskii <eliz@gnu.org>
9130
9131 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9132 letters in cite-prefix.
9133
a1eacd1e
LMI
91342012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9135
9136 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9137
787cdb34
CY
91382012-01-03 Chong Yidong <cyd@gnu.org>
9139
1d00653d
SM
9140 * shell.el (shell-dynamic-complete-functions):
9141 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9142 comint-filename-completion first (Bug#10417).
9143
30710442
RS
91442012-01-02 Richard Stallman <rms@gnu.org>
9145
9146 * battery.el (battery-status-function):
9147 Detect when to use battery-yeeloong-sysfs.
9148 (battery-echo-area-format): Add string for Yeeloong.
9149 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9150 (battery-yeeloong-sysfs): New function.
9151
f75bfc33
CY
91522012-01-02 Chong Yidong <cyd@gnu.org>
9153
9154 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9155 (dirtrack): Merge code for handling relative filenames in prompt
9156 from shell-dir-cookie-watcher.
9157 (dirtrack-debug-message): New arg to avoid excess format calls.
9158
9159 * shell.el (shell-dir-cookie-re): Variable deleted.
9160 (shell-dir-cookie-watcher): Function deleted.
9161 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9162 with dirtrack-mode.
9163
651e947e
EZ
91642012-01-01 Eli Zaretskii <eliz@gnu.org>
9165
1d00653d
SM
9166 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9167 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9168 libgnutls-26.dll.
9169
94d4c7dc
AS
91702011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9171
9172 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9173
8d43f3cd
EZ
91742011-12-31 Eli Zaretskii <eliz@gnu.org>
9175
9176 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9177 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9178
98c8795a
MA
91792011-12-29 Michael Albinus <michael.albinus@gmx.de>
9180
9181 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9182 also for alternative shells.
9183 (tramp-open-connection-setup-interactive-shell): Check, whether
9184 the shell is a busybox.
9185 (tramp-send-command): Don't suppress multiple prompts for
9186 busyboxes, it hurts.
9187
51281b32
CY
91882011-12-28 Chong Yidong <cyd@gnu.org>
9189
9190 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9191 (gdb-get-source-file): Move mode line update to
9192 gdb-get-source-file (Bug#10087).
9193
2170cb53
CY
91942011-12-25 Chong Yidong <cyd@gnu.org>
9195
9196 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9197 gud-gdb-marker-filter without taking it as an argument.
9198 (gud-gdb-run-command-fetch-lines): Caller changed.
9199 (gud-gdb-completion-function): New variable.
9200 (gud-gdb-completion-at-point): Use it.
9201 (gud-gdb-completions-1): Split from gud-gdb-completions.
9202
9203 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9204 function as separate arguments.
9205 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9206 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9207 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9208 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9209 (gdb-stopped, def-gdb-auto-update-trigger)
9210 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9211 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9212 Callers changed.
2170cb53
CY
9213 (gud-gdbmi-completions): New function.
9214 (gdb): Use it for generating the completion table.
9215
be8b11bb
AM
92162011-12-24 Alan Mackenzie <acm@muc.de>
9217
9218 Introduce a mechanism to widen the region used in context font
1d00653d 9219 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9220
1d00653d
SM
9221 * progmodes/cc-langs.el (c-before-font-lock-functions):
9222 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9223 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9224 functions to be run just before context (etc.) font locking.
9225
9226 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9227 New, functionality extracted from
be8b11bb 9228 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9229 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9230 (c-after-change): Set c-in-after-change-fontification.
9231 (c-set-fl-decl-start): Rejig its interface, so it can be called
9232 from both after-change and context fontifying.
b81d40f0
JB
9233 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9234 New functions.
9235 (c-standard-font-lock-fontify-region-function): New variable.
9236 (c-font-lock-fontify-region): New function.
be8b11bb 9237
341cf6ac
JL
92382011-12-24 Juri Linkov <juri@jurta.org>
9239
9240 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9241 (Bug#10348)
9242
bffcee0a
MA
92432011-12-23 Michael Albinus <michael.albinus@gmx.de>
9244
9245 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9246 existence of source file. (Bug#10325)
9247
cb5e207c
AM
92482011-12-23 Alan Mackenzie <acm@muc.de>
9249
9250 Fix unstable fontification inside templates.
9251
b81d40f0
JB
9252 * progmodes/cc-langs.el (c-before-font-lock-functions):
9253 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9254 additionally has c-set-fl-decl-start. The other languages (apart
9255 from AWK) have that as a single entry.
9256
b81d40f0
JB
9257 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9258 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9259 c-set-fl-decl-start.
9260
b81d40f0
JB
9261 * progmodes/cc-mode.el (c-common-init, c-after-change):
9262 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9263 (c-set-fl-decl-start): New function, extracted from
9264 c-font-lock-enclosing-decls and enhanced.
9265
60ff536c
JB
92662011-12-23 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9269
1c4757d6
JL
92702011-12-22 Juri Linkov <juri@jurta.org>
9271
9272 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9273
d031f2c7
CY
92742011-12-22 Chong Yidong <cyd@gnu.org>
9275
9276 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9277
bace743a
DA
92782011-12-21 Drew Adams <drew.adams@oracle.com>
9279
9280 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9281
728a1f2b
JC
92822011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9283
9284 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9285
0d373f73
TZ
92862011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9287
fec0aaa4
TZ
9288 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9289 highlighting and support. Fix up comments for capitalization.
9290 (cfengine-mode-debug): New var.
9291 (cfengine3-mode): Change the modeline indicator to "CFE3".
9292 (cfengine3-font-lock-keywords): Improve defun highlighting.
9293 (cfengine2-actions): Rename from `cfengine-actions'.
9294 (cfengine2-font-lock-keywords): Rename from
9295 `cfengine-font-lock-keywords'.
9296 (cfengine2-imenu-expression): Rename from
9297 `cfengine-imenu-expression'.
9298 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9299 (cfengine2-beginning-of-defun): Rename from
9300 `cfengine-beginning-of-defun'.
9301 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9302 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9303 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9304 modeline indicator to "CFE2".
9305 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9306 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9307
bc86f573
CY
93082011-12-21 Chong Yidong <cyd@gnu.org>
9309
9310 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9311 filename argument.
9312
d45ba96b
MR
93132011-12-20 Martin Rudalics <rudalics@gmx.at>
9314
9315 * window.el (window-normalize-buffer-to-display): Remove.
9316 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9317
a6198c90
CY
93182011-12-19 Chong Yidong <cyd@gnu.org>
9319
9320 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9321 Don't signal an error in a predicate function; return non-nil.
9322 (vc-dir-mark-file): Move the error here.
9323 (vc-dir-mark-unmark): If acting on the region, keep going if one
9324 of the entries cannot be marked/unmarked.
9325 (vc-dir-mark-all-files): If current entry is a directory, mark
9326 only child files, as documented.
9327
34c5fb55
VB
93282011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9329
9330 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9331 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9332 addition.
9333
c803b2b7
JD
93342011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9335
9336 * term/ns-win.el (ns-get-selection-internal)
9337 (ns-store-selection-internal): Declare.
1154d12e
JB
9338 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9339 Declare as obsolete.
9340 (ns-get-pasteboard, ns-paste-secondary):
9341 Use ns-get-selection-internal.
9342 (ns-set-pasteboard, ns-copy-including-secondary):
9343 Use ns-store-selection-internal.
c803b2b7 9344
9cff91f8 93452011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9346
9347 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9348 (vc-deduce-fileset): Doc fix.
99a289d9 9349
f16c898a
AS
93502011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9351
9352 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9353
763237c4
SS
93542011-12-13 Sam Steingold <sds@gnu.org>
9355
9356 * man.el (Man-getpage-in-background): When running under a
9357 window-system, ignore $MANWIDTH and $COLUMNS.
9358
5fc1c122
KH
93592011-12-15 Kenichi Handa <handa@m17n.org>
9360
9361 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9362 (setup-ethiopic-environment-internal): Comment out key-binding for
9363 ethio-toggle-punctuation.
9364
13d49cbb
AM
93652011-12-13 Alan Mackenzie <acm@muc.de>
9366
898169a2
AM
9367 Add the switch statement to AWK Mode.
9368
7a71b18d 9369 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9370 "default" to the keywords regexp.
9371
7a71b18d 9372 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9373 expression as the rest.
1d00653d
SM
9374 (c-nonlabel-token-key): Allow string literals for AWK.
9375 Refactor for the other modes.
898169a2 9376
13d49cbb 9377 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9378 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9379 routines. Limit backward searching in c-font-lock-enclosing.decl.
9380
9381 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9382 pp-state and literal type in addition to the limits.
1d00653d 9383 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9384 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9385 (c-slow-in-literal, c-fast-in-literal): Remove.
9386 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9387
9388 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9389 being in a literal. Add a limit for backward searching.
9390
9391 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9392 c-slow-in-literal.
9393
15e0efc7
SM
93942011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9397
454592a6
MR
93982011-12-13 Martin Rudalics <rudalics@gmx.at>
9399
9400 * window.el (delete-other-windows): Use correct frame in call to
9401 window-with-parameter.
9402
87393f26
DP
94032011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9404
9405 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9406 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9407 (makefile-gmake-statements, makefile-makepp-statements):
9408 Use it and add new makepp keywords.
9409 (makefile-makepp-font-lock-keywords): Add new patterns.
9410 (makefile-match-function-end): Match new [...] and [[...]].
9411
11636b22
JB
94122011-12-11 Juanma Barranquero <lekktu@gmail.com>
9413
9414 * ses.el (ses-call-printer-return, ses-cell-property-get)
9415 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9416 (ses-create-cell-variable, ses-reset-header-string)
9417 (ses-cell-set-formula, ses-repair-cell-reference-all)
9418 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9419 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9420 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9421 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9422 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9423 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9424 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9425 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9426 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9427 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9428 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9429 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9430
cf018193
VB
94312011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9432
9433 * ses.el: The overall change is to add cell renaming, that is
9434 setting fancy names for cell symbols other than name matching
9435 "\\`[A-Z]+[0-9]+\\'" regexp .
9436 (ses-create-cell-variable): New defun.
9437 (ses-relocate-formula): Relocate formulas only for cells the
9438 symbols of which are not renamed, i.e. symbols whose names do not
9439 match regexp "\\`[A-Z]+[0-9]+\\'".
9440 (ses-relocate-all): Relocate values only for cells the symbols of
9441 which are not renamed.
9442 (ses-load): Create cells variables as the (ses-cell ...) are read,
9443 in order to check row col consistency with cell symbol name only
9444 for cells that are not renamed.
9445 (ses-replace-name-in-formula): New defun.
9446 (ses-rename-cell): New defun.
9447
ee957461
CY
94482011-12-11 Chong Yidong <cyd@gnu.org>
9449
9450 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9451 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9452
9a9e9ef0
MR
94532011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9454
9455 * window.el (other-window): Fix docstring.
9456
92a8eba5
EZ
94572011-12-10 Eli Zaretskii <eliz@gnu.org>
9458
9459 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9460 `from' or `to' address before taking its substring.
9461 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9462 encoded name is chopped in the middle of the encoded string, and
9463 thus displayed encoded.
9464
e152e577
JB
94652011-12-10 Juanma Barranquero <lekktu@gmail.com>
9466
9467 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9468
e5d84bfe
EZ
94692011-12-10 Eli Zaretskii <eliz@gnu.org>
9470
9471 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9472 to use texinfo-update-node and commands that call it if the
9473 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9474 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9475 (texinfo-all-menus-update, texinfo-master-menu)
9476 (texinfo-update-node, texinfo-every-node-update)
9477 (texinfo-multiple-files-update): Doc fix. Warn against updating
9478 all the @node lines.
9479 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9480 argument is numeric. Explain better in the doc string what the
9481 function really does.
9482 (texinfo-insert-master-menu-list): Improve the error message
9483 displayed if there's no menu in the Top node.
9484 (Bug#2975) See also this thread:
e5d84bfe
EZ
9485 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9486
1d84e9bb
MG
94872011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9488
9489 * speedbar.el (speedbar-supported-extension-expressions):
9490 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9491
382c953b
JB
94922011-12-09 Juanma Barranquero <lekktu@gmail.com>
9493
9494 * printing.el (pr-mode-alist):
9495 * simple.el (filter-buffer-substring-functions)
9496 (completion-list-insert-choice-function):
9497 * window.el (window-with-parameter, window-atom-root)
9498 (window-sides-slots, window-size-fixed, window-min-delta)
9499 (window-max-delta, window--resize-mini-window)
9500 (window--resize-child-windows-normal, window-tree)
9501 (delete-other-windows, quit-window, split-window)
9502 (display-buffer-record-window, special-display-buffer-names)
9503 (special-display-regexps, special-display-popup-frame)
9504 (same-window-p, split-window-sensibly)
9505 (display-buffer-overriding-action, display-buffer-alist)
9506 (display-buffer-base-action, display-buffer, switch-to-buffer)
9507 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9508 (fit-window-to-buffer, recenter-positions)
9509 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9510 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9511 and remove unneeded backslashes in docstrings.
9512
39c9faef
SM
95132011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9514
98449af8
SM
9515 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9516
39c9faef
SM
9517 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9518 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9519 end in ".mk".
9520 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9521 when reading the makefile (bug#10116).
9522
86ed9fdc
SM
95232011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9524
9525 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9526 (bug#10116).
9527
5580f89d
GM
95282011-12-06 Glenn Morris <rgm@gnu.org>
9529
9530 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9531
28d3917c
CY
95322011-12-06 Chong Yidong <cyd@gnu.org>
9533
9534 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9535
a98edce9
JB
95362011-12-06 Juanma Barranquero <lekktu@gmail.com>
9537
9538 * textmodes/table.el (table-shorten-cell): Fix typo.
9539
e65adfac
CG
95402011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9541
9542 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9543
71cc0b74
EZ
95442011-12-05 Eli Zaretskii <eliz@gnu.org>
9545
9546 * descr-text.el (describe-char): Fix display of strong
9547 right-to-left characters and directional embeddings and overrides.
9548
9549 * simple.el (what-cursor-position): Fix display of codepoints of
9550 strong right-to-left characters.
9551
315bc30d
CY
95522011-12-05 Chong Yidong <cyd@gnu.org>
9553
9554 * faces.el (read-color): Doc fix.
9555
58a70b94
GM
95562011-12-05 Glenn Morris <rgm@gnu.org>
9557
9558 * align.el (align--set-marker): Add doc-string.
9559 Don't try to move something that is not a marker. (Bug#10216)
9560
5158face
GM
95612011-12-04 Glenn Morris <rgm@gnu.org>
9562
9563 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9564 overly zealous deletion of trailing whitespace.
9565
520fca41
JB
95662011-12-04 Juanma Barranquero <lekktu@gmail.com>
9567
9568 * server.el (server-delete-client): On Windows, do not try to delete
9569 the only terminal.
9570 (server-process-filter): On Windows, treat requests for a tty frame as
9571 if they were for a GUI frame if the running server is in GUI mode.
9572
5e605a2e
GM
95732011-12-03 Glenn Morris <rgm@gnu.org>
9574
9575 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9576
5c3fe83f
SM
95772011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9578
6f5e57e7
SM
9579 * electric.el: Streamline electric-indent's hook.
9580 (electric-indent-chars): Revert to simple list.
9581 (electric-indent-functions): New var.
9582 (electric-indent-post-self-insert-function): Use it.
9583
5c3fe83f
SM
9584 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9585 there's no inferior buffer (bug#10196).
9586 (prolog-consult-compile): Don't use toggle-read-only.
9587
6bdac736
MA
95882011-12-02 Michael Albinus <michael.albinus@gmx.de>
9589
9590 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9591 interrupt. (Bug#10187)
9592
6131ba7f
SM
95932011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9594
99c79fee
SM
9595 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9596 (bug#9160).
9597
6131ba7f
SM
9598 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9599 (bug#10191).
9600
cb0a02ea
JL
96012011-12-02 Juri Linkov <juri@jurta.org>
9602
9603 * info.el (Info-search): Display "end of manual" when Isearch
9604 reaches the end of single-file Info manual. (Bug#9918)
9605
66e0570c
EZ
96062011-12-02 Eli Zaretskii <eliz@gnu.org>
9607
9608 * isearch.el (isearch-message-prefix): Run the input method part
9609 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9610
02b16839
JL
96112011-12-02 Juri Linkov <juri@jurta.org>
9612
9613 * isearch.el (isearch-occur): Use `word-search-regexp' for
9614 `isearch-word'.
9615 (isearch-search-and-update): Add condition for `isearch-word' and
9616 call `word-search-regexp'. (Bug#10145)
9617
0b950688
GM
96182011-12-01 Glenn Morris <rgm@gnu.org>
9619
9620 * eshell/em-hist.el (eshell-hist-initialize):
9621 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9622 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9623
9505c3c7
SM
96242011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9627
1bbe96b2 96282011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9629
a1beca85
SM
9630 * progmodes/verilog-mode.el (verilog-pretty-expr):
9631 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9632 verilog, such as += *= and the like.
9633 (verilog-assignment-operator-re): Regular expression to find the
9634 assigment operator in a verilog assignment.
9635 (verilog-assignment-operation-re): Regular expression to find an
9636 assignment statement for pretty-expr.
9637 (verilog-in-attribute-p): Query returns true if point is in an
9638 attribute context; used to skip these for expression line up from
9639 pretty-expr.
9640 (verilog-in-parameter-p): Query returns true if point is in an
9641 parameter definition context; used to skip these for expression
9642 line up from pretty-expr.
9643 (verilog-in-parenthesis-p): Query returns true if point is in a
9644 parenthetical expression, specifically ( ) but not [ ] or { };
9645 used by pretty-expr.
9646 (verilog-just-one-space): If there is no space, don't add one.
9647 (verilog-get-lineup-indent-2): Specifically skip just attribute
9648 contexts for expression lineup, rather than skipping all
9649 parenthetical expressions.
9650 (verilog-calculate-indent): Fix comment, and fix indent.
9651 (verilog-do-indent): Indent declarations in lists (suggested by
9652 Joachim Lechner).
9653 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9654 skeleton items.
9655 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9656 by Alain Mellan).
9657
1bbe96b2 96582011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9659
9660 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9661 parameters with embedded comments. Reported by Ray Stevens.
9662 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9663 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9664 Reported by Tim Holt.
9665 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9666 instantiated by upper module causing wrong expansion until AUTOed a
9667 second time. Reported by K C Buckenmaier.
9668 (verilog-diff-auto): Fix showing .* as a difference when
9669 `verilog-auto-star-save' off. Reported by Dan Dever.
9670 (verilog-auto-reset, verilog-read-always-signals)
9671 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9672 temporary signals in reset list if
9673 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9674 style to each signal's assignment type, bug381.
9675 Reported by Thomas Esposito.
6288f0ca
WS
9676 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9677 (verilog-uvm-statement-re): Support UVM indentation and
9678 highlighting, with old OVM keywords only.
a1beca85 9679 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9680 Support AUTOTIEOFF creating non-wire data types.
9681 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9682 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9683 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9684 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9685 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9686 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9687 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9688 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9689 non-numeric vector width. Reported by Alex Reed.
9690 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9691 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9692 (verilog-auto-delete-trailing-whitespace):
9693 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9694 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9695 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9696 Fix verilog-scan-cache corruption when running user AUTO expansion
9697 hooks that call indentation routines.
9698 (verilog-simplify-range-expression): Fix typo ignoring lower case
9699 identifiers.
9700 (verilog-delete-auto): Fix delete-autos to also remove user created
9701 automatics, as long as they start with AUTO.
9702 (verilog-batch-diff-auto, verilog-diff-auto)
9703 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9704 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9705 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9706 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9707 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9708 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9709 is disabled and its cache will get corrupt, causing AUTOS not to
9710 expand. Instead use only -quick functions.
9711 (verilog-scan-region): Fix scanning over escaped quotes.
9712 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9713 (verilog-re-search-backward-quick)
9714 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9715 related functions now ignore strings, to fix misparsing of strings
9716 with magic comments embedded in them.
a1beca85
SM
9717 (verilog-read-auto-template):
9718 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9719 Reported by Brad Dobbie.
9720 (verilog-read-auto-template):
9721 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9722 Reported by Brad Dobbie.
6288f0ca
WS
9723 (verilog-auto-inst, verilog-auto-inst-param)
9724 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9725 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9726 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9727 debugging templates without merge conflicts, bug357.
9728 Reported by Brad Dobbie.
9729 (verilog-read-auto-template):
9730 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9731 Reported by Brad Dobbie.
9732 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9733 abbrevs so user won't be asked to save.
9734 (verilog-read-auto-lisp-present): Fix to start at beginning of
9735 buffer in case called outside of verilog-auto.
9736 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9737 to "X-2". Reported by Matthew Myers.
9738 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9739 all inputs from module templates. Reported by Leith Johnson.
9740 (verilog-module-inside-filename-p): Fix locating programs as with
9741 modules.
9742 (verilog-auto-inst-port): Fix vl-width expressions when using
9743 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9744 (verilog-decls-get-regs, verilog-decls-get-signals,
9745 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9746 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9747 verilog-read-decls): Combine reg and wire structures into one var
9748 structure to represent SystemVerilog concepts.
9749 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9750 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9751 (verilog-auto-wire-type, verilog-insert-definition):
9752 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9753 SystemVerilog "logic" keyword instead of "wire"/"reg".
9754 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9755 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9756 ifdef or generate if so there's not a driver conflict).
9757 Reported by Matthew Myers.
9758 (verilog-auto-declare-nettype, verilog-insert-definition):
9759 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9760 `default_nettype none. Reported by Julian Gorfajn.
9761 (verilog-read-always-signals-recurse, verilog-read-decls)
9762 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9763 malformed end statement, bug325. Reported by Joshua Wise and
9764 Andrew Drake.
9765 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9766 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9767 when expanding .* in interfaces, bug320.
9768 Reported by Pierre-David Pfister.
6288f0ca 9769 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9770 name and open parenthesis, bug317.
9771 Reported by Pierre-David Pfister.
6288f0ca
WS
9772 (verilog-simplify-range-expression): Fix simplification of
9773 multiplications inside AUTOWIRE connections, bug303.
9774 (verilog-auto-inst-port): Support parameter expansion in
9775 multidimensional arrays.
9776 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9777 after "assert property". Reported by Julian Gorfajn.
9778 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9779 with multiplication, bug303.
9780 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9781 Reported by Jan Frode Lonnum.
9782
1bbe96b2
GM
97832011-11-30 Juanma Barranquero <lekktu@gmail.com>
9784
9785 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9786 (hfy-shell-file-name, hfy-shell):
9787 * international/fontset.el (x-decompose-font-name): Fix typos.
9788
97892011-11-29 Ken Brown <kbrown@cornell.edu>
9790
9791 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9792 (gdb-version): Remove defvar.
9793 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9794 (gdb-gud-context-command, gdb-non-stop-handler)
9795 (gdb-current-context-command, gdb-stopped): Use it.
9796 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9797 (gdb-non-stop-handler): Don't enable pretty-printing here.
9798 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9799 non-stop mode. Use the following.
9800 (gdb-check-target-async): New defun.
9801 (gud-watch, gdb-stopped): Fix whitespace.
9802 (gdb-get-source-file): Don't try to display the source file if
9803 `gdb-main-file' is nil.
9804
98052011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * align.el: Try to generate fewer markers (bug#10047).
9808 (align--set-marker): New macro.
9809 (align-region): Use it.
9810
c935221f
SM
98112011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9812
9813 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9814
e70b5064
CY
98152011-11-29 Chong Yidong <cyd@gnu.org>
9816
9817 * indent.el (indent-for-tab-command, indent-according-to-mode):
9818 Doc fix.
9819 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9820
f3af92b7
MA
98212011-11-29 Michael Albinus <michael.albinus@gmx.de>
9822
9823 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9824 aware of remote file names. (Bug#10124)
9825
ed472be9
CY
98262011-11-29 Chong Yidong <cyd@gnu.org>
9827
9828 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9829
24510c22
SM
98302011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * files.el (find-file): Don't use force-same-window (bug#10144).
9833 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9834 use pop-to-buffer if the selected window can't be used.
9835 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9836
c60c3703
EZ
98372011-11-28 Eli Zaretskii <eliz@gnu.org>
9838
9839 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9840 special-mode-map.
9841
e95def75
CY
98422011-11-28 Chong Yidong <cyd@gnu.org>
9843
9844 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9845
c3f1c606
NR
98462011-11-27 Nick Roberts <nickrob@snap.net.nz>
9847
9848 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9849 gdb-get-source-file-list on gdb-create-source-file-list.
9850
00db469c
EZ
98512011-11-26 Eli Zaretskii <eliz@gnu.org>
9852
9853 * whitespace.el (whitespace-newline): Use a different foreground
9854 color for 16-color light-background displays.
9855
4ad3bc2a
CY
98562011-11-24 Chong Yidong <cyd@gnu.org>
9857
9858 * window.el (display-buffer--special-action): Doc fix.
9859
e9fce1ac
JB
98602011-11-25 Juanma Barranquero <lekktu@gmail.com>
9861
9862 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9863 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9864 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9865 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9866 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9867 (avl-tree-stack-first):
9868 * emacs-lisp/cconv.el (cconv--analyse-use):
9869 * net/gnutls.el (gnutls-negotiate): Fix typos.
9870
cb825e5d
GM
98712011-11-24 Glenn Morris <rgm@gnu.org>
9872
3adbe224
GM
9873 * lpr.el (lpr-windows-system, lpr-lp-system):
9874 * mail/binhex.el (binhex-begin-line):
9875 * progmodes/grep.el (grep-history, grep-find-history):
9876 * textmodes/flyspell.el:
9877 * vc/pcvs-defs.el (cvs-global-menu):
9878 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9879 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9880 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9881
321decc8
GM
9882 * net/tls.el: Fix case of "GnuTLS".
9883
420b63ad
GM
9884 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9885
cb825e5d
GM
9886 * version.el (emacs-build-system): Give it a doc-string.
9887
a0649f08
JL
98882011-11-24 Juri Linkov <juri@jurta.org>
9889
9890 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9891
c0bc0fd4
GM
98922011-11-24 Glenn Morris <rgm@gnu.org>
9893
9894 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9895 if called on a non-mime message just toggle the headers. (Bug#8006)
9896
20db1522
JB
98972011-11-24 Juanma Barranquero <lekktu@gmail.com>
9898
9899 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9900 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9901 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9902 (allout-rebullet-heading, allout-open-sibtopic)
9903 (allout-toggle-current-subtree-encryption)
9904 (allout-toggle-subtree-encryption, allout-encrypt-string)
9905 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9906 (allout-distinctive-bullets-string, allout-auto-activation):
9907 * window.el (window-normalize-buffer-to-display):
9908 * progmodes/verilog-mode.el (verilog-batch-indent):
9909 * textmodes/bibtex.el (bibtex-field-braces-opt)
9910 (bibtex-field-strings-opt):
9911 * vc/cvs-status.el (cvs-tree-merge):
9912 Fix typos.
9913
7262a87c
MA
99142011-11-23 Michael Albinus <michael.albinus@gmx.de>
9915
9916 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9917 `non-essential' to t, in order to avoid remote connections.
9918
283430a1
EZ
99192011-11-23 Eli Zaretskii <eliz@gnu.org>
9920
a1beca85
SM
9921 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9922 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
9923 case-insensitively.
9924
d2992a38
ML
99252011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9926
9927 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9928
50419064
GM
99292011-11-23 Glenn Morris <rgm@gnu.org>
9930
da94eca1
GM
9931 * paths.el (rmail-file-name): Reformat the doc-string so that it
9932 is picked up.
9933
9aac4de2
GM
9934 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9935 (rmail-auto-file): Ignore case in the "special" field names,
9936 as mail-fetch-field does for all others.
9937
8038d2d2
GM
9938 * mail/rmail.el (rmail-forward):
9939 * mail/rmailkwd.el (rmail-set-label):
9940 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9941 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9942
f3fe222a
GM
9943 * mail/rmail.el (rmail-current-message): Doc fix.
9944
50419064
GM
9945 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9946
28109f49
SM
99472011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9950
394c65f1
GM
99512011-11-22 Glenn Morris <rgm@gnu.org>
9952
9953 * mail/rmailmm.el (test-rmail-mime-handler)
9954 (test-rmail-mime-bulk-handler)
9955 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9956
f2a0aa3a
JL
99572011-11-21 Juri Linkov <juri@jurta.org>
9958
1154d12e
JB
9959 * calc/calc.el (calc-read-key-sequence):
9960 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 9961
9c34a344
LMI
99622011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9963
9964 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9965 Tell the caller that the next line needs recomputation, even
9966 though it doesn't start a sexp (bug#10094).
9967
f04a3be9
SM
99682011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9971
7978747f
SM
99722011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9973
f04a3be9
SM
9974 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9975 Use force-same-window.
7978747f 9976
fe7a3057
JB
99772011-11-20 Juanma Barranquero <lekktu@gmail.com>
9978
9979 * descr-text.el (describe-char-unicode-data):
9980 * json.el (json-string-escape):
9981 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9982 (Footnote-unicode, Footnote-style-p):
9983 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9984
24901d61
CY
99852011-11-20 Chong Yidong <cyd@gnu.org>
9986
9987 * window.el (replace-buffer-in-windows): Restore interactive spec.
9988
bac7ff22
SM
99892011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9990
24f3d7b9
SM
9991 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9992
bac7ff22
SM
9993 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9994 (byte-compile-global-not-obsolete-vars): New var.
9995 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9996 Use it.
9997 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9998
cd1181db
JB
99992011-11-20 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10002 * progmodes/pascal.el (electric-pascal-equal):
10003 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10004 * xml.el (xml-substitute-special): Fix typos.
10005
7fb18e9e
GM
100062011-11-20 Glenn Morris <rgm@gnu.org>
10007
10008 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10009 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10010 Doc fixes.
10011 (rmail-decode-mime-charset): Mark as obsolete.
10012
10013 * mail/rmailsum.el (rmail-message-regexp-p-1):
10014 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10015 Before using mime functions, check they are set. (Bug#10077)
10016
d5a6b3ba
JL
100172011-11-19 Juri Linkov <juri@jurta.org>
10018
10019 * info.el (Info-finder-find-node): Use `package--builtins' instead
10020 of `package-alist'. Use node names formed by the pattern "Keyword "
10021 and the keyword name.
10022
e981b61f
AS
100232011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10024
1d00653d 10025 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10026
3ffbc301
JL
100272011-11-19 Juri Linkov <juri@jurta.org>
10028
10029 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10030 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10031 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10032 `old-history', `old-history-forward'. Add let-binding
10033 `window-selected'. Remove calls to `kill-buffer',
10034 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10035 before calling `Info-find-node', so `Info-find-node-2' will reread
10036 the Info file. Restore window positions only when `window-selected'
10037 is non-nil.
10038
30c62133
JL
100392011-11-19 Juri Linkov <juri@jurta.org>
10040
10041 * isearch.el (isearch-lazy-highlight-new-loop):
10042 Remove condition `(not isearch-error)'. (Bug#9918)
10043
10044 * misearch.el (multi-isearch-search-fun): Add condition
10045 `(not bound)' to ignore lazy-highlighting search.
10046 Add the search-failed message "end of multi" when the end of
10047 multi-sequence is reached. Uncapitalize the search-failed
10048 message "Repeat for next buffer".
10049
10050 * info.el (Info-search): Add the search-failed message
10051 "end of the manual" when the end of the manual is reached
10052 in Isearch mode.
10053
645ca9cf
JL
100542011-11-19 Juri Linkov <juri@jurta.org>
10055
10056 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10057 Use non-destructive `remove' instead of `delete' because
10058 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10059 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10060
df754f66
JL
100612011-11-19 Juri Linkov <juri@jurta.org>
10062
10063 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10064 to nil instead of binding `search-ring' and `regexp-search-ring'.
10065 (Bug#9185)
10066
0e23d96a
EZ
100672011-11-19 Eli Zaretskii <eliz@gnu.org>
10068
10069 * simple.el (line-move): Force movement by logical lines for any
10070 hscrolled window, not only when auto-hscroll-mode is on.
10071 (line-move-visual): Update doc string to that effect. (Bug#10076)
10072
8a6ccb66
AS
100732011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10074
10075 * language/european.el (macintosh): Define as alias for mac-roman.
10076
49ae5b39
EZ
100772011-11-19 Eli Zaretskii <eliz@gnu.org>
10078
10079 * mail/rmailmm.el (rmail-mime-display-header)
10080 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10081 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10082 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10083 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10084 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10085 of a raw aref.
10086 (rmail-mime-entity-segment): To get past the tagline, move forward
10087 2 more lines, to account for the 2 empty lines that precede and
10088 follow the line with the buttons.
10089 (rmail-mime-update-tagline): Move one more line, to get past the
10090 empty line that follows the buttons in the tagline. (Bug#9520)
10091
c56cad4a
MR
100922011-11-19 Martin Rudalics <rudalics@gmx.at>
10093
10094 * window.el (window-max-delta-1, window-min-delta-1)
10095 (window-min-size-1, window-state-get-1, window-state-put-1)
10096 (window-state-put-2): Use "window--" prefix.
10097
cbe71af3
SM
100982011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10099
2ad52c60
SM
10100 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10101 (smie-warning-count): New var.
10102 (smie-set-prec2tab): Use it.
10103 (smie-bnf->prec2): Improve warnings. Add docstring.
10104 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10105 (smie-bnf--set-class): New function.
10106 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10107 corner case.
10108
6944dbc1
SM
10109 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10110 (compilation-error-properties, compilation-move-to-column):
10111 Handle compilation-first-column while in the target buffer.
10112
c400c4d7
SM
10113 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10114 Don't hardcode point-min==1.
10115
6dbe3e96
SM
10116 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10117 (eshell-rewrite-for-command): Remove workaround.
10118 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10119 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10120 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10121
cbe71af3
SM
10122 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10123
a8e1496d
GM
101242011-11-17 Glenn Morris <rgm@gnu.org>
10125
10126 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10127 Ignore buffer-local generated-autoload-file if it is the same
10128 as the global value. (Bug#10049)
10129
df85d315
JB
101302011-11-17 Juanma Barranquero <lekktu@gmail.com>
10131
10132 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10133 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10134 (reftex-toc-previous-heading, reftex-toc-max-level)
10135 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10136 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10137 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10138 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10139 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10140 (reftex-toc-rename-label, reftex-toc-visit-location)
10141 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10142 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10143 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10144 leaving "*toc*" only for references to the buffer.
10145
a0c2d0ae
MR
101462011-11-17 Martin Rudalics <rudalics@gmx.at>
10147
10148 * window.el (window-resize, delete-window, split-window):
10149 Replace window-splits by window-combination-resize.
1d00653d 10150 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10151
35c0bac8
GM
101522011-11-17 Glenn Morris <rgm@gnu.org>
10153
10154 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10155 Make bash entry derive from sh entry, not shell entry.
10156
d0c8fc8a
MA
101572011-11-16 Michael Albinus <michael.albinus@gmx.de>
10158
7262a87c
MA
10159 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10160 local file name.
10161
7877f373
JB
101622011-11-16 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * menu-bar.el (menu-bar-file-menu):
10165 * printing.el (pr-ps-utility):
10166 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10167 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10168 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10169 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10170 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10171 (icalendar--convert-cyclic-to-ical)
10172 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10173 (icalendar--convert-ical-to-diary)
10174 (icalendar--convert-recurring-to-diary)
10175 (icalendar--convert-non-recurring-all-day-to-diary)
10176 (icalendar-import-format-sample):
10177 * progmodes/idlw-shell.el (idlwave-shell-mode):
10178 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10179 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10180 (vhdl-ps-print-init): Fix typos.
10181
10649b82
KM
101822011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10183
9d0cfcd6
GM
10184 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10185 FSF and collapse date sequence, obscure author/maintainer email address
10186 better, remove extra version line, track relocation of author's webpage.
10649b82 10187
9d0cfcd6
GM
10188 * progmodes/python.el (python-pdbtrack-input-prompt)
10189 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10190 regular python pdb prompts. Adjustments shamelessly taken exactly as
10191 suggested in EmacsWiki page (tiny change):
10192 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10193
58179cce
JB
101942011-11-16 Juanma Barranquero <lekktu@gmail.com>
10195
10196 * expand.el (expand-pos, expand-index, expand-point):
10197 Remove redundant info from docstring.
10198 (expand-add-abbrevs): Doc fix.
10199 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10200 (expand-sample-perl-mode-expand-list): Fix typos.
10201
10202 * net/dbus.el (dbus-event-member-name):
10203 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10204 * term/pc-win.el (msdos-create-frame-with-faces):
10205 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10206
b6f67890
MR
102072011-11-16 Martin Rudalics <rudalics@gmx.at>
10208
10209 * window.el (split-window, window-state-get-1)
10210 (window-state-put-1, window-state-put-2): Rename occurrences of
10211 window-nest to window-combination-limit.
1d00653d 10212 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10213
ce7ddba0
CY
102142011-11-16 Chong Yidong <cyd@gnu.org>
10215
10216 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10217 regexp (Bug#10033).
10218
3ae704f4
SM
102192011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10222 `completing-read' will remove *Completions* and will preserve
10223 current-buffer for us.
10224 (tmm-add-prompt): Users of *Completions* will always (re)set its
10225 major mode.
10226 (tmm-old-comp-map): Remove.
10227
6ad1cdde
GM
102282011-11-16 Glenn Morris <rgm@gnu.org>
10229
10230 * mail/rmailedit.el: Require rmailmm when compiling.
10231 (rmail-old-mime-state): New declaration.
10232 (rmail-edit-current-message): If editing a mime message,
10233 edit the "raw" message from the mbox buffer.
10234 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10235
d20faa20
GM
102362011-11-15 Glenn Morris <rgm@gnu.org>
10237
10238 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10239 which wasn't being used. Add optional arg to force given state.
10240 (rmail-mime): Add optional arg to force given state.
10241
c7015153
JB
102422011-11-15 Juanma Barranquero <lekktu@gmail.com>
10243
10244 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10245 * frame.el (display-mm-dimensions-alist):
10246 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10247 (outline-move-subtree-down):
10248 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10249 (newsticker--treeview-do-get-node):
10250 * net/quickurl.el (quickurl-list-buffer-name):
10251 * progmodes/dcl-mode.el (dcl-mode):
10252 * progmodes/gdb-mi.el (gdb-mapcar*):
10253 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10254
45261b50
GM
102552011-11-15 Glenn Morris <rgm@gnu.org>
10256
10257 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10258 in a boolean sense, so just make it a boolean, and fix the doc.
10259 (rmail-show-mime-function, rmail-mime-feature)
10260 (rmail-require-mime-maybe): Doc fixes.
10261 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10262
10263 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10264
0d26e0b6
JB
102652011-11-15 Juanma Barranquero <lekktu@gmail.com>
10266
10267 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10268 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10269 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10270 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10271
447f30f6
GM
102722011-11-15 Glenn Morris <rgm@gnu.org>
10273
672b871d
GM
10274 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10275 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10276 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10277 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10278 (rmail-mime, rmail-show-mime): Doc fixes.
10279
f6aa5bb1
GM
10280 * term/ns-win.el (mode-line-frame-identification):
10281 Leave it alone. (Bug#10051)
10282
947cd66b
GM
10283 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10284
447f30f6
GM
10285 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10286 Handle empty buffers. (Bug#9978)
10287
0b381c7e
JB
102882011-11-14 Juanma Barranquero <lekktu@gmail.com>
10289
10290 * international/mule.el (define-charset):
10291 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10292 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10293 * progmodes/verilog-mode.el (verilog-backward-token):
10294 * textmodes/ispell.el (lookup-words):
10295 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10296
71e027ac
GM
102972011-11-14 Glenn Morris <rgm@gnu.org>
10298
56632ce4
GM
10299 * progmodes/executable.el
10300 (executable-make-buffer-file-executable-if-script-p):
10301 Handle file-modes returning nil.
10302
40500957
GM
10303 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10304 message - not necessary, and causes problems. (Bug#9831)
10305
071c2340
GM
10306 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10307
d3cfca60
GM
10308 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10309
71e027ac
GM
10310 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10311 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10312 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10313
89d61221
MR
103142011-11-12 Martin Rudalics <rudalics@gmx.at>
10315
10316 * window.el (window-resize, delete-window): Use window-splits
10317 variable instead of function.
10318 (window-state-get-1, window-state-put-2, window-state-put):
10319 Don't deal with windows' splits status.
10320
98282f6f
GM
103212011-11-12 Glenn Morris <rgm@gnu.org>
10322
10323 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10324 (apropos-documentation): Doc fixes.
10325
40a8bdf6
JB
103262011-11-11 Juanma Barranquero <lekktu@gmail.com>
10327
10328 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10329 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10330
65bd19ff
SM
103312011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10332
10333 * electric.el (electric-indent-post-self-insert-function): Make it
10334 possible for a char to only indent in some circumstances.
10335 (electric-indent-mode): Simplify.
10336
54f9154c
MR
103372011-11-11 Martin Rudalics <rudalics@gmx.at>
10338
10339 * window.el (windows-with-parameter): Remove unused function.
10340 (windows-at-side): Rename to window-at-side-list.
10341 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10342 (window-side-check, window-size-ignore, window-size-fixed-1)
10343 (window-in-direction-2): Prefix with "window--".
10344 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10345
68cbc58b
GM
103462011-11-11 Glenn Morris <rgm@gnu.org>
10347
10348 * subr.el (eval-after-load): If FILE is already loaded,
10349 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10350
b2621720
GM
103512011-11-10 Glenn Morris <rgm@gnu.org>
10352
9a4de110
GM
10353 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10354 Call svn via vc-svn-command rather than vc-do-command.
10355 (vc-svn-command): Add --non-interactive. (Bug#9993)
10356 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10357
b2621720
GM
10358 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10359 Add toggle-read-only. (Bug#7292)
10360 * files.el (toggle-read-only): Mention that it should only
10361 be used interactively. (Bug#10006)
10362
1dce7193
SM
103632011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10364
d9ac1a1e
SM
10365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10366 Adjust regexp for OCaml warnings.
10367
0c325082
SM
10368 * electric.el (electric-pair-post-self-insert-function): Let user
10369 turn it off buffer-locally (bug#9932).
10370
90132c14
SM
10371 * progmodes/python.el (python-beginning-of-statement):
10372 Rewrite (bug#2703).
10373
1dce7193
SM
10374 * progmodes/compile.el: Better handle TABs (bug#9749).
10375 (compilation-internal-error-properties)
10376 (compilation-next-error-function): Obey the target buffer's
10377 compilation-error-screen-columns.
10378
c4e7c63a
JB
103792011-11-09 Juanma Barranquero <lekktu@gmail.com>
10380
10381 * progmodes/meta-mode.el: Remove obsolete comments.
10382 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10383 Fix typos in docstrings.
10384
2cffd681
MR
103852011-11-09 Martin Rudalics <rudalics@gmx.at>
10386
10387 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10388 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10389 (window--resizable): New function. Make all callers of
10390 window-resizable call window--resizable instead.
10391 (window-resizable): Rewrite in terms of window--resizable.
10392
0edcba87
GM
103932011-11-08 Glenn Morris <rgm@gnu.org>
10394
10395 * progmodes/delphi.el (delphi-mode-syntax-table):
10396 Let define-derived-mode define a proper syntax table. (Bug#9994)
10397
4b0d61e3
SM
103982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * window.el: Stay away from defsubst.
10401 (window-list-no-nils): Remove.
10402 (window-state-get-1, window-state-get): Use backquote instead.
10403
cd394be1 104042011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10405
4b0d61e3 10406 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10407 Fix incorrect use of default argument in `completing-read'.
10408
e1c2c6f2
MR
104092011-11-08 Martin Rudalics <rudalics@gmx.at>
10410
10411 * window.el (display-buffer-function, special-display-function):
10412 Mention display-buffer-record-window but do not mention
10413 help-setup parameter in doc-strings.
b3f4a882 10414 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10415
105216ed
CY
104162011-11-08 Chong Yidong <cyd@gnu.org>
10417
10418 * window.el (window-total-height, window-total-width): Doc fix.
10419 (window-body-size): Move from C.
10420 (window-body-height, window-body-width): Move to C.
10421
0a9f9ab5
SM
104222011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * window.el: Make special-display like display-buffer-alist (bug#9532).
10425 (display-buffer--special-action): New function, morphed
10426 from display-buffer--special.
10427 (display-buffer): Use it to handle special-display-buffers at higher
10428 priority (just after display-buffer-alist).
10429 (display-buffer-fallback-action, display-buffer--other-frame-action)
10430 (pop-to-buffer-same-window): Remove display-buffer--special.
10431
a769dd15
GM
104322011-11-07 Glenn Morris <rgm@gnu.org>
10433
10434 * calendar/cal-menu.el (cal-menu-set-date-title):
10435 Do nothing if not in a calendar. (Bug#9976)
10436
05a61ee3
SM
104372011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * files.el (find-file): Always use selected-window.
10440
be7f5545
MR
104412011-11-07 Martin Rudalics <rudalics@gmx.at>
10442
10443 * window.el (window-combinations): Make WINDOW argument
10444 mandatory. Rewrite doc-string.
10445 (walk-window-subtree, window-atom-check, window-min-delta)
10446 (window-max-delta, window--resize-this-window)
10447 (window--resize-root-window-vertically, window-tree)
10448 (balance-windows, window-state-put): Rewrite doc-strings as to
10449 not mention the term "subwindow".
10450 (window--resize-subwindows-skip-p): Rename to
10451 window--resize-child-windows-skip-p.
10452 (window--resize-subwindows-normal): Rename to
10453 window--resize-child-windows-normal.
10454 (window--resize-subwindows): Rename to
10455 window--resize-child-windows.
10456 (window-or-subwindow-p): Rename to window--in-subtree-p.
10457
3c6702ef
ML
104582011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10459
10460 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10461 Ensure that mbox format messages end in two newlines (Bug#9974).
10462
49745b39
CY
104632011-11-06 Chong Yidong <cyd@gnu.org>
10464
10465 * window.el (window-combination-p): Function deleted; its
10466 side-effect is not used in any existing code.
10467 (window-combinations, window-combined-p): Call window-*-child
10468 directly.
10469
24300f5f
CY
104702011-11-05 Chong Yidong <cyd@gnu.org>
10471
10472 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10473 (window-size-ignore, window-state-get): Callers changed.
10474 (window-normalize-window): Rename from window-normalize-any-window.
10475 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10476 (window-normalize-live-window): Delete.
447f16b8
CY
10477 (window-combination-p, window-combined-p, window-combinations)
10478 (walk-window-subtree, window-atom-root, window-min-size)
10479 (window-sizable, window-sizable-p, window-size-fixed-p)
10480 (window-min-delta, window-max-delta, window-resizable)
10481 (window-resizable-p, window-full-height-p, window-full-width-p)
10482 (window-current-scroll-bars, window-point-1, set-window-point-1)
10483 (window-at-side-p, window-in-direction, window-resize)
10484 (adjust-window-trailing-edge, maximize-window, minimize-window)
10485 (window-deletable-p, delete-window, delete-other-windows)
10486 (record-window-buffer, unrecord-window-buffer)
10487 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10488 (quit-window, split-window, window-state-put)
10489 (set-window-text-height, fit-window-to-buffer)
10490 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10491
89bd5ee1
EZ
104922011-11-04 Eli Zaretskii <eliz@gnu.org>
10493
53479029
EZ
10494 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10495 rfc2047-decode-string.
10496 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10497 warnings.
10498
89bd5ee1
EZ
10499 * window.el (window-body-height, window-body-width): Mention in
10500 the doc string that the return values are in frame's canonical
10501 units. (Bug#9949)
10502
bd17fdee
AM
105032011-11-03 Alan Mackenzie <acm@muc.de>
10504
10505 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10506 change in cc-engine.el.
10507
acc825c5
SM
105082011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10511
1885e5b8
MR
105122011-11-02 Martin Rudalics <rudalics@gmx.at>
10513
10514 * window.el (quit-window): Call unrecord-window-buffer after
10515 showing another buffer in the window. (Bug#9937)
acc825c5 10516 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10517
ebe06da9
JB
105182011-11-02 Juanma Barranquero <lekktu@gmail.com>
10519
10520 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10521 Accept status with more than 9 shelves. (Bug#9935)
10522 Reported by Colin D Bennett <colin@gibibit.com>.
10523
4ee88440
MR
105242011-11-01 Martin Rudalics <rudalics@gmx.at>
10525
10526 * help.el (with-help-window): Don't reference
10527 temp-buffer-show-specifiers in doc-string.
10528
08e1d82c
AS
105292011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10530
10531 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10532 menu-item.
10533
84bd6e9e
VJL
105342011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10535
10536 * whitespace.el: New version 13.2.2.
10537 (whitespace-newline-mode): Disable properly. Reported by Sarah
10538 <EmacsWiki>.
10539
dba0634a
UJ
105402011-10-30 Ulf Jasper <ulf.jasper@web.de>
10541
10542 * net/newst-treeview.el: Remove "Time-stamp".
10543 (newsticker--group-manage-orphan-feeds): Do not call
10544 newsticker--treeview-tree-update.
db22a3c2
JB
10545 (newsticker-treeview-update, newsticker-treeview):
10546 Call newsticker--treeview-tree-update if necessary.
dba0634a 10547
3d8daefe
MR
105482011-10-30 Martin Rudalics <rudalics@gmx.at>
10549
10550 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10551 (window-iso-combinations): Remove "iso-" infix.
10552 Suggested by Chong Yidong.
3d8daefe
MR
10553 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10554 (window-max-delta-1, window-resize, window--resize-siblings)
10555 (window--resize-this-window, adjust-window-trailing-edge)
10556 (split-window, balance-windows-1)
10557 (shrink-window-if-larger-than-buffer):
10558 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10559 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10560
1bc4c3ae
SM
105612011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10562
10563 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10564 in place (bug#9907).
10565 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10566 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10567 (eshell-structure-basic-command, eshell-rewrite-while-command)
10568 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10569 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10570 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10571 (eshell-do-pipelines-synchronously, eshell-eval-command):
10572 Use backquotes and prefer setq to set.
10573 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10574 (eshell-macrop): Use functionp.
c1e2f5fa 10575 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10576
30b65d9c
CY
105772011-10-30 Chong Yidong <cyd@gnu.org>
10578
10579 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10580 instead of set-mark (Bug#9810).
10581
2d197ffb
CY
105822011-10-30 Chong Yidong <cyd@gnu.org>
10583
10584 * window.el (split-window-below, split-window-right): Rename from
10585 split-window-above-each-other and split-window-side-by-side
10586 respectively. All callers changed.
10587 (split-window-sensibly, split-window-sensibly): Use them.
10588 (split-window-keep-point): Doc fix.
10589
10590 * isearch.el: Add isearch-scroll property to split-window-below
10591 and split-window-right.
10592
10593 * follow.el (follow-mode):
10594 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10595 * progmodes/ada-xref.el (ada-gdb-application):
10596 * emulation/vip.el (vip-buffer-in-two-windows):
10597 * image-dired.el (image-dired-dired-with-window-configuration):
10598 * dired-x.el (dired-do-find-marked-files):
10599 * dired.el (dired-pop-to-buffer):
10600 * bs.el (bs--show-with-configuration):
10601 * vc/emerge.el (emerge-setup-windows):
10602 * textmodes/two-column.el (2C-two-columns):
10603 * textmodes/reftex-toc.el (reftex-toc):
10604 * progmodes/gdb-mi.el (gdb-setup-windows):
10605 * progmodes/fortran.el (fortran-window-create):
10606 * net/newst-treeview.el (newsticker--treeview-window-init):
10607 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10608 * emulation/tpu-edt.el (tpu-gold-map):
10609 * emulation/crisp.el (crisp-mode-map):
10610 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10611
38bb2ca8
CY
106122011-10-29 Chong Yidong <cyd@gnu.org>
10613
aa4de341
CY
10614 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10615
e1eb5385
CY
10616 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10617
5d2ece3c
CY
10618 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10619 forged Ispell output (Bug#7904).
10620
38bb2ca8
CY
10621 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10622
d0af9f77
SM
106232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10624
10625 * doc-view.el: Avoid ugly errors about not finding nil.
10626 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10627 (doc-view-dvipdf-program, doc-view-unoconv-program)
10628 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10629 Avoid nil or absolute file name as default value.
10630 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10631
52bedd34
AM
106322011-10-28 Alan Mackenzie <acm@muc.de>
10633
db22a3c2 10634 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10635
7e43cfa5
AM
106362011-10-28 Alan Mackenzie <acm@muc.de>
10637
10638 Amend the handling of c-beginning/end-of-defun in nested declaration
10639 scopes.
10640
52bedd34
AM
10641 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10642 cc-langs.el. Change it to a defcustom.
7e43cfa5 10643
52bedd34
AM
10644 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10645 cc-vars.el.
7e43cfa5 10646
d0af9f77
SM
10647 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10648 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10649
52bedd34 10650 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10651 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10652 (c-widen-to-enclosing-decl-scope): New function.
10653 (c-while-widening-to-decl-block): New macro.
10654 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10655 outward for defun boundaries, and correspondingly change symbol
10656 `respect-enclosure' to `go-outward'.
10657 (c-declaration-limits): Change algorithm to report only the "innermost"
10658 defun's boundaries.
10659
1a2ce9ee
DD
106602011-10-28 Deniz Dogan <deniz@dogan.se>
10661
10662 * net/rcirc.el (rcirc-mode): Use hard newlines.
10663
bc97a826
AM
106642011-10-28 Alan Mackenzie <acm@muc.de>
10665
10666 Amend to indent and fontify macros "which include their own semicolon"
10667 correctly, using the "virtual semicolon" mechanism.
10668
52bedd34 10669 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10670
d0af9f77 10671 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10672 Recode to scan one line at a time rather than having \n and \r
58179cce 10673 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10674 (c-forward-label): Amend for virtual semicolons.
58179cce 10675 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10676
52bedd34
AM
10677 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10678 of the new C macros.
bc97a826 10679
52bedd34 10680 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10681 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10682 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10683 (c-opt-cpp-macro-define): Make into a full language variable.
10684 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10685 AWK Mode (including \n, \r) removed, no longer needed.
10686
d0af9f77
SM
10687 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10688 Invoke c-make-macro-with-semi-re.
bc97a826 10689
52bedd34
AM
10690 * progmodes/cc-vars.el (c-macro-with-semi-re):
10691 (c-macro-names-with-semicolon): New variables.
58179cce 10692 (c-make-macro-with-semi-re): New function.
bc97a826 10693
7a6c0941
SM
106942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10695
10696 * vc/log-edit.el: Fill empty field rather than adding new one.
10697 (log-edit-add-field): New function.
10698 (log-edit-insert-changelog): Use it.
10699
b0c4cdcf
ML
107002011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10701
10702 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10703
ee1f1da9
SM
107042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10707 (gdb--check-interpreter): New function.
10708 (gdb): Use it.
10709
51bc5f8b
GM
107102011-10-27 Glenn Morris <rgm@gnu.org>
10711
416a2c45
GM
10712 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10713 (least-positive-float, least-negative-float)
10714 (least-positive-normalized-float, least-negative-normalized-float)
10715 (float-epsilon, float-negative-epsilon):
10716 Remove unnecessary declarations.
10717
10718 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10719 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10720 (least-positive-float, least-negative-float)
10721 (least-positive-normalized-float, least-negative-normalized-float)
10722 (float-epsilon, float-negative-epsilon): Add doc-strings,
10723 based on those in cl.texi.
10724
51bc5f8b
GM
10725 * files.el (set-visited-file-name): If the major-mode changed,
10726 reload the local variables. (Bug#9796)
10727
15de15c6
CY
107282011-10-27 Chong Yidong <cyd@gnu.org>
10729
10730 * subr.el (change-major-mode-after-body-hook): New hook.
10731 (run-mode-hooks): Run it.
10732
ee1f1da9
SM
10733 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10734 Use change-major-mode-before-body-hook.
15de15c6
CY
10735
10736 * simple.el (fundamental-mode):
10737 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10738 change introducing fundamental-mode-hook.
10739
5430d399
JB
107402011-10-26 Juanma Barranquero <lekktu@gmail.com>
10741
acc825c5 10742 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10743
ad74a69e
MA
107442011-10-26 Michael Albinus <michael.albinus@gmx.de>
10745
10746 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10747 tramp.el explicitly. (Bug#7583)
ad74a69e 10748
71d4c2a5
SM
107492011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * progmodes/octave-mod.el:
10752 * progmodes/octave-inf.el: Update maintainer.
10753
b1f6fa26
CY
107542011-10-26 Chong Yidong <cyd@gnu.org>
10755
10756 * subr.el (with-wrapper-hook): Rewrite doc.
10757
3f04efd6
MA
107582011-10-25 Michael Albinus <michael.albinus@gmx.de>
10759
10760 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10761 filenames "/method:foo:". (Bug#9793)
3f04efd6 10762
410488d3
SM
107632011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10766 (bug#9865).
10767
c1ebb47e
GM
107682011-10-24 Glenn Morris <rgm@gnu.org>
10769
10770 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10771
7f5c46c7
MA
107722011-10-24 Michael Albinus <michael.albinus@gmx.de>
10773
10774 * notifications.el: Add the requirement of a running D-Bus session
10775 bus to the Commentary.
10776
db2440b6
JL
107772011-10-24 Juri Linkov <juri@jurta.org>
10778
10779 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10780 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10781 (Bug#9364)
10782
feecf435
JL
107832011-10-24 Juri Linkov <juri@jurta.org>
10784
10785 * info.el (Info-following-node-name-re): Add newline to the list
10786 of allowed characters for leading space. (Bug#9824)
10787
a3839de2
SM
107882011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10789
acc825c5
SM
10790 * progmodes/octave-inf.el (inferior-octave-mode-map):
10791 Fix C-c C-h binding.
a3839de2
SM
10792 * progmodes/octave-mod.el (octave-help): Remove.
10793
09388e76
MA
107942011-10-23 Michael Albinus <michael.albinus@gmx.de>
10795
10796 Sync with Tramp 2.2.3.
10797
10798 * net/tramp-cache.el (top): Pacify byte-compiler using
10799 `init-file-user' and `site-run-file'.
10800
10801 * net/trampver.el: Update release number.
10802
86c60681
CY
108032011-10-23 Chong Yidong <cyd@gnu.org>
10804
10805 * files.el (toggle-read-only): Remove obsolete comment about
10806 version control.
10807
10808 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10809 for toggle-read-only. Note that this hasn't called vc-next-action
10810 since 2008-05-02, though it wasn't documented at the time.
10811
a3839de2
SM
10812 * vc/ediff-init.el (ediff-toggle-read-only-function):
10813 Use toggle-read-only.
86c60681 10814
cd5495ff
AM
108152011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10816
10817 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10818 of c-parse-state.
10819
00b77525 10820 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10821 correct faulty logical expression.
cd5495ff
AM
10822 (c-parse-state-state, c-record-parse-state-state):
10823 (c-replay-parse-state-state): New defvar/defuns.
10824 (c-debug-parse-state): Use new functions.
10825
42ee24ed
MR
108262011-10-22 Martin Rudalics <rudalics@gmx.at>
10827
10828 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10829 last fix. Use window-in-direction correctly.
42ee24ed 10830
a7dee7e7
CY
108312011-10-21 Chong Yidong <cyd@gnu.org>
10832
10833 * progmodes/idlwave.el (idlwave-mode):
10834 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
10835 require-final-newline; that's done in prog-mode.
10836 Suggested by Stefan Monnier.
a7dee7e7 10837
e07b9a6d
MR
108382011-10-21 Martin Rudalics <rudalics@gmx.at>
10839
10840 * mouse.el (mouse-drag-window-above)
10841 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10842 (mouse-drag-mode-line-1, mouse-drag-header-line)
10843 (mouse-drag-vertical-line-rightward-window): Remove.
10844 (mouse-drag-line): New function.
10845 (mouse-drag-mode-line, mouse-drag-header-line)
10846 (mouse-drag-vertical-line): Call mouse-drag-line.
10847 * window.el (window-at-side-p, windows-at-side): New functions.
10848
7e1361d9
UM
108492011-10-21 Ulrich Mueller <ulm@gentoo.org>
10850
10851 * tar-mode.el (tar-grind-file-mode):
10852 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10853
30fcaf3a
CY
108542011-10-21 Chong Yidong <cyd@gnu.org>
10855
10856 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
10857 * progmodes/vera-mode.el (vera-mode):
10858 Use mode-require-final-newline.
30fcaf3a 10859
516eddb0
GM
108602011-10-20 Glenn Morris <rgm@gnu.org>
10861
db22a3c2 10862 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 10863
10d5f513
CS
108642011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10865
10866 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10867
ac6c8639
CY
108682011-10-20 Chong Yidong <cyd@gnu.org>
10869
10870 * emulation/cua-base.el (cua-mode):
10871 * mail/footnote.el (footnote-mode):
10872 * mail/mailabbrev.el (mail-abbrevs-mode):
10873 * net/xesam.el (xesam-minor-mode):
10874 * progmodes/bug-reference.el (bug-reference-mode):
10875 * progmodes/cap-words.el (capitalized-words-mode):
10876 * progmodes/compile.el (compilation-minor-mode)
10877 (compilation-shell-minor-mode):
10878 * progmodes/gud.el (gud-tooltip-mode):
10879 * progmodes/hideif.el (hide-ifdef-mode):
10880 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10881 * progmodes/subword.el (subword-mode):
10882 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10883 * progmodes/which-func.el (which-function-mode):
10884 * term/tvi970.el (tvi970-set-keypad-mode):
10885 * term/vt100.el (vt100-wide-mode):
10886 * textmodes/flyspell.el (flyspell-mode):
10887 * textmodes/ispell.el (ispell-minor-mode):
10888 * textmodes/nroff-mode.el (nroff-electric-mode):
10889 * textmodes/paragraphs.el (use-hard-newlines):
10890 * textmodes/refill.el (refill-mode):
10891 * textmodes/reftex.el (reftex-mode):
10892 * textmodes/rst.el (rst-minor-mode):
10893 * textmodes/sgml-mode.el (html-autoview-mode)
10894 (sgml-electric-tag-pair-mode):
10895 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10896 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10897 * emulation/crisp.el (crisp-mode):
10898 * emacs-lisp/eldoc.el (eldoc-mode):
10899 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10900 minor mode behavior.
10901
aa42ab43
JL
109022011-10-19 Juri Linkov <juri@jurta.org>
10903
10904 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10905 the list of hard-coded chars with escape-glyph face.
10906
89400f1d
SM
109072011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10910
305c07f6
MA
109112011-10-19 Michael Albinus <michael.albinus@gmx.de>
10912
10913 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10914 running process.
10915
13754b54
GM
109162011-10-19 Glenn Morris <rgm@gnu.org>
10917
10918 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10919 Ignore ignored files. (Bug#9726)
10920
06e21633
CY
109212011-10-19 Chong Yidong <cyd@gnu.org>
10922
10923 Doc fix for minor modes, stating that an omitted argument enables
10924 the mode unconditionally when called from Lisp.
10925
10926 * abbrev.el (abbrev-mode):
10927 * allout.el (allout-mode):
10928 * autoinsert.el (auto-insert-mode):
10929 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10930 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10931 (global-auto-revert-mode):
10932 * battery.el (display-battery-mode):
10933 * composite.el (global-auto-composition-mode)
10934 (auto-composition-mode):
10935 * delsel.el (delete-selection-mode):
10936 * desktop.el (desktop-save-mode):
10937 * dired-x.el (dired-omit-mode):
10938 * dirtrack.el (dirtrack-mode):
10939 * doc-view.el (doc-view-minor-mode):
10940 * double.el (double-mode):
10941 * electric.el (electric-indent-mode, electric-pair-mode):
10942 * emacs-lock.el (emacs-lock-mode):
10943 * epa-hook.el (auto-encryption-mode):
10944 * follow.el (follow-mode):
10945 * font-core.el (font-lock-mode):
10946 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10947 * help.el (temp-buffer-resize-mode):
10948 * hilit-chg.el (highlight-changes-mode)
10949 (highlight-changes-visible-mode):
10950 * hi-lock.el (hi-lock-mode):
10951 * hl-line.el (hl-line-mode, global-hl-line-mode):
10952 * icomplete.el (icomplete-mode):
10953 * ido.el (ido-everywhere):
10954 * image-file.el (auto-image-file-mode):
10955 * image-mode.el (image-minor-mode):
10956 * iswitchb.el (iswitchb-mode):
10957 * jka-cmpr-hook.el (auto-compression-mode):
10958 * linum.el (linum-mode):
10959 * longlines.el (longlines-mode):
10960 * master.el (master-mode):
10961 * mb-depth.el (minibuffer-depth-indicate-mode):
10962 * menu-bar.el (menu-bar-mode):
10963 * minibuf-eldef.el (minibuffer-electric-default-mode):
10964 * mouse-sel.el (mouse-sel-mode):
10965 * msb.el (msb-mode):
10966 * mwheel.el (mouse-wheel-mode):
10967 * outline.el (outline-minor-mode):
10968 * paren.el (show-paren-mode):
10969 * recentf.el (recentf-mode):
10970 * reveal.el (reveal-mode, global-reveal-mode):
10971 * rfn-eshadow.el (file-name-shadow-mode):
10972 * ruler-mode.el (ruler-mode):
10973 * savehist.el (savehist-mode):
10974 * scroll-all.el (scroll-all-mode):
10975 * scroll-bar.el (scroll-bar-mode):
10976 * server.el (server-mode):
10977 * shell.el (shell-dirtrack-mode):
10978 * simple.el (auto-fill-mode, transient-mark-mode)
10979 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10980 (line-number-mode, column-number-mode, size-indication-mode)
10981 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10982 * strokes.el (strokes-mode):
10983 * time.el (display-time-mode):
10984 * t-mouse.el (gpm-mouse-mode):
10985 * tool-bar.el (tool-bar-mode):
10986 * tooltip.el (tooltip-mode):
10987 * type-break.el (type-break-mode-line-message-mode)
10988 (type-break-query-mode):
10989 * view.el (view-mode):
10990 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10991 (global-whitespace-mode, global-whitespace-newline-mode):
10992 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10993
a3839de2
SM
10994 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10995 Fix autogenerated docstring.
06e21633 10996
5214e501
JL
109972011-10-19 Juri Linkov <juri@jurta.org>
10998
10999 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11000 by checking environment variables "DESKTOP_SESSION" and
11001 "XDG_CURRENT_DESKTOP". (Bug#9779)
11002
195f8db9
JL
110032011-10-19 Juri Linkov <juri@jurta.org>
11004
11005 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11006 (browse-url-chromium-program, browse-url-chromium-arguments):
11007 New defcustoms.
11008 (browse-url-default-browser): Check for `browse-url-chromium' and
11009 call `browse-url-chromium-program'.
11010 (browse-url-chromium): New command. (Bug#9779)
11011
343a34ff
JB
110122011-10-18 Juanma Barranquero <lekktu@gmail.com>
11013
11014 * facemenu.el (list-colors-duplicates): On Windows, detect more
11015 duplicates by assuming that only colors matching "^System" are
11016 special "system colors". (Bug#9722)
11017
6978a151
SM
110182011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11021 to distinguish the author from the committer.
11022
6a80b297
MA
110232011-10-18 Michael Albinus <michael.albinus@gmx.de>
11024
11025 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11026
b31a5677
JK
110272011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11028
11029 * international/mule.el (sgml-html-meta-auto-coding-function):
11030 Add support for detecting encoding in HTML5 specified only as
11031 <meta charset="UTF-8">. Implementation just makes http-equiv and
11032 content-type parts from HTML4 encoding string optional. (Bug#9716)
11033
80c6d77f
GM
110342011-10-18 Glenn Morris <rgm@gnu.org>
11035
11036 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11037
08b0fee8
CY
110382011-10-18 Chong Yidong <cyd@gnu.org>
11039
11040 * faces.el (cursor): Doc fix.
11041
67e729a5
CY
110422011-10-17 Chong Yidong <cyd@gnu.org>
11043
11044 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11045
343a34ff 110462011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11047
11048 * dirtrack.el (dirtrack): Support shell buffers with path
11049 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11050
0bc06380
TZ
110512011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11052
11053 * json.el: Bump version to 1.3 and note change in History.
11054 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11055
8b79f3e0
SM
110562011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11057
5a7c536b
SM
11058 * comint.el (comint-insert-input, comint-send-input)
11059 (comint-get-old-input-default, comint-backward-matching-input)
11060 (comint-next-prompt): Use nil instead of `input' for field property of
11061 past user input (bug#114).
11062
96a8a0df
SM
11063 * minibuffer.el (completion--replace): Inherit surrounding properties
11064 (bug#114).
11065 (minibuffer-complete-and-exit): Use it.
11066
8b79f3e0
SM
11067 * comint.el (comint--table-subvert): Quote the all-completions output
11068 (bug#9160).
11069
b8f7ff0d
MR
110702011-10-17 Martin Rudalics <rudalics@gmx.at>
11071
8b79f3e0 11072 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11073
b8f7ff0d 11074 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11075 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11076 entries and separate them from frame entries.
11077
c235b555
GM
110782011-10-15 Glenn Morris <rgm@gnu.org>
11079
11080 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11081 Doc fixes.
11082
6bbfa6e1
CY
110832011-10-15 Chong Yidong <cyd@stupidchicken.com>
11084
8b79f3e0
SM
11085 * net/network-stream.el (network-stream-open-starttls):
11086 Improve detection of failure due to lack of TLS support.
ec5c990d 11087
6bbfa6e1
CY
11088 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11089 putting the input text in front and in bold.
11090
98488977
SM
110912011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11092
3d1337be
SM
11093 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11094
ee0b45e4
SM
11095 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11096 empty buffer.
11097
98488977
SM
11098 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11099 unread-command-events rather than pushing yet-another event.
11100
186f4720
EZ
111012011-10-14 Eli Zaretskii <eliz@gnu.org>
11102
11103 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11104 the explanation of the possible choices. Make the options passed
11105 to completing-read shorter.
11106
8b7a997c
AM
111072011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11108
11109 * textmodes/flyspell.el (flyspell-large-region): Make sure
11110 extended character mode is used if defined (Bug#1339).
11111
12587bbb
EZ
111122011-10-13 Eli Zaretskii <eliz@gnu.org>
11113
11114 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11115 character info for LRE, LRO, RLE, and RLO characters by appending
11116 an invisible PDF.
12587bbb 11117
bad41229
SM
111182011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11121 even in case of error; add debug spec; simplify data flow.
11122 (with-timeout-handler): Remove.
11123
28dbc92f
MA
111242011-10-12 Michael Albinus <michael.albinus@gmx.de>
11125
11126 Fix Bug#6019, Bug#9315.
11127
11128 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11129 complete `buffer-file-name', the local file name part could look
11130 remotely (for example on VMS).
11131
11132 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11133 `tramp-run-real-handler'.
11134 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11135 already quoted by '"'.
11136
11137 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11138 Let `file-name-handler-alist' be nil, the local file name part
11139 could look remotely (for example on VMS).
11140
e1b0b23a
SM
111412011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11144 from here...
11145 (flyspell-post-command-hook): ...to here.
11146
a120bde9
SM
111472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11150 if not needed.
11151 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11152 using completion. Protect against "slow" callers.
11153 Remove the "message hack".
11154
7ce7717b
JL
111552011-10-11 Juri Linkov <juri@jurta.org>
11156
11157 * isearch.el (isearch-lazy-highlight-word): New variable.
11158 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11159 Use it. (Bug#9727)
11160
c02ee9d6
GM
111612011-10-11 Glenn Morris <rgm@gnu.org>
11162
11163 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11164 like f90-previous-statement does.
11165
93e616fd 111662011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11167
1f190e73 11168 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11169 only in interactive use, to avoid error.
11170
af7b6078
SM
111712011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 * minibuffer.el (completion-file-name-table): Fix last change,
11174 i.e. ignore normal errors but not the other ones.
11175
0563dae9
MR
111762011-10-10 Martin Rudalics <rudalics@gmx.at>
11177
11178 * window.el (special-display-buffer-names)
11179 (special-display-regexps): Remove some remnants of earlier
11180 changes from doc-strings.
366ca7f3
MR
11181 (quit-windows-on): New function.
11182
11183 * vc/vc.el (vc-revert, vc-rollback):
11184 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11185 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11186 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11187
49677495
MR
111882011-10-09 Martin Rudalics <rudalics@gmx.at>
11189
11190 * window.el (frame-auto-hide-function): Add version tag.
11191 (Bug#9699)
11192
56f2d1e1
MA
111932011-10-09 Michael Albinus <michael.albinus@gmx.de>
11194
11195 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11196 condition.
11197
112a6592
LL
111982011-10-09 Leo Liu <sdl.web@gmail.com>
11199
11200 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11201 (Bug#9701)
11202
0812589b
GM
112032011-10-08 Glenn Morris <rgm@gnu.org>
11204
11205 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11206 before the first code statement zero indent. (Bug#9690)
11207
b2b0776e
CY
112082011-10-08 Chong Yidong <cyd@stupidchicken.com>
11209
11210 * simple.el (count-words-region): Always count in the region.
11211 Report the number of lines and characters too.
11212 (count-words): New command, which counts in the buffer if the
11213 region is inactive, as count-words-region used to.
11214 (count-words--message): New function. Handle plurals.
11215 (count-lines-region): Make it an alias for count-words-region.
11216
11217 * bindings.el (esc-map): Replace count-lines-region with
11218 count-words-region.
11219
c557cd6b
MR
112202011-10-08 Martin Rudalics <rudalics@gmx.at>
11221
11222 * window.el (window--delete): Delete dedicated frame
11223 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11224 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11225
61a57ef4 112262011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11227
3a7d293b 11228 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11229
c3833279
CY
112302011-10-07 Chong Yidong <cyd@stupidchicken.com>
11231
11232 * bindings.el ([M-left],[M-right]): Bind to left-word and
11233 right-word respectively.
11234
21ce8245
GM
112352011-10-07 Glenn Morris <rgm@gnu.org>
11236
11237 * cus-start.el (debug-on-quit): Fix custom type.
11238
6d823bb2
LMI
112392011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11240
0181e193
LMI
11241 * subr.el (define-key-after): Clarify that the function is not
11242 useful for non-menu keymaps.
11243
6d823bb2
LMI
11244 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11245
8e3459ce 112462011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11247
21ce8245 11248 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11249 in current minibuffer (Fix bug with recursive minibuffers).
11250
a1c2d21e
CY
112512011-10-06 Chong Yidong <cyd@stupidchicken.com>
11252
11253 * progmodes/gdb-mi.el (gdb): Doc fix.
11254
5a4cf282
MR
112552011-10-05 Martin Rudalics <rudalics@gmx.at>
11256
11257 * window.el (frame-auto-hide-function): New option replacing
11258 frame-auto-delete. Suggested by Stefan Monnier.
11259 (window--delete): Call frame-auto-hide-function instead of
11260 investigating frame-auto-delete.
c96111ea
MR
11261 (window-point-1, set-window-point-1): New functions.
11262 (window-in-direction, record-window-buffer, window-state-get-1)
11263 (display-buffer-record-window): Use window-point-1 instead of
11264 window-point.
11265 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11266
9854542e
SM
112672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11268
11269 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11270
8943cfb0
GM
112712011-10-05 Glenn Morris <rgm@gnu.org>
11272
11273 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11274 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11275
647ab967
LL
112762011-10-05 Leo Liu <sdl.web@gmail.com>
11277
11278 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11279 works with buffer object.
11280
3ddfbced
SM
112812011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * mpc.el (mpc-tool-bar-map): Add labels.
11284
bdfa5dd2
GM
112852011-10-04 Glenn Morris <rgm@gnu.org>
11286
11287 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11288
0e2070b5
MR
112892011-10-04 Martin Rudalics <rudalics@gmx.at>
11290
11291 * window.el (window--delete): New function.
11292 (frame-auto-delete): Resuscitate option.
11293 (bury-buffer, replace-buffer-in-windows)
11294 (quit-window): Rewrite using window--delete.
11295 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11296 Pass display-buffer-mark-dedicated to window--display-buffer-2
11297 (Bug#9639).
11298
3dc61a09
SM
112992011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11300
915a9b64
SM
11301 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11302 returns a list (bug#9554). Add remote file name completion.
11303 * comint.el (comint--table-subvert): Curry and get quote&unquote
11304 functions as arguments.
11305 (comint--complete-file-name-data): Adjust call accordingly.
11306 * pcomplete.el (pcomplete--table-subvert): Remove.
11307 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11308
3dc61a09
SM
11309 * minibuffer.el (completion-table-case-fold): Use currying.
11310 (completion--styles-type, completion--cycling-threshold-type):
11311 New constants.
11312 (completion-styles, completion-category-overrides)
11313 (completion-cycle-threshold): Use them.
11314 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11315 completion-table-case-fold.
11316
8ea0a993
SB
113172011-10-03 Stephen Berman <stephen.berman@gmx.net>
11318
11319 * minibuffer.el (completion-category-overrides): Fix type of styles
11320 and add more user friendly tags (bug#9660).
11321
8c24b7f6
SM
113222011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11325 (mule-input-method-string): New widget.
11326 (default-input-method, language-info-custom-alist): Use it.
11327
428fe61a
SM
113282011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11329
32c1fffd
SM
11330 * pcomplete.el: Require comint.
11331 (pcomplete--common-suffix): Remove.
11332 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11333 (pcomplete--table-subvert): Sync with comint--table-subvert.
11334 (pcomplete--entries): Use comint-completion-file-name-table.
11335 * comint.el (comint-unquote-filename): Simplify.
11336 (comint-completion-file-name-table): New function (bug#9616).
11337 (comint--complete-file-name-data): Use it.
11338
428fe61a
SM
11339 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11340 (pcmpl-gnu-tar-buffer): Remove.
11341 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11342 around. Make sure pcomplete-suffix-list is only changed temporarily.
11343 Don't look inside the tar's file if it's too large.
428fe61a 11344
04c52e2f
CY
113452011-10-01 Chong Yidong <cyd@stupidchicken.com>
11346
ce3cefcc
CY
11347 * cus-edit.el (custom-mode-map):
11348 * epa.el (epa-key-list-mode-map):
11349 * man.el (Man-mode-map):
11350 * startup.el (splash-screen-keymap):
11351 * simple.el (special-mode-map): Use scroll-up-command and
11352 scroll-down-command.
11353
11354 * progmodes/idlw-help.el (idlwave-help-mode-map):
11355 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11356 * net/newst-plainview.el (newsticker-mode-map):
11357 * emulation/ws-mode.el (wordstar-mode-map):
11358 * emulation/vi.el (vi-com-map):
11359 * calc/calc-graph.el (calc-graph-show-dumb):
11360 * term/sun.el (terminal-init-sun):
11361 * term/ns-win.el (global-map):
11362 * progmodes/grep.el (grep-mode-map):
11363 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11364 * mail/rmail.el (rmail-mode-map):
11365 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11366
04c52e2f
CY
11367 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11368 custom-safe-themes as special.
11369
79adf8c8
JD
113702011-10-01 Julien Danjou <julien@danjou.info>
11371
11372 * notifications.el (notifications-notify): Fix docstring.
11373
63bd50d3
PS
113742011-10-01 Per Starbäck <per@starback.se>
11375
11376 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11377
199e4c7e
MR
113782011-09-30 Martin Rudalics <rudalics@gmx.at>
11379
11380 * startup.el (command-line-1): Fix last fix by inserting
11381 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11382 (Bug#9605) and (Bug#9636)
199e4c7e 11383
fe5f08dd
EZ
113842011-09-29 Eli Zaretskii <eliz@gnu.org>
11385
11386 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11387 window is hscrolled, move by logical lines. (Bug#9607)
11388 (line-move-visual): Update the doc string to the above effect.
11389
b5516bbd
MR
113902011-09-29 Martin Rudalics <rudalics@gmx.at>
11391
ccee00c0
MR
11392 * window.el (display-buffer-record-window): When WINDOW is the
11393 selected window use `point' instead of `window-point'. (Bug#9626)
11394
b5516bbd
MR
11395 * startup.el (command-line-1): Use insert-before-markers when
11396 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11397
b5516bbd
MR
11398 * help.el (help-window): Remove variable.
11399
52aa0014
GM
114002011-09-29 Glenn Morris <rgm@gnu.org>
11401
11402 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11403
df9a7357
JB
114042011-09-29 Juanma Barranquero <lekktu@gmail.com>
11405
11406 * descr-text.el (describe-char-categories): Accept category
11407 descriptions more than one line long.
11408
a8406c20
SM
114092011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11410
88d9610c
SM
11411 * simple.el (delete-trailing-whitespace): Fix last change.
11412
a5daf810
SM
11413 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11414 Don't confuse "y => 3" as the beginning of a `y' operation.
11415
a8406c20
SM
11416 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11417 object has more than 4 slots (bug#9613).
11418
a239d4e9
JB
114192011-09-28 Juanma Barranquero <lekktu@gmail.com>
11420
11421 * subr.el (with-output-to-temp-buffer):
11422 * net/quickurl.el (quickurl, quickurl-browse-url):
11423 Fix typos in docstrings.
11424
693fbdb6
EZ
114252011-09-27 Eli Zaretskii <eliz@gnu.org>
11426
11427 * minibuffer.el (completion-styles)
11428 (completion-category-overrides): Cross reference each other in doc
11429 strings.
11430
8b457e28
GM
114312011-09-27 Glenn Morris <rgm@gnu.org>
11432
11433 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11434 to split-string. (Bug#9606)
11435
85a16208
LMI
114362011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11437
11438 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11439 (bug#9615).
11440
502f9ebd
CY
114412011-09-27 Chong Yidong <cyd@stupidchicken.com>
11442
11443 * emacs-lisp/package.el (list-packages): Fix echo area message.
11444
7690bdea
LL
114452011-09-27 Leo Liu <sdl.web@gmail.com>
11446
11447 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11448
e2ee6f30
MA
114492011-09-25 Michael Albinus <michael.albinus@gmx.de>
11450
11451 * net/dbus.el (dbus-unregister-object): Don't release services for
11452 registered signals. (Bug#9581)
11453
f3f98342
TZ
114542011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11455
11456 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11457 function that picks between cfengine 2 and 3 support
11458 automatically. Update docs accordingly.
11459
dd7aa8dd
KH
114602011-09-22 Kenichi Handa <handa@m17n.org>
11461
11462 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11463 ZERO.
11464 (indian-itrans-v5-table-for-tamil): New variable.
11465 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11466
3f2b07f8
KM
114672011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11468
11469 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11470 that's true if the current command involved collapsing of text.
11471 It's reset to false at the beginning of the next command.
11472 (allout-post-command-business): Move the cursor to the beginning
11473 of entry if the cursor is hidden and collapsing activity just
11474 happened.
11475
371d6a61
CY
114762011-09-24 Chong Yidong <cyd@stupidchicken.com>
11477
11478 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11479 tracking (Bug#9541).
11480
2ac2721a
UJ
114812011-09-24 Ulf Jasper <ulf.jasper@web.de>
11482
11483 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11484 (newsticker-show-news): Automatically load html rendering package
11485 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11486 because w3m-fill-column is let-bound" and the error "Symbol's value
11487 as variable is void: w3m-fill-column".
2ac2721a 11488
fac7ae53
MA
114892011-09-24 Michael Albinus <michael.albinus@gmx.de>
11490
11491 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11492 Release services only if they are defined. (Bug#9581)
11493
e08b633b
RS
114942011-09-23 Richard Stallman <rms@gnu.org>
11495
e488d29c
RS
11496 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11497 distinguish start of paragraph from start of its text.
11498
19c38752
RS
11499 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11500
e08b633b
RS
11501 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11502 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11503 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11504
0a39f27e
AS
115052011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11506
11507 * international/mule-diag.el (mule-diag): Insert a newline after
11508 each fontset description.
11509
db4e950d
SM
115102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11511
11512 * simple.el (delete-trailing-whitespace):
11513 Document last change; simplify.
11514
eca3f3ea
PW
115152011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11516
d68e189a
PW
11517 * simple.el (delete-trailing-whitespace): Also delete
11518 extra newlines at the end of the buffer.
11519
eca3f3ea
PW
11520 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11521 (picture-newline): Use forward-line so as to ignore fields.
11522
01c157cc
SM
115232011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11524
11525 * subr.el (with-wrapper-hook): Fix edebug spec.
11526
022de23e
LMI
115272011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11528
11529 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11530 (bug#4538).
11531
91683089
MA
115322011-09-23 Michael Albinus <michael.albinus@gmx.de>
11533
eca3f3ea
PW
11534 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11535 Fix nasty bug using wrong cached values.
91683089 11536
5bdd6fa4
AM
115372011-09-23 Alan Mackenzie <acm@muc.de>
11538
11539 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11540
97adfb97
CY
115412011-09-23 Chong Yidong <cyd@stupidchicken.com>
11542
11543 * window.el (pop-to-buffer): Ensure right window is selected if we
11544 chose another frame.
11545
d4ef2b50
EZ
115462011-09-22 Eli Zaretskii <eliz@gnu.org>
11547
11548 * simple.el (what-cursor-position): Use get-char-property-change
11549 and next-single-char-property-change, to be able to show display
11550 properties that come from overlays as well as text properties.
11551
72258fe5
CY
115522011-09-22 Chong Yidong <cyd@stupidchicken.com>
11553
11554 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11555
11556 * cmuscheme.el (run-scheme, switch-to-scheme):
11557 * cus-edit.el (customize-group, custom-buffer-create)
11558 (customize-browse):
11559 * info.el (info):
11560 * shell.el (shell):
11561 * mail/sendmail.el (mail):
11562 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11563
8f098516
RS
115642011-09-22 Richard Stallman <rms@gnu.org>
11565
11566 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11567 move back only to line beg, don't move back over blank lines.
11568
e74f1bb6
MA
115692011-09-22 Michael Albinus <michael.albinus@gmx.de>
11570
11571 * files.el (copy-directory): Set directory attributes only in case
11572 they could be retrieved from the source directory. (Bug#9565)
11573
bfeef8b6
DK
115742011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11575
11576 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11577 (hs-find-block-beginning, hs-hide-level-recursive):
11578 Ignore strings as well as comments. (Bug#9502)
11579
7e423bb8
AS
115802011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11581
11582 * progmodes/sql.el (sql-comint-postgres):
11583 Convert port number to a string. (Bug#9566)
11584
b4d72fcf
MR
115852011-09-22 Martin Rudalics <rudalics@gmx.at>
11586
11587 * window.el (quit-window): Undedicate window when switching to
11588 previous buffer. Reported by Thierry Volpiatto
11589 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11590 (special-display-popup-frame): When popping up a new frame reset
11591 its previous buffers to nil. Simplify code.
b4d72fcf 11592
a7b88dc6
MA
115932011-09-21 Michael Albinus <michael.albinus@gmx.de>
11594
11595 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11596 and process filter, as done also in `shell-command'.
11597
cf4eacfd
MR
115982011-09-21 Martin Rudalics <rudalics@gmx.at>
11599
eca3f3ea 11600 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11601 Call set-window-start with NOFORCE argument t.
11602 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11603 (quit-window): Reword doc-string. Handle new format of
11604 quit-restore parameter. Don't delete window if it has a
11605 previous buffer we can show instead of the present one.
11606 (display-buffer-record-window): Rewrite using a new format for
11607 the quit-restore window parameter
11608 (special-display-popup-frame, display-buffer-same-window)
11609 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11610 (display-buffer-pop-up-window, display-buffer-use-some-window):
11611 Adapt symbol passed to display-buffer-record-window.
11612 * help.el (help-window-setup): Handle new format of quit-restore
11613 parameter.
11614
8d28cb95
SM
116152011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11616
94ab793f
SM
11617 * faces.el (face-list): Fix docstring (bug#9564).
11618
8d28cb95
SM
11619 * window.el (display-buffer--action-function-custom-type):
11620 Don't include internal functions in the Custom interface.
11621
3820edeb
JL
116222011-09-20 Juri Linkov <juri@jurta.org>
11623
11624 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11625 (Info-forward-node, Info-backward-node, Info-next-preorder)
11626 (Info-last-preorder): Use it. (Bug#9528)
11627
5147931d
JL
116282011-09-20 Juri Linkov <juri@jurta.org>
11629
11630 * info.el (Info-last-preorder): Visit last menu item only when
11631 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11632
cf499a1a
JD
116332011-09-20 Julien Danjou <julien@danjou.info>
11634
11635 * password-cache.el (password-cache-remove): Remove entries even if the
11636 value is nil, so that password with a nil value (negative caching) is
11637 possible to invalidate.
11638
f84e2fe2
LM
116392011-09-20 Lawrence Mitchell <wence@gmx.li>
11640
11641 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11642 all whitespace around breakpoint. (Bug#9553)
11643 (f90-find-breakpoint): Only break at whitespace inside a comment.
11644
78054a46
SM
116452011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * minibuffer.el (completion-file-name-table): Keep track of errors.
11648 (completion-table-with-predicate): Handle the case where pred1 is nil.
11649 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11650
345083b2
SM
116512011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11652
e24e27be
SM
11653 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11654 (debugger-return-value): Signal an error if the debugging context does
11655 not await any return value.
11656
345083b2
SM
11657 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11658 * image-mode.el (image-toggle-display-text)
11659 (image-toggle-display-image): Stay away from evil `intangible'.
11660
08d355e3
LL
116612011-09-19 Leo Liu <sdl.web@gmail.com>
11662
11663 * replace.el (occur-revert-arguments): Make it permanent-local.
11664 (occur-mode): Don't call font-lock-defontify.
11665
f01da43f
CY
116662011-09-19 Chong Yidong <cyd@stupidchicken.com>
11667
11668 * net/ldap.el (ldap-search-internal): Don't push empty search
11669 result (Bug#9508).
11670
b6072fa6
SM
116712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11674
443d6696
MA
116752011-09-19 Michael Albinus <michael.albinus@gmx.de>
11676
11677 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11678 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11679
7cc6e154
JL
116802011-09-18 Juri Linkov <juri@jurta.org>
11681
11682 * buff-menu.el (Buffer-menu-mode-map):
11683 * dired.el (dired-mode-map):
11684 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11685 (lisp-interaction-mode-map):
11686 * emacs-lisp/package.el (package-menu-mode-map):
11687 * epa.el (epa-key-list-mode-map):
11688 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11689 (menu-bar-options-menu):
11690 * outline.el (outline-mode-menu-bar-map):
11691 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11692 * vc/vc-dir.el (vc-dir-menu-map):
11693 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11694 Capitalize non-function content words in menu item strings.
11695
11696 * dired.el (dired-mode-map): Add menu item for
11697 `image-dired-dired-toggle-marked-thumbs'.
11698
80302a81
JL
116992011-09-18 Juri Linkov <juri@jurta.org>
11700
11701 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11702 to `isearch-case-fold-search' and restore its original value
11703 after the `isearch-mode' call.
11704
46c5cf66
JL
117052011-09-18 Juri Linkov <juri@jurta.org>
11706
11707 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11708 because `zgrep' returns 1 for successful matches (bug#9226).
11709
d18b513b
JL
117102011-09-18 Juri Linkov <juri@jurta.org>
11711
11712 * info.el (Info-extract-menu-node-name): Check the second match
11713 for empty string (second test-case of bug#9528).
11714 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11715 intermediate nodes to the history (first test-case of bug#9528).
11716
72753f87
JL
117172011-09-18 Juri Linkov <juri@jurta.org>
11718
11719 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11720 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11721
c9384295
JL
117222011-09-18 Juri Linkov <juri@jurta.org>
11723
1154d12e
JB
11724 * info.el (Info-file-supports-index-cookies):
11725 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11726 outputs one more line for long file names (bug#4142).
c9384295 11727
d473dce8
CY
117282011-09-18 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * newcomment.el (comment-normalize-vars): If prompting for
11731 comment-start, set comment-start-skip too (Bug#8424).
11732
2176854d
JB
117332011-09-18 Johan Bockgård <bojohan@gnu.org>
11734
11735 * icomplete.el: Fix previous fix of Bug#5849.
11736 (icomplete-mode): Don't set completion-show-inline-help.
11737 (icomplete-minibuffer-setup): Set completion-show-inline-help
11738 locally during icompletion.
11739
3aace4e4
CY
117402011-09-18 Chong Yidong <cyd@stupidchicken.com>
11741
c940224f
CY
11742 * woman.el (woman2-process-escapes): Don't delete unrecognized
11743 escapes (Bug#7843).
11744
3aace4e4
CY
11745 * files.el (inhibit-first-line-modes-regexps): Add image files.
11746 (hack-local-variables-prop-line): Return nil for malformed
11747 prop-lines (Bug#9044).
11748
710dec63
MA
117492011-09-18 Michael Albinus <michael.albinus@gmx.de>
11750
11751 * net/tramp.el (top): Don't require 'shell.
11752 (tramp-methods): Fix docstring.
11753 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11754 Return complete remote file name. Handle "smb" case.
11755 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11756 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11757
11758 * net/tramp-compat.el (top): Require 'shell.
11759
11760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11761 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11762 `tramp-current-host'.
11763 (tramp-get-remote-tmpdir): Remove.
11764
11765 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11766 `tramp-tmpdir' entries.
11767 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11768 (tramp-smb-handle-file-attributes): Ignore errors.
11769 (tramp-smb-wait-for-output): Check also for process end.
11770
5d5ac8ec
LMI
117712011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11772
11773 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11774 when sending QUIT (bug#9312).
11775
8c0f49f0
CY
117762011-09-17 Chong Yidong <cyd@stupidchicken.com>
11777
11778 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11779 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11780 occur-mode-display-occurrence.
11781 (occur-edit-mode): Add usage message.
11782 (occur-cease-edit): New command.
11783 (occur-after-change-function): Use text properties to find the
11784 position of the prefix text.
11785 (occur-engine): Set stickiness of prefix text properties.
11786
8f1383f7
GM
117872011-09-17 Glenn Morris <rgm@gnu.org>
11788
11789 * progmodes/etags.el (complete-tag):
11790 Fix call to completion-in-region. (Bug#9526)
11791
744ba0e3
JL
117922011-09-17 Juri Linkov <juri@jurta.org>
11793
11794 * textmodes/ispell.el (ispell-word): Add to the error message
11795 the word, ispell program name and current dictionary (bug#9121).
11796 (ispell-tex-arg-end): Capitalize "error" in the error message.
11797
d9bbf400
AS
117982011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11799
11800 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11801 check. (Bug#4251)
11802
8da11505
JL
118032011-09-17 Juri Linkov <juri@jurta.org>
11804
11805 * window.el (window-safe-min-height, window-safe-min-width):
11806 Fix typos (followup to bug#9522).
11807
a91adc7e
SJ
118082011-09-17 Sven Joachim <svenjoac@gmx.de>
11809
11810 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11811
064f328a
EZ
118122011-09-16 Eli Zaretskii <eliz@gnu.org>
11813
11814 * simple.el (line-move): If goal-column is set, move by logical
11815 lines, not by display lines. (Bug#971)
11816 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11817 to reflect the above change.
11818
e69df516
SM
118192011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * image.el (imagemagick-register-types): Use regexp-opt.
11822
cbb0f9ab
CY
118232011-09-15 Chong Yidong <cyd@stupidchicken.com>
11824
11825 * window.el (display-buffer-base-action): Rename from
11826 display-buffer-default-action. Make default value empty.
11827 (display-buffer-overriding-action): Convert to defvar.
11828 (display-buffer-fallback-action): New var.
11829
25322144
CY
118302011-09-15 Chong Yidong <cyd@stupidchicken.com>
11831
11832 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11833 declaration.
11834 (package--add-to-archive-contents): If there is a duplicate entry
11835 with an older version, remove it.
11836 (package-menu-mark-delete, package-menu-mark-install)
11837 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
11838 (package-menu-mark-obsolete-for-deletion):
11839 Use package-menu-get-status instead of a regexp search.
25322144
CY
11840 (package-menu-get-status): Use tabulated-list-entry.
11841 (package-menu-mark-upgrades): New command.
d770725a 11842 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
11843 (package-menu-execute): Do installation before deletion.
11844 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11845 instead of checking major-mode.
11846 (package-menu--find-upgrades): New function.
11847
7520339c
LMI
118482011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11849
11850 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11851 passwords in the log buffer.
65a046c4
LMI
11852 (smtpmail-process-filter): Update the process marker so that the
11853 "broken by peer" status message is inserted in the right place.
7520339c 11854
d3c30954
SM
118552011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11856
3fe48822
SM
11857 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11858 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11859 bibtex-completion-at-point-function.
11860 (bibtex-completion-at-point-function): Use them.
11861
1b8b3954
SM
11862 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11863
d3c30954
SM
11864 * mpc.el (mpc-constraints-tag-lookup): New function.
11865 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11866 also to browser "album|playlist".
11867
72779976
JL
118682011-09-14 Juri Linkov <juri@jurta.org>
11869
11870 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11871 (isearch-edit-string): Use length of `isearch-string' when
11872 `isearch-fail-pos' returns nil.
11873 (isearch-message): Remove duplicate code and call
11874 `isearch-fail-pos' with arg `t'.
11875
a0bf2bcd
CY
118762011-09-14 Chong Yidong <cyd@stupidchicken.com>
11877
17bb0a2d
CY
11878 * replace.el (occur-mode-goto-occurrence): Don't force using other
11879 window (Bug#9499).
11880
a0bf2bcd
CY
11881 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11882
f678e0b6
MR
118832011-09-14 Martin Rudalics <rudalics@gmx.at>
11884
11885 * window.el (display-buffer-window): Remove.
11886 (display-buffer-record-window): Use help-setup window parameter
11887 instead of variable display-buffer-window.
11888 (display-buffer-function, special-display-buffer-names)
11889 (special-display-function): Mention help-setup parameter instead
11890 of display-buffer-window in doc-string.
d3c30954
SM
11891 * help.el (help-window-setup): New argument help-window.
11892 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
11893 Reword some messages.
11894 (with-help-window): Pass window used for displaying the buffer
11895 to help-window-setup. Don't set display-buffer-window.
11896
8e39b2e8
GM
118972011-09-13 Glenn Morris <rgm@gnu.org>
11898
11899 * emacs-lisp/debug.el (debugger-make-xrefs):
11900 Preserve point. (Bug#9462)
11901
85e9c04b
CY
119022011-09-13 Chong Yidong <cyd@stupidchicken.com>
11903
11904 * window.el (window-deletable-p): Use next-frame.
11905
1b36ed6a
MR
119062011-09-13 Martin Rudalics <rudalics@gmx.at>
11907
11908 * window.el (window-auto-delete): Remove.
11909 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 11910 dedication and previous buffers.
1b36ed6a
MR
11911 (switch-to-prev-buffer): Don't delete window.
11912 (delete-windows-on): Delete a window's frame if and only if the
11913 window is dedicated.
11914 (replace-buffer-in-windows): Delete buffer's window or frame if
11915 and only if window is dedicated.
11916 (quit-window): Handle quit-restore as before last change.
4d61f28d 11917 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 11918
ef8ef9fb
CY
119192011-09-13 Chong Yidong <cyd@stupidchicken.com>
11920
11921 * window.el (window-deletable-p): Never delete the last frame on a
11922 given terminal.
11923
b2cba41e
GM
119242011-09-13 Glenn Morris <rgm@gnu.org>
11925
11926 * help.el (describe-key-briefly): Copy previous standard-output change.
11927
51553db6 119282011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
11929
11930 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11931
b7556719
GM
119322011-09-13 Glenn Morris <rgm@gnu.org>
11933
11934 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11935 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11936
64b51947
CY
119372011-09-12 Chong Yidong <cyd@stupidchicken.com>
11938
11939 * dired-aux.el (dired-mark-read-string): Don't return default
11940 value on empty input (Bug#9361).
11941 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11942 Omit initial minibuffer contents.
11943 (dired-do-chmod): Signal an error on empty input.
11944 (dired-mark-read-string): Don't return default on empty input.
11945
11946 * files.el (file-modes-symbolic-to-number): Doc fix.
11947
393a301e
SM
119482011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * international/mule-cmds.el (ucs-completions): Remove.
11951 (read-char-by-name): Use complete-with-action instead; add metadata.
11952
fa5660f9
CY
119532011-09-11 Chong Yidong <cyd@stupidchicken.com>
11954
11955 * window.el (display-buffer--action-function-custom-type)
11956 (display-buffer--action-custom-type): New vars.
11957 (display-buffer-alist, display-buffer-default-action)
11958 (display-buffer-overriding-action): Add defcustom types.
11959
4a592f66
CY
11960 * frame.el (delete-other-frames): Doc fix (Bug#276).
11961
73d56dbd
LMI
119622011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11963
11964 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11965
37ac18a3
CY
119662011-09-11 Chong Yidong <cyd@stupidchicken.com>
11967
11968 Change modes that used same-window-* vars to use switch-to-buffer.
11969
11970 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11971 Use switch-to-buffer.
11972
11973 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
11974 (customize-browse, custom-buffer-create-other-window):
11975 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
11976
11977 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11978 (Info-prev, Info-up, Info-speedbar-goto-node)
11979 (info-display-manual): Use switch-to-buffer.
11980 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11981
11982 * mail/sendmail.el (mail): Use switch-to-buffer.
11983 (mail-recover): Use switch-to-buffer-other-window.
11984
11985 * cmuscheme.el (run-scheme, switch-to-scheme):
11986 * ielm.el (ielm):
11987 * shell.el (shell):
11988 * net/rlogin.el (rlogin):
11989 * net/telnet.el (telnet, rsh):
11990 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11991
10195bd6
AS
119922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11993
11994 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11995
b322f63a
LMI
119962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11997
39d7fed6
LMI
11998 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11999 so don't mention it (bug#9301).
ba5a81f1 12000 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12001
ee0e9f11
LMI
12002 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12003 match `x', `w32' and `ns', like the manual says (bug#9029).
12004
0b1c89c1 12005 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12006 (process-kill-buffer-query-function): Mention the buffer name in
12007 the query.
0b1c89c1 12008
77549ea8
LMI
12009 * image-mode.el (image-next-line): The line parameter is mandatory
12010 (bug#9258).
12011
803ef892
LMI
12012 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12013 which can be useful (bug#9301).
12014
12980837
LMI
12015 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12016
91054f8f
LMI
12017 * subr.el (match-string): Mention that the current buffer should
12018 be the same as the search was done in (bug#9282).
12019
b322f63a
LMI
12020 * facemenu.el: Disable the remove-* commands if the mark isn't
12021 active (bug#9162).
12022
3199b96f
CY
120232011-09-10 Chong Yidong <cyd@stupidchicken.com>
12024
12025 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12026 of display-buffer.
12027 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12028
12029 * replace.el (occur-mode-goto-occurrence)
12030 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12031 and display-buffer.
12032
12033 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12034 display-buffer.
12035
12036 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12037 special-display and same-window variables.
12038 (mail-other-window): Use switch-to-buffer-other-window.
12039 (mail-other-frame): USe switch-to-buffer-other-frame.
12040
393a301e
SM
12041 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12042 Use display-buffer-other-frame.
3199b96f
CY
12043 (gdb-display-gdb-buffer): Use pop-to-buffer.
12044
12045 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12046
12047 * progmodes/python.el: Don't set same-window-buffer-names.
12048
12049 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12050
12051 * window.el (display-buffer-alist): Add *Python*.
12052
8319e0bf
CY
120532011-09-10 Chong Yidong <cyd@stupidchicken.com>
12054
12055 * window.el (display-buffer-alist): Add entry for buffers
12056 previously handled same-window-*.
12057 (display-buffer-alist, display-buffer-default-action)
12058 (display-buffer-overriding-action): Mark as risky.
12059 (display-buffer-alist): Document action function changes.
12060 (display-buffer--same-window-action)
12061 (display-buffer--other-frame-action): New variables.
12062 (switch-to-buffer, display-buffer-other-frame): Use them.
12063 (display-buffer): Rename reuse-frame entry to reusable-frames.
12064 (display-buffer-reuse-selected-window): Function deleted.
12065 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12066 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12067 (display-buffer-special): New function.
12068 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12069 display-buffer-reuse-or-pop-window. Split off special-display
12070 part into display-buffer-special.
12071 (display-buffer-use-some-window): Don't perform any special
12072 pop-up-frames handling.
12073 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12074 (display-buffer--maybe-same-window): Rename from
0d3ff375 12075 display-buffer-maybe-same-window.
8319e0bf 12076
919a69aa
CY
12077 * info.el: Don't set same-window-regexps.
12078 (info-setup): New function.
12079 (info-other-window, info): Call it.
12080
12081 * cus-edit.el: Don't set same-window-regexps.
12082 (customize-group): New argument.
12083 (customize-group-other-window): Use it.
12084 (customize-face, customize-face-other-window): Likewise.
12085 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12086
8319e0bf
CY
12087 * net/rlogin.el:
12088 * net/telnet.el:
12089 * progmodes/gud.el: Don't set same-window-regexps.
12090
12091 * cmuscheme.el:
12092 * ielm.el:
12093 * shell.el:
12094 * mail/sendmail.el:
12095 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12096
25173000
JL
120972011-09-10 Juri Linkov <juri@jurta.org>
12098
12099 * isearch.el (isearch-edit-string): Remove obsolete mention of
12100 `C-w' (`isearch-yank-word-or-char') from docstring.
12101 (isearch-query-replace): Fix typo in docstring (bug#9466).
12102
056e44ef
JL
121032011-09-10 Juri Linkov <juri@jurta.org>
12104
12105 * paren.el (show-paren-function): Don't show escaped parens.
12106 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12107
c3760c17
EZ
121082011-09-10 Eli Zaretskii <eliz@gnu.org>
12109
12110 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12111 (mm-default-file-encoding): Remove autoload forms, they are
12112 replaced with autoload cookies in mml.el and mm-encode.el.
12113 (mail-add-attachment): New command.
12114 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12115 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12116 the doc string.
12117 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12118
fece895e
RT
121192011-09-10 Reuben Thomas <rrt@sc3d.org>
12120
e69df516
SM
12121 * simple.el (count-words-region): Use buffer if there's no region
12122 (bug#9429).
fece895e 12123
5e68ce4a
JL
121242011-09-09 Juri Linkov <juri@jurta.org>
12125
12126 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12127 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12128 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12129
0a6b9622
AM
121302011-09-09 Alan Mackenzie <acm@muc.de>
12131
12132 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12133 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12134
14a29deb
EZ
121352011-09-09 Eli Zaretskii <eliz@gnu.org>
12136
12137 Fix for Savannah bug#9392.
12138 * simple.el (mail-encode-mml): New defvar.
12139
12140 * mail/rmail.el (mail-encode-mml): Add a defvar.
12141 (rmail-enable-mime-composing): Default to t.
12142 (rmail-forward): Use MIME method of forwarding only if both
12143 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12144 Set mail-encode-mml non-nil if the MIME method was used.
12145
12146 * mail/sendmail.el (mml-to-mime): Add autoload form.
12147 (mail-encode-mml): Add a defvar.
12148 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12149 to nil.
12150 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12151 message through mml-to-mime, and reset mail-encode-mml to nil.
12152
28c45130
GM
121532011-09-09 Glenn Morris <rgm@gnu.org>
12154
12155 * woman.el (woman-if-body): When processing an .el block,
12156 do not delete the next .el block as well. (Bug#9447)
69f4b618 12157 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12158
9b1c252e
MR
121592011-09-08 Martin Rudalics <rudalics@gmx.at>
12160
12161 * window.el (window-deletable-p): Make sure window is live before
12162 invoking window-prev-buffers.
12163
567457e3
LL
121642011-09-08 Leo Liu <sdl.web@gmail.com>
12165
12166 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12167
97f05794
JL
121682011-09-08 Juri Linkov <juri@jurta.org>
12169
12170 * progmodes/compile.el (compilation-environment): Make it
12171 a defcustom (bug#8340).
12172
8b0874b5
MR
121732011-09-08 Martin Rudalics <rudalics@gmx.at>
12174
12175 * window.el (frame-auto-delete): Rename to window-auto-delete.
12176 Make it control auto-deletion of windows and/or frames.
12177 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12178 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12179 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12180 Rewrite handling of case when window/frame can be deleted.
12181 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12182 argument t. (Bug#9456)
8b0874b5 12183
4feb6e73
CY
121842011-09-07 Chong Yidong <cyd@stupidchicken.com>
12185
12186 * help-mode.el (help-mode): Restore autoload.
12187
91ab9c13
JL
121882011-09-07 Juri Linkov <juri@jurta.org>
12189
12190 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12191 `compilation-environment'. Set buffer-local
12192 `compilation-environment' to `thisenv' later after (funcall mode).
12193 (Bug#8340)
12194
12195 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12196 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12197 instead of replacing its value. (Bug#8340)
12198
0527e251
JL
121992011-09-07 Juri Linkov <juri@jurta.org>
12200
12201 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12202 based on text properties put by `grep-filter' instead of matching
12203 escape sequences.
12204 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12205 to the value of `grep-error-screen-columns' (bug#9438).
12206
249f792c
JL
122072011-09-07 Juri Linkov <juri@jurta.org>
12208
12209 * simple.el (next-error-highlight, next-error-highlight-no-select):
12210 Doc fix (bug#9432).
12211
ff7271b9
OT
122122011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12213
12214 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12215 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12216
183fc730
LL
122172011-09-07 Leo Liu <sdl.web@gmail.com>
12218
12219 * net/rcirc.el (rcirc-mode): Conditionally initialize
12220 rcirc-input-ring.
12221
77694924
SM
122222011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12223
12224 * emacs-lisp/find-func.el (find-function-C-source): Only set
12225 find-function-C-source-directory after checking that we found a source
12226 file there (bug#9440).
12227
d809b8eb
AM
122282011-09-06 Alan Mackenzie <acm@muc.de>
12229
12230 * isearch.el (isearch-other-meta-char): Wherever a key list is
12231 unread, "unread" the prefix arg, too. This fixes bug #8901.
12232
453de99f
OG
122332011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12234
12235 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12236
90439906
JL
122372011-09-05 Juri Linkov <juri@jurta.org>
12238
12239 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12240
f62bd846
JL
122412011-09-05 Juri Linkov <juri@jurta.org>
12242
12243 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12244 keeping point where processing of grep matches begins, and
12245 continue to delete remaining escape sequences from the same point.
12246 (grep-filter): Make leading zero optional in "0?1;31m" because
12247 git-grep emits "\033[1;31m" escape sequences unlike expected
12248 "\033[01;31m" as GNU Grep does (bug#9408).
12249 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12250
045820ec
JL
122512011-09-05 Juri Linkov <juri@jurta.org>
12252
12253 * subr.el (y-or-n-p): Capitalize "yes".
12254
f5e29b9b
MA
122552011-09-04 Michael Albinus <michael.albinus@gmx.de>
12256
12257 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12258 `tramp-cache-unload-hook' where appropriate.
12259 (tramp-methods): Rename `tramp-remote-sh' to
12260 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12261 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12262
12263 * net/tramp-sh.el (top): Don't require 'shell.
12264 (tramp-methods): Add `tramp-remote-shell' and
12265 `tramp-remote-shell-args' entries.
12266 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12267 (tramp-sh-handle-shell-command): Remove.
12268 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12269 Use `tramp-remote-shell'.
12270
2784c434
CY
122712011-09-03 Chong Yidong <cyd@stupidchicken.com>
12272
393a301e 12273 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12274 (sendmail-query-once): Save directly to send-mail-function.
12275 Update message-send-mail-function too.
12276
12277 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12278
464cdf56
CS
122792011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12280
12281 * progmodes/python.el (python-mode-map): Use correct function to
12282 start python interpreter from menu-bar (as reported by Geert
12283 Kloosterman).
12284 (inferior-python-mode-map): Fix typo.
393a301e 12285 (python-shell-map): Remove.
464cdf56 12286
d37e5c87
DD
122872011-09-03 Deniz Dogan <deniz@dogan.se>
12288
12289 * net/rcirc.el (rcirc-print): Simplify code for
12290 rcirc-scroll-show-maximum-output. There is no need to walk
12291 through all windows to find the right one.
12292
f3ada0ee
CS
122932011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12294
12295 * help.el (help-return-method): Doc fix.
12296
1f3c99ca
MR
122972011-09-03 Martin Rudalics <rudalics@gmx.at>
12298
12299 * window.el (window-deletable-p): Don't return a non-nil value
12300 when there's a buffer that was shown in the window before.
12301 (Bug#9419)
393a301e
SM
12302 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12303 Set window's previous buffers to nil.
1f3c99ca 12304
a3cf097f
EZ
123052011-09-03 Eli Zaretskii <eliz@gnu.org>
12306
12307 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12308 newline before and after the tag line, so it doesn't interfere
12309 with determining the paragraph direction of bidirectional text.
12310
3d03de90
LL
123112011-09-03 Leo Liu <sdl.web@gmail.com>
12312
12313 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12314
c3313451
CY
123152011-09-02 Chong Yidong <cyd@stupidchicken.com>
12316
393a301e 12317 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12318 (pop-to-buffer): Change interactive spec. Pass second argument
12319 directly to display-buffer.
12320 (display-buffer): Fix interactive spec. Use functionp to
12321 distinguish between a function and a list of functions.
12322
12323 * abbrev.el (edit-abbrevs):
12324 * arc-mode.el (archive-extract):
12325 * autoinsert.el (auto-insert):
12326 * bookmark.el (bookmark-bmenu-list):
12327 * files.el (find-file):
12328 * view.el (view-buffer):
12329 * progmodes/compile.el (compilation-goto-locus):
12330 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12331
89894cd8
CY
123322011-09-02 Chong Yidong <cyd@stupidchicken.com>
12333
12334 * window.el (display-buffer-alist): Doc fix.
12335 (display-buffer): Add docstring. Don't treat
12336 display-buffer-default specially.
12337 (display-buffer-reuse-selected-window)
12338 (display-buffer-same-window, display-buffer-maybe-same-window)
12339 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12340 (display-buffer-pop-up-window)
12341 (display-buffer-reuse-or-pop-window)
12342 (display-buffer-use-some-window): New functions.
12343 (display-buffer-default-action): Use them.
393a301e 12344 (display-buffer-default): Delete.
89894cd8
CY
12345 (pop-to-buffer-1): Fix choice of actions.
12346
ae0bc9fb
SM
123472011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * minibuffer.el (completion--insert-strings): Don't get confused by
12350 completion entries that end with an LF char.
12351
e9d90883
EZ
123522011-09-01 Eli Zaretskii <eliz@gnu.org>
12353
12354 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12355
437014c8
CY
123562011-09-01 Chong Yidong <cyd@stupidchicken.com>
12357
12358 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12359 (display-buffer-same-window, display-buffer-other-window):
12360 New functions.
437014c8
CY
12361 (pop-to-buffer-1): New function. Use the above.
12362 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12363 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12364
12365 * view.el (view-buffer-other-window, view-buffer-other-frame):
12366 Just use pop-to-buffer.
12367
a5e063d5
TV
123682011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12369
12370 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12371
793d32bb
WH
123722011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12373
12374 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12375
d65e4c15
RS
123762011-08-31 Richard Stallman <rms@gnu.org>
12377
12378 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12379 of the separation of rmail-view-buffer from rmail-buffer.
12380 If you say no to "replace original", the decrypt is in the
12381 view buffer. If you say yes, the decrypt goes into the
12382 rmail buffer also.
12383
f818cd2a
MR
123842011-08-31 Martin Rudalics <rudalics@gmx.at>
12385
12386 * window.el (display-buffer-window): Rewrite doc-string.
12387 (display-buffer-record-window): New function.
12388 (display-buffer-macro-specifiers)
12389 (display-buffer-even-window-sizes, display-buffer-set-height)
12390 (display-buffer-set-width, display-buffer-in-window)
12391 (display-buffer-reuse-window, display-buffer-split-specifiers)
12392 (display-buffer-side-specifiers, display-buffer-split-window-1)
12393 (display-buffer-split-window, display-buffer-split-atom-window)
12394 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12395 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12396 (display-buffer-other-window-means-other-frame)
12397 (display-buffer-normalize-special)
12398 (display-buffer-normalize-default)
12399 (display-buffer-normalize-argument)
12400 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12401 (display-buffer-normalize-specifiers, display-buffer-frame)
12402 (display-buffer-same-window, display-buffer-same-frame)
12403 (display-buffer-other-window)
12404 (display-buffer-same-frame-other-window)
12405 (display-buffer-other-frame, pop-to-buffer-same-window)
12406 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12407 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12408 (switch-to-buffer-same-frame)
12409 (switch-to-buffer-other-window-same-frame)
12410 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12411 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12412 (display-buffer-alist-set): Remove.
12413 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12414 (special-display-regexps, special-display-function):
12415 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12416 parameter.
12417 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12418 (special-display-frame-alist, special-display-popup-frame)
12419 (same-window-buffer-names, same-window-regexps, same-window-p)
12420 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12421 (split-window-preferred-function, split-height-threshold)
12422 (split-width-threshold, window-splittable-p)
12423 (split-window-sensibly, window--try-to-split-window)
12424 (window--frame-usable-p, even-window-heights)
12425 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12426 (window--display-buffer-2, display-buffer-other-frame):
12427 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12428 (display-buffer-default, display-buffer-assq-regexp): New functions.
12429 (display-buffer-alist): Rewrite doc-string.
12430 (display-buffer-default-action)
12431 (display-buffer-overriding-action): New variables.
12432 (display-buffer, switch-to-buffer): Rewrite.
12433 (pop-to-buffer): Restore Emacs 23 behavior but use
12434 window-normalize-buffer-to-display.
12435 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12436 Restore Emacs 23 behavior but use
12437 window-normalize-buffer-to-switch-to.
12438 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12439 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12440 Rewrite using Emacs 23 options.
f818cd2a 12441
5bc3b51d
MA
124422011-08-31 Michael Albinus <michael.albinus@gmx.de>
12443
12444 * net/tramp.el (tramp-root-regexp): Remove.
12445 (tramp-completion-file-name-regexp-unified)
12446 (tramp-completion-file-name-regexp-separate)
12447 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12448 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12449 (tramp-drop-volume-letter): Simplify definition.
12450 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12451
b1a4f8e1
SM
124522011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12453
12454 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12455 (bug#9356).
12456
5664fa7b
RT
124572011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12458
b1a4f8e1 12459 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12460
9a45d6c3
JL
124612011-08-29 Juri Linkov <juri@jurta.org>
12462
12463 * isearch.el (isearch-done): Don't display message "Mark saved"
12464 when arg `edit' is non-nil to prevent its flicker in the echo area.
12465
fb87e0fb
CY
124662011-08-28 Chong Yidong <cyd@stupidchicken.com>
12467
12468 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12469 obsolete packages for deletion.
12470
09ac1c2a
CS
124712011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12472
12473 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12474 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12475 view-mode from help-mode.
12476 (help-xref-override-view-map): Remove.
12477 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12478 view-mode is not used anymore.
12479
7a1ff57f
CY
124802011-08-28 Chong Yidong <cyd@stupidchicken.com>
12481
12482 * server.el (server-port): Doc fix.
12483
b9696605
CY
12484 * cus-theme.el (custom-theme-choose-mode): Inherit from
12485 special-mode (Bug#9124).
12486 (custom-theme-choose-mode-map): Add special-mode to parent.
12487
ef8cdf8c
AM
124882011-08-28 Alan Mackenzie <acm@muc.de>
12489
12490 * progmodes/cc-fonts.el
12491 (c-make-font-lock-BO-decl-search-function): New function.
12492 (c-basic-matchers-after - "Fontify the clauses after various
12493 keywords"): Extract the three keyword lists for the 3 erroneous
12494 constructs from the list of four, and use the new function above
12495 in place of an old one.
12496
27de4e20
DD
124972011-08-28 Deniz Dogan <deniz@dogan.se>
12498
12499 * net/rcirc.el (rcirc-insert-prev-input)
12500 (rcirc-insert-next-input): Remove unused argument.
12501
356a3681
SM
125022011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12505
3fc9b218
AM
125062011-08-27 Alan Mackenzie <acm@muc.de>
12507
12508 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12509 handle function pointer parameters properly.
12510
538a061c
MR
125112011-08-27 Martin Rudalics <rudalics@gmx.at>
12512
12513 * window.el (display-buffer-reuse-window): Fix case where
12514 selected window was reused with non-nil OTHER-WINDOW argument.
12515 (Bug#9381)
12516
35b1c40c
DD
125172011-08-27 Deniz Dogan <deniz@dogan.se>
12518
12519 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12520 oftc's NickServ messages.
12521
2f6a3e79
GM
125222011-08-27 Glenn Morris <rgm@gnu.org>
12523
12524 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12525
7254299e
CY
125262011-08-26 Chong Yidong <cyd@stupidchicken.com>
12527
12528 * emacs-lisp/package.el (package-install): Call package-initialize
12529 if called interactively.
12530
f8ccf167
LL
125312011-08-26 Leo Liu <sdl.web@gmail.com>
12532
12533 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12534
3e8cd5ce
JL
125352011-08-25 Juri Linkov <juri@jurta.org>
12536
12537 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12538 `search-whitespace-regexp' (bug#9364).
12539
93eb7113
JL
125402011-08-25 Juri Linkov <juri@jurta.org>
12541
12542 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12543 `regexp-search-ring' to their global values to protect from
12544 updating by `read-from-minibuffer' (bug#9185).
12545
f65d1611
JL
125462011-08-25 Juri Linkov <juri@jurta.org>
12547
12548 * textmodes/ispell.el (ispell-command-loop): Add newline
12549 at the end of the "Use option `i'..." line.
12550
f1cf7a31
JL
125512011-08-25 Juri Linkov <juri@jurta.org>
12552
12553 * battery.el (display-battery-mode): If `battery-status-function'
12554 or `battery-mode-line-format' is nil, display the message and set
12555 `display-battery-mode' to nil (bug#9363).
12556
0c95fcf7
EZ
125572011-08-25 Eli Zaretskii <eliz@gnu.org>
12558
12559 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12560 bidi-string-mark-left-to-right; they are unnecessary now.
12561
a2ebe600
DD
125622011-08-25 Deniz Dogan <deniz@dogan.se>
12563
12564 * net/quickurl.el: Documentation typo fixes.
12565
e4ed06f1
CY
125662011-08-25 Chong Yidong <cyd@stupidchicken.com>
12567
12568 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12569
e5f1c99e
GM
125702011-08-25 Glenn Morris <rgm@gnu.org>
12571
b2948976
GM
12572 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12573
e5f1c99e
GM
12574 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12575 (smtpmail-via-smtp): Handle nil response from smtp.
12576
f22f4808
JL
125772011-08-24 Juri Linkov <juri@jurta.org>
12578
12579 * proced.el (proced-marked): Inherit from `error' instead of
12580 `font-lock-warning-face'.
12581
12582 * ibuffer.el (ibuffer-marked-face): Change default face from
12583 `font-lock-warning-face' to `warning'.
12584 (ibuffer-deletion-face): Change default face from
12585 `font-lock-type-face' to `error'.
12586
12587 * battery.el (battery-update): Use the face `error' instead of
12588 `font-lock-warning-face' (bug#6117).
12589
6a93965e
JL
125902011-08-24 Juri Linkov <juri@jurta.org>
12591
12592 * faces.el (success): Change face color from "Green3" to
12593 "ForestGreen" on light background (bug#9353).
12594
1ed43b09
CY
125952011-08-24 Chong Yidong <cyd@stupidchicken.com>
12596
5664fa7b
RT
12597 * window.el (quit-window): Rename from quit-restore-window.
12598 Use same arglist as old quit-window.
1ed43b09
CY
12599 (frame-auto-delete): Doc fix.
12600
12601 * view.el (view-mode-exit): Use quit-window.
12602
11dcdbb2
JL
126032011-08-24 Juri Linkov <juri@jurta.org>
12604
12605 * isearch.el (isearch-ring-adjust1): Start visiting previous
12606 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12607 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12608 for empty search string (when the last search string is reused
12609 automatically) to adjust the isearch ring to the last element and
12610 prepare the correct index for further M-p commands (bug#9185).
12611
de62b4df
KH
126122011-08-24 Kenichi Handa <handa@m17n.org>
12613
12614 * international/ucs-normalize.el: If decomposition property of
12615 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12616 nil.
12617 (nfd, nfkd): Likewise.
12618
963b492b
SM
126192011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12622 from process filters aren't reliably transmitted to the surrounding
12623 accept-process-output.
12624 (mpc-proc-check): New function.
12625 (mpc-proc-sync): Use it (bug#8293)
12626
93b6b5e1
SM
126272011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12628
12629 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12630 Add compatibility functions (bug#9313).
12631
bca633fb
EZ
126322011-08-23 Eli Zaretskii <eliz@gnu.org>
12633
b177498a
EZ
12634 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12635
6df6ae42 12636 * international/uni-bidi.el: Regenerate.
bca633fb 12637
0902a04e
KH
126382011-08-23 Kenichi Handa <handa@m17n.org>
12639
12640 * international/charprop.el:
12641 * international/uni-bidi.el:
12642 * international/uni-category.el:
12643 * international/uni-combining.el:
12644 * international/uni-comment.el:
12645 * international/uni-decimal.el:
12646 * international/uni-decomposition.el:
12647 * international/uni-digit.el:
12648 * international/uni-lowercase.el:
12649 * international/uni-mirrored.el:
12650 * international/uni-name.el:
12651 * international/uni-numeric.el:
12652 * international/uni-old-name.el:
12653 * international/uni-titlecase.el:
12654 * international/uni-uppercase.el: Regenerate.
12655
3bbf23bc
MR
126562011-08-23 Martin Rudalics <rudalics@gmx.at>
12657
12658 * help.el (help-window-setup): Fix message displayed when other
12659 window is reused. (Bug#9341)
12660
b3fd59bd
SM
126612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12662
1802e444
SM
12663 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12664 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12665
b3fd59bd
SM
12666 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12667 Mark obsolete.
12668 * shell.el (shell-parse-pcomplete-arguments): New function.
12669 (shell-completion-vars): Use it instead (bug#9160).
12670
4eb61348
SM
126712011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12672
867cab74
SM
12673 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12674 strings and comments (bug#9333).
12675
4eb61348
SM
12676 * emacs-lisp/debug.el (debug-arglist): New function.
12677 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12678 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12679
262a1439
JL
126802011-08-22 Juri Linkov <juri@jurta.org>
12681
56ee679c
JL
12682 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12683 Revert regexp that highlights output switches to its old
12684 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12685
262a1439
JL
12686 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12687 to check for empty output (bug#9226).
12688
f13f86fb
CY
126892011-08-22 Chong Yidong <cyd@stupidchicken.com>
12690
12691 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12692 symbol-constituent as the default, as that stops font-lock from
12693 working properly (Bug#8843).
12694
c65c9622
LMI
126952011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12696
12697 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12698 `coding-system-for-*' around the process open call to avoid
12699 auth-source side effects.
e7f2c178 12700 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12701 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12702 probe hangs.
c65c9622 12703
23a8a5ab
CY
127042011-08-21 Chong Yidong <cyd@stupidchicken.com>
12705
ff98b2dd
CY
12706 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12707
23a8a5ab
CY
12708 * emacs-lisp/find-func.el (find-function-noselect): New arg
12709 lisp-only.
12710
12711 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12712 signal an error for built-in functions (Bug#6664).
12713
f5e3c598
LMI
127142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12715
12716 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12717 (smtpmail-try-auth-methods): Use it.
12718
a3f2468a
CY
127192011-08-21 Chong Yidong <cyd@stupidchicken.com>
12720
2c34e8da
CY
12721 * font-lock.el (font-lock-fontify-region)
12722 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12723 (font-lock-default-unfontify-buffer)
12724 (font-lock-default-fontify-region)
12725 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12726
b3fd59bd
SM
12727 * progmodes/compile.el (compilation-error-properties):
12728 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12729 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12730 `ant' regexp.
ee31aabc 12731
a3f2468a
CY
12732 * net/browse-url.el (browse-url-firefox): Don't call
12733 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12734
8e999f70
GM
127352011-08-20 Glenn Morris <rgm@gnu.org>
12736
c21a496a
GM
12737 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12738
59ee0542
GM
12739 * tutorial.el (tutorial--default-keys): Update some default bindings.
12740
8e999f70
GM
12741 * files.el (hack-local-variables): Fully ignore case for "mode:".
12742
e3715033
AM
127432011-08-20 Alan Mackenzie <acm@muc.de>
12744
12745 Resolve invalid use of a regexp in regexp-opt.
12746
4d61f28d
JB
12747 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12748 detection for a java annotation.
e3715033 12749
4d61f28d 12750 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12751 detection for a java annotation.
12752
4d61f28d
JB
12753 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12754 handling for java.
e3715033
AM
12755 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12756
04ed2e9c
CY
127572011-08-20 Chong Yidong <cyd@stupidchicken.com>
12758
12759 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12760 (Bug#9274).
12761
826cee64
AM
127622011-08-20 Alan Mackenzie <acm@muc.de>
12763
58179cce 12764 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12765 such a construct. Mainly for when jit-lock etc. starts a chunk
12766 here.
12767
58179cce 12768 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12769 variable.
58179cce 12770 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12771 c-make-font-lock-search-function.
12772 (c-make-font-lock-search-function): Use the above function.
12773 (c-make-font-lock-context-search-function): New function.
12774 (c-cpp-matchers): Enhance the preprocessor expression case with
12775 the above function
12776 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12777 which takes an expression.
12778
12779 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12780
13009bd8
MR
127812011-08-20 Martin Rudalics <rudalics@gmx.at>
12782
12783 * window.el (display-buffer-reuse-window)
12784 (display-buffer-pop-up-window): Don't reuse or split a side
12785 window.
12786
9234ff7f
GM
127872011-08-19 Glenn Morris <rgm@gnu.org>
12788
12789 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12790 Downcase "Mode:". (Bug#9331)
9234ff7f 12791
f635daa1
CY
127922011-08-18 Chong Yidong <cyd@stupidchicken.com>
12793
12794 * international/characters.el: Add L and R categories.
12795
12796 * subr.el (bidi-string-mark-left-to-right): Rename from
12797 string-mark-left-to-right. Use category search.
12798
12799 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12800
bc987f8b
JL
128012011-08-18 Juri Linkov <juri@jurta.org>
12802
12803 * faces.el (error, warning, success): New faces with definitions
12804 copied from old default values of `font-lock-warning-face',
12805 `compilation-warning', `compilation-info' (bug#6117).
12806
12807 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12808
12809 * progmodes/compile.el (compilation-error): Inherit from `error'.
12810 (compilation-warning): Inherit from `warning'.
12811 (compilation-info): Inherit from `success'.
12812
12813 * dired.el (dired-marked): Inherit from `warning'.
12814 (dired-flagged): Inherit from `error'.
12815
57173b96
LMI
128162011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12817
3e79eb87
LMI
12818 * mail/smtpmail.el (auth-source): Require to avoid problems with
12819 binding variables (bug#9298). Also clean up some unused
12820 autoloads.
12821
b3fd59bd
SM
12822 * net/network-stream.el (network-stream-open-starttls):
12823 Support using starttls.el without using gnutls-cli.
57173b96 12824
02b404de
JL
128252011-08-17 Juri Linkov <juri@jurta.org>
12826
12827 * progmodes/grep.el (rgrep): Handle the case when
12828 `grep-find-command' is a cons cell (bug#9278).
12829
8c9177f2
MR
128302011-08-17 Martin Rudalics <rudalics@gmx.at>
12831
12832 * window.el (display-buffer-pop-up-frame): Run frame creation
12833 function with BUFFER current (as special-display-popup-frame
12834 does). Reported by Drew Adams.
12835
3644a0ab
DU
128362011-08-17 Daiki Ueno <ueno@unixuser.org>
12837
12838 * epa-mail.el: Simplify GnuPG group expansion using
12839 epg-expand-group.
12840 (epa-mail-group-alist, epa-mail-group-modtime)
12841 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12842 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12843 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12844 Remove.
12845
5e617bc2 128462011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
12847
12848 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12849
9c4aeabf
AM
128502011-08-16 Alan Mackenzie <acm@muc.de>
12851
12852 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12853 Correct, to avoid the inside of macros.
12854
3a99bf64
RS
128552011-08-16 Richard Stallman <rms@gnu.org>
12856
04963aa8
RS
12857 * epa-mail.el: Handle GnuPG group definitions.
12858 (epa-mail-group-alist, epa-mail-group-modtime)
12859 (epa-mail-gnupg-conf-file): New variables.
12860 (epa-mail-parse-groups, epa-mail-sync-groups)
12861 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12862 (epa-mail-expand-recipients): New functions.
12863 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12864
177549d0
RS
12865 * mail/rmail.el (rmail-epa-decrypt): New command.
12866
fe38beef
RS
12867 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12868 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
12869 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12870 (epa-decrypt-armor-in-region): Make error message clearer.
12871
934eacb9
SM
128722011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12875 and "a2b" to "ab" for `prefix'.
12876
d024fb4e
CY
128772011-08-14 Chong Yidong <cyd@stupidchicken.com>
12878
12879 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12880 filter groups.
de148fee
CY
12881 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12882 Fourquet (Bug#8804).
d024fb4e 12883
62f1ca49
JB
128842011-08-12 Juanma Barranquero <lekktu@gmail.com>
12885
12886 * startup.el (argi): Declare as global variable (bug#9275).
12887
9ccaaa4b
CY
128882011-08-12 Chong Yidong <cyd@stupidchicken.com>
12889
12890 * subr.el (string-mark-left-to-right): Search the entire string
12891 for RTL script, not just the terminating character. Doc fix.
12892
a3dae87a
SM
128932011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12894
6cd18349
SM
12895 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12896 New function.
12897 (js--regexp-literal, js-syntax-propertize-function): Remove.
12898 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12899 (js-mode-map): Don't rebind electric keys.
12900 (js-insert-and-indent): Remove.
12901 (js-mode): Setup electric-layout and electric-indent instead.
12902
a3dae87a
SM
12903 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12904
9d5cb631
DU
129052011-08-12 Daiki Ueno <ueno@unixuser.org>
12906
12907 * epa.el (epa-progress-callback-function): Fix the logic of
12908 displaying progress.
12909 * epa-file.el (epa-file-insert-file-contents): Make progress
12910 display more user-friendly.
12911 (epa-file-write-region): Ditto.
12912
3e26a4a2
CY
129132011-08-10 Chong Yidong <cyd@stupidchicken.com>
12914
12915 * subr.el (string-mark-left-to-right): New function.
12916
12917 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12918 Use string-mark-left-to-right.
12919 (list-buffers-noselect): Caller changed.
12920
a3dae87a
SM
12921 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12922 Use string-mark-left-to-right.
3e26a4a2
CY
12923 (tabulated-list-print): Recenter after moving point.
12924
ac8cf6e6
JL
129252011-08-10 Juri Linkov <juri@jurta.org>
12926
12927 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12928 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12929 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12930
8d96c9a4
CY
129312011-08-09 Chong Yidong <cyd@stupidchicken.com>
12932
12933 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12934 (Bug#7554).
12935
7be1c708 129362011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
12937
12938 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12939 character. (Bug#6594)
12940
37e11a63
CY
129412011-08-08 Chong Yidong <cyd@stupidchicken.com>
12942
839dde57
CY
12943 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12944 (image-dired--with-db-file): New macro.
12945 (image-dired-write-tags, image-dired-remove-tag)
12946 (image-dired-create-gallery-lists, image-dired-write-comments)
12947 (image-dired-get-comment, image-dired-mark-tagged-files)
12948 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12949 (image-dired-gallery-generate): Use insert-file-contents.
12950
37e11a63
CY
12951 * time.el (display-time-world-list, display-time-world-display):
12952 * time-stamp.el (time-stamp-string):
12953 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12954 set-time-zone-rule (Bug#7337).
12955
0b4946c4
DU
129562011-08-08 Daiki Ueno <ueno@unixuser.org>
12957
12958 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12959 (epg-error-to-string, epg-errors-to-string): New function.
12960 (epg-wait-for-completion): Reverse errors list.
12961 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12962 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12963 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12964 (epg-sign-keys, epg-generate-key-from-file)
12965 (epg-generate-key-from-string): Format errors by using
12966 epg-errors-to-string (bug#9255).
12967 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12968
75bfc667
JL
129692011-08-07 Juri Linkov <juri@jurta.org>
12970
12971 * faces.el (list-faces-display): Remove extra angle bracket
12972 from `help-mode-map'.
12973
12974 * info.el (Info-history-toc-nodes): Doc fix.
12975
12976 * longlines.el (longlines-mode): Doc fix.
12977
673e08bb
SM
129782011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12979
4640dd88
SM
12980 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12981 of statements and in a few more cases (bug#9183).
12982
673e08bb
SM
12983 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12984 New functions.
12985 (cl-transform-lambda): Use them (bug#9239).
12986
89b3f019
MR
129872011-08-05 Martin Rudalics <rudalics@gmx.at>
12988
12989 * window.el (display-buffer-same-window)
12990 (display-buffer-same-frame, display-buffer-other-window)
12991 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12992 (pop-to-buffer-other-window)
12993 (pop-to-buffer-same-frame-other-window)
12994 (pop-to-buffer-other-frame): Make them defuns.
12995 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12996
640c8776
SM
129972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * subr.el (make-composed-keymap): Move from C. Change calling
13000 convention, and improve docstring to bring attention to a subtle point.
13001 * minibuffer.el (completing-read-default): Adjust accordingly.
13002
63648a95
MA
130032011-08-03 Michael Albinus <michael.albinus@gmx.de>
13004
13005 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13006 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13007
13008 * net/trampver.el: Update release number.
13009
b796c9b7
SM
130102011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13011
13012 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13013 "in" (bug#9190).
13014
2239d7d5
LMI
130152011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13016
e07dd7c3
LMI
13017 * mail/sendmail.el (sendmail-query-once): Restore the current
13018 buffer after querying (bug#9074).
13019
0e6a2bd7
LMI
13020 * dired.el (dired-flagged): Use different faces for marked and
13021 flagged files (bug#6117).
13022
ce887515
LMI
13023 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13024 (bug#4433).
13025
92f2affc
LMI
13026 * ido.el (ido-mode): Switch off the message if called
13027 non-interactively.
13028
57d5aff0
LMI
13029 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13030 before 587, since it appears that that's more likely to work for
13031 more people.
13032
98cd6c18 13033 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13034 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13035 exist.
13036
b96dec83
LMI
13037 * info.el: Remove the `Info-beginning-of-buffer' function
13038 (bug#8325).
13039
b796c9b7
SM
13040 * net/network-stream.el (network-stream-open-starttls):
13041 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13042
d90e2ea0
MR
130432011-08-01 Martin Rudalics <rudalics@gmx.at>
13044
13045 * window.el (display-buffer-in-window): Don't set dedicated status
13046 of window here (Bug#9215).
13047 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13048 (display-buffer-pop-up-side-window)
b796c9b7 13049 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13050
cca09170
SM
130512011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13054 before binding generated-autoload-file.
13055
027b979c
DD
130562011-08-01 Deniz Dogan <deniz@dogan.se>
13057
13058 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13059
3c7ee4f3
MA
130602011-07-30 Michael Albinus <michael.albinus@gmx.de>
13061
13062 Sync with Tramp 2.2.2.
13063
13064 * net/trampver.el: Update release number.
13065
2cc8e51a
JL
130662011-07-30 Juri Linkov <juri@jurta.org>
13067
13068 * dired-aux.el (dired-touch-initial): Remove function.
13069 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13070 current time, and `default' to the last modification time of the
13071 current marked file (bug#6887).
13072
a514d856
JM
130732011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13074
13075 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13076 numeric argument to read-number (bug#9163).
a514d856 13077
8a7eddd7
MA
130782011-07-27 Michael Albinus <michael.albinus@gmx.de>
13079
13080 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13081 connection process, it could be nil.
13082
1ddd96f5
LL
130832011-07-27 Leo Liu <sdl.web@gmail.com>
13084
13085 Simplify url handling in rcirc-mode.
13086
13087 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13088 (rcirc-browse-url-at-mouse): Remove.
13089 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13090
b248a85d
AM
130912011-07-26 Alan Mackenzie <acm@muc.de>
13092
13093 Fontify bitfield declarations properly.
13094
13095 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13096 (c-symbol-chars): Now exported as a lang variable.
13097 (c-not-primitive-type-keywords): New lang variable.
13098
13099 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13100 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13101 parsed as a bitfield declaration.
b248a85d 13102
b796c9b7
SM
13103 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13104 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13105 (c-punctuation-in): New function.
13106 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13107 declarations properly.
13108
68575ab0
UJ
131092011-07-26 Ulf Jasper <ulf.jasper@web.de>
13110
13111 * calendar/icalendar.el (icalendar--all-events): Take care of
13112 multiple vcalendars in a single file.
b796c9b7 13113 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13114
0f0a88b9
DD
131152011-07-25 Deniz Dogan <deniz@dogan.se>
13116
13117 * image.el (insert-image): Clarifying docstring.
13118
0b3f36df
MA
131192011-07-24 Michael Albinus <michael.albinus@gmx.de>
13120
13121 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13122 `tramp-send-command-and-check' if there is no error.
13123 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13124
a9901f61
AM
131252011-07-22 Alan Mackenzie <acm@muc.de>
13126
13127 Prevent cc-langs.elc being loaded at run time.
13128
13129 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13130 cc-langs.
13131
4d61f28d 13132 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13133 "(require 'cc-langs)". Quote a form so it will evaluate at
13134 (cc-mode's) compilation time.
13135
11d074b2
MA
131362011-07-22 Michael Albinus <michael.albinus@gmx.de>
13137
13138 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13139 loading. (Bug#9114)
13140
938b94c8
MR
131412011-07-21 Martin Rudalics <rudalics@gmx.at>
13142
13143 * window.el (display-buffer-pop-up-window)
13144 (display-buffer-pop-up-side-window)
13145 (display-buffer-in-side-window): Call display-buffer-set-height
13146 and display-buffer-set-width after setting the new window's
b796c9b7 13147 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13148
bfa4f190
SS
131492011-07-20 Sam Steingold <sds@gnu.org>
13150
13151 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13152 (etags-tags-included-tables): Call `convert-standard-filename' on
13153 the file names contained in TAGS so that windows Emacs can handle
13154 TAGS files created by cygwin ctags.
13155
8ca42262
LMI
131562011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13157
13158 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13159 which apparently didn't work.
13160
5db2afd2 131612011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13162
5db2afd2
RW
13163 * proced.el (proced-send-signal): For *Marked Processes* buffer
13164 put point at beginning of buffer.
13165
92e15d10
SB
131662011-07-19 Stephen Berman <stephen.berman@gmx.net>
13167
13168 * proced.el (proced-format): Make header lines align with the text
13169 (bug#1779).
13170
1bfd59e5
LMI
131712011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13172
13173 * view.el (view-buffer): Allow running in `special' modes if we're
13174 visiting a file (bug#8615).
13175
f5aae37c
MR
131762011-07-19 Martin Rudalics <rudalics@gmx.at>
13177
13178 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13179 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13180 New functions.
f5aae37c
MR
13181 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13182 more accurately.
13183
bf2c1571
AM
131842011-07-18 Alan Mackenzie <acm@muc.de>
13185
13186 Fontify declarators properly when, e.g., a jit-lock chunk begins
13187 inside a declaration.
13188
13189 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13190
b796c9b7
SM
13191 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13192 New function.
bf2c1571
AM
13193 (c-complex-decl-matchers): Insert reference to
13194 c-font-lock-enclosing-decls.
13195
13196 * progmodes/cc-engine.el (c-backward-single-comment):
13197 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13198 to nil around calls to (forward-comment -1).
13199
4e190b80
LMI
132002011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13201
12dc863d
LMI
13202 * image.el (put-image): Doc typo fix.
13203
a762e966
LMI
13204 * progmodes/etags.el (tags-search): Doc typo fix.
13205
4e190b80
LMI
13206 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13207 password if we get errors 550 to 554.
13208
f019fb21
LMI
132092011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13210
b796c9b7 13211 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13212
81746738
LMI
13213 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13214 indentation character (bug#6380).
13215
3ee3a1b5
LMI
13216 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13217
c82f64de
LMI
13218 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13219 to clarify what the problem is (bug#4291).
13220
f019fb21
LMI
13221 * simple.el (current-kill): Clarify what
13222 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13223 (auto-fill-mode): Document `auto-fill-function' in relation to
13224 `auto-fill-mode' (bug#2470).
f019fb21 13225
0794775d
LM
132262011-07-16 Lawrence Mitchell <wence@gmx.li>
13227
13228 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13229 method if slot is read-only (bug#9035).
13230
be39b8cc
MR
132312011-07-16 Martin Rudalics <rudalics@gmx.at>
13232
b796c9b7 13233 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13234 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13235 selected before, see discussion of (Bug#8615), (Bug#6954).
13236 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13237
6ccf7859
GM
132382011-07-15 Glenn Morris <rgm@gnu.org>
13239
13240 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13241 Respect help-form.
6ccf7859 13242
87e86684
LM
132432011-07-09 Lawrence Mitchell <wence@gmx.li>
13244
13245 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13246 (gnutls-negotiate): Use it.
13247
d6066239
LMI
132482011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13249
b796c9b7
SM
13250 * net/gnutls.el (gnutls-negotiate):
13251 Upcase `gnutls-algorithm-priority'.
d6066239 13252
bd23ebc0
GM
132532011-07-15 Glenn Morris <rgm@gnu.org>
13254
c65bca65
GM
13255 * jka-compr.el (jka-compr-verbose): Move from here...
13256 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13257 Add missing :version tag.
13258 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13259
478615cc
LMI
132602011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13261
7b41decb
LMI
13262 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13263 (gnutls-negotiate): Use it.
13264
dbc44fcd
LMI
13265 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13266
06789f97
LMI
13267 * info.el (Info-beginning-of-buffer): New command.
13268 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13269 announcing `b' as the key (bug#8325).
ab896c37 13270 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13271
c39da690
LMI
13272 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13273
3aa5f34b
LMI
13274 * international/mule-cmds.el
13275 (describe-specified-language-support): Make the error message
13276 clearer (bug#8905).
13277
4bf0979f
LMI
13278 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13279
478615cc
LMI
13280 * isearch.el (isearch-barrier): Add a doc string, since it's
13281 mentioned in a function doc string (bug#8678).
13282
75c68aa1
MR
132832011-07-15 Martin Rudalics <rudalics@gmx.at>
13284
13285 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13286 buffer argument (Bug#9083) and self-identifying label argument.
13287
a7c33da2
GM
132882011-07-15 Glenn Morris <rgm@gnu.org>
13289
13290 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13291
2f5c6024
LMI
132922011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13293
13294 * man.el (Man-fontify-manpage): Fix message when formatting the
13295 man page (bug#7929).
13296
0bb23927 132972011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13298
13299 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13300 argument LRM; if non-nil, append an invisible LRM character to the
13301 buffer name.
13302 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13303 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13304 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13305 paragraph direction.
cce4b0a7 13306
621ef9ab
LMI
133072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13308
d1583c48
LMI
13309 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13310 the man page name (bug#7929).
13311
6a57fb5f
LMI
13312 * image.el (put-image): Mention the `put-image' overlay property
13313 (bug#7834).
13314
d7956b14
LMI
13315 * scroll-bar.el (set-scroll-bar-mode): Mention that
13316 `scroll-bar-mode' lists the values (bug#7772).
13317
5b2d4a66
LMI
13318 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13319 command (bug#7729).
13320
7509a874
LMI
13321 * rect.el (apply-on-rectangle): Return the point after the last
13322 operation.
13323 (string-rectangle): Go to the point after the last operation
13324 (bug#7522).
13325
4fe74b19
LMI
13326 * printing.el (pr-toggle-region): Clarify the documentation
13327 slightly (bug#7493).
13328
b796c9b7
SM
13329 * time.el (display-time-update):
13330 Allow `display-time-mail-function' to return nil (bug#7158).
13331 Fix suggested by Detlev Zundel.
ab283561 13332
fc233c9d
LMI
13333 * vc/diff.el (diff): Clarify the order the file names are read
13334 (bug#7111).
13335
43f5740b
LMI
13336 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13337 the doc string (bug#7015).
13338
f2182a76
LMI
13339 * font-lock.el (font-lock-maximum-decoration): Mention what
13340 numeric levels mean (bug#6935).
13341
621ef9ab
LMI
13342 * startup.el (initial-buffer-choice): Don't mention the `none'
13343 selection, which is against policy.
13344
adc47434
MR
133452011-07-14 Martin Rudalics <rudalics@gmx.at>
13346
b796c9b7
SM
13347 * window.el (display-buffer-normalize-special):
13348 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13349
7e5bfb8f
EZ
133502011-07-14 Eli Zaretskii <eliz@gnu.org>
13351
13352 * subr.el (version<, version<=, version=): Mention "-CVS" and
13353 "-12345" alpha version numbers.
13354
27fa387a
CY
133552011-07-14 Chong Yidong <cyd@stupidchicken.com>
13356
13357 * bindings.el: Add advertised binding for set-mark-command
13358 (Bug#5772).
13359
8bdfa064
CY
133602011-07-14 Chong Yidong <cyd@stupidchicken.com>
13361
13362 * bindings.el (mode-line-other-buffer):
13363 * bookmark.el (bookmark-bmenu-2-window):
13364 * bs.el (bs-cycle-next, bs-cycle-previous):
13365 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13366 switch-to-buffer.
13367
13368 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13369 Delete.
8bdfa064 13370
5eba16a3
JB
133712011-07-14 Juanma Barranquero <lekktu@gmail.com>
13372
13373 * follow.el (follow-debug-message, follow-redisplay):
13374 * jka-cmpr-hook.el (with-auto-compression-mode):
13375 Fix typos in docstrings.
13376
15853710
LMI
133772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13378
a28e4607
LMI
13379 * subr.el (with-silent-modifications): Clarify somewhat what the
13380 macro inhibits (bug#6525).
13381
15853710
LMI
13382 * simple.el (eval-expression): Note what it does if called
13383 interactively (bug#6495).
13384
bee0fcef
CY
133852011-07-13 Chong Yidong <cyd@stupidchicken.com>
13386
b796c9b7
SM
13387 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13388 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13389
13390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13391 Remove switch-to-buffer.
13392
58274504
LMI
133932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13394
bd2fcc8d
LMI
13395 * files.el (make-directory): Clarify that an error will be raised
13396 if there's an error (bug#6397).
13397
0f04b32c
LMI
13398 * startup.el (initial-buffer-choice): Add `none' as a choice
13399 (bug#6234).
13400
465c5fc8
LMI
13401 * subr.el (add-hook): Clarify section about buffer-local hooks
13402 (bug#6218).
13403
58274504
LMI
13404 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13405
bead9a43
JB
134062011-07-13 Juanma Barranquero <lekktu@gmail.com>
13407
13408 * tabify.el (untabify): Preserve the current column so that point
13409 doesn't move (bug#6032).
13410
3af98a7b
LMI
134112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13412
b796c9b7
SM
13413 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13414 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13415
6240145a
GM
134162011-07-13 Glenn Morris <rgm@gnu.org>
13417
13418 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13419 (dired-insert-directory): Give a message the first time
13420 if ls is found not to support --dired.
13421
1d8c2ccc
LMI
134222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13423
13424 * simple.el (toggle-truncate-lines): Clarify what is toggled
13425 (bug#5580). Text by Drew Adams.
13426
5fc4038e
CY
134272011-07-13 Chong Yidong <cyd@stupidchicken.com>
13428
13429 * simple.el (blink-matching-open): Make the error message from the
13430 last change less verbose.
13431
bf6012e5
DN
134322011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13433
13434 * font-lock.el (font-lock-comment-face): Use the high contrast
13435 "yellow" color for font-lock-comment-face on low color terminals
13436 using a dark background color (bug#4221).
13437
343c3b5a
LMI
134382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13439
7e9505c5
LMI
13440 * dired.el (dired-insert-set-properties): Make the doc string
13441 reflect what it does now (bug#5325).
13442
c26fdcf5
LMI
13443 * simple.el (blink-matching-open): Say that we were unable to find
13444 the match within the limit, if we're limited (bug#5122).
13445
bb388cc5
LMI
13446 * international/mule-cmds.el (prefer-coding-system): Add an
13447 example (bug#4869).
13448
343c3b5a
LMI
13449 * progmodes/etags.el (tags-search): Document `file-list-form'
13450 (bug#4731).
13451
2a517d45
LM
134522011-07-13 Lawrence Mitchell <wence@gmx.li>
13453
13454 * net/browse-url.el (browse-url-default-browser)
13455 (browse-url-browser-function): Make the default browser choice a
13456 bit more logical (bug#4300). Also clean up the doc string.
13457
b6c78ef2
JB
134582011-07-13 Juanma Barranquero <lekktu@gmail.com>
13459
13460 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13461 binary endings (bug#4440).
13462
1c4dd947
LMI
134632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13464
a2014063
LMI
13465 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13466 which can be pretty annoying (bug#8971).
13467
9c9c2d88
LMI
13468 * jka-compr.el (jka-compr-verbose): New variable, and use
13469 throughout (bug#8971).
13470
1c4dd947
LMI
13471 * info.el (Info-find-file): Fall back on the installation
13472 directory if we can't find the info node anywhere else.
13473
a1c9f41b
SO
134742011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13475
13476 * vc/vc.el (vc-revert-file):
13477 Don't set file time-stamp in the past. (Bug#5181)
13478
536f3d36
LMI
134792011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13480
7152b011
LMI
13481 * files.el (after-find-file): Give a better error message when
13482 trying to find a symlink that points to a file that doesn't exist
13483 (bug#4398).
13484
536f3d36
LMI
13485 * progmodes/cc-vars.el: Remove (probably) misleading comment
13486 (bug#4396).
13487
460c0fba
JB
134882011-07-12 Johan Bockgård <bojohan@gnu.org>
13489
13490 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13491
7a6bda45
CY
134922011-07-12 Chong Yidong <cyd@stupidchicken.com>
13493
13494 * mouse-sel.el: Hack restoring functionality, while keeping
13495 compatibility with 2010-07-03 changes to mouse selection.
13496 (mouse-sel-primary-overlay): New var.
13497 (mouse-sel-selection-alist): Use it.
13498 (mouse-sel-mode): Doc fix; remove points that are default features
13499 of mouse.el.
13500
c79598ef
JB
135012011-07-12 Johan Bockgård <bojohan@gnu.org>
13502
13503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13504 Fix previous fix (bug#2490).
13505
ff8be6ef
RW
135062011-07-12 Roland Winkler <winkler@gnu.org>
13507
b796c9b7
SM
13508 * textmodes/bibtex.el (bibtex-initialize):
13509 Use pop-to-buffer-same-window.
ff8be6ef
RW
13510 (bibtex-search-entries): Fix interactive call.
13511
296ba3ee
LMI
135122011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13513
f5242a02 13514 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13515 Fontise bytecomp Error lines more correctly (bug#2490).
13516 Fix suggested by Johan Bockgård.
f5242a02 13517
296ba3ee
LMI
13518 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13519
13520 * dired-x.el (dired-guess-default): Use `delete-dups'.
13521
f69fd0d2
CY
135222011-07-12 Chong Yidong <cyd@stupidchicken.com>
13523
13524 * dired.el (dired-mark-prompt):
13525 * dired-aux.el (dired-read-shell-command): Doc fix.
13526
eab5dc07
LMI
135272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13528
b796c9b7
SM
13529 * mail/sendmail.el (sendmail-query-once):
13530 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13531 emacs -Q.
13532
13533 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13534
eab5dc07
LMI
13535 * cus-edit.el (custom-file): Take an optional no-error variable.
13536 (customize-save-variable): Set the variable, and give a warning if
13537 running under "emacs -q".
13538
a1e65d42
JB
135392011-07-11 Juanma Barranquero <lekktu@gmail.com>
13540
13541 * loadhist.el (unload-feature-special-hooks):
13542 Add `auto-coding-functions', `fill-nobreak-predicate' and
13543 `find-directory-functions' (bug#5327).
13544
1d52da10
LMI
135452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13546
be958f1d
LMI
13547 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13548
5bedb26c
LMI
13549 * cus-edit.el (custom-guess-name-alist): -alist variables should
13550 use the `alist' type (bug#3120). Suggested by Drew Adams.
13551
1d52da10
LMI
13552 * printing.el: Add documentation to all the `pr-toggle-' commands.
13553
cd394be1 135542011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13555
13556 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13557 backends where it makes sense (bug#2623).
13558
dcc88d8a
LMI
135592011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13560
c3de9feb
LMI
13561 * dired-x.el (dired-guess-default): Remove duplicate shell command
13562 entries (bug#2028).
8a93078b 13563 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13564 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13565
dcc88d8a
LMI
13566 * subr.el (remove-duplicates): New conveniency function.
13567
505e3645
LMI
135682011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13569
13570 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13571 (bug#1526).
13572
135732011-07-10 Martin Rudalics <rudalics@gmx.at>
13574
13575 * window.el (display-buffer-normalize-default): Don't invert
13576 meaning of even-window-heights. Reported by Eli Zaretskii
13577 <eliz@gnu.org>.
13578
455e4fa1
BR
135792011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13580
13581 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13582
8e0bc3e9
CY
135832011-07-10 Chong Yidong <cyd@stupidchicken.com>
13584
13585 * window.el (display-buffer): Fix arguments to
13586 display-buffer-reuse-window in last change.
13587
fa7c3228
CY
13588 * faces.el (link): Use a less saturated blue on light backgrounds.
13589
13590 * startup.el (fancy-startup-text, fancy-about-text)
13591 (fancy-startup-tail): Use font-lock faces, for background safety.
13592
c0a7f300
BN
135932011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13594
b796c9b7
SM
13595 * emulation/viper-cmd.el (viper-change-state-to-vi):
13596 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13597
4dc2a129
MR
135982011-07-09 Martin Rudalics <rudalics@gmx.at>
13599
13600 * window.el (display-buffer-default-specifiers): Remove.
13601 (display-buffer-macro-specifiers): Remove default specifiers.
13602 (display-buffer-alist): Default to nil.
b796c9b7 13603 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13604 (display-buffer-pop-up-window): Allow splitting internal
13605 windows. Check whether a live window was created.
13606 (display-buffer-other-window-means-other-frame)
13607 (display-buffer-normalize-arguments): Rename to
13608 display-buffer-normalize-argument and rewrite. Set the
13609 other-window specifier.
13610 (display-buffer-normalize-special): New function.
13611 (display-buffer-normalize-options): Rename to
13612 display-buffer-normalize-default and rewrite.
13613 (display-buffer-normalize-options-inhibit): Remove.
13614 (display-buffer-normalize-specifiers): Rewrite.
13615 (display-buffer): Process other-window specifier and call
13616 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13617 more faithfully.
b796c9b7 13618 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13619 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13620 (display-buffer-in-window, display-buffer-alist-set):
13621 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13622 <tassilo@member.fsf.org>.
13623
2d43b8c9
LL
136242011-07-09 Leo Liu <sdl.web@gmail.com>
13625
13626 * register.el (insert-register): Restore accidental change on
13627 2011-06-26. (Bug#9028)
13628
7f9b7c53
GM
136292011-07-09 Glenn Morris <rgm@gnu.org>
13630
13631 * subr.el (remq): Handle the empty list. (Bug#9024)
13632
f042cfd8
AS
136332011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13634
13635 * mail/sendmail.el (send-mail-function): No longer delay custom
13636 initialization.
13637 * custom.el (custom-initialize-delay): Doc fix.
13638
856b2f11
SM
136392011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13640
13641 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13642
afae1d68
MA
136432011-07-08 Michael Albinus <michael.albinus@gmx.de>
13644
13645 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13646 human-friendly prompt.
13647
0757af94
SM
136482011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13649
13650 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13651 provided by a particular plugin.
13652
d760b731
LMI
136532011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13654
13655 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13656 save customizations (with "emacs -Q"), just set the variable
13657 instead of erroring out.
13658
13659 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13660
cd79ce90
JL
136612011-07-08 Juri Linkov <juri@jurta.org>
13662
13663 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13664 (archive-zip-update-case): Use 7z if found by `executable-find'.
13665 The order of searching the available programs is the same as in
13666 `archive-zip-extract' (bug#8968).
13667
14cc04aa
CY
136682011-07-07 Chong Yidong <cyd@stupidchicken.com>
13669
13670 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13671 (menu-bar-options-menu): Tweak descriptions.
13672
0a1848ec
LMI
136732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13674
13675 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13676 menu items into verb phrases (bug#1421). Also refill to fit under
13677 80 columns.
13678
f5bd0689
CY
136792011-07-07 Chong Yidong <cyd@stupidchicken.com>
13680
538e85c6
CY
13681 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13682 (Info-read-node-name): Doc fix (Bug#1084).
13683
f5bd0689
CY
13684 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13685 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13686 (end-of-sexp, beginning-of-sexp)
13687 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13688 (forward-symbol, forward-same-syntax, word-at-point)
13689 (sentence-at-point): Doc fix (Bug#1144).
13690
56ec5115
LMI
136912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13692
f3f8e37f
LMI
13693 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13694 should cover it (bug#1281).
13695
0757af94 13696 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13697
e9fce1ac 13698 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13699 negotiation fails, then possibly try again with a non-encrypted
13700 connection (bug#9017).
13701
56ec5115
LMI
13702 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13703 be used.
13704
c2f9aec8
RS
137052011-07-07 Richard Stallman <rms@gnu.org>
13706
13707 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13708 property, and handle its changed format.
13709 Look for the correct line number.
13710 Use file's line contents (but not past first =) to find
13711 correct line in message.
13712
ef7b981d 137132011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13714
13715 * international/characters.el (build-unicode-category-table):
13716 Delete it.
0757af94 13717 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13718
0757af94 13719 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13720 to src/chartab.c.
13721 (get-char-code-property): Call unicode-property-table-internal to
13722 load a file. Call get-unicode-property-internal where necessary.
13723 (put-char-code-property): Call unicode-property-table-internal to
13724 load a file. Call put-unicode-property-internal where necessary.
13725 put-unicode-property-internal where necessary.
0757af94
SM
13726 (char-code-property-description):
13727 Call unicode-property-table-internal to load a file.
c805dec0
KH
13728
13729 * international/charprop.el:
13730 * international/uni-bidi.el:
13731 * international/uni-category.el:
13732 * international/uni-combining.el:
13733 * international/uni-comment.el:
13734 * international/uni-decimal.el:
13735 * international/uni-decomposition.el:
13736 * international/uni-digit.el:
13737 * international/uni-lowercase.el:
13738 * international/uni-mirrored.el:
13739 * international/uni-name.el:
13740 * international/uni-numeric.el:
13741 * international/uni-old-name.el:
13742 * international/uni-titlecase.el:
13743 * international/uni-uppercase.el: Regenerate.
13744
13745 * loadup.el: Load international/charprop.el before
13746 international/characters.
13747
e14b388a
CY
137482011-07-07 Chong Yidong <cyd@stupidchicken.com>
13749
13750 * window.el (next-buffer, previous-buffer): Signal an error if
13751 called from a minibuffer window.
13752
13753 * bindings.el: Revert 2011-07-04 change.
13754
354cf0ba
RS
137552011-07-06 Richard Stallman <rms@gnu.org>
13756
13757 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13758 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13759 Treat markers like ints.
13760 (rmail-mime-entity): Doc fix.
13761
a48868a7
LMI
137622011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13763
4906cd3d
LMI
13764 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13765 defcustom again for backwards compatibility.
13766
e0457abe
LMI
13767 * simple.el (shell-command-on-region): Fill.
13768
d67f7e1f
LMI
13769 * dired-aux.el (dired-kill-line): Add a doc string.
13770
fe204702
LMI
13771 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13772 to "\\sw\\|\\s_" (bug#358).
13773
a48868a7
LMI
13774 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13775 (dired-unmark-backward): Ditto.
13776 (dired-flag-backup-files): Ditto.
13777
13778 * dired-x.el (dired-mark-sexp): Ditto.
13779
aa8a705c
RS
137802011-07-06 Richard Stallman <rms@gnu.org>
13781
13782 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13783 (rmail-mime-entity): New arg TRUNCATED.
13784 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13785 New functions.
13786 (rmail-mime-save): Warn if entity is truncated.
13787 (rmail-mime-toggle-hidden): Likewise, for showing.
13788 (rmail-mime-process-multipart): Record when an entity is truncated.
13789
a9a936b9
RS
13790 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13791 if ENTITY is a string.
13792
1f2b92cb
LMI
137932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13794
f4f73198 13795 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13796 of faces when `M-C-x'-ing their definitions (bug#8378).
13797 Also clean up the code slightly.
f4f73198 13798
12b16734 13799 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13800 because that makes the colors go away.
12b16734 13801
f0691d22
LMI
13802 * mail/sendmail.el (send-mail-function): Change the default to
13803 `sendmail-query-once'.
9e87df06 13804 (sendmail-query-once): Add an autoload cookie.
f0691d22 13805
1f2b92cb
LMI
13806 * net/network-stream.el (network-stream-open-starttls): Try using
13807 a plain connection even if the server offered STARTTLS, and we
13808 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13809 capability. This should make smtpmail.el work in slightly more
13810 configurations.
13811
1cdd2a1b
MA
138122011-07-06 Michael Albinus <michael.albinus@gmx.de>
13813
13814 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13815 New defun.
13816 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13817
fbcc67e2
MM
138182011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13819
13820 * progmodes/sql.el: Version 3.0
0757af94 13821 (sql-product-alist): Add product :completion-object,
fbcc67e2 13822 :completion-column, and :statement attributes.
0757af94 13823 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13824 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13825 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13826 ansi keywords.
13827 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13828 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13829 (sql-oracle-show-reserved-words): New function for development.
13830 (sql-product-font-lock): Simplify for source code buffers.
13831 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13832 New functions.
13833 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
13834 (sql-mode-map): Add statement movement functions.
13835 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13836 New variable.
fbcc67e2
MM
13837 (sql-statement-regexp, sql-beginning-of-statement)
13838 (sql-end-of-statement, sql-signum): New functions.
0757af94 13839 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
13840 (sql-show-sqli-buffer): Bug fix.
13841 (sql-interactive-mode): Store connection data as buffer local.
0757af94 13842 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
13843 with sql-interactive-mode.
13844 (sql-save-connection): Save buffer local settings.
0757af94 13845 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
13846 (sql-product-interactive): Bug fix.
13847 (sql-preoutput-hold): New variable.
13848 (sql-interactive-remove-continuation-prompt): Bug fixes.
13849 (sql-debug-redirect): New variable.
13850 (sql-str-literal): New function.
13851 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 13852 Redesign.
fbcc67e2
MM
13853 (sql-oracle-save-settings, sql-oracle-restore-settings)
13854 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13855 (sql-completion-object, sql-completion-column)
13856 (sql-completion-sqlbuf): New variables.
13857 (sql-build-completions-1, sql-build-completions)
13858 (sql-try-completion): New functions.
13859 (sql-read-table-name): Use them.
13860 (sql-contains-names): New buffer local variable.
13861 (sql-list-all, sql-list-table): Use it.
13862 (sql-oracle-completion-types): New variable.
13863 (sql-oracle-completion-object, sql-sqlite-completion-object)
13864 (sql-postgres-completion-object): New functions.
13865
d4eaeab1
GM
138662011-07-06 Glenn Morris <rgm@gnu.org>
13867
13868 * window.el (pop-to-buffer): Doc fix.
13869
322b7dab 138702011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
13871
13872 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13873
322b7dab 138742011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 13875
322b7dab 13876 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 13877
322b7dab 13878 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 13879
605dd5bf
CY
138802011-07-05 Chong Yidong <cyd@stupidchicken.com>
13881
13882 * button.el (button): Inherit from link face. Suggested by Dan
13883 Nicolaescu.
13884
7dbfa719
SM
138852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13886
3db614b0
SM
13887 * progmodes/gdb-mi.el: Fit in 80 columns.
13888 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13889 switch-to-buffer.
13890
7dbfa719
SM
13891 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13892 if imenu is simply not configured (bug#8941).
13893
919d884a
KM
138942011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13895
13896 * allout.el (allout-post-undo-hook): New allout outline-change
13897 event hook to signal undo activity.
13898 (allout-post-command-business): Run allout-post-undo-hook if an
13899 undo just occurred.
7dbfa719
SM
13900 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13901 * allout-widgets.el (allout-widgets-after-undo-function):
13902 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
13903 in the vicinity of an undo.
13904 (allout-widgets-mode): Include allout-widgets-after-undo-function
13905 on the new allout-post-undo-hook.
13906
450a0f09
SM
139072011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13910 Let define-derived-mode define it.
13911 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13912 cycles of abbrev-table inheritance (bug#8998).
13913
2de69e00
RW
139142011-07-05 Roland Winkler <winkler@gnu.org>
13915
13916 * textmodes/bibtex.el: Add support for biblatex.
13917 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13918 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13919 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13920 (bibtex-entry-alist, bibtex-field-alist): New variables.
13921 (bibtex-entry-field-alist): Obsolete alias for
13922 bibtex-BibTeX-entry-alist.
13923 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13924 (bibtex-set-dialect): New command.
13925 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
13926 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13927 Bind via bibtex-set-dialect.
2de69e00
RW
13928 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13929 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13930 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13931 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13932 Define via bibtex-set-dialect.
450a0f09
SM
13933 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13934 Obey bibtex-no-opt-remove-re.
2de69e00
RW
13935 (bibtex-vec-push, bibtex-vec-incr): New functions.
13936 (bibtex-format-entry, bibtex-field-list)
13937 (bibtex-print-help-message, bibtex-validate)
13938 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13939
2dcdbdd9
SM
139402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13941
13942 * progmodes/compile.el (compilation-goto-locus):
13943 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13944 * bs.el (bs-cycle-next, bs-cycle-previous):
13945 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13946 * bindings.el (mode-line-other-buffer):
13947 * autoinsert.el (auto-insert):
13948 * arc-mode.el (archive-extract):
13949 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13950
b27640fe
JB
139512011-07-05 Juanma Barranquero <lekktu@gmail.com>
13952
13953 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13954 Fix check of `emacs-lock-unlockable-modes'.
13955 Coerce true values of `emacs-lock--try-unlocking' to t.
13956
53bbe3ad
JB
139572011-07-05 Juanma Barranquero <lekktu@gmail.com>
13958
13959 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13960 * emacs-lock.el: New file.
13961
1d3cdbc7
JD
139622011-07-05 Julien Danjou <julien@danjou.info>
13963
13964 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13965 than `boundp' to check if face is set.
13966
9173deec
JB
139672011-07-05 Juanma Barranquero <lekktu@gmail.com>
13968
13969 * register.el (registerv-make):
13970 * window.el (window-min-height): Fix typos in docstrings.
13971
869795d6
JD
139722011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13973
9173deec 13974 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
13975 Update doc string.
13976
b768cdcd
JB
139772011-07-04 Juanma Barranquero <lekktu@gmail.com>
13978
13979 * server.el (server-execute): Catch quit and call
13980 `server-return-error' to pass the error back to emacsclient and
13981 close the connection (bug#8942).
13982
13aa217b
KM
139832011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13984
13985 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13986 insecure exception for current topic. Also note that auto-saves
13987 are handled differently.
13988
5d3385a0 13989 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
13990 State variables for tracking auto-save inhibition situation.
13991
13992 (allout-write-contents-hook-handler): Rename from
13993 'allout-write-file-hook-handler', and describe how it depends on
13994 write-contents-functions sensitivity to non-nil value to prevent
13995 file write.
13996
13997 (allout-auto-save-hook-handler): Remove. auto-save does not check
13998 this in individual buffers, only in the starting buffer, so this
13999 is not the right way for us to inhibit auto-save in a buffer
14000 according to its condition.
14001
14002 (allout-mode): Use new allout-write-contents-hook-handler, and
14003 only with write-contents-functions. Remove auto-save provisions -
14004 they're implemented elsewhere.
14005
14006 (allout-before-change-handler): If undo is in progress, note that
14007 for attention of allout-post-command-business.
14008
14009 (allout-post-command-business): If the command we're following was
14010 an undo, check for change in the status of encrypted items and
14011 adjust auto-save inhibitions accordingly.
14012
14013 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14014 according to whether there are or aren't any plain-text topics
14015 pending encryption.
14016
2dcdbdd9 14017 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14018 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14019 if there are plain-text topics pending encryption.
13aa217b
KM
14020
14021 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14022 buffer-saved-size and some allout state to not inhibit auto-saves
14023 if there are no longer any plain-text topics pending encryption.
14024
0757af94
SM
14025 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14026 No longer provide for exemption of the current topic.
13aa217b 14027
ac89b32c
JL
140282011-07-04 Juri Linkov <juri@jurta.org>
14029
14030 Add 7z operations to delete and save changed members (bug#8968).
14031 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14032 New defcustoms.
14033 (archive-7z-write-file-member): New function.
14034 (archive-7z-summarize): Fix the number of dashes in the
14035 listing output.
14036
8fa39615
SM
140372011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14038
14039 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14040 (bug#8958).
14041
2f11b3f1
CY
140422011-07-04 Chong Yidong <cyd@stupidchicken.com>
14043
d66fef2b
CY
14044 * bindings.el: Ignore next-buffer and previous-buffer in
14045 minibuffer-local-map.
14046
2f11b3f1
CY
14047 * font-lock.el (font-lock-builtin-face): Change light background
14048 color to dark slate blue (Bug#6693).
14049
f932a347
WD
140502011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14051
14052 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14053
c8af70e1
SM
140542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14057 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14058 Add switch-to-buffer.
14059
f158badc
LMI
140602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14061
14062 * isearch.el (isearch-search-fun-function): Clarify further the
14063 meaning of the function returned.
14064
6d95bd46
MA
140652011-07-04 Michael Albinus <michael.albinus@gmx.de>
14066
14067 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14068
14069 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14070 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14071 Use it.
14072 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14073 `tramp-default-remote-path' does not exist.
14074 (tramp-send-command-and-read): New optional argument NOERROR.
14075 (tramp-open-connection-setup-interactive-shell)
14076 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14077 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14078 (tramp-process-sentinel): Flush also process' connection property.
14079 (tramp-sh-handle-start-file-process): Do not set process
14080 sentinel. It is done now ...
14081 (tramp-maybe-open-connection): ... here. (Bug#8929)
14082
909e6b67
MK
140832011-07-04 MON KEY <monkey@sandpframing.com>
14084
14085 * play/animate.el (animate-string): Doc fixes and allow changing
14086 the buffer name (bug#5417).
14087
140882011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14089
c8af70e1 14090 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14091
f34755dc
PE
140922011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14093
396cec72
PE
14094 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14095 This is simpler and helps future-proof the code.
14096 (timer-until): Use time-subtract and float-time.
08235028 14097 (timer--time-less-p): Use time-less-p.
f34755dc 14098
56e6cc31
JB
140992011-07-04 Juanma Barranquero <lekktu@gmail.com>
14100
3abb79e5
JB
14101 * type-break.el (timep): Use the value of `float-time' to avoid a
14102 byte-compiler warning.
14103
56e6cc31
JB
14104 * server.el (server-eval-and-print): Return any result, even nil.
14105
7b9430b4
PE
141062011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14107
14108 * type-break.el: Accept time formats that the builtins accept.
14109 (timep, type-break-time-difference): Accept any format that
14110 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14111 This is simpler and helps future-proof the code.
14112 (type-break-time-difference): Round rather than ignoring
14113 subseconds components.
14114
3034e9e7
LMI
141152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14116
14117 * info.el (Info-apropos-matches): Make non-interactive, since it
14118 doesn't seem to do anything useful as a command (bug#8829).
14119
1485f4c0
CY
141202011-07-03 Chong Yidong <cyd@stupidchicken.com>
14121
14122 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14123 Move from faces.el.
1485f4c0
CY
14124 (frame-default-terminal-background): New function.
14125
14126 * custom.el (custom-push-theme): Don't record faces in `changed'
14127 theme; this doesn't work correctly for per-frame face settings.
14128 (disable-theme): Use face-set-after-frame-default to reset faces.
14129 (custom--frame-color-default): New function.
14130
9fa3dd45
LMI
141312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14132
c8af70e1 14133 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14134 (bug#8769).
14135
6cbbc20c
KR
141362011-03-29 Kevin Ryde <user42@zip.com.au>
14137
14138 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14139 `perl-Test2' extend to match possible "fail #N" rep count
14140 (bug#8377).
14141
c7f98048
LMI
141422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14143
65676592
LMI
14144 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14145 `smtpmail-via-smtp' now returns the error instead of nil.
14146
c7f98048
LMI
14147 * isearch.el (isearch-search-fun-function): Clarify the doc string
14148 (bug#8101).
14149
56e6cc31 141502011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14151
14152 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14153 unnecessary spaces (bug#8987).
14154
2b216704
LMI
141552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14156
14157 * net/network-stream.el (open-network-stream): Use the
14158 :end-of-capability command thoughout.
14159
141602011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14161
14162 * net/network-stream.el (open-network-stream): Add the
14163 :end-of-capability command parameter, used by pop3.el.
14164
36adf6ce
LMI
141652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14166
1ca0da0e
LMI
14167 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14168
fc00f69c
LMI
14169 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14170 for list)" (bug#6475).
14171
28fd8759 14172 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14173 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14174 an error (bug#6297).
14175
0dd8b6da
LMI
14176 * man.el (Man-reference-regexp): Allow matching possible
14177 word-wrapped references (bug#6289).
14178
ce1438d6
LMI
14179 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14180 for consistency with the other vc buffers (bug#6197).
14181 (vc-checkin): Ditto.
14182
14183 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14184
36adf6ce
LMI
14185 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14186
e83cc1f7
LMI
141872011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14188
8a20ca4c
LMI
14189 * custom.el (defcustom): Clarify that :set is only used in the
14190 Customize user interface (bug#6089).
14191
83319045
LMI
14192 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14193 associated with a file, refuse to run instead of erroring out
14194 (bug#6084).
14195
a8392169
LMI
14196 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14197 the doc string, since it appears that using `fill-column' always
14198 controls the width (bug#7845).
14199
e83cc1f7
LMI
14200 * simple.el (shell-command-on-region): Say where the error output
14201 went if `shell-command-default-error-buffer' is set (bug#6857).
14202
e47ca23b
KM
142032011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14204
14205 * allout.el (allout-yank-processing): Adjust cursor position for
14206 backwards-deleted space.
14207
14208 (allout-rebullet-heading): Register changes with
14209 allout-exposure-changed-hook, so the modified topic is properly
14210 decorated.
14211
5cf56143
LMI
142122011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14213
08549772
LMI
14214 * minibuffer.el (completion-in-region): Document PREDICATE
14215 (bug#7136).
14216
48e96771
LMI
14217 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14218 of keyword/argument pairs (bug#6904).
14219
c8af70e1
SM
14220 * replace.el (multi-occur):
14221 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14222
e17d05e2
LMI
142232011-07-02 Drew Adams <drew.adams@oracle.com>
14224
14225 * dired.el (dired-mark-if): Make the message about whether it's
14226 marking or unmarking clearer (bug#8523).
14227
063b0e45
LMI
142282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14229
14230 * disp-table.el (display-table-print-array): New function.
14231 (describe-display-table): Use it to print the vectors more pretty
14232 (Bug#8859).
14233
28545e04
MR
142342011-07-02 Martin Rudalics <rudalics@gmx.at>
14235
14236 * window.el (window-state-get-1): Don't assign clone numbers.
14237 Add clone-of item to list of window parameters.
14238 (window-state-put-2): Don't process clone numbers.
14239 (display-buffer-alist): Fix doc-string.
14240
3349e122
SM
142412011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14242
14243 * subr.el (remq): Don't allocate if it's not needed.
14244 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14245 (keymap--merge-bindings): New functions.
14246 (keymap-canonicalize): Use them to refine the canonicalization.
14247 * minibuffer.el (minibuffer-local-completion-map)
14248 (minibuffer-local-must-match-map): Move initialization from C.
14249 (minibuffer-local-filename-completion-map): Move initialization from C;
14250 don't inherit from anything here.
14251 (minibuffer-local-filename-must-match-map): Make obsolete.
14252 (completing-read-default): Use make-composed-keymap to combine
14253 minibuffer-local-filename-completion-map with either
14254 minibuffer-local-must-match-map or
14255 minibuffer-local-filename-completion-map.
14256
d224ac83
GM
142572011-07-01 Glenn Morris <rgm@gnu.org>
14258
3de63bf8
GM
14259 * type-break.el (type-break-time-sum): Use dolist.
14260
d224ac83
GM
14261 * textmodes/flyspell.el (flyspell-word-search-backward):
14262 Replace CL function.
14263
1a1e3f32
SM
142642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14265
fe3f64d5
SM
14266 * mouse.el (mouse--strip-first-event): New function.
14267 (function-key-map): Use it to map fringe clicks to normal clicks
14268 by default.
14269
eb604e34
SM
14270 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14271 (vc-bzr-revision-completion-table): Add support for annotate and date.
14272
1a1e3f32
SM
14273 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14274 inherit from parent.
14275
5bd35902
LMI
142762011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14277
ace6c69c 14278 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14279 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14280
191e2bed
LMI
14281 * dired.el (dired-mode): Fix up the doc string as suggested by
14282 Drew Adams (bug#8817).
14283
5bd35902
LMI
14284 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14285 cookie, since the manual says that it should be possible to add
14286 this function to `find-file-hook' (bug#8709).
14287
eee8207a
TZ
142882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14289
14290 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14291 here. Noted Ted Zlatanov as the maintainer.
14292 (cfengine-common-settings, cfengine-common-syntax): New functions
14293 to set up common things between `cfengine-mode' and
14294 `cfengine3-mode'.
14295 (cfengine3-mode): New mode.
14296 (cfengine3-defuns cfengine3-defuns-regex
14297 (cfengine3-class-selector-regex cfengine3-category-regex)
14298 (cfengine3-vartypes cfengine3-font-lock-keywords)
14299 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14300 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14301
36b148cf
MA
143022011-07-01 Michael Albinus <michael.albinus@gmx.de>
14303
14304 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14305
14306 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14307
0bf4ba9a
MR
143082011-07-01 Martin Rudalics <rudalics@gmx.at>
14309
14310 * window.el (same-window-buffer-names, same-window-regexps)
14311 (same-window-p, special-display-frame-alist)
14312 (special-display-popup-frame, special-display-function)
14313 (special-display-buffer-names, special-display-regexps)
14314 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14315 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14316 (split-window-preferred-function, split-height-threshold)
14317 (split-width-threshold, even-window-heights)
14318 (display-buffer-mark-dedicated, window-splittable-p)
14319 (split-window-sensibly, window-safely-shrinkable-p):
14320 Un-obsolete.
14321 (display-buffer): Don't spread args with function specifier
14322 because special-display-popup-frame won't like it.
14323
35837f51
PE
143242011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14325
d0672f86
PE
14326 Time-stamp simplifications and fixes.
14327 These improve accuracy slightly, and future-proof the code
14328 against some potential changes to current-time format.
14329
b9444d97
PE
14330 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14331 by using time-since and float-time.
14332
0ef923dc
PE
14333 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14334 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14335 + NNN microseconds".
14336
2f81380d
PE
14337 * type-break.el (type-break-time-sum): Rewrite using time-add.
14338
845b5c3e
PE
14339 * play/hanoi.el (hanoi-current-time-float): Remove.
14340 All uses replaced by float-time.
14341
ee6f1be0
PE
14342 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14343 This yields a more-accurate answer.
14344 (rng-time-to-float): Remove; no longer needed.
14345
fe955043
PE
14346 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14347
5777162a
PE
14348 * calendar/timeclock.el (timeclock-seconds-to-time):
14349 Defalias to seconds-to-time, since they're the same thing.
14350
3103f8b6 14351 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14352 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14353 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14354
0e61a35f
SM
143552011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14356
14357 * window.el (bury-buffer): Don't iconify the only frame.
14358 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14359 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14360
ddd63a1e
CY
143612011-07-01 Chong Yidong <cyd@stupidchicken.com>
14362
0e61a35f
SM
14363 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14364 Add mouse-yank-primary.
ddd63a1e 14365
055f4923
TZ
143662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14367
14368 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14369
6a2fb145
SM
143702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14371
14372 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14373 (find-library-name): Use it to find relative load names when provided
14374 absolute file name (bug#8803).
14375
fd4983f2
LMI
143762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14377
887d14ad
LMI
14378 * textmodes/flyspell.el (flyspell-word): Consider words that
14379 differ only in case as potential doublons (bug#5687).
14380
c53dc7fc
LMI
14381 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14382 Remove two rather uninteresting debugging-like messages to make
14383 debbugs.el more silent.
14384
fd4983f2
LMI
14385 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14386 a password-like phrase.
14387
7a71b18d 143882011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14389
14390 * progmodes/cc-guess.el: New file.
14391
6a2fb145 14392 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14393
14394 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14395 derived from `c-basic-common-init'.
14396
14397 * progmodes/cc-mode.el (top-level): Require cc-guess.
14398 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14399
1fa280a3
LM
144002011-06-30 Lawrence Mitchell <wence@gmx.li>
14401
14402 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14403
e6597158
AM
144042011-06-30 Alan Mackenzie <acm@muc.de>
14405
1fa280a3
LM
14406 * progmodes/cc-engine.el (c-guess-continued-construct):
14407 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14408 lock is disabled. Name this case as "CASE G".
14409
68ba37fb
KM
144102011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14411
14412 * allout.el (allout-yank-processing): Fix injection of extra space
14413 between bullet and non-whitespace character in first topic when
14414 pasting, ensuring that the actual spacing in the pasted topic
14415 following the bullet char is preserved. This extra space was
14416 causing pasted encrypted topics to get a decrypted status even
14417 when the content was actually still encrypted. Now the decryption
14418 status from before the paste is preserved.
14419
14420 (allout-flag-region): Set all allout overlays so they evaporate
14421 when reduced to zero length (evanescent), to prevent overlay
14422 leakage.
14423
887a0b34
GM
144242011-06-30 Glenn Morris <rgm@gnu.org>
14425
94b9acce
GM
14426 * w32-fns.el (w32-charset-info-alist): Declare.
14427
1d9b46d4
GM
14428 * find-dired.el (find-grep-options): Simplify.
14429
cc232200
GM
14430 * term/ns-win.el (ns-set-resource): Declare.
14431
28e77c46
GM
14432 * ses.el (row, col): Declare dynamic variables honestly.
14433
887a0b34
GM
14434 * textmodes/reftex-parse.el (index-tags): Declare.
14435
658d8eb8
CY
144362011-06-30 Chong Yidong <cyd@stupidchicken.com>
14437
14438 * cus-edit.el (customize-push-and-save): New function.
14439
14440 * files.el (hack-local-variables-confirm): Use it.
14441
1fa280a3
LM
14442 * custom.el (load-theme): New arg NO-CONFIRM.
14443 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14444 (custom-enabled-themes): Doc fix.
14445
14446 * cus-theme.el (customize-create-theme)
14447 (custom-theme-merge-theme): Callers to load-theme changed.
14448
bb617717
LMI
144492011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14450
d61bdd5d
LMI
14451 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14452 short URLs have at least one dot in them (bug #7614).
14453
bb617717
LMI
14454 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14455 nil, because using a pty is apparently too slow (bug #895).
14456
2f31f37a
LMI
144572011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14458
14459 * mail/sendmail.el (sendmail-query-once): New function.
14460 (sendmail-query-once-function): New variable.
14461
3076b24e
GM
144622011-06-29 Glenn Morris <rgm@gnu.org>
14463
faf2a174
GM
14464 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14465
3076b24e
GM
14466 * ses.el (top-level): Require cl when compiling.
14467 (ses-set-localvars): Fix error statement.
14468 Call it at compile time to silence a storm of warnings.
14469
5386012d
MR
144702011-06-29 Martin Rudalics <rudalics@gmx.at>
14471
14472 * window.el (normalize-live-buffer): Rename to
14473 window-normalize-buffer.
14474 (normalize-live-frame): Rename to window-normalize-frame.
14475 (normalize-any-window): Rename to window-normalize-any-window.
14476 (normalize-live-window): Rename to window-normalize-live-window.
14477 (make-window-atom): Rename to window-make-atom.
14478 (window-resize-reset): Rename to window--resize-reset.
14479 (window-resize-reset-1): Rename to window--resize-reset-1.
14480 (resize-mini-window): Rename to window--resize-mini-window.
14481 (resize-subwindows-skip-p): Rename to
14482 window--resize-subwindows-skip-p.
14483 (resize-subwindows-normal): Rename to
14484 window--resize-subwindows-normal.
14485 (resize-subwindows): Rename to window--resize-subwindows.
14486 (resize-other-windows): Rename to window--resize-siblings.
14487 (resize-this-window): Rename to window--resize-this-window.
14488 (resize-root-window): Rename to window--resize-root-window.
14489 (resize-root-window-vertically): Rename to
14490 window--resize-root-window-vertically.
14491 (normalize-buffer-to-display): Rename to
14492 window-normalize-buffer-to-display.
14493 (normalize-buffer-to-switch-to): Rename to
14494 window-normalize-buffer-to-switch-to.
14495 Correspondingly update all callers of the functions listed
14496 above.
14497 (display-buffer-alist, display-buffer-normalize-arguments)
14498 (display-buffer-normalize-options, display-buffer)
14499 (display-buffer-alist-set): Use "function" instead of
14500 "fun-with-args".
14501
1176868d
CY
145022011-06-28 Chong Yidong <cyd@stupidchicken.com>
14503
14504 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14505 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14506 debbugs.gnu.org. Mention acknowledgment email.
14507
20a7a65f
LMI
145082011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14509
14510 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14511 buffer multibyteness, since it shouldn't matter.
14512
5f45cca5
MR
145132011-06-28 Martin Rudalics <rudalics@gmx.at>
14514
14515 * window.el (display-buffer-in-side-window): Handle dedicated
14516 windows as in display-buffer-reuse-window.
14517 (display-buffer-normalize-alist): Use value of override
14518 specifier.
14519 (display-buffer-normalize-specifiers): Use value of
14520 other-window-means-other-frame specifier.
14521 (display-buffer-alist): Rewrite some texts in widgets.
14522 (display-buffer): Spread arguments when calling function
14523 specified by fun-with-args.
14524
ad85fe1f
DD
145252011-06-28 Deniz Dogan <deniz@dogan.se>
14526
1fa280a3
LM
14527 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14528 Unnest `let'.
da68c4c8 14529
ad85fe1f
DD
14530 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14531 selectors (Bug#5732).
ec49bd31 14532 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14533
a08cc025
JA
145342011-06-27 Jari Aalto <jari.aalto@cante.net>
14535
14536 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14537 (eshell-ls-date-format): New defcustom.
14538 (eshell-ls-file): Use it.
14539
e2b551c5
SM
145402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14541
14542 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14543
8982b231
KY
145442011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14545
14546 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14547 (ange-ftp-make-tmp-name): New arg.
14548 (ange-ftp-file-local-copy): Use it.
14549
36c9fa27
J
145502011-06-27 Jambunathan K <kjambunathan@gmail.com>
14551
14552 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14553 no-conversion (Bug#8870).
14554
d68443dc
MR
145552011-06-27 Martin Rudalics <rudalics@gmx.at>
14556
14557 * window.el (window-right, window-left, window-child)
14558 (window-child-count, window-last-child)
14559 (window-iso-combination-p, walk-window-tree-1)
14560 (window-atom-check-1, window-tree-1, delete-window)
14561 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14562 new naming conventions - window-vchild, window-hchild,
14563 window-next and window-prev are now called window-top-child,
14564 window-left-child, window-next-sibling and window-prev-sibling
14565 respectively.
d615d6d2
MR
14566 (resize-window-reset): Rename to window-resize-reset.
14567 (resize-window-reset-1): Rename to window-resize-reset-1.
14568 (resize-window): Rename to window-resize.
14569 (window-min-height, window-min-width)
14570 (resize-mini-window, resize-this-window, resize-root-window)
14571 (resize-root-window-vertically, adjust-window-trailing-edge)
14572 (enlarge-window, shrink-window, maximize-window)
14573 (minimize-window, delete-window, quit-restore-window)
14574 (split-window, balance-windows, balance-windows-area-adjust)
14575 (balance-windows-area, window-state-put-2)
14576 (display-buffer-even-window-sizes, display-buffer-set-height)
14577 (display-buffer-set-width, set-window-text-height)
14578 (fit-window-to-buffer): Rename all "resize-window" prefixed
14579 calls to use the "window-resize" prefix convention.
14580 (display-buffer-alist): Fix symbol for label specifier.
14581 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14582 corresponding specifier.
14583 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14584
b6458526
VB
145852011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14586
14587 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14588 convention.
14589 (ses-call-printer): Does not pass an empty string to formatter when the
14590 cell is empty to keep from barking printer Calc math-format-value.
14591
d31fd9ac
RS
145922011-06-27 Richard Stallman <rms@gnu.org>
14593
43d5bf84
RS
14594 * battery.el (battery-mode-line-limit): New variable.
14595 (battery-update): Handle it.
14596
d31fd9ac
RS
14597 * mail/rmailmm.el (rmail-mime-process-multipart):
14598 Handle truncated messages.
14599
819a6054
GM
146002011-06-27 Glenn Morris <rgm@gnu.org>
14601
14602 * progmodes/flymake.el (flymake-err-line-patterns):
14603 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14604
cedc73f2
VB
146052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14606
819a6054 14607 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14608 (ses--clean-!, ses--clean-_): New functions.
14609 (ses-range): Add configurability of readout order, and conversion
14610 to Calc vector.
14611
5e5d49b6
VB
14612 * ses.el (ses-repair-cell-reference-all): New function.
14613 (ses-cell-symbol): Set macro as safe, so that it can be used in
14614 formulas.
14615
56e6cc31 14616 * ses.el: Update cycle detection algorithm.
90ca8b49 14617 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14618 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14619 (ses-set-localvars): New function.
14620 (ses-make-cell): Add property-list as a cell element.
14621 (ses-cell-property-get-fun, ses-cell-property-get)
14622 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14623 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14624 New functions.
90ca8b49
VB
14625 (ses-cell-property-set, ses-cell-property-pop)
14626 (ses-cell-property-get-handle): New macro.
14627 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14628 New aliases, used for code readability.
14629 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14630 cycle detection.
14631 (ses-self-reference-early-detection): New defcustom.
fac916bf 14632 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14633 (ses-mode): Use ses-set-localvars.
14634 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14635 before lauching the update processing.
14636 (ses-initialize-Dijkstra-attempt): New function.
14637 (ses-recalculate-cell): Update for cycle detection based on
14638 Dijkstra algorithm.
14639
2bb63e81
VB
14640 * ses.el: Fix commenting and indenting convention.
14641
c9d29fb8
SM
146422011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14643
14644 * bs.el (bs-cycle-next): Complete last change.
14645
d8e4b68b
JB
146462011-06-27 Drew Adams <drew.adams@oracle.com>
14647
14648 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14649
40098786
LMI
146502011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14651
c9d29fb8
SM
14652 * net/network-stream.el (network-stream-open-starttls):
14653 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14654 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14655
40098786
LMI
14656 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14657 to binary to possibly avoid line encoding issues on Windows (among
14658 other things).
14659
468d09d4
LMI
146602011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14661
14662 * net/network-stream.el (open-network-stream): Return an :error
14663 saying what the problem was, if possible.
14664
14665 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14666 server.
14667
14668 * net/network-stream.el (network-stream-open-starttls): If we
14669 wanted to use STARTTLS, and the server offered it, but we weren't
14670 able to because we had no STARTTLS support, then close the connection.
14671 (open-network-stream): Return an :error element, if present.
14672
16f07dd7
CY
146732011-06-26 Chong Yidong <cyd@stupidchicken.com>
14674
88821ca0
CY
14675 * hl-line.el (hl-line-sticky-flag): Doc fix.
14676 (global-hl-line-sticky-flag): New option (Bug#8323).
14677 (global-hl-line-highlight): Obey it.
14678
16f07dd7
CY
14679 * vc/vc.el (vc-revert-show-diff): Default to t.
14680
6b5ccddf
KM
146812011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14682
c9d29fb8
SM
14683 * allout-widgets.el (allout-widgets-post-command-business):
14684 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14685 undecorated when an isearch is continued past, and isearch
14686 automatically collapses them. This leads to "widget leaks", where
14687 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14688 hidden widgets can slow down cursor travel, substantially.
14689 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14690 so we're doing without this nicety.
14691
14692 (allout-widgets-tally-string): Don't try to do a hash-table-count
14693 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14694 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14695 *Messages* when allout-widgets-maintain-tally is t.
14696
355f2e07
MR
146972011-06-26 Martin Rudalics <rudalics@gmx.at>
14698
14699 * window.el (display-buffer-normalize-argument): Rename to
14700 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14701 LABEL argument. Respect special-display-function when popping up
14702 a new frame. Fix code searching for a window showing the buffer
14703 on another frame.
c9d29fb8
SM
14704 (display-buffer-normalize-specifiers):
14705 Call display-buffer-normalize-arguments.
355f2e07
MR
14706 (display-buffer-in-window): Don't undedicate the window if its
14707 buffer remains the same.
14708 Reported by Drew Adams <drew.adams@oracle.com>.
14709 (display-buffer-alist): Add choice for same-window macro
14710 specfier.
14711 (display-buffer): Mention special meaning of LABEL argument in
14712 doc-string. Fix quoting. Don't pop up a new frame even as
14713 fallback.
14714
7ca8fc42
JB
147152011-06-26 Juanma Barranquero <lekktu@gmail.com>
14716
14717 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14718 avoid deleting the current window in some cases (bug#8911).
14719
bc312254
AS
147202011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14721
14722 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14723 (Bug#8934)
14724
2db18f3f
LMI
147252011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14726
c9d29fb8
SM
14727 * net/network-stream.el (network-stream-open-starttls):
14728 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14729 (network-stream-open-tls): Ditto.
14730
6302e0d3
LL
147312011-06-26 Leo Liu <sdl.web@gmail.com>
14732
14733 * register.el (registerv): New struct.
14734 (registerv-make): New function.
c9d29fb8
SM
14735 (jump-to-register, describe-register-1, insert-register):
14736 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14737 struct. (Bug#8415)
14738
5fdd4046
CY
147392011-06-26 Chong Yidong <cyd@stupidchicken.com>
14740
2afef60a
CY
14741 * vc/vc.el (vc-revert-show-diff): New defcustom.
14742 (vc-diff-internal): New arg specifying diff buffer.
14743 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14744 reuse an existing *vc-diff* buffer (Bug#8927).
14745
5fdd4046
CY
14746 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14747
e93db24a
GM
147482011-06-26 Glenn Morris <rgm@gnu.org>
14749
14750 * progmodes/f90.el (f90-critical-indent): New option.
14751 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14752 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14753 (f90-mode): Doc fix.
14754 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14755 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14756 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14757 (f90-match-end): Handle block, critical.
14758
eefff499
GM
147592011-06-25 Glenn Morris <rgm@gnu.org>
14760
f6ba4cc9
GM
14761 * calendar/diary-lib.el (diary-included-files): Doc fix.
14762 (diary-include-files): New function, extracted from
14763 diary-include-other-diary-files and diary-mark-included-diary-files.
14764 (diary-include-other-diary-files, diary-mark-included-diary-files):
14765 Just call diary-include-files.
14766 (diary-mark-entries): Reset diary-included-files on first call.
14767
16712304
GM
14768 * calendar/diary-lib.el (diary-mark-entries)
14769 (diary-mark-included-diary-files):
14770 Visit included diary-files in temp buffers.
14771
5d8e0d43
GM
14772 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14773 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14774 (f90-start-block-re, f90-imenu-generic-expression)
14775 (f90-looking-at-program-block-start, f90-no-block-limit):
14776 Add support for submodules.
14777
ccf7a5d5
GM
14778 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14779 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14780
11fdef7d 147812011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14782
14783 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14784 buffer-file-type before setting its value, to avoid disastrous
eefff499 14785 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14786
74f53697
JB
147872011-06-25 Juanma Barranquero <lekktu@gmail.com>
14788
14789 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14790
14791 * ses.el (ses-unload-function):
14792 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14793
14794 * proced.el (proced-unload-function):
14795 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14796
18a4ce5e
AR
147972011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14798
14799 * server.el (server-create-window-system-frame): Add parameters arg.
14800 (server-process-filter): Doc fix. Handle frame-parameters.
14801
519d22cc
JB
148022011-06-25 Juanma Barranquero <lekktu@gmail.com>
14803
14804 Fix bug#8730, bug#8781.
14805
14806 * loadhist.el (unload--set-major-mode): New function.
14807 (unload-feature): Use it.
14808
14809 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14810 (python-unload-function): New function.
14811
c206f5b0
SM
148122011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14813
14814 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14815
f9ad64f3
GS
148162011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14817
14818 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14819 the candidates list.
14820
7d0da90e
JB
148212011-06-24 Juanma Barranquero <lekktu@gmail.com>
14822
14823 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14824
14b4e83d
RS
148252011-06-23 Richard Stallman <rms@gnu.org>
14826
14827 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14828 (rmail-variables): Set next-error-move-function.
14829 (rmail-what-message): Take argument POS.
14830 (rmail-next-error-move): New function.
14831
273d2baf
SM
148322011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14833
14834 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14835 messages for adjacent non-terminals.
14836
56c2cc9a
RS
148372011-06-23 Richard Stallman <rms@gnu.org>
14838
14839 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 14840 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
14841 (rmail-start-mail): Don't specify use of rmail-mail-return;
14842 that's done by mail-bury now.
14843 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 14844
d59eb518
MA
148452011-06-23 Michael Albinus <michael.albinus@gmx.de>
14846
14847 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14848 SIZE is a number.
14849
02cfc6d6
MR
148502011-06-23 Martin Rudalics <rudalics@gmx.at>
14851
14852 * window.el (get-lru-window, get-mru-window)
14853 (get-largest-window): Never return a minibuffer window.
14854 (display-buffer-pop-up-window): Fix a bug that could lead to
14855 reusing the minibuffer window.
14856 (display-buffer): Pass original specifier argument to
14857 display-buffer-function instead of the normalized one.
14858 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14859
4e323265
LL
148602011-06-22 Leo Liu <sdl.web@gmail.com>
14861
14862 * minibuffer.el (completing-read-function)
14863 (completing-read-default): Move from minibuf.c
14864
7a70468f
RS
148652011-06-22 Richard Stallman <rms@gnu.org>
14866
50718fc2
RS
14867 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14868 to Rmail even if not started by a special Rmail command.
14869
7a70468f
RS
14870 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14871 Copy the buffer currently showing just one message.
14872
297dde5a
RW
148732011-06-22 Roland Winkler <winkler@gnu.org>
14874
14875 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14876 (bibtex-clean-entry): First delete the old key so that a
14877 customized algorithm for generating the new key does not get
14878 confused by the old key.
14879 (bibtex-url): Obey regexp of first step.
14880 (bibtex-search-entries): Do not use add-to-list with local
14881 list-var.
14882
97bb1093
LMI
148832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14884
14885 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14886 stored a user name, then query for the password first, instead of
14887 waiting for SMTP to give an error message and the trying again.
14888
1c0f1a19
JD
148892011-06-22 Lawrence Mitchell <wence@gmx.li>
14890
14891 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14892 BUFFER in call-process.
14893
396f7c9d
LMI
148942011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14895
14896 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14897 QUIT twice.
ddb7ffee
LMI
14898 (smtpmail-try-auth-methods): Require user name and password from
14899 auth-source.
396f7c9d 14900
8998d1b3
MR
149012011-06-22 Martin Rudalics <rudalics@gmx.at>
14902
14903 * window.el (display-buffer-default-specifiers)
14904 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14905 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 14906 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
14907
14908 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14909 (special-display-frame-alist, special-display-popup-frame):
14910 Remove duplicate declarations. These are now in window.el.
14911
4ea31e07
LMI
149122011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14913
c9d29fb8
SM
14914 * mail/smtpmail.el (smtpmail-via-smtp):
14915 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
14916 server supports it. SMTP servers that support STARTTLS commonly
14917 require it.
14918
14919 * net/network-stream.el (network-stream-open-starttls): Support
14920 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 14921 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 14922
95f41d9a
LMI
14923 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14924 upgrades with `open-network-stream', and rely solely on
14925 auth-source for all credentials. Big changes throughout the file,
14926 but in particular:
c9d29fb8
SM
14927 (smtpmail-auth-credentials): Remove.
14928 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
14929 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14930 MAIL FROM, too.
95f41d9a 14931
c9d29fb8
SM
14932 * net/network-stream.el (network-stream-open-starttls):
14933 Provide support for client certificates both for external and built-in
4ea31e07
LMI
14934 STARTTLS.
14935 (auth-source): Require.
14936 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
14937 (network-stream-certificate): Change cert-cert to cert and
14938 cert-key to key.
4ea31e07 14939
065ec2c7
MA
149402011-06-21 Michael Albinus <michael.albinus@gmx.de>
14941
14942 * net/tramp-cache.el (top): Don't load the persistency file when
14943 "emacs -Q" has been called.
14944
cd93b359
DR
149452011-06-21 Tim Harper <timcharper@gmail.com>
14946
d8e4b68b
JB
14947 * term/ns-win.el (ns-initialize-window-system):
14948 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
14949 resource to NO as it is not yet supported by the NS port.
14950
ae9c0411
JB
149512011-06-21 Juanma Barranquero <lekktu@gmail.com>
14952
14953 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14954 (list-dynamic-libraries): ...not here.
14955
7f3f739f
LL
149562011-06-21 Leo Liu <sdl.web@gmail.com>
14957
14958 * subr.el (sha1): Implement sha1 using secure-hash.
14959
327c8fb1
MR
149602011-06-21 Martin Rudalics <rudalics@gmx.at>
14961
14962 * window.el (display-buffer-alist): In default value do not
14963 enforce searching a window on any but the selected frame.
14964 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14965 (display-buffer-select-window): Remove function.
14966 (display-buffer-in-window): When a window on another frame gets
14967 reused, do not select it any more but just raise its frame if
14968 necessary (Bug#8851) and (Bug#8856).
14969 (display-buffer-normalize-options): Handle pop-up-frames related
14970 options more faithfully.
14971 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14972 window if it is on another frame.
c9d29fb8
SM
14973 (display-buffer-alist, display-buffer-default-specifiers):
14974 Don't make new frame unsplittable by default.
9e9de014
MR
14975 (display-buffer-normalize-argument): Fix doc-string typo and use
14976 'same-frame-other-window instead of 'other-window when associating
14977 with display-buffer-macro-specifiers.
327c8fb1 14978
7cf3f556
VB
149792011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14980
14981 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14982 New functions.
14983 (5x5-mode-map, 5x5-mode-menu): Bind them.
14984 (5x5-draw-grid): Tweak the solver's rendering.
14985
60a406cf
SM
149862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14987
14988 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14989 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14990
d8e4b68b 149912011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
14992
14993 * menu-bar.el: Use function variable instead of switch-to-buffer.
14994 (menu-bar-select-buffer-function): New variable.
60a406cf 14995 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 14996
478d6f95
SM
149972011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14998
14999 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15000 variable's status.
15001
ca530739
JD
150022011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15003
15004 * x-dnd.el (x-dnd-version-from-flags)
15005 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15006 and long as number (Bug#8899).
15007 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15008
bcd70d97
SM
150092011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15010
60a406cf 15011 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15012 (completion-try-completion, completion-all-completions): Compute the
15013 metadata argument if it's missing; make it optional (bug#8795).
15014
60a406cf 15015 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15016 (widget-complete): Use new :completion-function property.
15017 (widget-completions-at-point): New function.
15018 (default): Use :completion-function instead of :complete.
60a406cf
SM
15019 (widget-default-completions): Rename from widget-default-complete;
15020 Rewrite.
bcd70d97
SM
15021 (widget-string-complete, widget-file-complete, widget-color-complete):
15022 Remove functions.
15023 (file, symbol, function, variable, coding-system, color):
15024 * international/mule-cmds.el (default-input-method, charset)
15025 (language-info-custom-alist):
15026 * cus-edit.el (face): Use new property :completions.
15027
15028 * progmodes/pascal.el (pascal-completions-at-point): New function.
15029 (pascal-mode): Use it.
15030 (pascal-mode-map): Use completion-at-point.
15031 (pascal-toggle-completions): Make obsolete.
15032 (pascal-complete-word, pascal-show-completions):
15033 * progmodes/octave-mod.el (octave-complete-symbol):
15034 Redefine as obsolete alias.
15035 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15036 Signal absence of completion info for old Octave,
15037 (inferior-octave-complete): Redefine as obsolete alias.
15038 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15039 (meta-completions-at-point): Rename from meta-complete-symbol and
15040 adapt it for use on completion-at-point-functions.
15041 (meta-common-mode): Use it.
15042 (meta-looking-at-backward, meta-match-buffer): Remove.
15043 (meta-complete-symbol): Redefine as obsolete alias.
15044 (meta-common-mode-map): Use completion-at-point.
15045 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15046 (makefile-mode-map): Use completion-at-point.
15047 (makefile-completions-at-point): Rename from makefile-complete and
15048 adapt it for use on completion-at-point-functions.
15049 (makefile-mode): Use it.
15050 (makefile-complete): Redefine as obsolete alias.
15051
aebf69c8
DD
150522011-06-20 Deniz Dogan <deniz@dogan.se>
15053
15054 * net/rcirc.el: Delete trailing whitespaces once and for all.
15055
bfbbb27d
DC
150562011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15057
15058 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15059
d264a46b
CY
150602011-06-19 Chong Yidong <cyd@stupidchicken.com>
15061
4ca009e5
CY
15062 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15063
d264a46b
CY
15064 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15065
fbf5b3ce
MR
150662011-06-19 Martin Rudalics <rudalics@gmx.at>
15067
15068 * window.el (display-buffer-other-window-means-other-frame):
15069 Call display-buffer-normalize-alist.
15070 (display-buffer-normalize-specifiers-1): Rename to
15071 display-buffer-normalize-argument. New argument other-frame.
15072 Rewrite.
15073 (display-buffer-normalize-specifiers-2): Rename to
15074 display-buffer-normalize-options.
15075 (display-buffer-normalize-alist-1): New function.
15076 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15077 display-buffer-normalize-alist.
15078 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15079 (display-buffer-normalize-options-inhibit): New variable.
15080 (display-buffer-normalize-specifiers): Rewrite calling
15081 display-buffer-normalize-alist,
15082 display-buffer-normalize-argument, and
15083 display-buffer-normalize-options. Don't call the latter if
15084 display-buffer-normalize-options-inhibit is non-nil.
15085 (frame-auto-delete): New option.
15086 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15087 (window-list-no-nils, window-state-ignored-parameters)
15088 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15089 (window-state-put-1, window-state-put-2, window-state-put):
15090 New functions.
9a028c23
MR
15091 (display-buffer-normalize-options): Move special-display-p group
15092 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15093
6d10d800
CY
150942011-06-18 Chong Yidong <cyd@stupidchicken.com>
15095
6420d28b
CY
15096 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15097 groups (Bug#8776).
15098 (rx-submatch-n): New function.
15099 (rx): Document it.
15100
ddb8b596
CY
15101 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15102 (Bug#8768).
15103
15104 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15105
77080289
CY
15106 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15107
61dfb316
CY
15108 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15109 anytime existing face settings are present (Bug#8889).
15110
6d10d800
CY
15111 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15112 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15113 Remove unused argument.
15114
be3fb2b8
MR
151152011-06-18 Martin Rudalics <rudalics@gmx.at>
15116
bcd70d97
SM
15117 * window.el (display-buffer-default-specifiers):
15118 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15119 pop-up-window-min-width, and another reuse-window specifier
15120 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15121 (display-buffer-normalize-specifiers-2):
15122 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15123 pop-up-windows is unset. Add a reuse-window specifier for the
15124 case popping up a new window fails.
15125 (special-display-popup-frame): Remove double quoting.
28dec25a 15126 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15127
1c6d8c76
SM
151282011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15129
15130 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15131 according to comint-completion-addsuffix.
15132
15133 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15134 (pcomplete-suffix-list): Mark as obsolete.
15135 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15136 pcomplete-seen in the closure.
15137 (pcomplete-comint-setup): Setup completion-at-point as well.
15138 (pcomplete--entries): New function.
15139 (pcomplete--env-regexp): New var.
15140 (pcomplete-entries): Rewrite to work with partial-completion and
15141 without relying on pcomplete-suffix-list.
15142 (pcomplete-pare-list): Remove, unused.
15143
25aef8b8
MR
151442011-06-17 Martin Rudalics <rudalics@gmx.at>
15145
15146 * window.el (display-buffer-alist): Set pop-up-window-min-height
15147 and pop-up-window-min-width in default value. Reported by
15148 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15149 other-window-means-other-frame.
15150 (display-buffer-macro-specifiers): Comment out entry for
15151 other-window specifier.
15152 (display-buffer-other-window-means-other-frame): New function.
15153 (display-buffer-normalize-specifiers-1): New arguments
15154 buffer-name and label. Treat other-window case specially.
15155 (display-buffer-normalize-specifiers-2): Treat other-window case
15156 specially.
15157 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15158 (display-buffer-normalize-specifiers):
15159 Call display-buffer-normalize-specifiers-3.
25aef8b8 15160
dbad4f69
MR
151612011-06-17 Martin Rudalics <rudalics@gmx.at>
15162
15163 * window.el (same-window-p): Fix two typos introduced when
15164 adding with-no-warnings.
d1067961
MR
15165 (display-buffer-normalize-specifiers-1): Don't check
15166 pop-up-frames for 'unset initialization.
15167 (display-buffer-normalize-specifiers-2): Major rewrite using
15168 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15169 (pop-up-frames, display-buffer-reuse-frames)
15170 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15171 Suggested by David Engster <deng@randomsample.de>.
15172 (even-window-heights): Initialize to 'unset.
15173 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15174 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15175 other window case.
dbad4f69 15176
9b9c9e3a
MR
151772011-06-16 Martin Rudalics <rudalics@gmx.at>
15178
bcd70d97
SM
15179 * window.el (display-buffer-normalize-specifiers-1):
15180 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15181 second argument of display-buffer (Bug#8865).
981d5c09
MR
15182 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15183 (switch-to-buffer-other-window-same-frame)
15184 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15185 Adams (Bug#8875).
9c2755e9
MR
15186 (display-buffer): Don't check noninteractive when calling
15187 display-buffer-pop-up-frame.
15188 (display-buffer-pop-up-frame): Never pop up a frame in
15189 noninteractive mode (Bug#8857).
67222e1d
MR
15190 (enlarge-window, shrink-window): Don't report an error when the
15191 window can't be resized as requested (Bug#8862).
9b9c9e3a 15192
2b75be67
SM
151932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15194
9ffdd3ba
SM
15195 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15196
cb581a67
SM
15197 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15198
2b75be67
SM
15199 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15200
8c0e3589
AM
152012011-06-15 Alan Mackenzie <acm@muc.de>
15202
cb581a67
SM
15203 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15204 for declarators, disable knr checking to speed up for normal files.
15205 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15206
b96e6cde
LMI
152072011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15208
4bba86e6
LMI
15209 * net/network-stream.el (open-network-stream): Add the keyword
15210 :always-query-capabilities for the case where you want to force a
15211 `plain' network connection, but the protocol still requires the
15212 capabilitiy command (i.e., SMTP and EHLO).
15213
2b75be67 15214 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15215 consistency with other `-live-p' functions.
15216
efdcdbf8
SM
152172011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * window.el (same-window-buffer-names, same-window-regexps)
15220 (special-display-frame-alist, special-display-popup-frame)
15221 (special-display-function, special-display-buffer-names)
15222 (special-display-regexps, pop-up-frame-alist)
15223 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15224 (pop-up-windows, split-window-preferred-function)
15225 (split-height-threshold, split-width-threshold, even-window-heights)
15226 (display-buffer-mark-dedicated): Don't encourage the use of
15227 display-buffer-alist from Elisp code.
15228
c5cde042
DN
152292011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15230
15231 * progmodes/python.el (python-mode): Derive from prog-mode.
15232 * progmodes/ps-mode.el (ps-mode):
15233 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15234 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15235 * progmodes/ld-script.el (ld-script-mode): Likewise.
15236
baa1c9ab
MR
152372011-06-15 Martin Rudalics <rudalics@gmx.at>
15238
15239 * window.el (display-buffer-alist): Trim default value to avoid
15240 popping up a new frame (Bug#8857) or reusing an arbitrary window
15241 on another frame.
15242 (display-buffer): Do not fall back on popping up a new frame in
15243 batch mode (Bug#8857).
15244
c5dd5a51
CY
152452011-06-14 Chong Yidong <cyd@stupidchicken.com>
15246
15247 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15248 (custom-theme-summary): New function.
15249 (customize-themes): Use it.
15250
d647b7c4
GM
152512011-06-13 Glenn Morris <rgm@gnu.org>
15252
15253 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15254
9481c002
MR
152552011-06-13 Martin Rudalics <rudalics@gmx.at>
15256
357f93d2
MR
15257 * help.el (help-window): Remove variable.
15258 (help-window-point-marker, temp-buffer-max-height)
15259 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15260 (help-print-return-message): Don't set help-window.
15261 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15262 (help-window-setup-finish): Remove.
15263 (help-window-display-message, help-window-setup)
15264 (with-help-window): Major rewrite based on new
15265 display-buffer-window variable.
15266
15267 * help-mode.el (help-mode-finish): Remove help-window related
15268 code.
15269
15270 * view.el (view-exits-all-viewing-windows): Remove reference to
15271 view-return-to-alist in doc-string.
15272 (view-return-to-alist): Make obsolete.
15273 (view-buffer): Call pop-to-buffer-same-window and remove
15274 undo-window code.
15275 (view-buffer-other-window): Call pop-to-buffer-other-window and
15276 simplify code. Ignore second argument.
15277 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15278 simplify code. Ignore second argument.
15279 (view-return-to-alist-update): Make obsolete.
15280 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15281 Rewrite using quit-restore window parameters.
2b75be67
SM
15282 (view-mode-exit): Rename second argument to EXIT-ONLY.
15283 Rewrite using quit-restore-window.
357f93d2
MR
15284 (View-exit, View-exit-and-edit, View-leave, View-quit)
15285 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15286 appropriate arguments.
15287 (view-end-message): Use quit-restore window parameter.
15288
9481c002
MR
15289 * window.el (display-buffer-function): Rewrite doc-string.
15290 (display-buffer-window, display-buffer-alist): New variables.
15291 (display-buffer-split-specifiers)
15292 (display-buffer-side-specifiers)
15293 (display-buffer-macro-specifiers): New constants.
15294 (display-buffer-even-window-sizes, display-buffer-set-height)
15295 (display-buffer-set-width, display-buffer-select-window)
15296 (display-buffer-in-window, display-buffer-reuse-window)
15297 (display-buffer-split-window-1, display-buffer-split-window)
15298 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15299 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15300 (display-buffer-in-side-window, normalize-buffer-to-display)
15301 (display-buffer-normalize-specifiers-1)
15302 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15303 (display-buffer-normalize-specifiers, display-buffer-frame):
15304 New functions.
9481c002
MR
15305 (display-buffer): Major rewrite.
15306 (display-buffer-other-window, display-buffer-other-frame)
15307 (pop-to-buffer, switch-to-buffer-other-window)
15308 (switch-to-buffer-other-frame): Rewrite.
15309 (display-buffer-same-window, display-buffer-same-frame)
15310 (display-buffer-same-frame-other-window)
15311 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15312 (pop-to-buffer-other-window)
15313 (pop-to-buffer-same-frame-other-window)
15314 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15315 (switch-to-buffer-other-window-same-frame): New functions.
15316 (same-window-p, special-display-p): Rewrite disabling warnings.
15317 Make obsolete.
15318 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15319 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15320 Make obsolete
15321 (same-window-buffer-names, same-window-regexps)
15322 (special-display-frame-alist, special-display-popup-frame)
15323 (special-display-function, special-display-buffer-names)
15324 (special-display-regexps, pop-up-frame-alist)
15325 (pop-up-frame-function, split-window-preferred-function)
15326 (split-height-threshold, split-width-threshold)
15327 (even-window-heights): Make obsolete.
15328
9db51aca
GM
153292011-06-12 Glenn Morris <rgm@gnu.org>
15330
15331 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15332 Misc simplifications.
9db51aca 15333
39cffb44
MR
153342011-06-12 Martin Rudalics <rudalics@gmx.at>
15335
15336 * window.el (window-safely-shrinkable-p): Restore function which
15337 was inadvertently removed in change from 2011-06-11. Declare as
15338 obsolete.
15339
2b75be67
SM
15340 * calendar/calendar.el (calendar-generate-window):
15341 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15342 window-safely-shrinkable-p.
15343
a8955be7
GM
153442011-06-12 Glenn Morris <rgm@gnu.org>
15345
15346 * progmodes/fortran.el (fortran-mode-syntax-table):
15347 * progmodes/f90.el (f90-mode-syntax-table):
15348 Set % to punctuation. (Bug#8820)
15349 (f90-find-tag-default): Remove, no longer needed.
15350
f0d4059d
DC
153512011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15352
15353 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15354
1100a63c
CY
153552011-06-11 Chong Yidong <cyd@stupidchicken.com>
15356
15357 * image.el (image-animated-p): Return animation delay in seconds.
15358 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15359 (image-animate-timeout): Remove DELAY argument. Don't assume
15360 every subimage has the same delay; get it from image-animated-p.
15361 (image-animate): Caller changed.
15362
def722bf
MA
153632011-06-11 Michael Albinus <michael.albinus@gmx.de>
15364
15365 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15366 to ignored backtrace functions.
15367
0a2bb1a9
GM
153682011-06-11 Glenn Morris <rgm@gnu.org>
15369
15370 * calendar/appt.el (appt-disp-window-function): Doc fix.
15371 (appt-check): Handle overlapping appointments. (Bug#8337)
15372
6198ccd0
MR
153732011-06-11 Martin Rudalics <rudalics@gmx.at>
15374
15375 * window.el (window-tree-1, window-tree): New functions, moving
15376 the latter to window.el.
15377 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15378 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15379 (bw-refresh-edges): Remove.
15380 (balance-windows-1, balance-windows-2): New functions.
15381 (balance-windows): Rewrite in terms of window tree functions,
15382 balance-windows-1 and balance-windows-2.
15383 (bw-adjust-window): Remove.
15384 (balance-windows-area-adjust): New function with functionality of
15385 bw-adjust-window but using resize-window.
2b75be67
SM
15386 (set-window-text-height): Rewrite doc-string.
15387 Use normalize-live-window and resize-window.
15388 (enlarge-window-horizontally, shrink-window-horizontally):
15389 Rename argument to DELTA.
6198ccd0
MR
15390 (window-buffer-height): New function.
15391 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15392 Rewrite using new window resize routines.
2b75be67
SM
15393 (kill-buffer-and-window, mouse-autoselect-window-select):
15394 Use ignore-errors instead of condition-case.
6198ccd0
MR
15395 (quit-window): Call delete-frame instead of delete-windows-on
15396 for the only buffer on frame.
15397
9397e56f
MR
153982011-06-10 Martin Rudalics <rudalics@gmx.at>
15399
15400 * loadup.el (top-level): Load window before files for the sake
15401 of replace-buffer-in-windows.
15402
15403 * files.el (read-buffer-to-switch)
15404 (switch-to-buffer-other-window)
2b75be67
SM
15405 (switch-to-buffer-other-frame, display-buffer-other-frame):
15406 Move to window.el.
9397e56f
MR
15407
15408 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15409 (previous-buffer): Move to window.el.
15410
15411 * bindings.el (unbury-buffer): Move to window.el.
15412
15413 * window.el (delete-other-windows-vertically): Move after
15414 definition of delete-other-windows.
15415 (other-window, delete-windows-on, replace-buffer-in-windows):
15416 Move here from window.c.
15417 (record-window-buffer, unrecord-window-buffer)
15418 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15419 (switch-to-next-buffer): New functions.
15420 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15421 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15422 (previous-buffer): Move here from simple.el.
15423 Call switch-to-prev-buffer.
9397e56f
MR
15424 (bury-buffer): Move here from buffer.c. Switch to previous
15425 buffer when window cannot be deleted.
15426 (unbury-buffer): Move here from bindings.el.
15427 (ctl-x-map): Move binding for other-window from window.c to
15428 here.
15429 (read-buffer-to-switch, switch-to-buffer-other-window)
15430 (switch-to-buffer-other-frame): Move here from files.el.
15431 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15432 (switch-to-buffer): Move here from buffer.c.
15433 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15434
562dd5e9
MR
154352011-06-10 Martin Rudalics <rudalics@gmx.at>
15436
15437 * window.el (window-min-height, window-min-width): Move here
15438 from window.c. Add defcustoms and rewrite doc-strings.
15439 (resize-mini-window, resize-window): New functions.
15440 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15441 Move here from window.c.
15442 (maximize-window, minimize-window): New functions.
15443 (delete-window, delete-other-windows, split-window): Move here
15444 from window.c.
15445 (window-split-min-size): New function.
15446 (split-window-keep-point): Mention split-window-above-each-other
15447 instead of split-window-vertically.
2b75be67 15448 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15449 Rename split-window-vertically to split-window-above-each-other
15450 and provide defalias for old definition.
15451 (split-window-side-by-side, split-window-horizontally):
15452 Rename split-window-horizontally to split-window-side-by-side
15453 and provide defalias for the old definition.
562dd5e9
MR
15454 (ctl-x-map): Move bindings for delete-window,
15455 delete-other-windows and enlarge-window here from window.c.
15456 Replace bindings for split-window-vertically and
15457 split-window-horizontally by bindings for
15458 split-window-above-each-other and split-window-side-by-side.
15459
15460 * cus-start.el (all): Remove entries for window-min-height and
15461 window-min-width. Add entries for window-splits and
15462 window-nest.
15463
f0da764a
GM
154642011-06-09 Glenn Morris <rgm@gnu.org>
15465
80675c21
GM
15466 * calendar/appt.el (appt-mode-line): New function.
15467 (appt-check, appt-disp-window): Use it.
15468
f0da764a
GM
15469 * files.el (hack-one-local-variable-eval-safep):
15470 Allow minor-modes with explicit +/-1 arguments.
15471
59f623b7
TZ
154722011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15473
15474 * term/xterm.el (xterm): Add defgroup.
15475 (xterm-extra-capabilities): Add defcustom to supply known xterm
15476 capabilities, skip querying them, or query them (default).
15477 (terminal-init-xterm): Use it.
15478 (terminal-init-xterm-modify-other-keys): New function to set up
15479 modifyOtherKeys support to simplify `terminal-init-xterm'.
15480
9aab8e0d
MR
154812011-06-09 Martin Rudalics <rudalics@gmx.at>
15482
15483 * window.el (resize-window-reset, resize-window-reset-1)
15484 (resize-subwindows-skip-p, resize-subwindows-normal)
15485 (resize-subwindows, resize-other-windows, resize-this-window)
15486 (resize-root-window, resize-root-window-vertically)
15487 (window-deletable-p, window-or-subwindow-p)
15488 (frame-root-window-p): New functions.
15489
e8b08aee
GM
154902011-06-09 Glenn Morris <rgm@gnu.org>
15491
15492 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15493 (ange-ftp-get-files): Use it.
15494
254c37a5
AK
154952011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15496
15497 * mail/sendmail.el (mail-recover-1, mail-recover):
15498 * files.el (recover-file, recover-session):
15499 Handle dired-listing-switches not being just a single short option.
15500
35d7dbd3
GM
155012011-06-09 Glenn Morris <rgm@gnu.org>
15502
15503 * calendar/appt.el (appt-display-message, appt-disp-window):
15504 Handle lists of appointments.
15505
387522b2
MR
155062011-06-08 Martin Rudalics <rudalics@gmx.at>
15507
2b75be67
SM
15508 * window.el (one-window-p): Move down in code.
15509 Rewrite doc-string.
15510 (window-current-scroll-bars): Rewrite doc-string.
15511 Normalize live window argument.
387522b2
MR
15512 (walk-windows, get-window-with-predicate, count-windows):
15513 Rewrite doc-string. Use window-list-1.
15514 (window-in-direction-2, window-in-direction, get-mru-window):
15515 New functions.
15516
d8e4b68b 155172011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15518
15519 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15520 Doc fix (Bug#8713).
15521
155222011-06-08 Chong Yidong <cyd@stupidchicken.com>
15523
15524 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15525
155262011-06-08 Juanma Barranquero <lekktu@gmail.com>
15527
15528 * loadhist.el (unload-feature-special-hooks):
15529 Add `comint-output-filter-functions'.
15530
0de12c52
IK
155312011-06-08 Ivan Kanis <gnu@kanis.fr>
15532
15533 * calendar/appt.el (appt-check): Move some initializations into the let.
15534
f3d1777e
MR
155352011-06-08 Martin Rudalics <rudalics@gmx.at>
15536
15537 * window.el (window-height): Defalias to window-total-height.
15538 (window-width): Defalias to window-body-width.
15539
18af70d0
CY
155402011-06-07 Chong Yidong <cyd@stupidchicken.com>
15541
15542 * image-mode.el (image-toggle-animation): New command.
15543 (image-mode-map): Bind it to RET.
15544 (image-mode): Update message.
15545 (image-toggle-display-image): Avoid a spurious cache flush.
15546 (image-transform-rotation): Doc fix.
15547 (image-transform-properties): Return quickly in the normal case.
15548 (image-animate-loop): Rename from image-animate-max-time.
15549
2b75be67 15550 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15551 (create-animated-image): Remove unnecessary function.
15552 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15553 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15554 (image-animate-timer): Use car-safe.
15555 (image-animate-timeout): Rename argument.
15556
190b47e6
MR
155572011-06-07 Martin Rudalics <rudalics@gmx.at>
15558
15559 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15560 window.c. Rename first argument to ALL-FRAMES.
15561 Rephrase doc-strings.
15562 (get-buffer-window-list): Rewrite using window-list-1.
15563 Rephrase doc-string.
a1511caf
MR
15564 (window-safe-min-height, window-safe-min-width): New constants.
15565 (window-size-ignore, window-min-size, window-min-size-1)
15566 (window-sizable, window-sizable-p, window-size-fixed-1)
15567 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15568 (window-max-delta-1, window-max-delta, window-resizable)
15569 (window-resizable-p, window-total-height, window-total-width)
15570 (window-body-width): New functions.
15571 (window-full-height-p, window-full-width-p): Rewrite using
15572 window-total-size.
15573 (window-body-height): Rewrite using window-body-size.
190b47e6 15574
85cc1f11
MR
155752011-06-06 Martin Rudalics <rudalics@gmx.at>
15576
15577 * window.el (window-right, window-left, window-child)
15578 (window-child-count, window-last-child, window-any-p)
15579 (normalize-live-buffer, normalize-live-frame)
15580 (normalize-any-window, normalize-live-window)
15581 (window-iso-combination-p, window-iso-combined-p)
15582 (window-iso-combinations)
15583 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15584 (windows-with-parameter, window-with-parameter)
15585 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15586 (window-atom-check, window-side-check, window-check):
15587 New functions.
85cc1f11
MR
15588 (ignore-window-parameters, window-sides, window-sides-vertical)
15589 (window-sides-slots): New variables.
15590 (window-size-fixed): Move down in code. Minor doc-string fix.
15591
e7156492
AS
155922011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15593
15594 * comint.el (comint-dynamic-complete-as-filename)
15595 (comint-dynamic-complete-filename): Correctly call
15596 completion-in-region.
15597
7e821d0d
DD
155982011-06-05 Deniz Dogan <deniz@dogan.se>
15599
15600 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15601 in last change.
15602
ac09b8a1
DD
156032011-06-05 Deniz Dogan <deniz@dogan.se>
15604
15605 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15606 (rcirc): Use it to prompt for encryption.
15607
34699b85
RW
156082011-06-05 Roland Winkler <winkler@gnu.org>
15609
15610 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15611 (bibtex-search-entries): New command bound to C-c C-a.
15612 (bibtex-display-entries): New function.
15613
004dedd3
RW
156142011-06-05 Roland Winkler <winkler@gnu.org>
15615
15616 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15617 (bibtex-insert-kill): After yanking insert newline if necessary.
15618 (bibtex-initialize): Call bibtex-string-files-init only once.
15619 (bibtex-mode): Do not call easy-menu-add.
15620 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15621 (bibtex-yank): Set arg properly if nil.
15622
022fe7ce
RW
156232011-06-05 Roland Winkler <winkler@gnu.org>
15624
2b75be67
SM
15625 * textmodes/bibtex.el (bibtex-search-entry-globally):
15626 New variable.
022fe7ce
RW
15627 (bibtex-search-entry): Use it.
15628
b7c3692a
RW
156292011-06-05 Roland Winkler <winkler@gnu.org>
15630
15631 * textmodes/bibtex.el (bibtex-entry-format): New option
15632 sort-fields.
15633 (bibtex-format-entry, bibtex-reformat): Honor this option.
15634 (bibtex-parse-entry): Return fields in proper order.
15635
8eda563d
JB
156362011-06-05 Juanma Barranquero <lekktu@gmail.com>
15637
15638 * doc-view.el (doc-view-remove-if): Move computation of result out
15639 of `dolist' to silence misleading lexical-binding warning.
15640
7dbe3dbc
CY
156412011-06-04 Chong Yidong <cyd@stupidchicken.com>
15642
15643 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15644 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15645
0c33dd17
MA
156462011-06-04 Michael Albinus <michael.albinus@gmx.de>
15647
15648 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15649 "SunOS 5.10".
15650
f8f91c2b
MA
156512011-06-04 Michael Albinus <michael.albinus@gmx.de>
15652
15653 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15654 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15655 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15656 (tramp-parse-putty):
15657 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15658 (tramp-completion-function-alist-ssh)
15659 (tramp-completion-function-alist-telnet)
15660 (tramp-completion-function-alist-su)
15661 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15662 cookie.
15663
15664 * net/tramp-ftp.el:
15665 * net/tramp-sh.el:
15666 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15667 load "tramp.el" `tramp-set-completion-function'.
15668
e17d9003
SM
156692011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15670
15671 * shell.el: Require and use pcomplete.
15672 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15673 (shell-completion-vars): Set pcomplete-default-completion-function.
15674
6c4cab03
DD
156752011-06-04 Deniz Dogan <deniz@dogan.se>
15676
15677 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15678 `memq' (Bug#8799).
15679
ea9fafe0
SM
156802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15681
15682 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15683
b3e945d3
JB
156842011-06-02 Juanma Barranquero <lekktu@gmail.com>
15685
15686 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15687 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15688 * vc/log-view.el (log-view-beginning-of-defun):
15689 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15690 (smerge-refine-forward, smerge-refine-chopup-region):
15691 Silence warning for unused `dotimes' counter variables.
15692
7d520089
SM
156932011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15694
15695 * net/tramp.el (tramp-with-progress-reporter): Rename from
15696 with-progress-reporter. Use `declare'.
15697 * net/tramp-smb.el:
15698 * net/tramp-sh.el:
15699 * net/tramp-gvfs.el: Update all uses.
15700
a1c2400f
JB
157012011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15702
15703 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15704 buffer isn't killed before making it current.
15705
2403c841
SM
157062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15707
15708 Silence various byte-compiler warnings.
15709 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15710 `access-type' and new obsolescence format.
15711 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15712 new format.
15713 (byte-compile-check-variable): New `access-type' argument.
15714 Only warn if the access-type is obsolete.
15715 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15716 (byte-compile-variable-set): Adjust callers.
15717 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15718 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15719 setting it as obsolete.
15720 * simple.el (minibuffer-completing-symbol):
15721 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15722 access as obsolete.
15723 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15724 obsolete yet.
15725 * international/quail.el (quail-mouse-choose-completion): Remove unused
15726 code referring to obsolete var.
15727 (quail-choose-completion-string): Remove.
15728 * server.el (server-clients-with, server-kill-buffer-query-function)
15729 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15730 * proced.el (proced-send-signal):
15731 * emacs-lisp/lisp.el (lisp-complete-symbol):
15732 Replace completion-annotate-function with completion-extra-properties.
15733
2462470b
SM
157342011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15735
fb5b2591
SM
15736 * simple.el (goto-line): Use read-number.
15737 (overriding-map-is-bound): Remove.
15738 (saved-overriding-map): Change default.
15739 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15740 Take the map as argument.
15741 (universal-argument, negative-argument, digit-argument): Use it.
15742 (restore-overriding-map): Adjust.
15743 (do-auto-fill): Use fill-forward-paragraph.
15744 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15745
fd6fa53f
SM
15746 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15747 (minibuffer-inactive-mode): New major mode.
15748 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15749 the *Messages* buffer" hack.
15750 (mouse-popup-menubar): Don't burp if the event is a normal key.
15751
2462470b
SM
15752 Miscellaneous tweaks.
15753 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15754 lexical scoping as in subr.el's dolist and dotimes.
15755 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15756 Silence compiler warning.
15757 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15758 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15759 * international/ccl.el (ccl-compile): Trivial simplification.
15760 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15761 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15762 `printflag' argument.
15763 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15764 Purecopy the whole obsolescence data.
15765
108bf785
LL
157662011-06-01 Leo Liu <sdl.web@gmail.com>
15767
15768 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15769 improve doc-string as suggested by Marco Pessotto
15770 <melmothx@gmail.com>.
15771 (rcirc-print): Fix last change.
15772
30a23501
SM
157732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * minibuffer.el (complete-with-action): Return nil for the metadata and
15776 boundaries of non-functional tables.
15777 (completion-table-dynamic): Return nil for the metadata.
15778 (completion-table-with-terminator): Add default case, using
15779 complete-with-action.
15780 (completion--metadata): New function.
15781 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15782 to try and avoid pathological performance problems.
15783 (completion--embedded-envvar-table): Return `category' metadata.
15784
bcd54f83
LMI
157852011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15786
15787 * subr.el (process-alive-p): New tiny convenience function.
15788
e227544d
SM
157892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15790
15791 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15792 content but also its previous major mode.
15793
e8296fdc
HE
157942011-05-31 Helmut Eller <eller.helmut@gmail.com>
15795
4d61f28d 15796 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15797 *Backtrace* buffer when we exit with C-M-c.
15798
620c53a6
SM
157992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15800
15801 * minibuffer.el: Add metadata method to completion tables.
15802 (completion-category-overrides): New defcustom.
15803 (completion-metadata, completion--field-metadata)
15804 (completion-metadata-get, completion--styles)
15805 (completion--cycle-threshold): New functions.
15806 (completion-try-completion, completion-all-completions):
15807 Add `metadata' argument to choose completion-styles.
15808 (completion--do-completion): Use metadata to choose cycling.
15809 (completion-all-sorted-completions): Use metadata for sorting.
15810 Remove :completion-cycle-penalty which is not needed any more.
15811 (completion--try-word-completion): Add `metadata' argument.
15812 (minibuffer-completion-help): Check metadata for annotation function
15813 and sorting.
15814 (completion-file-name-table): Return `category' metadata.
15815 (minibuffer-completing-file-name): Make obsolete.
15816 * simple.el (minibuffer-completing-symbol): Make obsolete.
15817 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15818 completion-try-completion.
15819
1257e755
SM
158202011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15821
15822 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15823
3767e706
LL
158242011-05-30 Leo Liu <sdl.web@gmail.com>
15825
15826 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15827 (rcirc-print): Decode all incoming messages (bug#8744).
15828 (rcirc-decode-coding-system): Allow value nil for automatic coding
15829 system detection.
3767e706 15830
d1a5d56a
GM
158312011-06-01 Glenn Morris <rgm@gnu.org>
15832
15833 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15834
e8cbec34
CY
158352011-05-29 Chong Yidong <cyd@stupidchicken.com>
15836
15837 * image.el (image-animate-max-time): Allow nil and t values.
15838 Default to nil.
15839 (create-animated-image): Doc fix.
15840 (image-animate-start): Remove second arg; just use
15841 image-animate-max-time.
15842 (image-animate-timeout): Doc fix. Args changed.
15843
15844 * image-mode.el (image-toggle-display-image): Ensure that the
15845 image spec passed to the animate timer is the same object as in
58179cce 15846 the buffer's display property (Bug#6981).
e8cbec34
CY
15847 (image-transform-properties): Doc fix.
15848
15849 * image.el (image-animate-max-time): Default to nil.
15850
159daf87
MR
158512011-05-29 Martin Rudalics <rudalics@gmx.at>
15852
15853 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15854 entire buffer list (Bug#8184).
15855
d66c4c7c
CY
158562011-05-29 Chong Yidong <cyd@stupidchicken.com>
15857
15858 * image.el (imagemagick-types-inhibit)
15859 (imagemagick-register-types): Doc fix.
15860
80aec780
DD
158612011-05-29 Deniz Dogan <deniz@dogan.se>
15862
15863 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15864 default.
15865
1dd3c2d9
CY
158662011-05-29 Chong Yidong <cyd@stupidchicken.com>
15867
15868 * select.el: Don't perform clipboard-manager saving in hooks;
15869 leave the hooks empty.
15870
60e56523
LL
158712011-05-28 Leo Liu <sdl.web@gmail.com>
15872
15873 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15874 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15875 (occur-edit-mode): New major mode (Bug#8463).
15876 (occur-after-change-function): New function.
15877 (occur-engine): Give Occur tags a read-only property.
15878
2b1e1a22
KR
158792011-05-28 Kevin Ryde <user42@zip.com.au>
15880
15881 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15882
5d344e88
CY
158832011-05-28 Chong Yidong <cyd@stupidchicken.com>
15884
8e6ca83d
CY
15885 * bindings.el (help-echo): Make the initial non-indicator dash
15886 empty on graphical terminals (Bug#7295).
15887
5d344e88
CY
15888 * files.el (auto-mode-alist): Move config rule after the
15889 in-stripping one (Bug#8547).
15890
bfbbace7
CY
15891 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15892
fbeba6e2
CY
15893 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15894 setting (Bug#8740).
15895
60ed8c72
AA
158962011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15897
4ac619f0
AA
15898 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15899 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15900 (Bug#8539).
60ed8c72 15901
23db196e
CY
159022011-05-28 Chong Yidong <cyd@stupidchicken.com>
15903
15904 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15905
5012f24c
DK
159062011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15907
15908 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15909 (hs-hide-block-at-point, hs-find-block-beginning)
15910 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15911 (Bug#8279).
15912
6a639b16
GM
159132011-05-28 Glenn Morris <rgm@gnu.org>
15914
15915 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15916
d43eaf2c
CY
159172011-05-28 Chong Yidong <cyd@stupidchicken.com>
15918
5199bde1
CY
15919 * help-fns.el (describe-function-1): If the function is a derived
15920 major mode, print the parent mode.
15921
d43eaf2c
CY
15922 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15923 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15924
423428a8
SM
159252011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15926
0ff8e1ba 15927 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 15928 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
15929 * progmodes/etags.el (tags-completion-at-point-function):
15930 * info-look.el (info-lookup-completions-at-point): Mark as
15931 non-exclusive.
15932 (info-complete): Adjust accordingly.
15933
423428a8
SM
15934 * info-look.el: Convert to lexical-binding and completion-at-point.
15935 (info-lookup-completions-at-point): New function.
15936 (info-complete): Use it and completion-in-region.
15937
b74aa22b
DA
159382011-05-28 Drew Adams <drew.adams@oracle.com>
15939
15940 * isearch.el: Let M-e start with point at the first mismatched char.
15941 (isearch-fail-pos): New function.
15942 (isearch-edit-string): Use it.
15943
66e2e71d
DK
159442011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15945
15946 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15947
b1890b0f 159482011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
15949
15950 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15951 traversal functions for avl-trees.
15952 (avl-tree--stack): New struct.
15953 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15954 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
15955 (avl-tree--do-enter): Add optional `updatefun' arg.
15956 Change return value.
eb95d01d 15957 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
15958 (avl-tree--do-delete): Add `test' and `nilflag' args.
15959 Change return value.
eb95d01d
TC
15960 (avl-tree-member): Add optional `nilflag'
15961 (avl-tree-member-p): New function.
15962 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15963 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15964 (avl-tree-stack-empty-p): New functions.
15965
3769ddcf
TC
15966 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15967 avl-tree--del-balance1 and make it work both ways.
15968 (avl-tree--del-balance2): Remove.
15969 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15970 make it work both ways.
15971 (avl-tree--enter-balance2): Remove.
15972 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15973 New macros.
15974 (avl-tree--mapc, avl-tree-map): Add direction argument.
15975
eb95d01d 159762011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
15977
15978 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15979
a9f737ee
CY
159802011-05-27 Chong Yidong <cyd@stupidchicken.com>
15981
15982 * select.el: Support clipboard managers with built-in function
15983 x-clipboard-manager-save, via delete-frame-functions and
15984 kill-emacs-hook.
15985 (xselect-convert-to-targets): Add MULTIPLE target to list.
15986 (xselect-convert-to-save-targets): New function.
15987
c92a1e54
KH
159882011-05-27 Kenichi Handa <handa@m17n.org>
15989
15990 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15991 let-binding rfc2047-encode-encoded-words to nil.
15992
e145f188
GM
159932011-05-27 Glenn Morris <rgm@gnu.org>
15994
5ec8a862
GM
15995 * mail/emacsbug.el: Don't require url-util.
15996
4b29d9fb
GM
15997 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15998
e145f188
GM
15999 * files.el (set-auto-mode):
16000 Also respect mode: entries at the end of the file. (Bug#8586)
16001
7d15102b
GM
160022011-05-26 Glenn Morris <rgm@gnu.org>
16003
98f593b8
GM
16004 * files.el (hack-local-variables-prop-line, hack-local-variables):
16005 Downcase mode names, as seems to be traditional.
27b48e63 16006 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16007
7d15102b
GM
16008 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16009 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16010
51d5b4ec
JD
160112011-05-25 Julien Danjou <julien@danjou.info>
16012
16013 * textmodes/rst.el (rst-define-level-faces): Do not define face
16014 symbol if it is already defined.
16015
91513f63
VB
160162011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16017
16018 * play/5x5.el (5x5-new-game, 5x5-randomize):
16019 Reset 5x5-solver-output to nil when a new grid is cast.
16020 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16021 these debugging traces, as defmacro breaks the compiled code.
16022
4d90d6d0
DK
160232011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16024
16025 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16026
e1b90ef6
LL
160272011-05-24 Leo Liu <sdl.web@gmail.com>
16028
16029 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16030 (vc-bzr-sha1): Adapt.
16031
d8e4b68b 16032 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16033
16034 * bindings.el: Provide sha1 feature.
16035
db0406bb 160362011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16037
16038 * mail/sendmail.el: Require `rfc2047'.
16039 (mail-insert-from-field): Do not perform RFC2047 encoding.
16040 (mail-encode-header): New function.
16041 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16042 buffer to the return value of select-message-coding-system.
16043 Call mail-encode-header.
b8d747b9
KH
16044
16045 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16046
db0406bb 160472011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16048
4d90d6d0
DK
16049 * mail/supercite.el (sc-default-cite-frame):
16050 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16051
eb8a5e9b
GM
160522011-05-24 Glenn Morris <rgm@gnu.org>
16053
f8630703
GM
16054 * progmodes/python.el (brm-menu): Declare.
16055
8831bbed
GM
16056 * emulation/viper.el (viper-set-hooks): Declare.
16057
eb8a5e9b
GM
16058 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16059 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16060 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16061 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16062 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16063 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16064
a2a25d24
SM
160652011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16066
16067 Add an :exit-function for completion-at-point.
16068
16069 * minibuffer.el (completion--done): New fun.
16070 (completion--do-completion): Use it. New arg `expect-exact'.
16071 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16072 since completion--do-completion does it for us now.
16073 (minibuffer-force-complete): Use completion--done and
16074 completion--replace. Handle sole-completion case with more care.
16075 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16076 (completion-extra-properties): New var.
16077 (completion-annotate-function): Make obsolete.
16078 (minibuffer-completion-help): Adjust accordingly.
16079 Use completion-list-insert-choice-function.
16080 (completion-at-point, completion-help-at-point):
16081 Bind completion-extra-properties.
16082 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16083 * simple.el (completion-list-insert-choice-function): New var.
16084 (completion-setup-function): Preserve it.
16085 (choose-completion): Pay attention to it, shuffle the code a bit.
16086 (choose-completion-string): New arg `insert-function'.
16087
16088 * textmodes/bibtex.el: Convert to lexical binding.
16089 (bibtex-mode-map): Use completion-at-point.
16090 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16091 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16092 (bibtex-complete): Define as obsolete alias.
16093 (bibtex-complete-internal): Remove.
16094 (bibtex-format-entry): Remove unused sub-group in regexp.
16095 * shell.el (shell--command-completion-data)
16096 (shell-environment-variable-completion):
16097 * pcomplete.el (pcomplete-completions-at-point):
16098 * comint.el (comint--complete-file-name-data): Use :exit-function
16099 instead of completion-table-with-terminator so it also works for
16100 choose-completion.
16101
e44e373d
SM
161022011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16103
4f91a816
SM
16104 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16105
782fc819
SM
16106 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16107 (bug#8710).
16108
e44e373d
SM
16109 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16110
381987c3
KM
161112011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16112
16113 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16114 customization variable and implement: If non-nil, auto-fill will
16115 be inhibited while on topic's header line.
16116
b776bc70
VB
161172011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16118
16119 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16120 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16121 always have a solution in grid size = 5 cases.
16122 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16123 (5x5-solver-output, 5x5-log-buffer): New vars.
16124 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16125 Make these variables buffer local to achieve 5x5 multi-session-ness.
16126 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16127 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16128 (5x5-solve-suggest): New funs.
16129 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16130 randomize a grid so that we ensure that there is always a solution.
16131 (5x5-make-random-grid): Allow other movement than flipping.
16132
7de88b6e
KR
161332011-05-23 Kevin Ryde <user42@zip.com.au>
16134
16135 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16136 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16137 advice and passes PREDICATE.
16138
b1ef1257
SM
161392011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16140
bbca48fe
SM
16141 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16142 byte-compile-lambda if it's actually a lambda.
16143
b1ef1257
SM
16144 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16145 Fix function quoting. Use backquote better.
16146
92a9cc65
YS
161472011-05-22 Yuanle Song <sylecn@gmail.com>
16148
16149 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16150 matching (Bug#8516).
16151
f0fb8059
JA
161522011-01-22 Jari Aalto <jari.aalto@cante.net>
16153
16154 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16155 different face (Bug#8178).
16156
d5b44c93
CY
161572011-05-22 Chong Yidong <cyd@stupidchicken.com>
16158
16159 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16160 defface (Bug#8144).
16161
79106a44
SM
161622011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16163
9c848d8a
SM
16164 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16165 funcall as well (bug#8712). Warn when performing those conversions.
16166 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16167
79106a44
SM
16168 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16169
88dfa756
GM
161702011-05-22 Glenn Morris <rgm@gnu.org>
16171
16172 * files.el (hack-local-variables-prop-line): Small simplifications.
16173 (hack-local-variables, hack-local-variables-prop-line):
16174 If MODE-ONLY, return the mode, rather than just `t'.
16175
b7cf2c79
SM
161762011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16177
16178 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16179
3f1a8558
GM
161802011-05-21 Glenn Morris <rgm@gnu.org>
16181
7e4ccca3
GM
16182 * files.el (hack-local-variables-prop-line, hack-local-variables):
16183 If only interested in the mode, don't bother doing the other stuff.
16184
637d46ca
GM
16185 * image-mode.el (image-after-revert-hook):
16186 Redraw all frames on which the image is visible. (Bug#8567)
16187
973d955b
GM
16188 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16189
3f1a8558
GM
16190 * wid-edit.el (widget-checklist-match-inline):
16191 Fix 2011-04-19 change. (Bug#8649)
16192
96479927
SM
161932011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16194
1dcf791f
SM
16195 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16196 Also allow singlespace after single-letter capitals followed by a dot.
16197
96479927
SM
16198 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16199 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16200
35fd0881
N
162012011-05-20 Nix <nix@esperi.org.uk>
16202
16203 * files.el (basic-save-buffer-2):
16204 Fix handling of break-hardlink-on-save with non-existent files.
16205
82745640
DD
162062011-05-19 Deniz Dogan <deniz@dogan.se>
16207
16208 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16209 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16210
4a720484
GM
162112011-05-19 Glenn Morris <rgm@gnu.org>
16212
d1f21341
GM
16213 * progmodes/f90.el (f90-type-def-re):
16214 Handle "type, bind(c)". (Bug#8691)
16215
4a720484
GM
16216 * emacs-lisp/autoload.el (batch-update-autoloads):
16217 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16218
2fb0a219
MA
162192011-05-18 Michael Albinus <michael.albinus@gmx.de>
16220
16221 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16222 property for the correct connection in case of multihops.
16223
e565dd37
GM
162242011-05-18 Glenn Morris <rgm@gnu.org>
16225
c2571358 16226 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16227 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16228
e565dd37
GM
16229 Rationalize calendar handling of day and month abbrev-arrays.
16230 * calendar/calendar.el (calendar-customized-p): New function.
16231 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16232 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16233 Add :set function.
16234 (calendar-abbrev-length, calendar-day-abbrev-array)
16235 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16236 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16237 Elements may no longer be nil.
16238 (calendar-day-name, calendar-month-name):
16239 Update for changed nature of abbrev arrays.
16240 * calendar/diary-lib.el (diary-name-pattern):
16241 Update for changed nature of abbrev arrays.
16242 (diary-mark-entries-1): Update calendar-make-alist calls.
16243 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16244 * calendar/cal-html.el (cal-html-day-abbrev-array):
16245 Simply inherit from calendar-day-abbrev-array.
16246
1d99a745
SM
162472011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16248
16249 * progmodes/grep.el (grep-mode): Disable default
16250 compilation-directory-matcher setting (bug#8684).
16251
7c1d9aa0
MA
162522011-05-17 Michael Albinus <michael.albinus@gmx.de>
16253
16254 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16255 instead of "head" and "tail". There were problems with SunOS 5.9,
16256 and it performs better.
16257
3952e9d8
GM
162582011-05-17 Glenn Morris <rgm@gnu.org>
16259
2dd12e7f
GM
16260 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16261
e4157b9c
GM
16262 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16263 Replace obsolete function.
16264
8e249bbd
GM
16265 * shell.el (pcomplete-parse-arguments-function): Declare.
16266
3952e9d8
GM
16267 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16268 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16269 (appt-check): Doc fixes.
16270 (appt-disp-window-function, appt-delete-window-function):
16271 Remove needless special case in custom :type.
16272 (appt-display-count): Default to 0, not nil.
16273 (appt-check): Reset appt-display-count to 0, not nil.
16274
c71a0d48 162752011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16276
c71a0d48
GM
16277 * progmodes/python.el (python-font-lock-keywords):
16278 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16279
31d55be9
SM
162802011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16281
16282 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16283
3bfacb2f
KR
162842011-05-16 Kevin Ryde <user42@zip.com.au>
16285
16286 * info-look.el (makefile-automake-mode): New setups, looking in
16287 automake manual, then makefile-mode.
16288 (makefile-mode): Remove automake manual, have it just in
16289 makefile-automake-mode since there's various things different or
16290 not relevant to plain make.
16291 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16292 believe a hypothetical automake-mode would go to makefile-mode,
16293 not the other way around.
16294
c8e83751
CY
162952011-05-15 Chong Yidong <cyd@stupidchicken.com>
16296
5e9e35cd
CY
16297 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16298 hunk-end tags (Bug#8672).
16299
c8e83751
CY
16300 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16301 vc-annotate-show-diff-revision-at-line (Bug#8671).
16302
50b23e5a
GM
163032011-05-14 Glenn Morris <rgm@gnu.org>
16304
7210a739
GM
16305 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16306 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16307 (change-log-font-lock-keywords): Also handle multiple author lines
16308 with leading tabs. (Bug#8644)
7210a739 16309
4691905a
GM
16310 * calendar/appt.el (appt-check): Rename some local variables.
16311 Some simplification/reordering.
16312
50b23e5a
GM
16313 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16314 (feedmail-sendmail-f-doesnt-sell-me-out)
16315 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16316 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16317 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16318 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16319 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16320 (feedmail-binmail-gnulinuxish-template):
16321 Rename from feedmail-binmail-linuxish-template.
16322 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16323 Use insert-buffer-substring.
16324
215cda7c
BC
163252011-05-14 Bill Carpenter <bill@carpenter.org>
16326
16327 * mail/feedmail.el (feedmail-patch-level): Increase.
16328 (feedmail-debug): New custom group.
16329 (feedmail-confirm-outgoing-timeout)
16330 (feedmail-sendmail-f-doesnt-sell-me-out)
16331 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16332 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16333 (feedmail-sender-line, feedmail-from-line)
16334 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16335 (feedmail-spray-this-address)
215cda7c
BC
16336 (feedmail-spray-address-fiddle-plex-list)
16337 (feedmail-queue-use-send-time-for-date)
16338 (feedmail-queue-use-send-time-for-message-id)
16339 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16340 (feedmail-buffer-eating-function):
16341 Doc fixes.
16342 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16343 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16344 (feedmail-message-action-scroll-down): New functions.
16345 (feedmail-queue-directory, feedmail-queue-draft-directory):
16346 Use expand-file-name.
16347 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16348 Remove C-v help entry.
16349 (feedmail-queue-buffer-file-name): New variable.
16350 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16351 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16352 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16353 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16354 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16355 (feedmail-message-action-toggle-spray)
16356 (feedmail-run-the-queue-no-prompts)
16357 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16358 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16359 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16360 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16361 (feedmail-envelope-deducer, feedmail-fiddle-from)
16362 (feedmail-fiddle-sender, feedmail-default-date-generator)
16363 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16364 (feedmail-fiddle-spray-address)
16365 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16366 (feedmail-fiddle-list-of-fiddle-plexes)
16367 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16368 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16369 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16370 Change default. Doc fix.
16371 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16372 (feedmail-binmail-linuxish-template): New constant.
16373 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16374 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16375 (feedmail-send-it): Add debug call.
16376 Use feedmail-queue-buffer-file-name, and
16377 feedmail-send-it-immediately-wrapper.
16378 (feedmail-message-action-send): Add debug call.
16379 Use feedmail-send-it-immediately-wrapper.
16380 (feedmail-queue-express-to-queue): Add debug call.
16381 Run feedmail-queue-express-hook.
16382 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16383 (feedmail-message-action-help-blat):
16384 Rename from feedmail-queue-send-edit-prompt-help-first.
16385 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16386 Check line-endings. Handle errors better.
16387 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16388 Doc fix. Add debug call.
16389 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16390 Use feedmail-queue-send-edit-prompt-inner.
16391 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16392 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16393 from feedmail-queue-send-edit-prompt.
16394 (feedmail-queue-send-edit-prompt-help)
16395 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16396 (feedmail-tidy-up-slug): Add debug call.
16397 Respect feedmail-queue-slug-suspect-regexp.
16398 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16399 (feedmail-dump-message-to-queue): Add debug call.
16400 Expand queue-directory.
16401 (feedmail-dump-message-to-queue): Change message slightly.
16402 Use feedmail-say-chatter.
16403 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16404 (feedmail-send-it-immediately-wrapper): New function.
16405 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16406 Insert empty string rather than newline. Handle full-frame case.
16407 Use catch/throw. Use feedmail-say-chatter.
16408 (feedmail-fiddle-from): Try mail-host-address.
16409 (feedmail-default-message-id-generator): Doc fix.
16410 Bind system-time-locale. Handle missing end.
16411 (feedmail-fiddle-x-mailer): Add debug call.
16412 Handle feedmail-x-mailer-line being nil.
16413 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16414 Add debug call. Use buffer-substring-no-properties.
16415 (feedmail-say-debug, feedmail-say-chatter): New functions.
16416 (feedmail-find-eoh): Give an explicit error.
16417
42c7e61e
UJ
164182011-05-13 Ulf Jasper <ulf.jasper@web.de>
16419
c2571358 16420 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16421 family from helvetica to sans.
c2571358 16422 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16423 etc/images/newsticker.
16424
c2571358 16425 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16426 family from helvetica to sans.
16427
16428 * net/newst-plainview.el (newsticker-new-item-face)
16429 (newsticker-old-item-face, newsticker-immortal-item-face)
16430 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16431 (newsticker-statistics-face): Change default family from
42c7e61e 16432 helvetica to sans.
c2571358 16433 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16434 etc/images/newsticker.
16435
5d3385a0
JB
16436 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16437 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16438 auto-marking.
16439
8497a297
DV
164402011-05-13 Didier Verna <didier@xemacs.org>
16441
16442 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16443 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16444 TODO entries.
8497a297
DV
16445 (lisp-lambda-list-keyword-parameter-indentation)
16446 (lisp-lambda-list-keyword-parameter-alignment)
16447 (lisp-lambda-list-keyword-alignment): New customizable user options.
16448 (lisp-indent-defun-method): Improve docstring.
16449 (extended-loop-p): Fix comment.
16450 (lisp-indent-lambda-list-keywords-regexp): New variable.
16451 (lisp-indent-lambda-list): New function.
16452 (lisp-indent-259): Use it.
16453 (lisp-indent-defmethod): Support for more than one
16454 method qualifier and properly indent methods lambda-lists.
16455 (defgeneric): Provide a missing common-lisp-indent-function property.
16456
f278f87f
SM
164572011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16458
16459 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16460 bounds for the empty string (bug#8667).
16461
5233edd7
GM
164622011-05-13 Glenn Morris <rgm@gnu.org>
16463
5237a44f
GM
16464 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16465
8340026c 16466 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16467 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16468
5233edd7 16469 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16470 (appt-time-msg-list): Doc fix.
a5464014 16471 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16472
92d10796
AS
164732011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16474
16475 * progmodes/ld-script.el (ld-script-keywords)
16476 (ld-script-builtins): Update keywords list.
16477
914a0ae1
SM
164782011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16479
c89be45f
SM
16480 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16481
914a0ae1
SM
16482 * shell.el (shell-completion-vars): New function.
16483 (shell-mode):
16484 * simple.el (read-shell-command): Use it.
16485 (blink-matching-open): No need for " [...]" in minibuffer-message.
16486
98dc3df3
GM
164872011-05-12 Glenn Morris <rgm@gnu.org>
16488
16489 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16490 (appt-check): Simplify.
16491
d2fc7e3d 164922011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16493
4d61f28d 16494 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16495 literal "/dev/null".
16496
d2fc7e3d 164972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16498
16499 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16500 Fix typo.
16501
d2fc7e3d 165022011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16503
3f254caa
SM
16504 * progmodes/which-func.el (which-function):
16505 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16506 which might not be defined (Bug#8260).
16507
d45885f7
GM
165082011-05-12 Glenn Morris <rgm@gnu.org>
16509
16510 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16511 Let byte-compile-initial-macro-environment always take precedence.
16512
488086f4
SM
165132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16514
16515 * net/rcirc.el: Add support for SSL/TLS connections.
16516 (rcirc-server-alist): New field `encryption'.
16517 (rcirc): Check `encryption' settings.
16518 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16519 Merge make-local-variable into `set'.
16520 (rcirc--connection-open-p): New function.
16521 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16522 the process is not a network process (e.g. running gnutls-cli).
16523 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16524 Make rcirc-(en|de)code-coding-system local here.
16525 (rcirc-mode): Merge make-local-variable into `set'.
16526 (rcirc-parent-buffer): Make permanent buffer-local.
16527 (rcirc-multiline-minor-mode): Don't do it here.
16528 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16529 there's no server buffer.
16530
7d3b9d44
GM
165312011-05-11 Glenn Morris <rgm@gnu.org>
16532
f64049c6
GM
16533 * newcomment.el (comment-kill): Prefix "unused" local.
16534
93c9df73
GM
16535 * term/w32console.el (get-screen-color): Declare.
16536
7d3b9d44
GM
16537 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16538 Handle symbol elements of byte-compile-initial-macro-environment.
16539
9e2dd53f
LL
165402011-05-10 Leo Liu <sdl.web@gmail.com>
16541
488086f4
SM
16542 * bookmark.el (bookmark-bmenu-mode-map):
16543 Bind bookmark-bmenu-search to `/'.
8b340240 16544
9e2dd53f 16545 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16546 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16547 (Footnote-unicode): New function.
16548 (footnote-style-alist): Add unicode style to the list.
16549 (footnote-style): Doc fix.
9e2dd53f 16550
79b70037
GM
165512011-05-10 Jim Meyering <meyering@redhat.com>
16552
16553 Fix doubled-word typos.
16554 * international/quail.el (quail-insert-kbd-layout): and and -> and
16555 * kermit.el: and and -> and
16556 * net/ldap.el (ldap-search-internal): to to -> to
16557 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16558 * progmodes/js.el (js-mode): and and -> and
16559 * textmodes/artist.el (artist-move-to-xy): at at -> at
16560 (artist-draw-region-trim-line-endings): if if -> if
16561 And Safetyc -> Safety.
16562 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16563
b8f82dc1 165642011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16565 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16566
16567 * files.el (hack-one-local-variable-eval-safep):
16568 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16569
4f99f44b
GM
165702011-05-10 Glenn Morris <rgm@gnu.org>
16571
16572 * calendar/diary-lib.el (diary-list-entries-hook)
16573 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16574 (diary-nongregorian-marking-hook, diary-list-entries)
16575 (diary-include-other-diary-files, diary-mark-entries)
16576 (diary-mark-included-diary-files): Doc fixes.
16577
84f29e6b
JB
165782011-05-09 Juanma Barranquero <lekktu@gmail.com>
16579
16580 * misc.el: Require tabulated-list.el during compilation.
16581
9bedd73a
CY
165822011-05-09 Chong Yidong <cyd@stupidchicken.com>
16583
488086f4
SM
16584 * progmodes/compile.el (compilation-start):
16585 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16586 (compilation-filter-hook): Doc fix.
16587
797c735c
DD
165882011-05-09 Deniz Dogan <deniz@dogan.se>
16589
16590 * wdired.el: Remove outdated installation comment. Fix usage
16591 comment.
16592
5f4b1dfe
JB
165932011-05-09 Juanma Barranquero <lekktu@gmail.com>
16594
16595 * misc.el: Implement new command `list-dynamic-libraries'.
16596 (list-dynamic-libraries--loaded-only-p): New variable.
16597 (list-dynamic-libraries--refresh): New function.
16598 (list-dynamic-libraries): New command.
16599
4c44026c
CY
166002011-05-09 Chong Yidong <cyd@stupidchicken.com>
16601
488086f4
SM
16602 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16603 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16604 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16605 higher priority to avoid clobbering by gnu.
16606
027f966d
CY
166072011-05-08 Chong Yidong <cyd@stupidchicken.com>
16608
16609 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16610 if the face has existing theme settings (Bug#8454).
16611
085f5d7d
CY
166122011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16613
488086f4
SM
16614 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16615 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16616
2a86a00c
RS
16617 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16618 special file names `.' and `..' (Bug#8259).
16619
d9c54a06
CY
166202011-05-08 Chong Yidong <cyd@stupidchicken.com>
16621
488086f4
SM
16622 * progmodes/grep.el (grep-mode-font-lock-keywords):
16623 Remove buffer-changing entries.
d9c54a06
CY
16624 (grep-filter): New function.
16625 (grep-mode): Add it to compilation-filter-hook.
16626
16627 * progmodes/compile.el (compilation-filter-hook)
16628 (compilation-filter-start): New defvars.
16629 (compilation-filter): Call compilation-filter-hook prior to
16630 updating the process mark.
16631
c4662635
SM
166322011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16633
16634 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16635
b0512a1d
EZ
166362011-05-07 Eli Zaretskii <eliz@gnu.org>
16637
605c9376
EZ
16638 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16639 mailclient-send-it even if window-system is nil. (Bug#8595)
16640
c4662635
SM
16641 * term/w32console.el (terminal-init-w32console):
16642 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16643 background-mode. (Bug#8597)
16644
d1dc2cc2
SM
166452011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16646
16647 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16648 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16649 New functions.
16650 (defgeneric, eieio--defmethod): Use them.
16651 (eieio-defgeneric): Remove.
16652 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16653
915d1300
GM
166542011-05-07 Glenn Morris <rgm@gnu.org>
16655
a3961c3e
GM
16656 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16657 Use let rather than let*.
16658 (timeclock-find-discrep): Remove unused local.
16659
314347b9
GM
16660 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16661
915d1300
GM
16662 * calendar/appt.el (appt-time-msg-list): Doc fix.
16663
275b59b0
NF
166642011-05-06 Noah Friedman <friedman@splode.com>
16665
16666 * apropos.el (apropos-print-doc): Only use
16667 emacs-lisp-docstring-fill-column when it is bound to an integer,
16668 per that variable's documentation.
16669
6c19f744
SM
166702011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16671
16672 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16673 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16674
60f884b2
GM
166752011-05-06 Glenn Morris <rgm@gnu.org>
16676
5006e634
GM
16677 * calendar/appt.el (appt-message-warning-time): Doc fix.
16678 (appt-warning-time-regexp): New option.
16679 (appt-make-list): Respect appt-message-warning-time.
16680
548d0a63
GM
16681 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16682 New options.
16683 (diary-add-to-list): Strip comments from the displayed string.
16684 (diary-mode): Set comment-start and comment-end.
16685
60f884b2
GM
16686 * vc/diff-mode.el (smerge-refine-subst): Declare.
16687 (diff-refine-hunk): Don't require smerge-mode when compiling.
16688
989681bb
JB
166892011-05-06 Juanma Barranquero <lekktu@gmail.com>
16690
16691 * simple.el (list-processes): Return nil as the docstring says.
16692
a6bc05e1
MA
166932011-05-05 Michael Albinus <michael.albinus@gmx.de>
16694
16695 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16696 to "".
16697 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16698 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16699 determining of binary transfer. (Bug#7383)
16700
23c22e9a
MA
167012011-05-05 Michael Albinus <michael.albinus@gmx.de>
16702
c4662635
SM
16703 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16704 Fix port computation bug. (Bug#8618)
23c22e9a 16705
0bff894f
GM
167062011-05-05 Glenn Morris <rgm@gnu.org>
16707
b8296902
GM
16708 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16709
1f522ce8
GM
16710 * simple.el (shell-dynamic-complete-functions)
16711 (comint-dynamic-complete-functions): Declare.
16712
cf5bee67
GM
16713 * net/network-stream.el (gnutls-negotiate):
16714 * simple.el (tabulated-list-print): Fix declarations.
16715
16716 * progmodes/gud.el (syntax-symbol, syntax-point):
16717 Remove unnecessary and incorrect declarations.
16718
0bff894f
GM
16719 * emacs-lisp/check-declare.el (check-declare-scan):
16720 Handle byte-compile-initial-macro-environment in bytecomp.el
16721
9869b3ae
SM
167222011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16723
16724 Fix earlier half-done eieio-defmethod change (bug#8338).
16725 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16726 Streamline and change calling convention.
16727 (defmethod): Adjust accordingly and simplify.
16728 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16729 new eieio--defmethod.
16730 (slot-boundp): Minor CSE simplification.
16731
9c1d5ac5
MZ
167322011-05-05 Milan Zamazal <pdm@zamazal.org>
16733
16734 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16735 (glasses-make-readable): Use glasses-separate-capital-groups.
16736
455c834e
JB
167372011-05-05 Juanma Barranquero <lekktu@gmail.com>
16738
16739 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16740 (warning-series): Doc fix.
16741 (display-warning): Don't try to create the buffer if we just found it.
16742
9ed7c8cb
CY
167432011-05-04 Chong Yidong <cyd@stupidchicken.com>
16744
16745 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16746 (autoload-find-generated-file): New function.
16747 (generate-file-autoloads): Bind generated-autoload-file to
16748 buffer-file-name.
9869b3ae
SM
16749 (update-file-autoloads, update-directory-autoloads):
16750 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16751 output file (Bug#7989).
16752 (batch-update-autoloads): Doc fix.
16753
0898ca10
JB
167542011-05-04 Juanma Barranquero <lekktu@gmail.com>
16755
16756 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16757
31dfb76c
GM
167582011-05-04 Glenn Morris <rgm@gnu.org>
16759
f330b642
GM
16760 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16761 function, so it follows changes in calendar-date-style.
16762 (diary-fancy-date-matcher): New function.
16763 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16764 (diary-fancy-font-lock-fontify-region-function):
16765 Use diary-fancy-date-pattern as a function.
16766
31dfb76c
GM
16767 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16768 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16769
48e79d6a
TZ
167702011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16771
16772 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16773 instead of positional arguments. Allow :keylist and :crlfiles
16774 arguments.
16775 (open-gnutls-stream): Call it.
16776
16777 * net/network-stream.el (network-stream-open-starttls): Adjust to
16778 call `gnutls-negotiate' with :process and :hostname arguments.
16779
dd5a5ee0
SM
167802011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16781
ef80fc09
SM
16782 * minibuffer.el (completion--message): New function.
16783 (completion--do-completion, minibuffer-complete)
16784 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16785 (completion--do-completion): Don't ignore completion-auto-help when in
16786 icomplete-mode.
16787
dd5a5ee0
SM
16788 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16789 internal encoding (e.g. tibetan zero is not whitespace).
16790 (global-whitespace-mode): Prefer save-current-buffer.
16791 (whitespace-trailing-regexp): Remove useless save-match-data.
16792 (whitespace-empty-at-bob-regexp): Minor simplification.
16793
b7d22a83
CY
167942011-05-03 Chong Yidong <cyd@stupidchicken.com>
16795
16796 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16797
5192af46
AM
167982011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16799
16800 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16801 Use `concat' to create string for insertion.
5192af46 16802
5767d190
SM
168032011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16804
16805 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16806 Avoid open-line which runs post-self-insert-hook.
16807 (bibtex-fill-entry): Remove unused `end' var.
16808
bf242939
AM
168092011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16810
5767d190
SM
16811 * textmodes/ispell.el (ispell-add-per-file-word-list):
16812 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16813
25666126
LL
168142011-05-03 Leo Liu <sdl.web@gmail.com>
16815
16816 * isearch.el (isearch-yank-pop): New command.
5767d190 16817 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16818 (isearch-forward): Mention it.
16819
52d3c2d0
SM
168202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16821
1bcace58
SM
16822 * simple.el (minibuffer-complete-shell-command): Remove.
16823 (minibuffer-local-shell-command-map): Use completion-at-point.
16824 (read-shell-command): Setup completion vars here instead.
16825 (read-expression-map): Bind TAB to symbol completion.
16826
52d3c2d0
SM
16827 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16828 error directly rather via storing it into `results'.
16829
35813471
LL
168302011-05-02 Leo Liu <sdl.web@gmail.com>
16831
16832 * vc/diff.el: Fix description.
16833
e793a940
LMI
168342011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16835
16836 * server.el (server-eval-at): New function.
16837
8de66e05
LMI
168382011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16839
16840 * net/network-stream.el (open-network-stream): Take a :nowait
16841 parameter and pass it on to `make-network-process'.
16842 (network-stream-open-plain): Ditto.
16843
dcb79f20
AS
168442011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16845
16846 * faces.el (face-spec-set-match-display): Don't match toolkit
16847 options on terminal frames.
16848
14a7fbd8
SM
168492011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16850
7eabc1be
SM
16851 * progmodes/pascal.el: Use lexical binding.
16852 (pascal-mode-map): Remove author preferences.
16853
14a7fbd8
SM
16854 * pcomplete.el (pcomplete-std-complete): Don't abuse
16855 completion-at-point.
16856
50f84510
JB
168572011-04-28 Juanma Barranquero <lekktu@gmail.com>
16858
6e087a44
JB
16859 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16860 removing code that has been dead since 1991 or so.
16861
50f84510
JB
16862 * startup.el (command-line): When warning about "_emacs", use a
16863 delayed warning to allow the user to filter it out.
16864
0ba690bd
DD
168652011-04-28 Deniz Dogan <deniz@dogan.se>
16866
16867 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16868 user has not joined.
16869
08abfaad
SM
168702011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16871
16872 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16873 aren't any completions at point.
16874
638f053a
JB
168752011-04-28 Juanma Barranquero <lekktu@gmail.com>
16876
16877 * subr.el (display-delayed-warnings): New function.
16878 (delayed-warnings-hook): New variable.
16879
8fff8daa
SM
168802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16881
08abfaad
SM
16882 * minibuffer.el (completion-at-point, completion-help-at-point):
16883 Don't presume that a given completion-at-point-function will always
16884 use the same calling convention.
16885
8fff8daa
SM
16886 * pcomplete.el (pcomplete-completions-at-point):
16887 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16888 pcomplete-seen is non-nil.
16889 (pcomplete-comint-setup): Also recognize the new comint/shell
16890 completion functions.
16891 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16892 pcomplete-seen is non-nil.
16893
841a1577 168942011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 16895
841a1577 16896 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 16897 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 16898 the first character in the entry. This allows for code to add its
211ec907
UJ
16899 own uid to the entry.
16900 (icalendar--convert-float-to-ical): Add export of
16901 `diary-float'-entries save for those with the optional DAY
16902 argument.
16903
2a782793
DC
169042011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16905
16906 * subr.el (shell-quote-argument): Use alternate escaping strategy
16907 when we spot a variable reference in a string.
16908
0438ce91
DC
169092011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16910
16911 * cus-start.el (all): Define customization for debug-on-event.
16912
841a1577 169132011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
16914
16915 * subr.el (shell-quote-argument): Escape correctly under Windows.
16916
d090ed6c
SM
169172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16918
16919 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16920
bfd31217
MA
169212011-04-25 Michael Albinus <michael.albinus@gmx.de>
16922
d090ed6c
SM
16923 * net/tramp.el (tramp-process-actions): Add POS argument.
16924 Delete region between POS and (pos).
bfd31217 16925
d090ed6c
SM
16926 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16927 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
16928 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16929
16930 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16931 position in `tramp-process-actions' call.
16932
16933 * net/trampver.el: Update release number.
16934
e92f3bd3
SM
169352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16936
850256b5
SM
16937 * custom.el (defcustom): Obey lexical-binding.
16938
e92f3bd3
SM
16939 Fix octave-inf completion problems reported by Alexander Klimov.
16940 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16941 Inherit from octave-mode-syntax-table.
16942 (inferior-octave-mode): Set info-lookup-mode.
16943 (inferior-octave-completion-at-point): New function.
16944 (inferior-octave-complete): Use it and completion-in-region.
16945 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16946 comint-filename-completion.
16947 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16948 symbol elements which shouldn't be word elements.
16949 (octave-font-lock-keywords, octave-beginning-of-defun)
16950 (octave-function-header-regexp): Adjust regexps accordingly.
16951 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16952
cd22b309
JB
169532011-04-25 Juanma Barranquero <lekktu@gmail.com>
16954
16955 * net/gnutls.el (gnutls-errorp): Declare before first use.
16956
8b492194
TZ
169572011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16958
16959 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16960 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 16961 default trustfile exists before going to use it. Add missing
5a5fa834 16962 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
16963 Reported by Claudio Bley <claudio.bley@gmail.com>.
16964 (open-gnutls-stream): Add usage example.
16965
16966 * net/network-stream.el (network-stream-open-starttls): Give host
16967 parameter to `gnutls-negotiate'.
16968 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 16969 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 16970
841a1577 169712011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 16972
cd22b309
JB
16973 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16974 Use correct match group (bug#8438).
05842630 16975
3ba7869c
CY
169762011-04-24 Chong Yidong <cyd@stupidchicken.com>
16977
512e3ae1
CY
16978 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16979 (package-menu--generate): New arg specifying packages to show.
16980 (package-menu-refresh, package-menu-execute, list-packages):
16981 Callers changed.
16982 (package-show-package-list): New function, replacing deleted
16983 package--list-packages (renamed because it is non-internal).
16984
16985 * finder.el (finder-list-matches): Use package-show-package-list
16986 instead of deleted package--list-packages.
16987
e92f3bd3
SM
16988 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16989 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
16990 (vc-annotate-mode-map): Bind it to RET.
16991
7031be6d
UR
169922011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16993
16994 * progmodes/etags.el (next-file): Don't use set-buffer to change
16995 buffers (Bug#8478).
16996
4ef177aa
CY
169972011-04-24 Chong Yidong <cyd@stupidchicken.com>
16998
c8d173eb
CY
16999 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17000
4ef177aa
CY
17001 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17002 (apropos-accumulator): Doc fix.
17003 (apropos-function, apropos-macro, apropos-command)
17004 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17005 (apropos-plist): Add face property.
17006 (apropos-symbols-internal): Fix indentation.
17007 (apropos-print): Simplify help, and recognize apropos-multi-type.
17008 (apropos-print-doc): Use button-type-get to extract the button's
17009 face property. Fill docstring (Bug#8352).
17010
4ffd0d6b 170112011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17012
17013 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17014
c6c32125 17015 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17016 (mpuz-mode-map): Use mapc.
c6c32125
JB
17017 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17018 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17019 Fix typos in docstrings.
17020
58d468b4
JB
17021 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17022 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17023
6470c3c6
JB
17024 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17025
4ffd0d6b 170262011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17027
17028 * minibuffer.el (completion--do-completion): Avoid the "Next char
17029 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17030
3ad8bad0
CY
17031 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17032 mouse-2 into unread-command-events, it is interpreted correctly.
17033
71d73c9c 17034 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17035 (image-toggle-display): Doc fix.
71d73c9c 17036
841a1577 170372011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17038
4ffd0d6b
GM
17039 * textmodes/page.el (what-page): Use line-number-at-pos to
17040 calculate line number (Bug#6825).
6e1dbaa9 17041
c2fb1b60
JB
170422011-04-22 Juanma Barranquero <lekktu@gmail.com>
17043
17044 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17045 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17046 Pass argument NO-DEFAULT to `find-tag-interactive'.
17047
e02f48d7
JB
170482011-04-22 Juanma Barranquero <lekktu@gmail.com>
17049
17050 Lexical-binding cleanup.
17051
17052 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17053 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17054 * progmodes/ada-prj.el (ada-prj-initialize-values)
17055 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17056 (ada-prj-show-value):
17057 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17058 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17059 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17060 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17061 * progmodes/bug-reference.el (bug-reference-push-button):
17062 * progmodes/fortran.el (fortran-line-length):
17063 * progmodes/glasses.el (glasses-change):
17064 * progmodes/octave-mod.el (octave-fill-paragraph):
17065 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17066 (python-pdbtrack-grub-for-buffer, python-sentinel):
17067 * progmodes/sql.el (sql-save-connection):
17068 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17069 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17070 Mark unused parameters.
17071
17072 * progmodes/compile.el (compilation--flush-directory-cache)
17073 (compilation--flush-parse, compile-internal): Mark unused parameters.
17074 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17075 (compilation-next-error-function): Remove unused variable `timestamp'.
17076
17077 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17078 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17079
17080 * progmodes/dcl-mode.el (dcl-end-of-command):
17081 Remove unused variable `start'.
17082 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17083 (dcl-option-value-basic, dcl-option-value-offset)
17084 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17085 Mark unused parameters.
17086 (dcl-save-local-variable): Remove unused variable `val'.
17087 (mode): Declare.
17088
17089 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17090 Mark unused parameters.
17091 (delphi-ignore-changes): Move before first use.
17092 (delphi-charset-token-at): Remove unused variable `start'.
17093 (delphi-else-start): Remove unused variable `if-count'.
17094 (delphi-comment-block-start, delphi-comment-block-end):
17095 Remove unused variable `kind'.
17096 (delphi-indent-line): Remove unused variable `new-point'.
17097
17098 * progmodes/ebrowse.el (ebrowse-files-list)
17099 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17100 Mark unused parameters. Don't quote `lambda'.
17101 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17102 Don't quote `lambda'.
17103 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17104 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17105 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17106 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17107 Use `ignore-errors'.
17108 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17109 (ebrowse-view/find-file-and-search-pattern)
17110 (ebrowse-view/find-member-declaration/definition):
17111 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17112 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17113 Rename parameter PREFIX-ARG to PREFIX.
17114 (ebrowse-tags-read-name): Remove unused variables `start' and
17115 `member-info'.
17116 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17117 to `tags-file'.
17118
17119 * progmodes/etags.el (local-find-tag-hook): Declare.
17120 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17121 Mark unused parameters.
17122
17123 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17124 (executable-interpret): Mark unused parameter.
17125
17126 * progmodes/flymake.el (flymake-process-sentinel)
17127 (flymake-after-change-function)
17128 (flymake-create-temp-with-folder-structure)
17129 (flymake-get-include-dirs-dot): Mark unused parameters.
17130 (flymake-safe-delete-directory): Remove unused variable `err'.
17131
17132 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17133 (speedbar-timer-fn, speedbar-line-text)
17134 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17135 (speedbar-center-buffer-smartly): Declare functions.
17136 (gdb-find-watch-expression): Remove unused variable `array'.
17137 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17138 (gdb-starting): Mark unused parameters.
17139 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17140 (gdb-table-string): Remove unused variable `res'.
17141 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17142 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17143 (gdb-display-buffer): Remove unused variable `cur-size'.
17144
17145 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17146 allow lexical-binding compilation.
17147 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17148 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17149 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17150 Mark unused parameters.
17151 (gud-gdb-marker-filter): Remove unused variable `match'.
17152 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17153 lambda expressions and funcall them, instead of using `fset'.
17154
17155 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17156 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17157
17158 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17159 variable `header-beg'; use `let'.
17160
17161 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17162 `restart', `last-sexp' and `at-do'.
17163
17164 * progmodes/js.el (js--debug): Mark unused parameter.
17165 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17166 (js--splice-into-items): Remove unused variable `item'.
17167 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17168
17169 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17170 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17171 (makefile-complete): Remove unused variable `try'.
17172 (makefile-fill-paragraph, makefile-match-function-end):
17173 Mark unused parameters.
17174
17175 * progmodes/octave-inf.el (inferior-octave-complete):
17176 Remove unused variable `proc'.
17177 (inferior-octave-output-digest): Mark unused parameter.
17178
17179 * progmodes/perl-mode.el (perl-calculate-indent):
17180 Remove unused variable `err'.
17181
17182 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17183 (prolog-indent-line): Mark unused parameters.
17184 (prolog-indent-line): Remove unused variable `beg'.
17185
17186 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17187 (reporter-dont-compact-list): Declare.
17188
17189 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17190 Remove unused variable `char'.
17191 (sh-debug): Mark unused parameter.
17192 (sh-get-indent-info): Remove unused variable `start'.
17193 (sh-calculate-indent): Remove unused variable `var'.
17194
17195 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17196 (simula-electric-keyword): Remove unused variable `null'.
17197 (simula-search-backward, simula-search-forward): Remove unused
17198 variables `begin' and `end'.
17199
17200 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17201 Remove unused variable `pos'.
17202 (vera-electric-tab, vera-comment-uncomment-region):
17203 Mark unused parameters.
17204 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17205
7ede3b65
CY
172062011-04-22 Chong Yidong <cyd@stupidchicken.com>
17207
17208 * emacs-lisp/package.el (package--builtins, package-alist)
17209 (package-load-descriptor, package-built-in-p, package-activate)
17210 (define-package, package-installed-p)
17211 (package-compute-transaction, package-buffer-info)
17212 (package--push): Doc fix. Distinguish more clearly between
17213 version strings and version lists.
17214
121656e9
JB
172152011-04-21 Juanma Barranquero <lekktu@gmail.com>
17216
17217 Lexical-binding cleanup.
17218
17219 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17220 (5x5-make-mutate-best):
17221 * play/fortune.el (fortune-in-buffer):
17222 * play/gomoku.el (gomoku-init-display):
17223 * play/solitaire.el (solitaire, solitaire-do-check):
17224 * play/tetris.el (tetris-default-update-speed-function):
17225 Mark unused parameters.
17226
17227 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17228 (bubbles--shift): Remove unused variable `char-org'.
17229 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17230 (bubbles--show-images): Remove unused variable `char'.
17231
17232 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17233 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17234 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17235 (decipher-analyze-buffer): Use ?\s.
17236 (decipher-make-checkpoint): Remove unused variable `mapping'.
17237
17238 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17239
17240 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17241 Remove unused variable `result'; use `let'.
17242
17243 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17244 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17245 (gametree-children-shown-p, gametree-compute-reduced-score):
17246 Use `ignore-errors'.
17247
17248 * play/handwrite.el (ps-lpr-switches): Declare.
17249 (handwrite): Remove unused variables `pmin' and `lastp'.
17250
17251 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17252
17253 * play/landmark.el (landmark-init-display)
17254 (landmark-update-naught-weights): Mark unused parameters.
17255 (landmark-y): Remove unused variable `noise'. Simplify.
17256 (landmark-human-plays): Remove unused variable `score'.
17257
17258 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17259 (mpuz-try-proposal): Remove unused variable `game'.
17260
17261 * play/zone.el (life-patterns): Declare.
17262
80f499c7
JB
172632011-04-20 Juanma Barranquero <lekktu@gmail.com>
17264
17265 * vc/vc.el (ediff-vc-internal): Declare function.
17266
024ff170
SM
172672011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17268
c0a193ea
SM
17269 * shell.el: Use lexical-binding and std completion UI.
17270 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17271 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17272 comint-preoutput-filter-functions rather than on
17273 comint-output-filter-functions.
17274 (shell-command-completion, shell--command-completion-data)
17275 (shell-filename-completion, shell-environment-variable-completion)
17276 (shell-c-a-p-replace-by-expanded-directory): New functions.
17277 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17278 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17279 (shell-dynamic-complete-environment-variable): Use them.
17280 (shell-dynamic-complete-as-environment-variable)
17281 (shell-dynamic-complete-as-command): Remove.
17282 (shell-match-partial-variable): Match past point.
17283 * comint.el: Clean up use of completion-at-point-functions.
17284 (comint-completion-at-point): New function.
17285 (comint-mode): Use it completion-at-point-functions.
17286 (comint-dynamic-complete): Make it obsolete.
17287 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17288 (comint-c-a-p-replace-by-expanded-history): New function.
17289 (comint-dynamic-complete-functions)
17290 (comint-replace-by-expanded-history): Use it.
17291 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17292 termination strings. Try harder to avoid second try-completion.
17293 (completion-in-region-mode-map): Disable bindings that don't work yet.
17294
2dbaa080
SM
17295 * comint.el: Use lexical-binding. Require CL.
17296 (comint-dynamic-complete-functions): Use comint-filename-completion.
17297 (comint-completion-addsuffix): Tweak custom type.
17298 (comint-filename-completion, comint--common-suffix)
17299 (comint--common-quoted-suffix, comint--table-subvert)
17300 (comint--complete-file-name-data): New functions.
17301 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17302 (comint-dynamic-list-filename-completions): Use them.
17303 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17304
2dbaa080
SM
17305 * minibuffer.el (completion-in-region-mode):
17306 Keep completion-in-region-mode--predicate global.
17307 (completion-in-region--postch):
17308 Assume completion-in-region-mode--predicate is not null.
17309
c79a6f38
SM
17310 * progmodes/flymake.el (flymake-start-syntax-check-process):
17311 Obey `dir'. Simplify.
17312
024ff170
SM
17313 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17314 we're in VC after all.
17315
1c6c854e
CS
173162011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17317
17318 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17319 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17320 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17321
bed7f140
SM
173222011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17323
332e62ab
SM
17324 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17325 add sanity check.
17326
bed7f140
SM
17327 * obsolete/erc-hecomplete.el: Make obsolete.
17328 * obsolete/: Standardize obsolescence info in the header.
17329
f195c582
GM
173302011-04-20 Glenn Morris <rgm@gnu.org>
17331
17332 * calendar/solar.el (solar-horizontal-coordinates):
17333 Use the longitude argument rather than `calendar-longitude'.
17334 (solar-date-next-longitude): Remove unused locals.
17335
cb79b8c0
VJL
173362011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17337
17338 * whitespace.el: New version 13.2.1.
17339
173402011-04-20 felix <EmacsWiki> (tiny change)
17341
d8e4b68b 17342 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17343 switching between major modes on a file.
17344
602ea69d
SM
173452011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17346
17347 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17348 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17349 multi-line comments as well.
17350
06b60517
JB
173512011-04-19 Juanma Barranquero <lekktu@gmail.com>
17352
17353 Lexical-binding cleanup.
17354
17355 * arc-mode.el (archive-mode-revert):
17356 * cmuscheme.el (scheme-interactively-start-process):
17357 * custom.el (custom-initialize-delay):
17358 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17359 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17360 * emacs-lock.el (emacs-lock-clear-sentinel):
17361 * ezimage.el (defezimage):
17362 * follow.el (follow-avoid-tail-recenter):
17363 * fringe.el (set-fringe-mode-1):
17364 * generic-x.el (bat-generic-mode-compile):
17365 * help-mode.el (help-info-variable, help-do-xref)
17366 (help-mode-revert-buffer):
17367 * help.el (view-emacs-todo):
17368 * iswitchb.el (iswitchb-completion-help):
17369 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17370 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17371 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17372 * locate.el (locate-update):
17373 * longlines.el (longlines-encode-region)
17374 (longlines-after-change-function):
17375 * outline.el (outline-isearch-open-invisible):
17376 * ps-def.el (declare-function, charset-dimension, char-width)
17377 (encode-char):
17378 * ps-mule.el (ps-mule-plot-string):
17379 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17380 (recentf-edit-list-select, recentf-edit-list-validate)
17381 (recentf-open-files-action):
17382 * rect.el (delete-whitespace-rectangle-line)
17383 (rectangle-number-line-callback):
17384 * register.el (window-configuration-to-register)
17385 (frame-configuration-to-register):
17386 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17387 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17388 (xselect-convert-to-targets, xselect-convert-to-delete)
17389 (xselect-convert-to-filename, xselect-convert-to-charpos)
17390 (xselect-convert-to-lineno, xselect-convert-to-colno)
17391 (xselect-convert-to-os, xselect-convert-to-host)
17392 (xselect-convert-to-user, xselect-convert-to-class)
17393 (xselect-convert-to-name, xselect-convert-to-integer)
17394 (xselect-convert-to-atom, xselect-convert-to-identity):
17395 * subr.el (declare, ignore, process-kill-without-query)
17396 (text-clone-maintain):
17397 * terminal.el (te-get-char, te-tic-sentinel):
17398 * tool-bar.el (tool-bar-make-keymap):
17399 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17400 * type-break.el (type-break-mode, type-break-noninteractive-query):
17401 * view.el (View-back-to-mark):
17402 * wid-browse.el (widget-browse-action, widget-browse-widget)
17403 (widget-browse-widgets, widget-browse-sexp):
17404 * widget.el (define-widget-keywords):
17405 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17406 Mark unused parameters.
17407
17408 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17409 (align-areas): Remove unused variable `look'.
17410 (align-region): Remove unused variables `real-end' and `pos-list'.
17411
17412 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17413
17414 * bindings.el (mode-line-modified, mode-line-remote):
17415 Mark unused parameters.
17416 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17417
17418 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17419 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17420
17421 * comint.el (comint-history-isearch-pop-state)
17422 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17423 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17424 (comint-substitute-in-file-name): Doc fix.
17425
17426 * completion.el (cmpl-statistics-block): Mark unused parameter.
17427 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17428 (save-completions-to-file, load-completions-from-file):
17429 Remove unused local variable `e'.
17430
17431 * composite.el (compose-chars): Remove unused variable `len'.
17432 (lgstring-insert-glyph): Remove unused variable `g'.
17433 (compose-glyph-string): Remove unused variables `ascent',
17434 `descent', `lbearing' and `rbearing'.
17435 (compose-glyph-string-relative): Remove unused variables
17436 `lbearing', `rbearing' and `wadjust'.
17437 (compose-gstring-for-graphic): Remove unused variables `header',
17438 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17439 (compose-gstring-for-terminal): Remove unused variables `header'
17440 and `nchars'. Use `let', not `let*'.
17441
17442 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17443 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17444 (Custom-buffer-done, custom-buffer-create-internal)
17445 (custom-browse-visibility-action, custom-browse-group-tag-action)
17446 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17447 (widget-magic-mouse-down-action, custom-toggle-parent)
17448 (custom-add-parent-links, custom-toggle-hide-variable)
17449 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17450 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17451 (custom-face-menu-create, custom-variable-menu-create, get)
17452 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17453 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17454 (customize-apropos): Remove unused variable `tests'.
17455 (custom-group-value-create): Remove unused variable `hidden-p'.
17456 (sort-fold-case): Declare.
17457
17458 * cus-theme.el (custom-reset-standard-faces-list)
17459 (custom-reset-standard-variables-list): Declare.
17460 (customize-create-theme, custom-theme-revert, custom-theme-write)
17461 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17462 Mark unused parameters.
17463
17464 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17465
17466 * delim-col.el (delimit-columns-max): Move defvar before first use.
17467
17468 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17469 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17470
17471 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17472 (auto-insert): Declare.
17473 (desktop-restore-file-buffer): Rename desktop-* parameters;
17474 mark unused ones.
17475 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17476 (desktop-buffer): Rename desktop-* parameters.
17477
17478 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17479 (dframe-reposition-frame-xemacs, dframe-help-echo)
17480 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17481 Mark unused parameters.
17482
17483 * dired-aux.el (backup-extract-version-start, overwrite-query)
17484 (overwrite-backup-query, rename-regexp-query)
17485 (rename-non-directory-query): Declare.
17486 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17487 (dired-add-entry): Remove unused variable `orig-file-name'.
17488 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17489 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17490 `dired-copy-preserve-time' directly.
17491 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17492 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17493
17494 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17495 (dired-virtual-revert, dired-make-relative-symlink):
17496 Mark unused parameters.
17497 (manual-program): Declare.
17498 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17499 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17500 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17501
17502 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17503
17504 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17505
17506 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17507 Declare.
17508
17509 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17510
17511 * electric.el (Electric-command-loop): Rename parameter
17512 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17513
17514 * expand.el (expand-in-literal): Remove unused variable `here'.
17515
17516 * facemenu.el (facemenu-add-new-color):
17517 Remove unused variable `docstring'.
17518
17519 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17520 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17521 (face-attr-construct): Mark unused parameter. Doc fix.
17522 (read-color): Remove unused variable `hex-string'.
17523
17524 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17525 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17526 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17527 (display-buffer-other-frame): Remove unused variable `old-window'.
17528 (kill-buffer-hook): Declare.
17529 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17530 Mark unused parameters.
17531 (after-find-file): Pass 1 to `auto-save-mode', not t.
17532
17533 * files-x.el (auto-insert): Declare.
17534 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17535
17536 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17537 variable `buf'. Mark unused parameter.
06b60517
JB
17538 (find-lisp-insert-directory): Mark unused parameter.
17539
17540 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17541 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17542 (format-common-tail): Remove, unused.
17543 (format-deannotate-region): Remove unused variable `loc'.
17544 (format-annotate-region): Remove unused variable `p'.
17545 (format-annotate-single-property-change): Remove unused variables
17546 `default' and `tail'.
17547
17548 * forms.el (read-file-filter): Declare.
17549 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17550
17551 * frame.el (frame-creation-function-alist): Mark unused parameter.
17552 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17553
17554 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17555 Remove unused parameters.
17556 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17557 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17558
17559 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17560 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17561 (hfy-prepare-tag-map): Mark unused parameters.
17562 (htmlfontify-buffer): Use `called-interactively-p'.
17563
17564 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17565 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17566 (ibuffer-do-occur): Mark unused parameters.
17567 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17568 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17569
17570 * ibuffer.el: Don't quote `lambda'.
17571 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17572 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17573 Mark unused parameters.
17574
17575 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17576 (ido-completing-read): Mark unused parameters.
17577 (ido-copy-current-word): Mark unused parameters;
17578 remove unused variable `name'.
17579 (ido-sort-merged-list): Remove unused parameter `dirs'.
17580
17581 * ielm.el (ielm-input-sender): Mark unused parameter.
17582 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17583 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17584 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17585 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17586 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17587
17588 * image-dired.el (image-dired-display-thumbs): Remove unused
17589 variables `curr-file' and `count'.
17590 (image-dired-remove-tag): Remove unused variable `start'.
17591 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17592 variable `curr-file'
17593 (image-dired-rotate-original): Remove unused variable `temp-file'.
17594 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17595 Remove unused variable `file'.
17596 (image-dired-gallery-generate): Remove unused variable `curr'.
17597 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17598
17599 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17600
17601 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17602
17603 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17604
17605 * isearch.el (minibuffer-history-symbol): Declare.
17606 (isearch-edit-string): Remove unused variable `err'.
17607 (isearch-message-prefix, isearch-message-suffix):
17608 Mark unused parameters.
17609
17610 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17611
17612 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17613
17614 * makesum.el (double-column): Remove unused variable `cnt'.
17615
17616 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17617 (ido-ignore-item-temp-list): Declare.
17618
17619 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17620 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17621 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17622 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17623 `mouse-col-delta'.
17624
17625 * mouse-sel.el (mouse-extend-internal):
17626 Remove unused variable `orig-window-frame'.
17627
17628 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17629 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17630 Move declarations before first use.
17631 (pcomplete-opt): Mark unused parameters; doc fix.
17632
17633 * proced.el (proced-revert): Mark unused parameter.
17634 (proced-send-signal): Remove unused variable `err'.
17635
17636 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17637 Rename parameter PREFIX-ARG to ARG.
17638 (ps-basic-plot-string, ps-basic-plot-whitespace):
17639 Mark unused parameters.
17640
17641 * replace.el (replace-count): Define.
17642 (occur-revert-function): Mark unused parameters.
17643 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17644 (isearch-case-fold-search, isearch-string): Declare.
17645 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17646 bind `case-fold-search'. Remove unused variables `beg' and `end',
17647 and simplify.
17648 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17649 COUNT and bind `replace-count'.
17650 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17651 to COUNT.
17652
17653 * savehist.el (print-readably, print-string-length): Declare.
17654
17655 * shadowfile.el (shadow-expand-cluster-in-file-name):
17656 Remove unused variable `cluster'.
17657 (shadow-copy-file): Remove unused variable `i'.
17658 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17659 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17660 (shadow-define-literal-group, shadow-define-regexp-group)
17661 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17662
17663 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17664 (shell): Use `called-interactively-p'.
17665 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17666
17667 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17668 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17669 (delete-backward-char): Remove unused variable `ocol'.
17670 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17671 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17672 (event-apply-hyper-modifier, event-apply-shift-modifier)
17673 (event-apply-control-modifier, event-apply-meta-modifier):
17674 Mark unused parameters.
17675 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17676 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17677
17678 * speedbar.el (speedbar-ignored-directory-expressions)
17679 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17680 (speedbar-find-file, speedbar-dir-follow)
17681 (speedbar-directory-buttons-follow, speedbar-tag-find)
17682 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17683 (speedbar-buffers-line-directory, speedbar-buffer-click):
17684 Mark unused parameters.
17685 (speedbar-tag-file): Remove unused variable `mode'.
17686 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17687
17688 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17689
17690 * talk.el (talk): Remove unused variable `display'.
17691
17692 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17693 (tar-write-region-annotate): Mark unused parameter.
17694
17695 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17696 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17697 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17698 warning by another.
17699
17700 * time-stamp.el (time-stamp-string-preprocess):
17701 Remove unused variable `require-padding'.
17702
17703 * tree-widget.el (widget-glyph-enable): Declare.
17704 (tree-widget-action): Mark unused parameter.
17705
17706 * w32-fns.el (x-get-selection): Mark unused parameter.
17707 (autoload-make-program, generated-autoload-file): Declare.
17708
17709 * wdired.el (wdired-revert): Mark unused parameters.
17710 (wdired-xcase-word): Remove unused variable `err'.
17711
17712 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17713 (whitespace-help-scroll): Remove unused variable `data-help'.
17714
17715 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17716 (widget-image-insert, widget-after-change, default)
17717 (widget-default-format-handler, widget-default-notify)
17718 (widget-default-prompt-value, widget-info-link-action)
17719 (widget-url-link-action, widget-function-link-action)
17720 (widget-variable-link-action, widget-file-link-action)
17721 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17722 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17723 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17724 (widget-insert-button-action, widget-delete-button-action, visibility)
17725 (widget-documentation-link-action, widget-documentation-string-action)
17726 (widget-const-prompt-value, widget-regexp-match, symbol)
17727 (widget-coding-system-prompt-value)
17728 (widget-key-sequence-value-to-external, sexp)
17729 (widget-sexp-value-to-internal, character, vector, cons)
17730 (widget-choice-prompt-value, widget-boolean-prompt-value)
17731 (widget-color--choose-action): Mark unused parameters.
17732 (widget-item-match-inline, widget-choice-match-inline)
17733 (widget-checklist-match, widget-checklist-match-inline)
17734 (widget-group-match): Rename parameter VALUES to VALS.
17735 (widget-field-value-set): Remove unused variable `size'.
17736 (widget-color-action): Remove unused variables `value' and `start'.
17737
17738 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17739 variable `dir'. Doc fix.
06b60517
JB
17740 (windmove-find-other-window): Don't pass it.
17741
17742 * window.el (count-windows): Mark unused parameter.
17743 (bw-adjust-window): Remove unused variable `err'.
17744
17745 * woman.el (woman-file-name): Remove unused variable `default'.
17746 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17747 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17748 (global-font-lock-mode): Declare.
17749 (woman-decode-region): Mark unused parameter.
17750 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17751
17752 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17753 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17754 (x-dnd-handle-moz-url): Remove unused variable `title'.
17755 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17756
17757 * xml.el (xml-parse-tag, xml-parse-attlist):
17758 Remove unused variable `pos'.
17759
bc4f7f3d
GM
177602011-04-19 Glenn Morris <rgm@gnu.org>
17761
17762 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17763 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17764 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17765 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17766 * calendar/cal-html.el (cal-html-insert-minical):
17767 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17768 (calendar-mark-date-pattern):
17769 Prefix "unused" locals.
17770
17771 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17772 optional argument `style'.
17773
17774 * calendar/appt.el (appt-make-list):
17775 * calendar/cal-china.el (calendar-chinese-date-string):
17776 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17777 (diary-hebrew-yahrzeit):
17778 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17779 * calendar/calendar.el (calendar-generate-window):
17780 * calendar/time-date.el (time-to-days):
17781 Remove unused local variables.
17782
16a43933
CY
177832011-04-18 Chong Yidong <cyd@stupidchicken.com>
17784
17785 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17786 glyphless-char-display table.
17787 (tabulated-list-glyphless-char-display): New var.
17788
7eed1860
SS
177892011-04-18 Sam Steingold <sds@gnu.org>
17790
17791 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17792 to acknowledgments.
17793
4d2d1ccd
GM
177942011-04-17 Glenn Morris <rgm@gnu.org>
17795
17796 * calendar/diary-lib.el (diary-sexp-entry):
17797 * calendar/holidays.el (holiday-sexp):
17798 Set debug-on-error rather than the removed stack-trace-on-error.
17799
239da61d
GM
178002011-04-16 Glenn Morris <rgm@gnu.org>
17801
17802 * progmodes/f90.el: Use lexical-binding.
17803 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17804
8b05752a
SM
178052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17806
daca8ba5
SM
17807 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17808 (mail-mode): Setup mailalias completion here instead.
17809 * mail/mailalias.el: Use lexical-binding.
17810 (pattern, mailalias-done): Declare dynamic.
17811 (mail-completion-at-point-function): New function, from mail-complete.
17812 (mail-complete): Use it.
17813 (mail-completion-expand): New function.
17814 (mail-get-names): Use it.
17815 (mail-directory, mail-directory-process, mail-directory-stream):
17816 Don't use `pattern' for lexically bound arg.
17817
6f542485
SM
17818 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17819
037e7c3f
SM
17820 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17821 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17822 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17823
8b05752a
SM
17824 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17825 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17826 (byte-interactive-p): Define them again, for use when inlining
17827 old code.
17828
49093f60
JB
178292011-04-15 Juanma Barranquero <lekktu@gmail.com>
17830
17831 * loadup.el: Use `string-to-number', not `string-to-int'.
17832
b5b8e7de
SM
178332011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17834
17835 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17836 gud-gdb-complete-command.
17837 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17838 (gud-gdb-completion-at-point): New function.
17839 (gud-gdb-completions): Remove.
17840
f42efeb5
MA
178412011-04-14 Michael Albinus <michael.albinus@gmx.de>
17842
49093f60
JB
17843 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17844 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17845 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17846 whether `executable-find' is bound.
f42efeb5
MA
17847
17848 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17849
e240cc21
SM
178502011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17851
17852 * minibuffer.el (completion-in-region-mode-predicate)
17853 (completion-in-region-mode--predicate): New vars.
17854 (completion-in-region, completion-in-region--postch)
17855 (completion-in-region-mode): Use them.
17856 (completion--capf-wrapper): Also return the hook function.
17857 (completion-at-point, completion-help-at-point):
17858 Adjust and provide a predicate.
c2bd2ab0
SM
17859
17860 Preserve arg names for advice of subr and lexical functions (bug#8457).
17861 * help-fns.el (help-function-arglist): Consolidate the subr and
17862 new-byte-code cases. Add argument `preserve-names' to extract names
17863 from the docstring when needed.
17864 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17865 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17866 (ad-arglist): Use help-function-arglist's new arg.
17867 (ad-definition-type): Use cond.
17868
c183f693
JB
178692011-04-13 Juanma Barranquero <lekktu@gmail.com>
17870
06641a47
JB
17871 * autorevert.el (auto-revert-handler):
17872 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17873 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17874 Don't quote lambda.
17875
c183f693
JB
17876 * image-mode.el (image-transform-set-scale):
17877 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17878
1e3b6001
G
178792011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17880
17881 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 17882 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
17883 Upgrades via gnutls-cli are too slow to be done opportunistically.
17884
2d6af8dd
JB
178852011-04-12 Juanma Barranquero <lekktu@gmail.com>
17886
17887 * dframe.el (dframe-current-frame): Remove spurious quote.
17888
c0749a51
GM
178892011-04-12 Glenn Morris <rgm@gnu.org>
17890
088d0d61
GM
17891 * calendar/cal-tex.el (cal-tex-end-document):
17892 Try to automatically use latin1 input if needed.
17893
c0749a51
GM
17894 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17895 Don't try to cons a mark onto an empty element.
17896
5c90fde0
LL
178972011-04-11 Leo Liu <sdl.web@gmail.com>
17898
17899 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17900 buffers.
17901 (ido-kill-buffer-at-head): Support killing virtual buffers.
17902
369e974d
CY
179032011-04-10 Chong Yidong <cyd@stupidchicken.com>
17904
17905 * minibuffer.el (completion-show-inline-help): New var.
17906 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
17907 (minibuffer-force-complete, minibuffer-complete-word):
17908 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
17909
17910 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17911 to avoid interference from inline help (Bug#5849).
17912
37f1c930
LL
179132011-04-10 Leo Liu <sdl.web@gmail.com>
17914
099c39a4
JB
17915 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17916 Fix typo.
37f1c930 17917
a32d4040
CY
179182011-04-09 Chong Yidong <cyd@stupidchicken.com>
17919
17920 * image-mode.el (image-toggle-display-image): Signal an error if
17921 not in Image mode.
17922 (image-transform-mode, image-transform-resize)
17923 (image-transform-set-rotation): Doc fix.
daca8ba5 17924 (image-transform-set-resize): Delete.
a32d4040
CY
17925 (image-transform-set-scale, image-transform-fit-to-height)
17926 (image-transform-fit-to-width): Handle image-toggle-display-image
17927 and image-transform-resize directly.
17928
099c39a4 179292011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
17930
17931 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
17932 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17933 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
17934 (doc-view-mode-map): Add bindings for the new functions.
17935
099c39a4 179362011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 17937
4d61f28d 17938 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
17939 Fix typo in docstring.
17940
3726838a
EZ
179412011-04-08 Eli Zaretskii <eliz@gnu.org>
17942
04f33f1e
EZ
17943 * files.el (file-size-human-readable): Produce one digit after
17944 decimal, like "ls -lh" does.
17945
17946 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17947 the file size representation.
17948
3726838a
EZ
17949 * simple.el (list-processes): If async subprocesses are not
17950 available, error out with a clear error message.
17951
cbb59342
CY
179522011-04-08 Chong Yidong <cyd@stupidchicken.com>
17953
17954 * help.el (help-form-show): New function, to be called from C.
17955 Put help-form output in a buffer named differently than *Help*.
17956
e3971c44
EZ
179572011-04-08 Eli Zaretskii <eliz@gnu.org>
17958
17959 * files.el (file-size-human-readable): New function.
17960
17961 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17962 computing the representation inline. Don't require `cl'.
17963
12544bbe
GM
179642011-04-08 Glenn Morris <rgm@gnu.org>
17965
a1de6c6a
GM
17966 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17967
3c4671f4
GM
17968 * net/browse-url.el (browse-url-firefox):
17969 Test system-type, not system-configuration.
17970
b605679c
GM
17971 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17972 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17973 Use log-edit-empty-buffer-p. (Bug#7598)
17974
56442f0c
GM
17975 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17976 (rlogin-mode-map): Initialize in the defvar.
17977 (rlogin): Use ignore-errors.
17978
12544bbe
GM
17979 * replace.el (occur-mode-map): Some fixes for menu items.
17980
eb237b0f
AH
179812011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17982
17983 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17984
7d668f2c
CY
179852011-04-06 Chong Yidong <cyd@stupidchicken.com>
17986
e67a13ab
CY
17987 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17988 issuing unused warnings.
17989
17990 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17991 macro directly.
17992
7d668f2c
CY
17993 * simple.el: Lisp reimplement of list-processes. Based on an
17994 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17995 (process-menu-mode): New major mode.
17996 (list-processes--refresh, list-processes):
17997 (process-menu-visit-buffer): New functions.
17998
17999 * files.el (save-buffers-kill-emacs): Don't assume any return
18000 value of list-processes, which is undocumented anyway.
18001
a83ec3c9
CY
180022011-04-06 Chong Yidong <cyd@stupidchicken.com>
18003
18004 * emacs-lisp/tabulated-list.el: New file.
18005
e91a96fe
CY
18006 * emacs-lisp/package.el: Use Tabulated List mode.
18007 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18008 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18009 table format using Tabulated List mode variables.
18010 (package--push): New macro, replacing package-list-maybe-add.
18011 (package-menu--generate): Use package--push. Renamed from
18012 package--generate-package-list.
18013 (package-menu-refresh, list-packages): Use it.
daca8ba5 18014 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18015 Return insertion data instead of inserting it directly.
099c39a4
JB
18016 (package-menu-describe-package, package-menu-execute):
18017 Use tabulated-list-get-id.
e91a96fe
CY
18018 (package-menu-mark-delete, package-menu-mark-install)
18019 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18020 (package-menu-mark-obsolete-for-deletion):
18021 Use tabulated-list-put-tag.
e91a96fe
CY
18022 (package--list-packages, package-menu-revert)
18023 (package-menu-get-package, package-menu-get-version)
18024 (package-menu-sort-by-column): Functions deleted.
18025 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18026 (package-menu--status-predicate, package-menu--version-predicate)
18027 (package-menu--name-predicate)
18028 (package-menu--description-predicate): Handle arguments in the
18029 Tabulated List format.
18030 (package-list-packages-no-fetch): Call list-packages.
18031
3e214b50
JB
180322011-04-06 Juanma Barranquero <lekktu@gmail.com>
18033
18034 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18035 (after-find-file): Don't bind it.
3e214b50
JB
18036 (revert-buffer-in-progress-p): New variable.
18037 (revert-buffer): Bind it.
18038 Pass nil for `after-find-file-from-revert-buffer'.
18039
18040 * saveplace.el (save-place-find-file-hook): Use new variable
18041 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18042
3f0f1700
GM
180432011-04-06 Glenn Morris <rgm@gnu.org>
18044
c0274801
GM
18045 * Makefile.in (AUTOGEN_VCS): New variable.
18046 (autoloads): Use $AUTOGEN_VCS.
18047
3f0f1700
GM
18048 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18049 * calendar/calendar.el (calendar-mode-map):
18050 Check for toolkit scroll bars. (Bug#8305)
18051
41ea9e48
CY
180522011-04-05 Chong Yidong <cyd@stupidchicken.com>
18053
18054 * minibuffer.el (completion-in-region--postch)
18055 (completion-in-region-mode): Remove unnecessary messages.
18056
6194c800
JB
180572011-04-05 Juanma Barranquero <lekktu@gmail.com>
18058
33256f14
JB
18059 * font-lock.el (font-lock-refresh-defaults):
18060 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18061 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18062
6194c800
JB
18063 * info.el (Info-directory-list, Info-read-node-name-2)
18064 (Info-split-parameter-string): Doc fixes.
18065 (Info-virtual-nodes): Reflow docstring.
18066 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18067 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18068 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18069 Fix typos in docstrings.
18070 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18071 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18072 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18073 (Info-restore-desktop-buffer): Mark unused parameters.
18074 (Info-directory-find-file, Info-directory-find-node)
18075 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18076 (Info-virtual-index-find-node, Info-apropos-find-file)
18077 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18078 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18079 (Info-virtual-index): Remove unused local variable `nodename'.
18080
b87a8200 180812011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18082
b87a8200
DD
18083 * net/rcirc.el: Update my e-mail address.
18084 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18085
3b2ff876
CY
180862011-04-05 Chong Yidong <cyd@stupidchicken.com>
18087
18088 * startup.el (command-line): Save the cursor's theme-face
18089 directly, instead of using face-override-spec.
18090
18091 * custom.el (load-theme): Minor optimization in assigning faces.
18092
8d17e7ca
JB
180932011-04-04 Juanma Barranquero <lekktu@gmail.com>
18094
18095 * help-fns.el (describe-variable): Complete all variables having
18096 documentation, including keywords.
18097 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18098
2fbc1934
JB
180992011-04-04 Juanma Barranquero <lekktu@gmail.com>
18100
18101 Convert to lexical-binding.
18102
18103 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18104 (bs--get-marked-string, bs--get-modified-string)
18105 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18106 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18107 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18108
18109 * ehelp.el (electric-help-execute-extended)
18110 (electric-help-ctrl-x-prefix):
18111 * hexl.el (hexl-revert-buffer-function):
18112 * linum.el (linum-after-change, linum-after-scroll):
18113 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18114
18115 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18116
74f50695
DU
181172011-04-04 Daiki Ueno <ueno@unixuser.org>
18118
18119 * epa-dired.el:
18120 * epa-mail.el:
18121 * epa-hook.el:
18122 * epa-file.el:
18123 * epa.el:
18124 * epg.el: Use lexical binding.
18125
c11325f7
CY
181262011-04-03 Chong Yidong <cyd@stupidchicken.com>
18127
0d9e9a12
CY
18128 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18129
c11325f7 18130 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18131 dictionary case for flyspell-mark-duplications-exceptions.
18132 Use regexp matching for languages.
c11325f7
CY
18133 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18134 default dictionary (Bug#7926).
18135
da91b5f2
CY
181362011-04-02 Chong Yidong <cyd@stupidchicken.com>
18137
099c39a4
JB
18138 * emacs-lisp/package.el (package--with-work-buffer):
18139 Recognize https URLs.
da91b5f2 18140
099c39a4
JB
18141 * net/network-stream.el: Move from gnus/proto-stream.el.
18142 Change prefix to network-stream throughout.
da91b5f2
CY
18143 (open-protocol-stream): Merge into open-network-stream, leaving
18144 open-protocol-stream as an alias. Handle nil BUFFER args.
18145
18146 * subr.el (open-network-stream): Move to net/network-stream.el.
18147
afa8e9f6
GM
181482011-04-02 Glenn Morris <rgm@gnu.org>
18149
1d2e369d
GM
18150 * find-dired.el (find-exec-terminator): New option.
18151 (find-ls-option): Test for -ls support.
18152 (find-ls-subdir-switches): Test for -b in find-ls-option.
18153 (find-dired, find-grep-dired): Doc fixes.
18154 (find-dired): Use find-exec-terminator.
18155
8abb7da8 18156 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18157 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18158 (find-name-arg): Remove purecopy.
8abb7da8 18159
f3ca7378
GM
18160 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18161 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18162 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18163 accordingly. Don't add the null-device if not needed.
18164
afa8e9f6
GM
18165 * files.el (save-some-buffers): Doc fix.
18166
35eae264
EZ
181672011-04-02 Eli Zaretskii <eliz@gnu.org>
18168
18169 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18170
26b51db5
JB
181712011-04-01 Juanma Barranquero <lekktu@gmail.com>
18172
18173 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18174 Use `dolist' rather than `mapcar'.
18175
7200d79c
SM
181762011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18177
03408648 18178 Add lexical binding.
7200d79c 18179
03408648
SM
18180 * subr.el (apply-partially): Use new closures rather than CL.
18181 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18182 (dolist, dotimes): Use slightly different expansion for lexical code.
18183 (functionp): Move to C.
18184 (letrec): New macro.
18185 (with-wrapper-hook): Use it and apply-partially instead of CL.
18186 (eval-after-load): Preserve lexical-binding.
18187 (save-window-excursion, with-output-to-temp-buffer): Turn them
18188 into macros.
7200d79c 18189
03408648
SM
18190 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18191
18192 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18193 than the arglist.
18194 (help-add-fundoc-usage): Don't add `Not documented'.
18195 (help-function-arglist): Handle closures, subroutines, and new
18196 byte-code-functions.
18197 (help-make-usage): Remove leading underscores.
18198 (describe-function-1): Handle closures.
18199 (describe-variable): Use special-variable-p for completion.
18200
18201 * files.el (lexical-binding): Declare safe.
f488fb65 18202
03408648
SM
18203 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18204 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18205 (pcase): Add `let' pattern.
18206 Change memoization so it actually works.
18207 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18208 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18209 <let>: New case.
f488fb65 18210
03408648
SM
18211 * emacs-lisp/macroexp.el: Use lexical binding.
18212 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18213 Don't convert ' to #' without checking that it's indeed quoting
18214 a lambda.
18215
18216 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18217 Use eval-sexp-add-defvars.
03408648
SM
18218 (eval-sexp-add-defvars): New fun.
18219
18220 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18221
18222 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18223 Don't autoload.
18224 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18225 than the internal `byte-compile-lambda'.
18226 (defmethod): Don't hide code under quotes.
18227 (eieio-defmethod): New `code' argument.
18228
18229 * emacs-lisp/eieio-comp.el: Remove.
18230
18231 * emacs-lisp/edebug.el (edebug-eval-defun)
18232 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18233 (edebug-toggle): Avoid `eval'.
18234
18235 * emacs-lisp/disass.el (disassemble-internal): Handle new
18236 `closure' objects.
18237 (disassemble-1): Handle new byte codes.
18238
18239 * emacs-lisp/cl.el (pushnew): Silence warning.
18240
18241 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18242 (cl-byte-compile-throw): Remove.
18243 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18244
18245 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18246 closures.
18247
18248 * emacs-lisp/cconv.el: New file.
18249
18250 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18251 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18252 (byte-compile-initial-macro-environment):
18253 Handle declare-function here.
18254 (byte-compile--lexical-environment): New var.
18255 (byte-stack-ref, byte-stack-set, byte-discardN)
18256 (byte-discardN-preserve-tos): New lap codes.
18257 (byte-interactive-p): Don't use any more.
18258 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18259 New macros.
18260 (byte-compile-lapcode): Use them and handle new lap codes.
18261 (byte-compile-obsolete): Remove.
18262 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18263 (byte-compile-arglist-warn): Check late def of inlinable funs.
18264 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18265 since they should have been expanded by now.
18266 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18267 (byte-compile-from-buffer): Remove unused second arg.
18268 (byte-compile-preprocess): New function.
18269 (byte-compile-toplevel-file-form): New function to distinguish
18270 file-form calls from outside from file-form calls from hunk-handlers.
18271 (byte-compile-file-form): Simplify.
18272 (byte-compile-file-form-defsubst): Remove.
18273 (byte-compile-file-form-defmumble): Simplify now that
18274 byte-compile-lambda always returns a byte-code-function.
18275 (byte-compile): Preprocess.
18276 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18277 Remove, not used any more.
18278 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18279 (byte-compile-make-args-desc): New funs.
18280 (byte-compile-lambda): Handle lexical functions. Always return
18281 a byte-code-function.
18282 (byte-compile-reserved-constants): New var, to make up room for
18283 closed-over variables.
18284 (byte-compile-constants-vector): Obey it.
18285 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18286 (byte-compile-macroexpand-declare-function): New function.
18287 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18288 byte-code-functions.
18289 (byte-compile-form): Check obsolescence here.
18290 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18291 (byte-compile-variable-ref): Remove.
18292 (byte-compile-dynamic-variable-op): New fun.
18293 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18294 (byte-compile-variable-set): New funs.
18295 (byte-compile-discard): Add 2 args.
18296 (byte-compile-stack-ref, byte-compile-stack-set)
18297 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18298 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18299 macroexpand-all instead.
18300 (byte-compile-quote-form): Remove.
18301 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18302 (byte-compile-bind, byte-compile-unbind): New funs.
18303 (byte-compile-let): Handle let* and lexical binding.
18304 (byte-compile-let*): Remove.
18305 (byte-compile-catch, byte-compile-unwind-protect)
18306 (byte-compile-track-mouse, byte-compile-condition-case):
18307 Handle a new :fun-body form, used for lexical scoping.
18308 (byte-compile-save-window-excursion)
18309 (byte-compile-with-output-to-temp-buffer): Remove.
18310 (byte-compile-defun): Simplify.
18311 (byte-compile-stack-adjustment): New fun.
18312 (byte-compile-out): Use it.
18313 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18314
18315 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18316 handler any more.
18317
18318 * emacs-lisp/byte-opt.el: Use lexical binding.
18319 (byte-inline-lapcode): Remove (to bytecomp).
18320 (byte-compile-inline-expand): Pay attention to inlining to/from
18321 lexically bound code.
18322 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18323 any more.
18324 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18325 any more and don't call compiler-macros.
18326 (byte-compile-splice-in-already-compiled-code): Remove.
18327 (byte-code): Don't inline any more.
18328 (disassemble-offset): Receive `bytes' as argument rather than via
18329 dynamic scoping.
18330 (byte-compile-tag-number): Declare before first use.
18331 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18332 `return' even if make-spliceable.
18333 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18334 obsolete interactive-p.
18335 (byte-optimize-lapcode): Optimize new lap-codes.
18336 Don't trip up on new form of `byte-constant' lap code.
18337
18338 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18339
18340 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18341
18342 * custom.el (custom-initialize-default, custom-declare-variable):
18343 Use `defvar'.
18344
18345 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18346 New variables.
18347 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18348 (COMPILE_FIRST): Add macroexp and cconv.
18349 * makefile.w32-in: Mirror changes in Makefile.in.
18350
18351 * vc/cvs-status.el:
18352 * vc/diff-mode.el:
18353 * vc/log-edit.el:
18354 * vc/log-view.el:
18355 * vc/smerge-mode.el:
18356 * textmodes/bibtex-style.el:
090bd7cb 18357 * textmodes/css-mode.el:
03408648
SM
18358 * startup.el:
18359 * uniquify.el:
da91b5f2
CY
18360 * minibuffer.el:
18361 * newcomment.el:
18362 * reveal.el:
18363 * server.el:
18364 * mpc.el:
18365 * emacs-lisp/smie.el:
18366 * doc-view.el:
18367 * dired.el:
03408648
SM
18368 * abbrev.el: Use lexical binding.
18369
0f0c1f27
EZ
183702011-04-01 Eli Zaretskii <eliz@gnu.org>
18371
18372 * info.el (info-display-manual): New function.
18373
c82b2579
SM
183742011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18375
18376 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18377
221ddf68
TH
183782011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18379
18380 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18381 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18382
cba6e77e
GM
183832011-03-31 Glenn Morris <rgm@gnu.org>
18384
e040639f
GM
18385 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18386
cba6e77e
GM
18387 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18388
6d0f1c9e
CS
183892011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18390
18391 * progmodes/python.el (python-default-interpreter)
18392 (python-python-command-args, python-jython-command-args)
18393 (python-which-shell, python-which-args, python-which-bufname)
18394 (python-file-queue, python-comint-output-filter-function)
18395 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18396 variables and functions.
18397
3e2d70fd
SM
183982011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18399
18400 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18401 (completion-in-region-mode): New minor mode.
18402 (completion-in-region): Use it.
18403 (completion-in-region--data, completion-in-region-mode-map): New vars.
18404 (completion-in-region--postch): New function.
18405 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18406 New vars.
18407 (completion--capf-wrapper): New function.
18408 (completion-at-point): Use it to track well-behavedness of
18409 hook functions.
18410 (completion-help-at-point): New command.
18411
f3e4086c
JM
184122011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18413
18414 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18415 syntax class to search for whitespace on a single line
18416 (Message-ID: <4D938140.4030905@redhat.com>).
18417
eb7ffc14
LL
184182011-03-30 Leo Liu <sdl.web@gmail.com>
18419
18420 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18421 New commands.
18422 (edit-abbrevs-map): Bind them here.
18423 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18424
d806ab68
KM
184252011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18426
18427 * allout.el (allout-hide-by-annotation, allout-flag-region):
18428 Reduce possibility of overlay leakage by making them volatile.
18429
18430 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18431 hash is not shared between buffers. Mode initialization is
18432 responsible for giving it a useful starting value.
18433 (allout-item-span): Reduce possibility of overlay leakage by
18434 making them volatile.
18435 (allout-widgets-count-buttons-in-region): Add diagnostic function
18436 for tracking down button overlay leaks.
18437
ea622834
LL
184382011-03-29 Leo Liu <sdl.web@gmail.com>
18439
18440 * ido.el (ido-read-internal): Use the default history var
18441 minibuffer-history if no HISTORY is specified.
18442
b62f8267
G
184432011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18444
03408648
SM
18445 * net/imap.el (imap-shell-open, imap-process-connection-type):
18446 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18447 Kerberos, SSL, other subprocesses.
18448
947b6566
LL
184492011-03-28 Leo Liu <sdl.web@gmail.com>
18450
18451 * abbrev.el (abbrev-table-empty-p): New function.
18452 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18453 nonempty ones. (Bug#5937)
18454
5ffb62aa
JD
184552011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18456
18457 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18458
7a097943
LL
184592011-03-27 Leo Liu <sdl.web@gmail.com>
18460
18461 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18462 for foreground and background colors.
18463 (ansi-color-make-color-map): Adapt.
18464
c5b40130
LL
184652011-03-25 Leo Liu <sdl.web@gmail.com>
18466
1f48f7d2
LL
18467 * midnight.el (midnight-time-float): Remove. Note it calculates
18468 the microsecond component incorrectly and seconds-to-time does the
18469 same job.
625897ec 18470 Remove redundant (require 'timer).
1f48f7d2 18471
c5b40130
LL
18472 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18473 (ido-completions): Remove unused arguments. (Bug#8329)
18474
d86d2721
SM
184752011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18476
18477 * minibuffer.el (completion--flush-all-sorted-completions):
18478 Remove itself from hook.
18479 (completion-at-point): Let the functions perform the completion
18480 immediately and return nil or t.
18481 * comint.el (comint-dynamic-complete-functions): Now identical to
18482 completion-at-point-functions.
18483 (comint-dynamic-list-input-ring): Remove unused var `index'.
18484 (comint--match-partial-filename, comint--unquote&expand-filename):
18485 New funs, split from comint-match-partial-filename.
18486 (comint-dynamic-complete): Use completion-at-point.
18487 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18488
e8974c48
DA
184892011-03-24 Drew Adams <drew.adams@oracle.com>
18490
18491 * thingatpt.el: Support `defun'.
18492
def71b5e
LL
184932011-03-23 Leo Liu <sdl.web@gmail.com>
18494
cb5af48e
LL
18495 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18496
def71b5e
LL
18497 * help-mode.el (help-mode-finish): Tweak regexp.
18498
927c53e7
GM
184992011-03-23 Glenn Morris <rgm@gnu.org>
18500
18d05bed
GM
18501 * eshell/esh-opt.el (eshell-eval-using-options):
18502 Do not bind unused local variable `eshell-option-stub'.
18503
927c53e7
GM
18504 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18505
9d0da923
JB
185062011-03-22 Juanma Barranquero <lekktu@gmail.com>
18507
18508 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18509 keymap variable in `with-no-warnings' to avoid a warning when the
18510 keymap has been already `defconst'ed.
18511
4b978a67
LL
185122011-03-22 Leo Liu <sdl.web@gmail.com>
18513
18514 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18515 encode all chars in abbrevs; otherwise use emacs-mule or
18516 utf-8-emacs. (Bug#8308)
18517
5fd62452
JB
185182011-03-22 Juanma Barranquero <lekktu@gmail.com>
18519
0b1596c6
JB
18520 * simple.el (backward-delete-char-untabify):
18521 Avoid warning about using `delete-backward-char'.
18522
5fd62452
JB
18523 * image.el (image-type-file-name-regexps): Make it variable.
18524 `imagemagick-register-types' modifies it, and the user may want
18525 to add new extensions for known image types.
18526 (imagemagick-register-types): Throw error if not using ImageMagick.
18527
0b4e93f1
LL
185282011-03-22 Leo Liu <sdl.web@gmail.com>
18529
18530 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18531 located before rcirc-prompt-end-marker.
18532 (rcirc-complete): Error if point is not after rcirc prompt.
18533 Handle the case when table is nil.
9882e214 18534 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18535
fccee4ab
CY
185362011-03-22 Chong Yidong <cyd@stupidchicken.com>
18537
18538 * custom.el (custom--inhibit-theme-enable): Make it affect only
18539 custom-theme-set-variables and custom-theme-set-faces.
18540 (provide-theme): Ignore custom--inhibit-theme-enable.
18541 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18542 (custom-enabling-themes): Delete variable.
d86d2721
SM
18543 (enable-theme): Accept only loaded themes as arguments.
18544 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18545 (custom-enabled-themes): Forbid themes from setting this.
18546 Eliminate use of custom-enabling-themes.
18547 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18548
af896da6
LL
185492011-03-21 Leo Liu <sdl.web@gmail.com>
18550
18551 * ido.el (ido-read-internal): Add ido-selected to history instead
18552 of user input.
18553
78f64af0
SM
185542011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18555
18556 * subr.el (deferred-action-list, deferred-action-function):
18557 Mark obsolete.
18558
b16ac1ec
LL
185592011-03-21 Leo Liu <sdl.web@gmail.com>
18560
810f7698
LL
18561 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18562 change on 2011-02-13 (bug#8309).
18563
b16ac1ec
LL
18564 * minibuffer.el (read-file-name-function): Change default value.
18565 (read-file-name--defaults): Rename from read-file-name-defaults.
18566 (read-file-name-default): Rename from read-file-name.
18567 (read-file-name): Call read-file-name-function.
18568
4e05e67e
GM
185692011-03-21 Glenn Morris <rgm@gnu.org>
18570
18571 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18572 Doc fixes.
18573
4359915b
CY
185742011-03-21 Chong Yidong <cyd@stupidchicken.com>
18575
18576 * cus-theme.el: Add missing provide statement.
18577 (customize-create-theme): Extract theme value correctly.
18578 (custom-theme-visit-theme): Autoload.
18579 (customize-create-theme): Prompt before inserting default faces.
18580
1fe275ee
JB
185812011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18582
18583 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18584 units and musical notes.
18585
cd394be1 185862011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18587
18588 * ido.el (ido-read-internal): Use completing-read-default.
18589 (ido-completing-read): Fix compatibility with completing-read.
18590
7d476bde
CO
185912011-03-20 Christian Ohler <ohler@gnu.org>
18592
18593 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18594 (ert-delete-all-tests): Use `called-interactively-p' rather than
18595 `interactive-p'.
18596 (ert--make-xrefs-region): Respect END.
18597
fe0fb33e
CY
185982011-03-19 Chong Yidong <cyd@stupidchicken.com>
18599
ff854b0b
CY
18600 * dired-aux.el (dired-create-directory): Signal an error if the
18601 directory already exists (Bug#8246).
18602
fe0fb33e
CY
18603 * facemenu.el (list-colors-display): Call list-faces-display
18604 inside with-help-window.
18605 (list-colors-print): Use display property to align the final
18606 column, instead of checking window-width.
18607
576bce32
EZ
186082011-03-19 Eli Zaretskii <eliz@gnu.org>
18609
4d61f28d 18610 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18611 windows-nt systems.
18612 (emerge-protect-metachars): Quote correctly for ms-dos and
18613 windows-nt systems.
18614
89c41d68 186152011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18616
18617 * info.el (info-initialize): Replace all uses of `:' with
18618 path-separator for compatibility with non-Unix systems.
18619 Cache quoting of path-separator. (Bug#8258)
18620
b14e3e21 186212011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18622
18623 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18624 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18625 (mouse-avoidance-mode): Fix typos in docstrings.
18626
4525ce3e
CY
186272011-03-19 Chong Yidong <cyd@stupidchicken.com>
18628
18629 * startup.el (package-subdirectory-regexp): Move from package.el.
18630 Omit \\` and \\', and let callers add them.
18631
18632 * emacs-lisp/package.el (package-strip-version)
18633 (package-load-all-descriptors): Add \\` and \\' to
18634 package-subdirectory-regexp before using it.
18635 (package-untar-buffer): New arg DIR; ensure that file untars only
18636 into this expected directory. Remove superfluous delete-region.
18637 (package-unpack): Caller changed.
18638 (package-tar-file-info): Use package-subdirectory-regexp.
18639
a904a09a 186402011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18641
a904a09a
SM
18642 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18643 diff-mode-shared-map (bug#8284).
18644 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18645
186462011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18647
18648 * calendar/time-date.el (format-seconds): Use assoc instead of
18649 assoc-string, since assoc-string doesn't exist in XEmacs.
18650
171fc304
JB
186512011-03-17 Juanma Barranquero <lekktu@gmail.com>
18652
18653 * custom.el (custom-known-themes): Reflow docstring.
18654 (custom-theme-load-path): Fix typo in docstring.
18655 (load-theme): Fix typo in error message.
18656 (custom-available-themes, custom-variable-theme-value):
18657 Use `let', not `let*'.
18658
d71990a1
JB
186592011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18660
18661 * calc/README: Mention inclusion of musical notes.
18662
18663 * calc/calc-units.el (calc-lu-quant): Rename from
18664 `calc-logunits-quantity'.
18665 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18666 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18667 (calc-db): Rename from `calc-dblevel'.
18668 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18669 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18670 (calc-np): Rename from `calc-nplevel'.
18671 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18672 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18673 (calc-lu-plus): Rename from `calc-logunits-add'.
18674 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18675 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18676 (calc-lu-minus): Rename from `calc-logunits-sub'.
18677 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18678 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18679 (calc-lu-times): Rename from `calc-logunits-mul'.
18680 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18681 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18682 (calc-lu-divide): Rename from `calc-logunits-div'.
18683 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18684 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18685
18686 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18687 functions being autoloaded.
18688
18689 * calc/calc.el (calc-lu-power-reference): Rename from
18690 `calc-logunits-power-reference'.
18691 (calc-lu-field-reference): Rename from
18692 `calc-logunits-field-reference'.
18693
7a71b18d
GM
18694 * calc/calc-help.el (calc-l-prefix-help):
18695 Mention musical note functions.
d71990a1 18696
40c2934b
SM
186972011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18698
18699 * minibuffer.el (completion-all-sorted-completions):
18700 Use :completion-cycle-penalty text property if present.
18701
b0911414
KM
187022011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18703
18704 * allout.el (allout-yank-processing): Adjust for new rebulleting
18705 regime so bullet being yanked is used without prompting the user
18706 for a choice.
18707
8a05b668
JB
187082011-03-16 Juanma Barranquero <lekktu@gmail.com>
18709
18710 * startup.el (command-line): Warn the user that _emacs is deprecated.
18711
5ba5fb81
JB
187122011-03-16 Juanma Barranquero <lekktu@gmail.com>
18713
18714 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18715 (delphi-verbose, delphi-comment-face, delphi-string-face)
18716 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18717 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18718 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18719 (delphi-new-comment-line, delphi-font-lock-defaults)
18720 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18721 Fix typos in docstrings.
18722
2dab465b
KM
187232011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18724
5ba5fb81 18725 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18726 Invert the roles of character and string values for INSTEAD, so a
18727 string is used for the more common case of a defaulting prompt.
18728
0adf5618
SM
187292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18730
18731 * progmodes/ruby-mode.el (ruby-backward-sexp):
18732 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18733 * play/gamegrid.el (gamegrid-make-face):
18734 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18735 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18736 * notifications.el (notifications-notify):
18737 * net/xesam.el (xesam-search-engines):
18738 * net/quickurl.el (quickurl-list-insert):
18739 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18740
d72700e5
CY
187412011-03-15 Chong Yidong <cyd@stupidchicken.com>
18742
18743 * startup.el (command-line): Update package subdirectory regexp.
18744
49c5410a
SM
187452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18746
c6eee9aa
SM
18747 * allout.el (allout-abbreviate-flattened-numbering)
18748 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18749
49c5410a
SM
18750 * subr.el (read-char-choice): Only show the cursor after the prompt,
18751 not after the answer.
18752
047b2bb9
KR
187532011-03-15 Kevin Ryde <user42@zip.com.au>
18754
18755 * help-fns.el (variable-at-point): Skip leading quotes, if any
18756 (bug#8253).
18757
0a57d256
SM
187582011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18759
18760 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18761 warning message.
18762
77c992bc
MA
187632011-03-14 Michael Albinus <michael.albinus@gmx.de>
18764
18765 * shell.el (shell): When called interactively, offer to change the
18766 shell file name on remote hosts.
18767
eebc475d
TZ
187682011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18769
18770 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18771 integration for LDAP parameters. The host, base, user or binddn,
18772 and secret tokens can be specified in a netrc file, for instance.
18773 This is optional because an `auth-source' parameter must be
18774 specified in the search attributes.
18775
9d05d1ba
JB
187762011-03-13 Juanma Barranquero <lekktu@gmail.com>
18777
18778 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18779
09d9db2c
GM
187802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18781
18782 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18783 into declaration. Remove redundant and harmful binding.
18784
187852011-03-12 Eli Zaretskii <eliz@gnu.org>
18786
18787 * files.el (file-ownership-preserved-p): Pass `integer' as an
18788 explicit 2nd argument to `file-attributes'. If the file's owner
18789 is the Administrators group on Windows, and the current user is
18790 Administrator, consider that a match.
18791
18792 * server.el (server-ensure-safe-dir): Consider server directory
18793 safe on MS-Windows if its owner is the Administrators group while
18794 the current Emacs user is Administrator. Use `=' to compare
18795 numerical UIDs, since they could be integers or floats.
18796
219bd536
JB
187972011-03-12 Juanma Barranquero <lekktu@gmail.com>
18798
18799 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18800
f3afd36b
MA
188012011-03-12 Michael Albinus <michael.albinus@gmx.de>
18802
18803 Sync with Tramp 2.2.1.
18804
18805 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18806
18807 * net/trampver.el: Update release number.
18808
3aaaa6f1
SM
188092011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18810
94642599
SM
18811 * progmodes/compile.el (compilation--previous-directory): Fix up
18812 various nil/dead-marker mismatches (bug#8014).
18813 (compilation-directory-properties, compilation-error-properties):
18814 Don't call it at a position past the one we're about to change.
18815
3aaaa6f1
SM
18816 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18817 Disable obsolescence warnings in the file that declares it.
18818
14239447
KM
188192011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18820
099c39a4
JB
18821 * allout-widgets.el (allout-widgets-tally):
18822 Initialize allout-widgets-tally as a hash table rather than nil to
18823 prevent mode-line redisplay warnings. Also, clarify the module
18824 description and fix a comment typo.
14239447 18825
135e287c
JB
188262011-03-11 Juanma Barranquero <lekktu@gmail.com>
18827
18828 * help-fns.el (describe-variable): Don't complete keywords.
18829 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18830
ffbf300e
CY
188312011-03-10 Chong Yidong <cyd@stupidchicken.com>
18832
ba08b241
CY
18833 * emacs-lisp/package.el (package-version-join): Impose a standard
18834 string representation for pre/alpha/beta version lists.
18835 (package-unpack-single): Standardize the directory name by passing
18836 it through package-version-join.
18837 (package-strip-rcs-id): Accept any version string that does not
18838 signal an error in version-to-list.
ffbf300e 18839
f346fd6b
MA
188402011-03-10 Michael Albinus <michael.albinus@gmx.de>
18841
18842 * simple.el (delete-trailing-whitespace): Return nil for the
18843 benefit of `write-file-functions'.
18844
ccb55d27
GM
188452011-03-10 Glenn Morris <rgm@gnu.org>
18846
5ceaac0c
GM
18847 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18848
02da65ff
GM
18849 * vc/vc-git.el (vc-git-program): New option.
18850 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18851 (vc-git--call): Use it.
18852
b2f603cc
GM
18853 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18854
5772caab
GM
18855 * cus-edit.el (Custom-newline): If no button at point, look
18856 for a subgroup button at start-of-line. (Bug#2298)
18857
ccb55d27
GM
18858 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18859
ec6ecaed
JD
188602011-03-10 Julien Danjou <julien@danjou.info>
18861
18862 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18863 `cursor-type' is nil.
18864
9d5aa01d
JB
188652011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18866
18867 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18868
b6a5875b
KM
188692011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18870
7a71b18d 18871 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
18872 preserves the existing header prefix, rebulleting it if necessary,
18873 rather than replacing it. This is necessary for proper operation
18874 of cooperative addons like allout-widgets.
1154d12e
JB
18875 (allout-make-topic-prefix, allout-rebullet-heading):
18876 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18877 value as alternate bullet to be used, instead of prompting the user
18878 for a bullet character.
b6a5875b 18879
ee545c35
MA
188802011-03-09 Michael Albinus <michael.albinus@gmx.de>
18881
d86d2721
SM
18882 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18883 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
18884 `tramp-default-port'.
18885
c47971d7
DD
188862011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18887
18888 * net/rcirc.el (rcirc-handler-001): Remove useless
18889 with-rcirc-process-buffer.
18890 (rcirc-check-auth-status): Swap arguments to string-match.
18891
13522cb4
GM
188922011-03-09 Glenn Morris <rgm@gnu.org>
18893
0be6f4f1
GM
18894 * shell.el (shell-mode):
18895 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18896
13522cb4
GM
18897 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18898 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18899
515de2e3
CY
189002011-03-08 Chong Yidong <cyd@stupidchicken.com>
18901
18902 * emacs-lisp/package.el (package-refresh-contents)
18903 (package-menu-execute): Use condition-case-no-debug.
18904
b511b994
MA
189052011-03-08 Michael Albinus <michael.albinus@gmx.de>
18906
18907 * simple.el (shell-command-to-string): Use `process-file'.
18908
18909 * emacs-lisp/package.el (package-tar-file-info): Handle also
18910 remote files.
18911
d86d2721
SM
18912 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18913 Use `equal' for upload base check.
b511b994 18914
25bbfb31
AM
189152011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18916
18917 * textmodes/texinfo.el (texinfo-environments):
18918 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18919
be996521
GM
189202011-03-08 Glenn Morris <rgm@gnu.org>
18921
e9c8529f
GM
18922 * cus-start.el (cursor-in-non-selected-windows):
18923 Fix :set quoting oddness. (Bug#8192)
18924
be996521
GM
18925 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18926 in some setf expressions. (Bug#2159)
18927
2bb5649e
CY
189282011-03-08 Chong Yidong <cyd@stupidchicken.com>
18929
18930 * custom.el (custom-available-themes): Return themes in
18931 alphabetical order.
18932
33383987 18933See ChangeLog.15 for earlier changes.
e3d51b27
MR
18934
18935;; Local Variables:
18936;; coding: utf-8
e3d51b27
MR
18937;; End:
18938
acaf905b 18939 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
18940
18941 This file is part of GNU Emacs.
18942
18943 GNU Emacs is free software: you can redistribute it and/or modify
18944 it under the terms of the GNU General Public License as published by
18945 the Free Software Foundation, either version 3 of the License, or
18946 (at your option) any later version.
18947
18948 GNU Emacs is distributed in the hope that it will be useful,
18949 but WITHOUT ANY WARRANTY; without even the implied warranty of
18950 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18951 GNU General Public License for more details.
18952
18953 You should have received a copy of the GNU General Public License
18954 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.