Add ChangeLog entry for previous commit
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
936ad041
RW
12012-09-23 Roland Winkler <winkler@gnu.org>
2
3 * proced.el (proced-renice-command): New variable.
4 (proced-marked-processes): New function.
5 (proced-with-processes-buffer): New macro.
6 (proced-send-signal): Use them.
7 (proced-renice): New command bound to r.
8
6fab0274
RW
92012-09-23 Roland Winkler <winkler@gnu.org>
10
11 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
12 ibuffer-saved-filter-groups has one element, shortcut the call of
13 completing-read. (Bug#12331)
14
9a930676
CY
152012-09-23 Chong Yidong <cyd@gnu.org>
16
17 * bindings.el (mode-line-toggle-read-only):
18 * bs.el (bs-toggle-readonly):
19 * buff-menu.el (Buffer-menu-toggle-read-only):
20 * dired.el (dired-toggle-read-only):
21 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
22
d07ff9db
CY
232012-09-23 Chong Yidong <cyd@gnu.org>
24
25 * image.el (image-type-available-p): Adapt to init-image-library
26 argument changes.
27
51c4474e
JL
282012-09-22 Juri Linkov <juri@jurta.org>
29
30 * dired.el (dired-mode-map): Add [remap read-only-mode] for
31 `dired-toggle-read-only'. (Bug#12462)
32
43bf5e8e
MR
332012-09-22 Martin Rudalics <rudalics@gmx.at>
34
35 * subr.el (temp-output-buffer-show): New function.
36 (with-output-to-temp-buffer): Call temp-output-buffer-show
37 instead of internal-temp-output-buffer-show.
38
c88b867f
CY
392012-09-22 Chong Yidong <cyd@gnu.org>
40
3df47cd5
CY
41 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
42 (Bug#12462).
43
c88b867f
CY
44 * repeat.el (repeat): Doc fix (Bug#12348).
45
46 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
47 (Bug#10909).
48
49 * simple.el (shell-command-on-region): Doc fix.
3171e303 50 (read-only-mode): Doc fix.
c88b867f 51
df9685f3
EZ
522012-09-22 Eli Zaretskii <eliz@gnu.org>
53
54 * emacs-lisp/timer.el (run-with-idle-timer)
55 (timer-activate-when-idle): Warn against reinvoking an idle timer
56 from within its own timer action. (Bug#12447)
57
8e17c9ba
MR
582012-09-22 Martin Rudalics <rudalics@gmx.at>
59
60 * cus-start.el (window-combination-limit): Add new optional
61 values.
62 * window.el (temp-buffer-window-show)
63 (window--try-to-split-window): Handle new values of
64 window-combination-limit (Bug#1806).
65 (split-window): Test window-combination-limit for t instead of
66 non-nil.
67 (display-buffer-at-bottom): New buffer display action function.
68 * help.el (temp-buffer-resize-regexps): New option.
69 (temp-buffer-resize-mode): Rewrite doc-string.
70 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 71 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 72
48a24920
SM
732012-09-22 Stefan Merten <smerten@oekonux.de>
74
75 * rst.el: Revamp section title faces.
76 (rst-official-version)
77 (rst-package-emacs-version-alist): Sync with official version
78 V1.4.0.
79 (rst-faces-defaults, rst-set-level-default)
80 (rst-level-face-max, rst-level-face-base-color)
81 (rst-level-face-base-light, rst-level-face-format-light)
82 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
83 (rst-adornment-faces-alist): Match new setup.
84 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
85 (rst-level-5, rst-level-6): New faces.
86
82f8cd94
CY
872012-09-22 Chong Yidong <cyd@gnu.org>
88
89 * simple.el (undo): Handle indirect buffers (Bug#8207).
90
acfa068f 912012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
92
93 IDO: Disable match re-ordering for buffer switching.
2bc9406c 94 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
95 (ido-set-matches-1): Use it. (Bug#2042)
96
acfa068f 972012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
98
99 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
100 Fix 2011-05-17 change. (Bug#12418)
101
acfa068f 1022012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
103
104 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
105
acfa068f 1062012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
107
108 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
109 Be more robust about locating simple.el.
110
acfa068f 1112012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
112
113 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
114
acfa068f
CY
1152012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
116
117 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
118
41a97e6f
JL
1192012-09-20 Juri Linkov <juri@jurta.org>
120
eb2deaff
JL
121 * replace.el (query-replace-read-from): Use `read-regexp' instead
122 of `read-from-minibuffer' when `regexp-flag' is non-nil.
123 (occur-read-primary-args): Use `read-regexp' instead of
124 `read-string'.
125 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
126 `read-from-minibuffer'.
127 * isearch.el (isearch-occur): Use `read-regexp' instead of
128 `read-string'.
129 * dired.el (dired-read-regexp): Use `read-regexp' instead of
130 `read-from-minibuffer'.
131 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
132 of `read-string'. (Bug#7567)
133
5825610b
JL
134 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
135 and allow accepting a list of strings prepended to a list of
136 standard default values. Doc fix. (Bug#12321)
137
eebbf404
JL
138 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
139
41a97e6f
JL
140 * replace.el (read-regexp): Don't add ": " when PROMPT already
141 ends with a colon and space. (Bug#12321)
142
c9e452d3
TH
1432012-09-20 Tassilo Horn <tsdh@gnu.org>
144
145 * doc-view.el (doc-view-display): Better fix for the cl-assertion
146 error.
147
ee97deee
SM
1482012-09-20 Stefan Merten <smerten@oekonux.de>
149
150 * rst.el: Integrate support for `imenu' and `which-function'.
151 Fixes feature request bug#11711.
152 (rst-mode): Create `imenu-create-index-function'.
153 (rst-get-stripped-line): Delete after refactoring.
154 (rst-section-tree, rst-section-tree-rec)
155 (rst-section-tree-point): Refactor and document properly.
156 (rst-imenu-find-adornments-for-position)
157 (rst-imenu-convert-cell, rst-imenu-create-index): New
158 function.
159
f490dab9
SM
1602012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
161
95b9712e
SM
162 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
163 (macroexp--expand-all): Use it.
164 (macroexp--funcall-and-return): Remove by folding it into its sole
165 caller (macroexp--warn-and-return).
166 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
167 Use macroexp--obsolete-warning.
168
f490dab9
SM
169 * calc/calc.el: Fix last change by removing the whole chunk, since it
170 was only needed back when Calc was not bundled.
171
96e8d411
MR
1722012-09-20 Martin Rudalics <rudalics@gmx.at>
173
174 * emacs-lisp/debug.el (debug): Restore assignment to
175 debugger-old-buffer removed on 2012-09-08.
176
0876a82d
JL
1772012-09-20 Juri Linkov <juri@jurta.org>
178
179 * dired-aux.el (dired-diff): Remove (require 'diff) since
180 `diff-latest-backup-file' is now autoloaded.
181
9f7c28f0
CY
1822012-09-20 Chong Yidong <cyd@gnu.org>
183
184 * vc/diff.el (diff-latest-backup-file): Autoload.
185
7a04bee9
SM
1862012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
187
e6f0a80d
SM
188 * calc/calc.el: Remove redundant autoload shape check.
189 (sel-mode): Don't defvar.
190 (calc-get-stack-element): Add `sel-mode' arg instead.
191 (calc-top, calc-top-list): Pass it this additional argument.
192 * calc/calc-store.el (calc-store-map):
193 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
194 (calc-map-equation, calc-outer-product, calc-inner-product):
195 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
196
7a04bee9
SM
197 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
198
12734222
JL
1992012-09-19 Juri Linkov <juri@jurta.org>
200
201 * dired-aux.el (dired-diff): Add (require 'diff) because
202 `diff-latest-backup-file' is not autoloaded.
203 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
204 of `dired-get-filename' to t to not report error when there is
205 no default file on the current line.
206
46624b4f
SM
2072012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
208
ce97595b
SM
209 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
210 macroexp--eval-if-compile.
211 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
212 (macroexp--expand-all): Use them (bug#12371).
213
46624b4f
SM
214 * doc-view.el (doc-view-guess-paper-size)
215 (doc-view-scale-bounding-box): Fix unbound `caddr'.
216
db8a5a18
TH
2172012-09-19 Tassilo Horn <tsdh@gnu.org>
218
219 New feature: set optimal slice from BoundingBox information.
220 * doc-view.el (doc-view-mode-map): Add keybinding.
221 (doc-view-menu): Add menu entry.
222 (doc-view-set-slice): Adapt docstring.
223 (doc-view-get-bounding-box, doc-view-guess-paper-size)
224 (doc-view-scale-bounding-box)
225 (doc-view-set-slice-from-bounding-box): New functions.
226 (doc-view-paper-sizes): New defvar.
227
69f6644c
GM
2282012-09-19 Glenn Morris <rgm@gnu.org>
229
35f5b19d
GM
230 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
231 (byte-compile-log-warning): Autoload. (Bug#12371)
232
69f6644c
GM
233 * calendar/calendar.el (calendar-american-month-header)
234 (calendar-european-month-header, calendar-iso-month-header)
235 (calendar-month-header): New options.
236 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
237 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
238
e543ae91
JD
2392012-09-19 Jan Djärv <jan.h.d@swipnet.se>
240
241 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
242
2fd5e67d
JL
2432012-09-18 Juri Linkov <juri@jurta.org>
244
245 * dired-aux.el (dired-diff): Restore original functionality of
246 getting the default value, but keep new feature of using the
247 latest existing backup file (`diff-latest-backup-file').
248
42917e79
JL
2492012-09-18 Juri Linkov <juri@jurta.org>
250
251 * dired.el (dired-mark): If the region is active in Transient Mark
252 mode, mark all files in the active region. Doc fix.
253 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
254 Doc fix. (Bug#10624)
255
20f70ede
JL
2562012-09-18 Juri Linkov <juri@jurta.org>
257
258 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
259 attributes for M-n are pulled from the file at point.
260 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
261 Suggested by Drew Adams. (Bug#10624)
262
32fb8162
DG
2632012-09-18 Dmitry Gutov <dgutov@yandex.ru>
264
265 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
266 whitespace after "end".
267 (ruby-do-end-to-brace): Collapse block to one line if it fits
268 within fill-column.
269
37ab5092
MR
2702012-09-18 Martin Rudalics <rudalics@gmx.at>
271
272 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
273 value.
274 (debug): Don't remove debugger window when debugger is expected
275 to be back.
276
ed1f0bd3
CY
2772012-09-18 Chong Yidong <cyd@gnu.org>
278
279 * custom.el (defface): Doc fix.
280
281 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
282
a11035b8
MB
2832012-09-18 Martin Blais <blais@furius.ca> (tiny change)
284
285 * progmodes/compile.el (compilation-start): Use compilation-always-kill
286 to initialize query-on-exit; then test that instead (bug#12288).
287
64f6a736
SM
2882012-09-17 Stefan Merten <smerten@oekonux.de>
289
290 * rst.el: Add support for `testcover'.
291 (rst-defcustom-testcover, rst-testcover-add-compose)
292 (rst-testcover-add-1value): New functions.
293 (rst-portable-mark-active-p): Replace by `use-region-p'.
294 (rst-update-section, rst-classify-adornment)
295 (rst-find-title-line): Mark `1value' forms.
296 (rst-classify-adornment): Remove superfluous form.
297 (rst-update-section, rst-get-adornments-around)
298 (rst-adornment-complete-p, rst-get-next-adornment)
299 (rst-adjust, rst-promote-region)
300 (rst-display-adornments-hierarchy, rst-straighten-adornments)
301 (rst-find-pfx-in-region, rst-section-tree-rec)
302 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
303 (rst-toc-node, rst-toc, rst-forward-section)
304 (rst-iterate-leftmost-paragraphs)
305 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
306 (rst-bullet-list-region)
307 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
308 (rst-compile-find-conf, rst-compile)
309 (rst-repeat-last-character): Fix style.
310
580bd868
CY
3112012-09-17 Chong Yidong <cyd@gnu.org>
312
313 * comint.el (comint--complete-file-name-data): Don't add a space
314 if the status is `sole'; that adds a gratuitous space in the
315 completion-cycling case (Bug#12092).
316
317 * pcomplete.el (pcomplete-completions-at-point): Likewise.
318
69de3ec6
RS
3192012-09-17 Richard Stallman <rms@gnu.org>
320
0dee970c
RS
321 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
322 only in the mime-shown mode, not in raw mode.
323 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 324 mime processing. (Bug#12305)
0dee970c 325
6b250df6
GM
326 * mail/rmail.el (rmail-retry-failure):
327 Turn off mime processing first. (Bug#12037)
acb1c47b 328
69de3ec6
RS
329 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
330
d079ee5f
CY
3312012-09-17 Chong Yidong <cyd@gnu.org>
332
333 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
334 (shell-dynamic-complete-functions): Convert to defcustom.
335 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
336
865fe16f
CY
337 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
338 * comint.el (comint-prompt-read-only):
339 * custom.el (defcustom):
340 * hi-lock.el (hi-lock-mode):
341 * ibuffer.el (ibuffer-formats):
342 * ielm.el (ielm-prompt-read-only):
343 * novice.el (disable-command):
344 * saveplace.el (toggle-save-place):
345 * speedbar.el (speedbar-supported-extension-expressions):
346 * startup.el (auto-save-list-file-prefix, init-file-user)
347 (after-init-hook, inhibit-startup-echo-area-message):
348 * strokes.el (strokes-help):
349 * time-stamp.el (time-stamp):
350 * calendar/calendar.el (calendar, diary-file):
351 * calendar/diary-lib.el (diary-mail-entries, diary)
352 (diary-list-entries-hook):
353 * calendar/holidays.el (holidays, calendar-holidays):
354 * calendar/lunar.el (lunar-phases):
355 * calendar/solar.el (sunrise-sunset):
356 * emulation/edt.el (edt-load-keys):
357 * emulation/viper.el (viper-mode):
358 * eshell/em-alias.el (eshell-command-aliases-list):
359 * eshell/esh-util.el (eshell-convert-numeric-arguments):
360 * international/ogonek.el (ogonek-information):
361 * net/tramp-cmds.el (tramp-bug):
362 * net/quickurl.el (quickurl-reread-hook-postfix):
363 * play/decipher.el (decipher-font-lock-keywords):
364 * progmodes/cc-styles.el (c-set-style):
365 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
366 * progmodes/inf-lisp.el (inferior-lisp-prompt):
367 * progmodes/octave-mod.el (octave-mode):
368 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
369 * progmodes/verilog-mode.el (verilog-read-defines):
370 * textmodes/two-column.el (2C-mode): Likewise.
371
48093eb9
KY
3722012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
373
374 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
375 that holds many addresses.
376
c584eaf9
CY
3772012-09-16 Chong Yidong <cyd@gnu.org>
378
40d70ecb
CY
379 * align.el (align-areas): Call the indication function with
380 positions instead of markers for arguments (Bug#12343).
381
1667e065
CY
382 * files.el (parse-colon-path): Use split-string (Bug#12351).
383
fdc2806d 384 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 385 (display-buffer-function): Mark as obsolete.
fdc2806d 386
f1be615c 387 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
388 values similar to font-lock-keywords (Bug#12136).
389 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
390 (compilation-error-regexp-alist): Doc fix.
391
f40a9709
GM
3922012-09-15 Glenn Morris <rgm@gnu.org>
393
72aa16e1
GM
394 * version.el (emacs-bzr-version-bzr): New function.
395 (emacs-bzr-get-version): Add optional EXTERNAL argument.
396
82375160
GM
397 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
398 checkouts, check the parent dirstate matches the branch.
399 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
400 empty string.
401
f40a9709
GM
402 * version.el (emacs-bzr-version): Doc fix.
403 (emacs-bzr-version-dirstate): New function.
404 (emacs-bzr-get-version): For lightweight checkouts, if the parent
405 is local try and check that it matches the branch. If not, just
406 use dirstate information. (Bug#12441)
407
cb26b7f5
JL
4082012-09-14 Juri Linkov <juri@jurta.org>
409
410 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
411 (Bug#12399)
412
2de39f08
SM
4132012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
414
0fb3cb7c
SM
415 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
416
2de39f08
SM
417 * emacs-lisp/edebug.el: Miscellaneous cleanup.
418 Remove obsolete byte-compiler hack that tried to silence some warnings.
419 (edebug-submit-bug-report): Remove.
420 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
421 Remove aliases, use the un-prefixed name instead.
422 (edebug-pop-to-buffer): Consider other frames.
423 (edebug-original-read):: Make it more obvious that it's always defined.
424 (edebug--make-form-data-entry, edebug--form-data-name)
425 (edebug--form-data-begin, edebug--form-data-end): Rename from the
426 single-dashed name, and implement with cl-defstruct.
427 (edebug-set-form-data-entry): Use the standard accessors.
428 (edebug-make-top-form-data-entry): Use push.
429 (edebug-no-match): Drop useless `funcall'.
430 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
431 to functions.
432 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
433 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
434 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
435 (easy-menu-define, with-custom-print): Remove redundant specs.
436 (edebug-outside-overriding-local-map)
437 (edebug-outside-overriding-terminal-local-map): Remove, unused.
438 (edebug--display): Bind unread-command-events directly to nil rather
439 than binding it to unread-command-events and later setting it to nil.
440 (edebug--display): Kill edebug-eval-buffer here...
441 (edebug--recursive-edit): ...rather than here.
442 Bind standard-output and standard-input.
443 (edebug-eval): Check cl-macroexpand-all is fboundp.
444 (edebug-temp-display-freq-count): Fix last change.
445
446 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
447 * subr.el (noreturn, 1value): Add `debug' spec.
448 * emacs-lisp/advice.el: Require cl-lib.
449 (ad-copy-tree): Remove, use copy-tree instead.
450 (ad-dolist): Remove use dolist or cl-dolist instead.
451 (ad-do-return): Remove, use cl-return instead.
452 (defadvice): Add `debug' spec.
453
5b68b333
JL
4542012-09-13 Juri Linkov <juri@jurta.org>
455
456 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
457 (Bug#12399)
458
b9800ec4
GM
4592012-09-13 Glenn Morris <rgm@gnu.org>
460
6a2e6868
GM
461 * calc/calc.el (math-compose-expr):
462 * calc/calc-ext.el (math-compose-expr):
463 * progmodes/cc-defs.el (cl-macroexpand-all):
464 * progmodes/cc-langs.el (delete-duplicates, mapcan)
465 (cl-macroexpand-all): Update declarations.
466
b9800ec4
GM
467 * vc/vc.el: No need to require ediff.
468 (ediff-load-version-control): Declare.
469 (ediff-vc-internal): Fix declaration.
470 (vc-version-ediff): Require ediff.
471
c18e885b
PE
4722012-09-13 Paul Eggert <eggert@cs.ucla.edu>
473
474 Use a more backwards-compatible timer format (Bug#12430).
475 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
476 being right after USECS, as that better supports old code that
477 inadvisedly looked directly at the timer vector.
478
d607d303
KH
4792012-09-13 Kenichi Handa <handa@gnu.org>
480
481 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
482 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
483 `coding-priority' property of these language environment.
484
72eac303
PE
4852012-09-13 Paul Eggert <eggert@cs.ucla.edu>
486
487 Fix glitches caused by addition of psec to timers (Bug#12430).
488 * image.el (image-animate-timer):
489 * time.el (display-time-world-timer):
490 Use timer--function and timer--args rather than raw access to
491 timer vector.
492
2168fe4f
GM
4932012-09-13 Glenn Morris <rgm@gnu.org>
494
495 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
496 If not compiling a file, try using load-file-name.
497
bd8d6108
SM
4982012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
499
c0c54fbd
SM
500 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
501 Fix last change.
502 (edebug-update-eval-list): Use `push'.
503
bd8d6108
SM
504 * emacs-lisp/edebug.el: Use lexical-binding.
505 Remove the "edebug-" prefix from non-dynamically-scoped variables.
506 Mark unused args with underscore.
507 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
508 (edebug-form-data): Use defvar-local.
509 (edebug-make-before-and-after-form, edebug-make-after-form):
510 Use backquote.
511 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
512 Not dynamically scoped any more.
513 (edebug--enter-trace): Add arguments `function' and `args'.
514 Rename from edebug-enter-trace.
515 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
516 (edebug--update-coverage): Add `after-index' and `value' args.
517 Rename from edebug-update-coverage.
518 (edebug-slow-after): Call it accordingly.
519 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
520 edebug-recursive-edit.
521 (edebug--display): Call it accordingly. Add args `value',
522 `offset-index', and `arg-mode'. Rename from edebug-display.
523 (edebug-debugger, edebug): Call it accordingly.
524 (edebug-eval-display-list): Use dolist.
525
a9f9d9de
JL
5262012-09-12 Juri Linkov <juri@jurta.org>
527
528 * info.el (Info-search): Don't check for isearch-mode and
529 isearch-regexp before let-binding search-spaces-regexp to
530 Info-search-whitespace-regexp.
531 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
532 search-whitespace-regexp if isearch-lax-whitespace or
533 isearch-regexp-lax-whitespace is non-nil.
534 (Info-mode): Don't set local variable search-whitespace-regexp.
535 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
536
bfeae2cf
SM
5372012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
540 (debugger-env-macro): Remove support for unread-command-char.
541
542 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
543 the temporary map re-appearing on emulation-mode-map-alists.
544
545 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
546 since 22.1.
547
548 * ehelp.el (with-electric-help): Accept functions in
549 electric-help-form-to-execute.
550 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
551 And replace unread-command-char -> unread-command-events.
552
fbbcaf1b
MA
5532012-09-12 Michael Albinus <michael.albinus@gmx.de>
554
555 Sync with Tramp 2.2.6.
556
557 * net/tramp.el (tramp-accept-process-output): Don't use
558 JUST-THIS-ONE in the XEmacs case.
559
560 * net/trampver.el: Update release number.
561
4dece104
MR
5622012-09-12 Martin Rudalics <rudalics@gmx.at>
563
bfeae2cf
SM
564 * emacs-lisp/debug.el (debugger-previous-window-height):
565 New variable.
4dece104
MR
566 (debug): When debugger-jumping-flag is non-nil try to restore
567 height of debugger window. (Bug#8789)
568
45b82ad0
SM
5692012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
570
60c49c0f
SM
571 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
572 overriding-local-map and pre/post-command-hook here.
573 (edebug-recursive-edit): Do it here instead (bug#12345).
574 (edebug-outside-unread-command-char): Remove all uses of
575 unread-command-char.
576
45b82ad0
SM
577 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
578 inhibit-debugger is bound instead.
579
baa26ea0
BG
5802012-09-11 Bastien Guerry <bzg@gnu.org>
581
582 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 583 (Bug#12346)
baa26ea0 584
04e8abfa
BG
5852012-09-11 Bastien Guerry <bzg@gnu.org>
586
96d03571 587 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 588 (Bug#12347)
96d03571
BG
589
5902012-09-11 Bastien Guerry <bzg@gnu.org>
591
fc0c31f8 592 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 593
04e082b0
MM
5942012-09-10 Michael R. Mauger <mmaug@yahoo.com>
595
596 * progmodes/sql.el: Version 3.1
597 (sql-db2-escape-newlines): New variable.
598 (sql-escape-newlines-filter): Use it.
599
399a361b
JB
6002012-09-10 Juanma Barranquero <lekktu@gmail.com>
601
602 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
603
0780c517
DN
6042012-09-10 Dan Nicolaescu <dann@gnu.org>
605
45b82ad0
SM
606 * vc/diff-mode.el (diff-mode-menu):
607 Bind diff-remove-trailing-whitespace.
0780c517 608
9b851e25
SM
6092012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
612 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
613 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
614 (eval-sexp-add-defvars): Don't skip defvars in column >0.
615 (eval-defun-2): Remove bogus interactive spec.
616 (lisp-indent-line): Remove redundant whole-exp code, now done in
617 indent-according-to-mode.
618 (save-match-data): Remove redundant indent data.
619
620 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
621 Use `declare'.
622
3231d532
JL
6232012-09-09 Juri Linkov <juri@jurta.org>
624
625 * replace.el (replace-regexp-lax-whitespace): New defcustom.
626 (replace-lax-whitespace, query-replace-regexp)
627 (query-replace-regexp-eval, replace-regexp): Doc fix.
628 (perform-replace, replace-highlight): Let-bind
629 isearch-lax-whitespace to replace-lax-whitespace and
630 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
631
632 * isearch.el (isearch-query-replace): Let-bind
633 replace-lax-whitespace to isearch-lax-whitespace and
634 replace-regexp-lax-whitespace to
635 isearch-regexp-lax-whitespace. (Bug#10885)
636
70fe8236
SM
6372012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
640
8ed43f15
AM
6412012-09-09 Alan Mackenzie <acm@muc.de>
642
70fe8236
SM
643 * progmodes/cc-engine.el (c-state-cache-init):
644 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
645 (c-record-parse-state-state):
646 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 647
bfabf70a
AS
6482012-09-09 Andreas Schwab <schwab@linux-m68k.org>
649
650 * register.el (register-separator): Rename from
651 separator-register. All uses changed. Doc fix.
652 (register): Fix version.
653
011474aa
CY
6542012-09-09 Chong Yidong <cyd@gnu.org>
655
656 * replace.el (query-replace-map): Bind four new symbols for
657 requesting window scrolling.
658
659 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
660 query-replace-map (Bug#8948).
661
662 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
663
664 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
665 since they are now in query-replace-map.
666
667 * window.el (scroll-other-window-down): Make the arg optional.
668
a8b7cd8d
CY
6692012-09-09 Chong Yidong <cyd@gnu.org>
670
671 * files.el (hack-local-variables-confirm): Use quit-window to kill
672 the *Local Variables* buffer.
673
c3268831
DG
6742012-09-08 Dmitry Gutov <dgutov@yandex.ru>
675
676 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
677 not just expect to be at its beginning. Adjust callees.
678 Succeed when do-end block has no space before the pipe character.
679 (ruby-brace-to-do-end): When the original block is one-liner,
680 convert to multiline. Reindent the result.
681
0979429b
J
6822012-09-08 Jambunathan K <kjambunathan@gmail.com>
683
684 * register.el (register): New group.
685 (register-separator): New user option.
686 (increment-register): Route it to `append-to-register', if
687 register contains text. Implication is that `C-x r +' can now be
688 used for appending to a text register (bug#12217).
689 (append-to-register, prepend-to-register): Add separator based on
690 `register-separator.
691
ace2989a
AM
6922012-09-08 Alan Mackenzie <acm@muc.de>
693
694 AWK Mode: make auto-newline work when there's "==" in the pattern.
695 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
696 correctly.
0979429b
J
697 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
698 Test more rigorously for "=" token.
ace2989a 699
616c6c36
DG
7002012-09-08 Dmitry Gutov <dgutov@yandex.ru>
701
0979429b
J
702 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
703 Only fail when reached LIMIT.
616c6c36 704
35d98877
CY
7052012-09-08 Chong Yidong <cyd@gnu.org>
706
707 * dired.el (dired-mode-map): Don't bind M-=.
708
709 * dired-aux.el (dired-diff): Use backup file as default.
710
1715f2db
DA
7112012-09-08 Drew Adams <drew.adams@oracle.com>
712
713 * subr.el (add-to-history): Fix delete usage (Bug#12314).
714
6dcef6ec
CY
7152012-09-08 Chong Yidong <cyd@gnu.org>
716
717 * subr.el (syntax-after, syntax-class): Doc fix.
718
fa2bcf43
MR
7192012-09-08 Martin Rudalics <rudalics@gmx.at>
720
721 * window.el (display-buffer-in-previous-window): New buffer
722 display action function.
723
724 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
725 (debugger-previous-window): New variable.
726 (debug): Rewrite using display-buffer-in-previous-window,
727 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
728
daac280a
SM
7292012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
732
9dd40b00
MM
7332012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
734
daac280a
SM
735 * progmodes/python.el (python-shell-send-string):
736 When default-directory is remote, create temp file on remote
9dd40b00
MM
737 filesystem.
738 (python-shell-send-file): When file is remote, pass local view of
739 file paths to remote Python interpreter. (Bug#12340)
740
145823ec
CY
7412012-09-07 Chong Yidong <cyd@gnu.org>
742
cee2e90d
CY
743 * window.el (switch-to-buffer): Doc fix (Bug#12181).
744
0d7eb2ea
CY
745 * files.el (after-find-file): Don't fail on a read-only buffer if
746 require-final-newline is `visit' or `visit-save' (Bug#11156).
747
145823ec
CY
748 * subr.el (read-char-choice): Allow quitting via ESC ESC.
749
daac280a
SM
750 * userlock.el (ask-user-about-supersession-threat):
751 Use read-char-choice (Bug#12093).
145823ec 752
74c582e6
CY
7532012-09-07 Chong Yidong <cyd@gnu.org>
754
e5c2edf7
CY
755 * subr.el (buffer-narrowed-p): New function.
756
757 * ses.el (ses-widen):
758 * simple.el (count-words--buffer-message):
759 * net/browse-url.el (browse-url-of-buffer): Use it
760
761 * simple.el (count-words-region): Don't signal an error if there
762 is a non-nil prefix arg and the mark is not set.
c640e87d 763
74c582e6
CY
764 * help.el (describe-key-briefly): Allow the message to be seen
765 when invoked from the minibuffer (Bug#7014).
766
d81ceaaf
DG
7672012-09-07 Dmitry Gutov <dgutov@yandex.ru>
768
769 * progmodes/ruby-mode.el (ruby-end-of-defun)
770 (ruby-beginning-of-defun): Simplify, allow indentation before
771 block beginning and end keywords.
8f06acce
DG
772 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
773 (ruby-end-of-defun): Expect that the point is at the beginning of
774 the defun.
d81ceaaf 775
d458ef98
SM
7762012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
779 (bug#12367).
780 (cl--make-usage-args): Strip _ from argument names.
781
20367d28
RS
7822012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
783
784 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
785 obsolete alias speedbar-key-map.
786 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
787 (vhdl-index-menu-init): Don't use obsolete variable
788 font-lock-maximum-size.
789
3424a4f6
CY
7902012-09-06 Chong Yidong <cyd@gnu.org>
791
792 * frame.el (window-system-version): Mark as obsolete.
793
fcbfbdea
CY
794 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
795 of obsolete variable speedbar-key-map.
796
826b3235
JL
7972012-09-06 Juri Linkov <juri@jurta.org>
798
799 * replace.el (replace-lax-whitespace): New defcustom.
800 (query-replace, query-replace-regexp, query-replace-regexp-eval)
801 (replace-string, replace-regexp): Mention it in docstrings.
802 (perform-replace, replace-highlight): Let-bind
803 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
804 to the values of replace-lax-whitespace and regexp-flag.
805 Don't let-bind search-whitespace-regexp. (Bug#10885)
806
807 * isearch.el (isearch-query-replace): Let-bind
808 replace-lax-whitespace instead of let-binding
809 replace-search-function and replace-re-search-function.
810 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
811 and isearch-regexp-lax-whitespace to lazy-highlight variables.
812 (isearch-toggle-symbol): Set isearch-regexp to nil
813 in isearch-word mode (like in isearch-toggle-word).
814
1ec5e41d
JL
8152012-09-06 Juri Linkov <juri@jurta.org>
816
817 * replace.el (replace-search-function)
818 (replace-re-search-function): Set default values to nil.
819 (perform-replace): Let-bind isearch-related variables based on
820 replace-related values, call `isearch-search-fun' and let-bind
821 the result to `search-function'. Remove code that sets
822 `search-function' and `search-string' separately for
823 `delimited-flag'.
824 (replace-highlight): Add new argument `delimited-flag' and
825 rename other arguments to the names used in `perform-replace'.
826 Let-bind `isearch-word' to the argument `delimited-flag'.
827 (Bug#10885, bug#10887)
828
0ba2d4b6
DG
8292012-09-07 Dmitry Gutov <dgutov@yandex.ru>
830
831 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
832 ruby-beginning-of-indent, simplify, allow all keywords to have
833 indentation before them.
834 (ruby-beginning-of-indent): Adjust for above. Search until the
835 found point is not inside a string or comment.
836 (ruby-font-lock-keywords): Allow symbols to start with "@"
837 character, give them higher priority than variables.
838 (ruby-syntax-propertize-function)
839 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
840 matchers. Expression expansions are not comments when inside a
841 string, and there comment syntax status is irrelevant.
842 (ruby-match-expression-expansion): New function. Check that
843 expression expansion is inside a string, and it's not escaped.
844 (ruby-font-lock-keywords): Use it.
845
ef654460
MR
8462012-09-05 Martin Rudalics <rudalics@gmx.at>
847
848 * help.el (temp-buffer-max-height): New default value.
849 (temp-buffer-resize-frames): New option.
850 (resize-temp-buffer-window): Optionally resize frame.
851
852 * window.el (fit-frame-to-buffer-bottom-margin): New option.
853 (fit-frame-to-buffer): New function.
854
7e570fbf 8552012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
856
857 * emulation/cua-rect.el (cua--init-rectangles):
858 * textmodes/picture.el (picture-mode-map):
859 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
860 like forward-char and backward-char. (Bug#12317)
861
7e570fbf 8622012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
863
864 * progmodes/flymake.el (flymake-warning-re): New variable.
865 (flymake-parse-line): Use it.
866
7e570fbf 8672012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
868
869 * calendar/holidays.el (holiday-christian-holidays):
870 Rename an entry. (Bug#12289)
871
7e570fbf 8722012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
873
874 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
875 (bug#12222).
876
972debf2
SM
8772012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * loadup.el: Load macroexp. Remove hack.
880 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
881 (macroexp--expand-all): Use it to get better warnings.
882 (macroexp--backtrace, macroexp--trim-backtrace-frame)
883 (internal-macroexpand-for-load): New functions.
884 (macroexp--pending-eager-loads): New var.
885 (emacs-startup-hook): New hack to replace one in loadup.el.
886 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
887 (cl--compiler-macro-cXXr): Move to top, before they can be used.
888 (cl-psetf): Simplify.
889 (cl-defstruct): Add indent rule.
890
8ce192e3
LI
8912012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
892
893 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
894 over `user-mail-address' for the SMTP MAIL FROM envelope.
895 (smtpmail-via-smtp): Ditto.
896
6578b4d8
DG
8972012-09-04 Dmitry Gutov <dgutov@yandex.ru>
898
899 * progmodes/ruby-mode.el: Clean up keybindings.
900 (ruby-mode-map): Don't bind ruby-electric-brace,
901 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
902 backward-kill-word, reindent-then-newline-and-indent.
903 (ruby-mark-defun): Remove.
904 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
905 (ruby-mode): Set local beginning-of-defun-function and
906 end-of-defun-function values.
907
c5e28e39
MR
9082012-09-03 Martin Rudalics <rudalics@gmx.at>
909
910 * window.el (temp-buffer-window-setup-hook)
911 (temp-buffer-window-show-hook): New hooks.
912 (temp-buffer-window-setup, temp-buffer-window-show)
913 (with-temp-buffer-window): New functions.
972debf2
SM
914 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
915 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
916
917 * help.el (temp-buffer-resize-mode): Fix doc-string.
918 (resize-temp-buffer-window): New optional argument WINDOW.
919
920 * files.el (recover-file, save-buffers-kill-emacs):
921 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
922
73406194
MA
9232012-09-02 Michael Albinus <michael.albinus@gmx.de>
924
925 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
926 remote definition of `default-directory', ensure we can connect.
927
63dd1c6f
JL
9282012-09-02 Juri Linkov <juri@jurta.org>
929
930 Toggle whitespace matching mode with M-s SPC.
931 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
932
933 * isearch.el (search-whitespace-regexp): Doc fix.
934 Remove cons cell customization.
935 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
936 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
937 New variables.
938 (isearch-forward, isearch-forward-regexp): Doc fix.
939 (isearch-toggle-lax-whitespace): New command.
940 (search-forward-lax-whitespace, search-backward-lax-whitespace)
941 (re-search-forward-lax-whitespace)
942 (re-search-backward-lax-whitespace): New functions.
943 (isearch-whitespace-regexp): Remove function.
944 (isearch-query-replace): Let-bind replace-search-function and
945 replace-re-search-function.
946 (isearch-occur): Let-bind search-spaces-regexp according to the
947 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
948 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
949 condition for C-q SPC.
950 (isearch-search-fun-default): Use new functions mentioned above.
951 (isearch-search-forward, isearch-search-backward): Remove functions.
952 (isearch-search): Don't let-bind search-spaces-regexp.
953 (isearch-lazy-highlight-space-regexp): Remove variable.
954 (isearch-lazy-highlight-lax-whitespace)
955 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
956 (isearch-lazy-highlight-new-loop): Use them.
957 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
958
af7dda05
CY
9592012-09-02 Chong Yidong <cyd@gnu.org>
960
961 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
962
d67d3afd
GM
9632012-09-02 Glenn Morris <rgm@gnu.org>
964
965 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
966
69678719
GM
9672012-09-01 Glenn Morris <rgm@gnu.org>
968
969 * term.el: Tidy up menu definitions.
970 (term-mode-map): Use easymenu for In/Out, Complete menus.
971 (term-pager-break-map): Initialize in the defvar.
972 (term-terminal-menu, term-signals-menu): Define with easymenu.
973 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
974 (term-pager-menu): New, extracted from term-process-pager.
975 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
976 (term-update-mode-line): Propertize line/char and page items.
977 (term-process-pager): Move keymap initialization elsewhere.
978
78dd6ab1
MR
9792012-09-01 Martin Rudalics <rudalics@gmx.at>
980
981 * window.el (switch-to-prev-buffer): Handle additional values of
982 BURY-OR-KILL argument. Don't switch in minibuffer window.
983 (switch-to-next-buffer): Don't switch in minibuffer window.
984 (quit-restore-window): New function based on quit-window.
985 Handle additional values of former KILL argument.
986 (quit-window): Call quit-restore-window with appropriate
987 interpretation of KILL argument.
988 (display-buffer-below-selected): New buffer display action
989 function.
990
3d10e134
SM
9912012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * minibuffer.el (completion-at-point-functions): Complete docstring
994 (bug#12254).
995
0e23ef9d
PE
9962012-09-01 Paul Eggert <eggert@cs.ucla.edu>
997
998 Better seed support for (random).
999 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1000 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1001 * play/mpuz.el, play/tetris.el, play/zone.el:
1002 * calc/calc-comb.el (math-init-random-base):
1003 * play/blackbox.el (bb-init-board):
1004 * play/life.el (life):
1005 * server.el (server-use-tcp):
1006 * type-break.el (type-break):
1007 Remove unnecessary call to (random t).
1008 * net/sasl.el (sasl-unique-id-function):
1009 Change (random t) to (random), now that the latter is more random.
1010 * play/life.el (life-initialized): Remove no-longer-needed var.
1011
862382df
MR
10122012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1013
1014 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1015 Consider frame's buffer predicate when choosing the buffer.
1016 (Bug#12081)
1017
262a66e1
RS
10182012-08-30 Richard Stallman <rms@gnu.org>
1019
1020 * simple.el (special-mode-map): Delete binding for `z'.
1021
f17e1d00
AS
10222012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1023
1024 * progmodes/compile.el (compilation-always-kill): Doc fix.
1025
24777832
CY
10262012-08-30 Chong Yidong <cyd@gnu.org>
1027
1028 * window.el (display-buffer-reuse-frames): Make the obsolescence
1029 message more informative.
1030
69ba1f04
GM
10312012-08-30 Glenn Morris <rgm@gnu.org>
1032
1033 * paren.el (show-paren-delay):
1034 Add a :set function. Doc fix. (Bug#12297)
1035
f0019ede
MB
10362012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1037
1038 * progmodes/compile.el (compilation-always-kill): New var.
1039 (compilation-start): Use it.
1040
35e62fc9
SM
10412012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1042
af070a1c
SM
1043 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1044 * files.el (read-only-mode): Move to simple.el.
1045
35e62fc9
SM
1046 * files.el (read-only-mode): New minor mode.
1047 (toggle-read-only): Use it and mark obsolete.
1048 (find-file--read-only):
1049 * vc/vc.el (vc-next-action, vc-checkout):
1050 * vc/vc-cvs.el (vc-cvs-checkout):
1051 * obsolete/vc-mcvs.el (vc-mcvs-update):
1052 * ffap.el (ffap--toggle-read-only): Update callers.
1053
c2c43c23
MA
10542012-08-29 Michael Albinus <michael.albinus@gmx.de>
1055
1056 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1057 remote shell scripts.
1058 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1059
1060 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1061 "/usr/local/sbin".
1062
9fba804b
SM
10632012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1066
eada0861 10672012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1068
806f0cc7
LL
1069 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1070 completion-at-point. (Bug#12220)
1071
3bb213b9
LL
1072 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1073
22ab32ef
LL
1074 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1075
eada0861 10762012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1077
19c17fc1
CY
1078 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1079 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1080
eada0861 10812012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1082
1083 * progmodes/hideif.el (hif-compress-define-list):
1084 Fix typo. (Bug#11951)
1085
eada0861 10862012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1087
1088 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1089 buffer local setting.
1090
27d6c5a8
LL
1091 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1092 rcirc-encode-coding-system.
1093
eada0861 10942012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1095
1096 * net/rcirc.el (rcirc-split-message): New function.
1097 (rcirc-send-message): Use it. (Bug#12051)
1098
d44688e4
JL
10992012-08-28 Juri Linkov <juri@jurta.org>
1100
1101 * info.el (Info-fontify-node): Hide empty lines at the end of
1102 the node. (Bug#12272)
1103
34f10d41
MR
11042012-08-27 Drew Adams <drew.adams@oracle.com>
1105
1106 * dired.el (dired-pop-to-buffer): Make window start at beginning
1107 of buffer (Bug#12281).
1108
77f1f99c
CY
11092012-08-26 Chong Yidong <cyd@gnu.org>
1110
1111 * window.el (special-display-regexps, special-display-frame-alist)
1112 (special-display-buffer-names, special-display-function)
1113 (display-buffer-reuse-frames): Mark as obsolete.
1114
1115 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1116
1117 * help.el (help-print-return-message): Don't treat
1118 display-buffer-reuse-frames specially.
1119
d97af5a0
CY
11202012-08-26 Chong Yidong <cyd@gnu.org>
1121
9fba804b
SM
1122 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1123 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1124 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1125 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1126 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1127 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1128 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1129 the functions directly with gdb-display-buffer-other-frame-action.
1130 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1131 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1132 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1133 (gdb-display-registers-buffer): Define directly.
1134 (def-gdb-display-buffer): Macro deleted.
1135 (gdb-display-buffer): Remove second and third args, callers don't
1136 use them. Defer to the default display-buffer behavior, apart
1137 from making windows dedicated.
1138 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1139
1140 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1141
1142 * window.el (display-buffer-pop-up-frame): Handle a
1143 pop-up-frame-parameters alist entry.
1144 (display-buffer): Document it.
1145
dd7ffad6
CY
11462012-08-26 Chong Yidong <cyd@gnu.org>
1147
1148 * isearch.el (search-whitespace-regexp): Make string and nil
1149 values apply to both ordinary and regexp search. Allow a cons
1150 cell value to distinguish between the two.
1151 (isearch-whitespace-regexp, isearch-search-forward)
1152 (isearch-search-backward): New functions.
1153 (isearch-occur, isearch-search-fun-default, isearch-search)
1154 (isearch-lazy-highlight-new-loop): Use them.
1155 (isearch-forward, isearch-forward-regexp): Doc fix.
1156
4c47bd1e
CY
11572012-08-26 Chong Yidong <cyd@gnu.org>
1158
1159 * faces.el (help-argument-name): Always inherit from italic
1160 (Bug#12213).
1161
9aba119d
MR
11622012-08-25 Martin Rudalics <rudalics@gmx.at>
1163
1164 * window.el (window--even-window-heights): Even heights when
1165 WINDOW and the selected window form a vertical combination.
1166 (display-buffer-use-some-window): Provide that window used gets
1167 sized back by quit-window. (Bug#11880) and (Bug#12091)
1168
ca5256ad
PE
11692012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1170
1171 Fix file time stamp problem with bzr and CVS (Bug#12001).
1172 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1173 in the file's time stamp, since the version control system loses
1174 that information.
1175
d1c0d176
JL
11762012-08-22 Juri Linkov <juri@jurta.org>
1177
1178 * info.el (Info-fontify-node): Hide the suffix of the
1179 Info file name in the header line. (Bug#12187)
1180
141562ff
GM
11812012-08-22 Glenn Morris <rgm@gnu.org>
1182
1183 * calendar/cal-tex.el (cal-tex-weekly-common):
1184 Restore leading blank page.
1185
61a48e19 11862012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1187
1188 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1189 the region under `shift-select-mode'. (Bug#12231)
1190
11912012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1192
1193 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1194 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1195 gives details on why the space is never needed.
1196
ea95074e
MR
11972012-08-22 Martin Rudalics <rudalics@gmx.at>
1198
9fba804b
SM
1199 * window.el (walk-window-tree, window-with-parameter):
1200 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1201 should run on the minibuffer window.
1202 (window-at-side-list): Don't operate on minibuffer window.
1203 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1204 (window--size-ignore): Rename to window--size-ignore-p.
1205 Update callers.
caceae25
MR
1206 (display-buffer-in-atom-window, window--major-non-side-window)
1207 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1208 (delete-side-window, display-buffer-in-side-window):
1209 New functions.
caceae25
MR
1210 (window--side-check, window-deletable-p, delete-window)
1211 (delete-other-windows, split-window): Handle side windows and
1212 atomic windows appropriately.
1213 (window--display-buffer): Call display-buffer-record-window also
1214 when the window buffer did not change.
ea95074e 1215
80a51fa0
CS
12162012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1217
1218 * help-fns.el (help-fns--key-bindings):
1219 Abbreviate non-symbol remap targets. (Bug#12174)
1220
fbb6300b
MR
12212012-08-22 Martin Rudalics <rudalics@gmx.at>
1222
1223 * dired.el (dired-mark-remembered): Don't clobber point.
1224 (Bug#11795)
1225
2b2c0794
GM
12262012-08-22 Glenn Morris <rgm@gnu.org>
1227
1228 * progmodes/bug-reference.el (bug-reference): New custom group.
1229 (bug-reference-bug-regexp): Make it a defcustom.
1230
37219830
DU
12312012-08-22 Daiki Ueno <ueno@unixuser.org>
1232
1233 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1234 (js-paren-indent-offset, js-square-indent-offset)
1235 (js-curly-indent-offset): Add :safe (Bug#12257).
1236
94e0e559
EC
12372012-08-22 Edward O'Connor <hober0@gmail.com>
1238
1239 * json.el (json-key-format): Add error properties.
1240 (json-encode-key): New function.
1241 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1242 Use json-encode-key.
1243
da485f5e
GM
12442012-08-22 Glenn Morris <rgm@gnu.org>
1245
1246 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1247 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1248 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1249 Update for above change.
1250
c6cc78b8
AS
12512012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1252
1253 * cus-face.el (custom-face-attributes): Fix customize type for the
1254 :underline attribute. (Bug#11805)
1255
5481664a
MR
12562012-08-21 Martin Rudalics <rudalics@gmx.at>
1257
1258 * window.el (window-point-1, set-window-point-1): Remove.
1259 (window-in-direction, record-window-buffer)
1260 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1261 (window--state-get-1, display-buffer-record-window):
1262 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1263 window-point and set-window-point respectively.
1264
6d74698e
GM
12652012-08-21 Glenn Morris <rgm@gnu.org>
1266
b7fa2691
GM
1267 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1268 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1269 Use it.
1270
52f56d5a
GM
1271 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1272 (cal-tex-shortday): New function.
1273 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1274 (cal-tex-cursor-filofax-daily): Use the above.
1275
9f1ee09e
GM
1276 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1277 New functions.
1278 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1279 (cal-tex-cursor-filofax-week): Use them.
1280
79858159
GM
1281 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1282 New constants.
1283 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1284 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1285
d346b2b4
GM
1286 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1287 (cal-tex-end-document): Don't rely on buffer name.
1288
b2403709
GM
1289 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1290 Use cal-tex-vspace.
1291 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1292 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1293 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1294 Use cal-tex-arg.
b2403709 1295
1cebb5c0
GM
1296 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1297 (cal-tex-cursor-week, cal-tex-cursor-week2)
1298 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1299 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1300 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1301 (cal-tex-insert-preamble, cal-tex-b-document)
1302 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1303 Improve cal-tex-cmd usage.
1304
c68cd5d4
GM
1305 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1306 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1307 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1308 (cal-tex-weekly-paper): New function.
1309 (cal-tex-cursor-week, cal-tex-cursor-week2)
1310 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1311 (cal-tex-cursor-day): Use it.
1312
9dca4801
GM
1313 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1314 (cal-tex-cursor-filofax-week): Remove leading blank page.
1315
1941e134
GM
1316 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1317 Add autoload cookie. For now at least, don't use color, since
1318 no other cal-tex function does.
1319
6d74698e
GM
1320 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1321 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1322 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1323
64cde199
JL
13242012-08-21 Juri Linkov <juri@jurta.org>
1325
1326 * info.el (Info-file-attributes): New variable.
1327 (info-insert-file-contents): Add file attributes to
1328 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1329 `Info-toc-nodes' when previous modtime of the Info file is less
1330 than new modtime.
1331 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1332 of info.el. (Bug#12230)
1333
32757648
GM
13342012-08-20 Glenn Morris <rgm@gnu.org>
1335
1336 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1337 * calendar/holidays.el (calendar-holiday-list):
1338 Report errors with display-warning rather than beep'n'sleep.
1339
a32fbbcf
MA
13402012-08-20 Michael Albinus <michael.albinus@gmx.de>
1341
1342 * net/tramp.el (tramp-accept-process-output): Accept only output
1343 from PROC. Otherwise, process filters and sentinels might be
1344 confused. (Bug#12145)
1345
a05731a0
CY
13462012-08-20 Chong Yidong <cyd@gnu.org>
1347
1348 * descr-text.el (describe-text-properties-1): Use overlays-in to
1349 report on empty overlays (Bug#3322).
1350
36e8d1eb
GM
13512012-08-20 Glenn Morris <rgm@gnu.org>
1352
3d300447
GM
1353 * mail/rmailout.el (rmail-output-read-file-name):
1354 Trap and report errors in rmail-output-file-alist elements.
1355
36e8d1eb
GM
1356 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1357 since most non-font-lock faces are not also variables).
1358
b96e5814
ER
13592012-08-20 Edward Reingold <reingold@iit.edu>
1360
1361 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1362 New function. (Bug12160)
1363
7cef3569
GM
13642012-08-19 Glenn Morris <rgm@gnu.org>
1365
1366 * mail/rmailout.el (rmail-output-read-file-name):
1367 Fix previous change (when the alist is nil or does not match).
1368
17975d7f
CY
13692012-08-19 Chong Yidong <cyd@gnu.org>
1370
1371 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1372 (Bug#12228).
1373
2170b1bd
CY
13742012-08-18 Chong Yidong <cyd@gnu.org>
1375
1376 * simple.el (yank-handled-properties): New defcustom.
1377 (yank-excluded-properties): Add font-lock-face and category.
1378 (yank): Doc fix.
1379
9fba804b
SM
1380 * subr.el (remove-yank-excluded-properties):
1381 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1382 and category is now done this way, instead of being hard-coded.
1383 (insert-for-yank-1): Remove font-lock-face handling.
1384 (yank-handle-font-lock-face-property)
1385 (yank-handle-category-property): New function.
1386
ee218151
GM
13872012-08-17 Glenn Morris <rgm@gnu.org>
1388
1389 * mail/rmailout.el (rmail-output-read-file-name):
1390 Check rmail-output-file-alist against the full message body
1391 in the correct rmail buffer. (Bug#12214)
1392
4a6bc3fd
MA
13932012-08-17 Michael Albinus <michael.albinus@gmx.de>
1394
9fba804b
SM
1395 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1396 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1397
383dcbf9
CY
13982012-08-17 Chong Yidong <cyd@gnu.org>
1399
1400 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1401 font spec, set the font directly (Bug#3228).
1402
998c4a6a
MR
14032012-08-17 Martin Rudalics <rudalics@gmx.at>
1404
1405 * window.el (delete-window): Fix last fix.
1406
52162052
MR
14072012-08-16 Martin Rudalics <rudalics@gmx.at>
1408
1409 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1410 (window-child, window-child-count, window-last-child)
1411 (window-normalize-window, window-combined-p)
1412 (window-combinations, window-atom-root, window-min-size)
1413 (window-sizable, window-sizable-p, window-size-fixed-p)
1414 (window-min-delta, window-max-delta, window--resizable)
1415 (window--resizable-p, window-resizable, window-total-size)
1416 (window-full-height-p, window-full-width-p, window-body-size)
1417 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1418 (minimize-window, window-deletable-p, delete-window)
1419 (delete-other-windows, set-window-buffer-start-and-point)
1420 (next-buffer, previous-buffer, split-window, balance-windows-2)
1421 (set-window-text-height, window-buffer-height)
1422 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1423 (truncated-partial-width-window-p): Minor code adjustments.
1424 In doc-strings state whether the argument window has to denote a
85c2386b 1425 live, valid or any window.
52162052 1426
1c308380
PS
14272012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1428
1429 * progmodes/subword.el (subword-forward-function)
1430 (subword-backward-function, subword-forward-regexp)
1431 (subword-backward-regexp): New variables.
1432 (subword-forward, subword-forward-internal, subword-backward-internal):
1433 Use new variables, eg so that different "word" definitions
1434 can be easily used. (Bug#11411)
1435
94c9ece1
SM
14362012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1439 for composite selectors.
1440 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1441 operation just because we can't find a previous revision.
1442
f2045622
CY
14432012-08-15 Chong Yidong <cyd@gnu.org>
1444
1445 * frame.el (set-frame-font): Accept font objects.
1446
582db660
SM
14472012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1450
2f29c200
WJ
14512012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1452
456e62c2
WJ
1453 * man.el (Man-overstrike-face, Man-underline-face)
1454 (Man-reverse-face): Remove variables.
1455 (Man-overstrike, Man-underline, Man-reverse): New faces.
1456 (Man-fontify-manpage): Use them instead of the variables.
1457 (Man-cleanup-manpage): Comment change.
1458 (Man-ansi-color-map): New variable.
1459 (Man-fontify-manpage): Use it.
1460 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1461
2f29c200
WJ
1462 Implement ANSI SGR parameters 22-27 (bug#12146).
1463 * ansi-color.el (ansi-colors): Doc fix.
1464 (ansi-color-context, ansi-color-context-region): Doc fix.
1465 (ansi-color--find-face): New function.
1466 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1467 Rename the local variable `face' to `codes' since it is now a list of
1468 ansi codes. Doc fix.
1469 (ansi-color-get-face): Remove.
1470 (ansi-color-parse-sequence): New function, derived from
1471 ansi-color-get-face.
1472 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1473 codes 22-27.
1474
b4f5e9df
SM
14752012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * subr.el (read-passwd): Allow use from a minibuffer.
1478
ba025fbd
EZ
14792012-08-14 Eli Zaretskii <eliz@gnu.org>
1480
1481 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1482 inside comments and strings as identifiers.
1483
1484 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1485 expression to evaluate. This allows to evaluate expressions with
1486 embedded whitespace.
1487 (gud-tooltip-tips): Add a blank before the newline in the
1488 message-box text, for the benefit of message-box emulation on
1489 MS-Windows.
1490
1491 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1492 messages from GDB, pop them up in a tooltip to give feedback to
1493 user.
b4f5e9df
SM
1494 (gdb-tooltip-print-1): Quote the expression to evaluate.
1495 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1496 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1497 if the TTY name is nil or empty (which happens when communicating
1498 with the inferior via pipes, e.g. on MS-Windows).
1499 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1500 don't send that to the GUD buffer.
1501
c548f821
GM
15022012-08-14 Glenn Morris <rgm@gnu.org>
1503
1504 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1505 Optimize away setq-default with no args, as for setq. (Bug#12195)
1506
55802e4a
CY
15072012-08-14 Chong Yidong <cyd@gnu.org>
1508
4abcdac8
CY
1509 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1510
55802e4a
CY
1511 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1512 (Bug#12085).
1513
3c3cda1a
GM
15142012-08-14 Glenn Morris <rgm@gnu.org>
1515
1516 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1517
e1873bd0
MA
15182012-08-14 Michael Albinus <michael.albinus@gmx.de>
1519
1520 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1521 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1522 Use cached shell name.
1523
925411b4
FEG
15242012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1525
1526 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1527 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1528
e636fafe
DG
15292012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1530
1531 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1532 (ruby-percent-literal-beg-re): New constant.
1533 (ruby-syntax-general-delimiters-goto-beg): Rename to
1534 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1535 (ruby-syntax-propertize-general-delimiters): Rename to
1536 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1537 popular term. Adjust comments everywhere.
1538 (ruby-syntax-propertize-percent-literal): Only propertize when not
1539 inside a simple string or comment. When the literal is unclosed,
1540 leave the text after it unpropertized.
f063063a
DG
1541 (ruby-syntax-methods-before-regexp): New constant.
1542 (ruby-syntax-propertize-function): Use it to recognize regexps.
1543 Don't look at the text after regexp, just use the whitelist.
e636fafe 1544
e5b19827
AS
15452012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1546
1547 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1548 non-nil always load the compiled file if it exists. (Bug#12197)
1549
a9f6f311
CY
15502012-08-14 Chong Yidong <cyd@gnu.org>
1551
1552 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1553 (hi-lock-set-pattern): When deciding whether to use font lock or
1554 overlays, look at font-lock-mode instead of font-lock-fontified
1555 (Bug#12168).
1556 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1557 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1558
7d806b1e
DU
15592012-08-14 Daiki Ueno <ueno@unixuser.org>
1560
1561 * subr.el (internal--after-with-selected-window): Fix typo
1562 (Bug#12193).
1563
5beed586
FEG
15642012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1565
1566 Use `completion-table-dynamic' for completion functions.
1567 * progmodes/python.el
1568 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1569 (python-shell-completion--get-completions):
1570 Remove functions.
5beed586
FEG
1571 (python-shell-completion-complete-at-point): New function.
1572 (python-completion-complete-at-point): Use it.
1573
92cb3b04
J
15742012-08-13 Jambunathan K <kjambunathan@gmail.com>
1575
1576 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1577 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1578
89660017
SM
15792012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1580
3c98c962
SM
1581 * subr.el (function-get): Refine `autoload' arg so it can also
1582 autoload functions for gv.el (bug#12191).
1583 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1584 autoloads macros.
1585
aa7c6dbe
SM
1586 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1587 Prefer pcase-let over destructuring-bind.
1588 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1589 Also, remove whitespace as we go, rather than after accumulating the
1590 various places.
1591
89660017
SM
1592 * subr.el (internal--before-with-selected-window)
1593 (internal--after-with-selected-window): Fix typo seleted->selected.
1594 (with-selected-window): Adjust callers.
1595 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1596
31cd32c9
BG
15972012-08-13 Bastien Guerry <bzg@gnu.org>
1598
0fcd3d9f 1599 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1600 enhancement. (Bug#12172)
1601
1b15d8ad
AS
16022012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1603
31e54db0
AS
1604 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1605 type 1-6.
1606 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1607 extended headers.
1608
1b15d8ad
AS
1609 * files.el (hack-local-variables-filter): Remove useless eval.
1610
35cb9c06
MR
16112012-08-13 Martin Rudalics <rudalics@gmx.at>
1612
1613 * subr.el (with-selected-window): Fix last change.
1614
1439443b
SM
16152012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * subr.el (internal--before-with-seleted-window)
1618 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1619 (with-selected-window): Use them, to replace dependency on
1620 tty-top-frame.
1439443b 1621
0d9e2599
NN
16222012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1623
1624 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1625 binding for `newline'.
1626 (ruby-move-to-block): When moving backward, stop at block opening,
1627 not indentation.
1628 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1629 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1630 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1631 `ruby-toggle-block'.
1632
ba10c48c
SM
16332012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * ibuffer.el (ibuffer-do-toggle-read-only):
1636 * dired.el (dired-toggle-read-only):
1637 * buff-menu.el (Buffer-menu-toggle-read-only):
1638 * bindings.el (mode-line-toggle-read-only):
1639 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1640
9229c658
AS
16412012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1642
1643 * descr-text.el (describe-char): Put the overlays over the
1644 "displayed as" character.
1645
0fd09128
JB
16462012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1647
1648 * calc/calc-units.el (math-default-units-table): Give an
1649 initial value.
1650 (math-put-default-units): Add options to put composite units and
1651 unit systems in the default units table.
1652 (calc-convert-units): Send composite units to
1653 `math-put-default-units' when appropriate.
1654
9ff9402d 16552012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1656
fbb5e336
GM
1657 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1658
7aacaf15
GM
1659 * tutorial.el (help-with-tutorial):
1660 * emacs-lisp/copyright.el (copyright-update-directory):
1661 * emacs-lisp/autoload.el (autoload-find-generated-file)
1662 (autoload-find-file): Disable local eval: (for insurance).
1663
f40b9f10
GM
1664 * files.el (hack-local-variables-filter): If an eval: form is not
1665 known to be safe, and enable-local-variables is :safe, then ignore
1666 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1667 This is CVE-2012-3479.
f40b9f10 1668
daa9f1a6
SM
16692012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1672 (rx-form): Simplify.
1673
9cd80478
DG
16742012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1675
0d9e2599
NN
1676 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1677 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1678 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1679 (ruby-syntax-propertize-function): Adjust for changes in
1680 `ruby-syntax-propertize-heredoc'.
1681
16822012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1683
9cd80478
DG
1684 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1685 binding (use `M-;' instead).
9cd80478 1686 (ruby-singleton-class-p): New function.
0d9e2599 1687 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1688
d301b413
SM
16892012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1692
1530c98e
CY
16932012-08-10 Chong Yidong <cyd@gnu.org>
1694
1695 * progmodes/python.el (python-shell-get-process-name): Don't mess
1696 with same-window-buffer-names.
1697
1698 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1699 (eshell-remove-from-window-buffer-names): Make obsolete.
1700 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1701 (eshell): Just use pop-to-buffer-same-window instead.
1702
e1293765
CY
17032012-08-10 Chong Yidong <cyd@gnu.org>
1704
1705 * bindings.el: Bind M-= back to count-words-region.
1706
1707 * simple.el (count-words-region): Accept a prefix arg for acting
1708 on the entire buffer.
1709 (count-words--buffer-message): New helper function.
1710
e1894109
SM
17112012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1714 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1715 (event-start, event-end): Use posn-at-point to return a more
1716 informative posn.
1717 (posnp): New function.
1718 * mouse.el (popup-menu-normalize-position): Use it.
1719
c69f56a2
MY
17202012-08-10 Masatake YAMATO <yamato@redhat.com>
1721
1722 * mouse.el (popup-menu-normalize-position): New function.
1723 (popup-menu): Use `popup-menu-normalize-position' to normalize
1724 the form for POSITION argument.
1725
1726 * term/x-win.el (x-menu-bar-open):
1727 Use the value returend from (posn-at-point) as position
1728 passed to `popup-menu'.
1729
31673780
JB
17302012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1731
1732 * calc/calccomp.el (math-compose-expr): Add extra argument
1733 indicating that parentheses should be put around products in
1734 denominators. Give multiplication precedence over division during
1735 composition.
1736
dab7711b
CY
17372012-08-09 Chong Yidong <cyd@gnu.org>
1738
dee4ef93
CY
1739 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1740 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1741 (Man-untabify-command, manual-program): Convert to defcustom
1742 (Bug#10429).
1743
73e2bbc5
CY
1744 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1745
3e861c8a
CY
1746 * descr-text.el (describe-char): Don't insert extra newlines
1747 (Bug#10127).
1748
a9f5a649
CY
1749 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1750 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1751
dab7711b
CY
1752 * align.el (align-region): Delete temporary markers (Bug#10047).
1753 Plus some code cleanups.
1754
e0cc4efa
FEG
17552012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1756
1757 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1758 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1759 (python-shell-internal-last-output): Use make-local-variable
1760 instead of make-variable-buffer-local.
1761
489af14f
FEG
17622012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1763
1764 * progmodes/python.el: Enhancements to forward-sexp.
1765 (python-nav-forward-sexp): Rename from
1766 python-nav-forward-sexp-function.
c69f56a2
MY
1767 (python-nav--forward-sexp, python-nav--backward-sexp):
1768 New functions.
489af14f 1769
0fc50303
JB
17702012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1771
1772 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1773 modes and simplification modes.
1774
5d65606a
SM
17752012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * delsel.el (delete-selection-pre-hook): Don't propagate the
1778 file-supersession signals (bug#12161).
1779
4250fdf5
SM
17802012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1781
1782 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1783 (cl-map-extents): Add compatibility aliases (bug#12135).
1784
d9f9b465
MA
17852012-08-08 Michael Albinus <michael.albinus@gmx.de>
1786
1787 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1788 tests by `ignore-error'.
1789 (tramp-find-shell): Open also a new shell, when cache is already
1790 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1791
ce0fcefa
JL
17922012-08-08 Juri Linkov <juri@jurta.org>
1793
1794 * bookmark.el: Add `defaults' property to the bookmark record.
1795 (bookmark-current-buffer): Doc fix.
1796 (bookmark-make-record): Add `defaults' property with default values
1797 to the bookmark record.
1798 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1799 with `bookmark-insert-current-bookmark'.
1800 (bookmark-set): Get `defaults' property from the bookmark record
1801 and use it in `read-from-minibuffer'.
1802 (bookmark-insert-current-bookmark): Remove function.
1803
1804 * info.el (Info-bookmark-make-record): Add `defaults' property
1805 with values of canonical Info node name, the current Info file
1806 name and the current Info node name. (Bug#12107)
1807
53fa8652
JL
18082012-08-08 Juri Linkov <juri@jurta.org>
1809
1810 * files.el (basic-save-buffer): Use `buffer-name' as the default
1811 of `read-file-name' when buffer is not visiting a file (bug#12128).
1812
242c0a95
JL
18132012-08-08 Juri Linkov <juri@jurta.org>
1814
1815 * info.el (Info-isearch-search): Doc fix.
1816 (Info-search): Change search-failed message from "initial node" to
1817 "end of node" (bug#12078).
1818 (Info-isearch-search): Change `isearch-string-state' to
1819 `isearch--state-string'.
1820
32ac3a6b
GM
18212012-08-08 Glenn Morris <rgm@gnu.org>
1822
1823 * language/persian.el: Remove file.
f8c1afd5 1824 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1825 * loadup.el: Remove language/persian.
1826
2c2d9c9c
OF
18272012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1828
1829 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1830
2d79ec42
FEG
18312012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1832
1833 * progmodes/python.el Fixed defsubst warning.
1834 (python-syntax-context) Rename from python-info-ppss-context.
1835 (python-syntax-context-type): Rename from
1836 python-info-ppss-context-type.
1837 (python-syntax-comment-or-string-p): Rename from
1838 python-info-ppss-comment-or-string-p.
1839
2bd255dd
JB
18402012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1841
1842 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1843
c395097f
AS
18442012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1845
6125983e
AS
1846 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1847 a defcustom that is quoted with backquote.
1848
4250fdf5
SM
1849 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1850 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1851 (math-do-arg-check, math-define-function-body): Use backquote forms.
1852 * calc/calc-ext.el (math-defcache): Likewise.
1853 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1854 * allout.el (allout-new-exposure): Likewise.
1855 * calc/calcalg2.el (math-tracing-integral): Likewise.
1856 * info.el (Info-last-menu-item): Likewise.
1857 * emulation/vip.el (vip-loop): Likewise.
1858 * textmodes/artist.el (artist-funcall): Likewise.
1859 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1860 Construct menu-item directly.
1861
4250fdf5
SM
1862 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1863 Don't declare.
c395097f 1864
5fb50dd3
CY
18652012-08-07 Chong Yidong <cyd@gnu.org>
1866
1867 * simple.el (deactivate-mark): Preserve text properties when
1868 saving the primary selection (Bug#8384).
1869
54eea618
KR
18702012-08-07 Kevin Ryde <user42@zip.com.au>
1871
1872 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1873 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1874 and continue processing (Bug#12110).
1875
638eaeb9
SM
18762012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1879 syntax-propertize-function (bug#10095).
1880
ea376861
SM
18812012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1882
f91b35be
SM
1883 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1884 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1885 describe-function-1.
1886 (describe-function-1): Use them. Move compiler macro after sig.
1887 (help-fns--compiler-macro): Use function-get. Assume we're already in
1888 standard-output. Adjust layout to new call order.
1889
ea376861
SM
1890 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1891 re-binding a symbol that has a symbol-macro (bug#12119).
1892
d5be7bd0
MB
18932012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1894
1895 * language/persian.el: New file. (Bug#11812)
1896 * loadup.el: Add language/persian.el.
1897
90749b53
CY
18982012-08-06 Chong Yidong <cyd@gnu.org>
1899
1900 * window.el (window--maybe-raise-frame): New function.
1901 (window--display-buffer): Split off from here.
1902 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1903 (display-buffer-pop-up-window, display-buffer-use-some-window):
1904 Obey an inhibit-switch-frame action alist entry.
1905 (display-buffer): Update doc.
1906
1907 * replace.el (occur-after-change-function): Avoid losing focus by
1908 using the inhibit-switch-frame display parameter (Bug#12139).
1909
ba7b0154
FEG
19102012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1911
1912 Make internal shell process buffer names start with space.
1913 * progmodes/python.el (python-shell-make-comint): Add optional
1914 argument INTERNAL.
1915 (run-python-internal): Use it.
1916 (python-shell-internal-get-or-create-process): Check for new
1917 internal buffer names.
1918
5eaeacb5
GM
19192012-08-06 Glenn Morris <rgm@gnu.org>
1920
e296d94b 1921 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1922 Do less getting and setting of environment variables.
1923
b7ccbdc2
CY
19242012-08-05 Chong Yidong <cyd@gnu.org>
1925
777fe95e
CY
1926 * proced.el (proced): Add substitution string to docstring to
1927 trigger autoloading of the proced library on C-h f (Bug#1768).
1928
4250fdf5
SM
1929 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1930 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1931
1932 * imenu.el (imenu-generic-expression): Move documentation here
1933 from imenu--generic-function.
1934 (imenu--generic-function): Refer to imenu-generic-expression.
1935
9e3b7800 19362012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
1937
1938 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1939 indentation declaration.
1940 (viper-loop): Add indentation declaration (Bug#7025).
1941
e5d9c0d1
CY
19422012-08-05 Chong Yidong <cyd@gnu.org>
1943
f0422feb
CY
1944 * help-fns.el (describe-variable): Add hyperlink for
1945 directory-local variables files. Improve buffer-local and
1946 permanent-local reporting; suggested by MON KEY (Bug#6644).
1947
1948 * help-mode.el (help-dir-local-var-def): New button type.
1949
e5d9c0d1
CY
1950 * files.el (kill-buffer-hook): Provide a defvar.
1951
a4f2deaa
GM
19522012-08-05 Glenn Morris <rgm@gnu.org>
1953
1954 * eshell/esh-ext.el (eshell/addpath):
1955 Also update eshell-path-env. (Bug#12013)
1956
a9dd5754
CY
19572012-08-05 Chong Yidong <cyd@gnu.org>
1958
a4f2deaa 1959 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1960
d014c740
CY
1961 * fringe.el (fringe-styles): Add docstring.
1962 (fringe--check-mode): New function.
1963 (set-fringe-mode, set-fringe-style): Use it.
1964 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1965
a9dd5754
CY
1966 * files.el (set-auto-mode): Fix invalid setq call.
1967
7c2dc8bd
SM
19682012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * isearch.el: Misc simplification; use defstruct.
1971 (isearch-mode-map): Dense maps now work like sparse ones.
1972 (isearch--state): New defstruct.
1973 (isearch-string-state, isearch-message-state, isearch-point-state)
1974 (isearch-success-state, isearch-forward-state)
1975 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1976 (isearch-wrapped-state, isearch-barrier-state)
1977 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1978 replaced by defstruct's accessors.
1979 (isearch--set-state): Rename from isearch-top-state and change
1980 calling convention.
1981 (isearch-push-state): Use new isearch--get-state.
1982 (isearch-toggle-word): Disable regexp when enabling word.
1983 (isearch-message-prefix): Remove unused arg _c-q-hack.
1984 (isearch-message-suffix): Remove unused arg _ellipsis.
1985
7fcc0070
AS
19862012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1987
1988 * simple.el (list-processes--refresh): For a server use :host or
1989 :local as the address.
97ad0769 1990 (list-processes): Doc fix.
7fcc0070 1991
a11035b8 19922012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
1993
1994 * lisp/mpc.el: Support password in host argument.
1995 (mpc--proc-connect): Parse and use new password element.
1996 Set mpc-proc variable instead of returning process.
1997 (mpc-proc): Adjust accordingly.
1998
6dad7178
EZ
19992012-08-03 Eli Zaretskii <eliz@gnu.org>
2000
18949c2f
EZ
2001 * whitespace.el (whitespace-display-mappings): Use Unicode
2002 codepoints, instead of emacs-mule codepoints. See
2003 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2004 for the details.
2005
6dad7178
EZ
2006 * files.el (file-truename): Don't skip symlink-chasing part on
2007 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2008 Windows into the loop that recursively chases symlinks.
2009 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2010 MS-DOS.
2011
385b0198
CY
20122012-08-03 Chong Yidong <cyd@gnu.org>
2013
6200f3c4
CY
2014 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2015
385b0198
CY
2016 * sort.el (sort-regexp-fields): Doc fix.
2017
b9e74744
TH
20182012-08-03 Tassilo Horn <tsdh@gnu.org>
2019
2020 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2021 labels regex position point at the expected place.
2022
41013cb4
MK
20232012-08-03 MON KEY <monkey@sandpframing.com>
2024
2025 * net/imap.el (imap-interactive-login, imap-authenticate)
2026 (imap-mailbox-lsub, imap-mailbox-list)
2027 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2028 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2029 (imap-parse-response): Doc fix.
2030
0ffee616
JT
20312012-08-03 João Távora <joaotavora@gmail.com>
2032
2033 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2034 if sexp scanning does not move point (Bug#5734).
2035
cfcc9cc8
TH
20362012-08-02 Tassilo Horn <tsdh@gnu.org>
2037
2038 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2039 Add listings, minted, and ctable packages.
2040 (reftex-label-alist-builtin): Move listings, minted, and ctable
2041 entries before LaTeX.
a01bbb84 2042 (reftex-label-alist): Docfix.
cfcc9cc8 2043
66ec2442
BG
20442012-08-02 Bastien Guerry <bzg@gnu.org>
2045
2046 * replace.el (occur): Fix docstring (bug#12122).
2047
837b365b
GM
20482012-08-02 Glenn Morris <rgm@gnu.org>
2049
2050 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2051
e098de97
PE
20522012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2053
2054 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2055 * international/mule-cmds.el: Create
2056 inactivate-current-input-method-function as an obsolete alias for
2057 deactivate-current-input-method-function. See Katsumi Yamaoka in
2058 <http://bugs.gnu.org/10150#46>.
2059
a0f95636
JB
20602012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2061
2062 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2063 of nested `if's.
2064
0d26d7c4
GM
20652012-08-01 Glenn Morris <rgm@gnu.org>
2066
2067 * progmodes/autoconf.el (autoconf-definition-regexp):
2068 Add AH_TEMPLATE, adjust submatch numbering.
2069 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2070 (autoconf-current-defun-function): Update for above change.
2071 (autoconf-current-defun-function): First skip to end of current word.
2072
b686ba06
RS
20732012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2074
2075 * calendar/cal-html.el (cal-html-insert-agenda-days):
2076 Fix typo. (Bug#12018)
2077
0d49da68
FEG
20782012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2079
2080 Shell processes: enhancements to startup and CEDET compatibility.
2081 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2082 (python-shell-make-comint): accept-process-output at startup.
2083 (run-python-internal): Set inferior-python-mode-hook to nil.
2084 (python-shell-internal-get-or-create-process): call sit-for.
2085 (python-preoutput-result): Add obsolete alias.
2086 (python-shell-internal-send-string): Use it.
2087 (python-shell-send-setup-code): Remove call to
2088 accept-process-output.
2089
f1a71c6e
AS
20902012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2091
2092 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2093 (Bug#12108)
2094
d2605269
JB
20952012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2096
2097 * calc-mode.el (calc-basic-simplification-mode): Rename from
2098 `calc-limited-simplification-mode'.
2099 (calc-alg-simplification-mode): New function.
fc0c31f8 2100 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2101
d2605269
JB
2102 * calc.el (calc-set-mode-line): Adjust mode line display for
2103 basic simplification mode.
2104
2105 * calc-help.el (calc-m-prefix-help): Update help message.
2106
2107 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2108 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2109
a3827a43
BG
21102012-07-31 Bastien Guerry <bzg@gnu.org>
2111
2112 * man.el (man): Fix comment. (bug#12101)
2113
502e3f89
MR
21142012-07-31 Martin Rudalics <rudalics@gmx.at>
2115
2116 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2117 Don't return a non-nil value when no suitable buffer was found.
2118
d7714961
FEG
21192012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2120
2121 * progmodes/python.el (run-python-internal): Disable font lock for
2122 internal shells.
2123
1f45e27e
SM
21242012-07-30 Stefan Merten <smerten@oekonux.de>
2125
2126 * rst.el: Silence `checkdoc-ispell'.
2127 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2128 (rst-official-version, rst-official-cvs-rev)
2129 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2130 (rst-mode-map): New key binding.
2131
0aee6912
PE
21322012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2133
2134 Update .PHONY listings in makefiles.
2135 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2136 autoloads, update-subdirs, updates, bzr-update, update-authors,
2137 compile-onefile, compile-calc, backup-compiled-files,
2138 compile-after-backup, compile-one-process, mh-autoloads,
2139 bootstrap-clean, distclean, maintainer-clean.
2140
9052f9f0
JB
21412012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2142
1823ac5a
JB
2143 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2144 (calc-set-mode-line): Don't display "AlgSimp ".
2145
2146 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2147 (calc-lim-simplify-mode): New function.
2148 (calc-set-simplify-mode): Default to 'alg.
2149 (calc-default-simplify-mode): Make algebraic simplifications
2150 the default.
2151
2152 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2153 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2154
8d7c7eed 2155 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2156 indicate new simplification modes.
2157
1823ac5a
JB
2158 * calc/README: Mention new default simplification mode.
2159
9052f9f0
JB
2160 * calc/calc.el (math-normalize-error): New variable.
2161 (math-normalize): Set `math-normalize-error' to t
2162 when there's an error.
2163
2164 * calc/calc-alg.el (math-simplify): Don't simplify when
2165 `math-normalize' returns an error.
2166
20ba0cb4
EZ
21672012-07-29 Eli Zaretskii <eliz@gnu.org>
2168
2169 * international/mule-cmds.el (set-locale-environment): Revert last
2170 change, since display-graphic-p returns nil when this function is
2171 called during startup. Instead...
2172
2173 * term/w32console.el (terminal-init-w32console): ...setup the
2174 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2175
a5dcc929
JL
21762012-07-29 Juri Linkov <juri@jurta.org>
2177
2178 * simple.el (goto-line): Don't display default line number in the
2179 prompt because it should be displayed by `read-number' (bug#9952).
2180 Add the current line number to the defaults of `goto-line' to
2181 allow its easier modification by users with `M-n' (bug#9201).
2182
2183 * subr.el (read-number): Support multiple default values like in
2184 other minibuffer reading functions. Replace `read' with
2185 `string-to-number' for consistency with `number-to-string'.
2186
72b255c7
PE
21872012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2188
2189 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2190 * emulation/viper-init.el (viper-deactivate-input-method-action):
2191 Rename from viper-inactivate-input-method-action.
2192 (viper-deactivate-input-method):
2193 Rename from viper-inactivate-input-method.
2194 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2195 * international/mule-cmds.el (deactivate-input-method):
2196 Rename from inactivate-input-method.
2197 Also run input-method-deactivate-hook.
2198 (deactivate-current-input-method-function):
2199 Rename from inactivate-current-input-method-function.
2200 (input-method-deactivate-hook): New hook.
2201 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2202 (inactivate-input-method): Mark obsolete.
2203
72b255c7
PE
2204 * international/quail.el (quail-activate):
2205 Also run quail-deactivate-hook.
2206 (quail-deactivate): Rename from quail-inactivate.
2207 * international/robin.el (robin-activate):
2208 Also run robin-deactivate-hook.
2209 (robin-deactivate): Rename from robin-inactivate.
2210
2549c068
CY
22112012-07-29 Chong Yidong <cyd@gnu.org>
2212
2213 * simple.el (indicate-copied-region): New function.
2214 (kill-ring-save): Split off from here.
2215
2216 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2217 (kill-rectangle): Set deactivate-mark to t on read-only error.
2218
2219 * register.el (copy-to-register, copy-rectangle-to-register):
2220 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2221 (append-to-register, prepend-to-register):
2222 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2223
2224 * simple.el (async-shell-command-buffer): New defcustom.
2225 (shell-command): Use it. (Bug#4719)
2226
01bd1b0d
EZ
22272012-07-28 Eli Zaretskii <eliz@gnu.org>
2228
2229 * international/mule-cmds.el (set-locale-environment): In a
2230 console session on MS-Windows, set up keyboard and terminal
2231 encoding from the OEM codepage, not the ANSI codepage.
2232 (Bug#12055)
2233
a55739d3
CY
22342012-07-28 Chong Yidong <cyd@gnu.org>
2235
2236 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2237 gdb-get-location.
2238
0e1a094f 22392012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2240
2241 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2242 the alist (bug#12029).
2243
20329d73
EZ
22442012-07-28 Eli Zaretskii <eliz@gnu.org>
2245
2246 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2247 (compile-always, compile-first)
2248 ($(lisp)/calendar/cal-loaddefs.el)
2249 ($(lisp)/calendar/diary-loaddefs.el)
2250 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2251 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2252 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2253 instead of on update-subdirs.
2254 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2255
345a2258
CY
22562012-07-28 Chong Yidong <cyd@gnu.org>
2257
1eee6341
CY
2258 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2259 directory if vc-deduce-backend returns nil (Bug#7350).
2260
345a2258
CY
2261 * simple.el (delete-trailing-lines): New option.
2262 (delete-trailing-whitespace): Obey it (Bug#11879).
2263
049a0936
DE
22642012-07-28 David Engster <deng@randomsample.de>
2265
2266 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2267 Explanation of new 'symbol-qnames feature in doc-strings.
2268 (xml-maybe-do-ns): Return expanded names as plain symbols if
2269 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2270 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2271
aa81af71
FEG
22722012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2273
2274 Consistent completion in inferior python with emacs -nw.
2275 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2276 binding in inferior-python-mode-map with "\t".
2277 (python-shell-completion-complete-at-point)
2278 (python-completion-complete-at-point): Remove interactive spec.
2279
e827b1eb
JB
22802012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2281
2282 * calc/calccomp.el (math-compose-expr): Undo previous change.
2283
a90dfb95
FEG
22842012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2285
4250fdf5 2286 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2287 run-python.
2288 (python-shell-make-comint): Fix pop-to-buffer call.
2289 (run-python): Autoload. New arg SHOW.
2290 (python-shell-get-or-create-process): Do not pop python process
2291 buffer.
2292
32770973 22932012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2294
2295 * notifications.el (notifications-on-action-signal)
2296 (notifications-on-closed-signal): Use also the bus address for the map.
2297 (notifications-notify, notifications-close-notification)
fc0c31f8 2298 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2299
86332df2
TH
23002012-07-27 Tassilo Horn <tsdh@gnu.org>
2301
4250fdf5
SM
2302 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2303 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2304 ctable macro.
2305 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2306 labels written in keyvals syntax.
2307
ca1302a4
JB
23082012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2309
2310 * calc/calccomp.el (math-compose-expr): Use parentheses when
2311 there is a product in the denominator of a fraction.
2312
f8b91036
EZ
23132012-07-26 Eli Zaretskii <eliz@gnu.org>
2314
2315 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2316 ($(lisp)/calendar/diary-loaddefs.el)
2317 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2318 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2319 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2320 rewritten while the autoload files are built at the same time,
2321 which needs to load subdirs.el.
2322
c8e5a42c
MR
23232012-07-26 Martin Rudalics <rudalics@gmx.at>
2324
2325 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2326 (mouse-drag-line): Don't exit tracking when a switch-frame or
2327 switch-window event occurs (Bug#12006).
2328
670d85ea
SM
23292012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * mouse.el (popup-menu): Fix last change.
2332
7abaf5cc
SM
23332012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 Autoload from Lisp with more care. Follow aliases when looking for
2336 function properties.
2337 * subr.el (autoloadp): New function.
2338 (symbol-file): Use it.
2339 (function-get): New function.
2340 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2341 autoload-do-load.
2342 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2343 (lisp-indent-function):
2344 * emacs-lisp/gv.el (gv-get):
2345 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2346 * emacs-lisp/byte-opt.el (byte-optimize-form):
2347 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2348 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2349 Use function-get.
2350 * emacs-lisp/cl.el: Don't propagate function properties any more.
2351
2352 * speedbar.el (speedbar-add-localized-speedbar-support):
2353 * emacs-lisp/disass.el (disassemble-internal):
2354 * desktop.el (desktop-load-file):
2355 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2356 (describe-function-1):
2357 * emacs-lisp/find-func.el (find-function-noselect):
2358 * emacs-lisp/elp.el (elp-instrument-function):
2359 * emacs-lisp/advice.el (ad-has-proper-definition):
2360 * apropos.el (apropos-safe-documentation, apropos-macrop):
2361 * emacs-lisp/debug.el (debug-on-entry):
2362 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2363 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2364 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2365
b1364986
AA
23662012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2367
2368 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2369 function, not an obsolete variable (Bug#12046).
2370
67ada220
AS
23712012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2372
2373 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2374
f08088e3
CS
23752012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2376
2377 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2378 window only if it is still live (Bug#12034).
2379
8137e7b3
MR
23802012-07-25 Martin Rudalics <rudalics@gmx.at>
2381
2382 * subr.el (redirect-frame-focus): Add advertised calling
2383 convention (Bug#12030).
2384
09ae5da1
PE
23852012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2386
2387 Prefer typical American spelling for "acknowledgment".
2388 * vc/add-log.el (change-log-acknowledgment): Rename from
2389 change-log-acknowledgement, with an alias for the old name.
2390
3cc5a3a8
JB
23912012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2392
2393 * calc-alg.el (math-simplify-divide): Don't cross multiply
2394 in an equation when the lhs is a variable.
2395
b7af7f62
JD
23962012-07-24 Julien Danjou <julien@danjou.info>
2397
2398 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2399 Remove, unused.
2400
ec1b09b1
EZ
24012012-07-23 Eli Zaretskii <eliz@gnu.org>
2402
2403 * startup.el (command-line): Don't display an empty user name in
2404 the error message about non-existent home directory, when
2405 init-file-user was set to an empty string. See
2406 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2407 for the details and context.
2408
b525fd8a
VB
24092012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2410
2411 * ses.el (ses-cell-formula-aset): New macro.
2412 (ses-cell-references-aset): New macro.
2413 (ses-cell-p): New function.
2414 (ses-rename-cell): Do no longer rely on complex operations like
2415 ses-cell-set-formula or ses-set-cell to change the cell and handle
2416 the undo at the same time, but rather use lower level new macros
2417 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2418 the undo directly. Refresh the mode line.
b525fd8a 2419
2c73e345
LL
24202012-07-21 Leo Liu <sdl.web@gmail.com>
2421
670d85ea
SM
2422 * progmodes/cc-cmds.el (c-defun-name):
2423 Use match-string-no-properties instead for consistency.
2c73e345 2424
542dfbde
LL
24252012-07-20 Leo Liu <sdl.web@gmail.com>
2426
3646bcd6
LL
2427 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2428 (Bug#7879)
2429
542dfbde
LL
2430 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2431
25721031
CY
24322012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2435 * progmodes/bug-reference.el, misearch.el: Provide themselves
2436 (bug#11915).
2437
2438 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2439 of narrowed buffer (bug#11966).
2440
316e68a7
VB
24412012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2442
2443 * ses.el (ses-rename-cell): Set new name also in reference list of
2444 cells of which the renamed cell depends.
2445
bbf0e7d9
MY
24462012-07-20 Masatake YAMATO <yamato@redhat.com>
2447
2448 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2449 to check whether menu-bar is shown or not. If not shown,
2450 show the menu-bar as a popup menu instead of using tmm.
2451 * mouse.el (popup-menu): Accept `point' as `position' argument.
2452
c28662a8
DG
24532012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2454
2455 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2456 up inside string symbol literal (bug#11923).
2457
87ab808f
EZ
24582012-07-20 Eli Zaretskii <eliz@gnu.org>
2459
2460 * startup.el (fancy-startup-text): Read the whole tutorial, not
2461 just its first 256 bytes. Prevents gibberish in display of the
2462 tutorial title.
2463
89dea803
DA
24642012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2465
2466 Drop idle buffer compaction due to an absence of the
2467 proved efficiency.
2468 * compact.el: Remove.
2469
8a4e6db8
SS
24702012-07-19 Sam Steingold <sds@gnu.org>
2471
2472 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2473 vc-bzr-pull & vc-bzr-merge-branch.
2474 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2475 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2476 for consistency with compilation-error-regexp-alist.
2477 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2478 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2479 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2480 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2481
5db81e33
SM
24822012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * emacs-lisp/chart.el: Use lexical-binding.
2485 (chart-emacs-storage): Don't hardcode the list of entries.
2486
5b835e1d
DA
24872012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2488
2489 Next round of tweaks caused by Fgarbage_collect changes.
2490 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2491
9cd47b72
DA
24922012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2493
2494 Compact buffers when idle.
2495 * compact.el: New file.
2496
1d6fc0df
SM
24972012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2498
2499 * subr.el (eventp): Presume that if it looks vaguely like an event,
2500 it's an event (bug#10190).
2501
1d29cc7d
FEG
25022012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2503
2504 Enhancements to ppss related code (thanks Stefan).
2505 * progmodes/python.el (python-indent-context)
2506 (python-indent-calculate-indentation, python-indent-dedent-line)
2507 (python-indent-electric-colon, python-nav-forward-block)
2508 (python-mode-abbrev-table)
1d6fc0df 2509 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2510 for ppss context.
2511 (python-info-continuation-line-p): Cleanup.
2512 (python-info-ppss-context): Do not catch 'quote.
2513 (python-info-ppss-context-type)
2514 (python-info-ppss-comment-or-string-p): Simplify.
2515
d583cbe6
FEG
25162012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2517
2518 * progmodes/python.el: Enhancements to eldoc support.
2519 (python-info-current-symbol): New function.
2520 (python-eldoc-at-point): Use python-info-current-symbol.
2521 (python-info-current-defun): Fix cornercase on first defun scan.
2522 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2523 and signal error when no inferior python process is available.
2524
eceb6feb
DG
25252012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2526
2527 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2528 assume it's always t.
2529 (vc-git-registered): Remove caching, the function is only called
2530 once.
2531 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2532
4c8ff0fe
CY
25332012-07-18 Chong Yidong <cyd@gnu.org>
2534
19fb7186
CY
2535 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2536
9587c688
CY
2537 * simple.el (count-words): Report on narrowing (Bug#9959).
2538
0fe776a1
CY
2539 * bindings.el: Bind M-= to count-words.
2540
4c8ff0fe
CY
2541 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2542
7f5331cc
MY
25432012-07-18 Masatake YAMATO <yamato@redhat.com>
2544
2545 * progmodes/sh-script.el (sh-imenu-generic-expression):
2546 Capture a function with `function' keyword and without parentheses
2547 like "function FOO" (bug#11856).
2548
2dc2a609
TH
25492012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2550
2551 * window.el (split-window-sensibly): Make WINDOW argument
2552 optional.
2553
439f7677
CY
25542012-07-18 Chong Yidong <cyd@gnu.org>
2555
9aeb25a6
CY
2556 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2557
439f7677
CY
2558 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2559 and make C-x 8 RET exit isearch (Bug#11439).
2560
2561 * international/iso-transl.el: Move isearch-mode-map key
2562 definitions to isearch.el.
2563
12999ea8
SM
25642012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2567 (eieio-defclass): Use gv-define-setter when possible.
2568
3ab6e069
DA
25692012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2570
2571 Reflect recent changes in Fgarbage_collect.
2572 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2573 reflect new format of data returned by Fgarbage_collect.
2574
0a60bc10
FEG
25752012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2576
2577 New utility functions + python-info-ppss-context fix (Bug#11910).
2578 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2579 (python-info-ppss-comment-or-string-p): New functions.
2580 (python-info-ppss-context): Small fix for string check.
2581
6dafa0d5
JL
25822012-07-17 Juri Linkov <juri@jurta.org>
2583
2584 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2585 (dired-do-async-shell-command): Don't add `*' at the end of the
2586 command (Bug#11815).
2587 (dired-do-shell-command): Doc fix.
2588 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2589 Join the individual commands using either "&" or ";" as the
2590 separator depending on the values of these trailing characters.
2591 At the end re-add the trailing "&". (Bug#10598)
2592
2593 * simple.el (async-shell-command): Sync the interactive spec with
2594 `shell-command'. Doc fix.
2595 (shell-command): Doc fix.
2596
b19dd9d1
JL
25972012-07-17 Juri Linkov <juri@jurta.org>
2598
2599 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2600
bcdc27d7 26012012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2602
bcdc27d7 2603 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2604 * progmodes/python.el (python-nav-beginning-of-statement):
2605 Rename from python-nav-statement-start.
bcdc27d7
FEG
2606 (python-nav-end-of-statement): Rename from
2607 python-nav-statement-end.
2608 (python-nav-beginning-of-block): Rename from
2609 python-nav-block-start.
2610 (python-nav-end-of-block): Rename from python-nav-block-end.
2611
191da00e
FEG
26122012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2613
7f5331cc
MY
2614 * progmodes/python.el (python-shell-send-string-no-output):
2615 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2616 future interactions (Bug#11868).
2617
4dc7c8d5 26182012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2619
88ecaf8f
SM
2620 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2621
ef501ef0
SM
2622 * emacs-lisp/elint.el (elint-find-args-in-code):
2623 Use help-function-arglist, so as to handle lexical byte-code.
2624
aa7aaf8f
SM
2625 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2626 change (bug#11826).
2627
45fd731c
SM
26282012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2143fa32
SM
2630 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2631 Avoid spuriously marking the buffer as modified because of c-is-sws.
2632
efc26dbe
SM
2633 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2634 as not-a-comment (bug#11946).
2635
f5695c9a
SM
2636 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2637 for uninterned vars.
2638
2639 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2640 Use read-event since we don't really want to read chars but bytes.
2641
45fd731c
SM
2642 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2643 $$..$$ but also $..$ using regexps (bug#11953).
2644 Use tex-verbatim for \url and \path.
2645 (tex-font-lock-keywords): Define as defconst like the others.
2646 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2647
ddfc8813
RK
26482012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2649
2650 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2651 alias for insert-char.
2652
758e556a
FEG
26532012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2654
2655 * progmodes/python.el: Simplified imenu implementation.
2656 (python-nav-jump-to-defun): Remove command.
2657 (python-mode-map): Use `imenu' instead.
2658 (python-nav-list-defun-positions-cache)
2659 (python-imenu-include-defun-type, python-imenu-make-tree)
2660 (python-imenu-subtree-root-label, python-imenu-index-alist):
2661 Remove vars.
2662 (python-nav-list-defun-positions, python-nav-read-defun)
2663 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2664 (python-imenu-make-tree, python-imenu-create-index):
2665 Remove functions.
758e556a
FEG
2666 (python-mode): Update to interact with imenu by setting
2667 `imenu-extract-index-name-function' only.
2668
032d23ab
FEG
26692012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2670
2671 * progmodes/python.el: Enhancements to navigation commands.
2672 (python-nav-backward-sentence)
2673 (python-nav-forward-sentence): Remove.
2674 (python-nav-backward-statement, python-nav-forward-statement)
2675 (python-nav-statement-start, python-nav-statement-end)
2676 (python-nav-backward-block, python-nav-forward-block)
2677 (python-nav-block-start, python-nav-block-end)
2678 (python-nav-forward-sexp-function)
2679 (python-info-current-line-comment-p)
2680 (python-info-current-line-empty-p): New functions.
2681 (python-indent-context): Use `python-nav-statement-start'.
2682
01795a1b
MA
26832012-07-16 Michael Albinus <michael.albinus@gmx.de>
2684
9328d9aa
MA
2685 * eshell/em-ls.el (eshell/ls): Use `apply'.
2686
2687 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2688 multi-hops, instead of Tramp internals.
2689
01795a1b
MA
2690 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2691
2692 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2693 when F1 and F2 are located on different hosts.
2694
63408057
CY
26952012-07-14 Chong Yidong <cyd@gnu.org>
2696
2697 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2698 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2699 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2700 (xterm-mouse--read-event-sequence-1000)
2701 (xterm-mouse--read-event-sequence-1006): New functions. For old
2702 mouse protocol, handle M-mouse-X events correctly.
2703 (xterm-mouse-event): New arg specifying mouse protocol.
2704 (turn-on-xterm-mouse-tracking-on-terminal)
2705 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2706 sequence to toggle extended coordinates on newer XTerms.
2707 This appears to be harmless on terminals which do not support this.
63408057 2708
cd276f6e
LL
27092012-07-14 Leo Liu <sdl.web@gmail.com>
2710
28ca98ac
LL
2711 Add fringe bitmap indicators for flymake. (Bug#11253)
2712 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2713 (flymake-make-overlay): New arg BITMAP.
2714 (flymake-error-bitmap, flymake-warning-bitmap)
2715 (flymake-fringe-indicator-position): New user variables.
2716
cd276f6e
LL
2717 * fringe.el: New bitmap exclamation-mark.
2718
04408072
JD
27192012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2720
2721 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2722 also (Bug#7879).
2723
b5cf7fc4
CY
27242012-07-14 Chong Yidong <cyd@gnu.org>
2725
2726 * electric.el (electric-pair-post-self-insert-function): Fix pair
2727 insertion in empty-region case (Bug#11520).
2728
be755c79
RT
27292012-07-14 Chong Yidong <cyd@gnu.org>
2730
45fd731c
SM
2731 * bindings.el: Consolidate ctl-x-r-map bindings.
2732 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2733
2734 * rect.el, register.el: Move bindings to bindings.el.
2735
27362012-07-14 Reuben Thomas <rrt@sc3d.org>
2737
2738 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2739
7f5b3198
AS
27402012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2741
2742 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2743
97662200
JB
27442012-07-13 Juanma Barranquero <lekktu@gmail.com>
2745
80185fed
JB
2746 * bindings.el (top): Use `mapc' instead of `mapcar'.
2747
97662200
JB
2748 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2749
2bb1ae55
MA
27502012-07-13 Michael Albinus <michael.albinus@gmx.de>
2751
2752 * progmodes/sql.el (sql-comint): Suppress the check for program on
2753 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2754 (Bug#11908)
2755
dea31bd3
CY
27562012-07-13 Chong Yidong <cyd@gnu.org>
2757
2758 * bindings.el: Assign a non-nil permanent-local property to
2759 per-buffer variables which lack a default value (Bug#11930).
2760
2761 * help-fns.el (describe-variable): In the "automatically becomes
2762 local" notice, take note of permanent-local variables.
2763
b68b3337
CY
27642012-07-13 Chong Yidong <cyd@gnu.org>
2765
2766 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2767 to allow printing the message when called from Lisp.
2768
2769 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2770 Remove toggle-read-only.
2771
2772 * bs.el (bs-toggle-readonly):
45fd731c
SM
2773 * buff-menu.el (Buffer-menu-toggle-read-only):
2774 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2775
2776 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2777 Remove with-no-warnings around toggle-read-only.
2778 (ffap-read-only, ffap-read-only-other-window)
2779 (ffap-read-only-other-frame): Callers changed.
2780
2781 * help-mode.el: Don't require view package.
2782 (help-mode-finish): Set buffer-read-only instead of calling
2783 toggle-read-only.
2784
2785 * bindings.el (mode-line-toggle-read-only):
2786 * dired.el (dired-toggle-read-only):
2787 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2788 with non-nil second arg.
2789
2790 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2791 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2792 directly.
2793
56bc1586
EZ
27942012-07-12 Eli Zaretskii <eliz@gnu.org>
2795
2796 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2797 not incf.
2798
a464a6c7
SM
27992012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 More CL cleanups and reduction of use of cl.el.
2802 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2803 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2804 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2805 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2806 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2807 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2808 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2809 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2810 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2811 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2812 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2813 * eshell/em-cmpl.el, eshell/em-banner.el:
2814 * calendar/parse-time.el: Use cl-lib.
2815 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2816 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2817 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2818 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2819 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2820 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2821 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2822 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2823 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2824 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2825 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2826 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2827 `lambda' rather than with `quote'.
2828 (eshell-do-opt): Adjust accordingly.
2829 (eshell-process-option): Simplify.
2830 * eshell/esh-var.el:
2831 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2832 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2833 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2834 to `pcase--dontcare'.
2835 * emacs-lisp/cl.el (labels): Mark obsolete.
2836 (cl--letf, letf): Move to cl-lib.
2837 (cl--letf*, letf*): Remove.
2838 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2839 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2840 (cl-progv): Rewrite.
2841 (cl--letf, cl-letf): Move from cl.el.
2842 (cl-letf*): New macro.
2843 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2844
7ad4afe1
MA
28452012-07-11 Michael Albinus <michael.albinus@gmx.de>
2846
2847 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2848
9af57756
CY
28492012-07-11 Chong Yidong <cyd@gnu.org>
2850
2851 * vc/log-edit.el (log-edit-vc-backend): New variable.
2852 (log-edit): Doc fix.
2853
2854 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2855 argument of log-edit to set up all local variables.
2856 (vc-start-logentry): New optional arg specifying VC backend.
2857
2858 * vc/vc.el (vc-checkin): Use it.
2859 (vc-deduce-fileset): Handle Log Edit buffers.
2860 (vc-diff): Make first argument optional too.
2861
2862 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2863
8477cc7a
MA
28642012-07-10 Michael Albinus <michael.albinus@gmx.de>
2865
2866 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2867 command, just in case. The function is not needed anymore.
2868 (eshell-external-command): Do not call `eshell-remote-command'.
2869
19faa8e8
SM
28702012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2871
f58e0fd5
SM
2872 Reduce use of (require 'cl).
2873 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2874 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2875 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2876 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2877 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2878 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2879 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2880 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2881 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2882 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2883 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2884 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2885 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2886 (byte-compile-unfold-bcf, byte-compile-check-variable):
2887 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2888 (byte-compile-nilconstp):
2889 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2890 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2891
2519d43a
SM
2892 * emacs-lisp/gv.el (cond): Make it a valid place.
2893 (if): Simplify slightly.
2894
19faa8e8
SM
2895 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2896 (pcase--self-quoting-p): New function.
2897 (pcase--u1): Use it.
2898
c4907a5e
GM
28992012-07-10 Glenn Morris <rgm@gnu.org>
2900
2901 * emacs-lisp/authors.el (authors-fixed-entries):
2902 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2903
c4444d16
PE
29042012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2905
2906 Rename configure.in to configure.ac (Bug#11603).
2907 * emacs-lisp/authors.el (authors-canonical-file-name):
2908 * progmodes/autoconf.el (autoconf-mode):
2909 Prefer configure.ac to configure.in.
2910
d75be97d
CY
29112012-07-08 Chong Yidong <cyd@gnu.org>
2912
01ac65bd
CY
2913 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2914 Implement the mouse-1-click-follows-link handling properly.
2915
2916 * info.el (Info-link-keymap): Use follow-link mechanism for
2917 header-line links (Bug#374).
2918
d75be97d
CY
2919 * simple.el (deactivate-mark): Do not set the primary selection
2920 if another program has acquired it (Bug#11772).
2921
87a92845 29222012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2923
2924 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2925 (woman-decode-region): Replace escaped-escapes without destroying
2926 bold or underline (Bug#11552).
87a92845 2927 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2928
621b9d6c
CY
29292012-07-07 Chong Yidong <cyd@gnu.org>
2930
2931 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2932 (interprogram-cut-function, interprogram-paste-function):
2933 Mention that we typically mean the clipboard.
621b9d6c 2934
133a11fc
GM
29352012-07-06 Glenn Morris <rgm@gnu.org>
2936
0d27a45e
GM
2937 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2938
133a11fc
GM
2939 * files.el (toggle-read-only): Restrict message to interactive use.
2940
07b151f1
MA
29412012-07-06 Michael Albinus <michael.albinus@gmx.de>
2942
2943 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2944
2945 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2946
211b896b
GM
29472012-07-06 Glenn Morris <rgm@gnu.org>
2948
50394322
GM
2949 * Makefile.in (compile-one-process): Rename from "recompile".
2950
211b896b
GM
2951 * Makefile.in (bzr-update): "compile" is the same as "recompile
2952 autoloads", but parallelizable, so use that instead.
2953
4737eec9
DG
29542012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2955
2956 * window.el (quit-window): Always restore window height when
8137e7b3 2957 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2958
226c3633 29592012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2960
2961 * simple.el (kill-whole-line): Doc tweak.
2962
226c3633 29632012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2964
2965 * files.el (file-relative-name): Compare file names
2966 case-insensitively if on MS-Windows or MS-DOS, or if
2967 read-file-name-completion-ignore-case is non-nil. Don't use
2968 case-fold-search for this purpose. (Bug#11827)
2969
4dc7c8d5
SM
29702012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2971
2972 * calendar/cal-dst.el (calendar-current-time-zone):
2973 Return calendar-current-time-zone-cache if non-nil.
2974
29752012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 29762012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2977
19faa8e8
SM
2978 * calendar/cal-dst.el (calendar-current-time-zone):
2979 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2980
60198fc9
GM
29812012-07-06 Glenn Morris <rgm@gnu.org>
2982
2983 * Makefile.in (cvs-update): Remove old alias.
2984
957b3189
MA
29852012-07-05 Michael Albinus <michael.albinus@gmx.de>
2986
2987 Sync with Tramp 2.2.6-pre.
2988
2989 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2990 compatible declaration.
2991
19faa8e8
SM
2992 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2993 Protect `list-load-path-shadows' call.
957b3189
MA
2994
2995 * net/tramp-compat.el (top): Require packages, which aren't
2996 autoloaded anymore for XEmacs. Protect call of
2997 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2998 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2999 it hurts at least for SXEmacs.
3000 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3001 standard-value for `temporary-file-directory'.
3002
3003 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3004 Redirect stderr to /dev/null.
3005 (tramp-sh-handle-write-region): uid and gid can be floats.
3006 Reported by Russell Sim <russell.sim@gmail.com>.
3007 (tramp-sh-handle-vc-registered): Hide errors.
3008 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3009 and `start-file-process'.
3010 (tramp-maybe-open-connection): Check also whether `non-essential'
3011 is bound.
3012
566df3fc
CY
30132012-07-04 Chong Yidong <cyd@gnu.org>
3014
3015 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3016 (xml-parse-tag): Likewise, and avoid changing entity tables.
3017 (xml-syntax-table): Define from scratch, making sure not to give
3018 x2000 and other Unicode spaces whitespace syntax, since those are
3019 not spaces in XML.
3020 (xml-parse-fragment): Delete unused function.
3021 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3022 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3023 (xml-entity-ref, xml-pe-reference-re)
3024 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3025 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3026 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3027 (xml-entity-value-re): Use syntax references in regexps where
3028 possible; no need to define inside a let-binding.
3029 (xml-parse-dtd): Use xml-pe-reference-re.
3030 (xml-entity-or-char-ref-re): New defconst.
3031 (xml-parse-string, xml-substitute-special): Use it.
3032
30eabd7a
SM
30332012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3034
0781098a
SM
3035 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3036 (find-file--read-only): New function.
3037 (find-file-read-only, find-file-read-only-other-window)
3038 (find-file-read-only-other-frame): Use it.
3039 (insert-file-contents-literally): Don't `fset'.
3040 (get-free-disk-space): Use locate-dominating-file.
3041
b5771c0d
SM
3042 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3043 function is already compiled.
3044
30eabd7a
SM
3045 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3046
b4886f6e
MA
30472012-07-03 Michael Albinus <michael.albinus@gmx.de>
3048
3049 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3050 files on the same host.
3051
b9d82339
AS
30522012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3053
3054 * help-fns.el (describe-function-1): Only call
3055 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3056
a76e6535
CY
30572012-07-03 Chong Yidong <cyd@gnu.org>
3058
3059 * xml.el: Protect parser against XML bombs.
3060 (xml-entity-expansion-limit): New variable.
3061 (xml-parse-string, xml-substitute-special): Use it.
3062 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3063
b544fef2
GM
30642012-07-03 Glenn Morris <rgm@gnu.org>
3065
3066 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3067 Allow linking to specific messages in debbugs reports (eg 123#5).
3068
a7aef6f5
CY
30692012-07-02 Chong Yidong <cyd@gnu.org>
3070
3071 * xml.el: Fix entity and character reference expansion, allowing
3072 them to expand into markup as per XML spec.
3073 (xml-default-ns): New variable.
3074 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3075 (xml-parse-region): Make first two arguments optional.
3076 Discard text properties.
3077 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3078 All callers changed.
a7aef6f5
CY
3079 (xml-parse-tag): Call xml-parse-tag-1. For backward
3080 compatibility, this function should not modify buffer contents.
3081 (xml-parse-tag-1): Fix opening-tag regexp.
3082 (xml-parse-string): Rewrite, handling entity and character
3083 references properly.
3084 (xml--entity-replacement-text): Signal an error if a parameter
3085 entity is undefined.
3086
3df31c9f
SM
30872012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3088
2b5208f1
SM
3089 * comint.el (comint-output-filter): Filter out repeated prompts.
3090
3df31c9f
SM
3091 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3092 and file-name-absolute-p.
3093 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3094 internal calls.
3095
e3ac1281
PE
30962012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3097
3098 Spelling fixes.
3099 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3100 Rename from byte-compile--refiy-function. All uses changed.
3101
fbf2e7ad
CY
31022012-07-01 Chong Yidong <cyd@gnu.org>
3103
3104 * xml.el (xml--parse-buffer): New function. Move most of
3105 xml-parse-region here.
3106 (xml-parse-region): Copy region into a temporary buffer, since
3107 parameter entity substitution requires changing buffer contents.
3108 Use xml--parse-buffer.
3109 (xml-parse-file): Use xml--parse-buffer.
3110 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3111 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3112
9bf0aa15
GM
31132012-06-30 Glenn Morris <rgm@gnu.org>
3114
bbce2853
GM
3115 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3116
9bf0aa15
GM
3117 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3118 Remove outdated and unnecessary dbus declarations.
3119
0d23c240
EZ
31202012-06-30 Eli Zaretskii <eliz@gnu.org>
3121
3122 * emacs-lisp/timer.el (timer-until): Subtract results of
3123 float-time, instead of taking float-time of the result of
3124 time-subtract, since float-time signals an error for negative time
3125 arguments.
3126
b3218de1
CY
31272012-06-30 Chong Yidong <cyd@gnu.org>
3128
3129 * xml.el (xml-*-re): Convert defvars into defconsts, and
3130 eval-and-compile them so eval-and-compile works on derivatives.
3131 (xml--entity-replacement-text): Use eval-and-comple.
3132
a40c87a0
MA
31332012-06-30 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * vc/vc-git.el (vc-git-registered): Use cache property
3136 `git-registered'.
3137 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3138 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3139 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3140
ac87de97
DG
31412012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3142
3143 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3144 removed (likely outside Emacs). (Bug#11757)
ac87de97 3145
ac10fe06
SM
31462012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3df31c9f 3148 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3149
7f3fbd5d
CY
31502012-06-30 Chong Yidong <cyd@gnu.org>
3151
3152 * xml.el: Implement XML parameter entities.
3153 (xml-parameter-entity-alist): New variable.
3154 (xml-parse-region, xml-parse-fragment): Preserve previous values
3155 of xml-entity-alist and xml-parameter-entity-alist, so that
3156 repeated calls on different documents do not change them.
3157 (xml-parse-tag): Fix doctype regexp.
3158 (xml--entity-replacement-text): New function.
3159 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3160 properly requires url retrieval which is unimplemented.
3161 (xml-escape-string): Doc fix.
3162
3cfbebba
SM
31632012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3166
2af3565e
DA
31672012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3168
3169 * fringe.el (fringe-mode): Doc fix.
3170
929df0e7
MA
31712012-06-29 Michael Albinus <michael.albinus@gmx.de>
3172
3173 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3174 is non-nil.
3175 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3176 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3177
c8d3a25c 31782012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3179
c8d3a25c
GM
3180 * calendar/cal-dst.el (calendar-current-time-zone):
3181 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3182
c8d3a25c 31832012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3184
3185 * progmodes/which-func.el (which-func-format):
3186 Add mouse-face. (Bug#11698)
3187
c8d3a25c
GM
31882012-06-29 Leo Liu <sdl.web@gmail.com>
3189
3190 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3191
31922012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3193
3194 * minibuffer.el (minibuffer-confirm-exit-commands):
3195 Add completion-at-point (bug#11725).
3196
31972012-06-29 Glenn Morris <rgm@gnu.org>
3198
3199 * progmodes/f90.el (f90-font-lock-keywords-2):
3200 Add some preprocessor elements. (Bug#10499)
3201
32022012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3205 Use syntax-propertize (bug#11739).
3206
2badeec4
JB
32072012-06-28 Juanma Barranquero <lekktu@gmail.com>
3208
3209 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3210
ae4969c2
JD
32112012-06-28 Julien Danjou <julien@danjou.info>
3212
3213 * term.el (term-handle-colors-array): Use a set of new faces to
3214 color the terminal. Also uses :inverse-video property.
3215 (term-default-fg-color): Set to nil by default, deprecate in favor
3216 of `term-face'.
3217 (term-default-bg-color): Set to nil by default, deprecate in favor
3218 of `term-face'.
3219 (term-current-face): Use `term-face' by default.
3220 (term-bold-attribute): Variable deleted.
3221
1c9bd870
GM
32222012-06-28 Glenn Morris <rgm@gnu.org>
3223
3224 * simple.el (completion-list-mode-finish):
3225 Don't use toggle-read-only. (Since completion-list-mode has
3226 a special mode-class, it wasn't doing anything extra anyway.)
3227
c207708c
SM
32282012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 Make inlining of other-mode interpreted functions work (bug#11799).
3231 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3232 (byte-compile): Use it to fix compilation of lexical-binding closures.
3233 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3234 function, if needed.
3235
3fd56834
SM
32362012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3237
04901786
SM
3238 * help-mode.el (help-make-xrefs): Don't just withstand
3239 cyclic-variable-indirection but any error in documentation-property.
3240
1ec4b7b2
SM
3241 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3242 memory use.
3243 * bindings.el (bindings--define-key): New function.
3244 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3245 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3246 * bindings.el: Use it to purecopy define-key bindings.
3247
e309e2a5
SM
3248 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3249
d5c6faf9
SM
3250 * emacs-lisp/cl.el (flet): Mark obsolete.
3251 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3252 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3253 * progmodes/js.el (js-c-fill-paragraph):
3254 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3255 (ebrowse-switch-member-buffer-to-derived-class):
3256 * play/5x5.el (5x5-solver): Use cl-flet.
3257
6e9590e2
SM
3258 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3259 (cl--symbol-function): New macro.
3260 (cl--letf, cl--letf*): Use it.
3261
3fd56834
SM
3262 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3263 Strip "toggle-" if any.
3264
35ff222c
GM
32652012-06-27 Glenn Morris <rgm@gnu.org>
3266
1ba6038a
GM
3267 * info.el (Info-default-directory-list): Move here from paths.el.
3268 * paths.el: Remove file, which is now empty.
3269 * loadup.el: No longer load "paths".
3270
0ea0e51b
GM
3271 * custom.el (custom-initialize-delay): Doc fix.
3272
35ff222c
GM
3273 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3274 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3275 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3276 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3277 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3278 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3279 * eshell/eshell.el (eshell-defgroup): Remove alias.
3280
c89926a5
CY
32812012-06-27 Chong Yidong <cyd@gnu.org>
3282
3283 * help.el (help-enable-auto-load): New variable.
3284
3285 * help-fns.el (help-fns--autoloaded-p): New function.
3286 (describe-function-1): Refer to a function as "autoloaded" if it
3287 was autoloaded at any time in the past. Perform autoloading if
3288 help-enable-auto-load is non-nil.
3289
cc06e7e7
EZ
32902012-06-26 Eli Zaretskii <eliz@gnu.org>
3291
3292 * makefile.w32-in (compile, compile-always): Depend on
3293 update-subdirs, not on subdirs.el. Otherwise, several different
3294 sub-targets of 'bootstrap' running in parallel could
3295 simultaneously write to subdirs.el, producing a garbled file.
3296
d2c32364
SS
32972012-06-26 Sam Steingold <sds@gnu.org>
3298
3299 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3300 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3301 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3302 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3303 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3304 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3305 * textmodes/tex-mode.el: Use it.
3306 Did not touch cedet and org because they are maintained elsewhere.
3307
5cf983b2
MR
33082012-06-26 Martin Rudalics <rudalics@gmx.at>
3309
3310 * calendar/calendar.el (calendar-exit): Don't try to delete or
3311 iconify last frame. See:
3312 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3313
8c4f2952
JD
33142012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3315
3316 * server.el (server-process-filter): Remember dir in the
3317 process's `server-client-directory' properties.
3318
772b2e2c
CY
33192012-06-24 Chong Yidong <cyd@gnu.org>
3320
3321 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3322 non-tag text.
3323
711b11e1
JB
33242012-06-23 Juanma Barranquero <lekktu@gmail.com>
3325
3326 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3327
dc5d230c
SM
33282012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * help-fns.el (describe-variable): Don't croak when doc is not found.
3331 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3332 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3333 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3334 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3335 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3336 ((lambda ..) ..).
3337 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3338
136e1c1d
CY
33392012-06-23 Chong Yidong <cyd@gnu.org>
3340
e8c1cabf
CY
3341 * info.el (Info-mouse-follow-link): Accept symbol values of
3342 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3343 (Info-fontify-node): Use Info-link-keymap for all navigation
3344 buttons, with link-args property to perform the desired action.
3345 (Info-link-keymap): Doc fix.
3346 (Info-next-link-keymap, Info-prev-link-keymap)
3347 (Info-up-link-keymap): Delete now-unused keymaps.
3348
0e9e6c6a
CY
33492012-06-23 Chong Yidong <cyd@gnu.org>
3350
05e89fea
CY
3351 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3352
0e9e6c6a
CY
3353 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3354 system abbrevs.
3355
3356 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3357
e33c6771
SM
33582012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3359
b68581e2
SM
3360 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3361 (bug#11719).
3362
e33c6771
SM
3363 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3364 the requote function doesn't work properly (bug#11714).
3365
7117e105
GM
33662012-06-23 Glenn Morris <rgm@gnu.org>
3367
3368 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3369
36cec983
SM
33702012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 Further GV/CL cleanups.
3373 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3374 gv-expander.
3375 (gv--defun-declaration): New function.
3376 (defun-declarations-alist): Use it.
3377 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3378 (gv-place): Autoload.
3379 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3380 original definition of dotimes and dolist.
3381 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3382 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3383 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3384 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3385 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3386 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3387 to the function's definition.
3388 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3389 * window.el:
3390 * files.el:
3391 * faces.el:
3392 * env.el: Don't use CL.
3393
d35af63c
PE
33942012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3395
3396 Support higher-resolution time stamps (Bug#9000).
3397
3398 * calendar/time-date.el (with-decoded-time-value): New arg
3399 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3400 (encode-time-value): New optional arg PICO. New type 3.
3401 (time-to-seconds) [!float-time]: Support the new picoseconds
3402 component if it's used.
3403 (seconds-to-time, time-subtract, time-add):
3404 Support ps-resolution time stamps as well.
3405
3406 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3407 (timerp): Timer vectors now have length 9, not 8.
3408 (timer--time): Support new-style (4-part) time stamps.
3409 (timer-next-integral-multiple-of-time): Time stamps now have
3410 picosecond resolution, so take a bit more care about rounding.
3411 (timer-relative-time, timer-inc-time): New optional arg psecs.
3412 (timer-set-time-with-usecs): Set psecs to 0.
3413 (timer--activate): Check psecs component, too.
3414
3415 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3416
ac77b21a
SM
34172012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3418
f143bfe3
SM
3419 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3420 Move the non-essential binding to the post/pre-command-hook where it is
3421 more obviously correct.
3422
ac77b21a
SM
3423 * subr.el (read-passwd): Don't use a history at all.
3424 * savehist.el (savehist-save): Remove password saved accidentally
3425 because of the above bug.
3426
76386c5a
BG
34272012-06-22 Bastien Guerry <bzg@gnu.org>
3428
3429 * files.el (toggle-read-only): Display a message telling whether
3430 the buffer is read-only or not (bug#11726).
3431
2ee3d7f0
SM
34322012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * emacs-lisp/gv.el: New file.
3435 * subr.el (push, pop): Extend to generalized variables.
3436 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3437 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3438 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3439 gv-define-simple-setter, and gv-define-expander.
3440 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3441 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3442 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3443 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3444 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3445 gv-letplace.
3446 (cl-defstruct): Don't define setf-method any more.
3447 * emacs-lisp/cl.el (flet): Don't autoload.
3448 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3449 (define-setf-expander, defsetf, define-modify-macro)
3450 (cl-struct-setf-expander): Move from cl-lib.el.
3451 * emacs-lisp/syntax.el:
3452 * emacs-lisp/ewoc.el:
3453 * emacs-lisp/smie.el:
3454 * emacs-lisp/cconv.el:
3455 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3456 (timer--time): Use gv-define-simple-setter.
3457 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3458 to avoid coding-system problems in subr.el. Adjust all users.
3459 (macroexp--maxsize, macroexp-small-p): New functions.
3460 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3461 * scroll-bar.el (scroll-bar-mode):
3462 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3463 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3464 * winner.el (winner-configuration, winner-make-point-alist)
3465 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3466 * files.el (locate-file-completion-table): Avoid list*.
3467
c5695d1d
CY
34682012-06-22 Chong Yidong <cyd@gnu.org>
3469
3470 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3471 (dired-create-files): Doc fix (Bug#11329).
3472 (dired-do-copy): Doc fix (Bug#11334).
3473 (dired-mark-read-string): Doc fix (Bug#11553).
3474
2ee3d7f0
SM
3475 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3476 Doc fix (Bug#11326).
c5695d1d
CY
3477 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3478 (dired-dwim-target): Doc fix.
3479
3480 * wdired.el (wdired-mode): Doc fix.
3481
89b5595a
GM
34822012-06-22 Glenn Morris <rgm@gnu.org>
3483
575db3f1
GM
3484 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3485 (pcmpl-rpm-cache-stamp-file): New constant.
3486 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3487 (pcmpl-rpm-packages): Optionally cache list of packages.
3488
a4c8dd51
GM
3489 * pcmpl-rpm.el (pcmpl-rpm): New group.
3490 (pcmpl-rpm-query-options): New option.
3491 (pcmpl-rpm-packages): No need to inline it.
3492 Use pcmpl-rpm-query-options.
3493
89b5595a
GM
3494 * calendar/calendar.el (calendar-in-read-only-buffer):
3495 Avoid some needless mode changes.
3496
e76f0800
CY
34972012-06-21 Chong Yidong <cyd@gnu.org>
3498
3499 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3500 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3501 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3502
297a8f1d
CY
35032012-06-20 Chong Yidong <cyd@gnu.org>
3504
3505 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3506
d34c18b1
DR
35072012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3508
3509 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3510 (bug#11201).
3511
32f7f28e
CY
35122012-06-20 Chong Yidong <cyd@gnu.org>
3513
3514 * term.el (term-window-width): Handle the case of a missing right
3515 fringe (Bug#8837).
3516 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3517 (term-mode): Use define-derived-mode. Minor cleanups.
3518 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3519 (term-move-columns, term-insert-char, term-emulate-terminal)
3520 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3521
493c6688
MA
35222012-06-20 Michael Albinus <michael.albinus@gmx.de>
3523
d34c18b1
DR
3524 * net/ange-ftp.el (ange-ftp-get-passwd):
3525 Bind `enable-recursive-minibuffers'.
493c6688
MA
3526 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3527
3f06ecf4
DR
35282012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3529
3530 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3531
68f12411
GM
35322012-06-19 Glenn Morris <rgm@gnu.org>
3533
3534 * progmodes/python.el (python-mode): Derive from prog-mode.
3535
b3820318
KG
35362012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3537
3538 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3539 (edt-user-menu-bar-update-buffers): New functions.
3540 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3541
c6bf3022
CY
35422012-06-19 Chong Yidong <cyd@gnu.org>
3543
3544 * subr.el (with-selected-window): Preserve the selected window's
3545 terminal's top-frame (Bug#4702).
3546
3547 * window.el (save-selected-window): Likewise.
3548
25f09295
SM
35492012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3550
3551 * progmodes/python.el (python-rx-constituents): Move backquote.
3552 (python-skeleton-define, python-define-auxiliary-skeleton):
3553 Use `declare'.
3554
6b11952a
MA
35552012-06-18 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * minibuffer.el (read-file-name-default): Revert the patch from
3558 2012-06-17.
3559
ee4b1330
SM
35602012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3563 (pcase--u1, pcase--q1): Don't use apply-partially.
3564
35647f79
GM
35652012-06-18 Glenn Morris <rgm@gnu.org>
3566
3567 * progmodes/python.el (python-proc, python-buffer)
3568 (python-send-receive, python-send-string): Fix obsolete versions.
3569
24b0cff0
MR
35702012-06-18 Martin Rudalics <rudalics@gmx.at>
3571
3572 * window.el (special-display-p): Completely remove stringp
3573 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3574
29855149
MA
35752012-06-17 Michael Albinus <michael.albinus@gmx.de>
3576
3577 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3578
3579 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3580
3581 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3582 * net/tramp-sh.el (tramp-maybe-open-connection):
3583 Throw if `non-essential' is non-nil.
3584
07463363
MR
35852012-06-17 Martin Rudalics <rudalics@gmx.at>
3586
3587 * window.el (special-display-p): Signal an error if BUFFER-NAME
3588 is not a string (Bug#11713).
3589
48d1354e
PE
35902012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3591
3592 * progmodes/python.el (python-info-beginning-of-backslash):
3593 Rename from python-info-beginning-of-backlash, as a spelling fix.
3594
eb4a8a9a
CY
35952012-06-17 Chong Yidong <cyd@gnu.org>
3596
3597 * term.el (term-emulate-terminal): If term-check-size is called,
3598 move point to the process mark without resetting point (Bug#4635).
3599
ddfbf826 36002012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3601
3602 * international/mule-cmds.el (mule-menu-keymap)
3603 (set-language-environment, set-locale-environment): Doc tweaks.
3604
9b0e3eba
AA
36052012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3606
3607 * cus-face.el (custom-face-attributes): Add wave-style underline
3608 attribute.
3609 * faces.el (set-face-attribute): Update docstring to describe
3610 wave-style underline attribute.
3611
771e3eae
CY
36122012-06-16 Chong Yidong <cyd@gnu.org>
3613
3614 * term/xterm.el (terminal-init-xterm): Discard input before
3615 querying background mode (Bug#10959).
3616
7ae2ea10
SM
36172012-06-16 Stefan Merten <smerten@oekonux.de>
3618
3619 * textmodes/rst.el: Added and corrected some comments.
3620 (rst-re-alist-def): Improve symbol syntax.
3621 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3622 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3623 (rst-official-version, rst-official-cvs-rev): Update version
3624 information.
7ae2ea10 3625
b6974efa
JB
36262012-06-15 Juanma Barranquero <lekktu@gmail.com>
3627
3628 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3629 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3630
8826d473
GM
36312012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3632
3633 * progmodes/python.el: New python.el merge.
3634 (python-guess-indent): Obsolete var.
3635 (python-indent-guess-indent-offset): New defcustom.
3636 (python-indent): Obsolete var.
3637 (python-indent-offset): New defcustom.
3638 (python-python-command, python-jython-command): Delete var.
3639 (python-shell-interpreter): New defcustom.
3640 (python-pdbtrack-do-tracking-p): Delete var.
3641 (python-pdbtrack-activate): New defcustom.
3642 (python-use-skeletons): Obsolete var.
3643 (python-skeleton-autoinsert): New defcustom.
3644 (inferior-python-filter-regexp, python-continuation-offset)
3645 (python-honour-comment-indentation, python-indent-string-contents)
3646 (python-jython-packages, python-mode-hook)
3647 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3648 (python-shell-prompt-alist)
3649 (python-source-modes): Delete defcustoms.
3650 (python-check-buffer-name, python-eldoc-setup-code)
3651 (python-eldoc-string-code, python-ffap-setup-code)
3652 (python-ffap-string-code, python-fill-comment-function)
3653 (python-fill-decorator-function, python-fill-paren-function)
3654 (python-fill-string-function, python-imenu-include-defun-type)
3655 (python-imenu-make-tree, python-imenu-subtree-root-label)
3656 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3657 (python-shell-compilation-regexp-alist)
3658 (python-shell-completion-module-string-code)
3659 (python-shell-completion-pdb-string-code)
3660 (python-shell-completion-setup-code)
3661 (python-shell-completion-string-code)
3662 (python-shell-enable-font-lock, python-shell-exec-path)
3663 (python-shell-extra-pythonpaths)
3664 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3665 (python-shell-process-environment)
3666 (python-shell-prompt-block-regexp)
3667 (python-shell-prompt-output-regexp)
3668 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3669 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3670 (python-shell-virtualenv-path): New defcustoms.
3671 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3672 (inferior-python-mode-syntax-table, python--prompt-regexp)
3673 (python-buffer, python-command python-python-command)
3674 (python-default-template, python-imports, python-indent-index)
3675 (python-indent-list, python-indent-list-length)
3676 (python-mode-running, python-pdbtrack-is-tracking-p)
3677 (python-preoutput-continuation, python-preoutput-leftover)
3678 (python-preoutput-result, python-preoutput-skip-next-prompt)
3679 (python-prev-dir/file, python-recursing)
3680 (python-saved-check-command, python-version-checked)
3681 (python-which-func-length-limit)
3682 (view-return-to-alist): Delete vars.
3683 (python-check-custom-command, python-dotty-syntax-table)
3684 (python-imenu-index-alist, python-indent-current-level)
3685 (python-indent-dedenters, python-indent-levels)
3686 (python-nav-beginning-of-defun-regexp)
3687 (python-nav-list-defun-positions-cache)
3688 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3689 (python-shell-internal-buffer)
3690 (python-skeleton-available): New vars.
3691 (def-python-skeleton): Delete macro.
3692 (python-skeleton-define): New macro.
3693 (python-define-auxiliary-skeleton, python-rx): New macros.
3694 (python-insert-class): Delete command.
3695 (python-skeleton-class): New command.
3696 (python-insert-def): Delete command.
3697 (python-skeleton-def): New command.
3698 (python-insert-for): Delete command.
3699 (python-skeleton-for): New command.
3700 (python-insert-if): Delete command.
3701 (python-skeleton-if): New command.
3702 (python-insert-try/except, python-insert-try/finally): Delete commands.
3703 (python-skeleton-try): New command.
3704 (python-insert-while): Delete command.
3705 (python-skeleton-while): New command.
3706 (python-backspace): Delete command.
3707 (python-indent-dedent-line-backspace): New command.
3708 (python-electric-colon): Delete command.
3709 (python-indent-electric-colon): New command.
3710 (python-guess-indent): Delete command.
3711 (python-indent-guess-indent-offset): New command.
3712 (python-shift-left): Delete command.
3713 (python-indent-shift-left): New command.
3714 (python-shift-right): Delete command.
3715 (python-indent-shift-right): New command.
3716 (python-find-function): Delete command.
3717 (python-nav-jump-to-defun): New command.
3718 (python-next-statement): Delete command.
3719 (python-nav-forward-sentence): New command.
3720 (python-previous-statement): Delete command.
3721 (python-nav-backward-sentence): New command.
3722 (python-fill-paragraph): Delete command.
3723 (python-fill-paragraph-function): New command.
3724 (python-send-buffer): Delete command.
3725 (python-shell-send-buffer): New command.
3726 (python-send-defun): Delete command.
3727 (python-shell-send-defun): New command.
3728 (python-send-region, python-send-region-and-go): Delete commands.
3729 (python-shell-send-region)
3730 (python-shell-switch-to-shell): New commands.
3731 (python-send-string): Delete command.
3732 (python-shell-send-string): New command.
3733 (python-switch-to-python): Delete command.
3734 (python-shell-switch-to-shell): New command.
3735 (python-describe-symbol): Delete command.
3736 (python-eldoc-at-point): New command.
3737 (python--set-prompt-regexp, python-args-to-list)
3738 (python-after-info-look, python-check-version)
3739 (python-check-comint-prompt, python-find-imports)
3740 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3741 (python-unload-function, python-expand-template)
3742 (python-maybe-jython, python-preoutput-filter)
3743 (python-pdbtrack-get-source-buffer)
3744 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3745 (python-pdbtrack-toggle-stack-tracking)
3746 (python-pdbtrack-track-stack-file, python-initial-text)
3747 (python-first-word, python-comment-line-p, python-send-command)
3748 (python-setup-brm, python-sentinel, python-set-proc)
3749 (python-skip-out, python-input-filter, python-outdent-p)
3750 (python-outline-level, python-backslash-continuation-line-p)
3751 (python-end-of-block, python-end-of-statement, python-mark-block)
3752 (python-beginning-of-block, python-beginning-of-statement)
3753 (python-blank-line-p, python-beginning-of-string)
3754 (python-open-block-statement-p): Delete functions.
3755 (python-indent-line, python-indent-line-1): Delete functions.
3756 (python-indent-line): New function.
3757 (python-indentation-levels): Delete function.
3758 (python-indent-calculate-levels): New function.
3759 (python-proc): Delete function.
3760 (python-shell-get-process): New function.
3761 (python-send-receive): Delete function.
3762 (python-shell-send-string-no-output): New function.
3763 (python-module-path): Delete function.
3764 (python-ffap-module-path): New function.
3765 (python-completion-at-point)
3766 (python-symbol-completions): Delete functions.
3767 (python-completion-complete-at-point): New function.
3768 (python-load-file): Delete function.
3769 (python-shell-send-file): New function.
3770 (python-calculate-indentation): Delete function.
3771 (python-indent-calculate-indentation): New function.
3772 (python-skip-comments/blanks): Delete function.
3773 (python-util-forward-comment): New function.
3774 (python-continuation-line-p): Delete function.
3775 (python-info-continuation-line-p): New function.
3776 (python-which-func, python-current-defun): Delete function.
3777 (python-info-current-defun): New function.
3778 (python-beginning-of-defun): Delete function.
3779 (python-nav-beginning-of-defun): New function.
3780 (python-close-block-statement-p)
3781 (python-block-end-p): Delete function.
3782 (python-info-closing-block): New function.
3783 (python-comint-output-filter-function)
3784 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3785 (python-fill-comment, python-fill-decorator, python-fill-paren)
3786 (python-fill-string, python-imenu-make-element-tree)
3787 (python-imenu-make-tree, python-imenu-tree-assoc)
3788 (python-indent-context, python-indent-dedent-line)
3789 (python-indent-line-function)
3790 (python-indent-post-self-insert-function)
3791 (python-indent-toggle-levels)
3792 (python-info-assignment-continuation-line-p)
3793 (python-info-beginning-of-backlash)
3794 (python-info-block-continuation-line-p)
3795 (python-info-closing-block-message)
3796 (python-info-line-ends-backslash-p)
3797 (python-info-looking-at-beginning-of-defun)
3798 (python-info-ppss-context, python-info-ppss-context-type)
3799 (python-nav-list-defun-positions, python-nav-read-defun)
3800 (python-nav-sentence-end, python-nav-sentence-start)
3801 (python-pdbtrack-comint-output-filter-function)
3802 (python-pdbtrack-set-tracked-buffer)
3803 (python-shell-calculate-exec-path)
3804 (python-shell-calculate-process-environment)
3805 (python-shell-completion--do-completion-at-point)
3806 (python-shell-completion--get-completions)
3807 (python-shell-completion-complete-at-point)
3808 (python-shell-completion-complete-or-indent)
3809 (python-shell-get-or-create-process)
3810 (python-shell-get-process-name)
3811 (python-shell-internal-get-or-create-process)
3812 (python-shell-internal-get-process-name)
3813 (python-shell-internal-send-string, python-shell-make-comint)
3814 (python-shell-parse-command, python-shell-send-setup-code)
3815 (python-skeleton-add-menu-items)
3816 (python-util-clone-local-variables, python-util-position)
3817 (run-python-internal, python-indentation-levels)
3818 (python-nav-beginning-of-defun)
3819 (python-completion-complete-at-point): New functions.
3820 (run-python): Change arguments. New API requirements.
3821
4302f5ba
SM
38222012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3823
f38ea36d
SM
3824 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3825 (bug#11649).
3826
3827 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3828 (macroexp--expand-all): Use it.
3829
4302f5ba
SM
3830 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3831 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3832 Use `cl-function' instead.
3833
33377562
JB
38342012-06-14 Juanma Barranquero <lekktu@gmail.com>
3835
3836 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3837 Suggested by Stefan Monnier while discussing bug#11657.
3838
54c5ba1a
SS
38392012-06-14 Sam Steingold <sds@gnu.org>
3840
3841 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3842
f9f1b1fe
AS
38432012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3844
3845 * play/doctor.el (doctor-doc): Remove parameter and use
3846 doctor-sent instead of sent.
3847 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3848
a81068ba
SM
38492012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3850
5a315f9c
SM
3851 * files.el: Require cl-lib.
3852 (file-name-non-special): Replace case -> cl-case.
3853
3854 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3855
a81068ba
SM
3856 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3857 mapping from #' to function*.
3858
8cca9703
CY
38592012-06-13 Chong Yidong <cyd@gnu.org>
3860
3861 * mouse.el (mouse-drag-track): Do not set the mark if the user
3862 releases the mouse without selecting anything (Bug#11588).
3863
a12ac9d7
SM
38642012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3865
ccf1dc18
SM
3866 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3867 as well (bug#11646).
3868
ef62b23d
SM
3869 * loadup.el: Count byte-code functions as well.
3870
c4c8444a
SM
3871 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3872 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3873
a12ac9d7
SM
3874 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3875 (bug#11649). Add cl-defun and cl-defmacro.
3876
87e6e64f
DA
38772012-06-13 Drew Adams <drew.adams@oracle.com>
3878
3879 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3880 Fix last change.
3881
682cefaf
MA
38822012-06-13 Michael Albinus <michael.albinus@gmx.de>
3883
3884 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3885 Otherwise, it blocks in batch mode.
3886
773e1f08
JB
38872012-06-13 Juanma Barranquero <lekktu@gmail.com>
3888
3889 * help-mode.el (bookmark-make-record-default): Declare.
3890
60057926
CY
38912012-06-13 Chong Yidong <cyd@gnu.org>
3892
3893 * emacs-lisp/package.el (list-packages): Compute a list of
3894 packages that are newly-available since the last list-packages
3895 invocation.
3896 (package-menu--new-package-list): New var.
3897 (package-menu--generate, package-menu--print-info)
3898 (package-menu--status-predicate, package-menu-mark-install):
3899 Handle new status label "new".
3900
ad4d226c
SM
39012012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3904 conversion to backquotes.
3905
f1a4e679
CY
39062012-06-12 Chong Yidong <cyd@gnu.org>
3907
3908 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3909 Rename from gud-inhibit-global-bindings.
3910
3911 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3912
3913 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3914 hook from nxml-glyph-set-hook.
3915
3916 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3917 declaration.
3918
3919 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3920
3921 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3922 Convert to defcustom.
3923
0c9e42b5
DA
39242012-06-12 Drew Adams <drew.adams@oracle.com>
3925
3926 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3927 New functions.
3928 (help-mode): Use them.
3929
09e06855
GM
39302012-06-11 Glenn Morris <rgm@gnu.org>
3931
3932 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3933 Use preprocessor face for directives.
3934 (fortran-directive-re): Doc fix.
3935
71adb94b
SM
39362012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3937
2eb87922
SM
3938 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3939 conversion to backquotes (bug#11652).
3940
71adb94b
SM
3941 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3942 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3943 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3944 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3945 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3946 (cl-ninth, cl-tenth): Mark them as inlinable.
3947 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3948 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3949 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3950 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3951 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3952 (cl-list*, cl-adjoin): Don't put an autoload manually.
3953 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3954 (cl--compiler-macro-list*): Add autoload cookie.
3955 (cl--compiler-macro-cXXr): New function.
2eb87922 3956
71adb94b
SM
3957 * help-fns.el (help-fns--compiler-macro): New function extracted from
3958 describe-function-1; follow aliases and use `compiler-macro' property.
3959 (describe-function-1): Use it.
3960
a6674402
CY
39612012-06-11 Chong Yidong <cyd@gnu.org>
3962
3963 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3964 is uninstalled, if imagemagick is installed.
3965
bb3faf5b
SM
39662012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3967
3968 * emacs-lisp/cl-lib.el: Use lexical-binding.
3969 (cl-map-extents, cl-maclisp-member): Remove.
3970 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3971 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3972 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3973 * emacs-lisp/cl-extra.el: Use lexical-binding.
3974 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3975 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3976 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3977 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3978 * emacs-lisp/cl-seq.el: Use lexical-binding.
3979 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3980 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3981 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3982 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3983 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3984 CL's internals.
3985
2fe4b125
MA
39862012-06-11 Michael Albinus <michael.albinus@gmx.de>
3987
3988 Sync with Tramp 2.2.6-pre.
3989
3990 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3991 `print-length' and `print-level' to nil, in order to avoid
3992 truncation. Reported by Christopher Schmidt
3993 <christopher@ristopher.com>.
3994
3995 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3996
3997 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3998 New defmacro.
3999 (tramp-compat-copy-directory): Add optional argument
4000 COPY-CONTENTS. It is not handled yet.
4001
4002 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4003 (tramp-ftp-file-name-p): Simplify.
4004
4005 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4006 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4007 connection vector.
4008
4009 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4010 (tramp-methods): Do not use `tramp-password-end-of-line'.
4011 (tramp-completion-function-alist-putty): Handle UNIX case.
4012 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4013 (tramp-do-file-attributes-with-stat)
4014 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4015 gid as real numbers. They could run out of integer range on cygwin.
4016 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4017 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4018 (tramp-open-connection-setup-interactive-shell):
4019 Use `tramp-cleanup'. Move check for busyboxes ...
4020 (tramp-find-shell): ... here. Simplify implementation.
4021 Set "remote-shell" property also for alternative shells.
4022 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4023 If failing, a regular file would be written otherwise.
4024 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4025 (tramp-find-inline-encoding): Cache the coding commands in the
4026 process cache. Apply test command on the remote side, if defined.
4027 (tramp-find-inline-compress): Cache the compress commands in the
4028 process cache.
4029 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4030 when requested. Handle hops.
4031 (tramp-current-connection): New defvar.
87e6e64f
DA
4032 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4033 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4034 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4035 (tramp-get-inline-compress, tramp-get-inline-coding):
4036 Read connection properties from the process cache.
2fe4b125
MA
4037
4038 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4039 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4040 New defconsts.
2fe4b125
MA
4041 (tramp-smb-prompt): Extend for powershell prompt.
4042 (tramp-smb-file-name-handler-alist): Add handlers for
4043 `process-file', `shell-command' and `start-file-process'.
4044 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4045 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4046 (tramp-smb-file-name-p): Simplify.
4047 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4048 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4049 (tramp-smb-shell-quote-argument): New defuns.
4050 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4051 Implement using "tar". By this, time-stamps are preserved.
4052 (tramp-smb-handle-copy-file): Handle also the case of directories.
4053 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4054 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4055 Use `tramp-get-connection-buffer').
2fe4b125
MA
4056 (tramp-smb-handle-rename-file): Use "rename", when source and
4057 target are on the same share.
87e6e64f
DA
4058 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4059 Use `tramp-smb-server-version'.
2fe4b125
MA
4060 (tramp-smb-wait-for-output): Remove prompt.
4061
4062 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4063 (tramp-methods, tramp-rsh-end-of-line):
4064 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4065 (tramp-save-ad-hoc-proxies): New defcustom.
4066 (tramp-completion-function-alist): Adapt docstring.
4067 (tramp-default-password-end-of-line): Remove defcustom.
4068 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4069 (tramp-user-regexp, tramp-file-name-regexp-unified)
4070 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4071 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4072 (tramp-remote-file-name-spec-regexp): New defconst.
4073 (tramp-file-name-structure): Extend structure for hops.
4074 (tramp-get-method-parameter): Move up.
4075 (tramp-file-name-p, tramp-dissect-file-name)
4076 (with-parsed-tramp-file-name): Handle hops.
4077 (tramp-file-name-hop): New defun.
4078 (tramp-make-tramp-file-name): New optional arg HOP.
4079 (tramp-message-show-progress-reporter-message): New defvar.
4080 (tramp-with-progress-reporter): Use it. We cannot use
4081 `tramp-message-show-message' here, because this suppresses also
4082 error buffers.
4083 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4084 `tramp-message-show-message' is nil.
4085 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4086 (tramp-cleanup): New defun.
4087 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4088 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4089 an error unchanged.
4090 (tramp-completion-handle-file-name-all-completions): Handle hops.
4091 Fix an error when called from ido.
4092 (tramp-completion-dissect-file-name): Use better local variable
4093 name. Add hop to the vector.
4094 (tramp-handle-insert-file-contents): Use progress-reporter for the
4095 whole scenario.
4096 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4097 to `t'.
4098 (tramp-check-for-regexp): Simplify search.
4099 (tramp-enter-password): Remove it. Move implementation ...
4100 (tramp-action-password): ... here.
4101 (tramp-mode-string-to-int, tramp-local-host-p)
4102 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4103 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4104 Set tramp-autoload cookie.
2fe4b125
MA
4105
4106 * net/trampver.el: Update release number.
4107
41082012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4109 Michael Albinus <michael.albinus@gmx.de>
4110
4111 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4112 (tramp-parse-group, tramp-parse-file)
4113 (tramp-parse-shostkeys-sknownhosts): New defuns.
4114 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4115 (tramp-parse-shosts-group, tramp-parse-sconfig)
4116 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4117 (tramp-parse-sknownhosts, tramp-parse-hosts)
4118 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4119 Use them.
4120 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4121 (tramp-parse-putty-group): Don't narrow.
4122 (tramp-parse-putty): Make a loop.
4123 (tramp-file-name-handler): Catch the `suppress' signal.
4124
72834e10
CY
41252012-06-11 Chong Yidong <cyd@gnu.org>
4126
4127 * image.el (imagemagick-register-types): Put the ImageMagick entry
4128 at the end of image-type-file-name-regexps.
4129
a4712e11
JB
41302012-06-11 Johan Bockgård <bojohan@gnu.org>
4131
4132 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4133 (pcase, pcase-let*, pcase-dolist): Use them.
4134
82ad98e3
SM
41352012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4136
4137 * emacs-lisp/pcase.el (pcase--let*): New function.
4138 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4139 (pcase--expand): Use macroexp-let².
4140
f80efb86
SM
41412012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4142
4143 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4144 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4145 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4146 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4147 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4148 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4149
31ca4639 41502012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4151
31ca4639
CY
4152 * mail/rmail.el (rmail-yank-current-message): Leave point at
4153 correct position. (Bug#11660)
94f0aa34 4154
31ca4639 41552012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4156
31ca4639 4157 * allout-widgets.el: Fix code header.
9e1b8ec4 4158
31ca4639 41592012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4160
f80efb86
SM
4161 * cus-edit.el (customize-changed-options-previous-release):
4162 Bump to 24.1.
31ca4639 4163
642b6d30
AS
41642012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4165
4166 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4167
4f5d2ba1
CY
41682012-06-09 Chong Yidong <cyd@gnu.org>
4169
4170 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4171
e75852fd
MR
41722012-06-09 Martin Rudalics <rudalics@gmx.at>
4173
4174 * window.el (special-display-popup-frame): Don't use
4175 window--display-buffer (Bug#11651).
4176
1e48e282
EZ
41772012-06-09 Eli Zaretskii <eliz@gnu.org>
4178
8a26b487
EZ
4179 Fix parallel builds: make sure loaddefs.el is not being written
4180 while Lisp files are compiled.
4181 (compile): Don't depend on 'mh-autoloads'.
4182 (compile-CMD, compile-SH): Depend on 'autoloads'.
4183 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4184
1e48e282
EZ
4185 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4186
6175e34b
CY
41872012-06-09 Chong Yidong <cyd@gnu.org>
4188
4189 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4190 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4191 Doc fixes (Bug#11225).
4192
d9857e53
SM
41932012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4196 a function if there's a clear indication that it has a compiler-macro.
4197 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4198 (macro-declarations-alist): Add arglist to declaration functions.
4199 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4200 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4201 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4202 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4203 Also add autoload to find the compiler macro.
4204 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4205 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4206 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4207 (cl--compiler-macro-get): New functions, replacing calls to
4208 cl-define-compiler-macro.
4209 (cl-typep) [compiler-macro]: Use macroexp-let².
4210
f81298f8 42112012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4212
4213 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4214 string properly, fixes Bug#11473.
4215
4b56d0fe
CY
42162012-06-08 Chong Yidong <cyd@gnu.org>
4217
4218 * faces.el (set-face-attribute): Doc fix.
4219 (modify-face): Don't use :bold and :italic.
4220 (error, warning, success): Tweak definitions.
4221
4222 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4223 (custom-modified, custom-set, custom-changed, custom-themed)
4224 (custom-saved, custom-button, custom-button-mouse)
4225 (custom-button-pressed, custom-state, custom-comment-tag)
4226 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4227 (custom-group-subtitle): Use new-style face specs.
4228 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4229 (custom-set-face, custom-changed-face, custom-saved-face)
4230 (custom-button-face, custom-button-pressed-face)
4231 (custom-documentation-face, custom-state-face)
4232 (custom-comment-face, custom-comment-tag-face)
4233 (custom-variable-tag-face, custom-variable-button-face)
4234 (custom-face-tag-face, custom-group-tag-face-1)
4235 (custom-group-tag-face): Remove obsolete face alias.
4236
4237 * epa.el (epa-validity-high, epa-validity-medium)
4238 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4239 (epa-field-name, epa-field-body):
4240 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4241 (font-lock-keyword-face, font-lock-builtin-face)
4242 (font-lock-function-name-face, font-lock-variable-name-face)
4243 (font-lock-type-face, font-lock-constant-face):
4244 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4245 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4246 * speedbar.el (speedbar-button-face, speedbar-file-face)
4247 (speedbar-directory-face, speedbar-tag-face)
4248 (speedbar-selected-face, speedbar-highlight-face)
4249 (speedbar-separator-face):
4250 * whitespace.el (whitespace-newline, whitespace-space)
4251 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4252 (whitespace-line, whitespace-space-before-tab)
4253 (whitespace-space-after-tab, whitespace-indentation)
4254 (whitespace-empty):
4255 * emulation/cua-base.el (cua-global-mark):
4256 * eshell/em-prompt.el (eshell-prompt):
4257 * net/newst-plainview.el (newsticker-new-item-face)
4258 (newsticker-old-item-face, newsticker-immortal-item-face)
4259 (newsticker-obsolete-item-face, newsticker-date-face)
4260 (newsticker-statistics-face, newsticker-default-face):
4261 * net/newst-reader.el (newsticker-feed-face)
4262 (newsticker-extra-face, newsticker-enclosure-face):
4263 * net/newst-treeview.el (newsticker-treeview-face)
4264 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4265 (newsticker-treeview-immortal-face)
4266 (newsticker-treeview-obsolete-face)
4267 (newsticker-treeview-selection-face):
4268 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4269 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4270 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4271 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4272 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4273 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4274 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4275 (mpuz-text):
4276 * progmodes/vera-mode.el (vera-font-lock-number)
4277 (vera-font-lock-function, vera-font-lock-interface):
4278 * textmodes/table.el (table-cell): Use new-style face specs, and
4279 don't use the old :bold and :italic attributes.
4280
4281 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4282 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4283 (ebrowse-member-class, ebrowse-progress): Likewise.
4284 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4285 (ebrowse-file-name-face, ebrowse-default-face)
4286 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4287 (ebrowse-progress-face): Remove obsolete faces.
4288
4289 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4290 Inherit from error and warning faces respectively.
4291
4292 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4293 Likewise.
f80efb86
SM
4294 (flyspell-incorrect-face, flyspell-duplicate-face):
4295 Remove obsolete aliases.
4b56d0fe 4296
03310646
MA
42972012-06-08 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4300 Avoid infloop.
4301
513749ee
SM
43022012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4303
4304 * startup.el (argv, argi): Make lexically scoped.
4305 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4306 * emacs-lisp/cl-macs.el: Use lexical-binding.
4307 Rename cl-bind-* to cl--bind-*.
4308 * files.el: Don't require `cl' since it doesn't use it.
4309 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4310
595ef4ad
JB
43112012-06-08 Juanma Barranquero <lekktu@gmail.com>
4312
4313 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4314 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4315 instead of calling external sort utility.
4316 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4317
e9f66fcb
EZ
43182012-06-08 Eli Zaretskii <eliz@gnu.org>
4319
4320 * descr-text.el (describe-char): Mention how to insert the
4321 character, if the current input method doesn't support it.
4322 See the discussion in this thread for the details:
4323 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4324
3d10db47
SS
43252012-06-08 Sam Steingold <sds@gnu.org>
4326
4327 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4328 XF86Back to previous-buffer.
4329 (minibuffer-local-map): Bind them to next-history-element and
4330 previous-history-element respectively.
4331 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4332 help-go-back respectively.
4333 * info.el (Info-mode-map): Bind them to Info-history-forward and
4334 Info-history-back respectively.
4335 These are the keys next to Up on the ThinkPad keyboard.
4336
de7e2b36
SM
43372012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4340 * emacs-lisp/cl-macs.el: Provide itself.
4341 (cl--labels-convert-cache): New var.
4342 (cl--labels-convert): New function.
4343 (cl-flet, cl-labels): New implementation with new semantics, relying on
4344 lexical-binding.
4345 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4346 (cl-closure-vars, cl--function-convert-cache)
4347 (cl--function-convert): Move from cl-macs.el.
4348 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4349 rename by removing the "cl-" prefix.
4350 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4351
6fa6c4ae
SM
43522012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4355 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4356 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4357 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4358 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4359 (cl-hash-table-count): Add old compatibility aliases.
4360
4361 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4362 Use macroexpand-all-environment instead.
4363 (cl--old-macroexpand): New var.
4364 (cl--sm-macroexpand): New function.
4365 (cl-symbol-macrolet): Use it during macro expansion.
4366 (cl--function-convert-cache): New var.
4367 (cl--function-convert): New function, extracted from
4368 cl-macroexpand-all.
4369 (cl-lexical-let): Use it.
4370
4371 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4372 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4373 (cl-member): Remove old alias.
4374
4375 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4376 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4377 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4378 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4379 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4380 (cl-macroexpand-cmacs): Remove var.
4381 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4382 Use macroexpand-all instead.
4383
4dd1c416
SM
43842012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4387 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4388 (macroexp-copyable-p): New functions and macros.
4389 * emacs-lisp/edebug.el (edebug-unwrap):
4390 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4391 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4392 (pcase--let*): Remove.
4393 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4394 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4395 macroexp-const-p instead.
4396 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4397
4398 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4399 instead of "cl-" for internal definitions. Use macroexp-const-p.
4400 (cl-old-bc-file-form): Remove var.
4401 (cl-const-exprs-p): Remove fun.
4402 (cl-labels, cl-macrolet): Use backquote.
4403 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4404 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4405 (cl-define-setf-expander): Rename from cl-define-setf-method.
4406 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4407
4408 * international/mule-cmds.el: Don't require CL.
4409 (view-hello-file): Don't use `letf'.
4410
ed8bd4d7
SM
44112012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4412
7287f2f3
SM
4413 * tmm.el (tmm-prompt): Use string-prefix-p.
4414 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4415 (tmm-add-prompt): Use minibuffer-completion-help.
4416 (tmm-delete-map): Remove.
4417
ed8bd4d7
SM
4418 * subr.el (kbd): Make it its own function.
4419
7b4cdbf4
SM
44202012-06-07 Stefan Merten <smerten@oekonux.de>
4421
4422 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4423 Silence compiler warnings. Fix versions.
ed8bd4d7 4424 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4425 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4426 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4427 (rst-package-emacs-version-alist): Correct Emacs version to
4428 represent major merge with upstream.
ed8bd4d7 4429 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4430
2b48d721
GM
44312012-06-06 Glenn Morris <rgm@gnu.org>
4432
4433 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4434 Only print environment variables if set.
4435
fa779ab0
SM
44362012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4439 (macroexp--cons): Rename from maybe-cons.
4440 (macroexp--accumulate): Rename from macroexp-accumulate.
4441 (macroexp--all-forms): Rename from macroexpand-all-forms.
4442 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4443 (macroexp--expand-all): Rename from macroexpand-all-1.
4444
628299e0
SS
44452012-06-06 Sam Steingold <sds@gnu.org>
4446
4447 * calendar/calendar.el (calendar-in-read-only-buffer):
4448 Call `special-mode' to enable the standard read-only keybindings.
4449
b7bb5838
SM
44502012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4453 with "loading" messages (bug#11635).
4454
dfb308ba
MA
44552012-06-06 Michael Albinus <michael.albinus@gmx.de>
4456
4457 * files.el (enable-remote-dir-locals): New option.
4458 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4459
0372ee92
MA
4460 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4461 Ensure, that the temp directory is local.
4462
4463 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4464 `temporary-file-directory'.
4465
eed0bb91
MA
4466 * progmodes/python.el (python-send-region): Ensure, that the
4467 temporary file is created also in the remote case.
4468
7a58f64d
GM
44692012-06-06 Glenn Morris <rgm@gnu.org>
4470
f7dd4e98
GM
4471 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4472 (vc-rcs-update-changelog): Use it.
4473
090bd7cb 4474 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4475
7a58f64d
GM
4476 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4477 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4478 (vc-sccs-diff): Replace use of the external vcdiff script.
4479
daed4003
GM
44802012-06-05 Glenn Morris <rgm@gnu.org>
4481
4482 * ledit.el: Move to obsolete/.
4483
48c455c7
SS
44842012-06-05 Sam Steingold <sds@gnu.org>
4485
ed9265fc 4486 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4487 patch (Bug#11140).
4488
57a7d507
SM
44892012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4490
090bd7cb 4491 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4492
53aacf21
SM
4493 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4494 compiler-macro expansion.
4495
57a7d507
SM
4496 Add native compiler-macro support.
4497 * emacs-lisp/macroexp.el (macroexpand-all-1):
4498 Support compiler-macros directly. Properly follow aliases and apply
4499 the compiler macros more thoroughly.
4500 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4501 macroexpand now properly follows aliases.
4502 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4503 (cl-compiler-macroexpand): Use new prop.
4504 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4505
4506 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4507
51a5f9d8
MR
45082012-06-05 Martin Rudalics <rudalics@gmx.at>
4509
4510 * window.el (get-lru-window, get-mru-window, get-largest-window):
4511 New argument NOT-SELECTED to avoid picking the selected window.
4512 (window--display-buffer-1, window--display-buffer-2): Replace by
4513 new function window--display-buffer
4514 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4515 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4516 Use window--display-buffer.
51a5f9d8
MR
4517 (display-buffer-use-some-window): Remove temporary dedication
4518 hack by calling get-lru-window and get-largest-window with
4519 NOT-SELECTED argument non-nil. Call window--display-buffer.
4520
08f9f738
GM
45212012-06-05 Glenn Morris <rgm@gnu.org>
4522
4523 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4524 Replace external vcdiff script.
4525
e364a2b7
SM
45262012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4529
041df390
CY
45302012-06-04 Chong Yidong <cyd@gnu.org>
4531
e364a2b7
SM
4532 * image.el (imagemagick-types-inhibit): Revert last change.
4533 Add INFO and M.
47b36b94 4534 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4535
7c1898a7
SM
45362012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * emacs-lisp/cl-lib.el: Rename from cl.el.
4539 * emacs-lisp/cl.el: New compatibility file.
4540 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4541 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4542 to obey the "cl-" prefix.
4543 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4544
0c3461de
GM
45452012-06-03 Glenn Morris <rgm@gnu.org>
4546
1e266c88
GM
4547 * emacs-lisp/authors.el (authors-aliases): Addition.
4548
0c3461de
GM
4549 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4550 Fix :version.
4551
d8a52e15
SM
45522012-06-03 Stefan Merten <smerten@oekonux.de>
4553
4554 * textmodes/rst.el: Add comments.
4555 (rst-transition, rst-adornment): New faces.
4556 (rst-adornment-faces-alist): Make default safe to reevaluate.
4557 Fixes
4558 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4559 Improve customization tags.
4560 (rst-define-level-faces): Clarify meaning.
4561
5205d6f6
CY
45622012-06-03 Chong Yidong <cyd@gnu.org>
4563
4564 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4565 (compilation-mode-line-run, compilation-mode-line-exit):
4566 New faces.
5205d6f6
CY
4567 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4568
757ee657
JD
45692012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4570
7c1898a7
SM
4571 * progmodes/which-func.el (which-func-update-ediff-windows):
4572 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4573
5f2c76c6
CY
45742012-06-03 Chong Yidong <cyd@gnu.org>
4575
4576 * bindings.el: Remove explicit help text from format-mode-line.
4577 It is now supplied by mode-line-default-help-echo.
4578 (mode-line-front-space, mode-line-end-spaces)
4579 (mode-line-misc-info): New variables.
4580 (mode-line-modes, mode-line-position): Move the default value to
4581 the variable definition.
4582 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4583 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4584 (mode-line-modified-help-echo): New functions.
4585 (mode-line-mule-info, mode-line-modified): Use them.
4586 (mode-line-eol-desc, propertized-buffer-identification):
4587 Consistency fixes for help text.
cbe46e5f
CY
4588 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4589 set-buffer-file-coding-system (Bug#289).
4590 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4591
f2d6a3df
SM
45922012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * simple.el (execute-extended-command): Set real-this-command
4595 (bug#11506).
4596
37269466
CY
45972012-06-02 Chong Yidong <cyd@gnu.org>
4598
4599 Remove incorrect uses of "modeline" in comments, docstrings, and
4600 function/variable names (Bug#10329).
4601
4602 * cus-edit.el (mode-line):
4603 * dframe.el (dframe-mouse-hscroll):
4604 * emacs-lisp/re-builder.el:
4605 * emacs-lisp/easy-mmode.el (define-minor-mode):
4606 * frame.el (set-frame-name):
4607 * help.el (lookup-minor-mode-from-indicator):
4608 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4609 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4610 (c-toggle-hungry-state):
4611 * progmodes/antlr-mode.el (antlr-language-alist):
4612 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4613 * progmodes/vhdl-mode.el (vhdl-mode):
4614 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4615 * term/ns-win.el (ns-face-at-pos):
4616 * term/sup-mouse.el (sup-mouse-report):
4617 * textmodes/flyspell.el (flyspell-mode-line-string):
4618 * textmodes/ispell.el (ispell-highlight-face):
4619 * textmodes/reftex-global.el:
4620 * vc/vc-arch.el (vc-arch-mode-line-string):
4621 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4622 * vc/vc-git.el (vc-git-mode-line-string):
4623 * vc/vc-hooks.el (vc-display-status)
4624 (vc-default-mode-line-string):
4625 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4626
4627 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4628
4629 * dired.el (dired-sort-set-mode-line): Rename from
4630 dired-sort-set-modeline. All callers changed.
4631
4632 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4633 eshell-status-in-modeline.
4634
4635 * foldout.el (foldout-mode-line-string): Rename from
4636 foldout-modeline-string. All callers changed.
4637 (foldout-update-mode-line): Rename from foldout-update-modeline.
4638
4639 * subr.el (redraw-modeline): Make into obsolete alias.
4640
4641 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4642 timeclock-modeline-display. Make old name an alias.
4643 (timeclock-update-mode-line): Likewise. All callers changed.
4644 (timeclock-mode-line-display): No need to check before using
4645 add-hook.
4646 (timeclock-relative, timeclock-day-over-hook)
4647 (timeclock-use-elapsed, timeclock-mode-string)
4648 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4649
4650 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4651 crisp-mode-modeline-string.
4652
4653 * play/solitaire.el (solitaire-build-mode-line): Rename from
4654 solitaire-build-modeline. All callers changed.
4655
4656 * play/zone.el (zone-hiding-mode-line): Rename from
4657 zone-hiding-modeline. All callers changed.
4658 (zone): Remove unusued `modeline-hidden-level' property.
4659
4660 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4661 xscheme-modeline-initialize. All callers changed.
4662
4663 * strokes.el (strokes-lighter): Rename from
4664 strokes-modeline-string.
4665
4666 * textmodes/sgml-mode.el (html-face-tag-alist)
4667 (html-tag-face-alist): Use mode-line face instead of obsolete
4668 alias modeline.
4669
42152ee4
SM
46702012-06-02 Stefan Merten <smerten@oekonux.de>
4671
4672 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4673 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4674
95f520b5
CY
46752012-06-02 Chong Yidong <cyd@gnu.org>
4676
4677 * image.el (imagemagick-enabled-types): Rename from
4678 imagemagick-types-enable. Add many more types.
4679 (imagemagick-types-inhibit): Change default to nil.
4680 (imagemagick-filter-types): Caller changed.
4681
4a5f187a
SM
46822012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4683
03fef3e6
SM
4684 * emacs-lisp/cl-macs.el: Use backquotes.
4685 (cl-transform-function-property): Use eval-and-compile rather than
4686 abusing `require'.
4687 (defstruct): Use declare-function instead of with-no-warnings.
4688
4a5f187a
SM
4689 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4690 (byte-compile-output-docform): Re-add the print-circle bindings.
4691 (byte-compile-fix-header): Use #$ just because it's shorter.
4692 (byte-compile-output-file-form): Remove defun/defmacro.
4693
bd56924f
MR
46942012-06-01 Martin Rudalics <rudalics@gmx.at>
4695
4696 * simple.el (choose-completion): Remove now obsolete binding for
4697 owindow.
4698
046e38ce
MA
46992012-06-01 Michael Albinus <michael.albinus@gmx.de>
4700
4701 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4702 in order to avoid "Stack overflow in regexp matcher".
4703
32d72c2f
GM
47042012-05-31 Glenn Morris <rgm@gnu.org>
4705
4706 * image.el: For clarity, call imagemagick-register-types at
4707 top-level, rather than relying on a custom :initialize.
4708 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4709 (imagemagick-filter-types): New function. (Bug#7406)
4710 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4711 If disabling support, remove elements altogether rather
4712 than using an impossible regexp.
4713 (imagemagick-types-inhibit): Give it the default init function.
4714
dd41169b
SM
47152012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4a5f187a
SM
4717 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4718 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4719
efc00ab1 47202012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4721
4722 * desktop.el (desktop-read): Clear previous and next buffers for
4723 all windows and bury *Messages* buffer (bug#11556).
4724
500fcedc
SM
47252012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 Add `declare' for `defun'. Align `defmacro's with it.
4728 * emacs-lisp/easy-mmode.el (define-minor-mode)
4729 (define-globalized-minor-mode): Don't autoload the var definitions.
4730 * emacs-lisp/byte-run.el: Use lexical-binding.
4731 (defun-declarations-alist, macro-declarations-alist): New vars.
4732 (defmacro, defun): Use them.
4733 (make-obsolete, define-obsolete-function-alias)
4734 (make-obsolete-variable, define-obsolete-variable-alias):
4735 Use `declare'.
4736 (macro-declaration-function): Mark obsolete.
4737 * emacs-lisp/autoload.el: Use lexical-binding.
4738 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4739
6e8a1786
AM
47402012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4741
4742 * textmodes/ispell.el (ispell-with-no-warnings):
4743 Define as a macro.
500fcedc
SM
4744 (ispell-kill-ispell, ispell-change-dictionary):
4745 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4746 `interactive-p'.
4747
61b108cc
SM
47482012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4749
4750 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4751 (macro-declaration-function): Move var from C code.
4752 (macro-declaration-function): Define function with defalias.
4753 * emacs-lisp/macroexp.el (macroexpand-all-1):
4754 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4755 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4756 defun/defmacro any more.
4757 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4758 Provide fallback for unknown arglist.
4759 (byte-compile-arglist-warn): Change calling convention.
4760 (byte-compile-output-file-form): Move print-vars binding.
4761 (byte-compile-output-docform): Simplify accordingly.
4762 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4763 (byte-compile-defmacro-declaration): Remove.
4764 (byte-compile-file-form-defmumble): Generalize to defalias.
4765 (byte-compile-output-as-comment): Return byte-positions.
4766 Simplify callers accordingly.
4767 (byte-compile-lambda): Use `assert'.
4768 (byte-compile-defun, byte-compile-defmacro): Remove.
4769 (byte-compile-file-form-defalias):
4770 Use byte-compile-file-form-defmumble.
4771 (byte-compile-defalias-warn): Remove.
4772
6d3f7c2f
SM
47732012-05-29 Stefan Merten <smerten@oekonux.de>
4774
4775 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4776 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4777
4778 (rst-mode-abbrev-table): Merge definition.
4779 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4780 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4781
6dbaa1c7
UJ
47822012-05-29 Ulf Jasper <ulf.jasper@web.de>
4783
4784 * calendar/icalendar.el
4785 (icalendar-export-region): Export UID properly.
4786
d209e2fb 47872012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4788 * calendar/icalendar.el (icalendar-import-format):
4789 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4790 (icalendar-import-format-uid): New.
4791 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4792 Export UID.
4793
6876a58d
SM
47942012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4797 different alternative patterns.
4798 (pcase-codegen): Be more careful to preserve identity.
4799 (pcase--u1): Don't forget to mark vars as used.
4800
4801 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4802 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4803 (byte-compile-from-buffer): ...rather than here.
4804
4805 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4806 functions from byte-compile-function-environment.
4807
46b7967e
TN
48082012-05-29 Troels Nielsen <bn.troels@gmail.com>
4809
4810 * window.el (window-deletable-p): Avoid deleting the root window
4811 of a frame with an active minibuffer.
4812
69d565e2
MR
48132012-05-29 Martin Rudalics <rudalics@gmx.at>
4814
4815 * simple.el (choose-completion): Use quit-window (Bug#11567).
4816
a149fa51
CY
48172012-05-29 Chong Yidong <cyd@gnu.org>
4818
4819 * whitespace.el (whitespace-cleanup): Fix usage of
4820 whitespace-empty-at-bob-regexp (Bug#11492).
4821
2b311310
AH
48222012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4823
4824 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4825 revert (Bug#11488).
4826
b9cb2387
JL
48272012-05-29 Juri Linkov <juri@jurta.org>
4828
4829 * isearch.el (isearch-mode-map): Bind `M-s _' to
4830 `isearch-toggle-symbol'. Bind `M-s c' to
4831 `isearch-toggle-case-fold'.
4832 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4833 (isearch-forward): Add `M-s _' to the docstring.
4834 (isearch-forward-symbol, isearch-toggle-case-fold)
4835 (isearch-symbol-regexp): New functions. (Bug#11381)
4836
d5e61c1c
JL
48372012-05-29 Juri Linkov <juri@jurta.org>
4838
4839 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4840 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4841 a function, call it to get the regexp.
4842 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4843 property `isearch-message-prefix' instead of the string "word ".
4844 (isearch-search-fun-default): For the case of `isearch-word',
4845 return a lambda that calls re-search-forward/re-search-backward
4846 with a regexp returned by `word-search-regexp' or by the function
4847 in `isearch-word'.
4848
8cbd80f7
JL
48492012-05-29 Juri Linkov <juri@jurta.org>
4850
4851 * isearch.el (isearch-search-fun-default): New function.
4852 (isearch-search-fun): Move default part to the new function
4853 `isearch-search-fun-default'.
4854 (isearch-search-fun-function): Set the default value to
4855 `isearch-search-fun-default'. (Bug#11381)
4856
4857 * comint.el (comint-history-isearch-end):
4858 Use `isearch-search-fun-default'.
4859 (comint-history-isearch-search): Use `isearch-search-fun-default'
4860 and remove spacial case for `isearch-word'.
4861 (comint-history-isearch-wrap): Remove spacial case for
4862 `isearch-word'.
4863
4864 * hexl.el (hexl-isearch-search-function):
4865 Use `isearch-search-fun-default'.
4866
4867 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4868 Use `word-search-regexp' for `isearch-word'.
4869
4870 * misearch.el (multi-isearch-search-fun):
4871 Use `isearch-search-fun-default'.
4872
4873 * simple.el (minibuffer-history-isearch-search):
4874 Use `isearch-search-fun-default' and remove spacial case for
4875 `isearch-word'.
4876 (minibuffer-history-isearch-wrap): Remove spacial case for
4877 `isearch-word'.
4878
4879 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4880 Remove spacial case for `isearch-word'.
4881 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4882
85c8c5b6
AM
48832012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4884
4885 Decrease XEmacs incompatibilities.
4886 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4887 Use `string-match'.
4888 (flyspell-delete-region-overlays): Use alternative definition for
4889 XEmacs.
4890 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4891 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4892 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4893 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4894 `define-obsolete-face-alias' under XEmacs, but old method.
4895
4896 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4897 `with-no-warnings' definition or Emacs alias.
4898 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4899 (ispell-word): Do not use `region-p' if XEmacs.
4900
8cab9efc
AM
49012012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4902
4903 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4904 Check for `ispell-dictionary-base-alist' instead of full
4905 `ispell-dictionary-alist'.
4906 (ispell-init-process): Show spellchecker when starting new Ispell
4907 process.
4908
fda91268
RZ
49092012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4912 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4913
694ea8e3
JB
49142012-05-27 Juanma Barranquero <lekktu@gmail.com>
4915
4916 * version.el (motif-version-string, gtk-version-string)
4917 (ns-version-string): Declare.
4918
e4d4f539
JL
49192012-05-27 Juri Linkov <juri@jurta.org>
4920
4921 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4922 after the `eval-defun-1' specialcaseing
4923 like in `edebug-eval-defun' (bug#10181).
4924
4925 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4926 like in `eval-defun-1'.
4927
33017faf 49282012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4929
fda91268
RZ
4930 * mail/sendmail.el (mail-yank-region):
4931 Recognize rmail-yank-current-message in addition to insert-buffer.
4932 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4933 a *mail* buffer created through rmail-start-mail with sendmail as
4934 mail-user-agent.
4935
33017faf
GM
49362012-05-27 Chong Yidong <cyd@gnu.org>
4937
4938 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4939 Default to 256 (Bug#11267).
4940
4941 * help.el (describe-mode): Doc fix.
4942
04188bb9
GM
49432012-05-26 Glenn Morris <rgm@gnu.org>
4944
38264cc9
GM
4945 * w32-fns.el (w32-init-info): Remove.
4946 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4947
eb7afdad
GM
4948 * info.el (info-initialize): For self-contained NS builds, put the
4949 included info/ directory at the front. (Bug#2791)
4950
04188bb9
GM
4951 * paths.el (Info-default-directory-list): Make it a defcustom,
4952 mainly so that we can use custom-initialize-delay.
4953
a179e3f7
SM
49542012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4955
43416392
SM
4956 * subr.el (buffer-has-markers-at): Mark obsolete.
4957
a179e3f7 4958 * subr.el (lambda): Use declare.
43416392 4959
a179e3f7
SM
4960 * emacs-lisp/lisp-mode.el (lambda):
4961 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4962
34a008d9
AH
49632012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4964
4965 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4966
0a3b289f
GM
49672012-05-26 Glenn Morris <rgm@gnu.org>
4968
4969 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4970
758c81e8
GM
49712012-05-25 Glenn Morris <rgm@gnu.org>
4972
f9f334f0
GM
4973 * paths.el: Remove no-byte-compile.
4974 * loadup.el: No need to load paths.el uncompiled.
4975
87eb79c2
GM
4976 * image.el (imagemagick-types-inhibit): Doc fix.
4977
758c81e8
GM
4978 * version.el: Remove no-byte-compile and associated formatting.
4979 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4980 is ancient code from when there was an "inc-vers.el".
4981
e7e85dc0
SM
49822012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * progmodes/gdb-mi.el: Minor style changes.
4985 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4986 Turn into minor modes.
4987 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4988 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4989 (gdb-shell): Remove unneeded let-binding.
4990 (gdb-get-many-fields): Eliminate O(n²) behavior.
4991
f31237a4
EZ
49922012-05-25 Eli Zaretskii <eliz@gnu.org>
4993
4994 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4995 platforms that don't link in fontset.c.
4996
bc1b21bb
JL
49972012-05-25 Juri Linkov <juri@jurta.org>
4998
4999 Use the same diff color scheme as in modern VCSes (bug#10181).
5000
5001 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5002 to avoid confusion with `diff-added' that now uses green colors.
5003 (diff-removed): Use shades of red.
5004 (diff-added): Use shades of green.
5005 (diff-changed): Leave just the yellow color.
5006 (diff-use-changed-face): New variable.
5007 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5008 how to highlight context diff changes.
5009 (diff-refine-change): Use shades of yellow.
5010 (diff-refine-removed): New face that uses shades of red.
5011 (diff-refine-added): New face that uses shades of green.
5012 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5013 `diff-refine-removed' in the call to `smerge-refine-subst'
5014 depending on the value of `diff-use-changed-face'.
5015
5016 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5017 (smerge-other): Use shades of green.
5018 (smerge-base): Use shades of yellow.
5019 (smerge-refined-change): Empty face.
5020 (smerge-refined-removed): New face that uses shades of red.
5021 (smerge-refined-added): New face that uses shades of green.
5022 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5023 args `props-r' and `props-a', and use them. Doc fix.
5024 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5025 on its value use different faces `smerge-refined-change',
5026 `smerge-refined-removed', `smerge-refined-added' in the call to
5027 `smerge-refine-subst'.
5028
5029 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5030 Add face condition `min-colors 88' with shades of red.
5031 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5032 `min-colors 88' with shades of green.
5033 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5034 `min-colors 88' with shades of yellow.
5035
6df9112c
GM
50362012-05-24 Glenn Morris <rgm@gnu.org>
5037
ead5edc0
GM
5038 * paths.el (prune-directory-list, remote-shell-program): Move to...
5039 * files.el (prune-directory-list, remote-shell-program): ...here.
5040 For the latter, delay initialization, prefer ssh, just search PATH.
5041
f18b81e6
GM
5042 * paths.el (term-file-prefix): Move to faces.el (the only user).
5043 * faces.el (term-file-prefix): Move here, make it a defcustom.
5044
ee2f89a6
GM
5045 * paths.el (news-directory, news-path, news-inews-program):
5046 Move to gnus/nnspool.el.
61a583ca 5047
f8815e4c
GM
5048 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5049
c8f3b42c
GM
5050 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5051 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5052 Make the latter a defcustom, with a delayed initialization.
5053
6df9112c
GM
5054 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5055 These were deleted from Gnus itself late 2010.
5056
5dadff36
JB
50572012-05-22 Juanma Barranquero <lekktu@gmail.com>
5058
9e1701c6
JB
5059 * progmodes/which-func.el (which-func-ff-hook):
5060 Check against user-error, not error.
5061
bd7239f5 5062 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5063 cl-specs.el, which no longer exists.
5064
3290526d
GM
50652012-05-22 Glenn Morris <rgm@gnu.org>
5066
5067 * info.el (info-emacs-bug): New command.
5068 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5069 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5070
ff0c3cfb
GM
50712012-05-21 Glenn Morris <rgm@gnu.org>
5072
5073 * makefile.w32-in (update-subdirs-SH):
5074 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5075
5814f126
SM
50762012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5077
a52c0aa0
SM
5078 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5079
5814f126
SM
5080 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5081 Simplify Maven regexp, and make sure the file can't start with a space
5082 (bug#11517).
5083
b847032c
GM
50842012-05-21 Glenn Morris <rgm@gnu.org>
5085
5086 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5087 Scrap superfluous subshells.
5088
3858bfe7
SM
50892012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5090
5091 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5092 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5093
d14b0029
JB
50942012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5095
5096 * calc/calc.el (calc-ensure-consistent-units): New variable.
5097
a52c0aa0
SM
5098 * calc/calc-units.el (math-consistent-units-p)
5099 (math-check-unit-consistency): New functions.
5100 (calc-quick-units, calc-convert-units):
5101 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5102 is non-nil.
d14b0029
JB
5103 (calc-extract-units): Fix typo.
5104
60c4db3a
SM
51052012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5106
77f3b62e
SM
5107 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5108
60c4db3a
SM
5109 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5110 (flyspell-default-deplacement-commands): Don't spell check after
5111 repeated window/frame switches (e.g. triggered by mouse-movement).
5112 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5113 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5114 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5115 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5116 Remove unused vars.
5117 (flyspell-get-casechars, flyspell-get-not-casechars):
5118 Simplify; Don't bother removing a ] just to add it back.
5119 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5120
d209e2fb 51212012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5122
5123 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5124 New functions.
bd7239f5 5125 (math-function-table): Add support for more C functions.
b1a10716 5126
3f1b25b5
AM
51272012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5128
090bd7cb
JB
5129 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5130 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5131 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5132
b581bb5c
SM
51332012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5136 their respective macro declarations.
5137 * skeleton.el (define-skeleton):
5138 * progmodes/compile.el (define-compilation-mode):
5139 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5140 (define-ibuffer-filter):
5141 * emacs-lisp/generic.el (define-generic-mode):
5142 * emacs-lisp/easy-mmode.el (define-minor-mode)
5143 (define-globalized-minor-mode):
5144 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5145 * emacs-lisp/byte-run.el (defsubst):
5146 * custom.el (deftheme): Add doc-string metadata.
5147
70b8ef8f
SM
51482012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5151
b1198e17
SM
51522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5153
9abdc45d
SM
5154 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5155
b1198e17
SM
5156 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5157 * emacs-lisp/cl-macs.el: Idem.
5158 * emacs-lisp/cl-specs.el: Remove.
5159
4735906a
SM
51602012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 Minor renaming of internal CL functions and variables.
5163 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5164 (cl--position): Rename from cl-position.
5165 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5166 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5167 (cl--random-state): Rename from *random-state*.
5168
ac348012
SM
51692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5172 parens around the arg list (bug#11499).
5173
a0a79cde
JL
51742012-05-17 Juri Linkov <juri@jurta.org>
5175
5176 * isearch.el (word-search-regexp, word-search-backward)
5177 (word-search-forward, word-search-backward-lax)
5178 (word-search-forward-lax): Move functions from search.c
5179 (bug#10145, bug#11381).
5180
65034a51
AM
51812012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5182
090bd7cb
JB
5183 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5184 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5185 Delay for otherchars as for normal word components.
65034a51 5186
1a72a195
SM
51872012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * minibuffer.el (completion--sifn-requote): Fix last change.
5190 (minibuffer-local-must-match-filename-map):
5191 Move define-obsolete-variable-alias before its var.
5192
fdb058c2
SM
51932012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5194
c41045e6
SM
5195 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5196
036dfb8b
SM
5197 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5198 behavior.
5199 (completion--string-equal-p): New function.
5200 (completion--twq-all): Use it to get better assertion failure data.
5201
2473256d
SM
5202 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5203 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5204 (shell--requote-argument): New functions.
5205 (shell-completion-vars): Use them.
5206 (shell--parse-pcomplete-arguments): Rename from
5207 shell-parse-pcomplete-arguments.
5208 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5209 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5210 Obey comint-file-name-quote-list.
5211
fdb058c2
SM
5212 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5213 (smie-indent-keyword): Use it.
5214
51fa99f1
SM
52152012-05-14 Stefan Merten <smerten@oekonux.de>
5216
5217 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5218
e18afed7 52192012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5220
5221 * net/rlogin.el (rlogin-mode-map): Fix last change.
5222
e18afed7 52232012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5224
5225 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5226 the following \r\n using a single `process-send-string', since the
5227 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5228 with two `process-send-string's (Bug#11444).
8633b1f4 5229
e18afed7 52302012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5231
fdb058c2
SM
5232 * shell.el (shell-parse-pcomplete-arguments):
5233 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5234
2d21d7f6
WJ
52352012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5236
e18afed7 5237 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5238 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5239 (image-transform-width, image-transform-fit-width): New functions.
5240 (image-transform-properties): Use them.
5241 (image-transform-check-size): New function.
5242 (image-toggle-display-image): Use it (for testing).
5243 (image-transform-set-rotation): Reduce angle mod 360.
5244 Delete obsolete comment.
5245
7102e6d0
WJ
52462012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5247
5248 * image-mode.el: Fix scaling (bug#11399).
5249 (image-transform-resize): Doc fix.
5250 (image-transform-properties): Default scale is 1 and height should
5251 be an integer.
5252
06bc5e6e
SM
52532012-05-13 Johan Bockgård <bojohan@gnu.org>
5254
5255 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5256 than hard-coding `car', to fix misbehavior when moving forward.
5257
0ae03b6a
CY
52582012-05-13 Chong Yidong <cyd@gnu.org>
5259
5260 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5261 (tabulated-list-entries, tabulated-list-padding)
5262 (tabulated-list-sort-key): Make permanent-local.
5263
5264 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5265 (electric-buffer-list): Put electric buffer menu
5266 command descriptions in this docstring, instead of the docstring
5267 of electric-buffer-menu-mode. Code cleanups.
5268 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5269 Electric-buffer-menu-mode.
5270 (electric-buffer-update-highlight): Minor code cleanup.
5271
205a7391
MA
52722012-05-13 Michael Albinus <michael.albinus@gmx.de>
5273
5274 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5275 (Bug#11447)
5276
e5bd0a28
SM
52772012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 Move define-obsolete-variable-alias before the var's definition.
5280 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5281 * tooltip.el (tooltip-hook):
5282 * textmodes/reftex-toc.el (reftex-toc-map):
5283 * textmodes/reftex-sel.el (reftex-select-label-map)
5284 (reftex-select-bib-map):
5285 * textmodes/reftex-index.el (reftex-index-map)
5286 (reftex-index-phrases-map):
5287 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5288 * progmodes/meta-mode.el (meta-mode-map):
5289 * novice.el (disabled-command-hook):
5290 * loadhist.el (unload-hook-features-list):
5291 * frame.el (blink-cursor):
5292 * files.el (find-file-not-found-hooks, write-file-hooks)
5293 (write-contents-hooks):
5294 * emulation/tpu-edt.el (GOLD-map):
5295 * emacs-lock.el (emacs-lock-from-exiting):
5296 * emacs-lisp/generic.el (generic-font-lock-defaults):
5297 * emacs-lisp/chart.el (chart-map):
5298 * dos-fns.el (register-name-alist):
5299 * dired-x.el (dired-omit-files-p):
5300 * desktop.el (desktop-enable):
5301 * cus-edit.el (custom-mode-hook):
5302 * buff-menu.el (buffer-menu-mode-hook):
5303 * bookmark.el (bookmark-read-annotation-text-func)
5304 (bookmark-exit-hooks):
5305 * allout.el (allout-mode-deactivate-hook)
5306 (allout-exposure-change-hook, allout-structure-added-hook)
5307 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5308 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5309 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5310 comes before the corresponding variable's definition.
5311
ac59c2f6
CY
53122012-05-12 Chong Yidong <cyd@gnu.org>
5313
5314 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5315 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5316 (Buffer-menu-mode-map): Bind it.
5317 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5318
dee6c9a3
SM
53192012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5320
2171cea5
SM
5321 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5322 (prolog-upper-case-string, prolog-lower-case-string)
5323 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5324 (prolog-use-smie, prolog-smie-grammar): New vars.
5325 (prolog-smie-forward-token, prolog-smie-backward-token)
5326 (prolog-smie-rules): New funs.
5327 (prolog-comment-indent): Remove.
5328 (prolog-mode-variables): Use default comment indentation instead.
5329 Setup SMIE.
5330 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5331 (prolog-mode): Don't call them any more.
5332 (prolog-electric-colon, prolog-electric-dash)
5333 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5334
aa0382bd
SM
5335 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5336
dbacb4bd
SM
5337 * minibuffer.el (completion--twq-all): Again, allow case differences.
5338
13bdd94c
SM
5339 * term.el: Move keymap initialization code to be more idiomatic.
5340 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5341 (term-terminal-menu): Move initialization into declaration.
5342 (term-escape-char): Let the user set it in her .emacs.
5343
ff46c759
SM
5344 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5345 Provide SMIE-based indentation (not enabled by default yet).
5346 (sh-mode-map): Don't bind electric keys.
5347 Use electric-pair-mode instead of skeleton-pair.
5348 (sh-assignment-regexp): Fit within 80 columns.
5349 (sh-indent-supported): Specify actual shell name instead of boolean.
5350 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5351 (sh-maybe-here-document): Use it. Make obsolete.
5352 (sh-electric-here-document-mode) New minor mode.
5353 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5354 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5355 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5356 (sh-smie-rc-grammar, sh-use-smie): New vars.
5357 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5358 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5359 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5360 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5361 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5362 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5363 (sh-set-shell): Use smie-setup if requested.
5364
dee6c9a3
SM
5365 * term.el (term-set-escape-char): Properly set term-escape-char.
5366 See http://stackoverflow.com/questions/10524656.
5367
9f9aa044
CY
53682012-05-10 Chong Yidong <cyd@gnu.org>
5369
5370 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5371 Use url-generic-parse-url, and handle host names and Windows
5372 filenames properly.
5373 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5374 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5375 URL schemes to work on.
5376 (ffap--toggle-read-only): New function.
5377 (ffap-read-only, ffap-read-only-other-window)
5378 (ffap-read-only-other-frame): Use it.
5379 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5380 necessary for ffap-url-unwrap-remote.
5381
836d29b3
DA
53822012-05-10 Dave Abrahams <dave@boostpro.com>
5383
5384 * cus-start.el (create-lockfiles): Add it.
5385
00fd78ed
CY
53862012-05-09 Chong Yidong <cyd@gnu.org>
5387
5388 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5389 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5390
666b903b 53912012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5392
5393 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5394
666b903b 53952012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5396
5397 * ansi-color.el (ansi-color-process-output): Check for validity of
5398 comint-last-output-start before using it. This avoids a bad
5399 interaction with gdb-mi's input/output buffer.
5400
666b903b 54012012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5402
5403 * files.el (dir-locals-read-from-file):
5404 Mention dir-locals in any error message.
5405
666b903b 54062012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5407
5408 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5409 package (Bug#11410).
5410
f677562b
CY
5411 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5412 variables into description.
5413
666b903b 54142012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5415
5416 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5417 shell-delimiter-argument-list (bug#11348).
5418 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5419
b499d8d0
JB
54202012-05-09 Juanma Barranquero <lekktu@gmail.com>
5421
8f6b6da8
JB
5422 * textmodes/rst.el: Silence byte-compiler warnings.
5423 (rst-re-alist, rst-reset-section-caches): Move around.
5424 (rst-re): Use `characterp', not `char-valid-p'.
5425 (font-lock-beg, font-lock-end): Declare.
5426
4824146a
JB
5427 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5428 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5429
b499d8d0
JB
5430 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5431
ad89bb83
GM
54322012-05-08 Glenn Morris <rgm@gnu.org>
5433
5434 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5435
8bba5a75
SM
54362012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5437
49ed9c8e
SM
5438 * vc/log-edit.el: Add GNU coding standards highlighting.
5439 (log-edit-font-lock-gnu-style)
5440 (log-edit-font-lock-gnu-keywords): New vars.
5441 (log-edit-font-lock-keywords): New fun.
5442 (log-edit-mode): Don't fold case in font-lock.
5443 (log-edit-font-lock-keywords): Do not assume case-folding.
5444
07d00b56
SM
5445 * imenu.el: Misc cleanup. Make docstrings out of comments.
5446 Use lexical-binding.
5447 (imenu--index-alist, imenu--last-menubar-index-alist)
5448 (imenu-menubar-modified-tick): Use defvar-local.
5449 (imenu--split-menu): Remove unused var.
5450 (imenu--cleanup-seen): Declare as global.
5451 (imenu--cleanup): Use dolist.
5452
8bba5a75
SM
5453 * subr.el (defvar-local): Add debug spec and doc-string position.
5454
5075bdb5
GM
54552012-05-08 Glenn Morris <rgm@gnu.org>
5456
090bd7cb 5457 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5458 * language/english.el, language/georgian.el, language/greek.el:
5459 * language/japanese.el, language/khmer.el, language/korean.el:
5460 * language/lao.el, language/misc-lang.el, language/romanian.el:
5461 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5462 * language/thai.el, language/utf-8-lang.el:
5463 Remove no-byte-compile setting.
5464
5075bdb5
GM
5465 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5466
06f679a7
AH
54672012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5468
5469 * progmodes/make-mode.el (makefile-browse):
5470 Remove unnecessary interactive. (Bug#11324)
5471
03794570
GM
54722012-05-07 Glenn Morris <rgm@gnu.org>
5473
af8630f4
GM
5474 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5475
03794570
GM
5476 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5477
f0809a9d
SM
54782012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5479
28be5ce7
SM
5480 * loadup.el: Preload newcomment.el.
5481 * newcomment.el: Move autoload-only code to toplevel.
5482
f0809a9d
SM
5483 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5484 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5485 Handle new :right-align column property.
5486 (tabulated-list-print-col): Idem, plus use `display' text-property to
5487 try and preserve alignment for variable pitch fonts.
5488
1241b724
CY
54892012-05-07 Chong Yidong <cyd@gnu.org>
5490
5491 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5492 (tabulated-list-use-header-line): New var.
5493 (tabulated-list-init-header): Use it.
5494 (tabulated-list-print-fake-header): New function.
5495 (tabulated-list-print): Use it.
5496 (tabulated-list-sort-button-map): Add non-header-line commands.
5497 (tabulated-list-init-header): Add column name property to basic
5498 labels as well.
5499 (tabulated-list-col-sort): Handle non-header-line button case.
5500 (tabulated-list--sort-by-column-name): Fix a corner case.
5501
f0809a9d
SM
5502 * buff-menu.el (list-buffers--refresh):
5503 Handle Buffer-menu-use-header-line.
1241b724 5504
e5f9458f
CY
55052012-05-06 Chong Yidong <cyd@gnu.org>
5506
5507 * buff-menu.el: Convert to Tabulated List mode.
5508 (Buffer-menu-buffer+size-width): Make obsolete.
5509 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5510 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5511 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5512 documentation into docstring of buffer-menu.
5513 (Buffer-menu-toggle-files-only): Add an informative message.
5514 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5515 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5516 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5517 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5518 (Buffer-menu-execute, Buffer-menu-select)
5519 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5520 (Buffer-menu-bury): Use Tabulated List machinery.
5521 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5522 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5523 Delete.
e5f9458f
CY
5524 (list-buffers--refresh): New function.
5525 (list-buffers-noselect): Use it.
5526 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5527 (Buffer-menu--pretty-file-name): New helper functions.
5528
5529 * loadup.el: Preload tabulated-list.
5530
5531 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5532 tabulated-list-sort-column.
5533 (tabulated-list-init-header): Add the initial aligning space even
5534 if tabulated-list-padding is zero.
5535
e129292c
CS
55362012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5537
5538 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5539 whose cdr is not a cons cell correctly (bug#11038).
5540
6632d361
CY
55412012-05-06 Chong Yidong <cyd@gnu.org>
5542
e129292c
CS
5543 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5544 Accept additional plist in column descriptors.
6632d361
CY
5545 (tabulated-list-init-header): Obey it.
5546 (tabulated-list-get-entry): New function.
5547 (tabulated-list-put-tag): Use it. Use string-width instead of
5548 length.
5549 (tabulated-list--column-number): New function.
5550 (tabulated-list-print): Use it.
e129292c
CS
5551 (tabulated-list-print-col): New function.
5552 Set `tabulated-list-column-name' property on each column's text.
6632d361 5553 (tabulated-list-print-entry): Use it.
e129292c
CS
5554 (tabulated-list-delete-entry, tabulated-list-set-col):
5555 New functions.
6632d361
CY
5556 (tabulated-list-sort-column): New command (Bug#11337).
5557
3cc99f68
CY
5558 * buff-menu.el (list-buffers): Move C-x C-b binding from
5559 buff-menu.el to bindings.el.
5560
5561 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5562 :advertised-binding feature.
5563
52b61776
TN
55642012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5565
5566 * progmodes/compile.el (compilation-internal-error-properties):
5567 Calculate start position correctly when end-col is set but
5568 end-line is not (Bug#11382).
5569
ebfe2597
WJ
55702012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5571
5572 * man.el (Man-unindent): Use text-property-default-nonsticky to
5573 prevent untabify from inheriting face properties (Bug#11408).
5574
6d3f7c2f
SM
55752012-05-05 Stefan Merten <smerten@oekonux.de>
5576
5577 * textmodes/rst.el: Major merge with upstream development up to
5578 Docutils SVN r7399 / rst.el V1.2.1.
5579
5580 Clarify maintainership and authors.
5581
5582 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5583 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5584 (rst-official-version, rst-official-cvs-rev, rst-version)
5585 (rst-package-emacs-version-alist): New functions and variables
5586 for version information.
5587
5588 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5589 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5590 (rst-mode-syntax-table, rst-mode): New and corrected functions
5591 and variables representing reStructuredText features.
5592
5593 (rst-re): New function for reStructuredText regexes. Use in
5594 many places.
5595
5596 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5597 (rst-mode-map): Rebind keys.
5598
5599 (rst-mode-lazy, rst-font-lock-keywords)
5600 (rst-font-lock-extend-region)
5601 (rst-font-lock-extend-region-internal)
5602 (rst-font-lock-extend-region-extend)
5603 (rst-font-lock-find-unindented-line-limit)
5604 (rst-font-lock-find-unindented-line-match)
5605 (rst-adornment-level, rst-font-lock-adornment-level)
5606 (rst-font-lock-adornment-match)
5607 (rst-font-lock-handle-adornment-pre-match-form)
5608 (rst-font-lock-handle-adornment-matcher): Major revision of
5609 font-locking. Integrate with other code. Use `jit-lock-mode'.
5610
5611 (rst-preferred-adornments, rst-adjust-hook)
5612 (rst-new-adornment-down, rst-preferred-bullets)
5613 (rst-preferred-bullets, rst-indent, rst-indent-width)
5614 (rst-indent-field, rst-indent-literal-normal)
5615 (rst-indent-literal-minimized, rst-indent-comment): Change,
5616 extend and improve customization.
5617
5618 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5619 (rst-normalize-cursor-position, rst-get-decoration)
5620 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5621 (rst-rstrip, rst-toc-insert-find-delete-contents)
5622 (rst-shift-fill-region, rst-compute-bullet-tabs)
5623 (rst-debug-print-tabs, rst-debug-mark-found)
5624 (rst-shift-region-guts, rst-shift-region-right)
5625 (rst-shift-region-left, rst-use-char-classes)
5626 (rst-font-lock-keywords-function)
5627 (rst-font-lock-indentation-point)
5628 (rst-font-lock-find-unindented-line-begin)
5629 (rst-font-lock-find-unindented-line-end)
5630 (rst-font-lock-find-unindented-line)
5631 (rst-font-lock-adornment-point, rst-font-lock-level)
5632 (rst-adornment-level-alist): Remove functions and variables.
5633
5634 (rst-compare-adornments, rst-get-adornment-match)
5635 (rst-suggest-new-adornment, rst-get-adornments-around)
5636 (rst-adornment-complete-p, rst-get-next-adornment)
5637 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5638 (rst-straighten-adornments): Standardize function names to
5639 use "adornment" instead of "decoration". Correct callers.
5640 Similar standardizing in many places.
5641
5642 (rst-update-section, rst-adjust, rst-promote-region)
5643 (rst-enumerate-region, rst-bullet-list-region)
5644 (rst-repeat-last-character): Correct use of `interactive'.
5645
5646 (rst-classify-adornment, rst-find-all-adornments)
5647 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5648 (rst-find-leftmost-column, rst-repeat-last-character):
5649 Refactor functions.
5650
5651 (rst-find-title-line, rst-reset-section-caches)
5652 (rst-get-adornments-around, rst-adjust-adornment-work)
5653 (rst-arabic-to-roman, rst-roman-to-arabic)
5654 (rst-insert-list-pos, rst-insert-list-new-item)
5655 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5656 New functions.
5657
5658 (rst-all-sections, rst-section-hierarchy)
5659 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5660 New variables.
5661
5662 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5663 configuration instead of only buffer. Change where necessary.
5664
5665 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5666 (rst-shift-region, rst-adaptive-fill): New functions for
5667 indentation and filling.
5668
5669 (rst-comment-line-break, rst-comment-indent)
5670 (rst-comment-insert-comment, rst-comment-region)
5671 (rst-uncomment-region): New functions for handling comments.
5672
5673 (rst-compile): Quote shell arguments.
5674
5675 (rst-compile-pdf-preview, rst-compile-slides-preview):
5676 Delete temporary files after use.
5677
a43f98b3
GM
56782012-05-05 Glenn Morris <rgm@gnu.org>
5679
48176e8b
GM
5680 * calendar/cal-html.el: Optionally include holidays in the output.
5681 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5682 (cal-html-holidays): New option.
5683 (cal-html-css-default): Add holiday entry.
5684 (holiday-in-range): Autoload it.
5685 (cal-html-htmlify-entry): Add optional class argument.
5686 (cal-html-htmlify-list): Add optional holidays argument.
5687 (cal-html-insert-agenda-days): Include holidays in the output.
5688 (cal-html-one-month): Maybe include holidays.
5689
a43f98b3
GM
5690 * calendar/holidays.el (holiday-in-range):
5691 Move here from cal-tex-list-holidays.
5692 * calendar/cal-tex.el (cal-tex-list-holidays):
5693 Make it an obsolete alias for holiday-in-range. Update all callers.
5694
fef9d149 56952012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5696
5697 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5698 Nextstep.
5699
248da2f4
RW
57002012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5701
5702 * files.el (file-auto-mode-skip): New var.
5703 (set-auto-mode-1): Use it.
5704
f95e9344
SM
57052012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5706
df96ab1e
SM
5707 * repeat.el: Use lexical-binding.
5708 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5709 (repeat-undo-count): Remove.
5710 (repeat):
5711 * progmodes/octave-mod.el (octave-abbrev-start):
5712 * progmodes/f90.el (f90-abbrev-start):
5713 * face-remap.el (text-scale-adjust):
5714 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5715
5342bb06
SM
5716 * emacs-lisp/pcase.el (pcase--let*): New function.
5717 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5718 a bit more.
5719 (pcase--split-pred): Be more clever about ruling out overlap between
5720 a predicate and some constant pattern.
5721 (pcase--q1): Use `null' instead of (eq foo nil).
5722
f95e9344
SM
5723 * subr.el (setq-local, defvar-local): New macros.
5724 (kbd): Redefine as an alias.
5725 (with-selected-window): Leave unrelated frames alone.
5726 (set-temporary-overlay-map): New function.
5727
71873e2b
SM
57282012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5729
5730 * subr.el (user-error): New function.
5731 * window.el (switch-to-buffer):
5732 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5733 (smerge-match-conflict):
5734 * simple.el (previous-matching-history-element)
5735 (next-matching-history-element, goto-history-element, undo-more)
5736 (undo-start):
5737 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5738 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5739 (next-file, tags-loop-scan, list-tags, complete-tag):
5740 * progmodes/compile.el (compilation-loop):
5741 * mouse.el (mouse-minibuffer-check):
5742 * man.el (Man-bgproc-sentinel, Man-goto-page):
5743 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5744 (Info-history-forward, Info-follow-reference, Info-menu)
5745 (Info-extract-menu-item, Info-extract-menu-counting)
5746 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5747 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5748 (Info-next-reference, Info-prev-reference, Info-index)
5749 (Info-index-next, Info-follow-nearest-node)
5750 (Info-copy-current-node-name):
5751 * imenu.el (imenu--make-index-alist)
5752 (imenu-default-create-index-function, imenu-add-to-menubar):
5753 * files.el (basic-save-buffer, recover-file):
5754 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5755 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5756 (checkdoc-message-text, checkdoc-defun):
5757 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5758 * cus-edit.el (customize-changed-options, customize-rogue)
5759 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5760 (custom-variable-mark-to-reset-standard)
5761 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5762 (custom-file):
5763 * completion.el (check-completion-length):
5764 * comint.el (comint-search-arg)
5765 (comint-previous-matching-input-string-position)
5766 (comint-previous-matching-input)
5767 (comint-replace-by-expanded-history-before-point, comint-send-input)
5768 (comint-copy-old-input, comint-backward-matching-input)
5769 (comint-goto-process-mark, comint-set-process-mark):
5770 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5771 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5772
8a61ee22
SM
57732012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5774
66408d1e
SM
5775 * dabbrev.el (dabbrev--ignore-case-p): New function.
5776 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5777 Use it.
5778
8a61ee22
SM
5779 * files.el (automount-dir-prefix): Mark as obsolete.
5780
3c74813a
GM
57812012-05-04 Glenn Morris <rgm@gnu.org>
5782
5783 * patcomp.el, play/bruce.el: Move to obsolete/.
5784
0bfcf5c5
PE
57852012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5786
5787 Fix minor Y10k bugs.
5788 * arc-mode.el (archive-unixdate):
5789 * autoinsert.el (auto-insert-alist):
5790 * calc/calc-forms.el (math-this-year):
5791 * emacs-lisp/copyright.el (copyright-current-year)
5792 (copyright-update-year, copyright):
5793 * tar-mode.el (tar-clip-time-string):
5794 * time.el (display-time-update):
5795 Don't assume years have 4 digits.
5796
78f3273a
CY
57972012-05-04 Chong Yidong <cyd@gnu.org>
5798
5799 * dos-w32.el (file-name-buffer-file-type-alist)
5800 (direct-print-region-use-command-dot-com):
5801 * ffap.el (ffap-menu-regexp):
5802 * find-file.el (ff-special-constructs):
5803 * follow.el (follow-debug):
5804 * forms.el (forms--debug):
5805 * iswitchb.el (iswitchb-all-frames):
5806 * ido.el (ido-all-frames):
5807 * emacs-lisp/timer.el (timer-max-repeats):
5808 * mail/feedmail.el (feedmail-mail-send-hook)
5809 (feedmail-mail-send-hook-queued):
5810 * mail/footnote.el (footnote-signature-separator):
5811 * mail/mailabbrev.el (mail-alias-separator-string)
5812 (mail-abbrev-mode-regexp):
5813 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5814 * progmodes/idlwave.el (idlwave-libinfo-file)
5815 (idlwave-default-completion-case-is-down)
5816 (idlwave-library-routines): Convert defvars to defcustoms.
5817
5818 * mail/rmail.el (rmail-decode-mime-charset):
5819 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5820 (idlwave-shell-fix-inserted-breaks)
5821 (idlwave-shell-activate-alt-keybindings)
5822 (idlwave-shell-use-breakpoint-glyph):
5823 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5824
f7ae6719
SM
58252012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5828
47086495
WS
58292012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5830
5831 * progmodes/verilog-mode.el (font-lock-keywords):
5832 Fix mis-highligting auto. Reported by Craig Barner.
5833 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5834 defines from global name space. Reported by Dan Dever.
47086495
WS
5835 (verilog-auto-reset, verilog-auto-reset-widths)
5836 (verilog-auto-tieoff): Support using unbased numbers for
5837 AUTORESET and AUTOTIEOFF.
5838 (verilog-submit-bug-report): Update variable list.
5839 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5840 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5841 (verilog-auto-template-lint): Fix hash error when linting modules
5842 with no used templates.
5843 (verilog-warn, verilog-warn-error)
5844 (verilog-warn-fatal): When non-interactive report multiple
5845 warnings before exiting. Suggested by Brad Dobbie.
5846 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5847 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5848 to report unused template errors. Reported by Brad Dobbie.
5849 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5850 nets, bug438. Reported by Vns Blore.
47086495
WS
5851 (verilog-auto-inout-module, verilog-auto-reg)
5852 (verilog-read-decls, verilog-read-sub-decls-sig)
5853 (verilog-signals-edit-wire-reg, verilog-signals-with):
5854 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5855 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5856 "reg" for backwards compatibility presuming Verilog 2001.
5857 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5858 (verilog-preprocess): Fix replication of preprocess output.
5859 Reported by Brad Dobbie.
5860 (verilog-auto-inst-interfaced-ports):
5861 Create verilog-auto-inst-interfaced-ports, bug429.
5862 Reported by Julian Gorfajn.
5863 (verilog-after-save-font-hook)
5864 (verilog-before-save-font-hook): New variable.
5865 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5866 (verilog-save-font-mods): Wrap disabling fontification, reported
5867 by David Rogoff.
5868 (verilog-do-indent, verilog-pretty-declarations-auto)
5869 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5870 Reported by Pierre-David Pfister.
5871 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5872 of class declarations, bug292. Reported by Kevin Heilman.
5873 (verilog-read-decls): Fix 'parameter type' not appearing in
5874 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5875 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5876 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5877 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5878 Reported by David Kravitz.
5879
58802012-05-03 Michael McNamara <mac@mail.brushroad.com>
5881
5882 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5883 assignment with tests in ifs and for loops.
5884 (verilog-extended-complete-re, verilog-complete-reg): Change so
5885 that DPI inport functions don't look like fuction declarations.
5886 (verilog-pretty-expr): Don't line up assignment
5887 operations to the test and increment in if and for loops
5888 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5889 that DPI inport functions don't look like fuction declarations.
47086495 5890
2e51d4b5
KH
58912012-05-03 Kenichi Handa <handa@m17n.org>
5892
5893 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5894 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5895 (Bug#11282).
5896
2bd785a2
SM
58972012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * emacs-lisp/bytecomp.el
5900 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5901 since cconv.el might have introduced :fun-body, internal-make-closure,
5902 and friends for bytecomp to handle (bug#11391).
5903 * custom.el (defcustom): Avoid ((λ ..) ..).
5904
99d27583
SM
59052012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5908
55a71479
JB
59092012-05-02 Juanma Barranquero <lekktu@gmail.com>
5910
5911 * notifications.el (dbus-debug):
5912 * term/linux.el (gpm-mouse-enable):
5913 * term/screen.el (xterm-register-default-colors): Declare.
5914
7b97c764
CY
59152012-05-02 Chong Yidong <cyd@gnu.org>
5916
2bc356d7
CY
5917 * cus-start.el (gc-cons-percentage, exec-suffixes)
5918 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5919 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5920 (make-cursor-line-fully-visible, void-text-area-pointer)
5921 (font-list-limit): Add customization data.
5922
7b97c764
CY
5923 * allout.el (allout-exposure-change-functions)
5924 (allout-structure-added-functions)
5925 (allout-structure-deleted-functions)
5926 (allout-structure-shifted-functions): Rename abnormal hooks from
5927 *-hook, and convert to defcustoms.
5d3385a0
JB
5928 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5929 Convert to defcustoms.
7b97c764
CY
5930 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5931
5932 * allout-widgets.el: Hook callers changed.
5933
90207a15 59342012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5935
5936 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5937 the yanked message in preference to the default value of
5938 buffer-file-coding-system.
5939
90207a15 59402012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5941
5d3385a0
JB
5942 * window.el (display-buffer--action-function-custom-type):
5943 Fix entry.
d9558cad 5944
90207a15 59452012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5946
5947 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5948
d80ac57b
GM
59492012-05-01 Glenn Morris <rgm@gnu.org>
5950
976f7668
GM
5951 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5952
beb83b5a
GM
5953 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5954
d80ac57b
GM
5955 * cus-edit.el (custom-variable-documentation): Simplify with format.
5956
b593d6a9 59572012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5958 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5959
5960 * simple.el (suggest-key-bindings, execute-extended-command):
5961 Move from keyboard.c.
5962
782fbf2a
CY
59632012-05-01 Chong Yidong <cyd@gnu.org>
5964
5965 * follow.el: Eliminate advice.
5966 (set-process-filter, process-filter, sit-for): Advice deleted.
5967 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5968 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5969 Vars deleted.
782fbf2a
CY
5970 (follow-auto): Use a :set function.
5971 (follow-mode): Rewritten. Don't advise process filters.
5972 (follow-switch-to-current-buffer-all, follow-scroll-up)
5973 (follow-scroll-down): Assume follow-mode is bound.
5974 (follow-comint-scroll-to-bottom)
5975 (follow-align-compilation-windows): New functions.
5976 (follow--window-sorter): New function.
5977 (follow-all-followers): Use it to explicitly sort windows by their
5978 positions; don't make assumptions about next-window order.
5979 (follow-windows-start-end, follow-delete-other-windows-and-split)
5980 (follow-calc-win-start): Doc fix.
5981 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5982 vertical-motion unnecessarily.
5983 (follow-adjust-window): New function.
5984 (follow-post-command-hook): Use it.
5985 (follow-call-set-process-filter, follow-call-process-filter)
5986 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5987 (follow-stop-intercept-process-output, follow-generic-filter):
5988 Functions deleted.
5989 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
5990 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5991 New functions, replacing advice on scroll-bar-* commands.
87233a14 5992 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
5993
5994 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
5995 (comint-postoutput-scroll-to-bottom): Use it.
5996 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 5997
290af740
GM
59982012-05-01 Glenn Morris <rgm@gnu.org>
5999
6000 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6001 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6002 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6003 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6004 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6005 Remove no-byte-compile setting.
6006
6eac8dc9
SM
60072012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6010 all-completions code to not return a number in the last cdr.
6011
9cc7819c
LL
60122012-04-30 Leo Liu <sdl.web@gmail.com>
6013
6014 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6015 read-only error.
6016
c93b886f
CY
60172012-04-29 Chong Yidong <cyd@gnu.org>
6018
6019 * follow.el (follow-calc-win-end): Rewrite to handle partial
6020 screen lines correctly (Bug#8390).
6021 (follow-avoid-tail-recenter): Minor cleanup.
6022
8b6c19f4
SM
60232012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 Avoid the obsolete `assoc' package.
6026 * speedbar.el (speedbar-refresh): Avoid adelete.
6027 (speedbar-file-lists): Simplify and avoid aput.
6028 * man.el (Man--sections, Man--refpages): New vars, replacing
6029 Man-sections-alist and Man-refpages-alist.
6030 (Man-build-section-alist, Man-build-references-alist):
6031 Use them; avoid aput.
6032 (Man--last-section, Man--last-refpage): New vars.
6033 (Man-follow-manual-reference): Use them.
6034 Use the `default' arg of completing-read.
6035 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6036
c5bb7569
CY
60372012-04-27 Chong Yidong <cyd@gnu.org>
6038
d1d2e2e8
CY
6039 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6040
15cd8efd
CY
6041 * startup.el (x-apply-session-resources): New function.
6042
6043 * term/ns-win.el (ns-initialize-window-system):
6044 * term/w32-win.el (w32-initialize-window-system):
6045 * term/x-win.el (x-initialize-window-system): Use it to properly
6046 set menu-bar-mode and other vars from X resources, even if the
6047 initial frame is not a window-system frame (Bug#2299).
6048
c5bb7569
CY
6049 * subr.el (read-key): Avoid running filter function when setting
6050 up temporary tool bar entries (Bug#9922).
6051
a8e7d6d7 60522012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6053
6054 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6055 (Bug#11344)
6056
a8e7d6d7 60572012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6058
6059 * select.el (xselect--encode-string): New function, split from
6060 xselect-convert-to-string.
6061 (xselect-convert-to-string): Use it.
6062 (xselect-convert-to-filename, xselect-convert-to-os)
6063 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6064 returned strings are properly encoded (Bug#11315).
6065
a8e7d6d7 60662012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6067
6068 * simple.el (delete-active-region): Move to killing custom group.
6069
a8e7d6d7 60702012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6071
6072 * progmodes/which-func.el (which-func-current): Quote %
6073 characters for mode-line processing.
6074
578c1d4b 60752012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6076
6077 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6078 reaching eob (Bug#11286).
6079
a8e7d6d7 60802012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6081
6082 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6083 (gdb): Make it buffer-local and init to zero.
6084 (gdb-control-commands-regexp): New variable.
6085 (gdb-send): Don't wrap in "-interpreter-exec console" if
6086 gdb-control-level is positive. Increment gdb-control-level
6087 whenever the command matches gdb-control-commands-regexp, and
6088 decrement it each time the command is "end". (Bug#11279)
6089
a8e7d6d7 60902012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6091
6092 * window.el (adjust-window-trailing-edge, enlarge-window)
6093 (shrink-window, window-resize):
6094 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6095 windows (Bug#11276).
6096
b3608390
CY
60972012-04-27 Chong Yidong <cyd@gnu.org>
6098
6099 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6100 fix "missing prefix" warning. All callers changed.
b3608390 6101
797e6e88
SM
61022012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6103
6104 * emacs-lisp/assoc.el: Move to obsolete/.
6105
e95a67dc
SM
61062012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6107
657c21e4 6108 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6109
6110 * term/ns-win.el (ns-define-service):
6111 * progmodes/pascal.el (pascal-goto-defun):
6112 * progmodes/js.el (js--read-tab):
6113 * progmodes/etags.el (tags-lazy-completion-table):
6114 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6115 * emacs-lisp/ewoc.el (ewoc--wrap):
6116 * emacs-lisp/assoc.el (aput, adelete, amake):
6117 * doc-view.el (doc-view-convert-current-doc):
6118 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6119
cb3e7ae0
CY
61202012-04-26 Chong Yidong <cyd@gnu.org>
6121
dce04f7f
CY
6122 * image.el (image-type-from-buffer): Only return supported image
6123 type (Bug#9045).
6124
cb3e7ae0
CY
6125 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6126 value, for symmetry with diff-end-of-hunk.
6127 (diff-split-hunk, diff-find-source-location)
6128 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6129 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6130 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6131 compute the relevant hunk or file properly (Bug#6005).
6132 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6133
0d42eb3e
SM
61342012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * vc/vc-mtn.el:
6137 * vc/vc-hg.el:
6138 * vc/vc-git.el:
6139 * vc/vc-dir.el:
6140 * vc/vc-cvs.el:
6141 * vc/vc-bzr.el:
6142 * vc/vc-arch.el:
6143 * vc/vc.el: Replace lexical-let by lexical-binding.
6144 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6145 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6146 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6147
f08ae1c9
CY
61482012-04-26 Chong Yidong <cyd@gnu.org>
6149
8b71081d
CY
6150 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6151 (diff-mode-shared-map): Bind it to / and [remap undo].
6152
f08ae1c9
CY
6153 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6154 (ediff-window-setup-function): Use it as the default, to set up
6155 windows based on whether the current frame is graphical (Bug#2138).
6156 (ediff-choose-window-setup-function-automatically): Make obsolete.
6157
6158 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6159
ef24141c
SM
61602012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6161
cc356a5d
SM
6162 * ffap.el: Remove old code for obsolete package.
6163 (ffap-complete-as-file-p): Remove.
6164
b4ff4f1f
SM
6165 Use completion-table-with-quoting for comint and pcomplete.
6166 * comint.el (comint--unquote&requote-argument)
6167 (comint--unquote-argument, comint--requote-argument): New functions.
6168 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6169 (comint-quote-filename): Use regexp-opt-charset.
6170 (comint--common-suffix, comint--common-quoted-suffix)
6171 (comint--table-subvert): Remove.
6172 (comint-unquote-function, comint-requote-function): New vars.
6173 (comint--complete-file-name-data): Use them with
6174 completion-table-with-quoting.
6175 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6176 * pcomplete.el (pcomplete-arg-quote-list)
6177 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6178 (pcomplete-unquote-argument-function): Default to non-nil.
6179 (pcomplete-unquote-argument): Simplify.
6180 (pcomplete--common-quoted-suffix): Remove.
6181 (pcomplete-requote-argument-function): New var.
6182 (pcomplete--common-suffix): New function.
6183 (pcomplete-completions-at-point): Use completion-table-with-quoting
6184 and completion-table-subvert.
6185
79c4eeb4
SM
6186 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6187 (minibuffer--double-dollars): Preserve properties.
6188 (completion--sifn-requote): New function.
6189 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6190
ef24141c
SM
6191 * minibuffer.el: Add support for completion of quoted/escaped data.
6192 (completion-table-with-quoting, completion-table-subvert): New funs.
6193 (completion--twq-try, completion--twq-all): New functions.
6194 (completion--nth-completion): New function.
6195 (completion-try-completion, completion-all-completions): Use it.
6196
784e7d6e
LL
61972012-04-25 Leo Liu <sdl.web@gmail.com>
6198
dd2ac746
SM
6199 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6200 Use compilation-message if available to find real filename.
784e7d6e 6201
07875ee7
CY
62022012-04-25 Chong Yidong <cyd@gnu.org>
6203
6204 * vc/diff-mode.el (diff-setup-whitespace): New function.
6205 (diff-mode): Use it.
6206
6207 * vc/diff.el (diff-sentinel):
6208 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6209 Whitespace mode variables based on diff style (Bug#8612).
6210
5055880d
LL
62112012-04-25 Leo Liu <sdl.web@gmail.com>
6212
daf75653
LL
6213 * progmodes/python.el (python-send-region): Add suffix .py to the
6214 temp file.
6215
5055880d
LL
6216 * files.el (auto-mode-alist): Use javascript-mode instead.
6217
db9b177b
AH
62182012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6219
ef24141c 6220 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6221
090bd7cb 6222 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6223 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6224 references, see Bug#9.
ef24141c 6225 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6226 when receiving a fault reply.
ef24141c 6227 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6228
090bd7cb 6229 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6230 (soap-inspect-simple-type): New function.
db9b177b 6231
090bd7cb 6232 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6233 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6234 (soap-decode-basic-type, soap-encode-basic-type):
6235 support unsignedInt and double basic types.
db9b177b 6236 (soap-resolve-references-for-simple-type)
ef24141c
SM
6237 (soap-parse-simple-type, soap-encode-simple-type): New function.
6238 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6239
090bd7cb 6240 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6241 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6242 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6243 the local name of "soapenc:Array".
6244 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6245 decoding integer, byte and anyURI xsd types.
6246
1fc6097b
CY
62472012-04-25 Chong Yidong <cyd@gnu.org>
6248
6249 * cus-edit.el (custom-buffer-create-internal): Update header text.
6250
afc6df87
EZ
62512012-04-25 Eli Zaretskii <eliz@gnu.org>
6252
6253 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6254 settings on 'system-type', not on 'window-system'. On MS-Windows,
6255 set interactive-mode on in GDB.
6256
dfbd787f
SM
62572012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6260 (ruby-syntax-propertize-regexp): Remove.
6261 (ruby-syntax-propertize-function): Split regexp into chunks.
6262 Match following code directly.
6263
85222d44
DG
62642012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6265
51a8ea2a
DG
6266 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6267 (ruby-syntax-propertize-regexp): New function.
6268 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6269 by a special keyword.
6270
85222d44
DG
6271 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6272 (ruby-syntax-general-delimiters-goto-beg)
6273 (ruby-syntax-propertize-general-delimiters): New functions.
6274 (ruby-syntax-propertize-function): Use them to handle GDL.
6275 (ruby-font-lock-keywords): Move old handling of GDL...
6276 (ruby-font-lock-syntactic-keywords): .. to here.
6277 (ruby-calculate-indent): Adjust indentation for GDL.
6278
b613912b
MA
62792012-04-24 Michael Albinus <michael.albinus@gmx.de>
6280
b5380639
MA
6281 * notifications.el (top): Remove unneeded declarations.
6282 (notifications-specification-version): Change to "1.2".
e43042fe 6283 (notifications-interface, notifications-notify-method)
b613912b
MA
6284 (notifications-close-notification-method): Fix docstring.
6285 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6286 (notifications-notify): Add :action-items, :resident and
6287 :transient hints. Change "image_data" to "image-data" and
6288 "image_path" to "image-path".
b613912b
MA
6289 (notifications-get-capabilities): New defun.
6290
257440aa
LL
62912012-04-24 Leo Liu <sdl.web@gmail.com>
6292
6293 * progmodes/python.el: Move hideshow setup to the end.
6294
b1bac16e
MR
62952012-04-24 Martin Rudalics <rudalics@gmx.at>
6296
6297 * window.el (handle-select-window): Clear echo area since this is
6298 no more done by read_char (Bug#11304).
6299
d81bd059
SM
63002012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6301
6302 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6303 and `/ M' to filter-derived-mode.
6304 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6305 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6306 (ibuffer-mark-by-mode): Use default rather than initial-input.
6307 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6308
c4cf6d91
IA
63092012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6310
6311 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6312 (ibuffer-filter-by-derived-mode): New filter.
6313 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6314
7511ded8
CY
63152012-04-23 Andreas Politz <politza@fh-trier.de>
6316
6317 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6318
775c916b
CY
63192012-04-23 Chong Yidong <cyd@gnu.org>
6320
6321 * cus-edit.el (customize-apropos, customize-apropos-options):
6322 Disable matching of non-option variables (Bug#11176).
6323 (customize-option, customize-option-other-window)
6324 (customize-changed-options): Doc fix.
6325 (customize-apropos-options, customize-apropos-faces)
6326 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6327
6328 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6329 Fix word list splitting (Bug#11132).
46c71e23
CY
6330 (apropos-symbol, apropos-keybinding, apropos-label)
6331 (apropos-property, apropos-function-button)
6332 (apropos-variable-button, apropos-misc-button): New faces.
6333 (apropos-symbol-face, apropos-keybinding-face)
6334 (apropos-label-face, apropos-property-face, apropos-match-face):
6335 Variables removed (Bug#8396).
6336 (apropos-library-button, apropos-format-plist, apropos-print)
6337 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6338
2df41f9c
MA
63392012-04-23 Michael Albinus <michael.albinus@gmx.de>
6340
6341 * net/xesam.el (xesam-mode-map): Use let-bound map in
6342 initialization. (Bug#11292)
6343
da00640a
AM
63442012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6345
6346 Preserve ispell session localwords when switching back to
6347 original buffer.
6348
090bd7cb
JB
6349 * textmodes/ispell.el (ispell-buffer-session-localwords):
6350 New buffer-local variable to hold buffer session localwords.
ed9265fc 6351 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6352 localwords.
6353 (ispell-command-loop, ispell-change-dictionary)
6354 (ispell-buffer-local-words): Preserve session localwords when
6355 needed.
6356
090bd7cb
JB
6357 * textmodes/flyspell.el (flyspell-process-localwords)
6358 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6359
f621ccf5
AM
63602012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6361
090bd7cb
JB
6362 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6363 using obsolete `translation-table-for-input'.
ef24141c
SM
6364 (ispell-word, ispell-process-line, ispell-complete-word):
6365 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6366
c2d1019e
CY
63672012-04-22 Chong Yidong <cyd@gnu.org>
6368
6369 * cus-edit.el (custom-variable-menu)
6370 (custom-variable-reset-saved, custom-face-menu)
6371 (custom-face-reset-saved): If there is no saved value, make the
6372 "reset-saved" operation bring back the default (Bug#9509).
6373 (custom-face-state): Properly detect themed faces.
6374
eeddc531
CY
6375 * faces.el (face-spec-set): Stop supporting deprecated form of
6376 third arg.
6377
dcbf5805
MA
63782012-04-22 Michael Albinus <michael.albinus@gmx.de>
6379
6380 Move functions from C to Lisp. Make non-blocking method calls
6381 the default. Implement further D-Bus standard interfaces.
6382
ef24141c
SM
6383 * net/dbus.el (dbus-message-internal): Declare function.
6384 Remove unneeded function declarations.
dcbf5805
MA
6385 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6386 (dbus-message-type-method-return, dbus-message-type-error)
6387 (dbus-message-type-signal): Declare variables. Remove local
6388 definitions.
6389 (dbus-interface-dbus, dbus-interface-peer)
6390 (dbus-interface-introspectable, dbus-interface-properties)
6391 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6392 Adapt docstring.
6393 (dbus-interface-objectmanager): New defconst.
6394 (dbus-call-method, dbus-call-method-asynchronously)
6395 (dbus-send-signal, dbus-method-return-internal)
6396 (dbus-method-error-internal, dbus-register-service)
6397 (dbus-register-signal, dbus-register-method): New defuns, moved
6398 from dbusbind.c
6399 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6400 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6401 New defuns.
dcbf5805
MA
6402 (dbus-call-method-non-blocking): Make it an obsolete function.
6403 (dbus-unregister-object, dbus-unregister-service)
6404 (dbus-handle-event, dbus-register-property)
6405 (dbus-property-handler): Obey the new structure of
6406 `bus-registered-objects'.
6407 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6408 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6409 Use `dbus-call-method'.
6410
cf20dee0
CY
64112012-04-22 Chong Yidong <cyd@gnu.org>
6412
6413 * cus-edit.el (custom-commands, custom-reset-menu)
6414 (Custom-reset-standard): Tweak labels.
6415 (custom-reset-button-menu): Change default to t.
6416 (custom-buffer-create-internal): For the custom-reset-button-menu
6417 case, put the revert button first.
6418 (custom-group-subtitle): New face.
6419 (custom-group-value-create): Align docstring to a specific column.
6420
6421 * wid-edit.el (widget-documentation-link-add): Don't handle
6422 indentation in this function.
6423 (widget-documentation-string-indent-to): New function.
6424 (widget-documentation-string-value-create): Use it.
6425
6426 * autorevert.el (auto-revert):
6427 * epg-config.el (epg):
6428 * ibuffer.el (ibuffer):
6429 * mpc.el (mpc):
6430 * ses.el (ses):
6431 * eshell/eshell.el (eshell):
6432 * net/ange-ftp.el (ange-ftp):
6433 * progmodes/ebnf2ps.el (postscript):
6434 * progmodes/flymake.el (flymake):
6435 * progmodes/prolog.el (prolog):
6436 * progmodes/verilog-mode.el (verilog-mode):
6437 * progmodes/which-func.el (which-func):
6438 * term/xterm.el (xterm):
6439 * textmodes/picture.el (picture):
6440 * textmodes/tildify.el (tildify):
6441 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6442 customization buffers.
6443
583e23bd
AM
64442012-04-22 Alan Mackenzie <acm@muc.de>
6445
6446 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6447 Adding a ) can hide the resulting (..) from searches. Fix it.
6448 Bound the backward search to the position of the existing (.
6449
7dd51bf1
JB
64502012-04-21 Juanma Barranquero <lekktu@gmail.com>
6451
6452 * progmodes/verilog-mode.el (verilog-mode): Check whether
6453 which-func-modes is t before adding verilog-mode.
6454 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6455
d64a438f
LL
64562012-04-21 Leo Liu <sdl.web@gmail.com>
6457
7dd51bf1 6458 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6459
081e8d65
MV
64602012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6461
6462 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6463 filling of the last column of a table (Bug#5635).
6464 (woman-find-next-control-line): New arg, specifying an additional
6465 regexp component for the control line.
6466 (woman2-roff-buffer): Use it.
6467 (woman-break-table): New function.
6468 (woman2-TS): Use it.
6469
64702012-04-21 Chong Yidong <cyd@gnu.org>
6471
6472 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6473 (woman-horizontal-escapes, woman-negative-vertical-space)
6474 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6475 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6476
ed571ccb
SM
64772012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 * minibuffer.el (completion-file-name-table): Complete user names.
6480
39773899
LL
64812012-04-20 Leo Liu <sdl.web@gmail.com>
6482
6483 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6484 and pcase-let*.
6485
de6ff46d
CY
64862012-04-20 Chong Yidong <cyd@gnu.org>
6487
6488 * server.el (server-execute): Respect initial-buffer-choice if it
6489 is a string and there are no files to open (Bug#2825).
6490 (server-create-window-system-frame, server-create-tty-frame):
6491 Don't switch buffers here.
2d0e8e61
CY
6492 (server-process-filter): Only try to open a window system frame if
6493 compiled with graphical support (Bug#8314).
de6ff46d 6494
54071013
DN
64952012-04-20 Dan Nicolaescu <dann@gnu.org>
6496
6497 * battery.el (battery-echo-area-format): Display remaining time
6498 for sysfs backend too (Bug#11269).
6499 (battery-linux-sysfs): Fix conditional for the charge.
6500
f30d612a
CY
65012012-04-20 Chong Yidong <cyd@gnu.org>
6502
c07a4c0b 6503 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6504 (gdb-inferior-io--init-proc): New function.
6505 (gdb-init-1): Use it.
6506 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6507 responsible for allocating a new pty and hooking it to gdb when
6508 the old pty gets an EIO due to process exit.
6509 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6510 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6511 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6512
2116e93c
EZ
65132012-04-20 Eli Zaretskii <eliz@gnu.org>
6514
6515 * window.el (window-min-size, window-sizable, window-min-delta)
6516 (window-max-delta, window--resizable, window-resizable)
6517 (window-total-size, window-full-height-p, window-full-width-p)
6518 (window-in-direction, window--resize-mini-window, window-resize)
6519 (window--resize-child-windows-normal)
6520 (window--resize-child-windows, window--resize-siblings)
6521 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6522 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6523
c07a4c0b 65242012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6525
ef24141c
SM
6526 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6527 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6528 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6529 pty process (Bug#11273).
6530 (gdb-update): New arg to suppress talking to the gdb process.
6531 (gdb-done-or-error): Use it.
6532 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6533 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6534 sentinel not being called.
6535
6536 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6537
d02766ab
CY
6538 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6539
c07a4c0b 65402012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6541
6542 * net/network-stream.el (open-network-stream): Doc fix.
6543
c07a4c0b 65442012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6545
6546 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6547
c07a4c0b 65482012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6549
6550 Ensure searching for keywords is case sensitive.
6551
6552 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6553 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6554 (c-defun-name, c-mark-function, c-cpp-define-name)
6555 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6556 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6557
ef24141c
SM
6558 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6559 Bind case-fold-search to nil.
f0f6bc35 6560
c07a4c0b 65612012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6562
6563 * mail/sendmail.el (mail-bury): Call return action with the right
6564 Rmail buffer (Bug#11242).
6565
9a864fa2
CY
6566 * server.el (server-process-filter): Handle corner case where both
6567 tty and nowait options are present (Bug#11102).
6568
539aa513
EZ
65692012-04-20 Eli Zaretskii <eliz@gnu.org>
6570
6571 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6572 (top level): Put into the executable the ident-style '$Id:' tag on
6573 windows-nt as well.
539aa513 6574
cfc7d5da
SM
65752012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6576
6577 * electric.el (electric-indent-post-self-insert-function): Check that
6578 electric-indent-mode is enabled in current buffer.
6579
5b01685c
JB
65802012-04-19 Juanma Barranquero <lekktu@gmail.com>
6581
6582 * imenu.el (imenu-progress-message): Restore; it is "used" in
6583 erc/erc-imenu.el and net/snmp-mode.el.
6584
4d6769e1
JB
65852012-04-19 Juanma Barranquero <lekktu@gmail.com>
6586
6587 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6588 (mouse-avoidance-nudge-mouse): Remove unused binding.
6589
6590 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6591
6592 * descr-text.el (describe-char):
6593 * progmodes/python.el (python-describe-symbol):
6594 Don't call `toggle-read-only', set `buffer-read-only'.
6595
6596 * imenu.el (imenu-default-goto-function): Mark unused args.
6597 (imenu-progress-message): Remove obsolete macro; all callers changed.
6598
6599 * subr.el (keymap-canonicalize): Remove unused binding.
6600 (read-passwd): Mark unused arg.
6601
6602 * tutorial.el (tutorial--display-changes): Remove unused binding.
6603 (tutorial--save-tutorial-to): Remove unused variable.
6604
6605 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6606 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6607 (package-generate-autoloads, package-menu--generate)
6608 (package-menu--find-upgrades): Remove unused bindings.
6609
6610 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6611 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6612 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6613 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6614 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6615 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6616 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6617 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6618 (cua-delete-char-rectangle): Mark unused args.
6619 (cua-align-rectangle): Remove unused binding.
6620
6621 * mail/rmail.el (compilation--message->loc)
6622 (epa--find-coding-system-for-mime-charset): Declare.
6623
6624 * net/dbus.el (dbus-register-service): Declare.
6625 (dbus-name-owner-changed-handler): Remove unused binding.
6626
6627 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6628 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6629 (nxml-scan-backward-within): Mark unused arg.
6630 (nxml-dynamic-markup-word): Remove unused binding.
6631
6632 * mouse.el (mouse-menu-major-mode-map):
6633 * emacs-lisp/authors.el (authors-scan-change-log)
6634 (authors-add-to-author-list):
6635 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6636 * emacs-lisp/smie.el (smie-auto-fill):
6637 * mail/sendmail.el (mail-bury):
6638 * mail/unrmail.el (unrmail):
6639 * net/tls.el (open-tls-stream):
6640 * textmodes/picture.el (picture-mouse-set-point):
6641 Remove unused bindings.
6642
8c8fc5df
MA
66432012-04-19 Michael Albinus <michael.albinus@gmx.de>
6644
6645 * net/tramp.el (tramp-action-password): Let-bind
6646 `enable-recursive-minibuffers' to t.
6647
a77b0ac9
SS
66482012-04-18 Sam Steingold <sds@gnu.org>
6649
6650 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6651 instead of 'string to accommodate values like [f11].
6652 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6653 * progmodes/gdb-mi.el: Likewise.
6654
12a106a9
LL
66552012-04-18 Leo Liu <sdl.web@gmail.com>
6656
6657 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6658 current buffer.
6659 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6660 LOCAL is nil.
6661
bc6494ef
CY
66622012-04-18 Chong Yidong <cyd@gnu.org>
6663
6664 * simple.el (line-move): Use forward-line if in batch mode
6665 (Bug#11053).
6666
c09c46b2
CS
66672012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6668
6669 * files.el (after-find-file): Do not try to add a final newline if
6670 the buffer is read-only (Bug#11156).
6671
5f6530ea
RS
66722012-04-17 Richard Stallman <rms@gnu.org>
6673
6674 * mail/rmail.el (rmail-start-mail):
6675 Pass (rmail-mail-return...) for the return-action.
6676 Pass (rmail-yank-current-message...) for the yank-action.
6677 (rmail-yank-current-message): New function.
6678 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6679 (rmail-reply): Likewise.
6680 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6681
6682 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6683 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6684 buffer, not newbuf.
6685
197b6f3c
JB
66862012-04-17 Juanma Barranquero <lekktu@gmail.com>
6687
6688 * server.el (server-ensure-safe-dir): Simplify.
6689
2311d8e5 66902012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6691
2311d8e5
GM
6692 * emacs-lisp/smie.el: Provide smarter auto-filling.
6693 (smie-auto-fill): New function.
6694 (smie-setup): Use it.
98fb480e 6695
2311d8e5
GM
6696 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6697
66982012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6699
6700 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6701 (comment-indent): Use it.
6702
2311d8e5 67032012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6704
6705 * ses.el: The overall change is to add cell renaming, that is
6706 setting fancy names for cell symbols other than name matching
6707 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6708 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6709 (ses-create-cell-variable): New defun.
2311d8e5 6710 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6711 (ses-relocate-formula): Relocate formulas only for cells the
6712 symbols of which are not renamed, i.e. symbols whose names do not
6713 match regexp "\\`[A-Z]+[0-9]+\\'".
6714 (ses-relocate-all): Relocate values only for cells the symbols of
6715 which are not renamed.
6716 (ses-load): Create cells variables as the (ses-cell ...) are read,
6717 in order to check row col consistency with cell symbol name only
6718 for cells that are not renamed.
6719 (ses-replace-name-in-formula): New defun.
6720 (ses-rename-cell): New defun.
4bdf2ad2 6721
fc72b15c
PO
67222012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6723
6724 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6725 New option (bug#11118).
6726 (perl-calculate-indent): Respect it.
6727
12e10e61
GM
67282012-04-17 Glenn Morris <rgm@gnu.org>
6729
6730 * dired-aux.el (dired-mark-read-string): Doc fix.
6731
30009afd
DA
67322012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6733
6734 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6735 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6736
41f03f4d
GM
67372012-04-17 Glenn Morris <rgm@gnu.org>
6738
6739 * mouse.el (mouse-drag-track):
6740 * speedbar.el (speedbar-frame-mode):
6741 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6742
f45f90f3
LL
67432012-04-16 Leo Liu <sdl.web@gmail.com>
6744
6745 * progmodes/python.el: Trivial cleanup.
6746
94ee8db5
GM
67472012-04-16 Glenn Morris <rgm@gnu.org>
6748
121b8917
GM
6749 * vc/vc.el (vc-string-prefix-p):
6750 * vc/pcvs-util.el (cvs-string-prefix-p):
6751 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6752 * mpc.el (mpc-string-prefix-p):
6753 Make all of these into obsolete aliases for string-prefix-p.
6754 Update callers.
6755 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6756
1197ecfa
GM
6757 * textmodes/two-column.el: Move custom options to the start.
6758 (frame-width): Remove compat definition.
6759 (2C-associate-buffer, 2C-dissociate):
6760 Use with-current-buffer rather than save-excursion.
6761 (2C-dissociate): Force a mode-line update.
6762 (2C-autoscroll): Use ignore-errors.
6763
099e7202
GM
6764 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6765 Autoload trivia.
6766
bf350d6a
GM
6767 * emacs-lisp/cl-extra.el (*random-state*):
6768 Remove unnecessary declaration.
6769
0e829eab
GM
6770 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6771
e3ad7552
GM
6772 * play/cookie1.el (cookie-snarf):
6773 Give an explicit error if input file cannot be read.
6774
68892d27
GM
6775 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6776
20f0c46d
GM
6777 * progmodes/perl-mode.el (c-macro-expand):
6778 Remove unnecessary autoload (it is in loaddefs.el).
6779
5a0978ce
GM
6780 * textmodes/picture.el (picture-desired-column)
6781 (picture-update-desired-column): Convert comments to doc-strings.
6782 (picture-substitute): Remove function.
6783 (picture-mode-map): Initialize in the defvar.
6784
6b955486
GM
6785 * woman.el: Remove eval-after-load for tar-mode.
6786 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6787 (woman-tar-extract-file): Autoload it.
6788
94ee8db5
GM
6789 * frame.el (automatic-hscrolling): Make this alias obsolete.
6790
177eca34
AM
67912012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6792
090bd7cb 6793 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6794 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6795 (ispell-dictionary-base-alist): Revert to original XEmacs
6796 friendly version for default. [:alpha:] will be added in
090bd7cb 6797 `ispell-set-spellchecker-params' if needed.
177eca34 6798
c505aaeb
CY
67992012-04-16 Chong Yidong <cyd@gnu.org>
6800
b19dd9d1 6801 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6802 (imagemagick-register-types): Use it.
6803 (imagemagick-types-inhibit): Add :set function. Allow new value
6804 of t to inhibit all types.
6805
6806 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6807 so we can preload it.
6808
6809 * loadup.el (fboundp): Preload regexp-opt, needed by
6810 imagemagick-register-types.
6811
60efac0f
CY
68122012-04-15 Chong Yidong <cyd@gnu.org>
6813
6814 * frame.el (scrolling): Remove nearly unused customization group.
6815
6816 * scroll-all.el (scroll-all-mode): Move to windows group.
6817
5dd1713e
CY
68182012-04-15 Chong Yidong <cyd@gnu.org>
6819
6820 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6821
e6fd457e
CY
68222012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6825 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6826
e153c136
GM
68272012-04-15 Glenn Morris <rgm@gnu.org>
6828
6829 * simple.el (process-file-side-effects): Doc fix.
6830
e6fd457e 68312012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6832
6833 * international/mule-cmds.el (set-language-environment): Doc fix.
6834
3603c3b1
JB
68352012-04-14 Juanma Barranquero <lekktu@gmail.com>
6836
6837 * server.el (server-auth-key, server-generate-key): Doc fixes.
6838 (server-get-auth-key): Doc fix. Use `string-match-p'.
6839 (server-start): Reflow docstring.
6840
e6de100c
LI
68412012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6842
6843 * server.el (server-generate-key): `called-interactively-p'
6844 requires a parameter.
6845
29734c21
MN
68462012-04-14 Michal Nazarewicz <mina86@mina86.com>
6847
6848 * server.el (server-auth-key): New variable.
75f1671a 6849 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6850 (server-start): Use the new variable and functions to allow
6851 setting a permanent server key (bug#9423).
6852
d65c9521
LL
68532012-04-14 Leo Liu <sdl.web@gmail.com>
6854
6855 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6856
5ae255c7
PE
68572012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6858
6859 Spelling fixes.
6860 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6861 Emacs uses American spelling.
6862
d5e6342e
JB
68632012-04-14 Juanma Barranquero <lekktu@gmail.com>
6864
6865 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6866 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6867 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6868 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6869
ab036cd7
SM
68702012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6871
6872 * progmodes/which-func.el (which-func-modes): Change default.
6873
35dc09a1 68742012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6875
6876 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6877 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6878
35dc09a1 68792012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6880
6881 * custom.el (custom-theme-set-variables): Doc fix.
6882
35dc09a1 68832012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6884
6885 * international/mule.el (set-auto-coding-for-load): Doc fix.
6886
35dc09a1 68872012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6888
35dc09a1
GM
6889 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6890 imenu work again for Objective C Mode. Correct the *-index values,
6891 these having been disturbed by a previous change in 2011-08.
57f845ee 6892
0de3da9f
AM
6893 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6894 Correct two search limits.
6895
35dc09a1 68962012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6897
6898 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6899
35dc09a1 69002012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6901
6902 * international/characters.el: Fix sorting.
6903
35dc09a1 69042012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6905
6906 * international/characters.el: Add more missing Latin case pairs.
6907
35dc09a1 69082012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6909
6910 * files.el (dir-locals-set-class-variables): Doc fix.
6911
35dc09a1 69122012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6913
3f1b5bf8
EZ
6914 * international/characters.el: Add set-case-syntax-pair call for
6915 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6916 counterpart. (Bug#11209)
6917
9f847f41
EZ
6918 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6919
35dc09a1 69202012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6921
6922 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6923
35dc09a1 69242012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6925
35dc09a1
GM
6926 * textmodes/ispell.el (ispell-dictionary-base-alist):
6927 Add data for Hebrew.
e2627d21 6928
35dc09a1 69292012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6930
35dc09a1
GM
6931 * net/rcirc.el (rcirc-cmd-quit):
6932 Revert 2012-03-18 change (Bug#11192).
5c14e333 6933
35dc09a1 69342012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6935
6936 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6937
35dc09a1 69382012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6939
4517fe3a
SM
6940 * minibuffer.el (completion-in-region-mode-map):
6941 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6942
b472a594
VD
69432012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6944
6945 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6946
09b95ce3
MY
69472012-04-13 Masatake YAMATO <yamato@redhat.com>
6948
6949 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6950 to allow `C-M-f' and `C-M-b' to move to the nearest path
6951 separator (bug#9511).
6952
4b63a9ca
LI
69532012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6954
6955 * avoid.el: Require cl when compiling. And also move the
6956 `provide' to the end.
6957
7b55b8bf
TV
69582012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6959
6960 * avoid.el (mouse-avoidance-banish-position): New variable.
6961 (mouse-avoidance-banish-destination): Use it (bug#10165).
6962
adedaa1f
LL
69632012-04-13 Leo Liu <sdl.web@gmail.com>
6964
6965 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6966
70e74021
KB
69672012-04-13 Ken Brown <kbrown@cornell.edu>
6968
6969 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6970 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6971 (browse-url-filename-alist): For the same reason, don't modify
6972 file:// URLs on Cygwin.
6973
e75e89ba
SM
69742012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6977 the region on shift if the binding is already shifted (bug#11221).
6978
82f289a4
GM
69792012-04-12 Glenn Morris <rgm@gnu.org>
6980
6981 * mail/mailpost.el: Move to obsolete/.
6982
d333dc4c
DA
69832012-04-12 Drew Adams <drew.adams@oracle.com>
6984
6985 * imenu.el (imenu--generic-function): Ignore invisible definitions
6986 (bug#10123).
6987
0d15b5ba
VD
69882012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6989
6990 * hexl.el (hexl-bits): New variable.
6991 (hexl-options): Mention the variable in the doc string.
75f1671a 6992 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 6993 (hexl-mode): Mention the new variable.
75f1671a
JB
6994 (hexl-mode, hexl-current-address, hexl-current-address):
6995 Use the displen.
0d15b5ba
VD
6996 (hexl-ascii-start-column): New function.
6997 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6998 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6999
64a440db
AM
70002012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7001
7002 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7003 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7004 the encoding, as expected by hunspell.
7005
6decb6c2
SM
70062012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7007
7008 * battery.el (battery--linux-sysfs-regexp): New const.
7009 (battery-status-function): Use it. Remove yeeloong special case.
7010 (battery-yeeloong-sysfs): Remove.
7011 (battery-echo-area-format): Remove yeeloong special case.
7012
088be6fb
SM
70132012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7014
6622e416
SM
7015 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7016 Reported by Noah Friedman.
7017
088be6fb
SM
7018 * subr.el (read-passwd): Use read-string.
7019
b49f886e
LMI
70202012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7021
7022 * vcursor.el (vcursor-move): Increase the priority of the overlay
7023 (bug#9663).
7024
a63067fc
DD
70252012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7026
7027 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7028 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7029
ac3cf14a
WS
70302012-04-11 William Stevenson <yhvh2000@gmail.com>
7031
7032 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7033 define-minor-mode (bug#10760).
7034
c4fc691b 70352012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7036
4d6769e1 7037 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7038 that directories matching `grep-find-ignored-files' won't be
7039 pruned (bug#10351).
7040
af23e2e5
CY
70412012-04-11 Chong Yidong <cyd@gnu.org>
7042
7043 * startup.el (command-line): Remove support for long-obsolete
7044 variable font-lock-face-attributes.
7045
ab7ce8c1
GM
70462012-04-11 Glenn Morris <rgm@gnu.org>
7047
7048 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7049
de8c03dc
SM
70502012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7051
7052 * window.el (window--state-get-1): Obey window-point-insertion-type.
7053
050cc68b
LB
70542012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7055
7056 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7057 to previous function when point is on the first character of a
75f1671a 7058 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7059
a38c310c
GM
70602012-04-11 Glenn Morris <rgm@gnu.org>
7061
effed0c2
GM
7062 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7063 not just file-errors.
7064
a38c310c
GM
7065 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7066 (vc-bzr-sha1): Use internal sha1.
7067
0221e323
SM
70682012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7071
43956923
SG
70722012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7073
7074 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7075 that start in the middle of the line (bug#10496).
7076
6a8c9eaf
DN
70772012-04-10 Dan Nicolaescu <dann@gnu.org>
7078
7079 * battery.el (battery-linux-proc-acpi): Only one battery is
7080 discharged at a time, but that seems to confuse battery.el when
7081 computing `rate-type' for the battery not being discharged
7082 (bug#10332).
7083
1930bf5d
SM
70842012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7085
2a718f6f
SM
7086 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7087
599430d0
SM
7088 * international/quail.el: Use dolist and simplify.
7089 (quail-define-package, quail-update-keyboard-layout)
7090 (quail-define-rules): Use dolist.
7091 (quail-insert-kbd-layout, quail-get-translation): CSE.
7092
a2754b6c
SM
7093 * tmm.el: Use dolist, remove left over hook.
7094 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7095 Use dolist.
7096 (calendar-load-hook): Don't mess with it.
7097
1930bf5d
SM
7098 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7099 Use derived-mode-p. Run the diff asynchronously.
7100
9f67961c
LMI
71012012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7102
7103 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7104
2a8ce227
JB
71052012-04-10 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7108 (list-dynamic-libraries--loaded): New function.
7109 (list-dynamic-libraries--refresh): Use it.
7110
8f33b5f8
NW
71112012-04-10 Nathan Weizenbaum <nweiz@google.com>
7112
1930bf5d
SM
7113 * progmodes/python.el (python-fill-paragraph):
7114 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7115 disabled (bug#7018).
7116
b12f0439
L
71172012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7118
1930bf5d 7119 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7120 DOS/MS Windows for the Baltic languages. There are still plenty
7121 of texts written in this encoding/codepage (bug#6519).
b12f0439 7122
57c3bd01
GM
71232012-04-10 Glenn Morris <rgm@gnu.org>
7124
7125 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7126 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7127
6c3eab30
FA
71282012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7129
1930bf5d 7130 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7131 next-line "n" and previous-line "p" in order to make recentf more
7132 consistent with ibuffer, dired or org-mode (bug#9387).
7133
24d78a88
LMI
71342012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7135
bc72b5d9
LMI
7136 * image.el (put-image): Return the overlay created instead of the
7137 optional input string (bug#7834). Note that this may break code
7138 that is (for some reason or other) depending on `put-image'
7139 returning the string.
7140
bd2dba5a
LMI
7141 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7142
74beb59f
LMI
7143 * simple.el (zap-to-char): Allow zapping using input methods
7144 (bug#1580).
7145
24d78a88
LMI
7146 * textmodes/fill.el (fill-region): Leave point and mark where they
7147 were before filling (bug#5399).
7148
263f20cd
GM
71492012-04-09 Glenn Morris <rgm@gnu.org>
7150
7151 * version.el (emacs-bzr-get-version):
7152 Handle lightweight checkouts of local branches.
7153
58d1f797
AS
71542012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7155
263f20cd 7156 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7157
b4d3bc10
CY
71582012-04-09 Chong Yidong <cyd@gnu.org>
7159
7160 * custom.el (custom-variable-p): Return nil for non-symbol
7161 arguments instead of signaling an error.
7162 (user-variable-p): Obsolete alias for custom-variable-p.
7163
7164 * apropos.el (apropos-variable):
7165 * files-x.el (read-file-local-variable):
7166 * simple.el (set-variable):
7167 * woman.el (woman-mini-help):
7168 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7169
fd06db5d
GM
71702012-04-09 Glenn Morris <rgm@gnu.org>
7171
e5fcdb5e
GM
7172 * startup.el (normal-top-level): Don't look for leim-list.el
7173 in places where it will not be found. (Bug#910)
7174
fd06db5d
GM
7175 * international/mule-cmds.el (set-default-coding-systems):
7176 * files.el (normal-mode):
7177 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7178 This function was removed with ucs-tables.el in 2008.
7179
b39bb7e1
EZ
71802012-04-08 Eli Zaretskii <eliz@gnu.org>
7181
7182 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7183 ispell-encoding8-command to "-i", without a trailing space.
7184 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7185 separate command-line arguments, to specify the encoding, since
7186 that's how hunspell expects it.
7187
5c5b8e23
GM
71882012-04-08 Glenn Morris <rgm@gnu.org>
7189
7190 * loadup.el: Load bindings before cus-start.
7191 This reduces somewhat the number of "rogue" settings in emacs -Q.
7192
a1ed8b05
GM
71932012-04-07 Glenn Morris <rgm@gnu.org>
7194
7195 * version.el (emacs-bzr-get-version): New function.
dfae128a 7196 (emacs-bzr-version): New variable.
a1ed8b05
GM
7197 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7198 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7199
b142f158
EZ
72002012-04-07 Eli Zaretskii <eliz@gnu.org>
7201
dfae128a
GM
7202 * international/uni-bidi.el, international/uni-category.el:
7203 * international/uni-combining.el, international/uni-decimal.el:
7204 * international/uni-decomposition.el, international/uni-digit.el:
7205 * international/uni-lowercase.el, international/uni-mirrored.el:
7206 * international/uni-name.el, international/uni-numeric.el:
7207 * international/uni-titlecase.el, international/uni-uppercase.el:
7208 Update for Unicode 6.1.
b142f158 7209
9078ead6
EZ
72102012-04-07 Eli Zaretskii <eliz@gnu.org>
7211
7212 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7213
f23d2c7d
LMI
72142012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
7216 * window.el (shrink-window): Mention the `window-min-height'
7217 variable in the doc string.
7218
0a0a3573
BG
72192012-04-05 Bastien Guerry <bzg@altern.org>
7220
7221 * color.el (color-lighten-name): Fix typo.
7222
e5248ac9
SM
72232012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * server.el (server--on-display-p): New function.
7226 (server--on-display-p): Use it.
7227
b4243e22
GV
72282012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7229
7230 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7231 (bug#11145).
7232
305d9f44
SM
72332012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * comint.el (comint--common-quoted-suffix): Check string boundary
7236 before comparing (bug#11158).
7237 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7238
3d439cd1
CY
72392012-04-04 Chong Yidong <cyd@gnu.org>
7240
321cc491
CY
7241 * minibuffer.el (completion-extra-properties): Doc fix.
7242
3d439cd1
CY
7243 * subr.el (delayed-warnings-hook): Doc fix.
7244
2d562c0f
DU
72452012-04-04 Daiki Ueno <ueno@unixuser.org>
7246
7247 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7248 selection (Bug#11159).
7249 (epa-insert-keys): Inform that the default public key will be
7250 exported if no key is selected.
7251
4443f204
RS
72522012-04-04 Richard Stallman <rms@gnu.org>
7253
7254 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7255
529c06b6
CY
72562012-04-03 Chong Yidong <cyd@gnu.org>
7257
7258 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7259 mail-insert-file, not its obsolete alias mail-attach-file.
7260
66b907dc
MA
72612012-04-03 Michael Albinus <michael.albinus@gmx.de>
7262
7263 * notifications.el (notifications-notify): Fix docstring.
7264
c0ea195d
GM
72652012-04-02 Glenn Morris <rgm@gnu.org>
7266
7267 * emacs-lisp/authors.el (authors-aliases): Another addition.
7268
5ca64e00
MA
72692012-04-02 Michael Albinus <michael.albinus@gmx.de>
7270
7271 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7272 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7273 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7274
42ee526b
CY
72752012-04-01 Chong Yidong <cyd@gnu.org>
7276
7277 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7278 Handle root directory properly.
7279 (copy-directory): Caller changed.
7280
7281 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7282 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7283
0b021094
GM
72842012-03-31 Glenn Morris <rgm@gnu.org>
7285
40f86458
GM
7286 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7287
7019c177
GM
7288 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7289
a1daddd6
GM
7290 * calendar/calendar.el (calendar-window-list)
7291 (calendar-hide-window): Restore. (Bug#11140)
7292 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7293
0b021094
GM
7294 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7295
40311efc
TV
72962012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7297
7298 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7299 Check if file is a symlink (Bug#10489).
7300
7301 * files.el (copy-directory): Likewise.
7302
5319014e
CY
73032012-03-30 Chong Yidong <cyd@gnu.org>
7304
7305 * image.el (imagemagick-types-inhibit)
7306 (imagemagick-register-types): Doc fix.
7307
935d1290
AM
73082012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7309
090bd7cb 7310 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7311 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7312 and treats ~word as ordinary words in pipe mode.
935d1290 7313
61c6e8fd
GM
73142012-03-30 Glenn Morris <rgm@gnu.org>
7315
7316 * tutorial.el (help-with-tutorial): Ensure local variables don't
7317 happen to make the buffer read-only. (Bug#11127)
7318
81fdff00
SM
73192012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7322 (perl-calculate-indent): Return `noindent' in strings.
7323
6e7a6ec0
SS
73242012-03-28 Sam Steingold <sds@gnu.org>
7325
7326 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7327 instead of the broken adhockery which does not prevent calendar
7328 buffers from being displayed at random after exit.
7329 (calendar-window-list, calendar-hide-window): Remove the broken
7330 adhockery.
7331
fee88ca0
GM
73322012-03-28 Glenn Morris <rgm@gnu.org>
7333
7334 * replace.el (query-replace-map): Doc fix.
7335
38de3354
AS
73362012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7337
7338 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7339 contents. (Bug#11109)
7340
b973155e
SM
73412012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7342
7343 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7344 (bug#11077).
7345 (avl-tree--check, avl-tree--check-node): New funs.
7346
dcb6e7b3
MR
73472012-03-27 Martin Rudalics <rudalics@gmx.at>
7348
7349 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7350 (switch-to-prev-buffer, switch-to-next-buffer):
7351 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7352 showing a buffer already is done on the same frame.
7353
b4fa35fa
GM
73542012-03-27 Glenn Morris <rgm@gnu.org>
7355
7356 * startup.el (mail-host-address): Doc fix.
7357
f9210e18
SM
73582012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7361 than 197 variables.
7362
c0bf7753
AF
73632012-03-26 Ami Fischman <ami@fischman.org>
7364
7365 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7366
33da7b16
GM
73672012-03-26 Glenn Morris <rgm@gnu.org>
7368
02243d9d
GM
7369 * files.el (save-buffers-kill-emacs): Doc fix.
7370
33da7b16
GM
7371 * startup.el (normal-top-level, command-line, command-line-1):
7372 Give them doc strings.
7373
e5a69fd0
EZ
73742012-03-25 Eli Zaretskii <eliz@gnu.org>
7375
7376 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7377 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7378
9a69676a
CY
73792012-03-25 Chong Yidong <cyd@gnu.org>
7380
4125cb8b
CY
7381 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7382 theme if it was previously enabled before (Bug#11031).
7383
dd470960
CY
7384 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7385 spec with custom-face-get-current-spec if its :shown-value is not
7386 determined yet (Bug#9337).
4125cb8b 7387 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7388
9a69676a
CY
7389 * button.el (button-at): Minor addition to docstring.
7390
6e7e90fa
SL
73912012-03-24 Simon Leinen <simon.leinen@gmail.com>
7392
7393 * vc/vc.el (vc-merge): Fix a prompt.
7394
f06e2758
CY
73952012-03-24 Chong Yidong <cyd@gnu.org>
7396
7397 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7398 point (Bug#9623).
7399
6e7e90fa
SL
7400 * button.el (button-at): Minor addition to docstring.
7401
b9d0879b
SM
74022012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * newcomment.el (comment-choose-indent): No space after BOL.
7405
e71cebb3
SS
74062012-03-22 Sam Steingold <sds@gnu.org>
7407
7408 * window.el (switch-to-prev-buffer): Revert last patch because the
7409 bug turned out to be an advertised feature (Elisp manual 28.14).
7410
335aff35
GM
74112012-03-22 Glenn Morris <rgm@gnu.org>
7412
7413 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7414 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7415
c676576a
LMI
74162012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7417
7418 * net/network-stream.el (network-stream-open-starttls): Make error
7419 message under Windows be less misleading.
7420
126f3d39
LW
74212012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7422
7423 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7424 understands (bug#9942).
7425
64fee311
CY
74262012-03-22 Chong Yidong <cyd@gnu.org>
7427
7428 * simple.el (end-of-visible-line): Handle return value of
7429 next-single-property-change properly (Bug#9371).
7430
a640d29a
KH
74312012-03-22 Kenichi Handa <handa@m17n.org>
7432
7433 * international/quail.el (quail-insert-kbd-layout): Fix previous
7434 change. To avoid unwanted bidi reordering, use
7435 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7436
39675016
DG
74372012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7438
7439 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7440 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7441 (ruby-beginning-of-indent): Be more careful with the difference
7442 between word-boundary and symbol boundary.
7443 (ruby-mode-syntax-table): Make : a symbol constituent.
7444
0a6934fc 74452012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7446
3d008e4f
SM
7447 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7448
0a6934fc
SM
74492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7450
af67c9d7
SM
7451 * progmodes/etags.el (tags-completion-at-point-function):
7452 Improve last fix.
7453
1acad97c
SM
7454 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7455
e298b5da
SS
74562012-03-21 Sam Steingold <sds@gnu.org>
7457
7458 * progmodes/etags.el (tags-completion-at-point-function):
7459 Avoid the error when point is inside the pattern.
7460
91d82a70
JY
74612012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7462
7463 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7464 line (Bug#10855).
7465
69188b79
CY
74662012-03-21 Drew Adams <drew.adams@oracle.com>
7467
7468 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7469
99fc91fe
AK
74702012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7471
7472 * ido.el (ido-set-current-directory, ido-read-internal)
7473 (ido-choose-completion-string, ido-completion-help): Handle nil
7474 value of ido-completion-buffer (Bug#11008).
7475
087bbb4c
SS
74762012-03-21 Sam Steingold <sds@gnu.org>
7477
7478 * window.el (switch-to-prev-buffer): Do not switch to a visible
7479 window previous buffer, just like with the frame previous buffers.
7480
fb5b8aca
CY
74812012-03-21 Chong Yidong <cyd@gnu.org>
7482
7483 * faces.el (make-face, make-empty-face, copy-face):
7484 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7485 Doc fixes.
7486
dc9924b8
SM
74872012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7490 (widget-complete): Remove broken use of it.
7491
f0bcceb9
CY
74922012-03-20 Chong Yidong <cyd@gnu.org>
7493
dc9924b8
SM
7494 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7495 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7496 characters.
7497
ee52ebf3
TH
74982012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7499
7500 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7501 to draw rectangles, not squares. (Regression introduced by revno
7502 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7503
4c5779ab
CY
75042012-03-18 Chong Yidong <cyd@gnu.org>
7505
7506 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7507 it is not yet defined (for temacs).
7508
15360934
LL
75092012-03-18 Leo Liu <sdl.web@gmail.com>
7510
dc9924b8 7511 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7512
d9a8eb66
EZ
75132012-03-17 Eli Zaretskii <eliz@gnu.org>
7514
7515 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7516 (ispell-choices-win-default-height, ispell-silently-savep)
7517 (ispell-dictionary-alist, ispell-encoding8-command)
7518 (ispell-check-version, ispell-aspell-find-dictionary)
7519 (ispell-valid-dictionary-list, ispell-words-keyword)
7520 (ispell-get-word, ispell-internal-change-dictionary)
7521 (ispell-region, ispell-skip-region-list)
7522 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7523 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7524 (ispell-message-text-end, ispell-message)
7525 (ispell-buffer-local-parsing): Doc fix.
7526
f02ff80d
J
75272012-03-13 Jambunathan K <kjambunathan@gmail.com>
7528
7529 * htmlfontify.el: Add support for code block fontification for ODT
7530 export (Bug #9914).
7531 (hfy-optimisations): Define new option
7532 `body-text-only'
7533 (hfy-fontify-buffer): Honor above setting.
7534 (hfy-begin-span, hfy-end-span): New routines factored out form
7535 `hfy-fontify-buffer'.
7536 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7537 that permit insertion of custom tags.
7538 (hfy-fontify-buffer): Use above handlers.
7539 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7540 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7541 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7542 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7543 bind a special variable `hfy-user-sheet-assoc'.
7544 (htmlfontify-string): New defun.
7545 (hfy-compile-face-map): Make sure that the last char in the
7546 buffer is correctly fontified.
7547 (hfy-face-resolve-face): Whitespace only change.
7548
9ac7a13f
EZ
75492012-03-17 Eli Zaretskii <eliz@gnu.org>
7550
7551 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7552 message more clear.
7553
e2b5bdd7
LL
75542012-03-16 Leo Liu <sdl.web@gmail.com>
7555
7556 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7557
2e492df3
AM
75582012-03-16 Alan Mackenzie <acm@muc.de>
7559
7560 Further optimise the handling of large macros.
7561
7562 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7563 limit to a call of `c-literal-limits'.
7564 (c-determine-+ve-limit): New function.
dc9924b8
SM
7565 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7566 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7567 In CASE 5B, restrict a search limit to 500.
7568 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7569
7570 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7571 Restrict macro bounds to +-500 from after-change's BEG END.
7572
50e94f0c
LL
75732012-03-16 Leo Liu <sdl.web@gmail.com>
7574
7575 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7576
6f09f6ed
AH
75772012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7578
7579 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7580 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7581
c7e73d51
GM
75822012-03-16 Glenn Morris <rgm@gnu.org>
7583
da986230
GM
7584 * view.el (view-buffer, view-buffer-other-window)
7585 (view-buffer-other-frame): Doc fixes re special mode-class.
7586
0835f01e
GM
7587 * subr.el (eval-after-load): If named feature is provided not from
7588 a file, run after-load forms. (Bug#10946)
7589
c7e73d51
GM
7590 * calendar/calendar.el (calendar-insert-at-column):
7591 Handle non-unit-width characters a bit better. (Bug#10978)
7592
3f2eafd1
CY
75932012-03-15 Chong Yidong <cyd@gnu.org>
7594
7595 * emacs-lisp/ring.el (ring-extend): New function.
7596 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7597
7598 * comint.el (comint-read-input-ring)
7599 (comint-add-to-input-history): Grow comint-input-ring lazily.
7600
103af3fe
SM
76012012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7602
663b1677
SM
7603 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7604 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7605
103af3fe
SM
7606 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7607 (imenu-add-to-menubar): Don't add a redundant index.
7608 (imenu-update-menubar): Handle a dynamically composed keymap.
7609
899cb7cb
KY
76102012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7611
7612 * mail/sendmail.el (mail-encode-header):
7613 Bind rfc2047-encode-encoded-words to nil.
7614
3809f91d
GM
76152012-03-13 Glenn Morris <rgm@gnu.org>
7616
7617 * calendar/calendar.el (calendar-string-spread):
7618 Handle non-unit-width characters a bit better. (Bug#10978)
7619
9e345a01
LL
76202012-03-13 Leo Liu <sdl.web@gmail.com>
7621
7622 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7623 directory and file as argument (Bug#10822).
7624
4a07df36
KS
76252012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7626
7627 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7628 For dynamically generated code, follow $PC.
7629 (gdb-disassembly-handler-custom): Handle no function name case.
7630
4aaa9356
TL
76312012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7632
7633 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7634 * emulation/ws-mode.el (ws-query-replace):
7635 * sort.el (sort-regexp-fields):
7636 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7637
225979da
SM
76382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7639
7640 * dabbrev.el: Fix cycle completion order (bug#10963).
7641 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7642 (dabbrev-completion): Don't use an obarray; provide
7643 a cycle-sort-function.
7644
e2f1fdab
LL
76452012-03-12 Leo Liu <sdl.web@gmail.com>
7646
dc9924b8 7647 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7648 (kill-do-not-save-duplicates): Doc fix.
7649
b19490ed
SM
76502012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7651
7652 * dabbrev.el: Fix cycle completion (bug#10963).
7653 Use lexical binding and wrap to 80 columns.
7654 (dabbrev-completion): Delay computing the list of completions.
7655
4b05d722
KH
76562012-03-12 Kenichi Handa <handa@m17n.org>
7657
7658 * international/quail.el (quail-insert-kbd-layout): Surround each
7659 row by LRO and PDF instead of inserting many LRMs. Pad the left
7660 and right of each non-spacing marks. Insert invisible space
7661 between lower and upper characters to prevent composition.
7662
dbbc2e69
SM
76632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * minibuffer.el (minibuffer-complete): Don't get confused when the
7666 function is run twice via different commands (bug#10958).
7667 (complete-with-action): Fix docstring.
7668
292112ed
CY
76692012-03-12 Chong Yidong <cyd@gnu.org>
7670
5d1ac394
CY
7671 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7672 (nxml-completion-at-point-function): New function.
7673 (nxml-mode): Use it.
7674 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7675
292112ed
CY
7676 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7677 Load generated autoloads file before byte compiling (Bug#10970).
7678 (package--make-autoloads-and-compile): New helper fun.
7679
4098f8f7
CS
76802012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7681
7682 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7683
8f754691
MA
76842012-03-11 Michael Albinus <michael.albinus@gmx.de>
7685
7686 * autorevert.el (auto-revert-handler): Ensure, that
7687 file-readable-p is applied only for local files or in
7688 auto-revert-tail-mode.
7689
e29ab36b
AS
76902012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7691
dbbc2e69
SM
7692 * server.el (server-eval-at): Handle non-tcp connections.
7693 Decode result string.
ad0bf5b6 7694
e29ab36b
AS
7695 * server.el (server-msg-size): New constant.
7696 (server-reply-print): New function.
7697 (server-eval-and-print): Use it.
7698 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7699 Handle -print-nonl.
7700
de5939ba
CS
77012012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7702
7703 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7704 (Bug#10987).
7705
0c93eabf
CY
77062012-03-11 Chong Yidong <cyd@gnu.org>
7707
397a688f
CY
7708 * simple.el (goto-line): Doc fix (Bug#9938).
7709
2cc775f9
CY
7710 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7711
0c93eabf
CY
7712 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7713 when finished (Bug#10963).
7714
c491fa41
MR
77152012-03-11 Martin Rudalics <rudalics@gmx.at>
7716
7717 * window.el (split-window-below): Fix bug in case where
7718 split-window-keep-point is nil (Bug#10971).
7719
300e8fa5
JL
77202012-03-11 Juri Linkov <juri@jurta.org>
7721
7722 * replace.el (replace-highlight): Set isearch-word to nil
7723 unconditionally. (Bug#10887)
7724
dbf6c5a1
EZ
77252012-03-10 Eli Zaretskii <eliz@gnu.org>
7726
7727 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7728 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7729 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7730 (mairix-widget-create-query): Add usage information about mairix
7731 search forms: negating words, searching for substrings, etc.
7732
b9e501de
JP
77332012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7734
7735 * international/fontset.el (font-encoding-alist): Add an entry for
7736 ksx1001 (Bug#5667).
7737
92795c91
RS
77382012-03-10 Richard Stallman <rms@gnu.org>
7739
1694e6c1
RS
7740 * mail/sendmail.el (mail-encode-header):
7741 Set rfc2047-encode-encoded-words.
7742
607e8555
RS
7743 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7744
de3bc99a
RS
7745 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7746 view buffer means not swapped.
7747 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7748 (rmail-write-region-annotate): Error if real text has disappeared.
7749
92795c91
RS
7750 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7751
699bd04e
CY
77522012-03-10 Chong Yidong <cyd@gnu.org>
7753
7754 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7755 * emulation/cua-base.el (cua--init-keymaps):
7756 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7757
570a1714
MR
77582012-03-10 Martin Rudalics <rudalics@gmx.at>
7759
dbbc2e69
SM
7760 * speedbar.el (speedbar-unhighlight-one-tag-line):
7761 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7762
82dcf4e4
CY
77632012-03-10 Chong Yidong <cyd@gnu.org>
7764
7a2c7ca7
CY
7765 * minibuffer.el (completion-in-region, completion-help-at-point):
7766 Give the completion field overlay a high priority (Bug#6830).
7767
82dcf4e4
CY
7768 * dired.el (dired-goto-file): Recognize absolute file name
7769 listings (Bug#7126).
7770 (dired-goto-file-1): New helper function.
7771 (dired-toggle-read-only): Inhibit warnings.
7772
052e28ac
MA
77732012-03-09 Michael Albinus <michael.albinus@gmx.de>
7774
75f1671a 7775 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7776 there are no properties.
7777
95d5e396
LL
77782012-03-09 Leo Liu <sdl.web@gmail.com>
7779
7780 * savehist.el (savehist-printable): Stricter check for string
7781 value (Bug#10937).
7782
3f018d6d
EZ
77832012-03-09 Eli Zaretskii <eliz@gnu.org>
7784
dbbc2e69
SM
7785 * mail/smtpmail.el (smtpmail-send-it):
7786 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7787 valid mbox format.
7788
f7fd3d79
GM
77892012-03-09 Glenn Morris <rgm@gnu.org>
7790
7791 * files.el (dir-locals-find-file):
7792 Don't check result is regular, readable.
7793 (dir-locals-read-from-file): Demote errors.
7794
6ff6e72f
EZ
77952012-03-08 Eli Zaretskii <eliz@gnu.org>
7796
dbbc2e69
SM
7797 * international/quail.el (quail-insert-kbd-layout):
7798 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7799 layout cell, to prevent their reordering by bidi display engine.
7800 For details, see the discussion in
7801 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7802
9cec7834
AM
78032012-03-08 Alan Mackenzie <acm@muc.de>
7804
7805 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7806 the starting position; make it extend the marked region when
7807 invoked repeatedly - all under appropriate circumstances.
7808 Fixes bugs #5525, #10906.
7809
9a40b8d4
GM
78102012-03-08 Glenn Morris <rgm@gnu.org>
7811
7812 * files.el (locate-dominating-file, dir-locals-find-file):
7813 Undo 2012-03-06 change.
7814
7a08ed35
EZ
78152012-03-07 Eli Zaretskii <eliz@gnu.org>
7816
dbbc2e69
SM
7817 * international/quail.el (quail-help):
7818 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7819 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7820 for the reason.
7821
5aca4f71 78222012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7823
7824 Avoid superfluous registering of signals. (Bug#10807)
7825
7826 * notifications.el (notifications-on-action-object)
7827 (notifications-on-close-object): New defvars.
7828 (notifications-on-action-signal, notifications-on-closed-signal):
7829 Unregister the signal if not needed any longer.
7830 (notifications-notify): Register `notifications-action-signal' or
7831 `notifications-closed-signal', if :on-action or :on-close has been
7832 passed as argument.
7833
78e8b10a
CY
78342012-03-07 Chong Yidong <cyd@gnu.org>
7835
7836 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7837 non-X platforms.
7838
69481eb8
GM
78392012-03-06 Glenn Morris <rgm@gnu.org>
7840
7841 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7842 (x-disown-selection-internal, x-get-selection-internal):
7843 Doc fix (add arglist signatures). (Bug#10783)
7844
133b8e11
KS
78452012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7846
7847 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7848 Handle breakpoints with no "type".
7849
99a83064
GM
78502012-03-06 Glenn Morris <rgm@gnu.org>
7851
7852 * files.el (locate-dominating-file): Add optional predicate argument.
7853 (dir-locals-find-file): Make use of above change.
7854
17798e78
TTN
78552012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7856
7857 * info.el (Info-insert-dir): Also try "dir.gz".
7858
eb182446
GM
78592012-03-06 Glenn Morris <rgm@gnu.org>
7860
8f2114ee
GM
7861 * files.el (dir-locals-find-file):
7862 Ignore non-readable or non-regular files. (Bug#10928)
7863
eb182446
GM
7864 * files.el (locate-dominating-file): Doc fix.
7865
24679323
AS
78662012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7867
7868 * calendar/calendar.el (calendar-set-mode-line):
7869 `getenv' returns a string. (Bug#10951)
7870
01d972a9
LL
78712012-03-05 Leo Liu <sdl.web@gmail.com>
7872
109aa8a9
LL
7873 * simple.el (backward-delete-char-untabify): Constrain point to
7874 field (Bug#10939).
7875
01d972a9
LL
7876 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7877
10607bea
CY
78782012-03-05 Chong Yidong <cyd@gnu.org>
7879
7880 * simple.el (count-words): If called from Lisp, return the word
7881 count, for symmetry with `count-lines'. Arglist changed.
7882 (count-words--message): Args changed. Consolidate counting code
7883 from count-words and count-words-region.
7884 (count-words-region): Caller changed.
7885 (count-lines-region): Make it an obsolete alias.
7886
5dd11cfe
TH
78872012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7888
7889 * saveplace.el (save-place-to-alist)
7890 (save-place-ignore-files-regexp): Allow value nil to disable this
7891 feature.
7892
c349f4e6
CY
78932012-03-04 Chong Yidong <cyd@gnu.org>
7894
7895 * faces.el (face-spec-reset-face): For the default face, reset the
7896 attributes to default values (Bug#10748).
7897
e627be4c
LMI
78982012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7899
7900 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7901 previous patch: Check `message-send-mail-function', and not the
7902 default function (bug#10897).
7903
ebeabff4
MA
79042012-03-04 Michael Albinus <michael.albinus@gmx.de>
7905
a41a6cf4
MA
7906 * notifications.el (notifications-on-action-signal)
7907 (notifications-on-closed-signal): Check for unique service name of
7908 incoming event. Fix error in removing entry.
ebeabff4 7909 (top): Register for signals with wildcard service name.
a41a6cf4 7910 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7911
c1ca42b4
CY
79122012-03-04 Chong Yidong <cyd@gnu.org>
7913
dc9924b8 7914 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7915
ea16568d
GM
79162012-03-04 Glenn Morris <rgm@gnu.org>
7917
7918 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7919 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7920 (expand-abbrev, define-abbrev-table): Doc fixes.
7921
fbae4637
LMI
79222012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7923
7924 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7925 `message-default-send-mail-function' and not `send-mail-function'
7926 when doing the prompting for `sendmail-query-once' before sending
7927 in Message buffers (bug#10897).
7928
a1e7225c
LMI
7929 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7930 This is inconsistent with all the other stream functions, which leave
7931 the setting up to the higher levels (if so wanted) (bug#10931).
7932
56d093a9
AM
79332012-03-02 Alan Mackenzie <acm@muc.de>
7934
7935 Depessimize the handling of very large macros.
7936
7937 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7938 (c-macro-cache-syntactic): New variables to implement a one
7939 element macro cache.
7940 (c-invalidate-macro-cache): New function.
7941 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7942 Adapt to use the new cache.
7943 (c-state-safe-place): Use better the cache of safe positions.
7944 (c-state-semi-nonlit-pos-cache)
7945 (c-state-semi-nonlit-pos-cache-limit):
7946 New variables for...
7947 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7948 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7949 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7950 Use c-state-semi-safe-place.
56d093a9 7951
dbbc2e69
SM
7952 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7953 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7954
817e5c3d
MA
79552012-03-02 Michael Albinus <michael.albinus@gmx.de>
7956
dbbc2e69
SM
7957 * jka-compr.el (jka-compr-call-process):
7958 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7959 not remote.
7960
a032a702
MA
79612012-03-01 Michael Albinus <michael.albinus@gmx.de>
7962
7963 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7964 access of FILE2, if FILE1 does not exist.
7965
99a54f21
MA
7966 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7967 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7968
7969 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7970 Add "PAGER=" to `process-environment'.
7971
f6561e1f
MM
79722012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7973
7974 * progmodes/sql.el: Bug fix
7975 (sql-get-login-ext): Save login values in globals.
7976 (sql-get-login): Use new version of `sql-get-login-ext'.
7977 (sql-interactive-mode): Set global `sql-connection' to nil.
7978 (sql-connect): Set global values for connection.
7979 (sql-product-interactive): Save global values as buffer local.
7980
2d44d9cc
LL
79812012-02-29 Leo Liu <sdl.web@gmail.com>
7982
7983 * abbrev.el (define-abbrevs): Reset sys to nil.
7984
96b49301 79852012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7986
bf7f9bc5
JB
7987 * files.el (file-equal-p): Rename from `files-equal-p'.
7988 Return nil when one or both files don't exist.
96b49301 7989 (file-subdir-of-p): Now only top directory must exists,
7990 return nil if it doesn't.
bf7f9bc5
JB
7991 (copy-directory): No need to test with `file-subdir-of-p' after
7992 creating dir.
7993 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7994 to `file-equal-p'.
96b49301 7995
44e97401
GM
79962012-02-28 Glenn Morris <rgm@gnu.org>
7997
7998 * shell.el (shell-mode):
7999 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8000 * play/landmark.el (landmark-font-lock-face-O):
8001 * play/handwrite.el (handwrite):
8002 * play/gomoku.el (gomoku-O):
8003 * net/browse-url.el (browse-url-browser-display):
8004 * international/mule.el (define-charset):
8005 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8006 * filesets.el (filesets-find-file-delay):
8007 * eshell/em-xtra.el (eshell-xtra):
8008 * eshell/em-unix.el (eshell-grep):
8009 * emulation/viper.el (viper-mode):
8010 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8011 * emacs-lisp/easymenu.el (easy-menu-define):
8012 * calendar/timeclock.el (timeclock-use-display-time):
8013 * bs.el (bs-mode):
8014 * bookmark.el (bookmark-save-flag):
8015 Doc fix (standardize possessive apostrophe usage).
8016
c98c6276
CY
80172012-02-27 Chong Yidong <cyd@gnu.org>
8018
bf7f9bc5
JB
8019 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8020 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8021
c98c6276
CY
8022 * font-lock.el (font-lock-specified-p): Rename from
8023 font-lock-spec-present. Callers changed.
8024
9c62cd04 80252012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8026
bf7f9bc5
JB
8027 * emacs-lisp/package.el (package-compute-transaction):
8028 Handle holding a package version to t in package-load-list.
8ac9e529 8029
530739c9
MA
80302012-02-26 Michael Albinus <michael.albinus@gmx.de>
8031
8032 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8033 (tramp-get-inode, tramp-get-device): Use cached values.
8034
487915d7
AM
80352012-02-26 Alan Mackenzie <acm@muc.de>
8036
8037 Check there is a font-lock specification before doing initial
8038 fontification.
8039
8040 * font-core.el (font-lock-mode): Move the conditional from
8041 :after-hook to font-lock-initial-fontify.
8042 (font-lock-default-function): Move the check for a specification
8043 to font-lock-spec-present.
8044
dc9924b8 8045 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8046 (font-lock-spec-present): New function.
8047
4fd96557
JB
80482012-02-26 Jim Blandy <jimb@red-bean.com>
8049
8050 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8051 (gdb-send): Apply it to the operand of the '-interpreter-exec
8052 console' command, so that we can pass arguments with (say) quotes
8053 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8054
9a4888c0
CY
80552012-02-26 Chong Yidong <cyd@gnu.org>
8056
07498861
CY
8057 * help-fns.el (describe-function-1): Clarify description of
8058 remapping (Bug#10844).
8059
9a4888c0
CY
8060 * files.el (files-equal-p): Doc fix.
8061 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8062 and quit the loop once a mismatch is found.
8063
ea8fb88d
JB
80642012-02-25 Juanma Barranquero <lekktu@gmail.com>
8065
8066 * bs.el (bs--show-with-configuration): Don't throw an error
8067 if the window cannot be split; otherwise, subsequent calls to
8068 bs-show fail, restoring a stale window config. (Bug#10882)
8069
525795c1
JD
80702012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8071
8072 * term/ns-win.el (global-map): Bind ns-drag-file to
8073 ns-find-file (Bug#5855, Bug#10050).
8074
f008086f
AS
80752012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8076
8077 * calendar/parse-time.el (parse-time-string): Allow extractor to
8078 return nil.
8079
a3fcfa99
MA
80802012-02-25 Michael Albinus <michael.albinus@gmx.de>
8081
91027d08
JB
8082 * net/tramp.el (tramp-file-name-for-operation):
8083 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8084
8085 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8086 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8087 Add COPY-CONTENTS argument.
a3fcfa99 8088
67b0de11
CY
80892012-02-25 Chong Yidong <cyd@gnu.org>
8090
8091 Add custom groups for VC backends, for consistency with vc-bzr.
8092
8093 * vc/vc-arch.el (vc-arch):
8094 * vc/vc-cvs.el (vc-cvs):
8095 * vc/vc-git.el (vc-git):
8096 * vc/vc-hg.el (vc-hg):
8097 * vc/vc-mtn.el (vc-mtn):
8098 * vc/vc-rcs.el (vc-rcs):
8099 * vc/vc-sccs.el (vc-sccs):
8100 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8101 All relevant defcustoms reassigned.
8102
3c9dfce6
CY
81032012-02-25 Chong Yidong <cyd@gnu.org>
8104
1339bf43
CY
8105 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8106
3c9dfce6
CY
8107 * term/x-win.el (x-initialize-window-system): Reduce default for
8108 x-selection-timeout to 5 seconds (Bug#8869).
8109
25b2e303 81102012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8111
ec70a47d
GM
8112 * files.el (files-equal-p, file-subdir-of-p): New functions.
8113 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8114 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8115 * dired-aux.el (dired-copy-file-recursive): Same.
8116 (dired-create-files): Modify destination when source is equal to
8117 dest when copying files.
53a46cd0 8118 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8119
914260cd
MA
81202012-02-24 Michael Albinus <michael.albinus@gmx.de>
8121
8122 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8123 (Bug#10874)
8124
2cb228f7
AM
81252012-02-23 Alan Mackenzie <acm@muc.de>
8126
8127 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8128 parameter "after-hook:" to allow the expansion to run code after
8129 the execution of the mode hooks.
8130
8131 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8132 from font-lock-mode-internal.
2cb228f7 8133
91027d08 8134 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8135 :after-hook.
8136
8f0fde21
SM
81372012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8138
3e88618b
SM
8139 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8140 (completion--cache-all-sorted-completions): New function.
8141 (completion-all-sorted-completions): Use it.
8142 (completion--do-completion, minibuffer-force-complete):
8143 Use it to re-instate the flush hook.
8144
8f0fde21
SM
8145 * icomplete.el (icomplete-completions): Replace last fix with a better
8146 one (bug#10850).
8147
8e911f6f
DG
81482012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8149
8150 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8151 when it might call us back infinitely (bug#10797).
8152
49fe4321
GM
81532012-02-23 Glenn Morris <rgm@gnu.org>
8154
8155 * minibuffer.el (completion-category-overrides): Doc fix.
8156
b291b572
SM
81572012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8160 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8161
31a9ef2e
GM
81622012-02-23 Glenn Morris <rgm@gnu.org>
8163
5e6e6794 8164 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8165 (authors-obsolete-files-regexps, authors-ignored-files)
8166 (authors-ambiguous-files, authors-renamed-files-alist):
8167 Add more entries.
8168
0bd1e074
JL
81692012-02-23 Juri Linkov <juri@jurta.org>
8170
8171 * isearch.el (isearch-occur): Sync interactive spec with occur's
8172 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8173
b617673c
JL
8174 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8175
19e9789e
JL
81762012-02-22 Juri Linkov <juri@jurta.org>
8177
8178 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8179 (ucs-insert): Doc fix. Check for hex digits in the string.
8180 Don't display `nil' in the error message. (Bug#10857)
8181
f41ce09d
AM
81822012-02-22 Alan Mackenzie <acm@muc.de>
8183
7a71b18d 8184 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8185
ac2eceee
GM
81862012-02-22 Glenn Morris <rgm@gnu.org>
8187
8188 * ffap.el (ffap-c-path):
8189 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8190
abd1f678
CY
81912012-02-22 Chong Yidong <cyd@gnu.org>
8192
8193 * custom.el (load-theme): Doc fix.
8194
f25aef2e
GM
81952012-02-22 Glenn Morris <rgm@gnu.org>
8196
8197 * dired-x.el (dired-guess-shell-alist-default):
8198 Remove escape sequences from nroff output. (Bug#172)
8199
5f8dc2ca
GM
82002012-02-21 Glenn Morris <rgm@gnu.org>
8201
6ff86ec4
GM
8202 * vc/emerge.el (emerge-defvar-local):
8203 Set `permanent-local' property rather than unused `preserved'.
8204
be3223a3 8205 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8206 (picture-mode-map): Use it. (Bug#10860)
8207 (picture-mode): Doc fix.
8208
3fe58f4f
JB
82092012-02-21 Juanma Barranquero <lekktu@gmail.com>
8210
8211 * newcomment.el (uncomment-region-default): Remove unused binding.
8212
f9a998c3
GM
82132012-02-21 Glenn Morris <rgm@gnu.org>
8214
8215 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8216 (picture-self-insert, picture-tab-chars): Doc fix.
8217 (picture-mode-map): Fix C-a, C-e.
8218
c6029348
GM
82192012-02-20 Glenn Morris <rgm@gnu.org>
8220
8221 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8222
ab1ce9d7
LL
82232012-02-20 Leo Liu <sdl.web@gmail.com>
8224
8225 * icomplete.el (icomplete-completions): Check FROM arg before
8226 passing to substring (Bug#10850).
8227
0fd40f89
CY
82282012-02-19 Chong Yidong <cyd@gnu.org>
8229
8230 * comint.el: Require ansi-color.
8231 (comint-output-filter-functions): Add ansi-color-process-output.
8232
8233 * ansi-color.el: Don't set comint-output-filter-functions; it is
8234 now in the initial value defined in comint.el.
8235 (ansi-color-apply-face-function): New variable.
8236 (ansi-color-apply-on-region): Use it.
8237 (ansi-color-apply-overlay-face): New function.
8238
8239 * shell.el (shell): No need to require ansi-color.
8240 (shell-mode): Use ansi-color-apply-face-function to highlight
8241 color escapes using font-lock-face property (Bug#10835).
8242
20af2394
CY
82432012-02-19 Chong Yidong <cyd@gnu.org>
8244
8245 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8246 mode-line formats (Bug#10839).
8247
e23a3fbe
GM
82482012-02-18 Glenn Morris <rgm@gnu.org>
8249
b474519e
GM
8250 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8251
8252 * mail/undigest.el (unforward-rmail-message): Doc fix.
8253
e23a3fbe
GM
8254 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8255
57939ff4
EZ
82562012-02-18 Eli Zaretskii <eliz@gnu.org>
8257
8258 * international/characters.el (script-list): Sync with the latest
8259 Unicode Character Database.
8260
0c23686e
AS
82612012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8262
8263 * international/titdic-cnv.el: Remove duplicate coding tag.
8264 * language/cham.el: Likewise.
8265 * language/tai-viet.el: Likewise.
8266
6818b449
GM
82672012-02-18 Glenn Morris <rgm@gnu.org>
8268
8269 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8270 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8271 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8272 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8273 * calendar/holidays.el (holiday-bahai-holidays)
8274 (calendar-holidays, list-holidays):
8275 Use utf-8 Bahá'í in doc-strings, menus, etc.
8276
0311a3fc
TH
82772012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8278
8279 * saveplace.el (save-place-ignore-files-regexp): New variable
8280 allowing for excluding files from saving their location of point.
8281 The default value matches the temporary commit message editing
8282 files from Git, SVN, Bazaar, and Mercurial.
8283 (save-place-to-alist): Use it.
8284
d209e2fb 82852012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8286 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8287
8288 * newcomment.el (uncomment-region-default): Don't leave extra space
8289 when an arg is provided (bug#8150).
8290
ee0ce425
TZ
82912012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8292
eb864a71 8293 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8294
95ddf442
GM
82952012-02-17 Glenn Morris <rgm@gnu.org>
8296
8297 * net/socks.el: Require network-stream. (Bug#10599)
8298
48dd1e39 82992012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8300
8301 * international/charprop.el:
8302 * international/uni-name.el:
8303 * international/uni-old-name.el:
8304 * international/uni-comment.el: Regenerate.
8305
d68cd087
GM
83062012-02-16 Glenn Morris <rgm@gnu.org>
8307
8308 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8309 Interactively in calendar buffer, give an error if not on a date.
8310
13932042
GM
83112012-02-15 Glenn Morris <rgm@gnu.org>
8312
8313 * shell.el (shell-delimiter-argument-list):
8314 Revert 2011-02-17 change. (Bug#8027)
8315
c3a70e2b
CY
83162012-02-15 Chong Yidong <cyd@gnu.org>
8317
60236b0d
CY
8318 * minibuffer.el (completion-at-point-functions): Doc fix.
8319
c3a70e2b
CY
8320 * custom.el (defcustom): Doc fix; note use of defvar.
8321
9f26dc24
GM
83222012-02-15 Glenn Morris <rgm@gnu.org>
8323
8324 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8325 Doc fixes.
8326
6546b134
GM
83272012-02-14 Glenn Morris <rgm@gnu.org>
8328
8329 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8330
d29b2b4c
LI
83312012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8332
8333 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8334 way the ports list is computed.
835bdcba
LI
8335 (smtpmail-query-smtp-server): Prompt the user for a port number if
8336 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8337
08dcdbc9
TZ
83382012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8339
8340 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8341
2605051a
GM
83422012-02-13 Glenn Morris <rgm@gnu.org>
8343
8344 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8345
7ee99f32
TZ
83462012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8347
8348 * net/gnutls.el (gnutls-trustfiles): New variable.
8349 (gnutls-negotiate): Use it.
8350
5f0af64f
LI
83512012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8352
8353 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8354 does its stuff if Gnus is running.
8355
c14fcc95
AM
83562012-02-13 Alan Mackenzie <acm@muc.de>
8357
8358 Fix a loop in c-set-fl-decl-start.
8359
7a71b18d 8360 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8361 c-backward-syntactic-ws actually moves backwards.
8362
142b4d90
LL
83632012-02-13 Leo Liu <sdl.web@gmail.com>
8364
8365 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8366 beginning so that all \C-o chars are removed.
8367
fa9958a6
TZ
83682012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8369
dc9924b8 8370 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8371
0bc5886a
AM
83722012-02-12 Alan Mackenzie <acm@muc.de>
8373
8374 Fix infinite loop with long macros.
4d6769e1 8375 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8376
d4bd55e7
CY
83772012-02-12 Chong Yidong <cyd@gnu.org>
8378
8379 * window.el (display-buffer): Doc fix (Bug#10785).
8380
66f3fe22
GM
83812012-02-12 Glenn Morris <rgm@gnu.org>
8382
bd7da63e
GM
8383 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8384 (x-disown-selection-internal, x-get-selection-internal):
8385 Sync docs with the xselect.c versions.
8386
66f3fe22
GM
8387 * allout-widgets.el: Add missing license notice.
8388
3e0d2fa7
GM
83892012-02-11 Glenn Morris <rgm@gnu.org>
8390
cfecdf09
GM
8391 * select.el (x-get-selection-internal, x-own-selection-internal)
8392 (x-disown-selection-internal):
8393 * x-dnd.el (x-get-selection-internal): Update declarations.
8394
6d216d7f
GM
8395 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8396
2bed3f04
GM
8397 * window.el (window-sides-slots):
8398 * tool-bar.el (tool-bar-position):
8399 * term/xterm.el (xterm-extra-capabilities):
8400 * ses.el (ses-self-reference-early-detection):
8401 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8402 (verilog-auto-wire-type)
8403 (verilog-auto-delete-trailing-whitespace)
8404 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8405 (verilog-auto-tieoff-declaration):
8406 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8407 (sql-oracle-statement-starters, sql-oracle-scan-on):
8408 * progmodes/prolog.el (prolog-align-comments-flag)
8409 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8410 (prolog-left-indent-regexp, prolog-paren-indent-p)
8411 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8412 (prolog-types, prolog-mode-specificators)
8413 (prolog-determinism-specificators, prolog-directives)
8414 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8415 (prolog-electric-dot-flag)
8416 (prolog-electric-dot-full-predicate-template)
8417 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8418 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8419 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8420 (prolog-program-switches, prolog-prompt-regexp)
8421 (prolog-debug-on-string, prolog-debug-off-string)
8422 (prolog-trace-on-string, prolog-trace-off-string)
8423 (prolog-zip-on-string, prolog-zip-off-string)
8424 (prolog-use-standard-consult-compile-method-flag)
8425 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8426 (prolog-imenu-max-lines, prolog-info-predicate-index)
8427 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8428 (prolog-char-quote-workaround):
8429 * progmodes/cc-vars.el (c-defun-tactic):
8430 * net/tramp.el (tramp-encoding-command-interactive)
8431 (tramp-local-end-of-line):
8432 * net/soap-client.el (soap-client):
8433 * net/netrc.el (netrc-file):
8434 * net/gnutls.el (gnutls):
8435 * minibuffer.el (completion-category-overrides)
8436 (completion-cycle-threshold)
8437 (completion-pcm-complete-word-inserts-delimiters):
8438 * man.el (Man-name-local-regexp):
8439 * mail/feedmail.el (feedmail-display-full-frame):
8440 * international/characters.el (glyphless-char-display-control):
8441 * eshell/em-ls.el (eshell-ls-date-format):
8442 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8443 (lisp-lambda-list-keyword-parameter-indentation)
8444 (lisp-lambda-list-keyword-parameter-alignment):
8445 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8446 * dired-x.el (dired-omit-verbose):
8447 * cus-theme.el (custom-theme-allow-multiple-selections):
8448 * calc/calc.el (calc-highlight-selections-with-faces)
8449 (calc-lu-field-reference, calc-lu-power-reference)
8450 (calc-note-threshold):
8451 * battery.el (battery-mode-line-limit):
8452 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8453 (archive-7z-update):
8454 * allout.el (allout-prefixed-keybindings)
8455 (allout-unprefixed-keybindings)
8456 (allout-inhibit-auto-fill-on-headline)
8457 (allout-flattened-numbering-abbreviation):
8458 * allout-widgets.el (allout-widgets-auto-activation)
8459 (allout-widgets-icons-dark-subdir)
8460 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8461 (allout-widgets-theme-dark-background)
8462 (allout-widgets-theme-light-background)
8463 (allout-widgets-item-image-properties-emacs)
8464 (allout-widgets-item-image-properties-xemacs)
8465 (allout-widgets-run-unit-tests-on-load)
8466 (allout-widgets-time-decoration-activity)
8467 (allout-widgets-hook-error-post-time)
8468 (allout-widgets-track-decoration):
8469 Add missing :version tags to new defcustoms and defgroups.
8470
5fec1b8e
GM
8471 * progmodes/sql.el (sql-ansi-statement-starters)
8472 (sql-oracle-statement-starters): Add custom type.
8473
3e0d2fa7
GM
8474 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8475 (prolog-system-version): Give it a type.
8476
90b671e2
EZ
84772012-02-11 Eli Zaretskii <eliz@gnu.org>
8478
8479 * term/pc-win.el (x-select-text, x-selection-owner-p)
8480 (x-own-selection-internal, x-disown-selection-internal)
8481 (x-get-selection-internal): Sync doc strings and argument lists
8482 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8483
5eac0c02
LL
84842012-02-11 Leo Liu <sdl.web@gmail.com>
8485
8486 * progmodes/python.el (python-end-of-statement): Fix infinite
8487 loop. (Bug#10788)
8488
f82cb659
GM
84892012-02-10 Glenn Morris <rgm@gnu.org>
8490
8491 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8492 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8493
cc26d239
LI
84942012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8495
8496 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8497 about SMTP before checking the From header.
8498
91027d08 8499 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8500 into own function for reuse by emacsbug.el.
8501
1be3ca5a
LL
85022012-02-10 Leo Liu <sdl.web@gmail.com>
8503
8504 * subr.el (condition-case-unless-debug): Rename from
8505 condition-case-no-debug. All callers changed.
8506 (with-demoted-errors): Fix caller.
8507
8508 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8509 * nxml/rng-valid.el (rng-do-some-validation):
8510 * emacs-lisp/package.el (package-refresh-contents)
8511 (package-menu-execute):
8512 * desktop.el (desktop-create-buffer):
91027d08 8513 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8514
b011fbfe
GM
85152012-02-10 Glenn Morris <rgm@gnu.org>
8516
b2096d72
GM
8517 * textmodes/bibtex.el:
8518 Add missing :version tags for new/changed defcustoms.
8519
b011fbfe
GM
8520 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8521
4c7e65bf
LI
85222012-02-09 Lars Ingebrigtsen <larsi@rusty>
8523
8524 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8525 (smtpmail-via-smtp): Use it, or fall back on the From address.
8526 (smtpmail-send-it): Ditto.
8527
f3934f6f
SM
85282012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8531 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8532 (byte-compile-tmp-var): New const.
8533 (byte-compile-defvar): Use it to minimize .elc size.
8534 Just use `defvar' rather than simulate it (bug#10761).
8535
a075a2c5
GM
85362012-02-09 Glenn Morris <rgm@gnu.org>
8537
cf3aa21b
GM
8538 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8539
354998cd
GM
8540 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8541 Add :version tags.
8542
dc9924b8
SM
8543 * progmodes/compile.el (compilation-error-screen-columns)
8544 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8545
dab3703d
GM
8546 * vc/log-view.el (log-view-toggle-entry-display):
8547 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8548
3f88cd72
GM
8549 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8550 (report-emacs-bug-can-use-xdg-email):
8551 (report-emacs-bug-insert-to-mailer): Doc fixes.
8552 (report-emacs-bug): Message fix.
8553
d95b247d
GM
8554 * net/browse-url.el (browse-url-can-use-xdg-open)
8555 (browse-url-xdg-open): Doc fixes.
8556
a075a2c5
GM
8557 * electric.el (electric-indent-mode, electric-pair-mode)
8558 (electric-layout-rules, electric-layout-mode): Doc fixes.
8559 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8560
ffb6157e
MR
85612012-02-08 Martin Rudalics <rudalics@gmx.at>
8562
8563 * server.el (server-unselect-display): Don't inadvertently kill
8564 the current buffer. (Bug#10729)
8565
e1ac4066
GM
85662012-02-08 Glenn Morris <rgm@gnu.org>
8567
34e8a2da
GM
8568 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8569 (sql-list-table): Doc fixes.
8570
b4ac6e8c
GM
8571 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8572 Comment out (does nothing).
8573
e1ac4066
GM
8574 * completion.el (dynamic-completion-mode):
8575 * dirtrack.el (dirtrack-debug-mode):
8576 * electric.el (electric-layout-mode):
8577 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8578 * face-remap.el (text-scale-mode, buffer-face-mode):
8579 * iimage.el (iimage-mode):
8580 * image-mode.el (image-transform-mode):
8581 * minibuffer.el (completion-in-region-mode):
8582 * scroll-lock.el (scroll-lock-mode):
8583 * simple.el (next-error-follow-minor-mode):
8584 * tar-mode.el (tar-subfile-mode):
8585 * tooltip.el (tooltip-mode):
8586 * vcursor.el (vcursor-use-vcursor-map):
8587 * wid-browse.el (widget-minor-mode):
8588 * emulation/tpu-edt.el (tpu-edt-mode):
8589 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8590 * international/iso-ascii.el (iso-ascii-mode):
8591 * language/thai-util.el (thai-word-mode):
8592 * mail/supercite.el (sc-minor-mode):
8593 * net/goto-addr.el (goto-address-mode):
8594 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8595 * progmodes/cwarn.el (cwarn-mode):
8596 * progmodes/flymake.el (flymake-mode):
8597 * progmodes/glasses.el (glasses-mode):
8598 * progmodes/hideshow.el (hs-minor-mode):
8599 * progmodes/pascal.el (pascal-outline-mode):
8600 * textmodes/enriched.el (enriched-mode):
8601 * vc/smerge-mode.el (smerge-mode):
8602 Doc fixes (minor mode argument).
8603
5e0d957f
EZ
86042012-02-07 Eli Zaretskii <eliz@gnu.org>
8605
8606 * ls-lisp.el (ls-lisp-sanitize): New function.
8607 (ls-lisp-insert-directory): Use it to fix or remove any elements
8608 in file-alist with missing attributes. (Bug#4673)
8609
98d7371e
AM
86102012-02-07 Alan Mackenzie <acm@muc.de>
8611
8612 Fix spurious recognition of c-in-knr-argdecl.
8613
8614 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8615 putative K&R region.
8616
667ced3a
AM
86172012-02-07 Alan Mackenzie <acm@muc.de>
8618
eb864a71
LM
8619 * progmodes/cc-engine.el (c-forward-objc-directive):
8620 Prevent looping in "#pragma mark @implementation".
667ced3a 8621
5b77774d
MA
86222012-02-07 Michael Albinus <michael.albinus@gmx.de>
8623
8624 * notifications.el (notifications-on-closed-signal): Make `reason'
8625 optional. (Bug#10744)
8626
af008560
GM
86272012-02-07 Glenn Morris <rgm@gnu.org>
8628
60d47423
GM
8629 * emacs-lisp/easy-mmode.el (define-minor-mode):
8630 Doc fixes for the macro and the mode it defines.
8631
dd605cc4
GM
8632 * image.el (imagemagick-types-inhibit): Doc fix.
8633
af008560
GM
8634 * cus-start.el (imagemagick-render-type): Add it.
8635
5cc59a37
LI
86362012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8637
4d6769e1
JB
8638 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8639 Set the default at load time, too, so that `font-lock-fontify-buffer'
8640 can be called without setting up the entire mode first. This fixes
8641 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8642
9a6dd747
CY
86432012-02-06 Chong Yidong <cyd@gnu.org>
8644
2d16b285
CY
8645 * simple.el (list-processes--refresh): Delete exited processes
8646 (Bug#8094).
8647
171e9b6e
CY
8648 * comint.el (comint-next-prompt): next-single-char-property-change
8649 and prev-single-char-property-change never return nil (Bug#8657).
8650
9a6dd747
CY
8651 * custom.el (defcustom): Doc fix (Bug#9711).
8652
aa4589a7
CY
86532012-02-05 Chong Yidong <cyd@gnu.org>
8654
5c2a252f
CY
8655 * cus-edit.el (custom-variable-reset-backup): Quote the value
8656 before storing it in the customized-value property (Bug#6712).
4aab9006 8657 (custom-display): Add a customization type tag.
983b9602 8658 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8659
aa4589a7
CY
8660 * wid-edit.el (widget-field-value-get): New optional arg to
8661 suppress trailing whitespace truncation.
8662 (character): Use it (Bug#2689).
8663
1ff980ae
AS
86642012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8665
8666 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8667 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8668
03988c98
CY
86692012-02-05 Chong Yidong <cyd@gnu.org>
8670
eeb6cc88
CY
8671 * cus-edit.el (custom-variable-value-create): For mismatched
8672 types, show the current value (Bug#7600).
8673
03988c98
CY
8674 * custom.el (defcustom): Doc fix.
8675
f8cdeef0
GM
86762012-02-05 Glenn Morris <rgm@gnu.org>
8677
8678 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8679
0696d255
JB
86802012-02-05 Juanma Barranquero <lekktu@gmail.com>
8681
8682 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8683 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8684 (pp-last-sexp): Use `looking-at-p'.
8685
34c99998
GM
86862012-02-04 Glenn Morris <rgm@gnu.org>
8687
8f05da42
GM
8688 * files.el (revert-buffer):
8689 Doc fix (mention revert-buffer-in-progress-p).
8690
f160676e
GM
8691 * emacs-lisp/ert-x.el (ert-simulate-command):
8692 Check deferred-action-list (which is obsolete) is bound.
8693
c7291ad9
GM
8694 * subr.el (with-wrapper-hook): Doc fixes.
8695
34c99998
GM
8696 * simple.el (filter-buffer-substring-functions)
8697 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8698
6283a7d3
LL
86992012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8700
8701 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8702 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8703
e96e3013
LL
87042012-02-04 Leo Liu <sdl.web@gmail.com>
8705
8706 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8707
8ded50f2
GM
87082012-02-04 Glenn Morris <rgm@gnu.org>
8709
82ff1d13
GM
8710 * image.el (image-extension-data): Add obsolete alias.
8711
987a0a16
GM
8712 * isearch.el (isearch-update): Doc fix.
8713
ea32ef46
GM
8714 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8715
8ded50f2
GM
8716 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8717
eea14f31
GM
87182012-02-03 Glenn Morris <rgm@gnu.org>
8719
8720 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8721 (image-animate-timeout): Doc fix.
8722
8723 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8724
12f381b7
GM
87252012-02-02 Glenn Morris <rgm@gnu.org>
8726
953cebf5
GM
8727 * server.el (server-auth-dir): Doc fix.
8728 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8729
12f381b7
GM
8730 * subr.el (run-mode-hooks): Doc fix.
8731
953a8c3b
JL
87322012-02-02 Juri Linkov <juri@jurta.org>
8733
8734 * image-mode.el (image-toggle-display-image): Remove tautological
8735 `major-mode' from the `derived-mode-p' test.
8736
c5d3843c
KH
87372012-02-02 Kenichi Handa <handa@m17n.org>
8738
9f6e692e 8739 * composite.el (compose-region): Cancel previous change.
c5d3843c 8740
159462d4 87412012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8742
8743 * composite.el (compose-region, compose-string): Signal error for
8744 a null string component (Bug#6988).
8745
9f562668
CY
87462012-02-01 Chong Yidong <cyd@gnu.org>
8747
e2cef717
CY
8748 * view.el (view-buffer-other-window, view-buffer-other-frame):
8749 Handle special modes like view-buffer (Bug#10650).
8750 (view-buffer): Simplify.
8751
9f562668
CY
8752 * frame.el (set-frame-font): Tweak meaning of third argument.
8753
9f6e692e
JB
8754 * dynamic-setting.el (font-setting-change-default-font):
8755 Use set-frame-font (Bug#9982).
9f562668 8756
781acb9f
GM
87572012-02-01 Glenn Morris <rgm@gnu.org>
8758
6035be52
GM
8759 * progmodes/compile.el (compilation-internal-error-properties):
8760 Respect compilation-first-column in the "*compilation*" buffer.
8761
781acb9f
GM
8762 * emacs-lisp/easy-mmode.el (define-minor-mode):
8763 Relax :variable's test for a named function.
8764
abbceb00
AM
87652012-01-31 Alan Mackenzie <acm@muc.de>
8766
8767 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8768 off by one error.
8769
fce3fdeb
CY
87702012-01-31 Chong Yidong <cyd@gnu.org>
8771
8772 * frame.el (set-frame-font): New arg ALL-FRAMES.
8773
8774 * menu-bar.el (menu-set-font): Use set-frame-font.
8775
8776 * faces.el (face-spec-reset-face): Don't apply unspecified
8777 attribute values to the default face.
8778
47893581
JB
87792012-01-31 Juanma Barranquero <lekktu@gmail.com>
8780
8781 * progmodes/cwarn.el (cwarn): Remove dead link.
8782 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8783 Remove * from defcustom docstrings.
8784 (turn-on-cwarn-mode): Make obsolete.
8785 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8786 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8787
e58e988a
GM
87882012-01-31 Glenn Morris <rgm@gnu.org>
8789
60dc2671 8790 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8791 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8792 Allow named functions to be used as the cdr of :variable.
e58e988a 8793
7a3f511d
GM
87942012-01-30 Glenn Morris <rgm@gnu.org>
8795
8796 * emacs-lisp/authors.el (authors-fixed-entries):
8797 Remove reference to deleted file rnewspost.el.
8798
cb882333
JB
87992012-01-29 Juanma Barranquero <lekktu@gmail.com>
8800
8801 * window.el (window-with-parameter): Remove unused variable `windows'.
8802 (window--side-check): Remove unused variable `code'.
8803 (window--resize-siblings): Remove unused variable `first'.
8804 (adjust-window-trailing-edge): Remove unused variable `failed'.
8805 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8806 Use `let', not `let*'.
8807 (balance-windows-2): Remove unused variable `found'.
8808 (window--state-put-2): Remove unused variable `splits'.
8809 (window-state-put): Remove unused variable `selected'.
8810 (same-window-p): Use `string-match-p'.
8811 (display-buffer-assq-regexp): Remove unused variable `value'.
8812 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8813 Mark argument ALIST as ignored.
8814 (pop-to-buffer): Remove unused variable `old-window'.
8815
907201af
EZ
88162012-01-29 Eli Zaretskii <eliz@gnu.org>
8817
8818 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8819 and .lzma compressed files.
8820
ea162670
CY
88212012-01-29 Chong Yidong <cyd@gnu.org>
8822
5b95ee8a
CY
8823 * frame.el (window-system-default-frame-alist): Doc fix.
8824
ea162670
CY
8825 * dynamic-setting.el (font-setting-change-default-font): Don't
8826 change the default face if SET-FONT argument is non-nil (Bug#9982).
8827
d6e6f4b1
SB
88282012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8829
8830 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8831
0f29fa41 88322012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8833
8834 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8835 breakpoints in files outside current directory (Bug#6098).
8836
db174434
CY
88372012-01-29 Chong Yidong <cyd@gnu.org>
8838
6b25e4e2
SE
8839 * progmodes/python.el: Require ansi-color at top-level.
8840
6df6ae42
JB
8841 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8842 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8843 (lisp-mode-abbrev-table): Add doc.
8844 (lisp-mode-variables): Don't set local-abbrev-table.
8845 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8846
e70ee681
RW
88472012-01-28 Roland Winkler <winkler@gnu.org>
8848
8849 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8850
ace88aa2
RW
88512012-01-28 Roland Winkler <winkler@gnu.org>
8852
8853 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8854 (bibtex-set-dialect): Use it. Either set global values of
8855 dialect-dependent variables or bind these variables buffer-locally
8856 (Bug#10254).
8857 (bibtex-mode): Call bibtex-set-dialect via
8858 hack-local-variables-hook.
eb864a71
LM
8859 (bibtex-dialect): Update docstring.
8860 Add safe-local-variable predicate.
ace88aa2
RW
8861 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8862 bibtex-set-dialect.
8863 (bibtex-mode-map): Define menu for each dialect.
8864 (bibtex-entry): Fix docstring.
8865
93376c5b
CY
88662012-01-28 Chong Yidong <cyd@gnu.org>
8867
8868 * eshell/esh-arg.el (eshell-quote-argument): New function.
8869
8870 * eshell/esh-ext.el (eshell-invoke-batch-file):
8871 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8872 first arg to eshell-parse-command (Bug#10523).
8873
4372494f
DA
88742012-01-28 Drew Adams <drew.adams@oracle.com>
8875
8876 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8877 `default-directory' is non-nil.
8878
4d4ec1f8
EZ
88792012-01-28 Eli Zaretskii <eliz@gnu.org>
8880
8881 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8882 line that displays system-configuration-options. (Bug#9924)
8883
7c188927
DA
88842012-01-28 Drew Adams <drew.adams@oracle.com>
8885
8886 * descr-text.el (describe-char): Show information about POS, in
8887 addition to information about the character at POS. Improve and
8888 update the doc string. Change "code point" to "code point in
8889 charset", to avoid confusion with the character's Unicode code
8890 point shown above that. (Bug#10129)
8891
e0da685a
EZ
88922012-01-28 Eli Zaretskii <eliz@gnu.org>
8893
8894 * descr-text.el (describe-char): Show the raw character, not only
8895 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8896 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8897 for the reasons.
8898
70550acf
PH
88992012-01-28 Phil Hagelberg <phil@hagelb.org>
8900
eb864a71
LM
8901 * emacs-lisp/package.el (package-install):
8902 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8903
0ce8e868
CY
89042012-01-28 Chong Yidong <cyd@gnu.org>
8905
cb882333
JB
8906 * emacs-lisp/package.el (package-maybe-load-descriptor):
8907 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8908 (package-maybe-load-descriptor): Use it.
8909 (package-download-transaction): Fully load required packages
8910 inside the loop, so that `require' calls work (Bug#10593).
8911 (package-install): No need to call package-initialize now.
8912
2e7f3bea
CY
89132012-01-28 Chong Yidong <cyd@gnu.org>
8914
6e9bad14
CY
8915 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8916
f823b8ca
CY
8917 * tooltip.el (tooltip-mode): Doc fix.
8918 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8919
2680c309
CY
8920 * frame.el (set-cursor-color): Doc fix (Bug#352).
8921
d7a9e63b
CY
8922 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8923 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8924
2e7f3bea
CY
8925 * cus-edit.el (custom-buffer-create-internal): Fix search button
8926 action (Bug#10542).
2ae01800 8927 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8928
fc4f7a23
EW
89292012-01-27 Eduard Wiebe <usenet@pusto.de>
8930
8931 * dired.el (dired-mark-files-regexp):
8932 Include any subdirectory components. (Bug#10445)
8933
7dd37071
ML
89342012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8935
8936 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8937 Handle [host]:port syntax. (Bug#10533)
8938
a268160b
AH
89392012-01-27 Alex Harsanyi <harsanyi@mac.com>
8940
8941 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8942
e43273ef
GM
89432012-01-26 Glenn Morris <rgm@gnu.org>
8944
8945 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8946 * term.el (term-raw-escape-map): Use Control-X-prefix.
8947 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8948
1edf595d
MR
89492012-01-25 Martin Rudalics <rudalics@gmx.at>
8950
8951 * window.el (window-state-get, window--state-get-1): Don't deal
8952 with fixed-sizeness of windows. Simplify code.
8953
fa8eafef
JC
89542012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8955
6df6ae42
JB
8956 * window.el (window--state-get-1, window--state-put-2):
8957 Don't save and restore the mark.
fa8eafef 8958
0b21c100
CY
89592012-01-25 Chong Yidong <cyd@gnu.org>
8960
8961 * custom.el (custom-variable-p): Doc fix.
8962
5ae1a6c8
GM
89632012-01-25 Glenn Morris <rgm@gnu.org>
8964
40047858
GM
8965 * dired.el (dired-goto-file): Handle some of the more common
8966 characters that `ls -b' escapes. (Bug#10596)
8967
5ddce96c
GM
8968 * progmodes/compile.el (compilation-next-error-function):
8969 Respect compilation-first-column in the "*compilation*" buffer.
8970 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8971
5ae1a6c8
GM
8972 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8973
b559f1a9
GM
89742012-01-24 Glenn Morris <rgm@gnu.org>
8975
8976 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8977
6725d21a
JD
89782012-01-24 Julien Danjou <julien@danjou.info>
8979
8980 * color.el (color-rgb-to-hsl): Fix value computing.
8981 (color-hue-to-rgb): New function.
8982 (color-hsl-to-rgb): New function.
8983 (color-clamp, color-saturate-hsl, color-saturate-name)
8984 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8985 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8986
70df4bbe
GM
89872012-01-24 Glenn Morris <rgm@gnu.org>
8988
8989 * vc/vc-rcs.el (vc-rcs-create-tag):
8990 * vc/vc-sccs.el (vc-sccs-create-tag):
8991 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8992
802a2ae2
ML
89932012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8994
8995 * eshell/esh-util.el (eshell-read-hosts-file):
8996 Skip comment lines. (Bug#10549)
8997
d7128bb1
ML
8998 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8999
d1a5c3b4
JB
90002012-01-23 Juanma Barranquero <lekktu@gmail.com>
9001
2724d9c7
JB
9002 * subr.el (display-delayed-warnings): Doc fix.
9003 (collapse-delayed-warnings): New function to collapse identical
9004 adjacent warnings.
9005 (delayed-warnings-hook): Add it.
d1a5c3b4 9006
a5509865
MA
90072012-01-22 Michael Albinus <michael.albinus@gmx.de>
9008
9009 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9010
a5509865
MA
9011 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9012 (tramp-default-user-alist): Don't add "pscp".
9013 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9014 property "login-as", if set. (Bug#10530)
9015
cc6d5805
MA
90162012-01-21 Michael Albinus <michael.albinus@gmx.de>
9017
9018 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9019 "plink1" and "psftp". (Bug#10530)
9020
90212012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9022
9023 * international/mule-cmds.el (prefer-coding-system): Show a
9024 warning message if the default value of file-name-coding-system
9025 was not changed.
9026
f0960428
JC
90272012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9028
cb882333
JB
9029 * windmove.el (windmove-reference-loc):
9030 Fix windmove-reference-loc miscalculation.
f0960428 9031
dd6f2a63
JB
90322012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9033
9034 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9035 default unit.
9036
7b447e9b
GM
90372012-01-21 Glenn Morris <rgm@gnu.org>
9038
117a9ea1
GM
9039 * international/mule.el (auto-coding-alist): Add .tbz.
9040
7b447e9b
GM
9041 * files.el (local-enable-local-variables): Doc fix.
9042 (inhibit-local-variables-regexps): Rename from
9043 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9044 Doc fix. Add some extensions from auto-coding-alist.
9045 (inhibit-local-variables-suffixes):
9046 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9047 (inhibit-local-variables-p):
9048 New function, extracted from set-auto-mode-1.
9049 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9050 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9051 (hack-local-variables): Doc fix. Make the mode-only case
9052 respect enable-local-variables and friends.
9053 Respect inhibit-local-variables-regexps for file-locals, but
9054 not for directory-locals.
9055 (set-visited-file-name):
9056 Take account of inhibit-local-variables-regexps.
9057 Whether it applies may change as the file name is changed.
9058 * jka-cmpr-hook.el (jka-compr-install):
9059 * jka-compr.el (jka-compr-uninstall):
9060 Update for inhibit-first-line-modes-suffixes name change.
9061
dd6e3cdd
MR
90622012-01-20 Martin Rudalics <rudalics@gmx.at>
9063
9064 * help-macro.el (make-help-screen): Temporarily restore original
9065 binding for minor-mode-map-alist (Bug#10454).
9066
0d0deb38
JD
90672012-01-19 Julien Danjou <julien@danjou.info>
9068
9069 * color.el (color-name-to-rgb): Use the white color to find the max
9070 color component value and return correctly computed values.
9071 (color-name-to-rgb): Add missing float conversion for max value.
9072
34a02f46
MR
90732012-01-19 Martin Rudalics <rudalics@gmx.at>
9074
9075 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9076 special state value for window-persistent-parameters.
9077 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9078 (window--state-put-2): Reset all window parameters to nil before
9079 assigning values of persistent parameters.
9080
606c44c4
AM
90812012-01-18 Alan Mackenzie <acm@muc.de>
9082
9083 Eliminate sluggishness and hangs in fontification of "semicolon
9084 deserts".
9085
cb882333
JB
9086 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9087 Change value 10000 -> 3000.
606c44c4
AM
9088 (c-state-safe-place): Reformulate so it doesn't stack up an
9089 infinite number of wrong entries in c-state-nonlit-pos-cache.
9090 (c-determine-limit-get-base, c-determine-limit): New functions to
9091 determine backward search limits disregarding literals.
9092 (c-find-decl-spots): Amend commenting.
9093 (c-cheap-inside-bracelist-p): New function which detects "={".
9094
9095 * progmodes/cc-fonts.el
9096 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9097 backward search.
9098 (c-font-lock-declarations): Fix an occurrence of point being
9099 undefined. Check additionally for point being in a bracelist or
9100 near a macro invocation without a semicolon so as to avoid a
9101 fruitless time consuming search for a declarator. Give a more
9102 precise search limit for declarators using the new
9103 c-determine-limit.
9104
f3860cea
GM
91052012-01-18 Glenn Morris <rgm@gnu.org>
9106
9107 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9108 (set-auto-mode): Doc fixes.
9109
1db03b16
GM
91102012-01-17 Glenn Morris <rgm@gnu.org>
9111
0e6038be
GM
9112 * isearch.el (search-nonincremental-instead): Fix doc typo.
9113
1db03b16
GM
9114 * dired.el (dired-insert-directory): Handle newlines in directory name.
9115 (dired-build-subdir-alist): Unescape newlines in directory name.
9116
4cb0aa75
MA
91172012-01-17 Michael Albinus <michael.albinus@gmx.de>
9118
9119 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9120 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9121 (tramp-action-terminal): Use it. (Bug#10530)
9122
1d00653d
SM
91232012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9124
9125 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9126
6a6ee00d
MR
91272012-01-16 Martin Rudalics <rudalics@gmx.at>
9128
9129 * window.el (window-state-ignored-parameters): Remove variable.
9130 (window--state-get-1): Rename argument MARKERS to IGNORE.
9131 Handle persistent window parameters. Make copy of clone-of
9132 parameter only if requested. (Bug#10348)
9133 (window--state-put-2): Install a window parameter only if it has
9134 a non-nil value or an existing parameter shall be overwritten.
9135
97912def
MA
91362012-01-15 Michael Albinus <michael.albinus@gmx.de>
9137
9138 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9139
688070a5
EZ
91402012-01-14 Eli Zaretskii <eliz@gnu.org>
9141
9142 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9143 don't pass the (nil) value of `upnode' to string-match.
9144
301afadc
CY
91452012-01-14 Chong Yidong <cyd@gnu.org>
9146
9147 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9148 Fix values recognized by the cursorBlink resource.
301afadc 9149
9e5788aa
PE
91502012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9151
9152 * epg.el (epg--make-temp-file): Avoid permission race condition
9153 when running on old Emacs versions (bug#10403).
9154
3cdb7f5a
GM
91552012-01-14 Glenn Morris <rgm@gnu.org>
9156
9157 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9158
8c82b1b4
AM
91592012-01-13 Alan Mackenzie <acm@muc.de>
9160
9161 Fix filling for when filladapt mode is enabled.
9162
9163 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9164 c-mask-paragraph, pass in `fill-paragraph' rather than
9165 `fill-region-as-paragraph'. (This is a reversion of a previous
9166 change.)
eb864a71
LM
9167 * progmodes/cc-mode.el (c-basic-common-init):
9168 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9169
e517eda4
GM
91702012-01-13 Glenn Morris <rgm@gnu.org>
9171
1498536e
GM
9172 * dired.el (dired-switches-escape-p): New function.
9173 (dired-insert-directory): Use dired-switches-escape-p.
9174 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9175
e517eda4
GM
9176 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9177
328f984d
GM
91782012-01-12 Glenn Morris <rgm@gnu.org>
9179
9180 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9181 changes in adaptive-fill-regexp. (Bug#10276)
9182
2cc769a8
AM
91832012-01-11 Alan Mackenzie <acm@muc.de>
9184
9185 Fix Emacs bug #10463 - put `widen's around the critical spots.
9186
1d00653d 9187 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9188 widen around each invocation of c-state-pp-to-literal. Remove an
9189 unused let variable.
9190
e52c37fa
GM
91912012-01-11 Glenn Morris <rgm@gnu.org>
9192
9193 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9194 Doc fix.
e52c37fa 9195
96f8741e
CY
91962012-01-10 Chong Yidong <cyd@gnu.org>
9197
1d00653d
SM
9198 * net/network-stream.el (network-stream-open-starttls):
9199 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9200 response to the capability command.
9201
b09a806e
GM
92022012-01-10 Glenn Morris <rgm@gnu.org>
9203
9204 * mail/unrmail.el (unrmail): Tweak previous change.
9205
7655cb66
CY
92062012-01-09 Chong Yidong <cyd@gnu.org>
9207
9208 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9209
9d5a8f0b
AM
92102012-01-08 Alan Mackenzie <acm@muc.de>
9211
9212 Optimise font locking in long enum definitions.
9213
9214 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9215 arm to a cond form to handle enums.
9216 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9217 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9218
9a0115ab 92192012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9220
9221 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9222 (Bug#10401)
6bb72cbd 9223
f186bb95
LMI
92242012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9225
29232a68
LMI
9226 * faces.el (set-face-attribute): Clarify the meaning of the nil
9227 frame (bug#10294).
9228
4e5d086d
LMI
9229 * subr.el (with-selected-frame): Mention that the selected frame
9230 is restored (bug#9980).
9231
8e66aebe
LMI
9232 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9233 (bug#9759).
9234
cd394be1 9235 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9236 (password-read): Don't autoload unused function.
9237
adf4e762
JB
92382012-01-07 Juanma Barranquero <lekktu@gmail.com>
9239
9240 * progmodes/which-func.el (which-func-mode): Turn into a
9241 non-interactive function and mark as obsolete (bug#10428).
9242
89bd9ccd
CY
92432012-01-06 Chong Yidong <cyd@gnu.org>
9244
9245 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9246 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9247 functions, along with 1 and -1.
9248
4afee9d5
EZ
92492012-01-06 Eli Zaretskii <eliz@gnu.org>
9250
9251 * time.el (display-time-load-average)
9252 (display-time-default-load-average): Doc fixes. See the thread
9253 starting at
9254 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9255 for the details.
9256
536aea70
GM
92572012-01-06 Glenn Morris <rgm@gnu.org>
9258
665ae865
GM
9259 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9260 has no messages. (Bug#10377)
9261
c869783d
GM
9262 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9263 than Info-edit. (Bug#10385)
9264
2bb4227e
GM
9265 * time.el (display-time-load-average, display-time-next-load-average):
9266 Doc fixes.
9267
7d5944b9
GM
9268 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9269 local setting of buffer-read-only to the input buffer. (Bug#10419)
9270
536aea70
GM
9271 * calendar/calendar.el (calendar-mode):
9272 Locally set scroll-margin to 0. (Bug#10379)
9273
7dccca16
UM
92742012-01-06 Ulrich Mueller <ulm@gentoo.org>
9275
9276 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9277
afbb7930
GM
92782012-01-05 Glenn Morris <rgm@gnu.org>
9279
9280 * eshell/em-unix.el (diff-no-select): Autoload it.
9281 (eshell/diff): Use diff-no-select. (Bug#10420)
9282
04482335
CY
92832012-01-05 Chong Yidong <cyd@gnu.org>
9284
7baca3bc
CY
9285 * shell.el (shell-dynamic-complete-functions): Revert last change.
9286 (shell-command-completion-function): New function.
9287 (shell-completion-vars): Use it to implement
9288 shell-completion-execonly (Bug#10417).
9289
04482335
CY
9290 * custom.el (enable-theme): Don't set custom-safe-themes.
9291
1d00653d
SM
9292 * cus-theme.el (custom-theme-merge-theme):
9293 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9294
bb5aa5d6
MM
92952012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9296
9297 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9298 first prompt in `sql-interacive-mode'.
9299 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9300 keywords.
6df6ae42 9301 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9302 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9303 context of original buffer. Invoke `sql-login-hook'.
9304
a7183d7c
EZ
93052012-01-04 Eli Zaretskii <eliz@gnu.org>
9306
9307 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9308 letters in cite-prefix.
9309
a1eacd1e
LMI
93102012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9311
9312 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9313
787cdb34
CY
93142012-01-03 Chong Yidong <cyd@gnu.org>
9315
1d00653d
SM
9316 * shell.el (shell-dynamic-complete-functions):
9317 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9318 comint-filename-completion first (Bug#10417).
9319
30710442
RS
93202012-01-02 Richard Stallman <rms@gnu.org>
9321
9322 * battery.el (battery-status-function):
9323 Detect when to use battery-yeeloong-sysfs.
9324 (battery-echo-area-format): Add string for Yeeloong.
9325 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9326 (battery-yeeloong-sysfs): New function.
9327
f75bfc33
CY
93282012-01-02 Chong Yidong <cyd@gnu.org>
9329
9330 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9331 (dirtrack): Merge code for handling relative filenames in prompt
9332 from shell-dir-cookie-watcher.
9333 (dirtrack-debug-message): New arg to avoid excess format calls.
9334
9335 * shell.el (shell-dir-cookie-re): Variable deleted.
9336 (shell-dir-cookie-watcher): Function deleted.
9337 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9338 with dirtrack-mode.
9339
651e947e
EZ
93402012-01-01 Eli Zaretskii <eliz@gnu.org>
9341
1d00653d
SM
9342 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9343 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9344 libgnutls-26.dll.
9345
94d4c7dc
AS
93462011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9347
9348 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9349
8d43f3cd
EZ
93502011-12-31 Eli Zaretskii <eliz@gnu.org>
9351
9352 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9353 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9354
98c8795a
MA
93552011-12-29 Michael Albinus <michael.albinus@gmx.de>
9356
9357 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9358 also for alternative shells.
9359 (tramp-open-connection-setup-interactive-shell): Check, whether
9360 the shell is a busybox.
9361 (tramp-send-command): Don't suppress multiple prompts for
9362 busyboxes, it hurts.
9363
51281b32
CY
93642011-12-28 Chong Yidong <cyd@gnu.org>
9365
9366 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9367 (gdb-get-source-file): Move mode line update to
9368 gdb-get-source-file (Bug#10087).
9369
2170cb53
CY
93702011-12-25 Chong Yidong <cyd@gnu.org>
9371
9372 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9373 gud-gdb-marker-filter without taking it as an argument.
9374 (gud-gdb-run-command-fetch-lines): Caller changed.
9375 (gud-gdb-completion-function): New variable.
9376 (gud-gdb-completion-at-point): Use it.
9377 (gud-gdb-completions-1): Split from gud-gdb-completions.
9378
9379 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9380 function as separate arguments.
9381 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9382 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9383 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9384 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9385 (gdb-stopped, def-gdb-auto-update-trigger)
9386 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9387 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9388 Callers changed.
2170cb53
CY
9389 (gud-gdbmi-completions): New function.
9390 (gdb): Use it for generating the completion table.
9391
be8b11bb
AM
93922011-12-24 Alan Mackenzie <acm@muc.de>
9393
9394 Introduce a mechanism to widen the region used in context font
1d00653d 9395 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9396
1d00653d
SM
9397 * progmodes/cc-langs.el (c-before-font-lock-functions):
9398 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9399 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9400 functions to be run just before context (etc.) font locking.
9401
9402 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9403 New, functionality extracted from
be8b11bb 9404 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9405 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9406 (c-after-change): Set c-in-after-change-fontification.
9407 (c-set-fl-decl-start): Rejig its interface, so it can be called
9408 from both after-change and context fontifying.
b81d40f0
JB
9409 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9410 New functions.
9411 (c-standard-font-lock-fontify-region-function): New variable.
9412 (c-font-lock-fontify-region): New function.
be8b11bb 9413
341cf6ac
JL
94142011-12-24 Juri Linkov <juri@jurta.org>
9415
9416 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9417 (Bug#10348)
9418
bffcee0a
MA
94192011-12-23 Michael Albinus <michael.albinus@gmx.de>
9420
9421 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9422 existence of source file. (Bug#10325)
9423
cb5e207c
AM
94242011-12-23 Alan Mackenzie <acm@muc.de>
9425
9426 Fix unstable fontification inside templates.
9427
b81d40f0
JB
9428 * progmodes/cc-langs.el (c-before-font-lock-functions):
9429 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9430 additionally has c-set-fl-decl-start. The other languages (apart
9431 from AWK) have that as a single entry.
9432
b81d40f0
JB
9433 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9434 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9435 c-set-fl-decl-start.
9436
b81d40f0
JB
9437 * progmodes/cc-mode.el (c-common-init, c-after-change):
9438 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9439 (c-set-fl-decl-start): New function, extracted from
9440 c-font-lock-enclosing-decls and enhanced.
9441
60ff536c
JB
94422011-12-23 Juanma Barranquero <lekktu@gmail.com>
9443
9444 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9445
1c4757d6
JL
94462011-12-22 Juri Linkov <juri@jurta.org>
9447
9448 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9449
d031f2c7
CY
94502011-12-22 Chong Yidong <cyd@gnu.org>
9451
9452 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9453
bace743a
DA
94542011-12-21 Drew Adams <drew.adams@oracle.com>
9455
9456 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9457
728a1f2b
JC
94582011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9459
9460 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9461
0d373f73
TZ
94622011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9463
fec0aaa4
TZ
9464 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9465 highlighting and support. Fix up comments for capitalization.
9466 (cfengine-mode-debug): New var.
9467 (cfengine3-mode): Change the modeline indicator to "CFE3".
9468 (cfengine3-font-lock-keywords): Improve defun highlighting.
9469 (cfengine2-actions): Rename from `cfengine-actions'.
9470 (cfengine2-font-lock-keywords): Rename from
9471 `cfengine-font-lock-keywords'.
9472 (cfengine2-imenu-expression): Rename from
9473 `cfengine-imenu-expression'.
9474 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9475 (cfengine2-beginning-of-defun): Rename from
9476 `cfengine-beginning-of-defun'.
9477 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9478 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9479 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9480 modeline indicator to "CFE2".
9481 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9482 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9483
bc86f573
CY
94842011-12-21 Chong Yidong <cyd@gnu.org>
9485
9486 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9487 filename argument.
9488
d45ba96b
MR
94892011-12-20 Martin Rudalics <rudalics@gmx.at>
9490
9491 * window.el (window-normalize-buffer-to-display): Remove.
9492 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9493
a6198c90
CY
94942011-12-19 Chong Yidong <cyd@gnu.org>
9495
9496 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9497 Don't signal an error in a predicate function; return non-nil.
9498 (vc-dir-mark-file): Move the error here.
9499 (vc-dir-mark-unmark): If acting on the region, keep going if one
9500 of the entries cannot be marked/unmarked.
9501 (vc-dir-mark-all-files): If current entry is a directory, mark
9502 only child files, as documented.
9503
34c5fb55
VB
95042011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9505
9506 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9507 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9508 addition.
9509
c803b2b7
JD
95102011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9511
9512 * term/ns-win.el (ns-get-selection-internal)
9513 (ns-store-selection-internal): Declare.
1154d12e
JB
9514 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9515 Declare as obsolete.
9516 (ns-get-pasteboard, ns-paste-secondary):
9517 Use ns-get-selection-internal.
9518 (ns-set-pasteboard, ns-copy-including-secondary):
9519 Use ns-store-selection-internal.
c803b2b7 9520
9cff91f8 95212011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9522
9523 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9524 (vc-deduce-fileset): Doc fix.
99a289d9 9525
f16c898a
AS
95262011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9527
9528 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9529
763237c4
SS
95302011-12-13 Sam Steingold <sds@gnu.org>
9531
9532 * man.el (Man-getpage-in-background): When running under a
9533 window-system, ignore $MANWIDTH and $COLUMNS.
9534
5fc1c122
KH
95352011-12-15 Kenichi Handa <handa@m17n.org>
9536
9537 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9538 (setup-ethiopic-environment-internal): Comment out key-binding for
9539 ethio-toggle-punctuation.
9540
13d49cbb
AM
95412011-12-13 Alan Mackenzie <acm@muc.de>
9542
898169a2
AM
9543 Add the switch statement to AWK Mode.
9544
7a71b18d 9545 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9546 "default" to the keywords regexp.
9547
7a71b18d 9548 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9549 expression as the rest.
1d00653d
SM
9550 (c-nonlabel-token-key): Allow string literals for AWK.
9551 Refactor for the other modes.
898169a2 9552
13d49cbb 9553 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9554 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9555 routines. Limit backward searching in c-font-lock-enclosing.decl.
9556
9557 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9558 pp-state and literal type in addition to the limits.
1d00653d 9559 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9560 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9561 (c-slow-in-literal, c-fast-in-literal): Remove.
9562 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9563
9564 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9565 being in a literal. Add a limit for backward searching.
9566
9567 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9568 c-slow-in-literal.
9569
15e0efc7
SM
95702011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9573
454592a6
MR
95742011-12-13 Martin Rudalics <rudalics@gmx.at>
9575
9576 * window.el (delete-other-windows): Use correct frame in call to
9577 window-with-parameter.
9578
87393f26
DP
95792011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9580
9581 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9582 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9583 (makefile-gmake-statements, makefile-makepp-statements):
9584 Use it and add new makepp keywords.
9585 (makefile-makepp-font-lock-keywords): Add new patterns.
9586 (makefile-match-function-end): Match new [...] and [[...]].
9587
11636b22
JB
95882011-12-11 Juanma Barranquero <lekktu@gmail.com>
9589
9590 * ses.el (ses-call-printer-return, ses-cell-property-get)
9591 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9592 (ses-create-cell-variable, ses-reset-header-string)
9593 (ses-cell-set-formula, ses-repair-cell-reference-all)
9594 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9595 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9596 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9597 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9598 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9599 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9600 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9601 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9602 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9603 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9604 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9605 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9606
cf018193
VB
96072011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9608
9609 * ses.el: The overall change is to add cell renaming, that is
9610 setting fancy names for cell symbols other than name matching
9611 "\\`[A-Z]+[0-9]+\\'" regexp .
9612 (ses-create-cell-variable): New defun.
9613 (ses-relocate-formula): Relocate formulas only for cells the
9614 symbols of which are not renamed, i.e. symbols whose names do not
9615 match regexp "\\`[A-Z]+[0-9]+\\'".
9616 (ses-relocate-all): Relocate values only for cells the symbols of
9617 which are not renamed.
9618 (ses-load): Create cells variables as the (ses-cell ...) are read,
9619 in order to check row col consistency with cell symbol name only
9620 for cells that are not renamed.
9621 (ses-replace-name-in-formula): New defun.
9622 (ses-rename-cell): New defun.
9623
ee957461
CY
96242011-12-11 Chong Yidong <cyd@gnu.org>
9625
9626 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9627 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9628
9a9e9ef0
MR
96292011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9630
9631 * window.el (other-window): Fix docstring.
9632
92a8eba5
EZ
96332011-12-10 Eli Zaretskii <eliz@gnu.org>
9634
9635 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9636 `from' or `to' address before taking its substring.
9637 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9638 encoded name is chopped in the middle of the encoded string, and
9639 thus displayed encoded.
9640
e152e577
JB
96412011-12-10 Juanma Barranquero <lekktu@gmail.com>
9642
9643 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9644
e5d84bfe
EZ
96452011-12-10 Eli Zaretskii <eliz@gnu.org>
9646
9647 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9648 to use texinfo-update-node and commands that call it if the
9649 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9650 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9651 (texinfo-all-menus-update, texinfo-master-menu)
9652 (texinfo-update-node, texinfo-every-node-update)
9653 (texinfo-multiple-files-update): Doc fix. Warn against updating
9654 all the @node lines.
9655 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9656 argument is numeric. Explain better in the doc string what the
9657 function really does.
9658 (texinfo-insert-master-menu-list): Improve the error message
9659 displayed if there's no menu in the Top node.
9660 (Bug#2975) See also this thread:
e5d84bfe
EZ
9661 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9662
1d84e9bb
MG
96632011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9664
9665 * speedbar.el (speedbar-supported-extension-expressions):
9666 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9667
382c953b
JB
96682011-12-09 Juanma Barranquero <lekktu@gmail.com>
9669
9670 * printing.el (pr-mode-alist):
9671 * simple.el (filter-buffer-substring-functions)
9672 (completion-list-insert-choice-function):
9673 * window.el (window-with-parameter, window-atom-root)
9674 (window-sides-slots, window-size-fixed, window-min-delta)
9675 (window-max-delta, window--resize-mini-window)
9676 (window--resize-child-windows-normal, window-tree)
9677 (delete-other-windows, quit-window, split-window)
9678 (display-buffer-record-window, special-display-buffer-names)
9679 (special-display-regexps, special-display-popup-frame)
9680 (same-window-p, split-window-sensibly)
9681 (display-buffer-overriding-action, display-buffer-alist)
9682 (display-buffer-base-action, display-buffer, switch-to-buffer)
9683 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9684 (fit-window-to-buffer, recenter-positions)
9685 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9686 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9687 and remove unneeded backslashes in docstrings.
9688
39c9faef
SM
96892011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9690
98449af8
SM
9691 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9692
39c9faef
SM
9693 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9694 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9695 end in ".mk".
9696 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9697 when reading the makefile (bug#10116).
9698
86ed9fdc
SM
96992011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9702 (bug#10116).
9703
5580f89d
GM
97042011-12-06 Glenn Morris <rgm@gnu.org>
9705
9706 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9707
28d3917c
CY
97082011-12-06 Chong Yidong <cyd@gnu.org>
9709
9710 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9711
a98edce9
JB
97122011-12-06 Juanma Barranquero <lekktu@gmail.com>
9713
9714 * textmodes/table.el (table-shorten-cell): Fix typo.
9715
e65adfac
CG
97162011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9717
9718 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9719
71cc0b74
EZ
97202011-12-05 Eli Zaretskii <eliz@gnu.org>
9721
9722 * descr-text.el (describe-char): Fix display of strong
9723 right-to-left characters and directional embeddings and overrides.
9724
9725 * simple.el (what-cursor-position): Fix display of codepoints of
9726 strong right-to-left characters.
9727
315bc30d
CY
97282011-12-05 Chong Yidong <cyd@gnu.org>
9729
9730 * faces.el (read-color): Doc fix.
9731
58a70b94
GM
97322011-12-05 Glenn Morris <rgm@gnu.org>
9733
9734 * align.el (align--set-marker): Add doc-string.
9735 Don't try to move something that is not a marker. (Bug#10216)
9736
5158face
GM
97372011-12-04 Glenn Morris <rgm@gnu.org>
9738
9739 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9740 overly zealous deletion of trailing whitespace.
9741
520fca41
JB
97422011-12-04 Juanma Barranquero <lekktu@gmail.com>
9743
9744 * server.el (server-delete-client): On Windows, do not try to delete
9745 the only terminal.
9746 (server-process-filter): On Windows, treat requests for a tty frame as
9747 if they were for a GUI frame if the running server is in GUI mode.
9748
5e605a2e
GM
97492011-12-03 Glenn Morris <rgm@gnu.org>
9750
9751 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9752
5c3fe83f
SM
97532011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9754
6f5e57e7
SM
9755 * electric.el: Streamline electric-indent's hook.
9756 (electric-indent-chars): Revert to simple list.
9757 (electric-indent-functions): New var.
9758 (electric-indent-post-self-insert-function): Use it.
9759
5c3fe83f
SM
9760 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9761 there's no inferior buffer (bug#10196).
9762 (prolog-consult-compile): Don't use toggle-read-only.
9763
6bdac736
MA
97642011-12-02 Michael Albinus <michael.albinus@gmx.de>
9765
9766 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9767 interrupt. (Bug#10187)
9768
6131ba7f
SM
97692011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9770
99c79fee
SM
9771 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9772 (bug#9160).
9773
6131ba7f
SM
9774 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9775 (bug#10191).
9776
cb0a02ea
JL
97772011-12-02 Juri Linkov <juri@jurta.org>
9778
9779 * info.el (Info-search): Display "end of manual" when Isearch
9780 reaches the end of single-file Info manual. (Bug#9918)
9781
66e0570c
EZ
97822011-12-02 Eli Zaretskii <eliz@gnu.org>
9783
9784 * isearch.el (isearch-message-prefix): Run the input method part
9785 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9786
02b16839
JL
97872011-12-02 Juri Linkov <juri@jurta.org>
9788
9789 * isearch.el (isearch-occur): Use `word-search-regexp' for
9790 `isearch-word'.
9791 (isearch-search-and-update): Add condition for `isearch-word' and
9792 call `word-search-regexp'. (Bug#10145)
9793
0b950688
GM
97942011-12-01 Glenn Morris <rgm@gnu.org>
9795
9796 * eshell/em-hist.el (eshell-hist-initialize):
9797 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9798 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9799
9505c3c7
SM
98002011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9801
9802 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9803
1bbe96b2 98042011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9805
a1beca85
SM
9806 * progmodes/verilog-mode.el (verilog-pretty-expr):
9807 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9808 verilog, such as += *= and the like.
9809 (verilog-assignment-operator-re): Regular expression to find the
9810 assigment operator in a verilog assignment.
9811 (verilog-assignment-operation-re): Regular expression to find an
9812 assignment statement for pretty-expr.
9813 (verilog-in-attribute-p): Query returns true if point is in an
9814 attribute context; used to skip these for expression line up from
9815 pretty-expr.
9816 (verilog-in-parameter-p): Query returns true if point is in an
9817 parameter definition context; used to skip these for expression
9818 line up from pretty-expr.
9819 (verilog-in-parenthesis-p): Query returns true if point is in a
9820 parenthetical expression, specifically ( ) but not [ ] or { };
9821 used by pretty-expr.
9822 (verilog-just-one-space): If there is no space, don't add one.
9823 (verilog-get-lineup-indent-2): Specifically skip just attribute
9824 contexts for expression lineup, rather than skipping all
9825 parenthetical expressions.
9826 (verilog-calculate-indent): Fix comment, and fix indent.
9827 (verilog-do-indent): Indent declarations in lists (suggested by
9828 Joachim Lechner).
9829 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9830 skeleton items.
9831 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9832 by Alain Mellan).
9833
1bbe96b2 98342011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9835
9836 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9837 parameters with embedded comments. Reported by Ray Stevens.
9838 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9839 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9840 Reported by Tim Holt.
9841 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9842 instantiated by upper module causing wrong expansion until AUTOed a
9843 second time. Reported by K C Buckenmaier.
9844 (verilog-diff-auto): Fix showing .* as a difference when
9845 `verilog-auto-star-save' off. Reported by Dan Dever.
9846 (verilog-auto-reset, verilog-read-always-signals)
9847 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9848 temporary signals in reset list if
9849 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9850 style to each signal's assignment type, bug381.
9851 Reported by Thomas Esposito.
6288f0ca
WS
9852 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9853 (verilog-uvm-statement-re): Support UVM indentation and
9854 highlighting, with old OVM keywords only.
a1beca85 9855 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9856 Support AUTOTIEOFF creating non-wire data types.
9857 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9858 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9859 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9860 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9861 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9862 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9863 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9864 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9865 non-numeric vector width. Reported by Alex Reed.
9866 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9867 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9868 (verilog-auto-delete-trailing-whitespace):
9869 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9870 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9871 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9872 Fix verilog-scan-cache corruption when running user AUTO expansion
9873 hooks that call indentation routines.
9874 (verilog-simplify-range-expression): Fix typo ignoring lower case
9875 identifiers.
9876 (verilog-delete-auto): Fix delete-autos to also remove user created
9877 automatics, as long as they start with AUTO.
9878 (verilog-batch-diff-auto, verilog-diff-auto)
9879 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9880 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9881 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9882 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9883 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9884 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9885 is disabled and its cache will get corrupt, causing AUTOS not to
9886 expand. Instead use only -quick functions.
9887 (verilog-scan-region): Fix scanning over escaped quotes.
9888 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9889 (verilog-re-search-backward-quick)
9890 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9891 related functions now ignore strings, to fix misparsing of strings
9892 with magic comments embedded in them.
a1beca85
SM
9893 (verilog-read-auto-template):
9894 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9895 Reported by Brad Dobbie.
9896 (verilog-read-auto-template):
9897 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9898 Reported by Brad Dobbie.
6288f0ca
WS
9899 (verilog-auto-inst, verilog-auto-inst-param)
9900 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9901 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9902 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9903 debugging templates without merge conflicts, bug357.
9904 Reported by Brad Dobbie.
9905 (verilog-read-auto-template):
9906 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9907 Reported by Brad Dobbie.
9908 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9909 abbrevs so user won't be asked to save.
9910 (verilog-read-auto-lisp-present): Fix to start at beginning of
9911 buffer in case called outside of verilog-auto.
9912 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9913 to "X-2". Reported by Matthew Myers.
9914 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9915 all inputs from module templates. Reported by Leith Johnson.
9916 (verilog-module-inside-filename-p): Fix locating programs as with
9917 modules.
9918 (verilog-auto-inst-port): Fix vl-width expressions when using
9919 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9920 (verilog-decls-get-regs, verilog-decls-get-signals,
9921 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9922 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9923 verilog-read-decls): Combine reg and wire structures into one var
9924 structure to represent SystemVerilog concepts.
9925 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9926 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9927 (verilog-auto-wire-type, verilog-insert-definition):
9928 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9929 SystemVerilog "logic" keyword instead of "wire"/"reg".
9930 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9931 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9932 ifdef or generate if so there's not a driver conflict).
9933 Reported by Matthew Myers.
9934 (verilog-auto-declare-nettype, verilog-insert-definition):
9935 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9936 `default_nettype none. Reported by Julian Gorfajn.
9937 (verilog-read-always-signals-recurse, verilog-read-decls)
9938 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9939 malformed end statement, bug325. Reported by Joshua Wise and
9940 Andrew Drake.
9941 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9942 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9943 when expanding .* in interfaces, bug320.
9944 Reported by Pierre-David Pfister.
6288f0ca 9945 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9946 name and open parenthesis, bug317.
9947 Reported by Pierre-David Pfister.
6288f0ca
WS
9948 (verilog-simplify-range-expression): Fix simplification of
9949 multiplications inside AUTOWIRE connections, bug303.
9950 (verilog-auto-inst-port): Support parameter expansion in
9951 multidimensional arrays.
9952 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9953 after "assert property". Reported by Julian Gorfajn.
9954 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9955 with multiplication, bug303.
9956 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9957 Reported by Jan Frode Lonnum.
9958
1bbe96b2
GM
99592011-11-30 Juanma Barranquero <lekktu@gmail.com>
9960
9961 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9962 (hfy-shell-file-name, hfy-shell):
9963 * international/fontset.el (x-decompose-font-name): Fix typos.
9964
99652011-11-29 Ken Brown <kbrown@cornell.edu>
9966
9967 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9968 (gdb-version): Remove defvar.
9969 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9970 (gdb-gud-context-command, gdb-non-stop-handler)
9971 (gdb-current-context-command, gdb-stopped): Use it.
9972 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9973 (gdb-non-stop-handler): Don't enable pretty-printing here.
9974 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9975 non-stop mode. Use the following.
9976 (gdb-check-target-async): New defun.
9977 (gud-watch, gdb-stopped): Fix whitespace.
9978 (gdb-get-source-file): Don't try to display the source file if
9979 `gdb-main-file' is nil.
9980
99812011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9982
9983 * align.el: Try to generate fewer markers (bug#10047).
9984 (align--set-marker): New macro.
9985 (align-region): Use it.
9986
c935221f
SM
99872011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9990
e70b5064
CY
99912011-11-29 Chong Yidong <cyd@gnu.org>
9992
9993 * indent.el (indent-for-tab-command, indent-according-to-mode):
9994 Doc fix.
9995 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9996
f3af92b7
MA
99972011-11-29 Michael Albinus <michael.albinus@gmx.de>
9998
9999 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10000 aware of remote file names. (Bug#10124)
10001
ed472be9
CY
100022011-11-29 Chong Yidong <cyd@gnu.org>
10003
10004 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10005
24510c22
SM
100062011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10007
10008 * files.el (find-file): Don't use force-same-window (bug#10144).
10009 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10010 use pop-to-buffer if the selected window can't be used.
10011 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10012
c60c3703
EZ
100132011-11-28 Eli Zaretskii <eliz@gnu.org>
10014
10015 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10016 special-mode-map.
10017
e95def75
CY
100182011-11-28 Chong Yidong <cyd@gnu.org>
10019
10020 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10021
c3f1c606
NR
100222011-11-27 Nick Roberts <nickrob@snap.net.nz>
10023
10024 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10025 gdb-get-source-file-list on gdb-create-source-file-list.
10026
00db469c
EZ
100272011-11-26 Eli Zaretskii <eliz@gnu.org>
10028
10029 * whitespace.el (whitespace-newline): Use a different foreground
10030 color for 16-color light-background displays.
10031
4ad3bc2a
CY
100322011-11-24 Chong Yidong <cyd@gnu.org>
10033
10034 * window.el (display-buffer--special-action): Doc fix.
10035
e9fce1ac
JB
100362011-11-25 Juanma Barranquero <lekktu@gmail.com>
10037
10038 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10039 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10040 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10041 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10042 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10043 (avl-tree-stack-first):
10044 * emacs-lisp/cconv.el (cconv--analyse-use):
10045 * net/gnutls.el (gnutls-negotiate): Fix typos.
10046
cb825e5d
GM
100472011-11-24 Glenn Morris <rgm@gnu.org>
10048
3adbe224
GM
10049 * lpr.el (lpr-windows-system, lpr-lp-system):
10050 * mail/binhex.el (binhex-begin-line):
10051 * progmodes/grep.el (grep-history, grep-find-history):
10052 * textmodes/flyspell.el:
10053 * vc/pcvs-defs.el (cvs-global-menu):
10054 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10055 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10056 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10057
321decc8
GM
10058 * net/tls.el: Fix case of "GnuTLS".
10059
420b63ad
GM
10060 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10061
cb825e5d
GM
10062 * version.el (emacs-build-system): Give it a doc-string.
10063
a0649f08
JL
100642011-11-24 Juri Linkov <juri@jurta.org>
10065
10066 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10067
c0bc0fd4
GM
100682011-11-24 Glenn Morris <rgm@gnu.org>
10069
10070 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10071 if called on a non-mime message just toggle the headers. (Bug#8006)
10072
20db1522
JB
100732011-11-24 Juanma Barranquero <lekktu@gmail.com>
10074
10075 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10076 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10077 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10078 (allout-rebullet-heading, allout-open-sibtopic)
10079 (allout-toggle-current-subtree-encryption)
10080 (allout-toggle-subtree-encryption, allout-encrypt-string)
10081 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10082 (allout-distinctive-bullets-string, allout-auto-activation):
10083 * window.el (window-normalize-buffer-to-display):
10084 * progmodes/verilog-mode.el (verilog-batch-indent):
10085 * textmodes/bibtex.el (bibtex-field-braces-opt)
10086 (bibtex-field-strings-opt):
10087 * vc/cvs-status.el (cvs-tree-merge):
10088 Fix typos.
10089
7262a87c
MA
100902011-11-23 Michael Albinus <michael.albinus@gmx.de>
10091
10092 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10093 `non-essential' to t, in order to avoid remote connections.
10094
283430a1
EZ
100952011-11-23 Eli Zaretskii <eliz@gnu.org>
10096
a1beca85
SM
10097 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10098 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10099 case-insensitively.
10100
d2992a38
ML
101012011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10102
10103 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10104
50419064
GM
101052011-11-23 Glenn Morris <rgm@gnu.org>
10106
da94eca1
GM
10107 * paths.el (rmail-file-name): Reformat the doc-string so that it
10108 is picked up.
10109
9aac4de2
GM
10110 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10111 (rmail-auto-file): Ignore case in the "special" field names,
10112 as mail-fetch-field does for all others.
10113
8038d2d2
GM
10114 * mail/rmail.el (rmail-forward):
10115 * mail/rmailkwd.el (rmail-set-label):
10116 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10117 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10118
f3fe222a
GM
10119 * mail/rmail.el (rmail-current-message): Doc fix.
10120
50419064
GM
10121 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10122
28109f49
SM
101232011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10126
394c65f1
GM
101272011-11-22 Glenn Morris <rgm@gnu.org>
10128
10129 * mail/rmailmm.el (test-rmail-mime-handler)
10130 (test-rmail-mime-bulk-handler)
10131 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10132
f2a0aa3a
JL
101332011-11-21 Juri Linkov <juri@jurta.org>
10134
1154d12e
JB
10135 * calc/calc.el (calc-read-key-sequence):
10136 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10137
9c34a344
LMI
101382011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10139
10140 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10141 Tell the caller that the next line needs recomputation, even
10142 though it doesn't start a sexp (bug#10094).
10143
f04a3be9
SM
101442011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10147
7978747f
SM
101482011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10149
f04a3be9
SM
10150 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10151 Use force-same-window.
7978747f 10152
fe7a3057
JB
101532011-11-20 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * descr-text.el (describe-char-unicode-data):
10156 * json.el (json-string-escape):
10157 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10158 (Footnote-unicode, Footnote-style-p):
10159 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10160
24901d61
CY
101612011-11-20 Chong Yidong <cyd@gnu.org>
10162
10163 * window.el (replace-buffer-in-windows): Restore interactive spec.
10164
bac7ff22
SM
101652011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10166
24f3d7b9
SM
10167 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10168
bac7ff22
SM
10169 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10170 (byte-compile-global-not-obsolete-vars): New var.
10171 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10172 Use it.
10173 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10174
cd1181db
JB
101752011-11-20 Juanma Barranquero <lekktu@gmail.com>
10176
10177 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10178 * progmodes/pascal.el (electric-pascal-equal):
10179 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10180 * xml.el (xml-substitute-special): Fix typos.
10181
7fb18e9e
GM
101822011-11-20 Glenn Morris <rgm@gnu.org>
10183
10184 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10185 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10186 Doc fixes.
10187 (rmail-decode-mime-charset): Mark as obsolete.
10188
10189 * mail/rmailsum.el (rmail-message-regexp-p-1):
10190 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10191 Before using mime functions, check they are set. (Bug#10077)
10192
d5a6b3ba
JL
101932011-11-19 Juri Linkov <juri@jurta.org>
10194
10195 * info.el (Info-finder-find-node): Use `package--builtins' instead
10196 of `package-alist'. Use node names formed by the pattern "Keyword "
10197 and the keyword name.
10198
e981b61f
AS
101992011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10200
1d00653d 10201 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10202
3ffbc301
JL
102032011-11-19 Juri Linkov <juri@jurta.org>
10204
10205 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10206 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10207 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10208 `old-history', `old-history-forward'. Add let-binding
10209 `window-selected'. Remove calls to `kill-buffer',
10210 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10211 before calling `Info-find-node', so `Info-find-node-2' will reread
10212 the Info file. Restore window positions only when `window-selected'
10213 is non-nil.
10214
30c62133
JL
102152011-11-19 Juri Linkov <juri@jurta.org>
10216
10217 * isearch.el (isearch-lazy-highlight-new-loop):
10218 Remove condition `(not isearch-error)'. (Bug#9918)
10219
10220 * misearch.el (multi-isearch-search-fun): Add condition
10221 `(not bound)' to ignore lazy-highlighting search.
10222 Add the search-failed message "end of multi" when the end of
10223 multi-sequence is reached. Uncapitalize the search-failed
10224 message "Repeat for next buffer".
10225
10226 * info.el (Info-search): Add the search-failed message
10227 "end of the manual" when the end of the manual is reached
10228 in Isearch mode.
10229
645ca9cf
JL
102302011-11-19 Juri Linkov <juri@jurta.org>
10231
10232 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10233 Use non-destructive `remove' instead of `delete' because
10234 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10235 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10236
df754f66
JL
102372011-11-19 Juri Linkov <juri@jurta.org>
10238
10239 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10240 to nil instead of binding `search-ring' and `regexp-search-ring'.
10241 (Bug#9185)
10242
0e23d96a
EZ
102432011-11-19 Eli Zaretskii <eliz@gnu.org>
10244
10245 * simple.el (line-move): Force movement by logical lines for any
10246 hscrolled window, not only when auto-hscroll-mode is on.
10247 (line-move-visual): Update doc string to that effect. (Bug#10076)
10248
8a6ccb66
AS
102492011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10250
10251 * language/european.el (macintosh): Define as alias for mac-roman.
10252
49ae5b39
EZ
102532011-11-19 Eli Zaretskii <eliz@gnu.org>
10254
10255 * mail/rmailmm.el (rmail-mime-display-header)
10256 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10257 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10258 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10259 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10260 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10261 of a raw aref.
10262 (rmail-mime-entity-segment): To get past the tagline, move forward
10263 2 more lines, to account for the 2 empty lines that precede and
10264 follow the line with the buttons.
10265 (rmail-mime-update-tagline): Move one more line, to get past the
10266 empty line that follows the buttons in the tagline. (Bug#9520)
10267
c56cad4a
MR
102682011-11-19 Martin Rudalics <rudalics@gmx.at>
10269
10270 * window.el (window-max-delta-1, window-min-delta-1)
10271 (window-min-size-1, window-state-get-1, window-state-put-1)
10272 (window-state-put-2): Use "window--" prefix.
10273
cbe71af3
SM
102742011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10275
2ad52c60
SM
10276 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10277 (smie-warning-count): New var.
10278 (smie-set-prec2tab): Use it.
10279 (smie-bnf->prec2): Improve warnings. Add docstring.
10280 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10281 (smie-bnf--set-class): New function.
10282 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10283 corner case.
10284
6944dbc1
SM
10285 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10286 (compilation-error-properties, compilation-move-to-column):
10287 Handle compilation-first-column while in the target buffer.
10288
c400c4d7
SM
10289 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10290 Don't hardcode point-min==1.
10291
6dbe3e96
SM
10292 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10293 (eshell-rewrite-for-command): Remove workaround.
10294 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10295 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10296 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10297
cbe71af3
SM
10298 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10299
a8e1496d
GM
103002011-11-17 Glenn Morris <rgm@gnu.org>
10301
10302 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10303 Ignore buffer-local generated-autoload-file if it is the same
10304 as the global value. (Bug#10049)
10305
df85d315
JB
103062011-11-17 Juanma Barranquero <lekktu@gmail.com>
10307
10308 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10309 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10310 (reftex-toc-previous-heading, reftex-toc-max-level)
10311 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10312 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10313 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10314 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10315 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10316 (reftex-toc-rename-label, reftex-toc-visit-location)
10317 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10318 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10319 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10320 leaving "*toc*" only for references to the buffer.
10321
a0c2d0ae
MR
103222011-11-17 Martin Rudalics <rudalics@gmx.at>
10323
10324 * window.el (window-resize, delete-window, split-window):
10325 Replace window-splits by window-combination-resize.
1d00653d 10326 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10327
35c0bac8
GM
103282011-11-17 Glenn Morris <rgm@gnu.org>
10329
10330 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10331 Make bash entry derive from sh entry, not shell entry.
10332
d0c8fc8a
MA
103332011-11-16 Michael Albinus <michael.albinus@gmx.de>
10334
7262a87c
MA
10335 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10336 local file name.
10337
7877f373
JB
103382011-11-16 Juanma Barranquero <lekktu@gmail.com>
10339
10340 * menu-bar.el (menu-bar-file-menu):
10341 * printing.el (pr-ps-utility):
10342 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10343 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10344 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10345 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10346 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10347 (icalendar--convert-cyclic-to-ical)
10348 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10349 (icalendar--convert-ical-to-diary)
10350 (icalendar--convert-recurring-to-diary)
10351 (icalendar--convert-non-recurring-all-day-to-diary)
10352 (icalendar-import-format-sample):
10353 * progmodes/idlw-shell.el (idlwave-shell-mode):
10354 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10355 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10356 (vhdl-ps-print-init): Fix typos.
10357
10649b82
KM
103582011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10359
9d0cfcd6
GM
10360 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10361 FSF and collapse date sequence, obscure author/maintainer email address
10362 better, remove extra version line, track relocation of author's webpage.
10649b82 10363
9d0cfcd6
GM
10364 * progmodes/python.el (python-pdbtrack-input-prompt)
10365 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10366 regular python pdb prompts. Adjustments shamelessly taken exactly as
10367 suggested in EmacsWiki page (tiny change):
10368 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10369
58179cce
JB
103702011-11-16 Juanma Barranquero <lekktu@gmail.com>
10371
10372 * expand.el (expand-pos, expand-index, expand-point):
10373 Remove redundant info from docstring.
10374 (expand-add-abbrevs): Doc fix.
10375 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10376 (expand-sample-perl-mode-expand-list): Fix typos.
10377
10378 * net/dbus.el (dbus-event-member-name):
10379 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10380 * term/pc-win.el (msdos-create-frame-with-faces):
10381 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10382
b6f67890
MR
103832011-11-16 Martin Rudalics <rudalics@gmx.at>
10384
10385 * window.el (split-window, window-state-get-1)
10386 (window-state-put-1, window-state-put-2): Rename occurrences of
10387 window-nest to window-combination-limit.
1d00653d 10388 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10389
ce7ddba0
CY
103902011-11-16 Chong Yidong <cyd@gnu.org>
10391
10392 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10393 regexp (Bug#10033).
10394
3ae704f4
SM
103952011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10398 `completing-read' will remove *Completions* and will preserve
10399 current-buffer for us.
10400 (tmm-add-prompt): Users of *Completions* will always (re)set its
10401 major mode.
10402 (tmm-old-comp-map): Remove.
10403
6ad1cdde
GM
104042011-11-16 Glenn Morris <rgm@gnu.org>
10405
10406 * mail/rmailedit.el: Require rmailmm when compiling.
10407 (rmail-old-mime-state): New declaration.
10408 (rmail-edit-current-message): If editing a mime message,
10409 edit the "raw" message from the mbox buffer.
10410 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10411
d20faa20
GM
104122011-11-15 Glenn Morris <rgm@gnu.org>
10413
10414 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10415 which wasn't being used. Add optional arg to force given state.
10416 (rmail-mime): Add optional arg to force given state.
10417
c7015153
JB
104182011-11-15 Juanma Barranquero <lekktu@gmail.com>
10419
10420 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10421 * frame.el (display-mm-dimensions-alist):
10422 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10423 (outline-move-subtree-down):
10424 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10425 (newsticker--treeview-do-get-node):
10426 * net/quickurl.el (quickurl-list-buffer-name):
10427 * progmodes/dcl-mode.el (dcl-mode):
10428 * progmodes/gdb-mi.el (gdb-mapcar*):
10429 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10430
45261b50
GM
104312011-11-15 Glenn Morris <rgm@gnu.org>
10432
10433 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10434 in a boolean sense, so just make it a boolean, and fix the doc.
10435 (rmail-show-mime-function, rmail-mime-feature)
10436 (rmail-require-mime-maybe): Doc fixes.
10437 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10438
10439 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10440
0d26e0b6
JB
104412011-11-15 Juanma Barranquero <lekktu@gmail.com>
10442
10443 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10444 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10445 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10446 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10447
447f30f6
GM
104482011-11-15 Glenn Morris <rgm@gnu.org>
10449
672b871d
GM
10450 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10451 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10452 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10453 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10454 (rmail-mime, rmail-show-mime): Doc fixes.
10455
f6aa5bb1
GM
10456 * term/ns-win.el (mode-line-frame-identification):
10457 Leave it alone. (Bug#10051)
10458
947cd66b
GM
10459 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10460
447f30f6
GM
10461 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10462 Handle empty buffers. (Bug#9978)
10463
0b381c7e
JB
104642011-11-14 Juanma Barranquero <lekktu@gmail.com>
10465
10466 * international/mule.el (define-charset):
10467 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10468 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10469 * progmodes/verilog-mode.el (verilog-backward-token):
10470 * textmodes/ispell.el (lookup-words):
10471 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10472
71e027ac
GM
104732011-11-14 Glenn Morris <rgm@gnu.org>
10474
56632ce4
GM
10475 * progmodes/executable.el
10476 (executable-make-buffer-file-executable-if-script-p):
10477 Handle file-modes returning nil.
10478
40500957
GM
10479 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10480 message - not necessary, and causes problems. (Bug#9831)
10481
071c2340
GM
10482 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10483
d3cfca60
GM
10484 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10485
71e027ac
GM
10486 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10487 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10488 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10489
89d61221
MR
104902011-11-12 Martin Rudalics <rudalics@gmx.at>
10491
10492 * window.el (window-resize, delete-window): Use window-splits
10493 variable instead of function.
10494 (window-state-get-1, window-state-put-2, window-state-put):
10495 Don't deal with windows' splits status.
10496
98282f6f
GM
104972011-11-12 Glenn Morris <rgm@gnu.org>
10498
10499 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10500 (apropos-documentation): Doc fixes.
10501
40a8bdf6
JB
105022011-11-11 Juanma Barranquero <lekktu@gmail.com>
10503
10504 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10505 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10506
65bd19ff
SM
105072011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * electric.el (electric-indent-post-self-insert-function): Make it
10510 possible for a char to only indent in some circumstances.
10511 (electric-indent-mode): Simplify.
10512
54f9154c
MR
105132011-11-11 Martin Rudalics <rudalics@gmx.at>
10514
10515 * window.el (windows-with-parameter): Remove unused function.
10516 (windows-at-side): Rename to window-at-side-list.
10517 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10518 (window-side-check, window-size-ignore, window-size-fixed-1)
10519 (window-in-direction-2): Prefix with "window--".
10520 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10521
68cbc58b
GM
105222011-11-11 Glenn Morris <rgm@gnu.org>
10523
10524 * subr.el (eval-after-load): If FILE is already loaded,
10525 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10526
b2621720
GM
105272011-11-10 Glenn Morris <rgm@gnu.org>
10528
9a4de110
GM
10529 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10530 Call svn via vc-svn-command rather than vc-do-command.
10531 (vc-svn-command): Add --non-interactive. (Bug#9993)
10532 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10533
b2621720
GM
10534 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10535 Add toggle-read-only. (Bug#7292)
10536 * files.el (toggle-read-only): Mention that it should only
10537 be used interactively. (Bug#10006)
10538
1dce7193
SM
105392011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10540
d9ac1a1e
SM
10541 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10542 Adjust regexp for OCaml warnings.
10543
0c325082
SM
10544 * electric.el (electric-pair-post-self-insert-function): Let user
10545 turn it off buffer-locally (bug#9932).
10546
90132c14
SM
10547 * progmodes/python.el (python-beginning-of-statement):
10548 Rewrite (bug#2703).
10549
1dce7193
SM
10550 * progmodes/compile.el: Better handle TABs (bug#9749).
10551 (compilation-internal-error-properties)
10552 (compilation-next-error-function): Obey the target buffer's
10553 compilation-error-screen-columns.
10554
c4e7c63a
JB
105552011-11-09 Juanma Barranquero <lekktu@gmail.com>
10556
10557 * progmodes/meta-mode.el: Remove obsolete comments.
10558 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10559 Fix typos in docstrings.
10560
2cffd681
MR
105612011-11-09 Martin Rudalics <rudalics@gmx.at>
10562
10563 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10564 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10565 (window--resizable): New function. Make all callers of
10566 window-resizable call window--resizable instead.
10567 (window-resizable): Rewrite in terms of window--resizable.
10568
0edcba87
GM
105692011-11-08 Glenn Morris <rgm@gnu.org>
10570
10571 * progmodes/delphi.el (delphi-mode-syntax-table):
10572 Let define-derived-mode define a proper syntax table. (Bug#9994)
10573
4b0d61e3
SM
105742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10575
10576 * window.el: Stay away from defsubst.
10577 (window-list-no-nils): Remove.
10578 (window-state-get-1, window-state-get): Use backquote instead.
10579
cd394be1 105802011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10581
4b0d61e3 10582 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10583 Fix incorrect use of default argument in `completing-read'.
10584
e1c2c6f2
MR
105852011-11-08 Martin Rudalics <rudalics@gmx.at>
10586
10587 * window.el (display-buffer-function, special-display-function):
10588 Mention display-buffer-record-window but do not mention
10589 help-setup parameter in doc-strings.
b3f4a882 10590 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10591
105216ed
CY
105922011-11-08 Chong Yidong <cyd@gnu.org>
10593
10594 * window.el (window-total-height, window-total-width): Doc fix.
10595 (window-body-size): Move from C.
10596 (window-body-height, window-body-width): Move to C.
10597
0a9f9ab5
SM
105982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * window.el: Make special-display like display-buffer-alist (bug#9532).
10601 (display-buffer--special-action): New function, morphed
10602 from display-buffer--special.
10603 (display-buffer): Use it to handle special-display-buffers at higher
10604 priority (just after display-buffer-alist).
10605 (display-buffer-fallback-action, display-buffer--other-frame-action)
10606 (pop-to-buffer-same-window): Remove display-buffer--special.
10607
a769dd15
GM
106082011-11-07 Glenn Morris <rgm@gnu.org>
10609
10610 * calendar/cal-menu.el (cal-menu-set-date-title):
10611 Do nothing if not in a calendar. (Bug#9976)
10612
05a61ee3
SM
106132011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10614
10615 * files.el (find-file): Always use selected-window.
10616
be7f5545
MR
106172011-11-07 Martin Rudalics <rudalics@gmx.at>
10618
10619 * window.el (window-combinations): Make WINDOW argument
10620 mandatory. Rewrite doc-string.
10621 (walk-window-subtree, window-atom-check, window-min-delta)
10622 (window-max-delta, window--resize-this-window)
10623 (window--resize-root-window-vertically, window-tree)
10624 (balance-windows, window-state-put): Rewrite doc-strings as to
10625 not mention the term "subwindow".
10626 (window--resize-subwindows-skip-p): Rename to
10627 window--resize-child-windows-skip-p.
10628 (window--resize-subwindows-normal): Rename to
10629 window--resize-child-windows-normal.
10630 (window--resize-subwindows): Rename to
10631 window--resize-child-windows.
10632 (window-or-subwindow-p): Rename to window--in-subtree-p.
10633
3c6702ef
ML
106342011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10635
10636 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10637 Ensure that mbox format messages end in two newlines (Bug#9974).
10638
49745b39
CY
106392011-11-06 Chong Yidong <cyd@gnu.org>
10640
10641 * window.el (window-combination-p): Function deleted; its
10642 side-effect is not used in any existing code.
10643 (window-combinations, window-combined-p): Call window-*-child
10644 directly.
10645
24300f5f
CY
106462011-11-05 Chong Yidong <cyd@gnu.org>
10647
10648 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10649 (window-size-ignore, window-state-get): Callers changed.
10650 (window-normalize-window): Rename from window-normalize-any-window.
10651 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10652 (window-normalize-live-window): Delete.
447f16b8
CY
10653 (window-combination-p, window-combined-p, window-combinations)
10654 (walk-window-subtree, window-atom-root, window-min-size)
10655 (window-sizable, window-sizable-p, window-size-fixed-p)
10656 (window-min-delta, window-max-delta, window-resizable)
10657 (window-resizable-p, window-full-height-p, window-full-width-p)
10658 (window-current-scroll-bars, window-point-1, set-window-point-1)
10659 (window-at-side-p, window-in-direction, window-resize)
10660 (adjust-window-trailing-edge, maximize-window, minimize-window)
10661 (window-deletable-p, delete-window, delete-other-windows)
10662 (record-window-buffer, unrecord-window-buffer)
10663 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10664 (quit-window, split-window, window-state-put)
10665 (set-window-text-height, fit-window-to-buffer)
10666 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10667
89bd5ee1
EZ
106682011-11-04 Eli Zaretskii <eliz@gnu.org>
10669
53479029
EZ
10670 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10671 rfc2047-decode-string.
10672 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10673 warnings.
10674
89bd5ee1
EZ
10675 * window.el (window-body-height, window-body-width): Mention in
10676 the doc string that the return values are in frame's canonical
10677 units. (Bug#9949)
10678
bd17fdee
AM
106792011-11-03 Alan Mackenzie <acm@muc.de>
10680
10681 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10682 change in cc-engine.el.
10683
acc825c5
SM
106842011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10687
1885e5b8
MR
106882011-11-02 Martin Rudalics <rudalics@gmx.at>
10689
10690 * window.el (quit-window): Call unrecord-window-buffer after
10691 showing another buffer in the window. (Bug#9937)
acc825c5 10692 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10693
ebe06da9
JB
106942011-11-02 Juanma Barranquero <lekktu@gmail.com>
10695
10696 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10697 Accept status with more than 9 shelves. (Bug#9935)
10698 Reported by Colin D Bennett <colin@gibibit.com>.
10699
4ee88440
MR
107002011-11-01 Martin Rudalics <rudalics@gmx.at>
10701
10702 * help.el (with-help-window): Don't reference
10703 temp-buffer-show-specifiers in doc-string.
10704
08e1d82c
AS
107052011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10706
10707 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10708 menu-item.
10709
84bd6e9e
VJL
107102011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10711
10712 * whitespace.el: New version 13.2.2.
10713 (whitespace-newline-mode): Disable properly. Reported by Sarah
10714 <EmacsWiki>.
10715
dba0634a
UJ
107162011-10-30 Ulf Jasper <ulf.jasper@web.de>
10717
10718 * net/newst-treeview.el: Remove "Time-stamp".
10719 (newsticker--group-manage-orphan-feeds): Do not call
10720 newsticker--treeview-tree-update.
db22a3c2
JB
10721 (newsticker-treeview-update, newsticker-treeview):
10722 Call newsticker--treeview-tree-update if necessary.
dba0634a 10723
3d8daefe
MR
107242011-10-30 Martin Rudalics <rudalics@gmx.at>
10725
10726 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10727 (window-iso-combinations): Remove "iso-" infix.
10728 Suggested by Chong Yidong.
3d8daefe
MR
10729 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10730 (window-max-delta-1, window-resize, window--resize-siblings)
10731 (window--resize-this-window, adjust-window-trailing-edge)
10732 (split-window, balance-windows-1)
10733 (shrink-window-if-larger-than-buffer):
10734 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10735 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10736
1bc4c3ae
SM
107372011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10740 in place (bug#9907).
10741 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10742 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10743 (eshell-structure-basic-command, eshell-rewrite-while-command)
10744 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10745 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10746 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10747 (eshell-do-pipelines-synchronously, eshell-eval-command):
10748 Use backquotes and prefer setq to set.
10749 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10750 (eshell-macrop): Use functionp.
c1e2f5fa 10751 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10752
30b65d9c
CY
107532011-10-30 Chong Yidong <cyd@gnu.org>
10754
10755 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10756 instead of set-mark (Bug#9810).
10757
2d197ffb
CY
107582011-10-30 Chong Yidong <cyd@gnu.org>
10759
10760 * window.el (split-window-below, split-window-right): Rename from
10761 split-window-above-each-other and split-window-side-by-side
10762 respectively. All callers changed.
10763 (split-window-sensibly, split-window-sensibly): Use them.
10764 (split-window-keep-point): Doc fix.
10765
10766 * isearch.el: Add isearch-scroll property to split-window-below
10767 and split-window-right.
10768
10769 * follow.el (follow-mode):
10770 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10771 * progmodes/ada-xref.el (ada-gdb-application):
10772 * emulation/vip.el (vip-buffer-in-two-windows):
10773 * image-dired.el (image-dired-dired-with-window-configuration):
10774 * dired-x.el (dired-do-find-marked-files):
10775 * dired.el (dired-pop-to-buffer):
10776 * bs.el (bs--show-with-configuration):
10777 * vc/emerge.el (emerge-setup-windows):
10778 * textmodes/two-column.el (2C-two-columns):
10779 * textmodes/reftex-toc.el (reftex-toc):
10780 * progmodes/gdb-mi.el (gdb-setup-windows):
10781 * progmodes/fortran.el (fortran-window-create):
10782 * net/newst-treeview.el (newsticker--treeview-window-init):
10783 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10784 * emulation/tpu-edt.el (tpu-gold-map):
10785 * emulation/crisp.el (crisp-mode-map):
10786 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10787
38bb2ca8
CY
107882011-10-29 Chong Yidong <cyd@gnu.org>
10789
aa4de341
CY
10790 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10791
e1eb5385
CY
10792 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10793
5d2ece3c
CY
10794 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10795 forged Ispell output (Bug#7904).
10796
38bb2ca8
CY
10797 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10798
d0af9f77
SM
107992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10800
10801 * doc-view.el: Avoid ugly errors about not finding nil.
10802 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10803 (doc-view-dvipdf-program, doc-view-unoconv-program)
10804 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10805 Avoid nil or absolute file name as default value.
10806 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10807
52bedd34
AM
108082011-10-28 Alan Mackenzie <acm@muc.de>
10809
db22a3c2 10810 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10811
7e43cfa5
AM
108122011-10-28 Alan Mackenzie <acm@muc.de>
10813
10814 Amend the handling of c-beginning/end-of-defun in nested declaration
10815 scopes.
10816
52bedd34
AM
10817 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10818 cc-langs.el. Change it to a defcustom.
7e43cfa5 10819
52bedd34
AM
10820 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10821 cc-vars.el.
7e43cfa5 10822
d0af9f77
SM
10823 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10824 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10825
52bedd34 10826 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10827 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10828 (c-widen-to-enclosing-decl-scope): New function.
10829 (c-while-widening-to-decl-block): New macro.
10830 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10831 outward for defun boundaries, and correspondingly change symbol
10832 `respect-enclosure' to `go-outward'.
10833 (c-declaration-limits): Change algorithm to report only the "innermost"
10834 defun's boundaries.
10835
1a2ce9ee
DD
108362011-10-28 Deniz Dogan <deniz@dogan.se>
10837
10838 * net/rcirc.el (rcirc-mode): Use hard newlines.
10839
bc97a826
AM
108402011-10-28 Alan Mackenzie <acm@muc.de>
10841
10842 Amend to indent and fontify macros "which include their own semicolon"
10843 correctly, using the "virtual semicolon" mechanism.
10844
52bedd34 10845 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10846
d0af9f77 10847 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10848 Recode to scan one line at a time rather than having \n and \r
58179cce 10849 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10850 (c-forward-label): Amend for virtual semicolons.
58179cce 10851 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10852
52bedd34
AM
10853 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10854 of the new C macros.
bc97a826 10855
52bedd34 10856 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10857 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10858 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10859 (c-opt-cpp-macro-define): Make into a full language variable.
10860 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10861 AWK Mode (including \n, \r) removed, no longer needed.
10862
d0af9f77
SM
10863 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10864 Invoke c-make-macro-with-semi-re.
bc97a826 10865
52bedd34
AM
10866 * progmodes/cc-vars.el (c-macro-with-semi-re):
10867 (c-macro-names-with-semicolon): New variables.
58179cce 10868 (c-make-macro-with-semi-re): New function.
bc97a826 10869
7a6c0941
SM
108702011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * vc/log-edit.el: Fill empty field rather than adding new one.
10873 (log-edit-add-field): New function.
10874 (log-edit-insert-changelog): Use it.
10875
b0c4cdcf
ML
108762011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10877
10878 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10879
ee1f1da9
SM
108802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10883 (gdb--check-interpreter): New function.
10884 (gdb): Use it.
10885
51bc5f8b
GM
108862011-10-27 Glenn Morris <rgm@gnu.org>
10887
416a2c45
GM
10888 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10889 (least-positive-float, least-negative-float)
10890 (least-positive-normalized-float, least-negative-normalized-float)
10891 (float-epsilon, float-negative-epsilon):
10892 Remove unnecessary declarations.
10893
10894 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10895 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10896 (least-positive-float, least-negative-float)
10897 (least-positive-normalized-float, least-negative-normalized-float)
10898 (float-epsilon, float-negative-epsilon): Add doc-strings,
10899 based on those in cl.texi.
10900
51bc5f8b
GM
10901 * files.el (set-visited-file-name): If the major-mode changed,
10902 reload the local variables. (Bug#9796)
10903
15de15c6
CY
109042011-10-27 Chong Yidong <cyd@gnu.org>
10905
10906 * subr.el (change-major-mode-after-body-hook): New hook.
10907 (run-mode-hooks): Run it.
10908
ee1f1da9
SM
10909 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10910 Use change-major-mode-before-body-hook.
15de15c6
CY
10911
10912 * simple.el (fundamental-mode):
10913 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10914 change introducing fundamental-mode-hook.
10915
5430d399
JB
109162011-10-26 Juanma Barranquero <lekktu@gmail.com>
10917
acc825c5 10918 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10919
ad74a69e
MA
109202011-10-26 Michael Albinus <michael.albinus@gmx.de>
10921
10922 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10923 tramp.el explicitly. (Bug#7583)
ad74a69e 10924
71d4c2a5
SM
109252011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10926
10927 * progmodes/octave-mod.el:
10928 * progmodes/octave-inf.el: Update maintainer.
10929
b1f6fa26
CY
109302011-10-26 Chong Yidong <cyd@gnu.org>
10931
10932 * subr.el (with-wrapper-hook): Rewrite doc.
10933
3f04efd6
MA
109342011-10-25 Michael Albinus <michael.albinus@gmx.de>
10935
10936 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10937 filenames "/method:foo:". (Bug#9793)
3f04efd6 10938
410488d3
SM
109392011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10942 (bug#9865).
10943
c1ebb47e
GM
109442011-10-24 Glenn Morris <rgm@gnu.org>
10945
10946 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10947
7f5c46c7
MA
109482011-10-24 Michael Albinus <michael.albinus@gmx.de>
10949
10950 * notifications.el: Add the requirement of a running D-Bus session
10951 bus to the Commentary.
10952
db2440b6
JL
109532011-10-24 Juri Linkov <juri@jurta.org>
10954
10955 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10956 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10957 (Bug#9364)
10958
feecf435
JL
109592011-10-24 Juri Linkov <juri@jurta.org>
10960
10961 * info.el (Info-following-node-name-re): Add newline to the list
10962 of allowed characters for leading space. (Bug#9824)
10963
a3839de2
SM
109642011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10965
acc825c5
SM
10966 * progmodes/octave-inf.el (inferior-octave-mode-map):
10967 Fix C-c C-h binding.
a3839de2
SM
10968 * progmodes/octave-mod.el (octave-help): Remove.
10969
09388e76
MA
109702011-10-23 Michael Albinus <michael.albinus@gmx.de>
10971
10972 Sync with Tramp 2.2.3.
10973
10974 * net/tramp-cache.el (top): Pacify byte-compiler using
10975 `init-file-user' and `site-run-file'.
10976
10977 * net/trampver.el: Update release number.
10978
86c60681
CY
109792011-10-23 Chong Yidong <cyd@gnu.org>
10980
10981 * files.el (toggle-read-only): Remove obsolete comment about
10982 version control.
10983
10984 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10985 for toggle-read-only. Note that this hasn't called vc-next-action
10986 since 2008-05-02, though it wasn't documented at the time.
10987
a3839de2
SM
10988 * vc/ediff-init.el (ediff-toggle-read-only-function):
10989 Use toggle-read-only.
86c60681 10990
cd5495ff
AM
109912011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10992
10993 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10994 of c-parse-state.
10995
00b77525 10996 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 10997 correct faulty logical expression.
cd5495ff
AM
10998 (c-parse-state-state, c-record-parse-state-state):
10999 (c-replay-parse-state-state): New defvar/defuns.
11000 (c-debug-parse-state): Use new functions.
11001
42ee24ed
MR
110022011-10-22 Martin Rudalics <rudalics@gmx.at>
11003
11004 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11005 last fix. Use window-in-direction correctly.
42ee24ed 11006
a7dee7e7
CY
110072011-10-21 Chong Yidong <cyd@gnu.org>
11008
11009 * progmodes/idlwave.el (idlwave-mode):
11010 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11011 require-final-newline; that's done in prog-mode.
11012 Suggested by Stefan Monnier.
a7dee7e7 11013
e07b9a6d
MR
110142011-10-21 Martin Rudalics <rudalics@gmx.at>
11015
11016 * mouse.el (mouse-drag-window-above)
11017 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11018 (mouse-drag-mode-line-1, mouse-drag-header-line)
11019 (mouse-drag-vertical-line-rightward-window): Remove.
11020 (mouse-drag-line): New function.
11021 (mouse-drag-mode-line, mouse-drag-header-line)
11022 (mouse-drag-vertical-line): Call mouse-drag-line.
11023 * window.el (window-at-side-p, windows-at-side): New functions.
11024
7e1361d9
UM
110252011-10-21 Ulrich Mueller <ulm@gentoo.org>
11026
11027 * tar-mode.el (tar-grind-file-mode):
11028 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11029
30fcaf3a
CY
110302011-10-21 Chong Yidong <cyd@gnu.org>
11031
11032 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11033 * progmodes/vera-mode.el (vera-mode):
11034 Use mode-require-final-newline.
30fcaf3a 11035
516eddb0
GM
110362011-10-20 Glenn Morris <rgm@gnu.org>
11037
db22a3c2 11038 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11039
10d5f513
CS
110402011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11041
11042 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11043
ac6c8639
CY
110442011-10-20 Chong Yidong <cyd@gnu.org>
11045
11046 * emulation/cua-base.el (cua-mode):
11047 * mail/footnote.el (footnote-mode):
11048 * mail/mailabbrev.el (mail-abbrevs-mode):
11049 * net/xesam.el (xesam-minor-mode):
11050 * progmodes/bug-reference.el (bug-reference-mode):
11051 * progmodes/cap-words.el (capitalized-words-mode):
11052 * progmodes/compile.el (compilation-minor-mode)
11053 (compilation-shell-minor-mode):
11054 * progmodes/gud.el (gud-tooltip-mode):
11055 * progmodes/hideif.el (hide-ifdef-mode):
11056 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11057 * progmodes/subword.el (subword-mode):
11058 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11059 * progmodes/which-func.el (which-function-mode):
11060 * term/tvi970.el (tvi970-set-keypad-mode):
11061 * term/vt100.el (vt100-wide-mode):
11062 * textmodes/flyspell.el (flyspell-mode):
11063 * textmodes/ispell.el (ispell-minor-mode):
11064 * textmodes/nroff-mode.el (nroff-electric-mode):
11065 * textmodes/paragraphs.el (use-hard-newlines):
11066 * textmodes/refill.el (refill-mode):
11067 * textmodes/reftex.el (reftex-mode):
11068 * textmodes/rst.el (rst-minor-mode):
11069 * textmodes/sgml-mode.el (html-autoview-mode)
11070 (sgml-electric-tag-pair-mode):
11071 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11072 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11073 * emulation/crisp.el (crisp-mode):
11074 * emacs-lisp/eldoc.el (eldoc-mode):
11075 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11076 minor mode behavior.
11077
aa42ab43
JL
110782011-10-19 Juri Linkov <juri@jurta.org>
11079
11080 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11081 the list of hard-coded chars with escape-glyph face.
11082
89400f1d
SM
110832011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11086
305c07f6
MA
110872011-10-19 Michael Albinus <michael.albinus@gmx.de>
11088
11089 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11090 running process.
11091
13754b54
GM
110922011-10-19 Glenn Morris <rgm@gnu.org>
11093
11094 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11095 Ignore ignored files. (Bug#9726)
11096
06e21633
CY
110972011-10-19 Chong Yidong <cyd@gnu.org>
11098
11099 Doc fix for minor modes, stating that an omitted argument enables
11100 the mode unconditionally when called from Lisp.
11101
11102 * abbrev.el (abbrev-mode):
11103 * allout.el (allout-mode):
11104 * autoinsert.el (auto-insert-mode):
11105 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11106 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11107 (global-auto-revert-mode):
11108 * battery.el (display-battery-mode):
11109 * composite.el (global-auto-composition-mode)
11110 (auto-composition-mode):
11111 * delsel.el (delete-selection-mode):
11112 * desktop.el (desktop-save-mode):
11113 * dired-x.el (dired-omit-mode):
11114 * dirtrack.el (dirtrack-mode):
11115 * doc-view.el (doc-view-minor-mode):
11116 * double.el (double-mode):
11117 * electric.el (electric-indent-mode, electric-pair-mode):
11118 * emacs-lock.el (emacs-lock-mode):
11119 * epa-hook.el (auto-encryption-mode):
11120 * follow.el (follow-mode):
11121 * font-core.el (font-lock-mode):
11122 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11123 * help.el (temp-buffer-resize-mode):
11124 * hilit-chg.el (highlight-changes-mode)
11125 (highlight-changes-visible-mode):
11126 * hi-lock.el (hi-lock-mode):
11127 * hl-line.el (hl-line-mode, global-hl-line-mode):
11128 * icomplete.el (icomplete-mode):
11129 * ido.el (ido-everywhere):
11130 * image-file.el (auto-image-file-mode):
11131 * image-mode.el (image-minor-mode):
11132 * iswitchb.el (iswitchb-mode):
11133 * jka-cmpr-hook.el (auto-compression-mode):
11134 * linum.el (linum-mode):
11135 * longlines.el (longlines-mode):
11136 * master.el (master-mode):
11137 * mb-depth.el (minibuffer-depth-indicate-mode):
11138 * menu-bar.el (menu-bar-mode):
11139 * minibuf-eldef.el (minibuffer-electric-default-mode):
11140 * mouse-sel.el (mouse-sel-mode):
11141 * msb.el (msb-mode):
11142 * mwheel.el (mouse-wheel-mode):
11143 * outline.el (outline-minor-mode):
11144 * paren.el (show-paren-mode):
11145 * recentf.el (recentf-mode):
11146 * reveal.el (reveal-mode, global-reveal-mode):
11147 * rfn-eshadow.el (file-name-shadow-mode):
11148 * ruler-mode.el (ruler-mode):
11149 * savehist.el (savehist-mode):
11150 * scroll-all.el (scroll-all-mode):
11151 * scroll-bar.el (scroll-bar-mode):
11152 * server.el (server-mode):
11153 * shell.el (shell-dirtrack-mode):
11154 * simple.el (auto-fill-mode, transient-mark-mode)
11155 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11156 (line-number-mode, column-number-mode, size-indication-mode)
11157 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11158 * strokes.el (strokes-mode):
11159 * time.el (display-time-mode):
11160 * t-mouse.el (gpm-mouse-mode):
11161 * tool-bar.el (tool-bar-mode):
11162 * tooltip.el (tooltip-mode):
11163 * type-break.el (type-break-mode-line-message-mode)
11164 (type-break-query-mode):
11165 * view.el (view-mode):
11166 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11167 (global-whitespace-mode, global-whitespace-newline-mode):
11168 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11169
a3839de2
SM
11170 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11171 Fix autogenerated docstring.
06e21633 11172
5214e501
JL
111732011-10-19 Juri Linkov <juri@jurta.org>
11174
11175 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11176 by checking environment variables "DESKTOP_SESSION" and
11177 "XDG_CURRENT_DESKTOP". (Bug#9779)
11178
195f8db9
JL
111792011-10-19 Juri Linkov <juri@jurta.org>
11180
11181 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11182 (browse-url-chromium-program, browse-url-chromium-arguments):
11183 New defcustoms.
11184 (browse-url-default-browser): Check for `browse-url-chromium' and
11185 call `browse-url-chromium-program'.
11186 (browse-url-chromium): New command. (Bug#9779)
11187
343a34ff
JB
111882011-10-18 Juanma Barranquero <lekktu@gmail.com>
11189
11190 * facemenu.el (list-colors-duplicates): On Windows, detect more
11191 duplicates by assuming that only colors matching "^System" are
11192 special "system colors". (Bug#9722)
11193
6978a151
SM
111942011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11195
11196 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11197 to distinguish the author from the committer.
11198
6a80b297
MA
111992011-10-18 Michael Albinus <michael.albinus@gmx.de>
11200
11201 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11202
b31a5677
JK
112032011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11204
11205 * international/mule.el (sgml-html-meta-auto-coding-function):
11206 Add support for detecting encoding in HTML5 specified only as
11207 <meta charset="UTF-8">. Implementation just makes http-equiv and
11208 content-type parts from HTML4 encoding string optional. (Bug#9716)
11209
80c6d77f
GM
112102011-10-18 Glenn Morris <rgm@gnu.org>
11211
11212 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11213
08b0fee8
CY
112142011-10-18 Chong Yidong <cyd@gnu.org>
11215
11216 * faces.el (cursor): Doc fix.
11217
67e729a5
CY
112182011-10-17 Chong Yidong <cyd@gnu.org>
11219
11220 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11221
343a34ff 112222011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11223
11224 * dirtrack.el (dirtrack): Support shell buffers with path
11225 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11226
0bc06380
TZ
112272011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11228
11229 * json.el: Bump version to 1.3 and note change in History.
11230 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11231
8b79f3e0
SM
112322011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11233
5a7c536b
SM
11234 * comint.el (comint-insert-input, comint-send-input)
11235 (comint-get-old-input-default, comint-backward-matching-input)
11236 (comint-next-prompt): Use nil instead of `input' for field property of
11237 past user input (bug#114).
11238
96a8a0df
SM
11239 * minibuffer.el (completion--replace): Inherit surrounding properties
11240 (bug#114).
11241 (minibuffer-complete-and-exit): Use it.
11242
8b79f3e0
SM
11243 * comint.el (comint--table-subvert): Quote the all-completions output
11244 (bug#9160).
11245
b8f7ff0d
MR
112462011-10-17 Martin Rudalics <rudalics@gmx.at>
11247
8b79f3e0 11248 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11249
b8f7ff0d 11250 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11251 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11252 entries and separate them from frame entries.
11253
c235b555
GM
112542011-10-15 Glenn Morris <rgm@gnu.org>
11255
11256 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11257 Doc fixes.
11258
6bbfa6e1
CY
112592011-10-15 Chong Yidong <cyd@stupidchicken.com>
11260
8b79f3e0
SM
11261 * net/network-stream.el (network-stream-open-starttls):
11262 Improve detection of failure due to lack of TLS support.
ec5c990d 11263
6bbfa6e1
CY
11264 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11265 putting the input text in front and in bold.
11266
98488977
SM
112672011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11268
3d1337be
SM
11269 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11270
ee0b45e4
SM
11271 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11272 empty buffer.
11273
98488977
SM
11274 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11275 unread-command-events rather than pushing yet-another event.
11276
186f4720
EZ
112772011-10-14 Eli Zaretskii <eliz@gnu.org>
11278
11279 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11280 the explanation of the possible choices. Make the options passed
11281 to completing-read shorter.
11282
8b7a997c
AM
112832011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11284
11285 * textmodes/flyspell.el (flyspell-large-region): Make sure
11286 extended character mode is used if defined (Bug#1339).
11287
12587bbb
EZ
112882011-10-13 Eli Zaretskii <eliz@gnu.org>
11289
11290 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11291 character info for LRE, LRO, RLE, and RLO characters by appending
11292 an invisible PDF.
12587bbb 11293
bad41229
SM
112942011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11297 even in case of error; add debug spec; simplify data flow.
11298 (with-timeout-handler): Remove.
11299
28dbc92f
MA
113002011-10-12 Michael Albinus <michael.albinus@gmx.de>
11301
11302 Fix Bug#6019, Bug#9315.
11303
11304 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11305 complete `buffer-file-name', the local file name part could look
11306 remotely (for example on VMS).
11307
11308 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11309 `tramp-run-real-handler'.
11310 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11311 already quoted by '"'.
11312
11313 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11314 Let `file-name-handler-alist' be nil, the local file name part
11315 could look remotely (for example on VMS).
11316
e1b0b23a
SM
113172011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11320 from here...
11321 (flyspell-post-command-hook): ...to here.
11322
a120bde9
SM
113232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11326 if not needed.
11327 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11328 using completion. Protect against "slow" callers.
11329 Remove the "message hack".
11330
7ce7717b
JL
113312011-10-11 Juri Linkov <juri@jurta.org>
11332
11333 * isearch.el (isearch-lazy-highlight-word): New variable.
11334 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11335 Use it. (Bug#9727)
11336
c02ee9d6
GM
113372011-10-11 Glenn Morris <rgm@gnu.org>
11338
11339 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11340 like f90-previous-statement does.
11341
93e616fd 113422011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11343
1f190e73 11344 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11345 only in interactive use, to avoid error.
11346
af7b6078
SM
113472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * minibuffer.el (completion-file-name-table): Fix last change,
11350 i.e. ignore normal errors but not the other ones.
11351
0563dae9
MR
113522011-10-10 Martin Rudalics <rudalics@gmx.at>
11353
11354 * window.el (special-display-buffer-names)
11355 (special-display-regexps): Remove some remnants of earlier
11356 changes from doc-strings.
366ca7f3
MR
11357 (quit-windows-on): New function.
11358
11359 * vc/vc.el (vc-revert, vc-rollback):
11360 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11361 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11362 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11363
49677495
MR
113642011-10-09 Martin Rudalics <rudalics@gmx.at>
11365
11366 * window.el (frame-auto-hide-function): Add version tag.
11367 (Bug#9699)
11368
56f2d1e1
MA
113692011-10-09 Michael Albinus <michael.albinus@gmx.de>
11370
11371 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11372 condition.
11373
112a6592
LL
113742011-10-09 Leo Liu <sdl.web@gmail.com>
11375
11376 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11377 (Bug#9701)
11378
0812589b
GM
113792011-10-08 Glenn Morris <rgm@gnu.org>
11380
11381 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11382 before the first code statement zero indent. (Bug#9690)
11383
b2b0776e
CY
113842011-10-08 Chong Yidong <cyd@stupidchicken.com>
11385
11386 * simple.el (count-words-region): Always count in the region.
11387 Report the number of lines and characters too.
11388 (count-words): New command, which counts in the buffer if the
11389 region is inactive, as count-words-region used to.
11390 (count-words--message): New function. Handle plurals.
11391 (count-lines-region): Make it an alias for count-words-region.
11392
11393 * bindings.el (esc-map): Replace count-lines-region with
11394 count-words-region.
11395
c557cd6b
MR
113962011-10-08 Martin Rudalics <rudalics@gmx.at>
11397
11398 * window.el (window--delete): Delete dedicated frame
11399 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11400 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11401
61a57ef4 114022011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11403
3a7d293b 11404 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11405
c3833279
CY
114062011-10-07 Chong Yidong <cyd@stupidchicken.com>
11407
11408 * bindings.el ([M-left],[M-right]): Bind to left-word and
11409 right-word respectively.
11410
21ce8245
GM
114112011-10-07 Glenn Morris <rgm@gnu.org>
11412
11413 * cus-start.el (debug-on-quit): Fix custom type.
11414
6d823bb2
LMI
114152011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11416
0181e193
LMI
11417 * subr.el (define-key-after): Clarify that the function is not
11418 useful for non-menu keymaps.
11419
6d823bb2
LMI
11420 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11421
8e3459ce 114222011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11423
21ce8245 11424 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11425 in current minibuffer (Fix bug with recursive minibuffers).
11426
a1c2d21e
CY
114272011-10-06 Chong Yidong <cyd@stupidchicken.com>
11428
11429 * progmodes/gdb-mi.el (gdb): Doc fix.
11430
5a4cf282
MR
114312011-10-05 Martin Rudalics <rudalics@gmx.at>
11432
11433 * window.el (frame-auto-hide-function): New option replacing
11434 frame-auto-delete. Suggested by Stefan Monnier.
11435 (window--delete): Call frame-auto-hide-function instead of
11436 investigating frame-auto-delete.
c96111ea
MR
11437 (window-point-1, set-window-point-1): New functions.
11438 (window-in-direction, record-window-buffer, window-state-get-1)
11439 (display-buffer-record-window): Use window-point-1 instead of
11440 window-point.
11441 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11442
9854542e
SM
114432011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11444
11445 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11446
8943cfb0
GM
114472011-10-05 Glenn Morris <rgm@gnu.org>
11448
11449 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11450 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11451
647ab967
LL
114522011-10-05 Leo Liu <sdl.web@gmail.com>
11453
11454 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11455 works with buffer object.
11456
3ddfbced
SM
114572011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * mpc.el (mpc-tool-bar-map): Add labels.
11460
bdfa5dd2
GM
114612011-10-04 Glenn Morris <rgm@gnu.org>
11462
11463 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11464
0e2070b5
MR
114652011-10-04 Martin Rudalics <rudalics@gmx.at>
11466
11467 * window.el (window--delete): New function.
11468 (frame-auto-delete): Resuscitate option.
11469 (bury-buffer, replace-buffer-in-windows)
11470 (quit-window): Rewrite using window--delete.
11471 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11472 Pass display-buffer-mark-dedicated to window--display-buffer-2
11473 (Bug#9639).
11474
3dc61a09
SM
114752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11476
915a9b64
SM
11477 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11478 returns a list (bug#9554). Add remote file name completion.
11479 * comint.el (comint--table-subvert): Curry and get quote&unquote
11480 functions as arguments.
11481 (comint--complete-file-name-data): Adjust call accordingly.
11482 * pcomplete.el (pcomplete--table-subvert): Remove.
11483 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11484
3dc61a09
SM
11485 * minibuffer.el (completion-table-case-fold): Use currying.
11486 (completion--styles-type, completion--cycling-threshold-type):
11487 New constants.
11488 (completion-styles, completion-category-overrides)
11489 (completion-cycle-threshold): Use them.
11490 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11491 completion-table-case-fold.
11492
8ea0a993
SB
114932011-10-03 Stephen Berman <stephen.berman@gmx.net>
11494
11495 * minibuffer.el (completion-category-overrides): Fix type of styles
11496 and add more user friendly tags (bug#9660).
11497
8c24b7f6
SM
114982011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11499
11500 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11501 (mule-input-method-string): New widget.
11502 (default-input-method, language-info-custom-alist): Use it.
11503
428fe61a
SM
115042011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11505
32c1fffd
SM
11506 * pcomplete.el: Require comint.
11507 (pcomplete--common-suffix): Remove.
11508 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11509 (pcomplete--table-subvert): Sync with comint--table-subvert.
11510 (pcomplete--entries): Use comint-completion-file-name-table.
11511 * comint.el (comint-unquote-filename): Simplify.
11512 (comint-completion-file-name-table): New function (bug#9616).
11513 (comint--complete-file-name-data): Use it.
11514
428fe61a
SM
11515 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11516 (pcmpl-gnu-tar-buffer): Remove.
11517 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11518 around. Make sure pcomplete-suffix-list is only changed temporarily.
11519 Don't look inside the tar's file if it's too large.
428fe61a 11520
04c52e2f
CY
115212011-10-01 Chong Yidong <cyd@stupidchicken.com>
11522
ce3cefcc
CY
11523 * cus-edit.el (custom-mode-map):
11524 * epa.el (epa-key-list-mode-map):
11525 * man.el (Man-mode-map):
11526 * startup.el (splash-screen-keymap):
11527 * simple.el (special-mode-map): Use scroll-up-command and
11528 scroll-down-command.
11529
11530 * progmodes/idlw-help.el (idlwave-help-mode-map):
11531 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11532 * net/newst-plainview.el (newsticker-mode-map):
11533 * emulation/ws-mode.el (wordstar-mode-map):
11534 * emulation/vi.el (vi-com-map):
11535 * calc/calc-graph.el (calc-graph-show-dumb):
11536 * term/sun.el (terminal-init-sun):
11537 * term/ns-win.el (global-map):
11538 * progmodes/grep.el (grep-mode-map):
11539 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11540 * mail/rmail.el (rmail-mode-map):
11541 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11542
04c52e2f
CY
11543 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11544 custom-safe-themes as special.
11545
79adf8c8
JD
115462011-10-01 Julien Danjou <julien@danjou.info>
11547
11548 * notifications.el (notifications-notify): Fix docstring.
11549
63bd50d3
PS
115502011-10-01 Per Starbäck <per@starback.se>
11551
11552 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11553
199e4c7e
MR
115542011-09-30 Martin Rudalics <rudalics@gmx.at>
11555
11556 * startup.el (command-line-1): Fix last fix by inserting
11557 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11558 (Bug#9605) and (Bug#9636)
199e4c7e 11559
fe5f08dd
EZ
115602011-09-29 Eli Zaretskii <eliz@gnu.org>
11561
11562 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11563 window is hscrolled, move by logical lines. (Bug#9607)
11564 (line-move-visual): Update the doc string to the above effect.
11565
b5516bbd
MR
115662011-09-29 Martin Rudalics <rudalics@gmx.at>
11567
ccee00c0
MR
11568 * window.el (display-buffer-record-window): When WINDOW is the
11569 selected window use `point' instead of `window-point'. (Bug#9626)
11570
b5516bbd
MR
11571 * startup.el (command-line-1): Use insert-before-markers when
11572 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11573
b5516bbd
MR
11574 * help.el (help-window): Remove variable.
11575
52aa0014
GM
115762011-09-29 Glenn Morris <rgm@gnu.org>
11577
11578 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11579
df9a7357
JB
115802011-09-29 Juanma Barranquero <lekktu@gmail.com>
11581
11582 * descr-text.el (describe-char-categories): Accept category
11583 descriptions more than one line long.
11584
a8406c20
SM
115852011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11586
88d9610c
SM
11587 * simple.el (delete-trailing-whitespace): Fix last change.
11588
a5daf810
SM
11589 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11590 Don't confuse "y => 3" as the beginning of a `y' operation.
11591
a8406c20
SM
11592 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11593 object has more than 4 slots (bug#9613).
11594
a239d4e9
JB
115952011-09-28 Juanma Barranquero <lekktu@gmail.com>
11596
11597 * subr.el (with-output-to-temp-buffer):
11598 * net/quickurl.el (quickurl, quickurl-browse-url):
11599 Fix typos in docstrings.
11600
693fbdb6
EZ
116012011-09-27 Eli Zaretskii <eliz@gnu.org>
11602
11603 * minibuffer.el (completion-styles)
11604 (completion-category-overrides): Cross reference each other in doc
11605 strings.
11606
8b457e28
GM
116072011-09-27 Glenn Morris <rgm@gnu.org>
11608
11609 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11610 to split-string. (Bug#9606)
11611
85a16208
LMI
116122011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11613
11614 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11615 (bug#9615).
11616
502f9ebd
CY
116172011-09-27 Chong Yidong <cyd@stupidchicken.com>
11618
11619 * emacs-lisp/package.el (list-packages): Fix echo area message.
11620
7690bdea
LL
116212011-09-27 Leo Liu <sdl.web@gmail.com>
11622
11623 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11624
e2ee6f30
MA
116252011-09-25 Michael Albinus <michael.albinus@gmx.de>
11626
11627 * net/dbus.el (dbus-unregister-object): Don't release services for
11628 registered signals. (Bug#9581)
11629
f3f98342
TZ
116302011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11631
11632 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11633 function that picks between cfengine 2 and 3 support
11634 automatically. Update docs accordingly.
11635
dd7aa8dd
KH
116362011-09-22 Kenichi Handa <handa@m17n.org>
11637
11638 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11639 ZERO.
11640 (indian-itrans-v5-table-for-tamil): New variable.
11641 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11642
3f2b07f8
KM
116432011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11644
11645 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11646 that's true if the current command involved collapsing of text.
11647 It's reset to false at the beginning of the next command.
11648 (allout-post-command-business): Move the cursor to the beginning
11649 of entry if the cursor is hidden and collapsing activity just
11650 happened.
11651
371d6a61
CY
116522011-09-24 Chong Yidong <cyd@stupidchicken.com>
11653
11654 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11655 tracking (Bug#9541).
11656
2ac2721a
UJ
116572011-09-24 Ulf Jasper <ulf.jasper@web.de>
11658
11659 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11660 (newsticker-show-news): Automatically load html rendering package
11661 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11662 because w3m-fill-column is let-bound" and the error "Symbol's value
11663 as variable is void: w3m-fill-column".
2ac2721a 11664
fac7ae53
MA
116652011-09-24 Michael Albinus <michael.albinus@gmx.de>
11666
11667 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11668 Release services only if they are defined. (Bug#9581)
11669
e08b633b
RS
116702011-09-23 Richard Stallman <rms@gnu.org>
11671
e488d29c
RS
11672 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11673 distinguish start of paragraph from start of its text.
11674
19c38752
RS
11675 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11676
e08b633b
RS
11677 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11678 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11679 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11680
0a39f27e
AS
116812011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11682
11683 * international/mule-diag.el (mule-diag): Insert a newline after
11684 each fontset description.
11685
db4e950d
SM
116862011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * simple.el (delete-trailing-whitespace):
11689 Document last change; simplify.
11690
eca3f3ea
PW
116912011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11692
d68e189a
PW
11693 * simple.el (delete-trailing-whitespace): Also delete
11694 extra newlines at the end of the buffer.
11695
eca3f3ea
PW
11696 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11697 (picture-newline): Use forward-line so as to ignore fields.
11698
01c157cc
SM
116992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11700
11701 * subr.el (with-wrapper-hook): Fix edebug spec.
11702
022de23e
LMI
117032011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11704
11705 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11706 (bug#4538).
11707
91683089
MA
117082011-09-23 Michael Albinus <michael.albinus@gmx.de>
11709
eca3f3ea
PW
11710 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11711 Fix nasty bug using wrong cached values.
91683089 11712
5bdd6fa4
AM
117132011-09-23 Alan Mackenzie <acm@muc.de>
11714
11715 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11716
97adfb97
CY
117172011-09-23 Chong Yidong <cyd@stupidchicken.com>
11718
11719 * window.el (pop-to-buffer): Ensure right window is selected if we
11720 chose another frame.
11721
d4ef2b50
EZ
117222011-09-22 Eli Zaretskii <eliz@gnu.org>
11723
11724 * simple.el (what-cursor-position): Use get-char-property-change
11725 and next-single-char-property-change, to be able to show display
11726 properties that come from overlays as well as text properties.
11727
72258fe5
CY
117282011-09-22 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11731
11732 * cmuscheme.el (run-scheme, switch-to-scheme):
11733 * cus-edit.el (customize-group, custom-buffer-create)
11734 (customize-browse):
11735 * info.el (info):
11736 * shell.el (shell):
11737 * mail/sendmail.el (mail):
11738 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11739
8f098516
RS
117402011-09-22 Richard Stallman <rms@gnu.org>
11741
11742 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11743 move back only to line beg, don't move back over blank lines.
11744
e74f1bb6
MA
117452011-09-22 Michael Albinus <michael.albinus@gmx.de>
11746
11747 * files.el (copy-directory): Set directory attributes only in case
11748 they could be retrieved from the source directory. (Bug#9565)
11749
bfeef8b6
DK
117502011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11751
11752 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11753 (hs-find-block-beginning, hs-hide-level-recursive):
11754 Ignore strings as well as comments. (Bug#9502)
11755
7e423bb8
AS
117562011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11757
11758 * progmodes/sql.el (sql-comint-postgres):
11759 Convert port number to a string. (Bug#9566)
11760
b4d72fcf
MR
117612011-09-22 Martin Rudalics <rudalics@gmx.at>
11762
11763 * window.el (quit-window): Undedicate window when switching to
11764 previous buffer. Reported by Thierry Volpiatto
11765 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11766 (special-display-popup-frame): When popping up a new frame reset
11767 its previous buffers to nil. Simplify code.
b4d72fcf 11768
a7b88dc6
MA
117692011-09-21 Michael Albinus <michael.albinus@gmx.de>
11770
11771 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11772 and process filter, as done also in `shell-command'.
11773
cf4eacfd
MR
117742011-09-21 Martin Rudalics <rudalics@gmx.at>
11775
eca3f3ea 11776 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11777 Call set-window-start with NOFORCE argument t.
11778 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11779 (quit-window): Reword doc-string. Handle new format of
11780 quit-restore parameter. Don't delete window if it has a
11781 previous buffer we can show instead of the present one.
11782 (display-buffer-record-window): Rewrite using a new format for
11783 the quit-restore window parameter
11784 (special-display-popup-frame, display-buffer-same-window)
11785 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11786 (display-buffer-pop-up-window, display-buffer-use-some-window):
11787 Adapt symbol passed to display-buffer-record-window.
11788 * help.el (help-window-setup): Handle new format of quit-restore
11789 parameter.
11790
8d28cb95
SM
117912011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11792
94ab793f
SM
11793 * faces.el (face-list): Fix docstring (bug#9564).
11794
8d28cb95
SM
11795 * window.el (display-buffer--action-function-custom-type):
11796 Don't include internal functions in the Custom interface.
11797
3820edeb
JL
117982011-09-20 Juri Linkov <juri@jurta.org>
11799
11800 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11801 (Info-forward-node, Info-backward-node, Info-next-preorder)
11802 (Info-last-preorder): Use it. (Bug#9528)
11803
5147931d
JL
118042011-09-20 Juri Linkov <juri@jurta.org>
11805
11806 * info.el (Info-last-preorder): Visit last menu item only when
11807 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11808
cf499a1a
JD
118092011-09-20 Julien Danjou <julien@danjou.info>
11810
11811 * password-cache.el (password-cache-remove): Remove entries even if the
11812 value is nil, so that password with a nil value (negative caching) is
11813 possible to invalidate.
11814
f84e2fe2
LM
118152011-09-20 Lawrence Mitchell <wence@gmx.li>
11816
11817 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11818 all whitespace around breakpoint. (Bug#9553)
11819 (f90-find-breakpoint): Only break at whitespace inside a comment.
11820
78054a46
SM
118212011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11822
11823 * minibuffer.el (completion-file-name-table): Keep track of errors.
11824 (completion-table-with-predicate): Handle the case where pred1 is nil.
11825 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11826
345083b2
SM
118272011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11828
e24e27be
SM
11829 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11830 (debugger-return-value): Signal an error if the debugging context does
11831 not await any return value.
11832
345083b2
SM
11833 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11834 * image-mode.el (image-toggle-display-text)
11835 (image-toggle-display-image): Stay away from evil `intangible'.
11836
08d355e3
LL
118372011-09-19 Leo Liu <sdl.web@gmail.com>
11838
11839 * replace.el (occur-revert-arguments): Make it permanent-local.
11840 (occur-mode): Don't call font-lock-defontify.
11841
f01da43f
CY
118422011-09-19 Chong Yidong <cyd@stupidchicken.com>
11843
11844 * net/ldap.el (ldap-search-internal): Don't push empty search
11845 result (Bug#9508).
11846
b6072fa6
SM
118472011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11850
443d6696
MA
118512011-09-19 Michael Albinus <michael.albinus@gmx.de>
11852
11853 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11854 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11855
7cc6e154
JL
118562011-09-18 Juri Linkov <juri@jurta.org>
11857
11858 * buff-menu.el (Buffer-menu-mode-map):
11859 * dired.el (dired-mode-map):
11860 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11861 (lisp-interaction-mode-map):
11862 * emacs-lisp/package.el (package-menu-mode-map):
11863 * epa.el (epa-key-list-mode-map):
11864 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11865 (menu-bar-options-menu):
11866 * outline.el (outline-mode-menu-bar-map):
11867 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11868 * vc/vc-dir.el (vc-dir-menu-map):
11869 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11870 Capitalize non-function content words in menu item strings.
11871
11872 * dired.el (dired-mode-map): Add menu item for
11873 `image-dired-dired-toggle-marked-thumbs'.
11874
80302a81
JL
118752011-09-18 Juri Linkov <juri@jurta.org>
11876
11877 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11878 to `isearch-case-fold-search' and restore its original value
11879 after the `isearch-mode' call.
11880
46c5cf66
JL
118812011-09-18 Juri Linkov <juri@jurta.org>
11882
11883 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11884 because `zgrep' returns 1 for successful matches (bug#9226).
11885
d18b513b
JL
118862011-09-18 Juri Linkov <juri@jurta.org>
11887
11888 * info.el (Info-extract-menu-node-name): Check the second match
11889 for empty string (second test-case of bug#9528).
11890 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11891 intermediate nodes to the history (first test-case of bug#9528).
11892
72753f87
JL
118932011-09-18 Juri Linkov <juri@jurta.org>
11894
11895 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11896 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11897
c9384295
JL
118982011-09-18 Juri Linkov <juri@jurta.org>
11899
1154d12e
JB
11900 * info.el (Info-file-supports-index-cookies):
11901 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11902 outputs one more line for long file names (bug#4142).
c9384295 11903
d473dce8
CY
119042011-09-18 Chong Yidong <cyd@stupidchicken.com>
11905
11906 * newcomment.el (comment-normalize-vars): If prompting for
11907 comment-start, set comment-start-skip too (Bug#8424).
11908
2176854d
JB
119092011-09-18 Johan Bockgård <bojohan@gnu.org>
11910
11911 * icomplete.el: Fix previous fix of Bug#5849.
11912 (icomplete-mode): Don't set completion-show-inline-help.
11913 (icomplete-minibuffer-setup): Set completion-show-inline-help
11914 locally during icompletion.
11915
3aace4e4
CY
119162011-09-18 Chong Yidong <cyd@stupidchicken.com>
11917
c940224f
CY
11918 * woman.el (woman2-process-escapes): Don't delete unrecognized
11919 escapes (Bug#7843).
11920
3aace4e4
CY
11921 * files.el (inhibit-first-line-modes-regexps): Add image files.
11922 (hack-local-variables-prop-line): Return nil for malformed
11923 prop-lines (Bug#9044).
11924
710dec63
MA
119252011-09-18 Michael Albinus <michael.albinus@gmx.de>
11926
11927 * net/tramp.el (top): Don't require 'shell.
11928 (tramp-methods): Fix docstring.
11929 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11930 Return complete remote file name. Handle "smb" case.
11931 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11932 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11933
11934 * net/tramp-compat.el (top): Require 'shell.
11935
11936 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11937 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11938 `tramp-current-host'.
11939 (tramp-get-remote-tmpdir): Remove.
11940
11941 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11942 `tramp-tmpdir' entries.
11943 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11944 (tramp-smb-handle-file-attributes): Ignore errors.
11945 (tramp-smb-wait-for-output): Check also for process end.
11946
5d5ac8ec
LMI
119472011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11948
11949 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11950 when sending QUIT (bug#9312).
11951
8c0f49f0
CY
119522011-09-17 Chong Yidong <cyd@stupidchicken.com>
11953
11954 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11955 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11956 occur-mode-display-occurrence.
11957 (occur-edit-mode): Add usage message.
11958 (occur-cease-edit): New command.
11959 (occur-after-change-function): Use text properties to find the
11960 position of the prefix text.
11961 (occur-engine): Set stickiness of prefix text properties.
11962
8f1383f7
GM
119632011-09-17 Glenn Morris <rgm@gnu.org>
11964
11965 * progmodes/etags.el (complete-tag):
11966 Fix call to completion-in-region. (Bug#9526)
11967
744ba0e3
JL
119682011-09-17 Juri Linkov <juri@jurta.org>
11969
11970 * textmodes/ispell.el (ispell-word): Add to the error message
11971 the word, ispell program name and current dictionary (bug#9121).
11972 (ispell-tex-arg-end): Capitalize "error" in the error message.
11973
d9bbf400
AS
119742011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11975
11976 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11977 check. (Bug#4251)
11978
8da11505
JL
119792011-09-17 Juri Linkov <juri@jurta.org>
11980
11981 * window.el (window-safe-min-height, window-safe-min-width):
11982 Fix typos (followup to bug#9522).
11983
a91adc7e
SJ
119842011-09-17 Sven Joachim <svenjoac@gmx.de>
11985
11986 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11987
064f328a
EZ
119882011-09-16 Eli Zaretskii <eliz@gnu.org>
11989
11990 * simple.el (line-move): If goal-column is set, move by logical
11991 lines, not by display lines. (Bug#971)
11992 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11993 to reflect the above change.
11994
e69df516
SM
119952011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * image.el (imagemagick-register-types): Use regexp-opt.
11998
cbb0f9ab
CY
119992011-09-15 Chong Yidong <cyd@stupidchicken.com>
12000
12001 * window.el (display-buffer-base-action): Rename from
12002 display-buffer-default-action. Make default value empty.
12003 (display-buffer-overriding-action): Convert to defvar.
12004 (display-buffer-fallback-action): New var.
12005
25322144
CY
120062011-09-15 Chong Yidong <cyd@stupidchicken.com>
12007
12008 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12009 declaration.
12010 (package--add-to-archive-contents): If there is a duplicate entry
12011 with an older version, remove it.
12012 (package-menu-mark-delete, package-menu-mark-install)
12013 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12014 (package-menu-mark-obsolete-for-deletion):
12015 Use package-menu-get-status instead of a regexp search.
25322144
CY
12016 (package-menu-get-status): Use tabulated-list-entry.
12017 (package-menu-mark-upgrades): New command.
d770725a 12018 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12019 (package-menu-execute): Do installation before deletion.
12020 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12021 instead of checking major-mode.
12022 (package-menu--find-upgrades): New function.
12023
7520339c
LMI
120242011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12025
12026 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12027 passwords in the log buffer.
65a046c4
LMI
12028 (smtpmail-process-filter): Update the process marker so that the
12029 "broken by peer" status message is inserted in the right place.
7520339c 12030
d3c30954
SM
120312011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12032
3fe48822
SM
12033 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12034 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12035 bibtex-completion-at-point-function.
12036 (bibtex-completion-at-point-function): Use them.
12037
1b8b3954
SM
12038 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12039
d3c30954
SM
12040 * mpc.el (mpc-constraints-tag-lookup): New function.
12041 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12042 also to browser "album|playlist".
12043
72779976
JL
120442011-09-14 Juri Linkov <juri@jurta.org>
12045
12046 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12047 (isearch-edit-string): Use length of `isearch-string' when
12048 `isearch-fail-pos' returns nil.
12049 (isearch-message): Remove duplicate code and call
12050 `isearch-fail-pos' with arg `t'.
12051
a0bf2bcd
CY
120522011-09-14 Chong Yidong <cyd@stupidchicken.com>
12053
17bb0a2d
CY
12054 * replace.el (occur-mode-goto-occurrence): Don't force using other
12055 window (Bug#9499).
12056
a0bf2bcd
CY
12057 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12058
f678e0b6
MR
120592011-09-14 Martin Rudalics <rudalics@gmx.at>
12060
12061 * window.el (display-buffer-window): Remove.
12062 (display-buffer-record-window): Use help-setup window parameter
12063 instead of variable display-buffer-window.
12064 (display-buffer-function, special-display-buffer-names)
12065 (special-display-function): Mention help-setup parameter instead
12066 of display-buffer-window in doc-string.
d3c30954
SM
12067 * help.el (help-window-setup): New argument help-window.
12068 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12069 Reword some messages.
12070 (with-help-window): Pass window used for displaying the buffer
12071 to help-window-setup. Don't set display-buffer-window.
12072
8e39b2e8
GM
120732011-09-13 Glenn Morris <rgm@gnu.org>
12074
12075 * emacs-lisp/debug.el (debugger-make-xrefs):
12076 Preserve point. (Bug#9462)
12077
85e9c04b
CY
120782011-09-13 Chong Yidong <cyd@stupidchicken.com>
12079
12080 * window.el (window-deletable-p): Use next-frame.
12081
1b36ed6a
MR
120822011-09-13 Martin Rudalics <rudalics@gmx.at>
12083
12084 * window.el (window-auto-delete): Remove.
12085 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12086 dedication and previous buffers.
1b36ed6a
MR
12087 (switch-to-prev-buffer): Don't delete window.
12088 (delete-windows-on): Delete a window's frame if and only if the
12089 window is dedicated.
12090 (replace-buffer-in-windows): Delete buffer's window or frame if
12091 and only if window is dedicated.
12092 (quit-window): Handle quit-restore as before last change.
4d61f28d 12093 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12094
ef8ef9fb
CY
120952011-09-13 Chong Yidong <cyd@stupidchicken.com>
12096
12097 * window.el (window-deletable-p): Never delete the last frame on a
12098 given terminal.
12099
b2cba41e
GM
121002011-09-13 Glenn Morris <rgm@gnu.org>
12101
12102 * help.el (describe-key-briefly): Copy previous standard-output change.
12103
51553db6 121042011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12105
12106 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12107
b7556719
GM
121082011-09-13 Glenn Morris <rgm@gnu.org>
12109
12110 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12111 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12112
64b51947
CY
121132011-09-12 Chong Yidong <cyd@stupidchicken.com>
12114
12115 * dired-aux.el (dired-mark-read-string): Don't return default
12116 value on empty input (Bug#9361).
12117 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12118 Omit initial minibuffer contents.
12119 (dired-do-chmod): Signal an error on empty input.
12120 (dired-mark-read-string): Don't return default on empty input.
12121
12122 * files.el (file-modes-symbolic-to-number): Doc fix.
12123
393a301e
SM
121242011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12125
12126 * international/mule-cmds.el (ucs-completions): Remove.
12127 (read-char-by-name): Use complete-with-action instead; add metadata.
12128
fa5660f9
CY
121292011-09-11 Chong Yidong <cyd@stupidchicken.com>
12130
12131 * window.el (display-buffer--action-function-custom-type)
12132 (display-buffer--action-custom-type): New vars.
12133 (display-buffer-alist, display-buffer-default-action)
12134 (display-buffer-overriding-action): Add defcustom types.
12135
4a592f66
CY
12136 * frame.el (delete-other-frames): Doc fix (Bug#276).
12137
73d56dbd
LMI
121382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12139
12140 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12141
37ac18a3
CY
121422011-09-11 Chong Yidong <cyd@stupidchicken.com>
12143
12144 Change modes that used same-window-* vars to use switch-to-buffer.
12145
12146 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12147 Use switch-to-buffer.
12148
12149 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12150 (customize-browse, custom-buffer-create-other-window):
12151 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12152
12153 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12154 (Info-prev, Info-up, Info-speedbar-goto-node)
12155 (info-display-manual): Use switch-to-buffer.
12156 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12157
12158 * mail/sendmail.el (mail): Use switch-to-buffer.
12159 (mail-recover): Use switch-to-buffer-other-window.
12160
12161 * cmuscheme.el (run-scheme, switch-to-scheme):
12162 * ielm.el (ielm):
12163 * shell.el (shell):
12164 * net/rlogin.el (rlogin):
12165 * net/telnet.el (telnet, rsh):
12166 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12167
10195bd6
AS
121682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12169
12170 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12171
b322f63a
LMI
121722011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12173
39d7fed6
LMI
12174 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12175 so don't mention it (bug#9301).
ba5a81f1 12176 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12177
ee0e9f11
LMI
12178 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12179 match `x', `w32' and `ns', like the manual says (bug#9029).
12180
0b1c89c1 12181 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12182 (process-kill-buffer-query-function): Mention the buffer name in
12183 the query.
0b1c89c1 12184
77549ea8
LMI
12185 * image-mode.el (image-next-line): The line parameter is mandatory
12186 (bug#9258).
12187
803ef892
LMI
12188 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12189 which can be useful (bug#9301).
12190
12980837
LMI
12191 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12192
91054f8f
LMI
12193 * subr.el (match-string): Mention that the current buffer should
12194 be the same as the search was done in (bug#9282).
12195
b322f63a
LMI
12196 * facemenu.el: Disable the remove-* commands if the mark isn't
12197 active (bug#9162).
12198
3199b96f
CY
121992011-09-10 Chong Yidong <cyd@stupidchicken.com>
12200
12201 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12202 of display-buffer.
12203 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12204
12205 * replace.el (occur-mode-goto-occurrence)
12206 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12207 and display-buffer.
12208
12209 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12210 display-buffer.
12211
12212 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12213 special-display and same-window variables.
12214 (mail-other-window): Use switch-to-buffer-other-window.
12215 (mail-other-frame): USe switch-to-buffer-other-frame.
12216
393a301e
SM
12217 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12218 Use display-buffer-other-frame.
3199b96f
CY
12219 (gdb-display-gdb-buffer): Use pop-to-buffer.
12220
12221 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12222
12223 * progmodes/python.el: Don't set same-window-buffer-names.
12224
12225 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12226
12227 * window.el (display-buffer-alist): Add *Python*.
12228
8319e0bf
CY
122292011-09-10 Chong Yidong <cyd@stupidchicken.com>
12230
12231 * window.el (display-buffer-alist): Add entry for buffers
12232 previously handled same-window-*.
12233 (display-buffer-alist, display-buffer-default-action)
12234 (display-buffer-overriding-action): Mark as risky.
12235 (display-buffer-alist): Document action function changes.
12236 (display-buffer--same-window-action)
12237 (display-buffer--other-frame-action): New variables.
12238 (switch-to-buffer, display-buffer-other-frame): Use them.
12239 (display-buffer): Rename reuse-frame entry to reusable-frames.
12240 (display-buffer-reuse-selected-window): Function deleted.
12241 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12242 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12243 (display-buffer-special): New function.
12244 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12245 display-buffer-reuse-or-pop-window. Split off special-display
12246 part into display-buffer-special.
12247 (display-buffer-use-some-window): Don't perform any special
12248 pop-up-frames handling.
12249 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12250 (display-buffer--maybe-same-window): Rename from
0d3ff375 12251 display-buffer-maybe-same-window.
8319e0bf 12252
919a69aa
CY
12253 * info.el: Don't set same-window-regexps.
12254 (info-setup): New function.
12255 (info-other-window, info): Call it.
12256
12257 * cus-edit.el: Don't set same-window-regexps.
12258 (customize-group): New argument.
12259 (customize-group-other-window): Use it.
12260 (customize-face, customize-face-other-window): Likewise.
12261 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12262
8319e0bf
CY
12263 * net/rlogin.el:
12264 * net/telnet.el:
12265 * progmodes/gud.el: Don't set same-window-regexps.
12266
12267 * cmuscheme.el:
12268 * ielm.el:
12269 * shell.el:
12270 * mail/sendmail.el:
12271 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12272
25173000
JL
122732011-09-10 Juri Linkov <juri@jurta.org>
12274
12275 * isearch.el (isearch-edit-string): Remove obsolete mention of
12276 `C-w' (`isearch-yank-word-or-char') from docstring.
12277 (isearch-query-replace): Fix typo in docstring (bug#9466).
12278
056e44ef
JL
122792011-09-10 Juri Linkov <juri@jurta.org>
12280
12281 * paren.el (show-paren-function): Don't show escaped parens.
12282 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12283
c3760c17
EZ
122842011-09-10 Eli Zaretskii <eliz@gnu.org>
12285
12286 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12287 (mm-default-file-encoding): Remove autoload forms, they are
12288 replaced with autoload cookies in mml.el and mm-encode.el.
12289 (mail-add-attachment): New command.
12290 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12291 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12292 the doc string.
12293 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12294
fece895e
RT
122952011-09-10 Reuben Thomas <rrt@sc3d.org>
12296
e69df516
SM
12297 * simple.el (count-words-region): Use buffer if there's no region
12298 (bug#9429).
fece895e 12299
5e68ce4a
JL
123002011-09-09 Juri Linkov <juri@jurta.org>
12301
12302 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12303 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12304 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12305
0a6b9622
AM
123062011-09-09 Alan Mackenzie <acm@muc.de>
12307
12308 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12309 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12310
14a29deb
EZ
123112011-09-09 Eli Zaretskii <eliz@gnu.org>
12312
12313 Fix for Savannah bug#9392.
12314 * simple.el (mail-encode-mml): New defvar.
12315
12316 * mail/rmail.el (mail-encode-mml): Add a defvar.
12317 (rmail-enable-mime-composing): Default to t.
12318 (rmail-forward): Use MIME method of forwarding only if both
12319 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12320 Set mail-encode-mml non-nil if the MIME method was used.
12321
12322 * mail/sendmail.el (mml-to-mime): Add autoload form.
12323 (mail-encode-mml): Add a defvar.
12324 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12325 to nil.
12326 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12327 message through mml-to-mime, and reset mail-encode-mml to nil.
12328
28c45130
GM
123292011-09-09 Glenn Morris <rgm@gnu.org>
12330
12331 * woman.el (woman-if-body): When processing an .el block,
12332 do not delete the next .el block as well. (Bug#9447)
69f4b618 12333 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12334
9b1c252e
MR
123352011-09-08 Martin Rudalics <rudalics@gmx.at>
12336
12337 * window.el (window-deletable-p): Make sure window is live before
12338 invoking window-prev-buffers.
12339
567457e3
LL
123402011-09-08 Leo Liu <sdl.web@gmail.com>
12341
12342 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12343
97f05794
JL
123442011-09-08 Juri Linkov <juri@jurta.org>
12345
12346 * progmodes/compile.el (compilation-environment): Make it
12347 a defcustom (bug#8340).
12348
8b0874b5
MR
123492011-09-08 Martin Rudalics <rudalics@gmx.at>
12350
12351 * window.el (frame-auto-delete): Rename to window-auto-delete.
12352 Make it control auto-deletion of windows and/or frames.
12353 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12354 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12355 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12356 Rewrite handling of case when window/frame can be deleted.
12357 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12358 argument t. (Bug#9456)
8b0874b5 12359
4feb6e73
CY
123602011-09-07 Chong Yidong <cyd@stupidchicken.com>
12361
12362 * help-mode.el (help-mode): Restore autoload.
12363
91ab9c13
JL
123642011-09-07 Juri Linkov <juri@jurta.org>
12365
12366 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12367 `compilation-environment'. Set buffer-local
12368 `compilation-environment' to `thisenv' later after (funcall mode).
12369 (Bug#8340)
12370
12371 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12372 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12373 instead of replacing its value. (Bug#8340)
12374
0527e251
JL
123752011-09-07 Juri Linkov <juri@jurta.org>
12376
12377 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12378 based on text properties put by `grep-filter' instead of matching
12379 escape sequences.
12380 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12381 to the value of `grep-error-screen-columns' (bug#9438).
12382
249f792c
JL
123832011-09-07 Juri Linkov <juri@jurta.org>
12384
12385 * simple.el (next-error-highlight, next-error-highlight-no-select):
12386 Doc fix (bug#9432).
12387
ff7271b9
OT
123882011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12389
12390 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12391 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12392
183fc730
LL
123932011-09-07 Leo Liu <sdl.web@gmail.com>
12394
12395 * net/rcirc.el (rcirc-mode): Conditionally initialize
12396 rcirc-input-ring.
12397
77694924
SM
123982011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * emacs-lisp/find-func.el (find-function-C-source): Only set
12401 find-function-C-source-directory after checking that we found a source
12402 file there (bug#9440).
12403
d809b8eb
AM
124042011-09-06 Alan Mackenzie <acm@muc.de>
12405
12406 * isearch.el (isearch-other-meta-char): Wherever a key list is
12407 unread, "unread" the prefix arg, too. This fixes bug #8901.
12408
453de99f
OG
124092011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12410
12411 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12412
90439906
JL
124132011-09-05 Juri Linkov <juri@jurta.org>
12414
12415 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12416
f62bd846
JL
124172011-09-05 Juri Linkov <juri@jurta.org>
12418
12419 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12420 keeping point where processing of grep matches begins, and
12421 continue to delete remaining escape sequences from the same point.
12422 (grep-filter): Make leading zero optional in "0?1;31m" because
12423 git-grep emits "\033[1;31m" escape sequences unlike expected
12424 "\033[01;31m" as GNU Grep does (bug#9408).
12425 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12426
045820ec
JL
124272011-09-05 Juri Linkov <juri@jurta.org>
12428
12429 * subr.el (y-or-n-p): Capitalize "yes".
12430
f5e29b9b
MA
124312011-09-04 Michael Albinus <michael.albinus@gmx.de>
12432
12433 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12434 `tramp-cache-unload-hook' where appropriate.
12435 (tramp-methods): Rename `tramp-remote-sh' to
12436 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12437 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12438
12439 * net/tramp-sh.el (top): Don't require 'shell.
12440 (tramp-methods): Add `tramp-remote-shell' and
12441 `tramp-remote-shell-args' entries.
12442 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12443 (tramp-sh-handle-shell-command): Remove.
12444 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12445 Use `tramp-remote-shell'.
12446
2784c434
CY
124472011-09-03 Chong Yidong <cyd@stupidchicken.com>
12448
393a301e 12449 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12450 (sendmail-query-once): Save directly to send-mail-function.
12451 Update message-send-mail-function too.
12452
12453 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12454
464cdf56
CS
124552011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12456
12457 * progmodes/python.el (python-mode-map): Use correct function to
12458 start python interpreter from menu-bar (as reported by Geert
12459 Kloosterman).
12460 (inferior-python-mode-map): Fix typo.
393a301e 12461 (python-shell-map): Remove.
464cdf56 12462
d37e5c87
DD
124632011-09-03 Deniz Dogan <deniz@dogan.se>
12464
12465 * net/rcirc.el (rcirc-print): Simplify code for
12466 rcirc-scroll-show-maximum-output. There is no need to walk
12467 through all windows to find the right one.
12468
f3ada0ee
CS
124692011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12470
12471 * help.el (help-return-method): Doc fix.
12472
1f3c99ca
MR
124732011-09-03 Martin Rudalics <rudalics@gmx.at>
12474
12475 * window.el (window-deletable-p): Don't return a non-nil value
12476 when there's a buffer that was shown in the window before.
12477 (Bug#9419)
393a301e
SM
12478 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12479 Set window's previous buffers to nil.
1f3c99ca 12480
a3cf097f
EZ
124812011-09-03 Eli Zaretskii <eliz@gnu.org>
12482
12483 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12484 newline before and after the tag line, so it doesn't interfere
12485 with determining the paragraph direction of bidirectional text.
12486
3d03de90
LL
124872011-09-03 Leo Liu <sdl.web@gmail.com>
12488
12489 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12490
c3313451
CY
124912011-09-02 Chong Yidong <cyd@stupidchicken.com>
12492
393a301e 12493 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12494 (pop-to-buffer): Change interactive spec. Pass second argument
12495 directly to display-buffer.
12496 (display-buffer): Fix interactive spec. Use functionp to
12497 distinguish between a function and a list of functions.
12498
12499 * abbrev.el (edit-abbrevs):
12500 * arc-mode.el (archive-extract):
12501 * autoinsert.el (auto-insert):
12502 * bookmark.el (bookmark-bmenu-list):
12503 * files.el (find-file):
12504 * view.el (view-buffer):
12505 * progmodes/compile.el (compilation-goto-locus):
12506 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12507
89894cd8
CY
125082011-09-02 Chong Yidong <cyd@stupidchicken.com>
12509
12510 * window.el (display-buffer-alist): Doc fix.
12511 (display-buffer): Add docstring. Don't treat
12512 display-buffer-default specially.
12513 (display-buffer-reuse-selected-window)
12514 (display-buffer-same-window, display-buffer-maybe-same-window)
12515 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12516 (display-buffer-pop-up-window)
12517 (display-buffer-reuse-or-pop-window)
12518 (display-buffer-use-some-window): New functions.
12519 (display-buffer-default-action): Use them.
393a301e 12520 (display-buffer-default): Delete.
89894cd8
CY
12521 (pop-to-buffer-1): Fix choice of actions.
12522
ae0bc9fb
SM
125232011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12524
12525 * minibuffer.el (completion--insert-strings): Don't get confused by
12526 completion entries that end with an LF char.
12527
e9d90883
EZ
125282011-09-01 Eli Zaretskii <eliz@gnu.org>
12529
12530 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12531
437014c8
CY
125322011-09-01 Chong Yidong <cyd@stupidchicken.com>
12533
12534 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12535 (display-buffer-same-window, display-buffer-other-window):
12536 New functions.
437014c8
CY
12537 (pop-to-buffer-1): New function. Use the above.
12538 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12539 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12540
12541 * view.el (view-buffer-other-window, view-buffer-other-frame):
12542 Just use pop-to-buffer.
12543
a5e063d5
TV
125442011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12545
12546 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12547
793d32bb
WH
125482011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12549
12550 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12551
d65e4c15
RS
125522011-08-31 Richard Stallman <rms@gnu.org>
12553
12554 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12555 of the separation of rmail-view-buffer from rmail-buffer.
12556 If you say no to "replace original", the decrypt is in the
12557 view buffer. If you say yes, the decrypt goes into the
12558 rmail buffer also.
12559
f818cd2a
MR
125602011-08-31 Martin Rudalics <rudalics@gmx.at>
12561
12562 * window.el (display-buffer-window): Rewrite doc-string.
12563 (display-buffer-record-window): New function.
12564 (display-buffer-macro-specifiers)
12565 (display-buffer-even-window-sizes, display-buffer-set-height)
12566 (display-buffer-set-width, display-buffer-in-window)
12567 (display-buffer-reuse-window, display-buffer-split-specifiers)
12568 (display-buffer-side-specifiers, display-buffer-split-window-1)
12569 (display-buffer-split-window, display-buffer-split-atom-window)
12570 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12571 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12572 (display-buffer-other-window-means-other-frame)
12573 (display-buffer-normalize-special)
12574 (display-buffer-normalize-default)
12575 (display-buffer-normalize-argument)
12576 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12577 (display-buffer-normalize-specifiers, display-buffer-frame)
12578 (display-buffer-same-window, display-buffer-same-frame)
12579 (display-buffer-other-window)
12580 (display-buffer-same-frame-other-window)
12581 (display-buffer-other-frame, pop-to-buffer-same-window)
12582 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12583 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12584 (switch-to-buffer-same-frame)
12585 (switch-to-buffer-other-window-same-frame)
12586 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12587 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12588 (display-buffer-alist-set): Remove.
12589 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12590 (special-display-regexps, special-display-function):
12591 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12592 parameter.
12593 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12594 (special-display-frame-alist, special-display-popup-frame)
12595 (same-window-buffer-names, same-window-regexps, same-window-p)
12596 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12597 (split-window-preferred-function, split-height-threshold)
12598 (split-width-threshold, window-splittable-p)
12599 (split-window-sensibly, window--try-to-split-window)
12600 (window--frame-usable-p, even-window-heights)
12601 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12602 (window--display-buffer-2, display-buffer-other-frame):
12603 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12604 (display-buffer-default, display-buffer-assq-regexp): New functions.
12605 (display-buffer-alist): Rewrite doc-string.
12606 (display-buffer-default-action)
12607 (display-buffer-overriding-action): New variables.
12608 (display-buffer, switch-to-buffer): Rewrite.
12609 (pop-to-buffer): Restore Emacs 23 behavior but use
12610 window-normalize-buffer-to-display.
12611 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12612 Restore Emacs 23 behavior but use
12613 window-normalize-buffer-to-switch-to.
12614 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12615 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12616 Rewrite using Emacs 23 options.
f818cd2a 12617
5bc3b51d
MA
126182011-08-31 Michael Albinus <michael.albinus@gmx.de>
12619
12620 * net/tramp.el (tramp-root-regexp): Remove.
12621 (tramp-completion-file-name-regexp-unified)
12622 (tramp-completion-file-name-regexp-separate)
12623 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12624 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12625 (tramp-drop-volume-letter): Simplify definition.
12626 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12627
b1a4f8e1
SM
126282011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12629
12630 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12631 (bug#9356).
12632
5664fa7b
RT
126332011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12634
b1a4f8e1 12635 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12636
9a45d6c3
JL
126372011-08-29 Juri Linkov <juri@jurta.org>
12638
12639 * isearch.el (isearch-done): Don't display message "Mark saved"
12640 when arg `edit' is non-nil to prevent its flicker in the echo area.
12641
fb87e0fb
CY
126422011-08-28 Chong Yidong <cyd@stupidchicken.com>
12643
12644 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12645 obsolete packages for deletion.
12646
09ac1c2a
CS
126472011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12648
12649 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12650 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12651 view-mode from help-mode.
12652 (help-xref-override-view-map): Remove.
12653 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12654 view-mode is not used anymore.
12655
7a1ff57f
CY
126562011-08-28 Chong Yidong <cyd@stupidchicken.com>
12657
12658 * server.el (server-port): Doc fix.
12659
b9696605
CY
12660 * cus-theme.el (custom-theme-choose-mode): Inherit from
12661 special-mode (Bug#9124).
12662 (custom-theme-choose-mode-map): Add special-mode to parent.
12663
ef8cdf8c
AM
126642011-08-28 Alan Mackenzie <acm@muc.de>
12665
12666 * progmodes/cc-fonts.el
12667 (c-make-font-lock-BO-decl-search-function): New function.
12668 (c-basic-matchers-after - "Fontify the clauses after various
12669 keywords"): Extract the three keyword lists for the 3 erroneous
12670 constructs from the list of four, and use the new function above
12671 in place of an old one.
12672
27de4e20
DD
126732011-08-28 Deniz Dogan <deniz@dogan.se>
12674
12675 * net/rcirc.el (rcirc-insert-prev-input)
12676 (rcirc-insert-next-input): Remove unused argument.
12677
356a3681
SM
126782011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12679
12680 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12681
3fc9b218
AM
126822011-08-27 Alan Mackenzie <acm@muc.de>
12683
12684 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12685 handle function pointer parameters properly.
12686
538a061c
MR
126872011-08-27 Martin Rudalics <rudalics@gmx.at>
12688
12689 * window.el (display-buffer-reuse-window): Fix case where
12690 selected window was reused with non-nil OTHER-WINDOW argument.
12691 (Bug#9381)
12692
35b1c40c
DD
126932011-08-27 Deniz Dogan <deniz@dogan.se>
12694
12695 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12696 oftc's NickServ messages.
12697
2f6a3e79
GM
126982011-08-27 Glenn Morris <rgm@gnu.org>
12699
12700 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12701
7254299e
CY
127022011-08-26 Chong Yidong <cyd@stupidchicken.com>
12703
12704 * emacs-lisp/package.el (package-install): Call package-initialize
12705 if called interactively.
12706
f8ccf167
LL
127072011-08-26 Leo Liu <sdl.web@gmail.com>
12708
12709 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12710
3e8cd5ce
JL
127112011-08-25 Juri Linkov <juri@jurta.org>
12712
12713 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12714 `search-whitespace-regexp' (bug#9364).
12715
93eb7113
JL
127162011-08-25 Juri Linkov <juri@jurta.org>
12717
12718 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12719 `regexp-search-ring' to their global values to protect from
12720 updating by `read-from-minibuffer' (bug#9185).
12721
f65d1611
JL
127222011-08-25 Juri Linkov <juri@jurta.org>
12723
12724 * textmodes/ispell.el (ispell-command-loop): Add newline
12725 at the end of the "Use option `i'..." line.
12726
f1cf7a31
JL
127272011-08-25 Juri Linkov <juri@jurta.org>
12728
12729 * battery.el (display-battery-mode): If `battery-status-function'
12730 or `battery-mode-line-format' is nil, display the message and set
12731 `display-battery-mode' to nil (bug#9363).
12732
0c95fcf7
EZ
127332011-08-25 Eli Zaretskii <eliz@gnu.org>
12734
12735 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12736 bidi-string-mark-left-to-right; they are unnecessary now.
12737
a2ebe600
DD
127382011-08-25 Deniz Dogan <deniz@dogan.se>
12739
12740 * net/quickurl.el: Documentation typo fixes.
12741
e4ed06f1
CY
127422011-08-25 Chong Yidong <cyd@stupidchicken.com>
12743
12744 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12745
e5f1c99e
GM
127462011-08-25 Glenn Morris <rgm@gnu.org>
12747
b2948976
GM
12748 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12749
e5f1c99e
GM
12750 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12751 (smtpmail-via-smtp): Handle nil response from smtp.
12752
f22f4808
JL
127532011-08-24 Juri Linkov <juri@jurta.org>
12754
12755 * proced.el (proced-marked): Inherit from `error' instead of
12756 `font-lock-warning-face'.
12757
12758 * ibuffer.el (ibuffer-marked-face): Change default face from
12759 `font-lock-warning-face' to `warning'.
12760 (ibuffer-deletion-face): Change default face from
12761 `font-lock-type-face' to `error'.
12762
12763 * battery.el (battery-update): Use the face `error' instead of
12764 `font-lock-warning-face' (bug#6117).
12765
6a93965e
JL
127662011-08-24 Juri Linkov <juri@jurta.org>
12767
12768 * faces.el (success): Change face color from "Green3" to
12769 "ForestGreen" on light background (bug#9353).
12770
1ed43b09
CY
127712011-08-24 Chong Yidong <cyd@stupidchicken.com>
12772
5664fa7b
RT
12773 * window.el (quit-window): Rename from quit-restore-window.
12774 Use same arglist as old quit-window.
1ed43b09
CY
12775 (frame-auto-delete): Doc fix.
12776
12777 * view.el (view-mode-exit): Use quit-window.
12778
11dcdbb2
JL
127792011-08-24 Juri Linkov <juri@jurta.org>
12780
12781 * isearch.el (isearch-ring-adjust1): Start visiting previous
12782 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12783 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12784 for empty search string (when the last search string is reused
12785 automatically) to adjust the isearch ring to the last element and
12786 prepare the correct index for further M-p commands (bug#9185).
12787
de62b4df
KH
127882011-08-24 Kenichi Handa <handa@m17n.org>
12789
12790 * international/ucs-normalize.el: If decomposition property of
12791 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12792 nil.
12793 (nfd, nfkd): Likewise.
12794
963b492b
SM
127952011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12798 from process filters aren't reliably transmitted to the surrounding
12799 accept-process-output.
12800 (mpc-proc-check): New function.
12801 (mpc-proc-sync): Use it (bug#8293)
12802
93b6b5e1
SM
128032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12806 Add compatibility functions (bug#9313).
12807
bca633fb
EZ
128082011-08-23 Eli Zaretskii <eliz@gnu.org>
12809
b177498a
EZ
12810 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12811
6df6ae42 12812 * international/uni-bidi.el: Regenerate.
bca633fb 12813
0902a04e
KH
128142011-08-23 Kenichi Handa <handa@m17n.org>
12815
12816 * international/charprop.el:
12817 * international/uni-bidi.el:
12818 * international/uni-category.el:
12819 * international/uni-combining.el:
12820 * international/uni-comment.el:
12821 * international/uni-decimal.el:
12822 * international/uni-decomposition.el:
12823 * international/uni-digit.el:
12824 * international/uni-lowercase.el:
12825 * international/uni-mirrored.el:
12826 * international/uni-name.el:
12827 * international/uni-numeric.el:
12828 * international/uni-old-name.el:
12829 * international/uni-titlecase.el:
12830 * international/uni-uppercase.el: Regenerate.
12831
3bbf23bc
MR
128322011-08-23 Martin Rudalics <rudalics@gmx.at>
12833
12834 * help.el (help-window-setup): Fix message displayed when other
12835 window is reused. (Bug#9341)
12836
b3fd59bd
SM
128372011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12838
1802e444
SM
12839 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12840 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12841
b3fd59bd
SM
12842 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12843 Mark obsolete.
12844 * shell.el (shell-parse-pcomplete-arguments): New function.
12845 (shell-completion-vars): Use it instead (bug#9160).
12846
4eb61348
SM
128472011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12848
867cab74
SM
12849 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12850 strings and comments (bug#9333).
12851
4eb61348
SM
12852 * emacs-lisp/debug.el (debug-arglist): New function.
12853 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12854 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12855
262a1439
JL
128562011-08-22 Juri Linkov <juri@jurta.org>
12857
56ee679c
JL
12858 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12859 Revert regexp that highlights output switches to its old
12860 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12861
262a1439
JL
12862 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12863 to check for empty output (bug#9226).
12864
f13f86fb
CY
128652011-08-22 Chong Yidong <cyd@stupidchicken.com>
12866
12867 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12868 symbol-constituent as the default, as that stops font-lock from
12869 working properly (Bug#8843).
12870
c65c9622
LMI
128712011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12872
12873 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12874 `coding-system-for-*' around the process open call to avoid
12875 auth-source side effects.
e7f2c178 12876 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12877 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12878 probe hangs.
c65c9622 12879
23a8a5ab
CY
128802011-08-21 Chong Yidong <cyd@stupidchicken.com>
12881
ff98b2dd
CY
12882 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12883
23a8a5ab
CY
12884 * emacs-lisp/find-func.el (find-function-noselect): New arg
12885 lisp-only.
12886
12887 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12888 signal an error for built-in functions (Bug#6664).
12889
f5e3c598
LMI
128902011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12891
12892 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12893 (smtpmail-try-auth-methods): Use it.
12894
a3f2468a
CY
128952011-08-21 Chong Yidong <cyd@stupidchicken.com>
12896
2c34e8da
CY
12897 * font-lock.el (font-lock-fontify-region)
12898 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12899 (font-lock-default-unfontify-buffer)
12900 (font-lock-default-fontify-region)
12901 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12902
b3fd59bd
SM
12903 * progmodes/compile.el (compilation-error-properties):
12904 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12905 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12906 `ant' regexp.
ee31aabc 12907
a3f2468a
CY
12908 * net/browse-url.el (browse-url-firefox): Don't call
12909 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12910
8e999f70
GM
129112011-08-20 Glenn Morris <rgm@gnu.org>
12912
c21a496a
GM
12913 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12914
59ee0542
GM
12915 * tutorial.el (tutorial--default-keys): Update some default bindings.
12916
8e999f70
GM
12917 * files.el (hack-local-variables): Fully ignore case for "mode:".
12918
e3715033
AM
129192011-08-20 Alan Mackenzie <acm@muc.de>
12920
12921 Resolve invalid use of a regexp in regexp-opt.
12922
4d61f28d
JB
12923 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12924 detection for a java annotation.
e3715033 12925
4d61f28d 12926 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12927 detection for a java annotation.
12928
4d61f28d
JB
12929 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12930 handling for java.
e3715033
AM
12931 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12932
04ed2e9c
CY
129332011-08-20 Chong Yidong <cyd@stupidchicken.com>
12934
12935 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12936 (Bug#9274).
12937
826cee64
AM
129382011-08-20 Alan Mackenzie <acm@muc.de>
12939
58179cce 12940 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12941 such a construct. Mainly for when jit-lock etc. starts a chunk
12942 here.
12943
58179cce 12944 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12945 variable.
58179cce 12946 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12947 c-make-font-lock-search-function.
12948 (c-make-font-lock-search-function): Use the above function.
12949 (c-make-font-lock-context-search-function): New function.
12950 (c-cpp-matchers): Enhance the preprocessor expression case with
12951 the above function
12952 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12953 which takes an expression.
12954
12955 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12956
13009bd8
MR
129572011-08-20 Martin Rudalics <rudalics@gmx.at>
12958
12959 * window.el (display-buffer-reuse-window)
12960 (display-buffer-pop-up-window): Don't reuse or split a side
12961 window.
12962
9234ff7f
GM
129632011-08-19 Glenn Morris <rgm@gnu.org>
12964
12965 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12966 Downcase "Mode:". (Bug#9331)
9234ff7f 12967
f635daa1
CY
129682011-08-18 Chong Yidong <cyd@stupidchicken.com>
12969
12970 * international/characters.el: Add L and R categories.
12971
12972 * subr.el (bidi-string-mark-left-to-right): Rename from
12973 string-mark-left-to-right. Use category search.
12974
12975 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12976
bc987f8b
JL
129772011-08-18 Juri Linkov <juri@jurta.org>
12978
12979 * faces.el (error, warning, success): New faces with definitions
12980 copied from old default values of `font-lock-warning-face',
12981 `compilation-warning', `compilation-info' (bug#6117).
12982
12983 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12984
12985 * progmodes/compile.el (compilation-error): Inherit from `error'.
12986 (compilation-warning): Inherit from `warning'.
12987 (compilation-info): Inherit from `success'.
12988
12989 * dired.el (dired-marked): Inherit from `warning'.
12990 (dired-flagged): Inherit from `error'.
12991
57173b96
LMI
129922011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12993
3e79eb87
LMI
12994 * mail/smtpmail.el (auth-source): Require to avoid problems with
12995 binding variables (bug#9298). Also clean up some unused
12996 autoloads.
12997
b3fd59bd
SM
12998 * net/network-stream.el (network-stream-open-starttls):
12999 Support using starttls.el without using gnutls-cli.
57173b96 13000
02b404de
JL
130012011-08-17 Juri Linkov <juri@jurta.org>
13002
13003 * progmodes/grep.el (rgrep): Handle the case when
13004 `grep-find-command' is a cons cell (bug#9278).
13005
8c9177f2
MR
130062011-08-17 Martin Rudalics <rudalics@gmx.at>
13007
13008 * window.el (display-buffer-pop-up-frame): Run frame creation
13009 function with BUFFER current (as special-display-popup-frame
13010 does). Reported by Drew Adams.
13011
3644a0ab
DU
130122011-08-17 Daiki Ueno <ueno@unixuser.org>
13013
13014 * epa-mail.el: Simplify GnuPG group expansion using
13015 epg-expand-group.
13016 (epa-mail-group-alist, epa-mail-group-modtime)
13017 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13018 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13019 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13020 Remove.
13021
5e617bc2 130222011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13023
13024 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13025
9c4aeabf
AM
130262011-08-16 Alan Mackenzie <acm@muc.de>
13027
13028 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13029 Correct, to avoid the inside of macros.
13030
3a99bf64
RS
130312011-08-16 Richard Stallman <rms@gnu.org>
13032
04963aa8
RS
13033 * epa-mail.el: Handle GnuPG group definitions.
13034 (epa-mail-group-alist, epa-mail-group-modtime)
13035 (epa-mail-gnupg-conf-file): New variables.
13036 (epa-mail-parse-groups, epa-mail-sync-groups)
13037 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13038 (epa-mail-expand-recipients): New functions.
13039 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13040
177549d0
RS
13041 * mail/rmail.el (rmail-epa-decrypt): New command.
13042
fe38beef
RS
13043 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13044 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13045 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13046 (epa-decrypt-armor-in-region): Make error message clearer.
13047
934eacb9
SM
130482011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13051 and "a2b" to "ab" for `prefix'.
13052
d024fb4e
CY
130532011-08-14 Chong Yidong <cyd@stupidchicken.com>
13054
13055 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13056 filter groups.
de148fee
CY
13057 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13058 Fourquet (Bug#8804).
d024fb4e 13059
62f1ca49
JB
130602011-08-12 Juanma Barranquero <lekktu@gmail.com>
13061
13062 * startup.el (argi): Declare as global variable (bug#9275).
13063
9ccaaa4b
CY
130642011-08-12 Chong Yidong <cyd@stupidchicken.com>
13065
13066 * subr.el (string-mark-left-to-right): Search the entire string
13067 for RTL script, not just the terminating character. Doc fix.
13068
a3dae87a
SM
130692011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13070
6cd18349
SM
13071 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13072 New function.
13073 (js--regexp-literal, js-syntax-propertize-function): Remove.
13074 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13075 (js-mode-map): Don't rebind electric keys.
13076 (js-insert-and-indent): Remove.
13077 (js-mode): Setup electric-layout and electric-indent instead.
13078
a3dae87a
SM
13079 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13080
9d5cb631
DU
130812011-08-12 Daiki Ueno <ueno@unixuser.org>
13082
13083 * epa.el (epa-progress-callback-function): Fix the logic of
13084 displaying progress.
13085 * epa-file.el (epa-file-insert-file-contents): Make progress
13086 display more user-friendly.
13087 (epa-file-write-region): Ditto.
13088
3e26a4a2
CY
130892011-08-10 Chong Yidong <cyd@stupidchicken.com>
13090
13091 * subr.el (string-mark-left-to-right): New function.
13092
13093 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13094 Use string-mark-left-to-right.
13095 (list-buffers-noselect): Caller changed.
13096
a3dae87a
SM
13097 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13098 Use string-mark-left-to-right.
3e26a4a2
CY
13099 (tabulated-list-print): Recenter after moving point.
13100
ac8cf6e6
JL
131012011-08-10 Juri Linkov <juri@jurta.org>
13102
13103 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13104 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13105 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13106
8d96c9a4
CY
131072011-08-09 Chong Yidong <cyd@stupidchicken.com>
13108
13109 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13110 (Bug#7554).
13111
7be1c708 131122011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13113
13114 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13115 character. (Bug#6594)
13116
37e11a63
CY
131172011-08-08 Chong Yidong <cyd@stupidchicken.com>
13118
839dde57
CY
13119 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13120 (image-dired--with-db-file): New macro.
13121 (image-dired-write-tags, image-dired-remove-tag)
13122 (image-dired-create-gallery-lists, image-dired-write-comments)
13123 (image-dired-get-comment, image-dired-mark-tagged-files)
13124 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13125 (image-dired-gallery-generate): Use insert-file-contents.
13126
37e11a63
CY
13127 * time.el (display-time-world-list, display-time-world-display):
13128 * time-stamp.el (time-stamp-string):
13129 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13130 set-time-zone-rule (Bug#7337).
13131
0b4946c4
DU
131322011-08-08 Daiki Ueno <ueno@unixuser.org>
13133
13134 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13135 (epg-error-to-string, epg-errors-to-string): New function.
13136 (epg-wait-for-completion): Reverse errors list.
13137 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13138 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13139 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13140 (epg-sign-keys, epg-generate-key-from-file)
13141 (epg-generate-key-from-string): Format errors by using
13142 epg-errors-to-string (bug#9255).
13143 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13144
75bfc667
JL
131452011-08-07 Juri Linkov <juri@jurta.org>
13146
13147 * faces.el (list-faces-display): Remove extra angle bracket
13148 from `help-mode-map'.
13149
13150 * info.el (Info-history-toc-nodes): Doc fix.
13151
13152 * longlines.el (longlines-mode): Doc fix.
13153
673e08bb
SM
131542011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13155
4640dd88
SM
13156 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13157 of statements and in a few more cases (bug#9183).
13158
673e08bb
SM
13159 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13160 New functions.
13161 (cl-transform-lambda): Use them (bug#9239).
13162
89b3f019
MR
131632011-08-05 Martin Rudalics <rudalics@gmx.at>
13164
13165 * window.el (display-buffer-same-window)
13166 (display-buffer-same-frame, display-buffer-other-window)
13167 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13168 (pop-to-buffer-other-window)
13169 (pop-to-buffer-same-frame-other-window)
13170 (pop-to-buffer-other-frame): Make them defuns.
13171 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13172
640c8776
SM
131732011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13174
13175 * subr.el (make-composed-keymap): Move from C. Change calling
13176 convention, and improve docstring to bring attention to a subtle point.
13177 * minibuffer.el (completing-read-default): Adjust accordingly.
13178
63648a95
MA
131792011-08-03 Michael Albinus <michael.albinus@gmx.de>
13180
13181 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13182 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13183
13184 * net/trampver.el: Update release number.
13185
b796c9b7
SM
131862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13187
13188 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13189 "in" (bug#9190).
13190
2239d7d5
LMI
131912011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13192
e07dd7c3
LMI
13193 * mail/sendmail.el (sendmail-query-once): Restore the current
13194 buffer after querying (bug#9074).
13195
0e6a2bd7
LMI
13196 * dired.el (dired-flagged): Use different faces for marked and
13197 flagged files (bug#6117).
13198
ce887515
LMI
13199 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13200 (bug#4433).
13201
92f2affc
LMI
13202 * ido.el (ido-mode): Switch off the message if called
13203 non-interactively.
13204
57d5aff0
LMI
13205 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13206 before 587, since it appears that that's more likely to work for
13207 more people.
13208
98cd6c18 13209 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13210 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13211 exist.
13212
b96dec83
LMI
13213 * info.el: Remove the `Info-beginning-of-buffer' function
13214 (bug#8325).
13215
b796c9b7
SM
13216 * net/network-stream.el (network-stream-open-starttls):
13217 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13218
d90e2ea0
MR
132192011-08-01 Martin Rudalics <rudalics@gmx.at>
13220
13221 * window.el (display-buffer-in-window): Don't set dedicated status
13222 of window here (Bug#9215).
13223 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13224 (display-buffer-pop-up-side-window)
b796c9b7 13225 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13226
cca09170
SM
132272011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13230 before binding generated-autoload-file.
13231
027b979c
DD
132322011-08-01 Deniz Dogan <deniz@dogan.se>
13233
13234 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13235
3c7ee4f3
MA
132362011-07-30 Michael Albinus <michael.albinus@gmx.de>
13237
13238 Sync with Tramp 2.2.2.
13239
13240 * net/trampver.el: Update release number.
13241
2cc8e51a
JL
132422011-07-30 Juri Linkov <juri@jurta.org>
13243
13244 * dired-aux.el (dired-touch-initial): Remove function.
13245 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13246 current time, and `default' to the last modification time of the
13247 current marked file (bug#6887).
13248
a514d856
JM
132492011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13250
13251 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13252 numeric argument to read-number (bug#9163).
a514d856 13253
8a7eddd7
MA
132542011-07-27 Michael Albinus <michael.albinus@gmx.de>
13255
13256 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13257 connection process, it could be nil.
13258
1ddd96f5
LL
132592011-07-27 Leo Liu <sdl.web@gmail.com>
13260
13261 Simplify url handling in rcirc-mode.
13262
13263 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13264 (rcirc-browse-url-at-mouse): Remove.
13265 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13266
b248a85d
AM
132672011-07-26 Alan Mackenzie <acm@muc.de>
13268
13269 Fontify bitfield declarations properly.
13270
13271 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13272 (c-symbol-chars): Now exported as a lang variable.
13273 (c-not-primitive-type-keywords): New lang variable.
13274
13275 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13276 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13277 parsed as a bitfield declaration.
b248a85d 13278
b796c9b7
SM
13279 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13280 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13281 (c-punctuation-in): New function.
13282 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13283 declarations properly.
13284
68575ab0
UJ
132852011-07-26 Ulf Jasper <ulf.jasper@web.de>
13286
13287 * calendar/icalendar.el (icalendar--all-events): Take care of
13288 multiple vcalendars in a single file.
b796c9b7 13289 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13290
0f0a88b9
DD
132912011-07-25 Deniz Dogan <deniz@dogan.se>
13292
13293 * image.el (insert-image): Clarifying docstring.
13294
0b3f36df
MA
132952011-07-24 Michael Albinus <michael.albinus@gmx.de>
13296
13297 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13298 `tramp-send-command-and-check' if there is no error.
13299 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13300
a9901f61
AM
133012011-07-22 Alan Mackenzie <acm@muc.de>
13302
13303 Prevent cc-langs.elc being loaded at run time.
13304
13305 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13306 cc-langs.
13307
4d61f28d 13308 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13309 "(require 'cc-langs)". Quote a form so it will evaluate at
13310 (cc-mode's) compilation time.
13311
11d074b2
MA
133122011-07-22 Michael Albinus <michael.albinus@gmx.de>
13313
13314 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13315 loading. (Bug#9114)
13316
938b94c8
MR
133172011-07-21 Martin Rudalics <rudalics@gmx.at>
13318
13319 * window.el (display-buffer-pop-up-window)
13320 (display-buffer-pop-up-side-window)
13321 (display-buffer-in-side-window): Call display-buffer-set-height
13322 and display-buffer-set-width after setting the new window's
b796c9b7 13323 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13324
bfa4f190
SS
133252011-07-20 Sam Steingold <sds@gnu.org>
13326
13327 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13328 (etags-tags-included-tables): Call `convert-standard-filename' on
13329 the file names contained in TAGS so that windows Emacs can handle
13330 TAGS files created by cygwin ctags.
13331
8ca42262
LMI
133322011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13333
13334 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13335 which apparently didn't work.
13336
5db2afd2 133372011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13338
5db2afd2
RW
13339 * proced.el (proced-send-signal): For *Marked Processes* buffer
13340 put point at beginning of buffer.
13341
92e15d10
SB
133422011-07-19 Stephen Berman <stephen.berman@gmx.net>
13343
13344 * proced.el (proced-format): Make header lines align with the text
13345 (bug#1779).
13346
1bfd59e5
LMI
133472011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13348
13349 * view.el (view-buffer): Allow running in `special' modes if we're
13350 visiting a file (bug#8615).
13351
f5aae37c
MR
133522011-07-19 Martin Rudalics <rudalics@gmx.at>
13353
13354 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13355 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13356 New functions.
f5aae37c
MR
13357 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13358 more accurately.
13359
bf2c1571
AM
133602011-07-18 Alan Mackenzie <acm@muc.de>
13361
13362 Fontify declarators properly when, e.g., a jit-lock chunk begins
13363 inside a declaration.
13364
13365 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13366
b796c9b7
SM
13367 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13368 New function.
bf2c1571
AM
13369 (c-complex-decl-matchers): Insert reference to
13370 c-font-lock-enclosing-decls.
13371
13372 * progmodes/cc-engine.el (c-backward-single-comment):
13373 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13374 to nil around calls to (forward-comment -1).
13375
4e190b80
LMI
133762011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13377
12dc863d
LMI
13378 * image.el (put-image): Doc typo fix.
13379
a762e966
LMI
13380 * progmodes/etags.el (tags-search): Doc typo fix.
13381
4e190b80
LMI
13382 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13383 password if we get errors 550 to 554.
13384
f019fb21
LMI
133852011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13386
b796c9b7 13387 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13388
81746738
LMI
13389 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13390 indentation character (bug#6380).
13391
3ee3a1b5
LMI
13392 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13393
c82f64de
LMI
13394 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13395 to clarify what the problem is (bug#4291).
13396
f019fb21
LMI
13397 * simple.el (current-kill): Clarify what
13398 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13399 (auto-fill-mode): Document `auto-fill-function' in relation to
13400 `auto-fill-mode' (bug#2470).
f019fb21 13401
0794775d
LM
134022011-07-16 Lawrence Mitchell <wence@gmx.li>
13403
13404 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13405 method if slot is read-only (bug#9035).
13406
be39b8cc
MR
134072011-07-16 Martin Rudalics <rudalics@gmx.at>
13408
b796c9b7 13409 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13410 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13411 selected before, see discussion of (Bug#8615), (Bug#6954).
13412 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13413
6ccf7859
GM
134142011-07-15 Glenn Morris <rgm@gnu.org>
13415
13416 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13417 Respect help-form.
6ccf7859 13418
87e86684
LM
134192011-07-09 Lawrence Mitchell <wence@gmx.li>
13420
13421 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13422 (gnutls-negotiate): Use it.
13423
d6066239
LMI
134242011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13425
b796c9b7
SM
13426 * net/gnutls.el (gnutls-negotiate):
13427 Upcase `gnutls-algorithm-priority'.
d6066239 13428
bd23ebc0
GM
134292011-07-15 Glenn Morris <rgm@gnu.org>
13430
c65bca65
GM
13431 * jka-compr.el (jka-compr-verbose): Move from here...
13432 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13433 Add missing :version tag.
13434 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13435
478615cc
LMI
134362011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13437
7b41decb
LMI
13438 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13439 (gnutls-negotiate): Use it.
13440
dbc44fcd
LMI
13441 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13442
06789f97
LMI
13443 * info.el (Info-beginning-of-buffer): New command.
13444 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13445 announcing `b' as the key (bug#8325).
ab896c37 13446 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13447
c39da690
LMI
13448 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13449
3aa5f34b
LMI
13450 * international/mule-cmds.el
13451 (describe-specified-language-support): Make the error message
13452 clearer (bug#8905).
13453
4bf0979f
LMI
13454 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13455
478615cc
LMI
13456 * isearch.el (isearch-barrier): Add a doc string, since it's
13457 mentioned in a function doc string (bug#8678).
13458
75c68aa1
MR
134592011-07-15 Martin Rudalics <rudalics@gmx.at>
13460
13461 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13462 buffer argument (Bug#9083) and self-identifying label argument.
13463
a7c33da2
GM
134642011-07-15 Glenn Morris <rgm@gnu.org>
13465
13466 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13467
2f5c6024
LMI
134682011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13469
13470 * man.el (Man-fontify-manpage): Fix message when formatting the
13471 man page (bug#7929).
13472
0bb23927 134732011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13474
13475 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13476 argument LRM; if non-nil, append an invisible LRM character to the
13477 buffer name.
13478 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13479 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13480 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13481 paragraph direction.
cce4b0a7 13482
621ef9ab
LMI
134832011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13484
d1583c48
LMI
13485 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13486 the man page name (bug#7929).
13487
6a57fb5f
LMI
13488 * image.el (put-image): Mention the `put-image' overlay property
13489 (bug#7834).
13490
d7956b14
LMI
13491 * scroll-bar.el (set-scroll-bar-mode): Mention that
13492 `scroll-bar-mode' lists the values (bug#7772).
13493
5b2d4a66
LMI
13494 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13495 command (bug#7729).
13496
7509a874
LMI
13497 * rect.el (apply-on-rectangle): Return the point after the last
13498 operation.
13499 (string-rectangle): Go to the point after the last operation
13500 (bug#7522).
13501
4fe74b19
LMI
13502 * printing.el (pr-toggle-region): Clarify the documentation
13503 slightly (bug#7493).
13504
b796c9b7
SM
13505 * time.el (display-time-update):
13506 Allow `display-time-mail-function' to return nil (bug#7158).
13507 Fix suggested by Detlev Zundel.
ab283561 13508
fc233c9d
LMI
13509 * vc/diff.el (diff): Clarify the order the file names are read
13510 (bug#7111).
13511
43f5740b
LMI
13512 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13513 the doc string (bug#7015).
13514
f2182a76
LMI
13515 * font-lock.el (font-lock-maximum-decoration): Mention what
13516 numeric levels mean (bug#6935).
13517
621ef9ab
LMI
13518 * startup.el (initial-buffer-choice): Don't mention the `none'
13519 selection, which is against policy.
13520
adc47434
MR
135212011-07-14 Martin Rudalics <rudalics@gmx.at>
13522
b796c9b7
SM
13523 * window.el (display-buffer-normalize-special):
13524 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13525
7e5bfb8f
EZ
135262011-07-14 Eli Zaretskii <eliz@gnu.org>
13527
13528 * subr.el (version<, version<=, version=): Mention "-CVS" and
13529 "-12345" alpha version numbers.
13530
27fa387a
CY
135312011-07-14 Chong Yidong <cyd@stupidchicken.com>
13532
13533 * bindings.el: Add advertised binding for set-mark-command
13534 (Bug#5772).
13535
8bdfa064
CY
135362011-07-14 Chong Yidong <cyd@stupidchicken.com>
13537
13538 * bindings.el (mode-line-other-buffer):
13539 * bookmark.el (bookmark-bmenu-2-window):
13540 * bs.el (bs-cycle-next, bs-cycle-previous):
13541 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13542 switch-to-buffer.
13543
13544 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13545 Delete.
8bdfa064 13546
5eba16a3
JB
135472011-07-14 Juanma Barranquero <lekktu@gmail.com>
13548
13549 * follow.el (follow-debug-message, follow-redisplay):
13550 * jka-cmpr-hook.el (with-auto-compression-mode):
13551 Fix typos in docstrings.
13552
15853710
LMI
135532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13554
a28e4607
LMI
13555 * subr.el (with-silent-modifications): Clarify somewhat what the
13556 macro inhibits (bug#6525).
13557
15853710
LMI
13558 * simple.el (eval-expression): Note what it does if called
13559 interactively (bug#6495).
13560
bee0fcef
CY
135612011-07-13 Chong Yidong <cyd@stupidchicken.com>
13562
b796c9b7
SM
13563 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13564 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13565
13566 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13567 Remove switch-to-buffer.
13568
58274504
LMI
135692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13570
bd2fcc8d
LMI
13571 * files.el (make-directory): Clarify that an error will be raised
13572 if there's an error (bug#6397).
13573
0f04b32c
LMI
13574 * startup.el (initial-buffer-choice): Add `none' as a choice
13575 (bug#6234).
13576
465c5fc8
LMI
13577 * subr.el (add-hook): Clarify section about buffer-local hooks
13578 (bug#6218).
13579
58274504
LMI
13580 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13581
bead9a43
JB
135822011-07-13 Juanma Barranquero <lekktu@gmail.com>
13583
13584 * tabify.el (untabify): Preserve the current column so that point
13585 doesn't move (bug#6032).
13586
3af98a7b
LMI
135872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13588
b796c9b7
SM
13589 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13590 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13591
6240145a
GM
135922011-07-13 Glenn Morris <rgm@gnu.org>
13593
13594 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13595 (dired-insert-directory): Give a message the first time
13596 if ls is found not to support --dired.
13597
1d8c2ccc
LMI
135982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13599
13600 * simple.el (toggle-truncate-lines): Clarify what is toggled
13601 (bug#5580). Text by Drew Adams.
13602
5fc4038e
CY
136032011-07-13 Chong Yidong <cyd@stupidchicken.com>
13604
13605 * simple.el (blink-matching-open): Make the error message from the
13606 last change less verbose.
13607
bf6012e5
DN
136082011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13609
13610 * font-lock.el (font-lock-comment-face): Use the high contrast
13611 "yellow" color for font-lock-comment-face on low color terminals
13612 using a dark background color (bug#4221).
13613
343c3b5a
LMI
136142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13615
7e9505c5
LMI
13616 * dired.el (dired-insert-set-properties): Make the doc string
13617 reflect what it does now (bug#5325).
13618
c26fdcf5
LMI
13619 * simple.el (blink-matching-open): Say that we were unable to find
13620 the match within the limit, if we're limited (bug#5122).
13621
bb388cc5
LMI
13622 * international/mule-cmds.el (prefer-coding-system): Add an
13623 example (bug#4869).
13624
343c3b5a
LMI
13625 * progmodes/etags.el (tags-search): Document `file-list-form'
13626 (bug#4731).
13627
2a517d45
LM
136282011-07-13 Lawrence Mitchell <wence@gmx.li>
13629
13630 * net/browse-url.el (browse-url-default-browser)
13631 (browse-url-browser-function): Make the default browser choice a
13632 bit more logical (bug#4300). Also clean up the doc string.
13633
b6c78ef2
JB
136342011-07-13 Juanma Barranquero <lekktu@gmail.com>
13635
13636 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13637 binary endings (bug#4440).
13638
1c4dd947
LMI
136392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13640
a2014063
LMI
13641 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13642 which can be pretty annoying (bug#8971).
13643
9c9c2d88
LMI
13644 * jka-compr.el (jka-compr-verbose): New variable, and use
13645 throughout (bug#8971).
13646
1c4dd947
LMI
13647 * info.el (Info-find-file): Fall back on the installation
13648 directory if we can't find the info node anywhere else.
13649
a1c9f41b
SO
136502011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13651
13652 * vc/vc.el (vc-revert-file):
13653 Don't set file time-stamp in the past. (Bug#5181)
13654
536f3d36
LMI
136552011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13656
7152b011
LMI
13657 * files.el (after-find-file): Give a better error message when
13658 trying to find a symlink that points to a file that doesn't exist
13659 (bug#4398).
13660
536f3d36
LMI
13661 * progmodes/cc-vars.el: Remove (probably) misleading comment
13662 (bug#4396).
13663
460c0fba
JB
136642011-07-12 Johan Bockgård <bojohan@gnu.org>
13665
13666 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13667
7a6bda45
CY
136682011-07-12 Chong Yidong <cyd@stupidchicken.com>
13669
13670 * mouse-sel.el: Hack restoring functionality, while keeping
13671 compatibility with 2010-07-03 changes to mouse selection.
13672 (mouse-sel-primary-overlay): New var.
13673 (mouse-sel-selection-alist): Use it.
13674 (mouse-sel-mode): Doc fix; remove points that are default features
13675 of mouse.el.
13676
c79598ef
JB
136772011-07-12 Johan Bockgård <bojohan@gnu.org>
13678
13679 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13680 Fix previous fix (bug#2490).
13681
ff8be6ef
RW
136822011-07-12 Roland Winkler <winkler@gnu.org>
13683
b796c9b7
SM
13684 * textmodes/bibtex.el (bibtex-initialize):
13685 Use pop-to-buffer-same-window.
ff8be6ef
RW
13686 (bibtex-search-entries): Fix interactive call.
13687
296ba3ee
LMI
136882011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13689
f5242a02 13690 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13691 Fontise bytecomp Error lines more correctly (bug#2490).
13692 Fix suggested by Johan Bockgård.
f5242a02 13693
296ba3ee
LMI
13694 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13695
13696 * dired-x.el (dired-guess-default): Use `delete-dups'.
13697
f69fd0d2
CY
136982011-07-12 Chong Yidong <cyd@stupidchicken.com>
13699
13700 * dired.el (dired-mark-prompt):
13701 * dired-aux.el (dired-read-shell-command): Doc fix.
13702
eab5dc07
LMI
137032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13704
b796c9b7
SM
13705 * mail/sendmail.el (sendmail-query-once):
13706 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13707 emacs -Q.
13708
13709 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13710
eab5dc07
LMI
13711 * cus-edit.el (custom-file): Take an optional no-error variable.
13712 (customize-save-variable): Set the variable, and give a warning if
13713 running under "emacs -q".
13714
a1e65d42
JB
137152011-07-11 Juanma Barranquero <lekktu@gmail.com>
13716
13717 * loadhist.el (unload-feature-special-hooks):
13718 Add `auto-coding-functions', `fill-nobreak-predicate' and
13719 `find-directory-functions' (bug#5327).
13720
1d52da10
LMI
137212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13722
be958f1d
LMI
13723 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13724
5bedb26c
LMI
13725 * cus-edit.el (custom-guess-name-alist): -alist variables should
13726 use the `alist' type (bug#3120). Suggested by Drew Adams.
13727
1d52da10
LMI
13728 * printing.el: Add documentation to all the `pr-toggle-' commands.
13729
cd394be1 137302011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13731
13732 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13733 backends where it makes sense (bug#2623).
13734
dcc88d8a
LMI
137352011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13736
c3de9feb
LMI
13737 * dired-x.el (dired-guess-default): Remove duplicate shell command
13738 entries (bug#2028).
8a93078b 13739 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13740 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13741
dcc88d8a
LMI
13742 * subr.el (remove-duplicates): New conveniency function.
13743
505e3645
LMI
137442011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13745
13746 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13747 (bug#1526).
13748
137492011-07-10 Martin Rudalics <rudalics@gmx.at>
13750
13751 * window.el (display-buffer-normalize-default): Don't invert
13752 meaning of even-window-heights. Reported by Eli Zaretskii
13753 <eliz@gnu.org>.
13754
455e4fa1
BR
137552011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13756
13757 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13758
8e0bc3e9
CY
137592011-07-10 Chong Yidong <cyd@stupidchicken.com>
13760
13761 * window.el (display-buffer): Fix arguments to
13762 display-buffer-reuse-window in last change.
13763
fa7c3228
CY
13764 * faces.el (link): Use a less saturated blue on light backgrounds.
13765
13766 * startup.el (fancy-startup-text, fancy-about-text)
13767 (fancy-startup-tail): Use font-lock faces, for background safety.
13768
c0a7f300
BN
137692011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13770
b796c9b7
SM
13771 * emulation/viper-cmd.el (viper-change-state-to-vi):
13772 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13773
4dc2a129
MR
137742011-07-09 Martin Rudalics <rudalics@gmx.at>
13775
13776 * window.el (display-buffer-default-specifiers): Remove.
13777 (display-buffer-macro-specifiers): Remove default specifiers.
13778 (display-buffer-alist): Default to nil.
b796c9b7 13779 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13780 (display-buffer-pop-up-window): Allow splitting internal
13781 windows. Check whether a live window was created.
13782 (display-buffer-other-window-means-other-frame)
13783 (display-buffer-normalize-arguments): Rename to
13784 display-buffer-normalize-argument and rewrite. Set the
13785 other-window specifier.
13786 (display-buffer-normalize-special): New function.
13787 (display-buffer-normalize-options): Rename to
13788 display-buffer-normalize-default and rewrite.
13789 (display-buffer-normalize-options-inhibit): Remove.
13790 (display-buffer-normalize-specifiers): Rewrite.
13791 (display-buffer): Process other-window specifier and call
13792 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13793 more faithfully.
b796c9b7 13794 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13795 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13796 (display-buffer-in-window, display-buffer-alist-set):
13797 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13798 <tassilo@member.fsf.org>.
13799
2d43b8c9
LL
138002011-07-09 Leo Liu <sdl.web@gmail.com>
13801
13802 * register.el (insert-register): Restore accidental change on
13803 2011-06-26. (Bug#9028)
13804
7f9b7c53
GM
138052011-07-09 Glenn Morris <rgm@gnu.org>
13806
13807 * subr.el (remq): Handle the empty list. (Bug#9024)
13808
f042cfd8
AS
138092011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13810
13811 * mail/sendmail.el (send-mail-function): No longer delay custom
13812 initialization.
13813 * custom.el (custom-initialize-delay): Doc fix.
13814
856b2f11
SM
138152011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13816
13817 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13818
afae1d68
MA
138192011-07-08 Michael Albinus <michael.albinus@gmx.de>
13820
13821 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13822 human-friendly prompt.
13823
0757af94
SM
138242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13827 provided by a particular plugin.
13828
d760b731
LMI
138292011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13830
13831 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13832 save customizations (with "emacs -Q"), just set the variable
13833 instead of erroring out.
13834
13835 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13836
cd79ce90
JL
138372011-07-08 Juri Linkov <juri@jurta.org>
13838
13839 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13840 (archive-zip-update-case): Use 7z if found by `executable-find'.
13841 The order of searching the available programs is the same as in
13842 `archive-zip-extract' (bug#8968).
13843
14cc04aa
CY
138442011-07-07 Chong Yidong <cyd@stupidchicken.com>
13845
13846 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13847 (menu-bar-options-menu): Tweak descriptions.
13848
0a1848ec
LMI
138492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13850
13851 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13852 menu items into verb phrases (bug#1421). Also refill to fit under
13853 80 columns.
13854
f5bd0689
CY
138552011-07-07 Chong Yidong <cyd@stupidchicken.com>
13856
538e85c6
CY
13857 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13858 (Info-read-node-name): Doc fix (Bug#1084).
13859
f5bd0689
CY
13860 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13861 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13862 (end-of-sexp, beginning-of-sexp)
13863 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13864 (forward-symbol, forward-same-syntax, word-at-point)
13865 (sentence-at-point): Doc fix (Bug#1144).
13866
56ec5115
LMI
138672011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13868
f3f8e37f
LMI
13869 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13870 should cover it (bug#1281).
13871
0757af94 13872 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13873
e9fce1ac 13874 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13875 negotiation fails, then possibly try again with a non-encrypted
13876 connection (bug#9017).
13877
56ec5115
LMI
13878 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13879 be used.
13880
c2f9aec8
RS
138812011-07-07 Richard Stallman <rms@gnu.org>
13882
13883 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13884 property, and handle its changed format.
13885 Look for the correct line number.
13886 Use file's line contents (but not past first =) to find
13887 correct line in message.
13888
ef7b981d 138892011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13890
13891 * international/characters.el (build-unicode-category-table):
13892 Delete it.
0757af94 13893 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13894
0757af94 13895 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13896 to src/chartab.c.
13897 (get-char-code-property): Call unicode-property-table-internal to
13898 load a file. Call get-unicode-property-internal where necessary.
13899 (put-char-code-property): Call unicode-property-table-internal to
13900 load a file. Call put-unicode-property-internal where necessary.
13901 put-unicode-property-internal where necessary.
0757af94
SM
13902 (char-code-property-description):
13903 Call unicode-property-table-internal to load a file.
c805dec0
KH
13904
13905 * international/charprop.el:
13906 * international/uni-bidi.el:
13907 * international/uni-category.el:
13908 * international/uni-combining.el:
13909 * international/uni-comment.el:
13910 * international/uni-decimal.el:
13911 * international/uni-decomposition.el:
13912 * international/uni-digit.el:
13913 * international/uni-lowercase.el:
13914 * international/uni-mirrored.el:
13915 * international/uni-name.el:
13916 * international/uni-numeric.el:
13917 * international/uni-old-name.el:
13918 * international/uni-titlecase.el:
13919 * international/uni-uppercase.el: Regenerate.
13920
13921 * loadup.el: Load international/charprop.el before
13922 international/characters.
13923
e14b388a
CY
139242011-07-07 Chong Yidong <cyd@stupidchicken.com>
13925
13926 * window.el (next-buffer, previous-buffer): Signal an error if
13927 called from a minibuffer window.
13928
13929 * bindings.el: Revert 2011-07-04 change.
13930
354cf0ba
RS
139312011-07-06 Richard Stallman <rms@gnu.org>
13932
13933 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13934 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13935 Treat markers like ints.
13936 (rmail-mime-entity): Doc fix.
13937
a48868a7
LMI
139382011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13939
4906cd3d
LMI
13940 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13941 defcustom again for backwards compatibility.
13942
e0457abe
LMI
13943 * simple.el (shell-command-on-region): Fill.
13944
d67f7e1f
LMI
13945 * dired-aux.el (dired-kill-line): Add a doc string.
13946
fe204702
LMI
13947 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13948 to "\\sw\\|\\s_" (bug#358).
13949
a48868a7
LMI
13950 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13951 (dired-unmark-backward): Ditto.
13952 (dired-flag-backup-files): Ditto.
13953
13954 * dired-x.el (dired-mark-sexp): Ditto.
13955
aa8a705c
RS
139562011-07-06 Richard Stallman <rms@gnu.org>
13957
13958 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13959 (rmail-mime-entity): New arg TRUNCATED.
13960 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13961 New functions.
13962 (rmail-mime-save): Warn if entity is truncated.
13963 (rmail-mime-toggle-hidden): Likewise, for showing.
13964 (rmail-mime-process-multipart): Record when an entity is truncated.
13965
a9a936b9
RS
13966 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13967 if ENTITY is a string.
13968
1f2b92cb
LMI
139692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13970
f4f73198 13971 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13972 of faces when `M-C-x'-ing their definitions (bug#8378).
13973 Also clean up the code slightly.
f4f73198 13974
12b16734 13975 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13976 because that makes the colors go away.
12b16734 13977
f0691d22
LMI
13978 * mail/sendmail.el (send-mail-function): Change the default to
13979 `sendmail-query-once'.
9e87df06 13980 (sendmail-query-once): Add an autoload cookie.
f0691d22 13981
1f2b92cb
LMI
13982 * net/network-stream.el (network-stream-open-starttls): Try using
13983 a plain connection even if the server offered STARTTLS, and we
13984 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13985 capability. This should make smtpmail.el work in slightly more
13986 configurations.
13987
1cdd2a1b
MA
139882011-07-06 Michael Albinus <michael.albinus@gmx.de>
13989
13990 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13991 New defun.
13992 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13993
fbcc67e2
MM
139942011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13995
13996 * progmodes/sql.el: Version 3.0
0757af94 13997 (sql-product-alist): Add product :completion-object,
fbcc67e2 13998 :completion-column, and :statement attributes.
0757af94 13999 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14000 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14001 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14002 ansi keywords.
14003 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14004 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14005 (sql-oracle-show-reserved-words): New function for development.
14006 (sql-product-font-lock): Simplify for source code buffers.
14007 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14008 New functions.
14009 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14010 (sql-mode-map): Add statement movement functions.
14011 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14012 New variable.
fbcc67e2
MM
14013 (sql-statement-regexp, sql-beginning-of-statement)
14014 (sql-end-of-statement, sql-signum): New functions.
0757af94 14015 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14016 (sql-show-sqli-buffer): Bug fix.
14017 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14018 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14019 with sql-interactive-mode.
14020 (sql-save-connection): Save buffer local settings.
0757af94 14021 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14022 (sql-product-interactive): Bug fix.
14023 (sql-preoutput-hold): New variable.
14024 (sql-interactive-remove-continuation-prompt): Bug fixes.
14025 (sql-debug-redirect): New variable.
14026 (sql-str-literal): New function.
14027 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14028 Redesign.
fbcc67e2
MM
14029 (sql-oracle-save-settings, sql-oracle-restore-settings)
14030 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14031 (sql-completion-object, sql-completion-column)
14032 (sql-completion-sqlbuf): New variables.
14033 (sql-build-completions-1, sql-build-completions)
14034 (sql-try-completion): New functions.
14035 (sql-read-table-name): Use them.
14036 (sql-contains-names): New buffer local variable.
14037 (sql-list-all, sql-list-table): Use it.
14038 (sql-oracle-completion-types): New variable.
14039 (sql-oracle-completion-object, sql-sqlite-completion-object)
14040 (sql-postgres-completion-object): New functions.
14041
d4eaeab1
GM
140422011-07-06 Glenn Morris <rgm@gnu.org>
14043
14044 * window.el (pop-to-buffer): Doc fix.
14045
322b7dab 140462011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14047
14048 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14049
322b7dab 140502011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14051
322b7dab 14052 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14053
322b7dab 14054 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14055
605dd5bf
CY
140562011-07-05 Chong Yidong <cyd@stupidchicken.com>
14057
14058 * button.el (button): Inherit from link face. Suggested by Dan
14059 Nicolaescu.
14060
7dbfa719
SM
140612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14062
3db614b0
SM
14063 * progmodes/gdb-mi.el: Fit in 80 columns.
14064 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14065 switch-to-buffer.
14066
7dbfa719
SM
14067 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14068 if imenu is simply not configured (bug#8941).
14069
919d884a
KM
140702011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14071
14072 * allout.el (allout-post-undo-hook): New allout outline-change
14073 event hook to signal undo activity.
14074 (allout-post-command-business): Run allout-post-undo-hook if an
14075 undo just occurred.
7dbfa719
SM
14076 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14077 * allout-widgets.el (allout-widgets-after-undo-function):
14078 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14079 in the vicinity of an undo.
14080 (allout-widgets-mode): Include allout-widgets-after-undo-function
14081 on the new allout-post-undo-hook.
14082
450a0f09
SM
140832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14084
14085 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14086 Let define-derived-mode define it.
14087 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14088 cycles of abbrev-table inheritance (bug#8998).
14089
2de69e00
RW
140902011-07-05 Roland Winkler <winkler@gnu.org>
14091
14092 * textmodes/bibtex.el: Add support for biblatex.
14093 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14094 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14095 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14096 (bibtex-entry-alist, bibtex-field-alist): New variables.
14097 (bibtex-entry-field-alist): Obsolete alias for
14098 bibtex-BibTeX-entry-alist.
14099 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14100 (bibtex-set-dialect): New command.
14101 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14102 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14103 Bind via bibtex-set-dialect.
2de69e00
RW
14104 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14105 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14106 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14107 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14108 Define via bibtex-set-dialect.
450a0f09
SM
14109 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14110 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14111 (bibtex-vec-push, bibtex-vec-incr): New functions.
14112 (bibtex-format-entry, bibtex-field-list)
14113 (bibtex-print-help-message, bibtex-validate)
14114 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14115
2dcdbdd9
SM
141162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14117
14118 * progmodes/compile.el (compilation-goto-locus):
14119 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14120 * bs.el (bs-cycle-next, bs-cycle-previous):
14121 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14122 * bindings.el (mode-line-other-buffer):
14123 * autoinsert.el (auto-insert):
14124 * arc-mode.el (archive-extract):
14125 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14126
b27640fe
JB
141272011-07-05 Juanma Barranquero <lekktu@gmail.com>
14128
14129 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14130 Fix check of `emacs-lock-unlockable-modes'.
14131 Coerce true values of `emacs-lock--try-unlocking' to t.
14132
53bbe3ad
JB
141332011-07-05 Juanma Barranquero <lekktu@gmail.com>
14134
14135 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14136 * emacs-lock.el: New file.
14137
1d3cdbc7
JD
141382011-07-05 Julien Danjou <julien@danjou.info>
14139
14140 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14141 than `boundp' to check if face is set.
14142
9173deec
JB
141432011-07-05 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * register.el (registerv-make):
14146 * window.el (window-min-height): Fix typos in docstrings.
14147
869795d6
JD
141482011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14149
9173deec 14150 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14151 Update doc string.
14152
b768cdcd
JB
141532011-07-04 Juanma Barranquero <lekktu@gmail.com>
14154
14155 * server.el (server-execute): Catch quit and call
14156 `server-return-error' to pass the error back to emacsclient and
14157 close the connection (bug#8942).
14158
13aa217b
KM
141592011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14160
14161 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14162 insecure exception for current topic. Also note that auto-saves
14163 are handled differently.
14164
5d3385a0 14165 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14166 State variables for tracking auto-save inhibition situation.
14167
14168 (allout-write-contents-hook-handler): Rename from
14169 'allout-write-file-hook-handler', and describe how it depends on
14170 write-contents-functions sensitivity to non-nil value to prevent
14171 file write.
14172
14173 (allout-auto-save-hook-handler): Remove. auto-save does not check
14174 this in individual buffers, only in the starting buffer, so this
14175 is not the right way for us to inhibit auto-save in a buffer
14176 according to its condition.
14177
14178 (allout-mode): Use new allout-write-contents-hook-handler, and
14179 only with write-contents-functions. Remove auto-save provisions -
14180 they're implemented elsewhere.
14181
14182 (allout-before-change-handler): If undo is in progress, note that
14183 for attention of allout-post-command-business.
14184
14185 (allout-post-command-business): If the command we're following was
14186 an undo, check for change in the status of encrypted items and
14187 adjust auto-save inhibitions accordingly.
14188
14189 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14190 according to whether there are or aren't any plain-text topics
14191 pending encryption.
14192
2dcdbdd9 14193 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14194 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14195 if there are plain-text topics pending encryption.
13aa217b
KM
14196
14197 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14198 buffer-saved-size and some allout state to not inhibit auto-saves
14199 if there are no longer any plain-text topics pending encryption.
14200
0757af94
SM
14201 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14202 No longer provide for exemption of the current topic.
13aa217b 14203
ac89b32c
JL
142042011-07-04 Juri Linkov <juri@jurta.org>
14205
14206 Add 7z operations to delete and save changed members (bug#8968).
14207 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14208 New defcustoms.
14209 (archive-7z-write-file-member): New function.
14210 (archive-7z-summarize): Fix the number of dashes in the
14211 listing output.
14212
8fa39615
SM
142132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14214
14215 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14216 (bug#8958).
14217
2f11b3f1
CY
142182011-07-04 Chong Yidong <cyd@stupidchicken.com>
14219
d66fef2b
CY
14220 * bindings.el: Ignore next-buffer and previous-buffer in
14221 minibuffer-local-map.
14222
2f11b3f1
CY
14223 * font-lock.el (font-lock-builtin-face): Change light background
14224 color to dark slate blue (Bug#6693).
14225
f932a347
WD
142262011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14227
14228 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14229
c8af70e1
SM
142302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14231
14232 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14233 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14234 Add switch-to-buffer.
14235
f158badc
LMI
142362011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14237
14238 * isearch.el (isearch-search-fun-function): Clarify further the
14239 meaning of the function returned.
14240
6d95bd46
MA
142412011-07-04 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14244
14245 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14246 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14247 Use it.
14248 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14249 `tramp-default-remote-path' does not exist.
14250 (tramp-send-command-and-read): New optional argument NOERROR.
14251 (tramp-open-connection-setup-interactive-shell)
14252 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14253 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14254 (tramp-process-sentinel): Flush also process' connection property.
14255 (tramp-sh-handle-start-file-process): Do not set process
14256 sentinel. It is done now ...
14257 (tramp-maybe-open-connection): ... here. (Bug#8929)
14258
909e6b67
MK
142592011-07-04 MON KEY <monkey@sandpframing.com>
14260
14261 * play/animate.el (animate-string): Doc fixes and allow changing
14262 the buffer name (bug#5417).
14263
142642011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14265
c8af70e1 14266 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14267
f34755dc
PE
142682011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14269
396cec72
PE
14270 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14271 This is simpler and helps future-proof the code.
14272 (timer-until): Use time-subtract and float-time.
08235028 14273 (timer--time-less-p): Use time-less-p.
f34755dc 14274
56e6cc31
JB
142752011-07-04 Juanma Barranquero <lekktu@gmail.com>
14276
3abb79e5
JB
14277 * type-break.el (timep): Use the value of `float-time' to avoid a
14278 byte-compiler warning.
14279
56e6cc31
JB
14280 * server.el (server-eval-and-print): Return any result, even nil.
14281
7b9430b4
PE
142822011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14283
14284 * type-break.el: Accept time formats that the builtins accept.
14285 (timep, type-break-time-difference): Accept any format that
14286 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14287 This is simpler and helps future-proof the code.
14288 (type-break-time-difference): Round rather than ignoring
14289 subseconds components.
14290
3034e9e7
LMI
142912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14292
14293 * info.el (Info-apropos-matches): Make non-interactive, since it
14294 doesn't seem to do anything useful as a command (bug#8829).
14295
1485f4c0
CY
142962011-07-03 Chong Yidong <cyd@stupidchicken.com>
14297
14298 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14299 Move from faces.el.
1485f4c0
CY
14300 (frame-default-terminal-background): New function.
14301
14302 * custom.el (custom-push-theme): Don't record faces in `changed'
14303 theme; this doesn't work correctly for per-frame face settings.
14304 (disable-theme): Use face-set-after-frame-default to reset faces.
14305 (custom--frame-color-default): New function.
14306
9fa3dd45
LMI
143072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14308
c8af70e1 14309 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14310 (bug#8769).
14311
6cbbc20c
KR
143122011-03-29 Kevin Ryde <user42@zip.com.au>
14313
14314 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14315 `perl-Test2' extend to match possible "fail #N" rep count
14316 (bug#8377).
14317
c7f98048
LMI
143182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14319
65676592
LMI
14320 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14321 `smtpmail-via-smtp' now returns the error instead of nil.
14322
c7f98048
LMI
14323 * isearch.el (isearch-search-fun-function): Clarify the doc string
14324 (bug#8101).
14325
56e6cc31 143262011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14327
14328 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14329 unnecessary spaces (bug#8987).
14330
2b216704
LMI
143312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14332
14333 * net/network-stream.el (open-network-stream): Use the
14334 :end-of-capability command thoughout.
14335
143362011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14337
14338 * net/network-stream.el (open-network-stream): Add the
14339 :end-of-capability command parameter, used by pop3.el.
14340
36adf6ce
LMI
143412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14342
1ca0da0e
LMI
14343 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14344
fc00f69c
LMI
14345 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14346 for list)" (bug#6475).
14347
28fd8759 14348 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14349 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14350 an error (bug#6297).
14351
0dd8b6da
LMI
14352 * man.el (Man-reference-regexp): Allow matching possible
14353 word-wrapped references (bug#6289).
14354
ce1438d6
LMI
14355 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14356 for consistency with the other vc buffers (bug#6197).
14357 (vc-checkin): Ditto.
14358
14359 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14360
36adf6ce
LMI
14361 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14362
e83cc1f7
LMI
143632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14364
8a20ca4c
LMI
14365 * custom.el (defcustom): Clarify that :set is only used in the
14366 Customize user interface (bug#6089).
14367
83319045
LMI
14368 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14369 associated with a file, refuse to run instead of erroring out
14370 (bug#6084).
14371
a8392169
LMI
14372 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14373 the doc string, since it appears that using `fill-column' always
14374 controls the width (bug#7845).
14375
e83cc1f7
LMI
14376 * simple.el (shell-command-on-region): Say where the error output
14377 went if `shell-command-default-error-buffer' is set (bug#6857).
14378
e47ca23b
KM
143792011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14380
14381 * allout.el (allout-yank-processing): Adjust cursor position for
14382 backwards-deleted space.
14383
14384 (allout-rebullet-heading): Register changes with
14385 allout-exposure-changed-hook, so the modified topic is properly
14386 decorated.
14387
5cf56143
LMI
143882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14389
08549772
LMI
14390 * minibuffer.el (completion-in-region): Document PREDICATE
14391 (bug#7136).
14392
48e96771
LMI
14393 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14394 of keyword/argument pairs (bug#6904).
14395
c8af70e1
SM
14396 * replace.el (multi-occur):
14397 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14398
e17d05e2
LMI
143992011-07-02 Drew Adams <drew.adams@oracle.com>
14400
14401 * dired.el (dired-mark-if): Make the message about whether it's
14402 marking or unmarking clearer (bug#8523).
14403
063b0e45
LMI
144042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14405
14406 * disp-table.el (display-table-print-array): New function.
14407 (describe-display-table): Use it to print the vectors more pretty
14408 (Bug#8859).
14409
28545e04
MR
144102011-07-02 Martin Rudalics <rudalics@gmx.at>
14411
14412 * window.el (window-state-get-1): Don't assign clone numbers.
14413 Add clone-of item to list of window parameters.
14414 (window-state-put-2): Don't process clone numbers.
14415 (display-buffer-alist): Fix doc-string.
14416
3349e122
SM
144172011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14418
14419 * subr.el (remq): Don't allocate if it's not needed.
14420 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14421 (keymap--merge-bindings): New functions.
14422 (keymap-canonicalize): Use them to refine the canonicalization.
14423 * minibuffer.el (minibuffer-local-completion-map)
14424 (minibuffer-local-must-match-map): Move initialization from C.
14425 (minibuffer-local-filename-completion-map): Move initialization from C;
14426 don't inherit from anything here.
14427 (minibuffer-local-filename-must-match-map): Make obsolete.
14428 (completing-read-default): Use make-composed-keymap to combine
14429 minibuffer-local-filename-completion-map with either
14430 minibuffer-local-must-match-map or
14431 minibuffer-local-filename-completion-map.
14432
d224ac83
GM
144332011-07-01 Glenn Morris <rgm@gnu.org>
14434
3de63bf8
GM
14435 * type-break.el (type-break-time-sum): Use dolist.
14436
d224ac83
GM
14437 * textmodes/flyspell.el (flyspell-word-search-backward):
14438 Replace CL function.
14439
1a1e3f32
SM
144402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14441
fe3f64d5
SM
14442 * mouse.el (mouse--strip-first-event): New function.
14443 (function-key-map): Use it to map fringe clicks to normal clicks
14444 by default.
14445
eb604e34
SM
14446 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14447 (vc-bzr-revision-completion-table): Add support for annotate and date.
14448
1a1e3f32
SM
14449 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14450 inherit from parent.
14451
5bd35902
LMI
144522011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14453
ace6c69c 14454 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14455 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14456
191e2bed
LMI
14457 * dired.el (dired-mode): Fix up the doc string as suggested by
14458 Drew Adams (bug#8817).
14459
5bd35902
LMI
14460 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14461 cookie, since the manual says that it should be possible to add
14462 this function to `find-file-hook' (bug#8709).
14463
eee8207a
TZ
144642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14465
14466 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14467 here. Noted Ted Zlatanov as the maintainer.
14468 (cfengine-common-settings, cfengine-common-syntax): New functions
14469 to set up common things between `cfengine-mode' and
14470 `cfengine3-mode'.
14471 (cfengine3-mode): New mode.
14472 (cfengine3-defuns cfengine3-defuns-regex
14473 (cfengine3-class-selector-regex cfengine3-category-regex)
14474 (cfengine3-vartypes cfengine3-font-lock-keywords)
14475 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14476 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14477
36b148cf
MA
144782011-07-01 Michael Albinus <michael.albinus@gmx.de>
14479
14480 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14481
14482 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14483
0bf4ba9a
MR
144842011-07-01 Martin Rudalics <rudalics@gmx.at>
14485
14486 * window.el (same-window-buffer-names, same-window-regexps)
14487 (same-window-p, special-display-frame-alist)
14488 (special-display-popup-frame, special-display-function)
14489 (special-display-buffer-names, special-display-regexps)
14490 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14491 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14492 (split-window-preferred-function, split-height-threshold)
14493 (split-width-threshold, even-window-heights)
14494 (display-buffer-mark-dedicated, window-splittable-p)
14495 (split-window-sensibly, window-safely-shrinkable-p):
14496 Un-obsolete.
14497 (display-buffer): Don't spread args with function specifier
14498 because special-display-popup-frame won't like it.
14499
35837f51
PE
145002011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14501
d0672f86
PE
14502 Time-stamp simplifications and fixes.
14503 These improve accuracy slightly, and future-proof the code
14504 against some potential changes to current-time format.
14505
b9444d97
PE
14506 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14507 by using time-since and float-time.
14508
0ef923dc
PE
14509 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14510 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14511 + NNN microseconds".
14512
2f81380d
PE
14513 * type-break.el (type-break-time-sum): Rewrite using time-add.
14514
845b5c3e
PE
14515 * play/hanoi.el (hanoi-current-time-float): Remove.
14516 All uses replaced by float-time.
14517
ee6f1be0
PE
14518 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14519 This yields a more-accurate answer.
14520 (rng-time-to-float): Remove; no longer needed.
14521
fe955043
PE
14522 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14523
5777162a
PE
14524 * calendar/timeclock.el (timeclock-seconds-to-time):
14525 Defalias to seconds-to-time, since they're the same thing.
14526
3103f8b6 14527 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14528 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14529 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14530
0e61a35f
SM
145312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14532
14533 * window.el (bury-buffer): Don't iconify the only frame.
14534 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14535 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14536
ddd63a1e
CY
145372011-07-01 Chong Yidong <cyd@stupidchicken.com>
14538
0e61a35f
SM
14539 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14540 Add mouse-yank-primary.
ddd63a1e 14541
055f4923
TZ
145422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14543
14544 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14545
6a2fb145
SM
145462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14547
14548 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14549 (find-library-name): Use it to find relative load names when provided
14550 absolute file name (bug#8803).
14551
fd4983f2
LMI
145522011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14553
887d14ad
LMI
14554 * textmodes/flyspell.el (flyspell-word): Consider words that
14555 differ only in case as potential doublons (bug#5687).
14556
c53dc7fc
LMI
14557 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14558 Remove two rather uninteresting debugging-like messages to make
14559 debbugs.el more silent.
14560
fd4983f2
LMI
14561 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14562 a password-like phrase.
14563
7a71b18d 145642011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14565
14566 * progmodes/cc-guess.el: New file.
14567
6a2fb145 14568 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14569
14570 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14571 derived from `c-basic-common-init'.
14572
14573 * progmodes/cc-mode.el (top-level): Require cc-guess.
14574 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14575
1fa280a3
LM
145762011-06-30 Lawrence Mitchell <wence@gmx.li>
14577
14578 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14579
e6597158
AM
145802011-06-30 Alan Mackenzie <acm@muc.de>
14581
1fa280a3
LM
14582 * progmodes/cc-engine.el (c-guess-continued-construct):
14583 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14584 lock is disabled. Name this case as "CASE G".
14585
68ba37fb
KM
145862011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14587
14588 * allout.el (allout-yank-processing): Fix injection of extra space
14589 between bullet and non-whitespace character in first topic when
14590 pasting, ensuring that the actual spacing in the pasted topic
14591 following the bullet char is preserved. This extra space was
14592 causing pasted encrypted topics to get a decrypted status even
14593 when the content was actually still encrypted. Now the decryption
14594 status from before the paste is preserved.
14595
14596 (allout-flag-region): Set all allout overlays so they evaporate
14597 when reduced to zero length (evanescent), to prevent overlay
14598 leakage.
14599
887a0b34
GM
146002011-06-30 Glenn Morris <rgm@gnu.org>
14601
94b9acce
GM
14602 * w32-fns.el (w32-charset-info-alist): Declare.
14603
1d9b46d4
GM
14604 * find-dired.el (find-grep-options): Simplify.
14605
cc232200
GM
14606 * term/ns-win.el (ns-set-resource): Declare.
14607
28e77c46
GM
14608 * ses.el (row, col): Declare dynamic variables honestly.
14609
887a0b34
GM
14610 * textmodes/reftex-parse.el (index-tags): Declare.
14611
658d8eb8
CY
146122011-06-30 Chong Yidong <cyd@stupidchicken.com>
14613
14614 * cus-edit.el (customize-push-and-save): New function.
14615
14616 * files.el (hack-local-variables-confirm): Use it.
14617
1fa280a3
LM
14618 * custom.el (load-theme): New arg NO-CONFIRM.
14619 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14620 (custom-enabled-themes): Doc fix.
14621
14622 * cus-theme.el (customize-create-theme)
14623 (custom-theme-merge-theme): Callers to load-theme changed.
14624
bb617717
LMI
146252011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14626
d61bdd5d
LMI
14627 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14628 short URLs have at least one dot in them (bug #7614).
14629
bb617717
LMI
14630 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14631 nil, because using a pty is apparently too slow (bug #895).
14632
2f31f37a
LMI
146332011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14634
14635 * mail/sendmail.el (sendmail-query-once): New function.
14636 (sendmail-query-once-function): New variable.
14637
3076b24e
GM
146382011-06-29 Glenn Morris <rgm@gnu.org>
14639
faf2a174
GM
14640 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14641
3076b24e
GM
14642 * ses.el (top-level): Require cl when compiling.
14643 (ses-set-localvars): Fix error statement.
14644 Call it at compile time to silence a storm of warnings.
14645
5386012d
MR
146462011-06-29 Martin Rudalics <rudalics@gmx.at>
14647
14648 * window.el (normalize-live-buffer): Rename to
14649 window-normalize-buffer.
14650 (normalize-live-frame): Rename to window-normalize-frame.
14651 (normalize-any-window): Rename to window-normalize-any-window.
14652 (normalize-live-window): Rename to window-normalize-live-window.
14653 (make-window-atom): Rename to window-make-atom.
14654 (window-resize-reset): Rename to window--resize-reset.
14655 (window-resize-reset-1): Rename to window--resize-reset-1.
14656 (resize-mini-window): Rename to window--resize-mini-window.
14657 (resize-subwindows-skip-p): Rename to
14658 window--resize-subwindows-skip-p.
14659 (resize-subwindows-normal): Rename to
14660 window--resize-subwindows-normal.
14661 (resize-subwindows): Rename to window--resize-subwindows.
14662 (resize-other-windows): Rename to window--resize-siblings.
14663 (resize-this-window): Rename to window--resize-this-window.
14664 (resize-root-window): Rename to window--resize-root-window.
14665 (resize-root-window-vertically): Rename to
14666 window--resize-root-window-vertically.
14667 (normalize-buffer-to-display): Rename to
14668 window-normalize-buffer-to-display.
14669 (normalize-buffer-to-switch-to): Rename to
14670 window-normalize-buffer-to-switch-to.
14671 Correspondingly update all callers of the functions listed
14672 above.
14673 (display-buffer-alist, display-buffer-normalize-arguments)
14674 (display-buffer-normalize-options, display-buffer)
14675 (display-buffer-alist-set): Use "function" instead of
14676 "fun-with-args".
14677
1176868d
CY
146782011-06-28 Chong Yidong <cyd@stupidchicken.com>
14679
14680 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14681 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14682 debbugs.gnu.org. Mention acknowledgment email.
14683
20a7a65f
LMI
146842011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14685
14686 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14687 buffer multibyteness, since it shouldn't matter.
14688
5f45cca5
MR
146892011-06-28 Martin Rudalics <rudalics@gmx.at>
14690
14691 * window.el (display-buffer-in-side-window): Handle dedicated
14692 windows as in display-buffer-reuse-window.
14693 (display-buffer-normalize-alist): Use value of override
14694 specifier.
14695 (display-buffer-normalize-specifiers): Use value of
14696 other-window-means-other-frame specifier.
14697 (display-buffer-alist): Rewrite some texts in widgets.
14698 (display-buffer): Spread arguments when calling function
14699 specified by fun-with-args.
14700
ad85fe1f
DD
147012011-06-28 Deniz Dogan <deniz@dogan.se>
14702
1fa280a3
LM
14703 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14704 Unnest `let'.
da68c4c8 14705
ad85fe1f
DD
14706 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14707 selectors (Bug#5732).
ec49bd31 14708 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14709
a08cc025
JA
147102011-06-27 Jari Aalto <jari.aalto@cante.net>
14711
14712 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14713 (eshell-ls-date-format): New defcustom.
14714 (eshell-ls-file): Use it.
14715
e2b551c5
SM
147162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14719
8982b231
KY
147202011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14721
14722 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14723 (ange-ftp-make-tmp-name): New arg.
14724 (ange-ftp-file-local-copy): Use it.
14725
36c9fa27
J
147262011-06-27 Jambunathan K <kjambunathan@gmail.com>
14727
14728 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14729 no-conversion (Bug#8870).
14730
d68443dc
MR
147312011-06-27 Martin Rudalics <rudalics@gmx.at>
14732
14733 * window.el (window-right, window-left, window-child)
14734 (window-child-count, window-last-child)
14735 (window-iso-combination-p, walk-window-tree-1)
14736 (window-atom-check-1, window-tree-1, delete-window)
14737 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14738 new naming conventions - window-vchild, window-hchild,
14739 window-next and window-prev are now called window-top-child,
14740 window-left-child, window-next-sibling and window-prev-sibling
14741 respectively.
d615d6d2
MR
14742 (resize-window-reset): Rename to window-resize-reset.
14743 (resize-window-reset-1): Rename to window-resize-reset-1.
14744 (resize-window): Rename to window-resize.
14745 (window-min-height, window-min-width)
14746 (resize-mini-window, resize-this-window, resize-root-window)
14747 (resize-root-window-vertically, adjust-window-trailing-edge)
14748 (enlarge-window, shrink-window, maximize-window)
14749 (minimize-window, delete-window, quit-restore-window)
14750 (split-window, balance-windows, balance-windows-area-adjust)
14751 (balance-windows-area, window-state-put-2)
14752 (display-buffer-even-window-sizes, display-buffer-set-height)
14753 (display-buffer-set-width, set-window-text-height)
14754 (fit-window-to-buffer): Rename all "resize-window" prefixed
14755 calls to use the "window-resize" prefix convention.
14756 (display-buffer-alist): Fix symbol for label specifier.
14757 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14758 corresponding specifier.
14759 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14760
b6458526
VB
147612011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14762
14763 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14764 convention.
14765 (ses-call-printer): Does not pass an empty string to formatter when the
14766 cell is empty to keep from barking printer Calc math-format-value.
14767
d31fd9ac
RS
147682011-06-27 Richard Stallman <rms@gnu.org>
14769
43d5bf84
RS
14770 * battery.el (battery-mode-line-limit): New variable.
14771 (battery-update): Handle it.
14772
d31fd9ac
RS
14773 * mail/rmailmm.el (rmail-mime-process-multipart):
14774 Handle truncated messages.
14775
819a6054
GM
147762011-06-27 Glenn Morris <rgm@gnu.org>
14777
14778 * progmodes/flymake.el (flymake-err-line-patterns):
14779 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14780
cedc73f2
VB
147812011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14782
819a6054 14783 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14784 (ses--clean-!, ses--clean-_): New functions.
14785 (ses-range): Add configurability of readout order, and conversion
14786 to Calc vector.
14787
5e5d49b6
VB
14788 * ses.el (ses-repair-cell-reference-all): New function.
14789 (ses-cell-symbol): Set macro as safe, so that it can be used in
14790 formulas.
14791
56e6cc31 14792 * ses.el: Update cycle detection algorithm.
90ca8b49 14793 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14794 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14795 (ses-set-localvars): New function.
14796 (ses-make-cell): Add property-list as a cell element.
14797 (ses-cell-property-get-fun, ses-cell-property-get)
14798 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14799 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14800 New functions.
90ca8b49
VB
14801 (ses-cell-property-set, ses-cell-property-pop)
14802 (ses-cell-property-get-handle): New macro.
14803 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14804 New aliases, used for code readability.
14805 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14806 cycle detection.
14807 (ses-self-reference-early-detection): New defcustom.
fac916bf 14808 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14809 (ses-mode): Use ses-set-localvars.
14810 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14811 before lauching the update processing.
14812 (ses-initialize-Dijkstra-attempt): New function.
14813 (ses-recalculate-cell): Update for cycle detection based on
14814 Dijkstra algorithm.
14815
2bb63e81
VB
14816 * ses.el: Fix commenting and indenting convention.
14817
c9d29fb8
SM
148182011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14819
14820 * bs.el (bs-cycle-next): Complete last change.
14821
d8e4b68b
JB
148222011-06-27 Drew Adams <drew.adams@oracle.com>
14823
14824 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14825
40098786
LMI
148262011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14827
c9d29fb8
SM
14828 * net/network-stream.el (network-stream-open-starttls):
14829 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14830 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14831
40098786
LMI
14832 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14833 to binary to possibly avoid line encoding issues on Windows (among
14834 other things).
14835
468d09d4
LMI
148362011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14837
14838 * net/network-stream.el (open-network-stream): Return an :error
14839 saying what the problem was, if possible.
14840
14841 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14842 server.
14843
14844 * net/network-stream.el (network-stream-open-starttls): If we
14845 wanted to use STARTTLS, and the server offered it, but we weren't
14846 able to because we had no STARTTLS support, then close the connection.
14847 (open-network-stream): Return an :error element, if present.
14848
16f07dd7
CY
148492011-06-26 Chong Yidong <cyd@stupidchicken.com>
14850
88821ca0
CY
14851 * hl-line.el (hl-line-sticky-flag): Doc fix.
14852 (global-hl-line-sticky-flag): New option (Bug#8323).
14853 (global-hl-line-highlight): Obey it.
14854
16f07dd7
CY
14855 * vc/vc.el (vc-revert-show-diff): Default to t.
14856
6b5ccddf
KM
148572011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14858
c9d29fb8
SM
14859 * allout-widgets.el (allout-widgets-post-command-business):
14860 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14861 undecorated when an isearch is continued past, and isearch
14862 automatically collapses them. This leads to "widget leaks", where
14863 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14864 hidden widgets can slow down cursor travel, substantially.
14865 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14866 so we're doing without this nicety.
14867
14868 (allout-widgets-tally-string): Don't try to do a hash-table-count
14869 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14870 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14871 *Messages* when allout-widgets-maintain-tally is t.
14872
355f2e07
MR
148732011-06-26 Martin Rudalics <rudalics@gmx.at>
14874
14875 * window.el (display-buffer-normalize-argument): Rename to
14876 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14877 LABEL argument. Respect special-display-function when popping up
14878 a new frame. Fix code searching for a window showing the buffer
14879 on another frame.
c9d29fb8
SM
14880 (display-buffer-normalize-specifiers):
14881 Call display-buffer-normalize-arguments.
355f2e07
MR
14882 (display-buffer-in-window): Don't undedicate the window if its
14883 buffer remains the same.
14884 Reported by Drew Adams <drew.adams@oracle.com>.
14885 (display-buffer-alist): Add choice for same-window macro
14886 specfier.
14887 (display-buffer): Mention special meaning of LABEL argument in
14888 doc-string. Fix quoting. Don't pop up a new frame even as
14889 fallback.
14890
7ca8fc42
JB
148912011-06-26 Juanma Barranquero <lekktu@gmail.com>
14892
14893 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14894 avoid deleting the current window in some cases (bug#8911).
14895
bc312254
AS
148962011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14897
14898 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14899 (Bug#8934)
14900
2db18f3f
LMI
149012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14902
c9d29fb8
SM
14903 * net/network-stream.el (network-stream-open-starttls):
14904 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14905 (network-stream-open-tls): Ditto.
14906
6302e0d3
LL
149072011-06-26 Leo Liu <sdl.web@gmail.com>
14908
14909 * register.el (registerv): New struct.
14910 (registerv-make): New function.
c9d29fb8
SM
14911 (jump-to-register, describe-register-1, insert-register):
14912 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14913 struct. (Bug#8415)
14914
5fdd4046
CY
149152011-06-26 Chong Yidong <cyd@stupidchicken.com>
14916
2afef60a
CY
14917 * vc/vc.el (vc-revert-show-diff): New defcustom.
14918 (vc-diff-internal): New arg specifying diff buffer.
14919 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14920 reuse an existing *vc-diff* buffer (Bug#8927).
14921
5fdd4046
CY
14922 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14923
e93db24a
GM
149242011-06-26 Glenn Morris <rgm@gnu.org>
14925
14926 * progmodes/f90.el (f90-critical-indent): New option.
14927 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14928 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14929 (f90-mode): Doc fix.
14930 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14931 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14932 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14933 (f90-match-end): Handle block, critical.
14934
eefff499
GM
149352011-06-25 Glenn Morris <rgm@gnu.org>
14936
f6ba4cc9
GM
14937 * calendar/diary-lib.el (diary-included-files): Doc fix.
14938 (diary-include-files): New function, extracted from
14939 diary-include-other-diary-files and diary-mark-included-diary-files.
14940 (diary-include-other-diary-files, diary-mark-included-diary-files):
14941 Just call diary-include-files.
14942 (diary-mark-entries): Reset diary-included-files on first call.
14943
16712304
GM
14944 * calendar/diary-lib.el (diary-mark-entries)
14945 (diary-mark-included-diary-files):
14946 Visit included diary-files in temp buffers.
14947
5d8e0d43
GM
14948 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14949 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14950 (f90-start-block-re, f90-imenu-generic-expression)
14951 (f90-looking-at-program-block-start, f90-no-block-limit):
14952 Add support for submodules.
14953
ccf7a5d5
GM
14954 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14955 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14956
11fdef7d 149572011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14958
14959 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14960 buffer-file-type before setting its value, to avoid disastrous
eefff499 14961 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14962
74f53697
JB
149632011-06-25 Juanma Barranquero <lekktu@gmail.com>
14964
14965 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14966
14967 * ses.el (ses-unload-function):
14968 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14969
14970 * proced.el (proced-unload-function):
14971 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14972
18a4ce5e
AR
149732011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14974
14975 * server.el (server-create-window-system-frame): Add parameters arg.
14976 (server-process-filter): Doc fix. Handle frame-parameters.
14977
519d22cc
JB
149782011-06-25 Juanma Barranquero <lekktu@gmail.com>
14979
14980 Fix bug#8730, bug#8781.
14981
14982 * loadhist.el (unload--set-major-mode): New function.
14983 (unload-feature): Use it.
14984
14985 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14986 (python-unload-function): New function.
14987
c206f5b0
SM
149882011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14989
14990 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14991
f9ad64f3
GS
149922011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14993
14994 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14995 the candidates list.
14996
7d0da90e
JB
149972011-06-24 Juanma Barranquero <lekktu@gmail.com>
14998
14999 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15000
14b4e83d
RS
150012011-06-23 Richard Stallman <rms@gnu.org>
15002
15003 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15004 (rmail-variables): Set next-error-move-function.
15005 (rmail-what-message): Take argument POS.
15006 (rmail-next-error-move): New function.
15007
273d2baf
SM
150082011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15009
15010 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15011 messages for adjacent non-terminals.
15012
56c2cc9a
RS
150132011-06-23 Richard Stallman <rms@gnu.org>
15014
15015 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15016 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15017 (rmail-start-mail): Don't specify use of rmail-mail-return;
15018 that's done by mail-bury now.
15019 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15020
d59eb518
MA
150212011-06-23 Michael Albinus <michael.albinus@gmx.de>
15022
15023 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15024 SIZE is a number.
15025
02cfc6d6
MR
150262011-06-23 Martin Rudalics <rudalics@gmx.at>
15027
15028 * window.el (get-lru-window, get-mru-window)
15029 (get-largest-window): Never return a minibuffer window.
15030 (display-buffer-pop-up-window): Fix a bug that could lead to
15031 reusing the minibuffer window.
15032 (display-buffer): Pass original specifier argument to
15033 display-buffer-function instead of the normalized one.
15034 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15035
4e323265
LL
150362011-06-22 Leo Liu <sdl.web@gmail.com>
15037
15038 * minibuffer.el (completing-read-function)
15039 (completing-read-default): Move from minibuf.c
15040
7a70468f
RS
150412011-06-22 Richard Stallman <rms@gnu.org>
15042
50718fc2
RS
15043 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15044 to Rmail even if not started by a special Rmail command.
15045
7a70468f
RS
15046 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15047 Copy the buffer currently showing just one message.
15048
297dde5a
RW
150492011-06-22 Roland Winkler <winkler@gnu.org>
15050
15051 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15052 (bibtex-clean-entry): First delete the old key so that a
15053 customized algorithm for generating the new key does not get
15054 confused by the old key.
15055 (bibtex-url): Obey regexp of first step.
15056 (bibtex-search-entries): Do not use add-to-list with local
15057 list-var.
15058
97bb1093
LMI
150592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15060
15061 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15062 stored a user name, then query for the password first, instead of
15063 waiting for SMTP to give an error message and the trying again.
15064
1c0f1a19
JD
150652011-06-22 Lawrence Mitchell <wence@gmx.li>
15066
15067 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15068 BUFFER in call-process.
15069
396f7c9d
LMI
150702011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15071
15072 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15073 QUIT twice.
ddb7ffee
LMI
15074 (smtpmail-try-auth-methods): Require user name and password from
15075 auth-source.
396f7c9d 15076
8998d1b3
MR
150772011-06-22 Martin Rudalics <rudalics@gmx.at>
15078
15079 * window.el (display-buffer-default-specifiers)
15080 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15081 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15082 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15083
15084 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15085 (special-display-frame-alist, special-display-popup-frame):
15086 Remove duplicate declarations. These are now in window.el.
15087
4ea31e07
LMI
150882011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15089
c9d29fb8
SM
15090 * mail/smtpmail.el (smtpmail-via-smtp):
15091 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15092 server supports it. SMTP servers that support STARTTLS commonly
15093 require it.
15094
15095 * net/network-stream.el (network-stream-open-starttls): Support
15096 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15097 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15098
95f41d9a
LMI
15099 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15100 upgrades with `open-network-stream', and rely solely on
15101 auth-source for all credentials. Big changes throughout the file,
15102 but in particular:
c9d29fb8
SM
15103 (smtpmail-auth-credentials): Remove.
15104 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15105 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15106 MAIL FROM, too.
95f41d9a 15107
c9d29fb8
SM
15108 * net/network-stream.el (network-stream-open-starttls):
15109 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15110 STARTTLS.
15111 (auth-source): Require.
15112 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15113 (network-stream-certificate): Change cert-cert to cert and
15114 cert-key to key.
4ea31e07 15115
065ec2c7
MA
151162011-06-21 Michael Albinus <michael.albinus@gmx.de>
15117
15118 * net/tramp-cache.el (top): Don't load the persistency file when
15119 "emacs -Q" has been called.
15120
cd93b359
DR
151212011-06-21 Tim Harper <timcharper@gmail.com>
15122
d8e4b68b
JB
15123 * term/ns-win.el (ns-initialize-window-system):
15124 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15125 resource to NO as it is not yet supported by the NS port.
15126
ae9c0411
JB
151272011-06-21 Juanma Barranquero <lekktu@gmail.com>
15128
15129 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15130 (list-dynamic-libraries): ...not here.
15131
7f3f739f
LL
151322011-06-21 Leo Liu <sdl.web@gmail.com>
15133
15134 * subr.el (sha1): Implement sha1 using secure-hash.
15135
327c8fb1
MR
151362011-06-21 Martin Rudalics <rudalics@gmx.at>
15137
15138 * window.el (display-buffer-alist): In default value do not
15139 enforce searching a window on any but the selected frame.
15140 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15141 (display-buffer-select-window): Remove function.
15142 (display-buffer-in-window): When a window on another frame gets
15143 reused, do not select it any more but just raise its frame if
15144 necessary (Bug#8851) and (Bug#8856).
15145 (display-buffer-normalize-options): Handle pop-up-frames related
15146 options more faithfully.
15147 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15148 window if it is on another frame.
c9d29fb8
SM
15149 (display-buffer-alist, display-buffer-default-specifiers):
15150 Don't make new frame unsplittable by default.
9e9de014
MR
15151 (display-buffer-normalize-argument): Fix doc-string typo and use
15152 'same-frame-other-window instead of 'other-window when associating
15153 with display-buffer-macro-specifiers.
327c8fb1 15154
7cf3f556
VB
151552011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15156
15157 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15158 New functions.
15159 (5x5-mode-map, 5x5-mode-menu): Bind them.
15160 (5x5-draw-grid): Tweak the solver's rendering.
15161
60a406cf
SM
151622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15163
15164 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15165 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15166
d8e4b68b 151672011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15168
15169 * menu-bar.el: Use function variable instead of switch-to-buffer.
15170 (menu-bar-select-buffer-function): New variable.
60a406cf 15171 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15172
478d6f95
SM
151732011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15174
15175 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15176 variable's status.
15177
ca530739
JD
151782011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15179
15180 * x-dnd.el (x-dnd-version-from-flags)
15181 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15182 and long as number (Bug#8899).
15183 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15184
bcd70d97
SM
151852011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15186
60a406cf 15187 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15188 (completion-try-completion, completion-all-completions): Compute the
15189 metadata argument if it's missing; make it optional (bug#8795).
15190
60a406cf 15191 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15192 (widget-complete): Use new :completion-function property.
15193 (widget-completions-at-point): New function.
15194 (default): Use :completion-function instead of :complete.
60a406cf
SM
15195 (widget-default-completions): Rename from widget-default-complete;
15196 Rewrite.
bcd70d97
SM
15197 (widget-string-complete, widget-file-complete, widget-color-complete):
15198 Remove functions.
15199 (file, symbol, function, variable, coding-system, color):
15200 * international/mule-cmds.el (default-input-method, charset)
15201 (language-info-custom-alist):
15202 * cus-edit.el (face): Use new property :completions.
15203
15204 * progmodes/pascal.el (pascal-completions-at-point): New function.
15205 (pascal-mode): Use it.
15206 (pascal-mode-map): Use completion-at-point.
15207 (pascal-toggle-completions): Make obsolete.
15208 (pascal-complete-word, pascal-show-completions):
15209 * progmodes/octave-mod.el (octave-complete-symbol):
15210 Redefine as obsolete alias.
15211 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15212 Signal absence of completion info for old Octave,
15213 (inferior-octave-complete): Redefine as obsolete alias.
15214 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15215 (meta-completions-at-point): Rename from meta-complete-symbol and
15216 adapt it for use on completion-at-point-functions.
15217 (meta-common-mode): Use it.
15218 (meta-looking-at-backward, meta-match-buffer): Remove.
15219 (meta-complete-symbol): Redefine as obsolete alias.
15220 (meta-common-mode-map): Use completion-at-point.
15221 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15222 (makefile-mode-map): Use completion-at-point.
15223 (makefile-completions-at-point): Rename from makefile-complete and
15224 adapt it for use on completion-at-point-functions.
15225 (makefile-mode): Use it.
15226 (makefile-complete): Redefine as obsolete alias.
15227
aebf69c8
DD
152282011-06-20 Deniz Dogan <deniz@dogan.se>
15229
15230 * net/rcirc.el: Delete trailing whitespaces once and for all.
15231
bfbbb27d
DC
152322011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15233
15234 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15235
d264a46b
CY
152362011-06-19 Chong Yidong <cyd@stupidchicken.com>
15237
4ca009e5
CY
15238 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15239
d264a46b
CY
15240 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15241
fbf5b3ce
MR
152422011-06-19 Martin Rudalics <rudalics@gmx.at>
15243
15244 * window.el (display-buffer-other-window-means-other-frame):
15245 Call display-buffer-normalize-alist.
15246 (display-buffer-normalize-specifiers-1): Rename to
15247 display-buffer-normalize-argument. New argument other-frame.
15248 Rewrite.
15249 (display-buffer-normalize-specifiers-2): Rename to
15250 display-buffer-normalize-options.
15251 (display-buffer-normalize-alist-1): New function.
15252 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15253 display-buffer-normalize-alist.
15254 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15255 (display-buffer-normalize-options-inhibit): New variable.
15256 (display-buffer-normalize-specifiers): Rewrite calling
15257 display-buffer-normalize-alist,
15258 display-buffer-normalize-argument, and
15259 display-buffer-normalize-options. Don't call the latter if
15260 display-buffer-normalize-options-inhibit is non-nil.
15261 (frame-auto-delete): New option.
15262 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15263 (window-list-no-nils, window-state-ignored-parameters)
15264 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15265 (window-state-put-1, window-state-put-2, window-state-put):
15266 New functions.
9a028c23
MR
15267 (display-buffer-normalize-options): Move special-display-p group
15268 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15269
6d10d800
CY
152702011-06-18 Chong Yidong <cyd@stupidchicken.com>
15271
6420d28b
CY
15272 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15273 groups (Bug#8776).
15274 (rx-submatch-n): New function.
15275 (rx): Document it.
15276
ddb8b596
CY
15277 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15278 (Bug#8768).
15279
15280 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15281
77080289
CY
15282 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15283
61dfb316
CY
15284 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15285 anytime existing face settings are present (Bug#8889).
15286
6d10d800
CY
15287 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15288 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15289 Remove unused argument.
15290
be3fb2b8
MR
152912011-06-18 Martin Rudalics <rudalics@gmx.at>
15292
bcd70d97
SM
15293 * window.el (display-buffer-default-specifiers):
15294 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15295 pop-up-window-min-width, and another reuse-window specifier
15296 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15297 (display-buffer-normalize-specifiers-2):
15298 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15299 pop-up-windows is unset. Add a reuse-window specifier for the
15300 case popping up a new window fails.
15301 (special-display-popup-frame): Remove double quoting.
28dec25a 15302 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15303
1c6d8c76
SM
153042011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15305
15306 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15307 according to comint-completion-addsuffix.
15308
15309 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15310 (pcomplete-suffix-list): Mark as obsolete.
15311 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15312 pcomplete-seen in the closure.
15313 (pcomplete-comint-setup): Setup completion-at-point as well.
15314 (pcomplete--entries): New function.
15315 (pcomplete--env-regexp): New var.
15316 (pcomplete-entries): Rewrite to work with partial-completion and
15317 without relying on pcomplete-suffix-list.
15318 (pcomplete-pare-list): Remove, unused.
15319
25aef8b8
MR
153202011-06-17 Martin Rudalics <rudalics@gmx.at>
15321
15322 * window.el (display-buffer-alist): Set pop-up-window-min-height
15323 and pop-up-window-min-width in default value. Reported by
15324 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15325 other-window-means-other-frame.
15326 (display-buffer-macro-specifiers): Comment out entry for
15327 other-window specifier.
15328 (display-buffer-other-window-means-other-frame): New function.
15329 (display-buffer-normalize-specifiers-1): New arguments
15330 buffer-name and label. Treat other-window case specially.
15331 (display-buffer-normalize-specifiers-2): Treat other-window case
15332 specially.
15333 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15334 (display-buffer-normalize-specifiers):
15335 Call display-buffer-normalize-specifiers-3.
25aef8b8 15336
dbad4f69
MR
153372011-06-17 Martin Rudalics <rudalics@gmx.at>
15338
15339 * window.el (same-window-p): Fix two typos introduced when
15340 adding with-no-warnings.
d1067961
MR
15341 (display-buffer-normalize-specifiers-1): Don't check
15342 pop-up-frames for 'unset initialization.
15343 (display-buffer-normalize-specifiers-2): Major rewrite using
15344 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15345 (pop-up-frames, display-buffer-reuse-frames)
15346 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15347 Suggested by David Engster <deng@randomsample.de>.
15348 (even-window-heights): Initialize to 'unset.
15349 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15350 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15351 other window case.
dbad4f69 15352
9b9c9e3a
MR
153532011-06-16 Martin Rudalics <rudalics@gmx.at>
15354
bcd70d97
SM
15355 * window.el (display-buffer-normalize-specifiers-1):
15356 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15357 second argument of display-buffer (Bug#8865).
981d5c09
MR
15358 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15359 (switch-to-buffer-other-window-same-frame)
15360 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15361 Adams (Bug#8875).
9c2755e9
MR
15362 (display-buffer): Don't check noninteractive when calling
15363 display-buffer-pop-up-frame.
15364 (display-buffer-pop-up-frame): Never pop up a frame in
15365 noninteractive mode (Bug#8857).
67222e1d
MR
15366 (enlarge-window, shrink-window): Don't report an error when the
15367 window can't be resized as requested (Bug#8862).
9b9c9e3a 15368
2b75be67
SM
153692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15370
9ffdd3ba
SM
15371 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15372
cb581a67
SM
15373 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15374
2b75be67
SM
15375 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15376
8c0e3589
AM
153772011-06-15 Alan Mackenzie <acm@muc.de>
15378
cb581a67
SM
15379 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15380 for declarators, disable knr checking to speed up for normal files.
15381 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15382
b96e6cde
LMI
153832011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15384
4bba86e6
LMI
15385 * net/network-stream.el (open-network-stream): Add the keyword
15386 :always-query-capabilities for the case where you want to force a
15387 `plain' network connection, but the protocol still requires the
15388 capabilitiy command (i.e., SMTP and EHLO).
15389
2b75be67 15390 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15391 consistency with other `-live-p' functions.
15392
efdcdbf8
SM
153932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15394
15395 * window.el (same-window-buffer-names, same-window-regexps)
15396 (special-display-frame-alist, special-display-popup-frame)
15397 (special-display-function, special-display-buffer-names)
15398 (special-display-regexps, pop-up-frame-alist)
15399 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15400 (pop-up-windows, split-window-preferred-function)
15401 (split-height-threshold, split-width-threshold, even-window-heights)
15402 (display-buffer-mark-dedicated): Don't encourage the use of
15403 display-buffer-alist from Elisp code.
15404
c5cde042
DN
154052011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15406
15407 * progmodes/python.el (python-mode): Derive from prog-mode.
15408 * progmodes/ps-mode.el (ps-mode):
15409 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15410 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15411 * progmodes/ld-script.el (ld-script-mode): Likewise.
15412
baa1c9ab
MR
154132011-06-15 Martin Rudalics <rudalics@gmx.at>
15414
15415 * window.el (display-buffer-alist): Trim default value to avoid
15416 popping up a new frame (Bug#8857) or reusing an arbitrary window
15417 on another frame.
15418 (display-buffer): Do not fall back on popping up a new frame in
15419 batch mode (Bug#8857).
15420
c5dd5a51
CY
154212011-06-14 Chong Yidong <cyd@stupidchicken.com>
15422
15423 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15424 (custom-theme-summary): New function.
15425 (customize-themes): Use it.
15426
d647b7c4
GM
154272011-06-13 Glenn Morris <rgm@gnu.org>
15428
15429 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15430
9481c002
MR
154312011-06-13 Martin Rudalics <rudalics@gmx.at>
15432
357f93d2
MR
15433 * help.el (help-window): Remove variable.
15434 (help-window-point-marker, temp-buffer-max-height)
15435 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15436 (help-print-return-message): Don't set help-window.
15437 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15438 (help-window-setup-finish): Remove.
15439 (help-window-display-message, help-window-setup)
15440 (with-help-window): Major rewrite based on new
15441 display-buffer-window variable.
15442
15443 * help-mode.el (help-mode-finish): Remove help-window related
15444 code.
15445
15446 * view.el (view-exits-all-viewing-windows): Remove reference to
15447 view-return-to-alist in doc-string.
15448 (view-return-to-alist): Make obsolete.
15449 (view-buffer): Call pop-to-buffer-same-window and remove
15450 undo-window code.
15451 (view-buffer-other-window): Call pop-to-buffer-other-window and
15452 simplify code. Ignore second argument.
15453 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15454 simplify code. Ignore second argument.
15455 (view-return-to-alist-update): Make obsolete.
15456 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15457 Rewrite using quit-restore window parameters.
2b75be67
SM
15458 (view-mode-exit): Rename second argument to EXIT-ONLY.
15459 Rewrite using quit-restore-window.
357f93d2
MR
15460 (View-exit, View-exit-and-edit, View-leave, View-quit)
15461 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15462 appropriate arguments.
15463 (view-end-message): Use quit-restore window parameter.
15464
9481c002
MR
15465 * window.el (display-buffer-function): Rewrite doc-string.
15466 (display-buffer-window, display-buffer-alist): New variables.
15467 (display-buffer-split-specifiers)
15468 (display-buffer-side-specifiers)
15469 (display-buffer-macro-specifiers): New constants.
15470 (display-buffer-even-window-sizes, display-buffer-set-height)
15471 (display-buffer-set-width, display-buffer-select-window)
15472 (display-buffer-in-window, display-buffer-reuse-window)
15473 (display-buffer-split-window-1, display-buffer-split-window)
15474 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15475 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15476 (display-buffer-in-side-window, normalize-buffer-to-display)
15477 (display-buffer-normalize-specifiers-1)
15478 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15479 (display-buffer-normalize-specifiers, display-buffer-frame):
15480 New functions.
9481c002
MR
15481 (display-buffer): Major rewrite.
15482 (display-buffer-other-window, display-buffer-other-frame)
15483 (pop-to-buffer, switch-to-buffer-other-window)
15484 (switch-to-buffer-other-frame): Rewrite.
15485 (display-buffer-same-window, display-buffer-same-frame)
15486 (display-buffer-same-frame-other-window)
15487 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15488 (pop-to-buffer-other-window)
15489 (pop-to-buffer-same-frame-other-window)
15490 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15491 (switch-to-buffer-other-window-same-frame): New functions.
15492 (same-window-p, special-display-p): Rewrite disabling warnings.
15493 Make obsolete.
15494 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15495 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15496 Make obsolete
15497 (same-window-buffer-names, same-window-regexps)
15498 (special-display-frame-alist, special-display-popup-frame)
15499 (special-display-function, special-display-buffer-names)
15500 (special-display-regexps, pop-up-frame-alist)
15501 (pop-up-frame-function, split-window-preferred-function)
15502 (split-height-threshold, split-width-threshold)
15503 (even-window-heights): Make obsolete.
15504
9db51aca
GM
155052011-06-12 Glenn Morris <rgm@gnu.org>
15506
15507 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15508 Misc simplifications.
9db51aca 15509
39cffb44
MR
155102011-06-12 Martin Rudalics <rudalics@gmx.at>
15511
15512 * window.el (window-safely-shrinkable-p): Restore function which
15513 was inadvertently removed in change from 2011-06-11. Declare as
15514 obsolete.
15515
2b75be67
SM
15516 * calendar/calendar.el (calendar-generate-window):
15517 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15518 window-safely-shrinkable-p.
15519
a8955be7
GM
155202011-06-12 Glenn Morris <rgm@gnu.org>
15521
15522 * progmodes/fortran.el (fortran-mode-syntax-table):
15523 * progmodes/f90.el (f90-mode-syntax-table):
15524 Set % to punctuation. (Bug#8820)
15525 (f90-find-tag-default): Remove, no longer needed.
15526
f0d4059d
DC
155272011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15528
15529 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15530
1100a63c
CY
155312011-06-11 Chong Yidong <cyd@stupidchicken.com>
15532
15533 * image.el (image-animated-p): Return animation delay in seconds.
15534 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15535 (image-animate-timeout): Remove DELAY argument. Don't assume
15536 every subimage has the same delay; get it from image-animated-p.
15537 (image-animate): Caller changed.
15538
def722bf
MA
155392011-06-11 Michael Albinus <michael.albinus@gmx.de>
15540
15541 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15542 to ignored backtrace functions.
15543
0a2bb1a9
GM
155442011-06-11 Glenn Morris <rgm@gnu.org>
15545
15546 * calendar/appt.el (appt-disp-window-function): Doc fix.
15547 (appt-check): Handle overlapping appointments. (Bug#8337)
15548
6198ccd0
MR
155492011-06-11 Martin Rudalics <rudalics@gmx.at>
15550
15551 * window.el (window-tree-1, window-tree): New functions, moving
15552 the latter to window.el.
15553 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15554 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15555 (bw-refresh-edges): Remove.
15556 (balance-windows-1, balance-windows-2): New functions.
15557 (balance-windows): Rewrite in terms of window tree functions,
15558 balance-windows-1 and balance-windows-2.
15559 (bw-adjust-window): Remove.
15560 (balance-windows-area-adjust): New function with functionality of
15561 bw-adjust-window but using resize-window.
2b75be67
SM
15562 (set-window-text-height): Rewrite doc-string.
15563 Use normalize-live-window and resize-window.
15564 (enlarge-window-horizontally, shrink-window-horizontally):
15565 Rename argument to DELTA.
6198ccd0
MR
15566 (window-buffer-height): New function.
15567 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15568 Rewrite using new window resize routines.
2b75be67
SM
15569 (kill-buffer-and-window, mouse-autoselect-window-select):
15570 Use ignore-errors instead of condition-case.
6198ccd0
MR
15571 (quit-window): Call delete-frame instead of delete-windows-on
15572 for the only buffer on frame.
15573
9397e56f
MR
155742011-06-10 Martin Rudalics <rudalics@gmx.at>
15575
15576 * loadup.el (top-level): Load window before files for the sake
15577 of replace-buffer-in-windows.
15578
15579 * files.el (read-buffer-to-switch)
15580 (switch-to-buffer-other-window)
2b75be67
SM
15581 (switch-to-buffer-other-frame, display-buffer-other-frame):
15582 Move to window.el.
9397e56f
MR
15583
15584 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15585 (previous-buffer): Move to window.el.
15586
15587 * bindings.el (unbury-buffer): Move to window.el.
15588
15589 * window.el (delete-other-windows-vertically): Move after
15590 definition of delete-other-windows.
15591 (other-window, delete-windows-on, replace-buffer-in-windows):
15592 Move here from window.c.
15593 (record-window-buffer, unrecord-window-buffer)
15594 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15595 (switch-to-next-buffer): New functions.
15596 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15597 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15598 (previous-buffer): Move here from simple.el.
15599 Call switch-to-prev-buffer.
9397e56f
MR
15600 (bury-buffer): Move here from buffer.c. Switch to previous
15601 buffer when window cannot be deleted.
15602 (unbury-buffer): Move here from bindings.el.
15603 (ctl-x-map): Move binding for other-window from window.c to
15604 here.
15605 (read-buffer-to-switch, switch-to-buffer-other-window)
15606 (switch-to-buffer-other-frame): Move here from files.el.
15607 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15608 (switch-to-buffer): Move here from buffer.c.
15609 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15610
562dd5e9
MR
156112011-06-10 Martin Rudalics <rudalics@gmx.at>
15612
15613 * window.el (window-min-height, window-min-width): Move here
15614 from window.c. Add defcustoms and rewrite doc-strings.
15615 (resize-mini-window, resize-window): New functions.
15616 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15617 Move here from window.c.
15618 (maximize-window, minimize-window): New functions.
15619 (delete-window, delete-other-windows, split-window): Move here
15620 from window.c.
15621 (window-split-min-size): New function.
15622 (split-window-keep-point): Mention split-window-above-each-other
15623 instead of split-window-vertically.
2b75be67 15624 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15625 Rename split-window-vertically to split-window-above-each-other
15626 and provide defalias for old definition.
15627 (split-window-side-by-side, split-window-horizontally):
15628 Rename split-window-horizontally to split-window-side-by-side
15629 and provide defalias for the old definition.
562dd5e9
MR
15630 (ctl-x-map): Move bindings for delete-window,
15631 delete-other-windows and enlarge-window here from window.c.
15632 Replace bindings for split-window-vertically and
15633 split-window-horizontally by bindings for
15634 split-window-above-each-other and split-window-side-by-side.
15635
15636 * cus-start.el (all): Remove entries for window-min-height and
15637 window-min-width. Add entries for window-splits and
15638 window-nest.
15639
f0da764a
GM
156402011-06-09 Glenn Morris <rgm@gnu.org>
15641
80675c21
GM
15642 * calendar/appt.el (appt-mode-line): New function.
15643 (appt-check, appt-disp-window): Use it.
15644
f0da764a
GM
15645 * files.el (hack-one-local-variable-eval-safep):
15646 Allow minor-modes with explicit +/-1 arguments.
15647
59f623b7
TZ
156482011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15649
15650 * term/xterm.el (xterm): Add defgroup.
15651 (xterm-extra-capabilities): Add defcustom to supply known xterm
15652 capabilities, skip querying them, or query them (default).
15653 (terminal-init-xterm): Use it.
15654 (terminal-init-xterm-modify-other-keys): New function to set up
15655 modifyOtherKeys support to simplify `terminal-init-xterm'.
15656
9aab8e0d
MR
156572011-06-09 Martin Rudalics <rudalics@gmx.at>
15658
15659 * window.el (resize-window-reset, resize-window-reset-1)
15660 (resize-subwindows-skip-p, resize-subwindows-normal)
15661 (resize-subwindows, resize-other-windows, resize-this-window)
15662 (resize-root-window, resize-root-window-vertically)
15663 (window-deletable-p, window-or-subwindow-p)
15664 (frame-root-window-p): New functions.
15665
e8b08aee
GM
156662011-06-09 Glenn Morris <rgm@gnu.org>
15667
15668 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15669 (ange-ftp-get-files): Use it.
15670
254c37a5
AK
156712011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15672
15673 * mail/sendmail.el (mail-recover-1, mail-recover):
15674 * files.el (recover-file, recover-session):
15675 Handle dired-listing-switches not being just a single short option.
15676
35d7dbd3
GM
156772011-06-09 Glenn Morris <rgm@gnu.org>
15678
15679 * calendar/appt.el (appt-display-message, appt-disp-window):
15680 Handle lists of appointments.
15681
387522b2
MR
156822011-06-08 Martin Rudalics <rudalics@gmx.at>
15683
2b75be67
SM
15684 * window.el (one-window-p): Move down in code.
15685 Rewrite doc-string.
15686 (window-current-scroll-bars): Rewrite doc-string.
15687 Normalize live window argument.
387522b2
MR
15688 (walk-windows, get-window-with-predicate, count-windows):
15689 Rewrite doc-string. Use window-list-1.
15690 (window-in-direction-2, window-in-direction, get-mru-window):
15691 New functions.
15692
d8e4b68b 156932011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15694
15695 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15696 Doc fix (Bug#8713).
15697
156982011-06-08 Chong Yidong <cyd@stupidchicken.com>
15699
15700 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15701
157022011-06-08 Juanma Barranquero <lekktu@gmail.com>
15703
15704 * loadhist.el (unload-feature-special-hooks):
15705 Add `comint-output-filter-functions'.
15706
0de12c52
IK
157072011-06-08 Ivan Kanis <gnu@kanis.fr>
15708
15709 * calendar/appt.el (appt-check): Move some initializations into the let.
15710
f3d1777e
MR
157112011-06-08 Martin Rudalics <rudalics@gmx.at>
15712
15713 * window.el (window-height): Defalias to window-total-height.
15714 (window-width): Defalias to window-body-width.
15715
18af70d0
CY
157162011-06-07 Chong Yidong <cyd@stupidchicken.com>
15717
15718 * image-mode.el (image-toggle-animation): New command.
15719 (image-mode-map): Bind it to RET.
15720 (image-mode): Update message.
15721 (image-toggle-display-image): Avoid a spurious cache flush.
15722 (image-transform-rotation): Doc fix.
15723 (image-transform-properties): Return quickly in the normal case.
15724 (image-animate-loop): Rename from image-animate-max-time.
15725
2b75be67 15726 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15727 (create-animated-image): Remove unnecessary function.
15728 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15729 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15730 (image-animate-timer): Use car-safe.
15731 (image-animate-timeout): Rename argument.
15732
190b47e6
MR
157332011-06-07 Martin Rudalics <rudalics@gmx.at>
15734
15735 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15736 window.c. Rename first argument to ALL-FRAMES.
15737 Rephrase doc-strings.
15738 (get-buffer-window-list): Rewrite using window-list-1.
15739 Rephrase doc-string.
a1511caf
MR
15740 (window-safe-min-height, window-safe-min-width): New constants.
15741 (window-size-ignore, window-min-size, window-min-size-1)
15742 (window-sizable, window-sizable-p, window-size-fixed-1)
15743 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15744 (window-max-delta-1, window-max-delta, window-resizable)
15745 (window-resizable-p, window-total-height, window-total-width)
15746 (window-body-width): New functions.
15747 (window-full-height-p, window-full-width-p): Rewrite using
15748 window-total-size.
15749 (window-body-height): Rewrite using window-body-size.
190b47e6 15750
85cc1f11
MR
157512011-06-06 Martin Rudalics <rudalics@gmx.at>
15752
15753 * window.el (window-right, window-left, window-child)
15754 (window-child-count, window-last-child, window-any-p)
15755 (normalize-live-buffer, normalize-live-frame)
15756 (normalize-any-window, normalize-live-window)
15757 (window-iso-combination-p, window-iso-combined-p)
15758 (window-iso-combinations)
15759 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15760 (windows-with-parameter, window-with-parameter)
15761 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15762 (window-atom-check, window-side-check, window-check):
15763 New functions.
85cc1f11
MR
15764 (ignore-window-parameters, window-sides, window-sides-vertical)
15765 (window-sides-slots): New variables.
15766 (window-size-fixed): Move down in code. Minor doc-string fix.
15767
e7156492
AS
157682011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15769
15770 * comint.el (comint-dynamic-complete-as-filename)
15771 (comint-dynamic-complete-filename): Correctly call
15772 completion-in-region.
15773
7e821d0d
DD
157742011-06-05 Deniz Dogan <deniz@dogan.se>
15775
15776 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15777 in last change.
15778
ac09b8a1
DD
157792011-06-05 Deniz Dogan <deniz@dogan.se>
15780
15781 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15782 (rcirc): Use it to prompt for encryption.
15783
34699b85
RW
157842011-06-05 Roland Winkler <winkler@gnu.org>
15785
15786 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15787 (bibtex-search-entries): New command bound to C-c C-a.
15788 (bibtex-display-entries): New function.
15789
004dedd3
RW
157902011-06-05 Roland Winkler <winkler@gnu.org>
15791
15792 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15793 (bibtex-insert-kill): After yanking insert newline if necessary.
15794 (bibtex-initialize): Call bibtex-string-files-init only once.
15795 (bibtex-mode): Do not call easy-menu-add.
15796 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15797 (bibtex-yank): Set arg properly if nil.
15798
022fe7ce
RW
157992011-06-05 Roland Winkler <winkler@gnu.org>
15800
2b75be67
SM
15801 * textmodes/bibtex.el (bibtex-search-entry-globally):
15802 New variable.
022fe7ce
RW
15803 (bibtex-search-entry): Use it.
15804
b7c3692a
RW
158052011-06-05 Roland Winkler <winkler@gnu.org>
15806
15807 * textmodes/bibtex.el (bibtex-entry-format): New option
15808 sort-fields.
15809 (bibtex-format-entry, bibtex-reformat): Honor this option.
15810 (bibtex-parse-entry): Return fields in proper order.
15811
8eda563d
JB
158122011-06-05 Juanma Barranquero <lekktu@gmail.com>
15813
15814 * doc-view.el (doc-view-remove-if): Move computation of result out
15815 of `dolist' to silence misleading lexical-binding warning.
15816
7dbe3dbc
CY
158172011-06-04 Chong Yidong <cyd@stupidchicken.com>
15818
15819 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15820 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15821
0c33dd17
MA
158222011-06-04 Michael Albinus <michael.albinus@gmx.de>
15823
15824 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15825 "SunOS 5.10".
15826
f8f91c2b
MA
158272011-06-04 Michael Albinus <michael.albinus@gmx.de>
15828
15829 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15830 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15831 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15832 (tramp-parse-putty):
15833 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15834 (tramp-completion-function-alist-ssh)
15835 (tramp-completion-function-alist-telnet)
15836 (tramp-completion-function-alist-su)
15837 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15838 cookie.
15839
15840 * net/tramp-ftp.el:
15841 * net/tramp-sh.el:
15842 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15843 load "tramp.el" `tramp-set-completion-function'.
15844
e17d9003
SM
158452011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15846
15847 * shell.el: Require and use pcomplete.
15848 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15849 (shell-completion-vars): Set pcomplete-default-completion-function.
15850
6c4cab03
DD
158512011-06-04 Deniz Dogan <deniz@dogan.se>
15852
15853 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15854 `memq' (Bug#8799).
15855
ea9fafe0
SM
158562011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15857
15858 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15859
b3e945d3
JB
158602011-06-02 Juanma Barranquero <lekktu@gmail.com>
15861
15862 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15863 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15864 * vc/log-view.el (log-view-beginning-of-defun):
15865 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15866 (smerge-refine-forward, smerge-refine-chopup-region):
15867 Silence warning for unused `dotimes' counter variables.
15868
7d520089
SM
158692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * net/tramp.el (tramp-with-progress-reporter): Rename from
15872 with-progress-reporter. Use `declare'.
15873 * net/tramp-smb.el:
15874 * net/tramp-sh.el:
15875 * net/tramp-gvfs.el: Update all uses.
15876
a1c2400f
JB
158772011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15878
15879 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15880 buffer isn't killed before making it current.
15881
2403c841
SM
158822011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15883
15884 Silence various byte-compiler warnings.
15885 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15886 `access-type' and new obsolescence format.
15887 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15888 new format.
15889 (byte-compile-check-variable): New `access-type' argument.
15890 Only warn if the access-type is obsolete.
15891 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15892 (byte-compile-variable-set): Adjust callers.
15893 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15894 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15895 setting it as obsolete.
15896 * simple.el (minibuffer-completing-symbol):
15897 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15898 access as obsolete.
15899 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15900 obsolete yet.
15901 * international/quail.el (quail-mouse-choose-completion): Remove unused
15902 code referring to obsolete var.
15903 (quail-choose-completion-string): Remove.
15904 * server.el (server-clients-with, server-kill-buffer-query-function)
15905 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15906 * proced.el (proced-send-signal):
15907 * emacs-lisp/lisp.el (lisp-complete-symbol):
15908 Replace completion-annotate-function with completion-extra-properties.
15909
2462470b
SM
159102011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15911
fb5b2591
SM
15912 * simple.el (goto-line): Use read-number.
15913 (overriding-map-is-bound): Remove.
15914 (saved-overriding-map): Change default.
15915 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15916 Take the map as argument.
15917 (universal-argument, negative-argument, digit-argument): Use it.
15918 (restore-overriding-map): Adjust.
15919 (do-auto-fill): Use fill-forward-paragraph.
15920 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15921
fd6fa53f
SM
15922 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15923 (minibuffer-inactive-mode): New major mode.
15924 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15925 the *Messages* buffer" hack.
15926 (mouse-popup-menubar): Don't burp if the event is a normal key.
15927
2462470b
SM
15928 Miscellaneous tweaks.
15929 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15930 lexical scoping as in subr.el's dolist and dotimes.
15931 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15932 Silence compiler warning.
15933 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15934 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15935 * international/ccl.el (ccl-compile): Trivial simplification.
15936 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15937 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15938 `printflag' argument.
15939 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15940 Purecopy the whole obsolescence data.
15941
108bf785
LL
159422011-06-01 Leo Liu <sdl.web@gmail.com>
15943
15944 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15945 improve doc-string as suggested by Marco Pessotto
15946 <melmothx@gmail.com>.
15947 (rcirc-print): Fix last change.
15948
30a23501
SM
159492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15950
15951 * minibuffer.el (complete-with-action): Return nil for the metadata and
15952 boundaries of non-functional tables.
15953 (completion-table-dynamic): Return nil for the metadata.
15954 (completion-table-with-terminator): Add default case, using
15955 complete-with-action.
15956 (completion--metadata): New function.
15957 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15958 to try and avoid pathological performance problems.
15959 (completion--embedded-envvar-table): Return `category' metadata.
15960
bcd54f83
LMI
159612011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15962
15963 * subr.el (process-alive-p): New tiny convenience function.
15964
e227544d
SM
159652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15966
15967 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15968 content but also its previous major mode.
15969
e8296fdc
HE
159702011-05-31 Helmut Eller <eller.helmut@gmail.com>
15971
4d61f28d 15972 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15973 *Backtrace* buffer when we exit with C-M-c.
15974
620c53a6
SM
159752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15976
15977 * minibuffer.el: Add metadata method to completion tables.
15978 (completion-category-overrides): New defcustom.
15979 (completion-metadata, completion--field-metadata)
15980 (completion-metadata-get, completion--styles)
15981 (completion--cycle-threshold): New functions.
15982 (completion-try-completion, completion-all-completions):
15983 Add `metadata' argument to choose completion-styles.
15984 (completion--do-completion): Use metadata to choose cycling.
15985 (completion-all-sorted-completions): Use metadata for sorting.
15986 Remove :completion-cycle-penalty which is not needed any more.
15987 (completion--try-word-completion): Add `metadata' argument.
15988 (minibuffer-completion-help): Check metadata for annotation function
15989 and sorting.
15990 (completion-file-name-table): Return `category' metadata.
15991 (minibuffer-completing-file-name): Make obsolete.
15992 * simple.el (minibuffer-completing-symbol): Make obsolete.
15993 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15994 completion-try-completion.
15995
1257e755
SM
159962011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15999
3767e706
LL
160002011-05-30 Leo Liu <sdl.web@gmail.com>
16001
16002 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16003 (rcirc-print): Decode all incoming messages (bug#8744).
16004 (rcirc-decode-coding-system): Allow value nil for automatic coding
16005 system detection.
3767e706 16006
d1a5d56a
GM
160072011-06-01 Glenn Morris <rgm@gnu.org>
16008
16009 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16010
e8cbec34
CY
160112011-05-29 Chong Yidong <cyd@stupidchicken.com>
16012
16013 * image.el (image-animate-max-time): Allow nil and t values.
16014 Default to nil.
16015 (create-animated-image): Doc fix.
16016 (image-animate-start): Remove second arg; just use
16017 image-animate-max-time.
16018 (image-animate-timeout): Doc fix. Args changed.
16019
16020 * image-mode.el (image-toggle-display-image): Ensure that the
16021 image spec passed to the animate timer is the same object as in
58179cce 16022 the buffer's display property (Bug#6981).
e8cbec34
CY
16023 (image-transform-properties): Doc fix.
16024
16025 * image.el (image-animate-max-time): Default to nil.
16026
159daf87
MR
160272011-05-29 Martin Rudalics <rudalics@gmx.at>
16028
16029 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16030 entire buffer list (Bug#8184).
16031
d66c4c7c
CY
160322011-05-29 Chong Yidong <cyd@stupidchicken.com>
16033
16034 * image.el (imagemagick-types-inhibit)
16035 (imagemagick-register-types): Doc fix.
16036
80aec780
DD
160372011-05-29 Deniz Dogan <deniz@dogan.se>
16038
16039 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16040 default.
16041
1dd3c2d9
CY
160422011-05-29 Chong Yidong <cyd@stupidchicken.com>
16043
16044 * select.el: Don't perform clipboard-manager saving in hooks;
16045 leave the hooks empty.
16046
60e56523
LL
160472011-05-28 Leo Liu <sdl.web@gmail.com>
16048
16049 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16050 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16051 (occur-edit-mode): New major mode (Bug#8463).
16052 (occur-after-change-function): New function.
16053 (occur-engine): Give Occur tags a read-only property.
16054
2b1e1a22
KR
160552011-05-28 Kevin Ryde <user42@zip.com.au>
16056
16057 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16058
5d344e88
CY
160592011-05-28 Chong Yidong <cyd@stupidchicken.com>
16060
8e6ca83d
CY
16061 * bindings.el (help-echo): Make the initial non-indicator dash
16062 empty on graphical terminals (Bug#7295).
16063
5d344e88
CY
16064 * files.el (auto-mode-alist): Move config rule after the
16065 in-stripping one (Bug#8547).
16066
bfbbace7
CY
16067 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16068
fbeba6e2
CY
16069 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16070 setting (Bug#8740).
16071
60ed8c72
AA
160722011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16073
4ac619f0
AA
16074 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16075 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16076 (Bug#8539).
60ed8c72 16077
23db196e
CY
160782011-05-28 Chong Yidong <cyd@stupidchicken.com>
16079
16080 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16081
5012f24c
DK
160822011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16083
16084 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16085 (hs-hide-block-at-point, hs-find-block-beginning)
16086 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16087 (Bug#8279).
16088
6a639b16
GM
160892011-05-28 Glenn Morris <rgm@gnu.org>
16090
16091 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16092
d43eaf2c
CY
160932011-05-28 Chong Yidong <cyd@stupidchicken.com>
16094
5199bde1
CY
16095 * help-fns.el (describe-function-1): If the function is a derived
16096 major mode, print the parent mode.
16097
d43eaf2c
CY
16098 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16099 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16100
423428a8
SM
161012011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16102
0ff8e1ba 16103 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16104 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16105 * progmodes/etags.el (tags-completion-at-point-function):
16106 * info-look.el (info-lookup-completions-at-point): Mark as
16107 non-exclusive.
16108 (info-complete): Adjust accordingly.
16109
423428a8
SM
16110 * info-look.el: Convert to lexical-binding and completion-at-point.
16111 (info-lookup-completions-at-point): New function.
16112 (info-complete): Use it and completion-in-region.
16113
b74aa22b
DA
161142011-05-28 Drew Adams <drew.adams@oracle.com>
16115
16116 * isearch.el: Let M-e start with point at the first mismatched char.
16117 (isearch-fail-pos): New function.
16118 (isearch-edit-string): Use it.
16119
66e2e71d
DK
161202011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16121
16122 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16123
b1890b0f 161242011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16125
16126 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16127 traversal functions for avl-trees.
16128 (avl-tree--stack): New struct.
16129 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16130 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16131 (avl-tree--do-enter): Add optional `updatefun' arg.
16132 Change return value.
eb95d01d 16133 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16134 (avl-tree--do-delete): Add `test' and `nilflag' args.
16135 Change return value.
eb95d01d
TC
16136 (avl-tree-member): Add optional `nilflag'
16137 (avl-tree-member-p): New function.
16138 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16139 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16140 (avl-tree-stack-empty-p): New functions.
16141
3769ddcf
TC
16142 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16143 avl-tree--del-balance1 and make it work both ways.
16144 (avl-tree--del-balance2): Remove.
16145 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16146 make it work both ways.
16147 (avl-tree--enter-balance2): Remove.
16148 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16149 New macros.
16150 (avl-tree--mapc, avl-tree-map): Add direction argument.
16151
eb95d01d 161522011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16153
16154 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16155
a9f737ee
CY
161562011-05-27 Chong Yidong <cyd@stupidchicken.com>
16157
16158 * select.el: Support clipboard managers with built-in function
16159 x-clipboard-manager-save, via delete-frame-functions and
16160 kill-emacs-hook.
16161 (xselect-convert-to-targets): Add MULTIPLE target to list.
16162 (xselect-convert-to-save-targets): New function.
16163
c92a1e54
KH
161642011-05-27 Kenichi Handa <handa@m17n.org>
16165
16166 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16167 let-binding rfc2047-encode-encoded-words to nil.
16168
e145f188
GM
161692011-05-27 Glenn Morris <rgm@gnu.org>
16170
5ec8a862
GM
16171 * mail/emacsbug.el: Don't require url-util.
16172
4b29d9fb
GM
16173 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16174
e145f188
GM
16175 * files.el (set-auto-mode):
16176 Also respect mode: entries at the end of the file. (Bug#8586)
16177
7d15102b
GM
161782011-05-26 Glenn Morris <rgm@gnu.org>
16179
98f593b8
GM
16180 * files.el (hack-local-variables-prop-line, hack-local-variables):
16181 Downcase mode names, as seems to be traditional.
27b48e63 16182 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16183
7d15102b
GM
16184 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16185 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16186
51d5b4ec
JD
161872011-05-25 Julien Danjou <julien@danjou.info>
16188
16189 * textmodes/rst.el (rst-define-level-faces): Do not define face
16190 symbol if it is already defined.
16191
91513f63
VB
161922011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16193
16194 * play/5x5.el (5x5-new-game, 5x5-randomize):
16195 Reset 5x5-solver-output to nil when a new grid is cast.
16196 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16197 these debugging traces, as defmacro breaks the compiled code.
16198
4d90d6d0
DK
161992011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16200
16201 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16202
e1b90ef6
LL
162032011-05-24 Leo Liu <sdl.web@gmail.com>
16204
16205 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16206 (vc-bzr-sha1): Adapt.
16207
d8e4b68b 16208 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16209
16210 * bindings.el: Provide sha1 feature.
16211
db0406bb 162122011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16213
16214 * mail/sendmail.el: Require `rfc2047'.
16215 (mail-insert-from-field): Do not perform RFC2047 encoding.
16216 (mail-encode-header): New function.
16217 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16218 buffer to the return value of select-message-coding-system.
16219 Call mail-encode-header.
b8d747b9
KH
16220
16221 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16222
db0406bb 162232011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16224
4d90d6d0
DK
16225 * mail/supercite.el (sc-default-cite-frame):
16226 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16227
eb8a5e9b
GM
162282011-05-24 Glenn Morris <rgm@gnu.org>
16229
f8630703
GM
16230 * progmodes/python.el (brm-menu): Declare.
16231
8831bbed
GM
16232 * emulation/viper.el (viper-set-hooks): Declare.
16233
eb8a5e9b
GM
16234 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16235 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16236 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16237 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16238 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16239 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16240
a2a25d24
SM
162412011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16242
16243 Add an :exit-function for completion-at-point.
16244
16245 * minibuffer.el (completion--done): New fun.
16246 (completion--do-completion): Use it. New arg `expect-exact'.
16247 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16248 since completion--do-completion does it for us now.
16249 (minibuffer-force-complete): Use completion--done and
16250 completion--replace. Handle sole-completion case with more care.
16251 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16252 (completion-extra-properties): New var.
16253 (completion-annotate-function): Make obsolete.
16254 (minibuffer-completion-help): Adjust accordingly.
16255 Use completion-list-insert-choice-function.
16256 (completion-at-point, completion-help-at-point):
16257 Bind completion-extra-properties.
16258 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16259 * simple.el (completion-list-insert-choice-function): New var.
16260 (completion-setup-function): Preserve it.
16261 (choose-completion): Pay attention to it, shuffle the code a bit.
16262 (choose-completion-string): New arg `insert-function'.
16263
16264 * textmodes/bibtex.el: Convert to lexical binding.
16265 (bibtex-mode-map): Use completion-at-point.
16266 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16267 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16268 (bibtex-complete): Define as obsolete alias.
16269 (bibtex-complete-internal): Remove.
16270 (bibtex-format-entry): Remove unused sub-group in regexp.
16271 * shell.el (shell--command-completion-data)
16272 (shell-environment-variable-completion):
16273 * pcomplete.el (pcomplete-completions-at-point):
16274 * comint.el (comint--complete-file-name-data): Use :exit-function
16275 instead of completion-table-with-terminator so it also works for
16276 choose-completion.
16277
e44e373d
SM
162782011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16279
4f91a816
SM
16280 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16281
782fc819
SM
16282 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16283 (bug#8710).
16284
e44e373d
SM
16285 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16286
381987c3
KM
162872011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16288
16289 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16290 customization variable and implement: If non-nil, auto-fill will
16291 be inhibited while on topic's header line.
16292
b776bc70
VB
162932011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16294
16295 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16296 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16297 always have a solution in grid size = 5 cases.
16298 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16299 (5x5-solver-output, 5x5-log-buffer): New vars.
16300 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16301 Make these variables buffer local to achieve 5x5 multi-session-ness.
16302 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16303 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16304 (5x5-solve-suggest): New funs.
16305 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16306 randomize a grid so that we ensure that there is always a solution.
16307 (5x5-make-random-grid): Allow other movement than flipping.
16308
7de88b6e
KR
163092011-05-23 Kevin Ryde <user42@zip.com.au>
16310
16311 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16312 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16313 advice and passes PREDICATE.
16314
b1ef1257
SM
163152011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16316
bbca48fe
SM
16317 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16318 byte-compile-lambda if it's actually a lambda.
16319
b1ef1257
SM
16320 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16321 Fix function quoting. Use backquote better.
16322
92a9cc65
YS
163232011-05-22 Yuanle Song <sylecn@gmail.com>
16324
16325 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16326 matching (Bug#8516).
16327
f0fb8059
JA
163282011-01-22 Jari Aalto <jari.aalto@cante.net>
16329
16330 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16331 different face (Bug#8178).
16332
d5b44c93
CY
163332011-05-22 Chong Yidong <cyd@stupidchicken.com>
16334
16335 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16336 defface (Bug#8144).
16337
79106a44
SM
163382011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16339
9c848d8a
SM
16340 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16341 funcall as well (bug#8712). Warn when performing those conversions.
16342 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16343
79106a44
SM
16344 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16345
88dfa756
GM
163462011-05-22 Glenn Morris <rgm@gnu.org>
16347
16348 * files.el (hack-local-variables-prop-line): Small simplifications.
16349 (hack-local-variables, hack-local-variables-prop-line):
16350 If MODE-ONLY, return the mode, rather than just `t'.
16351
b7cf2c79
SM
163522011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16353
16354 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16355
3f1a8558
GM
163562011-05-21 Glenn Morris <rgm@gnu.org>
16357
7e4ccca3
GM
16358 * files.el (hack-local-variables-prop-line, hack-local-variables):
16359 If only interested in the mode, don't bother doing the other stuff.
16360
637d46ca
GM
16361 * image-mode.el (image-after-revert-hook):
16362 Redraw all frames on which the image is visible. (Bug#8567)
16363
973d955b
GM
16364 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16365
3f1a8558
GM
16366 * wid-edit.el (widget-checklist-match-inline):
16367 Fix 2011-04-19 change. (Bug#8649)
16368
96479927
SM
163692011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16370
1dcf791f
SM
16371 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16372 Also allow singlespace after single-letter capitals followed by a dot.
16373
96479927
SM
16374 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16375 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16376
35fd0881
N
163772011-05-20 Nix <nix@esperi.org.uk>
16378
16379 * files.el (basic-save-buffer-2):
16380 Fix handling of break-hardlink-on-save with non-existent files.
16381
82745640
DD
163822011-05-19 Deniz Dogan <deniz@dogan.se>
16383
16384 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16385 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16386
4a720484
GM
163872011-05-19 Glenn Morris <rgm@gnu.org>
16388
d1f21341
GM
16389 * progmodes/f90.el (f90-type-def-re):
16390 Handle "type, bind(c)". (Bug#8691)
16391
4a720484
GM
16392 * emacs-lisp/autoload.el (batch-update-autoloads):
16393 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16394
2fb0a219
MA
163952011-05-18 Michael Albinus <michael.albinus@gmx.de>
16396
16397 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16398 property for the correct connection in case of multihops.
16399
e565dd37
GM
164002011-05-18 Glenn Morris <rgm@gnu.org>
16401
c2571358 16402 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16403 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16404
e565dd37
GM
16405 Rationalize calendar handling of day and month abbrev-arrays.
16406 * calendar/calendar.el (calendar-customized-p): New function.
16407 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16408 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16409 Add :set function.
16410 (calendar-abbrev-length, calendar-day-abbrev-array)
16411 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16412 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16413 Elements may no longer be nil.
16414 (calendar-day-name, calendar-month-name):
16415 Update for changed nature of abbrev arrays.
16416 * calendar/diary-lib.el (diary-name-pattern):
16417 Update for changed nature of abbrev arrays.
16418 (diary-mark-entries-1): Update calendar-make-alist calls.
16419 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16420 * calendar/cal-html.el (cal-html-day-abbrev-array):
16421 Simply inherit from calendar-day-abbrev-array.
16422
1d99a745
SM
164232011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16424
16425 * progmodes/grep.el (grep-mode): Disable default
16426 compilation-directory-matcher setting (bug#8684).
16427
7c1d9aa0
MA
164282011-05-17 Michael Albinus <michael.albinus@gmx.de>
16429
16430 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16431 instead of "head" and "tail". There were problems with SunOS 5.9,
16432 and it performs better.
16433
3952e9d8
GM
164342011-05-17 Glenn Morris <rgm@gnu.org>
16435
2dd12e7f
GM
16436 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16437
e4157b9c
GM
16438 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16439 Replace obsolete function.
16440
8e249bbd
GM
16441 * shell.el (pcomplete-parse-arguments-function): Declare.
16442
3952e9d8
GM
16443 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16444 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16445 (appt-check): Doc fixes.
16446 (appt-disp-window-function, appt-delete-window-function):
16447 Remove needless special case in custom :type.
16448 (appt-display-count): Default to 0, not nil.
16449 (appt-check): Reset appt-display-count to 0, not nil.
16450
c71a0d48 164512011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16452
c71a0d48
GM
16453 * progmodes/python.el (python-font-lock-keywords):
16454 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16455
31d55be9
SM
164562011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16457
16458 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16459
3bfacb2f
KR
164602011-05-16 Kevin Ryde <user42@zip.com.au>
16461
16462 * info-look.el (makefile-automake-mode): New setups, looking in
16463 automake manual, then makefile-mode.
16464 (makefile-mode): Remove automake manual, have it just in
16465 makefile-automake-mode since there's various things different or
16466 not relevant to plain make.
16467 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16468 believe a hypothetical automake-mode would go to makefile-mode,
16469 not the other way around.
16470
c8e83751
CY
164712011-05-15 Chong Yidong <cyd@stupidchicken.com>
16472
5e9e35cd
CY
16473 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16474 hunk-end tags (Bug#8672).
16475
c8e83751
CY
16476 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16477 vc-annotate-show-diff-revision-at-line (Bug#8671).
16478
50b23e5a
GM
164792011-05-14 Glenn Morris <rgm@gnu.org>
16480
7210a739
GM
16481 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16482 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16483 (change-log-font-lock-keywords): Also handle multiple author lines
16484 with leading tabs. (Bug#8644)
7210a739 16485
4691905a
GM
16486 * calendar/appt.el (appt-check): Rename some local variables.
16487 Some simplification/reordering.
16488
50b23e5a
GM
16489 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16490 (feedmail-sendmail-f-doesnt-sell-me-out)
16491 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16492 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16493 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16494 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16495 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16496 (feedmail-binmail-gnulinuxish-template):
16497 Rename from feedmail-binmail-linuxish-template.
16498 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16499 Use insert-buffer-substring.
16500
215cda7c
BC
165012011-05-14 Bill Carpenter <bill@carpenter.org>
16502
16503 * mail/feedmail.el (feedmail-patch-level): Increase.
16504 (feedmail-debug): New custom group.
16505 (feedmail-confirm-outgoing-timeout)
16506 (feedmail-sendmail-f-doesnt-sell-me-out)
16507 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16508 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16509 (feedmail-sender-line, feedmail-from-line)
16510 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16511 (feedmail-spray-this-address)
215cda7c
BC
16512 (feedmail-spray-address-fiddle-plex-list)
16513 (feedmail-queue-use-send-time-for-date)
16514 (feedmail-queue-use-send-time-for-message-id)
16515 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16516 (feedmail-buffer-eating-function):
16517 Doc fixes.
16518 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16519 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16520 (feedmail-message-action-scroll-down): New functions.
16521 (feedmail-queue-directory, feedmail-queue-draft-directory):
16522 Use expand-file-name.
16523 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16524 Remove C-v help entry.
16525 (feedmail-queue-buffer-file-name): New variable.
16526 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16527 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16528 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16529 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16530 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16531 (feedmail-message-action-toggle-spray)
16532 (feedmail-run-the-queue-no-prompts)
16533 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16534 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16535 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16536 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16537 (feedmail-envelope-deducer, feedmail-fiddle-from)
16538 (feedmail-fiddle-sender, feedmail-default-date-generator)
16539 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16540 (feedmail-fiddle-spray-address)
16541 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16542 (feedmail-fiddle-list-of-fiddle-plexes)
16543 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16544 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16545 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16546 Change default. Doc fix.
16547 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16548 (feedmail-binmail-linuxish-template): New constant.
16549 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16550 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16551 (feedmail-send-it): Add debug call.
16552 Use feedmail-queue-buffer-file-name, and
16553 feedmail-send-it-immediately-wrapper.
16554 (feedmail-message-action-send): Add debug call.
16555 Use feedmail-send-it-immediately-wrapper.
16556 (feedmail-queue-express-to-queue): Add debug call.
16557 Run feedmail-queue-express-hook.
16558 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16559 (feedmail-message-action-help-blat):
16560 Rename from feedmail-queue-send-edit-prompt-help-first.
16561 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16562 Check line-endings. Handle errors better.
16563 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16564 Doc fix. Add debug call.
16565 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16566 Use feedmail-queue-send-edit-prompt-inner.
16567 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16568 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16569 from feedmail-queue-send-edit-prompt.
16570 (feedmail-queue-send-edit-prompt-help)
16571 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16572 (feedmail-tidy-up-slug): Add debug call.
16573 Respect feedmail-queue-slug-suspect-regexp.
16574 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16575 (feedmail-dump-message-to-queue): Add debug call.
16576 Expand queue-directory.
16577 (feedmail-dump-message-to-queue): Change message slightly.
16578 Use feedmail-say-chatter.
16579 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16580 (feedmail-send-it-immediately-wrapper): New function.
16581 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16582 Insert empty string rather than newline. Handle full-frame case.
16583 Use catch/throw. Use feedmail-say-chatter.
16584 (feedmail-fiddle-from): Try mail-host-address.
16585 (feedmail-default-message-id-generator): Doc fix.
16586 Bind system-time-locale. Handle missing end.
16587 (feedmail-fiddle-x-mailer): Add debug call.
16588 Handle feedmail-x-mailer-line being nil.
16589 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16590 Add debug call. Use buffer-substring-no-properties.
16591 (feedmail-say-debug, feedmail-say-chatter): New functions.
16592 (feedmail-find-eoh): Give an explicit error.
16593
42c7e61e
UJ
165942011-05-13 Ulf Jasper <ulf.jasper@web.de>
16595
c2571358 16596 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16597 family from helvetica to sans.
c2571358 16598 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16599 etc/images/newsticker.
16600
c2571358 16601 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16602 family from helvetica to sans.
16603
16604 * net/newst-plainview.el (newsticker-new-item-face)
16605 (newsticker-old-item-face, newsticker-immortal-item-face)
16606 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16607 (newsticker-statistics-face): Change default family from
42c7e61e 16608 helvetica to sans.
c2571358 16609 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16610 etc/images/newsticker.
16611
5d3385a0
JB
16612 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16613 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16614 auto-marking.
16615
8497a297
DV
166162011-05-13 Didier Verna <didier@xemacs.org>
16617
16618 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16619 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16620 TODO entries.
8497a297
DV
16621 (lisp-lambda-list-keyword-parameter-indentation)
16622 (lisp-lambda-list-keyword-parameter-alignment)
16623 (lisp-lambda-list-keyword-alignment): New customizable user options.
16624 (lisp-indent-defun-method): Improve docstring.
16625 (extended-loop-p): Fix comment.
16626 (lisp-indent-lambda-list-keywords-regexp): New variable.
16627 (lisp-indent-lambda-list): New function.
16628 (lisp-indent-259): Use it.
16629 (lisp-indent-defmethod): Support for more than one
16630 method qualifier and properly indent methods lambda-lists.
16631 (defgeneric): Provide a missing common-lisp-indent-function property.
16632
f278f87f
SM
166332011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16634
16635 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16636 bounds for the empty string (bug#8667).
16637
5233edd7
GM
166382011-05-13 Glenn Morris <rgm@gnu.org>
16639
5237a44f
GM
16640 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16641
8340026c 16642 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16643 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16644
5233edd7 16645 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16646 (appt-time-msg-list): Doc fix.
a5464014 16647 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16648
92d10796
AS
166492011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16650
16651 * progmodes/ld-script.el (ld-script-keywords)
16652 (ld-script-builtins): Update keywords list.
16653
914a0ae1
SM
166542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16655
c89be45f
SM
16656 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16657
914a0ae1
SM
16658 * shell.el (shell-completion-vars): New function.
16659 (shell-mode):
16660 * simple.el (read-shell-command): Use it.
16661 (blink-matching-open): No need for " [...]" in minibuffer-message.
16662
98dc3df3
GM
166632011-05-12 Glenn Morris <rgm@gnu.org>
16664
16665 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16666 (appt-check): Simplify.
16667
d2fc7e3d 166682011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16669
4d61f28d 16670 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16671 literal "/dev/null".
16672
d2fc7e3d 166732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16674
16675 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16676 Fix typo.
16677
d2fc7e3d 166782011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16679
3f254caa
SM
16680 * progmodes/which-func.el (which-function):
16681 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16682 which might not be defined (Bug#8260).
16683
d45885f7
GM
166842011-05-12 Glenn Morris <rgm@gnu.org>
16685
16686 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16687 Let byte-compile-initial-macro-environment always take precedence.
16688
488086f4
SM
166892011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16690
16691 * net/rcirc.el: Add support for SSL/TLS connections.
16692 (rcirc-server-alist): New field `encryption'.
16693 (rcirc): Check `encryption' settings.
16694 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16695 Merge make-local-variable into `set'.
16696 (rcirc--connection-open-p): New function.
16697 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16698 the process is not a network process (e.g. running gnutls-cli).
16699 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16700 Make rcirc-(en|de)code-coding-system local here.
16701 (rcirc-mode): Merge make-local-variable into `set'.
16702 (rcirc-parent-buffer): Make permanent buffer-local.
16703 (rcirc-multiline-minor-mode): Don't do it here.
16704 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16705 there's no server buffer.
16706
7d3b9d44
GM
167072011-05-11 Glenn Morris <rgm@gnu.org>
16708
f64049c6
GM
16709 * newcomment.el (comment-kill): Prefix "unused" local.
16710
93c9df73
GM
16711 * term/w32console.el (get-screen-color): Declare.
16712
7d3b9d44
GM
16713 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16714 Handle symbol elements of byte-compile-initial-macro-environment.
16715
9e2dd53f
LL
167162011-05-10 Leo Liu <sdl.web@gmail.com>
16717
488086f4
SM
16718 * bookmark.el (bookmark-bmenu-mode-map):
16719 Bind bookmark-bmenu-search to `/'.
8b340240 16720
9e2dd53f 16721 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16722 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16723 (Footnote-unicode): New function.
16724 (footnote-style-alist): Add unicode style to the list.
16725 (footnote-style): Doc fix.
9e2dd53f 16726
79b70037
GM
167272011-05-10 Jim Meyering <meyering@redhat.com>
16728
16729 Fix doubled-word typos.
16730 * international/quail.el (quail-insert-kbd-layout): and and -> and
16731 * kermit.el: and and -> and
16732 * net/ldap.el (ldap-search-internal): to to -> to
16733 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16734 * progmodes/js.el (js-mode): and and -> and
16735 * textmodes/artist.el (artist-move-to-xy): at at -> at
16736 (artist-draw-region-trim-line-endings): if if -> if
16737 And Safetyc -> Safety.
16738 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16739
b8f82dc1 167402011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16741 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16742
16743 * files.el (hack-one-local-variable-eval-safep):
16744 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16745
4f99f44b
GM
167462011-05-10 Glenn Morris <rgm@gnu.org>
16747
16748 * calendar/diary-lib.el (diary-list-entries-hook)
16749 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16750 (diary-nongregorian-marking-hook, diary-list-entries)
16751 (diary-include-other-diary-files, diary-mark-entries)
16752 (diary-mark-included-diary-files): Doc fixes.
16753
84f29e6b
JB
167542011-05-09 Juanma Barranquero <lekktu@gmail.com>
16755
16756 * misc.el: Require tabulated-list.el during compilation.
16757
9bedd73a
CY
167582011-05-09 Chong Yidong <cyd@stupidchicken.com>
16759
488086f4
SM
16760 * progmodes/compile.el (compilation-start):
16761 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16762 (compilation-filter-hook): Doc fix.
16763
797c735c
DD
167642011-05-09 Deniz Dogan <deniz@dogan.se>
16765
16766 * wdired.el: Remove outdated installation comment. Fix usage
16767 comment.
16768
5f4b1dfe
JB
167692011-05-09 Juanma Barranquero <lekktu@gmail.com>
16770
16771 * misc.el: Implement new command `list-dynamic-libraries'.
16772 (list-dynamic-libraries--loaded-only-p): New variable.
16773 (list-dynamic-libraries--refresh): New function.
16774 (list-dynamic-libraries): New command.
16775
4c44026c
CY
167762011-05-09 Chong Yidong <cyd@stupidchicken.com>
16777
488086f4
SM
16778 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16779 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16780 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16781 higher priority to avoid clobbering by gnu.
16782
027f966d
CY
167832011-05-08 Chong Yidong <cyd@stupidchicken.com>
16784
16785 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16786 if the face has existing theme settings (Bug#8454).
16787
085f5d7d
CY
167882011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16789
488086f4
SM
16790 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16791 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16792
2a86a00c
RS
16793 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16794 special file names `.' and `..' (Bug#8259).
16795
d9c54a06
CY
167962011-05-08 Chong Yidong <cyd@stupidchicken.com>
16797
488086f4
SM
16798 * progmodes/grep.el (grep-mode-font-lock-keywords):
16799 Remove buffer-changing entries.
d9c54a06
CY
16800 (grep-filter): New function.
16801 (grep-mode): Add it to compilation-filter-hook.
16802
16803 * progmodes/compile.el (compilation-filter-hook)
16804 (compilation-filter-start): New defvars.
16805 (compilation-filter): Call compilation-filter-hook prior to
16806 updating the process mark.
16807
c4662635
SM
168082011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16809
16810 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16811
b0512a1d
EZ
168122011-05-07 Eli Zaretskii <eliz@gnu.org>
16813
605c9376
EZ
16814 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16815 mailclient-send-it even if window-system is nil. (Bug#8595)
16816
c4662635
SM
16817 * term/w32console.el (terminal-init-w32console):
16818 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16819 background-mode. (Bug#8597)
16820
d1dc2cc2
SM
168212011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16822
16823 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16824 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16825 New functions.
16826 (defgeneric, eieio--defmethod): Use them.
16827 (eieio-defgeneric): Remove.
16828 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16829
915d1300
GM
168302011-05-07 Glenn Morris <rgm@gnu.org>
16831
a3961c3e
GM
16832 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16833 Use let rather than let*.
16834 (timeclock-find-discrep): Remove unused local.
16835
314347b9
GM
16836 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16837
915d1300
GM
16838 * calendar/appt.el (appt-time-msg-list): Doc fix.
16839
275b59b0
NF
168402011-05-06 Noah Friedman <friedman@splode.com>
16841
16842 * apropos.el (apropos-print-doc): Only use
16843 emacs-lisp-docstring-fill-column when it is bound to an integer,
16844 per that variable's documentation.
16845
6c19f744
SM
168462011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16847
16848 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16849 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16850
60f884b2
GM
168512011-05-06 Glenn Morris <rgm@gnu.org>
16852
5006e634
GM
16853 * calendar/appt.el (appt-message-warning-time): Doc fix.
16854 (appt-warning-time-regexp): New option.
16855 (appt-make-list): Respect appt-message-warning-time.
16856
548d0a63
GM
16857 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16858 New options.
16859 (diary-add-to-list): Strip comments from the displayed string.
16860 (diary-mode): Set comment-start and comment-end.
16861
60f884b2
GM
16862 * vc/diff-mode.el (smerge-refine-subst): Declare.
16863 (diff-refine-hunk): Don't require smerge-mode when compiling.
16864
989681bb
JB
168652011-05-06 Juanma Barranquero <lekktu@gmail.com>
16866
16867 * simple.el (list-processes): Return nil as the docstring says.
16868
a6bc05e1
MA
168692011-05-05 Michael Albinus <michael.albinus@gmx.de>
16870
16871 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16872 to "".
16873 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16874 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16875 determining of binary transfer. (Bug#7383)
16876
23c22e9a
MA
168772011-05-05 Michael Albinus <michael.albinus@gmx.de>
16878
c4662635
SM
16879 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16880 Fix port computation bug. (Bug#8618)
23c22e9a 16881
0bff894f
GM
168822011-05-05 Glenn Morris <rgm@gnu.org>
16883
b8296902
GM
16884 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16885
1f522ce8
GM
16886 * simple.el (shell-dynamic-complete-functions)
16887 (comint-dynamic-complete-functions): Declare.
16888
cf5bee67
GM
16889 * net/network-stream.el (gnutls-negotiate):
16890 * simple.el (tabulated-list-print): Fix declarations.
16891
16892 * progmodes/gud.el (syntax-symbol, syntax-point):
16893 Remove unnecessary and incorrect declarations.
16894
0bff894f
GM
16895 * emacs-lisp/check-declare.el (check-declare-scan):
16896 Handle byte-compile-initial-macro-environment in bytecomp.el
16897
9869b3ae
SM
168982011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16899
16900 Fix earlier half-done eieio-defmethod change (bug#8338).
16901 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16902 Streamline and change calling convention.
16903 (defmethod): Adjust accordingly and simplify.
16904 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16905 new eieio--defmethod.
16906 (slot-boundp): Minor CSE simplification.
16907
9c1d5ac5
MZ
169082011-05-05 Milan Zamazal <pdm@zamazal.org>
16909
16910 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16911 (glasses-make-readable): Use glasses-separate-capital-groups.
16912
455c834e
JB
169132011-05-05 Juanma Barranquero <lekktu@gmail.com>
16914
16915 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16916 (warning-series): Doc fix.
16917 (display-warning): Don't try to create the buffer if we just found it.
16918
9ed7c8cb
CY
169192011-05-04 Chong Yidong <cyd@stupidchicken.com>
16920
16921 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16922 (autoload-find-generated-file): New function.
16923 (generate-file-autoloads): Bind generated-autoload-file to
16924 buffer-file-name.
9869b3ae
SM
16925 (update-file-autoloads, update-directory-autoloads):
16926 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16927 output file (Bug#7989).
16928 (batch-update-autoloads): Doc fix.
16929
0898ca10
JB
169302011-05-04 Juanma Barranquero <lekktu@gmail.com>
16931
16932 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16933
31dfb76c
GM
169342011-05-04 Glenn Morris <rgm@gnu.org>
16935
f330b642
GM
16936 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16937 function, so it follows changes in calendar-date-style.
16938 (diary-fancy-date-matcher): New function.
16939 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16940 (diary-fancy-font-lock-fontify-region-function):
16941 Use diary-fancy-date-pattern as a function.
16942
31dfb76c
GM
16943 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16944 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16945
48e79d6a
TZ
169462011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16947
16948 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16949 instead of positional arguments. Allow :keylist and :crlfiles
16950 arguments.
16951 (open-gnutls-stream): Call it.
16952
16953 * net/network-stream.el (network-stream-open-starttls): Adjust to
16954 call `gnutls-negotiate' with :process and :hostname arguments.
16955
dd5a5ee0
SM
169562011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16957
ef80fc09
SM
16958 * minibuffer.el (completion--message): New function.
16959 (completion--do-completion, minibuffer-complete)
16960 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16961 (completion--do-completion): Don't ignore completion-auto-help when in
16962 icomplete-mode.
16963
dd5a5ee0
SM
16964 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16965 internal encoding (e.g. tibetan zero is not whitespace).
16966 (global-whitespace-mode): Prefer save-current-buffer.
16967 (whitespace-trailing-regexp): Remove useless save-match-data.
16968 (whitespace-empty-at-bob-regexp): Minor simplification.
16969
b7d22a83
CY
169702011-05-03 Chong Yidong <cyd@stupidchicken.com>
16971
16972 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16973
5192af46
AM
169742011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16975
16976 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16977 Use `concat' to create string for insertion.
5192af46 16978
5767d190
SM
169792011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16980
16981 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16982 Avoid open-line which runs post-self-insert-hook.
16983 (bibtex-fill-entry): Remove unused `end' var.
16984
bf242939
AM
169852011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16986
5767d190
SM
16987 * textmodes/ispell.el (ispell-add-per-file-word-list):
16988 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 16989
25666126
LL
169902011-05-03 Leo Liu <sdl.web@gmail.com>
16991
16992 * isearch.el (isearch-yank-pop): New command.
5767d190 16993 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
16994 (isearch-forward): Mention it.
16995
52d3c2d0
SM
169962011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16997
1bcace58
SM
16998 * simple.el (minibuffer-complete-shell-command): Remove.
16999 (minibuffer-local-shell-command-map): Use completion-at-point.
17000 (read-shell-command): Setup completion vars here instead.
17001 (read-expression-map): Bind TAB to symbol completion.
17002
52d3c2d0
SM
17003 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17004 error directly rather via storing it into `results'.
17005
35813471
LL
170062011-05-02 Leo Liu <sdl.web@gmail.com>
17007
17008 * vc/diff.el: Fix description.
17009
e793a940
LMI
170102011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17011
17012 * server.el (server-eval-at): New function.
17013
8de66e05
LMI
170142011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17015
17016 * net/network-stream.el (open-network-stream): Take a :nowait
17017 parameter and pass it on to `make-network-process'.
17018 (network-stream-open-plain): Ditto.
17019
dcb79f20
AS
170202011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17021
17022 * faces.el (face-spec-set-match-display): Don't match toolkit
17023 options on terminal frames.
17024
14a7fbd8
SM
170252011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17026
7eabc1be
SM
17027 * progmodes/pascal.el: Use lexical binding.
17028 (pascal-mode-map): Remove author preferences.
17029
14a7fbd8
SM
17030 * pcomplete.el (pcomplete-std-complete): Don't abuse
17031 completion-at-point.
17032
50f84510
JB
170332011-04-28 Juanma Barranquero <lekktu@gmail.com>
17034
6e087a44
JB
17035 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17036 removing code that has been dead since 1991 or so.
17037
50f84510
JB
17038 * startup.el (command-line): When warning about "_emacs", use a
17039 delayed warning to allow the user to filter it out.
17040
0ba690bd
DD
170412011-04-28 Deniz Dogan <deniz@dogan.se>
17042
17043 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17044 user has not joined.
17045
08abfaad
SM
170462011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17047
17048 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17049 aren't any completions at point.
17050
638f053a
JB
170512011-04-28 Juanma Barranquero <lekktu@gmail.com>
17052
17053 * subr.el (display-delayed-warnings): New function.
17054 (delayed-warnings-hook): New variable.
17055
8fff8daa
SM
170562011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17057
08abfaad
SM
17058 * minibuffer.el (completion-at-point, completion-help-at-point):
17059 Don't presume that a given completion-at-point-function will always
17060 use the same calling convention.
17061
8fff8daa
SM
17062 * pcomplete.el (pcomplete-completions-at-point):
17063 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17064 pcomplete-seen is non-nil.
17065 (pcomplete-comint-setup): Also recognize the new comint/shell
17066 completion functions.
17067 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17068 pcomplete-seen is non-nil.
17069
841a1577 170702011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17071
841a1577 17072 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17073 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17074 the first character in the entry. This allows for code to add its
211ec907
UJ
17075 own uid to the entry.
17076 (icalendar--convert-float-to-ical): Add export of
17077 `diary-float'-entries save for those with the optional DAY
17078 argument.
17079
2a782793
DC
170802011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17081
17082 * subr.el (shell-quote-argument): Use alternate escaping strategy
17083 when we spot a variable reference in a string.
17084
0438ce91
DC
170852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17086
17087 * cus-start.el (all): Define customization for debug-on-event.
17088
841a1577 170892011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17090
17091 * subr.el (shell-quote-argument): Escape correctly under Windows.
17092
d090ed6c
SM
170932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17094
17095 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17096
bfd31217
MA
170972011-04-25 Michael Albinus <michael.albinus@gmx.de>
17098
d090ed6c
SM
17099 * net/tramp.el (tramp-process-actions): Add POS argument.
17100 Delete region between POS and (pos).
bfd31217 17101
d090ed6c
SM
17102 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17103 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17104 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17105
17106 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17107 position in `tramp-process-actions' call.
17108
17109 * net/trampver.el: Update release number.
17110
e92f3bd3
SM
171112011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17112
850256b5
SM
17113 * custom.el (defcustom): Obey lexical-binding.
17114
e92f3bd3
SM
17115 Fix octave-inf completion problems reported by Alexander Klimov.
17116 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17117 Inherit from octave-mode-syntax-table.
17118 (inferior-octave-mode): Set info-lookup-mode.
17119 (inferior-octave-completion-at-point): New function.
17120 (inferior-octave-complete): Use it and completion-in-region.
17121 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17122 comint-filename-completion.
17123 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17124 symbol elements which shouldn't be word elements.
17125 (octave-font-lock-keywords, octave-beginning-of-defun)
17126 (octave-function-header-regexp): Adjust regexps accordingly.
17127 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17128
cd22b309
JB
171292011-04-25 Juanma Barranquero <lekktu@gmail.com>
17130
17131 * net/gnutls.el (gnutls-errorp): Declare before first use.
17132
8b492194
TZ
171332011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17134
17135 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17136 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17137 default trustfile exists before going to use it. Add missing
5a5fa834 17138 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17139 Reported by Claudio Bley <claudio.bley@gmail.com>.
17140 (open-gnutls-stream): Add usage example.
17141
17142 * net/network-stream.el (network-stream-open-starttls): Give host
17143 parameter to `gnutls-negotiate'.
17144 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17145 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17146
841a1577 171472011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17148
cd22b309
JB
17149 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17150 Use correct match group (bug#8438).
05842630 17151
3ba7869c
CY
171522011-04-24 Chong Yidong <cyd@stupidchicken.com>
17153
512e3ae1
CY
17154 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17155 (package-menu--generate): New arg specifying packages to show.
17156 (package-menu-refresh, package-menu-execute, list-packages):
17157 Callers changed.
17158 (package-show-package-list): New function, replacing deleted
17159 package--list-packages (renamed because it is non-internal).
17160
17161 * finder.el (finder-list-matches): Use package-show-package-list
17162 instead of deleted package--list-packages.
17163
e92f3bd3
SM
17164 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17165 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17166 (vc-annotate-mode-map): Bind it to RET.
17167
7031be6d
UR
171682011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17169
17170 * progmodes/etags.el (next-file): Don't use set-buffer to change
17171 buffers (Bug#8478).
17172
4ef177aa
CY
171732011-04-24 Chong Yidong <cyd@stupidchicken.com>
17174
c8d173eb
CY
17175 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17176
4ef177aa
CY
17177 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17178 (apropos-accumulator): Doc fix.
17179 (apropos-function, apropos-macro, apropos-command)
17180 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17181 (apropos-plist): Add face property.
17182 (apropos-symbols-internal): Fix indentation.
17183 (apropos-print): Simplify help, and recognize apropos-multi-type.
17184 (apropos-print-doc): Use button-type-get to extract the button's
17185 face property. Fill docstring (Bug#8352).
17186
4ffd0d6b 171872011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17188
17189 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17190
c6c32125 17191 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17192 (mpuz-mode-map): Use mapc.
c6c32125
JB
17193 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17194 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17195 Fix typos in docstrings.
17196
58d468b4
JB
17197 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17198 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17199
6470c3c6
JB
17200 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17201
4ffd0d6b 172022011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17203
17204 * minibuffer.el (completion--do-completion): Avoid the "Next char
17205 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17206
3ad8bad0
CY
17207 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17208 mouse-2 into unread-command-events, it is interpreted correctly.
17209
71d73c9c 17210 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17211 (image-toggle-display): Doc fix.
71d73c9c 17212
841a1577 172132011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17214
4ffd0d6b
GM
17215 * textmodes/page.el (what-page): Use line-number-at-pos to
17216 calculate line number (Bug#6825).
6e1dbaa9 17217
c2fb1b60
JB
172182011-04-22 Juanma Barranquero <lekktu@gmail.com>
17219
17220 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17221 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17222 Pass argument NO-DEFAULT to `find-tag-interactive'.
17223
e02f48d7
JB
172242011-04-22 Juanma Barranquero <lekktu@gmail.com>
17225
17226 Lexical-binding cleanup.
17227
17228 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17229 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17230 * progmodes/ada-prj.el (ada-prj-initialize-values)
17231 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17232 (ada-prj-show-value):
17233 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17234 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17235 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17236 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17237 * progmodes/bug-reference.el (bug-reference-push-button):
17238 * progmodes/fortran.el (fortran-line-length):
17239 * progmodes/glasses.el (glasses-change):
17240 * progmodes/octave-mod.el (octave-fill-paragraph):
17241 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17242 (python-pdbtrack-grub-for-buffer, python-sentinel):
17243 * progmodes/sql.el (sql-save-connection):
17244 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17245 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17246 Mark unused parameters.
17247
17248 * progmodes/compile.el (compilation--flush-directory-cache)
17249 (compilation--flush-parse, compile-internal): Mark unused parameters.
17250 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17251 (compilation-next-error-function): Remove unused variable `timestamp'.
17252
17253 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17254 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17255
17256 * progmodes/dcl-mode.el (dcl-end-of-command):
17257 Remove unused variable `start'.
17258 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17259 (dcl-option-value-basic, dcl-option-value-offset)
17260 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17261 Mark unused parameters.
17262 (dcl-save-local-variable): Remove unused variable `val'.
17263 (mode): Declare.
17264
17265 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17266 Mark unused parameters.
17267 (delphi-ignore-changes): Move before first use.
17268 (delphi-charset-token-at): Remove unused variable `start'.
17269 (delphi-else-start): Remove unused variable `if-count'.
17270 (delphi-comment-block-start, delphi-comment-block-end):
17271 Remove unused variable `kind'.
17272 (delphi-indent-line): Remove unused variable `new-point'.
17273
17274 * progmodes/ebrowse.el (ebrowse-files-list)
17275 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17276 Mark unused parameters. Don't quote `lambda'.
17277 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17278 Don't quote `lambda'.
17279 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17280 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17281 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17282 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17283 Use `ignore-errors'.
17284 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17285 (ebrowse-view/find-file-and-search-pattern)
17286 (ebrowse-view/find-member-declaration/definition):
17287 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17288 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17289 Rename parameter PREFIX-ARG to PREFIX.
17290 (ebrowse-tags-read-name): Remove unused variables `start' and
17291 `member-info'.
17292 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17293 to `tags-file'.
17294
17295 * progmodes/etags.el (local-find-tag-hook): Declare.
17296 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17297 Mark unused parameters.
17298
17299 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17300 (executable-interpret): Mark unused parameter.
17301
17302 * progmodes/flymake.el (flymake-process-sentinel)
17303 (flymake-after-change-function)
17304 (flymake-create-temp-with-folder-structure)
17305 (flymake-get-include-dirs-dot): Mark unused parameters.
17306 (flymake-safe-delete-directory): Remove unused variable `err'.
17307
17308 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17309 (speedbar-timer-fn, speedbar-line-text)
17310 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17311 (speedbar-center-buffer-smartly): Declare functions.
17312 (gdb-find-watch-expression): Remove unused variable `array'.
17313 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17314 (gdb-starting): Mark unused parameters.
17315 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17316 (gdb-table-string): Remove unused variable `res'.
17317 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17318 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17319 (gdb-display-buffer): Remove unused variable `cur-size'.
17320
17321 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17322 allow lexical-binding compilation.
17323 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17324 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17325 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17326 Mark unused parameters.
17327 (gud-gdb-marker-filter): Remove unused variable `match'.
17328 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17329 lambda expressions and funcall them, instead of using `fset'.
17330
17331 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17332 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17333
17334 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17335 variable `header-beg'; use `let'.
17336
17337 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17338 `restart', `last-sexp' and `at-do'.
17339
17340 * progmodes/js.el (js--debug): Mark unused parameter.
17341 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17342 (js--splice-into-items): Remove unused variable `item'.
17343 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17344
17345 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17346 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17347 (makefile-complete): Remove unused variable `try'.
17348 (makefile-fill-paragraph, makefile-match-function-end):
17349 Mark unused parameters.
17350
17351 * progmodes/octave-inf.el (inferior-octave-complete):
17352 Remove unused variable `proc'.
17353 (inferior-octave-output-digest): Mark unused parameter.
17354
17355 * progmodes/perl-mode.el (perl-calculate-indent):
17356 Remove unused variable `err'.
17357
17358 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17359 (prolog-indent-line): Mark unused parameters.
17360 (prolog-indent-line): Remove unused variable `beg'.
17361
17362 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17363 (reporter-dont-compact-list): Declare.
17364
17365 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17366 Remove unused variable `char'.
17367 (sh-debug): Mark unused parameter.
17368 (sh-get-indent-info): Remove unused variable `start'.
17369 (sh-calculate-indent): Remove unused variable `var'.
17370
17371 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17372 (simula-electric-keyword): Remove unused variable `null'.
17373 (simula-search-backward, simula-search-forward): Remove unused
17374 variables `begin' and `end'.
17375
17376 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17377 Remove unused variable `pos'.
17378 (vera-electric-tab, vera-comment-uncomment-region):
17379 Mark unused parameters.
17380 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17381
7ede3b65
CY
173822011-04-22 Chong Yidong <cyd@stupidchicken.com>
17383
17384 * emacs-lisp/package.el (package--builtins, package-alist)
17385 (package-load-descriptor, package-built-in-p, package-activate)
17386 (define-package, package-installed-p)
17387 (package-compute-transaction, package-buffer-info)
17388 (package--push): Doc fix. Distinguish more clearly between
17389 version strings and version lists.
17390
121656e9
JB
173912011-04-21 Juanma Barranquero <lekktu@gmail.com>
17392
17393 Lexical-binding cleanup.
17394
17395 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17396 (5x5-make-mutate-best):
17397 * play/fortune.el (fortune-in-buffer):
17398 * play/gomoku.el (gomoku-init-display):
17399 * play/solitaire.el (solitaire, solitaire-do-check):
17400 * play/tetris.el (tetris-default-update-speed-function):
17401 Mark unused parameters.
17402
17403 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17404 (bubbles--shift): Remove unused variable `char-org'.
17405 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17406 (bubbles--show-images): Remove unused variable `char'.
17407
17408 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17409 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17410 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17411 (decipher-analyze-buffer): Use ?\s.
17412 (decipher-make-checkpoint): Remove unused variable `mapping'.
17413
17414 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17415
17416 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17417 Remove unused variable `result'; use `let'.
17418
17419 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17420 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17421 (gametree-children-shown-p, gametree-compute-reduced-score):
17422 Use `ignore-errors'.
17423
17424 * play/handwrite.el (ps-lpr-switches): Declare.
17425 (handwrite): Remove unused variables `pmin' and `lastp'.
17426
17427 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17428
17429 * play/landmark.el (landmark-init-display)
17430 (landmark-update-naught-weights): Mark unused parameters.
17431 (landmark-y): Remove unused variable `noise'. Simplify.
17432 (landmark-human-plays): Remove unused variable `score'.
17433
17434 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17435 (mpuz-try-proposal): Remove unused variable `game'.
17436
17437 * play/zone.el (life-patterns): Declare.
17438
80f499c7
JB
174392011-04-20 Juanma Barranquero <lekktu@gmail.com>
17440
17441 * vc/vc.el (ediff-vc-internal): Declare function.
17442
024ff170
SM
174432011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17444
c0a193ea
SM
17445 * shell.el: Use lexical-binding and std completion UI.
17446 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17447 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17448 comint-preoutput-filter-functions rather than on
17449 comint-output-filter-functions.
17450 (shell-command-completion, shell--command-completion-data)
17451 (shell-filename-completion, shell-environment-variable-completion)
17452 (shell-c-a-p-replace-by-expanded-directory): New functions.
17453 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17454 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17455 (shell-dynamic-complete-environment-variable): Use them.
17456 (shell-dynamic-complete-as-environment-variable)
17457 (shell-dynamic-complete-as-command): Remove.
17458 (shell-match-partial-variable): Match past point.
17459 * comint.el: Clean up use of completion-at-point-functions.
17460 (comint-completion-at-point): New function.
17461 (comint-mode): Use it completion-at-point-functions.
17462 (comint-dynamic-complete): Make it obsolete.
17463 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17464 (comint-c-a-p-replace-by-expanded-history): New function.
17465 (comint-dynamic-complete-functions)
17466 (comint-replace-by-expanded-history): Use it.
17467 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17468 termination strings. Try harder to avoid second try-completion.
17469 (completion-in-region-mode-map): Disable bindings that don't work yet.
17470
2dbaa080
SM
17471 * comint.el: Use lexical-binding. Require CL.
17472 (comint-dynamic-complete-functions): Use comint-filename-completion.
17473 (comint-completion-addsuffix): Tweak custom type.
17474 (comint-filename-completion, comint--common-suffix)
17475 (comint--common-quoted-suffix, comint--table-subvert)
17476 (comint--complete-file-name-data): New functions.
17477 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17478 (comint-dynamic-list-filename-completions): Use them.
17479 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17480
2dbaa080
SM
17481 * minibuffer.el (completion-in-region-mode):
17482 Keep completion-in-region-mode--predicate global.
17483 (completion-in-region--postch):
17484 Assume completion-in-region-mode--predicate is not null.
17485
c79a6f38
SM
17486 * progmodes/flymake.el (flymake-start-syntax-check-process):
17487 Obey `dir'. Simplify.
17488
024ff170
SM
17489 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17490 we're in VC after all.
17491
1c6c854e
CS
174922011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17493
17494 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17495 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17496 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17497
bed7f140
SM
174982011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17499
332e62ab
SM
17500 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17501 add sanity check.
17502
bed7f140
SM
17503 * obsolete/erc-hecomplete.el: Make obsolete.
17504 * obsolete/: Standardize obsolescence info in the header.
17505
f195c582
GM
175062011-04-20 Glenn Morris <rgm@gnu.org>
17507
17508 * calendar/solar.el (solar-horizontal-coordinates):
17509 Use the longitude argument rather than `calendar-longitude'.
17510 (solar-date-next-longitude): Remove unused locals.
17511
cb79b8c0
VJL
175122011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17513
17514 * whitespace.el: New version 13.2.1.
17515
175162011-04-20 felix <EmacsWiki> (tiny change)
17517
d8e4b68b 17518 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17519 switching between major modes on a file.
17520
602ea69d
SM
175212011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17522
17523 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17524 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17525 multi-line comments as well.
17526
06b60517
JB
175272011-04-19 Juanma Barranquero <lekktu@gmail.com>
17528
17529 Lexical-binding cleanup.
17530
17531 * arc-mode.el (archive-mode-revert):
17532 * cmuscheme.el (scheme-interactively-start-process):
17533 * custom.el (custom-initialize-delay):
17534 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17535 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17536 * emacs-lock.el (emacs-lock-clear-sentinel):
17537 * ezimage.el (defezimage):
17538 * follow.el (follow-avoid-tail-recenter):
17539 * fringe.el (set-fringe-mode-1):
17540 * generic-x.el (bat-generic-mode-compile):
17541 * help-mode.el (help-info-variable, help-do-xref)
17542 (help-mode-revert-buffer):
17543 * help.el (view-emacs-todo):
17544 * iswitchb.el (iswitchb-completion-help):
17545 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17546 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17547 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17548 * locate.el (locate-update):
17549 * longlines.el (longlines-encode-region)
17550 (longlines-after-change-function):
17551 * outline.el (outline-isearch-open-invisible):
17552 * ps-def.el (declare-function, charset-dimension, char-width)
17553 (encode-char):
17554 * ps-mule.el (ps-mule-plot-string):
17555 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17556 (recentf-edit-list-select, recentf-edit-list-validate)
17557 (recentf-open-files-action):
17558 * rect.el (delete-whitespace-rectangle-line)
17559 (rectangle-number-line-callback):
17560 * register.el (window-configuration-to-register)
17561 (frame-configuration-to-register):
17562 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17563 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17564 (xselect-convert-to-targets, xselect-convert-to-delete)
17565 (xselect-convert-to-filename, xselect-convert-to-charpos)
17566 (xselect-convert-to-lineno, xselect-convert-to-colno)
17567 (xselect-convert-to-os, xselect-convert-to-host)
17568 (xselect-convert-to-user, xselect-convert-to-class)
17569 (xselect-convert-to-name, xselect-convert-to-integer)
17570 (xselect-convert-to-atom, xselect-convert-to-identity):
17571 * subr.el (declare, ignore, process-kill-without-query)
17572 (text-clone-maintain):
17573 * terminal.el (te-get-char, te-tic-sentinel):
17574 * tool-bar.el (tool-bar-make-keymap):
17575 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17576 * type-break.el (type-break-mode, type-break-noninteractive-query):
17577 * view.el (View-back-to-mark):
17578 * wid-browse.el (widget-browse-action, widget-browse-widget)
17579 (widget-browse-widgets, widget-browse-sexp):
17580 * widget.el (define-widget-keywords):
17581 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17582 Mark unused parameters.
17583
17584 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17585 (align-areas): Remove unused variable `look'.
17586 (align-region): Remove unused variables `real-end' and `pos-list'.
17587
17588 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17589
17590 * bindings.el (mode-line-modified, mode-line-remote):
17591 Mark unused parameters.
17592 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17593
17594 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17595 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17596
17597 * comint.el (comint-history-isearch-pop-state)
17598 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17599 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17600 (comint-substitute-in-file-name): Doc fix.
17601
17602 * completion.el (cmpl-statistics-block): Mark unused parameter.
17603 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17604 (save-completions-to-file, load-completions-from-file):
17605 Remove unused local variable `e'.
17606
17607 * composite.el (compose-chars): Remove unused variable `len'.
17608 (lgstring-insert-glyph): Remove unused variable `g'.
17609 (compose-glyph-string): Remove unused variables `ascent',
17610 `descent', `lbearing' and `rbearing'.
17611 (compose-glyph-string-relative): Remove unused variables
17612 `lbearing', `rbearing' and `wadjust'.
17613 (compose-gstring-for-graphic): Remove unused variables `header',
17614 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17615 (compose-gstring-for-terminal): Remove unused variables `header'
17616 and `nchars'. Use `let', not `let*'.
17617
17618 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17619 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17620 (Custom-buffer-done, custom-buffer-create-internal)
17621 (custom-browse-visibility-action, custom-browse-group-tag-action)
17622 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17623 (widget-magic-mouse-down-action, custom-toggle-parent)
17624 (custom-add-parent-links, custom-toggle-hide-variable)
17625 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17626 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17627 (custom-face-menu-create, custom-variable-menu-create, get)
17628 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17629 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17630 (customize-apropos): Remove unused variable `tests'.
17631 (custom-group-value-create): Remove unused variable `hidden-p'.
17632 (sort-fold-case): Declare.
17633
17634 * cus-theme.el (custom-reset-standard-faces-list)
17635 (custom-reset-standard-variables-list): Declare.
17636 (customize-create-theme, custom-theme-revert, custom-theme-write)
17637 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17638 Mark unused parameters.
17639
17640 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17641
17642 * delim-col.el (delimit-columns-max): Move defvar before first use.
17643
17644 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17645 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17646
17647 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17648 (auto-insert): Declare.
17649 (desktop-restore-file-buffer): Rename desktop-* parameters;
17650 mark unused ones.
17651 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17652 (desktop-buffer): Rename desktop-* parameters.
17653
17654 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17655 (dframe-reposition-frame-xemacs, dframe-help-echo)
17656 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17657 Mark unused parameters.
17658
17659 * dired-aux.el (backup-extract-version-start, overwrite-query)
17660 (overwrite-backup-query, rename-regexp-query)
17661 (rename-non-directory-query): Declare.
17662 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17663 (dired-add-entry): Remove unused variable `orig-file-name'.
17664 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17665 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17666 `dired-copy-preserve-time' directly.
17667 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17668 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17669
17670 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17671 (dired-virtual-revert, dired-make-relative-symlink):
17672 Mark unused parameters.
17673 (manual-program): Declare.
17674 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17675 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17676 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17677
17678 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17679
17680 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17681
17682 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17683 Declare.
17684
17685 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17686
17687 * electric.el (Electric-command-loop): Rename parameter
17688 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17689
17690 * expand.el (expand-in-literal): Remove unused variable `here'.
17691
17692 * facemenu.el (facemenu-add-new-color):
17693 Remove unused variable `docstring'.
17694
17695 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17696 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17697 (face-attr-construct): Mark unused parameter. Doc fix.
17698 (read-color): Remove unused variable `hex-string'.
17699
17700 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17701 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17702 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17703 (display-buffer-other-frame): Remove unused variable `old-window'.
17704 (kill-buffer-hook): Declare.
17705 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17706 Mark unused parameters.
17707 (after-find-file): Pass 1 to `auto-save-mode', not t.
17708
17709 * files-x.el (auto-insert): Declare.
17710 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17711
17712 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17713 variable `buf'. Mark unused parameter.
06b60517
JB
17714 (find-lisp-insert-directory): Mark unused parameter.
17715
17716 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17717 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17718 (format-common-tail): Remove, unused.
17719 (format-deannotate-region): Remove unused variable `loc'.
17720 (format-annotate-region): Remove unused variable `p'.
17721 (format-annotate-single-property-change): Remove unused variables
17722 `default' and `tail'.
17723
17724 * forms.el (read-file-filter): Declare.
17725 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17726
17727 * frame.el (frame-creation-function-alist): Mark unused parameter.
17728 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17729
17730 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17731 Remove unused parameters.
17732 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17733 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17734
17735 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17736 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17737 (hfy-prepare-tag-map): Mark unused parameters.
17738 (htmlfontify-buffer): Use `called-interactively-p'.
17739
17740 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17741 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17742 (ibuffer-do-occur): Mark unused parameters.
17743 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17744 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17745
17746 * ibuffer.el: Don't quote `lambda'.
17747 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17748 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17749 Mark unused parameters.
17750
17751 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17752 (ido-completing-read): Mark unused parameters.
17753 (ido-copy-current-word): Mark unused parameters;
17754 remove unused variable `name'.
17755 (ido-sort-merged-list): Remove unused parameter `dirs'.
17756
17757 * ielm.el (ielm-input-sender): Mark unused parameter.
17758 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17759 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17760 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17761 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17762 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17763
17764 * image-dired.el (image-dired-display-thumbs): Remove unused
17765 variables `curr-file' and `count'.
17766 (image-dired-remove-tag): Remove unused variable `start'.
17767 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17768 variable `curr-file'
17769 (image-dired-rotate-original): Remove unused variable `temp-file'.
17770 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17771 Remove unused variable `file'.
17772 (image-dired-gallery-generate): Remove unused variable `curr'.
17773 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17774
17775 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17776
17777 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17778
17779 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17780
17781 * isearch.el (minibuffer-history-symbol): Declare.
17782 (isearch-edit-string): Remove unused variable `err'.
17783 (isearch-message-prefix, isearch-message-suffix):
17784 Mark unused parameters.
17785
17786 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17787
17788 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17789
17790 * makesum.el (double-column): Remove unused variable `cnt'.
17791
17792 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17793 (ido-ignore-item-temp-list): Declare.
17794
17795 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17796 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17797 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17798 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17799 `mouse-col-delta'.
17800
17801 * mouse-sel.el (mouse-extend-internal):
17802 Remove unused variable `orig-window-frame'.
17803
17804 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17805 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17806 Move declarations before first use.
17807 (pcomplete-opt): Mark unused parameters; doc fix.
17808
17809 * proced.el (proced-revert): Mark unused parameter.
17810 (proced-send-signal): Remove unused variable `err'.
17811
17812 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17813 Rename parameter PREFIX-ARG to ARG.
17814 (ps-basic-plot-string, ps-basic-plot-whitespace):
17815 Mark unused parameters.
17816
17817 * replace.el (replace-count): Define.
17818 (occur-revert-function): Mark unused parameters.
17819 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17820 (isearch-case-fold-search, isearch-string): Declare.
17821 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17822 bind `case-fold-search'. Remove unused variables `beg' and `end',
17823 and simplify.
17824 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17825 COUNT and bind `replace-count'.
17826 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17827 to COUNT.
17828
17829 * savehist.el (print-readably, print-string-length): Declare.
17830
17831 * shadowfile.el (shadow-expand-cluster-in-file-name):
17832 Remove unused variable `cluster'.
17833 (shadow-copy-file): Remove unused variable `i'.
17834 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17835 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17836 (shadow-define-literal-group, shadow-define-regexp-group)
17837 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17838
17839 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17840 (shell): Use `called-interactively-p'.
17841 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17842
17843 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17844 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17845 (delete-backward-char): Remove unused variable `ocol'.
17846 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17847 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17848 (event-apply-hyper-modifier, event-apply-shift-modifier)
17849 (event-apply-control-modifier, event-apply-meta-modifier):
17850 Mark unused parameters.
17851 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17852 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17853
17854 * speedbar.el (speedbar-ignored-directory-expressions)
17855 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17856 (speedbar-find-file, speedbar-dir-follow)
17857 (speedbar-directory-buttons-follow, speedbar-tag-find)
17858 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17859 (speedbar-buffers-line-directory, speedbar-buffer-click):
17860 Mark unused parameters.
17861 (speedbar-tag-file): Remove unused variable `mode'.
17862 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17863
17864 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17865
17866 * talk.el (talk): Remove unused variable `display'.
17867
17868 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17869 (tar-write-region-annotate): Mark unused parameter.
17870
17871 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17872 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17873 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17874 warning by another.
17875
17876 * time-stamp.el (time-stamp-string-preprocess):
17877 Remove unused variable `require-padding'.
17878
17879 * tree-widget.el (widget-glyph-enable): Declare.
17880 (tree-widget-action): Mark unused parameter.
17881
17882 * w32-fns.el (x-get-selection): Mark unused parameter.
17883 (autoload-make-program, generated-autoload-file): Declare.
17884
17885 * wdired.el (wdired-revert): Mark unused parameters.
17886 (wdired-xcase-word): Remove unused variable `err'.
17887
17888 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17889 (whitespace-help-scroll): Remove unused variable `data-help'.
17890
17891 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17892 (widget-image-insert, widget-after-change, default)
17893 (widget-default-format-handler, widget-default-notify)
17894 (widget-default-prompt-value, widget-info-link-action)
17895 (widget-url-link-action, widget-function-link-action)
17896 (widget-variable-link-action, widget-file-link-action)
17897 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17898 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17899 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17900 (widget-insert-button-action, widget-delete-button-action, visibility)
17901 (widget-documentation-link-action, widget-documentation-string-action)
17902 (widget-const-prompt-value, widget-regexp-match, symbol)
17903 (widget-coding-system-prompt-value)
17904 (widget-key-sequence-value-to-external, sexp)
17905 (widget-sexp-value-to-internal, character, vector, cons)
17906 (widget-choice-prompt-value, widget-boolean-prompt-value)
17907 (widget-color--choose-action): Mark unused parameters.
17908 (widget-item-match-inline, widget-choice-match-inline)
17909 (widget-checklist-match, widget-checklist-match-inline)
17910 (widget-group-match): Rename parameter VALUES to VALS.
17911 (widget-field-value-set): Remove unused variable `size'.
17912 (widget-color-action): Remove unused variables `value' and `start'.
17913
17914 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17915 variable `dir'. Doc fix.
06b60517
JB
17916 (windmove-find-other-window): Don't pass it.
17917
17918 * window.el (count-windows): Mark unused parameter.
17919 (bw-adjust-window): Remove unused variable `err'.
17920
17921 * woman.el (woman-file-name): Remove unused variable `default'.
17922 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17923 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17924 (global-font-lock-mode): Declare.
17925 (woman-decode-region): Mark unused parameter.
17926 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17927
17928 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17929 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17930 (x-dnd-handle-moz-url): Remove unused variable `title'.
17931 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17932
17933 * xml.el (xml-parse-tag, xml-parse-attlist):
17934 Remove unused variable `pos'.
17935
bc4f7f3d
GM
179362011-04-19 Glenn Morris <rgm@gnu.org>
17937
17938 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17939 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17940 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17941 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17942 * calendar/cal-html.el (cal-html-insert-minical):
17943 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17944 (calendar-mark-date-pattern):
17945 Prefix "unused" locals.
17946
17947 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17948 optional argument `style'.
17949
17950 * calendar/appt.el (appt-make-list):
17951 * calendar/cal-china.el (calendar-chinese-date-string):
17952 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17953 (diary-hebrew-yahrzeit):
17954 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17955 * calendar/calendar.el (calendar-generate-window):
17956 * calendar/time-date.el (time-to-days):
17957 Remove unused local variables.
17958
16a43933
CY
179592011-04-18 Chong Yidong <cyd@stupidchicken.com>
17960
17961 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17962 glyphless-char-display table.
17963 (tabulated-list-glyphless-char-display): New var.
17964
7eed1860
SS
179652011-04-18 Sam Steingold <sds@gnu.org>
17966
17967 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17968 to acknowledgments.
17969
4d2d1ccd
GM
179702011-04-17 Glenn Morris <rgm@gnu.org>
17971
17972 * calendar/diary-lib.el (diary-sexp-entry):
17973 * calendar/holidays.el (holiday-sexp):
17974 Set debug-on-error rather than the removed stack-trace-on-error.
17975
239da61d
GM
179762011-04-16 Glenn Morris <rgm@gnu.org>
17977
17978 * progmodes/f90.el: Use lexical-binding.
17979 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17980
8b05752a
SM
179812011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17982
daca8ba5
SM
17983 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17984 (mail-mode): Setup mailalias completion here instead.
17985 * mail/mailalias.el: Use lexical-binding.
17986 (pattern, mailalias-done): Declare dynamic.
17987 (mail-completion-at-point-function): New function, from mail-complete.
17988 (mail-complete): Use it.
17989 (mail-completion-expand): New function.
17990 (mail-get-names): Use it.
17991 (mail-directory, mail-directory-process, mail-directory-stream):
17992 Don't use `pattern' for lexically bound arg.
17993
6f542485
SM
17994 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17995
037e7c3f
SM
17996 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17997 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17998 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17999
8b05752a
SM
18000 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18001 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18002 (byte-interactive-p): Define them again, for use when inlining
18003 old code.
18004
49093f60
JB
180052011-04-15 Juanma Barranquero <lekktu@gmail.com>
18006
18007 * loadup.el: Use `string-to-number', not `string-to-int'.
18008
b5b8e7de
SM
180092011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18010
18011 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18012 gud-gdb-complete-command.
18013 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18014 (gud-gdb-completion-at-point): New function.
18015 (gud-gdb-completions): Remove.
18016
f42efeb5
MA
180172011-04-14 Michael Albinus <michael.albinus@gmx.de>
18018
49093f60
JB
18019 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18020 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18021 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18022 whether `executable-find' is bound.
f42efeb5
MA
18023
18024 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18025
e240cc21
SM
180262011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18027
18028 * minibuffer.el (completion-in-region-mode-predicate)
18029 (completion-in-region-mode--predicate): New vars.
18030 (completion-in-region, completion-in-region--postch)
18031 (completion-in-region-mode): Use them.
18032 (completion--capf-wrapper): Also return the hook function.
18033 (completion-at-point, completion-help-at-point):
18034 Adjust and provide a predicate.
c2bd2ab0
SM
18035
18036 Preserve arg names for advice of subr and lexical functions (bug#8457).
18037 * help-fns.el (help-function-arglist): Consolidate the subr and
18038 new-byte-code cases. Add argument `preserve-names' to extract names
18039 from the docstring when needed.
18040 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18041 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18042 (ad-arglist): Use help-function-arglist's new arg.
18043 (ad-definition-type): Use cond.
18044
c183f693
JB
180452011-04-13 Juanma Barranquero <lekktu@gmail.com>
18046
06641a47
JB
18047 * autorevert.el (auto-revert-handler):
18048 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18049 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18050 Don't quote lambda.
18051
c183f693
JB
18052 * image-mode.el (image-transform-set-scale):
18053 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18054
1e3b6001
G
180552011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18056
18057 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18058 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18059 Upgrades via gnutls-cli are too slow to be done opportunistically.
18060
2d6af8dd
JB
180612011-04-12 Juanma Barranquero <lekktu@gmail.com>
18062
18063 * dframe.el (dframe-current-frame): Remove spurious quote.
18064
c0749a51
GM
180652011-04-12 Glenn Morris <rgm@gnu.org>
18066
088d0d61
GM
18067 * calendar/cal-tex.el (cal-tex-end-document):
18068 Try to automatically use latin1 input if needed.
18069
c0749a51
GM
18070 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18071 Don't try to cons a mark onto an empty element.
18072
5c90fde0
LL
180732011-04-11 Leo Liu <sdl.web@gmail.com>
18074
18075 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18076 buffers.
18077 (ido-kill-buffer-at-head): Support killing virtual buffers.
18078
369e974d
CY
180792011-04-10 Chong Yidong <cyd@stupidchicken.com>
18080
18081 * minibuffer.el (completion-show-inline-help): New var.
18082 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18083 (minibuffer-force-complete, minibuffer-complete-word):
18084 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18085
18086 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18087 to avoid interference from inline help (Bug#5849).
18088
37f1c930
LL
180892011-04-10 Leo Liu <sdl.web@gmail.com>
18090
099c39a4
JB
18091 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18092 Fix typo.
37f1c930 18093
a32d4040
CY
180942011-04-09 Chong Yidong <cyd@stupidchicken.com>
18095
18096 * image-mode.el (image-toggle-display-image): Signal an error if
18097 not in Image mode.
18098 (image-transform-mode, image-transform-resize)
18099 (image-transform-set-rotation): Doc fix.
daca8ba5 18100 (image-transform-set-resize): Delete.
a32d4040
CY
18101 (image-transform-set-scale, image-transform-fit-to-height)
18102 (image-transform-fit-to-width): Handle image-toggle-display-image
18103 and image-transform-resize directly.
18104
099c39a4 181052011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18106
18107 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18108 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18109 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18110 (doc-view-mode-map): Add bindings for the new functions.
18111
099c39a4 181122011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18113
4d61f28d 18114 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18115 Fix typo in docstring.
18116
3726838a
EZ
181172011-04-08 Eli Zaretskii <eliz@gnu.org>
18118
04f33f1e
EZ
18119 * files.el (file-size-human-readable): Produce one digit after
18120 decimal, like "ls -lh" does.
18121
18122 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18123 the file size representation.
18124
3726838a
EZ
18125 * simple.el (list-processes): If async subprocesses are not
18126 available, error out with a clear error message.
18127
cbb59342
CY
181282011-04-08 Chong Yidong <cyd@stupidchicken.com>
18129
18130 * help.el (help-form-show): New function, to be called from C.
18131 Put help-form output in a buffer named differently than *Help*.
18132
e3971c44
EZ
181332011-04-08 Eli Zaretskii <eliz@gnu.org>
18134
18135 * files.el (file-size-human-readable): New function.
18136
18137 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18138 computing the representation inline. Don't require `cl'.
18139
12544bbe
GM
181402011-04-08 Glenn Morris <rgm@gnu.org>
18141
a1de6c6a
GM
18142 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18143
3c4671f4
GM
18144 * net/browse-url.el (browse-url-firefox):
18145 Test system-type, not system-configuration.
18146
b605679c
GM
18147 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18148 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18149 Use log-edit-empty-buffer-p. (Bug#7598)
18150
56442f0c
GM
18151 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18152 (rlogin-mode-map): Initialize in the defvar.
18153 (rlogin): Use ignore-errors.
18154
12544bbe
GM
18155 * replace.el (occur-mode-map): Some fixes for menu items.
18156
eb237b0f
AH
181572011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18158
18159 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18160
7d668f2c
CY
181612011-04-06 Chong Yidong <cyd@stupidchicken.com>
18162
e67a13ab
CY
18163 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18164 issuing unused warnings.
18165
18166 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18167 macro directly.
18168
7d668f2c
CY
18169 * simple.el: Lisp reimplement of list-processes. Based on an
18170 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18171 (process-menu-mode): New major mode.
18172 (list-processes--refresh, list-processes):
18173 (process-menu-visit-buffer): New functions.
18174
18175 * files.el (save-buffers-kill-emacs): Don't assume any return
18176 value of list-processes, which is undocumented anyway.
18177
a83ec3c9
CY
181782011-04-06 Chong Yidong <cyd@stupidchicken.com>
18179
18180 * emacs-lisp/tabulated-list.el: New file.
18181
e91a96fe
CY
18182 * emacs-lisp/package.el: Use Tabulated List mode.
18183 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18184 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18185 table format using Tabulated List mode variables.
18186 (package--push): New macro, replacing package-list-maybe-add.
18187 (package-menu--generate): Use package--push. Renamed from
18188 package--generate-package-list.
18189 (package-menu-refresh, list-packages): Use it.
daca8ba5 18190 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18191 Return insertion data instead of inserting it directly.
099c39a4
JB
18192 (package-menu-describe-package, package-menu-execute):
18193 Use tabulated-list-get-id.
e91a96fe
CY
18194 (package-menu-mark-delete, package-menu-mark-install)
18195 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18196 (package-menu-mark-obsolete-for-deletion):
18197 Use tabulated-list-put-tag.
e91a96fe
CY
18198 (package--list-packages, package-menu-revert)
18199 (package-menu-get-package, package-menu-get-version)
18200 (package-menu-sort-by-column): Functions deleted.
18201 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18202 (package-menu--status-predicate, package-menu--version-predicate)
18203 (package-menu--name-predicate)
18204 (package-menu--description-predicate): Handle arguments in the
18205 Tabulated List format.
18206 (package-list-packages-no-fetch): Call list-packages.
18207
3e214b50
JB
182082011-04-06 Juanma Barranquero <lekktu@gmail.com>
18209
18210 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18211 (after-find-file): Don't bind it.
3e214b50
JB
18212 (revert-buffer-in-progress-p): New variable.
18213 (revert-buffer): Bind it.
18214 Pass nil for `after-find-file-from-revert-buffer'.
18215
18216 * saveplace.el (save-place-find-file-hook): Use new variable
18217 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18218
3f0f1700
GM
182192011-04-06 Glenn Morris <rgm@gnu.org>
18220
c0274801
GM
18221 * Makefile.in (AUTOGEN_VCS): New variable.
18222 (autoloads): Use $AUTOGEN_VCS.
18223
3f0f1700
GM
18224 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18225 * calendar/calendar.el (calendar-mode-map):
18226 Check for toolkit scroll bars. (Bug#8305)
18227
41ea9e48
CY
182282011-04-05 Chong Yidong <cyd@stupidchicken.com>
18229
18230 * minibuffer.el (completion-in-region--postch)
18231 (completion-in-region-mode): Remove unnecessary messages.
18232
6194c800
JB
182332011-04-05 Juanma Barranquero <lekktu@gmail.com>
18234
33256f14
JB
18235 * font-lock.el (font-lock-refresh-defaults):
18236 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18237 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18238
6194c800
JB
18239 * info.el (Info-directory-list, Info-read-node-name-2)
18240 (Info-split-parameter-string): Doc fixes.
18241 (Info-virtual-nodes): Reflow docstring.
18242 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18243 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18244 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18245 Fix typos in docstrings.
18246 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18247 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18248 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18249 (Info-restore-desktop-buffer): Mark unused parameters.
18250 (Info-directory-find-file, Info-directory-find-node)
18251 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18252 (Info-virtual-index-find-node, Info-apropos-find-file)
18253 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18254 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18255 (Info-virtual-index): Remove unused local variable `nodename'.
18256
b87a8200 182572011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18258
b87a8200
DD
18259 * net/rcirc.el: Update my e-mail address.
18260 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18261
3b2ff876
CY
182622011-04-05 Chong Yidong <cyd@stupidchicken.com>
18263
18264 * startup.el (command-line): Save the cursor's theme-face
18265 directly, instead of using face-override-spec.
18266
18267 * custom.el (load-theme): Minor optimization in assigning faces.
18268
8d17e7ca
JB
182692011-04-04 Juanma Barranquero <lekktu@gmail.com>
18270
18271 * help-fns.el (describe-variable): Complete all variables having
18272 documentation, including keywords.
18273 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18274
2fbc1934
JB
182752011-04-04 Juanma Barranquero <lekktu@gmail.com>
18276
18277 Convert to lexical-binding.
18278
18279 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18280 (bs--get-marked-string, bs--get-modified-string)
18281 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18282 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18283 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18284
18285 * ehelp.el (electric-help-execute-extended)
18286 (electric-help-ctrl-x-prefix):
18287 * hexl.el (hexl-revert-buffer-function):
18288 * linum.el (linum-after-change, linum-after-scroll):
18289 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18290
18291 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18292
74f50695
DU
182932011-04-04 Daiki Ueno <ueno@unixuser.org>
18294
18295 * epa-dired.el:
18296 * epa-mail.el:
18297 * epa-hook.el:
18298 * epa-file.el:
18299 * epa.el:
18300 * epg.el: Use lexical binding.
18301
c11325f7
CY
183022011-04-03 Chong Yidong <cyd@stupidchicken.com>
18303
0d9e9a12
CY
18304 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18305
c11325f7 18306 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18307 dictionary case for flyspell-mark-duplications-exceptions.
18308 Use regexp matching for languages.
c11325f7
CY
18309 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18310 default dictionary (Bug#7926).
18311
da91b5f2
CY
183122011-04-02 Chong Yidong <cyd@stupidchicken.com>
18313
099c39a4
JB
18314 * emacs-lisp/package.el (package--with-work-buffer):
18315 Recognize https URLs.
da91b5f2 18316
099c39a4
JB
18317 * net/network-stream.el: Move from gnus/proto-stream.el.
18318 Change prefix to network-stream throughout.
da91b5f2
CY
18319 (open-protocol-stream): Merge into open-network-stream, leaving
18320 open-protocol-stream as an alias. Handle nil BUFFER args.
18321
18322 * subr.el (open-network-stream): Move to net/network-stream.el.
18323
afa8e9f6
GM
183242011-04-02 Glenn Morris <rgm@gnu.org>
18325
1d2e369d
GM
18326 * find-dired.el (find-exec-terminator): New option.
18327 (find-ls-option): Test for -ls support.
18328 (find-ls-subdir-switches): Test for -b in find-ls-option.
18329 (find-dired, find-grep-dired): Doc fixes.
18330 (find-dired): Use find-exec-terminator.
18331
8abb7da8 18332 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18333 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18334 (find-name-arg): Remove purecopy.
8abb7da8 18335
f3ca7378
GM
18336 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18337 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18338 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18339 accordingly. Don't add the null-device if not needed.
18340
afa8e9f6
GM
18341 * files.el (save-some-buffers): Doc fix.
18342
35eae264
EZ
183432011-04-02 Eli Zaretskii <eliz@gnu.org>
18344
18345 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18346
26b51db5
JB
183472011-04-01 Juanma Barranquero <lekktu@gmail.com>
18348
18349 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18350 Use `dolist' rather than `mapcar'.
18351
7200d79c
SM
183522011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18353
03408648 18354 Add lexical binding.
7200d79c 18355
03408648
SM
18356 * subr.el (apply-partially): Use new closures rather than CL.
18357 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18358 (dolist, dotimes): Use slightly different expansion for lexical code.
18359 (functionp): Move to C.
18360 (letrec): New macro.
18361 (with-wrapper-hook): Use it and apply-partially instead of CL.
18362 (eval-after-load): Preserve lexical-binding.
18363 (save-window-excursion, with-output-to-temp-buffer): Turn them
18364 into macros.
7200d79c 18365
03408648
SM
18366 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18367
18368 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18369 than the arglist.
18370 (help-add-fundoc-usage): Don't add `Not documented'.
18371 (help-function-arglist): Handle closures, subroutines, and new
18372 byte-code-functions.
18373 (help-make-usage): Remove leading underscores.
18374 (describe-function-1): Handle closures.
18375 (describe-variable): Use special-variable-p for completion.
18376
18377 * files.el (lexical-binding): Declare safe.
f488fb65 18378
03408648
SM
18379 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18380 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18381 (pcase): Add `let' pattern.
18382 Change memoization so it actually works.
18383 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18384 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18385 <let>: New case.
f488fb65 18386
03408648
SM
18387 * emacs-lisp/macroexp.el: Use lexical binding.
18388 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18389 Don't convert ' to #' without checking that it's indeed quoting
18390 a lambda.
18391
18392 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18393 Use eval-sexp-add-defvars.
03408648
SM
18394 (eval-sexp-add-defvars): New fun.
18395
18396 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18397
18398 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18399 Don't autoload.
18400 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18401 than the internal `byte-compile-lambda'.
18402 (defmethod): Don't hide code under quotes.
18403 (eieio-defmethod): New `code' argument.
18404
18405 * emacs-lisp/eieio-comp.el: Remove.
18406
18407 * emacs-lisp/edebug.el (edebug-eval-defun)
18408 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18409 (edebug-toggle): Avoid `eval'.
18410
18411 * emacs-lisp/disass.el (disassemble-internal): Handle new
18412 `closure' objects.
18413 (disassemble-1): Handle new byte codes.
18414
18415 * emacs-lisp/cl.el (pushnew): Silence warning.
18416
18417 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18418 (cl-byte-compile-throw): Remove.
18419 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18420
18421 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18422 closures.
18423
18424 * emacs-lisp/cconv.el: New file.
18425
18426 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18427 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18428 (byte-compile-initial-macro-environment):
18429 Handle declare-function here.
18430 (byte-compile--lexical-environment): New var.
18431 (byte-stack-ref, byte-stack-set, byte-discardN)
18432 (byte-discardN-preserve-tos): New lap codes.
18433 (byte-interactive-p): Don't use any more.
18434 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18435 New macros.
18436 (byte-compile-lapcode): Use them and handle new lap codes.
18437 (byte-compile-obsolete): Remove.
18438 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18439 (byte-compile-arglist-warn): Check late def of inlinable funs.
18440 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18441 since they should have been expanded by now.
18442 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18443 (byte-compile-from-buffer): Remove unused second arg.
18444 (byte-compile-preprocess): New function.
18445 (byte-compile-toplevel-file-form): New function to distinguish
18446 file-form calls from outside from file-form calls from hunk-handlers.
18447 (byte-compile-file-form): Simplify.
18448 (byte-compile-file-form-defsubst): Remove.
18449 (byte-compile-file-form-defmumble): Simplify now that
18450 byte-compile-lambda always returns a byte-code-function.
18451 (byte-compile): Preprocess.
18452 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18453 Remove, not used any more.
18454 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18455 (byte-compile-make-args-desc): New funs.
18456 (byte-compile-lambda): Handle lexical functions. Always return
18457 a byte-code-function.
18458 (byte-compile-reserved-constants): New var, to make up room for
18459 closed-over variables.
18460 (byte-compile-constants-vector): Obey it.
18461 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18462 (byte-compile-macroexpand-declare-function): New function.
18463 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18464 byte-code-functions.
18465 (byte-compile-form): Check obsolescence here.
18466 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18467 (byte-compile-variable-ref): Remove.
18468 (byte-compile-dynamic-variable-op): New fun.
18469 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18470 (byte-compile-variable-set): New funs.
18471 (byte-compile-discard): Add 2 args.
18472 (byte-compile-stack-ref, byte-compile-stack-set)
18473 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18474 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18475 macroexpand-all instead.
18476 (byte-compile-quote-form): Remove.
18477 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18478 (byte-compile-bind, byte-compile-unbind): New funs.
18479 (byte-compile-let): Handle let* and lexical binding.
18480 (byte-compile-let*): Remove.
18481 (byte-compile-catch, byte-compile-unwind-protect)
18482 (byte-compile-track-mouse, byte-compile-condition-case):
18483 Handle a new :fun-body form, used for lexical scoping.
18484 (byte-compile-save-window-excursion)
18485 (byte-compile-with-output-to-temp-buffer): Remove.
18486 (byte-compile-defun): Simplify.
18487 (byte-compile-stack-adjustment): New fun.
18488 (byte-compile-out): Use it.
18489 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18490
18491 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18492 handler any more.
18493
18494 * emacs-lisp/byte-opt.el: Use lexical binding.
18495 (byte-inline-lapcode): Remove (to bytecomp).
18496 (byte-compile-inline-expand): Pay attention to inlining to/from
18497 lexically bound code.
18498 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18499 any more.
18500 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18501 any more and don't call compiler-macros.
18502 (byte-compile-splice-in-already-compiled-code): Remove.
18503 (byte-code): Don't inline any more.
18504 (disassemble-offset): Receive `bytes' as argument rather than via
18505 dynamic scoping.
18506 (byte-compile-tag-number): Declare before first use.
18507 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18508 `return' even if make-spliceable.
18509 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18510 obsolete interactive-p.
18511 (byte-optimize-lapcode): Optimize new lap-codes.
18512 Don't trip up on new form of `byte-constant' lap code.
18513
18514 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18515
18516 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18517
18518 * custom.el (custom-initialize-default, custom-declare-variable):
18519 Use `defvar'.
18520
18521 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18522 New variables.
18523 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18524 (COMPILE_FIRST): Add macroexp and cconv.
18525 * makefile.w32-in: Mirror changes in Makefile.in.
18526
18527 * vc/cvs-status.el:
18528 * vc/diff-mode.el:
18529 * vc/log-edit.el:
18530 * vc/log-view.el:
18531 * vc/smerge-mode.el:
18532 * textmodes/bibtex-style.el:
090bd7cb 18533 * textmodes/css-mode.el:
03408648
SM
18534 * startup.el:
18535 * uniquify.el:
da91b5f2
CY
18536 * minibuffer.el:
18537 * newcomment.el:
18538 * reveal.el:
18539 * server.el:
18540 * mpc.el:
18541 * emacs-lisp/smie.el:
18542 * doc-view.el:
18543 * dired.el:
03408648
SM
18544 * abbrev.el: Use lexical binding.
18545
0f0c1f27
EZ
185462011-04-01 Eli Zaretskii <eliz@gnu.org>
18547
18548 * info.el (info-display-manual): New function.
18549
c82b2579
SM
185502011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18551
18552 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18553
221ddf68
TH
185542011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18555
18556 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18557 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18558
cba6e77e
GM
185592011-03-31 Glenn Morris <rgm@gnu.org>
18560
e040639f
GM
18561 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18562
cba6e77e
GM
18563 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18564
6d0f1c9e
CS
185652011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18566
18567 * progmodes/python.el (python-default-interpreter)
18568 (python-python-command-args, python-jython-command-args)
18569 (python-which-shell, python-which-args, python-which-bufname)
18570 (python-file-queue, python-comint-output-filter-function)
18571 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18572 variables and functions.
18573
3e2d70fd
SM
185742011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18575
18576 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18577 (completion-in-region-mode): New minor mode.
18578 (completion-in-region): Use it.
18579 (completion-in-region--data, completion-in-region-mode-map): New vars.
18580 (completion-in-region--postch): New function.
18581 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18582 New vars.
18583 (completion--capf-wrapper): New function.
18584 (completion-at-point): Use it to track well-behavedness of
18585 hook functions.
18586 (completion-help-at-point): New command.
18587
f3e4086c
JM
185882011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18589
18590 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18591 syntax class to search for whitespace on a single line
18592 (Message-ID: <4D938140.4030905@redhat.com>).
18593
eb7ffc14
LL
185942011-03-30 Leo Liu <sdl.web@gmail.com>
18595
18596 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18597 New commands.
18598 (edit-abbrevs-map): Bind them here.
18599 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18600
d806ab68
KM
186012011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18602
18603 * allout.el (allout-hide-by-annotation, allout-flag-region):
18604 Reduce possibility of overlay leakage by making them volatile.
18605
18606 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18607 hash is not shared between buffers. Mode initialization is
18608 responsible for giving it a useful starting value.
18609 (allout-item-span): Reduce possibility of overlay leakage by
18610 making them volatile.
18611 (allout-widgets-count-buttons-in-region): Add diagnostic function
18612 for tracking down button overlay leaks.
18613
ea622834
LL
186142011-03-29 Leo Liu <sdl.web@gmail.com>
18615
18616 * ido.el (ido-read-internal): Use the default history var
18617 minibuffer-history if no HISTORY is specified.
18618
b62f8267
G
186192011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18620
03408648
SM
18621 * net/imap.el (imap-shell-open, imap-process-connection-type):
18622 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18623 Kerberos, SSL, other subprocesses.
18624
947b6566
LL
186252011-03-28 Leo Liu <sdl.web@gmail.com>
18626
18627 * abbrev.el (abbrev-table-empty-p): New function.
18628 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18629 nonempty ones. (Bug#5937)
18630
5ffb62aa
JD
186312011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18632
18633 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18634
7a097943
LL
186352011-03-27 Leo Liu <sdl.web@gmail.com>
18636
18637 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18638 for foreground and background colors.
18639 (ansi-color-make-color-map): Adapt.
18640
c5b40130
LL
186412011-03-25 Leo Liu <sdl.web@gmail.com>
18642
1f48f7d2
LL
18643 * midnight.el (midnight-time-float): Remove. Note it calculates
18644 the microsecond component incorrectly and seconds-to-time does the
18645 same job.
625897ec 18646 Remove redundant (require 'timer).
1f48f7d2 18647
c5b40130
LL
18648 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18649 (ido-completions): Remove unused arguments. (Bug#8329)
18650
d86d2721
SM
186512011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18652
18653 * minibuffer.el (completion--flush-all-sorted-completions):
18654 Remove itself from hook.
18655 (completion-at-point): Let the functions perform the completion
18656 immediately and return nil or t.
18657 * comint.el (comint-dynamic-complete-functions): Now identical to
18658 completion-at-point-functions.
18659 (comint-dynamic-list-input-ring): Remove unused var `index'.
18660 (comint--match-partial-filename, comint--unquote&expand-filename):
18661 New funs, split from comint-match-partial-filename.
18662 (comint-dynamic-complete): Use completion-at-point.
18663 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18664
e8974c48
DA
186652011-03-24 Drew Adams <drew.adams@oracle.com>
18666
18667 * thingatpt.el: Support `defun'.
18668
def71b5e
LL
186692011-03-23 Leo Liu <sdl.web@gmail.com>
18670
cb5af48e
LL
18671 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18672
def71b5e
LL
18673 * help-mode.el (help-mode-finish): Tweak regexp.
18674
927c53e7
GM
186752011-03-23 Glenn Morris <rgm@gnu.org>
18676
18d05bed
GM
18677 * eshell/esh-opt.el (eshell-eval-using-options):
18678 Do not bind unused local variable `eshell-option-stub'.
18679
927c53e7
GM
18680 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18681
9d0da923
JB
186822011-03-22 Juanma Barranquero <lekktu@gmail.com>
18683
18684 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18685 keymap variable in `with-no-warnings' to avoid a warning when the
18686 keymap has been already `defconst'ed.
18687
4b978a67
LL
186882011-03-22 Leo Liu <sdl.web@gmail.com>
18689
18690 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18691 encode all chars in abbrevs; otherwise use emacs-mule or
18692 utf-8-emacs. (Bug#8308)
18693
5fd62452
JB
186942011-03-22 Juanma Barranquero <lekktu@gmail.com>
18695
0b1596c6
JB
18696 * simple.el (backward-delete-char-untabify):
18697 Avoid warning about using `delete-backward-char'.
18698
5fd62452
JB
18699 * image.el (image-type-file-name-regexps): Make it variable.
18700 `imagemagick-register-types' modifies it, and the user may want
18701 to add new extensions for known image types.
18702 (imagemagick-register-types): Throw error if not using ImageMagick.
18703
0b4e93f1
LL
187042011-03-22 Leo Liu <sdl.web@gmail.com>
18705
18706 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18707 located before rcirc-prompt-end-marker.
18708 (rcirc-complete): Error if point is not after rcirc prompt.
18709 Handle the case when table is nil.
9882e214 18710 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18711
fccee4ab
CY
187122011-03-22 Chong Yidong <cyd@stupidchicken.com>
18713
18714 * custom.el (custom--inhibit-theme-enable): Make it affect only
18715 custom-theme-set-variables and custom-theme-set-faces.
18716 (provide-theme): Ignore custom--inhibit-theme-enable.
18717 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18718 (custom-enabling-themes): Delete variable.
d86d2721
SM
18719 (enable-theme): Accept only loaded themes as arguments.
18720 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18721 (custom-enabled-themes): Forbid themes from setting this.
18722 Eliminate use of custom-enabling-themes.
18723 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18724
af896da6
LL
187252011-03-21 Leo Liu <sdl.web@gmail.com>
18726
18727 * ido.el (ido-read-internal): Add ido-selected to history instead
18728 of user input.
18729
78f64af0
SM
187302011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18731
18732 * subr.el (deferred-action-list, deferred-action-function):
18733 Mark obsolete.
18734
b16ac1ec
LL
187352011-03-21 Leo Liu <sdl.web@gmail.com>
18736
810f7698
LL
18737 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18738 change on 2011-02-13 (bug#8309).
18739
b16ac1ec
LL
18740 * minibuffer.el (read-file-name-function): Change default value.
18741 (read-file-name--defaults): Rename from read-file-name-defaults.
18742 (read-file-name-default): Rename from read-file-name.
18743 (read-file-name): Call read-file-name-function.
18744
4e05e67e
GM
187452011-03-21 Glenn Morris <rgm@gnu.org>
18746
18747 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18748 Doc fixes.
18749
4359915b
CY
187502011-03-21 Chong Yidong <cyd@stupidchicken.com>
18751
18752 * cus-theme.el: Add missing provide statement.
18753 (customize-create-theme): Extract theme value correctly.
18754 (custom-theme-visit-theme): Autoload.
18755 (customize-create-theme): Prompt before inserting default faces.
18756
1fe275ee
JB
187572011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18758
18759 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18760 units and musical notes.
18761
cd394be1 187622011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18763
18764 * ido.el (ido-read-internal): Use completing-read-default.
18765 (ido-completing-read): Fix compatibility with completing-read.
18766
7d476bde
CO
187672011-03-20 Christian Ohler <ohler@gnu.org>
18768
18769 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18770 (ert-delete-all-tests): Use `called-interactively-p' rather than
18771 `interactive-p'.
18772 (ert--make-xrefs-region): Respect END.
18773
fe0fb33e
CY
187742011-03-19 Chong Yidong <cyd@stupidchicken.com>
18775
ff854b0b
CY
18776 * dired-aux.el (dired-create-directory): Signal an error if the
18777 directory already exists (Bug#8246).
18778
fe0fb33e
CY
18779 * facemenu.el (list-colors-display): Call list-faces-display
18780 inside with-help-window.
18781 (list-colors-print): Use display property to align the final
18782 column, instead of checking window-width.
18783
576bce32
EZ
187842011-03-19 Eli Zaretskii <eliz@gnu.org>
18785
4d61f28d 18786 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18787 windows-nt systems.
18788 (emerge-protect-metachars): Quote correctly for ms-dos and
18789 windows-nt systems.
18790
89c41d68 187912011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18792
18793 * info.el (info-initialize): Replace all uses of `:' with
18794 path-separator for compatibility with non-Unix systems.
18795 Cache quoting of path-separator. (Bug#8258)
18796
b14e3e21 187972011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18798
18799 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18800 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18801 (mouse-avoidance-mode): Fix typos in docstrings.
18802
4525ce3e
CY
188032011-03-19 Chong Yidong <cyd@stupidchicken.com>
18804
18805 * startup.el (package-subdirectory-regexp): Move from package.el.
18806 Omit \\` and \\', and let callers add them.
18807
18808 * emacs-lisp/package.el (package-strip-version)
18809 (package-load-all-descriptors): Add \\` and \\' to
18810 package-subdirectory-regexp before using it.
18811 (package-untar-buffer): New arg DIR; ensure that file untars only
18812 into this expected directory. Remove superfluous delete-region.
18813 (package-unpack): Caller changed.
18814 (package-tar-file-info): Use package-subdirectory-regexp.
18815
a904a09a 188162011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18817
a904a09a
SM
18818 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18819 diff-mode-shared-map (bug#8284).
18820 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18821
188222011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18823
18824 * calendar/time-date.el (format-seconds): Use assoc instead of
18825 assoc-string, since assoc-string doesn't exist in XEmacs.
18826
171fc304
JB
188272011-03-17 Juanma Barranquero <lekktu@gmail.com>
18828
18829 * custom.el (custom-known-themes): Reflow docstring.
18830 (custom-theme-load-path): Fix typo in docstring.
18831 (load-theme): Fix typo in error message.
18832 (custom-available-themes, custom-variable-theme-value):
18833 Use `let', not `let*'.
18834
d71990a1
JB
188352011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18836
18837 * calc/README: Mention inclusion of musical notes.
18838
18839 * calc/calc-units.el (calc-lu-quant): Rename from
18840 `calc-logunits-quantity'.
18841 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18842 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18843 (calc-db): Rename from `calc-dblevel'.
18844 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18845 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18846 (calc-np): Rename from `calc-nplevel'.
18847 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18848 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18849 (calc-lu-plus): Rename from `calc-logunits-add'.
18850 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18851 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18852 (calc-lu-minus): Rename from `calc-logunits-sub'.
18853 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18854 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18855 (calc-lu-times): Rename from `calc-logunits-mul'.
18856 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18857 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18858 (calc-lu-divide): Rename from `calc-logunits-div'.
18859 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18860 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18861
18862 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18863 functions being autoloaded.
18864
18865 * calc/calc.el (calc-lu-power-reference): Rename from
18866 `calc-logunits-power-reference'.
18867 (calc-lu-field-reference): Rename from
18868 `calc-logunits-field-reference'.
18869
7a71b18d
GM
18870 * calc/calc-help.el (calc-l-prefix-help):
18871 Mention musical note functions.
d71990a1 18872
40c2934b
SM
188732011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18874
18875 * minibuffer.el (completion-all-sorted-completions):
18876 Use :completion-cycle-penalty text property if present.
18877
b0911414
KM
188782011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18879
18880 * allout.el (allout-yank-processing): Adjust for new rebulleting
18881 regime so bullet being yanked is used without prompting the user
18882 for a choice.
18883
8a05b668
JB
188842011-03-16 Juanma Barranquero <lekktu@gmail.com>
18885
18886 * startup.el (command-line): Warn the user that _emacs is deprecated.
18887
5ba5fb81
JB
188882011-03-16 Juanma Barranquero <lekktu@gmail.com>
18889
18890 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18891 (delphi-verbose, delphi-comment-face, delphi-string-face)
18892 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18893 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18894 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18895 (delphi-new-comment-line, delphi-font-lock-defaults)
18896 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18897 Fix typos in docstrings.
18898
2dab465b
KM
188992011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18900
5ba5fb81 18901 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18902 Invert the roles of character and string values for INSTEAD, so a
18903 string is used for the more common case of a defaulting prompt.
18904
0adf5618
SM
189052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18906
18907 * progmodes/ruby-mode.el (ruby-backward-sexp):
18908 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18909 * play/gamegrid.el (gamegrid-make-face):
18910 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18911 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18912 * notifications.el (notifications-notify):
18913 * net/xesam.el (xesam-search-engines):
18914 * net/quickurl.el (quickurl-list-insert):
18915 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18916
d72700e5
CY
189172011-03-15 Chong Yidong <cyd@stupidchicken.com>
18918
18919 * startup.el (command-line): Update package subdirectory regexp.
18920
49c5410a
SM
189212011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18922
c6eee9aa
SM
18923 * allout.el (allout-abbreviate-flattened-numbering)
18924 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18925
49c5410a
SM
18926 * subr.el (read-char-choice): Only show the cursor after the prompt,
18927 not after the answer.
18928
047b2bb9
KR
189292011-03-15 Kevin Ryde <user42@zip.com.au>
18930
18931 * help-fns.el (variable-at-point): Skip leading quotes, if any
18932 (bug#8253).
18933
0a57d256
SM
189342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18935
18936 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18937 warning message.
18938
77c992bc
MA
189392011-03-14 Michael Albinus <michael.albinus@gmx.de>
18940
18941 * shell.el (shell): When called interactively, offer to change the
18942 shell file name on remote hosts.
18943
eebc475d
TZ
189442011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18945
18946 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18947 integration for LDAP parameters. The host, base, user or binddn,
18948 and secret tokens can be specified in a netrc file, for instance.
18949 This is optional because an `auth-source' parameter must be
18950 specified in the search attributes.
18951
9d05d1ba
JB
189522011-03-13 Juanma Barranquero <lekktu@gmail.com>
18953
18954 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18955
09d9db2c
GM
189562011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18957
18958 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18959 into declaration. Remove redundant and harmful binding.
18960
189612011-03-12 Eli Zaretskii <eliz@gnu.org>
18962
18963 * files.el (file-ownership-preserved-p): Pass `integer' as an
18964 explicit 2nd argument to `file-attributes'. If the file's owner
18965 is the Administrators group on Windows, and the current user is
18966 Administrator, consider that a match.
18967
18968 * server.el (server-ensure-safe-dir): Consider server directory
18969 safe on MS-Windows if its owner is the Administrators group while
18970 the current Emacs user is Administrator. Use `=' to compare
18971 numerical UIDs, since they could be integers or floats.
18972
219bd536
JB
189732011-03-12 Juanma Barranquero <lekktu@gmail.com>
18974
18975 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18976
f3afd36b
MA
189772011-03-12 Michael Albinus <michael.albinus@gmx.de>
18978
18979 Sync with Tramp 2.2.1.
18980
18981 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18982
18983 * net/trampver.el: Update release number.
18984
3aaaa6f1
SM
189852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18986
94642599
SM
18987 * progmodes/compile.el (compilation--previous-directory): Fix up
18988 various nil/dead-marker mismatches (bug#8014).
18989 (compilation-directory-properties, compilation-error-properties):
18990 Don't call it at a position past the one we're about to change.
18991
3aaaa6f1
SM
18992 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18993 Disable obsolescence warnings in the file that declares it.
18994
14239447
KM
189952011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18996
099c39a4
JB
18997 * allout-widgets.el (allout-widgets-tally):
18998 Initialize allout-widgets-tally as a hash table rather than nil to
18999 prevent mode-line redisplay warnings. Also, clarify the module
19000 description and fix a comment typo.
14239447 19001
135e287c
JB
190022011-03-11 Juanma Barranquero <lekktu@gmail.com>
19003
19004 * help-fns.el (describe-variable): Don't complete keywords.
19005 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19006
ffbf300e
CY
190072011-03-10 Chong Yidong <cyd@stupidchicken.com>
19008
ba08b241
CY
19009 * emacs-lisp/package.el (package-version-join): Impose a standard
19010 string representation for pre/alpha/beta version lists.
19011 (package-unpack-single): Standardize the directory name by passing
19012 it through package-version-join.
19013 (package-strip-rcs-id): Accept any version string that does not
19014 signal an error in version-to-list.
ffbf300e 19015
f346fd6b
MA
190162011-03-10 Michael Albinus <michael.albinus@gmx.de>
19017
19018 * simple.el (delete-trailing-whitespace): Return nil for the
19019 benefit of `write-file-functions'.
19020
ccb55d27
GM
190212011-03-10 Glenn Morris <rgm@gnu.org>
19022
5ceaac0c
GM
19023 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19024
02da65ff
GM
19025 * vc/vc-git.el (vc-git-program): New option.
19026 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19027 (vc-git--call): Use it.
19028
b2f603cc
GM
19029 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19030
5772caab
GM
19031 * cus-edit.el (Custom-newline): If no button at point, look
19032 for a subgroup button at start-of-line. (Bug#2298)
19033
ccb55d27
GM
19034 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19035
ec6ecaed
JD
190362011-03-10 Julien Danjou <julien@danjou.info>
19037
19038 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19039 `cursor-type' is nil.
19040
9d5aa01d
JB
190412011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19042
19043 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19044
b6a5875b
KM
190452011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19046
7a71b18d 19047 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19048 preserves the existing header prefix, rebulleting it if necessary,
19049 rather than replacing it. This is necessary for proper operation
19050 of cooperative addons like allout-widgets.
1154d12e
JB
19051 (allout-make-topic-prefix, allout-rebullet-heading):
19052 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19053 value as alternate bullet to be used, instead of prompting the user
19054 for a bullet character.
b6a5875b 19055
ee545c35
MA
190562011-03-09 Michael Albinus <michael.albinus@gmx.de>
19057
d86d2721
SM
19058 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19059 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19060 `tramp-default-port'.
19061
c47971d7
DD
190622011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19063
19064 * net/rcirc.el (rcirc-handler-001): Remove useless
19065 with-rcirc-process-buffer.
19066 (rcirc-check-auth-status): Swap arguments to string-match.
19067
13522cb4
GM
190682011-03-09 Glenn Morris <rgm@gnu.org>
19069
0be6f4f1
GM
19070 * shell.el (shell-mode):
19071 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19072
13522cb4
GM
19073 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19074 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19075
515de2e3
CY
190762011-03-08 Chong Yidong <cyd@stupidchicken.com>
19077
19078 * emacs-lisp/package.el (package-refresh-contents)
19079 (package-menu-execute): Use condition-case-no-debug.
19080
b511b994
MA
190812011-03-08 Michael Albinus <michael.albinus@gmx.de>
19082
19083 * simple.el (shell-command-to-string): Use `process-file'.
19084
19085 * emacs-lisp/package.el (package-tar-file-info): Handle also
19086 remote files.
19087
d86d2721
SM
19088 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19089 Use `equal' for upload base check.
b511b994 19090
25bbfb31
AM
190912011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19092
19093 * textmodes/texinfo.el (texinfo-environments):
19094 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19095
be996521
GM
190962011-03-08 Glenn Morris <rgm@gnu.org>
19097
e9c8529f
GM
19098 * cus-start.el (cursor-in-non-selected-windows):
19099 Fix :set quoting oddness. (Bug#8192)
19100
be996521
GM
19101 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19102 in some setf expressions. (Bug#2159)
19103
2bb5649e
CY
191042011-03-08 Chong Yidong <cyd@stupidchicken.com>
19105
19106 * custom.el (custom-available-themes): Return themes in
19107 alphabetical order.
19108
33383987 19109See ChangeLog.15 for earlier changes.
e3d51b27
MR
19110
19111;; Local Variables:
19112;; coding: utf-8
e3d51b27
MR
19113;; End:
19114
acaf905b 19115 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19116
19117 This file is part of GNU Emacs.
19118
19119 GNU Emacs is free software: you can redistribute it and/or modify
19120 it under the terms of the GNU General Public License as published by
19121 the Free Software Foundation, either version 3 of the License, or
19122 (at your option) any later version.
19123
19124 GNU Emacs is distributed in the hope that it will be useful,
19125 but WITHOUT ANY WARRANTY; without even the implied warranty of
19126 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19127 GNU General Public License for more details.
19128
19129 You should have received a copy of the GNU General Public License
19130 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.