lisp/proced.el: new command proced-renice
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6fab0274
RW
12012-09-23 Roland Winkler <winkler@gnu.org>
2
3 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
4 ibuffer-saved-filter-groups has one element, shortcut the call of
5 completing-read. (Bug#12331)
6
9a930676
CY
72012-09-23 Chong Yidong <cyd@gnu.org>
8
9 * bindings.el (mode-line-toggle-read-only):
10 * bs.el (bs-toggle-readonly):
11 * buff-menu.el (Buffer-menu-toggle-read-only):
12 * dired.el (dired-toggle-read-only):
13 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
14
d07ff9db
CY
152012-09-23 Chong Yidong <cyd@gnu.org>
16
17 * image.el (image-type-available-p): Adapt to init-image-library
18 argument changes.
19
51c4474e
JL
202012-09-22 Juri Linkov <juri@jurta.org>
21
22 * dired.el (dired-mode-map): Add [remap read-only-mode] for
23 `dired-toggle-read-only'. (Bug#12462)
24
43bf5e8e
MR
252012-09-22 Martin Rudalics <rudalics@gmx.at>
26
27 * subr.el (temp-output-buffer-show): New function.
28 (with-output-to-temp-buffer): Call temp-output-buffer-show
29 instead of internal-temp-output-buffer-show.
30
c88b867f
CY
312012-09-22 Chong Yidong <cyd@gnu.org>
32
3df47cd5
CY
33 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
34 (Bug#12462).
35
c88b867f
CY
36 * repeat.el (repeat): Doc fix (Bug#12348).
37
38 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
39 (Bug#10909).
40
41 * simple.el (shell-command-on-region): Doc fix.
3171e303 42 (read-only-mode): Doc fix.
c88b867f 43
df9685f3
EZ
442012-09-22 Eli Zaretskii <eliz@gnu.org>
45
46 * emacs-lisp/timer.el (run-with-idle-timer)
47 (timer-activate-when-idle): Warn against reinvoking an idle timer
48 from within its own timer action. (Bug#12447)
49
8e17c9ba
MR
502012-09-22 Martin Rudalics <rudalics@gmx.at>
51
52 * cus-start.el (window-combination-limit): Add new optional
53 values.
54 * window.el (temp-buffer-window-show)
55 (window--try-to-split-window): Handle new values of
56 window-combination-limit (Bug#1806).
57 (split-window): Test window-combination-limit for t instead of
58 non-nil.
59 (display-buffer-at-bottom): New buffer display action function.
60 * help.el (temp-buffer-resize-regexps): New option.
61 (temp-buffer-resize-mode): Rewrite doc-string.
62 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 63 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 64
48a24920
SM
652012-09-22 Stefan Merten <smerten@oekonux.de>
66
67 * rst.el: Revamp section title faces.
68 (rst-official-version)
69 (rst-package-emacs-version-alist): Sync with official version
70 V1.4.0.
71 (rst-faces-defaults, rst-set-level-default)
72 (rst-level-face-max, rst-level-face-base-color)
73 (rst-level-face-base-light, rst-level-face-format-light)
74 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
75 (rst-adornment-faces-alist): Match new setup.
76 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
77 (rst-level-5, rst-level-6): New faces.
78
82f8cd94
CY
792012-09-22 Chong Yidong <cyd@gnu.org>
80
81 * simple.el (undo): Handle indirect buffers (Bug#8207).
82
acfa068f 832012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
84
85 IDO: Disable match re-ordering for buffer switching.
2bc9406c 86 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
87 (ido-set-matches-1): Use it. (Bug#2042)
88
acfa068f 892012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
90
91 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
92 Fix 2011-05-17 change. (Bug#12418)
93
acfa068f 942012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
95
96 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
97
acfa068f 982012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
99
100 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
101 Be more robust about locating simple.el.
102
acfa068f 1032012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
104
105 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
106
acfa068f
CY
1072012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
108
109 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
110
41a97e6f
JL
1112012-09-20 Juri Linkov <juri@jurta.org>
112
eb2deaff
JL
113 * replace.el (query-replace-read-from): Use `read-regexp' instead
114 of `read-from-minibuffer' when `regexp-flag' is non-nil.
115 (occur-read-primary-args): Use `read-regexp' instead of
116 `read-string'.
117 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
118 `read-from-minibuffer'.
119 * isearch.el (isearch-occur): Use `read-regexp' instead of
120 `read-string'.
121 * dired.el (dired-read-regexp): Use `read-regexp' instead of
122 `read-from-minibuffer'.
123 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
124 of `read-string'. (Bug#7567)
125
5825610b
JL
126 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
127 and allow accepting a list of strings prepended to a list of
128 standard default values. Doc fix. (Bug#12321)
129
eebbf404
JL
130 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
131
41a97e6f
JL
132 * replace.el (read-regexp): Don't add ": " when PROMPT already
133 ends with a colon and space. (Bug#12321)
134
c9e452d3
TH
1352012-09-20 Tassilo Horn <tsdh@gnu.org>
136
137 * doc-view.el (doc-view-display): Better fix for the cl-assertion
138 error.
139
ee97deee
SM
1402012-09-20 Stefan Merten <smerten@oekonux.de>
141
142 * rst.el: Integrate support for `imenu' and `which-function'.
143 Fixes feature request bug#11711.
144 (rst-mode): Create `imenu-create-index-function'.
145 (rst-get-stripped-line): Delete after refactoring.
146 (rst-section-tree, rst-section-tree-rec)
147 (rst-section-tree-point): Refactor and document properly.
148 (rst-imenu-find-adornments-for-position)
149 (rst-imenu-convert-cell, rst-imenu-create-index): New
150 function.
151
f490dab9
SM
1522012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
153
95b9712e
SM
154 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
155 (macroexp--expand-all): Use it.
156 (macroexp--funcall-and-return): Remove by folding it into its sole
157 caller (macroexp--warn-and-return).
158 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
159 Use macroexp--obsolete-warning.
160
f490dab9
SM
161 * calc/calc.el: Fix last change by removing the whole chunk, since it
162 was only needed back when Calc was not bundled.
163
96e8d411
MR
1642012-09-20 Martin Rudalics <rudalics@gmx.at>
165
166 * emacs-lisp/debug.el (debug): Restore assignment to
167 debugger-old-buffer removed on 2012-09-08.
168
0876a82d
JL
1692012-09-20 Juri Linkov <juri@jurta.org>
170
171 * dired-aux.el (dired-diff): Remove (require 'diff) since
172 `diff-latest-backup-file' is now autoloaded.
173
9f7c28f0
CY
1742012-09-20 Chong Yidong <cyd@gnu.org>
175
176 * vc/diff.el (diff-latest-backup-file): Autoload.
177
7a04bee9
SM
1782012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
179
e6f0a80d
SM
180 * calc/calc.el: Remove redundant autoload shape check.
181 (sel-mode): Don't defvar.
182 (calc-get-stack-element): Add `sel-mode' arg instead.
183 (calc-top, calc-top-list): Pass it this additional argument.
184 * calc/calc-store.el (calc-store-map):
185 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
186 (calc-map-equation, calc-outer-product, calc-inner-product):
187 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
188
7a04bee9
SM
189 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
190
12734222
JL
1912012-09-19 Juri Linkov <juri@jurta.org>
192
193 * dired-aux.el (dired-diff): Add (require 'diff) because
194 `diff-latest-backup-file' is not autoloaded.
195 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
196 of `dired-get-filename' to t to not report error when there is
197 no default file on the current line.
198
46624b4f
SM
1992012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
200
ce97595b
SM
201 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
202 macroexp--eval-if-compile.
203 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
204 (macroexp--expand-all): Use them (bug#12371).
205
46624b4f
SM
206 * doc-view.el (doc-view-guess-paper-size)
207 (doc-view-scale-bounding-box): Fix unbound `caddr'.
208
db8a5a18
TH
2092012-09-19 Tassilo Horn <tsdh@gnu.org>
210
211 New feature: set optimal slice from BoundingBox information.
212 * doc-view.el (doc-view-mode-map): Add keybinding.
213 (doc-view-menu): Add menu entry.
214 (doc-view-set-slice): Adapt docstring.
215 (doc-view-get-bounding-box, doc-view-guess-paper-size)
216 (doc-view-scale-bounding-box)
217 (doc-view-set-slice-from-bounding-box): New functions.
218 (doc-view-paper-sizes): New defvar.
219
69f6644c
GM
2202012-09-19 Glenn Morris <rgm@gnu.org>
221
35f5b19d
GM
222 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
223 (byte-compile-log-warning): Autoload. (Bug#12371)
224
69f6644c
GM
225 * calendar/calendar.el (calendar-american-month-header)
226 (calendar-european-month-header, calendar-iso-month-header)
227 (calendar-month-header): New options.
228 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
229 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
230
e543ae91
JD
2312012-09-19 Jan Djärv <jan.h.d@swipnet.se>
232
233 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
234
2fd5e67d
JL
2352012-09-18 Juri Linkov <juri@jurta.org>
236
237 * dired-aux.el (dired-diff): Restore original functionality of
238 getting the default value, but keep new feature of using the
239 latest existing backup file (`diff-latest-backup-file').
240
42917e79
JL
2412012-09-18 Juri Linkov <juri@jurta.org>
242
243 * dired.el (dired-mark): If the region is active in Transient Mark
244 mode, mark all files in the active region. Doc fix.
245 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
246 Doc fix. (Bug#10624)
247
20f70ede
JL
2482012-09-18 Juri Linkov <juri@jurta.org>
249
250 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
251 attributes for M-n are pulled from the file at point.
252 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
253 Suggested by Drew Adams. (Bug#10624)
254
32fb8162
DG
2552012-09-18 Dmitry Gutov <dgutov@yandex.ru>
256
257 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
258 whitespace after "end".
259 (ruby-do-end-to-brace): Collapse block to one line if it fits
260 within fill-column.
261
37ab5092
MR
2622012-09-18 Martin Rudalics <rudalics@gmx.at>
263
264 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
265 value.
266 (debug): Don't remove debugger window when debugger is expected
267 to be back.
268
ed1f0bd3
CY
2692012-09-18 Chong Yidong <cyd@gnu.org>
270
271 * custom.el (defface): Doc fix.
272
273 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
274
a11035b8
MB
2752012-09-18 Martin Blais <blais@furius.ca> (tiny change)
276
277 * progmodes/compile.el (compilation-start): Use compilation-always-kill
278 to initialize query-on-exit; then test that instead (bug#12288).
279
64f6a736
SM
2802012-09-17 Stefan Merten <smerten@oekonux.de>
281
282 * rst.el: Add support for `testcover'.
283 (rst-defcustom-testcover, rst-testcover-add-compose)
284 (rst-testcover-add-1value): New functions.
285 (rst-portable-mark-active-p): Replace by `use-region-p'.
286 (rst-update-section, rst-classify-adornment)
287 (rst-find-title-line): Mark `1value' forms.
288 (rst-classify-adornment): Remove superfluous form.
289 (rst-update-section, rst-get-adornments-around)
290 (rst-adornment-complete-p, rst-get-next-adornment)
291 (rst-adjust, rst-promote-region)
292 (rst-display-adornments-hierarchy, rst-straighten-adornments)
293 (rst-find-pfx-in-region, rst-section-tree-rec)
294 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
295 (rst-toc-node, rst-toc, rst-forward-section)
296 (rst-iterate-leftmost-paragraphs)
297 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
298 (rst-bullet-list-region)
299 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
300 (rst-compile-find-conf, rst-compile)
301 (rst-repeat-last-character): Fix style.
302
580bd868
CY
3032012-09-17 Chong Yidong <cyd@gnu.org>
304
305 * comint.el (comint--complete-file-name-data): Don't add a space
306 if the status is `sole'; that adds a gratuitous space in the
307 completion-cycling case (Bug#12092).
308
309 * pcomplete.el (pcomplete-completions-at-point): Likewise.
310
69de3ec6
RS
3112012-09-17 Richard Stallman <rms@gnu.org>
312
0dee970c
RS
313 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
314 only in the mime-shown mode, not in raw mode.
315 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 316 mime processing. (Bug#12305)
0dee970c 317
6b250df6
GM
318 * mail/rmail.el (rmail-retry-failure):
319 Turn off mime processing first. (Bug#12037)
acb1c47b 320
69de3ec6
RS
321 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
322
d079ee5f
CY
3232012-09-17 Chong Yidong <cyd@gnu.org>
324
325 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
326 (shell-dynamic-complete-functions): Convert to defcustom.
327 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
328
865fe16f
CY
329 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
330 * comint.el (comint-prompt-read-only):
331 * custom.el (defcustom):
332 * hi-lock.el (hi-lock-mode):
333 * ibuffer.el (ibuffer-formats):
334 * ielm.el (ielm-prompt-read-only):
335 * novice.el (disable-command):
336 * saveplace.el (toggle-save-place):
337 * speedbar.el (speedbar-supported-extension-expressions):
338 * startup.el (auto-save-list-file-prefix, init-file-user)
339 (after-init-hook, inhibit-startup-echo-area-message):
340 * strokes.el (strokes-help):
341 * time-stamp.el (time-stamp):
342 * calendar/calendar.el (calendar, diary-file):
343 * calendar/diary-lib.el (diary-mail-entries, diary)
344 (diary-list-entries-hook):
345 * calendar/holidays.el (holidays, calendar-holidays):
346 * calendar/lunar.el (lunar-phases):
347 * calendar/solar.el (sunrise-sunset):
348 * emulation/edt.el (edt-load-keys):
349 * emulation/viper.el (viper-mode):
350 * eshell/em-alias.el (eshell-command-aliases-list):
351 * eshell/esh-util.el (eshell-convert-numeric-arguments):
352 * international/ogonek.el (ogonek-information):
353 * net/tramp-cmds.el (tramp-bug):
354 * net/quickurl.el (quickurl-reread-hook-postfix):
355 * play/decipher.el (decipher-font-lock-keywords):
356 * progmodes/cc-styles.el (c-set-style):
357 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
358 * progmodes/inf-lisp.el (inferior-lisp-prompt):
359 * progmodes/octave-mod.el (octave-mode):
360 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
361 * progmodes/verilog-mode.el (verilog-read-defines):
362 * textmodes/two-column.el (2C-mode): Likewise.
363
48093eb9
KY
3642012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
365
366 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
367 that holds many addresses.
368
c584eaf9
CY
3692012-09-16 Chong Yidong <cyd@gnu.org>
370
40d70ecb
CY
371 * align.el (align-areas): Call the indication function with
372 positions instead of markers for arguments (Bug#12343).
373
1667e065
CY
374 * files.el (parse-colon-path): Use split-string (Bug#12351).
375
fdc2806d 376 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 377 (display-buffer-function): Mark as obsolete.
fdc2806d 378
f1be615c 379 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
380 values similar to font-lock-keywords (Bug#12136).
381 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
382 (compilation-error-regexp-alist): Doc fix.
383
f40a9709
GM
3842012-09-15 Glenn Morris <rgm@gnu.org>
385
72aa16e1
GM
386 * version.el (emacs-bzr-version-bzr): New function.
387 (emacs-bzr-get-version): Add optional EXTERNAL argument.
388
82375160
GM
389 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
390 checkouts, check the parent dirstate matches the branch.
391 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
392 empty string.
393
f40a9709
GM
394 * version.el (emacs-bzr-version): Doc fix.
395 (emacs-bzr-version-dirstate): New function.
396 (emacs-bzr-get-version): For lightweight checkouts, if the parent
397 is local try and check that it matches the branch. If not, just
398 use dirstate information. (Bug#12441)
399
cb26b7f5
JL
4002012-09-14 Juri Linkov <juri@jurta.org>
401
402 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
403 (Bug#12399)
404
2de39f08
SM
4052012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
406
0fb3cb7c
SM
407 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
408
2de39f08
SM
409 * emacs-lisp/edebug.el: Miscellaneous cleanup.
410 Remove obsolete byte-compiler hack that tried to silence some warnings.
411 (edebug-submit-bug-report): Remove.
412 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
413 Remove aliases, use the un-prefixed name instead.
414 (edebug-pop-to-buffer): Consider other frames.
415 (edebug-original-read):: Make it more obvious that it's always defined.
416 (edebug--make-form-data-entry, edebug--form-data-name)
417 (edebug--form-data-begin, edebug--form-data-end): Rename from the
418 single-dashed name, and implement with cl-defstruct.
419 (edebug-set-form-data-entry): Use the standard accessors.
420 (edebug-make-top-form-data-entry): Use push.
421 (edebug-no-match): Drop useless `funcall'.
422 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
423 to functions.
424 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
425 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
426 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
427 (easy-menu-define, with-custom-print): Remove redundant specs.
428 (edebug-outside-overriding-local-map)
429 (edebug-outside-overriding-terminal-local-map): Remove, unused.
430 (edebug--display): Bind unread-command-events directly to nil rather
431 than binding it to unread-command-events and later setting it to nil.
432 (edebug--display): Kill edebug-eval-buffer here...
433 (edebug--recursive-edit): ...rather than here.
434 Bind standard-output and standard-input.
435 (edebug-eval): Check cl-macroexpand-all is fboundp.
436 (edebug-temp-display-freq-count): Fix last change.
437
438 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
439 * subr.el (noreturn, 1value): Add `debug' spec.
440 * emacs-lisp/advice.el: Require cl-lib.
441 (ad-copy-tree): Remove, use copy-tree instead.
442 (ad-dolist): Remove use dolist or cl-dolist instead.
443 (ad-do-return): Remove, use cl-return instead.
444 (defadvice): Add `debug' spec.
445
5b68b333
JL
4462012-09-13 Juri Linkov <juri@jurta.org>
447
448 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
449 (Bug#12399)
450
b9800ec4
GM
4512012-09-13 Glenn Morris <rgm@gnu.org>
452
6a2e6868
GM
453 * calc/calc.el (math-compose-expr):
454 * calc/calc-ext.el (math-compose-expr):
455 * progmodes/cc-defs.el (cl-macroexpand-all):
456 * progmodes/cc-langs.el (delete-duplicates, mapcan)
457 (cl-macroexpand-all): Update declarations.
458
b9800ec4
GM
459 * vc/vc.el: No need to require ediff.
460 (ediff-load-version-control): Declare.
461 (ediff-vc-internal): Fix declaration.
462 (vc-version-ediff): Require ediff.
463
c18e885b
PE
4642012-09-13 Paul Eggert <eggert@cs.ucla.edu>
465
466 Use a more backwards-compatible timer format (Bug#12430).
467 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
468 being right after USECS, as that better supports old code that
469 inadvisedly looked directly at the timer vector.
470
d607d303
KH
4712012-09-13 Kenichi Handa <handa@gnu.org>
472
473 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
474 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
475 `coding-priority' property of these language environment.
476
72eac303
PE
4772012-09-13 Paul Eggert <eggert@cs.ucla.edu>
478
479 Fix glitches caused by addition of psec to timers (Bug#12430).
480 * image.el (image-animate-timer):
481 * time.el (display-time-world-timer):
482 Use timer--function and timer--args rather than raw access to
483 timer vector.
484
2168fe4f
GM
4852012-09-13 Glenn Morris <rgm@gnu.org>
486
487 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
488 If not compiling a file, try using load-file-name.
489
bd8d6108
SM
4902012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
491
c0c54fbd
SM
492 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
493 Fix last change.
494 (edebug-update-eval-list): Use `push'.
495
bd8d6108
SM
496 * emacs-lisp/edebug.el: Use lexical-binding.
497 Remove the "edebug-" prefix from non-dynamically-scoped variables.
498 Mark unused args with underscore.
499 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
500 (edebug-form-data): Use defvar-local.
501 (edebug-make-before-and-after-form, edebug-make-after-form):
502 Use backquote.
503 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
504 Not dynamically scoped any more.
505 (edebug--enter-trace): Add arguments `function' and `args'.
506 Rename from edebug-enter-trace.
507 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
508 (edebug--update-coverage): Add `after-index' and `value' args.
509 Rename from edebug-update-coverage.
510 (edebug-slow-after): Call it accordingly.
511 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
512 edebug-recursive-edit.
513 (edebug--display): Call it accordingly. Add args `value',
514 `offset-index', and `arg-mode'. Rename from edebug-display.
515 (edebug-debugger, edebug): Call it accordingly.
516 (edebug-eval-display-list): Use dolist.
517
a9f9d9de
JL
5182012-09-12 Juri Linkov <juri@jurta.org>
519
520 * info.el (Info-search): Don't check for isearch-mode and
521 isearch-regexp before let-binding search-spaces-regexp to
522 Info-search-whitespace-regexp.
523 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
524 search-whitespace-regexp if isearch-lax-whitespace or
525 isearch-regexp-lax-whitespace is non-nil.
526 (Info-mode): Don't set local variable search-whitespace-regexp.
527 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
528
bfeae2cf
SM
5292012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
532 (debugger-env-macro): Remove support for unread-command-char.
533
534 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
535 the temporary map re-appearing on emulation-mode-map-alists.
536
537 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
538 since 22.1.
539
540 * ehelp.el (with-electric-help): Accept functions in
541 electric-help-form-to-execute.
542 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
543 And replace unread-command-char -> unread-command-events.
544
fbbcaf1b
MA
5452012-09-12 Michael Albinus <michael.albinus@gmx.de>
546
547 Sync with Tramp 2.2.6.
548
549 * net/tramp.el (tramp-accept-process-output): Don't use
550 JUST-THIS-ONE in the XEmacs case.
551
552 * net/trampver.el: Update release number.
553
4dece104
MR
5542012-09-12 Martin Rudalics <rudalics@gmx.at>
555
bfeae2cf
SM
556 * emacs-lisp/debug.el (debugger-previous-window-height):
557 New variable.
4dece104
MR
558 (debug): When debugger-jumping-flag is non-nil try to restore
559 height of debugger window. (Bug#8789)
560
45b82ad0
SM
5612012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
562
60c49c0f
SM
563 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
564 overriding-local-map and pre/post-command-hook here.
565 (edebug-recursive-edit): Do it here instead (bug#12345).
566 (edebug-outside-unread-command-char): Remove all uses of
567 unread-command-char.
568
45b82ad0
SM
569 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
570 inhibit-debugger is bound instead.
571
baa26ea0
BG
5722012-09-11 Bastien Guerry <bzg@gnu.org>
573
574 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 575 (Bug#12346)
baa26ea0 576
04e8abfa
BG
5772012-09-11 Bastien Guerry <bzg@gnu.org>
578
96d03571 579 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 580 (Bug#12347)
96d03571
BG
581
5822012-09-11 Bastien Guerry <bzg@gnu.org>
583
fc0c31f8 584 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 585
04e082b0
MM
5862012-09-10 Michael R. Mauger <mmaug@yahoo.com>
587
588 * progmodes/sql.el: Version 3.1
589 (sql-db2-escape-newlines): New variable.
590 (sql-escape-newlines-filter): Use it.
591
399a361b
JB
5922012-09-10 Juanma Barranquero <lekktu@gmail.com>
593
594 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
595
0780c517
DN
5962012-09-10 Dan Nicolaescu <dann@gnu.org>
597
45b82ad0
SM
598 * vc/diff-mode.el (diff-mode-menu):
599 Bind diff-remove-trailing-whitespace.
0780c517 600
9b851e25
SM
6012012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
602
603 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
604 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
605 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
606 (eval-sexp-add-defvars): Don't skip defvars in column >0.
607 (eval-defun-2): Remove bogus interactive spec.
608 (lisp-indent-line): Remove redundant whole-exp code, now done in
609 indent-according-to-mode.
610 (save-match-data): Remove redundant indent data.
611
612 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
613 Use `declare'.
614
3231d532
JL
6152012-09-09 Juri Linkov <juri@jurta.org>
616
617 * replace.el (replace-regexp-lax-whitespace): New defcustom.
618 (replace-lax-whitespace, query-replace-regexp)
619 (query-replace-regexp-eval, replace-regexp): Doc fix.
620 (perform-replace, replace-highlight): Let-bind
621 isearch-lax-whitespace to replace-lax-whitespace and
622 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
623
624 * isearch.el (isearch-query-replace): Let-bind
625 replace-lax-whitespace to isearch-lax-whitespace and
626 replace-regexp-lax-whitespace to
627 isearch-regexp-lax-whitespace. (Bug#10885)
628
70fe8236
SM
6292012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
632
8ed43f15
AM
6332012-09-09 Alan Mackenzie <acm@muc.de>
634
70fe8236
SM
635 * progmodes/cc-engine.el (c-state-cache-init):
636 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
637 (c-record-parse-state-state):
638 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 639
bfabf70a
AS
6402012-09-09 Andreas Schwab <schwab@linux-m68k.org>
641
642 * register.el (register-separator): Rename from
643 separator-register. All uses changed. Doc fix.
644 (register): Fix version.
645
011474aa
CY
6462012-09-09 Chong Yidong <cyd@gnu.org>
647
648 * replace.el (query-replace-map): Bind four new symbols for
649 requesting window scrolling.
650
651 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
652 query-replace-map (Bug#8948).
653
654 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
655
656 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
657 since they are now in query-replace-map.
658
659 * window.el (scroll-other-window-down): Make the arg optional.
660
a8b7cd8d
CY
6612012-09-09 Chong Yidong <cyd@gnu.org>
662
663 * files.el (hack-local-variables-confirm): Use quit-window to kill
664 the *Local Variables* buffer.
665
c3268831
DG
6662012-09-08 Dmitry Gutov <dgutov@yandex.ru>
667
668 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
669 not just expect to be at its beginning. Adjust callees.
670 Succeed when do-end block has no space before the pipe character.
671 (ruby-brace-to-do-end): When the original block is one-liner,
672 convert to multiline. Reindent the result.
673
0979429b
J
6742012-09-08 Jambunathan K <kjambunathan@gmail.com>
675
676 * register.el (register): New group.
677 (register-separator): New user option.
678 (increment-register): Route it to `append-to-register', if
679 register contains text. Implication is that `C-x r +' can now be
680 used for appending to a text register (bug#12217).
681 (append-to-register, prepend-to-register): Add separator based on
682 `register-separator.
683
ace2989a
AM
6842012-09-08 Alan Mackenzie <acm@muc.de>
685
686 AWK Mode: make auto-newline work when there's "==" in the pattern.
687 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
688 correctly.
0979429b
J
689 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
690 Test more rigorously for "=" token.
ace2989a 691
616c6c36
DG
6922012-09-08 Dmitry Gutov <dgutov@yandex.ru>
693
0979429b
J
694 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
695 Only fail when reached LIMIT.
616c6c36 696
35d98877
CY
6972012-09-08 Chong Yidong <cyd@gnu.org>
698
699 * dired.el (dired-mode-map): Don't bind M-=.
700
701 * dired-aux.el (dired-diff): Use backup file as default.
702
1715f2db
DA
7032012-09-08 Drew Adams <drew.adams@oracle.com>
704
705 * subr.el (add-to-history): Fix delete usage (Bug#12314).
706
6dcef6ec
CY
7072012-09-08 Chong Yidong <cyd@gnu.org>
708
709 * subr.el (syntax-after, syntax-class): Doc fix.
710
fa2bcf43
MR
7112012-09-08 Martin Rudalics <rudalics@gmx.at>
712
713 * window.el (display-buffer-in-previous-window): New buffer
714 display action function.
715
716 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
717 (debugger-previous-window): New variable.
718 (debug): Rewrite using display-buffer-in-previous-window,
719 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
720
daac280a
SM
7212012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
724
9dd40b00
MM
7252012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
726
daac280a
SM
727 * progmodes/python.el (python-shell-send-string):
728 When default-directory is remote, create temp file on remote
9dd40b00
MM
729 filesystem.
730 (python-shell-send-file): When file is remote, pass local view of
731 file paths to remote Python interpreter. (Bug#12340)
732
145823ec
CY
7332012-09-07 Chong Yidong <cyd@gnu.org>
734
cee2e90d
CY
735 * window.el (switch-to-buffer): Doc fix (Bug#12181).
736
0d7eb2ea
CY
737 * files.el (after-find-file): Don't fail on a read-only buffer if
738 require-final-newline is `visit' or `visit-save' (Bug#11156).
739
145823ec
CY
740 * subr.el (read-char-choice): Allow quitting via ESC ESC.
741
daac280a
SM
742 * userlock.el (ask-user-about-supersession-threat):
743 Use read-char-choice (Bug#12093).
145823ec 744
74c582e6
CY
7452012-09-07 Chong Yidong <cyd@gnu.org>
746
e5c2edf7
CY
747 * subr.el (buffer-narrowed-p): New function.
748
749 * ses.el (ses-widen):
750 * simple.el (count-words--buffer-message):
751 * net/browse-url.el (browse-url-of-buffer): Use it
752
753 * simple.el (count-words-region): Don't signal an error if there
754 is a non-nil prefix arg and the mark is not set.
c640e87d 755
74c582e6
CY
756 * help.el (describe-key-briefly): Allow the message to be seen
757 when invoked from the minibuffer (Bug#7014).
758
d81ceaaf
DG
7592012-09-07 Dmitry Gutov <dgutov@yandex.ru>
760
761 * progmodes/ruby-mode.el (ruby-end-of-defun)
762 (ruby-beginning-of-defun): Simplify, allow indentation before
763 block beginning and end keywords.
8f06acce
DG
764 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
765 (ruby-end-of-defun): Expect that the point is at the beginning of
766 the defun.
d81ceaaf 767
d458ef98
SM
7682012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
771 (bug#12367).
772 (cl--make-usage-args): Strip _ from argument names.
773
20367d28
RS
7742012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
775
776 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
777 obsolete alias speedbar-key-map.
778 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
779 (vhdl-index-menu-init): Don't use obsolete variable
780 font-lock-maximum-size.
781
3424a4f6
CY
7822012-09-06 Chong Yidong <cyd@gnu.org>
783
784 * frame.el (window-system-version): Mark as obsolete.
785
fcbfbdea
CY
786 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
787 of obsolete variable speedbar-key-map.
788
826b3235
JL
7892012-09-06 Juri Linkov <juri@jurta.org>
790
791 * replace.el (replace-lax-whitespace): New defcustom.
792 (query-replace, query-replace-regexp, query-replace-regexp-eval)
793 (replace-string, replace-regexp): Mention it in docstrings.
794 (perform-replace, replace-highlight): Let-bind
795 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
796 to the values of replace-lax-whitespace and regexp-flag.
797 Don't let-bind search-whitespace-regexp. (Bug#10885)
798
799 * isearch.el (isearch-query-replace): Let-bind
800 replace-lax-whitespace instead of let-binding
801 replace-search-function and replace-re-search-function.
802 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
803 and isearch-regexp-lax-whitespace to lazy-highlight variables.
804 (isearch-toggle-symbol): Set isearch-regexp to nil
805 in isearch-word mode (like in isearch-toggle-word).
806
1ec5e41d
JL
8072012-09-06 Juri Linkov <juri@jurta.org>
808
809 * replace.el (replace-search-function)
810 (replace-re-search-function): Set default values to nil.
811 (perform-replace): Let-bind isearch-related variables based on
812 replace-related values, call `isearch-search-fun' and let-bind
813 the result to `search-function'. Remove code that sets
814 `search-function' and `search-string' separately for
815 `delimited-flag'.
816 (replace-highlight): Add new argument `delimited-flag' and
817 rename other arguments to the names used in `perform-replace'.
818 Let-bind `isearch-word' to the argument `delimited-flag'.
819 (Bug#10885, bug#10887)
820
0ba2d4b6
DG
8212012-09-07 Dmitry Gutov <dgutov@yandex.ru>
822
823 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
824 ruby-beginning-of-indent, simplify, allow all keywords to have
825 indentation before them.
826 (ruby-beginning-of-indent): Adjust for above. Search until the
827 found point is not inside a string or comment.
828 (ruby-font-lock-keywords): Allow symbols to start with "@"
829 character, give them higher priority than variables.
830 (ruby-syntax-propertize-function)
831 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
832 matchers. Expression expansions are not comments when inside a
833 string, and there comment syntax status is irrelevant.
834 (ruby-match-expression-expansion): New function. Check that
835 expression expansion is inside a string, and it's not escaped.
836 (ruby-font-lock-keywords): Use it.
837
ef654460
MR
8382012-09-05 Martin Rudalics <rudalics@gmx.at>
839
840 * help.el (temp-buffer-max-height): New default value.
841 (temp-buffer-resize-frames): New option.
842 (resize-temp-buffer-window): Optionally resize frame.
843
844 * window.el (fit-frame-to-buffer-bottom-margin): New option.
845 (fit-frame-to-buffer): New function.
846
7e570fbf 8472012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
848
849 * emulation/cua-rect.el (cua--init-rectangles):
850 * textmodes/picture.el (picture-mode-map):
851 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
852 like forward-char and backward-char. (Bug#12317)
853
7e570fbf 8542012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
855
856 * progmodes/flymake.el (flymake-warning-re): New variable.
857 (flymake-parse-line): Use it.
858
7e570fbf 8592012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
860
861 * calendar/holidays.el (holiday-christian-holidays):
862 Rename an entry. (Bug#12289)
863
7e570fbf 8642012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
865
866 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
867 (bug#12222).
868
972debf2
SM
8692012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * loadup.el: Load macroexp. Remove hack.
872 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
873 (macroexp--expand-all): Use it to get better warnings.
874 (macroexp--backtrace, macroexp--trim-backtrace-frame)
875 (internal-macroexpand-for-load): New functions.
876 (macroexp--pending-eager-loads): New var.
877 (emacs-startup-hook): New hack to replace one in loadup.el.
878 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
879 (cl--compiler-macro-cXXr): Move to top, before they can be used.
880 (cl-psetf): Simplify.
881 (cl-defstruct): Add indent rule.
882
8ce192e3
LI
8832012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
884
885 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
886 over `user-mail-address' for the SMTP MAIL FROM envelope.
887 (smtpmail-via-smtp): Ditto.
888
6578b4d8
DG
8892012-09-04 Dmitry Gutov <dgutov@yandex.ru>
890
891 * progmodes/ruby-mode.el: Clean up keybindings.
892 (ruby-mode-map): Don't bind ruby-electric-brace,
893 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
894 backward-kill-word, reindent-then-newline-and-indent.
895 (ruby-mark-defun): Remove.
896 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
897 (ruby-mode): Set local beginning-of-defun-function and
898 end-of-defun-function values.
899
c5e28e39
MR
9002012-09-03 Martin Rudalics <rudalics@gmx.at>
901
902 * window.el (temp-buffer-window-setup-hook)
903 (temp-buffer-window-show-hook): New hooks.
904 (temp-buffer-window-setup, temp-buffer-window-show)
905 (with-temp-buffer-window): New functions.
972debf2
SM
906 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
907 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
908
909 * help.el (temp-buffer-resize-mode): Fix doc-string.
910 (resize-temp-buffer-window): New optional argument WINDOW.
911
912 * files.el (recover-file, save-buffers-kill-emacs):
913 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
914
73406194
MA
9152012-09-02 Michael Albinus <michael.albinus@gmx.de>
916
917 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
918 remote definition of `default-directory', ensure we can connect.
919
63dd1c6f
JL
9202012-09-02 Juri Linkov <juri@jurta.org>
921
922 Toggle whitespace matching mode with M-s SPC.
923 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
924
925 * isearch.el (search-whitespace-regexp): Doc fix.
926 Remove cons cell customization.
927 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
928 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
929 New variables.
930 (isearch-forward, isearch-forward-regexp): Doc fix.
931 (isearch-toggle-lax-whitespace): New command.
932 (search-forward-lax-whitespace, search-backward-lax-whitespace)
933 (re-search-forward-lax-whitespace)
934 (re-search-backward-lax-whitespace): New functions.
935 (isearch-whitespace-regexp): Remove function.
936 (isearch-query-replace): Let-bind replace-search-function and
937 replace-re-search-function.
938 (isearch-occur): Let-bind search-spaces-regexp according to the
939 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
940 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
941 condition for C-q SPC.
942 (isearch-search-fun-default): Use new functions mentioned above.
943 (isearch-search-forward, isearch-search-backward): Remove functions.
944 (isearch-search): Don't let-bind search-spaces-regexp.
945 (isearch-lazy-highlight-space-regexp): Remove variable.
946 (isearch-lazy-highlight-lax-whitespace)
947 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
948 (isearch-lazy-highlight-new-loop): Use them.
949 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
950
af7dda05
CY
9512012-09-02 Chong Yidong <cyd@gnu.org>
952
953 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
954
d67d3afd
GM
9552012-09-02 Glenn Morris <rgm@gnu.org>
956
957 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
958
69678719
GM
9592012-09-01 Glenn Morris <rgm@gnu.org>
960
961 * term.el: Tidy up menu definitions.
962 (term-mode-map): Use easymenu for In/Out, Complete menus.
963 (term-pager-break-map): Initialize in the defvar.
964 (term-terminal-menu, term-signals-menu): Define with easymenu.
965 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
966 (term-pager-menu): New, extracted from term-process-pager.
967 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
968 (term-update-mode-line): Propertize line/char and page items.
969 (term-process-pager): Move keymap initialization elsewhere.
970
78dd6ab1
MR
9712012-09-01 Martin Rudalics <rudalics@gmx.at>
972
973 * window.el (switch-to-prev-buffer): Handle additional values of
974 BURY-OR-KILL argument. Don't switch in minibuffer window.
975 (switch-to-next-buffer): Don't switch in minibuffer window.
976 (quit-restore-window): New function based on quit-window.
977 Handle additional values of former KILL argument.
978 (quit-window): Call quit-restore-window with appropriate
979 interpretation of KILL argument.
980 (display-buffer-below-selected): New buffer display action
981 function.
982
3d10e134
SM
9832012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
984
985 * minibuffer.el (completion-at-point-functions): Complete docstring
986 (bug#12254).
987
0e23ef9d
PE
9882012-09-01 Paul Eggert <eggert@cs.ucla.edu>
989
990 Better seed support for (random).
991 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
992 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
993 * play/mpuz.el, play/tetris.el, play/zone.el:
994 * calc/calc-comb.el (math-init-random-base):
995 * play/blackbox.el (bb-init-board):
996 * play/life.el (life):
997 * server.el (server-use-tcp):
998 * type-break.el (type-break):
999 Remove unnecessary call to (random t).
1000 * net/sasl.el (sasl-unique-id-function):
1001 Change (random t) to (random), now that the latter is more random.
1002 * play/life.el (life-initialized): Remove no-longer-needed var.
1003
862382df
MR
10042012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1005
1006 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1007 Consider frame's buffer predicate when choosing the buffer.
1008 (Bug#12081)
1009
262a66e1
RS
10102012-08-30 Richard Stallman <rms@gnu.org>
1011
1012 * simple.el (special-mode-map): Delete binding for `z'.
1013
f17e1d00
AS
10142012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1015
1016 * progmodes/compile.el (compilation-always-kill): Doc fix.
1017
24777832
CY
10182012-08-30 Chong Yidong <cyd@gnu.org>
1019
1020 * window.el (display-buffer-reuse-frames): Make the obsolescence
1021 message more informative.
1022
69ba1f04
GM
10232012-08-30 Glenn Morris <rgm@gnu.org>
1024
1025 * paren.el (show-paren-delay):
1026 Add a :set function. Doc fix. (Bug#12297)
1027
f0019ede
MB
10282012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1029
1030 * progmodes/compile.el (compilation-always-kill): New var.
1031 (compilation-start): Use it.
1032
35e62fc9
SM
10332012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1034
af070a1c
SM
1035 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1036 * files.el (read-only-mode): Move to simple.el.
1037
35e62fc9
SM
1038 * files.el (read-only-mode): New minor mode.
1039 (toggle-read-only): Use it and mark obsolete.
1040 (find-file--read-only):
1041 * vc/vc.el (vc-next-action, vc-checkout):
1042 * vc/vc-cvs.el (vc-cvs-checkout):
1043 * obsolete/vc-mcvs.el (vc-mcvs-update):
1044 * ffap.el (ffap--toggle-read-only): Update callers.
1045
c2c43c23
MA
10462012-08-29 Michael Albinus <michael.albinus@gmx.de>
1047
1048 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1049 remote shell scripts.
1050 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1051
1052 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1053 "/usr/local/sbin".
1054
9fba804b
SM
10552012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1058
eada0861 10592012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1060
806f0cc7
LL
1061 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1062 completion-at-point. (Bug#12220)
1063
3bb213b9
LL
1064 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1065
22ab32ef
LL
1066 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1067
eada0861 10682012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1069
19c17fc1
CY
1070 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1071 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1072
eada0861 10732012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1074
1075 * progmodes/hideif.el (hif-compress-define-list):
1076 Fix typo. (Bug#11951)
1077
eada0861 10782012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1079
1080 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1081 buffer local setting.
1082
27d6c5a8
LL
1083 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1084 rcirc-encode-coding-system.
1085
eada0861 10862012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1087
1088 * net/rcirc.el (rcirc-split-message): New function.
1089 (rcirc-send-message): Use it. (Bug#12051)
1090
d44688e4
JL
10912012-08-28 Juri Linkov <juri@jurta.org>
1092
1093 * info.el (Info-fontify-node): Hide empty lines at the end of
1094 the node. (Bug#12272)
1095
34f10d41
MR
10962012-08-27 Drew Adams <drew.adams@oracle.com>
1097
1098 * dired.el (dired-pop-to-buffer): Make window start at beginning
1099 of buffer (Bug#12281).
1100
77f1f99c
CY
11012012-08-26 Chong Yidong <cyd@gnu.org>
1102
1103 * window.el (special-display-regexps, special-display-frame-alist)
1104 (special-display-buffer-names, special-display-function)
1105 (display-buffer-reuse-frames): Mark as obsolete.
1106
1107 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1108
1109 * help.el (help-print-return-message): Don't treat
1110 display-buffer-reuse-frames specially.
1111
d97af5a0
CY
11122012-08-26 Chong Yidong <cyd@gnu.org>
1113
9fba804b
SM
1114 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1115 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1116 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1117 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1118 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1119 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1120 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1121 the functions directly with gdb-display-buffer-other-frame-action.
1122 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1123 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1124 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1125 (gdb-display-registers-buffer): Define directly.
1126 (def-gdb-display-buffer): Macro deleted.
1127 (gdb-display-buffer): Remove second and third args, callers don't
1128 use them. Defer to the default display-buffer behavior, apart
1129 from making windows dedicated.
1130 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1131
1132 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1133
1134 * window.el (display-buffer-pop-up-frame): Handle a
1135 pop-up-frame-parameters alist entry.
1136 (display-buffer): Document it.
1137
dd7ffad6
CY
11382012-08-26 Chong Yidong <cyd@gnu.org>
1139
1140 * isearch.el (search-whitespace-regexp): Make string and nil
1141 values apply to both ordinary and regexp search. Allow a cons
1142 cell value to distinguish between the two.
1143 (isearch-whitespace-regexp, isearch-search-forward)
1144 (isearch-search-backward): New functions.
1145 (isearch-occur, isearch-search-fun-default, isearch-search)
1146 (isearch-lazy-highlight-new-loop): Use them.
1147 (isearch-forward, isearch-forward-regexp): Doc fix.
1148
4c47bd1e
CY
11492012-08-26 Chong Yidong <cyd@gnu.org>
1150
1151 * faces.el (help-argument-name): Always inherit from italic
1152 (Bug#12213).
1153
9aba119d
MR
11542012-08-25 Martin Rudalics <rudalics@gmx.at>
1155
1156 * window.el (window--even-window-heights): Even heights when
1157 WINDOW and the selected window form a vertical combination.
1158 (display-buffer-use-some-window): Provide that window used gets
1159 sized back by quit-window. (Bug#11880) and (Bug#12091)
1160
ca5256ad
PE
11612012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1162
1163 Fix file time stamp problem with bzr and CVS (Bug#12001).
1164 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1165 in the file's time stamp, since the version control system loses
1166 that information.
1167
d1c0d176
JL
11682012-08-22 Juri Linkov <juri@jurta.org>
1169
1170 * info.el (Info-fontify-node): Hide the suffix of the
1171 Info file name in the header line. (Bug#12187)
1172
141562ff
GM
11732012-08-22 Glenn Morris <rgm@gnu.org>
1174
1175 * calendar/cal-tex.el (cal-tex-weekly-common):
1176 Restore leading blank page.
1177
61a48e19 11782012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1179
1180 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1181 the region under `shift-select-mode'. (Bug#12231)
1182
11832012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1184
1185 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1186 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1187 gives details on why the space is never needed.
1188
ea95074e
MR
11892012-08-22 Martin Rudalics <rudalics@gmx.at>
1190
9fba804b
SM
1191 * window.el (walk-window-tree, window-with-parameter):
1192 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1193 should run on the minibuffer window.
1194 (window-at-side-list): Don't operate on minibuffer window.
1195 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1196 (window--size-ignore): Rename to window--size-ignore-p.
1197 Update callers.
caceae25
MR
1198 (display-buffer-in-atom-window, window--major-non-side-window)
1199 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1200 (delete-side-window, display-buffer-in-side-window):
1201 New functions.
caceae25
MR
1202 (window--side-check, window-deletable-p, delete-window)
1203 (delete-other-windows, split-window): Handle side windows and
1204 atomic windows appropriately.
1205 (window--display-buffer): Call display-buffer-record-window also
1206 when the window buffer did not change.
ea95074e 1207
80a51fa0
CS
12082012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1209
1210 * help-fns.el (help-fns--key-bindings):
1211 Abbreviate non-symbol remap targets. (Bug#12174)
1212
fbb6300b
MR
12132012-08-22 Martin Rudalics <rudalics@gmx.at>
1214
1215 * dired.el (dired-mark-remembered): Don't clobber point.
1216 (Bug#11795)
1217
2b2c0794
GM
12182012-08-22 Glenn Morris <rgm@gnu.org>
1219
1220 * progmodes/bug-reference.el (bug-reference): New custom group.
1221 (bug-reference-bug-regexp): Make it a defcustom.
1222
37219830
DU
12232012-08-22 Daiki Ueno <ueno@unixuser.org>
1224
1225 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1226 (js-paren-indent-offset, js-square-indent-offset)
1227 (js-curly-indent-offset): Add :safe (Bug#12257).
1228
94e0e559
EC
12292012-08-22 Edward O'Connor <hober0@gmail.com>
1230
1231 * json.el (json-key-format): Add error properties.
1232 (json-encode-key): New function.
1233 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1234 Use json-encode-key.
1235
da485f5e
GM
12362012-08-22 Glenn Morris <rgm@gnu.org>
1237
1238 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1239 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1240 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1241 Update for above change.
1242
c6cc78b8
AS
12432012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1244
1245 * cus-face.el (custom-face-attributes): Fix customize type for the
1246 :underline attribute. (Bug#11805)
1247
5481664a
MR
12482012-08-21 Martin Rudalics <rudalics@gmx.at>
1249
1250 * window.el (window-point-1, set-window-point-1): Remove.
1251 (window-in-direction, record-window-buffer)
1252 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1253 (window--state-get-1, display-buffer-record-window):
1254 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1255 window-point and set-window-point respectively.
1256
6d74698e
GM
12572012-08-21 Glenn Morris <rgm@gnu.org>
1258
b7fa2691
GM
1259 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1260 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1261 Use it.
1262
52f56d5a
GM
1263 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1264 (cal-tex-shortday): New function.
1265 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1266 (cal-tex-cursor-filofax-daily): Use the above.
1267
9f1ee09e
GM
1268 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1269 New functions.
1270 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1271 (cal-tex-cursor-filofax-week): Use them.
1272
79858159
GM
1273 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1274 New constants.
1275 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1276 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1277
d346b2b4
GM
1278 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1279 (cal-tex-end-document): Don't rely on buffer name.
1280
b2403709
GM
1281 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1282 Use cal-tex-vspace.
1283 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1284 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1285 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1286 Use cal-tex-arg.
b2403709 1287
1cebb5c0
GM
1288 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1289 (cal-tex-cursor-week, cal-tex-cursor-week2)
1290 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1291 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1292 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1293 (cal-tex-insert-preamble, cal-tex-b-document)
1294 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1295 Improve cal-tex-cmd usage.
1296
c68cd5d4
GM
1297 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1298 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1299 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1300 (cal-tex-weekly-paper): New function.
1301 (cal-tex-cursor-week, cal-tex-cursor-week2)
1302 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1303 (cal-tex-cursor-day): Use it.
1304
9dca4801
GM
1305 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1306 (cal-tex-cursor-filofax-week): Remove leading blank page.
1307
1941e134
GM
1308 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1309 Add autoload cookie. For now at least, don't use color, since
1310 no other cal-tex function does.
1311
6d74698e
GM
1312 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1313 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1314 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1315
64cde199
JL
13162012-08-21 Juri Linkov <juri@jurta.org>
1317
1318 * info.el (Info-file-attributes): New variable.
1319 (info-insert-file-contents): Add file attributes to
1320 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1321 `Info-toc-nodes' when previous modtime of the Info file is less
1322 than new modtime.
1323 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1324 of info.el. (Bug#12230)
1325
32757648
GM
13262012-08-20 Glenn Morris <rgm@gnu.org>
1327
1328 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1329 * calendar/holidays.el (calendar-holiday-list):
1330 Report errors with display-warning rather than beep'n'sleep.
1331
a32fbbcf
MA
13322012-08-20 Michael Albinus <michael.albinus@gmx.de>
1333
1334 * net/tramp.el (tramp-accept-process-output): Accept only output
1335 from PROC. Otherwise, process filters and sentinels might be
1336 confused. (Bug#12145)
1337
a05731a0
CY
13382012-08-20 Chong Yidong <cyd@gnu.org>
1339
1340 * descr-text.el (describe-text-properties-1): Use overlays-in to
1341 report on empty overlays (Bug#3322).
1342
36e8d1eb
GM
13432012-08-20 Glenn Morris <rgm@gnu.org>
1344
3d300447
GM
1345 * mail/rmailout.el (rmail-output-read-file-name):
1346 Trap and report errors in rmail-output-file-alist elements.
1347
36e8d1eb
GM
1348 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1349 since most non-font-lock faces are not also variables).
1350
b96e5814
ER
13512012-08-20 Edward Reingold <reingold@iit.edu>
1352
1353 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1354 New function. (Bug12160)
1355
7cef3569
GM
13562012-08-19 Glenn Morris <rgm@gnu.org>
1357
1358 * mail/rmailout.el (rmail-output-read-file-name):
1359 Fix previous change (when the alist is nil or does not match).
1360
17975d7f
CY
13612012-08-19 Chong Yidong <cyd@gnu.org>
1362
1363 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1364 (Bug#12228).
1365
2170b1bd
CY
13662012-08-18 Chong Yidong <cyd@gnu.org>
1367
1368 * simple.el (yank-handled-properties): New defcustom.
1369 (yank-excluded-properties): Add font-lock-face and category.
1370 (yank): Doc fix.
1371
9fba804b
SM
1372 * subr.el (remove-yank-excluded-properties):
1373 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1374 and category is now done this way, instead of being hard-coded.
1375 (insert-for-yank-1): Remove font-lock-face handling.
1376 (yank-handle-font-lock-face-property)
1377 (yank-handle-category-property): New function.
1378
ee218151
GM
13792012-08-17 Glenn Morris <rgm@gnu.org>
1380
1381 * mail/rmailout.el (rmail-output-read-file-name):
1382 Check rmail-output-file-alist against the full message body
1383 in the correct rmail buffer. (Bug#12214)
1384
4a6bc3fd
MA
13852012-08-17 Michael Albinus <michael.albinus@gmx.de>
1386
9fba804b
SM
1387 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1388 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1389
383dcbf9
CY
13902012-08-17 Chong Yidong <cyd@gnu.org>
1391
1392 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1393 font spec, set the font directly (Bug#3228).
1394
998c4a6a
MR
13952012-08-17 Martin Rudalics <rudalics@gmx.at>
1396
1397 * window.el (delete-window): Fix last fix.
1398
52162052
MR
13992012-08-16 Martin Rudalics <rudalics@gmx.at>
1400
1401 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1402 (window-child, window-child-count, window-last-child)
1403 (window-normalize-window, window-combined-p)
1404 (window-combinations, window-atom-root, window-min-size)
1405 (window-sizable, window-sizable-p, window-size-fixed-p)
1406 (window-min-delta, window-max-delta, window--resizable)
1407 (window--resizable-p, window-resizable, window-total-size)
1408 (window-full-height-p, window-full-width-p, window-body-size)
1409 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1410 (minimize-window, window-deletable-p, delete-window)
1411 (delete-other-windows, set-window-buffer-start-and-point)
1412 (next-buffer, previous-buffer, split-window, balance-windows-2)
1413 (set-window-text-height, window-buffer-height)
1414 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1415 (truncated-partial-width-window-p): Minor code adjustments.
1416 In doc-strings state whether the argument window has to denote a
85c2386b 1417 live, valid or any window.
52162052 1418
1c308380
PS
14192012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1420
1421 * progmodes/subword.el (subword-forward-function)
1422 (subword-backward-function, subword-forward-regexp)
1423 (subword-backward-regexp): New variables.
1424 (subword-forward, subword-forward-internal, subword-backward-internal):
1425 Use new variables, eg so that different "word" definitions
1426 can be easily used. (Bug#11411)
1427
94c9ece1
SM
14282012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1431 for composite selectors.
1432 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1433 operation just because we can't find a previous revision.
1434
f2045622
CY
14352012-08-15 Chong Yidong <cyd@gnu.org>
1436
1437 * frame.el (set-frame-font): Accept font objects.
1438
582db660
SM
14392012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1442
2f29c200
WJ
14432012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1444
456e62c2
WJ
1445 * man.el (Man-overstrike-face, Man-underline-face)
1446 (Man-reverse-face): Remove variables.
1447 (Man-overstrike, Man-underline, Man-reverse): New faces.
1448 (Man-fontify-manpage): Use them instead of the variables.
1449 (Man-cleanup-manpage): Comment change.
1450 (Man-ansi-color-map): New variable.
1451 (Man-fontify-manpage): Use it.
1452 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1453
2f29c200
WJ
1454 Implement ANSI SGR parameters 22-27 (bug#12146).
1455 * ansi-color.el (ansi-colors): Doc fix.
1456 (ansi-color-context, ansi-color-context-region): Doc fix.
1457 (ansi-color--find-face): New function.
1458 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1459 Rename the local variable `face' to `codes' since it is now a list of
1460 ansi codes. Doc fix.
1461 (ansi-color-get-face): Remove.
1462 (ansi-color-parse-sequence): New function, derived from
1463 ansi-color-get-face.
1464 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1465 codes 22-27.
1466
b4f5e9df
SM
14672012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * subr.el (read-passwd): Allow use from a minibuffer.
1470
ba025fbd
EZ
14712012-08-14 Eli Zaretskii <eliz@gnu.org>
1472
1473 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1474 inside comments and strings as identifiers.
1475
1476 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1477 expression to evaluate. This allows to evaluate expressions with
1478 embedded whitespace.
1479 (gud-tooltip-tips): Add a blank before the newline in the
1480 message-box text, for the benefit of message-box emulation on
1481 MS-Windows.
1482
1483 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1484 messages from GDB, pop them up in a tooltip to give feedback to
1485 user.
b4f5e9df
SM
1486 (gdb-tooltip-print-1): Quote the expression to evaluate.
1487 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1488 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1489 if the TTY name is nil or empty (which happens when communicating
1490 with the inferior via pipes, e.g. on MS-Windows).
1491 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1492 don't send that to the GUD buffer.
1493
c548f821
GM
14942012-08-14 Glenn Morris <rgm@gnu.org>
1495
1496 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1497 Optimize away setq-default with no args, as for setq. (Bug#12195)
1498
55802e4a
CY
14992012-08-14 Chong Yidong <cyd@gnu.org>
1500
4abcdac8
CY
1501 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1502
55802e4a
CY
1503 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1504 (Bug#12085).
1505
3c3cda1a
GM
15062012-08-14 Glenn Morris <rgm@gnu.org>
1507
1508 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1509
e1873bd0
MA
15102012-08-14 Michael Albinus <michael.albinus@gmx.de>
1511
1512 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1513 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1514 Use cached shell name.
1515
925411b4
FEG
15162012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1517
1518 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1519 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1520
e636fafe
DG
15212012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1522
1523 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1524 (ruby-percent-literal-beg-re): New constant.
1525 (ruby-syntax-general-delimiters-goto-beg): Rename to
1526 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1527 (ruby-syntax-propertize-general-delimiters): Rename to
1528 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1529 popular term. Adjust comments everywhere.
1530 (ruby-syntax-propertize-percent-literal): Only propertize when not
1531 inside a simple string or comment. When the literal is unclosed,
1532 leave the text after it unpropertized.
f063063a
DG
1533 (ruby-syntax-methods-before-regexp): New constant.
1534 (ruby-syntax-propertize-function): Use it to recognize regexps.
1535 Don't look at the text after regexp, just use the whitelist.
e636fafe 1536
e5b19827
AS
15372012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1538
1539 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1540 non-nil always load the compiled file if it exists. (Bug#12197)
1541
a9f6f311
CY
15422012-08-14 Chong Yidong <cyd@gnu.org>
1543
1544 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1545 (hi-lock-set-pattern): When deciding whether to use font lock or
1546 overlays, look at font-lock-mode instead of font-lock-fontified
1547 (Bug#12168).
1548 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1549 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1550
7d806b1e
DU
15512012-08-14 Daiki Ueno <ueno@unixuser.org>
1552
1553 * subr.el (internal--after-with-selected-window): Fix typo
1554 (Bug#12193).
1555
5beed586
FEG
15562012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1557
1558 Use `completion-table-dynamic' for completion functions.
1559 * progmodes/python.el
1560 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1561 (python-shell-completion--get-completions):
1562 Remove functions.
5beed586
FEG
1563 (python-shell-completion-complete-at-point): New function.
1564 (python-completion-complete-at-point): Use it.
1565
92cb3b04
J
15662012-08-13 Jambunathan K <kjambunathan@gmail.com>
1567
1568 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1569 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1570
89660017
SM
15712012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1572
3c98c962
SM
1573 * subr.el (function-get): Refine `autoload' arg so it can also
1574 autoload functions for gv.el (bug#12191).
1575 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1576 autoloads macros.
1577
aa7c6dbe
SM
1578 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1579 Prefer pcase-let over destructuring-bind.
1580 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1581 Also, remove whitespace as we go, rather than after accumulating the
1582 various places.
1583
89660017
SM
1584 * subr.el (internal--before-with-selected-window)
1585 (internal--after-with-selected-window): Fix typo seleted->selected.
1586 (with-selected-window): Adjust callers.
1587 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1588
31cd32c9
BG
15892012-08-13 Bastien Guerry <bzg@gnu.org>
1590
0fcd3d9f 1591 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1592 enhancement. (Bug#12172)
1593
1b15d8ad
AS
15942012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1595
31e54db0
AS
1596 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1597 type 1-6.
1598 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1599 extended headers.
1600
1b15d8ad
AS
1601 * files.el (hack-local-variables-filter): Remove useless eval.
1602
35cb9c06
MR
16032012-08-13 Martin Rudalics <rudalics@gmx.at>
1604
1605 * subr.el (with-selected-window): Fix last change.
1606
1439443b
SM
16072012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * subr.el (internal--before-with-seleted-window)
1610 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1611 (with-selected-window): Use them, to replace dependency on
1612 tty-top-frame.
1439443b 1613
0d9e2599
NN
16142012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1615
1616 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1617 binding for `newline'.
1618 (ruby-move-to-block): When moving backward, stop at block opening,
1619 not indentation.
1620 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1621 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1622 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1623 `ruby-toggle-block'.
1624
ba10c48c
SM
16252012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * ibuffer.el (ibuffer-do-toggle-read-only):
1628 * dired.el (dired-toggle-read-only):
1629 * buff-menu.el (Buffer-menu-toggle-read-only):
1630 * bindings.el (mode-line-toggle-read-only):
1631 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1632
9229c658
AS
16332012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1634
1635 * descr-text.el (describe-char): Put the overlays over the
1636 "displayed as" character.
1637
0fd09128
JB
16382012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1639
1640 * calc/calc-units.el (math-default-units-table): Give an
1641 initial value.
1642 (math-put-default-units): Add options to put composite units and
1643 unit systems in the default units table.
1644 (calc-convert-units): Send composite units to
1645 `math-put-default-units' when appropriate.
1646
9ff9402d 16472012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1648
fbb5e336
GM
1649 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1650
7aacaf15
GM
1651 * tutorial.el (help-with-tutorial):
1652 * emacs-lisp/copyright.el (copyright-update-directory):
1653 * emacs-lisp/autoload.el (autoload-find-generated-file)
1654 (autoload-find-file): Disable local eval: (for insurance).
1655
f40b9f10
GM
1656 * files.el (hack-local-variables-filter): If an eval: form is not
1657 known to be safe, and enable-local-variables is :safe, then ignore
1658 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1659 This is CVE-2012-3479.
f40b9f10 1660
daa9f1a6
SM
16612012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1664 (rx-form): Simplify.
1665
9cd80478
DG
16662012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1667
0d9e2599
NN
1668 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1669 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1670 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1671 (ruby-syntax-propertize-function): Adjust for changes in
1672 `ruby-syntax-propertize-heredoc'.
1673
16742012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1675
9cd80478
DG
1676 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1677 binding (use `M-;' instead).
9cd80478 1678 (ruby-singleton-class-p): New function.
0d9e2599 1679 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1680
d301b413
SM
16812012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1684
1530c98e
CY
16852012-08-10 Chong Yidong <cyd@gnu.org>
1686
1687 * progmodes/python.el (python-shell-get-process-name): Don't mess
1688 with same-window-buffer-names.
1689
1690 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1691 (eshell-remove-from-window-buffer-names): Make obsolete.
1692 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1693 (eshell): Just use pop-to-buffer-same-window instead.
1694
e1293765
CY
16952012-08-10 Chong Yidong <cyd@gnu.org>
1696
1697 * bindings.el: Bind M-= back to count-words-region.
1698
1699 * simple.el (count-words-region): Accept a prefix arg for acting
1700 on the entire buffer.
1701 (count-words--buffer-message): New helper function.
1702
e1894109
SM
17032012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1706 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1707 (event-start, event-end): Use posn-at-point to return a more
1708 informative posn.
1709 (posnp): New function.
1710 * mouse.el (popup-menu-normalize-position): Use it.
1711
c69f56a2
MY
17122012-08-10 Masatake YAMATO <yamato@redhat.com>
1713
1714 * mouse.el (popup-menu-normalize-position): New function.
1715 (popup-menu): Use `popup-menu-normalize-position' to normalize
1716 the form for POSITION argument.
1717
1718 * term/x-win.el (x-menu-bar-open):
1719 Use the value returend from (posn-at-point) as position
1720 passed to `popup-menu'.
1721
31673780
JB
17222012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1723
1724 * calc/calccomp.el (math-compose-expr): Add extra argument
1725 indicating that parentheses should be put around products in
1726 denominators. Give multiplication precedence over division during
1727 composition.
1728
dab7711b
CY
17292012-08-09 Chong Yidong <cyd@gnu.org>
1730
dee4ef93
CY
1731 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1732 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1733 (Man-untabify-command, manual-program): Convert to defcustom
1734 (Bug#10429).
1735
73e2bbc5
CY
1736 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1737
3e861c8a
CY
1738 * descr-text.el (describe-char): Don't insert extra newlines
1739 (Bug#10127).
1740
a9f5a649
CY
1741 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1742 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1743
dab7711b
CY
1744 * align.el (align-region): Delete temporary markers (Bug#10047).
1745 Plus some code cleanups.
1746
e0cc4efa
FEG
17472012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1748
1749 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1750 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1751 (python-shell-internal-last-output): Use make-local-variable
1752 instead of make-variable-buffer-local.
1753
489af14f
FEG
17542012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1755
1756 * progmodes/python.el: Enhancements to forward-sexp.
1757 (python-nav-forward-sexp): Rename from
1758 python-nav-forward-sexp-function.
c69f56a2
MY
1759 (python-nav--forward-sexp, python-nav--backward-sexp):
1760 New functions.
489af14f 1761
0fc50303
JB
17622012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1763
1764 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1765 modes and simplification modes.
1766
5d65606a
SM
17672012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * delsel.el (delete-selection-pre-hook): Don't propagate the
1770 file-supersession signals (bug#12161).
1771
4250fdf5
SM
17722012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1775 (cl-map-extents): Add compatibility aliases (bug#12135).
1776
d9f9b465
MA
17772012-08-08 Michael Albinus <michael.albinus@gmx.de>
1778
1779 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1780 tests by `ignore-error'.
1781 (tramp-find-shell): Open also a new shell, when cache is already
1782 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1783
ce0fcefa
JL
17842012-08-08 Juri Linkov <juri@jurta.org>
1785
1786 * bookmark.el: Add `defaults' property to the bookmark record.
1787 (bookmark-current-buffer): Doc fix.
1788 (bookmark-make-record): Add `defaults' property with default values
1789 to the bookmark record.
1790 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1791 with `bookmark-insert-current-bookmark'.
1792 (bookmark-set): Get `defaults' property from the bookmark record
1793 and use it in `read-from-minibuffer'.
1794 (bookmark-insert-current-bookmark): Remove function.
1795
1796 * info.el (Info-bookmark-make-record): Add `defaults' property
1797 with values of canonical Info node name, the current Info file
1798 name and the current Info node name. (Bug#12107)
1799
53fa8652
JL
18002012-08-08 Juri Linkov <juri@jurta.org>
1801
1802 * files.el (basic-save-buffer): Use `buffer-name' as the default
1803 of `read-file-name' when buffer is not visiting a file (bug#12128).
1804
242c0a95
JL
18052012-08-08 Juri Linkov <juri@jurta.org>
1806
1807 * info.el (Info-isearch-search): Doc fix.
1808 (Info-search): Change search-failed message from "initial node" to
1809 "end of node" (bug#12078).
1810 (Info-isearch-search): Change `isearch-string-state' to
1811 `isearch--state-string'.
1812
32ac3a6b
GM
18132012-08-08 Glenn Morris <rgm@gnu.org>
1814
1815 * language/persian.el: Remove file.
f8c1afd5 1816 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1817 * loadup.el: Remove language/persian.
1818
2c2d9c9c
OF
18192012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1820
1821 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1822
2d79ec42
FEG
18232012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1824
1825 * progmodes/python.el Fixed defsubst warning.
1826 (python-syntax-context) Rename from python-info-ppss-context.
1827 (python-syntax-context-type): Rename from
1828 python-info-ppss-context-type.
1829 (python-syntax-comment-or-string-p): Rename from
1830 python-info-ppss-comment-or-string-p.
1831
2bd255dd
JB
18322012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1833
1834 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1835
c395097f
AS
18362012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1837
6125983e
AS
1838 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1839 a defcustom that is quoted with backquote.
1840
4250fdf5
SM
1841 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1842 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1843 (math-do-arg-check, math-define-function-body): Use backquote forms.
1844 * calc/calc-ext.el (math-defcache): Likewise.
1845 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1846 * allout.el (allout-new-exposure): Likewise.
1847 * calc/calcalg2.el (math-tracing-integral): Likewise.
1848 * info.el (Info-last-menu-item): Likewise.
1849 * emulation/vip.el (vip-loop): Likewise.
1850 * textmodes/artist.el (artist-funcall): Likewise.
1851 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1852 Construct menu-item directly.
1853
4250fdf5
SM
1854 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1855 Don't declare.
c395097f 1856
5fb50dd3
CY
18572012-08-07 Chong Yidong <cyd@gnu.org>
1858
1859 * simple.el (deactivate-mark): Preserve text properties when
1860 saving the primary selection (Bug#8384).
1861
54eea618
KR
18622012-08-07 Kevin Ryde <user42@zip.com.au>
1863
1864 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1865 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1866 and continue processing (Bug#12110).
1867
638eaeb9
SM
18682012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1871 syntax-propertize-function (bug#10095).
1872
ea376861
SM
18732012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1874
f91b35be
SM
1875 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1876 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1877 describe-function-1.
1878 (describe-function-1): Use them. Move compiler macro after sig.
1879 (help-fns--compiler-macro): Use function-get. Assume we're already in
1880 standard-output. Adjust layout to new call order.
1881
ea376861
SM
1882 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1883 re-binding a symbol that has a symbol-macro (bug#12119).
1884
d5be7bd0
MB
18852012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1886
1887 * language/persian.el: New file. (Bug#11812)
1888 * loadup.el: Add language/persian.el.
1889
90749b53
CY
18902012-08-06 Chong Yidong <cyd@gnu.org>
1891
1892 * window.el (window--maybe-raise-frame): New function.
1893 (window--display-buffer): Split off from here.
1894 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1895 (display-buffer-pop-up-window, display-buffer-use-some-window):
1896 Obey an inhibit-switch-frame action alist entry.
1897 (display-buffer): Update doc.
1898
1899 * replace.el (occur-after-change-function): Avoid losing focus by
1900 using the inhibit-switch-frame display parameter (Bug#12139).
1901
ba7b0154
FEG
19022012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1903
1904 Make internal shell process buffer names start with space.
1905 * progmodes/python.el (python-shell-make-comint): Add optional
1906 argument INTERNAL.
1907 (run-python-internal): Use it.
1908 (python-shell-internal-get-or-create-process): Check for new
1909 internal buffer names.
1910
5eaeacb5
GM
19112012-08-06 Glenn Morris <rgm@gnu.org>
1912
e296d94b 1913 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1914 Do less getting and setting of environment variables.
1915
b7ccbdc2
CY
19162012-08-05 Chong Yidong <cyd@gnu.org>
1917
777fe95e
CY
1918 * proced.el (proced): Add substitution string to docstring to
1919 trigger autoloading of the proced library on C-h f (Bug#1768).
1920
4250fdf5
SM
1921 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1922 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1923
1924 * imenu.el (imenu-generic-expression): Move documentation here
1925 from imenu--generic-function.
1926 (imenu--generic-function): Refer to imenu-generic-expression.
1927
9e3b7800 19282012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
1929
1930 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1931 indentation declaration.
1932 (viper-loop): Add indentation declaration (Bug#7025).
1933
e5d9c0d1
CY
19342012-08-05 Chong Yidong <cyd@gnu.org>
1935
f0422feb
CY
1936 * help-fns.el (describe-variable): Add hyperlink for
1937 directory-local variables files. Improve buffer-local and
1938 permanent-local reporting; suggested by MON KEY (Bug#6644).
1939
1940 * help-mode.el (help-dir-local-var-def): New button type.
1941
e5d9c0d1
CY
1942 * files.el (kill-buffer-hook): Provide a defvar.
1943
a4f2deaa
GM
19442012-08-05 Glenn Morris <rgm@gnu.org>
1945
1946 * eshell/esh-ext.el (eshell/addpath):
1947 Also update eshell-path-env. (Bug#12013)
1948
a9dd5754
CY
19492012-08-05 Chong Yidong <cyd@gnu.org>
1950
a4f2deaa 1951 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1952
d014c740
CY
1953 * fringe.el (fringe-styles): Add docstring.
1954 (fringe--check-mode): New function.
1955 (set-fringe-mode, set-fringe-style): Use it.
1956 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1957
a9dd5754
CY
1958 * files.el (set-auto-mode): Fix invalid setq call.
1959
7c2dc8bd
SM
19602012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * isearch.el: Misc simplification; use defstruct.
1963 (isearch-mode-map): Dense maps now work like sparse ones.
1964 (isearch--state): New defstruct.
1965 (isearch-string-state, isearch-message-state, isearch-point-state)
1966 (isearch-success-state, isearch-forward-state)
1967 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1968 (isearch-wrapped-state, isearch-barrier-state)
1969 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1970 replaced by defstruct's accessors.
1971 (isearch--set-state): Rename from isearch-top-state and change
1972 calling convention.
1973 (isearch-push-state): Use new isearch--get-state.
1974 (isearch-toggle-word): Disable regexp when enabling word.
1975 (isearch-message-prefix): Remove unused arg _c-q-hack.
1976 (isearch-message-suffix): Remove unused arg _ellipsis.
1977
7fcc0070
AS
19782012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1979
1980 * simple.el (list-processes--refresh): For a server use :host or
1981 :local as the address.
97ad0769 1982 (list-processes): Doc fix.
7fcc0070 1983
a11035b8 19842012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
1985
1986 * lisp/mpc.el: Support password in host argument.
1987 (mpc--proc-connect): Parse and use new password element.
1988 Set mpc-proc variable instead of returning process.
1989 (mpc-proc): Adjust accordingly.
1990
6dad7178
EZ
19912012-08-03 Eli Zaretskii <eliz@gnu.org>
1992
18949c2f
EZ
1993 * whitespace.el (whitespace-display-mappings): Use Unicode
1994 codepoints, instead of emacs-mule codepoints. See
1995 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1996 for the details.
1997
6dad7178
EZ
1998 * files.el (file-truename): Don't skip symlink-chasing part on
1999 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2000 Windows into the loop that recursively chases symlinks.
2001 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2002 MS-DOS.
2003
385b0198
CY
20042012-08-03 Chong Yidong <cyd@gnu.org>
2005
6200f3c4
CY
2006 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2007
385b0198
CY
2008 * sort.el (sort-regexp-fields): Doc fix.
2009
b9e74744
TH
20102012-08-03 Tassilo Horn <tsdh@gnu.org>
2011
2012 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2013 labels regex position point at the expected place.
2014
41013cb4
MK
20152012-08-03 MON KEY <monkey@sandpframing.com>
2016
2017 * net/imap.el (imap-interactive-login, imap-authenticate)
2018 (imap-mailbox-lsub, imap-mailbox-list)
2019 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2020 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2021 (imap-parse-response): Doc fix.
2022
0ffee616
JT
20232012-08-03 João Távora <joaotavora@gmail.com>
2024
2025 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2026 if sexp scanning does not move point (Bug#5734).
2027
cfcc9cc8
TH
20282012-08-02 Tassilo Horn <tsdh@gnu.org>
2029
2030 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2031 Add listings, minted, and ctable packages.
2032 (reftex-label-alist-builtin): Move listings, minted, and ctable
2033 entries before LaTeX.
a01bbb84 2034 (reftex-label-alist): Docfix.
cfcc9cc8 2035
66ec2442
BG
20362012-08-02 Bastien Guerry <bzg@gnu.org>
2037
2038 * replace.el (occur): Fix docstring (bug#12122).
2039
837b365b
GM
20402012-08-02 Glenn Morris <rgm@gnu.org>
2041
2042 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2043
e098de97
PE
20442012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2045
2046 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2047 * international/mule-cmds.el: Create
2048 inactivate-current-input-method-function as an obsolete alias for
2049 deactivate-current-input-method-function. See Katsumi Yamaoka in
2050 <http://bugs.gnu.org/10150#46>.
2051
a0f95636
JB
20522012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2053
2054 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2055 of nested `if's.
2056
0d26d7c4
GM
20572012-08-01 Glenn Morris <rgm@gnu.org>
2058
2059 * progmodes/autoconf.el (autoconf-definition-regexp):
2060 Add AH_TEMPLATE, adjust submatch numbering.
2061 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2062 (autoconf-current-defun-function): Update for above change.
2063 (autoconf-current-defun-function): First skip to end of current word.
2064
b686ba06
RS
20652012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2066
2067 * calendar/cal-html.el (cal-html-insert-agenda-days):
2068 Fix typo. (Bug#12018)
2069
0d49da68
FEG
20702012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2071
2072 Shell processes: enhancements to startup and CEDET compatibility.
2073 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2074 (python-shell-make-comint): accept-process-output at startup.
2075 (run-python-internal): Set inferior-python-mode-hook to nil.
2076 (python-shell-internal-get-or-create-process): call sit-for.
2077 (python-preoutput-result): Add obsolete alias.
2078 (python-shell-internal-send-string): Use it.
2079 (python-shell-send-setup-code): Remove call to
2080 accept-process-output.
2081
f1a71c6e
AS
20822012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2083
2084 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2085 (Bug#12108)
2086
d2605269
JB
20872012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2088
2089 * calc-mode.el (calc-basic-simplification-mode): Rename from
2090 `calc-limited-simplification-mode'.
2091 (calc-alg-simplification-mode): New function.
fc0c31f8 2092 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2093
d2605269
JB
2094 * calc.el (calc-set-mode-line): Adjust mode line display for
2095 basic simplification mode.
2096
2097 * calc-help.el (calc-m-prefix-help): Update help message.
2098
2099 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2100 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2101
a3827a43
BG
21022012-07-31 Bastien Guerry <bzg@gnu.org>
2103
2104 * man.el (man): Fix comment. (bug#12101)
2105
502e3f89
MR
21062012-07-31 Martin Rudalics <rudalics@gmx.at>
2107
2108 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2109 Don't return a non-nil value when no suitable buffer was found.
2110
d7714961
FEG
21112012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2112
2113 * progmodes/python.el (run-python-internal): Disable font lock for
2114 internal shells.
2115
1f45e27e
SM
21162012-07-30 Stefan Merten <smerten@oekonux.de>
2117
2118 * rst.el: Silence `checkdoc-ispell'.
2119 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2120 (rst-official-version, rst-official-cvs-rev)
2121 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2122 (rst-mode-map): New key binding.
2123
0aee6912
PE
21242012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2125
2126 Update .PHONY listings in makefiles.
2127 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2128 autoloads, update-subdirs, updates, bzr-update, update-authors,
2129 compile-onefile, compile-calc, backup-compiled-files,
2130 compile-after-backup, compile-one-process, mh-autoloads,
2131 bootstrap-clean, distclean, maintainer-clean.
2132
9052f9f0
JB
21332012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2134
1823ac5a
JB
2135 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2136 (calc-set-mode-line): Don't display "AlgSimp ".
2137
2138 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2139 (calc-lim-simplify-mode): New function.
2140 (calc-set-simplify-mode): Default to 'alg.
2141 (calc-default-simplify-mode): Make algebraic simplifications
2142 the default.
2143
2144 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2145 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2146
8d7c7eed 2147 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2148 indicate new simplification modes.
2149
1823ac5a
JB
2150 * calc/README: Mention new default simplification mode.
2151
9052f9f0
JB
2152 * calc/calc.el (math-normalize-error): New variable.
2153 (math-normalize): Set `math-normalize-error' to t
2154 when there's an error.
2155
2156 * calc/calc-alg.el (math-simplify): Don't simplify when
2157 `math-normalize' returns an error.
2158
20ba0cb4
EZ
21592012-07-29 Eli Zaretskii <eliz@gnu.org>
2160
2161 * international/mule-cmds.el (set-locale-environment): Revert last
2162 change, since display-graphic-p returns nil when this function is
2163 called during startup. Instead...
2164
2165 * term/w32console.el (terminal-init-w32console): ...setup the
2166 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2167
a5dcc929
JL
21682012-07-29 Juri Linkov <juri@jurta.org>
2169
2170 * simple.el (goto-line): Don't display default line number in the
2171 prompt because it should be displayed by `read-number' (bug#9952).
2172 Add the current line number to the defaults of `goto-line' to
2173 allow its easier modification by users with `M-n' (bug#9201).
2174
2175 * subr.el (read-number): Support multiple default values like in
2176 other minibuffer reading functions. Replace `read' with
2177 `string-to-number' for consistency with `number-to-string'.
2178
72b255c7
PE
21792012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2180
2181 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2182 * emulation/viper-init.el (viper-deactivate-input-method-action):
2183 Rename from viper-inactivate-input-method-action.
2184 (viper-deactivate-input-method):
2185 Rename from viper-inactivate-input-method.
2186 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2187 * international/mule-cmds.el (deactivate-input-method):
2188 Rename from inactivate-input-method.
2189 Also run input-method-deactivate-hook.
2190 (deactivate-current-input-method-function):
2191 Rename from inactivate-current-input-method-function.
2192 (input-method-deactivate-hook): New hook.
2193 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2194 (inactivate-input-method): Mark obsolete.
2195
72b255c7
PE
2196 * international/quail.el (quail-activate):
2197 Also run quail-deactivate-hook.
2198 (quail-deactivate): Rename from quail-inactivate.
2199 * international/robin.el (robin-activate):
2200 Also run robin-deactivate-hook.
2201 (robin-deactivate): Rename from robin-inactivate.
2202
2549c068
CY
22032012-07-29 Chong Yidong <cyd@gnu.org>
2204
2205 * simple.el (indicate-copied-region): New function.
2206 (kill-ring-save): Split off from here.
2207
2208 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2209 (kill-rectangle): Set deactivate-mark to t on read-only error.
2210
2211 * register.el (copy-to-register, copy-rectangle-to-register):
2212 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2213 (append-to-register, prepend-to-register):
2214 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2215
2216 * simple.el (async-shell-command-buffer): New defcustom.
2217 (shell-command): Use it. (Bug#4719)
2218
01bd1b0d
EZ
22192012-07-28 Eli Zaretskii <eliz@gnu.org>
2220
2221 * international/mule-cmds.el (set-locale-environment): In a
2222 console session on MS-Windows, set up keyboard and terminal
2223 encoding from the OEM codepage, not the ANSI codepage.
2224 (Bug#12055)
2225
a55739d3
CY
22262012-07-28 Chong Yidong <cyd@gnu.org>
2227
2228 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2229 gdb-get-location.
2230
0e1a094f 22312012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2232
2233 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2234 the alist (bug#12029).
2235
20329d73
EZ
22362012-07-28 Eli Zaretskii <eliz@gnu.org>
2237
2238 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2239 (compile-always, compile-first)
2240 ($(lisp)/calendar/cal-loaddefs.el)
2241 ($(lisp)/calendar/diary-loaddefs.el)
2242 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2243 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2244 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2245 instead of on update-subdirs.
2246 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2247
345a2258
CY
22482012-07-28 Chong Yidong <cyd@gnu.org>
2249
1eee6341
CY
2250 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2251 directory if vc-deduce-backend returns nil (Bug#7350).
2252
345a2258
CY
2253 * simple.el (delete-trailing-lines): New option.
2254 (delete-trailing-whitespace): Obey it (Bug#11879).
2255
049a0936
DE
22562012-07-28 David Engster <deng@randomsample.de>
2257
2258 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2259 Explanation of new 'symbol-qnames feature in doc-strings.
2260 (xml-maybe-do-ns): Return expanded names as plain symbols if
2261 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2262 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2263
aa81af71
FEG
22642012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2265
2266 Consistent completion in inferior python with emacs -nw.
2267 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2268 binding in inferior-python-mode-map with "\t".
2269 (python-shell-completion-complete-at-point)
2270 (python-completion-complete-at-point): Remove interactive spec.
2271
e827b1eb
JB
22722012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2273
2274 * calc/calccomp.el (math-compose-expr): Undo previous change.
2275
a90dfb95
FEG
22762012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2277
4250fdf5 2278 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2279 run-python.
2280 (python-shell-make-comint): Fix pop-to-buffer call.
2281 (run-python): Autoload. New arg SHOW.
2282 (python-shell-get-or-create-process): Do not pop python process
2283 buffer.
2284
32770973 22852012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2286
2287 * notifications.el (notifications-on-action-signal)
2288 (notifications-on-closed-signal): Use also the bus address for the map.
2289 (notifications-notify, notifications-close-notification)
fc0c31f8 2290 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2291
86332df2
TH
22922012-07-27 Tassilo Horn <tsdh@gnu.org>
2293
4250fdf5
SM
2294 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2295 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2296 ctable macro.
2297 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2298 labels written in keyvals syntax.
2299
ca1302a4
JB
23002012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2301
2302 * calc/calccomp.el (math-compose-expr): Use parentheses when
2303 there is a product in the denominator of a fraction.
2304
f8b91036
EZ
23052012-07-26 Eli Zaretskii <eliz@gnu.org>
2306
2307 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2308 ($(lisp)/calendar/diary-loaddefs.el)
2309 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2310 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2311 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2312 rewritten while the autoload files are built at the same time,
2313 which needs to load subdirs.el.
2314
c8e5a42c
MR
23152012-07-26 Martin Rudalics <rudalics@gmx.at>
2316
2317 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2318 (mouse-drag-line): Don't exit tracking when a switch-frame or
2319 switch-window event occurs (Bug#12006).
2320
670d85ea
SM
23212012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * mouse.el (popup-menu): Fix last change.
2324
7abaf5cc
SM
23252012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 Autoload from Lisp with more care. Follow aliases when looking for
2328 function properties.
2329 * subr.el (autoloadp): New function.
2330 (symbol-file): Use it.
2331 (function-get): New function.
2332 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2333 autoload-do-load.
2334 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2335 (lisp-indent-function):
2336 * emacs-lisp/gv.el (gv-get):
2337 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2338 * emacs-lisp/byte-opt.el (byte-optimize-form):
2339 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2340 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2341 Use function-get.
2342 * emacs-lisp/cl.el: Don't propagate function properties any more.
2343
2344 * speedbar.el (speedbar-add-localized-speedbar-support):
2345 * emacs-lisp/disass.el (disassemble-internal):
2346 * desktop.el (desktop-load-file):
2347 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2348 (describe-function-1):
2349 * emacs-lisp/find-func.el (find-function-noselect):
2350 * emacs-lisp/elp.el (elp-instrument-function):
2351 * emacs-lisp/advice.el (ad-has-proper-definition):
2352 * apropos.el (apropos-safe-documentation, apropos-macrop):
2353 * emacs-lisp/debug.el (debug-on-entry):
2354 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2355 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2356 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2357
b1364986
AA
23582012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2359
2360 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2361 function, not an obsolete variable (Bug#12046).
2362
67ada220
AS
23632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2364
2365 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2366
f08088e3
CS
23672012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2368
2369 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2370 window only if it is still live (Bug#12034).
2371
8137e7b3
MR
23722012-07-25 Martin Rudalics <rudalics@gmx.at>
2373
2374 * subr.el (redirect-frame-focus): Add advertised calling
2375 convention (Bug#12030).
2376
09ae5da1
PE
23772012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2378
2379 Prefer typical American spelling for "acknowledgment".
2380 * vc/add-log.el (change-log-acknowledgment): Rename from
2381 change-log-acknowledgement, with an alias for the old name.
2382
3cc5a3a8
JB
23832012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2384
2385 * calc-alg.el (math-simplify-divide): Don't cross multiply
2386 in an equation when the lhs is a variable.
2387
b7af7f62
JD
23882012-07-24 Julien Danjou <julien@danjou.info>
2389
2390 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2391 Remove, unused.
2392
ec1b09b1
EZ
23932012-07-23 Eli Zaretskii <eliz@gnu.org>
2394
2395 * startup.el (command-line): Don't display an empty user name in
2396 the error message about non-existent home directory, when
2397 init-file-user was set to an empty string. See
2398 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2399 for the details and context.
2400
b525fd8a
VB
24012012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2402
2403 * ses.el (ses-cell-formula-aset): New macro.
2404 (ses-cell-references-aset): New macro.
2405 (ses-cell-p): New function.
2406 (ses-rename-cell): Do no longer rely on complex operations like
2407 ses-cell-set-formula or ses-set-cell to change the cell and handle
2408 the undo at the same time, but rather use lower level new macros
2409 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2410 the undo directly. Refresh the mode line.
b525fd8a 2411
2c73e345
LL
24122012-07-21 Leo Liu <sdl.web@gmail.com>
2413
670d85ea
SM
2414 * progmodes/cc-cmds.el (c-defun-name):
2415 Use match-string-no-properties instead for consistency.
2c73e345 2416
542dfbde
LL
24172012-07-20 Leo Liu <sdl.web@gmail.com>
2418
3646bcd6
LL
2419 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2420 (Bug#7879)
2421
542dfbde
LL
2422 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2423
25721031
CY
24242012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2427 * progmodes/bug-reference.el, misearch.el: Provide themselves
2428 (bug#11915).
2429
2430 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2431 of narrowed buffer (bug#11966).
2432
316e68a7
VB
24332012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2434
2435 * ses.el (ses-rename-cell): Set new name also in reference list of
2436 cells of which the renamed cell depends.
2437
bbf0e7d9
MY
24382012-07-20 Masatake YAMATO <yamato@redhat.com>
2439
2440 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2441 to check whether menu-bar is shown or not. If not shown,
2442 show the menu-bar as a popup menu instead of using tmm.
2443 * mouse.el (popup-menu): Accept `point' as `position' argument.
2444
c28662a8
DG
24452012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2446
2447 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2448 up inside string symbol literal (bug#11923).
2449
87ab808f
EZ
24502012-07-20 Eli Zaretskii <eliz@gnu.org>
2451
2452 * startup.el (fancy-startup-text): Read the whole tutorial, not
2453 just its first 256 bytes. Prevents gibberish in display of the
2454 tutorial title.
2455
89dea803
DA
24562012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2457
2458 Drop idle buffer compaction due to an absence of the
2459 proved efficiency.
2460 * compact.el: Remove.
2461
8a4e6db8
SS
24622012-07-19 Sam Steingold <sds@gnu.org>
2463
2464 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2465 vc-bzr-pull & vc-bzr-merge-branch.
2466 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2467 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2468 for consistency with compilation-error-regexp-alist.
2469 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2470 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2471 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2472 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2473
5db81e33
SM
24742012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2475
2476 * emacs-lisp/chart.el: Use lexical-binding.
2477 (chart-emacs-storage): Don't hardcode the list of entries.
2478
5b835e1d
DA
24792012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2480
2481 Next round of tweaks caused by Fgarbage_collect changes.
2482 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2483
9cd47b72
DA
24842012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2485
2486 Compact buffers when idle.
2487 * compact.el: New file.
2488
1d6fc0df
SM
24892012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * subr.el (eventp): Presume that if it looks vaguely like an event,
2492 it's an event (bug#10190).
2493
1d29cc7d
FEG
24942012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2495
2496 Enhancements to ppss related code (thanks Stefan).
2497 * progmodes/python.el (python-indent-context)
2498 (python-indent-calculate-indentation, python-indent-dedent-line)
2499 (python-indent-electric-colon, python-nav-forward-block)
2500 (python-mode-abbrev-table)
1d6fc0df 2501 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2502 for ppss context.
2503 (python-info-continuation-line-p): Cleanup.
2504 (python-info-ppss-context): Do not catch 'quote.
2505 (python-info-ppss-context-type)
2506 (python-info-ppss-comment-or-string-p): Simplify.
2507
d583cbe6
FEG
25082012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2509
2510 * progmodes/python.el: Enhancements to eldoc support.
2511 (python-info-current-symbol): New function.
2512 (python-eldoc-at-point): Use python-info-current-symbol.
2513 (python-info-current-defun): Fix cornercase on first defun scan.
2514 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2515 and signal error when no inferior python process is available.
2516
eceb6feb
DG
25172012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2518
2519 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2520 assume it's always t.
2521 (vc-git-registered): Remove caching, the function is only called
2522 once.
2523 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2524
4c8ff0fe
CY
25252012-07-18 Chong Yidong <cyd@gnu.org>
2526
19fb7186
CY
2527 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2528
9587c688
CY
2529 * simple.el (count-words): Report on narrowing (Bug#9959).
2530
0fe776a1
CY
2531 * bindings.el: Bind M-= to count-words.
2532
4c8ff0fe
CY
2533 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2534
7f5331cc
MY
25352012-07-18 Masatake YAMATO <yamato@redhat.com>
2536
2537 * progmodes/sh-script.el (sh-imenu-generic-expression):
2538 Capture a function with `function' keyword and without parentheses
2539 like "function FOO" (bug#11856).
2540
2dc2a609
TH
25412012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2542
2543 * window.el (split-window-sensibly): Make WINDOW argument
2544 optional.
2545
439f7677
CY
25462012-07-18 Chong Yidong <cyd@gnu.org>
2547
9aeb25a6
CY
2548 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2549
439f7677
CY
2550 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2551 and make C-x 8 RET exit isearch (Bug#11439).
2552
2553 * international/iso-transl.el: Move isearch-mode-map key
2554 definitions to isearch.el.
2555
12999ea8
SM
25562012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2557
2558 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2559 (eieio-defclass): Use gv-define-setter when possible.
2560
3ab6e069
DA
25612012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2562
2563 Reflect recent changes in Fgarbage_collect.
2564 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2565 reflect new format of data returned by Fgarbage_collect.
2566
0a60bc10
FEG
25672012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2568
2569 New utility functions + python-info-ppss-context fix (Bug#11910).
2570 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2571 (python-info-ppss-comment-or-string-p): New functions.
2572 (python-info-ppss-context): Small fix for string check.
2573
6dafa0d5
JL
25742012-07-17 Juri Linkov <juri@jurta.org>
2575
2576 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2577 (dired-do-async-shell-command): Don't add `*' at the end of the
2578 command (Bug#11815).
2579 (dired-do-shell-command): Doc fix.
2580 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2581 Join the individual commands using either "&" or ";" as the
2582 separator depending on the values of these trailing characters.
2583 At the end re-add the trailing "&". (Bug#10598)
2584
2585 * simple.el (async-shell-command): Sync the interactive spec with
2586 `shell-command'. Doc fix.
2587 (shell-command): Doc fix.
2588
b19dd9d1
JL
25892012-07-17 Juri Linkov <juri@jurta.org>
2590
2591 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2592
bcdc27d7 25932012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2594
bcdc27d7 2595 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2596 * progmodes/python.el (python-nav-beginning-of-statement):
2597 Rename from python-nav-statement-start.
bcdc27d7
FEG
2598 (python-nav-end-of-statement): Rename from
2599 python-nav-statement-end.
2600 (python-nav-beginning-of-block): Rename from
2601 python-nav-block-start.
2602 (python-nav-end-of-block): Rename from python-nav-block-end.
2603
191da00e
FEG
26042012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2605
7f5331cc
MY
2606 * progmodes/python.el (python-shell-send-string-no-output):
2607 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2608 future interactions (Bug#11868).
2609
4dc7c8d5 26102012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2611
88ecaf8f
SM
2612 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2613
ef501ef0
SM
2614 * emacs-lisp/elint.el (elint-find-args-in-code):
2615 Use help-function-arglist, so as to handle lexical byte-code.
2616
aa7aaf8f
SM
2617 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2618 change (bug#11826).
2619
45fd731c
SM
26202012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2143fa32
SM
2622 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2623 Avoid spuriously marking the buffer as modified because of c-is-sws.
2624
efc26dbe
SM
2625 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2626 as not-a-comment (bug#11946).
2627
f5695c9a
SM
2628 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2629 for uninterned vars.
2630
2631 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2632 Use read-event since we don't really want to read chars but bytes.
2633
45fd731c
SM
2634 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2635 $$..$$ but also $..$ using regexps (bug#11953).
2636 Use tex-verbatim for \url and \path.
2637 (tex-font-lock-keywords): Define as defconst like the others.
2638 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2639
ddfc8813
RK
26402012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2641
2642 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2643 alias for insert-char.
2644
758e556a
FEG
26452012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2646
2647 * progmodes/python.el: Simplified imenu implementation.
2648 (python-nav-jump-to-defun): Remove command.
2649 (python-mode-map): Use `imenu' instead.
2650 (python-nav-list-defun-positions-cache)
2651 (python-imenu-include-defun-type, python-imenu-make-tree)
2652 (python-imenu-subtree-root-label, python-imenu-index-alist):
2653 Remove vars.
2654 (python-nav-list-defun-positions, python-nav-read-defun)
2655 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2656 (python-imenu-make-tree, python-imenu-create-index):
2657 Remove functions.
758e556a
FEG
2658 (python-mode): Update to interact with imenu by setting
2659 `imenu-extract-index-name-function' only.
2660
032d23ab
FEG
26612012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2662
2663 * progmodes/python.el: Enhancements to navigation commands.
2664 (python-nav-backward-sentence)
2665 (python-nav-forward-sentence): Remove.
2666 (python-nav-backward-statement, python-nav-forward-statement)
2667 (python-nav-statement-start, python-nav-statement-end)
2668 (python-nav-backward-block, python-nav-forward-block)
2669 (python-nav-block-start, python-nav-block-end)
2670 (python-nav-forward-sexp-function)
2671 (python-info-current-line-comment-p)
2672 (python-info-current-line-empty-p): New functions.
2673 (python-indent-context): Use `python-nav-statement-start'.
2674
01795a1b
MA
26752012-07-16 Michael Albinus <michael.albinus@gmx.de>
2676
9328d9aa
MA
2677 * eshell/em-ls.el (eshell/ls): Use `apply'.
2678
2679 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2680 multi-hops, instead of Tramp internals.
2681
01795a1b
MA
2682 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2683
2684 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2685 when F1 and F2 are located on different hosts.
2686
63408057
CY
26872012-07-14 Chong Yidong <cyd@gnu.org>
2688
2689 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2690 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2691 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2692 (xterm-mouse--read-event-sequence-1000)
2693 (xterm-mouse--read-event-sequence-1006): New functions. For old
2694 mouse protocol, handle M-mouse-X events correctly.
2695 (xterm-mouse-event): New arg specifying mouse protocol.
2696 (turn-on-xterm-mouse-tracking-on-terminal)
2697 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2698 sequence to toggle extended coordinates on newer XTerms.
2699 This appears to be harmless on terminals which do not support this.
63408057 2700
cd276f6e
LL
27012012-07-14 Leo Liu <sdl.web@gmail.com>
2702
28ca98ac
LL
2703 Add fringe bitmap indicators for flymake. (Bug#11253)
2704 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2705 (flymake-make-overlay): New arg BITMAP.
2706 (flymake-error-bitmap, flymake-warning-bitmap)
2707 (flymake-fringe-indicator-position): New user variables.
2708
cd276f6e
LL
2709 * fringe.el: New bitmap exclamation-mark.
2710
04408072
JD
27112012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2712
2713 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2714 also (Bug#7879).
2715
b5cf7fc4
CY
27162012-07-14 Chong Yidong <cyd@gnu.org>
2717
2718 * electric.el (electric-pair-post-self-insert-function): Fix pair
2719 insertion in empty-region case (Bug#11520).
2720
be755c79
RT
27212012-07-14 Chong Yidong <cyd@gnu.org>
2722
45fd731c
SM
2723 * bindings.el: Consolidate ctl-x-r-map bindings.
2724 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2725
2726 * rect.el, register.el: Move bindings to bindings.el.
2727
27282012-07-14 Reuben Thomas <rrt@sc3d.org>
2729
2730 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2731
7f5b3198
AS
27322012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2733
2734 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2735
97662200
JB
27362012-07-13 Juanma Barranquero <lekktu@gmail.com>
2737
80185fed
JB
2738 * bindings.el (top): Use `mapc' instead of `mapcar'.
2739
97662200
JB
2740 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2741
2bb1ae55
MA
27422012-07-13 Michael Albinus <michael.albinus@gmx.de>
2743
2744 * progmodes/sql.el (sql-comint): Suppress the check for program on
2745 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2746 (Bug#11908)
2747
dea31bd3
CY
27482012-07-13 Chong Yidong <cyd@gnu.org>
2749
2750 * bindings.el: Assign a non-nil permanent-local property to
2751 per-buffer variables which lack a default value (Bug#11930).
2752
2753 * help-fns.el (describe-variable): In the "automatically becomes
2754 local" notice, take note of permanent-local variables.
2755
b68b3337
CY
27562012-07-13 Chong Yidong <cyd@gnu.org>
2757
2758 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2759 to allow printing the message when called from Lisp.
2760
2761 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2762 Remove toggle-read-only.
2763
2764 * bs.el (bs-toggle-readonly):
45fd731c
SM
2765 * buff-menu.el (Buffer-menu-toggle-read-only):
2766 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2767
2768 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2769 Remove with-no-warnings around toggle-read-only.
2770 (ffap-read-only, ffap-read-only-other-window)
2771 (ffap-read-only-other-frame): Callers changed.
2772
2773 * help-mode.el: Don't require view package.
2774 (help-mode-finish): Set buffer-read-only instead of calling
2775 toggle-read-only.
2776
2777 * bindings.el (mode-line-toggle-read-only):
2778 * dired.el (dired-toggle-read-only):
2779 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2780 with non-nil second arg.
2781
2782 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2783 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2784 directly.
2785
56bc1586
EZ
27862012-07-12 Eli Zaretskii <eliz@gnu.org>
2787
2788 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2789 not incf.
2790
a464a6c7
SM
27912012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 More CL cleanups and reduction of use of cl.el.
2794 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2795 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2796 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2797 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2798 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2799 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2800 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2801 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2802 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2803 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2804 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2805 * eshell/em-cmpl.el, eshell/em-banner.el:
2806 * calendar/parse-time.el: Use cl-lib.
2807 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2808 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2809 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2810 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2811 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2812 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2813 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2814 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2815 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2816 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2817 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2818 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2819 `lambda' rather than with `quote'.
2820 (eshell-do-opt): Adjust accordingly.
2821 (eshell-process-option): Simplify.
2822 * eshell/esh-var.el:
2823 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2824 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2825 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2826 to `pcase--dontcare'.
2827 * emacs-lisp/cl.el (labels): Mark obsolete.
2828 (cl--letf, letf): Move to cl-lib.
2829 (cl--letf*, letf*): Remove.
2830 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2831 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2832 (cl-progv): Rewrite.
2833 (cl--letf, cl-letf): Move from cl.el.
2834 (cl-letf*): New macro.
2835 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2836
7ad4afe1
MA
28372012-07-11 Michael Albinus <michael.albinus@gmx.de>
2838
2839 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2840
9af57756
CY
28412012-07-11 Chong Yidong <cyd@gnu.org>
2842
2843 * vc/log-edit.el (log-edit-vc-backend): New variable.
2844 (log-edit): Doc fix.
2845
2846 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2847 argument of log-edit to set up all local variables.
2848 (vc-start-logentry): New optional arg specifying VC backend.
2849
2850 * vc/vc.el (vc-checkin): Use it.
2851 (vc-deduce-fileset): Handle Log Edit buffers.
2852 (vc-diff): Make first argument optional too.
2853
2854 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2855
8477cc7a
MA
28562012-07-10 Michael Albinus <michael.albinus@gmx.de>
2857
2858 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2859 command, just in case. The function is not needed anymore.
2860 (eshell-external-command): Do not call `eshell-remote-command'.
2861
19faa8e8
SM
28622012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2863
f58e0fd5
SM
2864 Reduce use of (require 'cl).
2865 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2866 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2867 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2868 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2869 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2870 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2871 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2872 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2873 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2874 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2875 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2876 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2877 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2878 (byte-compile-unfold-bcf, byte-compile-check-variable):
2879 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2880 (byte-compile-nilconstp):
2881 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2882 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2883
2519d43a
SM
2884 * emacs-lisp/gv.el (cond): Make it a valid place.
2885 (if): Simplify slightly.
2886
19faa8e8
SM
2887 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2888 (pcase--self-quoting-p): New function.
2889 (pcase--u1): Use it.
2890
c4907a5e
GM
28912012-07-10 Glenn Morris <rgm@gnu.org>
2892
2893 * emacs-lisp/authors.el (authors-fixed-entries):
2894 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2895
c4444d16
PE
28962012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2897
2898 Rename configure.in to configure.ac (Bug#11603).
2899 * emacs-lisp/authors.el (authors-canonical-file-name):
2900 * progmodes/autoconf.el (autoconf-mode):
2901 Prefer configure.ac to configure.in.
2902
d75be97d
CY
29032012-07-08 Chong Yidong <cyd@gnu.org>
2904
01ac65bd
CY
2905 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2906 Implement the mouse-1-click-follows-link handling properly.
2907
2908 * info.el (Info-link-keymap): Use follow-link mechanism for
2909 header-line links (Bug#374).
2910
d75be97d
CY
2911 * simple.el (deactivate-mark): Do not set the primary selection
2912 if another program has acquired it (Bug#11772).
2913
87a92845 29142012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2915
2916 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2917 (woman-decode-region): Replace escaped-escapes without destroying
2918 bold or underline (Bug#11552).
87a92845 2919 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2920
621b9d6c
CY
29212012-07-07 Chong Yidong <cyd@gnu.org>
2922
2923 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2924 (interprogram-cut-function, interprogram-paste-function):
2925 Mention that we typically mean the clipboard.
621b9d6c 2926
133a11fc
GM
29272012-07-06 Glenn Morris <rgm@gnu.org>
2928
0d27a45e
GM
2929 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2930
133a11fc
GM
2931 * files.el (toggle-read-only): Restrict message to interactive use.
2932
07b151f1
MA
29332012-07-06 Michael Albinus <michael.albinus@gmx.de>
2934
2935 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2936
2937 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2938
211b896b
GM
29392012-07-06 Glenn Morris <rgm@gnu.org>
2940
50394322
GM
2941 * Makefile.in (compile-one-process): Rename from "recompile".
2942
211b896b
GM
2943 * Makefile.in (bzr-update): "compile" is the same as "recompile
2944 autoloads", but parallelizable, so use that instead.
2945
4737eec9
DG
29462012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2947
2948 * window.el (quit-window): Always restore window height when
8137e7b3 2949 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2950
226c3633 29512012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2952
2953 * simple.el (kill-whole-line): Doc tweak.
2954
226c3633 29552012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2956
2957 * files.el (file-relative-name): Compare file names
2958 case-insensitively if on MS-Windows or MS-DOS, or if
2959 read-file-name-completion-ignore-case is non-nil. Don't use
2960 case-fold-search for this purpose. (Bug#11827)
2961
4dc7c8d5
SM
29622012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2963
2964 * calendar/cal-dst.el (calendar-current-time-zone):
2965 Return calendar-current-time-zone-cache if non-nil.
2966
29672012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 29682012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2969
19faa8e8
SM
2970 * calendar/cal-dst.el (calendar-current-time-zone):
2971 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2972
60198fc9
GM
29732012-07-06 Glenn Morris <rgm@gnu.org>
2974
2975 * Makefile.in (cvs-update): Remove old alias.
2976
957b3189
MA
29772012-07-05 Michael Albinus <michael.albinus@gmx.de>
2978
2979 Sync with Tramp 2.2.6-pre.
2980
2981 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2982 compatible declaration.
2983
19faa8e8
SM
2984 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2985 Protect `list-load-path-shadows' call.
957b3189
MA
2986
2987 * net/tramp-compat.el (top): Require packages, which aren't
2988 autoloaded anymore for XEmacs. Protect call of
2989 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2990 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2991 it hurts at least for SXEmacs.
2992 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2993 standard-value for `temporary-file-directory'.
2994
2995 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2996 Redirect stderr to /dev/null.
2997 (tramp-sh-handle-write-region): uid and gid can be floats.
2998 Reported by Russell Sim <russell.sim@gmail.com>.
2999 (tramp-sh-handle-vc-registered): Hide errors.
3000 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3001 and `start-file-process'.
3002 (tramp-maybe-open-connection): Check also whether `non-essential'
3003 is bound.
3004
566df3fc
CY
30052012-07-04 Chong Yidong <cyd@gnu.org>
3006
3007 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3008 (xml-parse-tag): Likewise, and avoid changing entity tables.
3009 (xml-syntax-table): Define from scratch, making sure not to give
3010 x2000 and other Unicode spaces whitespace syntax, since those are
3011 not spaces in XML.
3012 (xml-parse-fragment): Delete unused function.
3013 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3014 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3015 (xml-entity-ref, xml-pe-reference-re)
3016 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3017 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3018 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3019 (xml-entity-value-re): Use syntax references in regexps where
3020 possible; no need to define inside a let-binding.
3021 (xml-parse-dtd): Use xml-pe-reference-re.
3022 (xml-entity-or-char-ref-re): New defconst.
3023 (xml-parse-string, xml-substitute-special): Use it.
3024
30eabd7a
SM
30252012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3026
0781098a
SM
3027 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3028 (find-file--read-only): New function.
3029 (find-file-read-only, find-file-read-only-other-window)
3030 (find-file-read-only-other-frame): Use it.
3031 (insert-file-contents-literally): Don't `fset'.
3032 (get-free-disk-space): Use locate-dominating-file.
3033
b5771c0d
SM
3034 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3035 function is already compiled.
3036
30eabd7a
SM
3037 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3038
b4886f6e
MA
30392012-07-03 Michael Albinus <michael.albinus@gmx.de>
3040
3041 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3042 files on the same host.
3043
b9d82339
AS
30442012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3045
3046 * help-fns.el (describe-function-1): Only call
3047 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3048
a76e6535
CY
30492012-07-03 Chong Yidong <cyd@gnu.org>
3050
3051 * xml.el: Protect parser against XML bombs.
3052 (xml-entity-expansion-limit): New variable.
3053 (xml-parse-string, xml-substitute-special): Use it.
3054 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3055
b544fef2
GM
30562012-07-03 Glenn Morris <rgm@gnu.org>
3057
3058 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3059 Allow linking to specific messages in debbugs reports (eg 123#5).
3060
a7aef6f5
CY
30612012-07-02 Chong Yidong <cyd@gnu.org>
3062
3063 * xml.el: Fix entity and character reference expansion, allowing
3064 them to expand into markup as per XML spec.
3065 (xml-default-ns): New variable.
3066 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3067 (xml-parse-region): Make first two arguments optional.
3068 Discard text properties.
3069 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3070 All callers changed.
a7aef6f5
CY
3071 (xml-parse-tag): Call xml-parse-tag-1. For backward
3072 compatibility, this function should not modify buffer contents.
3073 (xml-parse-tag-1): Fix opening-tag regexp.
3074 (xml-parse-string): Rewrite, handling entity and character
3075 references properly.
3076 (xml--entity-replacement-text): Signal an error if a parameter
3077 entity is undefined.
3078
3df31c9f
SM
30792012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3080
2b5208f1
SM
3081 * comint.el (comint-output-filter): Filter out repeated prompts.
3082
3df31c9f
SM
3083 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3084 and file-name-absolute-p.
3085 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3086 internal calls.
3087
e3ac1281
PE
30882012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3089
3090 Spelling fixes.
3091 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3092 Rename from byte-compile--refiy-function. All uses changed.
3093
fbf2e7ad
CY
30942012-07-01 Chong Yidong <cyd@gnu.org>
3095
3096 * xml.el (xml--parse-buffer): New function. Move most of
3097 xml-parse-region here.
3098 (xml-parse-region): Copy region into a temporary buffer, since
3099 parameter entity substitution requires changing buffer contents.
3100 Use xml--parse-buffer.
3101 (xml-parse-file): Use xml--parse-buffer.
3102 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3103 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3104
9bf0aa15
GM
31052012-06-30 Glenn Morris <rgm@gnu.org>
3106
bbce2853
GM
3107 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3108
9bf0aa15
GM
3109 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3110 Remove outdated and unnecessary dbus declarations.
3111
0d23c240
EZ
31122012-06-30 Eli Zaretskii <eliz@gnu.org>
3113
3114 * emacs-lisp/timer.el (timer-until): Subtract results of
3115 float-time, instead of taking float-time of the result of
3116 time-subtract, since float-time signals an error for negative time
3117 arguments.
3118
b3218de1
CY
31192012-06-30 Chong Yidong <cyd@gnu.org>
3120
3121 * xml.el (xml-*-re): Convert defvars into defconsts, and
3122 eval-and-compile them so eval-and-compile works on derivatives.
3123 (xml--entity-replacement-text): Use eval-and-comple.
3124
a40c87a0
MA
31252012-06-30 Michael Albinus <michael.albinus@gmx.de>
3126
3127 * vc/vc-git.el (vc-git-registered): Use cache property
3128 `git-registered'.
3129 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3130 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3131 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3132
ac87de97
DG
31332012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3134
3135 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3136 removed (likely outside Emacs). (Bug#11757)
ac87de97 3137
ac10fe06
SM
31382012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3df31c9f 3140 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3141
7f3fbd5d
CY
31422012-06-30 Chong Yidong <cyd@gnu.org>
3143
3144 * xml.el: Implement XML parameter entities.
3145 (xml-parameter-entity-alist): New variable.
3146 (xml-parse-region, xml-parse-fragment): Preserve previous values
3147 of xml-entity-alist and xml-parameter-entity-alist, so that
3148 repeated calls on different documents do not change them.
3149 (xml-parse-tag): Fix doctype regexp.
3150 (xml--entity-replacement-text): New function.
3151 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3152 properly requires url retrieval which is unimplemented.
3153 (xml-escape-string): Doc fix.
3154
3cfbebba
SM
31552012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3158
2af3565e
DA
31592012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3160
3161 * fringe.el (fringe-mode): Doc fix.
3162
929df0e7
MA
31632012-06-29 Michael Albinus <michael.albinus@gmx.de>
3164
3165 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3166 is non-nil.
3167 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3168 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3169
c8d3a25c 31702012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3171
c8d3a25c
GM
3172 * calendar/cal-dst.el (calendar-current-time-zone):
3173 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3174
c8d3a25c 31752012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3176
3177 * progmodes/which-func.el (which-func-format):
3178 Add mouse-face. (Bug#11698)
3179
c8d3a25c
GM
31802012-06-29 Leo Liu <sdl.web@gmail.com>
3181
3182 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3183
31842012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * minibuffer.el (minibuffer-confirm-exit-commands):
3187 Add completion-at-point (bug#11725).
3188
31892012-06-29 Glenn Morris <rgm@gnu.org>
3190
3191 * progmodes/f90.el (f90-font-lock-keywords-2):
3192 Add some preprocessor elements. (Bug#10499)
3193
31942012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3197 Use syntax-propertize (bug#11739).
3198
2badeec4
JB
31992012-06-28 Juanma Barranquero <lekktu@gmail.com>
3200
3201 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3202
ae4969c2
JD
32032012-06-28 Julien Danjou <julien@danjou.info>
3204
3205 * term.el (term-handle-colors-array): Use a set of new faces to
3206 color the terminal. Also uses :inverse-video property.
3207 (term-default-fg-color): Set to nil by default, deprecate in favor
3208 of `term-face'.
3209 (term-default-bg-color): Set to nil by default, deprecate in favor
3210 of `term-face'.
3211 (term-current-face): Use `term-face' by default.
3212 (term-bold-attribute): Variable deleted.
3213
1c9bd870
GM
32142012-06-28 Glenn Morris <rgm@gnu.org>
3215
3216 * simple.el (completion-list-mode-finish):
3217 Don't use toggle-read-only. (Since completion-list-mode has
3218 a special mode-class, it wasn't doing anything extra anyway.)
3219
c207708c
SM
32202012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 Make inlining of other-mode interpreted functions work (bug#11799).
3223 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3224 (byte-compile): Use it to fix compilation of lexical-binding closures.
3225 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3226 function, if needed.
3227
3fd56834
SM
32282012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3229
04901786
SM
3230 * help-mode.el (help-make-xrefs): Don't just withstand
3231 cyclic-variable-indirection but any error in documentation-property.
3232
1ec4b7b2
SM
3233 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3234 memory use.
3235 * bindings.el (bindings--define-key): New function.
3236 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3237 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3238 * bindings.el: Use it to purecopy define-key bindings.
3239
e309e2a5
SM
3240 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3241
d5c6faf9
SM
3242 * emacs-lisp/cl.el (flet): Mark obsolete.
3243 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3244 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3245 * progmodes/js.el (js-c-fill-paragraph):
3246 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3247 (ebrowse-switch-member-buffer-to-derived-class):
3248 * play/5x5.el (5x5-solver): Use cl-flet.
3249
6e9590e2
SM
3250 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3251 (cl--symbol-function): New macro.
3252 (cl--letf, cl--letf*): Use it.
3253
3fd56834
SM
3254 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3255 Strip "toggle-" if any.
3256
35ff222c
GM
32572012-06-27 Glenn Morris <rgm@gnu.org>
3258
1ba6038a
GM
3259 * info.el (Info-default-directory-list): Move here from paths.el.
3260 * paths.el: Remove file, which is now empty.
3261 * loadup.el: No longer load "paths".
3262
0ea0e51b
GM
3263 * custom.el (custom-initialize-delay): Doc fix.
3264
35ff222c
GM
3265 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3266 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3267 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3268 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3269 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3270 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3271 * eshell/eshell.el (eshell-defgroup): Remove alias.
3272
c89926a5
CY
32732012-06-27 Chong Yidong <cyd@gnu.org>
3274
3275 * help.el (help-enable-auto-load): New variable.
3276
3277 * help-fns.el (help-fns--autoloaded-p): New function.
3278 (describe-function-1): Refer to a function as "autoloaded" if it
3279 was autoloaded at any time in the past. Perform autoloading if
3280 help-enable-auto-load is non-nil.
3281
cc06e7e7
EZ
32822012-06-26 Eli Zaretskii <eliz@gnu.org>
3283
3284 * makefile.w32-in (compile, compile-always): Depend on
3285 update-subdirs, not on subdirs.el. Otherwise, several different
3286 sub-targets of 'bootstrap' running in parallel could
3287 simultaneously write to subdirs.el, producing a garbled file.
3288
d2c32364
SS
32892012-06-26 Sam Steingold <sds@gnu.org>
3290
3291 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3292 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3293 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3294 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3295 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3296 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3297 * textmodes/tex-mode.el: Use it.
3298 Did not touch cedet and org because they are maintained elsewhere.
3299
5cf983b2
MR
33002012-06-26 Martin Rudalics <rudalics@gmx.at>
3301
3302 * calendar/calendar.el (calendar-exit): Don't try to delete or
3303 iconify last frame. See:
3304 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3305
8c4f2952
JD
33062012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3307
3308 * server.el (server-process-filter): Remember dir in the
3309 process's `server-client-directory' properties.
3310
772b2e2c
CY
33112012-06-24 Chong Yidong <cyd@gnu.org>
3312
3313 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3314 non-tag text.
3315
711b11e1
JB
33162012-06-23 Juanma Barranquero <lekktu@gmail.com>
3317
3318 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3319
dc5d230c
SM
33202012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * help-fns.el (describe-variable): Don't croak when doc is not found.
3323 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3324 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3325 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3326 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3327 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3328 ((lambda ..) ..).
3329 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3330
136e1c1d
CY
33312012-06-23 Chong Yidong <cyd@gnu.org>
3332
e8c1cabf
CY
3333 * info.el (Info-mouse-follow-link): Accept symbol values of
3334 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3335 (Info-fontify-node): Use Info-link-keymap for all navigation
3336 buttons, with link-args property to perform the desired action.
3337 (Info-link-keymap): Doc fix.
3338 (Info-next-link-keymap, Info-prev-link-keymap)
3339 (Info-up-link-keymap): Delete now-unused keymaps.
3340
0e9e6c6a
CY
33412012-06-23 Chong Yidong <cyd@gnu.org>
3342
05e89fea
CY
3343 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3344
0e9e6c6a
CY
3345 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3346 system abbrevs.
3347
3348 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3349
e33c6771
SM
33502012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3351
b68581e2
SM
3352 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3353 (bug#11719).
3354
e33c6771
SM
3355 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3356 the requote function doesn't work properly (bug#11714).
3357
7117e105
GM
33582012-06-23 Glenn Morris <rgm@gnu.org>
3359
3360 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3361
36cec983
SM
33622012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 Further GV/CL cleanups.
3365 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3366 gv-expander.
3367 (gv--defun-declaration): New function.
3368 (defun-declarations-alist): Use it.
3369 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3370 (gv-place): Autoload.
3371 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3372 original definition of dotimes and dolist.
3373 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3374 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3375 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3376 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3377 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3378 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3379 to the function's definition.
3380 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3381 * window.el:
3382 * files.el:
3383 * faces.el:
3384 * env.el: Don't use CL.
3385
d35af63c
PE
33862012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3387
3388 Support higher-resolution time stamps (Bug#9000).
3389
3390 * calendar/time-date.el (with-decoded-time-value): New arg
3391 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3392 (encode-time-value): New optional arg PICO. New type 3.
3393 (time-to-seconds) [!float-time]: Support the new picoseconds
3394 component if it's used.
3395 (seconds-to-time, time-subtract, time-add):
3396 Support ps-resolution time stamps as well.
3397
3398 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3399 (timerp): Timer vectors now have length 9, not 8.
3400 (timer--time): Support new-style (4-part) time stamps.
3401 (timer-next-integral-multiple-of-time): Time stamps now have
3402 picosecond resolution, so take a bit more care about rounding.
3403 (timer-relative-time, timer-inc-time): New optional arg psecs.
3404 (timer-set-time-with-usecs): Set psecs to 0.
3405 (timer--activate): Check psecs component, too.
3406
3407 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3408
ac77b21a
SM
34092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3410
f143bfe3
SM
3411 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3412 Move the non-essential binding to the post/pre-command-hook where it is
3413 more obviously correct.
3414
ac77b21a
SM
3415 * subr.el (read-passwd): Don't use a history at all.
3416 * savehist.el (savehist-save): Remove password saved accidentally
3417 because of the above bug.
3418
76386c5a
BG
34192012-06-22 Bastien Guerry <bzg@gnu.org>
3420
3421 * files.el (toggle-read-only): Display a message telling whether
3422 the buffer is read-only or not (bug#11726).
3423
2ee3d7f0
SM
34242012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 * emacs-lisp/gv.el: New file.
3427 * subr.el (push, pop): Extend to generalized variables.
3428 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3429 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3430 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3431 gv-define-simple-setter, and gv-define-expander.
3432 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3433 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3434 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3435 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3436 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3437 gv-letplace.
3438 (cl-defstruct): Don't define setf-method any more.
3439 * emacs-lisp/cl.el (flet): Don't autoload.
3440 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3441 (define-setf-expander, defsetf, define-modify-macro)
3442 (cl-struct-setf-expander): Move from cl-lib.el.
3443 * emacs-lisp/syntax.el:
3444 * emacs-lisp/ewoc.el:
3445 * emacs-lisp/smie.el:
3446 * emacs-lisp/cconv.el:
3447 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3448 (timer--time): Use gv-define-simple-setter.
3449 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3450 to avoid coding-system problems in subr.el. Adjust all users.
3451 (macroexp--maxsize, macroexp-small-p): New functions.
3452 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3453 * scroll-bar.el (scroll-bar-mode):
3454 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3455 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3456 * winner.el (winner-configuration, winner-make-point-alist)
3457 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3458 * files.el (locate-file-completion-table): Avoid list*.
3459
c5695d1d
CY
34602012-06-22 Chong Yidong <cyd@gnu.org>
3461
3462 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3463 (dired-create-files): Doc fix (Bug#11329).
3464 (dired-do-copy): Doc fix (Bug#11334).
3465 (dired-mark-read-string): Doc fix (Bug#11553).
3466
2ee3d7f0
SM
3467 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3468 Doc fix (Bug#11326).
c5695d1d
CY
3469 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3470 (dired-dwim-target): Doc fix.
3471
3472 * wdired.el (wdired-mode): Doc fix.
3473
89b5595a
GM
34742012-06-22 Glenn Morris <rgm@gnu.org>
3475
575db3f1
GM
3476 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3477 (pcmpl-rpm-cache-stamp-file): New constant.
3478 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3479 (pcmpl-rpm-packages): Optionally cache list of packages.
3480
a4c8dd51
GM
3481 * pcmpl-rpm.el (pcmpl-rpm): New group.
3482 (pcmpl-rpm-query-options): New option.
3483 (pcmpl-rpm-packages): No need to inline it.
3484 Use pcmpl-rpm-query-options.
3485
89b5595a
GM
3486 * calendar/calendar.el (calendar-in-read-only-buffer):
3487 Avoid some needless mode changes.
3488
e76f0800
CY
34892012-06-21 Chong Yidong <cyd@gnu.org>
3490
3491 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3492 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3493 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3494
297a8f1d
CY
34952012-06-20 Chong Yidong <cyd@gnu.org>
3496
3497 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3498
d34c18b1
DR
34992012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3500
3501 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3502 (bug#11201).
3503
32f7f28e
CY
35042012-06-20 Chong Yidong <cyd@gnu.org>
3505
3506 * term.el (term-window-width): Handle the case of a missing right
3507 fringe (Bug#8837).
3508 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3509 (term-mode): Use define-derived-mode. Minor cleanups.
3510 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3511 (term-move-columns, term-insert-char, term-emulate-terminal)
3512 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3513
493c6688
MA
35142012-06-20 Michael Albinus <michael.albinus@gmx.de>
3515
d34c18b1
DR
3516 * net/ange-ftp.el (ange-ftp-get-passwd):
3517 Bind `enable-recursive-minibuffers'.
493c6688
MA
3518 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3519
3f06ecf4
DR
35202012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3521
3522 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3523
68f12411
GM
35242012-06-19 Glenn Morris <rgm@gnu.org>
3525
3526 * progmodes/python.el (python-mode): Derive from prog-mode.
3527
b3820318
KG
35282012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3529
3530 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3531 (edt-user-menu-bar-update-buffers): New functions.
3532 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3533
c6bf3022
CY
35342012-06-19 Chong Yidong <cyd@gnu.org>
3535
3536 * subr.el (with-selected-window): Preserve the selected window's
3537 terminal's top-frame (Bug#4702).
3538
3539 * window.el (save-selected-window): Likewise.
3540
25f09295
SM
35412012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * progmodes/python.el (python-rx-constituents): Move backquote.
3544 (python-skeleton-define, python-define-auxiliary-skeleton):
3545 Use `declare'.
3546
6b11952a
MA
35472012-06-18 Michael Albinus <michael.albinus@gmx.de>
3548
3549 * minibuffer.el (read-file-name-default): Revert the patch from
3550 2012-06-17.
3551
ee4b1330
SM
35522012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3555 (pcase--u1, pcase--q1): Don't use apply-partially.
3556
35647f79
GM
35572012-06-18 Glenn Morris <rgm@gnu.org>
3558
3559 * progmodes/python.el (python-proc, python-buffer)
3560 (python-send-receive, python-send-string): Fix obsolete versions.
3561
24b0cff0
MR
35622012-06-18 Martin Rudalics <rudalics@gmx.at>
3563
3564 * window.el (special-display-p): Completely remove stringp
3565 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3566
29855149
MA
35672012-06-17 Michael Albinus <michael.albinus@gmx.de>
3568
3569 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3570
3571 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3572
3573 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3574 * net/tramp-sh.el (tramp-maybe-open-connection):
3575 Throw if `non-essential' is non-nil.
3576
07463363
MR
35772012-06-17 Martin Rudalics <rudalics@gmx.at>
3578
3579 * window.el (special-display-p): Signal an error if BUFFER-NAME
3580 is not a string (Bug#11713).
3581
48d1354e
PE
35822012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3583
3584 * progmodes/python.el (python-info-beginning-of-backslash):
3585 Rename from python-info-beginning-of-backlash, as a spelling fix.
3586
eb4a8a9a
CY
35872012-06-17 Chong Yidong <cyd@gnu.org>
3588
3589 * term.el (term-emulate-terminal): If term-check-size is called,
3590 move point to the process mark without resetting point (Bug#4635).
3591
ddfbf826 35922012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3593
3594 * international/mule-cmds.el (mule-menu-keymap)
3595 (set-language-environment, set-locale-environment): Doc tweaks.
3596
9b0e3eba
AA
35972012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3598
3599 * cus-face.el (custom-face-attributes): Add wave-style underline
3600 attribute.
3601 * faces.el (set-face-attribute): Update docstring to describe
3602 wave-style underline attribute.
3603
771e3eae
CY
36042012-06-16 Chong Yidong <cyd@gnu.org>
3605
3606 * term/xterm.el (terminal-init-xterm): Discard input before
3607 querying background mode (Bug#10959).
3608
7ae2ea10
SM
36092012-06-16 Stefan Merten <smerten@oekonux.de>
3610
3611 * textmodes/rst.el: Added and corrected some comments.
3612 (rst-re-alist-def): Improve symbol syntax.
3613 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3614 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3615 (rst-official-version, rst-official-cvs-rev): Update version
3616 information.
7ae2ea10 3617
b6974efa
JB
36182012-06-15 Juanma Barranquero <lekktu@gmail.com>
3619
3620 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3621 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3622
8826d473
GM
36232012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3624
3625 * progmodes/python.el: New python.el merge.
3626 (python-guess-indent): Obsolete var.
3627 (python-indent-guess-indent-offset): New defcustom.
3628 (python-indent): Obsolete var.
3629 (python-indent-offset): New defcustom.
3630 (python-python-command, python-jython-command): Delete var.
3631 (python-shell-interpreter): New defcustom.
3632 (python-pdbtrack-do-tracking-p): Delete var.
3633 (python-pdbtrack-activate): New defcustom.
3634 (python-use-skeletons): Obsolete var.
3635 (python-skeleton-autoinsert): New defcustom.
3636 (inferior-python-filter-regexp, python-continuation-offset)
3637 (python-honour-comment-indentation, python-indent-string-contents)
3638 (python-jython-packages, python-mode-hook)
3639 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3640 (python-shell-prompt-alist)
3641 (python-source-modes): Delete defcustoms.
3642 (python-check-buffer-name, python-eldoc-setup-code)
3643 (python-eldoc-string-code, python-ffap-setup-code)
3644 (python-ffap-string-code, python-fill-comment-function)
3645 (python-fill-decorator-function, python-fill-paren-function)
3646 (python-fill-string-function, python-imenu-include-defun-type)
3647 (python-imenu-make-tree, python-imenu-subtree-root-label)
3648 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3649 (python-shell-compilation-regexp-alist)
3650 (python-shell-completion-module-string-code)
3651 (python-shell-completion-pdb-string-code)
3652 (python-shell-completion-setup-code)
3653 (python-shell-completion-string-code)
3654 (python-shell-enable-font-lock, python-shell-exec-path)
3655 (python-shell-extra-pythonpaths)
3656 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3657 (python-shell-process-environment)
3658 (python-shell-prompt-block-regexp)
3659 (python-shell-prompt-output-regexp)
3660 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3661 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3662 (python-shell-virtualenv-path): New defcustoms.
3663 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3664 (inferior-python-mode-syntax-table, python--prompt-regexp)
3665 (python-buffer, python-command python-python-command)
3666 (python-default-template, python-imports, python-indent-index)
3667 (python-indent-list, python-indent-list-length)
3668 (python-mode-running, python-pdbtrack-is-tracking-p)
3669 (python-preoutput-continuation, python-preoutput-leftover)
3670 (python-preoutput-result, python-preoutput-skip-next-prompt)
3671 (python-prev-dir/file, python-recursing)
3672 (python-saved-check-command, python-version-checked)
3673 (python-which-func-length-limit)
3674 (view-return-to-alist): Delete vars.
3675 (python-check-custom-command, python-dotty-syntax-table)
3676 (python-imenu-index-alist, python-indent-current-level)
3677 (python-indent-dedenters, python-indent-levels)
3678 (python-nav-beginning-of-defun-regexp)
3679 (python-nav-list-defun-positions-cache)
3680 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3681 (python-shell-internal-buffer)
3682 (python-skeleton-available): New vars.
3683 (def-python-skeleton): Delete macro.
3684 (python-skeleton-define): New macro.
3685 (python-define-auxiliary-skeleton, python-rx): New macros.
3686 (python-insert-class): Delete command.
3687 (python-skeleton-class): New command.
3688 (python-insert-def): Delete command.
3689 (python-skeleton-def): New command.
3690 (python-insert-for): Delete command.
3691 (python-skeleton-for): New command.
3692 (python-insert-if): Delete command.
3693 (python-skeleton-if): New command.
3694 (python-insert-try/except, python-insert-try/finally): Delete commands.
3695 (python-skeleton-try): New command.
3696 (python-insert-while): Delete command.
3697 (python-skeleton-while): New command.
3698 (python-backspace): Delete command.
3699 (python-indent-dedent-line-backspace): New command.
3700 (python-electric-colon): Delete command.
3701 (python-indent-electric-colon): New command.
3702 (python-guess-indent): Delete command.
3703 (python-indent-guess-indent-offset): New command.
3704 (python-shift-left): Delete command.
3705 (python-indent-shift-left): New command.
3706 (python-shift-right): Delete command.
3707 (python-indent-shift-right): New command.
3708 (python-find-function): Delete command.
3709 (python-nav-jump-to-defun): New command.
3710 (python-next-statement): Delete command.
3711 (python-nav-forward-sentence): New command.
3712 (python-previous-statement): Delete command.
3713 (python-nav-backward-sentence): New command.
3714 (python-fill-paragraph): Delete command.
3715 (python-fill-paragraph-function): New command.
3716 (python-send-buffer): Delete command.
3717 (python-shell-send-buffer): New command.
3718 (python-send-defun): Delete command.
3719 (python-shell-send-defun): New command.
3720 (python-send-region, python-send-region-and-go): Delete commands.
3721 (python-shell-send-region)
3722 (python-shell-switch-to-shell): New commands.
3723 (python-send-string): Delete command.
3724 (python-shell-send-string): New command.
3725 (python-switch-to-python): Delete command.
3726 (python-shell-switch-to-shell): New command.
3727 (python-describe-symbol): Delete command.
3728 (python-eldoc-at-point): New command.
3729 (python--set-prompt-regexp, python-args-to-list)
3730 (python-after-info-look, python-check-version)
3731 (python-check-comint-prompt, python-find-imports)
3732 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3733 (python-unload-function, python-expand-template)
3734 (python-maybe-jython, python-preoutput-filter)
3735 (python-pdbtrack-get-source-buffer)
3736 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3737 (python-pdbtrack-toggle-stack-tracking)
3738 (python-pdbtrack-track-stack-file, python-initial-text)
3739 (python-first-word, python-comment-line-p, python-send-command)
3740 (python-setup-brm, python-sentinel, python-set-proc)
3741 (python-skip-out, python-input-filter, python-outdent-p)
3742 (python-outline-level, python-backslash-continuation-line-p)
3743 (python-end-of-block, python-end-of-statement, python-mark-block)
3744 (python-beginning-of-block, python-beginning-of-statement)
3745 (python-blank-line-p, python-beginning-of-string)
3746 (python-open-block-statement-p): Delete functions.
3747 (python-indent-line, python-indent-line-1): Delete functions.
3748 (python-indent-line): New function.
3749 (python-indentation-levels): Delete function.
3750 (python-indent-calculate-levels): New function.
3751 (python-proc): Delete function.
3752 (python-shell-get-process): New function.
3753 (python-send-receive): Delete function.
3754 (python-shell-send-string-no-output): New function.
3755 (python-module-path): Delete function.
3756 (python-ffap-module-path): New function.
3757 (python-completion-at-point)
3758 (python-symbol-completions): Delete functions.
3759 (python-completion-complete-at-point): New function.
3760 (python-load-file): Delete function.
3761 (python-shell-send-file): New function.
3762 (python-calculate-indentation): Delete function.
3763 (python-indent-calculate-indentation): New function.
3764 (python-skip-comments/blanks): Delete function.
3765 (python-util-forward-comment): New function.
3766 (python-continuation-line-p): Delete function.
3767 (python-info-continuation-line-p): New function.
3768 (python-which-func, python-current-defun): Delete function.
3769 (python-info-current-defun): New function.
3770 (python-beginning-of-defun): Delete function.
3771 (python-nav-beginning-of-defun): New function.
3772 (python-close-block-statement-p)
3773 (python-block-end-p): Delete function.
3774 (python-info-closing-block): New function.
3775 (python-comint-output-filter-function)
3776 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3777 (python-fill-comment, python-fill-decorator, python-fill-paren)
3778 (python-fill-string, python-imenu-make-element-tree)
3779 (python-imenu-make-tree, python-imenu-tree-assoc)
3780 (python-indent-context, python-indent-dedent-line)
3781 (python-indent-line-function)
3782 (python-indent-post-self-insert-function)
3783 (python-indent-toggle-levels)
3784 (python-info-assignment-continuation-line-p)
3785 (python-info-beginning-of-backlash)
3786 (python-info-block-continuation-line-p)
3787 (python-info-closing-block-message)
3788 (python-info-line-ends-backslash-p)
3789 (python-info-looking-at-beginning-of-defun)
3790 (python-info-ppss-context, python-info-ppss-context-type)
3791 (python-nav-list-defun-positions, python-nav-read-defun)
3792 (python-nav-sentence-end, python-nav-sentence-start)
3793 (python-pdbtrack-comint-output-filter-function)
3794 (python-pdbtrack-set-tracked-buffer)
3795 (python-shell-calculate-exec-path)
3796 (python-shell-calculate-process-environment)
3797 (python-shell-completion--do-completion-at-point)
3798 (python-shell-completion--get-completions)
3799 (python-shell-completion-complete-at-point)
3800 (python-shell-completion-complete-or-indent)
3801 (python-shell-get-or-create-process)
3802 (python-shell-get-process-name)
3803 (python-shell-internal-get-or-create-process)
3804 (python-shell-internal-get-process-name)
3805 (python-shell-internal-send-string, python-shell-make-comint)
3806 (python-shell-parse-command, python-shell-send-setup-code)
3807 (python-skeleton-add-menu-items)
3808 (python-util-clone-local-variables, python-util-position)
3809 (run-python-internal, python-indentation-levels)
3810 (python-nav-beginning-of-defun)
3811 (python-completion-complete-at-point): New functions.
3812 (run-python): Change arguments. New API requirements.
3813
4302f5ba
SM
38142012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3815
f38ea36d
SM
3816 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3817 (bug#11649).
3818
3819 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3820 (macroexp--expand-all): Use it.
3821
4302f5ba
SM
3822 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3823 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3824 Use `cl-function' instead.
3825
33377562
JB
38262012-06-14 Juanma Barranquero <lekktu@gmail.com>
3827
3828 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3829 Suggested by Stefan Monnier while discussing bug#11657.
3830
54c5ba1a
SS
38312012-06-14 Sam Steingold <sds@gnu.org>
3832
3833 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3834
f9f1b1fe
AS
38352012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3836
3837 * play/doctor.el (doctor-doc): Remove parameter and use
3838 doctor-sent instead of sent.
3839 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3840
a81068ba
SM
38412012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3842
5a315f9c
SM
3843 * files.el: Require cl-lib.
3844 (file-name-non-special): Replace case -> cl-case.
3845
3846 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3847
a81068ba
SM
3848 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3849 mapping from #' to function*.
3850
8cca9703
CY
38512012-06-13 Chong Yidong <cyd@gnu.org>
3852
3853 * mouse.el (mouse-drag-track): Do not set the mark if the user
3854 releases the mouse without selecting anything (Bug#11588).
3855
a12ac9d7
SM
38562012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3857
ccf1dc18
SM
3858 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3859 as well (bug#11646).
3860
ef62b23d
SM
3861 * loadup.el: Count byte-code functions as well.
3862
c4c8444a
SM
3863 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3864 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3865
a12ac9d7
SM
3866 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3867 (bug#11649). Add cl-defun and cl-defmacro.
3868
87e6e64f
DA
38692012-06-13 Drew Adams <drew.adams@oracle.com>
3870
3871 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3872 Fix last change.
3873
682cefaf
MA
38742012-06-13 Michael Albinus <michael.albinus@gmx.de>
3875
3876 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3877 Otherwise, it blocks in batch mode.
3878
773e1f08
JB
38792012-06-13 Juanma Barranquero <lekktu@gmail.com>
3880
3881 * help-mode.el (bookmark-make-record-default): Declare.
3882
60057926
CY
38832012-06-13 Chong Yidong <cyd@gnu.org>
3884
3885 * emacs-lisp/package.el (list-packages): Compute a list of
3886 packages that are newly-available since the last list-packages
3887 invocation.
3888 (package-menu--new-package-list): New var.
3889 (package-menu--generate, package-menu--print-info)
3890 (package-menu--status-predicate, package-menu-mark-install):
3891 Handle new status label "new".
3892
ad4d226c
SM
38932012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3896 conversion to backquotes.
3897
f1a4e679
CY
38982012-06-12 Chong Yidong <cyd@gnu.org>
3899
3900 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3901 Rename from gud-inhibit-global-bindings.
3902
3903 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3904
3905 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3906 hook from nxml-glyph-set-hook.
3907
3908 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3909 declaration.
3910
3911 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3912
3913 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3914 Convert to defcustom.
3915
0c9e42b5
DA
39162012-06-12 Drew Adams <drew.adams@oracle.com>
3917
3918 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3919 New functions.
3920 (help-mode): Use them.
3921
09e06855
GM
39222012-06-11 Glenn Morris <rgm@gnu.org>
3923
3924 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3925 Use preprocessor face for directives.
3926 (fortran-directive-re): Doc fix.
3927
71adb94b
SM
39282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3929
2eb87922
SM
3930 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3931 conversion to backquotes (bug#11652).
3932
71adb94b
SM
3933 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3934 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3935 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3936 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3937 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3938 (cl-ninth, cl-tenth): Mark them as inlinable.
3939 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3940 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3941 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3942 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3943 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3944 (cl-list*, cl-adjoin): Don't put an autoload manually.
3945 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3946 (cl--compiler-macro-list*): Add autoload cookie.
3947 (cl--compiler-macro-cXXr): New function.
2eb87922 3948
71adb94b
SM
3949 * help-fns.el (help-fns--compiler-macro): New function extracted from
3950 describe-function-1; follow aliases and use `compiler-macro' property.
3951 (describe-function-1): Use it.
3952
a6674402
CY
39532012-06-11 Chong Yidong <cyd@gnu.org>
3954
3955 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3956 is uninstalled, if imagemagick is installed.
3957
bb3faf5b
SM
39582012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * emacs-lisp/cl-lib.el: Use lexical-binding.
3961 (cl-map-extents, cl-maclisp-member): Remove.
3962 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3963 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3964 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3965 * emacs-lisp/cl-extra.el: Use lexical-binding.
3966 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3967 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3968 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3969 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3970 * emacs-lisp/cl-seq.el: Use lexical-binding.
3971 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3972 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3973 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3974 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3975 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3976 CL's internals.
3977
2fe4b125
MA
39782012-06-11 Michael Albinus <michael.albinus@gmx.de>
3979
3980 Sync with Tramp 2.2.6-pre.
3981
3982 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3983 `print-length' and `print-level' to nil, in order to avoid
3984 truncation. Reported by Christopher Schmidt
3985 <christopher@ristopher.com>.
3986
3987 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3988
3989 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3990 New defmacro.
3991 (tramp-compat-copy-directory): Add optional argument
3992 COPY-CONTENTS. It is not handled yet.
3993
3994 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3995 (tramp-ftp-file-name-p): Simplify.
3996
3997 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3998 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3999 connection vector.
4000
4001 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4002 (tramp-methods): Do not use `tramp-password-end-of-line'.
4003 (tramp-completion-function-alist-putty): Handle UNIX case.
4004 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4005 (tramp-do-file-attributes-with-stat)
4006 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4007 gid as real numbers. They could run out of integer range on cygwin.
4008 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4009 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4010 (tramp-open-connection-setup-interactive-shell):
4011 Use `tramp-cleanup'. Move check for busyboxes ...
4012 (tramp-find-shell): ... here. Simplify implementation.
4013 Set "remote-shell" property also for alternative shells.
4014 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4015 If failing, a regular file would be written otherwise.
4016 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4017 (tramp-find-inline-encoding): Cache the coding commands in the
4018 process cache. Apply test command on the remote side, if defined.
4019 (tramp-find-inline-compress): Cache the compress commands in the
4020 process cache.
4021 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4022 when requested. Handle hops.
4023 (tramp-current-connection): New defvar.
87e6e64f
DA
4024 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4025 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4026 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4027 (tramp-get-inline-compress, tramp-get-inline-coding):
4028 Read connection properties from the process cache.
2fe4b125
MA
4029
4030 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4031 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4032 New defconsts.
2fe4b125
MA
4033 (tramp-smb-prompt): Extend for powershell prompt.
4034 (tramp-smb-file-name-handler-alist): Add handlers for
4035 `process-file', `shell-command' and `start-file-process'.
4036 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4037 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4038 (tramp-smb-file-name-p): Simplify.
4039 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4040 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4041 (tramp-smb-shell-quote-argument): New defuns.
4042 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4043 Implement using "tar". By this, time-stamps are preserved.
4044 (tramp-smb-handle-copy-file): Handle also the case of directories.
4045 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4046 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4047 Use `tramp-get-connection-buffer').
2fe4b125
MA
4048 (tramp-smb-handle-rename-file): Use "rename", when source and
4049 target are on the same share.
87e6e64f
DA
4050 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4051 Use `tramp-smb-server-version'.
2fe4b125
MA
4052 (tramp-smb-wait-for-output): Remove prompt.
4053
4054 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4055 (tramp-methods, tramp-rsh-end-of-line):
4056 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4057 (tramp-save-ad-hoc-proxies): New defcustom.
4058 (tramp-completion-function-alist): Adapt docstring.
4059 (tramp-default-password-end-of-line): Remove defcustom.
4060 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4061 (tramp-user-regexp, tramp-file-name-regexp-unified)
4062 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4063 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4064 (tramp-remote-file-name-spec-regexp): New defconst.
4065 (tramp-file-name-structure): Extend structure for hops.
4066 (tramp-get-method-parameter): Move up.
4067 (tramp-file-name-p, tramp-dissect-file-name)
4068 (with-parsed-tramp-file-name): Handle hops.
4069 (tramp-file-name-hop): New defun.
4070 (tramp-make-tramp-file-name): New optional arg HOP.
4071 (tramp-message-show-progress-reporter-message): New defvar.
4072 (tramp-with-progress-reporter): Use it. We cannot use
4073 `tramp-message-show-message' here, because this suppresses also
4074 error buffers.
4075 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4076 `tramp-message-show-message' is nil.
4077 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4078 (tramp-cleanup): New defun.
4079 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4080 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4081 an error unchanged.
4082 (tramp-completion-handle-file-name-all-completions): Handle hops.
4083 Fix an error when called from ido.
4084 (tramp-completion-dissect-file-name): Use better local variable
4085 name. Add hop to the vector.
4086 (tramp-handle-insert-file-contents): Use progress-reporter for the
4087 whole scenario.
4088 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4089 to `t'.
4090 (tramp-check-for-regexp): Simplify search.
4091 (tramp-enter-password): Remove it. Move implementation ...
4092 (tramp-action-password): ... here.
4093 (tramp-mode-string-to-int, tramp-local-host-p)
4094 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4095 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4096 Set tramp-autoload cookie.
2fe4b125
MA
4097
4098 * net/trampver.el: Update release number.
4099
41002012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4101 Michael Albinus <michael.albinus@gmx.de>
4102
4103 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4104 (tramp-parse-group, tramp-parse-file)
4105 (tramp-parse-shostkeys-sknownhosts): New defuns.
4106 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4107 (tramp-parse-shosts-group, tramp-parse-sconfig)
4108 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4109 (tramp-parse-sknownhosts, tramp-parse-hosts)
4110 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4111 Use them.
4112 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4113 (tramp-parse-putty-group): Don't narrow.
4114 (tramp-parse-putty): Make a loop.
4115 (tramp-file-name-handler): Catch the `suppress' signal.
4116
72834e10
CY
41172012-06-11 Chong Yidong <cyd@gnu.org>
4118
4119 * image.el (imagemagick-register-types): Put the ImageMagick entry
4120 at the end of image-type-file-name-regexps.
4121
a4712e11
JB
41222012-06-11 Johan Bockgård <bojohan@gnu.org>
4123
4124 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4125 (pcase, pcase-let*, pcase-dolist): Use them.
4126
82ad98e3
SM
41272012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 * emacs-lisp/pcase.el (pcase--let*): New function.
4130 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4131 (pcase--expand): Use macroexp-let².
4132
f80efb86
SM
41332012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4136 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4137 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4138 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4139 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4140 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4141
31ca4639 41422012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4143
31ca4639
CY
4144 * mail/rmail.el (rmail-yank-current-message): Leave point at
4145 correct position. (Bug#11660)
94f0aa34 4146
31ca4639 41472012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4148
31ca4639 4149 * allout-widgets.el: Fix code header.
9e1b8ec4 4150
31ca4639 41512012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4152
f80efb86
SM
4153 * cus-edit.el (customize-changed-options-previous-release):
4154 Bump to 24.1.
31ca4639 4155
642b6d30
AS
41562012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4157
4158 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4159
4f5d2ba1
CY
41602012-06-09 Chong Yidong <cyd@gnu.org>
4161
4162 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4163
e75852fd
MR
41642012-06-09 Martin Rudalics <rudalics@gmx.at>
4165
4166 * window.el (special-display-popup-frame): Don't use
4167 window--display-buffer (Bug#11651).
4168
1e48e282
EZ
41692012-06-09 Eli Zaretskii <eliz@gnu.org>
4170
8a26b487
EZ
4171 Fix parallel builds: make sure loaddefs.el is not being written
4172 while Lisp files are compiled.
4173 (compile): Don't depend on 'mh-autoloads'.
4174 (compile-CMD, compile-SH): Depend on 'autoloads'.
4175 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4176
1e48e282
EZ
4177 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4178
6175e34b
CY
41792012-06-09 Chong Yidong <cyd@gnu.org>
4180
4181 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4182 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4183 Doc fixes (Bug#11225).
4184
d9857e53
SM
41852012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4186
4187 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4188 a function if there's a clear indication that it has a compiler-macro.
4189 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4190 (macro-declarations-alist): Add arglist to declaration functions.
4191 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4192 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4193 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4194 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4195 Also add autoload to find the compiler macro.
4196 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4197 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4198 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4199 (cl--compiler-macro-get): New functions, replacing calls to
4200 cl-define-compiler-macro.
4201 (cl-typep) [compiler-macro]: Use macroexp-let².
4202
f81298f8 42032012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4204
4205 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4206 string properly, fixes Bug#11473.
4207
4b56d0fe
CY
42082012-06-08 Chong Yidong <cyd@gnu.org>
4209
4210 * faces.el (set-face-attribute): Doc fix.
4211 (modify-face): Don't use :bold and :italic.
4212 (error, warning, success): Tweak definitions.
4213
4214 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4215 (custom-modified, custom-set, custom-changed, custom-themed)
4216 (custom-saved, custom-button, custom-button-mouse)
4217 (custom-button-pressed, custom-state, custom-comment-tag)
4218 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4219 (custom-group-subtitle): Use new-style face specs.
4220 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4221 (custom-set-face, custom-changed-face, custom-saved-face)
4222 (custom-button-face, custom-button-pressed-face)
4223 (custom-documentation-face, custom-state-face)
4224 (custom-comment-face, custom-comment-tag-face)
4225 (custom-variable-tag-face, custom-variable-button-face)
4226 (custom-face-tag-face, custom-group-tag-face-1)
4227 (custom-group-tag-face): Remove obsolete face alias.
4228
4229 * epa.el (epa-validity-high, epa-validity-medium)
4230 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4231 (epa-field-name, epa-field-body):
4232 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4233 (font-lock-keyword-face, font-lock-builtin-face)
4234 (font-lock-function-name-face, font-lock-variable-name-face)
4235 (font-lock-type-face, font-lock-constant-face):
4236 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4237 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4238 * speedbar.el (speedbar-button-face, speedbar-file-face)
4239 (speedbar-directory-face, speedbar-tag-face)
4240 (speedbar-selected-face, speedbar-highlight-face)
4241 (speedbar-separator-face):
4242 * whitespace.el (whitespace-newline, whitespace-space)
4243 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4244 (whitespace-line, whitespace-space-before-tab)
4245 (whitespace-space-after-tab, whitespace-indentation)
4246 (whitespace-empty):
4247 * emulation/cua-base.el (cua-global-mark):
4248 * eshell/em-prompt.el (eshell-prompt):
4249 * net/newst-plainview.el (newsticker-new-item-face)
4250 (newsticker-old-item-face, newsticker-immortal-item-face)
4251 (newsticker-obsolete-item-face, newsticker-date-face)
4252 (newsticker-statistics-face, newsticker-default-face):
4253 * net/newst-reader.el (newsticker-feed-face)
4254 (newsticker-extra-face, newsticker-enclosure-face):
4255 * net/newst-treeview.el (newsticker-treeview-face)
4256 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4257 (newsticker-treeview-immortal-face)
4258 (newsticker-treeview-obsolete-face)
4259 (newsticker-treeview-selection-face):
4260 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4261 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4262 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4263 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4264 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4265 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4266 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4267 (mpuz-text):
4268 * progmodes/vera-mode.el (vera-font-lock-number)
4269 (vera-font-lock-function, vera-font-lock-interface):
4270 * textmodes/table.el (table-cell): Use new-style face specs, and
4271 don't use the old :bold and :italic attributes.
4272
4273 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4274 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4275 (ebrowse-member-class, ebrowse-progress): Likewise.
4276 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4277 (ebrowse-file-name-face, ebrowse-default-face)
4278 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4279 (ebrowse-progress-face): Remove obsolete faces.
4280
4281 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4282 Inherit from error and warning faces respectively.
4283
4284 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4285 Likewise.
f80efb86
SM
4286 (flyspell-incorrect-face, flyspell-duplicate-face):
4287 Remove obsolete aliases.
4b56d0fe 4288
03310646
MA
42892012-06-08 Michael Albinus <michael.albinus@gmx.de>
4290
4291 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4292 Avoid infloop.
4293
513749ee
SM
42942012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4295
4296 * startup.el (argv, argi): Make lexically scoped.
4297 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4298 * emacs-lisp/cl-macs.el: Use lexical-binding.
4299 Rename cl-bind-* to cl--bind-*.
4300 * files.el: Don't require `cl' since it doesn't use it.
4301 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4302
595ef4ad
JB
43032012-06-08 Juanma Barranquero <lekktu@gmail.com>
4304
4305 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4306 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4307 instead of calling external sort utility.
4308 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4309
e9f66fcb
EZ
43102012-06-08 Eli Zaretskii <eliz@gnu.org>
4311
4312 * descr-text.el (describe-char): Mention how to insert the
4313 character, if the current input method doesn't support it.
4314 See the discussion in this thread for the details:
4315 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4316
3d10db47
SS
43172012-06-08 Sam Steingold <sds@gnu.org>
4318
4319 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4320 XF86Back to previous-buffer.
4321 (minibuffer-local-map): Bind them to next-history-element and
4322 previous-history-element respectively.
4323 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4324 help-go-back respectively.
4325 * info.el (Info-mode-map): Bind them to Info-history-forward and
4326 Info-history-back respectively.
4327 These are the keys next to Up on the ThinkPad keyboard.
4328
de7e2b36
SM
43292012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4330
4331 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4332 * emacs-lisp/cl-macs.el: Provide itself.
4333 (cl--labels-convert-cache): New var.
4334 (cl--labels-convert): New function.
4335 (cl-flet, cl-labels): New implementation with new semantics, relying on
4336 lexical-binding.
4337 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4338 (cl-closure-vars, cl--function-convert-cache)
4339 (cl--function-convert): Move from cl-macs.el.
4340 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4341 rename by removing the "cl-" prefix.
4342 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4343
6fa6c4ae
SM
43442012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4345
4346 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4347 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4348 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4349 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4350 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4351 (cl-hash-table-count): Add old compatibility aliases.
4352
4353 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4354 Use macroexpand-all-environment instead.
4355 (cl--old-macroexpand): New var.
4356 (cl--sm-macroexpand): New function.
4357 (cl-symbol-macrolet): Use it during macro expansion.
4358 (cl--function-convert-cache): New var.
4359 (cl--function-convert): New function, extracted from
4360 cl-macroexpand-all.
4361 (cl-lexical-let): Use it.
4362
4363 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4364 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4365 (cl-member): Remove old alias.
4366
4367 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4368 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4369 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4370 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4371 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4372 (cl-macroexpand-cmacs): Remove var.
4373 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4374 Use macroexpand-all instead.
4375
4dd1c416
SM
43762012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4379 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4380 (macroexp-copyable-p): New functions and macros.
4381 * emacs-lisp/edebug.el (edebug-unwrap):
4382 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4383 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4384 (pcase--let*): Remove.
4385 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4386 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4387 macroexp-const-p instead.
4388 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4389
4390 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4391 instead of "cl-" for internal definitions. Use macroexp-const-p.
4392 (cl-old-bc-file-form): Remove var.
4393 (cl-const-exprs-p): Remove fun.
4394 (cl-labels, cl-macrolet): Use backquote.
4395 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4396 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4397 (cl-define-setf-expander): Rename from cl-define-setf-method.
4398 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4399
4400 * international/mule-cmds.el: Don't require CL.
4401 (view-hello-file): Don't use `letf'.
4402
ed8bd4d7
SM
44032012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4404
7287f2f3
SM
4405 * tmm.el (tmm-prompt): Use string-prefix-p.
4406 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4407 (tmm-add-prompt): Use minibuffer-completion-help.
4408 (tmm-delete-map): Remove.
4409
ed8bd4d7
SM
4410 * subr.el (kbd): Make it its own function.
4411
7b4cdbf4
SM
44122012-06-07 Stefan Merten <smerten@oekonux.de>
4413
4414 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4415 Silence compiler warnings. Fix versions.
ed8bd4d7 4416 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4417 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4418 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4419 (rst-package-emacs-version-alist): Correct Emacs version to
4420 represent major merge with upstream.
ed8bd4d7 4421 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4422
2b48d721
GM
44232012-06-06 Glenn Morris <rgm@gnu.org>
4424
4425 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4426 Only print environment variables if set.
4427
fa779ab0
SM
44282012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4431 (macroexp--cons): Rename from maybe-cons.
4432 (macroexp--accumulate): Rename from macroexp-accumulate.
4433 (macroexp--all-forms): Rename from macroexpand-all-forms.
4434 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4435 (macroexp--expand-all): Rename from macroexpand-all-1.
4436
628299e0
SS
44372012-06-06 Sam Steingold <sds@gnu.org>
4438
4439 * calendar/calendar.el (calendar-in-read-only-buffer):
4440 Call `special-mode' to enable the standard read-only keybindings.
4441
b7bb5838
SM
44422012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4443
4444 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4445 with "loading" messages (bug#11635).
4446
dfb308ba
MA
44472012-06-06 Michael Albinus <michael.albinus@gmx.de>
4448
4449 * files.el (enable-remote-dir-locals): New option.
4450 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4451
0372ee92
MA
4452 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4453 Ensure, that the temp directory is local.
4454
4455 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4456 `temporary-file-directory'.
4457
eed0bb91
MA
4458 * progmodes/python.el (python-send-region): Ensure, that the
4459 temporary file is created also in the remote case.
4460
7a58f64d
GM
44612012-06-06 Glenn Morris <rgm@gnu.org>
4462
f7dd4e98
GM
4463 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4464 (vc-rcs-update-changelog): Use it.
4465
090bd7cb 4466 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4467
7a58f64d
GM
4468 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4469 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4470 (vc-sccs-diff): Replace use of the external vcdiff script.
4471
daed4003
GM
44722012-06-05 Glenn Morris <rgm@gnu.org>
4473
4474 * ledit.el: Move to obsolete/.
4475
48c455c7
SS
44762012-06-05 Sam Steingold <sds@gnu.org>
4477
ed9265fc 4478 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4479 patch (Bug#11140).
4480
57a7d507
SM
44812012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4482
090bd7cb 4483 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4484
53aacf21
SM
4485 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4486 compiler-macro expansion.
4487
57a7d507
SM
4488 Add native compiler-macro support.
4489 * emacs-lisp/macroexp.el (macroexpand-all-1):
4490 Support compiler-macros directly. Properly follow aliases and apply
4491 the compiler macros more thoroughly.
4492 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4493 macroexpand now properly follows aliases.
4494 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4495 (cl-compiler-macroexpand): Use new prop.
4496 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4497
4498 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4499
51a5f9d8
MR
45002012-06-05 Martin Rudalics <rudalics@gmx.at>
4501
4502 * window.el (get-lru-window, get-mru-window, get-largest-window):
4503 New argument NOT-SELECTED to avoid picking the selected window.
4504 (window--display-buffer-1, window--display-buffer-2): Replace by
4505 new function window--display-buffer
4506 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4507 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4508 Use window--display-buffer.
51a5f9d8
MR
4509 (display-buffer-use-some-window): Remove temporary dedication
4510 hack by calling get-lru-window and get-largest-window with
4511 NOT-SELECTED argument non-nil. Call window--display-buffer.
4512
08f9f738
GM
45132012-06-05 Glenn Morris <rgm@gnu.org>
4514
4515 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4516 Replace external vcdiff script.
4517
e364a2b7
SM
45182012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4521
041df390
CY
45222012-06-04 Chong Yidong <cyd@gnu.org>
4523
e364a2b7
SM
4524 * image.el (imagemagick-types-inhibit): Revert last change.
4525 Add INFO and M.
47b36b94 4526 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4527
7c1898a7
SM
45282012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * emacs-lisp/cl-lib.el: Rename from cl.el.
4531 * emacs-lisp/cl.el: New compatibility file.
4532 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4533 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4534 to obey the "cl-" prefix.
4535 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4536
0c3461de
GM
45372012-06-03 Glenn Morris <rgm@gnu.org>
4538
1e266c88
GM
4539 * emacs-lisp/authors.el (authors-aliases): Addition.
4540
0c3461de
GM
4541 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4542 Fix :version.
4543
d8a52e15
SM
45442012-06-03 Stefan Merten <smerten@oekonux.de>
4545
4546 * textmodes/rst.el: Add comments.
4547 (rst-transition, rst-adornment): New faces.
4548 (rst-adornment-faces-alist): Make default safe to reevaluate.
4549 Fixes
4550 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4551 Improve customization tags.
4552 (rst-define-level-faces): Clarify meaning.
4553
5205d6f6
CY
45542012-06-03 Chong Yidong <cyd@gnu.org>
4555
4556 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4557 (compilation-mode-line-run, compilation-mode-line-exit):
4558 New faces.
5205d6f6
CY
4559 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4560
757ee657
JD
45612012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4562
7c1898a7
SM
4563 * progmodes/which-func.el (which-func-update-ediff-windows):
4564 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4565
5f2c76c6
CY
45662012-06-03 Chong Yidong <cyd@gnu.org>
4567
4568 * bindings.el: Remove explicit help text from format-mode-line.
4569 It is now supplied by mode-line-default-help-echo.
4570 (mode-line-front-space, mode-line-end-spaces)
4571 (mode-line-misc-info): New variables.
4572 (mode-line-modes, mode-line-position): Move the default value to
4573 the variable definition.
4574 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4575 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4576 (mode-line-modified-help-echo): New functions.
4577 (mode-line-mule-info, mode-line-modified): Use them.
4578 (mode-line-eol-desc, propertized-buffer-identification):
4579 Consistency fixes for help text.
cbe46e5f
CY
4580 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4581 set-buffer-file-coding-system (Bug#289).
4582 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4583
f2d6a3df
SM
45842012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * simple.el (execute-extended-command): Set real-this-command
4587 (bug#11506).
4588
37269466
CY
45892012-06-02 Chong Yidong <cyd@gnu.org>
4590
4591 Remove incorrect uses of "modeline" in comments, docstrings, and
4592 function/variable names (Bug#10329).
4593
4594 * cus-edit.el (mode-line):
4595 * dframe.el (dframe-mouse-hscroll):
4596 * emacs-lisp/re-builder.el:
4597 * emacs-lisp/easy-mmode.el (define-minor-mode):
4598 * frame.el (set-frame-name):
4599 * help.el (lookup-minor-mode-from-indicator):
4600 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4601 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4602 (c-toggle-hungry-state):
4603 * progmodes/antlr-mode.el (antlr-language-alist):
4604 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4605 * progmodes/vhdl-mode.el (vhdl-mode):
4606 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4607 * term/ns-win.el (ns-face-at-pos):
4608 * term/sup-mouse.el (sup-mouse-report):
4609 * textmodes/flyspell.el (flyspell-mode-line-string):
4610 * textmodes/ispell.el (ispell-highlight-face):
4611 * textmodes/reftex-global.el:
4612 * vc/vc-arch.el (vc-arch-mode-line-string):
4613 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4614 * vc/vc-git.el (vc-git-mode-line-string):
4615 * vc/vc-hooks.el (vc-display-status)
4616 (vc-default-mode-line-string):
4617 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4618
4619 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4620
4621 * dired.el (dired-sort-set-mode-line): Rename from
4622 dired-sort-set-modeline. All callers changed.
4623
4624 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4625 eshell-status-in-modeline.
4626
4627 * foldout.el (foldout-mode-line-string): Rename from
4628 foldout-modeline-string. All callers changed.
4629 (foldout-update-mode-line): Rename from foldout-update-modeline.
4630
4631 * subr.el (redraw-modeline): Make into obsolete alias.
4632
4633 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4634 timeclock-modeline-display. Make old name an alias.
4635 (timeclock-update-mode-line): Likewise. All callers changed.
4636 (timeclock-mode-line-display): No need to check before using
4637 add-hook.
4638 (timeclock-relative, timeclock-day-over-hook)
4639 (timeclock-use-elapsed, timeclock-mode-string)
4640 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4641
4642 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4643 crisp-mode-modeline-string.
4644
4645 * play/solitaire.el (solitaire-build-mode-line): Rename from
4646 solitaire-build-modeline. All callers changed.
4647
4648 * play/zone.el (zone-hiding-mode-line): Rename from
4649 zone-hiding-modeline. All callers changed.
4650 (zone): Remove unusued `modeline-hidden-level' property.
4651
4652 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4653 xscheme-modeline-initialize. All callers changed.
4654
4655 * strokes.el (strokes-lighter): Rename from
4656 strokes-modeline-string.
4657
4658 * textmodes/sgml-mode.el (html-face-tag-alist)
4659 (html-tag-face-alist): Use mode-line face instead of obsolete
4660 alias modeline.
4661
42152ee4
SM
46622012-06-02 Stefan Merten <smerten@oekonux.de>
4663
4664 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4665 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4666
95f520b5
CY
46672012-06-02 Chong Yidong <cyd@gnu.org>
4668
4669 * image.el (imagemagick-enabled-types): Rename from
4670 imagemagick-types-enable. Add many more types.
4671 (imagemagick-types-inhibit): Change default to nil.
4672 (imagemagick-filter-types): Caller changed.
4673
4a5f187a
SM
46742012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4675
03fef3e6
SM
4676 * emacs-lisp/cl-macs.el: Use backquotes.
4677 (cl-transform-function-property): Use eval-and-compile rather than
4678 abusing `require'.
4679 (defstruct): Use declare-function instead of with-no-warnings.
4680
4a5f187a
SM
4681 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4682 (byte-compile-output-docform): Re-add the print-circle bindings.
4683 (byte-compile-fix-header): Use #$ just because it's shorter.
4684 (byte-compile-output-file-form): Remove defun/defmacro.
4685
bd56924f
MR
46862012-06-01 Martin Rudalics <rudalics@gmx.at>
4687
4688 * simple.el (choose-completion): Remove now obsolete binding for
4689 owindow.
4690
046e38ce
MA
46912012-06-01 Michael Albinus <michael.albinus@gmx.de>
4692
4693 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4694 in order to avoid "Stack overflow in regexp matcher".
4695
32d72c2f
GM
46962012-05-31 Glenn Morris <rgm@gnu.org>
4697
4698 * image.el: For clarity, call imagemagick-register-types at
4699 top-level, rather than relying on a custom :initialize.
4700 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4701 (imagemagick-filter-types): New function. (Bug#7406)
4702 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4703 If disabling support, remove elements altogether rather
4704 than using an impossible regexp.
4705 (imagemagick-types-inhibit): Give it the default init function.
4706
dd41169b
SM
47072012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4a5f187a
SM
4709 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4710 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4711
efc00ab1 47122012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4713
4714 * desktop.el (desktop-read): Clear previous and next buffers for
4715 all windows and bury *Messages* buffer (bug#11556).
4716
500fcedc
SM
47172012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 Add `declare' for `defun'. Align `defmacro's with it.
4720 * emacs-lisp/easy-mmode.el (define-minor-mode)
4721 (define-globalized-minor-mode): Don't autoload the var definitions.
4722 * emacs-lisp/byte-run.el: Use lexical-binding.
4723 (defun-declarations-alist, macro-declarations-alist): New vars.
4724 (defmacro, defun): Use them.
4725 (make-obsolete, define-obsolete-function-alias)
4726 (make-obsolete-variable, define-obsolete-variable-alias):
4727 Use `declare'.
4728 (macro-declaration-function): Mark obsolete.
4729 * emacs-lisp/autoload.el: Use lexical-binding.
4730 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4731
6e8a1786
AM
47322012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4733
4734 * textmodes/ispell.el (ispell-with-no-warnings):
4735 Define as a macro.
500fcedc
SM
4736 (ispell-kill-ispell, ispell-change-dictionary):
4737 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4738 `interactive-p'.
4739
61b108cc
SM
47402012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4743 (macro-declaration-function): Move var from C code.
4744 (macro-declaration-function): Define function with defalias.
4745 * emacs-lisp/macroexp.el (macroexpand-all-1):
4746 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4747 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4748 defun/defmacro any more.
4749 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4750 Provide fallback for unknown arglist.
4751 (byte-compile-arglist-warn): Change calling convention.
4752 (byte-compile-output-file-form): Move print-vars binding.
4753 (byte-compile-output-docform): Simplify accordingly.
4754 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4755 (byte-compile-defmacro-declaration): Remove.
4756 (byte-compile-file-form-defmumble): Generalize to defalias.
4757 (byte-compile-output-as-comment): Return byte-positions.
4758 Simplify callers accordingly.
4759 (byte-compile-lambda): Use `assert'.
4760 (byte-compile-defun, byte-compile-defmacro): Remove.
4761 (byte-compile-file-form-defalias):
4762 Use byte-compile-file-form-defmumble.
4763 (byte-compile-defalias-warn): Remove.
4764
6d3f7c2f
SM
47652012-05-29 Stefan Merten <smerten@oekonux.de>
4766
4767 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4768 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4769
4770 (rst-mode-abbrev-table): Merge definition.
4771 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4772 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4773
6dbaa1c7
UJ
47742012-05-29 Ulf Jasper <ulf.jasper@web.de>
4775
4776 * calendar/icalendar.el
4777 (icalendar-export-region): Export UID properly.
4778
d209e2fb 47792012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4780 * calendar/icalendar.el (icalendar-import-format):
4781 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4782 (icalendar-import-format-uid): New.
4783 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4784 Export UID.
4785
6876a58d
SM
47862012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4789 different alternative patterns.
4790 (pcase-codegen): Be more careful to preserve identity.
4791 (pcase--u1): Don't forget to mark vars as used.
4792
4793 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4794 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4795 (byte-compile-from-buffer): ...rather than here.
4796
4797 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4798 functions from byte-compile-function-environment.
4799
46b7967e
TN
48002012-05-29 Troels Nielsen <bn.troels@gmail.com>
4801
4802 * window.el (window-deletable-p): Avoid deleting the root window
4803 of a frame with an active minibuffer.
4804
69d565e2
MR
48052012-05-29 Martin Rudalics <rudalics@gmx.at>
4806
4807 * simple.el (choose-completion): Use quit-window (Bug#11567).
4808
a149fa51
CY
48092012-05-29 Chong Yidong <cyd@gnu.org>
4810
4811 * whitespace.el (whitespace-cleanup): Fix usage of
4812 whitespace-empty-at-bob-regexp (Bug#11492).
4813
2b311310
AH
48142012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4815
4816 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4817 revert (Bug#11488).
4818
b9cb2387
JL
48192012-05-29 Juri Linkov <juri@jurta.org>
4820
4821 * isearch.el (isearch-mode-map): Bind `M-s _' to
4822 `isearch-toggle-symbol'. Bind `M-s c' to
4823 `isearch-toggle-case-fold'.
4824 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4825 (isearch-forward): Add `M-s _' to the docstring.
4826 (isearch-forward-symbol, isearch-toggle-case-fold)
4827 (isearch-symbol-regexp): New functions. (Bug#11381)
4828
d5e61c1c
JL
48292012-05-29 Juri Linkov <juri@jurta.org>
4830
4831 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4832 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4833 a function, call it to get the regexp.
4834 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4835 property `isearch-message-prefix' instead of the string "word ".
4836 (isearch-search-fun-default): For the case of `isearch-word',
4837 return a lambda that calls re-search-forward/re-search-backward
4838 with a regexp returned by `word-search-regexp' or by the function
4839 in `isearch-word'.
4840
8cbd80f7
JL
48412012-05-29 Juri Linkov <juri@jurta.org>
4842
4843 * isearch.el (isearch-search-fun-default): New function.
4844 (isearch-search-fun): Move default part to the new function
4845 `isearch-search-fun-default'.
4846 (isearch-search-fun-function): Set the default value to
4847 `isearch-search-fun-default'. (Bug#11381)
4848
4849 * comint.el (comint-history-isearch-end):
4850 Use `isearch-search-fun-default'.
4851 (comint-history-isearch-search): Use `isearch-search-fun-default'
4852 and remove spacial case for `isearch-word'.
4853 (comint-history-isearch-wrap): Remove spacial case for
4854 `isearch-word'.
4855
4856 * hexl.el (hexl-isearch-search-function):
4857 Use `isearch-search-fun-default'.
4858
4859 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4860 Use `word-search-regexp' for `isearch-word'.
4861
4862 * misearch.el (multi-isearch-search-fun):
4863 Use `isearch-search-fun-default'.
4864
4865 * simple.el (minibuffer-history-isearch-search):
4866 Use `isearch-search-fun-default' and remove spacial case for
4867 `isearch-word'.
4868 (minibuffer-history-isearch-wrap): Remove spacial case for
4869 `isearch-word'.
4870
4871 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4872 Remove spacial case for `isearch-word'.
4873 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4874
85c8c5b6
AM
48752012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4876
4877 Decrease XEmacs incompatibilities.
4878 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4879 Use `string-match'.
4880 (flyspell-delete-region-overlays): Use alternative definition for
4881 XEmacs.
4882 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4883 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4884 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4885 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4886 `define-obsolete-face-alias' under XEmacs, but old method.
4887
4888 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4889 `with-no-warnings' definition or Emacs alias.
4890 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4891 (ispell-word): Do not use `region-p' if XEmacs.
4892
8cab9efc
AM
48932012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4894
4895 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4896 Check for `ispell-dictionary-base-alist' instead of full
4897 `ispell-dictionary-alist'.
4898 (ispell-init-process): Show spellchecker when starting new Ispell
4899 process.
4900
fda91268
RZ
49012012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4904 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4905
694ea8e3
JB
49062012-05-27 Juanma Barranquero <lekktu@gmail.com>
4907
4908 * version.el (motif-version-string, gtk-version-string)
4909 (ns-version-string): Declare.
4910
e4d4f539
JL
49112012-05-27 Juri Linkov <juri@jurta.org>
4912
4913 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4914 after the `eval-defun-1' specialcaseing
4915 like in `edebug-eval-defun' (bug#10181).
4916
4917 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4918 like in `eval-defun-1'.
4919
33017faf 49202012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4921
fda91268
RZ
4922 * mail/sendmail.el (mail-yank-region):
4923 Recognize rmail-yank-current-message in addition to insert-buffer.
4924 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4925 a *mail* buffer created through rmail-start-mail with sendmail as
4926 mail-user-agent.
4927
33017faf
GM
49282012-05-27 Chong Yidong <cyd@gnu.org>
4929
4930 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4931 Default to 256 (Bug#11267).
4932
4933 * help.el (describe-mode): Doc fix.
4934
04188bb9
GM
49352012-05-26 Glenn Morris <rgm@gnu.org>
4936
38264cc9
GM
4937 * w32-fns.el (w32-init-info): Remove.
4938 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4939
eb7afdad
GM
4940 * info.el (info-initialize): For self-contained NS builds, put the
4941 included info/ directory at the front. (Bug#2791)
4942
04188bb9
GM
4943 * paths.el (Info-default-directory-list): Make it a defcustom,
4944 mainly so that we can use custom-initialize-delay.
4945
a179e3f7
SM
49462012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4947
43416392
SM
4948 * subr.el (buffer-has-markers-at): Mark obsolete.
4949
a179e3f7 4950 * subr.el (lambda): Use declare.
43416392 4951
a179e3f7
SM
4952 * emacs-lisp/lisp-mode.el (lambda):
4953 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4954
34a008d9
AH
49552012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4956
4957 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4958
0a3b289f
GM
49592012-05-26 Glenn Morris <rgm@gnu.org>
4960
4961 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4962
758c81e8
GM
49632012-05-25 Glenn Morris <rgm@gnu.org>
4964
f9f334f0
GM
4965 * paths.el: Remove no-byte-compile.
4966 * loadup.el: No need to load paths.el uncompiled.
4967
87eb79c2
GM
4968 * image.el (imagemagick-types-inhibit): Doc fix.
4969
758c81e8
GM
4970 * version.el: Remove no-byte-compile and associated formatting.
4971 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4972 is ancient code from when there was an "inc-vers.el".
4973
e7e85dc0
SM
49742012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * progmodes/gdb-mi.el: Minor style changes.
4977 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4978 Turn into minor modes.
4979 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4980 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4981 (gdb-shell): Remove unneeded let-binding.
4982 (gdb-get-many-fields): Eliminate O(n²) behavior.
4983
f31237a4
EZ
49842012-05-25 Eli Zaretskii <eliz@gnu.org>
4985
4986 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4987 platforms that don't link in fontset.c.
4988
bc1b21bb
JL
49892012-05-25 Juri Linkov <juri@jurta.org>
4990
4991 Use the same diff color scheme as in modern VCSes (bug#10181).
4992
4993 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4994 to avoid confusion with `diff-added' that now uses green colors.
4995 (diff-removed): Use shades of red.
4996 (diff-added): Use shades of green.
4997 (diff-changed): Leave just the yellow color.
4998 (diff-use-changed-face): New variable.
4999 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5000 how to highlight context diff changes.
5001 (diff-refine-change): Use shades of yellow.
5002 (diff-refine-removed): New face that uses shades of red.
5003 (diff-refine-added): New face that uses shades of green.
5004 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5005 `diff-refine-removed' in the call to `smerge-refine-subst'
5006 depending on the value of `diff-use-changed-face'.
5007
5008 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5009 (smerge-other): Use shades of green.
5010 (smerge-base): Use shades of yellow.
5011 (smerge-refined-change): Empty face.
5012 (smerge-refined-removed): New face that uses shades of red.
5013 (smerge-refined-added): New face that uses shades of green.
5014 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5015 args `props-r' and `props-a', and use them. Doc fix.
5016 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5017 on its value use different faces `smerge-refined-change',
5018 `smerge-refined-removed', `smerge-refined-added' in the call to
5019 `smerge-refine-subst'.
5020
5021 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5022 Add face condition `min-colors 88' with shades of red.
5023 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5024 `min-colors 88' with shades of green.
5025 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5026 `min-colors 88' with shades of yellow.
5027
6df9112c
GM
50282012-05-24 Glenn Morris <rgm@gnu.org>
5029
ead5edc0
GM
5030 * paths.el (prune-directory-list, remote-shell-program): Move to...
5031 * files.el (prune-directory-list, remote-shell-program): ...here.
5032 For the latter, delay initialization, prefer ssh, just search PATH.
5033
f18b81e6
GM
5034 * paths.el (term-file-prefix): Move to faces.el (the only user).
5035 * faces.el (term-file-prefix): Move here, make it a defcustom.
5036
ee2f89a6
GM
5037 * paths.el (news-directory, news-path, news-inews-program):
5038 Move to gnus/nnspool.el.
61a583ca 5039
f8815e4c
GM
5040 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5041
c8f3b42c
GM
5042 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5043 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5044 Make the latter a defcustom, with a delayed initialization.
5045
6df9112c
GM
5046 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5047 These were deleted from Gnus itself late 2010.
5048
5dadff36
JB
50492012-05-22 Juanma Barranquero <lekktu@gmail.com>
5050
9e1701c6
JB
5051 * progmodes/which-func.el (which-func-ff-hook):
5052 Check against user-error, not error.
5053
bd7239f5 5054 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5055 cl-specs.el, which no longer exists.
5056
3290526d
GM
50572012-05-22 Glenn Morris <rgm@gnu.org>
5058
5059 * info.el (info-emacs-bug): New command.
5060 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5061 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5062
ff0c3cfb
GM
50632012-05-21 Glenn Morris <rgm@gnu.org>
5064
5065 * makefile.w32-in (update-subdirs-SH):
5066 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5067
5814f126
SM
50682012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5069
a52c0aa0
SM
5070 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5071
5814f126
SM
5072 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5073 Simplify Maven regexp, and make sure the file can't start with a space
5074 (bug#11517).
5075
b847032c
GM
50762012-05-21 Glenn Morris <rgm@gnu.org>
5077
5078 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5079 Scrap superfluous subshells.
5080
3858bfe7
SM
50812012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5084 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5085
d14b0029
JB
50862012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5087
5088 * calc/calc.el (calc-ensure-consistent-units): New variable.
5089
a52c0aa0
SM
5090 * calc/calc-units.el (math-consistent-units-p)
5091 (math-check-unit-consistency): New functions.
5092 (calc-quick-units, calc-convert-units):
5093 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5094 is non-nil.
d14b0029
JB
5095 (calc-extract-units): Fix typo.
5096
60c4db3a
SM
50972012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5098
77f3b62e
SM
5099 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5100
60c4db3a
SM
5101 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5102 (flyspell-default-deplacement-commands): Don't spell check after
5103 repeated window/frame switches (e.g. triggered by mouse-movement).
5104 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5105 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5106 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5107 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5108 Remove unused vars.
5109 (flyspell-get-casechars, flyspell-get-not-casechars):
5110 Simplify; Don't bother removing a ] just to add it back.
5111 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5112
d209e2fb 51132012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5114
5115 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5116 New functions.
bd7239f5 5117 (math-function-table): Add support for more C functions.
b1a10716 5118
3f1b25b5
AM
51192012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5120
090bd7cb
JB
5121 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5122 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5123 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5124
b581bb5c
SM
51252012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5128 their respective macro declarations.
5129 * skeleton.el (define-skeleton):
5130 * progmodes/compile.el (define-compilation-mode):
5131 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5132 (define-ibuffer-filter):
5133 * emacs-lisp/generic.el (define-generic-mode):
5134 * emacs-lisp/easy-mmode.el (define-minor-mode)
5135 (define-globalized-minor-mode):
5136 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5137 * emacs-lisp/byte-run.el (defsubst):
5138 * custom.el (deftheme): Add doc-string metadata.
5139
70b8ef8f
SM
51402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5141
5142 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5143
b1198e17
SM
51442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5145
9abdc45d
SM
5146 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5147
b1198e17
SM
5148 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5149 * emacs-lisp/cl-macs.el: Idem.
5150 * emacs-lisp/cl-specs.el: Remove.
5151
4735906a
SM
51522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 Minor renaming of internal CL functions and variables.
5155 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5156 (cl--position): Rename from cl-position.
5157 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5158 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5159 (cl--random-state): Rename from *random-state*.
5160
ac348012
SM
51612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5164 parens around the arg list (bug#11499).
5165
a0a79cde
JL
51662012-05-17 Juri Linkov <juri@jurta.org>
5167
5168 * isearch.el (word-search-regexp, word-search-backward)
5169 (word-search-forward, word-search-backward-lax)
5170 (word-search-forward-lax): Move functions from search.c
5171 (bug#10145, bug#11381).
5172
65034a51
AM
51732012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5174
090bd7cb
JB
5175 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5176 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5177 Delay for otherchars as for normal word components.
65034a51 5178
1a72a195
SM
51792012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * minibuffer.el (completion--sifn-requote): Fix last change.
5182 (minibuffer-local-must-match-filename-map):
5183 Move define-obsolete-variable-alias before its var.
5184
fdb058c2
SM
51852012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5186
c41045e6
SM
5187 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5188
036dfb8b
SM
5189 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5190 behavior.
5191 (completion--string-equal-p): New function.
5192 (completion--twq-all): Use it to get better assertion failure data.
5193
2473256d
SM
5194 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5195 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5196 (shell--requote-argument): New functions.
5197 (shell-completion-vars): Use them.
5198 (shell--parse-pcomplete-arguments): Rename from
5199 shell-parse-pcomplete-arguments.
5200 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5201 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5202 Obey comint-file-name-quote-list.
5203
fdb058c2
SM
5204 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5205 (smie-indent-keyword): Use it.
5206
51fa99f1
SM
52072012-05-14 Stefan Merten <smerten@oekonux.de>
5208
5209 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5210
e18afed7 52112012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5212
5213 * net/rlogin.el (rlogin-mode-map): Fix last change.
5214
e18afed7 52152012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5216
5217 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5218 the following \r\n using a single `process-send-string', since the
5219 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5220 with two `process-send-string's (Bug#11444).
8633b1f4 5221
e18afed7 52222012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5223
fdb058c2
SM
5224 * shell.el (shell-parse-pcomplete-arguments):
5225 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5226
2d21d7f6
WJ
52272012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5228
e18afed7 5229 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5230 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5231 (image-transform-width, image-transform-fit-width): New functions.
5232 (image-transform-properties): Use them.
5233 (image-transform-check-size): New function.
5234 (image-toggle-display-image): Use it (for testing).
5235 (image-transform-set-rotation): Reduce angle mod 360.
5236 Delete obsolete comment.
5237
7102e6d0
WJ
52382012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5239
5240 * image-mode.el: Fix scaling (bug#11399).
5241 (image-transform-resize): Doc fix.
5242 (image-transform-properties): Default scale is 1 and height should
5243 be an integer.
5244
06bc5e6e
SM
52452012-05-13 Johan Bockgård <bojohan@gnu.org>
5246
5247 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5248 than hard-coding `car', to fix misbehavior when moving forward.
5249
0ae03b6a
CY
52502012-05-13 Chong Yidong <cyd@gnu.org>
5251
5252 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5253 (tabulated-list-entries, tabulated-list-padding)
5254 (tabulated-list-sort-key): Make permanent-local.
5255
5256 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5257 (electric-buffer-list): Put electric buffer menu
5258 command descriptions in this docstring, instead of the docstring
5259 of electric-buffer-menu-mode. Code cleanups.
5260 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5261 Electric-buffer-menu-mode.
5262 (electric-buffer-update-highlight): Minor code cleanup.
5263
205a7391
MA
52642012-05-13 Michael Albinus <michael.albinus@gmx.de>
5265
5266 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5267 (Bug#11447)
5268
e5bd0a28
SM
52692012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 Move define-obsolete-variable-alias before the var's definition.
5272 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5273 * tooltip.el (tooltip-hook):
5274 * textmodes/reftex-toc.el (reftex-toc-map):
5275 * textmodes/reftex-sel.el (reftex-select-label-map)
5276 (reftex-select-bib-map):
5277 * textmodes/reftex-index.el (reftex-index-map)
5278 (reftex-index-phrases-map):
5279 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5280 * progmodes/meta-mode.el (meta-mode-map):
5281 * novice.el (disabled-command-hook):
5282 * loadhist.el (unload-hook-features-list):
5283 * frame.el (blink-cursor):
5284 * files.el (find-file-not-found-hooks, write-file-hooks)
5285 (write-contents-hooks):
5286 * emulation/tpu-edt.el (GOLD-map):
5287 * emacs-lock.el (emacs-lock-from-exiting):
5288 * emacs-lisp/generic.el (generic-font-lock-defaults):
5289 * emacs-lisp/chart.el (chart-map):
5290 * dos-fns.el (register-name-alist):
5291 * dired-x.el (dired-omit-files-p):
5292 * desktop.el (desktop-enable):
5293 * cus-edit.el (custom-mode-hook):
5294 * buff-menu.el (buffer-menu-mode-hook):
5295 * bookmark.el (bookmark-read-annotation-text-func)
5296 (bookmark-exit-hooks):
5297 * allout.el (allout-mode-deactivate-hook)
5298 (allout-exposure-change-hook, allout-structure-added-hook)
5299 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5300 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5301 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5302 comes before the corresponding variable's definition.
5303
ac59c2f6
CY
53042012-05-12 Chong Yidong <cyd@gnu.org>
5305
5306 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5307 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5308 (Buffer-menu-mode-map): Bind it.
5309 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5310
dee6c9a3
SM
53112012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5312
2171cea5
SM
5313 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5314 (prolog-upper-case-string, prolog-lower-case-string)
5315 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5316 (prolog-use-smie, prolog-smie-grammar): New vars.
5317 (prolog-smie-forward-token, prolog-smie-backward-token)
5318 (prolog-smie-rules): New funs.
5319 (prolog-comment-indent): Remove.
5320 (prolog-mode-variables): Use default comment indentation instead.
5321 Setup SMIE.
5322 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5323 (prolog-mode): Don't call them any more.
5324 (prolog-electric-colon, prolog-electric-dash)
5325 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5326
aa0382bd
SM
5327 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5328
dbacb4bd
SM
5329 * minibuffer.el (completion--twq-all): Again, allow case differences.
5330
13bdd94c
SM
5331 * term.el: Move keymap initialization code to be more idiomatic.
5332 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5333 (term-terminal-menu): Move initialization into declaration.
5334 (term-escape-char): Let the user set it in her .emacs.
5335
ff46c759
SM
5336 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5337 Provide SMIE-based indentation (not enabled by default yet).
5338 (sh-mode-map): Don't bind electric keys.
5339 Use electric-pair-mode instead of skeleton-pair.
5340 (sh-assignment-regexp): Fit within 80 columns.
5341 (sh-indent-supported): Specify actual shell name instead of boolean.
5342 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5343 (sh-maybe-here-document): Use it. Make obsolete.
5344 (sh-electric-here-document-mode) New minor mode.
5345 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5346 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5347 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5348 (sh-smie-rc-grammar, sh-use-smie): New vars.
5349 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5350 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5351 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5352 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5353 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5354 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5355 (sh-set-shell): Use smie-setup if requested.
5356
dee6c9a3
SM
5357 * term.el (term-set-escape-char): Properly set term-escape-char.
5358 See http://stackoverflow.com/questions/10524656.
5359
9f9aa044
CY
53602012-05-10 Chong Yidong <cyd@gnu.org>
5361
5362 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5363 Use url-generic-parse-url, and handle host names and Windows
5364 filenames properly.
5365 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5366 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5367 URL schemes to work on.
5368 (ffap--toggle-read-only): New function.
5369 (ffap-read-only, ffap-read-only-other-window)
5370 (ffap-read-only-other-frame): Use it.
5371 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5372 necessary for ffap-url-unwrap-remote.
5373
836d29b3
DA
53742012-05-10 Dave Abrahams <dave@boostpro.com>
5375
5376 * cus-start.el (create-lockfiles): Add it.
5377
00fd78ed
CY
53782012-05-09 Chong Yidong <cyd@gnu.org>
5379
5380 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5381 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5382
666b903b 53832012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5384
5385 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5386
666b903b 53872012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5388
5389 * ansi-color.el (ansi-color-process-output): Check for validity of
5390 comint-last-output-start before using it. This avoids a bad
5391 interaction with gdb-mi's input/output buffer.
5392
666b903b 53932012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5394
5395 * files.el (dir-locals-read-from-file):
5396 Mention dir-locals in any error message.
5397
666b903b 53982012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5399
5400 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5401 package (Bug#11410).
5402
f677562b
CY
5403 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5404 variables into description.
5405
666b903b 54062012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5407
5408 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5409 shell-delimiter-argument-list (bug#11348).
5410 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5411
b499d8d0
JB
54122012-05-09 Juanma Barranquero <lekktu@gmail.com>
5413
8f6b6da8
JB
5414 * textmodes/rst.el: Silence byte-compiler warnings.
5415 (rst-re-alist, rst-reset-section-caches): Move around.
5416 (rst-re): Use `characterp', not `char-valid-p'.
5417 (font-lock-beg, font-lock-end): Declare.
5418
4824146a
JB
5419 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5420 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5421
b499d8d0
JB
5422 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5423
ad89bb83
GM
54242012-05-08 Glenn Morris <rgm@gnu.org>
5425
5426 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5427
8bba5a75
SM
54282012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5429
49ed9c8e
SM
5430 * vc/log-edit.el: Add GNU coding standards highlighting.
5431 (log-edit-font-lock-gnu-style)
5432 (log-edit-font-lock-gnu-keywords): New vars.
5433 (log-edit-font-lock-keywords): New fun.
5434 (log-edit-mode): Don't fold case in font-lock.
5435 (log-edit-font-lock-keywords): Do not assume case-folding.
5436
07d00b56
SM
5437 * imenu.el: Misc cleanup. Make docstrings out of comments.
5438 Use lexical-binding.
5439 (imenu--index-alist, imenu--last-menubar-index-alist)
5440 (imenu-menubar-modified-tick): Use defvar-local.
5441 (imenu--split-menu): Remove unused var.
5442 (imenu--cleanup-seen): Declare as global.
5443 (imenu--cleanup): Use dolist.
5444
8bba5a75
SM
5445 * subr.el (defvar-local): Add debug spec and doc-string position.
5446
5075bdb5
GM
54472012-05-08 Glenn Morris <rgm@gnu.org>
5448
090bd7cb 5449 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5450 * language/english.el, language/georgian.el, language/greek.el:
5451 * language/japanese.el, language/khmer.el, language/korean.el:
5452 * language/lao.el, language/misc-lang.el, language/romanian.el:
5453 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5454 * language/thai.el, language/utf-8-lang.el:
5455 Remove no-byte-compile setting.
5456
5075bdb5
GM
5457 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5458
06f679a7
AH
54592012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5460
5461 * progmodes/make-mode.el (makefile-browse):
5462 Remove unnecessary interactive. (Bug#11324)
5463
03794570
GM
54642012-05-07 Glenn Morris <rgm@gnu.org>
5465
af8630f4
GM
5466 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5467
03794570
GM
5468 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5469
f0809a9d
SM
54702012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5471
28be5ce7
SM
5472 * loadup.el: Preload newcomment.el.
5473 * newcomment.el: Move autoload-only code to toplevel.
5474
f0809a9d
SM
5475 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5476 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5477 Handle new :right-align column property.
5478 (tabulated-list-print-col): Idem, plus use `display' text-property to
5479 try and preserve alignment for variable pitch fonts.
5480
1241b724
CY
54812012-05-07 Chong Yidong <cyd@gnu.org>
5482
5483 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5484 (tabulated-list-use-header-line): New var.
5485 (tabulated-list-init-header): Use it.
5486 (tabulated-list-print-fake-header): New function.
5487 (tabulated-list-print): Use it.
5488 (tabulated-list-sort-button-map): Add non-header-line commands.
5489 (tabulated-list-init-header): Add column name property to basic
5490 labels as well.
5491 (tabulated-list-col-sort): Handle non-header-line button case.
5492 (tabulated-list--sort-by-column-name): Fix a corner case.
5493
f0809a9d
SM
5494 * buff-menu.el (list-buffers--refresh):
5495 Handle Buffer-menu-use-header-line.
1241b724 5496
e5f9458f
CY
54972012-05-06 Chong Yidong <cyd@gnu.org>
5498
5499 * buff-menu.el: Convert to Tabulated List mode.
5500 (Buffer-menu-buffer+size-width): Make obsolete.
5501 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5502 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5503 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5504 documentation into docstring of buffer-menu.
5505 (Buffer-menu-toggle-files-only): Add an informative message.
5506 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5507 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5508 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5509 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5510 (Buffer-menu-execute, Buffer-menu-select)
5511 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5512 (Buffer-menu-bury): Use Tabulated List machinery.
5513 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5514 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5515 Delete.
e5f9458f
CY
5516 (list-buffers--refresh): New function.
5517 (list-buffers-noselect): Use it.
5518 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5519 (Buffer-menu--pretty-file-name): New helper functions.
5520
5521 * loadup.el: Preload tabulated-list.
5522
5523 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5524 tabulated-list-sort-column.
5525 (tabulated-list-init-header): Add the initial aligning space even
5526 if tabulated-list-padding is zero.
5527
e129292c
CS
55282012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5529
5530 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5531 whose cdr is not a cons cell correctly (bug#11038).
5532
6632d361
CY
55332012-05-06 Chong Yidong <cyd@gnu.org>
5534
e129292c
CS
5535 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5536 Accept additional plist in column descriptors.
6632d361
CY
5537 (tabulated-list-init-header): Obey it.
5538 (tabulated-list-get-entry): New function.
5539 (tabulated-list-put-tag): Use it. Use string-width instead of
5540 length.
5541 (tabulated-list--column-number): New function.
5542 (tabulated-list-print): Use it.
e129292c
CS
5543 (tabulated-list-print-col): New function.
5544 Set `tabulated-list-column-name' property on each column's text.
6632d361 5545 (tabulated-list-print-entry): Use it.
e129292c
CS
5546 (tabulated-list-delete-entry, tabulated-list-set-col):
5547 New functions.
6632d361
CY
5548 (tabulated-list-sort-column): New command (Bug#11337).
5549
3cc99f68
CY
5550 * buff-menu.el (list-buffers): Move C-x C-b binding from
5551 buff-menu.el to bindings.el.
5552
5553 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5554 :advertised-binding feature.
5555
52b61776
TN
55562012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5557
5558 * progmodes/compile.el (compilation-internal-error-properties):
5559 Calculate start position correctly when end-col is set but
5560 end-line is not (Bug#11382).
5561
ebfe2597
WJ
55622012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5563
5564 * man.el (Man-unindent): Use text-property-default-nonsticky to
5565 prevent untabify from inheriting face properties (Bug#11408).
5566
6d3f7c2f
SM
55672012-05-05 Stefan Merten <smerten@oekonux.de>
5568
5569 * textmodes/rst.el: Major merge with upstream development up to
5570 Docutils SVN r7399 / rst.el V1.2.1.
5571
5572 Clarify maintainership and authors.
5573
5574 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5575 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5576 (rst-official-version, rst-official-cvs-rev, rst-version)
5577 (rst-package-emacs-version-alist): New functions and variables
5578 for version information.
5579
5580 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5581 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5582 (rst-mode-syntax-table, rst-mode): New and corrected functions
5583 and variables representing reStructuredText features.
5584
5585 (rst-re): New function for reStructuredText regexes. Use in
5586 many places.
5587
5588 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5589 (rst-mode-map): Rebind keys.
5590
5591 (rst-mode-lazy, rst-font-lock-keywords)
5592 (rst-font-lock-extend-region)
5593 (rst-font-lock-extend-region-internal)
5594 (rst-font-lock-extend-region-extend)
5595 (rst-font-lock-find-unindented-line-limit)
5596 (rst-font-lock-find-unindented-line-match)
5597 (rst-adornment-level, rst-font-lock-adornment-level)
5598 (rst-font-lock-adornment-match)
5599 (rst-font-lock-handle-adornment-pre-match-form)
5600 (rst-font-lock-handle-adornment-matcher): Major revision of
5601 font-locking. Integrate with other code. Use `jit-lock-mode'.
5602
5603 (rst-preferred-adornments, rst-adjust-hook)
5604 (rst-new-adornment-down, rst-preferred-bullets)
5605 (rst-preferred-bullets, rst-indent, rst-indent-width)
5606 (rst-indent-field, rst-indent-literal-normal)
5607 (rst-indent-literal-minimized, rst-indent-comment): Change,
5608 extend and improve customization.
5609
5610 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5611 (rst-normalize-cursor-position, rst-get-decoration)
5612 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5613 (rst-rstrip, rst-toc-insert-find-delete-contents)
5614 (rst-shift-fill-region, rst-compute-bullet-tabs)
5615 (rst-debug-print-tabs, rst-debug-mark-found)
5616 (rst-shift-region-guts, rst-shift-region-right)
5617 (rst-shift-region-left, rst-use-char-classes)
5618 (rst-font-lock-keywords-function)
5619 (rst-font-lock-indentation-point)
5620 (rst-font-lock-find-unindented-line-begin)
5621 (rst-font-lock-find-unindented-line-end)
5622 (rst-font-lock-find-unindented-line)
5623 (rst-font-lock-adornment-point, rst-font-lock-level)
5624 (rst-adornment-level-alist): Remove functions and variables.
5625
5626 (rst-compare-adornments, rst-get-adornment-match)
5627 (rst-suggest-new-adornment, rst-get-adornments-around)
5628 (rst-adornment-complete-p, rst-get-next-adornment)
5629 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5630 (rst-straighten-adornments): Standardize function names to
5631 use "adornment" instead of "decoration". Correct callers.
5632 Similar standardizing in many places.
5633
5634 (rst-update-section, rst-adjust, rst-promote-region)
5635 (rst-enumerate-region, rst-bullet-list-region)
5636 (rst-repeat-last-character): Correct use of `interactive'.
5637
5638 (rst-classify-adornment, rst-find-all-adornments)
5639 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5640 (rst-find-leftmost-column, rst-repeat-last-character):
5641 Refactor functions.
5642
5643 (rst-find-title-line, rst-reset-section-caches)
5644 (rst-get-adornments-around, rst-adjust-adornment-work)
5645 (rst-arabic-to-roman, rst-roman-to-arabic)
5646 (rst-insert-list-pos, rst-insert-list-new-item)
5647 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5648 New functions.
5649
5650 (rst-all-sections, rst-section-hierarchy)
5651 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5652 New variables.
5653
5654 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5655 configuration instead of only buffer. Change where necessary.
5656
5657 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5658 (rst-shift-region, rst-adaptive-fill): New functions for
5659 indentation and filling.
5660
5661 (rst-comment-line-break, rst-comment-indent)
5662 (rst-comment-insert-comment, rst-comment-region)
5663 (rst-uncomment-region): New functions for handling comments.
5664
5665 (rst-compile): Quote shell arguments.
5666
5667 (rst-compile-pdf-preview, rst-compile-slides-preview):
5668 Delete temporary files after use.
5669
a43f98b3
GM
56702012-05-05 Glenn Morris <rgm@gnu.org>
5671
48176e8b
GM
5672 * calendar/cal-html.el: Optionally include holidays in the output.
5673 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5674 (cal-html-holidays): New option.
5675 (cal-html-css-default): Add holiday entry.
5676 (holiday-in-range): Autoload it.
5677 (cal-html-htmlify-entry): Add optional class argument.
5678 (cal-html-htmlify-list): Add optional holidays argument.
5679 (cal-html-insert-agenda-days): Include holidays in the output.
5680 (cal-html-one-month): Maybe include holidays.
5681
a43f98b3
GM
5682 * calendar/holidays.el (holiday-in-range):
5683 Move here from cal-tex-list-holidays.
5684 * calendar/cal-tex.el (cal-tex-list-holidays):
5685 Make it an obsolete alias for holiday-in-range. Update all callers.
5686
fef9d149 56872012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5688
5689 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5690 Nextstep.
5691
248da2f4
RW
56922012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5693
5694 * files.el (file-auto-mode-skip): New var.
5695 (set-auto-mode-1): Use it.
5696
f95e9344
SM
56972012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5698
df96ab1e
SM
5699 * repeat.el: Use lexical-binding.
5700 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5701 (repeat-undo-count): Remove.
5702 (repeat):
5703 * progmodes/octave-mod.el (octave-abbrev-start):
5704 * progmodes/f90.el (f90-abbrev-start):
5705 * face-remap.el (text-scale-adjust):
5706 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5707
5342bb06
SM
5708 * emacs-lisp/pcase.el (pcase--let*): New function.
5709 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5710 a bit more.
5711 (pcase--split-pred): Be more clever about ruling out overlap between
5712 a predicate and some constant pattern.
5713 (pcase--q1): Use `null' instead of (eq foo nil).
5714
f95e9344
SM
5715 * subr.el (setq-local, defvar-local): New macros.
5716 (kbd): Redefine as an alias.
5717 (with-selected-window): Leave unrelated frames alone.
5718 (set-temporary-overlay-map): New function.
5719
71873e2b
SM
57202012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * subr.el (user-error): New function.
5723 * window.el (switch-to-buffer):
5724 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5725 (smerge-match-conflict):
5726 * simple.el (previous-matching-history-element)
5727 (next-matching-history-element, goto-history-element, undo-more)
5728 (undo-start):
5729 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5730 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5731 (next-file, tags-loop-scan, list-tags, complete-tag):
5732 * progmodes/compile.el (compilation-loop):
5733 * mouse.el (mouse-minibuffer-check):
5734 * man.el (Man-bgproc-sentinel, Man-goto-page):
5735 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5736 (Info-history-forward, Info-follow-reference, Info-menu)
5737 (Info-extract-menu-item, Info-extract-menu-counting)
5738 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5739 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5740 (Info-next-reference, Info-prev-reference, Info-index)
5741 (Info-index-next, Info-follow-nearest-node)
5742 (Info-copy-current-node-name):
5743 * imenu.el (imenu--make-index-alist)
5744 (imenu-default-create-index-function, imenu-add-to-menubar):
5745 * files.el (basic-save-buffer, recover-file):
5746 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5747 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5748 (checkdoc-message-text, checkdoc-defun):
5749 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5750 * cus-edit.el (customize-changed-options, customize-rogue)
5751 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5752 (custom-variable-mark-to-reset-standard)
5753 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5754 (custom-file):
5755 * completion.el (check-completion-length):
5756 * comint.el (comint-search-arg)
5757 (comint-previous-matching-input-string-position)
5758 (comint-previous-matching-input)
5759 (comint-replace-by-expanded-history-before-point, comint-send-input)
5760 (comint-copy-old-input, comint-backward-matching-input)
5761 (comint-goto-process-mark, comint-set-process-mark):
5762 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5763 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5764
8a61ee22
SM
57652012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5766
66408d1e
SM
5767 * dabbrev.el (dabbrev--ignore-case-p): New function.
5768 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5769 Use it.
5770
8a61ee22
SM
5771 * files.el (automount-dir-prefix): Mark as obsolete.
5772
3c74813a
GM
57732012-05-04 Glenn Morris <rgm@gnu.org>
5774
5775 * patcomp.el, play/bruce.el: Move to obsolete/.
5776
0bfcf5c5
PE
57772012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5778
5779 Fix minor Y10k bugs.
5780 * arc-mode.el (archive-unixdate):
5781 * autoinsert.el (auto-insert-alist):
5782 * calc/calc-forms.el (math-this-year):
5783 * emacs-lisp/copyright.el (copyright-current-year)
5784 (copyright-update-year, copyright):
5785 * tar-mode.el (tar-clip-time-string):
5786 * time.el (display-time-update):
5787 Don't assume years have 4 digits.
5788
78f3273a
CY
57892012-05-04 Chong Yidong <cyd@gnu.org>
5790
5791 * dos-w32.el (file-name-buffer-file-type-alist)
5792 (direct-print-region-use-command-dot-com):
5793 * ffap.el (ffap-menu-regexp):
5794 * find-file.el (ff-special-constructs):
5795 * follow.el (follow-debug):
5796 * forms.el (forms--debug):
5797 * iswitchb.el (iswitchb-all-frames):
5798 * ido.el (ido-all-frames):
5799 * emacs-lisp/timer.el (timer-max-repeats):
5800 * mail/feedmail.el (feedmail-mail-send-hook)
5801 (feedmail-mail-send-hook-queued):
5802 * mail/footnote.el (footnote-signature-separator):
5803 * mail/mailabbrev.el (mail-alias-separator-string)
5804 (mail-abbrev-mode-regexp):
5805 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5806 * progmodes/idlwave.el (idlwave-libinfo-file)
5807 (idlwave-default-completion-case-is-down)
5808 (idlwave-library-routines): Convert defvars to defcustoms.
5809
5810 * mail/rmail.el (rmail-decode-mime-charset):
5811 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5812 (idlwave-shell-fix-inserted-breaks)
5813 (idlwave-shell-activate-alt-keybindings)
5814 (idlwave-shell-use-breakpoint-glyph):
5815 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5816
f7ae6719
SM
58172012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5820
47086495
WS
58212012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5822
5823 * progmodes/verilog-mode.el (font-lock-keywords):
5824 Fix mis-highligting auto. Reported by Craig Barner.
5825 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5826 defines from global name space. Reported by Dan Dever.
47086495
WS
5827 (verilog-auto-reset, verilog-auto-reset-widths)
5828 (verilog-auto-tieoff): Support using unbased numbers for
5829 AUTORESET and AUTOTIEOFF.
5830 (verilog-submit-bug-report): Update variable list.
5831 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5832 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5833 (verilog-auto-template-lint): Fix hash error when linting modules
5834 with no used templates.
5835 (verilog-warn, verilog-warn-error)
5836 (verilog-warn-fatal): When non-interactive report multiple
5837 warnings before exiting. Suggested by Brad Dobbie.
5838 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5839 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5840 to report unused template errors. Reported by Brad Dobbie.
5841 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5842 nets, bug438. Reported by Vns Blore.
47086495
WS
5843 (verilog-auto-inout-module, verilog-auto-reg)
5844 (verilog-read-decls, verilog-read-sub-decls-sig)
5845 (verilog-signals-edit-wire-reg, verilog-signals-with):
5846 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5847 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5848 "reg" for backwards compatibility presuming Verilog 2001.
5849 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5850 (verilog-preprocess): Fix replication of preprocess output.
5851 Reported by Brad Dobbie.
5852 (verilog-auto-inst-interfaced-ports):
5853 Create verilog-auto-inst-interfaced-ports, bug429.
5854 Reported by Julian Gorfajn.
5855 (verilog-after-save-font-hook)
5856 (verilog-before-save-font-hook): New variable.
5857 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5858 (verilog-save-font-mods): Wrap disabling fontification, reported
5859 by David Rogoff.
5860 (verilog-do-indent, verilog-pretty-declarations-auto)
5861 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5862 Reported by Pierre-David Pfister.
5863 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5864 of class declarations, bug292. Reported by Kevin Heilman.
5865 (verilog-read-decls): Fix 'parameter type' not appearing in
5866 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5867 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5868 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5869 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5870 Reported by David Kravitz.
5871
58722012-05-03 Michael McNamara <mac@mail.brushroad.com>
5873
5874 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5875 assignment with tests in ifs and for loops.
5876 (verilog-extended-complete-re, verilog-complete-reg): Change so
5877 that DPI inport functions don't look like fuction declarations.
5878 (verilog-pretty-expr): Don't line up assignment
5879 operations to the test and increment in if and for loops
5880 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5881 that DPI inport functions don't look like fuction declarations.
47086495 5882
2e51d4b5
KH
58832012-05-03 Kenichi Handa <handa@m17n.org>
5884
5885 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5886 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5887 (Bug#11282).
5888
2bd785a2
SM
58892012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * emacs-lisp/bytecomp.el
5892 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5893 since cconv.el might have introduced :fun-body, internal-make-closure,
5894 and friends for bytecomp to handle (bug#11391).
5895 * custom.el (defcustom): Avoid ((λ ..) ..).
5896
99d27583
SM
58972012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5900
55a71479
JB
59012012-05-02 Juanma Barranquero <lekktu@gmail.com>
5902
5903 * notifications.el (dbus-debug):
5904 * term/linux.el (gpm-mouse-enable):
5905 * term/screen.el (xterm-register-default-colors): Declare.
5906
7b97c764
CY
59072012-05-02 Chong Yidong <cyd@gnu.org>
5908
2bc356d7
CY
5909 * cus-start.el (gc-cons-percentage, exec-suffixes)
5910 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5911 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5912 (make-cursor-line-fully-visible, void-text-area-pointer)
5913 (font-list-limit): Add customization data.
5914
7b97c764
CY
5915 * allout.el (allout-exposure-change-functions)
5916 (allout-structure-added-functions)
5917 (allout-structure-deleted-functions)
5918 (allout-structure-shifted-functions): Rename abnormal hooks from
5919 *-hook, and convert to defcustoms.
5d3385a0
JB
5920 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5921 Convert to defcustoms.
7b97c764
CY
5922 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5923
5924 * allout-widgets.el: Hook callers changed.
5925
90207a15 59262012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5927
5928 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5929 the yanked message in preference to the default value of
5930 buffer-file-coding-system.
5931
90207a15 59322012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5933
5d3385a0
JB
5934 * window.el (display-buffer--action-function-custom-type):
5935 Fix entry.
d9558cad 5936
90207a15 59372012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5938
5939 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5940
d80ac57b
GM
59412012-05-01 Glenn Morris <rgm@gnu.org>
5942
976f7668
GM
5943 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5944
beb83b5a
GM
5945 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5946
d80ac57b
GM
5947 * cus-edit.el (custom-variable-documentation): Simplify with format.
5948
b593d6a9 59492012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5950 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5951
5952 * simple.el (suggest-key-bindings, execute-extended-command):
5953 Move from keyboard.c.
5954
782fbf2a
CY
59552012-05-01 Chong Yidong <cyd@gnu.org>
5956
5957 * follow.el: Eliminate advice.
5958 (set-process-filter, process-filter, sit-for): Advice deleted.
5959 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5960 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5961 Vars deleted.
782fbf2a
CY
5962 (follow-auto): Use a :set function.
5963 (follow-mode): Rewritten. Don't advise process filters.
5964 (follow-switch-to-current-buffer-all, follow-scroll-up)
5965 (follow-scroll-down): Assume follow-mode is bound.
5966 (follow-comint-scroll-to-bottom)
5967 (follow-align-compilation-windows): New functions.
5968 (follow--window-sorter): New function.
5969 (follow-all-followers): Use it to explicitly sort windows by their
5970 positions; don't make assumptions about next-window order.
5971 (follow-windows-start-end, follow-delete-other-windows-and-split)
5972 (follow-calc-win-start): Doc fix.
5973 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5974 vertical-motion unnecessarily.
5975 (follow-adjust-window): New function.
5976 (follow-post-command-hook): Use it.
5977 (follow-call-set-process-filter, follow-call-process-filter)
5978 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5979 (follow-stop-intercept-process-output, follow-generic-filter):
5980 Functions deleted.
5981 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5982 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5983 New functions, replacing advice on scroll-bar-* commands.
87233a14 5984 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5985
5986 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5987 (comint-postoutput-scroll-to-bottom): Use it.
5988 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5989
290af740
GM
59902012-05-01 Glenn Morris <rgm@gnu.org>
5991
5992 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5993 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5994 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5995 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5996 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5997 Remove no-byte-compile setting.
5998
6eac8dc9
SM
59992012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6002 all-completions code to not return a number in the last cdr.
6003
9cc7819c
LL
60042012-04-30 Leo Liu <sdl.web@gmail.com>
6005
6006 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6007 read-only error.
6008
c93b886f
CY
60092012-04-29 Chong Yidong <cyd@gnu.org>
6010
6011 * follow.el (follow-calc-win-end): Rewrite to handle partial
6012 screen lines correctly (Bug#8390).
6013 (follow-avoid-tail-recenter): Minor cleanup.
6014
8b6c19f4
SM
60152012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 Avoid the obsolete `assoc' package.
6018 * speedbar.el (speedbar-refresh): Avoid adelete.
6019 (speedbar-file-lists): Simplify and avoid aput.
6020 * man.el (Man--sections, Man--refpages): New vars, replacing
6021 Man-sections-alist and Man-refpages-alist.
6022 (Man-build-section-alist, Man-build-references-alist):
6023 Use them; avoid aput.
6024 (Man--last-section, Man--last-refpage): New vars.
6025 (Man-follow-manual-reference): Use them.
6026 Use the `default' arg of completing-read.
6027 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6028
c5bb7569
CY
60292012-04-27 Chong Yidong <cyd@gnu.org>
6030
d1d2e2e8
CY
6031 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6032
15cd8efd
CY
6033 * startup.el (x-apply-session-resources): New function.
6034
6035 * term/ns-win.el (ns-initialize-window-system):
6036 * term/w32-win.el (w32-initialize-window-system):
6037 * term/x-win.el (x-initialize-window-system): Use it to properly
6038 set menu-bar-mode and other vars from X resources, even if the
6039 initial frame is not a window-system frame (Bug#2299).
6040
c5bb7569
CY
6041 * subr.el (read-key): Avoid running filter function when setting
6042 up temporary tool bar entries (Bug#9922).
6043
a8e7d6d7 60442012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6045
6046 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6047 (Bug#11344)
6048
a8e7d6d7 60492012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6050
6051 * select.el (xselect--encode-string): New function, split from
6052 xselect-convert-to-string.
6053 (xselect-convert-to-string): Use it.
6054 (xselect-convert-to-filename, xselect-convert-to-os)
6055 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6056 returned strings are properly encoded (Bug#11315).
6057
a8e7d6d7 60582012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6059
6060 * simple.el (delete-active-region): Move to killing custom group.
6061
a8e7d6d7 60622012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6063
6064 * progmodes/which-func.el (which-func-current): Quote %
6065 characters for mode-line processing.
6066
578c1d4b 60672012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6068
6069 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6070 reaching eob (Bug#11286).
6071
a8e7d6d7 60722012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6073
6074 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6075 (gdb): Make it buffer-local and init to zero.
6076 (gdb-control-commands-regexp): New variable.
6077 (gdb-send): Don't wrap in "-interpreter-exec console" if
6078 gdb-control-level is positive. Increment gdb-control-level
6079 whenever the command matches gdb-control-commands-regexp, and
6080 decrement it each time the command is "end". (Bug#11279)
6081
a8e7d6d7 60822012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6083
6084 * window.el (adjust-window-trailing-edge, enlarge-window)
6085 (shrink-window, window-resize):
6086 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6087 windows (Bug#11276).
6088
b3608390
CY
60892012-04-27 Chong Yidong <cyd@gnu.org>
6090
6091 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6092 fix "missing prefix" warning. All callers changed.
b3608390 6093
797e6e88
SM
60942012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 * emacs-lisp/assoc.el: Move to obsolete/.
6097
e95a67dc
SM
60982012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6099
657c21e4 6100 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6101
6102 * term/ns-win.el (ns-define-service):
6103 * progmodes/pascal.el (pascal-goto-defun):
6104 * progmodes/js.el (js--read-tab):
6105 * progmodes/etags.el (tags-lazy-completion-table):
6106 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6107 * emacs-lisp/ewoc.el (ewoc--wrap):
6108 * emacs-lisp/assoc.el (aput, adelete, amake):
6109 * doc-view.el (doc-view-convert-current-doc):
6110 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6111
cb3e7ae0
CY
61122012-04-26 Chong Yidong <cyd@gnu.org>
6113
dce04f7f
CY
6114 * image.el (image-type-from-buffer): Only return supported image
6115 type (Bug#9045).
6116
cb3e7ae0
CY
6117 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6118 value, for symmetry with diff-end-of-hunk.
6119 (diff-split-hunk, diff-find-source-location)
6120 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6121 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6122 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6123 compute the relevant hunk or file properly (Bug#6005).
6124 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6125
0d42eb3e
SM
61262012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * vc/vc-mtn.el:
6129 * vc/vc-hg.el:
6130 * vc/vc-git.el:
6131 * vc/vc-dir.el:
6132 * vc/vc-cvs.el:
6133 * vc/vc-bzr.el:
6134 * vc/vc-arch.el:
6135 * vc/vc.el: Replace lexical-let by lexical-binding.
6136 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6137 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6138 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6139
f08ae1c9
CY
61402012-04-26 Chong Yidong <cyd@gnu.org>
6141
8b71081d
CY
6142 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6143 (diff-mode-shared-map): Bind it to / and [remap undo].
6144
f08ae1c9
CY
6145 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6146 (ediff-window-setup-function): Use it as the default, to set up
6147 windows based on whether the current frame is graphical (Bug#2138).
6148 (ediff-choose-window-setup-function-automatically): Make obsolete.
6149
6150 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6151
ef24141c
SM
61522012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6153
cc356a5d
SM
6154 * ffap.el: Remove old code for obsolete package.
6155 (ffap-complete-as-file-p): Remove.
6156
b4ff4f1f
SM
6157 Use completion-table-with-quoting for comint and pcomplete.
6158 * comint.el (comint--unquote&requote-argument)
6159 (comint--unquote-argument, comint--requote-argument): New functions.
6160 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6161 (comint-quote-filename): Use regexp-opt-charset.
6162 (comint--common-suffix, comint--common-quoted-suffix)
6163 (comint--table-subvert): Remove.
6164 (comint-unquote-function, comint-requote-function): New vars.
6165 (comint--complete-file-name-data): Use them with
6166 completion-table-with-quoting.
6167 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6168 * pcomplete.el (pcomplete-arg-quote-list)
6169 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6170 (pcomplete-unquote-argument-function): Default to non-nil.
6171 (pcomplete-unquote-argument): Simplify.
6172 (pcomplete--common-quoted-suffix): Remove.
6173 (pcomplete-requote-argument-function): New var.
6174 (pcomplete--common-suffix): New function.
6175 (pcomplete-completions-at-point): Use completion-table-with-quoting
6176 and completion-table-subvert.
6177
79c4eeb4
SM
6178 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6179 (minibuffer--double-dollars): Preserve properties.
6180 (completion--sifn-requote): New function.
6181 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6182
ef24141c
SM
6183 * minibuffer.el: Add support for completion of quoted/escaped data.
6184 (completion-table-with-quoting, completion-table-subvert): New funs.
6185 (completion--twq-try, completion--twq-all): New functions.
6186 (completion--nth-completion): New function.
6187 (completion-try-completion, completion-all-completions): Use it.
6188
784e7d6e
LL
61892012-04-25 Leo Liu <sdl.web@gmail.com>
6190
dd2ac746
SM
6191 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6192 Use compilation-message if available to find real filename.
784e7d6e 6193
07875ee7
CY
61942012-04-25 Chong Yidong <cyd@gnu.org>
6195
6196 * vc/diff-mode.el (diff-setup-whitespace): New function.
6197 (diff-mode): Use it.
6198
6199 * vc/diff.el (diff-sentinel):
6200 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6201 Whitespace mode variables based on diff style (Bug#8612).
6202
5055880d
LL
62032012-04-25 Leo Liu <sdl.web@gmail.com>
6204
daf75653
LL
6205 * progmodes/python.el (python-send-region): Add suffix .py to the
6206 temp file.
6207
5055880d
LL
6208 * files.el (auto-mode-alist): Use javascript-mode instead.
6209
db9b177b
AH
62102012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6211
ef24141c 6212 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6213
090bd7cb 6214 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6215 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6216 references, see Bug#9.
ef24141c 6217 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6218 when receiving a fault reply.
ef24141c 6219 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6220
090bd7cb 6221 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6222 (soap-inspect-simple-type): New function.
db9b177b 6223
090bd7cb 6224 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6225 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6226 (soap-decode-basic-type, soap-encode-basic-type):
6227 support unsignedInt and double basic types.
db9b177b 6228 (soap-resolve-references-for-simple-type)
ef24141c
SM
6229 (soap-parse-simple-type, soap-encode-simple-type): New function.
6230 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6231
090bd7cb 6232 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6233 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6234 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6235 the local name of "soapenc:Array".
6236 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6237 decoding integer, byte and anyURI xsd types.
6238
1fc6097b
CY
62392012-04-25 Chong Yidong <cyd@gnu.org>
6240
6241 * cus-edit.el (custom-buffer-create-internal): Update header text.
6242
afc6df87
EZ
62432012-04-25 Eli Zaretskii <eliz@gnu.org>
6244
6245 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6246 settings on 'system-type', not on 'window-system'. On MS-Windows,
6247 set interactive-mode on in GDB.
6248
dfbd787f
SM
62492012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6252 (ruby-syntax-propertize-regexp): Remove.
6253 (ruby-syntax-propertize-function): Split regexp into chunks.
6254 Match following code directly.
6255
85222d44
DG
62562012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6257
51a8ea2a
DG
6258 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6259 (ruby-syntax-propertize-regexp): New function.
6260 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6261 by a special keyword.
6262
85222d44
DG
6263 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6264 (ruby-syntax-general-delimiters-goto-beg)
6265 (ruby-syntax-propertize-general-delimiters): New functions.
6266 (ruby-syntax-propertize-function): Use them to handle GDL.
6267 (ruby-font-lock-keywords): Move old handling of GDL...
6268 (ruby-font-lock-syntactic-keywords): .. to here.
6269 (ruby-calculate-indent): Adjust indentation for GDL.
6270
b613912b
MA
62712012-04-24 Michael Albinus <michael.albinus@gmx.de>
6272
b5380639
MA
6273 * notifications.el (top): Remove unneeded declarations.
6274 (notifications-specification-version): Change to "1.2".
e43042fe 6275 (notifications-interface, notifications-notify-method)
b613912b
MA
6276 (notifications-close-notification-method): Fix docstring.
6277 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6278 (notifications-notify): Add :action-items, :resident and
6279 :transient hints. Change "image_data" to "image-data" and
6280 "image_path" to "image-path".
b613912b
MA
6281 (notifications-get-capabilities): New defun.
6282
257440aa
LL
62832012-04-24 Leo Liu <sdl.web@gmail.com>
6284
6285 * progmodes/python.el: Move hideshow setup to the end.
6286
b1bac16e
MR
62872012-04-24 Martin Rudalics <rudalics@gmx.at>
6288
6289 * window.el (handle-select-window): Clear echo area since this is
6290 no more done by read_char (Bug#11304).
6291
d81bd059
SM
62922012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6295 and `/ M' to filter-derived-mode.
6296 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6297 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6298 (ibuffer-mark-by-mode): Use default rather than initial-input.
6299 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6300
c4cf6d91
IA
63012012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6302
6303 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6304 (ibuffer-filter-by-derived-mode): New filter.
6305 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6306
7511ded8
CY
63072012-04-23 Andreas Politz <politza@fh-trier.de>
6308
6309 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6310
775c916b
CY
63112012-04-23 Chong Yidong <cyd@gnu.org>
6312
6313 * cus-edit.el (customize-apropos, customize-apropos-options):
6314 Disable matching of non-option variables (Bug#11176).
6315 (customize-option, customize-option-other-window)
6316 (customize-changed-options): Doc fix.
6317 (customize-apropos-options, customize-apropos-faces)
6318 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6319
6320 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6321 Fix word list splitting (Bug#11132).
46c71e23
CY
6322 (apropos-symbol, apropos-keybinding, apropos-label)
6323 (apropos-property, apropos-function-button)
6324 (apropos-variable-button, apropos-misc-button): New faces.
6325 (apropos-symbol-face, apropos-keybinding-face)
6326 (apropos-label-face, apropos-property-face, apropos-match-face):
6327 Variables removed (Bug#8396).
6328 (apropos-library-button, apropos-format-plist, apropos-print)
6329 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6330
2df41f9c
MA
63312012-04-23 Michael Albinus <michael.albinus@gmx.de>
6332
6333 * net/xesam.el (xesam-mode-map): Use let-bound map in
6334 initialization. (Bug#11292)
6335
da00640a
AM
63362012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6337
6338 Preserve ispell session localwords when switching back to
6339 original buffer.
6340
090bd7cb
JB
6341 * textmodes/ispell.el (ispell-buffer-session-localwords):
6342 New buffer-local variable to hold buffer session localwords.
ed9265fc 6343 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6344 localwords.
6345 (ispell-command-loop, ispell-change-dictionary)
6346 (ispell-buffer-local-words): Preserve session localwords when
6347 needed.
6348
090bd7cb
JB
6349 * textmodes/flyspell.el (flyspell-process-localwords)
6350 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6351
f621ccf5
AM
63522012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6353
090bd7cb
JB
6354 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6355 using obsolete `translation-table-for-input'.
ef24141c
SM
6356 (ispell-word, ispell-process-line, ispell-complete-word):
6357 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6358
c2d1019e
CY
63592012-04-22 Chong Yidong <cyd@gnu.org>
6360
6361 * cus-edit.el (custom-variable-menu)
6362 (custom-variable-reset-saved, custom-face-menu)
6363 (custom-face-reset-saved): If there is no saved value, make the
6364 "reset-saved" operation bring back the default (Bug#9509).
6365 (custom-face-state): Properly detect themed faces.
6366
eeddc531
CY
6367 * faces.el (face-spec-set): Stop supporting deprecated form of
6368 third arg.
6369
dcbf5805
MA
63702012-04-22 Michael Albinus <michael.albinus@gmx.de>
6371
6372 Move functions from C to Lisp. Make non-blocking method calls
6373 the default. Implement further D-Bus standard interfaces.
6374
ef24141c
SM
6375 * net/dbus.el (dbus-message-internal): Declare function.
6376 Remove unneeded function declarations.
dcbf5805
MA
6377 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6378 (dbus-message-type-method-return, dbus-message-type-error)
6379 (dbus-message-type-signal): Declare variables. Remove local
6380 definitions.
6381 (dbus-interface-dbus, dbus-interface-peer)
6382 (dbus-interface-introspectable, dbus-interface-properties)
6383 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6384 Adapt docstring.
6385 (dbus-interface-objectmanager): New defconst.
6386 (dbus-call-method, dbus-call-method-asynchronously)
6387 (dbus-send-signal, dbus-method-return-internal)
6388 (dbus-method-error-internal, dbus-register-service)
6389 (dbus-register-signal, dbus-register-method): New defuns, moved
6390 from dbusbind.c
6391 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6392 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6393 New defuns.
dcbf5805
MA
6394 (dbus-call-method-non-blocking): Make it an obsolete function.
6395 (dbus-unregister-object, dbus-unregister-service)
6396 (dbus-handle-event, dbus-register-property)
6397 (dbus-property-handler): Obey the new structure of
6398 `bus-registered-objects'.
6399 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6400 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6401 Use `dbus-call-method'.
6402
cf20dee0
CY
64032012-04-22 Chong Yidong <cyd@gnu.org>
6404
6405 * cus-edit.el (custom-commands, custom-reset-menu)
6406 (Custom-reset-standard): Tweak labels.
6407 (custom-reset-button-menu): Change default to t.
6408 (custom-buffer-create-internal): For the custom-reset-button-menu
6409 case, put the revert button first.
6410 (custom-group-subtitle): New face.
6411 (custom-group-value-create): Align docstring to a specific column.
6412
6413 * wid-edit.el (widget-documentation-link-add): Don't handle
6414 indentation in this function.
6415 (widget-documentation-string-indent-to): New function.
6416 (widget-documentation-string-value-create): Use it.
6417
6418 * autorevert.el (auto-revert):
6419 * epg-config.el (epg):
6420 * ibuffer.el (ibuffer):
6421 * mpc.el (mpc):
6422 * ses.el (ses):
6423 * eshell/eshell.el (eshell):
6424 * net/ange-ftp.el (ange-ftp):
6425 * progmodes/ebnf2ps.el (postscript):
6426 * progmodes/flymake.el (flymake):
6427 * progmodes/prolog.el (prolog):
6428 * progmodes/verilog-mode.el (verilog-mode):
6429 * progmodes/which-func.el (which-func):
6430 * term/xterm.el (xterm):
6431 * textmodes/picture.el (picture):
6432 * textmodes/tildify.el (tildify):
6433 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6434 customization buffers.
6435
583e23bd
AM
64362012-04-22 Alan Mackenzie <acm@muc.de>
6437
6438 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6439 Adding a ) can hide the resulting (..) from searches. Fix it.
6440 Bound the backward search to the position of the existing (.
6441
7dd51bf1
JB
64422012-04-21 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * progmodes/verilog-mode.el (verilog-mode): Check whether
6445 which-func-modes is t before adding verilog-mode.
6446 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6447
d64a438f
LL
64482012-04-21 Leo Liu <sdl.web@gmail.com>
6449
7dd51bf1 6450 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6451
081e8d65
MV
64522012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6453
6454 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6455 filling of the last column of a table (Bug#5635).
6456 (woman-find-next-control-line): New arg, specifying an additional
6457 regexp component for the control line.
6458 (woman2-roff-buffer): Use it.
6459 (woman-break-table): New function.
6460 (woman2-TS): Use it.
6461
64622012-04-21 Chong Yidong <cyd@gnu.org>
6463
6464 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6465 (woman-horizontal-escapes, woman-negative-vertical-space)
6466 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6467 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6468
ed571ccb
SM
64692012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * minibuffer.el (completion-file-name-table): Complete user names.
6472
39773899
LL
64732012-04-20 Leo Liu <sdl.web@gmail.com>
6474
6475 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6476 and pcase-let*.
6477
de6ff46d
CY
64782012-04-20 Chong Yidong <cyd@gnu.org>
6479
6480 * server.el (server-execute): Respect initial-buffer-choice if it
6481 is a string and there are no files to open (Bug#2825).
6482 (server-create-window-system-frame, server-create-tty-frame):
6483 Don't switch buffers here.
2d0e8e61
CY
6484 (server-process-filter): Only try to open a window system frame if
6485 compiled with graphical support (Bug#8314).
de6ff46d 6486
54071013
DN
64872012-04-20 Dan Nicolaescu <dann@gnu.org>
6488
6489 * battery.el (battery-echo-area-format): Display remaining time
6490 for sysfs backend too (Bug#11269).
6491 (battery-linux-sysfs): Fix conditional for the charge.
6492
f30d612a
CY
64932012-04-20 Chong Yidong <cyd@gnu.org>
6494
c07a4c0b 6495 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6496 (gdb-inferior-io--init-proc): New function.
6497 (gdb-init-1): Use it.
6498 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6499 responsible for allocating a new pty and hooking it to gdb when
6500 the old pty gets an EIO due to process exit.
6501 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6502 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6503 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6504
2116e93c
EZ
65052012-04-20 Eli Zaretskii <eliz@gnu.org>
6506
6507 * window.el (window-min-size, window-sizable, window-min-delta)
6508 (window-max-delta, window--resizable, window-resizable)
6509 (window-total-size, window-full-height-p, window-full-width-p)
6510 (window-in-direction, window--resize-mini-window, window-resize)
6511 (window--resize-child-windows-normal)
6512 (window--resize-child-windows, window--resize-siblings)
6513 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6514 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6515
c07a4c0b 65162012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6517
ef24141c
SM
6518 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6519 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6520 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6521 pty process (Bug#11273).
6522 (gdb-update): New arg to suppress talking to the gdb process.
6523 (gdb-done-or-error): Use it.
6524 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6525 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6526 sentinel not being called.
6527
6528 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6529
d02766ab
CY
6530 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6531
c07a4c0b 65322012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6533
6534 * net/network-stream.el (open-network-stream): Doc fix.
6535
c07a4c0b 65362012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6537
6538 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6539
c07a4c0b 65402012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6541
6542 Ensure searching for keywords is case sensitive.
6543
6544 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6545 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6546 (c-defun-name, c-mark-function, c-cpp-define-name)
6547 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6548 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6549
ef24141c
SM
6550 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6551 Bind case-fold-search to nil.
f0f6bc35 6552
c07a4c0b 65532012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6554
6555 * mail/sendmail.el (mail-bury): Call return action with the right
6556 Rmail buffer (Bug#11242).
6557
9a864fa2
CY
6558 * server.el (server-process-filter): Handle corner case where both
6559 tty and nowait options are present (Bug#11102).
6560
539aa513
EZ
65612012-04-20 Eli Zaretskii <eliz@gnu.org>
6562
6563 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6564 (top level): Put into the executable the ident-style '$Id:' tag on
6565 windows-nt as well.
539aa513 6566
cfc7d5da
SM
65672012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * electric.el (electric-indent-post-self-insert-function): Check that
6570 electric-indent-mode is enabled in current buffer.
6571
5b01685c
JB
65722012-04-19 Juanma Barranquero <lekktu@gmail.com>
6573
6574 * imenu.el (imenu-progress-message): Restore; it is "used" in
6575 erc/erc-imenu.el and net/snmp-mode.el.
6576
4d6769e1
JB
65772012-04-19 Juanma Barranquero <lekktu@gmail.com>
6578
6579 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6580 (mouse-avoidance-nudge-mouse): Remove unused binding.
6581
6582 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6583
6584 * descr-text.el (describe-char):
6585 * progmodes/python.el (python-describe-symbol):
6586 Don't call `toggle-read-only', set `buffer-read-only'.
6587
6588 * imenu.el (imenu-default-goto-function): Mark unused args.
6589 (imenu-progress-message): Remove obsolete macro; all callers changed.
6590
6591 * subr.el (keymap-canonicalize): Remove unused binding.
6592 (read-passwd): Mark unused arg.
6593
6594 * tutorial.el (tutorial--display-changes): Remove unused binding.
6595 (tutorial--save-tutorial-to): Remove unused variable.
6596
6597 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6598 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6599 (package-generate-autoloads, package-menu--generate)
6600 (package-menu--find-upgrades): Remove unused bindings.
6601
6602 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6603 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6604 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6605 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6606 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6607 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6608 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6609 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6610 (cua-delete-char-rectangle): Mark unused args.
6611 (cua-align-rectangle): Remove unused binding.
6612
6613 * mail/rmail.el (compilation--message->loc)
6614 (epa--find-coding-system-for-mime-charset): Declare.
6615
6616 * net/dbus.el (dbus-register-service): Declare.
6617 (dbus-name-owner-changed-handler): Remove unused binding.
6618
6619 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6620 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6621 (nxml-scan-backward-within): Mark unused arg.
6622 (nxml-dynamic-markup-word): Remove unused binding.
6623
6624 * mouse.el (mouse-menu-major-mode-map):
6625 * emacs-lisp/authors.el (authors-scan-change-log)
6626 (authors-add-to-author-list):
6627 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6628 * emacs-lisp/smie.el (smie-auto-fill):
6629 * mail/sendmail.el (mail-bury):
6630 * mail/unrmail.el (unrmail):
6631 * net/tls.el (open-tls-stream):
6632 * textmodes/picture.el (picture-mouse-set-point):
6633 Remove unused bindings.
6634
8c8fc5df
MA
66352012-04-19 Michael Albinus <michael.albinus@gmx.de>
6636
6637 * net/tramp.el (tramp-action-password): Let-bind
6638 `enable-recursive-minibuffers' to t.
6639
a77b0ac9
SS
66402012-04-18 Sam Steingold <sds@gnu.org>
6641
6642 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6643 instead of 'string to accommodate values like [f11].
6644 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6645 * progmodes/gdb-mi.el: Likewise.
6646
12a106a9
LL
66472012-04-18 Leo Liu <sdl.web@gmail.com>
6648
6649 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6650 current buffer.
6651 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6652 LOCAL is nil.
6653
bc6494ef
CY
66542012-04-18 Chong Yidong <cyd@gnu.org>
6655
6656 * simple.el (line-move): Use forward-line if in batch mode
6657 (Bug#11053).
6658
c09c46b2
CS
66592012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6660
6661 * files.el (after-find-file): Do not try to add a final newline if
6662 the buffer is read-only (Bug#11156).
6663
5f6530ea
RS
66642012-04-17 Richard Stallman <rms@gnu.org>
6665
6666 * mail/rmail.el (rmail-start-mail):
6667 Pass (rmail-mail-return...) for the return-action.
6668 Pass (rmail-yank-current-message...) for the yank-action.
6669 (rmail-yank-current-message): New function.
6670 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6671 (rmail-reply): Likewise.
6672 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6673
6674 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6675 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6676 buffer, not newbuf.
6677
197b6f3c
JB
66782012-04-17 Juanma Barranquero <lekktu@gmail.com>
6679
6680 * server.el (server-ensure-safe-dir): Simplify.
6681
2311d8e5 66822012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6683
2311d8e5
GM
6684 * emacs-lisp/smie.el: Provide smarter auto-filling.
6685 (smie-auto-fill): New function.
6686 (smie-setup): Use it.
98fb480e 6687
2311d8e5
GM
6688 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6689
66902012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6691
6692 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6693 (comment-indent): Use it.
6694
2311d8e5 66952012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6696
6697 * ses.el: The overall change is to add cell renaming, that is
6698 setting fancy names for cell symbols other than name matching
6699 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6700 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6701 (ses-create-cell-variable): New defun.
2311d8e5 6702 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6703 (ses-relocate-formula): Relocate formulas only for cells the
6704 symbols of which are not renamed, i.e. symbols whose names do not
6705 match regexp "\\`[A-Z]+[0-9]+\\'".
6706 (ses-relocate-all): Relocate values only for cells the symbols of
6707 which are not renamed.
6708 (ses-load): Create cells variables as the (ses-cell ...) are read,
6709 in order to check row col consistency with cell symbol name only
6710 for cells that are not renamed.
6711 (ses-replace-name-in-formula): New defun.
6712 (ses-rename-cell): New defun.
4bdf2ad2 6713
fc72b15c
PO
67142012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6715
6716 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6717 New option (bug#11118).
6718 (perl-calculate-indent): Respect it.
6719
12e10e61
GM
67202012-04-17 Glenn Morris <rgm@gnu.org>
6721
6722 * dired-aux.el (dired-mark-read-string): Doc fix.
6723
30009afd
DA
67242012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6725
6726 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6727 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6728
41f03f4d
GM
67292012-04-17 Glenn Morris <rgm@gnu.org>
6730
6731 * mouse.el (mouse-drag-track):
6732 * speedbar.el (speedbar-frame-mode):
6733 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6734
f45f90f3
LL
67352012-04-16 Leo Liu <sdl.web@gmail.com>
6736
6737 * progmodes/python.el: Trivial cleanup.
6738
94ee8db5
GM
67392012-04-16 Glenn Morris <rgm@gnu.org>
6740
121b8917
GM
6741 * vc/vc.el (vc-string-prefix-p):
6742 * vc/pcvs-util.el (cvs-string-prefix-p):
6743 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6744 * mpc.el (mpc-string-prefix-p):
6745 Make all of these into obsolete aliases for string-prefix-p.
6746 Update callers.
6747 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6748
1197ecfa
GM
6749 * textmodes/two-column.el: Move custom options to the start.
6750 (frame-width): Remove compat definition.
6751 (2C-associate-buffer, 2C-dissociate):
6752 Use with-current-buffer rather than save-excursion.
6753 (2C-dissociate): Force a mode-line update.
6754 (2C-autoscroll): Use ignore-errors.
6755
099e7202
GM
6756 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6757 Autoload trivia.
6758
bf350d6a
GM
6759 * emacs-lisp/cl-extra.el (*random-state*):
6760 Remove unnecessary declaration.
6761
0e829eab
GM
6762 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6763
e3ad7552
GM
6764 * play/cookie1.el (cookie-snarf):
6765 Give an explicit error if input file cannot be read.
6766
68892d27
GM
6767 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6768
20f0c46d
GM
6769 * progmodes/perl-mode.el (c-macro-expand):
6770 Remove unnecessary autoload (it is in loaddefs.el).
6771
5a0978ce
GM
6772 * textmodes/picture.el (picture-desired-column)
6773 (picture-update-desired-column): Convert comments to doc-strings.
6774 (picture-substitute): Remove function.
6775 (picture-mode-map): Initialize in the defvar.
6776
6b955486
GM
6777 * woman.el: Remove eval-after-load for tar-mode.
6778 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6779 (woman-tar-extract-file): Autoload it.
6780
94ee8db5
GM
6781 * frame.el (automatic-hscrolling): Make this alias obsolete.
6782
177eca34
AM
67832012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6784
090bd7cb 6785 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6786 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6787 (ispell-dictionary-base-alist): Revert to original XEmacs
6788 friendly version for default. [:alpha:] will be added in
090bd7cb 6789 `ispell-set-spellchecker-params' if needed.
177eca34 6790
c505aaeb
CY
67912012-04-16 Chong Yidong <cyd@gnu.org>
6792
b19dd9d1 6793 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6794 (imagemagick-register-types): Use it.
6795 (imagemagick-types-inhibit): Add :set function. Allow new value
6796 of t to inhibit all types.
6797
6798 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6799 so we can preload it.
6800
6801 * loadup.el (fboundp): Preload regexp-opt, needed by
6802 imagemagick-register-types.
6803
60efac0f
CY
68042012-04-15 Chong Yidong <cyd@gnu.org>
6805
6806 * frame.el (scrolling): Remove nearly unused customization group.
6807
6808 * scroll-all.el (scroll-all-mode): Move to windows group.
6809
5dd1713e
CY
68102012-04-15 Chong Yidong <cyd@gnu.org>
6811
6812 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6813
e6fd457e
CY
68142012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6817 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6818
e153c136
GM
68192012-04-15 Glenn Morris <rgm@gnu.org>
6820
6821 * simple.el (process-file-side-effects): Doc fix.
6822
e6fd457e 68232012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6824
6825 * international/mule-cmds.el (set-language-environment): Doc fix.
6826
3603c3b1
JB
68272012-04-14 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * server.el (server-auth-key, server-generate-key): Doc fixes.
6830 (server-get-auth-key): Doc fix. Use `string-match-p'.
6831 (server-start): Reflow docstring.
6832
e6de100c
LI
68332012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6834
6835 * server.el (server-generate-key): `called-interactively-p'
6836 requires a parameter.
6837
29734c21
MN
68382012-04-14 Michal Nazarewicz <mina86@mina86.com>
6839
6840 * server.el (server-auth-key): New variable.
75f1671a 6841 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6842 (server-start): Use the new variable and functions to allow
6843 setting a permanent server key (bug#9423).
6844
d65c9521
LL
68452012-04-14 Leo Liu <sdl.web@gmail.com>
6846
6847 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6848
5ae255c7
PE
68492012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6850
6851 Spelling fixes.
6852 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6853 Emacs uses American spelling.
6854
d5e6342e
JB
68552012-04-14 Juanma Barranquero <lekktu@gmail.com>
6856
6857 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6858 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6859 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6860 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6861
ab036cd7
SM
68622012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6863
6864 * progmodes/which-func.el (which-func-modes): Change default.
6865
35dc09a1 68662012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6867
6868 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6869 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6870
35dc09a1 68712012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6872
6873 * custom.el (custom-theme-set-variables): Doc fix.
6874
35dc09a1 68752012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6876
6877 * international/mule.el (set-auto-coding-for-load): Doc fix.
6878
35dc09a1 68792012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6880
35dc09a1
GM
6881 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6882 imenu work again for Objective C Mode. Correct the *-index values,
6883 these having been disturbed by a previous change in 2011-08.
57f845ee 6884
0de3da9f
AM
6885 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6886 Correct two search limits.
6887
35dc09a1 68882012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6889
6890 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6891
35dc09a1 68922012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6893
6894 * international/characters.el: Fix sorting.
6895
35dc09a1 68962012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6897
6898 * international/characters.el: Add more missing Latin case pairs.
6899
35dc09a1 69002012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6901
6902 * files.el (dir-locals-set-class-variables): Doc fix.
6903
35dc09a1 69042012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6905
3f1b5bf8
EZ
6906 * international/characters.el: Add set-case-syntax-pair call for
6907 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6908 counterpart. (Bug#11209)
6909
9f847f41
EZ
6910 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6911
35dc09a1 69122012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6913
6914 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6915
35dc09a1 69162012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6917
35dc09a1
GM
6918 * textmodes/ispell.el (ispell-dictionary-base-alist):
6919 Add data for Hebrew.
e2627d21 6920
35dc09a1 69212012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6922
35dc09a1
GM
6923 * net/rcirc.el (rcirc-cmd-quit):
6924 Revert 2012-03-18 change (Bug#11192).
5c14e333 6925
35dc09a1 69262012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6927
6928 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6929
35dc09a1 69302012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6931
4517fe3a
SM
6932 * minibuffer.el (completion-in-region-mode-map):
6933 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6934
b472a594
VD
69352012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6936
6937 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6938
09b95ce3
MY
69392012-04-13 Masatake YAMATO <yamato@redhat.com>
6940
6941 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6942 to allow `C-M-f' and `C-M-b' to move to the nearest path
6943 separator (bug#9511).
6944
4b63a9ca
LI
69452012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6946
6947 * avoid.el: Require cl when compiling. And also move the
6948 `provide' to the end.
6949
7b55b8bf
TV
69502012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6951
6952 * avoid.el (mouse-avoidance-banish-position): New variable.
6953 (mouse-avoidance-banish-destination): Use it (bug#10165).
6954
adedaa1f
LL
69552012-04-13 Leo Liu <sdl.web@gmail.com>
6956
6957 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6958
70e74021
KB
69592012-04-13 Ken Brown <kbrown@cornell.edu>
6960
6961 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6962 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6963 (browse-url-filename-alist): For the same reason, don't modify
6964 file:// URLs on Cygwin.
6965
e75e89ba
SM
69662012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6969 the region on shift if the binding is already shifted (bug#11221).
6970
82f289a4
GM
69712012-04-12 Glenn Morris <rgm@gnu.org>
6972
6973 * mail/mailpost.el: Move to obsolete/.
6974
d333dc4c
DA
69752012-04-12 Drew Adams <drew.adams@oracle.com>
6976
6977 * imenu.el (imenu--generic-function): Ignore invisible definitions
6978 (bug#10123).
6979
0d15b5ba
VD
69802012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6981
6982 * hexl.el (hexl-bits): New variable.
6983 (hexl-options): Mention the variable in the doc string.
75f1671a 6984 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6985 (hexl-mode): Mention the new variable.
75f1671a
JB
6986 (hexl-mode, hexl-current-address, hexl-current-address):
6987 Use the displen.
0d15b5ba
VD
6988 (hexl-ascii-start-column): New function.
6989 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6990 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6991
64a440db
AM
69922012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6993
6994 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6995 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6996 the encoding, as expected by hunspell.
6997
6decb6c2
SM
69982012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 * battery.el (battery--linux-sysfs-regexp): New const.
7001 (battery-status-function): Use it. Remove yeeloong special case.
7002 (battery-yeeloong-sysfs): Remove.
7003 (battery-echo-area-format): Remove yeeloong special case.
7004
088be6fb
SM
70052012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7006
6622e416
SM
7007 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7008 Reported by Noah Friedman.
7009
088be6fb
SM
7010 * subr.el (read-passwd): Use read-string.
7011
b49f886e
LMI
70122012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7013
7014 * vcursor.el (vcursor-move): Increase the priority of the overlay
7015 (bug#9663).
7016
a63067fc
DD
70172012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7018
7019 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7020 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7021
ac3cf14a
WS
70222012-04-11 William Stevenson <yhvh2000@gmail.com>
7023
7024 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7025 define-minor-mode (bug#10760).
7026
c4fc691b 70272012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7028
4d6769e1 7029 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7030 that directories matching `grep-find-ignored-files' won't be
7031 pruned (bug#10351).
7032
af23e2e5
CY
70332012-04-11 Chong Yidong <cyd@gnu.org>
7034
7035 * startup.el (command-line): Remove support for long-obsolete
7036 variable font-lock-face-attributes.
7037
ab7ce8c1
GM
70382012-04-11 Glenn Morris <rgm@gnu.org>
7039
7040 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7041
de8c03dc
SM
70422012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * window.el (window--state-get-1): Obey window-point-insertion-type.
7045
050cc68b
LB
70462012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7047
7048 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7049 to previous function when point is on the first character of a
75f1671a 7050 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7051
a38c310c
GM
70522012-04-11 Glenn Morris <rgm@gnu.org>
7053
effed0c2
GM
7054 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7055 not just file-errors.
7056
a38c310c
GM
7057 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7058 (vc-bzr-sha1): Use internal sha1.
7059
0221e323
SM
70602012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7061
7062 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7063
43956923
SG
70642012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7065
7066 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7067 that start in the middle of the line (bug#10496).
7068
6a8c9eaf
DN
70692012-04-10 Dan Nicolaescu <dann@gnu.org>
7070
7071 * battery.el (battery-linux-proc-acpi): Only one battery is
7072 discharged at a time, but that seems to confuse battery.el when
7073 computing `rate-type' for the battery not being discharged
7074 (bug#10332).
7075
1930bf5d
SM
70762012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7077
2a718f6f
SM
7078 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7079
599430d0
SM
7080 * international/quail.el: Use dolist and simplify.
7081 (quail-define-package, quail-update-keyboard-layout)
7082 (quail-define-rules): Use dolist.
7083 (quail-insert-kbd-layout, quail-get-translation): CSE.
7084
a2754b6c
SM
7085 * tmm.el: Use dolist, remove left over hook.
7086 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7087 Use dolist.
7088 (calendar-load-hook): Don't mess with it.
7089
1930bf5d
SM
7090 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7091 Use derived-mode-p. Run the diff asynchronously.
7092
9f67961c
LMI
70932012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7094
7095 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7096
2a8ce227
JB
70972012-04-10 Juanma Barranquero <lekktu@gmail.com>
7098
7099 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7100 (list-dynamic-libraries--loaded): New function.
7101 (list-dynamic-libraries--refresh): Use it.
7102
8f33b5f8
NW
71032012-04-10 Nathan Weizenbaum <nweiz@google.com>
7104
1930bf5d
SM
7105 * progmodes/python.el (python-fill-paragraph):
7106 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7107 disabled (bug#7018).
7108
b12f0439
L
71092012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7110
1930bf5d 7111 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7112 DOS/MS Windows for the Baltic languages. There are still plenty
7113 of texts written in this encoding/codepage (bug#6519).
b12f0439 7114
57c3bd01
GM
71152012-04-10 Glenn Morris <rgm@gnu.org>
7116
7117 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7118 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7119
6c3eab30
FA
71202012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7121
1930bf5d 7122 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7123 next-line "n" and previous-line "p" in order to make recentf more
7124 consistent with ibuffer, dired or org-mode (bug#9387).
7125
24d78a88
LMI
71262012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7127
bc72b5d9
LMI
7128 * image.el (put-image): Return the overlay created instead of the
7129 optional input string (bug#7834). Note that this may break code
7130 that is (for some reason or other) depending on `put-image'
7131 returning the string.
7132
bd2dba5a
LMI
7133 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7134
74beb59f
LMI
7135 * simple.el (zap-to-char): Allow zapping using input methods
7136 (bug#1580).
7137
24d78a88
LMI
7138 * textmodes/fill.el (fill-region): Leave point and mark where they
7139 were before filling (bug#5399).
7140
263f20cd
GM
71412012-04-09 Glenn Morris <rgm@gnu.org>
7142
7143 * version.el (emacs-bzr-get-version):
7144 Handle lightweight checkouts of local branches.
7145
58d1f797
AS
71462012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7147
263f20cd 7148 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7149
b4d3bc10
CY
71502012-04-09 Chong Yidong <cyd@gnu.org>
7151
7152 * custom.el (custom-variable-p): Return nil for non-symbol
7153 arguments instead of signaling an error.
7154 (user-variable-p): Obsolete alias for custom-variable-p.
7155
7156 * apropos.el (apropos-variable):
7157 * files-x.el (read-file-local-variable):
7158 * simple.el (set-variable):
7159 * woman.el (woman-mini-help):
7160 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7161
fd06db5d
GM
71622012-04-09 Glenn Morris <rgm@gnu.org>
7163
e5fcdb5e
GM
7164 * startup.el (normal-top-level): Don't look for leim-list.el
7165 in places where it will not be found. (Bug#910)
7166
fd06db5d
GM
7167 * international/mule-cmds.el (set-default-coding-systems):
7168 * files.el (normal-mode):
7169 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7170 This function was removed with ucs-tables.el in 2008.
7171
b39bb7e1
EZ
71722012-04-08 Eli Zaretskii <eliz@gnu.org>
7173
7174 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7175 ispell-encoding8-command to "-i", without a trailing space.
7176 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7177 separate command-line arguments, to specify the encoding, since
7178 that's how hunspell expects it.
7179
5c5b8e23
GM
71802012-04-08 Glenn Morris <rgm@gnu.org>
7181
7182 * loadup.el: Load bindings before cus-start.
7183 This reduces somewhat the number of "rogue" settings in emacs -Q.
7184
a1ed8b05
GM
71852012-04-07 Glenn Morris <rgm@gnu.org>
7186
7187 * version.el (emacs-bzr-get-version): New function.
dfae128a 7188 (emacs-bzr-version): New variable.
a1ed8b05
GM
7189 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7190 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7191
b142f158
EZ
71922012-04-07 Eli Zaretskii <eliz@gnu.org>
7193
dfae128a
GM
7194 * international/uni-bidi.el, international/uni-category.el:
7195 * international/uni-combining.el, international/uni-decimal.el:
7196 * international/uni-decomposition.el, international/uni-digit.el:
7197 * international/uni-lowercase.el, international/uni-mirrored.el:
7198 * international/uni-name.el, international/uni-numeric.el:
7199 * international/uni-titlecase.el, international/uni-uppercase.el:
7200 Update for Unicode 6.1.
b142f158 7201
9078ead6
EZ
72022012-04-07 Eli Zaretskii <eliz@gnu.org>
7203
7204 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7205
f23d2c7d
LMI
72062012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7207
7208 * window.el (shrink-window): Mention the `window-min-height'
7209 variable in the doc string.
7210
0a0a3573
BG
72112012-04-05 Bastien Guerry <bzg@altern.org>
7212
7213 * color.el (color-lighten-name): Fix typo.
7214
e5248ac9
SM
72152012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * server.el (server--on-display-p): New function.
7218 (server--on-display-p): Use it.
7219
b4243e22
GV
72202012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7221
7222 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7223 (bug#11145).
7224
305d9f44
SM
72252012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * comint.el (comint--common-quoted-suffix): Check string boundary
7228 before comparing (bug#11158).
7229 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7230
3d439cd1
CY
72312012-04-04 Chong Yidong <cyd@gnu.org>
7232
321cc491
CY
7233 * minibuffer.el (completion-extra-properties): Doc fix.
7234
3d439cd1
CY
7235 * subr.el (delayed-warnings-hook): Doc fix.
7236
2d562c0f
DU
72372012-04-04 Daiki Ueno <ueno@unixuser.org>
7238
7239 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7240 selection (Bug#11159).
7241 (epa-insert-keys): Inform that the default public key will be
7242 exported if no key is selected.
7243
4443f204
RS
72442012-04-04 Richard Stallman <rms@gnu.org>
7245
7246 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7247
529c06b6
CY
72482012-04-03 Chong Yidong <cyd@gnu.org>
7249
7250 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7251 mail-insert-file, not its obsolete alias mail-attach-file.
7252
66b907dc
MA
72532012-04-03 Michael Albinus <michael.albinus@gmx.de>
7254
7255 * notifications.el (notifications-notify): Fix docstring.
7256
c0ea195d
GM
72572012-04-02 Glenn Morris <rgm@gnu.org>
7258
7259 * emacs-lisp/authors.el (authors-aliases): Another addition.
7260
5ca64e00
MA
72612012-04-02 Michael Albinus <michael.albinus@gmx.de>
7262
7263 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7264 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7265 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7266
42ee526b
CY
72672012-04-01 Chong Yidong <cyd@gnu.org>
7268
7269 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7270 Handle root directory properly.
7271 (copy-directory): Caller changed.
7272
7273 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7274 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7275
0b021094
GM
72762012-03-31 Glenn Morris <rgm@gnu.org>
7277
40f86458
GM
7278 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7279
7019c177
GM
7280 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7281
a1daddd6
GM
7282 * calendar/calendar.el (calendar-window-list)
7283 (calendar-hide-window): Restore. (Bug#11140)
7284 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7285
0b021094
GM
7286 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7287
40311efc
TV
72882012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7289
7290 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7291 Check if file is a symlink (Bug#10489).
7292
7293 * files.el (copy-directory): Likewise.
7294
5319014e
CY
72952012-03-30 Chong Yidong <cyd@gnu.org>
7296
7297 * image.el (imagemagick-types-inhibit)
7298 (imagemagick-register-types): Doc fix.
7299
935d1290
AM
73002012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7301
090bd7cb 7302 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7303 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7304 and treats ~word as ordinary words in pipe mode.
935d1290 7305
61c6e8fd
GM
73062012-03-30 Glenn Morris <rgm@gnu.org>
7307
7308 * tutorial.el (help-with-tutorial): Ensure local variables don't
7309 happen to make the buffer read-only. (Bug#11127)
7310
81fdff00
SM
73112012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7314 (perl-calculate-indent): Return `noindent' in strings.
7315
6e7a6ec0
SS
73162012-03-28 Sam Steingold <sds@gnu.org>
7317
7318 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7319 instead of the broken adhockery which does not prevent calendar
7320 buffers from being displayed at random after exit.
7321 (calendar-window-list, calendar-hide-window): Remove the broken
7322 adhockery.
7323
fee88ca0
GM
73242012-03-28 Glenn Morris <rgm@gnu.org>
7325
7326 * replace.el (query-replace-map): Doc fix.
7327
38de3354
AS
73282012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7329
7330 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7331 contents. (Bug#11109)
7332
b973155e
SM
73332012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7336 (bug#11077).
7337 (avl-tree--check, avl-tree--check-node): New funs.
7338
dcb6e7b3
MR
73392012-03-27 Martin Rudalics <rudalics@gmx.at>
7340
7341 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7342 (switch-to-prev-buffer, switch-to-next-buffer):
7343 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7344 showing a buffer already is done on the same frame.
7345
b4fa35fa
GM
73462012-03-27 Glenn Morris <rgm@gnu.org>
7347
7348 * startup.el (mail-host-address): Doc fix.
7349
f9210e18
SM
73502012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7353 than 197 variables.
7354
c0bf7753
AF
73552012-03-26 Ami Fischman <ami@fischman.org>
7356
7357 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7358
33da7b16
GM
73592012-03-26 Glenn Morris <rgm@gnu.org>
7360
02243d9d
GM
7361 * files.el (save-buffers-kill-emacs): Doc fix.
7362
33da7b16
GM
7363 * startup.el (normal-top-level, command-line, command-line-1):
7364 Give them doc strings.
7365
e5a69fd0
EZ
73662012-03-25 Eli Zaretskii <eliz@gnu.org>
7367
7368 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7369 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7370
9a69676a
CY
73712012-03-25 Chong Yidong <cyd@gnu.org>
7372
4125cb8b
CY
7373 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7374 theme if it was previously enabled before (Bug#11031).
7375
dd470960
CY
7376 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7377 spec with custom-face-get-current-spec if its :shown-value is not
7378 determined yet (Bug#9337).
4125cb8b 7379 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7380
9a69676a
CY
7381 * button.el (button-at): Minor addition to docstring.
7382
6e7e90fa
SL
73832012-03-24 Simon Leinen <simon.leinen@gmail.com>
7384
7385 * vc/vc.el (vc-merge): Fix a prompt.
7386
f06e2758
CY
73872012-03-24 Chong Yidong <cyd@gnu.org>
7388
7389 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7390 point (Bug#9623).
7391
6e7e90fa
SL
7392 * button.el (button-at): Minor addition to docstring.
7393
b9d0879b
SM
73942012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * newcomment.el (comment-choose-indent): No space after BOL.
7397
e71cebb3
SS
73982012-03-22 Sam Steingold <sds@gnu.org>
7399
7400 * window.el (switch-to-prev-buffer): Revert last patch because the
7401 bug turned out to be an advertised feature (Elisp manual 28.14).
7402
335aff35
GM
74032012-03-22 Glenn Morris <rgm@gnu.org>
7404
7405 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7406 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7407
c676576a
LMI
74082012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7409
7410 * net/network-stream.el (network-stream-open-starttls): Make error
7411 message under Windows be less misleading.
7412
126f3d39
LW
74132012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7414
7415 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7416 understands (bug#9942).
7417
64fee311
CY
74182012-03-22 Chong Yidong <cyd@gnu.org>
7419
7420 * simple.el (end-of-visible-line): Handle return value of
7421 next-single-property-change properly (Bug#9371).
7422
a640d29a
KH
74232012-03-22 Kenichi Handa <handa@m17n.org>
7424
7425 * international/quail.el (quail-insert-kbd-layout): Fix previous
7426 change. To avoid unwanted bidi reordering, use
7427 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7428
39675016
DG
74292012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7430
7431 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7432 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7433 (ruby-beginning-of-indent): Be more careful with the difference
7434 between word-boundary and symbol boundary.
7435 (ruby-mode-syntax-table): Make : a symbol constituent.
7436
0a6934fc 74372012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7438
3d008e4f
SM
7439 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7440
0a6934fc
SM
74412012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7442
af67c9d7
SM
7443 * progmodes/etags.el (tags-completion-at-point-function):
7444 Improve last fix.
7445
1acad97c
SM
7446 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7447
e298b5da
SS
74482012-03-21 Sam Steingold <sds@gnu.org>
7449
7450 * progmodes/etags.el (tags-completion-at-point-function):
7451 Avoid the error when point is inside the pattern.
7452
91d82a70
JY
74532012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7454
7455 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7456 line (Bug#10855).
7457
69188b79
CY
74582012-03-21 Drew Adams <drew.adams@oracle.com>
7459
7460 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7461
99fc91fe
AK
74622012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7463
7464 * ido.el (ido-set-current-directory, ido-read-internal)
7465 (ido-choose-completion-string, ido-completion-help): Handle nil
7466 value of ido-completion-buffer (Bug#11008).
7467
087bbb4c
SS
74682012-03-21 Sam Steingold <sds@gnu.org>
7469
7470 * window.el (switch-to-prev-buffer): Do not switch to a visible
7471 window previous buffer, just like with the frame previous buffers.
7472
fb5b8aca
CY
74732012-03-21 Chong Yidong <cyd@gnu.org>
7474
7475 * faces.el (make-face, make-empty-face, copy-face):
7476 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7477 Doc fixes.
7478
dc9924b8
SM
74792012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7480
7481 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7482 (widget-complete): Remove broken use of it.
7483
f0bcceb9
CY
74842012-03-20 Chong Yidong <cyd@gnu.org>
7485
dc9924b8
SM
7486 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7487 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7488 characters.
7489
ee52ebf3
TH
74902012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7491
7492 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7493 to draw rectangles, not squares. (Regression introduced by revno
7494 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7495
4c5779ab
CY
74962012-03-18 Chong Yidong <cyd@gnu.org>
7497
7498 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7499 it is not yet defined (for temacs).
7500
15360934
LL
75012012-03-18 Leo Liu <sdl.web@gmail.com>
7502
dc9924b8 7503 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7504
d9a8eb66
EZ
75052012-03-17 Eli Zaretskii <eliz@gnu.org>
7506
7507 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7508 (ispell-choices-win-default-height, ispell-silently-savep)
7509 (ispell-dictionary-alist, ispell-encoding8-command)
7510 (ispell-check-version, ispell-aspell-find-dictionary)
7511 (ispell-valid-dictionary-list, ispell-words-keyword)
7512 (ispell-get-word, ispell-internal-change-dictionary)
7513 (ispell-region, ispell-skip-region-list)
7514 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7515 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7516 (ispell-message-text-end, ispell-message)
7517 (ispell-buffer-local-parsing): Doc fix.
7518
f02ff80d
J
75192012-03-13 Jambunathan K <kjambunathan@gmail.com>
7520
7521 * htmlfontify.el: Add support for code block fontification for ODT
7522 export (Bug #9914).
7523 (hfy-optimisations): Define new option
7524 `body-text-only'
7525 (hfy-fontify-buffer): Honor above setting.
7526 (hfy-begin-span, hfy-end-span): New routines factored out form
7527 `hfy-fontify-buffer'.
7528 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7529 that permit insertion of custom tags.
7530 (hfy-fontify-buffer): Use above handlers.
7531 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7532 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7533 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7534 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7535 bind a special variable `hfy-user-sheet-assoc'.
7536 (htmlfontify-string): New defun.
7537 (hfy-compile-face-map): Make sure that the last char in the
7538 buffer is correctly fontified.
7539 (hfy-face-resolve-face): Whitespace only change.
7540
9ac7a13f
EZ
75412012-03-17 Eli Zaretskii <eliz@gnu.org>
7542
7543 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7544 message more clear.
7545
e2b5bdd7
LL
75462012-03-16 Leo Liu <sdl.web@gmail.com>
7547
7548 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7549
2e492df3
AM
75502012-03-16 Alan Mackenzie <acm@muc.de>
7551
7552 Further optimise the handling of large macros.
7553
7554 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7555 limit to a call of `c-literal-limits'.
7556 (c-determine-+ve-limit): New function.
dc9924b8
SM
7557 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7558 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7559 In CASE 5B, restrict a search limit to 500.
7560 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7561
7562 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7563 Restrict macro bounds to +-500 from after-change's BEG END.
7564
50e94f0c
LL
75652012-03-16 Leo Liu <sdl.web@gmail.com>
7566
7567 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7568
6f09f6ed
AH
75692012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7570
7571 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7572 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7573
c7e73d51
GM
75742012-03-16 Glenn Morris <rgm@gnu.org>
7575
da986230
GM
7576 * view.el (view-buffer, view-buffer-other-window)
7577 (view-buffer-other-frame): Doc fixes re special mode-class.
7578
0835f01e
GM
7579 * subr.el (eval-after-load): If named feature is provided not from
7580 a file, run after-load forms. (Bug#10946)
7581
c7e73d51
GM
7582 * calendar/calendar.el (calendar-insert-at-column):
7583 Handle non-unit-width characters a bit better. (Bug#10978)
7584
3f2eafd1
CY
75852012-03-15 Chong Yidong <cyd@gnu.org>
7586
7587 * emacs-lisp/ring.el (ring-extend): New function.
7588 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7589
7590 * comint.el (comint-read-input-ring)
7591 (comint-add-to-input-history): Grow comint-input-ring lazily.
7592
103af3fe
SM
75932012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7594
663b1677
SM
7595 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7596 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7597
103af3fe
SM
7598 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7599 (imenu-add-to-menubar): Don't add a redundant index.
7600 (imenu-update-menubar): Handle a dynamically composed keymap.
7601
899cb7cb
KY
76022012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7603
7604 * mail/sendmail.el (mail-encode-header):
7605 Bind rfc2047-encode-encoded-words to nil.
7606
3809f91d
GM
76072012-03-13 Glenn Morris <rgm@gnu.org>
7608
7609 * calendar/calendar.el (calendar-string-spread):
7610 Handle non-unit-width characters a bit better. (Bug#10978)
7611
9e345a01
LL
76122012-03-13 Leo Liu <sdl.web@gmail.com>
7613
7614 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7615 directory and file as argument (Bug#10822).
7616
4a07df36
KS
76172012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7618
7619 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7620 For dynamically generated code, follow $PC.
7621 (gdb-disassembly-handler-custom): Handle no function name case.
7622
4aaa9356
TL
76232012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7624
7625 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7626 * emulation/ws-mode.el (ws-query-replace):
7627 * sort.el (sort-regexp-fields):
7628 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7629
225979da
SM
76302012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * dabbrev.el: Fix cycle completion order (bug#10963).
7633 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7634 (dabbrev-completion): Don't use an obarray; provide
7635 a cycle-sort-function.
7636
e2f1fdab
LL
76372012-03-12 Leo Liu <sdl.web@gmail.com>
7638
dc9924b8 7639 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7640 (kill-do-not-save-duplicates): Doc fix.
7641
b19490ed
SM
76422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * dabbrev.el: Fix cycle completion (bug#10963).
7645 Use lexical binding and wrap to 80 columns.
7646 (dabbrev-completion): Delay computing the list of completions.
7647
4b05d722
KH
76482012-03-12 Kenichi Handa <handa@m17n.org>
7649
7650 * international/quail.el (quail-insert-kbd-layout): Surround each
7651 row by LRO and PDF instead of inserting many LRMs. Pad the left
7652 and right of each non-spacing marks. Insert invisible space
7653 between lower and upper characters to prevent composition.
7654
dbbc2e69
SM
76552012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * minibuffer.el (minibuffer-complete): Don't get confused when the
7658 function is run twice via different commands (bug#10958).
7659 (complete-with-action): Fix docstring.
7660
292112ed
CY
76612012-03-12 Chong Yidong <cyd@gnu.org>
7662
5d1ac394
CY
7663 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7664 (nxml-completion-at-point-function): New function.
7665 (nxml-mode): Use it.
7666 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7667
292112ed
CY
7668 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7669 Load generated autoloads file before byte compiling (Bug#10970).
7670 (package--make-autoloads-and-compile): New helper fun.
7671
4098f8f7
CS
76722012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7673
7674 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7675
8f754691
MA
76762012-03-11 Michael Albinus <michael.albinus@gmx.de>
7677
7678 * autorevert.el (auto-revert-handler): Ensure, that
7679 file-readable-p is applied only for local files or in
7680 auto-revert-tail-mode.
7681
e29ab36b
AS
76822012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7683
dbbc2e69
SM
7684 * server.el (server-eval-at): Handle non-tcp connections.
7685 Decode result string.
ad0bf5b6 7686
e29ab36b
AS
7687 * server.el (server-msg-size): New constant.
7688 (server-reply-print): New function.
7689 (server-eval-and-print): Use it.
7690 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7691 Handle -print-nonl.
7692
de5939ba
CS
76932012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7694
7695 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7696 (Bug#10987).
7697
0c93eabf
CY
76982012-03-11 Chong Yidong <cyd@gnu.org>
7699
397a688f
CY
7700 * simple.el (goto-line): Doc fix (Bug#9938).
7701
2cc775f9
CY
7702 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7703
0c93eabf
CY
7704 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7705 when finished (Bug#10963).
7706
c491fa41
MR
77072012-03-11 Martin Rudalics <rudalics@gmx.at>
7708
7709 * window.el (split-window-below): Fix bug in case where
7710 split-window-keep-point is nil (Bug#10971).
7711
300e8fa5
JL
77122012-03-11 Juri Linkov <juri@jurta.org>
7713
7714 * replace.el (replace-highlight): Set isearch-word to nil
7715 unconditionally. (Bug#10887)
7716
dbf6c5a1
EZ
77172012-03-10 Eli Zaretskii <eliz@gnu.org>
7718
7719 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7720 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7721 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7722 (mairix-widget-create-query): Add usage information about mairix
7723 search forms: negating words, searching for substrings, etc.
7724
b9e501de
JP
77252012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7726
7727 * international/fontset.el (font-encoding-alist): Add an entry for
7728 ksx1001 (Bug#5667).
7729
92795c91
RS
77302012-03-10 Richard Stallman <rms@gnu.org>
7731
1694e6c1
RS
7732 * mail/sendmail.el (mail-encode-header):
7733 Set rfc2047-encode-encoded-words.
7734
607e8555
RS
7735 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7736
de3bc99a
RS
7737 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7738 view buffer means not swapped.
7739 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7740 (rmail-write-region-annotate): Error if real text has disappeared.
7741
92795c91
RS
7742 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7743
699bd04e
CY
77442012-03-10 Chong Yidong <cyd@gnu.org>
7745
7746 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7747 * emulation/cua-base.el (cua--init-keymaps):
7748 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7749
570a1714
MR
77502012-03-10 Martin Rudalics <rudalics@gmx.at>
7751
dbbc2e69
SM
7752 * speedbar.el (speedbar-unhighlight-one-tag-line):
7753 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7754
82dcf4e4
CY
77552012-03-10 Chong Yidong <cyd@gnu.org>
7756
7a2c7ca7
CY
7757 * minibuffer.el (completion-in-region, completion-help-at-point):
7758 Give the completion field overlay a high priority (Bug#6830).
7759
82dcf4e4
CY
7760 * dired.el (dired-goto-file): Recognize absolute file name
7761 listings (Bug#7126).
7762 (dired-goto-file-1): New helper function.
7763 (dired-toggle-read-only): Inhibit warnings.
7764
052e28ac
MA
77652012-03-09 Michael Albinus <michael.albinus@gmx.de>
7766
75f1671a 7767 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7768 there are no properties.
7769
95d5e396
LL
77702012-03-09 Leo Liu <sdl.web@gmail.com>
7771
7772 * savehist.el (savehist-printable): Stricter check for string
7773 value (Bug#10937).
7774
3f018d6d
EZ
77752012-03-09 Eli Zaretskii <eliz@gnu.org>
7776
dbbc2e69
SM
7777 * mail/smtpmail.el (smtpmail-send-it):
7778 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7779 valid mbox format.
7780
f7fd3d79
GM
77812012-03-09 Glenn Morris <rgm@gnu.org>
7782
7783 * files.el (dir-locals-find-file):
7784 Don't check result is regular, readable.
7785 (dir-locals-read-from-file): Demote errors.
7786
6ff6e72f
EZ
77872012-03-08 Eli Zaretskii <eliz@gnu.org>
7788
dbbc2e69
SM
7789 * international/quail.el (quail-insert-kbd-layout):
7790 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7791 layout cell, to prevent their reordering by bidi display engine.
7792 For details, see the discussion in
7793 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7794
9cec7834
AM
77952012-03-08 Alan Mackenzie <acm@muc.de>
7796
7797 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7798 the starting position; make it extend the marked region when
7799 invoked repeatedly - all under appropriate circumstances.
7800 Fixes bugs #5525, #10906.
7801
9a40b8d4
GM
78022012-03-08 Glenn Morris <rgm@gnu.org>
7803
7804 * files.el (locate-dominating-file, dir-locals-find-file):
7805 Undo 2012-03-06 change.
7806
7a08ed35
EZ
78072012-03-07 Eli Zaretskii <eliz@gnu.org>
7808
dbbc2e69
SM
7809 * international/quail.el (quail-help):
7810 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7811 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7812 for the reason.
7813
5aca4f71 78142012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7815
7816 Avoid superfluous registering of signals. (Bug#10807)
7817
7818 * notifications.el (notifications-on-action-object)
7819 (notifications-on-close-object): New defvars.
7820 (notifications-on-action-signal, notifications-on-closed-signal):
7821 Unregister the signal if not needed any longer.
7822 (notifications-notify): Register `notifications-action-signal' or
7823 `notifications-closed-signal', if :on-action or :on-close has been
7824 passed as argument.
7825
78e8b10a
CY
78262012-03-07 Chong Yidong <cyd@gnu.org>
7827
7828 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7829 non-X platforms.
7830
69481eb8
GM
78312012-03-06 Glenn Morris <rgm@gnu.org>
7832
7833 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7834 (x-disown-selection-internal, x-get-selection-internal):
7835 Doc fix (add arglist signatures). (Bug#10783)
7836
133b8e11
KS
78372012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7838
7839 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7840 Handle breakpoints with no "type".
7841
99a83064
GM
78422012-03-06 Glenn Morris <rgm@gnu.org>
7843
7844 * files.el (locate-dominating-file): Add optional predicate argument.
7845 (dir-locals-find-file): Make use of above change.
7846
17798e78
TTN
78472012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7848
7849 * info.el (Info-insert-dir): Also try "dir.gz".
7850
eb182446
GM
78512012-03-06 Glenn Morris <rgm@gnu.org>
7852
8f2114ee
GM
7853 * files.el (dir-locals-find-file):
7854 Ignore non-readable or non-regular files. (Bug#10928)
7855
eb182446
GM
7856 * files.el (locate-dominating-file): Doc fix.
7857
24679323
AS
78582012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7859
7860 * calendar/calendar.el (calendar-set-mode-line):
7861 `getenv' returns a string. (Bug#10951)
7862
01d972a9
LL
78632012-03-05 Leo Liu <sdl.web@gmail.com>
7864
109aa8a9
LL
7865 * simple.el (backward-delete-char-untabify): Constrain point to
7866 field (Bug#10939).
7867
01d972a9
LL
7868 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7869
10607bea
CY
78702012-03-05 Chong Yidong <cyd@gnu.org>
7871
7872 * simple.el (count-words): If called from Lisp, return the word
7873 count, for symmetry with `count-lines'. Arglist changed.
7874 (count-words--message): Args changed. Consolidate counting code
7875 from count-words and count-words-region.
7876 (count-words-region): Caller changed.
7877 (count-lines-region): Make it an obsolete alias.
7878
5dd11cfe
TH
78792012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7880
7881 * saveplace.el (save-place-to-alist)
7882 (save-place-ignore-files-regexp): Allow value nil to disable this
7883 feature.
7884
c349f4e6
CY
78852012-03-04 Chong Yidong <cyd@gnu.org>
7886
7887 * faces.el (face-spec-reset-face): For the default face, reset the
7888 attributes to default values (Bug#10748).
7889
e627be4c
LMI
78902012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7891
7892 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7893 previous patch: Check `message-send-mail-function', and not the
7894 default function (bug#10897).
7895
ebeabff4
MA
78962012-03-04 Michael Albinus <michael.albinus@gmx.de>
7897
a41a6cf4
MA
7898 * notifications.el (notifications-on-action-signal)
7899 (notifications-on-closed-signal): Check for unique service name of
7900 incoming event. Fix error in removing entry.
ebeabff4 7901 (top): Register for signals with wildcard service name.
a41a6cf4 7902 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7903
c1ca42b4
CY
79042012-03-04 Chong Yidong <cyd@gnu.org>
7905
dc9924b8 7906 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7907
ea16568d
GM
79082012-03-04 Glenn Morris <rgm@gnu.org>
7909
7910 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7911 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7912 (expand-abbrev, define-abbrev-table): Doc fixes.
7913
fbae4637
LMI
79142012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7915
7916 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7917 `message-default-send-mail-function' and not `send-mail-function'
7918 when doing the prompting for `sendmail-query-once' before sending
7919 in Message buffers (bug#10897).
7920
a1e7225c
LMI
7921 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7922 This is inconsistent with all the other stream functions, which leave
7923 the setting up to the higher levels (if so wanted) (bug#10931).
7924
56d093a9
AM
79252012-03-02 Alan Mackenzie <acm@muc.de>
7926
7927 Depessimize the handling of very large macros.
7928
7929 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7930 (c-macro-cache-syntactic): New variables to implement a one
7931 element macro cache.
7932 (c-invalidate-macro-cache): New function.
7933 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7934 Adapt to use the new cache.
7935 (c-state-safe-place): Use better the cache of safe positions.
7936 (c-state-semi-nonlit-pos-cache)
7937 (c-state-semi-nonlit-pos-cache-limit):
7938 New variables for...
7939 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7940 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7941 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7942 Use c-state-semi-safe-place.
56d093a9 7943
dbbc2e69
SM
7944 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7945 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7946
817e5c3d
MA
79472012-03-02 Michael Albinus <michael.albinus@gmx.de>
7948
dbbc2e69
SM
7949 * jka-compr.el (jka-compr-call-process):
7950 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7951 not remote.
7952
a032a702
MA
79532012-03-01 Michael Albinus <michael.albinus@gmx.de>
7954
7955 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7956 access of FILE2, if FILE1 does not exist.
7957
99a54f21
MA
7958 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7959 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7960
7961 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7962 Add "PAGER=" to `process-environment'.
7963
f6561e1f
MM
79642012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7965
7966 * progmodes/sql.el: Bug fix
7967 (sql-get-login-ext): Save login values in globals.
7968 (sql-get-login): Use new version of `sql-get-login-ext'.
7969 (sql-interactive-mode): Set global `sql-connection' to nil.
7970 (sql-connect): Set global values for connection.
7971 (sql-product-interactive): Save global values as buffer local.
7972
2d44d9cc
LL
79732012-02-29 Leo Liu <sdl.web@gmail.com>
7974
7975 * abbrev.el (define-abbrevs): Reset sys to nil.
7976
96b49301 79772012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7978
bf7f9bc5
JB
7979 * files.el (file-equal-p): Rename from `files-equal-p'.
7980 Return nil when one or both files don't exist.
96b49301 7981 (file-subdir-of-p): Now only top directory must exists,
7982 return nil if it doesn't.
bf7f9bc5
JB
7983 (copy-directory): No need to test with `file-subdir-of-p' after
7984 creating dir.
7985 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7986 to `file-equal-p'.
96b49301 7987
44e97401
GM
79882012-02-28 Glenn Morris <rgm@gnu.org>
7989
7990 * shell.el (shell-mode):
7991 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7992 * play/landmark.el (landmark-font-lock-face-O):
7993 * play/handwrite.el (handwrite):
7994 * play/gomoku.el (gomoku-O):
7995 * net/browse-url.el (browse-url-browser-display):
7996 * international/mule.el (define-charset):
7997 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7998 * filesets.el (filesets-find-file-delay):
7999 * eshell/em-xtra.el (eshell-xtra):
8000 * eshell/em-unix.el (eshell-grep):
8001 * emulation/viper.el (viper-mode):
8002 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8003 * emacs-lisp/easymenu.el (easy-menu-define):
8004 * calendar/timeclock.el (timeclock-use-display-time):
8005 * bs.el (bs-mode):
8006 * bookmark.el (bookmark-save-flag):
8007 Doc fix (standardize possessive apostrophe usage).
8008
c98c6276
CY
80092012-02-27 Chong Yidong <cyd@gnu.org>
8010
bf7f9bc5
JB
8011 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8012 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8013
c98c6276
CY
8014 * font-lock.el (font-lock-specified-p): Rename from
8015 font-lock-spec-present. Callers changed.
8016
9c62cd04 80172012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8018
bf7f9bc5
JB
8019 * emacs-lisp/package.el (package-compute-transaction):
8020 Handle holding a package version to t in package-load-list.
8ac9e529 8021
530739c9
MA
80222012-02-26 Michael Albinus <michael.albinus@gmx.de>
8023
8024 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8025 (tramp-get-inode, tramp-get-device): Use cached values.
8026
487915d7
AM
80272012-02-26 Alan Mackenzie <acm@muc.de>
8028
8029 Check there is a font-lock specification before doing initial
8030 fontification.
8031
8032 * font-core.el (font-lock-mode): Move the conditional from
8033 :after-hook to font-lock-initial-fontify.
8034 (font-lock-default-function): Move the check for a specification
8035 to font-lock-spec-present.
8036
dc9924b8 8037 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8038 (font-lock-spec-present): New function.
8039
4fd96557
JB
80402012-02-26 Jim Blandy <jimb@red-bean.com>
8041
8042 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8043 (gdb-send): Apply it to the operand of the '-interpreter-exec
8044 console' command, so that we can pass arguments with (say) quotes
8045 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8046
9a4888c0
CY
80472012-02-26 Chong Yidong <cyd@gnu.org>
8048
07498861
CY
8049 * help-fns.el (describe-function-1): Clarify description of
8050 remapping (Bug#10844).
8051
9a4888c0
CY
8052 * files.el (files-equal-p): Doc fix.
8053 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8054 and quit the loop once a mismatch is found.
8055
ea8fb88d
JB
80562012-02-25 Juanma Barranquero <lekktu@gmail.com>
8057
8058 * bs.el (bs--show-with-configuration): Don't throw an error
8059 if the window cannot be split; otherwise, subsequent calls to
8060 bs-show fail, restoring a stale window config. (Bug#10882)
8061
525795c1
JD
80622012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8063
8064 * term/ns-win.el (global-map): Bind ns-drag-file to
8065 ns-find-file (Bug#5855, Bug#10050).
8066
f008086f
AS
80672012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8068
8069 * calendar/parse-time.el (parse-time-string): Allow extractor to
8070 return nil.
8071
a3fcfa99
MA
80722012-02-25 Michael Albinus <michael.albinus@gmx.de>
8073
91027d08
JB
8074 * net/tramp.el (tramp-file-name-for-operation):
8075 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8076
8077 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8078 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8079 Add COPY-CONTENTS argument.
a3fcfa99 8080
67b0de11
CY
80812012-02-25 Chong Yidong <cyd@gnu.org>
8082
8083 Add custom groups for VC backends, for consistency with vc-bzr.
8084
8085 * vc/vc-arch.el (vc-arch):
8086 * vc/vc-cvs.el (vc-cvs):
8087 * vc/vc-git.el (vc-git):
8088 * vc/vc-hg.el (vc-hg):
8089 * vc/vc-mtn.el (vc-mtn):
8090 * vc/vc-rcs.el (vc-rcs):
8091 * vc/vc-sccs.el (vc-sccs):
8092 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8093 All relevant defcustoms reassigned.
8094
3c9dfce6
CY
80952012-02-25 Chong Yidong <cyd@gnu.org>
8096
1339bf43
CY
8097 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8098
3c9dfce6
CY
8099 * term/x-win.el (x-initialize-window-system): Reduce default for
8100 x-selection-timeout to 5 seconds (Bug#8869).
8101
25b2e303 81022012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8103
ec70a47d
GM
8104 * files.el (files-equal-p, file-subdir-of-p): New functions.
8105 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8106 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8107 * dired-aux.el (dired-copy-file-recursive): Same.
8108 (dired-create-files): Modify destination when source is equal to
8109 dest when copying files.
53a46cd0 8110 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8111
914260cd
MA
81122012-02-24 Michael Albinus <michael.albinus@gmx.de>
8113
8114 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8115 (Bug#10874)
8116
2cb228f7
AM
81172012-02-23 Alan Mackenzie <acm@muc.de>
8118
8119 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8120 parameter "after-hook:" to allow the expansion to run code after
8121 the execution of the mode hooks.
8122
8123 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8124 from font-lock-mode-internal.
2cb228f7 8125
91027d08 8126 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8127 :after-hook.
8128
8f0fde21
SM
81292012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8130
3e88618b
SM
8131 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8132 (completion--cache-all-sorted-completions): New function.
8133 (completion-all-sorted-completions): Use it.
8134 (completion--do-completion, minibuffer-force-complete):
8135 Use it to re-instate the flush hook.
8136
8f0fde21
SM
8137 * icomplete.el (icomplete-completions): Replace last fix with a better
8138 one (bug#10850).
8139
8e911f6f
DG
81402012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8141
8142 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8143 when it might call us back infinitely (bug#10797).
8144
49fe4321
GM
81452012-02-23 Glenn Morris <rgm@gnu.org>
8146
8147 * minibuffer.el (completion-category-overrides): Doc fix.
8148
b291b572
SM
81492012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8152 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8153
31a9ef2e
GM
81542012-02-23 Glenn Morris <rgm@gnu.org>
8155
5e6e6794 8156 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8157 (authors-obsolete-files-regexps, authors-ignored-files)
8158 (authors-ambiguous-files, authors-renamed-files-alist):
8159 Add more entries.
8160
0bd1e074
JL
81612012-02-23 Juri Linkov <juri@jurta.org>
8162
8163 * isearch.el (isearch-occur): Sync interactive spec with occur's
8164 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8165
b617673c
JL
8166 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8167
19e9789e
JL
81682012-02-22 Juri Linkov <juri@jurta.org>
8169
8170 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8171 (ucs-insert): Doc fix. Check for hex digits in the string.
8172 Don't display `nil' in the error message. (Bug#10857)
8173
f41ce09d
AM
81742012-02-22 Alan Mackenzie <acm@muc.de>
8175
7a71b18d 8176 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8177
ac2eceee
GM
81782012-02-22 Glenn Morris <rgm@gnu.org>
8179
8180 * ffap.el (ffap-c-path):
8181 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8182
abd1f678
CY
81832012-02-22 Chong Yidong <cyd@gnu.org>
8184
8185 * custom.el (load-theme): Doc fix.
8186
f25aef2e
GM
81872012-02-22 Glenn Morris <rgm@gnu.org>
8188
8189 * dired-x.el (dired-guess-shell-alist-default):
8190 Remove escape sequences from nroff output. (Bug#172)
8191
5f8dc2ca
GM
81922012-02-21 Glenn Morris <rgm@gnu.org>
8193
6ff86ec4
GM
8194 * vc/emerge.el (emerge-defvar-local):
8195 Set `permanent-local' property rather than unused `preserved'.
8196
be3223a3 8197 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8198 (picture-mode-map): Use it. (Bug#10860)
8199 (picture-mode): Doc fix.
8200
3fe58f4f
JB
82012012-02-21 Juanma Barranquero <lekktu@gmail.com>
8202
8203 * newcomment.el (uncomment-region-default): Remove unused binding.
8204
f9a998c3
GM
82052012-02-21 Glenn Morris <rgm@gnu.org>
8206
8207 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8208 (picture-self-insert, picture-tab-chars): Doc fix.
8209 (picture-mode-map): Fix C-a, C-e.
8210
c6029348
GM
82112012-02-20 Glenn Morris <rgm@gnu.org>
8212
8213 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8214
ab1ce9d7
LL
82152012-02-20 Leo Liu <sdl.web@gmail.com>
8216
8217 * icomplete.el (icomplete-completions): Check FROM arg before
8218 passing to substring (Bug#10850).
8219
0fd40f89
CY
82202012-02-19 Chong Yidong <cyd@gnu.org>
8221
8222 * comint.el: Require ansi-color.
8223 (comint-output-filter-functions): Add ansi-color-process-output.
8224
8225 * ansi-color.el: Don't set comint-output-filter-functions; it is
8226 now in the initial value defined in comint.el.
8227 (ansi-color-apply-face-function): New variable.
8228 (ansi-color-apply-on-region): Use it.
8229 (ansi-color-apply-overlay-face): New function.
8230
8231 * shell.el (shell): No need to require ansi-color.
8232 (shell-mode): Use ansi-color-apply-face-function to highlight
8233 color escapes using font-lock-face property (Bug#10835).
8234
20af2394
CY
82352012-02-19 Chong Yidong <cyd@gnu.org>
8236
8237 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8238 mode-line formats (Bug#10839).
8239
e23a3fbe
GM
82402012-02-18 Glenn Morris <rgm@gnu.org>
8241
b474519e
GM
8242 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8243
8244 * mail/undigest.el (unforward-rmail-message): Doc fix.
8245
e23a3fbe
GM
8246 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8247
57939ff4
EZ
82482012-02-18 Eli Zaretskii <eliz@gnu.org>
8249
8250 * international/characters.el (script-list): Sync with the latest
8251 Unicode Character Database.
8252
0c23686e
AS
82532012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8254
8255 * international/titdic-cnv.el: Remove duplicate coding tag.
8256 * language/cham.el: Likewise.
8257 * language/tai-viet.el: Likewise.
8258
6818b449
GM
82592012-02-18 Glenn Morris <rgm@gnu.org>
8260
8261 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8262 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8263 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8264 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8265 * calendar/holidays.el (holiday-bahai-holidays)
8266 (calendar-holidays, list-holidays):
8267 Use utf-8 Bahá'í in doc-strings, menus, etc.
8268
0311a3fc
TH
82692012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8270
8271 * saveplace.el (save-place-ignore-files-regexp): New variable
8272 allowing for excluding files from saving their location of point.
8273 The default value matches the temporary commit message editing
8274 files from Git, SVN, Bazaar, and Mercurial.
8275 (save-place-to-alist): Use it.
8276
d209e2fb 82772012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8278 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8279
8280 * newcomment.el (uncomment-region-default): Don't leave extra space
8281 when an arg is provided (bug#8150).
8282
ee0ce425
TZ
82832012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8284
eb864a71 8285 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8286
95ddf442
GM
82872012-02-17 Glenn Morris <rgm@gnu.org>
8288
8289 * net/socks.el: Require network-stream. (Bug#10599)
8290
48dd1e39 82912012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8292
8293 * international/charprop.el:
8294 * international/uni-name.el:
8295 * international/uni-old-name.el:
8296 * international/uni-comment.el: Regenerate.
8297
d68cd087
GM
82982012-02-16 Glenn Morris <rgm@gnu.org>
8299
8300 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8301 Interactively in calendar buffer, give an error if not on a date.
8302
13932042
GM
83032012-02-15 Glenn Morris <rgm@gnu.org>
8304
8305 * shell.el (shell-delimiter-argument-list):
8306 Revert 2011-02-17 change. (Bug#8027)
8307
c3a70e2b
CY
83082012-02-15 Chong Yidong <cyd@gnu.org>
8309
60236b0d
CY
8310 * minibuffer.el (completion-at-point-functions): Doc fix.
8311
c3a70e2b
CY
8312 * custom.el (defcustom): Doc fix; note use of defvar.
8313
9f26dc24
GM
83142012-02-15 Glenn Morris <rgm@gnu.org>
8315
8316 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8317 Doc fixes.
8318
6546b134
GM
83192012-02-14 Glenn Morris <rgm@gnu.org>
8320
8321 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8322
d29b2b4c
LI
83232012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8324
8325 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8326 way the ports list is computed.
835bdcba
LI
8327 (smtpmail-query-smtp-server): Prompt the user for a port number if
8328 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8329
08dcdbc9
TZ
83302012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8331
8332 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8333
2605051a
GM
83342012-02-13 Glenn Morris <rgm@gnu.org>
8335
8336 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8337
7ee99f32
TZ
83382012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8339
8340 * net/gnutls.el (gnutls-trustfiles): New variable.
8341 (gnutls-negotiate): Use it.
8342
5f0af64f
LI
83432012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8344
8345 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8346 does its stuff if Gnus is running.
8347
c14fcc95
AM
83482012-02-13 Alan Mackenzie <acm@muc.de>
8349
8350 Fix a loop in c-set-fl-decl-start.
8351
7a71b18d 8352 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8353 c-backward-syntactic-ws actually moves backwards.
8354
142b4d90
LL
83552012-02-13 Leo Liu <sdl.web@gmail.com>
8356
8357 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8358 beginning so that all \C-o chars are removed.
8359
fa9958a6
TZ
83602012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8361
dc9924b8 8362 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8363
0bc5886a
AM
83642012-02-12 Alan Mackenzie <acm@muc.de>
8365
8366 Fix infinite loop with long macros.
4d6769e1 8367 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8368
d4bd55e7
CY
83692012-02-12 Chong Yidong <cyd@gnu.org>
8370
8371 * window.el (display-buffer): Doc fix (Bug#10785).
8372
66f3fe22
GM
83732012-02-12 Glenn Morris <rgm@gnu.org>
8374
bd7da63e
GM
8375 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8376 (x-disown-selection-internal, x-get-selection-internal):
8377 Sync docs with the xselect.c versions.
8378
66f3fe22
GM
8379 * allout-widgets.el: Add missing license notice.
8380
3e0d2fa7
GM
83812012-02-11 Glenn Morris <rgm@gnu.org>
8382
cfecdf09
GM
8383 * select.el (x-get-selection-internal, x-own-selection-internal)
8384 (x-disown-selection-internal):
8385 * x-dnd.el (x-get-selection-internal): Update declarations.
8386
6d216d7f
GM
8387 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8388
2bed3f04
GM
8389 * window.el (window-sides-slots):
8390 * tool-bar.el (tool-bar-position):
8391 * term/xterm.el (xterm-extra-capabilities):
8392 * ses.el (ses-self-reference-early-detection):
8393 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8394 (verilog-auto-wire-type)
8395 (verilog-auto-delete-trailing-whitespace)
8396 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8397 (verilog-auto-tieoff-declaration):
8398 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8399 (sql-oracle-statement-starters, sql-oracle-scan-on):
8400 * progmodes/prolog.el (prolog-align-comments-flag)
8401 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8402 (prolog-left-indent-regexp, prolog-paren-indent-p)
8403 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8404 (prolog-types, prolog-mode-specificators)
8405 (prolog-determinism-specificators, prolog-directives)
8406 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8407 (prolog-electric-dot-flag)
8408 (prolog-electric-dot-full-predicate-template)
8409 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8410 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8411 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8412 (prolog-program-switches, prolog-prompt-regexp)
8413 (prolog-debug-on-string, prolog-debug-off-string)
8414 (prolog-trace-on-string, prolog-trace-off-string)
8415 (prolog-zip-on-string, prolog-zip-off-string)
8416 (prolog-use-standard-consult-compile-method-flag)
8417 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8418 (prolog-imenu-max-lines, prolog-info-predicate-index)
8419 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8420 (prolog-char-quote-workaround):
8421 * progmodes/cc-vars.el (c-defun-tactic):
8422 * net/tramp.el (tramp-encoding-command-interactive)
8423 (tramp-local-end-of-line):
8424 * net/soap-client.el (soap-client):
8425 * net/netrc.el (netrc-file):
8426 * net/gnutls.el (gnutls):
8427 * minibuffer.el (completion-category-overrides)
8428 (completion-cycle-threshold)
8429 (completion-pcm-complete-word-inserts-delimiters):
8430 * man.el (Man-name-local-regexp):
8431 * mail/feedmail.el (feedmail-display-full-frame):
8432 * international/characters.el (glyphless-char-display-control):
8433 * eshell/em-ls.el (eshell-ls-date-format):
8434 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8435 (lisp-lambda-list-keyword-parameter-indentation)
8436 (lisp-lambda-list-keyword-parameter-alignment):
8437 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8438 * dired-x.el (dired-omit-verbose):
8439 * cus-theme.el (custom-theme-allow-multiple-selections):
8440 * calc/calc.el (calc-highlight-selections-with-faces)
8441 (calc-lu-field-reference, calc-lu-power-reference)
8442 (calc-note-threshold):
8443 * battery.el (battery-mode-line-limit):
8444 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8445 (archive-7z-update):
8446 * allout.el (allout-prefixed-keybindings)
8447 (allout-unprefixed-keybindings)
8448 (allout-inhibit-auto-fill-on-headline)
8449 (allout-flattened-numbering-abbreviation):
8450 * allout-widgets.el (allout-widgets-auto-activation)
8451 (allout-widgets-icons-dark-subdir)
8452 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8453 (allout-widgets-theme-dark-background)
8454 (allout-widgets-theme-light-background)
8455 (allout-widgets-item-image-properties-emacs)
8456 (allout-widgets-item-image-properties-xemacs)
8457 (allout-widgets-run-unit-tests-on-load)
8458 (allout-widgets-time-decoration-activity)
8459 (allout-widgets-hook-error-post-time)
8460 (allout-widgets-track-decoration):
8461 Add missing :version tags to new defcustoms and defgroups.
8462
5fec1b8e
GM
8463 * progmodes/sql.el (sql-ansi-statement-starters)
8464 (sql-oracle-statement-starters): Add custom type.
8465
3e0d2fa7
GM
8466 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8467 (prolog-system-version): Give it a type.
8468
90b671e2
EZ
84692012-02-11 Eli Zaretskii <eliz@gnu.org>
8470
8471 * term/pc-win.el (x-select-text, x-selection-owner-p)
8472 (x-own-selection-internal, x-disown-selection-internal)
8473 (x-get-selection-internal): Sync doc strings and argument lists
8474 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8475
5eac0c02
LL
84762012-02-11 Leo Liu <sdl.web@gmail.com>
8477
8478 * progmodes/python.el (python-end-of-statement): Fix infinite
8479 loop. (Bug#10788)
8480
f82cb659
GM
84812012-02-10 Glenn Morris <rgm@gnu.org>
8482
8483 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8484 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8485
cc26d239
LI
84862012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8487
8488 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8489 about SMTP before checking the From header.
8490
91027d08 8491 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8492 into own function for reuse by emacsbug.el.
8493
1be3ca5a
LL
84942012-02-10 Leo Liu <sdl.web@gmail.com>
8495
8496 * subr.el (condition-case-unless-debug): Rename from
8497 condition-case-no-debug. All callers changed.
8498 (with-demoted-errors): Fix caller.
8499
8500 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8501 * nxml/rng-valid.el (rng-do-some-validation):
8502 * emacs-lisp/package.el (package-refresh-contents)
8503 (package-menu-execute):
8504 * desktop.el (desktop-create-buffer):
91027d08 8505 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8506
b011fbfe
GM
85072012-02-10 Glenn Morris <rgm@gnu.org>
8508
b2096d72
GM
8509 * textmodes/bibtex.el:
8510 Add missing :version tags for new/changed defcustoms.
8511
b011fbfe
GM
8512 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8513
4c7e65bf
LI
85142012-02-09 Lars Ingebrigtsen <larsi@rusty>
8515
8516 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8517 (smtpmail-via-smtp): Use it, or fall back on the From address.
8518 (smtpmail-send-it): Ditto.
8519
f3934f6f
SM
85202012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8523 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8524 (byte-compile-tmp-var): New const.
8525 (byte-compile-defvar): Use it to minimize .elc size.
8526 Just use `defvar' rather than simulate it (bug#10761).
8527
a075a2c5
GM
85282012-02-09 Glenn Morris <rgm@gnu.org>
8529
cf3aa21b
GM
8530 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8531
354998cd
GM
8532 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8533 Add :version tags.
8534
dc9924b8
SM
8535 * progmodes/compile.el (compilation-error-screen-columns)
8536 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8537
dab3703d
GM
8538 * vc/log-view.el (log-view-toggle-entry-display):
8539 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8540
3f88cd72
GM
8541 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8542 (report-emacs-bug-can-use-xdg-email):
8543 (report-emacs-bug-insert-to-mailer): Doc fixes.
8544 (report-emacs-bug): Message fix.
8545
d95b247d
GM
8546 * net/browse-url.el (browse-url-can-use-xdg-open)
8547 (browse-url-xdg-open): Doc fixes.
8548
a075a2c5
GM
8549 * electric.el (electric-indent-mode, electric-pair-mode)
8550 (electric-layout-rules, electric-layout-mode): Doc fixes.
8551 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8552
ffb6157e
MR
85532012-02-08 Martin Rudalics <rudalics@gmx.at>
8554
8555 * server.el (server-unselect-display): Don't inadvertently kill
8556 the current buffer. (Bug#10729)
8557
e1ac4066
GM
85582012-02-08 Glenn Morris <rgm@gnu.org>
8559
34e8a2da
GM
8560 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8561 (sql-list-table): Doc fixes.
8562
b4ac6e8c
GM
8563 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8564 Comment out (does nothing).
8565
e1ac4066
GM
8566 * completion.el (dynamic-completion-mode):
8567 * dirtrack.el (dirtrack-debug-mode):
8568 * electric.el (electric-layout-mode):
8569 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8570 * face-remap.el (text-scale-mode, buffer-face-mode):
8571 * iimage.el (iimage-mode):
8572 * image-mode.el (image-transform-mode):
8573 * minibuffer.el (completion-in-region-mode):
8574 * scroll-lock.el (scroll-lock-mode):
8575 * simple.el (next-error-follow-minor-mode):
8576 * tar-mode.el (tar-subfile-mode):
8577 * tooltip.el (tooltip-mode):
8578 * vcursor.el (vcursor-use-vcursor-map):
8579 * wid-browse.el (widget-minor-mode):
8580 * emulation/tpu-edt.el (tpu-edt-mode):
8581 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8582 * international/iso-ascii.el (iso-ascii-mode):
8583 * language/thai-util.el (thai-word-mode):
8584 * mail/supercite.el (sc-minor-mode):
8585 * net/goto-addr.el (goto-address-mode):
8586 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8587 * progmodes/cwarn.el (cwarn-mode):
8588 * progmodes/flymake.el (flymake-mode):
8589 * progmodes/glasses.el (glasses-mode):
8590 * progmodes/hideshow.el (hs-minor-mode):
8591 * progmodes/pascal.el (pascal-outline-mode):
8592 * textmodes/enriched.el (enriched-mode):
8593 * vc/smerge-mode.el (smerge-mode):
8594 Doc fixes (minor mode argument).
8595
5e0d957f
EZ
85962012-02-07 Eli Zaretskii <eliz@gnu.org>
8597
8598 * ls-lisp.el (ls-lisp-sanitize): New function.
8599 (ls-lisp-insert-directory): Use it to fix or remove any elements
8600 in file-alist with missing attributes. (Bug#4673)
8601
98d7371e
AM
86022012-02-07 Alan Mackenzie <acm@muc.de>
8603
8604 Fix spurious recognition of c-in-knr-argdecl.
8605
8606 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8607 putative K&R region.
8608
667ced3a
AM
86092012-02-07 Alan Mackenzie <acm@muc.de>
8610
eb864a71
LM
8611 * progmodes/cc-engine.el (c-forward-objc-directive):
8612 Prevent looping in "#pragma mark @implementation".
667ced3a 8613
5b77774d
MA
86142012-02-07 Michael Albinus <michael.albinus@gmx.de>
8615
8616 * notifications.el (notifications-on-closed-signal): Make `reason'
8617 optional. (Bug#10744)
8618
af008560
GM
86192012-02-07 Glenn Morris <rgm@gnu.org>
8620
60d47423
GM
8621 * emacs-lisp/easy-mmode.el (define-minor-mode):
8622 Doc fixes for the macro and the mode it defines.
8623
dd605cc4
GM
8624 * image.el (imagemagick-types-inhibit): Doc fix.
8625
af008560
GM
8626 * cus-start.el (imagemagick-render-type): Add it.
8627
5cc59a37
LI
86282012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8629
4d6769e1
JB
8630 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8631 Set the default at load time, too, so that `font-lock-fontify-buffer'
8632 can be called without setting up the entire mode first. This fixes
8633 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8634
9a6dd747
CY
86352012-02-06 Chong Yidong <cyd@gnu.org>
8636
2d16b285
CY
8637 * simple.el (list-processes--refresh): Delete exited processes
8638 (Bug#8094).
8639
171e9b6e
CY
8640 * comint.el (comint-next-prompt): next-single-char-property-change
8641 and prev-single-char-property-change never return nil (Bug#8657).
8642
9a6dd747
CY
8643 * custom.el (defcustom): Doc fix (Bug#9711).
8644
aa4589a7
CY
86452012-02-05 Chong Yidong <cyd@gnu.org>
8646
5c2a252f
CY
8647 * cus-edit.el (custom-variable-reset-backup): Quote the value
8648 before storing it in the customized-value property (Bug#6712).
4aab9006 8649 (custom-display): Add a customization type tag.
983b9602 8650 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8651
aa4589a7
CY
8652 * wid-edit.el (widget-field-value-get): New optional arg to
8653 suppress trailing whitespace truncation.
8654 (character): Use it (Bug#2689).
8655
1ff980ae
AS
86562012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8657
8658 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8659 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8660
03988c98
CY
86612012-02-05 Chong Yidong <cyd@gnu.org>
8662
eeb6cc88
CY
8663 * cus-edit.el (custom-variable-value-create): For mismatched
8664 types, show the current value (Bug#7600).
8665
03988c98
CY
8666 * custom.el (defcustom): Doc fix.
8667
f8cdeef0
GM
86682012-02-05 Glenn Morris <rgm@gnu.org>
8669
8670 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8671
0696d255
JB
86722012-02-05 Juanma Barranquero <lekktu@gmail.com>
8673
8674 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8675 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8676 (pp-last-sexp): Use `looking-at-p'.
8677
34c99998
GM
86782012-02-04 Glenn Morris <rgm@gnu.org>
8679
8f05da42
GM
8680 * files.el (revert-buffer):
8681 Doc fix (mention revert-buffer-in-progress-p).
8682
f160676e
GM
8683 * emacs-lisp/ert-x.el (ert-simulate-command):
8684 Check deferred-action-list (which is obsolete) is bound.
8685
c7291ad9
GM
8686 * subr.el (with-wrapper-hook): Doc fixes.
8687
34c99998
GM
8688 * simple.el (filter-buffer-substring-functions)
8689 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8690
6283a7d3
LL
86912012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8692
8693 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8694 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8695
e96e3013
LL
86962012-02-04 Leo Liu <sdl.web@gmail.com>
8697
8698 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8699
8ded50f2
GM
87002012-02-04 Glenn Morris <rgm@gnu.org>
8701
82ff1d13
GM
8702 * image.el (image-extension-data): Add obsolete alias.
8703
987a0a16
GM
8704 * isearch.el (isearch-update): Doc fix.
8705
ea32ef46
GM
8706 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8707
8ded50f2
GM
8708 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8709
eea14f31
GM
87102012-02-03 Glenn Morris <rgm@gnu.org>
8711
8712 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8713 (image-animate-timeout): Doc fix.
8714
8715 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8716
12f381b7
GM
87172012-02-02 Glenn Morris <rgm@gnu.org>
8718
953cebf5
GM
8719 * server.el (server-auth-dir): Doc fix.
8720 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8721
12f381b7
GM
8722 * subr.el (run-mode-hooks): Doc fix.
8723
953a8c3b
JL
87242012-02-02 Juri Linkov <juri@jurta.org>
8725
8726 * image-mode.el (image-toggle-display-image): Remove tautological
8727 `major-mode' from the `derived-mode-p' test.
8728
c5d3843c
KH
87292012-02-02 Kenichi Handa <handa@m17n.org>
8730
9f6e692e 8731 * composite.el (compose-region): Cancel previous change.
c5d3843c 8732
159462d4 87332012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8734
8735 * composite.el (compose-region, compose-string): Signal error for
8736 a null string component (Bug#6988).
8737
9f562668
CY
87382012-02-01 Chong Yidong <cyd@gnu.org>
8739
e2cef717
CY
8740 * view.el (view-buffer-other-window, view-buffer-other-frame):
8741 Handle special modes like view-buffer (Bug#10650).
8742 (view-buffer): Simplify.
8743
9f562668
CY
8744 * frame.el (set-frame-font): Tweak meaning of third argument.
8745
9f6e692e
JB
8746 * dynamic-setting.el (font-setting-change-default-font):
8747 Use set-frame-font (Bug#9982).
9f562668 8748
781acb9f
GM
87492012-02-01 Glenn Morris <rgm@gnu.org>
8750
6035be52
GM
8751 * progmodes/compile.el (compilation-internal-error-properties):
8752 Respect compilation-first-column in the "*compilation*" buffer.
8753
781acb9f
GM
8754 * emacs-lisp/easy-mmode.el (define-minor-mode):
8755 Relax :variable's test for a named function.
8756
abbceb00
AM
87572012-01-31 Alan Mackenzie <acm@muc.de>
8758
8759 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8760 off by one error.
8761
fce3fdeb
CY
87622012-01-31 Chong Yidong <cyd@gnu.org>
8763
8764 * frame.el (set-frame-font): New arg ALL-FRAMES.
8765
8766 * menu-bar.el (menu-set-font): Use set-frame-font.
8767
8768 * faces.el (face-spec-reset-face): Don't apply unspecified
8769 attribute values to the default face.
8770
47893581
JB
87712012-01-31 Juanma Barranquero <lekktu@gmail.com>
8772
8773 * progmodes/cwarn.el (cwarn): Remove dead link.
8774 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8775 Remove * from defcustom docstrings.
8776 (turn-on-cwarn-mode): Make obsolete.
8777 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8778 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8779
e58e988a
GM
87802012-01-31 Glenn Morris <rgm@gnu.org>
8781
60dc2671 8782 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8783 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8784 Allow named functions to be used as the cdr of :variable.
e58e988a 8785
7a3f511d
GM
87862012-01-30 Glenn Morris <rgm@gnu.org>
8787
8788 * emacs-lisp/authors.el (authors-fixed-entries):
8789 Remove reference to deleted file rnewspost.el.
8790
cb882333
JB
87912012-01-29 Juanma Barranquero <lekktu@gmail.com>
8792
8793 * window.el (window-with-parameter): Remove unused variable `windows'.
8794 (window--side-check): Remove unused variable `code'.
8795 (window--resize-siblings): Remove unused variable `first'.
8796 (adjust-window-trailing-edge): Remove unused variable `failed'.
8797 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8798 Use `let', not `let*'.
8799 (balance-windows-2): Remove unused variable `found'.
8800 (window--state-put-2): Remove unused variable `splits'.
8801 (window-state-put): Remove unused variable `selected'.
8802 (same-window-p): Use `string-match-p'.
8803 (display-buffer-assq-regexp): Remove unused variable `value'.
8804 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8805 Mark argument ALIST as ignored.
8806 (pop-to-buffer): Remove unused variable `old-window'.
8807
907201af
EZ
88082012-01-29 Eli Zaretskii <eliz@gnu.org>
8809
8810 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8811 and .lzma compressed files.
8812
ea162670
CY
88132012-01-29 Chong Yidong <cyd@gnu.org>
8814
5b95ee8a
CY
8815 * frame.el (window-system-default-frame-alist): Doc fix.
8816
ea162670
CY
8817 * dynamic-setting.el (font-setting-change-default-font): Don't
8818 change the default face if SET-FONT argument is non-nil (Bug#9982).
8819
d6e6f4b1
SB
88202012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8821
8822 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8823
0f29fa41 88242012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8825
8826 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8827 breakpoints in files outside current directory (Bug#6098).
8828
db174434
CY
88292012-01-29 Chong Yidong <cyd@gnu.org>
8830
6b25e4e2
SE
8831 * progmodes/python.el: Require ansi-color at top-level.
8832
6df6ae42
JB
8833 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8834 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8835 (lisp-mode-abbrev-table): Add doc.
8836 (lisp-mode-variables): Don't set local-abbrev-table.
8837 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8838
e70ee681
RW
88392012-01-28 Roland Winkler <winkler@gnu.org>
8840
8841 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8842
ace88aa2
RW
88432012-01-28 Roland Winkler <winkler@gnu.org>
8844
8845 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8846 (bibtex-set-dialect): Use it. Either set global values of
8847 dialect-dependent variables or bind these variables buffer-locally
8848 (Bug#10254).
8849 (bibtex-mode): Call bibtex-set-dialect via
8850 hack-local-variables-hook.
eb864a71
LM
8851 (bibtex-dialect): Update docstring.
8852 Add safe-local-variable predicate.
ace88aa2
RW
8853 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8854 bibtex-set-dialect.
8855 (bibtex-mode-map): Define menu for each dialect.
8856 (bibtex-entry): Fix docstring.
8857
93376c5b
CY
88582012-01-28 Chong Yidong <cyd@gnu.org>
8859
8860 * eshell/esh-arg.el (eshell-quote-argument): New function.
8861
8862 * eshell/esh-ext.el (eshell-invoke-batch-file):
8863 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8864 first arg to eshell-parse-command (Bug#10523).
8865
4372494f
DA
88662012-01-28 Drew Adams <drew.adams@oracle.com>
8867
8868 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8869 `default-directory' is non-nil.
8870
4d4ec1f8
EZ
88712012-01-28 Eli Zaretskii <eliz@gnu.org>
8872
8873 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8874 line that displays system-configuration-options. (Bug#9924)
8875
7c188927
DA
88762012-01-28 Drew Adams <drew.adams@oracle.com>
8877
8878 * descr-text.el (describe-char): Show information about POS, in
8879 addition to information about the character at POS. Improve and
8880 update the doc string. Change "code point" to "code point in
8881 charset", to avoid confusion with the character's Unicode code
8882 point shown above that. (Bug#10129)
8883
e0da685a
EZ
88842012-01-28 Eli Zaretskii <eliz@gnu.org>
8885
8886 * descr-text.el (describe-char): Show the raw character, not only
8887 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8888 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8889 for the reasons.
8890
70550acf
PH
88912012-01-28 Phil Hagelberg <phil@hagelb.org>
8892
eb864a71
LM
8893 * emacs-lisp/package.el (package-install):
8894 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8895
0ce8e868
CY
88962012-01-28 Chong Yidong <cyd@gnu.org>
8897
cb882333
JB
8898 * emacs-lisp/package.el (package-maybe-load-descriptor):
8899 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8900 (package-maybe-load-descriptor): Use it.
8901 (package-download-transaction): Fully load required packages
8902 inside the loop, so that `require' calls work (Bug#10593).
8903 (package-install): No need to call package-initialize now.
8904
2e7f3bea
CY
89052012-01-28 Chong Yidong <cyd@gnu.org>
8906
6e9bad14
CY
8907 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8908
f823b8ca
CY
8909 * tooltip.el (tooltip-mode): Doc fix.
8910 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8911
2680c309
CY
8912 * frame.el (set-cursor-color): Doc fix (Bug#352).
8913
d7a9e63b
CY
8914 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8915 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8916
2e7f3bea
CY
8917 * cus-edit.el (custom-buffer-create-internal): Fix search button
8918 action (Bug#10542).
2ae01800 8919 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8920
fc4f7a23
EW
89212012-01-27 Eduard Wiebe <usenet@pusto.de>
8922
8923 * dired.el (dired-mark-files-regexp):
8924 Include any subdirectory components. (Bug#10445)
8925
7dd37071
ML
89262012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8927
8928 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8929 Handle [host]:port syntax. (Bug#10533)
8930
a268160b
AH
89312012-01-27 Alex Harsanyi <harsanyi@mac.com>
8932
8933 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8934
e43273ef
GM
89352012-01-26 Glenn Morris <rgm@gnu.org>
8936
8937 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8938 * term.el (term-raw-escape-map): Use Control-X-prefix.
8939 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8940
1edf595d
MR
89412012-01-25 Martin Rudalics <rudalics@gmx.at>
8942
8943 * window.el (window-state-get, window--state-get-1): Don't deal
8944 with fixed-sizeness of windows. Simplify code.
8945
fa8eafef
JC
89462012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8947
6df6ae42
JB
8948 * window.el (window--state-get-1, window--state-put-2):
8949 Don't save and restore the mark.
fa8eafef 8950
0b21c100
CY
89512012-01-25 Chong Yidong <cyd@gnu.org>
8952
8953 * custom.el (custom-variable-p): Doc fix.
8954
5ae1a6c8
GM
89552012-01-25 Glenn Morris <rgm@gnu.org>
8956
40047858
GM
8957 * dired.el (dired-goto-file): Handle some of the more common
8958 characters that `ls -b' escapes. (Bug#10596)
8959
5ddce96c
GM
8960 * progmodes/compile.el (compilation-next-error-function):
8961 Respect compilation-first-column in the "*compilation*" buffer.
8962 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8963
5ae1a6c8
GM
8964 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8965
b559f1a9
GM
89662012-01-24 Glenn Morris <rgm@gnu.org>
8967
8968 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8969
6725d21a
JD
89702012-01-24 Julien Danjou <julien@danjou.info>
8971
8972 * color.el (color-rgb-to-hsl): Fix value computing.
8973 (color-hue-to-rgb): New function.
8974 (color-hsl-to-rgb): New function.
8975 (color-clamp, color-saturate-hsl, color-saturate-name)
8976 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8977 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8978
70df4bbe
GM
89792012-01-24 Glenn Morris <rgm@gnu.org>
8980
8981 * vc/vc-rcs.el (vc-rcs-create-tag):
8982 * vc/vc-sccs.el (vc-sccs-create-tag):
8983 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8984
802a2ae2
ML
89852012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8986
8987 * eshell/esh-util.el (eshell-read-hosts-file):
8988 Skip comment lines. (Bug#10549)
8989
d7128bb1
ML
8990 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8991
d1a5c3b4
JB
89922012-01-23 Juanma Barranquero <lekktu@gmail.com>
8993
2724d9c7
JB
8994 * subr.el (display-delayed-warnings): Doc fix.
8995 (collapse-delayed-warnings): New function to collapse identical
8996 adjacent warnings.
8997 (delayed-warnings-hook): Add it.
d1a5c3b4 8998
a5509865
MA
89992012-01-22 Michael Albinus <michael.albinus@gmx.de>
9000
9001 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9002
a5509865
MA
9003 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9004 (tramp-default-user-alist): Don't add "pscp".
9005 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9006 property "login-as", if set. (Bug#10530)
9007
cc6d5805
MA
90082012-01-21 Michael Albinus <michael.albinus@gmx.de>
9009
9010 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9011 "plink1" and "psftp". (Bug#10530)
9012
90132012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9014
9015 * international/mule-cmds.el (prefer-coding-system): Show a
9016 warning message if the default value of file-name-coding-system
9017 was not changed.
9018
f0960428
JC
90192012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9020
cb882333
JB
9021 * windmove.el (windmove-reference-loc):
9022 Fix windmove-reference-loc miscalculation.
f0960428 9023
dd6f2a63
JB
90242012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9025
9026 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9027 default unit.
9028
7b447e9b
GM
90292012-01-21 Glenn Morris <rgm@gnu.org>
9030
117a9ea1
GM
9031 * international/mule.el (auto-coding-alist): Add .tbz.
9032
7b447e9b
GM
9033 * files.el (local-enable-local-variables): Doc fix.
9034 (inhibit-local-variables-regexps): Rename from
9035 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9036 Doc fix. Add some extensions from auto-coding-alist.
9037 (inhibit-local-variables-suffixes):
9038 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9039 (inhibit-local-variables-p):
9040 New function, extracted from set-auto-mode-1.
9041 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9042 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9043 (hack-local-variables): Doc fix. Make the mode-only case
9044 respect enable-local-variables and friends.
9045 Respect inhibit-local-variables-regexps for file-locals, but
9046 not for directory-locals.
9047 (set-visited-file-name):
9048 Take account of inhibit-local-variables-regexps.
9049 Whether it applies may change as the file name is changed.
9050 * jka-cmpr-hook.el (jka-compr-install):
9051 * jka-compr.el (jka-compr-uninstall):
9052 Update for inhibit-first-line-modes-suffixes name change.
9053
dd6e3cdd
MR
90542012-01-20 Martin Rudalics <rudalics@gmx.at>
9055
9056 * help-macro.el (make-help-screen): Temporarily restore original
9057 binding for minor-mode-map-alist (Bug#10454).
9058
0d0deb38
JD
90592012-01-19 Julien Danjou <julien@danjou.info>
9060
9061 * color.el (color-name-to-rgb): Use the white color to find the max
9062 color component value and return correctly computed values.
9063 (color-name-to-rgb): Add missing float conversion for max value.
9064
34a02f46
MR
90652012-01-19 Martin Rudalics <rudalics@gmx.at>
9066
9067 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9068 special state value for window-persistent-parameters.
9069 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9070 (window--state-put-2): Reset all window parameters to nil before
9071 assigning values of persistent parameters.
9072
606c44c4
AM
90732012-01-18 Alan Mackenzie <acm@muc.de>
9074
9075 Eliminate sluggishness and hangs in fontification of "semicolon
9076 deserts".
9077
cb882333
JB
9078 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9079 Change value 10000 -> 3000.
606c44c4
AM
9080 (c-state-safe-place): Reformulate so it doesn't stack up an
9081 infinite number of wrong entries in c-state-nonlit-pos-cache.
9082 (c-determine-limit-get-base, c-determine-limit): New functions to
9083 determine backward search limits disregarding literals.
9084 (c-find-decl-spots): Amend commenting.
9085 (c-cheap-inside-bracelist-p): New function which detects "={".
9086
9087 * progmodes/cc-fonts.el
9088 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9089 backward search.
9090 (c-font-lock-declarations): Fix an occurrence of point being
9091 undefined. Check additionally for point being in a bracelist or
9092 near a macro invocation without a semicolon so as to avoid a
9093 fruitless time consuming search for a declarator. Give a more
9094 precise search limit for declarators using the new
9095 c-determine-limit.
9096
f3860cea
GM
90972012-01-18 Glenn Morris <rgm@gnu.org>
9098
9099 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9100 (set-auto-mode): Doc fixes.
9101
1db03b16
GM
91022012-01-17 Glenn Morris <rgm@gnu.org>
9103
0e6038be
GM
9104 * isearch.el (search-nonincremental-instead): Fix doc typo.
9105
1db03b16
GM
9106 * dired.el (dired-insert-directory): Handle newlines in directory name.
9107 (dired-build-subdir-alist): Unescape newlines in directory name.
9108
4cb0aa75
MA
91092012-01-17 Michael Albinus <michael.albinus@gmx.de>
9110
9111 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9112 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9113 (tramp-action-terminal): Use it. (Bug#10530)
9114
1d00653d
SM
91152012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9118
6a6ee00d
MR
91192012-01-16 Martin Rudalics <rudalics@gmx.at>
9120
9121 * window.el (window-state-ignored-parameters): Remove variable.
9122 (window--state-get-1): Rename argument MARKERS to IGNORE.
9123 Handle persistent window parameters. Make copy of clone-of
9124 parameter only if requested. (Bug#10348)
9125 (window--state-put-2): Install a window parameter only if it has
9126 a non-nil value or an existing parameter shall be overwritten.
9127
97912def
MA
91282012-01-15 Michael Albinus <michael.albinus@gmx.de>
9129
9130 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9131
688070a5
EZ
91322012-01-14 Eli Zaretskii <eliz@gnu.org>
9133
9134 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9135 don't pass the (nil) value of `upnode' to string-match.
9136
301afadc
CY
91372012-01-14 Chong Yidong <cyd@gnu.org>
9138
9139 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9140 Fix values recognized by the cursorBlink resource.
301afadc 9141
9e5788aa
PE
91422012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9143
9144 * epg.el (epg--make-temp-file): Avoid permission race condition
9145 when running on old Emacs versions (bug#10403).
9146
3cdb7f5a
GM
91472012-01-14 Glenn Morris <rgm@gnu.org>
9148
9149 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9150
8c82b1b4
AM
91512012-01-13 Alan Mackenzie <acm@muc.de>
9152
9153 Fix filling for when filladapt mode is enabled.
9154
9155 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9156 c-mask-paragraph, pass in `fill-paragraph' rather than
9157 `fill-region-as-paragraph'. (This is a reversion of a previous
9158 change.)
eb864a71
LM
9159 * progmodes/cc-mode.el (c-basic-common-init):
9160 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9161
e517eda4
GM
91622012-01-13 Glenn Morris <rgm@gnu.org>
9163
1498536e
GM
9164 * dired.el (dired-switches-escape-p): New function.
9165 (dired-insert-directory): Use dired-switches-escape-p.
9166 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9167
e517eda4
GM
9168 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9169
328f984d
GM
91702012-01-12 Glenn Morris <rgm@gnu.org>
9171
9172 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9173 changes in adaptive-fill-regexp. (Bug#10276)
9174
2cc769a8
AM
91752012-01-11 Alan Mackenzie <acm@muc.de>
9176
9177 Fix Emacs bug #10463 - put `widen's around the critical spots.
9178
1d00653d 9179 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9180 widen around each invocation of c-state-pp-to-literal. Remove an
9181 unused let variable.
9182
e52c37fa
GM
91832012-01-11 Glenn Morris <rgm@gnu.org>
9184
9185 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9186 Doc fix.
e52c37fa 9187
96f8741e
CY
91882012-01-10 Chong Yidong <cyd@gnu.org>
9189
1d00653d
SM
9190 * net/network-stream.el (network-stream-open-starttls):
9191 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9192 response to the capability command.
9193
b09a806e
GM
91942012-01-10 Glenn Morris <rgm@gnu.org>
9195
9196 * mail/unrmail.el (unrmail): Tweak previous change.
9197
7655cb66
CY
91982012-01-09 Chong Yidong <cyd@gnu.org>
9199
9200 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9201
9d5a8f0b
AM
92022012-01-08 Alan Mackenzie <acm@muc.de>
9203
9204 Optimise font locking in long enum definitions.
9205
9206 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9207 arm to a cond form to handle enums.
9208 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9209 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9210
9a0115ab 92112012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9212
9213 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9214 (Bug#10401)
6bb72cbd 9215
f186bb95
LMI
92162012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9217
29232a68
LMI
9218 * faces.el (set-face-attribute): Clarify the meaning of the nil
9219 frame (bug#10294).
9220
4e5d086d
LMI
9221 * subr.el (with-selected-frame): Mention that the selected frame
9222 is restored (bug#9980).
9223
8e66aebe
LMI
9224 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9225 (bug#9759).
9226
cd394be1 9227 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9228 (password-read): Don't autoload unused function.
9229
adf4e762
JB
92302012-01-07 Juanma Barranquero <lekktu@gmail.com>
9231
9232 * progmodes/which-func.el (which-func-mode): Turn into a
9233 non-interactive function and mark as obsolete (bug#10428).
9234
89bd9ccd
CY
92352012-01-06 Chong Yidong <cyd@gnu.org>
9236
9237 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9238 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9239 functions, along with 1 and -1.
9240
4afee9d5
EZ
92412012-01-06 Eli Zaretskii <eliz@gnu.org>
9242
9243 * time.el (display-time-load-average)
9244 (display-time-default-load-average): Doc fixes. See the thread
9245 starting at
9246 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9247 for the details.
9248
536aea70
GM
92492012-01-06 Glenn Morris <rgm@gnu.org>
9250
665ae865
GM
9251 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9252 has no messages. (Bug#10377)
9253
c869783d
GM
9254 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9255 than Info-edit. (Bug#10385)
9256
2bb4227e
GM
9257 * time.el (display-time-load-average, display-time-next-load-average):
9258 Doc fixes.
9259
7d5944b9
GM
9260 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9261 local setting of buffer-read-only to the input buffer. (Bug#10419)
9262
536aea70
GM
9263 * calendar/calendar.el (calendar-mode):
9264 Locally set scroll-margin to 0. (Bug#10379)
9265
7dccca16
UM
92662012-01-06 Ulrich Mueller <ulm@gentoo.org>
9267
9268 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9269
afbb7930
GM
92702012-01-05 Glenn Morris <rgm@gnu.org>
9271
9272 * eshell/em-unix.el (diff-no-select): Autoload it.
9273 (eshell/diff): Use diff-no-select. (Bug#10420)
9274
04482335
CY
92752012-01-05 Chong Yidong <cyd@gnu.org>
9276
7baca3bc
CY
9277 * shell.el (shell-dynamic-complete-functions): Revert last change.
9278 (shell-command-completion-function): New function.
9279 (shell-completion-vars): Use it to implement
9280 shell-completion-execonly (Bug#10417).
9281
04482335
CY
9282 * custom.el (enable-theme): Don't set custom-safe-themes.
9283
1d00653d
SM
9284 * cus-theme.el (custom-theme-merge-theme):
9285 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9286
bb5aa5d6
MM
92872012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9288
9289 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9290 first prompt in `sql-interacive-mode'.
9291 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9292 keywords.
6df6ae42 9293 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9294 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9295 context of original buffer. Invoke `sql-login-hook'.
9296
a7183d7c
EZ
92972012-01-04 Eli Zaretskii <eliz@gnu.org>
9298
9299 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9300 letters in cite-prefix.
9301
a1eacd1e
LMI
93022012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9303
9304 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9305
787cdb34
CY
93062012-01-03 Chong Yidong <cyd@gnu.org>
9307
1d00653d
SM
9308 * shell.el (shell-dynamic-complete-functions):
9309 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9310 comint-filename-completion first (Bug#10417).
9311
30710442
RS
93122012-01-02 Richard Stallman <rms@gnu.org>
9313
9314 * battery.el (battery-status-function):
9315 Detect when to use battery-yeeloong-sysfs.
9316 (battery-echo-area-format): Add string for Yeeloong.
9317 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9318 (battery-yeeloong-sysfs): New function.
9319
f75bfc33
CY
93202012-01-02 Chong Yidong <cyd@gnu.org>
9321
9322 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9323 (dirtrack): Merge code for handling relative filenames in prompt
9324 from shell-dir-cookie-watcher.
9325 (dirtrack-debug-message): New arg to avoid excess format calls.
9326
9327 * shell.el (shell-dir-cookie-re): Variable deleted.
9328 (shell-dir-cookie-watcher): Function deleted.
9329 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9330 with dirtrack-mode.
9331
651e947e
EZ
93322012-01-01 Eli Zaretskii <eliz@gnu.org>
9333
1d00653d
SM
9334 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9335 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9336 libgnutls-26.dll.
9337
94d4c7dc
AS
93382011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9339
9340 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9341
8d43f3cd
EZ
93422011-12-31 Eli Zaretskii <eliz@gnu.org>
9343
9344 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9345 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9346
98c8795a
MA
93472011-12-29 Michael Albinus <michael.albinus@gmx.de>
9348
9349 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9350 also for alternative shells.
9351 (tramp-open-connection-setup-interactive-shell): Check, whether
9352 the shell is a busybox.
9353 (tramp-send-command): Don't suppress multiple prompts for
9354 busyboxes, it hurts.
9355
51281b32
CY
93562011-12-28 Chong Yidong <cyd@gnu.org>
9357
9358 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9359 (gdb-get-source-file): Move mode line update to
9360 gdb-get-source-file (Bug#10087).
9361
2170cb53
CY
93622011-12-25 Chong Yidong <cyd@gnu.org>
9363
9364 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9365 gud-gdb-marker-filter without taking it as an argument.
9366 (gud-gdb-run-command-fetch-lines): Caller changed.
9367 (gud-gdb-completion-function): New variable.
9368 (gud-gdb-completion-at-point): Use it.
9369 (gud-gdb-completions-1): Split from gud-gdb-completions.
9370
9371 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9372 function as separate arguments.
9373 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9374 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9375 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9376 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9377 (gdb-stopped, def-gdb-auto-update-trigger)
9378 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9379 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9380 Callers changed.
2170cb53
CY
9381 (gud-gdbmi-completions): New function.
9382 (gdb): Use it for generating the completion table.
9383
be8b11bb
AM
93842011-12-24 Alan Mackenzie <acm@muc.de>
9385
9386 Introduce a mechanism to widen the region used in context font
1d00653d 9387 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9388
1d00653d
SM
9389 * progmodes/cc-langs.el (c-before-font-lock-functions):
9390 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9391 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9392 functions to be run just before context (etc.) font locking.
9393
9394 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9395 New, functionality extracted from
be8b11bb 9396 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9397 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9398 (c-after-change): Set c-in-after-change-fontification.
9399 (c-set-fl-decl-start): Rejig its interface, so it can be called
9400 from both after-change and context fontifying.
b81d40f0
JB
9401 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9402 New functions.
9403 (c-standard-font-lock-fontify-region-function): New variable.
9404 (c-font-lock-fontify-region): New function.
be8b11bb 9405
341cf6ac
JL
94062011-12-24 Juri Linkov <juri@jurta.org>
9407
9408 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9409 (Bug#10348)
9410
bffcee0a
MA
94112011-12-23 Michael Albinus <michael.albinus@gmx.de>
9412
9413 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9414 existence of source file. (Bug#10325)
9415
cb5e207c
AM
94162011-12-23 Alan Mackenzie <acm@muc.de>
9417
9418 Fix unstable fontification inside templates.
9419
b81d40f0
JB
9420 * progmodes/cc-langs.el (c-before-font-lock-functions):
9421 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9422 additionally has c-set-fl-decl-start. The other languages (apart
9423 from AWK) have that as a single entry.
9424
b81d40f0
JB
9425 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9426 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9427 c-set-fl-decl-start.
9428
b81d40f0
JB
9429 * progmodes/cc-mode.el (c-common-init, c-after-change):
9430 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9431 (c-set-fl-decl-start): New function, extracted from
9432 c-font-lock-enclosing-decls and enhanced.
9433
60ff536c
JB
94342011-12-23 Juanma Barranquero <lekktu@gmail.com>
9435
9436 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9437
1c4757d6
JL
94382011-12-22 Juri Linkov <juri@jurta.org>
9439
9440 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9441
d031f2c7
CY
94422011-12-22 Chong Yidong <cyd@gnu.org>
9443
9444 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9445
bace743a
DA
94462011-12-21 Drew Adams <drew.adams@oracle.com>
9447
9448 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9449
728a1f2b
JC
94502011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9451
9452 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9453
0d373f73
TZ
94542011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9455
fec0aaa4
TZ
9456 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9457 highlighting and support. Fix up comments for capitalization.
9458 (cfengine-mode-debug): New var.
9459 (cfengine3-mode): Change the modeline indicator to "CFE3".
9460 (cfengine3-font-lock-keywords): Improve defun highlighting.
9461 (cfengine2-actions): Rename from `cfengine-actions'.
9462 (cfengine2-font-lock-keywords): Rename from
9463 `cfengine-font-lock-keywords'.
9464 (cfengine2-imenu-expression): Rename from
9465 `cfengine-imenu-expression'.
9466 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9467 (cfengine2-beginning-of-defun): Rename from
9468 `cfengine-beginning-of-defun'.
9469 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9470 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9471 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9472 modeline indicator to "CFE2".
9473 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9474 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9475
bc86f573
CY
94762011-12-21 Chong Yidong <cyd@gnu.org>
9477
9478 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9479 filename argument.
9480
d45ba96b
MR
94812011-12-20 Martin Rudalics <rudalics@gmx.at>
9482
9483 * window.el (window-normalize-buffer-to-display): Remove.
9484 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9485
a6198c90
CY
94862011-12-19 Chong Yidong <cyd@gnu.org>
9487
9488 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9489 Don't signal an error in a predicate function; return non-nil.
9490 (vc-dir-mark-file): Move the error here.
9491 (vc-dir-mark-unmark): If acting on the region, keep going if one
9492 of the entries cannot be marked/unmarked.
9493 (vc-dir-mark-all-files): If current entry is a directory, mark
9494 only child files, as documented.
9495
34c5fb55
VB
94962011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9497
9498 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9499 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9500 addition.
9501
c803b2b7
JD
95022011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9503
9504 * term/ns-win.el (ns-get-selection-internal)
9505 (ns-store-selection-internal): Declare.
1154d12e
JB
9506 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9507 Declare as obsolete.
9508 (ns-get-pasteboard, ns-paste-secondary):
9509 Use ns-get-selection-internal.
9510 (ns-set-pasteboard, ns-copy-including-secondary):
9511 Use ns-store-selection-internal.
c803b2b7 9512
9cff91f8 95132011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9514
9515 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9516 (vc-deduce-fileset): Doc fix.
99a289d9 9517
f16c898a
AS
95182011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9519
9520 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9521
763237c4
SS
95222011-12-13 Sam Steingold <sds@gnu.org>
9523
9524 * man.el (Man-getpage-in-background): When running under a
9525 window-system, ignore $MANWIDTH and $COLUMNS.
9526
5fc1c122
KH
95272011-12-15 Kenichi Handa <handa@m17n.org>
9528
9529 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9530 (setup-ethiopic-environment-internal): Comment out key-binding for
9531 ethio-toggle-punctuation.
9532
13d49cbb
AM
95332011-12-13 Alan Mackenzie <acm@muc.de>
9534
898169a2
AM
9535 Add the switch statement to AWK Mode.
9536
7a71b18d 9537 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9538 "default" to the keywords regexp.
9539
7a71b18d 9540 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9541 expression as the rest.
1d00653d
SM
9542 (c-nonlabel-token-key): Allow string literals for AWK.
9543 Refactor for the other modes.
898169a2 9544
13d49cbb 9545 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9546 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9547 routines. Limit backward searching in c-font-lock-enclosing.decl.
9548
9549 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9550 pp-state and literal type in addition to the limits.
1d00653d 9551 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9552 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9553 (c-slow-in-literal, c-fast-in-literal): Remove.
9554 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9555
9556 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9557 being in a literal. Add a limit for backward searching.
9558
9559 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9560 c-slow-in-literal.
9561
15e0efc7
SM
95622011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9565
454592a6
MR
95662011-12-13 Martin Rudalics <rudalics@gmx.at>
9567
9568 * window.el (delete-other-windows): Use correct frame in call to
9569 window-with-parameter.
9570
87393f26
DP
95712011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9572
9573 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9574 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9575 (makefile-gmake-statements, makefile-makepp-statements):
9576 Use it and add new makepp keywords.
9577 (makefile-makepp-font-lock-keywords): Add new patterns.
9578 (makefile-match-function-end): Match new [...] and [[...]].
9579
11636b22
JB
95802011-12-11 Juanma Barranquero <lekktu@gmail.com>
9581
9582 * ses.el (ses-call-printer-return, ses-cell-property-get)
9583 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9584 (ses-create-cell-variable, ses-reset-header-string)
9585 (ses-cell-set-formula, ses-repair-cell-reference-all)
9586 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9587 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9588 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9589 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9590 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9591 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9592 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9593 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9594 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9595 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9596 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9597 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9598
cf018193
VB
95992011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9600
9601 * ses.el: The overall change is to add cell renaming, that is
9602 setting fancy names for cell symbols other than name matching
9603 "\\`[A-Z]+[0-9]+\\'" regexp .
9604 (ses-create-cell-variable): New defun.
9605 (ses-relocate-formula): Relocate formulas only for cells the
9606 symbols of which are not renamed, i.e. symbols whose names do not
9607 match regexp "\\`[A-Z]+[0-9]+\\'".
9608 (ses-relocate-all): Relocate values only for cells the symbols of
9609 which are not renamed.
9610 (ses-load): Create cells variables as the (ses-cell ...) are read,
9611 in order to check row col consistency with cell symbol name only
9612 for cells that are not renamed.
9613 (ses-replace-name-in-formula): New defun.
9614 (ses-rename-cell): New defun.
9615
ee957461
CY
96162011-12-11 Chong Yidong <cyd@gnu.org>
9617
9618 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9619 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9620
9a9e9ef0
MR
96212011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9622
9623 * window.el (other-window): Fix docstring.
9624
92a8eba5
EZ
96252011-12-10 Eli Zaretskii <eliz@gnu.org>
9626
9627 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9628 `from' or `to' address before taking its substring.
9629 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9630 encoded name is chopped in the middle of the encoded string, and
9631 thus displayed encoded.
9632
e152e577
JB
96332011-12-10 Juanma Barranquero <lekktu@gmail.com>
9634
9635 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9636
e5d84bfe
EZ
96372011-12-10 Eli Zaretskii <eliz@gnu.org>
9638
9639 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9640 to use texinfo-update-node and commands that call it if the
9641 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9642 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9643 (texinfo-all-menus-update, texinfo-master-menu)
9644 (texinfo-update-node, texinfo-every-node-update)
9645 (texinfo-multiple-files-update): Doc fix. Warn against updating
9646 all the @node lines.
9647 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9648 argument is numeric. Explain better in the doc string what the
9649 function really does.
9650 (texinfo-insert-master-menu-list): Improve the error message
9651 displayed if there's no menu in the Top node.
9652 (Bug#2975) See also this thread:
e5d84bfe
EZ
9653 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9654
1d84e9bb
MG
96552011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9656
9657 * speedbar.el (speedbar-supported-extension-expressions):
9658 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9659
382c953b
JB
96602011-12-09 Juanma Barranquero <lekktu@gmail.com>
9661
9662 * printing.el (pr-mode-alist):
9663 * simple.el (filter-buffer-substring-functions)
9664 (completion-list-insert-choice-function):
9665 * window.el (window-with-parameter, window-atom-root)
9666 (window-sides-slots, window-size-fixed, window-min-delta)
9667 (window-max-delta, window--resize-mini-window)
9668 (window--resize-child-windows-normal, window-tree)
9669 (delete-other-windows, quit-window, split-window)
9670 (display-buffer-record-window, special-display-buffer-names)
9671 (special-display-regexps, special-display-popup-frame)
9672 (same-window-p, split-window-sensibly)
9673 (display-buffer-overriding-action, display-buffer-alist)
9674 (display-buffer-base-action, display-buffer, switch-to-buffer)
9675 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9676 (fit-window-to-buffer, recenter-positions)
9677 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9678 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9679 and remove unneeded backslashes in docstrings.
9680
39c9faef
SM
96812011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9682
98449af8
SM
9683 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9684
39c9faef
SM
9685 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9686 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9687 end in ".mk".
9688 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9689 when reading the makefile (bug#10116).
9690
86ed9fdc
SM
96912011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9694 (bug#10116).
9695
5580f89d
GM
96962011-12-06 Glenn Morris <rgm@gnu.org>
9697
9698 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9699
28d3917c
CY
97002011-12-06 Chong Yidong <cyd@gnu.org>
9701
9702 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9703
a98edce9
JB
97042011-12-06 Juanma Barranquero <lekktu@gmail.com>
9705
9706 * textmodes/table.el (table-shorten-cell): Fix typo.
9707
e65adfac
CG
97082011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9709
9710 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9711
71cc0b74
EZ
97122011-12-05 Eli Zaretskii <eliz@gnu.org>
9713
9714 * descr-text.el (describe-char): Fix display of strong
9715 right-to-left characters and directional embeddings and overrides.
9716
9717 * simple.el (what-cursor-position): Fix display of codepoints of
9718 strong right-to-left characters.
9719
315bc30d
CY
97202011-12-05 Chong Yidong <cyd@gnu.org>
9721
9722 * faces.el (read-color): Doc fix.
9723
58a70b94
GM
97242011-12-05 Glenn Morris <rgm@gnu.org>
9725
9726 * align.el (align--set-marker): Add doc-string.
9727 Don't try to move something that is not a marker. (Bug#10216)
9728
5158face
GM
97292011-12-04 Glenn Morris <rgm@gnu.org>
9730
9731 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9732 overly zealous deletion of trailing whitespace.
9733
520fca41
JB
97342011-12-04 Juanma Barranquero <lekktu@gmail.com>
9735
9736 * server.el (server-delete-client): On Windows, do not try to delete
9737 the only terminal.
9738 (server-process-filter): On Windows, treat requests for a tty frame as
9739 if they were for a GUI frame if the running server is in GUI mode.
9740
5e605a2e
GM
97412011-12-03 Glenn Morris <rgm@gnu.org>
9742
9743 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9744
5c3fe83f
SM
97452011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9746
6f5e57e7
SM
9747 * electric.el: Streamline electric-indent's hook.
9748 (electric-indent-chars): Revert to simple list.
9749 (electric-indent-functions): New var.
9750 (electric-indent-post-self-insert-function): Use it.
9751
5c3fe83f
SM
9752 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9753 there's no inferior buffer (bug#10196).
9754 (prolog-consult-compile): Don't use toggle-read-only.
9755
6bdac736
MA
97562011-12-02 Michael Albinus <michael.albinus@gmx.de>
9757
9758 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9759 interrupt. (Bug#10187)
9760
6131ba7f
SM
97612011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9762
99c79fee
SM
9763 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9764 (bug#9160).
9765
6131ba7f
SM
9766 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9767 (bug#10191).
9768
cb0a02ea
JL
97692011-12-02 Juri Linkov <juri@jurta.org>
9770
9771 * info.el (Info-search): Display "end of manual" when Isearch
9772 reaches the end of single-file Info manual. (Bug#9918)
9773
66e0570c
EZ
97742011-12-02 Eli Zaretskii <eliz@gnu.org>
9775
9776 * isearch.el (isearch-message-prefix): Run the input method part
9777 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9778
02b16839
JL
97792011-12-02 Juri Linkov <juri@jurta.org>
9780
9781 * isearch.el (isearch-occur): Use `word-search-regexp' for
9782 `isearch-word'.
9783 (isearch-search-and-update): Add condition for `isearch-word' and
9784 call `word-search-regexp'. (Bug#10145)
9785
0b950688
GM
97862011-12-01 Glenn Morris <rgm@gnu.org>
9787
9788 * eshell/em-hist.el (eshell-hist-initialize):
9789 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9790 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9791
9505c3c7
SM
97922011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9793
9794 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9795
1bbe96b2 97962011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9797
a1beca85
SM
9798 * progmodes/verilog-mode.el (verilog-pretty-expr):
9799 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9800 verilog, such as += *= and the like.
9801 (verilog-assignment-operator-re): Regular expression to find the
9802 assigment operator in a verilog assignment.
9803 (verilog-assignment-operation-re): Regular expression to find an
9804 assignment statement for pretty-expr.
9805 (verilog-in-attribute-p): Query returns true if point is in an
9806 attribute context; used to skip these for expression line up from
9807 pretty-expr.
9808 (verilog-in-parameter-p): Query returns true if point is in an
9809 parameter definition context; used to skip these for expression
9810 line up from pretty-expr.
9811 (verilog-in-parenthesis-p): Query returns true if point is in a
9812 parenthetical expression, specifically ( ) but not [ ] or { };
9813 used by pretty-expr.
9814 (verilog-just-one-space): If there is no space, don't add one.
9815 (verilog-get-lineup-indent-2): Specifically skip just attribute
9816 contexts for expression lineup, rather than skipping all
9817 parenthetical expressions.
9818 (verilog-calculate-indent): Fix comment, and fix indent.
9819 (verilog-do-indent): Indent declarations in lists (suggested by
9820 Joachim Lechner).
9821 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9822 skeleton items.
9823 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9824 by Alain Mellan).
9825
1bbe96b2 98262011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9827
9828 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9829 parameters with embedded comments. Reported by Ray Stevens.
9830 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9831 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9832 Reported by Tim Holt.
9833 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9834 instantiated by upper module causing wrong expansion until AUTOed a
9835 second time. Reported by K C Buckenmaier.
9836 (verilog-diff-auto): Fix showing .* as a difference when
9837 `verilog-auto-star-save' off. Reported by Dan Dever.
9838 (verilog-auto-reset, verilog-read-always-signals)
9839 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9840 temporary signals in reset list if
9841 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9842 style to each signal's assignment type, bug381.
9843 Reported by Thomas Esposito.
6288f0ca
WS
9844 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9845 (verilog-uvm-statement-re): Support UVM indentation and
9846 highlighting, with old OVM keywords only.
a1beca85 9847 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9848 Support AUTOTIEOFF creating non-wire data types.
9849 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9850 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9851 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9852 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9853 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9854 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9855 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9856 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9857 non-numeric vector width. Reported by Alex Reed.
9858 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9859 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9860 (verilog-auto-delete-trailing-whitespace):
9861 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9862 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9863 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9864 Fix verilog-scan-cache corruption when running user AUTO expansion
9865 hooks that call indentation routines.
9866 (verilog-simplify-range-expression): Fix typo ignoring lower case
9867 identifiers.
9868 (verilog-delete-auto): Fix delete-autos to also remove user created
9869 automatics, as long as they start with AUTO.
9870 (verilog-batch-diff-auto, verilog-diff-auto)
9871 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9872 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9873 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9874 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9875 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9876 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9877 is disabled and its cache will get corrupt, causing AUTOS not to
9878 expand. Instead use only -quick functions.
9879 (verilog-scan-region): Fix scanning over escaped quotes.
9880 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9881 (verilog-re-search-backward-quick)
9882 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9883 related functions now ignore strings, to fix misparsing of strings
9884 with magic comments embedded in them.
a1beca85
SM
9885 (verilog-read-auto-template):
9886 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9887 Reported by Brad Dobbie.
9888 (verilog-read-auto-template):
9889 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9890 Reported by Brad Dobbie.
6288f0ca
WS
9891 (verilog-auto-inst, verilog-auto-inst-param)
9892 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9893 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9894 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9895 debugging templates without merge conflicts, bug357.
9896 Reported by Brad Dobbie.
9897 (verilog-read-auto-template):
9898 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9899 Reported by Brad Dobbie.
9900 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9901 abbrevs so user won't be asked to save.
9902 (verilog-read-auto-lisp-present): Fix to start at beginning of
9903 buffer in case called outside of verilog-auto.
9904 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9905 to "X-2". Reported by Matthew Myers.
9906 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9907 all inputs from module templates. Reported by Leith Johnson.
9908 (verilog-module-inside-filename-p): Fix locating programs as with
9909 modules.
9910 (verilog-auto-inst-port): Fix vl-width expressions when using
9911 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9912 (verilog-decls-get-regs, verilog-decls-get-signals,
9913 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9914 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9915 verilog-read-decls): Combine reg and wire structures into one var
9916 structure to represent SystemVerilog concepts.
9917 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9918 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9919 (verilog-auto-wire-type, verilog-insert-definition):
9920 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9921 SystemVerilog "logic" keyword instead of "wire"/"reg".
9922 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9923 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9924 ifdef or generate if so there's not a driver conflict).
9925 Reported by Matthew Myers.
9926 (verilog-auto-declare-nettype, verilog-insert-definition):
9927 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9928 `default_nettype none. Reported by Julian Gorfajn.
9929 (verilog-read-always-signals-recurse, verilog-read-decls)
9930 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9931 malformed end statement, bug325. Reported by Joshua Wise and
9932 Andrew Drake.
9933 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9934 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9935 when expanding .* in interfaces, bug320.
9936 Reported by Pierre-David Pfister.
6288f0ca 9937 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9938 name and open parenthesis, bug317.
9939 Reported by Pierre-David Pfister.
6288f0ca
WS
9940 (verilog-simplify-range-expression): Fix simplification of
9941 multiplications inside AUTOWIRE connections, bug303.
9942 (verilog-auto-inst-port): Support parameter expansion in
9943 multidimensional arrays.
9944 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9945 after "assert property". Reported by Julian Gorfajn.
9946 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9947 with multiplication, bug303.
9948 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9949 Reported by Jan Frode Lonnum.
9950
1bbe96b2
GM
99512011-11-30 Juanma Barranquero <lekktu@gmail.com>
9952
9953 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9954 (hfy-shell-file-name, hfy-shell):
9955 * international/fontset.el (x-decompose-font-name): Fix typos.
9956
99572011-11-29 Ken Brown <kbrown@cornell.edu>
9958
9959 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9960 (gdb-version): Remove defvar.
9961 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9962 (gdb-gud-context-command, gdb-non-stop-handler)
9963 (gdb-current-context-command, gdb-stopped): Use it.
9964 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9965 (gdb-non-stop-handler): Don't enable pretty-printing here.
9966 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9967 non-stop mode. Use the following.
9968 (gdb-check-target-async): New defun.
9969 (gud-watch, gdb-stopped): Fix whitespace.
9970 (gdb-get-source-file): Don't try to display the source file if
9971 `gdb-main-file' is nil.
9972
99732011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * align.el: Try to generate fewer markers (bug#10047).
9976 (align--set-marker): New macro.
9977 (align-region): Use it.
9978
c935221f
SM
99792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9980
9981 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9982
e70b5064
CY
99832011-11-29 Chong Yidong <cyd@gnu.org>
9984
9985 * indent.el (indent-for-tab-command, indent-according-to-mode):
9986 Doc fix.
9987 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9988
f3af92b7
MA
99892011-11-29 Michael Albinus <michael.albinus@gmx.de>
9990
9991 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9992 aware of remote file names. (Bug#10124)
9993
ed472be9
CY
99942011-11-29 Chong Yidong <cyd@gnu.org>
9995
9996 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9997
24510c22
SM
99982011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * files.el (find-file): Don't use force-same-window (bug#10144).
10001 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10002 use pop-to-buffer if the selected window can't be used.
10003 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10004
c60c3703
EZ
100052011-11-28 Eli Zaretskii <eliz@gnu.org>
10006
10007 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10008 special-mode-map.
10009
e95def75
CY
100102011-11-28 Chong Yidong <cyd@gnu.org>
10011
10012 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10013
c3f1c606
NR
100142011-11-27 Nick Roberts <nickrob@snap.net.nz>
10015
10016 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10017 gdb-get-source-file-list on gdb-create-source-file-list.
10018
00db469c
EZ
100192011-11-26 Eli Zaretskii <eliz@gnu.org>
10020
10021 * whitespace.el (whitespace-newline): Use a different foreground
10022 color for 16-color light-background displays.
10023
4ad3bc2a
CY
100242011-11-24 Chong Yidong <cyd@gnu.org>
10025
10026 * window.el (display-buffer--special-action): Doc fix.
10027
e9fce1ac
JB
100282011-11-25 Juanma Barranquero <lekktu@gmail.com>
10029
10030 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10031 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10032 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10033 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10034 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10035 (avl-tree-stack-first):
10036 * emacs-lisp/cconv.el (cconv--analyse-use):
10037 * net/gnutls.el (gnutls-negotiate): Fix typos.
10038
cb825e5d
GM
100392011-11-24 Glenn Morris <rgm@gnu.org>
10040
3adbe224
GM
10041 * lpr.el (lpr-windows-system, lpr-lp-system):
10042 * mail/binhex.el (binhex-begin-line):
10043 * progmodes/grep.el (grep-history, grep-find-history):
10044 * textmodes/flyspell.el:
10045 * vc/pcvs-defs.el (cvs-global-menu):
10046 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10047 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10048 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10049
321decc8
GM
10050 * net/tls.el: Fix case of "GnuTLS".
10051
420b63ad
GM
10052 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10053
cb825e5d
GM
10054 * version.el (emacs-build-system): Give it a doc-string.
10055
a0649f08
JL
100562011-11-24 Juri Linkov <juri@jurta.org>
10057
10058 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10059
c0bc0fd4
GM
100602011-11-24 Glenn Morris <rgm@gnu.org>
10061
10062 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10063 if called on a non-mime message just toggle the headers. (Bug#8006)
10064
20db1522
JB
100652011-11-24 Juanma Barranquero <lekktu@gmail.com>
10066
10067 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10068 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10069 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10070 (allout-rebullet-heading, allout-open-sibtopic)
10071 (allout-toggle-current-subtree-encryption)
10072 (allout-toggle-subtree-encryption, allout-encrypt-string)
10073 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10074 (allout-distinctive-bullets-string, allout-auto-activation):
10075 * window.el (window-normalize-buffer-to-display):
10076 * progmodes/verilog-mode.el (verilog-batch-indent):
10077 * textmodes/bibtex.el (bibtex-field-braces-opt)
10078 (bibtex-field-strings-opt):
10079 * vc/cvs-status.el (cvs-tree-merge):
10080 Fix typos.
10081
7262a87c
MA
100822011-11-23 Michael Albinus <michael.albinus@gmx.de>
10083
10084 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10085 `non-essential' to t, in order to avoid remote connections.
10086
283430a1
EZ
100872011-11-23 Eli Zaretskii <eliz@gnu.org>
10088
a1beca85
SM
10089 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10090 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10091 case-insensitively.
10092
d2992a38
ML
100932011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10094
10095 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10096
50419064
GM
100972011-11-23 Glenn Morris <rgm@gnu.org>
10098
da94eca1
GM
10099 * paths.el (rmail-file-name): Reformat the doc-string so that it
10100 is picked up.
10101
9aac4de2
GM
10102 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10103 (rmail-auto-file): Ignore case in the "special" field names,
10104 as mail-fetch-field does for all others.
10105
8038d2d2
GM
10106 * mail/rmail.el (rmail-forward):
10107 * mail/rmailkwd.el (rmail-set-label):
10108 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10109 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10110
f3fe222a
GM
10111 * mail/rmail.el (rmail-current-message): Doc fix.
10112
50419064
GM
10113 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10114
28109f49
SM
101152011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10118
394c65f1
GM
101192011-11-22 Glenn Morris <rgm@gnu.org>
10120
10121 * mail/rmailmm.el (test-rmail-mime-handler)
10122 (test-rmail-mime-bulk-handler)
10123 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10124
f2a0aa3a
JL
101252011-11-21 Juri Linkov <juri@jurta.org>
10126
1154d12e
JB
10127 * calc/calc.el (calc-read-key-sequence):
10128 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10129
9c34a344
LMI
101302011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10131
10132 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10133 Tell the caller that the next line needs recomputation, even
10134 though it doesn't start a sexp (bug#10094).
10135
f04a3be9
SM
101362011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10137
10138 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10139
7978747f
SM
101402011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10141
f04a3be9
SM
10142 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10143 Use force-same-window.
7978747f 10144
fe7a3057
JB
101452011-11-20 Juanma Barranquero <lekktu@gmail.com>
10146
10147 * descr-text.el (describe-char-unicode-data):
10148 * json.el (json-string-escape):
10149 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10150 (Footnote-unicode, Footnote-style-p):
10151 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10152
24901d61
CY
101532011-11-20 Chong Yidong <cyd@gnu.org>
10154
10155 * window.el (replace-buffer-in-windows): Restore interactive spec.
10156
bac7ff22
SM
101572011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10158
24f3d7b9
SM
10159 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10160
bac7ff22
SM
10161 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10162 (byte-compile-global-not-obsolete-vars): New var.
10163 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10164 Use it.
10165 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10166
cd1181db
JB
101672011-11-20 Juanma Barranquero <lekktu@gmail.com>
10168
10169 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10170 * progmodes/pascal.el (electric-pascal-equal):
10171 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10172 * xml.el (xml-substitute-special): Fix typos.
10173
7fb18e9e
GM
101742011-11-20 Glenn Morris <rgm@gnu.org>
10175
10176 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10177 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10178 Doc fixes.
10179 (rmail-decode-mime-charset): Mark as obsolete.
10180
10181 * mail/rmailsum.el (rmail-message-regexp-p-1):
10182 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10183 Before using mime functions, check they are set. (Bug#10077)
10184
d5a6b3ba
JL
101852011-11-19 Juri Linkov <juri@jurta.org>
10186
10187 * info.el (Info-finder-find-node): Use `package--builtins' instead
10188 of `package-alist'. Use node names formed by the pattern "Keyword "
10189 and the keyword name.
10190
e981b61f
AS
101912011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10192
1d00653d 10193 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10194
3ffbc301
JL
101952011-11-19 Juri Linkov <juri@jurta.org>
10196
10197 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10198 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10199 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10200 `old-history', `old-history-forward'. Add let-binding
10201 `window-selected'. Remove calls to `kill-buffer',
10202 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10203 before calling `Info-find-node', so `Info-find-node-2' will reread
10204 the Info file. Restore window positions only when `window-selected'
10205 is non-nil.
10206
30c62133
JL
102072011-11-19 Juri Linkov <juri@jurta.org>
10208
10209 * isearch.el (isearch-lazy-highlight-new-loop):
10210 Remove condition `(not isearch-error)'. (Bug#9918)
10211
10212 * misearch.el (multi-isearch-search-fun): Add condition
10213 `(not bound)' to ignore lazy-highlighting search.
10214 Add the search-failed message "end of multi" when the end of
10215 multi-sequence is reached. Uncapitalize the search-failed
10216 message "Repeat for next buffer".
10217
10218 * info.el (Info-search): Add the search-failed message
10219 "end of the manual" when the end of the manual is reached
10220 in Isearch mode.
10221
645ca9cf
JL
102222011-11-19 Juri Linkov <juri@jurta.org>
10223
10224 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10225 Use non-destructive `remove' instead of `delete' because
10226 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10227 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10228
df754f66
JL
102292011-11-19 Juri Linkov <juri@jurta.org>
10230
10231 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10232 to nil instead of binding `search-ring' and `regexp-search-ring'.
10233 (Bug#9185)
10234
0e23d96a
EZ
102352011-11-19 Eli Zaretskii <eliz@gnu.org>
10236
10237 * simple.el (line-move): Force movement by logical lines for any
10238 hscrolled window, not only when auto-hscroll-mode is on.
10239 (line-move-visual): Update doc string to that effect. (Bug#10076)
10240
8a6ccb66
AS
102412011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10242
10243 * language/european.el (macintosh): Define as alias for mac-roman.
10244
49ae5b39
EZ
102452011-11-19 Eli Zaretskii <eliz@gnu.org>
10246
10247 * mail/rmailmm.el (rmail-mime-display-header)
10248 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10249 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10250 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10251 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10252 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10253 of a raw aref.
10254 (rmail-mime-entity-segment): To get past the tagline, move forward
10255 2 more lines, to account for the 2 empty lines that precede and
10256 follow the line with the buttons.
10257 (rmail-mime-update-tagline): Move one more line, to get past the
10258 empty line that follows the buttons in the tagline. (Bug#9520)
10259
c56cad4a
MR
102602011-11-19 Martin Rudalics <rudalics@gmx.at>
10261
10262 * window.el (window-max-delta-1, window-min-delta-1)
10263 (window-min-size-1, window-state-get-1, window-state-put-1)
10264 (window-state-put-2): Use "window--" prefix.
10265
cbe71af3
SM
102662011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10267
2ad52c60
SM
10268 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10269 (smie-warning-count): New var.
10270 (smie-set-prec2tab): Use it.
10271 (smie-bnf->prec2): Improve warnings. Add docstring.
10272 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10273 (smie-bnf--set-class): New function.
10274 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10275 corner case.
10276
6944dbc1
SM
10277 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10278 (compilation-error-properties, compilation-move-to-column):
10279 Handle compilation-first-column while in the target buffer.
10280
c400c4d7
SM
10281 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10282 Don't hardcode point-min==1.
10283
6dbe3e96
SM
10284 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10285 (eshell-rewrite-for-command): Remove workaround.
10286 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10287 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10288 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10289
cbe71af3
SM
10290 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10291
a8e1496d
GM
102922011-11-17 Glenn Morris <rgm@gnu.org>
10293
10294 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10295 Ignore buffer-local generated-autoload-file if it is the same
10296 as the global value. (Bug#10049)
10297
df85d315
JB
102982011-11-17 Juanma Barranquero <lekktu@gmail.com>
10299
10300 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10301 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10302 (reftex-toc-previous-heading, reftex-toc-max-level)
10303 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10304 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10305 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10306 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10307 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10308 (reftex-toc-rename-label, reftex-toc-visit-location)
10309 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10310 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10311 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10312 leaving "*toc*" only for references to the buffer.
10313
a0c2d0ae
MR
103142011-11-17 Martin Rudalics <rudalics@gmx.at>
10315
10316 * window.el (window-resize, delete-window, split-window):
10317 Replace window-splits by window-combination-resize.
1d00653d 10318 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10319
35c0bac8
GM
103202011-11-17 Glenn Morris <rgm@gnu.org>
10321
10322 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10323 Make bash entry derive from sh entry, not shell entry.
10324
d0c8fc8a
MA
103252011-11-16 Michael Albinus <michael.albinus@gmx.de>
10326
7262a87c
MA
10327 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10328 local file name.
10329
7877f373
JB
103302011-11-16 Juanma Barranquero <lekktu@gmail.com>
10331
10332 * menu-bar.el (menu-bar-file-menu):
10333 * printing.el (pr-ps-utility):
10334 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10335 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10336 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10337 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10338 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10339 (icalendar--convert-cyclic-to-ical)
10340 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10341 (icalendar--convert-ical-to-diary)
10342 (icalendar--convert-recurring-to-diary)
10343 (icalendar--convert-non-recurring-all-day-to-diary)
10344 (icalendar-import-format-sample):
10345 * progmodes/idlw-shell.el (idlwave-shell-mode):
10346 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10347 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10348 (vhdl-ps-print-init): Fix typos.
10349
10649b82
KM
103502011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10351
9d0cfcd6
GM
10352 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10353 FSF and collapse date sequence, obscure author/maintainer email address
10354 better, remove extra version line, track relocation of author's webpage.
10649b82 10355
9d0cfcd6
GM
10356 * progmodes/python.el (python-pdbtrack-input-prompt)
10357 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10358 regular python pdb prompts. Adjustments shamelessly taken exactly as
10359 suggested in EmacsWiki page (tiny change):
10360 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10361
58179cce
JB
103622011-11-16 Juanma Barranquero <lekktu@gmail.com>
10363
10364 * expand.el (expand-pos, expand-index, expand-point):
10365 Remove redundant info from docstring.
10366 (expand-add-abbrevs): Doc fix.
10367 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10368 (expand-sample-perl-mode-expand-list): Fix typos.
10369
10370 * net/dbus.el (dbus-event-member-name):
10371 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10372 * term/pc-win.el (msdos-create-frame-with-faces):
10373 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10374
b6f67890
MR
103752011-11-16 Martin Rudalics <rudalics@gmx.at>
10376
10377 * window.el (split-window, window-state-get-1)
10378 (window-state-put-1, window-state-put-2): Rename occurrences of
10379 window-nest to window-combination-limit.
1d00653d 10380 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10381
ce7ddba0
CY
103822011-11-16 Chong Yidong <cyd@gnu.org>
10383
10384 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10385 regexp (Bug#10033).
10386
3ae704f4
SM
103872011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10388
10389 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10390 `completing-read' will remove *Completions* and will preserve
10391 current-buffer for us.
10392 (tmm-add-prompt): Users of *Completions* will always (re)set its
10393 major mode.
10394 (tmm-old-comp-map): Remove.
10395
6ad1cdde
GM
103962011-11-16 Glenn Morris <rgm@gnu.org>
10397
10398 * mail/rmailedit.el: Require rmailmm when compiling.
10399 (rmail-old-mime-state): New declaration.
10400 (rmail-edit-current-message): If editing a mime message,
10401 edit the "raw" message from the mbox buffer.
10402 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10403
d20faa20
GM
104042011-11-15 Glenn Morris <rgm@gnu.org>
10405
10406 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10407 which wasn't being used. Add optional arg to force given state.
10408 (rmail-mime): Add optional arg to force given state.
10409
c7015153
JB
104102011-11-15 Juanma Barranquero <lekktu@gmail.com>
10411
10412 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10413 * frame.el (display-mm-dimensions-alist):
10414 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10415 (outline-move-subtree-down):
10416 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10417 (newsticker--treeview-do-get-node):
10418 * net/quickurl.el (quickurl-list-buffer-name):
10419 * progmodes/dcl-mode.el (dcl-mode):
10420 * progmodes/gdb-mi.el (gdb-mapcar*):
10421 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10422
45261b50
GM
104232011-11-15 Glenn Morris <rgm@gnu.org>
10424
10425 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10426 in a boolean sense, so just make it a boolean, and fix the doc.
10427 (rmail-show-mime-function, rmail-mime-feature)
10428 (rmail-require-mime-maybe): Doc fixes.
10429 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10430
10431 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10432
0d26e0b6
JB
104332011-11-15 Juanma Barranquero <lekktu@gmail.com>
10434
10435 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10436 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10437 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10438 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10439
447f30f6
GM
104402011-11-15 Glenn Morris <rgm@gnu.org>
10441
672b871d
GM
10442 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10443 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10444 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10445 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10446 (rmail-mime, rmail-show-mime): Doc fixes.
10447
f6aa5bb1
GM
10448 * term/ns-win.el (mode-line-frame-identification):
10449 Leave it alone. (Bug#10051)
10450
947cd66b
GM
10451 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10452
447f30f6
GM
10453 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10454 Handle empty buffers. (Bug#9978)
10455
0b381c7e
JB
104562011-11-14 Juanma Barranquero <lekktu@gmail.com>
10457
10458 * international/mule.el (define-charset):
10459 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10460 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10461 * progmodes/verilog-mode.el (verilog-backward-token):
10462 * textmodes/ispell.el (lookup-words):
10463 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10464
71e027ac
GM
104652011-11-14 Glenn Morris <rgm@gnu.org>
10466
56632ce4
GM
10467 * progmodes/executable.el
10468 (executable-make-buffer-file-executable-if-script-p):
10469 Handle file-modes returning nil.
10470
40500957
GM
10471 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10472 message - not necessary, and causes problems. (Bug#9831)
10473
071c2340
GM
10474 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10475
d3cfca60
GM
10476 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10477
71e027ac
GM
10478 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10479 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10480 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10481
89d61221
MR
104822011-11-12 Martin Rudalics <rudalics@gmx.at>
10483
10484 * window.el (window-resize, delete-window): Use window-splits
10485 variable instead of function.
10486 (window-state-get-1, window-state-put-2, window-state-put):
10487 Don't deal with windows' splits status.
10488
98282f6f
GM
104892011-11-12 Glenn Morris <rgm@gnu.org>
10490
10491 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10492 (apropos-documentation): Doc fixes.
10493
40a8bdf6
JB
104942011-11-11 Juanma Barranquero <lekktu@gmail.com>
10495
10496 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10497 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10498
65bd19ff
SM
104992011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * electric.el (electric-indent-post-self-insert-function): Make it
10502 possible for a char to only indent in some circumstances.
10503 (electric-indent-mode): Simplify.
10504
54f9154c
MR
105052011-11-11 Martin Rudalics <rudalics@gmx.at>
10506
10507 * window.el (windows-with-parameter): Remove unused function.
10508 (windows-at-side): Rename to window-at-side-list.
10509 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10510 (window-side-check, window-size-ignore, window-size-fixed-1)
10511 (window-in-direction-2): Prefix with "window--".
10512 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10513
68cbc58b
GM
105142011-11-11 Glenn Morris <rgm@gnu.org>
10515
10516 * subr.el (eval-after-load): If FILE is already loaded,
10517 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10518
b2621720
GM
105192011-11-10 Glenn Morris <rgm@gnu.org>
10520
9a4de110
GM
10521 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10522 Call svn via vc-svn-command rather than vc-do-command.
10523 (vc-svn-command): Add --non-interactive. (Bug#9993)
10524 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10525
b2621720
GM
10526 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10527 Add toggle-read-only. (Bug#7292)
10528 * files.el (toggle-read-only): Mention that it should only
10529 be used interactively. (Bug#10006)
10530
1dce7193
SM
105312011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10532
d9ac1a1e
SM
10533 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10534 Adjust regexp for OCaml warnings.
10535
0c325082
SM
10536 * electric.el (electric-pair-post-self-insert-function): Let user
10537 turn it off buffer-locally (bug#9932).
10538
90132c14
SM
10539 * progmodes/python.el (python-beginning-of-statement):
10540 Rewrite (bug#2703).
10541
1dce7193
SM
10542 * progmodes/compile.el: Better handle TABs (bug#9749).
10543 (compilation-internal-error-properties)
10544 (compilation-next-error-function): Obey the target buffer's
10545 compilation-error-screen-columns.
10546
c4e7c63a
JB
105472011-11-09 Juanma Barranquero <lekktu@gmail.com>
10548
10549 * progmodes/meta-mode.el: Remove obsolete comments.
10550 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10551 Fix typos in docstrings.
10552
2cffd681
MR
105532011-11-09 Martin Rudalics <rudalics@gmx.at>
10554
10555 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10556 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10557 (window--resizable): New function. Make all callers of
10558 window-resizable call window--resizable instead.
10559 (window-resizable): Rewrite in terms of window--resizable.
10560
0edcba87
GM
105612011-11-08 Glenn Morris <rgm@gnu.org>
10562
10563 * progmodes/delphi.el (delphi-mode-syntax-table):
10564 Let define-derived-mode define a proper syntax table. (Bug#9994)
10565
4b0d61e3
SM
105662011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10567
10568 * window.el: Stay away from defsubst.
10569 (window-list-no-nils): Remove.
10570 (window-state-get-1, window-state-get): Use backquote instead.
10571
cd394be1 105722011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10573
4b0d61e3 10574 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10575 Fix incorrect use of default argument in `completing-read'.
10576
e1c2c6f2
MR
105772011-11-08 Martin Rudalics <rudalics@gmx.at>
10578
10579 * window.el (display-buffer-function, special-display-function):
10580 Mention display-buffer-record-window but do not mention
10581 help-setup parameter in doc-strings.
b3f4a882 10582 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10583
105216ed
CY
105842011-11-08 Chong Yidong <cyd@gnu.org>
10585
10586 * window.el (window-total-height, window-total-width): Doc fix.
10587 (window-body-size): Move from C.
10588 (window-body-height, window-body-width): Move to C.
10589
0a9f9ab5
SM
105902011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * window.el: Make special-display like display-buffer-alist (bug#9532).
10593 (display-buffer--special-action): New function, morphed
10594 from display-buffer--special.
10595 (display-buffer): Use it to handle special-display-buffers at higher
10596 priority (just after display-buffer-alist).
10597 (display-buffer-fallback-action, display-buffer--other-frame-action)
10598 (pop-to-buffer-same-window): Remove display-buffer--special.
10599
a769dd15
GM
106002011-11-07 Glenn Morris <rgm@gnu.org>
10601
10602 * calendar/cal-menu.el (cal-menu-set-date-title):
10603 Do nothing if not in a calendar. (Bug#9976)
10604
05a61ee3
SM
106052011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10606
10607 * files.el (find-file): Always use selected-window.
10608
be7f5545
MR
106092011-11-07 Martin Rudalics <rudalics@gmx.at>
10610
10611 * window.el (window-combinations): Make WINDOW argument
10612 mandatory. Rewrite doc-string.
10613 (walk-window-subtree, window-atom-check, window-min-delta)
10614 (window-max-delta, window--resize-this-window)
10615 (window--resize-root-window-vertically, window-tree)
10616 (balance-windows, window-state-put): Rewrite doc-strings as to
10617 not mention the term "subwindow".
10618 (window--resize-subwindows-skip-p): Rename to
10619 window--resize-child-windows-skip-p.
10620 (window--resize-subwindows-normal): Rename to
10621 window--resize-child-windows-normal.
10622 (window--resize-subwindows): Rename to
10623 window--resize-child-windows.
10624 (window-or-subwindow-p): Rename to window--in-subtree-p.
10625
3c6702ef
ML
106262011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10627
10628 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10629 Ensure that mbox format messages end in two newlines (Bug#9974).
10630
49745b39
CY
106312011-11-06 Chong Yidong <cyd@gnu.org>
10632
10633 * window.el (window-combination-p): Function deleted; its
10634 side-effect is not used in any existing code.
10635 (window-combinations, window-combined-p): Call window-*-child
10636 directly.
10637
24300f5f
CY
106382011-11-05 Chong Yidong <cyd@gnu.org>
10639
10640 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10641 (window-size-ignore, window-state-get): Callers changed.
10642 (window-normalize-window): Rename from window-normalize-any-window.
10643 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10644 (window-normalize-live-window): Delete.
447f16b8
CY
10645 (window-combination-p, window-combined-p, window-combinations)
10646 (walk-window-subtree, window-atom-root, window-min-size)
10647 (window-sizable, window-sizable-p, window-size-fixed-p)
10648 (window-min-delta, window-max-delta, window-resizable)
10649 (window-resizable-p, window-full-height-p, window-full-width-p)
10650 (window-current-scroll-bars, window-point-1, set-window-point-1)
10651 (window-at-side-p, window-in-direction, window-resize)
10652 (adjust-window-trailing-edge, maximize-window, minimize-window)
10653 (window-deletable-p, delete-window, delete-other-windows)
10654 (record-window-buffer, unrecord-window-buffer)
10655 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10656 (quit-window, split-window, window-state-put)
10657 (set-window-text-height, fit-window-to-buffer)
10658 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10659
89bd5ee1
EZ
106602011-11-04 Eli Zaretskii <eliz@gnu.org>
10661
53479029
EZ
10662 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10663 rfc2047-decode-string.
10664 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10665 warnings.
10666
89bd5ee1
EZ
10667 * window.el (window-body-height, window-body-width): Mention in
10668 the doc string that the return values are in frame's canonical
10669 units. (Bug#9949)
10670
bd17fdee
AM
106712011-11-03 Alan Mackenzie <acm@muc.de>
10672
10673 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10674 change in cc-engine.el.
10675
acc825c5
SM
106762011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10677
10678 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10679
1885e5b8
MR
106802011-11-02 Martin Rudalics <rudalics@gmx.at>
10681
10682 * window.el (quit-window): Call unrecord-window-buffer after
10683 showing another buffer in the window. (Bug#9937)
acc825c5 10684 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10685
ebe06da9
JB
106862011-11-02 Juanma Barranquero <lekktu@gmail.com>
10687
10688 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10689 Accept status with more than 9 shelves. (Bug#9935)
10690 Reported by Colin D Bennett <colin@gibibit.com>.
10691
4ee88440
MR
106922011-11-01 Martin Rudalics <rudalics@gmx.at>
10693
10694 * help.el (with-help-window): Don't reference
10695 temp-buffer-show-specifiers in doc-string.
10696
08e1d82c
AS
106972011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10698
10699 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10700 menu-item.
10701
84bd6e9e
VJL
107022011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10703
10704 * whitespace.el: New version 13.2.2.
10705 (whitespace-newline-mode): Disable properly. Reported by Sarah
10706 <EmacsWiki>.
10707
dba0634a
UJ
107082011-10-30 Ulf Jasper <ulf.jasper@web.de>
10709
10710 * net/newst-treeview.el: Remove "Time-stamp".
10711 (newsticker--group-manage-orphan-feeds): Do not call
10712 newsticker--treeview-tree-update.
db22a3c2
JB
10713 (newsticker-treeview-update, newsticker-treeview):
10714 Call newsticker--treeview-tree-update if necessary.
dba0634a 10715
3d8daefe
MR
107162011-10-30 Martin Rudalics <rudalics@gmx.at>
10717
10718 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10719 (window-iso-combinations): Remove "iso-" infix.
10720 Suggested by Chong Yidong.
3d8daefe
MR
10721 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10722 (window-max-delta-1, window-resize, window--resize-siblings)
10723 (window--resize-this-window, adjust-window-trailing-edge)
10724 (split-window, balance-windows-1)
10725 (shrink-window-if-larger-than-buffer):
10726 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10727 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10728
1bc4c3ae
SM
107292011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10730
10731 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10732 in place (bug#9907).
10733 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10734 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10735 (eshell-structure-basic-command, eshell-rewrite-while-command)
10736 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10737 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10738 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10739 (eshell-do-pipelines-synchronously, eshell-eval-command):
10740 Use backquotes and prefer setq to set.
10741 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10742 (eshell-macrop): Use functionp.
c1e2f5fa 10743 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10744
30b65d9c
CY
107452011-10-30 Chong Yidong <cyd@gnu.org>
10746
10747 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10748 instead of set-mark (Bug#9810).
10749
2d197ffb
CY
107502011-10-30 Chong Yidong <cyd@gnu.org>
10751
10752 * window.el (split-window-below, split-window-right): Rename from
10753 split-window-above-each-other and split-window-side-by-side
10754 respectively. All callers changed.
10755 (split-window-sensibly, split-window-sensibly): Use them.
10756 (split-window-keep-point): Doc fix.
10757
10758 * isearch.el: Add isearch-scroll property to split-window-below
10759 and split-window-right.
10760
10761 * follow.el (follow-mode):
10762 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10763 * progmodes/ada-xref.el (ada-gdb-application):
10764 * emulation/vip.el (vip-buffer-in-two-windows):
10765 * image-dired.el (image-dired-dired-with-window-configuration):
10766 * dired-x.el (dired-do-find-marked-files):
10767 * dired.el (dired-pop-to-buffer):
10768 * bs.el (bs--show-with-configuration):
10769 * vc/emerge.el (emerge-setup-windows):
10770 * textmodes/two-column.el (2C-two-columns):
10771 * textmodes/reftex-toc.el (reftex-toc):
10772 * progmodes/gdb-mi.el (gdb-setup-windows):
10773 * progmodes/fortran.el (fortran-window-create):
10774 * net/newst-treeview.el (newsticker--treeview-window-init):
10775 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10776 * emulation/tpu-edt.el (tpu-gold-map):
10777 * emulation/crisp.el (crisp-mode-map):
10778 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10779
38bb2ca8
CY
107802011-10-29 Chong Yidong <cyd@gnu.org>
10781
aa4de341
CY
10782 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10783
e1eb5385
CY
10784 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10785
5d2ece3c
CY
10786 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10787 forged Ispell output (Bug#7904).
10788
38bb2ca8
CY
10789 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10790
d0af9f77
SM
107912011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * doc-view.el: Avoid ugly errors about not finding nil.
10794 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10795 (doc-view-dvipdf-program, doc-view-unoconv-program)
10796 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10797 Avoid nil or absolute file name as default value.
10798 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10799
52bedd34
AM
108002011-10-28 Alan Mackenzie <acm@muc.de>
10801
db22a3c2 10802 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10803
7e43cfa5
AM
108042011-10-28 Alan Mackenzie <acm@muc.de>
10805
10806 Amend the handling of c-beginning/end-of-defun in nested declaration
10807 scopes.
10808
52bedd34
AM
10809 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10810 cc-langs.el. Change it to a defcustom.
7e43cfa5 10811
52bedd34
AM
10812 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10813 cc-vars.el.
7e43cfa5 10814
d0af9f77
SM
10815 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10816 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10817
52bedd34 10818 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10819 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10820 (c-widen-to-enclosing-decl-scope): New function.
10821 (c-while-widening-to-decl-block): New macro.
10822 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10823 outward for defun boundaries, and correspondingly change symbol
10824 `respect-enclosure' to `go-outward'.
10825 (c-declaration-limits): Change algorithm to report only the "innermost"
10826 defun's boundaries.
10827
1a2ce9ee
DD
108282011-10-28 Deniz Dogan <deniz@dogan.se>
10829
10830 * net/rcirc.el (rcirc-mode): Use hard newlines.
10831
bc97a826
AM
108322011-10-28 Alan Mackenzie <acm@muc.de>
10833
10834 Amend to indent and fontify macros "which include their own semicolon"
10835 correctly, using the "virtual semicolon" mechanism.
10836
52bedd34 10837 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10838
d0af9f77 10839 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10840 Recode to scan one line at a time rather than having \n and \r
58179cce 10841 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10842 (c-forward-label): Amend for virtual semicolons.
58179cce 10843 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10844
52bedd34
AM
10845 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10846 of the new C macros.
bc97a826 10847
52bedd34 10848 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10849 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10850 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10851 (c-opt-cpp-macro-define): Make into a full language variable.
10852 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10853 AWK Mode (including \n, \r) removed, no longer needed.
10854
d0af9f77
SM
10855 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10856 Invoke c-make-macro-with-semi-re.
bc97a826 10857
52bedd34
AM
10858 * progmodes/cc-vars.el (c-macro-with-semi-re):
10859 (c-macro-names-with-semicolon): New variables.
58179cce 10860 (c-make-macro-with-semi-re): New function.
bc97a826 10861
7a6c0941
SM
108622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * vc/log-edit.el: Fill empty field rather than adding new one.
10865 (log-edit-add-field): New function.
10866 (log-edit-insert-changelog): Use it.
10867
b0c4cdcf
ML
108682011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10869
10870 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10871
ee1f1da9
SM
108722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10873
10874 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10875 (gdb--check-interpreter): New function.
10876 (gdb): Use it.
10877
51bc5f8b
GM
108782011-10-27 Glenn Morris <rgm@gnu.org>
10879
416a2c45
GM
10880 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10881 (least-positive-float, least-negative-float)
10882 (least-positive-normalized-float, least-negative-normalized-float)
10883 (float-epsilon, float-negative-epsilon):
10884 Remove unnecessary declarations.
10885
10886 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10887 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10888 (least-positive-float, least-negative-float)
10889 (least-positive-normalized-float, least-negative-normalized-float)
10890 (float-epsilon, float-negative-epsilon): Add doc-strings,
10891 based on those in cl.texi.
10892
51bc5f8b
GM
10893 * files.el (set-visited-file-name): If the major-mode changed,
10894 reload the local variables. (Bug#9796)
10895
15de15c6
CY
108962011-10-27 Chong Yidong <cyd@gnu.org>
10897
10898 * subr.el (change-major-mode-after-body-hook): New hook.
10899 (run-mode-hooks): Run it.
10900
ee1f1da9
SM
10901 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10902 Use change-major-mode-before-body-hook.
15de15c6
CY
10903
10904 * simple.el (fundamental-mode):
10905 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10906 change introducing fundamental-mode-hook.
10907
5430d399
JB
109082011-10-26 Juanma Barranquero <lekktu@gmail.com>
10909
acc825c5 10910 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10911
ad74a69e
MA
109122011-10-26 Michael Albinus <michael.albinus@gmx.de>
10913
10914 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10915 tramp.el explicitly. (Bug#7583)
ad74a69e 10916
71d4c2a5
SM
109172011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * progmodes/octave-mod.el:
10920 * progmodes/octave-inf.el: Update maintainer.
10921
b1f6fa26
CY
109222011-10-26 Chong Yidong <cyd@gnu.org>
10923
10924 * subr.el (with-wrapper-hook): Rewrite doc.
10925
3f04efd6
MA
109262011-10-25 Michael Albinus <michael.albinus@gmx.de>
10927
10928 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10929 filenames "/method:foo:". (Bug#9793)
3f04efd6 10930
410488d3
SM
109312011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10932
10933 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10934 (bug#9865).
10935
c1ebb47e
GM
109362011-10-24 Glenn Morris <rgm@gnu.org>
10937
10938 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10939
7f5c46c7
MA
109402011-10-24 Michael Albinus <michael.albinus@gmx.de>
10941
10942 * notifications.el: Add the requirement of a running D-Bus session
10943 bus to the Commentary.
10944
db2440b6
JL
109452011-10-24 Juri Linkov <juri@jurta.org>
10946
10947 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10948 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10949 (Bug#9364)
10950
feecf435
JL
109512011-10-24 Juri Linkov <juri@jurta.org>
10952
10953 * info.el (Info-following-node-name-re): Add newline to the list
10954 of allowed characters for leading space. (Bug#9824)
10955
a3839de2
SM
109562011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10957
acc825c5
SM
10958 * progmodes/octave-inf.el (inferior-octave-mode-map):
10959 Fix C-c C-h binding.
a3839de2
SM
10960 * progmodes/octave-mod.el (octave-help): Remove.
10961
09388e76
MA
109622011-10-23 Michael Albinus <michael.albinus@gmx.de>
10963
10964 Sync with Tramp 2.2.3.
10965
10966 * net/tramp-cache.el (top): Pacify byte-compiler using
10967 `init-file-user' and `site-run-file'.
10968
10969 * net/trampver.el: Update release number.
10970
86c60681
CY
109712011-10-23 Chong Yidong <cyd@gnu.org>
10972
10973 * files.el (toggle-read-only): Remove obsolete comment about
10974 version control.
10975
10976 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10977 for toggle-read-only. Note that this hasn't called vc-next-action
10978 since 2008-05-02, though it wasn't documented at the time.
10979
a3839de2
SM
10980 * vc/ediff-init.el (ediff-toggle-read-only-function):
10981 Use toggle-read-only.
86c60681 10982
cd5495ff
AM
109832011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10984
10985 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10986 of c-parse-state.
10987
00b77525 10988 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10989 correct faulty logical expression.
cd5495ff
AM
10990 (c-parse-state-state, c-record-parse-state-state):
10991 (c-replay-parse-state-state): New defvar/defuns.
10992 (c-debug-parse-state): Use new functions.
10993
42ee24ed
MR
109942011-10-22 Martin Rudalics <rudalics@gmx.at>
10995
10996 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 10997 last fix. Use window-in-direction correctly.
42ee24ed 10998
a7dee7e7
CY
109992011-10-21 Chong Yidong <cyd@gnu.org>
11000
11001 * progmodes/idlwave.el (idlwave-mode):
11002 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11003 require-final-newline; that's done in prog-mode.
11004 Suggested by Stefan Monnier.
a7dee7e7 11005
e07b9a6d
MR
110062011-10-21 Martin Rudalics <rudalics@gmx.at>
11007
11008 * mouse.el (mouse-drag-window-above)
11009 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11010 (mouse-drag-mode-line-1, mouse-drag-header-line)
11011 (mouse-drag-vertical-line-rightward-window): Remove.
11012 (mouse-drag-line): New function.
11013 (mouse-drag-mode-line, mouse-drag-header-line)
11014 (mouse-drag-vertical-line): Call mouse-drag-line.
11015 * window.el (window-at-side-p, windows-at-side): New functions.
11016
7e1361d9
UM
110172011-10-21 Ulrich Mueller <ulm@gentoo.org>
11018
11019 * tar-mode.el (tar-grind-file-mode):
11020 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11021
30fcaf3a
CY
110222011-10-21 Chong Yidong <cyd@gnu.org>
11023
11024 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11025 * progmodes/vera-mode.el (vera-mode):
11026 Use mode-require-final-newline.
30fcaf3a 11027
516eddb0
GM
110282011-10-20 Glenn Morris <rgm@gnu.org>
11029
db22a3c2 11030 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11031
10d5f513
CS
110322011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11033
11034 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11035
ac6c8639
CY
110362011-10-20 Chong Yidong <cyd@gnu.org>
11037
11038 * emulation/cua-base.el (cua-mode):
11039 * mail/footnote.el (footnote-mode):
11040 * mail/mailabbrev.el (mail-abbrevs-mode):
11041 * net/xesam.el (xesam-minor-mode):
11042 * progmodes/bug-reference.el (bug-reference-mode):
11043 * progmodes/cap-words.el (capitalized-words-mode):
11044 * progmodes/compile.el (compilation-minor-mode)
11045 (compilation-shell-minor-mode):
11046 * progmodes/gud.el (gud-tooltip-mode):
11047 * progmodes/hideif.el (hide-ifdef-mode):
11048 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11049 * progmodes/subword.el (subword-mode):
11050 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11051 * progmodes/which-func.el (which-function-mode):
11052 * term/tvi970.el (tvi970-set-keypad-mode):
11053 * term/vt100.el (vt100-wide-mode):
11054 * textmodes/flyspell.el (flyspell-mode):
11055 * textmodes/ispell.el (ispell-minor-mode):
11056 * textmodes/nroff-mode.el (nroff-electric-mode):
11057 * textmodes/paragraphs.el (use-hard-newlines):
11058 * textmodes/refill.el (refill-mode):
11059 * textmodes/reftex.el (reftex-mode):
11060 * textmodes/rst.el (rst-minor-mode):
11061 * textmodes/sgml-mode.el (html-autoview-mode)
11062 (sgml-electric-tag-pair-mode):
11063 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11064 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11065 * emulation/crisp.el (crisp-mode):
11066 * emacs-lisp/eldoc.el (eldoc-mode):
11067 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11068 minor mode behavior.
11069
aa42ab43
JL
110702011-10-19 Juri Linkov <juri@jurta.org>
11071
11072 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11073 the list of hard-coded chars with escape-glyph face.
11074
89400f1d
SM
110752011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11076
11077 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11078
305c07f6
MA
110792011-10-19 Michael Albinus <michael.albinus@gmx.de>
11080
11081 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11082 running process.
11083
13754b54
GM
110842011-10-19 Glenn Morris <rgm@gnu.org>
11085
11086 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11087 Ignore ignored files. (Bug#9726)
11088
06e21633
CY
110892011-10-19 Chong Yidong <cyd@gnu.org>
11090
11091 Doc fix for minor modes, stating that an omitted argument enables
11092 the mode unconditionally when called from Lisp.
11093
11094 * abbrev.el (abbrev-mode):
11095 * allout.el (allout-mode):
11096 * autoinsert.el (auto-insert-mode):
11097 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11098 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11099 (global-auto-revert-mode):
11100 * battery.el (display-battery-mode):
11101 * composite.el (global-auto-composition-mode)
11102 (auto-composition-mode):
11103 * delsel.el (delete-selection-mode):
11104 * desktop.el (desktop-save-mode):
11105 * dired-x.el (dired-omit-mode):
11106 * dirtrack.el (dirtrack-mode):
11107 * doc-view.el (doc-view-minor-mode):
11108 * double.el (double-mode):
11109 * electric.el (electric-indent-mode, electric-pair-mode):
11110 * emacs-lock.el (emacs-lock-mode):
11111 * epa-hook.el (auto-encryption-mode):
11112 * follow.el (follow-mode):
11113 * font-core.el (font-lock-mode):
11114 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11115 * help.el (temp-buffer-resize-mode):
11116 * hilit-chg.el (highlight-changes-mode)
11117 (highlight-changes-visible-mode):
11118 * hi-lock.el (hi-lock-mode):
11119 * hl-line.el (hl-line-mode, global-hl-line-mode):
11120 * icomplete.el (icomplete-mode):
11121 * ido.el (ido-everywhere):
11122 * image-file.el (auto-image-file-mode):
11123 * image-mode.el (image-minor-mode):
11124 * iswitchb.el (iswitchb-mode):
11125 * jka-cmpr-hook.el (auto-compression-mode):
11126 * linum.el (linum-mode):
11127 * longlines.el (longlines-mode):
11128 * master.el (master-mode):
11129 * mb-depth.el (minibuffer-depth-indicate-mode):
11130 * menu-bar.el (menu-bar-mode):
11131 * minibuf-eldef.el (minibuffer-electric-default-mode):
11132 * mouse-sel.el (mouse-sel-mode):
11133 * msb.el (msb-mode):
11134 * mwheel.el (mouse-wheel-mode):
11135 * outline.el (outline-minor-mode):
11136 * paren.el (show-paren-mode):
11137 * recentf.el (recentf-mode):
11138 * reveal.el (reveal-mode, global-reveal-mode):
11139 * rfn-eshadow.el (file-name-shadow-mode):
11140 * ruler-mode.el (ruler-mode):
11141 * savehist.el (savehist-mode):
11142 * scroll-all.el (scroll-all-mode):
11143 * scroll-bar.el (scroll-bar-mode):
11144 * server.el (server-mode):
11145 * shell.el (shell-dirtrack-mode):
11146 * simple.el (auto-fill-mode, transient-mark-mode)
11147 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11148 (line-number-mode, column-number-mode, size-indication-mode)
11149 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11150 * strokes.el (strokes-mode):
11151 * time.el (display-time-mode):
11152 * t-mouse.el (gpm-mouse-mode):
11153 * tool-bar.el (tool-bar-mode):
11154 * tooltip.el (tooltip-mode):
11155 * type-break.el (type-break-mode-line-message-mode)
11156 (type-break-query-mode):
11157 * view.el (view-mode):
11158 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11159 (global-whitespace-mode, global-whitespace-newline-mode):
11160 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11161
a3839de2
SM
11162 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11163 Fix autogenerated docstring.
06e21633 11164
5214e501
JL
111652011-10-19 Juri Linkov <juri@jurta.org>
11166
11167 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11168 by checking environment variables "DESKTOP_SESSION" and
11169 "XDG_CURRENT_DESKTOP". (Bug#9779)
11170
195f8db9
JL
111712011-10-19 Juri Linkov <juri@jurta.org>
11172
11173 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11174 (browse-url-chromium-program, browse-url-chromium-arguments):
11175 New defcustoms.
11176 (browse-url-default-browser): Check for `browse-url-chromium' and
11177 call `browse-url-chromium-program'.
11178 (browse-url-chromium): New command. (Bug#9779)
11179
343a34ff
JB
111802011-10-18 Juanma Barranquero <lekktu@gmail.com>
11181
11182 * facemenu.el (list-colors-duplicates): On Windows, detect more
11183 duplicates by assuming that only colors matching "^System" are
11184 special "system colors". (Bug#9722)
11185
6978a151
SM
111862011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11187
11188 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11189 to distinguish the author from the committer.
11190
6a80b297
MA
111912011-10-18 Michael Albinus <michael.albinus@gmx.de>
11192
11193 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11194
b31a5677
JK
111952011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11196
11197 * international/mule.el (sgml-html-meta-auto-coding-function):
11198 Add support for detecting encoding in HTML5 specified only as
11199 <meta charset="UTF-8">. Implementation just makes http-equiv and
11200 content-type parts from HTML4 encoding string optional. (Bug#9716)
11201
80c6d77f
GM
112022011-10-18 Glenn Morris <rgm@gnu.org>
11203
11204 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11205
08b0fee8
CY
112062011-10-18 Chong Yidong <cyd@gnu.org>
11207
11208 * faces.el (cursor): Doc fix.
11209
67e729a5
CY
112102011-10-17 Chong Yidong <cyd@gnu.org>
11211
11212 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11213
343a34ff 112142011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11215
11216 * dirtrack.el (dirtrack): Support shell buffers with path
11217 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11218
0bc06380
TZ
112192011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11220
11221 * json.el: Bump version to 1.3 and note change in History.
11222 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11223
8b79f3e0
SM
112242011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11225
5a7c536b
SM
11226 * comint.el (comint-insert-input, comint-send-input)
11227 (comint-get-old-input-default, comint-backward-matching-input)
11228 (comint-next-prompt): Use nil instead of `input' for field property of
11229 past user input (bug#114).
11230
96a8a0df
SM
11231 * minibuffer.el (completion--replace): Inherit surrounding properties
11232 (bug#114).
11233 (minibuffer-complete-and-exit): Use it.
11234
8b79f3e0
SM
11235 * comint.el (comint--table-subvert): Quote the all-completions output
11236 (bug#9160).
11237
b8f7ff0d
MR
112382011-10-17 Martin Rudalics <rudalics@gmx.at>
11239
8b79f3e0 11240 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11241
b8f7ff0d 11242 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11243 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11244 entries and separate them from frame entries.
11245
c235b555
GM
112462011-10-15 Glenn Morris <rgm@gnu.org>
11247
11248 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11249 Doc fixes.
11250
6bbfa6e1
CY
112512011-10-15 Chong Yidong <cyd@stupidchicken.com>
11252
8b79f3e0
SM
11253 * net/network-stream.el (network-stream-open-starttls):
11254 Improve detection of failure due to lack of TLS support.
ec5c990d 11255
6bbfa6e1
CY
11256 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11257 putting the input text in front and in bold.
11258
98488977
SM
112592011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11260
3d1337be
SM
11261 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11262
ee0b45e4
SM
11263 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11264 empty buffer.
11265
98488977
SM
11266 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11267 unread-command-events rather than pushing yet-another event.
11268
186f4720
EZ
112692011-10-14 Eli Zaretskii <eliz@gnu.org>
11270
11271 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11272 the explanation of the possible choices. Make the options passed
11273 to completing-read shorter.
11274
8b7a997c
AM
112752011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11276
11277 * textmodes/flyspell.el (flyspell-large-region): Make sure
11278 extended character mode is used if defined (Bug#1339).
11279
12587bbb
EZ
112802011-10-13 Eli Zaretskii <eliz@gnu.org>
11281
11282 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11283 character info for LRE, LRO, RLE, and RLO characters by appending
11284 an invisible PDF.
12587bbb 11285
bad41229
SM
112862011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11287
11288 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11289 even in case of error; add debug spec; simplify data flow.
11290 (with-timeout-handler): Remove.
11291
28dbc92f
MA
112922011-10-12 Michael Albinus <michael.albinus@gmx.de>
11293
11294 Fix Bug#6019, Bug#9315.
11295
11296 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11297 complete `buffer-file-name', the local file name part could look
11298 remotely (for example on VMS).
11299
11300 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11301 `tramp-run-real-handler'.
11302 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11303 already quoted by '"'.
11304
11305 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11306 Let `file-name-handler-alist' be nil, the local file name part
11307 could look remotely (for example on VMS).
11308
e1b0b23a
SM
113092011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11310
11311 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11312 from here...
11313 (flyspell-post-command-hook): ...to here.
11314
a120bde9
SM
113152011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11316
11317 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11318 if not needed.
11319 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11320 using completion. Protect against "slow" callers.
11321 Remove the "message hack".
11322
7ce7717b
JL
113232011-10-11 Juri Linkov <juri@jurta.org>
11324
11325 * isearch.el (isearch-lazy-highlight-word): New variable.
11326 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11327 Use it. (Bug#9727)
11328
c02ee9d6
GM
113292011-10-11 Glenn Morris <rgm@gnu.org>
11330
11331 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11332 like f90-previous-statement does.
11333
93e616fd 113342011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11335
1f190e73 11336 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11337 only in interactive use, to avoid error.
11338
af7b6078
SM
113392011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * minibuffer.el (completion-file-name-table): Fix last change,
11342 i.e. ignore normal errors but not the other ones.
11343
0563dae9
MR
113442011-10-10 Martin Rudalics <rudalics@gmx.at>
11345
11346 * window.el (special-display-buffer-names)
11347 (special-display-regexps): Remove some remnants of earlier
11348 changes from doc-strings.
366ca7f3
MR
11349 (quit-windows-on): New function.
11350
11351 * vc/vc.el (vc-revert, vc-rollback):
11352 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11353 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11354 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11355
49677495
MR
113562011-10-09 Martin Rudalics <rudalics@gmx.at>
11357
11358 * window.el (frame-auto-hide-function): Add version tag.
11359 (Bug#9699)
11360
56f2d1e1
MA
113612011-10-09 Michael Albinus <michael.albinus@gmx.de>
11362
11363 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11364 condition.
11365
112a6592
LL
113662011-10-09 Leo Liu <sdl.web@gmail.com>
11367
11368 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11369 (Bug#9701)
11370
0812589b
GM
113712011-10-08 Glenn Morris <rgm@gnu.org>
11372
11373 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11374 before the first code statement zero indent. (Bug#9690)
11375
b2b0776e
CY
113762011-10-08 Chong Yidong <cyd@stupidchicken.com>
11377
11378 * simple.el (count-words-region): Always count in the region.
11379 Report the number of lines and characters too.
11380 (count-words): New command, which counts in the buffer if the
11381 region is inactive, as count-words-region used to.
11382 (count-words--message): New function. Handle plurals.
11383 (count-lines-region): Make it an alias for count-words-region.
11384
11385 * bindings.el (esc-map): Replace count-lines-region with
11386 count-words-region.
11387
c557cd6b
MR
113882011-10-08 Martin Rudalics <rudalics@gmx.at>
11389
11390 * window.el (window--delete): Delete dedicated frame
11391 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11392 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11393
61a57ef4 113942011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11395
3a7d293b 11396 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11397
c3833279
CY
113982011-10-07 Chong Yidong <cyd@stupidchicken.com>
11399
11400 * bindings.el ([M-left],[M-right]): Bind to left-word and
11401 right-word respectively.
11402
21ce8245
GM
114032011-10-07 Glenn Morris <rgm@gnu.org>
11404
11405 * cus-start.el (debug-on-quit): Fix custom type.
11406
6d823bb2
LMI
114072011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11408
0181e193
LMI
11409 * subr.el (define-key-after): Clarify that the function is not
11410 useful for non-menu keymaps.
11411
6d823bb2
LMI
11412 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11413
8e3459ce 114142011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11415
21ce8245 11416 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11417 in current minibuffer (Fix bug with recursive minibuffers).
11418
a1c2d21e
CY
114192011-10-06 Chong Yidong <cyd@stupidchicken.com>
11420
11421 * progmodes/gdb-mi.el (gdb): Doc fix.
11422
5a4cf282
MR
114232011-10-05 Martin Rudalics <rudalics@gmx.at>
11424
11425 * window.el (frame-auto-hide-function): New option replacing
11426 frame-auto-delete. Suggested by Stefan Monnier.
11427 (window--delete): Call frame-auto-hide-function instead of
11428 investigating frame-auto-delete.
c96111ea
MR
11429 (window-point-1, set-window-point-1): New functions.
11430 (window-in-direction, record-window-buffer, window-state-get-1)
11431 (display-buffer-record-window): Use window-point-1 instead of
11432 window-point.
11433 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11434
9854542e
SM
114352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11436
11437 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11438
8943cfb0
GM
114392011-10-05 Glenn Morris <rgm@gnu.org>
11440
11441 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11442 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11443
647ab967
LL
114442011-10-05 Leo Liu <sdl.web@gmail.com>
11445
11446 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11447 works with buffer object.
11448
3ddfbced
SM
114492011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * mpc.el (mpc-tool-bar-map): Add labels.
11452
bdfa5dd2
GM
114532011-10-04 Glenn Morris <rgm@gnu.org>
11454
11455 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11456
0e2070b5
MR
114572011-10-04 Martin Rudalics <rudalics@gmx.at>
11458
11459 * window.el (window--delete): New function.
11460 (frame-auto-delete): Resuscitate option.
11461 (bury-buffer, replace-buffer-in-windows)
11462 (quit-window): Rewrite using window--delete.
11463 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11464 Pass display-buffer-mark-dedicated to window--display-buffer-2
11465 (Bug#9639).
11466
3dc61a09
SM
114672011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11468
915a9b64
SM
11469 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11470 returns a list (bug#9554). Add remote file name completion.
11471 * comint.el (comint--table-subvert): Curry and get quote&unquote
11472 functions as arguments.
11473 (comint--complete-file-name-data): Adjust call accordingly.
11474 * pcomplete.el (pcomplete--table-subvert): Remove.
11475 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11476
3dc61a09
SM
11477 * minibuffer.el (completion-table-case-fold): Use currying.
11478 (completion--styles-type, completion--cycling-threshold-type):
11479 New constants.
11480 (completion-styles, completion-category-overrides)
11481 (completion-cycle-threshold): Use them.
11482 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11483 completion-table-case-fold.
11484
8ea0a993
SB
114852011-10-03 Stephen Berman <stephen.berman@gmx.net>
11486
11487 * minibuffer.el (completion-category-overrides): Fix type of styles
11488 and add more user friendly tags (bug#9660).
11489
8c24b7f6
SM
114902011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11491
11492 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11493 (mule-input-method-string): New widget.
11494 (default-input-method, language-info-custom-alist): Use it.
11495
428fe61a
SM
114962011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11497
32c1fffd
SM
11498 * pcomplete.el: Require comint.
11499 (pcomplete--common-suffix): Remove.
11500 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11501 (pcomplete--table-subvert): Sync with comint--table-subvert.
11502 (pcomplete--entries): Use comint-completion-file-name-table.
11503 * comint.el (comint-unquote-filename): Simplify.
11504 (comint-completion-file-name-table): New function (bug#9616).
11505 (comint--complete-file-name-data): Use it.
11506
428fe61a
SM
11507 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11508 (pcmpl-gnu-tar-buffer): Remove.
11509 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11510 around. Make sure pcomplete-suffix-list is only changed temporarily.
11511 Don't look inside the tar's file if it's too large.
428fe61a 11512
04c52e2f
CY
115132011-10-01 Chong Yidong <cyd@stupidchicken.com>
11514
ce3cefcc
CY
11515 * cus-edit.el (custom-mode-map):
11516 * epa.el (epa-key-list-mode-map):
11517 * man.el (Man-mode-map):
11518 * startup.el (splash-screen-keymap):
11519 * simple.el (special-mode-map): Use scroll-up-command and
11520 scroll-down-command.
11521
11522 * progmodes/idlw-help.el (idlwave-help-mode-map):
11523 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11524 * net/newst-plainview.el (newsticker-mode-map):
11525 * emulation/ws-mode.el (wordstar-mode-map):
11526 * emulation/vi.el (vi-com-map):
11527 * calc/calc-graph.el (calc-graph-show-dumb):
11528 * term/sun.el (terminal-init-sun):
11529 * term/ns-win.el (global-map):
11530 * progmodes/grep.el (grep-mode-map):
11531 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11532 * mail/rmail.el (rmail-mode-map):
11533 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11534
04c52e2f
CY
11535 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11536 custom-safe-themes as special.
11537
79adf8c8
JD
115382011-10-01 Julien Danjou <julien@danjou.info>
11539
11540 * notifications.el (notifications-notify): Fix docstring.
11541
63bd50d3
PS
115422011-10-01 Per Starbäck <per@starback.se>
11543
11544 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11545
199e4c7e
MR
115462011-09-30 Martin Rudalics <rudalics@gmx.at>
11547
11548 * startup.el (command-line-1): Fix last fix by inserting
11549 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11550 (Bug#9605) and (Bug#9636)
199e4c7e 11551
fe5f08dd
EZ
115522011-09-29 Eli Zaretskii <eliz@gnu.org>
11553
11554 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11555 window is hscrolled, move by logical lines. (Bug#9607)
11556 (line-move-visual): Update the doc string to the above effect.
11557
b5516bbd
MR
115582011-09-29 Martin Rudalics <rudalics@gmx.at>
11559
ccee00c0
MR
11560 * window.el (display-buffer-record-window): When WINDOW is the
11561 selected window use `point' instead of `window-point'. (Bug#9626)
11562
b5516bbd
MR
11563 * startup.el (command-line-1): Use insert-before-markers when
11564 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11565
b5516bbd
MR
11566 * help.el (help-window): Remove variable.
11567
52aa0014
GM
115682011-09-29 Glenn Morris <rgm@gnu.org>
11569
11570 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11571
df9a7357
JB
115722011-09-29 Juanma Barranquero <lekktu@gmail.com>
11573
11574 * descr-text.el (describe-char-categories): Accept category
11575 descriptions more than one line long.
11576
a8406c20
SM
115772011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11578
88d9610c
SM
11579 * simple.el (delete-trailing-whitespace): Fix last change.
11580
a5daf810
SM
11581 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11582 Don't confuse "y => 3" as the beginning of a `y' operation.
11583
a8406c20
SM
11584 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11585 object has more than 4 slots (bug#9613).
11586
a239d4e9
JB
115872011-09-28 Juanma Barranquero <lekktu@gmail.com>
11588
11589 * subr.el (with-output-to-temp-buffer):
11590 * net/quickurl.el (quickurl, quickurl-browse-url):
11591 Fix typos in docstrings.
11592
693fbdb6
EZ
115932011-09-27 Eli Zaretskii <eliz@gnu.org>
11594
11595 * minibuffer.el (completion-styles)
11596 (completion-category-overrides): Cross reference each other in doc
11597 strings.
11598
8b457e28
GM
115992011-09-27 Glenn Morris <rgm@gnu.org>
11600
11601 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11602 to split-string. (Bug#9606)
11603
85a16208
LMI
116042011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11605
11606 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11607 (bug#9615).
11608
502f9ebd
CY
116092011-09-27 Chong Yidong <cyd@stupidchicken.com>
11610
11611 * emacs-lisp/package.el (list-packages): Fix echo area message.
11612
7690bdea
LL
116132011-09-27 Leo Liu <sdl.web@gmail.com>
11614
11615 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11616
e2ee6f30
MA
116172011-09-25 Michael Albinus <michael.albinus@gmx.de>
11618
11619 * net/dbus.el (dbus-unregister-object): Don't release services for
11620 registered signals. (Bug#9581)
11621
f3f98342
TZ
116222011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11623
11624 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11625 function that picks between cfengine 2 and 3 support
11626 automatically. Update docs accordingly.
11627
dd7aa8dd
KH
116282011-09-22 Kenichi Handa <handa@m17n.org>
11629
11630 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11631 ZERO.
11632 (indian-itrans-v5-table-for-tamil): New variable.
11633 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11634
3f2b07f8
KM
116352011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11636
11637 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11638 that's true if the current command involved collapsing of text.
11639 It's reset to false at the beginning of the next command.
11640 (allout-post-command-business): Move the cursor to the beginning
11641 of entry if the cursor is hidden and collapsing activity just
11642 happened.
11643
371d6a61
CY
116442011-09-24 Chong Yidong <cyd@stupidchicken.com>
11645
11646 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11647 tracking (Bug#9541).
11648
2ac2721a
UJ
116492011-09-24 Ulf Jasper <ulf.jasper@web.de>
11650
11651 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11652 (newsticker-show-news): Automatically load html rendering package
11653 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11654 because w3m-fill-column is let-bound" and the error "Symbol's value
11655 as variable is void: w3m-fill-column".
2ac2721a 11656
fac7ae53
MA
116572011-09-24 Michael Albinus <michael.albinus@gmx.de>
11658
11659 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11660 Release services only if they are defined. (Bug#9581)
11661
e08b633b
RS
116622011-09-23 Richard Stallman <rms@gnu.org>
11663
e488d29c
RS
11664 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11665 distinguish start of paragraph from start of its text.
11666
19c38752
RS
11667 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11668
e08b633b
RS
11669 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11670 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11671 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11672
0a39f27e
AS
116732011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11674
11675 * international/mule-diag.el (mule-diag): Insert a newline after
11676 each fontset description.
11677
db4e950d
SM
116782011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 * simple.el (delete-trailing-whitespace):
11681 Document last change; simplify.
11682
eca3f3ea
PW
116832011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11684
d68e189a
PW
11685 * simple.el (delete-trailing-whitespace): Also delete
11686 extra newlines at the end of the buffer.
11687
eca3f3ea
PW
11688 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11689 (picture-newline): Use forward-line so as to ignore fields.
11690
01c157cc
SM
116912011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11692
11693 * subr.el (with-wrapper-hook): Fix edebug spec.
11694
022de23e
LMI
116952011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11696
11697 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11698 (bug#4538).
11699
91683089
MA
117002011-09-23 Michael Albinus <michael.albinus@gmx.de>
11701
eca3f3ea
PW
11702 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11703 Fix nasty bug using wrong cached values.
91683089 11704
5bdd6fa4
AM
117052011-09-23 Alan Mackenzie <acm@muc.de>
11706
11707 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11708
97adfb97
CY
117092011-09-23 Chong Yidong <cyd@stupidchicken.com>
11710
11711 * window.el (pop-to-buffer): Ensure right window is selected if we
11712 chose another frame.
11713
d4ef2b50
EZ
117142011-09-22 Eli Zaretskii <eliz@gnu.org>
11715
11716 * simple.el (what-cursor-position): Use get-char-property-change
11717 and next-single-char-property-change, to be able to show display
11718 properties that come from overlays as well as text properties.
11719
72258fe5
CY
117202011-09-22 Chong Yidong <cyd@stupidchicken.com>
11721
11722 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11723
11724 * cmuscheme.el (run-scheme, switch-to-scheme):
11725 * cus-edit.el (customize-group, custom-buffer-create)
11726 (customize-browse):
11727 * info.el (info):
11728 * shell.el (shell):
11729 * mail/sendmail.el (mail):
11730 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11731
8f098516
RS
117322011-09-22 Richard Stallman <rms@gnu.org>
11733
11734 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11735 move back only to line beg, don't move back over blank lines.
11736
e74f1bb6
MA
117372011-09-22 Michael Albinus <michael.albinus@gmx.de>
11738
11739 * files.el (copy-directory): Set directory attributes only in case
11740 they could be retrieved from the source directory. (Bug#9565)
11741
bfeef8b6
DK
117422011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11743
11744 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11745 (hs-find-block-beginning, hs-hide-level-recursive):
11746 Ignore strings as well as comments. (Bug#9502)
11747
7e423bb8
AS
117482011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11749
11750 * progmodes/sql.el (sql-comint-postgres):
11751 Convert port number to a string. (Bug#9566)
11752
b4d72fcf
MR
117532011-09-22 Martin Rudalics <rudalics@gmx.at>
11754
11755 * window.el (quit-window): Undedicate window when switching to
11756 previous buffer. Reported by Thierry Volpiatto
11757 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11758 (special-display-popup-frame): When popping up a new frame reset
11759 its previous buffers to nil. Simplify code.
b4d72fcf 11760
a7b88dc6
MA
117612011-09-21 Michael Albinus <michael.albinus@gmx.de>
11762
11763 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11764 and process filter, as done also in `shell-command'.
11765
cf4eacfd
MR
117662011-09-21 Martin Rudalics <rudalics@gmx.at>
11767
eca3f3ea 11768 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11769 Call set-window-start with NOFORCE argument t.
11770 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11771 (quit-window): Reword doc-string. Handle new format of
11772 quit-restore parameter. Don't delete window if it has a
11773 previous buffer we can show instead of the present one.
11774 (display-buffer-record-window): Rewrite using a new format for
11775 the quit-restore window parameter
11776 (special-display-popup-frame, display-buffer-same-window)
11777 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11778 (display-buffer-pop-up-window, display-buffer-use-some-window):
11779 Adapt symbol passed to display-buffer-record-window.
11780 * help.el (help-window-setup): Handle new format of quit-restore
11781 parameter.
11782
8d28cb95
SM
117832011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11784
94ab793f
SM
11785 * faces.el (face-list): Fix docstring (bug#9564).
11786
8d28cb95
SM
11787 * window.el (display-buffer--action-function-custom-type):
11788 Don't include internal functions in the Custom interface.
11789
3820edeb
JL
117902011-09-20 Juri Linkov <juri@jurta.org>
11791
11792 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11793 (Info-forward-node, Info-backward-node, Info-next-preorder)
11794 (Info-last-preorder): Use it. (Bug#9528)
11795
5147931d
JL
117962011-09-20 Juri Linkov <juri@jurta.org>
11797
11798 * info.el (Info-last-preorder): Visit last menu item only when
11799 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11800
cf499a1a
JD
118012011-09-20 Julien Danjou <julien@danjou.info>
11802
11803 * password-cache.el (password-cache-remove): Remove entries even if the
11804 value is nil, so that password with a nil value (negative caching) is
11805 possible to invalidate.
11806
f84e2fe2
LM
118072011-09-20 Lawrence Mitchell <wence@gmx.li>
11808
11809 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11810 all whitespace around breakpoint. (Bug#9553)
11811 (f90-find-breakpoint): Only break at whitespace inside a comment.
11812
78054a46
SM
118132011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11814
11815 * minibuffer.el (completion-file-name-table): Keep track of errors.
11816 (completion-table-with-predicate): Handle the case where pred1 is nil.
11817 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11818
345083b2
SM
118192011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11820
e24e27be
SM
11821 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11822 (debugger-return-value): Signal an error if the debugging context does
11823 not await any return value.
11824
345083b2
SM
11825 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11826 * image-mode.el (image-toggle-display-text)
11827 (image-toggle-display-image): Stay away from evil `intangible'.
11828
08d355e3
LL
118292011-09-19 Leo Liu <sdl.web@gmail.com>
11830
11831 * replace.el (occur-revert-arguments): Make it permanent-local.
11832 (occur-mode): Don't call font-lock-defontify.
11833
f01da43f
CY
118342011-09-19 Chong Yidong <cyd@stupidchicken.com>
11835
11836 * net/ldap.el (ldap-search-internal): Don't push empty search
11837 result (Bug#9508).
11838
b6072fa6
SM
118392011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11842
443d6696
MA
118432011-09-19 Michael Albinus <michael.albinus@gmx.de>
11844
11845 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11846 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11847
7cc6e154
JL
118482011-09-18 Juri Linkov <juri@jurta.org>
11849
11850 * buff-menu.el (Buffer-menu-mode-map):
11851 * dired.el (dired-mode-map):
11852 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11853 (lisp-interaction-mode-map):
11854 * emacs-lisp/package.el (package-menu-mode-map):
11855 * epa.el (epa-key-list-mode-map):
11856 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11857 (menu-bar-options-menu):
11858 * outline.el (outline-mode-menu-bar-map):
11859 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11860 * vc/vc-dir.el (vc-dir-menu-map):
11861 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11862 Capitalize non-function content words in menu item strings.
11863
11864 * dired.el (dired-mode-map): Add menu item for
11865 `image-dired-dired-toggle-marked-thumbs'.
11866
80302a81
JL
118672011-09-18 Juri Linkov <juri@jurta.org>
11868
11869 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11870 to `isearch-case-fold-search' and restore its original value
11871 after the `isearch-mode' call.
11872
46c5cf66
JL
118732011-09-18 Juri Linkov <juri@jurta.org>
11874
11875 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11876 because `zgrep' returns 1 for successful matches (bug#9226).
11877
d18b513b
JL
118782011-09-18 Juri Linkov <juri@jurta.org>
11879
11880 * info.el (Info-extract-menu-node-name): Check the second match
11881 for empty string (second test-case of bug#9528).
11882 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11883 intermediate nodes to the history (first test-case of bug#9528).
11884
72753f87
JL
118852011-09-18 Juri Linkov <juri@jurta.org>
11886
11887 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11888 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11889
c9384295
JL
118902011-09-18 Juri Linkov <juri@jurta.org>
11891
1154d12e
JB
11892 * info.el (Info-file-supports-index-cookies):
11893 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11894 outputs one more line for long file names (bug#4142).
c9384295 11895
d473dce8
CY
118962011-09-18 Chong Yidong <cyd@stupidchicken.com>
11897
11898 * newcomment.el (comment-normalize-vars): If prompting for
11899 comment-start, set comment-start-skip too (Bug#8424).
11900
2176854d
JB
119012011-09-18 Johan Bockgård <bojohan@gnu.org>
11902
11903 * icomplete.el: Fix previous fix of Bug#5849.
11904 (icomplete-mode): Don't set completion-show-inline-help.
11905 (icomplete-minibuffer-setup): Set completion-show-inline-help
11906 locally during icompletion.
11907
3aace4e4
CY
119082011-09-18 Chong Yidong <cyd@stupidchicken.com>
11909
c940224f
CY
11910 * woman.el (woman2-process-escapes): Don't delete unrecognized
11911 escapes (Bug#7843).
11912
3aace4e4
CY
11913 * files.el (inhibit-first-line-modes-regexps): Add image files.
11914 (hack-local-variables-prop-line): Return nil for malformed
11915 prop-lines (Bug#9044).
11916
710dec63
MA
119172011-09-18 Michael Albinus <michael.albinus@gmx.de>
11918
11919 * net/tramp.el (top): Don't require 'shell.
11920 (tramp-methods): Fix docstring.
11921 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11922 Return complete remote file name. Handle "smb" case.
11923 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11924 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11925
11926 * net/tramp-compat.el (top): Require 'shell.
11927
11928 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11929 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11930 `tramp-current-host'.
11931 (tramp-get-remote-tmpdir): Remove.
11932
11933 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11934 `tramp-tmpdir' entries.
11935 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11936 (tramp-smb-handle-file-attributes): Ignore errors.
11937 (tramp-smb-wait-for-output): Check also for process end.
11938
5d5ac8ec
LMI
119392011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11940
11941 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11942 when sending QUIT (bug#9312).
11943
8c0f49f0
CY
119442011-09-17 Chong Yidong <cyd@stupidchicken.com>
11945
11946 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11947 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11948 occur-mode-display-occurrence.
11949 (occur-edit-mode): Add usage message.
11950 (occur-cease-edit): New command.
11951 (occur-after-change-function): Use text properties to find the
11952 position of the prefix text.
11953 (occur-engine): Set stickiness of prefix text properties.
11954
8f1383f7
GM
119552011-09-17 Glenn Morris <rgm@gnu.org>
11956
11957 * progmodes/etags.el (complete-tag):
11958 Fix call to completion-in-region. (Bug#9526)
11959
744ba0e3
JL
119602011-09-17 Juri Linkov <juri@jurta.org>
11961
11962 * textmodes/ispell.el (ispell-word): Add to the error message
11963 the word, ispell program name and current dictionary (bug#9121).
11964 (ispell-tex-arg-end): Capitalize "error" in the error message.
11965
d9bbf400
AS
119662011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11967
11968 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11969 check. (Bug#4251)
11970
8da11505
JL
119712011-09-17 Juri Linkov <juri@jurta.org>
11972
11973 * window.el (window-safe-min-height, window-safe-min-width):
11974 Fix typos (followup to bug#9522).
11975
a91adc7e
SJ
119762011-09-17 Sven Joachim <svenjoac@gmx.de>
11977
11978 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11979
064f328a
EZ
119802011-09-16 Eli Zaretskii <eliz@gnu.org>
11981
11982 * simple.el (line-move): If goal-column is set, move by logical
11983 lines, not by display lines. (Bug#971)
11984 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11985 to reflect the above change.
11986
e69df516
SM
119872011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * image.el (imagemagick-register-types): Use regexp-opt.
11990
cbb0f9ab
CY
119912011-09-15 Chong Yidong <cyd@stupidchicken.com>
11992
11993 * window.el (display-buffer-base-action): Rename from
11994 display-buffer-default-action. Make default value empty.
11995 (display-buffer-overriding-action): Convert to defvar.
11996 (display-buffer-fallback-action): New var.
11997
25322144
CY
119982011-09-15 Chong Yidong <cyd@stupidchicken.com>
11999
12000 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12001 declaration.
12002 (package--add-to-archive-contents): If there is a duplicate entry
12003 with an older version, remove it.
12004 (package-menu-mark-delete, package-menu-mark-install)
12005 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12006 (package-menu-mark-obsolete-for-deletion):
12007 Use package-menu-get-status instead of a regexp search.
25322144
CY
12008 (package-menu-get-status): Use tabulated-list-entry.
12009 (package-menu-mark-upgrades): New command.
d770725a 12010 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12011 (package-menu-execute): Do installation before deletion.
12012 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12013 instead of checking major-mode.
12014 (package-menu--find-upgrades): New function.
12015
7520339c
LMI
120162011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12017
12018 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12019 passwords in the log buffer.
65a046c4
LMI
12020 (smtpmail-process-filter): Update the process marker so that the
12021 "broken by peer" status message is inserted in the right place.
7520339c 12022
d3c30954
SM
120232011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12024
3fe48822
SM
12025 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12026 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12027 bibtex-completion-at-point-function.
12028 (bibtex-completion-at-point-function): Use them.
12029
1b8b3954
SM
12030 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12031
d3c30954
SM
12032 * mpc.el (mpc-constraints-tag-lookup): New function.
12033 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12034 also to browser "album|playlist".
12035
72779976
JL
120362011-09-14 Juri Linkov <juri@jurta.org>
12037
12038 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12039 (isearch-edit-string): Use length of `isearch-string' when
12040 `isearch-fail-pos' returns nil.
12041 (isearch-message): Remove duplicate code and call
12042 `isearch-fail-pos' with arg `t'.
12043
a0bf2bcd
CY
120442011-09-14 Chong Yidong <cyd@stupidchicken.com>
12045
17bb0a2d
CY
12046 * replace.el (occur-mode-goto-occurrence): Don't force using other
12047 window (Bug#9499).
12048
a0bf2bcd
CY
12049 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12050
f678e0b6
MR
120512011-09-14 Martin Rudalics <rudalics@gmx.at>
12052
12053 * window.el (display-buffer-window): Remove.
12054 (display-buffer-record-window): Use help-setup window parameter
12055 instead of variable display-buffer-window.
12056 (display-buffer-function, special-display-buffer-names)
12057 (special-display-function): Mention help-setup parameter instead
12058 of display-buffer-window in doc-string.
d3c30954
SM
12059 * help.el (help-window-setup): New argument help-window.
12060 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12061 Reword some messages.
12062 (with-help-window): Pass window used for displaying the buffer
12063 to help-window-setup. Don't set display-buffer-window.
12064
8e39b2e8
GM
120652011-09-13 Glenn Morris <rgm@gnu.org>
12066
12067 * emacs-lisp/debug.el (debugger-make-xrefs):
12068 Preserve point. (Bug#9462)
12069
85e9c04b
CY
120702011-09-13 Chong Yidong <cyd@stupidchicken.com>
12071
12072 * window.el (window-deletable-p): Use next-frame.
12073
1b36ed6a
MR
120742011-09-13 Martin Rudalics <rudalics@gmx.at>
12075
12076 * window.el (window-auto-delete): Remove.
12077 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12078 dedication and previous buffers.
1b36ed6a
MR
12079 (switch-to-prev-buffer): Don't delete window.
12080 (delete-windows-on): Delete a window's frame if and only if the
12081 window is dedicated.
12082 (replace-buffer-in-windows): Delete buffer's window or frame if
12083 and only if window is dedicated.
12084 (quit-window): Handle quit-restore as before last change.
4d61f28d 12085 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12086
ef8ef9fb
CY
120872011-09-13 Chong Yidong <cyd@stupidchicken.com>
12088
12089 * window.el (window-deletable-p): Never delete the last frame on a
12090 given terminal.
12091
b2cba41e
GM
120922011-09-13 Glenn Morris <rgm@gnu.org>
12093
12094 * help.el (describe-key-briefly): Copy previous standard-output change.
12095
51553db6 120962011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12097
12098 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12099
b7556719
GM
121002011-09-13 Glenn Morris <rgm@gnu.org>
12101
12102 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12103 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12104
64b51947
CY
121052011-09-12 Chong Yidong <cyd@stupidchicken.com>
12106
12107 * dired-aux.el (dired-mark-read-string): Don't return default
12108 value on empty input (Bug#9361).
12109 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12110 Omit initial minibuffer contents.
12111 (dired-do-chmod): Signal an error on empty input.
12112 (dired-mark-read-string): Don't return default on empty input.
12113
12114 * files.el (file-modes-symbolic-to-number): Doc fix.
12115
393a301e
SM
121162011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * international/mule-cmds.el (ucs-completions): Remove.
12119 (read-char-by-name): Use complete-with-action instead; add metadata.
12120
fa5660f9
CY
121212011-09-11 Chong Yidong <cyd@stupidchicken.com>
12122
12123 * window.el (display-buffer--action-function-custom-type)
12124 (display-buffer--action-custom-type): New vars.
12125 (display-buffer-alist, display-buffer-default-action)
12126 (display-buffer-overriding-action): Add defcustom types.
12127
4a592f66
CY
12128 * frame.el (delete-other-frames): Doc fix (Bug#276).
12129
73d56dbd
LMI
121302011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12131
12132 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12133
37ac18a3
CY
121342011-09-11 Chong Yidong <cyd@stupidchicken.com>
12135
12136 Change modes that used same-window-* vars to use switch-to-buffer.
12137
12138 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12139 Use switch-to-buffer.
12140
12141 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12142 (customize-browse, custom-buffer-create-other-window):
12143 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12144
12145 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12146 (Info-prev, Info-up, Info-speedbar-goto-node)
12147 (info-display-manual): Use switch-to-buffer.
12148 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12149
12150 * mail/sendmail.el (mail): Use switch-to-buffer.
12151 (mail-recover): Use switch-to-buffer-other-window.
12152
12153 * cmuscheme.el (run-scheme, switch-to-scheme):
12154 * ielm.el (ielm):
12155 * shell.el (shell):
12156 * net/rlogin.el (rlogin):
12157 * net/telnet.el (telnet, rsh):
12158 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12159
10195bd6
AS
121602011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12161
12162 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12163
b322f63a
LMI
121642011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12165
39d7fed6
LMI
12166 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12167 so don't mention it (bug#9301).
ba5a81f1 12168 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12169
ee0e9f11
LMI
12170 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12171 match `x', `w32' and `ns', like the manual says (bug#9029).
12172
0b1c89c1 12173 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12174 (process-kill-buffer-query-function): Mention the buffer name in
12175 the query.
0b1c89c1 12176
77549ea8
LMI
12177 * image-mode.el (image-next-line): The line parameter is mandatory
12178 (bug#9258).
12179
803ef892
LMI
12180 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12181 which can be useful (bug#9301).
12182
12980837
LMI
12183 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12184
91054f8f
LMI
12185 * subr.el (match-string): Mention that the current buffer should
12186 be the same as the search was done in (bug#9282).
12187
b322f63a
LMI
12188 * facemenu.el: Disable the remove-* commands if the mark isn't
12189 active (bug#9162).
12190
3199b96f
CY
121912011-09-10 Chong Yidong <cyd@stupidchicken.com>
12192
12193 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12194 of display-buffer.
12195 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12196
12197 * replace.el (occur-mode-goto-occurrence)
12198 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12199 and display-buffer.
12200
12201 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12202 display-buffer.
12203
12204 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12205 special-display and same-window variables.
12206 (mail-other-window): Use switch-to-buffer-other-window.
12207 (mail-other-frame): USe switch-to-buffer-other-frame.
12208
393a301e
SM
12209 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12210 Use display-buffer-other-frame.
3199b96f
CY
12211 (gdb-display-gdb-buffer): Use pop-to-buffer.
12212
12213 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12214
12215 * progmodes/python.el: Don't set same-window-buffer-names.
12216
12217 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12218
12219 * window.el (display-buffer-alist): Add *Python*.
12220
8319e0bf
CY
122212011-09-10 Chong Yidong <cyd@stupidchicken.com>
12222
12223 * window.el (display-buffer-alist): Add entry for buffers
12224 previously handled same-window-*.
12225 (display-buffer-alist, display-buffer-default-action)
12226 (display-buffer-overriding-action): Mark as risky.
12227 (display-buffer-alist): Document action function changes.
12228 (display-buffer--same-window-action)
12229 (display-buffer--other-frame-action): New variables.
12230 (switch-to-buffer, display-buffer-other-frame): Use them.
12231 (display-buffer): Rename reuse-frame entry to reusable-frames.
12232 (display-buffer-reuse-selected-window): Function deleted.
12233 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12234 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12235 (display-buffer-special): New function.
12236 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12237 display-buffer-reuse-or-pop-window. Split off special-display
12238 part into display-buffer-special.
12239 (display-buffer-use-some-window): Don't perform any special
12240 pop-up-frames handling.
12241 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12242 (display-buffer--maybe-same-window): Rename from
0d3ff375 12243 display-buffer-maybe-same-window.
8319e0bf 12244
919a69aa
CY
12245 * info.el: Don't set same-window-regexps.
12246 (info-setup): New function.
12247 (info-other-window, info): Call it.
12248
12249 * cus-edit.el: Don't set same-window-regexps.
12250 (customize-group): New argument.
12251 (customize-group-other-window): Use it.
12252 (customize-face, customize-face-other-window): Likewise.
12253 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12254
8319e0bf
CY
12255 * net/rlogin.el:
12256 * net/telnet.el:
12257 * progmodes/gud.el: Don't set same-window-regexps.
12258
12259 * cmuscheme.el:
12260 * ielm.el:
12261 * shell.el:
12262 * mail/sendmail.el:
12263 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12264
25173000
JL
122652011-09-10 Juri Linkov <juri@jurta.org>
12266
12267 * isearch.el (isearch-edit-string): Remove obsolete mention of
12268 `C-w' (`isearch-yank-word-or-char') from docstring.
12269 (isearch-query-replace): Fix typo in docstring (bug#9466).
12270
056e44ef
JL
122712011-09-10 Juri Linkov <juri@jurta.org>
12272
12273 * paren.el (show-paren-function): Don't show escaped parens.
12274 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12275
c3760c17
EZ
122762011-09-10 Eli Zaretskii <eliz@gnu.org>
12277
12278 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12279 (mm-default-file-encoding): Remove autoload forms, they are
12280 replaced with autoload cookies in mml.el and mm-encode.el.
12281 (mail-add-attachment): New command.
12282 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12283 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12284 the doc string.
12285 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12286
fece895e
RT
122872011-09-10 Reuben Thomas <rrt@sc3d.org>
12288
e69df516
SM
12289 * simple.el (count-words-region): Use buffer if there's no region
12290 (bug#9429).
fece895e 12291
5e68ce4a
JL
122922011-09-09 Juri Linkov <juri@jurta.org>
12293
12294 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12295 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12296 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12297
0a6b9622
AM
122982011-09-09 Alan Mackenzie <acm@muc.de>
12299
12300 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12301 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12302
14a29deb
EZ
123032011-09-09 Eli Zaretskii <eliz@gnu.org>
12304
12305 Fix for Savannah bug#9392.
12306 * simple.el (mail-encode-mml): New defvar.
12307
12308 * mail/rmail.el (mail-encode-mml): Add a defvar.
12309 (rmail-enable-mime-composing): Default to t.
12310 (rmail-forward): Use MIME method of forwarding only if both
12311 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12312 Set mail-encode-mml non-nil if the MIME method was used.
12313
12314 * mail/sendmail.el (mml-to-mime): Add autoload form.
12315 (mail-encode-mml): Add a defvar.
12316 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12317 to nil.
12318 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12319 message through mml-to-mime, and reset mail-encode-mml to nil.
12320
28c45130
GM
123212011-09-09 Glenn Morris <rgm@gnu.org>
12322
12323 * woman.el (woman-if-body): When processing an .el block,
12324 do not delete the next .el block as well. (Bug#9447)
69f4b618 12325 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12326
9b1c252e
MR
123272011-09-08 Martin Rudalics <rudalics@gmx.at>
12328
12329 * window.el (window-deletable-p): Make sure window is live before
12330 invoking window-prev-buffers.
12331
567457e3
LL
123322011-09-08 Leo Liu <sdl.web@gmail.com>
12333
12334 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12335
97f05794
JL
123362011-09-08 Juri Linkov <juri@jurta.org>
12337
12338 * progmodes/compile.el (compilation-environment): Make it
12339 a defcustom (bug#8340).
12340
8b0874b5
MR
123412011-09-08 Martin Rudalics <rudalics@gmx.at>
12342
12343 * window.el (frame-auto-delete): Rename to window-auto-delete.
12344 Make it control auto-deletion of windows and/or frames.
12345 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12346 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12347 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12348 Rewrite handling of case when window/frame can be deleted.
12349 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12350 argument t. (Bug#9456)
8b0874b5 12351
4feb6e73
CY
123522011-09-07 Chong Yidong <cyd@stupidchicken.com>
12353
12354 * help-mode.el (help-mode): Restore autoload.
12355
91ab9c13
JL
123562011-09-07 Juri Linkov <juri@jurta.org>
12357
12358 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12359 `compilation-environment'. Set buffer-local
12360 `compilation-environment' to `thisenv' later after (funcall mode).
12361 (Bug#8340)
12362
12363 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12364 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12365 instead of replacing its value. (Bug#8340)
12366
0527e251
JL
123672011-09-07 Juri Linkov <juri@jurta.org>
12368
12369 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12370 based on text properties put by `grep-filter' instead of matching
12371 escape sequences.
12372 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12373 to the value of `grep-error-screen-columns' (bug#9438).
12374
249f792c
JL
123752011-09-07 Juri Linkov <juri@jurta.org>
12376
12377 * simple.el (next-error-highlight, next-error-highlight-no-select):
12378 Doc fix (bug#9432).
12379
ff7271b9
OT
123802011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12381
12382 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12383 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12384
183fc730
LL
123852011-09-07 Leo Liu <sdl.web@gmail.com>
12386
12387 * net/rcirc.el (rcirc-mode): Conditionally initialize
12388 rcirc-input-ring.
12389
77694924
SM
123902011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * emacs-lisp/find-func.el (find-function-C-source): Only set
12393 find-function-C-source-directory after checking that we found a source
12394 file there (bug#9440).
12395
d809b8eb
AM
123962011-09-06 Alan Mackenzie <acm@muc.de>
12397
12398 * isearch.el (isearch-other-meta-char): Wherever a key list is
12399 unread, "unread" the prefix arg, too. This fixes bug #8901.
12400
453de99f
OG
124012011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12402
12403 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12404
90439906
JL
124052011-09-05 Juri Linkov <juri@jurta.org>
12406
12407 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12408
f62bd846
JL
124092011-09-05 Juri Linkov <juri@jurta.org>
12410
12411 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12412 keeping point where processing of grep matches begins, and
12413 continue to delete remaining escape sequences from the same point.
12414 (grep-filter): Make leading zero optional in "0?1;31m" because
12415 git-grep emits "\033[1;31m" escape sequences unlike expected
12416 "\033[01;31m" as GNU Grep does (bug#9408).
12417 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12418
045820ec
JL
124192011-09-05 Juri Linkov <juri@jurta.org>
12420
12421 * subr.el (y-or-n-p): Capitalize "yes".
12422
f5e29b9b
MA
124232011-09-04 Michael Albinus <michael.albinus@gmx.de>
12424
12425 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12426 `tramp-cache-unload-hook' where appropriate.
12427 (tramp-methods): Rename `tramp-remote-sh' to
12428 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12429 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12430
12431 * net/tramp-sh.el (top): Don't require 'shell.
12432 (tramp-methods): Add `tramp-remote-shell' and
12433 `tramp-remote-shell-args' entries.
12434 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12435 (tramp-sh-handle-shell-command): Remove.
12436 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12437 Use `tramp-remote-shell'.
12438
2784c434
CY
124392011-09-03 Chong Yidong <cyd@stupidchicken.com>
12440
393a301e 12441 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12442 (sendmail-query-once): Save directly to send-mail-function.
12443 Update message-send-mail-function too.
12444
12445 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12446
464cdf56
CS
124472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12448
12449 * progmodes/python.el (python-mode-map): Use correct function to
12450 start python interpreter from menu-bar (as reported by Geert
12451 Kloosterman).
12452 (inferior-python-mode-map): Fix typo.
393a301e 12453 (python-shell-map): Remove.
464cdf56 12454
d37e5c87
DD
124552011-09-03 Deniz Dogan <deniz@dogan.se>
12456
12457 * net/rcirc.el (rcirc-print): Simplify code for
12458 rcirc-scroll-show-maximum-output. There is no need to walk
12459 through all windows to find the right one.
12460
f3ada0ee
CS
124612011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12462
12463 * help.el (help-return-method): Doc fix.
12464
1f3c99ca
MR
124652011-09-03 Martin Rudalics <rudalics@gmx.at>
12466
12467 * window.el (window-deletable-p): Don't return a non-nil value
12468 when there's a buffer that was shown in the window before.
12469 (Bug#9419)
393a301e
SM
12470 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12471 Set window's previous buffers to nil.
1f3c99ca 12472
a3cf097f
EZ
124732011-09-03 Eli Zaretskii <eliz@gnu.org>
12474
12475 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12476 newline before and after the tag line, so it doesn't interfere
12477 with determining the paragraph direction of bidirectional text.
12478
3d03de90
LL
124792011-09-03 Leo Liu <sdl.web@gmail.com>
12480
12481 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12482
c3313451
CY
124832011-09-02 Chong Yidong <cyd@stupidchicken.com>
12484
393a301e 12485 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12486 (pop-to-buffer): Change interactive spec. Pass second argument
12487 directly to display-buffer.
12488 (display-buffer): Fix interactive spec. Use functionp to
12489 distinguish between a function and a list of functions.
12490
12491 * abbrev.el (edit-abbrevs):
12492 * arc-mode.el (archive-extract):
12493 * autoinsert.el (auto-insert):
12494 * bookmark.el (bookmark-bmenu-list):
12495 * files.el (find-file):
12496 * view.el (view-buffer):
12497 * progmodes/compile.el (compilation-goto-locus):
12498 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12499
89894cd8
CY
125002011-09-02 Chong Yidong <cyd@stupidchicken.com>
12501
12502 * window.el (display-buffer-alist): Doc fix.
12503 (display-buffer): Add docstring. Don't treat
12504 display-buffer-default specially.
12505 (display-buffer-reuse-selected-window)
12506 (display-buffer-same-window, display-buffer-maybe-same-window)
12507 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12508 (display-buffer-pop-up-window)
12509 (display-buffer-reuse-or-pop-window)
12510 (display-buffer-use-some-window): New functions.
12511 (display-buffer-default-action): Use them.
393a301e 12512 (display-buffer-default): Delete.
89894cd8
CY
12513 (pop-to-buffer-1): Fix choice of actions.
12514
ae0bc9fb
SM
125152011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12516
12517 * minibuffer.el (completion--insert-strings): Don't get confused by
12518 completion entries that end with an LF char.
12519
e9d90883
EZ
125202011-09-01 Eli Zaretskii <eliz@gnu.org>
12521
12522 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12523
437014c8
CY
125242011-09-01 Chong Yidong <cyd@stupidchicken.com>
12525
12526 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12527 (display-buffer-same-window, display-buffer-other-window):
12528 New functions.
437014c8
CY
12529 (pop-to-buffer-1): New function. Use the above.
12530 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12531 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12532
12533 * view.el (view-buffer-other-window, view-buffer-other-frame):
12534 Just use pop-to-buffer.
12535
a5e063d5
TV
125362011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12537
12538 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12539
793d32bb
WH
125402011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12541
12542 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12543
d65e4c15
RS
125442011-08-31 Richard Stallman <rms@gnu.org>
12545
12546 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12547 of the separation of rmail-view-buffer from rmail-buffer.
12548 If you say no to "replace original", the decrypt is in the
12549 view buffer. If you say yes, the decrypt goes into the
12550 rmail buffer also.
12551
f818cd2a
MR
125522011-08-31 Martin Rudalics <rudalics@gmx.at>
12553
12554 * window.el (display-buffer-window): Rewrite doc-string.
12555 (display-buffer-record-window): New function.
12556 (display-buffer-macro-specifiers)
12557 (display-buffer-even-window-sizes, display-buffer-set-height)
12558 (display-buffer-set-width, display-buffer-in-window)
12559 (display-buffer-reuse-window, display-buffer-split-specifiers)
12560 (display-buffer-side-specifiers, display-buffer-split-window-1)
12561 (display-buffer-split-window, display-buffer-split-atom-window)
12562 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12563 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12564 (display-buffer-other-window-means-other-frame)
12565 (display-buffer-normalize-special)
12566 (display-buffer-normalize-default)
12567 (display-buffer-normalize-argument)
12568 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12569 (display-buffer-normalize-specifiers, display-buffer-frame)
12570 (display-buffer-same-window, display-buffer-same-frame)
12571 (display-buffer-other-window)
12572 (display-buffer-same-frame-other-window)
12573 (display-buffer-other-frame, pop-to-buffer-same-window)
12574 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12575 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12576 (switch-to-buffer-same-frame)
12577 (switch-to-buffer-other-window-same-frame)
12578 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12579 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12580 (display-buffer-alist-set): Remove.
12581 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12582 (special-display-regexps, special-display-function):
12583 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12584 parameter.
12585 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12586 (special-display-frame-alist, special-display-popup-frame)
12587 (same-window-buffer-names, same-window-regexps, same-window-p)
12588 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12589 (split-window-preferred-function, split-height-threshold)
12590 (split-width-threshold, window-splittable-p)
12591 (split-window-sensibly, window--try-to-split-window)
12592 (window--frame-usable-p, even-window-heights)
12593 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12594 (window--display-buffer-2, display-buffer-other-frame):
12595 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12596 (display-buffer-default, display-buffer-assq-regexp): New functions.
12597 (display-buffer-alist): Rewrite doc-string.
12598 (display-buffer-default-action)
12599 (display-buffer-overriding-action): New variables.
12600 (display-buffer, switch-to-buffer): Rewrite.
12601 (pop-to-buffer): Restore Emacs 23 behavior but use
12602 window-normalize-buffer-to-display.
12603 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12604 Restore Emacs 23 behavior but use
12605 window-normalize-buffer-to-switch-to.
12606 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12607 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12608 Rewrite using Emacs 23 options.
f818cd2a 12609
5bc3b51d
MA
126102011-08-31 Michael Albinus <michael.albinus@gmx.de>
12611
12612 * net/tramp.el (tramp-root-regexp): Remove.
12613 (tramp-completion-file-name-regexp-unified)
12614 (tramp-completion-file-name-regexp-separate)
12615 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12616 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12617 (tramp-drop-volume-letter): Simplify definition.
12618 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12619
b1a4f8e1
SM
126202011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12623 (bug#9356).
12624
5664fa7b
RT
126252011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12626
b1a4f8e1 12627 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12628
9a45d6c3
JL
126292011-08-29 Juri Linkov <juri@jurta.org>
12630
12631 * isearch.el (isearch-done): Don't display message "Mark saved"
12632 when arg `edit' is non-nil to prevent its flicker in the echo area.
12633
fb87e0fb
CY
126342011-08-28 Chong Yidong <cyd@stupidchicken.com>
12635
12636 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12637 obsolete packages for deletion.
12638
09ac1c2a
CS
126392011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12640
12641 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12642 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12643 view-mode from help-mode.
12644 (help-xref-override-view-map): Remove.
12645 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12646 view-mode is not used anymore.
12647
7a1ff57f
CY
126482011-08-28 Chong Yidong <cyd@stupidchicken.com>
12649
12650 * server.el (server-port): Doc fix.
12651
b9696605
CY
12652 * cus-theme.el (custom-theme-choose-mode): Inherit from
12653 special-mode (Bug#9124).
12654 (custom-theme-choose-mode-map): Add special-mode to parent.
12655
ef8cdf8c
AM
126562011-08-28 Alan Mackenzie <acm@muc.de>
12657
12658 * progmodes/cc-fonts.el
12659 (c-make-font-lock-BO-decl-search-function): New function.
12660 (c-basic-matchers-after - "Fontify the clauses after various
12661 keywords"): Extract the three keyword lists for the 3 erroneous
12662 constructs from the list of four, and use the new function above
12663 in place of an old one.
12664
27de4e20
DD
126652011-08-28 Deniz Dogan <deniz@dogan.se>
12666
12667 * net/rcirc.el (rcirc-insert-prev-input)
12668 (rcirc-insert-next-input): Remove unused argument.
12669
356a3681
SM
126702011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12673
3fc9b218
AM
126742011-08-27 Alan Mackenzie <acm@muc.de>
12675
12676 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12677 handle function pointer parameters properly.
12678
538a061c
MR
126792011-08-27 Martin Rudalics <rudalics@gmx.at>
12680
12681 * window.el (display-buffer-reuse-window): Fix case where
12682 selected window was reused with non-nil OTHER-WINDOW argument.
12683 (Bug#9381)
12684
35b1c40c
DD
126852011-08-27 Deniz Dogan <deniz@dogan.se>
12686
12687 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12688 oftc's NickServ messages.
12689
2f6a3e79
GM
126902011-08-27 Glenn Morris <rgm@gnu.org>
12691
12692 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12693
7254299e
CY
126942011-08-26 Chong Yidong <cyd@stupidchicken.com>
12695
12696 * emacs-lisp/package.el (package-install): Call package-initialize
12697 if called interactively.
12698
f8ccf167
LL
126992011-08-26 Leo Liu <sdl.web@gmail.com>
12700
12701 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12702
3e8cd5ce
JL
127032011-08-25 Juri Linkov <juri@jurta.org>
12704
12705 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12706 `search-whitespace-regexp' (bug#9364).
12707
93eb7113
JL
127082011-08-25 Juri Linkov <juri@jurta.org>
12709
12710 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12711 `regexp-search-ring' to their global values to protect from
12712 updating by `read-from-minibuffer' (bug#9185).
12713
f65d1611
JL
127142011-08-25 Juri Linkov <juri@jurta.org>
12715
12716 * textmodes/ispell.el (ispell-command-loop): Add newline
12717 at the end of the "Use option `i'..." line.
12718
f1cf7a31
JL
127192011-08-25 Juri Linkov <juri@jurta.org>
12720
12721 * battery.el (display-battery-mode): If `battery-status-function'
12722 or `battery-mode-line-format' is nil, display the message and set
12723 `display-battery-mode' to nil (bug#9363).
12724
0c95fcf7
EZ
127252011-08-25 Eli Zaretskii <eliz@gnu.org>
12726
12727 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12728 bidi-string-mark-left-to-right; they are unnecessary now.
12729
a2ebe600
DD
127302011-08-25 Deniz Dogan <deniz@dogan.se>
12731
12732 * net/quickurl.el: Documentation typo fixes.
12733
e4ed06f1
CY
127342011-08-25 Chong Yidong <cyd@stupidchicken.com>
12735
12736 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12737
e5f1c99e
GM
127382011-08-25 Glenn Morris <rgm@gnu.org>
12739
b2948976
GM
12740 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12741
e5f1c99e
GM
12742 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12743 (smtpmail-via-smtp): Handle nil response from smtp.
12744
f22f4808
JL
127452011-08-24 Juri Linkov <juri@jurta.org>
12746
12747 * proced.el (proced-marked): Inherit from `error' instead of
12748 `font-lock-warning-face'.
12749
12750 * ibuffer.el (ibuffer-marked-face): Change default face from
12751 `font-lock-warning-face' to `warning'.
12752 (ibuffer-deletion-face): Change default face from
12753 `font-lock-type-face' to `error'.
12754
12755 * battery.el (battery-update): Use the face `error' instead of
12756 `font-lock-warning-face' (bug#6117).
12757
6a93965e
JL
127582011-08-24 Juri Linkov <juri@jurta.org>
12759
12760 * faces.el (success): Change face color from "Green3" to
12761 "ForestGreen" on light background (bug#9353).
12762
1ed43b09
CY
127632011-08-24 Chong Yidong <cyd@stupidchicken.com>
12764
5664fa7b
RT
12765 * window.el (quit-window): Rename from quit-restore-window.
12766 Use same arglist as old quit-window.
1ed43b09
CY
12767 (frame-auto-delete): Doc fix.
12768
12769 * view.el (view-mode-exit): Use quit-window.
12770
11dcdbb2
JL
127712011-08-24 Juri Linkov <juri@jurta.org>
12772
12773 * isearch.el (isearch-ring-adjust1): Start visiting previous
12774 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12775 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12776 for empty search string (when the last search string is reused
12777 automatically) to adjust the isearch ring to the last element and
12778 prepare the correct index for further M-p commands (bug#9185).
12779
de62b4df
KH
127802011-08-24 Kenichi Handa <handa@m17n.org>
12781
12782 * international/ucs-normalize.el: If decomposition property of
12783 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12784 nil.
12785 (nfd, nfkd): Likewise.
12786
963b492b
SM
127872011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12788
12789 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12790 from process filters aren't reliably transmitted to the surrounding
12791 accept-process-output.
12792 (mpc-proc-check): New function.
12793 (mpc-proc-sync): Use it (bug#8293)
12794
93b6b5e1
SM
127952011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12798 Add compatibility functions (bug#9313).
12799
bca633fb
EZ
128002011-08-23 Eli Zaretskii <eliz@gnu.org>
12801
b177498a
EZ
12802 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12803
6df6ae42 12804 * international/uni-bidi.el: Regenerate.
bca633fb 12805
0902a04e
KH
128062011-08-23 Kenichi Handa <handa@m17n.org>
12807
12808 * international/charprop.el:
12809 * international/uni-bidi.el:
12810 * international/uni-category.el:
12811 * international/uni-combining.el:
12812 * international/uni-comment.el:
12813 * international/uni-decimal.el:
12814 * international/uni-decomposition.el:
12815 * international/uni-digit.el:
12816 * international/uni-lowercase.el:
12817 * international/uni-mirrored.el:
12818 * international/uni-name.el:
12819 * international/uni-numeric.el:
12820 * international/uni-old-name.el:
12821 * international/uni-titlecase.el:
12822 * international/uni-uppercase.el: Regenerate.
12823
3bbf23bc
MR
128242011-08-23 Martin Rudalics <rudalics@gmx.at>
12825
12826 * help.el (help-window-setup): Fix message displayed when other
12827 window is reused. (Bug#9341)
12828
b3fd59bd
SM
128292011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12830
1802e444
SM
12831 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12832 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12833
b3fd59bd
SM
12834 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12835 Mark obsolete.
12836 * shell.el (shell-parse-pcomplete-arguments): New function.
12837 (shell-completion-vars): Use it instead (bug#9160).
12838
4eb61348
SM
128392011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12840
867cab74
SM
12841 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12842 strings and comments (bug#9333).
12843
4eb61348
SM
12844 * emacs-lisp/debug.el (debug-arglist): New function.
12845 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12846 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12847
262a1439
JL
128482011-08-22 Juri Linkov <juri@jurta.org>
12849
56ee679c
JL
12850 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12851 Revert regexp that highlights output switches to its old
12852 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12853
262a1439
JL
12854 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12855 to check for empty output (bug#9226).
12856
f13f86fb
CY
128572011-08-22 Chong Yidong <cyd@stupidchicken.com>
12858
12859 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12860 symbol-constituent as the default, as that stops font-lock from
12861 working properly (Bug#8843).
12862
c65c9622
LMI
128632011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12864
12865 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12866 `coding-system-for-*' around the process open call to avoid
12867 auth-source side effects.
e7f2c178 12868 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12869 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12870 probe hangs.
c65c9622 12871
23a8a5ab
CY
128722011-08-21 Chong Yidong <cyd@stupidchicken.com>
12873
ff98b2dd
CY
12874 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12875
23a8a5ab
CY
12876 * emacs-lisp/find-func.el (find-function-noselect): New arg
12877 lisp-only.
12878
12879 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12880 signal an error for built-in functions (Bug#6664).
12881
f5e3c598
LMI
128822011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12883
12884 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12885 (smtpmail-try-auth-methods): Use it.
12886
a3f2468a
CY
128872011-08-21 Chong Yidong <cyd@stupidchicken.com>
12888
2c34e8da
CY
12889 * font-lock.el (font-lock-fontify-region)
12890 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12891 (font-lock-default-unfontify-buffer)
12892 (font-lock-default-fontify-region)
12893 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12894
b3fd59bd
SM
12895 * progmodes/compile.el (compilation-error-properties):
12896 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12897 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12898 `ant' regexp.
ee31aabc 12899
a3f2468a
CY
12900 * net/browse-url.el (browse-url-firefox): Don't call
12901 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12902
8e999f70
GM
129032011-08-20 Glenn Morris <rgm@gnu.org>
12904
c21a496a
GM
12905 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12906
59ee0542
GM
12907 * tutorial.el (tutorial--default-keys): Update some default bindings.
12908
8e999f70
GM
12909 * files.el (hack-local-variables): Fully ignore case for "mode:".
12910
e3715033
AM
129112011-08-20 Alan Mackenzie <acm@muc.de>
12912
12913 Resolve invalid use of a regexp in regexp-opt.
12914
4d61f28d
JB
12915 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12916 detection for a java annotation.
e3715033 12917
4d61f28d 12918 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12919 detection for a java annotation.
12920
4d61f28d
JB
12921 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12922 handling for java.
e3715033
AM
12923 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12924
04ed2e9c
CY
129252011-08-20 Chong Yidong <cyd@stupidchicken.com>
12926
12927 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12928 (Bug#9274).
12929
826cee64
AM
129302011-08-20 Alan Mackenzie <acm@muc.de>
12931
58179cce 12932 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12933 such a construct. Mainly for when jit-lock etc. starts a chunk
12934 here.
12935
58179cce 12936 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12937 variable.
58179cce 12938 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12939 c-make-font-lock-search-function.
12940 (c-make-font-lock-search-function): Use the above function.
12941 (c-make-font-lock-context-search-function): New function.
12942 (c-cpp-matchers): Enhance the preprocessor expression case with
12943 the above function
12944 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12945 which takes an expression.
12946
12947 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12948
13009bd8
MR
129492011-08-20 Martin Rudalics <rudalics@gmx.at>
12950
12951 * window.el (display-buffer-reuse-window)
12952 (display-buffer-pop-up-window): Don't reuse or split a side
12953 window.
12954
9234ff7f
GM
129552011-08-19 Glenn Morris <rgm@gnu.org>
12956
12957 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12958 Downcase "Mode:". (Bug#9331)
9234ff7f 12959
f635daa1
CY
129602011-08-18 Chong Yidong <cyd@stupidchicken.com>
12961
12962 * international/characters.el: Add L and R categories.
12963
12964 * subr.el (bidi-string-mark-left-to-right): Rename from
12965 string-mark-left-to-right. Use category search.
12966
12967 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12968
bc987f8b
JL
129692011-08-18 Juri Linkov <juri@jurta.org>
12970
12971 * faces.el (error, warning, success): New faces with definitions
12972 copied from old default values of `font-lock-warning-face',
12973 `compilation-warning', `compilation-info' (bug#6117).
12974
12975 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12976
12977 * progmodes/compile.el (compilation-error): Inherit from `error'.
12978 (compilation-warning): Inherit from `warning'.
12979 (compilation-info): Inherit from `success'.
12980
12981 * dired.el (dired-marked): Inherit from `warning'.
12982 (dired-flagged): Inherit from `error'.
12983
57173b96
LMI
129842011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12985
3e79eb87
LMI
12986 * mail/smtpmail.el (auth-source): Require to avoid problems with
12987 binding variables (bug#9298). Also clean up some unused
12988 autoloads.
12989
b3fd59bd
SM
12990 * net/network-stream.el (network-stream-open-starttls):
12991 Support using starttls.el without using gnutls-cli.
57173b96 12992
02b404de
JL
129932011-08-17 Juri Linkov <juri@jurta.org>
12994
12995 * progmodes/grep.el (rgrep): Handle the case when
12996 `grep-find-command' is a cons cell (bug#9278).
12997
8c9177f2
MR
129982011-08-17 Martin Rudalics <rudalics@gmx.at>
12999
13000 * window.el (display-buffer-pop-up-frame): Run frame creation
13001 function with BUFFER current (as special-display-popup-frame
13002 does). Reported by Drew Adams.
13003
3644a0ab
DU
130042011-08-17 Daiki Ueno <ueno@unixuser.org>
13005
13006 * epa-mail.el: Simplify GnuPG group expansion using
13007 epg-expand-group.
13008 (epa-mail-group-alist, epa-mail-group-modtime)
13009 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13010 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13011 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13012 Remove.
13013
5e617bc2 130142011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13015
13016 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13017
9c4aeabf
AM
130182011-08-16 Alan Mackenzie <acm@muc.de>
13019
13020 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13021 Correct, to avoid the inside of macros.
13022
3a99bf64
RS
130232011-08-16 Richard Stallman <rms@gnu.org>
13024
04963aa8
RS
13025 * epa-mail.el: Handle GnuPG group definitions.
13026 (epa-mail-group-alist, epa-mail-group-modtime)
13027 (epa-mail-gnupg-conf-file): New variables.
13028 (epa-mail-parse-groups, epa-mail-sync-groups)
13029 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13030 (epa-mail-expand-recipients): New functions.
13031 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13032
177549d0
RS
13033 * mail/rmail.el (rmail-epa-decrypt): New command.
13034
fe38beef
RS
13035 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13036 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13037 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13038 (epa-decrypt-armor-in-region): Make error message clearer.
13039
934eacb9
SM
130402011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13041
13042 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13043 and "a2b" to "ab" for `prefix'.
13044
d024fb4e
CY
130452011-08-14 Chong Yidong <cyd@stupidchicken.com>
13046
13047 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13048 filter groups.
de148fee
CY
13049 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13050 Fourquet (Bug#8804).
d024fb4e 13051
62f1ca49
JB
130522011-08-12 Juanma Barranquero <lekktu@gmail.com>
13053
13054 * startup.el (argi): Declare as global variable (bug#9275).
13055
9ccaaa4b
CY
130562011-08-12 Chong Yidong <cyd@stupidchicken.com>
13057
13058 * subr.el (string-mark-left-to-right): Search the entire string
13059 for RTL script, not just the terminating character. Doc fix.
13060
a3dae87a
SM
130612011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13062
6cd18349
SM
13063 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13064 New function.
13065 (js--regexp-literal, js-syntax-propertize-function): Remove.
13066 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13067 (js-mode-map): Don't rebind electric keys.
13068 (js-insert-and-indent): Remove.
13069 (js-mode): Setup electric-layout and electric-indent instead.
13070
a3dae87a
SM
13071 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13072
9d5cb631
DU
130732011-08-12 Daiki Ueno <ueno@unixuser.org>
13074
13075 * epa.el (epa-progress-callback-function): Fix the logic of
13076 displaying progress.
13077 * epa-file.el (epa-file-insert-file-contents): Make progress
13078 display more user-friendly.
13079 (epa-file-write-region): Ditto.
13080
3e26a4a2
CY
130812011-08-10 Chong Yidong <cyd@stupidchicken.com>
13082
13083 * subr.el (string-mark-left-to-right): New function.
13084
13085 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13086 Use string-mark-left-to-right.
13087 (list-buffers-noselect): Caller changed.
13088
a3dae87a
SM
13089 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13090 Use string-mark-left-to-right.
3e26a4a2
CY
13091 (tabulated-list-print): Recenter after moving point.
13092
ac8cf6e6
JL
130932011-08-10 Juri Linkov <juri@jurta.org>
13094
13095 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13096 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13097 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13098
8d96c9a4
CY
130992011-08-09 Chong Yidong <cyd@stupidchicken.com>
13100
13101 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13102 (Bug#7554).
13103
7be1c708 131042011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13105
13106 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13107 character. (Bug#6594)
13108
37e11a63
CY
131092011-08-08 Chong Yidong <cyd@stupidchicken.com>
13110
839dde57
CY
13111 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13112 (image-dired--with-db-file): New macro.
13113 (image-dired-write-tags, image-dired-remove-tag)
13114 (image-dired-create-gallery-lists, image-dired-write-comments)
13115 (image-dired-get-comment, image-dired-mark-tagged-files)
13116 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13117 (image-dired-gallery-generate): Use insert-file-contents.
13118
37e11a63
CY
13119 * time.el (display-time-world-list, display-time-world-display):
13120 * time-stamp.el (time-stamp-string):
13121 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13122 set-time-zone-rule (Bug#7337).
13123
0b4946c4
DU
131242011-08-08 Daiki Ueno <ueno@unixuser.org>
13125
13126 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13127 (epg-error-to-string, epg-errors-to-string): New function.
13128 (epg-wait-for-completion): Reverse errors list.
13129 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13130 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13131 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13132 (epg-sign-keys, epg-generate-key-from-file)
13133 (epg-generate-key-from-string): Format errors by using
13134 epg-errors-to-string (bug#9255).
13135 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13136
75bfc667
JL
131372011-08-07 Juri Linkov <juri@jurta.org>
13138
13139 * faces.el (list-faces-display): Remove extra angle bracket
13140 from `help-mode-map'.
13141
13142 * info.el (Info-history-toc-nodes): Doc fix.
13143
13144 * longlines.el (longlines-mode): Doc fix.
13145
673e08bb
SM
131462011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13147
4640dd88
SM
13148 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13149 of statements and in a few more cases (bug#9183).
13150
673e08bb
SM
13151 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13152 New functions.
13153 (cl-transform-lambda): Use them (bug#9239).
13154
89b3f019
MR
131552011-08-05 Martin Rudalics <rudalics@gmx.at>
13156
13157 * window.el (display-buffer-same-window)
13158 (display-buffer-same-frame, display-buffer-other-window)
13159 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13160 (pop-to-buffer-other-window)
13161 (pop-to-buffer-same-frame-other-window)
13162 (pop-to-buffer-other-frame): Make them defuns.
13163 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13164
640c8776
SM
131652011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13166
13167 * subr.el (make-composed-keymap): Move from C. Change calling
13168 convention, and improve docstring to bring attention to a subtle point.
13169 * minibuffer.el (completing-read-default): Adjust accordingly.
13170
63648a95
MA
131712011-08-03 Michael Albinus <michael.albinus@gmx.de>
13172
13173 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13174 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13175
13176 * net/trampver.el: Update release number.
13177
b796c9b7
SM
131782011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13181 "in" (bug#9190).
13182
2239d7d5
LMI
131832011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13184
e07dd7c3
LMI
13185 * mail/sendmail.el (sendmail-query-once): Restore the current
13186 buffer after querying (bug#9074).
13187
0e6a2bd7
LMI
13188 * dired.el (dired-flagged): Use different faces for marked and
13189 flagged files (bug#6117).
13190
ce887515
LMI
13191 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13192 (bug#4433).
13193
92f2affc
LMI
13194 * ido.el (ido-mode): Switch off the message if called
13195 non-interactively.
13196
57d5aff0
LMI
13197 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13198 before 587, since it appears that that's more likely to work for
13199 more people.
13200
98cd6c18 13201 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13202 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13203 exist.
13204
b96dec83
LMI
13205 * info.el: Remove the `Info-beginning-of-buffer' function
13206 (bug#8325).
13207
b796c9b7
SM
13208 * net/network-stream.el (network-stream-open-starttls):
13209 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13210
d90e2ea0
MR
132112011-08-01 Martin Rudalics <rudalics@gmx.at>
13212
13213 * window.el (display-buffer-in-window): Don't set dedicated status
13214 of window here (Bug#9215).
13215 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13216 (display-buffer-pop-up-side-window)
b796c9b7 13217 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13218
cca09170
SM
132192011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13220
13221 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13222 before binding generated-autoload-file.
13223
027b979c
DD
132242011-08-01 Deniz Dogan <deniz@dogan.se>
13225
13226 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13227
3c7ee4f3
MA
132282011-07-30 Michael Albinus <michael.albinus@gmx.de>
13229
13230 Sync with Tramp 2.2.2.
13231
13232 * net/trampver.el: Update release number.
13233
2cc8e51a
JL
132342011-07-30 Juri Linkov <juri@jurta.org>
13235
13236 * dired-aux.el (dired-touch-initial): Remove function.
13237 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13238 current time, and `default' to the last modification time of the
13239 current marked file (bug#6887).
13240
a514d856
JM
132412011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13242
13243 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13244 numeric argument to read-number (bug#9163).
a514d856 13245
8a7eddd7
MA
132462011-07-27 Michael Albinus <michael.albinus@gmx.de>
13247
13248 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13249 connection process, it could be nil.
13250
1ddd96f5
LL
132512011-07-27 Leo Liu <sdl.web@gmail.com>
13252
13253 Simplify url handling in rcirc-mode.
13254
13255 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13256 (rcirc-browse-url-at-mouse): Remove.
13257 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13258
b248a85d
AM
132592011-07-26 Alan Mackenzie <acm@muc.de>
13260
13261 Fontify bitfield declarations properly.
13262
13263 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13264 (c-symbol-chars): Now exported as a lang variable.
13265 (c-not-primitive-type-keywords): New lang variable.
13266
13267 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13268 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13269 parsed as a bitfield declaration.
b248a85d 13270
b796c9b7
SM
13271 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13272 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13273 (c-punctuation-in): New function.
13274 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13275 declarations properly.
13276
68575ab0
UJ
132772011-07-26 Ulf Jasper <ulf.jasper@web.de>
13278
13279 * calendar/icalendar.el (icalendar--all-events): Take care of
13280 multiple vcalendars in a single file.
b796c9b7 13281 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13282
0f0a88b9
DD
132832011-07-25 Deniz Dogan <deniz@dogan.se>
13284
13285 * image.el (insert-image): Clarifying docstring.
13286
0b3f36df
MA
132872011-07-24 Michael Albinus <michael.albinus@gmx.de>
13288
13289 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13290 `tramp-send-command-and-check' if there is no error.
13291 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13292
a9901f61
AM
132932011-07-22 Alan Mackenzie <acm@muc.de>
13294
13295 Prevent cc-langs.elc being loaded at run time.
13296
13297 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13298 cc-langs.
13299
4d61f28d 13300 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13301 "(require 'cc-langs)". Quote a form so it will evaluate at
13302 (cc-mode's) compilation time.
13303
11d074b2
MA
133042011-07-22 Michael Albinus <michael.albinus@gmx.de>
13305
13306 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13307 loading. (Bug#9114)
13308
938b94c8
MR
133092011-07-21 Martin Rudalics <rudalics@gmx.at>
13310
13311 * window.el (display-buffer-pop-up-window)
13312 (display-buffer-pop-up-side-window)
13313 (display-buffer-in-side-window): Call display-buffer-set-height
13314 and display-buffer-set-width after setting the new window's
b796c9b7 13315 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13316
bfa4f190
SS
133172011-07-20 Sam Steingold <sds@gnu.org>
13318
13319 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13320 (etags-tags-included-tables): Call `convert-standard-filename' on
13321 the file names contained in TAGS so that windows Emacs can handle
13322 TAGS files created by cygwin ctags.
13323
8ca42262
LMI
133242011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13325
13326 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13327 which apparently didn't work.
13328
5db2afd2 133292011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13330
5db2afd2
RW
13331 * proced.el (proced-send-signal): For *Marked Processes* buffer
13332 put point at beginning of buffer.
13333
92e15d10
SB
133342011-07-19 Stephen Berman <stephen.berman@gmx.net>
13335
13336 * proced.el (proced-format): Make header lines align with the text
13337 (bug#1779).
13338
1bfd59e5
LMI
133392011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13340
13341 * view.el (view-buffer): Allow running in `special' modes if we're
13342 visiting a file (bug#8615).
13343
f5aae37c
MR
133442011-07-19 Martin Rudalics <rudalics@gmx.at>
13345
13346 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13347 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13348 New functions.
f5aae37c
MR
13349 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13350 more accurately.
13351
bf2c1571
AM
133522011-07-18 Alan Mackenzie <acm@muc.de>
13353
13354 Fontify declarators properly when, e.g., a jit-lock chunk begins
13355 inside a declaration.
13356
13357 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13358
b796c9b7
SM
13359 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13360 New function.
bf2c1571
AM
13361 (c-complex-decl-matchers): Insert reference to
13362 c-font-lock-enclosing-decls.
13363
13364 * progmodes/cc-engine.el (c-backward-single-comment):
13365 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13366 to nil around calls to (forward-comment -1).
13367
4e190b80
LMI
133682011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13369
12dc863d
LMI
13370 * image.el (put-image): Doc typo fix.
13371
a762e966
LMI
13372 * progmodes/etags.el (tags-search): Doc typo fix.
13373
4e190b80
LMI
13374 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13375 password if we get errors 550 to 554.
13376
f019fb21
LMI
133772011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13378
b796c9b7 13379 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13380
81746738
LMI
13381 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13382 indentation character (bug#6380).
13383
3ee3a1b5
LMI
13384 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13385
c82f64de
LMI
13386 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13387 to clarify what the problem is (bug#4291).
13388
f019fb21
LMI
13389 * simple.el (current-kill): Clarify what
13390 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13391 (auto-fill-mode): Document `auto-fill-function' in relation to
13392 `auto-fill-mode' (bug#2470).
f019fb21 13393
0794775d
LM
133942011-07-16 Lawrence Mitchell <wence@gmx.li>
13395
13396 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13397 method if slot is read-only (bug#9035).
13398
be39b8cc
MR
133992011-07-16 Martin Rudalics <rudalics@gmx.at>
13400
b796c9b7 13401 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13402 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13403 selected before, see discussion of (Bug#8615), (Bug#6954).
13404 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13405
6ccf7859
GM
134062011-07-15 Glenn Morris <rgm@gnu.org>
13407
13408 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13409 Respect help-form.
6ccf7859 13410
87e86684
LM
134112011-07-09 Lawrence Mitchell <wence@gmx.li>
13412
13413 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13414 (gnutls-negotiate): Use it.
13415
d6066239
LMI
134162011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13417
b796c9b7
SM
13418 * net/gnutls.el (gnutls-negotiate):
13419 Upcase `gnutls-algorithm-priority'.
d6066239 13420
bd23ebc0
GM
134212011-07-15 Glenn Morris <rgm@gnu.org>
13422
c65bca65
GM
13423 * jka-compr.el (jka-compr-verbose): Move from here...
13424 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13425 Add missing :version tag.
13426 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13427
478615cc
LMI
134282011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13429
7b41decb
LMI
13430 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13431 (gnutls-negotiate): Use it.
13432
dbc44fcd
LMI
13433 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13434
06789f97
LMI
13435 * info.el (Info-beginning-of-buffer): New command.
13436 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13437 announcing `b' as the key (bug#8325).
ab896c37 13438 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13439
c39da690
LMI
13440 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13441
3aa5f34b
LMI
13442 * international/mule-cmds.el
13443 (describe-specified-language-support): Make the error message
13444 clearer (bug#8905).
13445
4bf0979f
LMI
13446 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13447
478615cc
LMI
13448 * isearch.el (isearch-barrier): Add a doc string, since it's
13449 mentioned in a function doc string (bug#8678).
13450
75c68aa1
MR
134512011-07-15 Martin Rudalics <rudalics@gmx.at>
13452
13453 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13454 buffer argument (Bug#9083) and self-identifying label argument.
13455
a7c33da2
GM
134562011-07-15 Glenn Morris <rgm@gnu.org>
13457
13458 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13459
2f5c6024
LMI
134602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13461
13462 * man.el (Man-fontify-manpage): Fix message when formatting the
13463 man page (bug#7929).
13464
0bb23927 134652011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13466
13467 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13468 argument LRM; if non-nil, append an invisible LRM character to the
13469 buffer name.
13470 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13471 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13472 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13473 paragraph direction.
cce4b0a7 13474
621ef9ab
LMI
134752011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13476
d1583c48
LMI
13477 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13478 the man page name (bug#7929).
13479
6a57fb5f
LMI
13480 * image.el (put-image): Mention the `put-image' overlay property
13481 (bug#7834).
13482
d7956b14
LMI
13483 * scroll-bar.el (set-scroll-bar-mode): Mention that
13484 `scroll-bar-mode' lists the values (bug#7772).
13485
5b2d4a66
LMI
13486 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13487 command (bug#7729).
13488
7509a874
LMI
13489 * rect.el (apply-on-rectangle): Return the point after the last
13490 operation.
13491 (string-rectangle): Go to the point after the last operation
13492 (bug#7522).
13493
4fe74b19
LMI
13494 * printing.el (pr-toggle-region): Clarify the documentation
13495 slightly (bug#7493).
13496
b796c9b7
SM
13497 * time.el (display-time-update):
13498 Allow `display-time-mail-function' to return nil (bug#7158).
13499 Fix suggested by Detlev Zundel.
ab283561 13500
fc233c9d
LMI
13501 * vc/diff.el (diff): Clarify the order the file names are read
13502 (bug#7111).
13503
43f5740b
LMI
13504 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13505 the doc string (bug#7015).
13506
f2182a76
LMI
13507 * font-lock.el (font-lock-maximum-decoration): Mention what
13508 numeric levels mean (bug#6935).
13509
621ef9ab
LMI
13510 * startup.el (initial-buffer-choice): Don't mention the `none'
13511 selection, which is against policy.
13512
adc47434
MR
135132011-07-14 Martin Rudalics <rudalics@gmx.at>
13514
b796c9b7
SM
13515 * window.el (display-buffer-normalize-special):
13516 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13517
7e5bfb8f
EZ
135182011-07-14 Eli Zaretskii <eliz@gnu.org>
13519
13520 * subr.el (version<, version<=, version=): Mention "-CVS" and
13521 "-12345" alpha version numbers.
13522
27fa387a
CY
135232011-07-14 Chong Yidong <cyd@stupidchicken.com>
13524
13525 * bindings.el: Add advertised binding for set-mark-command
13526 (Bug#5772).
13527
8bdfa064
CY
135282011-07-14 Chong Yidong <cyd@stupidchicken.com>
13529
13530 * bindings.el (mode-line-other-buffer):
13531 * bookmark.el (bookmark-bmenu-2-window):
13532 * bs.el (bs-cycle-next, bs-cycle-previous):
13533 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13534 switch-to-buffer.
13535
13536 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13537 Delete.
8bdfa064 13538
5eba16a3
JB
135392011-07-14 Juanma Barranquero <lekktu@gmail.com>
13540
13541 * follow.el (follow-debug-message, follow-redisplay):
13542 * jka-cmpr-hook.el (with-auto-compression-mode):
13543 Fix typos in docstrings.
13544
15853710
LMI
135452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13546
a28e4607
LMI
13547 * subr.el (with-silent-modifications): Clarify somewhat what the
13548 macro inhibits (bug#6525).
13549
15853710
LMI
13550 * simple.el (eval-expression): Note what it does if called
13551 interactively (bug#6495).
13552
bee0fcef
CY
135532011-07-13 Chong Yidong <cyd@stupidchicken.com>
13554
b796c9b7
SM
13555 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13556 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13557
13558 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13559 Remove switch-to-buffer.
13560
58274504
LMI
135612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13562
bd2fcc8d
LMI
13563 * files.el (make-directory): Clarify that an error will be raised
13564 if there's an error (bug#6397).
13565
0f04b32c
LMI
13566 * startup.el (initial-buffer-choice): Add `none' as a choice
13567 (bug#6234).
13568
465c5fc8
LMI
13569 * subr.el (add-hook): Clarify section about buffer-local hooks
13570 (bug#6218).
13571
58274504
LMI
13572 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13573
bead9a43
JB
135742011-07-13 Juanma Barranquero <lekktu@gmail.com>
13575
13576 * tabify.el (untabify): Preserve the current column so that point
13577 doesn't move (bug#6032).
13578
3af98a7b
LMI
135792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13580
b796c9b7
SM
13581 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13582 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13583
6240145a
GM
135842011-07-13 Glenn Morris <rgm@gnu.org>
13585
13586 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13587 (dired-insert-directory): Give a message the first time
13588 if ls is found not to support --dired.
13589
1d8c2ccc
LMI
135902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13591
13592 * simple.el (toggle-truncate-lines): Clarify what is toggled
13593 (bug#5580). Text by Drew Adams.
13594
5fc4038e
CY
135952011-07-13 Chong Yidong <cyd@stupidchicken.com>
13596
13597 * simple.el (blink-matching-open): Make the error message from the
13598 last change less verbose.
13599
bf6012e5
DN
136002011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13601
13602 * font-lock.el (font-lock-comment-face): Use the high contrast
13603 "yellow" color for font-lock-comment-face on low color terminals
13604 using a dark background color (bug#4221).
13605
343c3b5a
LMI
136062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13607
7e9505c5
LMI
13608 * dired.el (dired-insert-set-properties): Make the doc string
13609 reflect what it does now (bug#5325).
13610
c26fdcf5
LMI
13611 * simple.el (blink-matching-open): Say that we were unable to find
13612 the match within the limit, if we're limited (bug#5122).
13613
bb388cc5
LMI
13614 * international/mule-cmds.el (prefer-coding-system): Add an
13615 example (bug#4869).
13616
343c3b5a
LMI
13617 * progmodes/etags.el (tags-search): Document `file-list-form'
13618 (bug#4731).
13619
2a517d45
LM
136202011-07-13 Lawrence Mitchell <wence@gmx.li>
13621
13622 * net/browse-url.el (browse-url-default-browser)
13623 (browse-url-browser-function): Make the default browser choice a
13624 bit more logical (bug#4300). Also clean up the doc string.
13625
b6c78ef2
JB
136262011-07-13 Juanma Barranquero <lekktu@gmail.com>
13627
13628 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13629 binary endings (bug#4440).
13630
1c4dd947
LMI
136312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13632
a2014063
LMI
13633 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13634 which can be pretty annoying (bug#8971).
13635
9c9c2d88
LMI
13636 * jka-compr.el (jka-compr-verbose): New variable, and use
13637 throughout (bug#8971).
13638
1c4dd947
LMI
13639 * info.el (Info-find-file): Fall back on the installation
13640 directory if we can't find the info node anywhere else.
13641
a1c9f41b
SO
136422011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13643
13644 * vc/vc.el (vc-revert-file):
13645 Don't set file time-stamp in the past. (Bug#5181)
13646
536f3d36
LMI
136472011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13648
7152b011
LMI
13649 * files.el (after-find-file): Give a better error message when
13650 trying to find a symlink that points to a file that doesn't exist
13651 (bug#4398).
13652
536f3d36
LMI
13653 * progmodes/cc-vars.el: Remove (probably) misleading comment
13654 (bug#4396).
13655
460c0fba
JB
136562011-07-12 Johan Bockgård <bojohan@gnu.org>
13657
13658 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13659
7a6bda45
CY
136602011-07-12 Chong Yidong <cyd@stupidchicken.com>
13661
13662 * mouse-sel.el: Hack restoring functionality, while keeping
13663 compatibility with 2010-07-03 changes to mouse selection.
13664 (mouse-sel-primary-overlay): New var.
13665 (mouse-sel-selection-alist): Use it.
13666 (mouse-sel-mode): Doc fix; remove points that are default features
13667 of mouse.el.
13668
c79598ef
JB
136692011-07-12 Johan Bockgård <bojohan@gnu.org>
13670
13671 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13672 Fix previous fix (bug#2490).
13673
ff8be6ef
RW
136742011-07-12 Roland Winkler <winkler@gnu.org>
13675
b796c9b7
SM
13676 * textmodes/bibtex.el (bibtex-initialize):
13677 Use pop-to-buffer-same-window.
ff8be6ef
RW
13678 (bibtex-search-entries): Fix interactive call.
13679
296ba3ee
LMI
136802011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13681
f5242a02 13682 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13683 Fontise bytecomp Error lines more correctly (bug#2490).
13684 Fix suggested by Johan Bockgård.
f5242a02 13685
296ba3ee
LMI
13686 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13687
13688 * dired-x.el (dired-guess-default): Use `delete-dups'.
13689
f69fd0d2
CY
136902011-07-12 Chong Yidong <cyd@stupidchicken.com>
13691
13692 * dired.el (dired-mark-prompt):
13693 * dired-aux.el (dired-read-shell-command): Doc fix.
13694
eab5dc07
LMI
136952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13696
b796c9b7
SM
13697 * mail/sendmail.el (sendmail-query-once):
13698 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13699 emacs -Q.
13700
13701 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13702
eab5dc07
LMI
13703 * cus-edit.el (custom-file): Take an optional no-error variable.
13704 (customize-save-variable): Set the variable, and give a warning if
13705 running under "emacs -q".
13706
a1e65d42
JB
137072011-07-11 Juanma Barranquero <lekktu@gmail.com>
13708
13709 * loadhist.el (unload-feature-special-hooks):
13710 Add `auto-coding-functions', `fill-nobreak-predicate' and
13711 `find-directory-functions' (bug#5327).
13712
1d52da10
LMI
137132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13714
be958f1d
LMI
13715 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13716
5bedb26c
LMI
13717 * cus-edit.el (custom-guess-name-alist): -alist variables should
13718 use the `alist' type (bug#3120). Suggested by Drew Adams.
13719
1d52da10
LMI
13720 * printing.el: Add documentation to all the `pr-toggle-' commands.
13721
cd394be1 137222011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13723
13724 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13725 backends where it makes sense (bug#2623).
13726
dcc88d8a
LMI
137272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13728
c3de9feb
LMI
13729 * dired-x.el (dired-guess-default): Remove duplicate shell command
13730 entries (bug#2028).
8a93078b 13731 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13732 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13733
dcc88d8a
LMI
13734 * subr.el (remove-duplicates): New conveniency function.
13735
505e3645
LMI
137362011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13737
13738 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13739 (bug#1526).
13740
137412011-07-10 Martin Rudalics <rudalics@gmx.at>
13742
13743 * window.el (display-buffer-normalize-default): Don't invert
13744 meaning of even-window-heights. Reported by Eli Zaretskii
13745 <eliz@gnu.org>.
13746
455e4fa1
BR
137472011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13748
13749 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13750
8e0bc3e9
CY
137512011-07-10 Chong Yidong <cyd@stupidchicken.com>
13752
13753 * window.el (display-buffer): Fix arguments to
13754 display-buffer-reuse-window in last change.
13755
fa7c3228
CY
13756 * faces.el (link): Use a less saturated blue on light backgrounds.
13757
13758 * startup.el (fancy-startup-text, fancy-about-text)
13759 (fancy-startup-tail): Use font-lock faces, for background safety.
13760
c0a7f300
BN
137612011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13762
b796c9b7
SM
13763 * emulation/viper-cmd.el (viper-change-state-to-vi):
13764 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13765
4dc2a129
MR
137662011-07-09 Martin Rudalics <rudalics@gmx.at>
13767
13768 * window.el (display-buffer-default-specifiers): Remove.
13769 (display-buffer-macro-specifiers): Remove default specifiers.
13770 (display-buffer-alist): Default to nil.
b796c9b7 13771 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13772 (display-buffer-pop-up-window): Allow splitting internal
13773 windows. Check whether a live window was created.
13774 (display-buffer-other-window-means-other-frame)
13775 (display-buffer-normalize-arguments): Rename to
13776 display-buffer-normalize-argument and rewrite. Set the
13777 other-window specifier.
13778 (display-buffer-normalize-special): New function.
13779 (display-buffer-normalize-options): Rename to
13780 display-buffer-normalize-default and rewrite.
13781 (display-buffer-normalize-options-inhibit): Remove.
13782 (display-buffer-normalize-specifiers): Rewrite.
13783 (display-buffer): Process other-window specifier and call
13784 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13785 more faithfully.
b796c9b7 13786 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13787 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13788 (display-buffer-in-window, display-buffer-alist-set):
13789 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13790 <tassilo@member.fsf.org>.
13791
2d43b8c9
LL
137922011-07-09 Leo Liu <sdl.web@gmail.com>
13793
13794 * register.el (insert-register): Restore accidental change on
13795 2011-06-26. (Bug#9028)
13796
7f9b7c53
GM
137972011-07-09 Glenn Morris <rgm@gnu.org>
13798
13799 * subr.el (remq): Handle the empty list. (Bug#9024)
13800
f042cfd8
AS
138012011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13802
13803 * mail/sendmail.el (send-mail-function): No longer delay custom
13804 initialization.
13805 * custom.el (custom-initialize-delay): Doc fix.
13806
856b2f11
SM
138072011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13810
afae1d68
MA
138112011-07-08 Michael Albinus <michael.albinus@gmx.de>
13812
13813 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13814 human-friendly prompt.
13815
0757af94
SM
138162011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13817
13818 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13819 provided by a particular plugin.
13820
d760b731
LMI
138212011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13822
13823 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13824 save customizations (with "emacs -Q"), just set the variable
13825 instead of erroring out.
13826
13827 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13828
cd79ce90
JL
138292011-07-08 Juri Linkov <juri@jurta.org>
13830
13831 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13832 (archive-zip-update-case): Use 7z if found by `executable-find'.
13833 The order of searching the available programs is the same as in
13834 `archive-zip-extract' (bug#8968).
13835
14cc04aa
CY
138362011-07-07 Chong Yidong <cyd@stupidchicken.com>
13837
13838 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13839 (menu-bar-options-menu): Tweak descriptions.
13840
0a1848ec
LMI
138412011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13842
13843 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13844 menu items into verb phrases (bug#1421). Also refill to fit under
13845 80 columns.
13846
f5bd0689
CY
138472011-07-07 Chong Yidong <cyd@stupidchicken.com>
13848
538e85c6
CY
13849 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13850 (Info-read-node-name): Doc fix (Bug#1084).
13851
f5bd0689
CY
13852 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13853 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13854 (end-of-sexp, beginning-of-sexp)
13855 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13856 (forward-symbol, forward-same-syntax, word-at-point)
13857 (sentence-at-point): Doc fix (Bug#1144).
13858
56ec5115
LMI
138592011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13860
f3f8e37f
LMI
13861 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13862 should cover it (bug#1281).
13863
0757af94 13864 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13865
e9fce1ac 13866 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13867 negotiation fails, then possibly try again with a non-encrypted
13868 connection (bug#9017).
13869
56ec5115
LMI
13870 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13871 be used.
13872
c2f9aec8
RS
138732011-07-07 Richard Stallman <rms@gnu.org>
13874
13875 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13876 property, and handle its changed format.
13877 Look for the correct line number.
13878 Use file's line contents (but not past first =) to find
13879 correct line in message.
13880
ef7b981d 138812011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13882
13883 * international/characters.el (build-unicode-category-table):
13884 Delete it.
0757af94 13885 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13886
0757af94 13887 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13888 to src/chartab.c.
13889 (get-char-code-property): Call unicode-property-table-internal to
13890 load a file. Call get-unicode-property-internal where necessary.
13891 (put-char-code-property): Call unicode-property-table-internal to
13892 load a file. Call put-unicode-property-internal where necessary.
13893 put-unicode-property-internal where necessary.
0757af94
SM
13894 (char-code-property-description):
13895 Call unicode-property-table-internal to load a file.
c805dec0
KH
13896
13897 * international/charprop.el:
13898 * international/uni-bidi.el:
13899 * international/uni-category.el:
13900 * international/uni-combining.el:
13901 * international/uni-comment.el:
13902 * international/uni-decimal.el:
13903 * international/uni-decomposition.el:
13904 * international/uni-digit.el:
13905 * international/uni-lowercase.el:
13906 * international/uni-mirrored.el:
13907 * international/uni-name.el:
13908 * international/uni-numeric.el:
13909 * international/uni-old-name.el:
13910 * international/uni-titlecase.el:
13911 * international/uni-uppercase.el: Regenerate.
13912
13913 * loadup.el: Load international/charprop.el before
13914 international/characters.
13915
e14b388a
CY
139162011-07-07 Chong Yidong <cyd@stupidchicken.com>
13917
13918 * window.el (next-buffer, previous-buffer): Signal an error if
13919 called from a minibuffer window.
13920
13921 * bindings.el: Revert 2011-07-04 change.
13922
354cf0ba
RS
139232011-07-06 Richard Stallman <rms@gnu.org>
13924
13925 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13926 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13927 Treat markers like ints.
13928 (rmail-mime-entity): Doc fix.
13929
a48868a7
LMI
139302011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13931
4906cd3d
LMI
13932 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13933 defcustom again for backwards compatibility.
13934
e0457abe
LMI
13935 * simple.el (shell-command-on-region): Fill.
13936
d67f7e1f
LMI
13937 * dired-aux.el (dired-kill-line): Add a doc string.
13938
fe204702
LMI
13939 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13940 to "\\sw\\|\\s_" (bug#358).
13941
a48868a7
LMI
13942 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13943 (dired-unmark-backward): Ditto.
13944 (dired-flag-backup-files): Ditto.
13945
13946 * dired-x.el (dired-mark-sexp): Ditto.
13947
aa8a705c
RS
139482011-07-06 Richard Stallman <rms@gnu.org>
13949
13950 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13951 (rmail-mime-entity): New arg TRUNCATED.
13952 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13953 New functions.
13954 (rmail-mime-save): Warn if entity is truncated.
13955 (rmail-mime-toggle-hidden): Likewise, for showing.
13956 (rmail-mime-process-multipart): Record when an entity is truncated.
13957
a9a936b9
RS
13958 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13959 if ENTITY is a string.
13960
1f2b92cb
LMI
139612011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13962
f4f73198 13963 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13964 of faces when `M-C-x'-ing their definitions (bug#8378).
13965 Also clean up the code slightly.
f4f73198 13966
12b16734 13967 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13968 because that makes the colors go away.
12b16734 13969
f0691d22
LMI
13970 * mail/sendmail.el (send-mail-function): Change the default to
13971 `sendmail-query-once'.
9e87df06 13972 (sendmail-query-once): Add an autoload cookie.
f0691d22 13973
1f2b92cb
LMI
13974 * net/network-stream.el (network-stream-open-starttls): Try using
13975 a plain connection even if the server offered STARTTLS, and we
13976 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13977 capability. This should make smtpmail.el work in slightly more
13978 configurations.
13979
1cdd2a1b
MA
139802011-07-06 Michael Albinus <michael.albinus@gmx.de>
13981
13982 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13983 New defun.
13984 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13985
fbcc67e2
MM
139862011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13987
13988 * progmodes/sql.el: Version 3.0
0757af94 13989 (sql-product-alist): Add product :completion-object,
fbcc67e2 13990 :completion-column, and :statement attributes.
0757af94 13991 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 13992 (sql-mode-syntax-table): Mark all punctuation.
0757af94 13993 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
13994 ansi keywords.
13995 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 13996 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
13997 (sql-oracle-show-reserved-words): New function for development.
13998 (sql-product-font-lock): Simplify for source code buffers.
13999 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14000 New functions.
14001 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14002 (sql-mode-map): Add statement movement functions.
14003 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14004 New variable.
fbcc67e2
MM
14005 (sql-statement-regexp, sql-beginning-of-statement)
14006 (sql-end-of-statement, sql-signum): New functions.
0757af94 14007 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14008 (sql-show-sqli-buffer): Bug fix.
14009 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14010 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14011 with sql-interactive-mode.
14012 (sql-save-connection): Save buffer local settings.
0757af94 14013 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14014 (sql-product-interactive): Bug fix.
14015 (sql-preoutput-hold): New variable.
14016 (sql-interactive-remove-continuation-prompt): Bug fixes.
14017 (sql-debug-redirect): New variable.
14018 (sql-str-literal): New function.
14019 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14020 Redesign.
fbcc67e2
MM
14021 (sql-oracle-save-settings, sql-oracle-restore-settings)
14022 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14023 (sql-completion-object, sql-completion-column)
14024 (sql-completion-sqlbuf): New variables.
14025 (sql-build-completions-1, sql-build-completions)
14026 (sql-try-completion): New functions.
14027 (sql-read-table-name): Use them.
14028 (sql-contains-names): New buffer local variable.
14029 (sql-list-all, sql-list-table): Use it.
14030 (sql-oracle-completion-types): New variable.
14031 (sql-oracle-completion-object, sql-sqlite-completion-object)
14032 (sql-postgres-completion-object): New functions.
14033
d4eaeab1
GM
140342011-07-06 Glenn Morris <rgm@gnu.org>
14035
14036 * window.el (pop-to-buffer): Doc fix.
14037
322b7dab 140382011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14039
14040 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14041
322b7dab 140422011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14043
322b7dab 14044 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14045
322b7dab 14046 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14047
605dd5bf
CY
140482011-07-05 Chong Yidong <cyd@stupidchicken.com>
14049
14050 * button.el (button): Inherit from link face. Suggested by Dan
14051 Nicolaescu.
14052
7dbfa719
SM
140532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14054
3db614b0
SM
14055 * progmodes/gdb-mi.el: Fit in 80 columns.
14056 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14057 switch-to-buffer.
14058
7dbfa719
SM
14059 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14060 if imenu is simply not configured (bug#8941).
14061
919d884a
KM
140622011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14063
14064 * allout.el (allout-post-undo-hook): New allout outline-change
14065 event hook to signal undo activity.
14066 (allout-post-command-business): Run allout-post-undo-hook if an
14067 undo just occurred.
7dbfa719
SM
14068 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14069 * allout-widgets.el (allout-widgets-after-undo-function):
14070 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14071 in the vicinity of an undo.
14072 (allout-widgets-mode): Include allout-widgets-after-undo-function
14073 on the new allout-post-undo-hook.
14074
450a0f09
SM
140752011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14076
14077 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14078 Let define-derived-mode define it.
14079 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14080 cycles of abbrev-table inheritance (bug#8998).
14081
2de69e00
RW
140822011-07-05 Roland Winkler <winkler@gnu.org>
14083
14084 * textmodes/bibtex.el: Add support for biblatex.
14085 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14086 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14087 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14088 (bibtex-entry-alist, bibtex-field-alist): New variables.
14089 (bibtex-entry-field-alist): Obsolete alias for
14090 bibtex-BibTeX-entry-alist.
14091 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14092 (bibtex-set-dialect): New command.
14093 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14094 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14095 Bind via bibtex-set-dialect.
2de69e00
RW
14096 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14097 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14098 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14099 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14100 Define via bibtex-set-dialect.
450a0f09
SM
14101 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14102 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14103 (bibtex-vec-push, bibtex-vec-incr): New functions.
14104 (bibtex-format-entry, bibtex-field-list)
14105 (bibtex-print-help-message, bibtex-validate)
14106 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14107
2dcdbdd9
SM
141082011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14109
14110 * progmodes/compile.el (compilation-goto-locus):
14111 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14112 * bs.el (bs-cycle-next, bs-cycle-previous):
14113 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14114 * bindings.el (mode-line-other-buffer):
14115 * autoinsert.el (auto-insert):
14116 * arc-mode.el (archive-extract):
14117 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14118
b27640fe
JB
141192011-07-05 Juanma Barranquero <lekktu@gmail.com>
14120
14121 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14122 Fix check of `emacs-lock-unlockable-modes'.
14123 Coerce true values of `emacs-lock--try-unlocking' to t.
14124
53bbe3ad
JB
141252011-07-05 Juanma Barranquero <lekktu@gmail.com>
14126
14127 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14128 * emacs-lock.el: New file.
14129
1d3cdbc7
JD
141302011-07-05 Julien Danjou <julien@danjou.info>
14131
14132 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14133 than `boundp' to check if face is set.
14134
9173deec
JB
141352011-07-05 Juanma Barranquero <lekktu@gmail.com>
14136
14137 * register.el (registerv-make):
14138 * window.el (window-min-height): Fix typos in docstrings.
14139
869795d6
JD
141402011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14141
9173deec 14142 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14143 Update doc string.
14144
b768cdcd
JB
141452011-07-04 Juanma Barranquero <lekktu@gmail.com>
14146
14147 * server.el (server-execute): Catch quit and call
14148 `server-return-error' to pass the error back to emacsclient and
14149 close the connection (bug#8942).
14150
13aa217b
KM
141512011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14152
14153 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14154 insecure exception for current topic. Also note that auto-saves
14155 are handled differently.
14156
5d3385a0 14157 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14158 State variables for tracking auto-save inhibition situation.
14159
14160 (allout-write-contents-hook-handler): Rename from
14161 'allout-write-file-hook-handler', and describe how it depends on
14162 write-contents-functions sensitivity to non-nil value to prevent
14163 file write.
14164
14165 (allout-auto-save-hook-handler): Remove. auto-save does not check
14166 this in individual buffers, only in the starting buffer, so this
14167 is not the right way for us to inhibit auto-save in a buffer
14168 according to its condition.
14169
14170 (allout-mode): Use new allout-write-contents-hook-handler, and
14171 only with write-contents-functions. Remove auto-save provisions -
14172 they're implemented elsewhere.
14173
14174 (allout-before-change-handler): If undo is in progress, note that
14175 for attention of allout-post-command-business.
14176
14177 (allout-post-command-business): If the command we're following was
14178 an undo, check for change in the status of encrypted items and
14179 adjust auto-save inhibitions accordingly.
14180
14181 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14182 according to whether there are or aren't any plain-text topics
14183 pending encryption.
14184
2dcdbdd9 14185 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14186 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14187 if there are plain-text topics pending encryption.
13aa217b
KM
14188
14189 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14190 buffer-saved-size and some allout state to not inhibit auto-saves
14191 if there are no longer any plain-text topics pending encryption.
14192
0757af94
SM
14193 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14194 No longer provide for exemption of the current topic.
13aa217b 14195
ac89b32c
JL
141962011-07-04 Juri Linkov <juri@jurta.org>
14197
14198 Add 7z operations to delete and save changed members (bug#8968).
14199 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14200 New defcustoms.
14201 (archive-7z-write-file-member): New function.
14202 (archive-7z-summarize): Fix the number of dashes in the
14203 listing output.
14204
8fa39615
SM
142052011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14206
14207 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14208 (bug#8958).
14209
2f11b3f1
CY
142102011-07-04 Chong Yidong <cyd@stupidchicken.com>
14211
d66fef2b
CY
14212 * bindings.el: Ignore next-buffer and previous-buffer in
14213 minibuffer-local-map.
14214
2f11b3f1
CY
14215 * font-lock.el (font-lock-builtin-face): Change light background
14216 color to dark slate blue (Bug#6693).
14217
f932a347
WD
142182011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14219
14220 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14221
c8af70e1
SM
142222011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14223
14224 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14225 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14226 Add switch-to-buffer.
14227
f158badc
LMI
142282011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14229
14230 * isearch.el (isearch-search-fun-function): Clarify further the
14231 meaning of the function returned.
14232
6d95bd46
MA
142332011-07-04 Michael Albinus <michael.albinus@gmx.de>
14234
14235 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14236
14237 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14238 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14239 Use it.
14240 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14241 `tramp-default-remote-path' does not exist.
14242 (tramp-send-command-and-read): New optional argument NOERROR.
14243 (tramp-open-connection-setup-interactive-shell)
14244 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14245 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14246 (tramp-process-sentinel): Flush also process' connection property.
14247 (tramp-sh-handle-start-file-process): Do not set process
14248 sentinel. It is done now ...
14249 (tramp-maybe-open-connection): ... here. (Bug#8929)
14250
909e6b67
MK
142512011-07-04 MON KEY <monkey@sandpframing.com>
14252
14253 * play/animate.el (animate-string): Doc fixes and allow changing
14254 the buffer name (bug#5417).
14255
142562011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14257
c8af70e1 14258 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14259
f34755dc
PE
142602011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14261
396cec72
PE
14262 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14263 This is simpler and helps future-proof the code.
14264 (timer-until): Use time-subtract and float-time.
08235028 14265 (timer--time-less-p): Use time-less-p.
f34755dc 14266
56e6cc31
JB
142672011-07-04 Juanma Barranquero <lekktu@gmail.com>
14268
3abb79e5
JB
14269 * type-break.el (timep): Use the value of `float-time' to avoid a
14270 byte-compiler warning.
14271
56e6cc31
JB
14272 * server.el (server-eval-and-print): Return any result, even nil.
14273
7b9430b4
PE
142742011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14275
14276 * type-break.el: Accept time formats that the builtins accept.
14277 (timep, type-break-time-difference): Accept any format that
14278 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14279 This is simpler and helps future-proof the code.
14280 (type-break-time-difference): Round rather than ignoring
14281 subseconds components.
14282
3034e9e7
LMI
142832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14284
14285 * info.el (Info-apropos-matches): Make non-interactive, since it
14286 doesn't seem to do anything useful as a command (bug#8829).
14287
1485f4c0
CY
142882011-07-03 Chong Yidong <cyd@stupidchicken.com>
14289
14290 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14291 Move from faces.el.
1485f4c0
CY
14292 (frame-default-terminal-background): New function.
14293
14294 * custom.el (custom-push-theme): Don't record faces in `changed'
14295 theme; this doesn't work correctly for per-frame face settings.
14296 (disable-theme): Use face-set-after-frame-default to reset faces.
14297 (custom--frame-color-default): New function.
14298
9fa3dd45
LMI
142992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14300
c8af70e1 14301 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14302 (bug#8769).
14303
6cbbc20c
KR
143042011-03-29 Kevin Ryde <user42@zip.com.au>
14305
14306 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14307 `perl-Test2' extend to match possible "fail #N" rep count
14308 (bug#8377).
14309
c7f98048
LMI
143102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14311
65676592
LMI
14312 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14313 `smtpmail-via-smtp' now returns the error instead of nil.
14314
c7f98048
LMI
14315 * isearch.el (isearch-search-fun-function): Clarify the doc string
14316 (bug#8101).
14317
56e6cc31 143182011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14319
14320 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14321 unnecessary spaces (bug#8987).
14322
2b216704
LMI
143232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14324
14325 * net/network-stream.el (open-network-stream): Use the
14326 :end-of-capability command thoughout.
14327
143282011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14329
14330 * net/network-stream.el (open-network-stream): Add the
14331 :end-of-capability command parameter, used by pop3.el.
14332
36adf6ce
LMI
143332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14334
1ca0da0e
LMI
14335 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14336
fc00f69c
LMI
14337 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14338 for list)" (bug#6475).
14339
28fd8759 14340 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14341 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14342 an error (bug#6297).
14343
0dd8b6da
LMI
14344 * man.el (Man-reference-regexp): Allow matching possible
14345 word-wrapped references (bug#6289).
14346
ce1438d6
LMI
14347 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14348 for consistency with the other vc buffers (bug#6197).
14349 (vc-checkin): Ditto.
14350
14351 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14352
36adf6ce
LMI
14353 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14354
e83cc1f7
LMI
143552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14356
8a20ca4c
LMI
14357 * custom.el (defcustom): Clarify that :set is only used in the
14358 Customize user interface (bug#6089).
14359
83319045
LMI
14360 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14361 associated with a file, refuse to run instead of erroring out
14362 (bug#6084).
14363
a8392169
LMI
14364 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14365 the doc string, since it appears that using `fill-column' always
14366 controls the width (bug#7845).
14367
e83cc1f7
LMI
14368 * simple.el (shell-command-on-region): Say where the error output
14369 went if `shell-command-default-error-buffer' is set (bug#6857).
14370
e47ca23b
KM
143712011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14372
14373 * allout.el (allout-yank-processing): Adjust cursor position for
14374 backwards-deleted space.
14375
14376 (allout-rebullet-heading): Register changes with
14377 allout-exposure-changed-hook, so the modified topic is properly
14378 decorated.
14379
5cf56143
LMI
143802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14381
08549772
LMI
14382 * minibuffer.el (completion-in-region): Document PREDICATE
14383 (bug#7136).
14384
48e96771
LMI
14385 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14386 of keyword/argument pairs (bug#6904).
14387
c8af70e1
SM
14388 * replace.el (multi-occur):
14389 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14390
e17d05e2
LMI
143912011-07-02 Drew Adams <drew.adams@oracle.com>
14392
14393 * dired.el (dired-mark-if): Make the message about whether it's
14394 marking or unmarking clearer (bug#8523).
14395
063b0e45
LMI
143962011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14397
14398 * disp-table.el (display-table-print-array): New function.
14399 (describe-display-table): Use it to print the vectors more pretty
14400 (Bug#8859).
14401
28545e04
MR
144022011-07-02 Martin Rudalics <rudalics@gmx.at>
14403
14404 * window.el (window-state-get-1): Don't assign clone numbers.
14405 Add clone-of item to list of window parameters.
14406 (window-state-put-2): Don't process clone numbers.
14407 (display-buffer-alist): Fix doc-string.
14408
3349e122
SM
144092011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 * subr.el (remq): Don't allocate if it's not needed.
14412 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14413 (keymap--merge-bindings): New functions.
14414 (keymap-canonicalize): Use them to refine the canonicalization.
14415 * minibuffer.el (minibuffer-local-completion-map)
14416 (minibuffer-local-must-match-map): Move initialization from C.
14417 (minibuffer-local-filename-completion-map): Move initialization from C;
14418 don't inherit from anything here.
14419 (minibuffer-local-filename-must-match-map): Make obsolete.
14420 (completing-read-default): Use make-composed-keymap to combine
14421 minibuffer-local-filename-completion-map with either
14422 minibuffer-local-must-match-map or
14423 minibuffer-local-filename-completion-map.
14424
d224ac83
GM
144252011-07-01 Glenn Morris <rgm@gnu.org>
14426
3de63bf8
GM
14427 * type-break.el (type-break-time-sum): Use dolist.
14428
d224ac83
GM
14429 * textmodes/flyspell.el (flyspell-word-search-backward):
14430 Replace CL function.
14431
1a1e3f32
SM
144322011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14433
fe3f64d5
SM
14434 * mouse.el (mouse--strip-first-event): New function.
14435 (function-key-map): Use it to map fringe clicks to normal clicks
14436 by default.
14437
eb604e34
SM
14438 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14439 (vc-bzr-revision-completion-table): Add support for annotate and date.
14440
1a1e3f32
SM
14441 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14442 inherit from parent.
14443
5bd35902
LMI
144442011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14445
ace6c69c 14446 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14447 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14448
191e2bed
LMI
14449 * dired.el (dired-mode): Fix up the doc string as suggested by
14450 Drew Adams (bug#8817).
14451
5bd35902
LMI
14452 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14453 cookie, since the manual says that it should be possible to add
14454 this function to `find-file-hook' (bug#8709).
14455
eee8207a
TZ
144562011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14457
14458 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14459 here. Noted Ted Zlatanov as the maintainer.
14460 (cfengine-common-settings, cfengine-common-syntax): New functions
14461 to set up common things between `cfengine-mode' and
14462 `cfengine3-mode'.
14463 (cfengine3-mode): New mode.
14464 (cfengine3-defuns cfengine3-defuns-regex
14465 (cfengine3-class-selector-regex cfengine3-category-regex)
14466 (cfengine3-vartypes cfengine3-font-lock-keywords)
14467 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14468 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14469
36b148cf
MA
144702011-07-01 Michael Albinus <michael.albinus@gmx.de>
14471
14472 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14473
14474 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14475
0bf4ba9a
MR
144762011-07-01 Martin Rudalics <rudalics@gmx.at>
14477
14478 * window.el (same-window-buffer-names, same-window-regexps)
14479 (same-window-p, special-display-frame-alist)
14480 (special-display-popup-frame, special-display-function)
14481 (special-display-buffer-names, special-display-regexps)
14482 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14483 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14484 (split-window-preferred-function, split-height-threshold)
14485 (split-width-threshold, even-window-heights)
14486 (display-buffer-mark-dedicated, window-splittable-p)
14487 (split-window-sensibly, window-safely-shrinkable-p):
14488 Un-obsolete.
14489 (display-buffer): Don't spread args with function specifier
14490 because special-display-popup-frame won't like it.
14491
35837f51
PE
144922011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14493
d0672f86
PE
14494 Time-stamp simplifications and fixes.
14495 These improve accuracy slightly, and future-proof the code
14496 against some potential changes to current-time format.
14497
b9444d97
PE
14498 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14499 by using time-since and float-time.
14500
0ef923dc
PE
14501 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14502 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14503 + NNN microseconds".
14504
2f81380d
PE
14505 * type-break.el (type-break-time-sum): Rewrite using time-add.
14506
845b5c3e
PE
14507 * play/hanoi.el (hanoi-current-time-float): Remove.
14508 All uses replaced by float-time.
14509
ee6f1be0
PE
14510 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14511 This yields a more-accurate answer.
14512 (rng-time-to-float): Remove; no longer needed.
14513
fe955043
PE
14514 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14515
5777162a
PE
14516 * calendar/timeclock.el (timeclock-seconds-to-time):
14517 Defalias to seconds-to-time, since they're the same thing.
14518
3103f8b6 14519 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14520 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14521 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14522
0e61a35f
SM
145232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * window.el (bury-buffer): Don't iconify the only frame.
14526 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14527 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14528
ddd63a1e
CY
145292011-07-01 Chong Yidong <cyd@stupidchicken.com>
14530
0e61a35f
SM
14531 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14532 Add mouse-yank-primary.
ddd63a1e 14533
055f4923
TZ
145342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14535
14536 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14537
6a2fb145
SM
145382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14539
14540 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14541 (find-library-name): Use it to find relative load names when provided
14542 absolute file name (bug#8803).
14543
fd4983f2
LMI
145442011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14545
887d14ad
LMI
14546 * textmodes/flyspell.el (flyspell-word): Consider words that
14547 differ only in case as potential doublons (bug#5687).
14548
c53dc7fc
LMI
14549 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14550 Remove two rather uninteresting debugging-like messages to make
14551 debbugs.el more silent.
14552
fd4983f2
LMI
14553 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14554 a password-like phrase.
14555
7a71b18d 145562011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14557
14558 * progmodes/cc-guess.el: New file.
14559
6a2fb145 14560 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14561
14562 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14563 derived from `c-basic-common-init'.
14564
14565 * progmodes/cc-mode.el (top-level): Require cc-guess.
14566 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14567
1fa280a3
LM
145682011-06-30 Lawrence Mitchell <wence@gmx.li>
14569
14570 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14571
e6597158
AM
145722011-06-30 Alan Mackenzie <acm@muc.de>
14573
1fa280a3
LM
14574 * progmodes/cc-engine.el (c-guess-continued-construct):
14575 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14576 lock is disabled. Name this case as "CASE G".
14577
68ba37fb
KM
145782011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14579
14580 * allout.el (allout-yank-processing): Fix injection of extra space
14581 between bullet and non-whitespace character in first topic when
14582 pasting, ensuring that the actual spacing in the pasted topic
14583 following the bullet char is preserved. This extra space was
14584 causing pasted encrypted topics to get a decrypted status even
14585 when the content was actually still encrypted. Now the decryption
14586 status from before the paste is preserved.
14587
14588 (allout-flag-region): Set all allout overlays so they evaporate
14589 when reduced to zero length (evanescent), to prevent overlay
14590 leakage.
14591
887a0b34
GM
145922011-06-30 Glenn Morris <rgm@gnu.org>
14593
94b9acce
GM
14594 * w32-fns.el (w32-charset-info-alist): Declare.
14595
1d9b46d4
GM
14596 * find-dired.el (find-grep-options): Simplify.
14597
cc232200
GM
14598 * term/ns-win.el (ns-set-resource): Declare.
14599
28e77c46
GM
14600 * ses.el (row, col): Declare dynamic variables honestly.
14601
887a0b34
GM
14602 * textmodes/reftex-parse.el (index-tags): Declare.
14603
658d8eb8
CY
146042011-06-30 Chong Yidong <cyd@stupidchicken.com>
14605
14606 * cus-edit.el (customize-push-and-save): New function.
14607
14608 * files.el (hack-local-variables-confirm): Use it.
14609
1fa280a3
LM
14610 * custom.el (load-theme): New arg NO-CONFIRM.
14611 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14612 (custom-enabled-themes): Doc fix.
14613
14614 * cus-theme.el (customize-create-theme)
14615 (custom-theme-merge-theme): Callers to load-theme changed.
14616
bb617717
LMI
146172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14618
d61bdd5d
LMI
14619 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14620 short URLs have at least one dot in them (bug #7614).
14621
bb617717
LMI
14622 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14623 nil, because using a pty is apparently too slow (bug #895).
14624
2f31f37a
LMI
146252011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14626
14627 * mail/sendmail.el (sendmail-query-once): New function.
14628 (sendmail-query-once-function): New variable.
14629
3076b24e
GM
146302011-06-29 Glenn Morris <rgm@gnu.org>
14631
faf2a174
GM
14632 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14633
3076b24e
GM
14634 * ses.el (top-level): Require cl when compiling.
14635 (ses-set-localvars): Fix error statement.
14636 Call it at compile time to silence a storm of warnings.
14637
5386012d
MR
146382011-06-29 Martin Rudalics <rudalics@gmx.at>
14639
14640 * window.el (normalize-live-buffer): Rename to
14641 window-normalize-buffer.
14642 (normalize-live-frame): Rename to window-normalize-frame.
14643 (normalize-any-window): Rename to window-normalize-any-window.
14644 (normalize-live-window): Rename to window-normalize-live-window.
14645 (make-window-atom): Rename to window-make-atom.
14646 (window-resize-reset): Rename to window--resize-reset.
14647 (window-resize-reset-1): Rename to window--resize-reset-1.
14648 (resize-mini-window): Rename to window--resize-mini-window.
14649 (resize-subwindows-skip-p): Rename to
14650 window--resize-subwindows-skip-p.
14651 (resize-subwindows-normal): Rename to
14652 window--resize-subwindows-normal.
14653 (resize-subwindows): Rename to window--resize-subwindows.
14654 (resize-other-windows): Rename to window--resize-siblings.
14655 (resize-this-window): Rename to window--resize-this-window.
14656 (resize-root-window): Rename to window--resize-root-window.
14657 (resize-root-window-vertically): Rename to
14658 window--resize-root-window-vertically.
14659 (normalize-buffer-to-display): Rename to
14660 window-normalize-buffer-to-display.
14661 (normalize-buffer-to-switch-to): Rename to
14662 window-normalize-buffer-to-switch-to.
14663 Correspondingly update all callers of the functions listed
14664 above.
14665 (display-buffer-alist, display-buffer-normalize-arguments)
14666 (display-buffer-normalize-options, display-buffer)
14667 (display-buffer-alist-set): Use "function" instead of
14668 "fun-with-args".
14669
1176868d
CY
146702011-06-28 Chong Yidong <cyd@stupidchicken.com>
14671
14672 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14673 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14674 debbugs.gnu.org. Mention acknowledgment email.
14675
20a7a65f
LMI
146762011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14677
14678 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14679 buffer multibyteness, since it shouldn't matter.
14680
5f45cca5
MR
146812011-06-28 Martin Rudalics <rudalics@gmx.at>
14682
14683 * window.el (display-buffer-in-side-window): Handle dedicated
14684 windows as in display-buffer-reuse-window.
14685 (display-buffer-normalize-alist): Use value of override
14686 specifier.
14687 (display-buffer-normalize-specifiers): Use value of
14688 other-window-means-other-frame specifier.
14689 (display-buffer-alist): Rewrite some texts in widgets.
14690 (display-buffer): Spread arguments when calling function
14691 specified by fun-with-args.
14692
ad85fe1f
DD
146932011-06-28 Deniz Dogan <deniz@dogan.se>
14694
1fa280a3
LM
14695 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14696 Unnest `let'.
da68c4c8 14697
ad85fe1f
DD
14698 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14699 selectors (Bug#5732).
ec49bd31 14700 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14701
a08cc025
JA
147022011-06-27 Jari Aalto <jari.aalto@cante.net>
14703
14704 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14705 (eshell-ls-date-format): New defcustom.
14706 (eshell-ls-file): Use it.
14707
e2b551c5
SM
147082011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14709
14710 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14711
8982b231
KY
147122011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14713
14714 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14715 (ange-ftp-make-tmp-name): New arg.
14716 (ange-ftp-file-local-copy): Use it.
14717
36c9fa27
J
147182011-06-27 Jambunathan K <kjambunathan@gmail.com>
14719
14720 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14721 no-conversion (Bug#8870).
14722
d68443dc
MR
147232011-06-27 Martin Rudalics <rudalics@gmx.at>
14724
14725 * window.el (window-right, window-left, window-child)
14726 (window-child-count, window-last-child)
14727 (window-iso-combination-p, walk-window-tree-1)
14728 (window-atom-check-1, window-tree-1, delete-window)
14729 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14730 new naming conventions - window-vchild, window-hchild,
14731 window-next and window-prev are now called window-top-child,
14732 window-left-child, window-next-sibling and window-prev-sibling
14733 respectively.
d615d6d2
MR
14734 (resize-window-reset): Rename to window-resize-reset.
14735 (resize-window-reset-1): Rename to window-resize-reset-1.
14736 (resize-window): Rename to window-resize.
14737 (window-min-height, window-min-width)
14738 (resize-mini-window, resize-this-window, resize-root-window)
14739 (resize-root-window-vertically, adjust-window-trailing-edge)
14740 (enlarge-window, shrink-window, maximize-window)
14741 (minimize-window, delete-window, quit-restore-window)
14742 (split-window, balance-windows, balance-windows-area-adjust)
14743 (balance-windows-area, window-state-put-2)
14744 (display-buffer-even-window-sizes, display-buffer-set-height)
14745 (display-buffer-set-width, set-window-text-height)
14746 (fit-window-to-buffer): Rename all "resize-window" prefixed
14747 calls to use the "window-resize" prefix convention.
14748 (display-buffer-alist): Fix symbol for label specifier.
14749 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14750 corresponding specifier.
14751 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14752
b6458526
VB
147532011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14754
14755 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14756 convention.
14757 (ses-call-printer): Does not pass an empty string to formatter when the
14758 cell is empty to keep from barking printer Calc math-format-value.
14759
d31fd9ac
RS
147602011-06-27 Richard Stallman <rms@gnu.org>
14761
43d5bf84
RS
14762 * battery.el (battery-mode-line-limit): New variable.
14763 (battery-update): Handle it.
14764
d31fd9ac
RS
14765 * mail/rmailmm.el (rmail-mime-process-multipart):
14766 Handle truncated messages.
14767
819a6054
GM
147682011-06-27 Glenn Morris <rgm@gnu.org>
14769
14770 * progmodes/flymake.el (flymake-err-line-patterns):
14771 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14772
cedc73f2
VB
147732011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14774
819a6054 14775 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14776 (ses--clean-!, ses--clean-_): New functions.
14777 (ses-range): Add configurability of readout order, and conversion
14778 to Calc vector.
14779
5e5d49b6
VB
14780 * ses.el (ses-repair-cell-reference-all): New function.
14781 (ses-cell-symbol): Set macro as safe, so that it can be used in
14782 formulas.
14783
56e6cc31 14784 * ses.el: Update cycle detection algorithm.
90ca8b49 14785 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14786 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14787 (ses-set-localvars): New function.
14788 (ses-make-cell): Add property-list as a cell element.
14789 (ses-cell-property-get-fun, ses-cell-property-get)
14790 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14791 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14792 New functions.
90ca8b49
VB
14793 (ses-cell-property-set, ses-cell-property-pop)
14794 (ses-cell-property-get-handle): New macro.
14795 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14796 New aliases, used for code readability.
14797 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14798 cycle detection.
14799 (ses-self-reference-early-detection): New defcustom.
fac916bf 14800 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14801 (ses-mode): Use ses-set-localvars.
14802 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14803 before lauching the update processing.
14804 (ses-initialize-Dijkstra-attempt): New function.
14805 (ses-recalculate-cell): Update for cycle detection based on
14806 Dijkstra algorithm.
14807
2bb63e81
VB
14808 * ses.el: Fix commenting and indenting convention.
14809
c9d29fb8
SM
148102011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14811
14812 * bs.el (bs-cycle-next): Complete last change.
14813
d8e4b68b
JB
148142011-06-27 Drew Adams <drew.adams@oracle.com>
14815
14816 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14817
40098786
LMI
148182011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14819
c9d29fb8
SM
14820 * net/network-stream.el (network-stream-open-starttls):
14821 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14822 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14823
40098786
LMI
14824 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14825 to binary to possibly avoid line encoding issues on Windows (among
14826 other things).
14827
468d09d4
LMI
148282011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14829
14830 * net/network-stream.el (open-network-stream): Return an :error
14831 saying what the problem was, if possible.
14832
14833 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14834 server.
14835
14836 * net/network-stream.el (network-stream-open-starttls): If we
14837 wanted to use STARTTLS, and the server offered it, but we weren't
14838 able to because we had no STARTTLS support, then close the connection.
14839 (open-network-stream): Return an :error element, if present.
14840
16f07dd7
CY
148412011-06-26 Chong Yidong <cyd@stupidchicken.com>
14842
88821ca0
CY
14843 * hl-line.el (hl-line-sticky-flag): Doc fix.
14844 (global-hl-line-sticky-flag): New option (Bug#8323).
14845 (global-hl-line-highlight): Obey it.
14846
16f07dd7
CY
14847 * vc/vc.el (vc-revert-show-diff): Default to t.
14848
6b5ccddf
KM
148492011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14850
c9d29fb8
SM
14851 * allout-widgets.el (allout-widgets-post-command-business):
14852 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14853 undecorated when an isearch is continued past, and isearch
14854 automatically collapses them. This leads to "widget leaks", where
14855 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14856 hidden widgets can slow down cursor travel, substantially.
14857 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14858 so we're doing without this nicety.
14859
14860 (allout-widgets-tally-string): Don't try to do a hash-table-count
14861 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14862 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14863 *Messages* when allout-widgets-maintain-tally is t.
14864
355f2e07
MR
148652011-06-26 Martin Rudalics <rudalics@gmx.at>
14866
14867 * window.el (display-buffer-normalize-argument): Rename to
14868 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14869 LABEL argument. Respect special-display-function when popping up
14870 a new frame. Fix code searching for a window showing the buffer
14871 on another frame.
c9d29fb8
SM
14872 (display-buffer-normalize-specifiers):
14873 Call display-buffer-normalize-arguments.
355f2e07
MR
14874 (display-buffer-in-window): Don't undedicate the window if its
14875 buffer remains the same.
14876 Reported by Drew Adams <drew.adams@oracle.com>.
14877 (display-buffer-alist): Add choice for same-window macro
14878 specfier.
14879 (display-buffer): Mention special meaning of LABEL argument in
14880 doc-string. Fix quoting. Don't pop up a new frame even as
14881 fallback.
14882
7ca8fc42
JB
148832011-06-26 Juanma Barranquero <lekktu@gmail.com>
14884
14885 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14886 avoid deleting the current window in some cases (bug#8911).
14887
bc312254
AS
148882011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14889
14890 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14891 (Bug#8934)
14892
2db18f3f
LMI
148932011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14894
c9d29fb8
SM
14895 * net/network-stream.el (network-stream-open-starttls):
14896 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14897 (network-stream-open-tls): Ditto.
14898
6302e0d3
LL
148992011-06-26 Leo Liu <sdl.web@gmail.com>
14900
14901 * register.el (registerv): New struct.
14902 (registerv-make): New function.
c9d29fb8
SM
14903 (jump-to-register, describe-register-1, insert-register):
14904 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14905 struct. (Bug#8415)
14906
5fdd4046
CY
149072011-06-26 Chong Yidong <cyd@stupidchicken.com>
14908
2afef60a
CY
14909 * vc/vc.el (vc-revert-show-diff): New defcustom.
14910 (vc-diff-internal): New arg specifying diff buffer.
14911 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14912 reuse an existing *vc-diff* buffer (Bug#8927).
14913
5fdd4046
CY
14914 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14915
e93db24a
GM
149162011-06-26 Glenn Morris <rgm@gnu.org>
14917
14918 * progmodes/f90.el (f90-critical-indent): New option.
14919 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14920 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14921 (f90-mode): Doc fix.
14922 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14923 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14924 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14925 (f90-match-end): Handle block, critical.
14926
eefff499
GM
149272011-06-25 Glenn Morris <rgm@gnu.org>
14928
f6ba4cc9
GM
14929 * calendar/diary-lib.el (diary-included-files): Doc fix.
14930 (diary-include-files): New function, extracted from
14931 diary-include-other-diary-files and diary-mark-included-diary-files.
14932 (diary-include-other-diary-files, diary-mark-included-diary-files):
14933 Just call diary-include-files.
14934 (diary-mark-entries): Reset diary-included-files on first call.
14935
16712304
GM
14936 * calendar/diary-lib.el (diary-mark-entries)
14937 (diary-mark-included-diary-files):
14938 Visit included diary-files in temp buffers.
14939
5d8e0d43
GM
14940 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14941 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14942 (f90-start-block-re, f90-imenu-generic-expression)
14943 (f90-looking-at-program-block-start, f90-no-block-limit):
14944 Add support for submodules.
14945
ccf7a5d5
GM
14946 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14947 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14948
11fdef7d 149492011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14950
14951 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14952 buffer-file-type before setting its value, to avoid disastrous
eefff499 14953 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14954
74f53697
JB
149552011-06-25 Juanma Barranquero <lekktu@gmail.com>
14956
14957 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14958
14959 * ses.el (ses-unload-function):
14960 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14961
14962 * proced.el (proced-unload-function):
14963 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14964
18a4ce5e
AR
149652011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14966
14967 * server.el (server-create-window-system-frame): Add parameters arg.
14968 (server-process-filter): Doc fix. Handle frame-parameters.
14969
519d22cc
JB
149702011-06-25 Juanma Barranquero <lekktu@gmail.com>
14971
14972 Fix bug#8730, bug#8781.
14973
14974 * loadhist.el (unload--set-major-mode): New function.
14975 (unload-feature): Use it.
14976
14977 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14978 (python-unload-function): New function.
14979
c206f5b0
SM
149802011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14983
f9ad64f3
GS
149842011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14985
14986 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14987 the candidates list.
14988
7d0da90e
JB
149892011-06-24 Juanma Barranquero <lekktu@gmail.com>
14990
14991 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14992
14b4e83d
RS
149932011-06-23 Richard Stallman <rms@gnu.org>
14994
14995 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14996 (rmail-variables): Set next-error-move-function.
14997 (rmail-what-message): Take argument POS.
14998 (rmail-next-error-move): New function.
14999
273d2baf
SM
150002011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15003 messages for adjacent non-terminals.
15004
56c2cc9a
RS
150052011-06-23 Richard Stallman <rms@gnu.org>
15006
15007 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15008 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15009 (rmail-start-mail): Don't specify use of rmail-mail-return;
15010 that's done by mail-bury now.
15011 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15012
d59eb518
MA
150132011-06-23 Michael Albinus <michael.albinus@gmx.de>
15014
15015 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15016 SIZE is a number.
15017
02cfc6d6
MR
150182011-06-23 Martin Rudalics <rudalics@gmx.at>
15019
15020 * window.el (get-lru-window, get-mru-window)
15021 (get-largest-window): Never return a minibuffer window.
15022 (display-buffer-pop-up-window): Fix a bug that could lead to
15023 reusing the minibuffer window.
15024 (display-buffer): Pass original specifier argument to
15025 display-buffer-function instead of the normalized one.
15026 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15027
4e323265
LL
150282011-06-22 Leo Liu <sdl.web@gmail.com>
15029
15030 * minibuffer.el (completing-read-function)
15031 (completing-read-default): Move from minibuf.c
15032
7a70468f
RS
150332011-06-22 Richard Stallman <rms@gnu.org>
15034
50718fc2
RS
15035 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15036 to Rmail even if not started by a special Rmail command.
15037
7a70468f
RS
15038 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15039 Copy the buffer currently showing just one message.
15040
297dde5a
RW
150412011-06-22 Roland Winkler <winkler@gnu.org>
15042
15043 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15044 (bibtex-clean-entry): First delete the old key so that a
15045 customized algorithm for generating the new key does not get
15046 confused by the old key.
15047 (bibtex-url): Obey regexp of first step.
15048 (bibtex-search-entries): Do not use add-to-list with local
15049 list-var.
15050
97bb1093
LMI
150512011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15052
15053 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15054 stored a user name, then query for the password first, instead of
15055 waiting for SMTP to give an error message and the trying again.
15056
1c0f1a19
JD
150572011-06-22 Lawrence Mitchell <wence@gmx.li>
15058
15059 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15060 BUFFER in call-process.
15061
396f7c9d
LMI
150622011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15063
15064 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15065 QUIT twice.
ddb7ffee
LMI
15066 (smtpmail-try-auth-methods): Require user name and password from
15067 auth-source.
396f7c9d 15068
8998d1b3
MR
150692011-06-22 Martin Rudalics <rudalics@gmx.at>
15070
15071 * window.el (display-buffer-default-specifiers)
15072 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15073 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15074 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15075
15076 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15077 (special-display-frame-alist, special-display-popup-frame):
15078 Remove duplicate declarations. These are now in window.el.
15079
4ea31e07
LMI
150802011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15081
c9d29fb8
SM
15082 * mail/smtpmail.el (smtpmail-via-smtp):
15083 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15084 server supports it. SMTP servers that support STARTTLS commonly
15085 require it.
15086
15087 * net/network-stream.el (network-stream-open-starttls): Support
15088 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15089 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15090
95f41d9a
LMI
15091 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15092 upgrades with `open-network-stream', and rely solely on
15093 auth-source for all credentials. Big changes throughout the file,
15094 but in particular:
c9d29fb8
SM
15095 (smtpmail-auth-credentials): Remove.
15096 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15097 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15098 MAIL FROM, too.
95f41d9a 15099
c9d29fb8
SM
15100 * net/network-stream.el (network-stream-open-starttls):
15101 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15102 STARTTLS.
15103 (auth-source): Require.
15104 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15105 (network-stream-certificate): Change cert-cert to cert and
15106 cert-key to key.
4ea31e07 15107
065ec2c7
MA
151082011-06-21 Michael Albinus <michael.albinus@gmx.de>
15109
15110 * net/tramp-cache.el (top): Don't load the persistency file when
15111 "emacs -Q" has been called.
15112
cd93b359
DR
151132011-06-21 Tim Harper <timcharper@gmail.com>
15114
d8e4b68b
JB
15115 * term/ns-win.el (ns-initialize-window-system):
15116 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15117 resource to NO as it is not yet supported by the NS port.
15118
ae9c0411
JB
151192011-06-21 Juanma Barranquero <lekktu@gmail.com>
15120
15121 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15122 (list-dynamic-libraries): ...not here.
15123
7f3f739f
LL
151242011-06-21 Leo Liu <sdl.web@gmail.com>
15125
15126 * subr.el (sha1): Implement sha1 using secure-hash.
15127
327c8fb1
MR
151282011-06-21 Martin Rudalics <rudalics@gmx.at>
15129
15130 * window.el (display-buffer-alist): In default value do not
15131 enforce searching a window on any but the selected frame.
15132 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15133 (display-buffer-select-window): Remove function.
15134 (display-buffer-in-window): When a window on another frame gets
15135 reused, do not select it any more but just raise its frame if
15136 necessary (Bug#8851) and (Bug#8856).
15137 (display-buffer-normalize-options): Handle pop-up-frames related
15138 options more faithfully.
15139 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15140 window if it is on another frame.
c9d29fb8
SM
15141 (display-buffer-alist, display-buffer-default-specifiers):
15142 Don't make new frame unsplittable by default.
9e9de014
MR
15143 (display-buffer-normalize-argument): Fix doc-string typo and use
15144 'same-frame-other-window instead of 'other-window when associating
15145 with display-buffer-macro-specifiers.
327c8fb1 15146
7cf3f556
VB
151472011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15148
15149 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15150 New functions.
15151 (5x5-mode-map, 5x5-mode-menu): Bind them.
15152 (5x5-draw-grid): Tweak the solver's rendering.
15153
60a406cf
SM
151542011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15155
15156 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15157 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15158
d8e4b68b 151592011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15160
15161 * menu-bar.el: Use function variable instead of switch-to-buffer.
15162 (menu-bar-select-buffer-function): New variable.
60a406cf 15163 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15164
478d6f95
SM
151652011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15166
15167 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15168 variable's status.
15169
ca530739
JD
151702011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15171
15172 * x-dnd.el (x-dnd-version-from-flags)
15173 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15174 and long as number (Bug#8899).
15175 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15176
bcd70d97
SM
151772011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15178
60a406cf 15179 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15180 (completion-try-completion, completion-all-completions): Compute the
15181 metadata argument if it's missing; make it optional (bug#8795).
15182
60a406cf 15183 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15184 (widget-complete): Use new :completion-function property.
15185 (widget-completions-at-point): New function.
15186 (default): Use :completion-function instead of :complete.
60a406cf
SM
15187 (widget-default-completions): Rename from widget-default-complete;
15188 Rewrite.
bcd70d97
SM
15189 (widget-string-complete, widget-file-complete, widget-color-complete):
15190 Remove functions.
15191 (file, symbol, function, variable, coding-system, color):
15192 * international/mule-cmds.el (default-input-method, charset)
15193 (language-info-custom-alist):
15194 * cus-edit.el (face): Use new property :completions.
15195
15196 * progmodes/pascal.el (pascal-completions-at-point): New function.
15197 (pascal-mode): Use it.
15198 (pascal-mode-map): Use completion-at-point.
15199 (pascal-toggle-completions): Make obsolete.
15200 (pascal-complete-word, pascal-show-completions):
15201 * progmodes/octave-mod.el (octave-complete-symbol):
15202 Redefine as obsolete alias.
15203 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15204 Signal absence of completion info for old Octave,
15205 (inferior-octave-complete): Redefine as obsolete alias.
15206 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15207 (meta-completions-at-point): Rename from meta-complete-symbol and
15208 adapt it for use on completion-at-point-functions.
15209 (meta-common-mode): Use it.
15210 (meta-looking-at-backward, meta-match-buffer): Remove.
15211 (meta-complete-symbol): Redefine as obsolete alias.
15212 (meta-common-mode-map): Use completion-at-point.
15213 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15214 (makefile-mode-map): Use completion-at-point.
15215 (makefile-completions-at-point): Rename from makefile-complete and
15216 adapt it for use on completion-at-point-functions.
15217 (makefile-mode): Use it.
15218 (makefile-complete): Redefine as obsolete alias.
15219
aebf69c8
DD
152202011-06-20 Deniz Dogan <deniz@dogan.se>
15221
15222 * net/rcirc.el: Delete trailing whitespaces once and for all.
15223
bfbbb27d
DC
152242011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15225
15226 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15227
d264a46b
CY
152282011-06-19 Chong Yidong <cyd@stupidchicken.com>
15229
4ca009e5
CY
15230 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15231
d264a46b
CY
15232 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15233
fbf5b3ce
MR
152342011-06-19 Martin Rudalics <rudalics@gmx.at>
15235
15236 * window.el (display-buffer-other-window-means-other-frame):
15237 Call display-buffer-normalize-alist.
15238 (display-buffer-normalize-specifiers-1): Rename to
15239 display-buffer-normalize-argument. New argument other-frame.
15240 Rewrite.
15241 (display-buffer-normalize-specifiers-2): Rename to
15242 display-buffer-normalize-options.
15243 (display-buffer-normalize-alist-1): New function.
15244 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15245 display-buffer-normalize-alist.
15246 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15247 (display-buffer-normalize-options-inhibit): New variable.
15248 (display-buffer-normalize-specifiers): Rewrite calling
15249 display-buffer-normalize-alist,
15250 display-buffer-normalize-argument, and
15251 display-buffer-normalize-options. Don't call the latter if
15252 display-buffer-normalize-options-inhibit is non-nil.
15253 (frame-auto-delete): New option.
15254 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15255 (window-list-no-nils, window-state-ignored-parameters)
15256 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15257 (window-state-put-1, window-state-put-2, window-state-put):
15258 New functions.
9a028c23
MR
15259 (display-buffer-normalize-options): Move special-display-p group
15260 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15261
6d10d800
CY
152622011-06-18 Chong Yidong <cyd@stupidchicken.com>
15263
6420d28b
CY
15264 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15265 groups (Bug#8776).
15266 (rx-submatch-n): New function.
15267 (rx): Document it.
15268
ddb8b596
CY
15269 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15270 (Bug#8768).
15271
15272 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15273
77080289
CY
15274 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15275
61dfb316
CY
15276 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15277 anytime existing face settings are present (Bug#8889).
15278
6d10d800
CY
15279 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15280 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15281 Remove unused argument.
15282
be3fb2b8
MR
152832011-06-18 Martin Rudalics <rudalics@gmx.at>
15284
bcd70d97
SM
15285 * window.el (display-buffer-default-specifiers):
15286 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15287 pop-up-window-min-width, and another reuse-window specifier
15288 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15289 (display-buffer-normalize-specifiers-2):
15290 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15291 pop-up-windows is unset. Add a reuse-window specifier for the
15292 case popping up a new window fails.
15293 (special-display-popup-frame): Remove double quoting.
28dec25a 15294 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15295
1c6d8c76
SM
152962011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15297
15298 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15299 according to comint-completion-addsuffix.
15300
15301 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15302 (pcomplete-suffix-list): Mark as obsolete.
15303 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15304 pcomplete-seen in the closure.
15305 (pcomplete-comint-setup): Setup completion-at-point as well.
15306 (pcomplete--entries): New function.
15307 (pcomplete--env-regexp): New var.
15308 (pcomplete-entries): Rewrite to work with partial-completion and
15309 without relying on pcomplete-suffix-list.
15310 (pcomplete-pare-list): Remove, unused.
15311
25aef8b8
MR
153122011-06-17 Martin Rudalics <rudalics@gmx.at>
15313
15314 * window.el (display-buffer-alist): Set pop-up-window-min-height
15315 and pop-up-window-min-width in default value. Reported by
15316 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15317 other-window-means-other-frame.
15318 (display-buffer-macro-specifiers): Comment out entry for
15319 other-window specifier.
15320 (display-buffer-other-window-means-other-frame): New function.
15321 (display-buffer-normalize-specifiers-1): New arguments
15322 buffer-name and label. Treat other-window case specially.
15323 (display-buffer-normalize-specifiers-2): Treat other-window case
15324 specially.
15325 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15326 (display-buffer-normalize-specifiers):
15327 Call display-buffer-normalize-specifiers-3.
25aef8b8 15328
dbad4f69
MR
153292011-06-17 Martin Rudalics <rudalics@gmx.at>
15330
15331 * window.el (same-window-p): Fix two typos introduced when
15332 adding with-no-warnings.
d1067961
MR
15333 (display-buffer-normalize-specifiers-1): Don't check
15334 pop-up-frames for 'unset initialization.
15335 (display-buffer-normalize-specifiers-2): Major rewrite using
15336 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15337 (pop-up-frames, display-buffer-reuse-frames)
15338 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15339 Suggested by David Engster <deng@randomsample.de>.
15340 (even-window-heights): Initialize to 'unset.
15341 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15342 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15343 other window case.
dbad4f69 15344
9b9c9e3a
MR
153452011-06-16 Martin Rudalics <rudalics@gmx.at>
15346
bcd70d97
SM
15347 * window.el (display-buffer-normalize-specifiers-1):
15348 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15349 second argument of display-buffer (Bug#8865).
981d5c09
MR
15350 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15351 (switch-to-buffer-other-window-same-frame)
15352 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15353 Adams (Bug#8875).
9c2755e9
MR
15354 (display-buffer): Don't check noninteractive when calling
15355 display-buffer-pop-up-frame.
15356 (display-buffer-pop-up-frame): Never pop up a frame in
15357 noninteractive mode (Bug#8857).
67222e1d
MR
15358 (enlarge-window, shrink-window): Don't report an error when the
15359 window can't be resized as requested (Bug#8862).
9b9c9e3a 15360
2b75be67
SM
153612011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15362
9ffdd3ba
SM
15363 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15364
cb581a67
SM
15365 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15366
2b75be67
SM
15367 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15368
8c0e3589
AM
153692011-06-15 Alan Mackenzie <acm@muc.de>
15370
cb581a67
SM
15371 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15372 for declarators, disable knr checking to speed up for normal files.
15373 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15374
b96e6cde
LMI
153752011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15376
4bba86e6
LMI
15377 * net/network-stream.el (open-network-stream): Add the keyword
15378 :always-query-capabilities for the case where you want to force a
15379 `plain' network connection, but the protocol still requires the
15380 capabilitiy command (i.e., SMTP and EHLO).
15381
2b75be67 15382 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15383 consistency with other `-live-p' functions.
15384
efdcdbf8
SM
153852011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15386
15387 * window.el (same-window-buffer-names, same-window-regexps)
15388 (special-display-frame-alist, special-display-popup-frame)
15389 (special-display-function, special-display-buffer-names)
15390 (special-display-regexps, pop-up-frame-alist)
15391 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15392 (pop-up-windows, split-window-preferred-function)
15393 (split-height-threshold, split-width-threshold, even-window-heights)
15394 (display-buffer-mark-dedicated): Don't encourage the use of
15395 display-buffer-alist from Elisp code.
15396
c5cde042
DN
153972011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15398
15399 * progmodes/python.el (python-mode): Derive from prog-mode.
15400 * progmodes/ps-mode.el (ps-mode):
15401 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15402 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15403 * progmodes/ld-script.el (ld-script-mode): Likewise.
15404
baa1c9ab
MR
154052011-06-15 Martin Rudalics <rudalics@gmx.at>
15406
15407 * window.el (display-buffer-alist): Trim default value to avoid
15408 popping up a new frame (Bug#8857) or reusing an arbitrary window
15409 on another frame.
15410 (display-buffer): Do not fall back on popping up a new frame in
15411 batch mode (Bug#8857).
15412
c5dd5a51
CY
154132011-06-14 Chong Yidong <cyd@stupidchicken.com>
15414
15415 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15416 (custom-theme-summary): New function.
15417 (customize-themes): Use it.
15418
d647b7c4
GM
154192011-06-13 Glenn Morris <rgm@gnu.org>
15420
15421 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15422
9481c002
MR
154232011-06-13 Martin Rudalics <rudalics@gmx.at>
15424
357f93d2
MR
15425 * help.el (help-window): Remove variable.
15426 (help-window-point-marker, temp-buffer-max-height)
15427 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15428 (help-print-return-message): Don't set help-window.
15429 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15430 (help-window-setup-finish): Remove.
15431 (help-window-display-message, help-window-setup)
15432 (with-help-window): Major rewrite based on new
15433 display-buffer-window variable.
15434
15435 * help-mode.el (help-mode-finish): Remove help-window related
15436 code.
15437
15438 * view.el (view-exits-all-viewing-windows): Remove reference to
15439 view-return-to-alist in doc-string.
15440 (view-return-to-alist): Make obsolete.
15441 (view-buffer): Call pop-to-buffer-same-window and remove
15442 undo-window code.
15443 (view-buffer-other-window): Call pop-to-buffer-other-window and
15444 simplify code. Ignore second argument.
15445 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15446 simplify code. Ignore second argument.
15447 (view-return-to-alist-update): Make obsolete.
15448 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15449 Rewrite using quit-restore window parameters.
2b75be67
SM
15450 (view-mode-exit): Rename second argument to EXIT-ONLY.
15451 Rewrite using quit-restore-window.
357f93d2
MR
15452 (View-exit, View-exit-and-edit, View-leave, View-quit)
15453 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15454 appropriate arguments.
15455 (view-end-message): Use quit-restore window parameter.
15456
9481c002
MR
15457 * window.el (display-buffer-function): Rewrite doc-string.
15458 (display-buffer-window, display-buffer-alist): New variables.
15459 (display-buffer-split-specifiers)
15460 (display-buffer-side-specifiers)
15461 (display-buffer-macro-specifiers): New constants.
15462 (display-buffer-even-window-sizes, display-buffer-set-height)
15463 (display-buffer-set-width, display-buffer-select-window)
15464 (display-buffer-in-window, display-buffer-reuse-window)
15465 (display-buffer-split-window-1, display-buffer-split-window)
15466 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15467 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15468 (display-buffer-in-side-window, normalize-buffer-to-display)
15469 (display-buffer-normalize-specifiers-1)
15470 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15471 (display-buffer-normalize-specifiers, display-buffer-frame):
15472 New functions.
9481c002
MR
15473 (display-buffer): Major rewrite.
15474 (display-buffer-other-window, display-buffer-other-frame)
15475 (pop-to-buffer, switch-to-buffer-other-window)
15476 (switch-to-buffer-other-frame): Rewrite.
15477 (display-buffer-same-window, display-buffer-same-frame)
15478 (display-buffer-same-frame-other-window)
15479 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15480 (pop-to-buffer-other-window)
15481 (pop-to-buffer-same-frame-other-window)
15482 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15483 (switch-to-buffer-other-window-same-frame): New functions.
15484 (same-window-p, special-display-p): Rewrite disabling warnings.
15485 Make obsolete.
15486 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15487 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15488 Make obsolete
15489 (same-window-buffer-names, same-window-regexps)
15490 (special-display-frame-alist, special-display-popup-frame)
15491 (special-display-function, special-display-buffer-names)
15492 (special-display-regexps, pop-up-frame-alist)
15493 (pop-up-frame-function, split-window-preferred-function)
15494 (split-height-threshold, split-width-threshold)
15495 (even-window-heights): Make obsolete.
15496
9db51aca
GM
154972011-06-12 Glenn Morris <rgm@gnu.org>
15498
15499 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15500 Misc simplifications.
9db51aca 15501
39cffb44
MR
155022011-06-12 Martin Rudalics <rudalics@gmx.at>
15503
15504 * window.el (window-safely-shrinkable-p): Restore function which
15505 was inadvertently removed in change from 2011-06-11. Declare as
15506 obsolete.
15507
2b75be67
SM
15508 * calendar/calendar.el (calendar-generate-window):
15509 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15510 window-safely-shrinkable-p.
15511
a8955be7
GM
155122011-06-12 Glenn Morris <rgm@gnu.org>
15513
15514 * progmodes/fortran.el (fortran-mode-syntax-table):
15515 * progmodes/f90.el (f90-mode-syntax-table):
15516 Set % to punctuation. (Bug#8820)
15517 (f90-find-tag-default): Remove, no longer needed.
15518
f0d4059d
DC
155192011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15520
15521 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15522
1100a63c
CY
155232011-06-11 Chong Yidong <cyd@stupidchicken.com>
15524
15525 * image.el (image-animated-p): Return animation delay in seconds.
15526 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15527 (image-animate-timeout): Remove DELAY argument. Don't assume
15528 every subimage has the same delay; get it from image-animated-p.
15529 (image-animate): Caller changed.
15530
def722bf
MA
155312011-06-11 Michael Albinus <michael.albinus@gmx.de>
15532
15533 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15534 to ignored backtrace functions.
15535
0a2bb1a9
GM
155362011-06-11 Glenn Morris <rgm@gnu.org>
15537
15538 * calendar/appt.el (appt-disp-window-function): Doc fix.
15539 (appt-check): Handle overlapping appointments. (Bug#8337)
15540
6198ccd0
MR
155412011-06-11 Martin Rudalics <rudalics@gmx.at>
15542
15543 * window.el (window-tree-1, window-tree): New functions, moving
15544 the latter to window.el.
15545 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15546 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15547 (bw-refresh-edges): Remove.
15548 (balance-windows-1, balance-windows-2): New functions.
15549 (balance-windows): Rewrite in terms of window tree functions,
15550 balance-windows-1 and balance-windows-2.
15551 (bw-adjust-window): Remove.
15552 (balance-windows-area-adjust): New function with functionality of
15553 bw-adjust-window but using resize-window.
2b75be67
SM
15554 (set-window-text-height): Rewrite doc-string.
15555 Use normalize-live-window and resize-window.
15556 (enlarge-window-horizontally, shrink-window-horizontally):
15557 Rename argument to DELTA.
6198ccd0
MR
15558 (window-buffer-height): New function.
15559 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15560 Rewrite using new window resize routines.
2b75be67
SM
15561 (kill-buffer-and-window, mouse-autoselect-window-select):
15562 Use ignore-errors instead of condition-case.
6198ccd0
MR
15563 (quit-window): Call delete-frame instead of delete-windows-on
15564 for the only buffer on frame.
15565
9397e56f
MR
155662011-06-10 Martin Rudalics <rudalics@gmx.at>
15567
15568 * loadup.el (top-level): Load window before files for the sake
15569 of replace-buffer-in-windows.
15570
15571 * files.el (read-buffer-to-switch)
15572 (switch-to-buffer-other-window)
2b75be67
SM
15573 (switch-to-buffer-other-frame, display-buffer-other-frame):
15574 Move to window.el.
9397e56f
MR
15575
15576 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15577 (previous-buffer): Move to window.el.
15578
15579 * bindings.el (unbury-buffer): Move to window.el.
15580
15581 * window.el (delete-other-windows-vertically): Move after
15582 definition of delete-other-windows.
15583 (other-window, delete-windows-on, replace-buffer-in-windows):
15584 Move here from window.c.
15585 (record-window-buffer, unrecord-window-buffer)
15586 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15587 (switch-to-next-buffer): New functions.
15588 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15589 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15590 (previous-buffer): Move here from simple.el.
15591 Call switch-to-prev-buffer.
9397e56f
MR
15592 (bury-buffer): Move here from buffer.c. Switch to previous
15593 buffer when window cannot be deleted.
15594 (unbury-buffer): Move here from bindings.el.
15595 (ctl-x-map): Move binding for other-window from window.c to
15596 here.
15597 (read-buffer-to-switch, switch-to-buffer-other-window)
15598 (switch-to-buffer-other-frame): Move here from files.el.
15599 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15600 (switch-to-buffer): Move here from buffer.c.
15601 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15602
562dd5e9
MR
156032011-06-10 Martin Rudalics <rudalics@gmx.at>
15604
15605 * window.el (window-min-height, window-min-width): Move here
15606 from window.c. Add defcustoms and rewrite doc-strings.
15607 (resize-mini-window, resize-window): New functions.
15608 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15609 Move here from window.c.
15610 (maximize-window, minimize-window): New functions.
15611 (delete-window, delete-other-windows, split-window): Move here
15612 from window.c.
15613 (window-split-min-size): New function.
15614 (split-window-keep-point): Mention split-window-above-each-other
15615 instead of split-window-vertically.
2b75be67 15616 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15617 Rename split-window-vertically to split-window-above-each-other
15618 and provide defalias for old definition.
15619 (split-window-side-by-side, split-window-horizontally):
15620 Rename split-window-horizontally to split-window-side-by-side
15621 and provide defalias for the old definition.
562dd5e9
MR
15622 (ctl-x-map): Move bindings for delete-window,
15623 delete-other-windows and enlarge-window here from window.c.
15624 Replace bindings for split-window-vertically and
15625 split-window-horizontally by bindings for
15626 split-window-above-each-other and split-window-side-by-side.
15627
15628 * cus-start.el (all): Remove entries for window-min-height and
15629 window-min-width. Add entries for window-splits and
15630 window-nest.
15631
f0da764a
GM
156322011-06-09 Glenn Morris <rgm@gnu.org>
15633
80675c21
GM
15634 * calendar/appt.el (appt-mode-line): New function.
15635 (appt-check, appt-disp-window): Use it.
15636
f0da764a
GM
15637 * files.el (hack-one-local-variable-eval-safep):
15638 Allow minor-modes with explicit +/-1 arguments.
15639
59f623b7
TZ
156402011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15641
15642 * term/xterm.el (xterm): Add defgroup.
15643 (xterm-extra-capabilities): Add defcustom to supply known xterm
15644 capabilities, skip querying them, or query them (default).
15645 (terminal-init-xterm): Use it.
15646 (terminal-init-xterm-modify-other-keys): New function to set up
15647 modifyOtherKeys support to simplify `terminal-init-xterm'.
15648
9aab8e0d
MR
156492011-06-09 Martin Rudalics <rudalics@gmx.at>
15650
15651 * window.el (resize-window-reset, resize-window-reset-1)
15652 (resize-subwindows-skip-p, resize-subwindows-normal)
15653 (resize-subwindows, resize-other-windows, resize-this-window)
15654 (resize-root-window, resize-root-window-vertically)
15655 (window-deletable-p, window-or-subwindow-p)
15656 (frame-root-window-p): New functions.
15657
e8b08aee
GM
156582011-06-09 Glenn Morris <rgm@gnu.org>
15659
15660 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15661 (ange-ftp-get-files): Use it.
15662
254c37a5
AK
156632011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15664
15665 * mail/sendmail.el (mail-recover-1, mail-recover):
15666 * files.el (recover-file, recover-session):
15667 Handle dired-listing-switches not being just a single short option.
15668
35d7dbd3
GM
156692011-06-09 Glenn Morris <rgm@gnu.org>
15670
15671 * calendar/appt.el (appt-display-message, appt-disp-window):
15672 Handle lists of appointments.
15673
387522b2
MR
156742011-06-08 Martin Rudalics <rudalics@gmx.at>
15675
2b75be67
SM
15676 * window.el (one-window-p): Move down in code.
15677 Rewrite doc-string.
15678 (window-current-scroll-bars): Rewrite doc-string.
15679 Normalize live window argument.
387522b2
MR
15680 (walk-windows, get-window-with-predicate, count-windows):
15681 Rewrite doc-string. Use window-list-1.
15682 (window-in-direction-2, window-in-direction, get-mru-window):
15683 New functions.
15684
d8e4b68b 156852011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15686
15687 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15688 Doc fix (Bug#8713).
15689
156902011-06-08 Chong Yidong <cyd@stupidchicken.com>
15691
15692 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15693
156942011-06-08 Juanma Barranquero <lekktu@gmail.com>
15695
15696 * loadhist.el (unload-feature-special-hooks):
15697 Add `comint-output-filter-functions'.
15698
0de12c52
IK
156992011-06-08 Ivan Kanis <gnu@kanis.fr>
15700
15701 * calendar/appt.el (appt-check): Move some initializations into the let.
15702
f3d1777e
MR
157032011-06-08 Martin Rudalics <rudalics@gmx.at>
15704
15705 * window.el (window-height): Defalias to window-total-height.
15706 (window-width): Defalias to window-body-width.
15707
18af70d0
CY
157082011-06-07 Chong Yidong <cyd@stupidchicken.com>
15709
15710 * image-mode.el (image-toggle-animation): New command.
15711 (image-mode-map): Bind it to RET.
15712 (image-mode): Update message.
15713 (image-toggle-display-image): Avoid a spurious cache flush.
15714 (image-transform-rotation): Doc fix.
15715 (image-transform-properties): Return quickly in the normal case.
15716 (image-animate-loop): Rename from image-animate-max-time.
15717
2b75be67 15718 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15719 (create-animated-image): Remove unnecessary function.
15720 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15721 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15722 (image-animate-timer): Use car-safe.
15723 (image-animate-timeout): Rename argument.
15724
190b47e6
MR
157252011-06-07 Martin Rudalics <rudalics@gmx.at>
15726
15727 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15728 window.c. Rename first argument to ALL-FRAMES.
15729 Rephrase doc-strings.
15730 (get-buffer-window-list): Rewrite using window-list-1.
15731 Rephrase doc-string.
a1511caf
MR
15732 (window-safe-min-height, window-safe-min-width): New constants.
15733 (window-size-ignore, window-min-size, window-min-size-1)
15734 (window-sizable, window-sizable-p, window-size-fixed-1)
15735 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15736 (window-max-delta-1, window-max-delta, window-resizable)
15737 (window-resizable-p, window-total-height, window-total-width)
15738 (window-body-width): New functions.
15739 (window-full-height-p, window-full-width-p): Rewrite using
15740 window-total-size.
15741 (window-body-height): Rewrite using window-body-size.
190b47e6 15742
85cc1f11
MR
157432011-06-06 Martin Rudalics <rudalics@gmx.at>
15744
15745 * window.el (window-right, window-left, window-child)
15746 (window-child-count, window-last-child, window-any-p)
15747 (normalize-live-buffer, normalize-live-frame)
15748 (normalize-any-window, normalize-live-window)
15749 (window-iso-combination-p, window-iso-combined-p)
15750 (window-iso-combinations)
15751 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15752 (windows-with-parameter, window-with-parameter)
15753 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15754 (window-atom-check, window-side-check, window-check):
15755 New functions.
85cc1f11
MR
15756 (ignore-window-parameters, window-sides, window-sides-vertical)
15757 (window-sides-slots): New variables.
15758 (window-size-fixed): Move down in code. Minor doc-string fix.
15759
e7156492
AS
157602011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15761
15762 * comint.el (comint-dynamic-complete-as-filename)
15763 (comint-dynamic-complete-filename): Correctly call
15764 completion-in-region.
15765
7e821d0d
DD
157662011-06-05 Deniz Dogan <deniz@dogan.se>
15767
15768 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15769 in last change.
15770
ac09b8a1
DD
157712011-06-05 Deniz Dogan <deniz@dogan.se>
15772
15773 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15774 (rcirc): Use it to prompt for encryption.
15775
34699b85
RW
157762011-06-05 Roland Winkler <winkler@gnu.org>
15777
15778 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15779 (bibtex-search-entries): New command bound to C-c C-a.
15780 (bibtex-display-entries): New function.
15781
004dedd3
RW
157822011-06-05 Roland Winkler <winkler@gnu.org>
15783
15784 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15785 (bibtex-insert-kill): After yanking insert newline if necessary.
15786 (bibtex-initialize): Call bibtex-string-files-init only once.
15787 (bibtex-mode): Do not call easy-menu-add.
15788 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15789 (bibtex-yank): Set arg properly if nil.
15790
022fe7ce
RW
157912011-06-05 Roland Winkler <winkler@gnu.org>
15792
2b75be67
SM
15793 * textmodes/bibtex.el (bibtex-search-entry-globally):
15794 New variable.
022fe7ce
RW
15795 (bibtex-search-entry): Use it.
15796
b7c3692a
RW
157972011-06-05 Roland Winkler <winkler@gnu.org>
15798
15799 * textmodes/bibtex.el (bibtex-entry-format): New option
15800 sort-fields.
15801 (bibtex-format-entry, bibtex-reformat): Honor this option.
15802 (bibtex-parse-entry): Return fields in proper order.
15803
8eda563d
JB
158042011-06-05 Juanma Barranquero <lekktu@gmail.com>
15805
15806 * doc-view.el (doc-view-remove-if): Move computation of result out
15807 of `dolist' to silence misleading lexical-binding warning.
15808
7dbe3dbc
CY
158092011-06-04 Chong Yidong <cyd@stupidchicken.com>
15810
15811 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15812 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15813
0c33dd17
MA
158142011-06-04 Michael Albinus <michael.albinus@gmx.de>
15815
15816 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15817 "SunOS 5.10".
15818
f8f91c2b
MA
158192011-06-04 Michael Albinus <michael.albinus@gmx.de>
15820
15821 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15822 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15823 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15824 (tramp-parse-putty):
15825 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15826 (tramp-completion-function-alist-ssh)
15827 (tramp-completion-function-alist-telnet)
15828 (tramp-completion-function-alist-su)
15829 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15830 cookie.
15831
15832 * net/tramp-ftp.el:
15833 * net/tramp-sh.el:
15834 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15835 load "tramp.el" `tramp-set-completion-function'.
15836
e17d9003
SM
158372011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15838
15839 * shell.el: Require and use pcomplete.
15840 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15841 (shell-completion-vars): Set pcomplete-default-completion-function.
15842
6c4cab03
DD
158432011-06-04 Deniz Dogan <deniz@dogan.se>
15844
15845 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15846 `memq' (Bug#8799).
15847
ea9fafe0
SM
158482011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15849
15850 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15851
b3e945d3
JB
158522011-06-02 Juanma Barranquero <lekktu@gmail.com>
15853
15854 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15855 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15856 * vc/log-view.el (log-view-beginning-of-defun):
15857 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15858 (smerge-refine-forward, smerge-refine-chopup-region):
15859 Silence warning for unused `dotimes' counter variables.
15860
7d520089
SM
158612011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15862
15863 * net/tramp.el (tramp-with-progress-reporter): Rename from
15864 with-progress-reporter. Use `declare'.
15865 * net/tramp-smb.el:
15866 * net/tramp-sh.el:
15867 * net/tramp-gvfs.el: Update all uses.
15868
a1c2400f
JB
158692011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15870
15871 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15872 buffer isn't killed before making it current.
15873
2403c841
SM
158742011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15875
15876 Silence various byte-compiler warnings.
15877 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15878 `access-type' and new obsolescence format.
15879 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15880 new format.
15881 (byte-compile-check-variable): New `access-type' argument.
15882 Only warn if the access-type is obsolete.
15883 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15884 (byte-compile-variable-set): Adjust callers.
15885 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15886 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15887 setting it as obsolete.
15888 * simple.el (minibuffer-completing-symbol):
15889 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15890 access as obsolete.
15891 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15892 obsolete yet.
15893 * international/quail.el (quail-mouse-choose-completion): Remove unused
15894 code referring to obsolete var.
15895 (quail-choose-completion-string): Remove.
15896 * server.el (server-clients-with, server-kill-buffer-query-function)
15897 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15898 * proced.el (proced-send-signal):
15899 * emacs-lisp/lisp.el (lisp-complete-symbol):
15900 Replace completion-annotate-function with completion-extra-properties.
15901
2462470b
SM
159022011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15903
fb5b2591
SM
15904 * simple.el (goto-line): Use read-number.
15905 (overriding-map-is-bound): Remove.
15906 (saved-overriding-map): Change default.
15907 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15908 Take the map as argument.
15909 (universal-argument, negative-argument, digit-argument): Use it.
15910 (restore-overriding-map): Adjust.
15911 (do-auto-fill): Use fill-forward-paragraph.
15912 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15913
fd6fa53f
SM
15914 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15915 (minibuffer-inactive-mode): New major mode.
15916 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15917 the *Messages* buffer" hack.
15918 (mouse-popup-menubar): Don't burp if the event is a normal key.
15919
2462470b
SM
15920 Miscellaneous tweaks.
15921 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15922 lexical scoping as in subr.el's dolist and dotimes.
15923 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15924 Silence compiler warning.
15925 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15926 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15927 * international/ccl.el (ccl-compile): Trivial simplification.
15928 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15929 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15930 `printflag' argument.
15931 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15932 Purecopy the whole obsolescence data.
15933
108bf785
LL
159342011-06-01 Leo Liu <sdl.web@gmail.com>
15935
15936 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15937 improve doc-string as suggested by Marco Pessotto
15938 <melmothx@gmail.com>.
15939 (rcirc-print): Fix last change.
15940
30a23501
SM
159412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15942
15943 * minibuffer.el (complete-with-action): Return nil for the metadata and
15944 boundaries of non-functional tables.
15945 (completion-table-dynamic): Return nil for the metadata.
15946 (completion-table-with-terminator): Add default case, using
15947 complete-with-action.
15948 (completion--metadata): New function.
15949 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15950 to try and avoid pathological performance problems.
15951 (completion--embedded-envvar-table): Return `category' metadata.
15952
bcd54f83
LMI
159532011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15954
15955 * subr.el (process-alive-p): New tiny convenience function.
15956
e227544d
SM
159572011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15958
15959 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15960 content but also its previous major mode.
15961
e8296fdc
HE
159622011-05-31 Helmut Eller <eller.helmut@gmail.com>
15963
4d61f28d 15964 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15965 *Backtrace* buffer when we exit with C-M-c.
15966
620c53a6
SM
159672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15968
15969 * minibuffer.el: Add metadata method to completion tables.
15970 (completion-category-overrides): New defcustom.
15971 (completion-metadata, completion--field-metadata)
15972 (completion-metadata-get, completion--styles)
15973 (completion--cycle-threshold): New functions.
15974 (completion-try-completion, completion-all-completions):
15975 Add `metadata' argument to choose completion-styles.
15976 (completion--do-completion): Use metadata to choose cycling.
15977 (completion-all-sorted-completions): Use metadata for sorting.
15978 Remove :completion-cycle-penalty which is not needed any more.
15979 (completion--try-word-completion): Add `metadata' argument.
15980 (minibuffer-completion-help): Check metadata for annotation function
15981 and sorting.
15982 (completion-file-name-table): Return `category' metadata.
15983 (minibuffer-completing-file-name): Make obsolete.
15984 * simple.el (minibuffer-completing-symbol): Make obsolete.
15985 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15986 completion-try-completion.
15987
1257e755
SM
159882011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15989
15990 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15991
3767e706
LL
159922011-05-30 Leo Liu <sdl.web@gmail.com>
15993
15994 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
15995 (rcirc-print): Decode all incoming messages (bug#8744).
15996 (rcirc-decode-coding-system): Allow value nil for automatic coding
15997 system detection.
3767e706 15998
d1a5d56a
GM
159992011-06-01 Glenn Morris <rgm@gnu.org>
16000
16001 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16002
e8cbec34
CY
160032011-05-29 Chong Yidong <cyd@stupidchicken.com>
16004
16005 * image.el (image-animate-max-time): Allow nil and t values.
16006 Default to nil.
16007 (create-animated-image): Doc fix.
16008 (image-animate-start): Remove second arg; just use
16009 image-animate-max-time.
16010 (image-animate-timeout): Doc fix. Args changed.
16011
16012 * image-mode.el (image-toggle-display-image): Ensure that the
16013 image spec passed to the animate timer is the same object as in
58179cce 16014 the buffer's display property (Bug#6981).
e8cbec34
CY
16015 (image-transform-properties): Doc fix.
16016
16017 * image.el (image-animate-max-time): Default to nil.
16018
159daf87
MR
160192011-05-29 Martin Rudalics <rudalics@gmx.at>
16020
16021 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16022 entire buffer list (Bug#8184).
16023
d66c4c7c
CY
160242011-05-29 Chong Yidong <cyd@stupidchicken.com>
16025
16026 * image.el (imagemagick-types-inhibit)
16027 (imagemagick-register-types): Doc fix.
16028
80aec780
DD
160292011-05-29 Deniz Dogan <deniz@dogan.se>
16030
16031 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16032 default.
16033
1dd3c2d9
CY
160342011-05-29 Chong Yidong <cyd@stupidchicken.com>
16035
16036 * select.el: Don't perform clipboard-manager saving in hooks;
16037 leave the hooks empty.
16038
60e56523
LL
160392011-05-28 Leo Liu <sdl.web@gmail.com>
16040
16041 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16042 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16043 (occur-edit-mode): New major mode (Bug#8463).
16044 (occur-after-change-function): New function.
16045 (occur-engine): Give Occur tags a read-only property.
16046
2b1e1a22
KR
160472011-05-28 Kevin Ryde <user42@zip.com.au>
16048
16049 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16050
5d344e88
CY
160512011-05-28 Chong Yidong <cyd@stupidchicken.com>
16052
8e6ca83d
CY
16053 * bindings.el (help-echo): Make the initial non-indicator dash
16054 empty on graphical terminals (Bug#7295).
16055
5d344e88
CY
16056 * files.el (auto-mode-alist): Move config rule after the
16057 in-stripping one (Bug#8547).
16058
bfbbace7
CY
16059 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16060
fbeba6e2
CY
16061 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16062 setting (Bug#8740).
16063
60ed8c72
AA
160642011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16065
4ac619f0
AA
16066 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16067 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16068 (Bug#8539).
60ed8c72 16069
23db196e
CY
160702011-05-28 Chong Yidong <cyd@stupidchicken.com>
16071
16072 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16073
5012f24c
DK
160742011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16075
16076 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16077 (hs-hide-block-at-point, hs-find-block-beginning)
16078 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16079 (Bug#8279).
16080
6a639b16
GM
160812011-05-28 Glenn Morris <rgm@gnu.org>
16082
16083 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16084
d43eaf2c
CY
160852011-05-28 Chong Yidong <cyd@stupidchicken.com>
16086
5199bde1
CY
16087 * help-fns.el (describe-function-1): If the function is a derived
16088 major mode, print the parent mode.
16089
d43eaf2c
CY
16090 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16091 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16092
423428a8
SM
160932011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16094
0ff8e1ba 16095 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16096 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16097 * progmodes/etags.el (tags-completion-at-point-function):
16098 * info-look.el (info-lookup-completions-at-point): Mark as
16099 non-exclusive.
16100 (info-complete): Adjust accordingly.
16101
423428a8
SM
16102 * info-look.el: Convert to lexical-binding and completion-at-point.
16103 (info-lookup-completions-at-point): New function.
16104 (info-complete): Use it and completion-in-region.
16105
b74aa22b
DA
161062011-05-28 Drew Adams <drew.adams@oracle.com>
16107
16108 * isearch.el: Let M-e start with point at the first mismatched char.
16109 (isearch-fail-pos): New function.
16110 (isearch-edit-string): Use it.
16111
66e2e71d
DK
161122011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16113
16114 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16115
b1890b0f 161162011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16117
16118 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16119 traversal functions for avl-trees.
16120 (avl-tree--stack): New struct.
16121 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16122 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16123 (avl-tree--do-enter): Add optional `updatefun' arg.
16124 Change return value.
eb95d01d 16125 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16126 (avl-tree--do-delete): Add `test' and `nilflag' args.
16127 Change return value.
eb95d01d
TC
16128 (avl-tree-member): Add optional `nilflag'
16129 (avl-tree-member-p): New function.
16130 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16131 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16132 (avl-tree-stack-empty-p): New functions.
16133
3769ddcf
TC
16134 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16135 avl-tree--del-balance1 and make it work both ways.
16136 (avl-tree--del-balance2): Remove.
16137 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16138 make it work both ways.
16139 (avl-tree--enter-balance2): Remove.
16140 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16141 New macros.
16142 (avl-tree--mapc, avl-tree-map): Add direction argument.
16143
eb95d01d 161442011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16145
16146 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16147
a9f737ee
CY
161482011-05-27 Chong Yidong <cyd@stupidchicken.com>
16149
16150 * select.el: Support clipboard managers with built-in function
16151 x-clipboard-manager-save, via delete-frame-functions and
16152 kill-emacs-hook.
16153 (xselect-convert-to-targets): Add MULTIPLE target to list.
16154 (xselect-convert-to-save-targets): New function.
16155
c92a1e54
KH
161562011-05-27 Kenichi Handa <handa@m17n.org>
16157
16158 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16159 let-binding rfc2047-encode-encoded-words to nil.
16160
e145f188
GM
161612011-05-27 Glenn Morris <rgm@gnu.org>
16162
5ec8a862
GM
16163 * mail/emacsbug.el: Don't require url-util.
16164
4b29d9fb
GM
16165 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16166
e145f188
GM
16167 * files.el (set-auto-mode):
16168 Also respect mode: entries at the end of the file. (Bug#8586)
16169
7d15102b
GM
161702011-05-26 Glenn Morris <rgm@gnu.org>
16171
98f593b8
GM
16172 * files.el (hack-local-variables-prop-line, hack-local-variables):
16173 Downcase mode names, as seems to be traditional.
27b48e63 16174 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16175
7d15102b
GM
16176 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16177 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16178
51d5b4ec
JD
161792011-05-25 Julien Danjou <julien@danjou.info>
16180
16181 * textmodes/rst.el (rst-define-level-faces): Do not define face
16182 symbol if it is already defined.
16183
91513f63
VB
161842011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16185
16186 * play/5x5.el (5x5-new-game, 5x5-randomize):
16187 Reset 5x5-solver-output to nil when a new grid is cast.
16188 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16189 these debugging traces, as defmacro breaks the compiled code.
16190
4d90d6d0
DK
161912011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16192
16193 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16194
e1b90ef6
LL
161952011-05-24 Leo Liu <sdl.web@gmail.com>
16196
16197 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16198 (vc-bzr-sha1): Adapt.
16199
d8e4b68b 16200 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16201
16202 * bindings.el: Provide sha1 feature.
16203
db0406bb 162042011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16205
16206 * mail/sendmail.el: Require `rfc2047'.
16207 (mail-insert-from-field): Do not perform RFC2047 encoding.
16208 (mail-encode-header): New function.
16209 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16210 buffer to the return value of select-message-coding-system.
16211 Call mail-encode-header.
b8d747b9
KH
16212
16213 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16214
db0406bb 162152011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16216
4d90d6d0
DK
16217 * mail/supercite.el (sc-default-cite-frame):
16218 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16219
eb8a5e9b
GM
162202011-05-24 Glenn Morris <rgm@gnu.org>
16221
f8630703
GM
16222 * progmodes/python.el (brm-menu): Declare.
16223
8831bbed
GM
16224 * emulation/viper.el (viper-set-hooks): Declare.
16225
eb8a5e9b
GM
16226 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16227 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16228 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16229 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16230 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16231 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16232
a2a25d24
SM
162332011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16234
16235 Add an :exit-function for completion-at-point.
16236
16237 * minibuffer.el (completion--done): New fun.
16238 (completion--do-completion): Use it. New arg `expect-exact'.
16239 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16240 since completion--do-completion does it for us now.
16241 (minibuffer-force-complete): Use completion--done and
16242 completion--replace. Handle sole-completion case with more care.
16243 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16244 (completion-extra-properties): New var.
16245 (completion-annotate-function): Make obsolete.
16246 (minibuffer-completion-help): Adjust accordingly.
16247 Use completion-list-insert-choice-function.
16248 (completion-at-point, completion-help-at-point):
16249 Bind completion-extra-properties.
16250 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16251 * simple.el (completion-list-insert-choice-function): New var.
16252 (completion-setup-function): Preserve it.
16253 (choose-completion): Pay attention to it, shuffle the code a bit.
16254 (choose-completion-string): New arg `insert-function'.
16255
16256 * textmodes/bibtex.el: Convert to lexical binding.
16257 (bibtex-mode-map): Use completion-at-point.
16258 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16259 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16260 (bibtex-complete): Define as obsolete alias.
16261 (bibtex-complete-internal): Remove.
16262 (bibtex-format-entry): Remove unused sub-group in regexp.
16263 * shell.el (shell--command-completion-data)
16264 (shell-environment-variable-completion):
16265 * pcomplete.el (pcomplete-completions-at-point):
16266 * comint.el (comint--complete-file-name-data): Use :exit-function
16267 instead of completion-table-with-terminator so it also works for
16268 choose-completion.
16269
e44e373d
SM
162702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16271
4f91a816
SM
16272 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16273
782fc819
SM
16274 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16275 (bug#8710).
16276
e44e373d
SM
16277 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16278
381987c3
KM
162792011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16280
16281 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16282 customization variable and implement: If non-nil, auto-fill will
16283 be inhibited while on topic's header line.
16284
b776bc70
VB
162852011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16286
16287 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16288 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16289 always have a solution in grid size = 5 cases.
16290 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16291 (5x5-solver-output, 5x5-log-buffer): New vars.
16292 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16293 Make these variables buffer local to achieve 5x5 multi-session-ness.
16294 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16295 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16296 (5x5-solve-suggest): New funs.
16297 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16298 randomize a grid so that we ensure that there is always a solution.
16299 (5x5-make-random-grid): Allow other movement than flipping.
16300
7de88b6e
KR
163012011-05-23 Kevin Ryde <user42@zip.com.au>
16302
16303 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16304 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16305 advice and passes PREDICATE.
16306
b1ef1257
SM
163072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16308
bbca48fe
SM
16309 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16310 byte-compile-lambda if it's actually a lambda.
16311
b1ef1257
SM
16312 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16313 Fix function quoting. Use backquote better.
16314
92a9cc65
YS
163152011-05-22 Yuanle Song <sylecn@gmail.com>
16316
16317 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16318 matching (Bug#8516).
16319
f0fb8059
JA
163202011-01-22 Jari Aalto <jari.aalto@cante.net>
16321
16322 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16323 different face (Bug#8178).
16324
d5b44c93
CY
163252011-05-22 Chong Yidong <cyd@stupidchicken.com>
16326
16327 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16328 defface (Bug#8144).
16329
79106a44
SM
163302011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16331
9c848d8a
SM
16332 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16333 funcall as well (bug#8712). Warn when performing those conversions.
16334 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16335
79106a44
SM
16336 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16337
88dfa756
GM
163382011-05-22 Glenn Morris <rgm@gnu.org>
16339
16340 * files.el (hack-local-variables-prop-line): Small simplifications.
16341 (hack-local-variables, hack-local-variables-prop-line):
16342 If MODE-ONLY, return the mode, rather than just `t'.
16343
b7cf2c79
SM
163442011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16345
16346 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16347
3f1a8558
GM
163482011-05-21 Glenn Morris <rgm@gnu.org>
16349
7e4ccca3
GM
16350 * files.el (hack-local-variables-prop-line, hack-local-variables):
16351 If only interested in the mode, don't bother doing the other stuff.
16352
637d46ca
GM
16353 * image-mode.el (image-after-revert-hook):
16354 Redraw all frames on which the image is visible. (Bug#8567)
16355
973d955b
GM
16356 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16357
3f1a8558
GM
16358 * wid-edit.el (widget-checklist-match-inline):
16359 Fix 2011-04-19 change. (Bug#8649)
16360
96479927
SM
163612011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16362
1dcf791f
SM
16363 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16364 Also allow singlespace after single-letter capitals followed by a dot.
16365
96479927
SM
16366 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16367 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16368
35fd0881
N
163692011-05-20 Nix <nix@esperi.org.uk>
16370
16371 * files.el (basic-save-buffer-2):
16372 Fix handling of break-hardlink-on-save with non-existent files.
16373
82745640
DD
163742011-05-19 Deniz Dogan <deniz@dogan.se>
16375
16376 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16377 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16378
4a720484
GM
163792011-05-19 Glenn Morris <rgm@gnu.org>
16380
d1f21341
GM
16381 * progmodes/f90.el (f90-type-def-re):
16382 Handle "type, bind(c)". (Bug#8691)
16383
4a720484
GM
16384 * emacs-lisp/autoload.el (batch-update-autoloads):
16385 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16386
2fb0a219
MA
163872011-05-18 Michael Albinus <michael.albinus@gmx.de>
16388
16389 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16390 property for the correct connection in case of multihops.
16391
e565dd37
GM
163922011-05-18 Glenn Morris <rgm@gnu.org>
16393
c2571358 16394 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16395 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16396
e565dd37
GM
16397 Rationalize calendar handling of day and month abbrev-arrays.
16398 * calendar/calendar.el (calendar-customized-p): New function.
16399 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16400 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16401 Add :set function.
16402 (calendar-abbrev-length, calendar-day-abbrev-array)
16403 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16404 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16405 Elements may no longer be nil.
16406 (calendar-day-name, calendar-month-name):
16407 Update for changed nature of abbrev arrays.
16408 * calendar/diary-lib.el (diary-name-pattern):
16409 Update for changed nature of abbrev arrays.
16410 (diary-mark-entries-1): Update calendar-make-alist calls.
16411 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16412 * calendar/cal-html.el (cal-html-day-abbrev-array):
16413 Simply inherit from calendar-day-abbrev-array.
16414
1d99a745
SM
164152011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16416
16417 * progmodes/grep.el (grep-mode): Disable default
16418 compilation-directory-matcher setting (bug#8684).
16419
7c1d9aa0
MA
164202011-05-17 Michael Albinus <michael.albinus@gmx.de>
16421
16422 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16423 instead of "head" and "tail". There were problems with SunOS 5.9,
16424 and it performs better.
16425
3952e9d8
GM
164262011-05-17 Glenn Morris <rgm@gnu.org>
16427
2dd12e7f
GM
16428 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16429
e4157b9c
GM
16430 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16431 Replace obsolete function.
16432
8e249bbd
GM
16433 * shell.el (pcomplete-parse-arguments-function): Declare.
16434
3952e9d8
GM
16435 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16436 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16437 (appt-check): Doc fixes.
16438 (appt-disp-window-function, appt-delete-window-function):
16439 Remove needless special case in custom :type.
16440 (appt-display-count): Default to 0, not nil.
16441 (appt-check): Reset appt-display-count to 0, not nil.
16442
c71a0d48 164432011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16444
c71a0d48
GM
16445 * progmodes/python.el (python-font-lock-keywords):
16446 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16447
31d55be9
SM
164482011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16449
16450 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16451
3bfacb2f
KR
164522011-05-16 Kevin Ryde <user42@zip.com.au>
16453
16454 * info-look.el (makefile-automake-mode): New setups, looking in
16455 automake manual, then makefile-mode.
16456 (makefile-mode): Remove automake manual, have it just in
16457 makefile-automake-mode since there's various things different or
16458 not relevant to plain make.
16459 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16460 believe a hypothetical automake-mode would go to makefile-mode,
16461 not the other way around.
16462
c8e83751
CY
164632011-05-15 Chong Yidong <cyd@stupidchicken.com>
16464
5e9e35cd
CY
16465 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16466 hunk-end tags (Bug#8672).
16467
c8e83751
CY
16468 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16469 vc-annotate-show-diff-revision-at-line (Bug#8671).
16470
50b23e5a
GM
164712011-05-14 Glenn Morris <rgm@gnu.org>
16472
7210a739
GM
16473 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16474 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16475 (change-log-font-lock-keywords): Also handle multiple author lines
16476 with leading tabs. (Bug#8644)
7210a739 16477
4691905a
GM
16478 * calendar/appt.el (appt-check): Rename some local variables.
16479 Some simplification/reordering.
16480
50b23e5a
GM
16481 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16482 (feedmail-sendmail-f-doesnt-sell-me-out)
16483 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16484 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16485 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16486 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16487 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16488 (feedmail-binmail-gnulinuxish-template):
16489 Rename from feedmail-binmail-linuxish-template.
16490 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16491 Use insert-buffer-substring.
16492
215cda7c
BC
164932011-05-14 Bill Carpenter <bill@carpenter.org>
16494
16495 * mail/feedmail.el (feedmail-patch-level): Increase.
16496 (feedmail-debug): New custom group.
16497 (feedmail-confirm-outgoing-timeout)
16498 (feedmail-sendmail-f-doesnt-sell-me-out)
16499 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16500 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16501 (feedmail-sender-line, feedmail-from-line)
16502 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16503 (feedmail-spray-this-address)
215cda7c
BC
16504 (feedmail-spray-address-fiddle-plex-list)
16505 (feedmail-queue-use-send-time-for-date)
16506 (feedmail-queue-use-send-time-for-message-id)
16507 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16508 (feedmail-buffer-eating-function):
16509 Doc fixes.
16510 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16511 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16512 (feedmail-message-action-scroll-down): New functions.
16513 (feedmail-queue-directory, feedmail-queue-draft-directory):
16514 Use expand-file-name.
16515 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16516 Remove C-v help entry.
16517 (feedmail-queue-buffer-file-name): New variable.
16518 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16519 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16520 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16521 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16522 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16523 (feedmail-message-action-toggle-spray)
16524 (feedmail-run-the-queue-no-prompts)
16525 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16526 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16527 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16528 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16529 (feedmail-envelope-deducer, feedmail-fiddle-from)
16530 (feedmail-fiddle-sender, feedmail-default-date-generator)
16531 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16532 (feedmail-fiddle-spray-address)
16533 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16534 (feedmail-fiddle-list-of-fiddle-plexes)
16535 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16536 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16537 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16538 Change default. Doc fix.
16539 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16540 (feedmail-binmail-linuxish-template): New constant.
16541 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16542 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16543 (feedmail-send-it): Add debug call.
16544 Use feedmail-queue-buffer-file-name, and
16545 feedmail-send-it-immediately-wrapper.
16546 (feedmail-message-action-send): Add debug call.
16547 Use feedmail-send-it-immediately-wrapper.
16548 (feedmail-queue-express-to-queue): Add debug call.
16549 Run feedmail-queue-express-hook.
16550 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16551 (feedmail-message-action-help-blat):
16552 Rename from feedmail-queue-send-edit-prompt-help-first.
16553 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16554 Check line-endings. Handle errors better.
16555 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16556 Doc fix. Add debug call.
16557 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16558 Use feedmail-queue-send-edit-prompt-inner.
16559 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16560 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16561 from feedmail-queue-send-edit-prompt.
16562 (feedmail-queue-send-edit-prompt-help)
16563 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16564 (feedmail-tidy-up-slug): Add debug call.
16565 Respect feedmail-queue-slug-suspect-regexp.
16566 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16567 (feedmail-dump-message-to-queue): Add debug call.
16568 Expand queue-directory.
16569 (feedmail-dump-message-to-queue): Change message slightly.
16570 Use feedmail-say-chatter.
16571 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16572 (feedmail-send-it-immediately-wrapper): New function.
16573 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16574 Insert empty string rather than newline. Handle full-frame case.
16575 Use catch/throw. Use feedmail-say-chatter.
16576 (feedmail-fiddle-from): Try mail-host-address.
16577 (feedmail-default-message-id-generator): Doc fix.
16578 Bind system-time-locale. Handle missing end.
16579 (feedmail-fiddle-x-mailer): Add debug call.
16580 Handle feedmail-x-mailer-line being nil.
16581 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16582 Add debug call. Use buffer-substring-no-properties.
16583 (feedmail-say-debug, feedmail-say-chatter): New functions.
16584 (feedmail-find-eoh): Give an explicit error.
16585
42c7e61e
UJ
165862011-05-13 Ulf Jasper <ulf.jasper@web.de>
16587
c2571358 16588 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16589 family from helvetica to sans.
c2571358 16590 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16591 etc/images/newsticker.
16592
c2571358 16593 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16594 family from helvetica to sans.
16595
16596 * net/newst-plainview.el (newsticker-new-item-face)
16597 (newsticker-old-item-face, newsticker-immortal-item-face)
16598 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16599 (newsticker-statistics-face): Change default family from
42c7e61e 16600 helvetica to sans.
c2571358 16601 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16602 etc/images/newsticker.
16603
5d3385a0
JB
16604 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16605 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16606 auto-marking.
16607
8497a297
DV
166082011-05-13 Didier Verna <didier@xemacs.org>
16609
16610 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16611 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16612 TODO entries.
8497a297
DV
16613 (lisp-lambda-list-keyword-parameter-indentation)
16614 (lisp-lambda-list-keyword-parameter-alignment)
16615 (lisp-lambda-list-keyword-alignment): New customizable user options.
16616 (lisp-indent-defun-method): Improve docstring.
16617 (extended-loop-p): Fix comment.
16618 (lisp-indent-lambda-list-keywords-regexp): New variable.
16619 (lisp-indent-lambda-list): New function.
16620 (lisp-indent-259): Use it.
16621 (lisp-indent-defmethod): Support for more than one
16622 method qualifier and properly indent methods lambda-lists.
16623 (defgeneric): Provide a missing common-lisp-indent-function property.
16624
f278f87f
SM
166252011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16626
16627 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16628 bounds for the empty string (bug#8667).
16629
5233edd7
GM
166302011-05-13 Glenn Morris <rgm@gnu.org>
16631
5237a44f
GM
16632 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16633
8340026c 16634 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16635 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16636
5233edd7 16637 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16638 (appt-time-msg-list): Doc fix.
a5464014 16639 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16640
92d10796
AS
166412011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16642
16643 * progmodes/ld-script.el (ld-script-keywords)
16644 (ld-script-builtins): Update keywords list.
16645
914a0ae1
SM
166462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16647
c89be45f
SM
16648 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16649
914a0ae1
SM
16650 * shell.el (shell-completion-vars): New function.
16651 (shell-mode):
16652 * simple.el (read-shell-command): Use it.
16653 (blink-matching-open): No need for " [...]" in minibuffer-message.
16654
98dc3df3
GM
166552011-05-12 Glenn Morris <rgm@gnu.org>
16656
16657 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16658 (appt-check): Simplify.
16659
d2fc7e3d 166602011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16661
4d61f28d 16662 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16663 literal "/dev/null".
16664
d2fc7e3d 166652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16666
16667 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16668 Fix typo.
16669
d2fc7e3d 166702011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16671
3f254caa
SM
16672 * progmodes/which-func.el (which-function):
16673 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16674 which might not be defined (Bug#8260).
16675
d45885f7
GM
166762011-05-12 Glenn Morris <rgm@gnu.org>
16677
16678 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16679 Let byte-compile-initial-macro-environment always take precedence.
16680
488086f4
SM
166812011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16682
16683 * net/rcirc.el: Add support for SSL/TLS connections.
16684 (rcirc-server-alist): New field `encryption'.
16685 (rcirc): Check `encryption' settings.
16686 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16687 Merge make-local-variable into `set'.
16688 (rcirc--connection-open-p): New function.
16689 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16690 the process is not a network process (e.g. running gnutls-cli).
16691 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16692 Make rcirc-(en|de)code-coding-system local here.
16693 (rcirc-mode): Merge make-local-variable into `set'.
16694 (rcirc-parent-buffer): Make permanent buffer-local.
16695 (rcirc-multiline-minor-mode): Don't do it here.
16696 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16697 there's no server buffer.
16698
7d3b9d44
GM
166992011-05-11 Glenn Morris <rgm@gnu.org>
16700
f64049c6
GM
16701 * newcomment.el (comment-kill): Prefix "unused" local.
16702
93c9df73
GM
16703 * term/w32console.el (get-screen-color): Declare.
16704
7d3b9d44
GM
16705 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16706 Handle symbol elements of byte-compile-initial-macro-environment.
16707
9e2dd53f
LL
167082011-05-10 Leo Liu <sdl.web@gmail.com>
16709
488086f4
SM
16710 * bookmark.el (bookmark-bmenu-mode-map):
16711 Bind bookmark-bmenu-search to `/'.
8b340240 16712
9e2dd53f 16713 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16714 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16715 (Footnote-unicode): New function.
16716 (footnote-style-alist): Add unicode style to the list.
16717 (footnote-style): Doc fix.
9e2dd53f 16718
79b70037
GM
167192011-05-10 Jim Meyering <meyering@redhat.com>
16720
16721 Fix doubled-word typos.
16722 * international/quail.el (quail-insert-kbd-layout): and and -> and
16723 * kermit.el: and and -> and
16724 * net/ldap.el (ldap-search-internal): to to -> to
16725 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16726 * progmodes/js.el (js-mode): and and -> and
16727 * textmodes/artist.el (artist-move-to-xy): at at -> at
16728 (artist-draw-region-trim-line-endings): if if -> if
16729 And Safetyc -> Safety.
16730 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16731
b8f82dc1 167322011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16733 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16734
16735 * files.el (hack-one-local-variable-eval-safep):
16736 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16737
4f99f44b
GM
167382011-05-10 Glenn Morris <rgm@gnu.org>
16739
16740 * calendar/diary-lib.el (diary-list-entries-hook)
16741 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16742 (diary-nongregorian-marking-hook, diary-list-entries)
16743 (diary-include-other-diary-files, diary-mark-entries)
16744 (diary-mark-included-diary-files): Doc fixes.
16745
84f29e6b
JB
167462011-05-09 Juanma Barranquero <lekktu@gmail.com>
16747
16748 * misc.el: Require tabulated-list.el during compilation.
16749
9bedd73a
CY
167502011-05-09 Chong Yidong <cyd@stupidchicken.com>
16751
488086f4
SM
16752 * progmodes/compile.el (compilation-start):
16753 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16754 (compilation-filter-hook): Doc fix.
16755
797c735c
DD
167562011-05-09 Deniz Dogan <deniz@dogan.se>
16757
16758 * wdired.el: Remove outdated installation comment. Fix usage
16759 comment.
16760
5f4b1dfe
JB
167612011-05-09 Juanma Barranquero <lekktu@gmail.com>
16762
16763 * misc.el: Implement new command `list-dynamic-libraries'.
16764 (list-dynamic-libraries--loaded-only-p): New variable.
16765 (list-dynamic-libraries--refresh): New function.
16766 (list-dynamic-libraries): New command.
16767
4c44026c
CY
167682011-05-09 Chong Yidong <cyd@stupidchicken.com>
16769
488086f4
SM
16770 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16771 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16772 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16773 higher priority to avoid clobbering by gnu.
16774
027f966d
CY
167752011-05-08 Chong Yidong <cyd@stupidchicken.com>
16776
16777 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16778 if the face has existing theme settings (Bug#8454).
16779
085f5d7d
CY
167802011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16781
488086f4
SM
16782 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16783 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16784
2a86a00c
RS
16785 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16786 special file names `.' and `..' (Bug#8259).
16787
d9c54a06
CY
167882011-05-08 Chong Yidong <cyd@stupidchicken.com>
16789
488086f4
SM
16790 * progmodes/grep.el (grep-mode-font-lock-keywords):
16791 Remove buffer-changing entries.
d9c54a06
CY
16792 (grep-filter): New function.
16793 (grep-mode): Add it to compilation-filter-hook.
16794
16795 * progmodes/compile.el (compilation-filter-hook)
16796 (compilation-filter-start): New defvars.
16797 (compilation-filter): Call compilation-filter-hook prior to
16798 updating the process mark.
16799
c4662635
SM
168002011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16801
16802 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16803
b0512a1d
EZ
168042011-05-07 Eli Zaretskii <eliz@gnu.org>
16805
605c9376
EZ
16806 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16807 mailclient-send-it even if window-system is nil. (Bug#8595)
16808
c4662635
SM
16809 * term/w32console.el (terminal-init-w32console):
16810 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16811 background-mode. (Bug#8597)
16812
d1dc2cc2
SM
168132011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16814
16815 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16816 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16817 New functions.
16818 (defgeneric, eieio--defmethod): Use them.
16819 (eieio-defgeneric): Remove.
16820 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16821
915d1300
GM
168222011-05-07 Glenn Morris <rgm@gnu.org>
16823
a3961c3e
GM
16824 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16825 Use let rather than let*.
16826 (timeclock-find-discrep): Remove unused local.
16827
314347b9
GM
16828 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16829
915d1300
GM
16830 * calendar/appt.el (appt-time-msg-list): Doc fix.
16831
275b59b0
NF
168322011-05-06 Noah Friedman <friedman@splode.com>
16833
16834 * apropos.el (apropos-print-doc): Only use
16835 emacs-lisp-docstring-fill-column when it is bound to an integer,
16836 per that variable's documentation.
16837
6c19f744
SM
168382011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16839
16840 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16841 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16842
60f884b2
GM
168432011-05-06 Glenn Morris <rgm@gnu.org>
16844
5006e634
GM
16845 * calendar/appt.el (appt-message-warning-time): Doc fix.
16846 (appt-warning-time-regexp): New option.
16847 (appt-make-list): Respect appt-message-warning-time.
16848
548d0a63
GM
16849 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16850 New options.
16851 (diary-add-to-list): Strip comments from the displayed string.
16852 (diary-mode): Set comment-start and comment-end.
16853
60f884b2
GM
16854 * vc/diff-mode.el (smerge-refine-subst): Declare.
16855 (diff-refine-hunk): Don't require smerge-mode when compiling.
16856
989681bb
JB
168572011-05-06 Juanma Barranquero <lekktu@gmail.com>
16858
16859 * simple.el (list-processes): Return nil as the docstring says.
16860
a6bc05e1
MA
168612011-05-05 Michael Albinus <michael.albinus@gmx.de>
16862
16863 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16864 to "".
16865 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16866 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16867 determining of binary transfer. (Bug#7383)
16868
23c22e9a
MA
168692011-05-05 Michael Albinus <michael.albinus@gmx.de>
16870
c4662635
SM
16871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16872 Fix port computation bug. (Bug#8618)
23c22e9a 16873
0bff894f
GM
168742011-05-05 Glenn Morris <rgm@gnu.org>
16875
b8296902
GM
16876 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16877
1f522ce8
GM
16878 * simple.el (shell-dynamic-complete-functions)
16879 (comint-dynamic-complete-functions): Declare.
16880
cf5bee67
GM
16881 * net/network-stream.el (gnutls-negotiate):
16882 * simple.el (tabulated-list-print): Fix declarations.
16883
16884 * progmodes/gud.el (syntax-symbol, syntax-point):
16885 Remove unnecessary and incorrect declarations.
16886
0bff894f
GM
16887 * emacs-lisp/check-declare.el (check-declare-scan):
16888 Handle byte-compile-initial-macro-environment in bytecomp.el
16889
9869b3ae
SM
168902011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16891
16892 Fix earlier half-done eieio-defmethod change (bug#8338).
16893 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16894 Streamline and change calling convention.
16895 (defmethod): Adjust accordingly and simplify.
16896 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16897 new eieio--defmethod.
16898 (slot-boundp): Minor CSE simplification.
16899
9c1d5ac5
MZ
169002011-05-05 Milan Zamazal <pdm@zamazal.org>
16901
16902 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16903 (glasses-make-readable): Use glasses-separate-capital-groups.
16904
455c834e
JB
169052011-05-05 Juanma Barranquero <lekktu@gmail.com>
16906
16907 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16908 (warning-series): Doc fix.
16909 (display-warning): Don't try to create the buffer if we just found it.
16910
9ed7c8cb
CY
169112011-05-04 Chong Yidong <cyd@stupidchicken.com>
16912
16913 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16914 (autoload-find-generated-file): New function.
16915 (generate-file-autoloads): Bind generated-autoload-file to
16916 buffer-file-name.
9869b3ae
SM
16917 (update-file-autoloads, update-directory-autoloads):
16918 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16919 output file (Bug#7989).
16920 (batch-update-autoloads): Doc fix.
16921
0898ca10
JB
169222011-05-04 Juanma Barranquero <lekktu@gmail.com>
16923
16924 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16925
31dfb76c
GM
169262011-05-04 Glenn Morris <rgm@gnu.org>
16927
f330b642
GM
16928 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16929 function, so it follows changes in calendar-date-style.
16930 (diary-fancy-date-matcher): New function.
16931 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16932 (diary-fancy-font-lock-fontify-region-function):
16933 Use diary-fancy-date-pattern as a function.
16934
31dfb76c
GM
16935 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16936 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16937
48e79d6a
TZ
169382011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16939
16940 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16941 instead of positional arguments. Allow :keylist and :crlfiles
16942 arguments.
16943 (open-gnutls-stream): Call it.
16944
16945 * net/network-stream.el (network-stream-open-starttls): Adjust to
16946 call `gnutls-negotiate' with :process and :hostname arguments.
16947
dd5a5ee0
SM
169482011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16949
ef80fc09
SM
16950 * minibuffer.el (completion--message): New function.
16951 (completion--do-completion, minibuffer-complete)
16952 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16953 (completion--do-completion): Don't ignore completion-auto-help when in
16954 icomplete-mode.
16955
dd5a5ee0
SM
16956 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16957 internal encoding (e.g. tibetan zero is not whitespace).
16958 (global-whitespace-mode): Prefer save-current-buffer.
16959 (whitespace-trailing-regexp): Remove useless save-match-data.
16960 (whitespace-empty-at-bob-regexp): Minor simplification.
16961
b7d22a83
CY
169622011-05-03 Chong Yidong <cyd@stupidchicken.com>
16963
16964 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16965
5192af46
AM
169662011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16967
16968 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16969 Use `concat' to create string for insertion.
5192af46 16970
5767d190
SM
169712011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16972
16973 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16974 Avoid open-line which runs post-self-insert-hook.
16975 (bibtex-fill-entry): Remove unused `end' var.
16976
bf242939
AM
169772011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16978
5767d190
SM
16979 * textmodes/ispell.el (ispell-add-per-file-word-list):
16980 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16981
25666126
LL
169822011-05-03 Leo Liu <sdl.web@gmail.com>
16983
16984 * isearch.el (isearch-yank-pop): New command.
5767d190 16985 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16986 (isearch-forward): Mention it.
16987
52d3c2d0
SM
169882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16989
1bcace58
SM
16990 * simple.el (minibuffer-complete-shell-command): Remove.
16991 (minibuffer-local-shell-command-map): Use completion-at-point.
16992 (read-shell-command): Setup completion vars here instead.
16993 (read-expression-map): Bind TAB to symbol completion.
16994
52d3c2d0
SM
16995 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16996 error directly rather via storing it into `results'.
16997
35813471
LL
169982011-05-02 Leo Liu <sdl.web@gmail.com>
16999
17000 * vc/diff.el: Fix description.
17001
e793a940
LMI
170022011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17003
17004 * server.el (server-eval-at): New function.
17005
8de66e05
LMI
170062011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17007
17008 * net/network-stream.el (open-network-stream): Take a :nowait
17009 parameter and pass it on to `make-network-process'.
17010 (network-stream-open-plain): Ditto.
17011
dcb79f20
AS
170122011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17013
17014 * faces.el (face-spec-set-match-display): Don't match toolkit
17015 options on terminal frames.
17016
14a7fbd8
SM
170172011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17018
7eabc1be
SM
17019 * progmodes/pascal.el: Use lexical binding.
17020 (pascal-mode-map): Remove author preferences.
17021
14a7fbd8
SM
17022 * pcomplete.el (pcomplete-std-complete): Don't abuse
17023 completion-at-point.
17024
50f84510
JB
170252011-04-28 Juanma Barranquero <lekktu@gmail.com>
17026
6e087a44
JB
17027 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17028 removing code that has been dead since 1991 or so.
17029
50f84510
JB
17030 * startup.el (command-line): When warning about "_emacs", use a
17031 delayed warning to allow the user to filter it out.
17032
0ba690bd
DD
170332011-04-28 Deniz Dogan <deniz@dogan.se>
17034
17035 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17036 user has not joined.
17037
08abfaad
SM
170382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17039
17040 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17041 aren't any completions at point.
17042
638f053a
JB
170432011-04-28 Juanma Barranquero <lekktu@gmail.com>
17044
17045 * subr.el (display-delayed-warnings): New function.
17046 (delayed-warnings-hook): New variable.
17047
8fff8daa
SM
170482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17049
08abfaad
SM
17050 * minibuffer.el (completion-at-point, completion-help-at-point):
17051 Don't presume that a given completion-at-point-function will always
17052 use the same calling convention.
17053
8fff8daa
SM
17054 * pcomplete.el (pcomplete-completions-at-point):
17055 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17056 pcomplete-seen is non-nil.
17057 (pcomplete-comint-setup): Also recognize the new comint/shell
17058 completion functions.
17059 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17060 pcomplete-seen is non-nil.
17061
841a1577 170622011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17063
841a1577 17064 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17065 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17066 the first character in the entry. This allows for code to add its
211ec907
UJ
17067 own uid to the entry.
17068 (icalendar--convert-float-to-ical): Add export of
17069 `diary-float'-entries save for those with the optional DAY
17070 argument.
17071
2a782793
DC
170722011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17073
17074 * subr.el (shell-quote-argument): Use alternate escaping strategy
17075 when we spot a variable reference in a string.
17076
0438ce91
DC
170772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17078
17079 * cus-start.el (all): Define customization for debug-on-event.
17080
841a1577 170812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17082
17083 * subr.el (shell-quote-argument): Escape correctly under Windows.
17084
d090ed6c
SM
170852011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17086
17087 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17088
bfd31217
MA
170892011-04-25 Michael Albinus <michael.albinus@gmx.de>
17090
d090ed6c
SM
17091 * net/tramp.el (tramp-process-actions): Add POS argument.
17092 Delete region between POS and (pos).
bfd31217 17093
d090ed6c
SM
17094 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17095 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17096 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17097
17098 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17099 position in `tramp-process-actions' call.
17100
17101 * net/trampver.el: Update release number.
17102
e92f3bd3
SM
171032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17104
850256b5
SM
17105 * custom.el (defcustom): Obey lexical-binding.
17106
e92f3bd3
SM
17107 Fix octave-inf completion problems reported by Alexander Klimov.
17108 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17109 Inherit from octave-mode-syntax-table.
17110 (inferior-octave-mode): Set info-lookup-mode.
17111 (inferior-octave-completion-at-point): New function.
17112 (inferior-octave-complete): Use it and completion-in-region.
17113 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17114 comint-filename-completion.
17115 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17116 symbol elements which shouldn't be word elements.
17117 (octave-font-lock-keywords, octave-beginning-of-defun)
17118 (octave-function-header-regexp): Adjust regexps accordingly.
17119 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17120
cd22b309
JB
171212011-04-25 Juanma Barranquero <lekktu@gmail.com>
17122
17123 * net/gnutls.el (gnutls-errorp): Declare before first use.
17124
8b492194
TZ
171252011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17126
17127 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17128 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17129 default trustfile exists before going to use it. Add missing
5a5fa834 17130 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17131 Reported by Claudio Bley <claudio.bley@gmail.com>.
17132 (open-gnutls-stream): Add usage example.
17133
17134 * net/network-stream.el (network-stream-open-starttls): Give host
17135 parameter to `gnutls-negotiate'.
17136 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17137 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17138
841a1577 171392011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17140
cd22b309
JB
17141 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17142 Use correct match group (bug#8438).
05842630 17143
3ba7869c
CY
171442011-04-24 Chong Yidong <cyd@stupidchicken.com>
17145
512e3ae1
CY
17146 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17147 (package-menu--generate): New arg specifying packages to show.
17148 (package-menu-refresh, package-menu-execute, list-packages):
17149 Callers changed.
17150 (package-show-package-list): New function, replacing deleted
17151 package--list-packages (renamed because it is non-internal).
17152
17153 * finder.el (finder-list-matches): Use package-show-package-list
17154 instead of deleted package--list-packages.
17155
e92f3bd3
SM
17156 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17157 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17158 (vc-annotate-mode-map): Bind it to RET.
17159
7031be6d
UR
171602011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17161
17162 * progmodes/etags.el (next-file): Don't use set-buffer to change
17163 buffers (Bug#8478).
17164
4ef177aa
CY
171652011-04-24 Chong Yidong <cyd@stupidchicken.com>
17166
c8d173eb
CY
17167 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17168
4ef177aa
CY
17169 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17170 (apropos-accumulator): Doc fix.
17171 (apropos-function, apropos-macro, apropos-command)
17172 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17173 (apropos-plist): Add face property.
17174 (apropos-symbols-internal): Fix indentation.
17175 (apropos-print): Simplify help, and recognize apropos-multi-type.
17176 (apropos-print-doc): Use button-type-get to extract the button's
17177 face property. Fill docstring (Bug#8352).
17178
4ffd0d6b 171792011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17180
17181 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17182
c6c32125 17183 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17184 (mpuz-mode-map): Use mapc.
c6c32125
JB
17185 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17186 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17187 Fix typos in docstrings.
17188
58d468b4
JB
17189 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17190 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17191
6470c3c6
JB
17192 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17193
4ffd0d6b 171942011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17195
17196 * minibuffer.el (completion--do-completion): Avoid the "Next char
17197 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17198
3ad8bad0
CY
17199 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17200 mouse-2 into unread-command-events, it is interpreted correctly.
17201
71d73c9c 17202 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17203 (image-toggle-display): Doc fix.
71d73c9c 17204
841a1577 172052011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17206
4ffd0d6b
GM
17207 * textmodes/page.el (what-page): Use line-number-at-pos to
17208 calculate line number (Bug#6825).
6e1dbaa9 17209
c2fb1b60
JB
172102011-04-22 Juanma Barranquero <lekktu@gmail.com>
17211
17212 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17213 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17214 Pass argument NO-DEFAULT to `find-tag-interactive'.
17215
e02f48d7
JB
172162011-04-22 Juanma Barranquero <lekktu@gmail.com>
17217
17218 Lexical-binding cleanup.
17219
17220 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17221 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17222 * progmodes/ada-prj.el (ada-prj-initialize-values)
17223 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17224 (ada-prj-show-value):
17225 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17226 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17227 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17228 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17229 * progmodes/bug-reference.el (bug-reference-push-button):
17230 * progmodes/fortran.el (fortran-line-length):
17231 * progmodes/glasses.el (glasses-change):
17232 * progmodes/octave-mod.el (octave-fill-paragraph):
17233 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17234 (python-pdbtrack-grub-for-buffer, python-sentinel):
17235 * progmodes/sql.el (sql-save-connection):
17236 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17237 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17238 Mark unused parameters.
17239
17240 * progmodes/compile.el (compilation--flush-directory-cache)
17241 (compilation--flush-parse, compile-internal): Mark unused parameters.
17242 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17243 (compilation-next-error-function): Remove unused variable `timestamp'.
17244
17245 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17246 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17247
17248 * progmodes/dcl-mode.el (dcl-end-of-command):
17249 Remove unused variable `start'.
17250 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17251 (dcl-option-value-basic, dcl-option-value-offset)
17252 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17253 Mark unused parameters.
17254 (dcl-save-local-variable): Remove unused variable `val'.
17255 (mode): Declare.
17256
17257 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17258 Mark unused parameters.
17259 (delphi-ignore-changes): Move before first use.
17260 (delphi-charset-token-at): Remove unused variable `start'.
17261 (delphi-else-start): Remove unused variable `if-count'.
17262 (delphi-comment-block-start, delphi-comment-block-end):
17263 Remove unused variable `kind'.
17264 (delphi-indent-line): Remove unused variable `new-point'.
17265
17266 * progmodes/ebrowse.el (ebrowse-files-list)
17267 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17268 Mark unused parameters. Don't quote `lambda'.
17269 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17270 Don't quote `lambda'.
17271 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17272 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17273 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17274 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17275 Use `ignore-errors'.
17276 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17277 (ebrowse-view/find-file-and-search-pattern)
17278 (ebrowse-view/find-member-declaration/definition):
17279 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17280 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17281 Rename parameter PREFIX-ARG to PREFIX.
17282 (ebrowse-tags-read-name): Remove unused variables `start' and
17283 `member-info'.
17284 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17285 to `tags-file'.
17286
17287 * progmodes/etags.el (local-find-tag-hook): Declare.
17288 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17289 Mark unused parameters.
17290
17291 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17292 (executable-interpret): Mark unused parameter.
17293
17294 * progmodes/flymake.el (flymake-process-sentinel)
17295 (flymake-after-change-function)
17296 (flymake-create-temp-with-folder-structure)
17297 (flymake-get-include-dirs-dot): Mark unused parameters.
17298 (flymake-safe-delete-directory): Remove unused variable `err'.
17299
17300 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17301 (speedbar-timer-fn, speedbar-line-text)
17302 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17303 (speedbar-center-buffer-smartly): Declare functions.
17304 (gdb-find-watch-expression): Remove unused variable `array'.
17305 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17306 (gdb-starting): Mark unused parameters.
17307 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17308 (gdb-table-string): Remove unused variable `res'.
17309 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17310 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17311 (gdb-display-buffer): Remove unused variable `cur-size'.
17312
17313 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17314 allow lexical-binding compilation.
17315 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17316 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17317 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17318 Mark unused parameters.
17319 (gud-gdb-marker-filter): Remove unused variable `match'.
17320 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17321 lambda expressions and funcall them, instead of using `fset'.
17322
17323 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17324 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17325
17326 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17327 variable `header-beg'; use `let'.
17328
17329 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17330 `restart', `last-sexp' and `at-do'.
17331
17332 * progmodes/js.el (js--debug): Mark unused parameter.
17333 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17334 (js--splice-into-items): Remove unused variable `item'.
17335 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17336
17337 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17338 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17339 (makefile-complete): Remove unused variable `try'.
17340 (makefile-fill-paragraph, makefile-match-function-end):
17341 Mark unused parameters.
17342
17343 * progmodes/octave-inf.el (inferior-octave-complete):
17344 Remove unused variable `proc'.
17345 (inferior-octave-output-digest): Mark unused parameter.
17346
17347 * progmodes/perl-mode.el (perl-calculate-indent):
17348 Remove unused variable `err'.
17349
17350 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17351 (prolog-indent-line): Mark unused parameters.
17352 (prolog-indent-line): Remove unused variable `beg'.
17353
17354 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17355 (reporter-dont-compact-list): Declare.
17356
17357 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17358 Remove unused variable `char'.
17359 (sh-debug): Mark unused parameter.
17360 (sh-get-indent-info): Remove unused variable `start'.
17361 (sh-calculate-indent): Remove unused variable `var'.
17362
17363 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17364 (simula-electric-keyword): Remove unused variable `null'.
17365 (simula-search-backward, simula-search-forward): Remove unused
17366 variables `begin' and `end'.
17367
17368 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17369 Remove unused variable `pos'.
17370 (vera-electric-tab, vera-comment-uncomment-region):
17371 Mark unused parameters.
17372 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17373
7ede3b65
CY
173742011-04-22 Chong Yidong <cyd@stupidchicken.com>
17375
17376 * emacs-lisp/package.el (package--builtins, package-alist)
17377 (package-load-descriptor, package-built-in-p, package-activate)
17378 (define-package, package-installed-p)
17379 (package-compute-transaction, package-buffer-info)
17380 (package--push): Doc fix. Distinguish more clearly between
17381 version strings and version lists.
17382
121656e9
JB
173832011-04-21 Juanma Barranquero <lekktu@gmail.com>
17384
17385 Lexical-binding cleanup.
17386
17387 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17388 (5x5-make-mutate-best):
17389 * play/fortune.el (fortune-in-buffer):
17390 * play/gomoku.el (gomoku-init-display):
17391 * play/solitaire.el (solitaire, solitaire-do-check):
17392 * play/tetris.el (tetris-default-update-speed-function):
17393 Mark unused parameters.
17394
17395 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17396 (bubbles--shift): Remove unused variable `char-org'.
17397 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17398 (bubbles--show-images): Remove unused variable `char'.
17399
17400 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17401 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17402 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17403 (decipher-analyze-buffer): Use ?\s.
17404 (decipher-make-checkpoint): Remove unused variable `mapping'.
17405
17406 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17407
17408 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17409 Remove unused variable `result'; use `let'.
17410
17411 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17412 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17413 (gametree-children-shown-p, gametree-compute-reduced-score):
17414 Use `ignore-errors'.
17415
17416 * play/handwrite.el (ps-lpr-switches): Declare.
17417 (handwrite): Remove unused variables `pmin' and `lastp'.
17418
17419 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17420
17421 * play/landmark.el (landmark-init-display)
17422 (landmark-update-naught-weights): Mark unused parameters.
17423 (landmark-y): Remove unused variable `noise'. Simplify.
17424 (landmark-human-plays): Remove unused variable `score'.
17425
17426 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17427 (mpuz-try-proposal): Remove unused variable `game'.
17428
17429 * play/zone.el (life-patterns): Declare.
17430
80f499c7
JB
174312011-04-20 Juanma Barranquero <lekktu@gmail.com>
17432
17433 * vc/vc.el (ediff-vc-internal): Declare function.
17434
024ff170
SM
174352011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17436
c0a193ea
SM
17437 * shell.el: Use lexical-binding and std completion UI.
17438 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17439 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17440 comint-preoutput-filter-functions rather than on
17441 comint-output-filter-functions.
17442 (shell-command-completion, shell--command-completion-data)
17443 (shell-filename-completion, shell-environment-variable-completion)
17444 (shell-c-a-p-replace-by-expanded-directory): New functions.
17445 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17446 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17447 (shell-dynamic-complete-environment-variable): Use them.
17448 (shell-dynamic-complete-as-environment-variable)
17449 (shell-dynamic-complete-as-command): Remove.
17450 (shell-match-partial-variable): Match past point.
17451 * comint.el: Clean up use of completion-at-point-functions.
17452 (comint-completion-at-point): New function.
17453 (comint-mode): Use it completion-at-point-functions.
17454 (comint-dynamic-complete): Make it obsolete.
17455 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17456 (comint-c-a-p-replace-by-expanded-history): New function.
17457 (comint-dynamic-complete-functions)
17458 (comint-replace-by-expanded-history): Use it.
17459 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17460 termination strings. Try harder to avoid second try-completion.
17461 (completion-in-region-mode-map): Disable bindings that don't work yet.
17462
2dbaa080
SM
17463 * comint.el: Use lexical-binding. Require CL.
17464 (comint-dynamic-complete-functions): Use comint-filename-completion.
17465 (comint-completion-addsuffix): Tweak custom type.
17466 (comint-filename-completion, comint--common-suffix)
17467 (comint--common-quoted-suffix, comint--table-subvert)
17468 (comint--complete-file-name-data): New functions.
17469 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17470 (comint-dynamic-list-filename-completions): Use them.
17471 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17472
2dbaa080
SM
17473 * minibuffer.el (completion-in-region-mode):
17474 Keep completion-in-region-mode--predicate global.
17475 (completion-in-region--postch):
17476 Assume completion-in-region-mode--predicate is not null.
17477
c79a6f38
SM
17478 * progmodes/flymake.el (flymake-start-syntax-check-process):
17479 Obey `dir'. Simplify.
17480
024ff170
SM
17481 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17482 we're in VC after all.
17483
1c6c854e
CS
174842011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17485
17486 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17487 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17488 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17489
bed7f140
SM
174902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17491
332e62ab
SM
17492 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17493 add sanity check.
17494
bed7f140
SM
17495 * obsolete/erc-hecomplete.el: Make obsolete.
17496 * obsolete/: Standardize obsolescence info in the header.
17497
f195c582
GM
174982011-04-20 Glenn Morris <rgm@gnu.org>
17499
17500 * calendar/solar.el (solar-horizontal-coordinates):
17501 Use the longitude argument rather than `calendar-longitude'.
17502 (solar-date-next-longitude): Remove unused locals.
17503
cb79b8c0
VJL
175042011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17505
17506 * whitespace.el: New version 13.2.1.
17507
175082011-04-20 felix <EmacsWiki> (tiny change)
17509
d8e4b68b 17510 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17511 switching between major modes on a file.
17512
602ea69d
SM
175132011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17514
17515 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17516 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17517 multi-line comments as well.
17518
06b60517
JB
175192011-04-19 Juanma Barranquero <lekktu@gmail.com>
17520
17521 Lexical-binding cleanup.
17522
17523 * arc-mode.el (archive-mode-revert):
17524 * cmuscheme.el (scheme-interactively-start-process):
17525 * custom.el (custom-initialize-delay):
17526 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17527 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17528 * emacs-lock.el (emacs-lock-clear-sentinel):
17529 * ezimage.el (defezimage):
17530 * follow.el (follow-avoid-tail-recenter):
17531 * fringe.el (set-fringe-mode-1):
17532 * generic-x.el (bat-generic-mode-compile):
17533 * help-mode.el (help-info-variable, help-do-xref)
17534 (help-mode-revert-buffer):
17535 * help.el (view-emacs-todo):
17536 * iswitchb.el (iswitchb-completion-help):
17537 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17538 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17539 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17540 * locate.el (locate-update):
17541 * longlines.el (longlines-encode-region)
17542 (longlines-after-change-function):
17543 * outline.el (outline-isearch-open-invisible):
17544 * ps-def.el (declare-function, charset-dimension, char-width)
17545 (encode-char):
17546 * ps-mule.el (ps-mule-plot-string):
17547 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17548 (recentf-edit-list-select, recentf-edit-list-validate)
17549 (recentf-open-files-action):
17550 * rect.el (delete-whitespace-rectangle-line)
17551 (rectangle-number-line-callback):
17552 * register.el (window-configuration-to-register)
17553 (frame-configuration-to-register):
17554 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17555 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17556 (xselect-convert-to-targets, xselect-convert-to-delete)
17557 (xselect-convert-to-filename, xselect-convert-to-charpos)
17558 (xselect-convert-to-lineno, xselect-convert-to-colno)
17559 (xselect-convert-to-os, xselect-convert-to-host)
17560 (xselect-convert-to-user, xselect-convert-to-class)
17561 (xselect-convert-to-name, xselect-convert-to-integer)
17562 (xselect-convert-to-atom, xselect-convert-to-identity):
17563 * subr.el (declare, ignore, process-kill-without-query)
17564 (text-clone-maintain):
17565 * terminal.el (te-get-char, te-tic-sentinel):
17566 * tool-bar.el (tool-bar-make-keymap):
17567 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17568 * type-break.el (type-break-mode, type-break-noninteractive-query):
17569 * view.el (View-back-to-mark):
17570 * wid-browse.el (widget-browse-action, widget-browse-widget)
17571 (widget-browse-widgets, widget-browse-sexp):
17572 * widget.el (define-widget-keywords):
17573 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17574 Mark unused parameters.
17575
17576 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17577 (align-areas): Remove unused variable `look'.
17578 (align-region): Remove unused variables `real-end' and `pos-list'.
17579
17580 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17581
17582 * bindings.el (mode-line-modified, mode-line-remote):
17583 Mark unused parameters.
17584 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17585
17586 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17587 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17588
17589 * comint.el (comint-history-isearch-pop-state)
17590 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17591 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17592 (comint-substitute-in-file-name): Doc fix.
17593
17594 * completion.el (cmpl-statistics-block): Mark unused parameter.
17595 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17596 (save-completions-to-file, load-completions-from-file):
17597 Remove unused local variable `e'.
17598
17599 * composite.el (compose-chars): Remove unused variable `len'.
17600 (lgstring-insert-glyph): Remove unused variable `g'.
17601 (compose-glyph-string): Remove unused variables `ascent',
17602 `descent', `lbearing' and `rbearing'.
17603 (compose-glyph-string-relative): Remove unused variables
17604 `lbearing', `rbearing' and `wadjust'.
17605 (compose-gstring-for-graphic): Remove unused variables `header',
17606 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17607 (compose-gstring-for-terminal): Remove unused variables `header'
17608 and `nchars'. Use `let', not `let*'.
17609
17610 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17611 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17612 (Custom-buffer-done, custom-buffer-create-internal)
17613 (custom-browse-visibility-action, custom-browse-group-tag-action)
17614 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17615 (widget-magic-mouse-down-action, custom-toggle-parent)
17616 (custom-add-parent-links, custom-toggle-hide-variable)
17617 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17618 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17619 (custom-face-menu-create, custom-variable-menu-create, get)
17620 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17621 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17622 (customize-apropos): Remove unused variable `tests'.
17623 (custom-group-value-create): Remove unused variable `hidden-p'.
17624 (sort-fold-case): Declare.
17625
17626 * cus-theme.el (custom-reset-standard-faces-list)
17627 (custom-reset-standard-variables-list): Declare.
17628 (customize-create-theme, custom-theme-revert, custom-theme-write)
17629 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17630 Mark unused parameters.
17631
17632 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17633
17634 * delim-col.el (delimit-columns-max): Move defvar before first use.
17635
17636 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17637 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17638
17639 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17640 (auto-insert): Declare.
17641 (desktop-restore-file-buffer): Rename desktop-* parameters;
17642 mark unused ones.
17643 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17644 (desktop-buffer): Rename desktop-* parameters.
17645
17646 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17647 (dframe-reposition-frame-xemacs, dframe-help-echo)
17648 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17649 Mark unused parameters.
17650
17651 * dired-aux.el (backup-extract-version-start, overwrite-query)
17652 (overwrite-backup-query, rename-regexp-query)
17653 (rename-non-directory-query): Declare.
17654 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17655 (dired-add-entry): Remove unused variable `orig-file-name'.
17656 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17657 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17658 `dired-copy-preserve-time' directly.
17659 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17660 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17661
17662 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17663 (dired-virtual-revert, dired-make-relative-symlink):
17664 Mark unused parameters.
17665 (manual-program): Declare.
17666 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17667 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17668 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17669
17670 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17671
17672 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17673
17674 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17675 Declare.
17676
17677 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17678
17679 * electric.el (Electric-command-loop): Rename parameter
17680 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17681
17682 * expand.el (expand-in-literal): Remove unused variable `here'.
17683
17684 * facemenu.el (facemenu-add-new-color):
17685 Remove unused variable `docstring'.
17686
17687 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17688 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17689 (face-attr-construct): Mark unused parameter. Doc fix.
17690 (read-color): Remove unused variable `hex-string'.
17691
17692 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17693 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17694 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17695 (display-buffer-other-frame): Remove unused variable `old-window'.
17696 (kill-buffer-hook): Declare.
17697 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17698 Mark unused parameters.
17699 (after-find-file): Pass 1 to `auto-save-mode', not t.
17700
17701 * files-x.el (auto-insert): Declare.
17702 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17703
17704 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17705 variable `buf'. Mark unused parameter.
06b60517
JB
17706 (find-lisp-insert-directory): Mark unused parameter.
17707
17708 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17709 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17710 (format-common-tail): Remove, unused.
17711 (format-deannotate-region): Remove unused variable `loc'.
17712 (format-annotate-region): Remove unused variable `p'.
17713 (format-annotate-single-property-change): Remove unused variables
17714 `default' and `tail'.
17715
17716 * forms.el (read-file-filter): Declare.
17717 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17718
17719 * frame.el (frame-creation-function-alist): Mark unused parameter.
17720 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17721
17722 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17723 Remove unused parameters.
17724 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17725 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17726
17727 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17728 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17729 (hfy-prepare-tag-map): Mark unused parameters.
17730 (htmlfontify-buffer): Use `called-interactively-p'.
17731
17732 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17733 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17734 (ibuffer-do-occur): Mark unused parameters.
17735 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17736 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17737
17738 * ibuffer.el: Don't quote `lambda'.
17739 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17740 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17741 Mark unused parameters.
17742
17743 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17744 (ido-completing-read): Mark unused parameters.
17745 (ido-copy-current-word): Mark unused parameters;
17746 remove unused variable `name'.
17747 (ido-sort-merged-list): Remove unused parameter `dirs'.
17748
17749 * ielm.el (ielm-input-sender): Mark unused parameter.
17750 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17751 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17752 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17753 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17754 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17755
17756 * image-dired.el (image-dired-display-thumbs): Remove unused
17757 variables `curr-file' and `count'.
17758 (image-dired-remove-tag): Remove unused variable `start'.
17759 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17760 variable `curr-file'
17761 (image-dired-rotate-original): Remove unused variable `temp-file'.
17762 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17763 Remove unused variable `file'.
17764 (image-dired-gallery-generate): Remove unused variable `curr'.
17765 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17766
17767 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17768
17769 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17770
17771 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17772
17773 * isearch.el (minibuffer-history-symbol): Declare.
17774 (isearch-edit-string): Remove unused variable `err'.
17775 (isearch-message-prefix, isearch-message-suffix):
17776 Mark unused parameters.
17777
17778 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17779
17780 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17781
17782 * makesum.el (double-column): Remove unused variable `cnt'.
17783
17784 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17785 (ido-ignore-item-temp-list): Declare.
17786
17787 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17788 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17789 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17790 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17791 `mouse-col-delta'.
17792
17793 * mouse-sel.el (mouse-extend-internal):
17794 Remove unused variable `orig-window-frame'.
17795
17796 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17797 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17798 Move declarations before first use.
17799 (pcomplete-opt): Mark unused parameters; doc fix.
17800
17801 * proced.el (proced-revert): Mark unused parameter.
17802 (proced-send-signal): Remove unused variable `err'.
17803
17804 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17805 Rename parameter PREFIX-ARG to ARG.
17806 (ps-basic-plot-string, ps-basic-plot-whitespace):
17807 Mark unused parameters.
17808
17809 * replace.el (replace-count): Define.
17810 (occur-revert-function): Mark unused parameters.
17811 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17812 (isearch-case-fold-search, isearch-string): Declare.
17813 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17814 bind `case-fold-search'. Remove unused variables `beg' and `end',
17815 and simplify.
17816 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17817 COUNT and bind `replace-count'.
17818 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17819 to COUNT.
17820
17821 * savehist.el (print-readably, print-string-length): Declare.
17822
17823 * shadowfile.el (shadow-expand-cluster-in-file-name):
17824 Remove unused variable `cluster'.
17825 (shadow-copy-file): Remove unused variable `i'.
17826 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17827 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17828 (shadow-define-literal-group, shadow-define-regexp-group)
17829 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17830
17831 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17832 (shell): Use `called-interactively-p'.
17833 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17834
17835 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17836 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17837 (delete-backward-char): Remove unused variable `ocol'.
17838 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17839 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17840 (event-apply-hyper-modifier, event-apply-shift-modifier)
17841 (event-apply-control-modifier, event-apply-meta-modifier):
17842 Mark unused parameters.
17843 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17844 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17845
17846 * speedbar.el (speedbar-ignored-directory-expressions)
17847 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17848 (speedbar-find-file, speedbar-dir-follow)
17849 (speedbar-directory-buttons-follow, speedbar-tag-find)
17850 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17851 (speedbar-buffers-line-directory, speedbar-buffer-click):
17852 Mark unused parameters.
17853 (speedbar-tag-file): Remove unused variable `mode'.
17854 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17855
17856 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17857
17858 * talk.el (talk): Remove unused variable `display'.
17859
17860 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17861 (tar-write-region-annotate): Mark unused parameter.
17862
17863 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17864 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17865 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17866 warning by another.
17867
17868 * time-stamp.el (time-stamp-string-preprocess):
17869 Remove unused variable `require-padding'.
17870
17871 * tree-widget.el (widget-glyph-enable): Declare.
17872 (tree-widget-action): Mark unused parameter.
17873
17874 * w32-fns.el (x-get-selection): Mark unused parameter.
17875 (autoload-make-program, generated-autoload-file): Declare.
17876
17877 * wdired.el (wdired-revert): Mark unused parameters.
17878 (wdired-xcase-word): Remove unused variable `err'.
17879
17880 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17881 (whitespace-help-scroll): Remove unused variable `data-help'.
17882
17883 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17884 (widget-image-insert, widget-after-change, default)
17885 (widget-default-format-handler, widget-default-notify)
17886 (widget-default-prompt-value, widget-info-link-action)
17887 (widget-url-link-action, widget-function-link-action)
17888 (widget-variable-link-action, widget-file-link-action)
17889 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17890 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17891 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17892 (widget-insert-button-action, widget-delete-button-action, visibility)
17893 (widget-documentation-link-action, widget-documentation-string-action)
17894 (widget-const-prompt-value, widget-regexp-match, symbol)
17895 (widget-coding-system-prompt-value)
17896 (widget-key-sequence-value-to-external, sexp)
17897 (widget-sexp-value-to-internal, character, vector, cons)
17898 (widget-choice-prompt-value, widget-boolean-prompt-value)
17899 (widget-color--choose-action): Mark unused parameters.
17900 (widget-item-match-inline, widget-choice-match-inline)
17901 (widget-checklist-match, widget-checklist-match-inline)
17902 (widget-group-match): Rename parameter VALUES to VALS.
17903 (widget-field-value-set): Remove unused variable `size'.
17904 (widget-color-action): Remove unused variables `value' and `start'.
17905
17906 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17907 variable `dir'. Doc fix.
06b60517
JB
17908 (windmove-find-other-window): Don't pass it.
17909
17910 * window.el (count-windows): Mark unused parameter.
17911 (bw-adjust-window): Remove unused variable `err'.
17912
17913 * woman.el (woman-file-name): Remove unused variable `default'.
17914 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17915 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17916 (global-font-lock-mode): Declare.
17917 (woman-decode-region): Mark unused parameter.
17918 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17919
17920 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17921 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17922 (x-dnd-handle-moz-url): Remove unused variable `title'.
17923 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17924
17925 * xml.el (xml-parse-tag, xml-parse-attlist):
17926 Remove unused variable `pos'.
17927
bc4f7f3d
GM
179282011-04-19 Glenn Morris <rgm@gnu.org>
17929
17930 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17931 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17932 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17933 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17934 * calendar/cal-html.el (cal-html-insert-minical):
17935 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17936 (calendar-mark-date-pattern):
17937 Prefix "unused" locals.
17938
17939 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17940 optional argument `style'.
17941
17942 * calendar/appt.el (appt-make-list):
17943 * calendar/cal-china.el (calendar-chinese-date-string):
17944 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17945 (diary-hebrew-yahrzeit):
17946 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17947 * calendar/calendar.el (calendar-generate-window):
17948 * calendar/time-date.el (time-to-days):
17949 Remove unused local variables.
17950
16a43933
CY
179512011-04-18 Chong Yidong <cyd@stupidchicken.com>
17952
17953 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17954 glyphless-char-display table.
17955 (tabulated-list-glyphless-char-display): New var.
17956
7eed1860
SS
179572011-04-18 Sam Steingold <sds@gnu.org>
17958
17959 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17960 to acknowledgments.
17961
4d2d1ccd
GM
179622011-04-17 Glenn Morris <rgm@gnu.org>
17963
17964 * calendar/diary-lib.el (diary-sexp-entry):
17965 * calendar/holidays.el (holiday-sexp):
17966 Set debug-on-error rather than the removed stack-trace-on-error.
17967
239da61d
GM
179682011-04-16 Glenn Morris <rgm@gnu.org>
17969
17970 * progmodes/f90.el: Use lexical-binding.
17971 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17972
8b05752a
SM
179732011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17974
daca8ba5
SM
17975 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17976 (mail-mode): Setup mailalias completion here instead.
17977 * mail/mailalias.el: Use lexical-binding.
17978 (pattern, mailalias-done): Declare dynamic.
17979 (mail-completion-at-point-function): New function, from mail-complete.
17980 (mail-complete): Use it.
17981 (mail-completion-expand): New function.
17982 (mail-get-names): Use it.
17983 (mail-directory, mail-directory-process, mail-directory-stream):
17984 Don't use `pattern' for lexically bound arg.
17985
6f542485
SM
17986 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17987
037e7c3f
SM
17988 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17989 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17990 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17991
8b05752a
SM
17992 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17993 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17994 (byte-interactive-p): Define them again, for use when inlining
17995 old code.
17996
49093f60
JB
179972011-04-15 Juanma Barranquero <lekktu@gmail.com>
17998
17999 * loadup.el: Use `string-to-number', not `string-to-int'.
18000
b5b8e7de
SM
180012011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18002
18003 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18004 gud-gdb-complete-command.
18005 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18006 (gud-gdb-completion-at-point): New function.
18007 (gud-gdb-completions): Remove.
18008
f42efeb5
MA
180092011-04-14 Michael Albinus <michael.albinus@gmx.de>
18010
49093f60
JB
18011 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18012 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18013 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18014 whether `executable-find' is bound.
f42efeb5
MA
18015
18016 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18017
e240cc21
SM
180182011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18019
18020 * minibuffer.el (completion-in-region-mode-predicate)
18021 (completion-in-region-mode--predicate): New vars.
18022 (completion-in-region, completion-in-region--postch)
18023 (completion-in-region-mode): Use them.
18024 (completion--capf-wrapper): Also return the hook function.
18025 (completion-at-point, completion-help-at-point):
18026 Adjust and provide a predicate.
c2bd2ab0
SM
18027
18028 Preserve arg names for advice of subr and lexical functions (bug#8457).
18029 * help-fns.el (help-function-arglist): Consolidate the subr and
18030 new-byte-code cases. Add argument `preserve-names' to extract names
18031 from the docstring when needed.
18032 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18033 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18034 (ad-arglist): Use help-function-arglist's new arg.
18035 (ad-definition-type): Use cond.
18036
c183f693
JB
180372011-04-13 Juanma Barranquero <lekktu@gmail.com>
18038
06641a47
JB
18039 * autorevert.el (auto-revert-handler):
18040 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18041 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18042 Don't quote lambda.
18043
c183f693
JB
18044 * image-mode.el (image-transform-set-scale):
18045 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18046
1e3b6001
G
180472011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18048
18049 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18050 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18051 Upgrades via gnutls-cli are too slow to be done opportunistically.
18052
2d6af8dd
JB
180532011-04-12 Juanma Barranquero <lekktu@gmail.com>
18054
18055 * dframe.el (dframe-current-frame): Remove spurious quote.
18056
c0749a51
GM
180572011-04-12 Glenn Morris <rgm@gnu.org>
18058
088d0d61
GM
18059 * calendar/cal-tex.el (cal-tex-end-document):
18060 Try to automatically use latin1 input if needed.
18061
c0749a51
GM
18062 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18063 Don't try to cons a mark onto an empty element.
18064
5c90fde0
LL
180652011-04-11 Leo Liu <sdl.web@gmail.com>
18066
18067 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18068 buffers.
18069 (ido-kill-buffer-at-head): Support killing virtual buffers.
18070
369e974d
CY
180712011-04-10 Chong Yidong <cyd@stupidchicken.com>
18072
18073 * minibuffer.el (completion-show-inline-help): New var.
18074 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18075 (minibuffer-force-complete, minibuffer-complete-word):
18076 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18077
18078 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18079 to avoid interference from inline help (Bug#5849).
18080
37f1c930
LL
180812011-04-10 Leo Liu <sdl.web@gmail.com>
18082
099c39a4
JB
18083 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18084 Fix typo.
37f1c930 18085
a32d4040
CY
180862011-04-09 Chong Yidong <cyd@stupidchicken.com>
18087
18088 * image-mode.el (image-toggle-display-image): Signal an error if
18089 not in Image mode.
18090 (image-transform-mode, image-transform-resize)
18091 (image-transform-set-rotation): Doc fix.
daca8ba5 18092 (image-transform-set-resize): Delete.
a32d4040
CY
18093 (image-transform-set-scale, image-transform-fit-to-height)
18094 (image-transform-fit-to-width): Handle image-toggle-display-image
18095 and image-transform-resize directly.
18096
099c39a4 180972011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18098
18099 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18100 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18101 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18102 (doc-view-mode-map): Add bindings for the new functions.
18103
099c39a4 181042011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18105
4d61f28d 18106 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18107 Fix typo in docstring.
18108
3726838a
EZ
181092011-04-08 Eli Zaretskii <eliz@gnu.org>
18110
04f33f1e
EZ
18111 * files.el (file-size-human-readable): Produce one digit after
18112 decimal, like "ls -lh" does.
18113
18114 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18115 the file size representation.
18116
3726838a
EZ
18117 * simple.el (list-processes): If async subprocesses are not
18118 available, error out with a clear error message.
18119
cbb59342
CY
181202011-04-08 Chong Yidong <cyd@stupidchicken.com>
18121
18122 * help.el (help-form-show): New function, to be called from C.
18123 Put help-form output in a buffer named differently than *Help*.
18124
e3971c44
EZ
181252011-04-08 Eli Zaretskii <eliz@gnu.org>
18126
18127 * files.el (file-size-human-readable): New function.
18128
18129 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18130 computing the representation inline. Don't require `cl'.
18131
12544bbe
GM
181322011-04-08 Glenn Morris <rgm@gnu.org>
18133
a1de6c6a
GM
18134 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18135
3c4671f4
GM
18136 * net/browse-url.el (browse-url-firefox):
18137 Test system-type, not system-configuration.
18138
b605679c
GM
18139 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18140 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18141 Use log-edit-empty-buffer-p. (Bug#7598)
18142
56442f0c
GM
18143 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18144 (rlogin-mode-map): Initialize in the defvar.
18145 (rlogin): Use ignore-errors.
18146
12544bbe
GM
18147 * replace.el (occur-mode-map): Some fixes for menu items.
18148
eb237b0f
AH
181492011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18150
18151 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18152
7d668f2c
CY
181532011-04-06 Chong Yidong <cyd@stupidchicken.com>
18154
e67a13ab
CY
18155 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18156 issuing unused warnings.
18157
18158 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18159 macro directly.
18160
7d668f2c
CY
18161 * simple.el: Lisp reimplement of list-processes. Based on an
18162 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18163 (process-menu-mode): New major mode.
18164 (list-processes--refresh, list-processes):
18165 (process-menu-visit-buffer): New functions.
18166
18167 * files.el (save-buffers-kill-emacs): Don't assume any return
18168 value of list-processes, which is undocumented anyway.
18169
a83ec3c9
CY
181702011-04-06 Chong Yidong <cyd@stupidchicken.com>
18171
18172 * emacs-lisp/tabulated-list.el: New file.
18173
e91a96fe
CY
18174 * emacs-lisp/package.el: Use Tabulated List mode.
18175 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18176 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18177 table format using Tabulated List mode variables.
18178 (package--push): New macro, replacing package-list-maybe-add.
18179 (package-menu--generate): Use package--push. Renamed from
18180 package--generate-package-list.
18181 (package-menu-refresh, list-packages): Use it.
daca8ba5 18182 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18183 Return insertion data instead of inserting it directly.
099c39a4
JB
18184 (package-menu-describe-package, package-menu-execute):
18185 Use tabulated-list-get-id.
e91a96fe
CY
18186 (package-menu-mark-delete, package-menu-mark-install)
18187 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18188 (package-menu-mark-obsolete-for-deletion):
18189 Use tabulated-list-put-tag.
e91a96fe
CY
18190 (package--list-packages, package-menu-revert)
18191 (package-menu-get-package, package-menu-get-version)
18192 (package-menu-sort-by-column): Functions deleted.
18193 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18194 (package-menu--status-predicate, package-menu--version-predicate)
18195 (package-menu--name-predicate)
18196 (package-menu--description-predicate): Handle arguments in the
18197 Tabulated List format.
18198 (package-list-packages-no-fetch): Call list-packages.
18199
3e214b50
JB
182002011-04-06 Juanma Barranquero <lekktu@gmail.com>
18201
18202 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18203 (after-find-file): Don't bind it.
3e214b50
JB
18204 (revert-buffer-in-progress-p): New variable.
18205 (revert-buffer): Bind it.
18206 Pass nil for `after-find-file-from-revert-buffer'.
18207
18208 * saveplace.el (save-place-find-file-hook): Use new variable
18209 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18210
3f0f1700
GM
182112011-04-06 Glenn Morris <rgm@gnu.org>
18212
c0274801
GM
18213 * Makefile.in (AUTOGEN_VCS): New variable.
18214 (autoloads): Use $AUTOGEN_VCS.
18215
3f0f1700
GM
18216 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18217 * calendar/calendar.el (calendar-mode-map):
18218 Check for toolkit scroll bars. (Bug#8305)
18219
41ea9e48
CY
182202011-04-05 Chong Yidong <cyd@stupidchicken.com>
18221
18222 * minibuffer.el (completion-in-region--postch)
18223 (completion-in-region-mode): Remove unnecessary messages.
18224
6194c800
JB
182252011-04-05 Juanma Barranquero <lekktu@gmail.com>
18226
33256f14
JB
18227 * font-lock.el (font-lock-refresh-defaults):
18228 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18229 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18230
6194c800
JB
18231 * info.el (Info-directory-list, Info-read-node-name-2)
18232 (Info-split-parameter-string): Doc fixes.
18233 (Info-virtual-nodes): Reflow docstring.
18234 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18235 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18236 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18237 Fix typos in docstrings.
18238 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18239 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18240 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18241 (Info-restore-desktop-buffer): Mark unused parameters.
18242 (Info-directory-find-file, Info-directory-find-node)
18243 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18244 (Info-virtual-index-find-node, Info-apropos-find-file)
18245 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18246 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18247 (Info-virtual-index): Remove unused local variable `nodename'.
18248
b87a8200 182492011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18250
b87a8200
DD
18251 * net/rcirc.el: Update my e-mail address.
18252 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18253
3b2ff876
CY
182542011-04-05 Chong Yidong <cyd@stupidchicken.com>
18255
18256 * startup.el (command-line): Save the cursor's theme-face
18257 directly, instead of using face-override-spec.
18258
18259 * custom.el (load-theme): Minor optimization in assigning faces.
18260
8d17e7ca
JB
182612011-04-04 Juanma Barranquero <lekktu@gmail.com>
18262
18263 * help-fns.el (describe-variable): Complete all variables having
18264 documentation, including keywords.
18265 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18266
2fbc1934
JB
182672011-04-04 Juanma Barranquero <lekktu@gmail.com>
18268
18269 Convert to lexical-binding.
18270
18271 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18272 (bs--get-marked-string, bs--get-modified-string)
18273 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18274 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18275 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18276
18277 * ehelp.el (electric-help-execute-extended)
18278 (electric-help-ctrl-x-prefix):
18279 * hexl.el (hexl-revert-buffer-function):
18280 * linum.el (linum-after-change, linum-after-scroll):
18281 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18282
18283 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18284
74f50695
DU
182852011-04-04 Daiki Ueno <ueno@unixuser.org>
18286
18287 * epa-dired.el:
18288 * epa-mail.el:
18289 * epa-hook.el:
18290 * epa-file.el:
18291 * epa.el:
18292 * epg.el: Use lexical binding.
18293
c11325f7
CY
182942011-04-03 Chong Yidong <cyd@stupidchicken.com>
18295
0d9e9a12
CY
18296 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18297
c11325f7 18298 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18299 dictionary case for flyspell-mark-duplications-exceptions.
18300 Use regexp matching for languages.
c11325f7
CY
18301 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18302 default dictionary (Bug#7926).
18303
da91b5f2
CY
183042011-04-02 Chong Yidong <cyd@stupidchicken.com>
18305
099c39a4
JB
18306 * emacs-lisp/package.el (package--with-work-buffer):
18307 Recognize https URLs.
da91b5f2 18308
099c39a4
JB
18309 * net/network-stream.el: Move from gnus/proto-stream.el.
18310 Change prefix to network-stream throughout.
da91b5f2
CY
18311 (open-protocol-stream): Merge into open-network-stream, leaving
18312 open-protocol-stream as an alias. Handle nil BUFFER args.
18313
18314 * subr.el (open-network-stream): Move to net/network-stream.el.
18315
afa8e9f6
GM
183162011-04-02 Glenn Morris <rgm@gnu.org>
18317
1d2e369d
GM
18318 * find-dired.el (find-exec-terminator): New option.
18319 (find-ls-option): Test for -ls support.
18320 (find-ls-subdir-switches): Test for -b in find-ls-option.
18321 (find-dired, find-grep-dired): Doc fixes.
18322 (find-dired): Use find-exec-terminator.
18323
8abb7da8 18324 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18325 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18326 (find-name-arg): Remove purecopy.
8abb7da8 18327
f3ca7378
GM
18328 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18329 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18330 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18331 accordingly. Don't add the null-device if not needed.
18332
afa8e9f6
GM
18333 * files.el (save-some-buffers): Doc fix.
18334
35eae264
EZ
183352011-04-02 Eli Zaretskii <eliz@gnu.org>
18336
18337 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18338
26b51db5
JB
183392011-04-01 Juanma Barranquero <lekktu@gmail.com>
18340
18341 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18342 Use `dolist' rather than `mapcar'.
18343
7200d79c
SM
183442011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18345
03408648 18346 Add lexical binding.
7200d79c 18347
03408648
SM
18348 * subr.el (apply-partially): Use new closures rather than CL.
18349 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18350 (dolist, dotimes): Use slightly different expansion for lexical code.
18351 (functionp): Move to C.
18352 (letrec): New macro.
18353 (with-wrapper-hook): Use it and apply-partially instead of CL.
18354 (eval-after-load): Preserve lexical-binding.
18355 (save-window-excursion, with-output-to-temp-buffer): Turn them
18356 into macros.
7200d79c 18357
03408648
SM
18358 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18359
18360 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18361 than the arglist.
18362 (help-add-fundoc-usage): Don't add `Not documented'.
18363 (help-function-arglist): Handle closures, subroutines, and new
18364 byte-code-functions.
18365 (help-make-usage): Remove leading underscores.
18366 (describe-function-1): Handle closures.
18367 (describe-variable): Use special-variable-p for completion.
18368
18369 * files.el (lexical-binding): Declare safe.
f488fb65 18370
03408648
SM
18371 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18372 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18373 (pcase): Add `let' pattern.
18374 Change memoization so it actually works.
18375 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18376 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18377 <let>: New case.
f488fb65 18378
03408648
SM
18379 * emacs-lisp/macroexp.el: Use lexical binding.
18380 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18381 Don't convert ' to #' without checking that it's indeed quoting
18382 a lambda.
18383
18384 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18385 Use eval-sexp-add-defvars.
03408648
SM
18386 (eval-sexp-add-defvars): New fun.
18387
18388 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18389
18390 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18391 Don't autoload.
18392 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18393 than the internal `byte-compile-lambda'.
18394 (defmethod): Don't hide code under quotes.
18395 (eieio-defmethod): New `code' argument.
18396
18397 * emacs-lisp/eieio-comp.el: Remove.
18398
18399 * emacs-lisp/edebug.el (edebug-eval-defun)
18400 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18401 (edebug-toggle): Avoid `eval'.
18402
18403 * emacs-lisp/disass.el (disassemble-internal): Handle new
18404 `closure' objects.
18405 (disassemble-1): Handle new byte codes.
18406
18407 * emacs-lisp/cl.el (pushnew): Silence warning.
18408
18409 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18410 (cl-byte-compile-throw): Remove.
18411 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18412
18413 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18414 closures.
18415
18416 * emacs-lisp/cconv.el: New file.
18417
18418 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18419 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18420 (byte-compile-initial-macro-environment):
18421 Handle declare-function here.
18422 (byte-compile--lexical-environment): New var.
18423 (byte-stack-ref, byte-stack-set, byte-discardN)
18424 (byte-discardN-preserve-tos): New lap codes.
18425 (byte-interactive-p): Don't use any more.
18426 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18427 New macros.
18428 (byte-compile-lapcode): Use them and handle new lap codes.
18429 (byte-compile-obsolete): Remove.
18430 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18431 (byte-compile-arglist-warn): Check late def of inlinable funs.
18432 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18433 since they should have been expanded by now.
18434 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18435 (byte-compile-from-buffer): Remove unused second arg.
18436 (byte-compile-preprocess): New function.
18437 (byte-compile-toplevel-file-form): New function to distinguish
18438 file-form calls from outside from file-form calls from hunk-handlers.
18439 (byte-compile-file-form): Simplify.
18440 (byte-compile-file-form-defsubst): Remove.
18441 (byte-compile-file-form-defmumble): Simplify now that
18442 byte-compile-lambda always returns a byte-code-function.
18443 (byte-compile): Preprocess.
18444 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18445 Remove, not used any more.
18446 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18447 (byte-compile-make-args-desc): New funs.
18448 (byte-compile-lambda): Handle lexical functions. Always return
18449 a byte-code-function.
18450 (byte-compile-reserved-constants): New var, to make up room for
18451 closed-over variables.
18452 (byte-compile-constants-vector): Obey it.
18453 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18454 (byte-compile-macroexpand-declare-function): New function.
18455 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18456 byte-code-functions.
18457 (byte-compile-form): Check obsolescence here.
18458 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18459 (byte-compile-variable-ref): Remove.
18460 (byte-compile-dynamic-variable-op): New fun.
18461 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18462 (byte-compile-variable-set): New funs.
18463 (byte-compile-discard): Add 2 args.
18464 (byte-compile-stack-ref, byte-compile-stack-set)
18465 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18466 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18467 macroexpand-all instead.
18468 (byte-compile-quote-form): Remove.
18469 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18470 (byte-compile-bind, byte-compile-unbind): New funs.
18471 (byte-compile-let): Handle let* and lexical binding.
18472 (byte-compile-let*): Remove.
18473 (byte-compile-catch, byte-compile-unwind-protect)
18474 (byte-compile-track-mouse, byte-compile-condition-case):
18475 Handle a new :fun-body form, used for lexical scoping.
18476 (byte-compile-save-window-excursion)
18477 (byte-compile-with-output-to-temp-buffer): Remove.
18478 (byte-compile-defun): Simplify.
18479 (byte-compile-stack-adjustment): New fun.
18480 (byte-compile-out): Use it.
18481 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18482
18483 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18484 handler any more.
18485
18486 * emacs-lisp/byte-opt.el: Use lexical binding.
18487 (byte-inline-lapcode): Remove (to bytecomp).
18488 (byte-compile-inline-expand): Pay attention to inlining to/from
18489 lexically bound code.
18490 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18491 any more.
18492 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18493 any more and don't call compiler-macros.
18494 (byte-compile-splice-in-already-compiled-code): Remove.
18495 (byte-code): Don't inline any more.
18496 (disassemble-offset): Receive `bytes' as argument rather than via
18497 dynamic scoping.
18498 (byte-compile-tag-number): Declare before first use.
18499 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18500 `return' even if make-spliceable.
18501 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18502 obsolete interactive-p.
18503 (byte-optimize-lapcode): Optimize new lap-codes.
18504 Don't trip up on new form of `byte-constant' lap code.
18505
18506 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18507
18508 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18509
18510 * custom.el (custom-initialize-default, custom-declare-variable):
18511 Use `defvar'.
18512
18513 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18514 New variables.
18515 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18516 (COMPILE_FIRST): Add macroexp and cconv.
18517 * makefile.w32-in: Mirror changes in Makefile.in.
18518
18519 * vc/cvs-status.el:
18520 * vc/diff-mode.el:
18521 * vc/log-edit.el:
18522 * vc/log-view.el:
18523 * vc/smerge-mode.el:
18524 * textmodes/bibtex-style.el:
090bd7cb 18525 * textmodes/css-mode.el:
03408648
SM
18526 * startup.el:
18527 * uniquify.el:
da91b5f2
CY
18528 * minibuffer.el:
18529 * newcomment.el:
18530 * reveal.el:
18531 * server.el:
18532 * mpc.el:
18533 * emacs-lisp/smie.el:
18534 * doc-view.el:
18535 * dired.el:
03408648
SM
18536 * abbrev.el: Use lexical binding.
18537
0f0c1f27
EZ
185382011-04-01 Eli Zaretskii <eliz@gnu.org>
18539
18540 * info.el (info-display-manual): New function.
18541
c82b2579
SM
185422011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18543
18544 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18545
221ddf68
TH
185462011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18547
18548 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18549 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18550
cba6e77e
GM
185512011-03-31 Glenn Morris <rgm@gnu.org>
18552
e040639f
GM
18553 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18554
cba6e77e
GM
18555 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18556
6d0f1c9e
CS
185572011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18558
18559 * progmodes/python.el (python-default-interpreter)
18560 (python-python-command-args, python-jython-command-args)
18561 (python-which-shell, python-which-args, python-which-bufname)
18562 (python-file-queue, python-comint-output-filter-function)
18563 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18564 variables and functions.
18565
3e2d70fd
SM
185662011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18567
18568 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18569 (completion-in-region-mode): New minor mode.
18570 (completion-in-region): Use it.
18571 (completion-in-region--data, completion-in-region-mode-map): New vars.
18572 (completion-in-region--postch): New function.
18573 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18574 New vars.
18575 (completion--capf-wrapper): New function.
18576 (completion-at-point): Use it to track well-behavedness of
18577 hook functions.
18578 (completion-help-at-point): New command.
18579
f3e4086c
JM
185802011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18581
18582 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18583 syntax class to search for whitespace on a single line
18584 (Message-ID: <4D938140.4030905@redhat.com>).
18585
eb7ffc14
LL
185862011-03-30 Leo Liu <sdl.web@gmail.com>
18587
18588 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18589 New commands.
18590 (edit-abbrevs-map): Bind them here.
18591 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18592
d806ab68
KM
185932011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18594
18595 * allout.el (allout-hide-by-annotation, allout-flag-region):
18596 Reduce possibility of overlay leakage by making them volatile.
18597
18598 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18599 hash is not shared between buffers. Mode initialization is
18600 responsible for giving it a useful starting value.
18601 (allout-item-span): Reduce possibility of overlay leakage by
18602 making them volatile.
18603 (allout-widgets-count-buttons-in-region): Add diagnostic function
18604 for tracking down button overlay leaks.
18605
ea622834
LL
186062011-03-29 Leo Liu <sdl.web@gmail.com>
18607
18608 * ido.el (ido-read-internal): Use the default history var
18609 minibuffer-history if no HISTORY is specified.
18610
b62f8267
G
186112011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18612
03408648
SM
18613 * net/imap.el (imap-shell-open, imap-process-connection-type):
18614 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18615 Kerberos, SSL, other subprocesses.
18616
947b6566
LL
186172011-03-28 Leo Liu <sdl.web@gmail.com>
18618
18619 * abbrev.el (abbrev-table-empty-p): New function.
18620 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18621 nonempty ones. (Bug#5937)
18622
5ffb62aa
JD
186232011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18624
18625 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18626
7a097943
LL
186272011-03-27 Leo Liu <sdl.web@gmail.com>
18628
18629 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18630 for foreground and background colors.
18631 (ansi-color-make-color-map): Adapt.
18632
c5b40130
LL
186332011-03-25 Leo Liu <sdl.web@gmail.com>
18634
1f48f7d2
LL
18635 * midnight.el (midnight-time-float): Remove. Note it calculates
18636 the microsecond component incorrectly and seconds-to-time does the
18637 same job.
625897ec 18638 Remove redundant (require 'timer).
1f48f7d2 18639
c5b40130
LL
18640 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18641 (ido-completions): Remove unused arguments. (Bug#8329)
18642
d86d2721
SM
186432011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18644
18645 * minibuffer.el (completion--flush-all-sorted-completions):
18646 Remove itself from hook.
18647 (completion-at-point): Let the functions perform the completion
18648 immediately and return nil or t.
18649 * comint.el (comint-dynamic-complete-functions): Now identical to
18650 completion-at-point-functions.
18651 (comint-dynamic-list-input-ring): Remove unused var `index'.
18652 (comint--match-partial-filename, comint--unquote&expand-filename):
18653 New funs, split from comint-match-partial-filename.
18654 (comint-dynamic-complete): Use completion-at-point.
18655 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18656
e8974c48
DA
186572011-03-24 Drew Adams <drew.adams@oracle.com>
18658
18659 * thingatpt.el: Support `defun'.
18660
def71b5e
LL
186612011-03-23 Leo Liu <sdl.web@gmail.com>
18662
cb5af48e
LL
18663 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18664
def71b5e
LL
18665 * help-mode.el (help-mode-finish): Tweak regexp.
18666
927c53e7
GM
186672011-03-23 Glenn Morris <rgm@gnu.org>
18668
18d05bed
GM
18669 * eshell/esh-opt.el (eshell-eval-using-options):
18670 Do not bind unused local variable `eshell-option-stub'.
18671
927c53e7
GM
18672 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18673
9d0da923
JB
186742011-03-22 Juanma Barranquero <lekktu@gmail.com>
18675
18676 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18677 keymap variable in `with-no-warnings' to avoid a warning when the
18678 keymap has been already `defconst'ed.
18679
4b978a67
LL
186802011-03-22 Leo Liu <sdl.web@gmail.com>
18681
18682 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18683 encode all chars in abbrevs; otherwise use emacs-mule or
18684 utf-8-emacs. (Bug#8308)
18685
5fd62452
JB
186862011-03-22 Juanma Barranquero <lekktu@gmail.com>
18687
0b1596c6
JB
18688 * simple.el (backward-delete-char-untabify):
18689 Avoid warning about using `delete-backward-char'.
18690
5fd62452
JB
18691 * image.el (image-type-file-name-regexps): Make it variable.
18692 `imagemagick-register-types' modifies it, and the user may want
18693 to add new extensions for known image types.
18694 (imagemagick-register-types): Throw error if not using ImageMagick.
18695
0b4e93f1
LL
186962011-03-22 Leo Liu <sdl.web@gmail.com>
18697
18698 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18699 located before rcirc-prompt-end-marker.
18700 (rcirc-complete): Error if point is not after rcirc prompt.
18701 Handle the case when table is nil.
9882e214 18702 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18703
fccee4ab
CY
187042011-03-22 Chong Yidong <cyd@stupidchicken.com>
18705
18706 * custom.el (custom--inhibit-theme-enable): Make it affect only
18707 custom-theme-set-variables and custom-theme-set-faces.
18708 (provide-theme): Ignore custom--inhibit-theme-enable.
18709 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18710 (custom-enabling-themes): Delete variable.
d86d2721
SM
18711 (enable-theme): Accept only loaded themes as arguments.
18712 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18713 (custom-enabled-themes): Forbid themes from setting this.
18714 Eliminate use of custom-enabling-themes.
18715 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18716
af896da6
LL
187172011-03-21 Leo Liu <sdl.web@gmail.com>
18718
18719 * ido.el (ido-read-internal): Add ido-selected to history instead
18720 of user input.
18721
78f64af0
SM
187222011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18723
18724 * subr.el (deferred-action-list, deferred-action-function):
18725 Mark obsolete.
18726
b16ac1ec
LL
187272011-03-21 Leo Liu <sdl.web@gmail.com>
18728
810f7698
LL
18729 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18730 change on 2011-02-13 (bug#8309).
18731
b16ac1ec
LL
18732 * minibuffer.el (read-file-name-function): Change default value.
18733 (read-file-name--defaults): Rename from read-file-name-defaults.
18734 (read-file-name-default): Rename from read-file-name.
18735 (read-file-name): Call read-file-name-function.
18736
4e05e67e
GM
187372011-03-21 Glenn Morris <rgm@gnu.org>
18738
18739 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18740 Doc fixes.
18741
4359915b
CY
187422011-03-21 Chong Yidong <cyd@stupidchicken.com>
18743
18744 * cus-theme.el: Add missing provide statement.
18745 (customize-create-theme): Extract theme value correctly.
18746 (custom-theme-visit-theme): Autoload.
18747 (customize-create-theme): Prompt before inserting default faces.
18748
1fe275ee
JB
187492011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18750
18751 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18752 units and musical notes.
18753
cd394be1 187542011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18755
18756 * ido.el (ido-read-internal): Use completing-read-default.
18757 (ido-completing-read): Fix compatibility with completing-read.
18758
7d476bde
CO
187592011-03-20 Christian Ohler <ohler@gnu.org>
18760
18761 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18762 (ert-delete-all-tests): Use `called-interactively-p' rather than
18763 `interactive-p'.
18764 (ert--make-xrefs-region): Respect END.
18765
fe0fb33e
CY
187662011-03-19 Chong Yidong <cyd@stupidchicken.com>
18767
ff854b0b
CY
18768 * dired-aux.el (dired-create-directory): Signal an error if the
18769 directory already exists (Bug#8246).
18770
fe0fb33e
CY
18771 * facemenu.el (list-colors-display): Call list-faces-display
18772 inside with-help-window.
18773 (list-colors-print): Use display property to align the final
18774 column, instead of checking window-width.
18775
576bce32
EZ
187762011-03-19 Eli Zaretskii <eliz@gnu.org>
18777
4d61f28d 18778 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18779 windows-nt systems.
18780 (emerge-protect-metachars): Quote correctly for ms-dos and
18781 windows-nt systems.
18782
89c41d68 187832011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18784
18785 * info.el (info-initialize): Replace all uses of `:' with
18786 path-separator for compatibility with non-Unix systems.
18787 Cache quoting of path-separator. (Bug#8258)
18788
b14e3e21 187892011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18790
18791 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18792 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18793 (mouse-avoidance-mode): Fix typos in docstrings.
18794
4525ce3e
CY
187952011-03-19 Chong Yidong <cyd@stupidchicken.com>
18796
18797 * startup.el (package-subdirectory-regexp): Move from package.el.
18798 Omit \\` and \\', and let callers add them.
18799
18800 * emacs-lisp/package.el (package-strip-version)
18801 (package-load-all-descriptors): Add \\` and \\' to
18802 package-subdirectory-regexp before using it.
18803 (package-untar-buffer): New arg DIR; ensure that file untars only
18804 into this expected directory. Remove superfluous delete-region.
18805 (package-unpack): Caller changed.
18806 (package-tar-file-info): Use package-subdirectory-regexp.
18807
a904a09a 188082011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18809
a904a09a
SM
18810 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18811 diff-mode-shared-map (bug#8284).
18812 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18813
188142011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18815
18816 * calendar/time-date.el (format-seconds): Use assoc instead of
18817 assoc-string, since assoc-string doesn't exist in XEmacs.
18818
171fc304
JB
188192011-03-17 Juanma Barranquero <lekktu@gmail.com>
18820
18821 * custom.el (custom-known-themes): Reflow docstring.
18822 (custom-theme-load-path): Fix typo in docstring.
18823 (load-theme): Fix typo in error message.
18824 (custom-available-themes, custom-variable-theme-value):
18825 Use `let', not `let*'.
18826
d71990a1
JB
188272011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18828
18829 * calc/README: Mention inclusion of musical notes.
18830
18831 * calc/calc-units.el (calc-lu-quant): Rename from
18832 `calc-logunits-quantity'.
18833 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18834 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18835 (calc-db): Rename from `calc-dblevel'.
18836 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18837 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18838 (calc-np): Rename from `calc-nplevel'.
18839 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18840 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18841 (calc-lu-plus): Rename from `calc-logunits-add'.
18842 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18843 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18844 (calc-lu-minus): Rename from `calc-logunits-sub'.
18845 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18846 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18847 (calc-lu-times): Rename from `calc-logunits-mul'.
18848 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18849 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18850 (calc-lu-divide): Rename from `calc-logunits-div'.
18851 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18852 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18853
18854 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18855 functions being autoloaded.
18856
18857 * calc/calc.el (calc-lu-power-reference): Rename from
18858 `calc-logunits-power-reference'.
18859 (calc-lu-field-reference): Rename from
18860 `calc-logunits-field-reference'.
18861
7a71b18d
GM
18862 * calc/calc-help.el (calc-l-prefix-help):
18863 Mention musical note functions.
d71990a1 18864
40c2934b
SM
188652011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18866
18867 * minibuffer.el (completion-all-sorted-completions):
18868 Use :completion-cycle-penalty text property if present.
18869
b0911414
KM
188702011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18871
18872 * allout.el (allout-yank-processing): Adjust for new rebulleting
18873 regime so bullet being yanked is used without prompting the user
18874 for a choice.
18875
8a05b668
JB
188762011-03-16 Juanma Barranquero <lekktu@gmail.com>
18877
18878 * startup.el (command-line): Warn the user that _emacs is deprecated.
18879
5ba5fb81
JB
188802011-03-16 Juanma Barranquero <lekktu@gmail.com>
18881
18882 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18883 (delphi-verbose, delphi-comment-face, delphi-string-face)
18884 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18885 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18886 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18887 (delphi-new-comment-line, delphi-font-lock-defaults)
18888 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18889 Fix typos in docstrings.
18890
2dab465b
KM
188912011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18892
5ba5fb81 18893 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18894 Invert the roles of character and string values for INSTEAD, so a
18895 string is used for the more common case of a defaulting prompt.
18896
0adf5618
SM
188972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18898
18899 * progmodes/ruby-mode.el (ruby-backward-sexp):
18900 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18901 * play/gamegrid.el (gamegrid-make-face):
18902 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18903 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18904 * notifications.el (notifications-notify):
18905 * net/xesam.el (xesam-search-engines):
18906 * net/quickurl.el (quickurl-list-insert):
18907 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18908
d72700e5
CY
189092011-03-15 Chong Yidong <cyd@stupidchicken.com>
18910
18911 * startup.el (command-line): Update package subdirectory regexp.
18912
49c5410a
SM
189132011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18914
c6eee9aa
SM
18915 * allout.el (allout-abbreviate-flattened-numbering)
18916 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18917
49c5410a
SM
18918 * subr.el (read-char-choice): Only show the cursor after the prompt,
18919 not after the answer.
18920
047b2bb9
KR
189212011-03-15 Kevin Ryde <user42@zip.com.au>
18922
18923 * help-fns.el (variable-at-point): Skip leading quotes, if any
18924 (bug#8253).
18925
0a57d256
SM
189262011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18927
18928 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18929 warning message.
18930
77c992bc
MA
189312011-03-14 Michael Albinus <michael.albinus@gmx.de>
18932
18933 * shell.el (shell): When called interactively, offer to change the
18934 shell file name on remote hosts.
18935
eebc475d
TZ
189362011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18937
18938 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18939 integration for LDAP parameters. The host, base, user or binddn,
18940 and secret tokens can be specified in a netrc file, for instance.
18941 This is optional because an `auth-source' parameter must be
18942 specified in the search attributes.
18943
9d05d1ba
JB
189442011-03-13 Juanma Barranquero <lekktu@gmail.com>
18945
18946 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18947
09d9db2c
GM
189482011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18949
18950 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18951 into declaration. Remove redundant and harmful binding.
18952
189532011-03-12 Eli Zaretskii <eliz@gnu.org>
18954
18955 * files.el (file-ownership-preserved-p): Pass `integer' as an
18956 explicit 2nd argument to `file-attributes'. If the file's owner
18957 is the Administrators group on Windows, and the current user is
18958 Administrator, consider that a match.
18959
18960 * server.el (server-ensure-safe-dir): Consider server directory
18961 safe on MS-Windows if its owner is the Administrators group while
18962 the current Emacs user is Administrator. Use `=' to compare
18963 numerical UIDs, since they could be integers or floats.
18964
219bd536
JB
189652011-03-12 Juanma Barranquero <lekktu@gmail.com>
18966
18967 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18968
f3afd36b
MA
189692011-03-12 Michael Albinus <michael.albinus@gmx.de>
18970
18971 Sync with Tramp 2.2.1.
18972
18973 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18974
18975 * net/trampver.el: Update release number.
18976
3aaaa6f1
SM
189772011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18978
94642599
SM
18979 * progmodes/compile.el (compilation--previous-directory): Fix up
18980 various nil/dead-marker mismatches (bug#8014).
18981 (compilation-directory-properties, compilation-error-properties):
18982 Don't call it at a position past the one we're about to change.
18983
3aaaa6f1
SM
18984 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18985 Disable obsolescence warnings in the file that declares it.
18986
14239447
KM
189872011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18988
099c39a4
JB
18989 * allout-widgets.el (allout-widgets-tally):
18990 Initialize allout-widgets-tally as a hash table rather than nil to
18991 prevent mode-line redisplay warnings. Also, clarify the module
18992 description and fix a comment typo.
14239447 18993
135e287c
JB
189942011-03-11 Juanma Barranquero <lekktu@gmail.com>
18995
18996 * help-fns.el (describe-variable): Don't complete keywords.
18997 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18998
ffbf300e
CY
189992011-03-10 Chong Yidong <cyd@stupidchicken.com>
19000
ba08b241
CY
19001 * emacs-lisp/package.el (package-version-join): Impose a standard
19002 string representation for pre/alpha/beta version lists.
19003 (package-unpack-single): Standardize the directory name by passing
19004 it through package-version-join.
19005 (package-strip-rcs-id): Accept any version string that does not
19006 signal an error in version-to-list.
ffbf300e 19007
f346fd6b
MA
190082011-03-10 Michael Albinus <michael.albinus@gmx.de>
19009
19010 * simple.el (delete-trailing-whitespace): Return nil for the
19011 benefit of `write-file-functions'.
19012
ccb55d27
GM
190132011-03-10 Glenn Morris <rgm@gnu.org>
19014
5ceaac0c
GM
19015 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19016
02da65ff
GM
19017 * vc/vc-git.el (vc-git-program): New option.
19018 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19019 (vc-git--call): Use it.
19020
b2f603cc
GM
19021 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19022
5772caab
GM
19023 * cus-edit.el (Custom-newline): If no button at point, look
19024 for a subgroup button at start-of-line. (Bug#2298)
19025
ccb55d27
GM
19026 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19027
ec6ecaed
JD
190282011-03-10 Julien Danjou <julien@danjou.info>
19029
19030 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19031 `cursor-type' is nil.
19032
9d5aa01d
JB
190332011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19034
19035 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19036
b6a5875b
KM
190372011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19038
7a71b18d 19039 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19040 preserves the existing header prefix, rebulleting it if necessary,
19041 rather than replacing it. This is necessary for proper operation
19042 of cooperative addons like allout-widgets.
1154d12e
JB
19043 (allout-make-topic-prefix, allout-rebullet-heading):
19044 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19045 value as alternate bullet to be used, instead of prompting the user
19046 for a bullet character.
b6a5875b 19047
ee545c35
MA
190482011-03-09 Michael Albinus <michael.albinus@gmx.de>
19049
d86d2721
SM
19050 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19051 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19052 `tramp-default-port'.
19053
c47971d7
DD
190542011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19055
19056 * net/rcirc.el (rcirc-handler-001): Remove useless
19057 with-rcirc-process-buffer.
19058 (rcirc-check-auth-status): Swap arguments to string-match.
19059
13522cb4
GM
190602011-03-09 Glenn Morris <rgm@gnu.org>
19061
0be6f4f1
GM
19062 * shell.el (shell-mode):
19063 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19064
13522cb4
GM
19065 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19066 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19067
515de2e3
CY
190682011-03-08 Chong Yidong <cyd@stupidchicken.com>
19069
19070 * emacs-lisp/package.el (package-refresh-contents)
19071 (package-menu-execute): Use condition-case-no-debug.
19072
b511b994
MA
190732011-03-08 Michael Albinus <michael.albinus@gmx.de>
19074
19075 * simple.el (shell-command-to-string): Use `process-file'.
19076
19077 * emacs-lisp/package.el (package-tar-file-info): Handle also
19078 remote files.
19079
d86d2721
SM
19080 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19081 Use `equal' for upload base check.
b511b994 19082
25bbfb31
AM
190832011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19084
19085 * textmodes/texinfo.el (texinfo-environments):
19086 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19087
be996521
GM
190882011-03-08 Glenn Morris <rgm@gnu.org>
19089
e9c8529f
GM
19090 * cus-start.el (cursor-in-non-selected-windows):
19091 Fix :set quoting oddness. (Bug#8192)
19092
be996521
GM
19093 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19094 in some setf expressions. (Bug#2159)
19095
2bb5649e
CY
190962011-03-08 Chong Yidong <cyd@stupidchicken.com>
19097
19098 * custom.el (custom-available-themes): Return themes in
19099 alphabetical order.
19100
33383987 19101See ChangeLog.15 for earlier changes.
e3d51b27
MR
19102
19103;; Local Variables:
19104;; coding: utf-8
e3d51b27
MR
19105;; End:
19106
acaf905b 19107 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19108
19109 This file is part of GNU Emacs.
19110
19111 GNU Emacs is free software: you can redistribute it and/or modify
19112 it under the terms of the GNU General Public License as published by
19113 the Free Software Foundation, either version 3 of the License, or
19114 (at your option) any later version.
19115
19116 GNU Emacs is distributed in the hope that it will be useful,
19117 but WITHOUT ANY WARRANTY; without even the implied warranty of
19118 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19119 GNU General Public License for more details.
19120
19121 You should have received a copy of the GNU General Public License
19122 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.