Move pid_t related decls out of lisp.h.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
095bb823
FEG
12012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2
3 * progmodes/python.el (python-indent-line): More consistent cursor
4 movement behavior.
5
70efc5c9
SM
62012-09-23 Stefan Merten <smerten@oekonux.de>
7
8 * textmodes/rst.el: Fix compiler warning.
9
2f438239
RW
102012-09-23 Roland Winkler <winkler@gnu.org>
11
12 * textmodes/bibtex.el (bibtex-autokey-transcriptions): Transcribe
13 also LaTeX hyphenation.
14 (bibtex-reformat): Bug fix. Do not quote twice the elements of
15 bibtex-reformat-previous-options.
16
936ad041
RW
172012-09-23 Roland Winkler <winkler@gnu.org>
18
19 * proced.el (proced-renice-command): New variable.
20 (proced-marked-processes): New function.
21 (proced-with-processes-buffer): New macro.
22 (proced-send-signal): Use them.
23 (proced-renice): New command bound to r.
24
6fab0274
RW
252012-09-23 Roland Winkler <winkler@gnu.org>
26
27 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
28 ibuffer-saved-filter-groups has one element, shortcut the call of
29 completing-read. (Bug#12331)
30
9a930676
CY
312012-09-23 Chong Yidong <cyd@gnu.org>
32
33 * bindings.el (mode-line-toggle-read-only):
34 * bs.el (bs-toggle-readonly):
35 * buff-menu.el (Buffer-menu-toggle-read-only):
36 * dired.el (dired-toggle-read-only):
37 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
38
d07ff9db
CY
392012-09-23 Chong Yidong <cyd@gnu.org>
40
41 * image.el (image-type-available-p): Adapt to init-image-library
42 argument changes.
43
51c4474e
JL
442012-09-22 Juri Linkov <juri@jurta.org>
45
46 * dired.el (dired-mode-map): Add [remap read-only-mode] for
47 `dired-toggle-read-only'. (Bug#12462)
48
43bf5e8e
MR
492012-09-22 Martin Rudalics <rudalics@gmx.at>
50
51 * subr.el (temp-output-buffer-show): New function.
52 (with-output-to-temp-buffer): Call temp-output-buffer-show
53 instead of internal-temp-output-buffer-show.
54
c88b867f
CY
552012-09-22 Chong Yidong <cyd@gnu.org>
56
3df47cd5
CY
57 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
58 (Bug#12462).
59
c88b867f
CY
60 * repeat.el (repeat): Doc fix (Bug#12348).
61
62 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
63 (Bug#10909).
64
65 * simple.el (shell-command-on-region): Doc fix.
3171e303 66 (read-only-mode): Doc fix.
c88b867f 67
df9685f3
EZ
682012-09-22 Eli Zaretskii <eliz@gnu.org>
69
70 * emacs-lisp/timer.el (run-with-idle-timer)
71 (timer-activate-when-idle): Warn against reinvoking an idle timer
72 from within its own timer action. (Bug#12447)
73
8e17c9ba
MR
742012-09-22 Martin Rudalics <rudalics@gmx.at>
75
76 * cus-start.el (window-combination-limit): Add new optional
77 values.
78 * window.el (temp-buffer-window-show)
79 (window--try-to-split-window): Handle new values of
80 window-combination-limit (Bug#1806).
81 (split-window): Test window-combination-limit for t instead of
82 non-nil.
83 (display-buffer-at-bottom): New buffer display action function.
84 * help.el (temp-buffer-resize-regexps): New option.
85 (temp-buffer-resize-mode): Rewrite doc-string.
86 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 87 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 88
48a24920
SM
892012-09-22 Stefan Merten <smerten@oekonux.de>
90
70efc5c9 91 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
92 (rst-official-version)
93 (rst-package-emacs-version-alist): Sync with official version
94 V1.4.0.
95 (rst-faces-defaults, rst-set-level-default)
96 (rst-level-face-max, rst-level-face-base-color)
97 (rst-level-face-base-light, rst-level-face-format-light)
98 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
99 (rst-adornment-faces-alist): Match new setup.
100 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
101 (rst-level-5, rst-level-6): New faces.
102
82f8cd94
CY
1032012-09-22 Chong Yidong <cyd@gnu.org>
104
105 * simple.el (undo): Handle indirect buffers (Bug#8207).
106
acfa068f 1072012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
108
109 IDO: Disable match re-ordering for buffer switching.
2bc9406c 110 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
111 (ido-set-matches-1): Use it. (Bug#2042)
112
acfa068f 1132012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
114
115 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
116 Fix 2011-05-17 change. (Bug#12418)
117
acfa068f 1182012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
119
120 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
121
acfa068f 1222012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
123
124 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
125 Be more robust about locating simple.el.
126
acfa068f 1272012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
128
129 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
130
acfa068f
CY
1312012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
132
133 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
134
41a97e6f
JL
1352012-09-20 Juri Linkov <juri@jurta.org>
136
eb2deaff
JL
137 * replace.el (query-replace-read-from): Use `read-regexp' instead
138 of `read-from-minibuffer' when `regexp-flag' is non-nil.
139 (occur-read-primary-args): Use `read-regexp' instead of
140 `read-string'.
141 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
142 `read-from-minibuffer'.
143 * isearch.el (isearch-occur): Use `read-regexp' instead of
144 `read-string'.
145 * dired.el (dired-read-regexp): Use `read-regexp' instead of
146 `read-from-minibuffer'.
147 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
148 of `read-string'. (Bug#7567)
149
5825610b
JL
150 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
151 and allow accepting a list of strings prepended to a list of
152 standard default values. Doc fix. (Bug#12321)
153
eebbf404
JL
154 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
155
41a97e6f
JL
156 * replace.el (read-regexp): Don't add ": " when PROMPT already
157 ends with a colon and space. (Bug#12321)
158
c9e452d3
TH
1592012-09-20 Tassilo Horn <tsdh@gnu.org>
160
161 * doc-view.el (doc-view-display): Better fix for the cl-assertion
162 error.
163
ee97deee
SM
1642012-09-20 Stefan Merten <smerten@oekonux.de>
165
70efc5c9 166 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
167 Fixes feature request bug#11711.
168 (rst-mode): Create `imenu-create-index-function'.
169 (rst-get-stripped-line): Delete after refactoring.
170 (rst-section-tree, rst-section-tree-rec)
171 (rst-section-tree-point): Refactor and document properly.
172 (rst-imenu-find-adornments-for-position)
173 (rst-imenu-convert-cell, rst-imenu-create-index): New
174 function.
175
f490dab9
SM
1762012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
177
95b9712e
SM
178 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
179 (macroexp--expand-all): Use it.
180 (macroexp--funcall-and-return): Remove by folding it into its sole
181 caller (macroexp--warn-and-return).
182 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
183 Use macroexp--obsolete-warning.
184
f490dab9
SM
185 * calc/calc.el: Fix last change by removing the whole chunk, since it
186 was only needed back when Calc was not bundled.
187
96e8d411
MR
1882012-09-20 Martin Rudalics <rudalics@gmx.at>
189
190 * emacs-lisp/debug.el (debug): Restore assignment to
191 debugger-old-buffer removed on 2012-09-08.
192
0876a82d
JL
1932012-09-20 Juri Linkov <juri@jurta.org>
194
195 * dired-aux.el (dired-diff): Remove (require 'diff) since
196 `diff-latest-backup-file' is now autoloaded.
197
9f7c28f0
CY
1982012-09-20 Chong Yidong <cyd@gnu.org>
199
200 * vc/diff.el (diff-latest-backup-file): Autoload.
201
7a04bee9
SM
2022012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
203
e6f0a80d
SM
204 * calc/calc.el: Remove redundant autoload shape check.
205 (sel-mode): Don't defvar.
206 (calc-get-stack-element): Add `sel-mode' arg instead.
207 (calc-top, calc-top-list): Pass it this additional argument.
208 * calc/calc-store.el (calc-store-map):
209 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
210 (calc-map-equation, calc-outer-product, calc-inner-product):
211 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
212
7a04bee9
SM
213 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
214
12734222
JL
2152012-09-19 Juri Linkov <juri@jurta.org>
216
217 * dired-aux.el (dired-diff): Add (require 'diff) because
218 `diff-latest-backup-file' is not autoloaded.
219 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
220 of `dired-get-filename' to t to not report error when there is
221 no default file on the current line.
222
46624b4f
SM
2232012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
224
ce97595b
SM
225 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
226 macroexp--eval-if-compile.
227 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
228 (macroexp--expand-all): Use them (bug#12371).
229
46624b4f
SM
230 * doc-view.el (doc-view-guess-paper-size)
231 (doc-view-scale-bounding-box): Fix unbound `caddr'.
232
db8a5a18
TH
2332012-09-19 Tassilo Horn <tsdh@gnu.org>
234
235 New feature: set optimal slice from BoundingBox information.
236 * doc-view.el (doc-view-mode-map): Add keybinding.
237 (doc-view-menu): Add menu entry.
238 (doc-view-set-slice): Adapt docstring.
239 (doc-view-get-bounding-box, doc-view-guess-paper-size)
240 (doc-view-scale-bounding-box)
241 (doc-view-set-slice-from-bounding-box): New functions.
242 (doc-view-paper-sizes): New defvar.
243
69f6644c
GM
2442012-09-19 Glenn Morris <rgm@gnu.org>
245
35f5b19d
GM
246 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
247 (byte-compile-log-warning): Autoload. (Bug#12371)
248
69f6644c
GM
249 * calendar/calendar.el (calendar-american-month-header)
250 (calendar-european-month-header, calendar-iso-month-header)
251 (calendar-month-header): New options.
252 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
253 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
254
e543ae91
JD
2552012-09-19 Jan Djärv <jan.h.d@swipnet.se>
256
257 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
258
2fd5e67d
JL
2592012-09-18 Juri Linkov <juri@jurta.org>
260
261 * dired-aux.el (dired-diff): Restore original functionality of
262 getting the default value, but keep new feature of using the
263 latest existing backup file (`diff-latest-backup-file').
264
42917e79
JL
2652012-09-18 Juri Linkov <juri@jurta.org>
266
267 * dired.el (dired-mark): If the region is active in Transient Mark
268 mode, mark all files in the active region. Doc fix.
269 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
270 Doc fix. (Bug#10624)
271
20f70ede
JL
2722012-09-18 Juri Linkov <juri@jurta.org>
273
274 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
275 attributes for M-n are pulled from the file at point.
276 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
277 Suggested by Drew Adams. (Bug#10624)
278
32fb8162
DG
2792012-09-18 Dmitry Gutov <dgutov@yandex.ru>
280
281 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
282 whitespace after "end".
283 (ruby-do-end-to-brace): Collapse block to one line if it fits
284 within fill-column.
285
37ab5092
MR
2862012-09-18 Martin Rudalics <rudalics@gmx.at>
287
288 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
289 value.
290 (debug): Don't remove debugger window when debugger is expected
291 to be back.
292
ed1f0bd3
CY
2932012-09-18 Chong Yidong <cyd@gnu.org>
294
295 * custom.el (defface): Doc fix.
296
297 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
298
a11035b8
MB
2992012-09-18 Martin Blais <blais@furius.ca> (tiny change)
300
301 * progmodes/compile.el (compilation-start): Use compilation-always-kill
302 to initialize query-on-exit; then test that instead (bug#12288).
303
64f6a736
SM
3042012-09-17 Stefan Merten <smerten@oekonux.de>
305
70efc5c9 306 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
307 (rst-defcustom-testcover, rst-testcover-add-compose)
308 (rst-testcover-add-1value): New functions.
309 (rst-portable-mark-active-p): Replace by `use-region-p'.
310 (rst-update-section, rst-classify-adornment)
311 (rst-find-title-line): Mark `1value' forms.
312 (rst-classify-adornment): Remove superfluous form.
313 (rst-update-section, rst-get-adornments-around)
314 (rst-adornment-complete-p, rst-get-next-adornment)
315 (rst-adjust, rst-promote-region)
316 (rst-display-adornments-hierarchy, rst-straighten-adornments)
317 (rst-find-pfx-in-region, rst-section-tree-rec)
318 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
319 (rst-toc-node, rst-toc, rst-forward-section)
320 (rst-iterate-leftmost-paragraphs)
321 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
322 (rst-bullet-list-region)
323 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
324 (rst-compile-find-conf, rst-compile)
325 (rst-repeat-last-character): Fix style.
326
580bd868
CY
3272012-09-17 Chong Yidong <cyd@gnu.org>
328
329 * comint.el (comint--complete-file-name-data): Don't add a space
330 if the status is `sole'; that adds a gratuitous space in the
331 completion-cycling case (Bug#12092).
332
333 * pcomplete.el (pcomplete-completions-at-point): Likewise.
334
69de3ec6
RS
3352012-09-17 Richard Stallman <rms@gnu.org>
336
0dee970c
RS
337 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
338 only in the mime-shown mode, not in raw mode.
339 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 340 mime processing. (Bug#12305)
0dee970c 341
6b250df6
GM
342 * mail/rmail.el (rmail-retry-failure):
343 Turn off mime processing first. (Bug#12037)
acb1c47b 344
69de3ec6
RS
345 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
346
d079ee5f
CY
3472012-09-17 Chong Yidong <cyd@gnu.org>
348
349 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
350 (shell-dynamic-complete-functions): Convert to defcustom.
351 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
352
865fe16f
CY
353 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
354 * comint.el (comint-prompt-read-only):
355 * custom.el (defcustom):
356 * hi-lock.el (hi-lock-mode):
357 * ibuffer.el (ibuffer-formats):
358 * ielm.el (ielm-prompt-read-only):
359 * novice.el (disable-command):
360 * saveplace.el (toggle-save-place):
361 * speedbar.el (speedbar-supported-extension-expressions):
362 * startup.el (auto-save-list-file-prefix, init-file-user)
363 (after-init-hook, inhibit-startup-echo-area-message):
364 * strokes.el (strokes-help):
365 * time-stamp.el (time-stamp):
366 * calendar/calendar.el (calendar, diary-file):
367 * calendar/diary-lib.el (diary-mail-entries, diary)
368 (diary-list-entries-hook):
369 * calendar/holidays.el (holidays, calendar-holidays):
370 * calendar/lunar.el (lunar-phases):
371 * calendar/solar.el (sunrise-sunset):
372 * emulation/edt.el (edt-load-keys):
373 * emulation/viper.el (viper-mode):
374 * eshell/em-alias.el (eshell-command-aliases-list):
375 * eshell/esh-util.el (eshell-convert-numeric-arguments):
376 * international/ogonek.el (ogonek-information):
377 * net/tramp-cmds.el (tramp-bug):
378 * net/quickurl.el (quickurl-reread-hook-postfix):
379 * play/decipher.el (decipher-font-lock-keywords):
380 * progmodes/cc-styles.el (c-set-style):
381 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
382 * progmodes/inf-lisp.el (inferior-lisp-prompt):
383 * progmodes/octave-mod.el (octave-mode):
384 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
385 * progmodes/verilog-mode.el (verilog-read-defines):
386 * textmodes/two-column.el (2C-mode): Likewise.
387
48093eb9
KY
3882012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
389
390 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
391 that holds many addresses.
392
c584eaf9
CY
3932012-09-16 Chong Yidong <cyd@gnu.org>
394
40d70ecb
CY
395 * align.el (align-areas): Call the indication function with
396 positions instead of markers for arguments (Bug#12343).
397
1667e065
CY
398 * files.el (parse-colon-path): Use split-string (Bug#12351).
399
fdc2806d 400 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 401 (display-buffer-function): Mark as obsolete.
fdc2806d 402
f1be615c 403 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
404 values similar to font-lock-keywords (Bug#12136).
405 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
406 (compilation-error-regexp-alist): Doc fix.
407
f40a9709
GM
4082012-09-15 Glenn Morris <rgm@gnu.org>
409
72aa16e1
GM
410 * version.el (emacs-bzr-version-bzr): New function.
411 (emacs-bzr-get-version): Add optional EXTERNAL argument.
412
82375160
GM
413 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
414 checkouts, check the parent dirstate matches the branch.
415 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
416 empty string.
417
f40a9709
GM
418 * version.el (emacs-bzr-version): Doc fix.
419 (emacs-bzr-version-dirstate): New function.
420 (emacs-bzr-get-version): For lightweight checkouts, if the parent
421 is local try and check that it matches the branch. If not, just
422 use dirstate information. (Bug#12441)
423
cb26b7f5
JL
4242012-09-14 Juri Linkov <juri@jurta.org>
425
426 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
427 (Bug#12399)
428
2de39f08
SM
4292012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
430
0fb3cb7c
SM
431 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
432
2de39f08
SM
433 * emacs-lisp/edebug.el: Miscellaneous cleanup.
434 Remove obsolete byte-compiler hack that tried to silence some warnings.
435 (edebug-submit-bug-report): Remove.
436 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
437 Remove aliases, use the un-prefixed name instead.
438 (edebug-pop-to-buffer): Consider other frames.
439 (edebug-original-read):: Make it more obvious that it's always defined.
440 (edebug--make-form-data-entry, edebug--form-data-name)
441 (edebug--form-data-begin, edebug--form-data-end): Rename from the
442 single-dashed name, and implement with cl-defstruct.
443 (edebug-set-form-data-entry): Use the standard accessors.
444 (edebug-make-top-form-data-entry): Use push.
445 (edebug-no-match): Drop useless `funcall'.
446 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
447 to functions.
448 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
449 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
450 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
451 (easy-menu-define, with-custom-print): Remove redundant specs.
452 (edebug-outside-overriding-local-map)
453 (edebug-outside-overriding-terminal-local-map): Remove, unused.
454 (edebug--display): Bind unread-command-events directly to nil rather
455 than binding it to unread-command-events and later setting it to nil.
456 (edebug--display): Kill edebug-eval-buffer here...
457 (edebug--recursive-edit): ...rather than here.
458 Bind standard-output and standard-input.
459 (edebug-eval): Check cl-macroexpand-all is fboundp.
460 (edebug-temp-display-freq-count): Fix last change.
461
462 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
463 * subr.el (noreturn, 1value): Add `debug' spec.
464 * emacs-lisp/advice.el: Require cl-lib.
465 (ad-copy-tree): Remove, use copy-tree instead.
466 (ad-dolist): Remove use dolist or cl-dolist instead.
467 (ad-do-return): Remove, use cl-return instead.
468 (defadvice): Add `debug' spec.
469
5b68b333
JL
4702012-09-13 Juri Linkov <juri@jurta.org>
471
472 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
473 (Bug#12399)
474
b9800ec4
GM
4752012-09-13 Glenn Morris <rgm@gnu.org>
476
6a2e6868
GM
477 * calc/calc.el (math-compose-expr):
478 * calc/calc-ext.el (math-compose-expr):
479 * progmodes/cc-defs.el (cl-macroexpand-all):
480 * progmodes/cc-langs.el (delete-duplicates, mapcan)
481 (cl-macroexpand-all): Update declarations.
482
b9800ec4
GM
483 * vc/vc.el: No need to require ediff.
484 (ediff-load-version-control): Declare.
485 (ediff-vc-internal): Fix declaration.
486 (vc-version-ediff): Require ediff.
487
c18e885b
PE
4882012-09-13 Paul Eggert <eggert@cs.ucla.edu>
489
490 Use a more backwards-compatible timer format (Bug#12430).
491 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
492 being right after USECS, as that better supports old code that
493 inadvisedly looked directly at the timer vector.
494
d607d303
KH
4952012-09-13 Kenichi Handa <handa@gnu.org>
496
497 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
498 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
499 `coding-priority' property of these language environment.
500
72eac303
PE
5012012-09-13 Paul Eggert <eggert@cs.ucla.edu>
502
503 Fix glitches caused by addition of psec to timers (Bug#12430).
504 * image.el (image-animate-timer):
505 * time.el (display-time-world-timer):
506 Use timer--function and timer--args rather than raw access to
507 timer vector.
508
2168fe4f
GM
5092012-09-13 Glenn Morris <rgm@gnu.org>
510
511 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
512 If not compiling a file, try using load-file-name.
513
bd8d6108
SM
5142012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
515
c0c54fbd
SM
516 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
517 Fix last change.
518 (edebug-update-eval-list): Use `push'.
519
bd8d6108
SM
520 * emacs-lisp/edebug.el: Use lexical-binding.
521 Remove the "edebug-" prefix from non-dynamically-scoped variables.
522 Mark unused args with underscore.
523 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
524 (edebug-form-data): Use defvar-local.
525 (edebug-make-before-and-after-form, edebug-make-after-form):
526 Use backquote.
527 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
528 Not dynamically scoped any more.
529 (edebug--enter-trace): Add arguments `function' and `args'.
530 Rename from edebug-enter-trace.
531 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
532 (edebug--update-coverage): Add `after-index' and `value' args.
533 Rename from edebug-update-coverage.
534 (edebug-slow-after): Call it accordingly.
535 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
536 edebug-recursive-edit.
537 (edebug--display): Call it accordingly. Add args `value',
538 `offset-index', and `arg-mode'. Rename from edebug-display.
539 (edebug-debugger, edebug): Call it accordingly.
540 (edebug-eval-display-list): Use dolist.
541
a9f9d9de
JL
5422012-09-12 Juri Linkov <juri@jurta.org>
543
544 * info.el (Info-search): Don't check for isearch-mode and
545 isearch-regexp before let-binding search-spaces-regexp to
546 Info-search-whitespace-regexp.
547 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
548 search-whitespace-regexp if isearch-lax-whitespace or
549 isearch-regexp-lax-whitespace is non-nil.
550 (Info-mode): Don't set local variable search-whitespace-regexp.
551 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
552
bfeae2cf
SM
5532012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
556 (debugger-env-macro): Remove support for unread-command-char.
557
558 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
559 the temporary map re-appearing on emulation-mode-map-alists.
560
561 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
562 since 22.1.
563
564 * ehelp.el (with-electric-help): Accept functions in
565 electric-help-form-to-execute.
566 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
567 And replace unread-command-char -> unread-command-events.
568
fbbcaf1b
MA
5692012-09-12 Michael Albinus <michael.albinus@gmx.de>
570
571 Sync with Tramp 2.2.6.
572
573 * net/tramp.el (tramp-accept-process-output): Don't use
574 JUST-THIS-ONE in the XEmacs case.
575
576 * net/trampver.el: Update release number.
577
4dece104
MR
5782012-09-12 Martin Rudalics <rudalics@gmx.at>
579
bfeae2cf
SM
580 * emacs-lisp/debug.el (debugger-previous-window-height):
581 New variable.
4dece104
MR
582 (debug): When debugger-jumping-flag is non-nil try to restore
583 height of debugger window. (Bug#8789)
584
45b82ad0
SM
5852012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
586
60c49c0f
SM
587 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
588 overriding-local-map and pre/post-command-hook here.
589 (edebug-recursive-edit): Do it here instead (bug#12345).
590 (edebug-outside-unread-command-char): Remove all uses of
591 unread-command-char.
592
45b82ad0
SM
593 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
594 inhibit-debugger is bound instead.
595
baa26ea0
BG
5962012-09-11 Bastien Guerry <bzg@gnu.org>
597
598 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 599 (Bug#12346)
baa26ea0 600
04e8abfa
BG
6012012-09-11 Bastien Guerry <bzg@gnu.org>
602
96d03571 603 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 604 (Bug#12347)
96d03571
BG
605
6062012-09-11 Bastien Guerry <bzg@gnu.org>
607
fc0c31f8 608 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 609
04e082b0
MM
6102012-09-10 Michael R. Mauger <mmaug@yahoo.com>
611
612 * progmodes/sql.el: Version 3.1
613 (sql-db2-escape-newlines): New variable.
614 (sql-escape-newlines-filter): Use it.
615
399a361b
JB
6162012-09-10 Juanma Barranquero <lekktu@gmail.com>
617
618 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
619
0780c517
DN
6202012-09-10 Dan Nicolaescu <dann@gnu.org>
621
45b82ad0
SM
622 * vc/diff-mode.el (diff-mode-menu):
623 Bind diff-remove-trailing-whitespace.
0780c517 624
9b851e25
SM
6252012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
626
627 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
628 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
629 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
630 (eval-sexp-add-defvars): Don't skip defvars in column >0.
631 (eval-defun-2): Remove bogus interactive spec.
632 (lisp-indent-line): Remove redundant whole-exp code, now done in
633 indent-according-to-mode.
634 (save-match-data): Remove redundant indent data.
635
636 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
637 Use `declare'.
638
3231d532
JL
6392012-09-09 Juri Linkov <juri@jurta.org>
640
641 * replace.el (replace-regexp-lax-whitespace): New defcustom.
642 (replace-lax-whitespace, query-replace-regexp)
643 (query-replace-regexp-eval, replace-regexp): Doc fix.
644 (perform-replace, replace-highlight): Let-bind
645 isearch-lax-whitespace to replace-lax-whitespace and
646 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
647
648 * isearch.el (isearch-query-replace): Let-bind
649 replace-lax-whitespace to isearch-lax-whitespace and
650 replace-regexp-lax-whitespace to
651 isearch-regexp-lax-whitespace. (Bug#10885)
652
70fe8236
SM
6532012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
656
8ed43f15
AM
6572012-09-09 Alan Mackenzie <acm@muc.de>
658
70fe8236
SM
659 * progmodes/cc-engine.el (c-state-cache-init):
660 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
661 (c-record-parse-state-state):
662 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 663
bfabf70a
AS
6642012-09-09 Andreas Schwab <schwab@linux-m68k.org>
665
666 * register.el (register-separator): Rename from
667 separator-register. All uses changed. Doc fix.
668 (register): Fix version.
669
011474aa
CY
6702012-09-09 Chong Yidong <cyd@gnu.org>
671
672 * replace.el (query-replace-map): Bind four new symbols for
673 requesting window scrolling.
674
675 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
676 query-replace-map (Bug#8948).
677
678 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
679
680 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
681 since they are now in query-replace-map.
682
683 * window.el (scroll-other-window-down): Make the arg optional.
684
a8b7cd8d
CY
6852012-09-09 Chong Yidong <cyd@gnu.org>
686
687 * files.el (hack-local-variables-confirm): Use quit-window to kill
688 the *Local Variables* buffer.
689
c3268831
DG
6902012-09-08 Dmitry Gutov <dgutov@yandex.ru>
691
692 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
693 not just expect to be at its beginning. Adjust callees.
694 Succeed when do-end block has no space before the pipe character.
695 (ruby-brace-to-do-end): When the original block is one-liner,
696 convert to multiline. Reindent the result.
697
0979429b
J
6982012-09-08 Jambunathan K <kjambunathan@gmail.com>
699
700 * register.el (register): New group.
701 (register-separator): New user option.
702 (increment-register): Route it to `append-to-register', if
703 register contains text. Implication is that `C-x r +' can now be
704 used for appending to a text register (bug#12217).
705 (append-to-register, prepend-to-register): Add separator based on
706 `register-separator.
707
ace2989a
AM
7082012-09-08 Alan Mackenzie <acm@muc.de>
709
710 AWK Mode: make auto-newline work when there's "==" in the pattern.
711 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
712 correctly.
0979429b
J
713 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
714 Test more rigorously for "=" token.
ace2989a 715
616c6c36
DG
7162012-09-08 Dmitry Gutov <dgutov@yandex.ru>
717
0979429b
J
718 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
719 Only fail when reached LIMIT.
616c6c36 720
35d98877
CY
7212012-09-08 Chong Yidong <cyd@gnu.org>
722
723 * dired.el (dired-mode-map): Don't bind M-=.
724
725 * dired-aux.el (dired-diff): Use backup file as default.
726
1715f2db
DA
7272012-09-08 Drew Adams <drew.adams@oracle.com>
728
729 * subr.el (add-to-history): Fix delete usage (Bug#12314).
730
6dcef6ec
CY
7312012-09-08 Chong Yidong <cyd@gnu.org>
732
733 * subr.el (syntax-after, syntax-class): Doc fix.
734
fa2bcf43
MR
7352012-09-08 Martin Rudalics <rudalics@gmx.at>
736
737 * window.el (display-buffer-in-previous-window): New buffer
738 display action function.
739
740 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
741 (debugger-previous-window): New variable.
742 (debug): Rewrite using display-buffer-in-previous-window,
743 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
744
daac280a
SM
7452012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
748
9dd40b00
MM
7492012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
750
daac280a
SM
751 * progmodes/python.el (python-shell-send-string):
752 When default-directory is remote, create temp file on remote
9dd40b00
MM
753 filesystem.
754 (python-shell-send-file): When file is remote, pass local view of
755 file paths to remote Python interpreter. (Bug#12340)
756
145823ec
CY
7572012-09-07 Chong Yidong <cyd@gnu.org>
758
cee2e90d
CY
759 * window.el (switch-to-buffer): Doc fix (Bug#12181).
760
0d7eb2ea
CY
761 * files.el (after-find-file): Don't fail on a read-only buffer if
762 require-final-newline is `visit' or `visit-save' (Bug#11156).
763
145823ec
CY
764 * subr.el (read-char-choice): Allow quitting via ESC ESC.
765
daac280a
SM
766 * userlock.el (ask-user-about-supersession-threat):
767 Use read-char-choice (Bug#12093).
145823ec 768
74c582e6
CY
7692012-09-07 Chong Yidong <cyd@gnu.org>
770
e5c2edf7
CY
771 * subr.el (buffer-narrowed-p): New function.
772
773 * ses.el (ses-widen):
774 * simple.el (count-words--buffer-message):
775 * net/browse-url.el (browse-url-of-buffer): Use it
776
777 * simple.el (count-words-region): Don't signal an error if there
778 is a non-nil prefix arg and the mark is not set.
c640e87d 779
74c582e6
CY
780 * help.el (describe-key-briefly): Allow the message to be seen
781 when invoked from the minibuffer (Bug#7014).
782
d81ceaaf
DG
7832012-09-07 Dmitry Gutov <dgutov@yandex.ru>
784
785 * progmodes/ruby-mode.el (ruby-end-of-defun)
786 (ruby-beginning-of-defun): Simplify, allow indentation before
787 block beginning and end keywords.
8f06acce
DG
788 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
789 (ruby-end-of-defun): Expect that the point is at the beginning of
790 the defun.
d81ceaaf 791
d458ef98
SM
7922012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
795 (bug#12367).
796 (cl--make-usage-args): Strip _ from argument names.
797
20367d28
RS
7982012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
799
800 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
801 obsolete alias speedbar-key-map.
802 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
803 (vhdl-index-menu-init): Don't use obsolete variable
804 font-lock-maximum-size.
805
3424a4f6
CY
8062012-09-06 Chong Yidong <cyd@gnu.org>
807
808 * frame.el (window-system-version): Mark as obsolete.
809
fcbfbdea
CY
810 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
811 of obsolete variable speedbar-key-map.
812
826b3235
JL
8132012-09-06 Juri Linkov <juri@jurta.org>
814
815 * replace.el (replace-lax-whitespace): New defcustom.
816 (query-replace, query-replace-regexp, query-replace-regexp-eval)
817 (replace-string, replace-regexp): Mention it in docstrings.
818 (perform-replace, replace-highlight): Let-bind
819 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
820 to the values of replace-lax-whitespace and regexp-flag.
821 Don't let-bind search-whitespace-regexp. (Bug#10885)
822
823 * isearch.el (isearch-query-replace): Let-bind
824 replace-lax-whitespace instead of let-binding
825 replace-search-function and replace-re-search-function.
826 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
827 and isearch-regexp-lax-whitespace to lazy-highlight variables.
828 (isearch-toggle-symbol): Set isearch-regexp to nil
829 in isearch-word mode (like in isearch-toggle-word).
830
1ec5e41d
JL
8312012-09-06 Juri Linkov <juri@jurta.org>
832
833 * replace.el (replace-search-function)
834 (replace-re-search-function): Set default values to nil.
835 (perform-replace): Let-bind isearch-related variables based on
836 replace-related values, call `isearch-search-fun' and let-bind
837 the result to `search-function'. Remove code that sets
838 `search-function' and `search-string' separately for
839 `delimited-flag'.
840 (replace-highlight): Add new argument `delimited-flag' and
841 rename other arguments to the names used in `perform-replace'.
842 Let-bind `isearch-word' to the argument `delimited-flag'.
843 (Bug#10885, bug#10887)
844
0ba2d4b6
DG
8452012-09-07 Dmitry Gutov <dgutov@yandex.ru>
846
847 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
848 ruby-beginning-of-indent, simplify, allow all keywords to have
849 indentation before them.
850 (ruby-beginning-of-indent): Adjust for above. Search until the
851 found point is not inside a string or comment.
852 (ruby-font-lock-keywords): Allow symbols to start with "@"
853 character, give them higher priority than variables.
854 (ruby-syntax-propertize-function)
855 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
856 matchers. Expression expansions are not comments when inside a
857 string, and there comment syntax status is irrelevant.
858 (ruby-match-expression-expansion): New function. Check that
859 expression expansion is inside a string, and it's not escaped.
860 (ruby-font-lock-keywords): Use it.
861
ef654460
MR
8622012-09-05 Martin Rudalics <rudalics@gmx.at>
863
864 * help.el (temp-buffer-max-height): New default value.
865 (temp-buffer-resize-frames): New option.
866 (resize-temp-buffer-window): Optionally resize frame.
867
868 * window.el (fit-frame-to-buffer-bottom-margin): New option.
869 (fit-frame-to-buffer): New function.
870
7e570fbf 8712012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
872
873 * emulation/cua-rect.el (cua--init-rectangles):
874 * textmodes/picture.el (picture-mode-map):
875 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
876 like forward-char and backward-char. (Bug#12317)
877
7e570fbf 8782012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
879
880 * progmodes/flymake.el (flymake-warning-re): New variable.
881 (flymake-parse-line): Use it.
882
7e570fbf 8832012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
884
885 * calendar/holidays.el (holiday-christian-holidays):
886 Rename an entry. (Bug#12289)
887
7e570fbf 8882012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
889
890 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
891 (bug#12222).
892
972debf2
SM
8932012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * loadup.el: Load macroexp. Remove hack.
896 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
897 (macroexp--expand-all): Use it to get better warnings.
898 (macroexp--backtrace, macroexp--trim-backtrace-frame)
899 (internal-macroexpand-for-load): New functions.
900 (macroexp--pending-eager-loads): New var.
901 (emacs-startup-hook): New hack to replace one in loadup.el.
902 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
903 (cl--compiler-macro-cXXr): Move to top, before they can be used.
904 (cl-psetf): Simplify.
905 (cl-defstruct): Add indent rule.
906
8ce192e3
LI
9072012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
908
909 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
910 over `user-mail-address' for the SMTP MAIL FROM envelope.
911 (smtpmail-via-smtp): Ditto.
912
6578b4d8
DG
9132012-09-04 Dmitry Gutov <dgutov@yandex.ru>
914
915 * progmodes/ruby-mode.el: Clean up keybindings.
916 (ruby-mode-map): Don't bind ruby-electric-brace,
917 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
918 backward-kill-word, reindent-then-newline-and-indent.
919 (ruby-mark-defun): Remove.
920 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
921 (ruby-mode): Set local beginning-of-defun-function and
922 end-of-defun-function values.
923
c5e28e39
MR
9242012-09-03 Martin Rudalics <rudalics@gmx.at>
925
926 * window.el (temp-buffer-window-setup-hook)
927 (temp-buffer-window-show-hook): New hooks.
928 (temp-buffer-window-setup, temp-buffer-window-show)
929 (with-temp-buffer-window): New functions.
972debf2
SM
930 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
931 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
932
933 * help.el (temp-buffer-resize-mode): Fix doc-string.
934 (resize-temp-buffer-window): New optional argument WINDOW.
935
936 * files.el (recover-file, save-buffers-kill-emacs):
937 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
938
73406194
MA
9392012-09-02 Michael Albinus <michael.albinus@gmx.de>
940
941 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
942 remote definition of `default-directory', ensure we can connect.
943
63dd1c6f
JL
9442012-09-02 Juri Linkov <juri@jurta.org>
945
946 Toggle whitespace matching mode with M-s SPC.
947 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
948
949 * isearch.el (search-whitespace-regexp): Doc fix.
950 Remove cons cell customization.
951 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
952 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
953 New variables.
954 (isearch-forward, isearch-forward-regexp): Doc fix.
955 (isearch-toggle-lax-whitespace): New command.
956 (search-forward-lax-whitespace, search-backward-lax-whitespace)
957 (re-search-forward-lax-whitespace)
958 (re-search-backward-lax-whitespace): New functions.
959 (isearch-whitespace-regexp): Remove function.
960 (isearch-query-replace): Let-bind replace-search-function and
961 replace-re-search-function.
962 (isearch-occur): Let-bind search-spaces-regexp according to the
963 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
964 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
965 condition for C-q SPC.
966 (isearch-search-fun-default): Use new functions mentioned above.
967 (isearch-search-forward, isearch-search-backward): Remove functions.
968 (isearch-search): Don't let-bind search-spaces-regexp.
969 (isearch-lazy-highlight-space-regexp): Remove variable.
970 (isearch-lazy-highlight-lax-whitespace)
971 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
972 (isearch-lazy-highlight-new-loop): Use them.
973 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
974
af7dda05
CY
9752012-09-02 Chong Yidong <cyd@gnu.org>
976
977 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
978
d67d3afd
GM
9792012-09-02 Glenn Morris <rgm@gnu.org>
980
981 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
982
69678719
GM
9832012-09-01 Glenn Morris <rgm@gnu.org>
984
985 * term.el: Tidy up menu definitions.
986 (term-mode-map): Use easymenu for In/Out, Complete menus.
987 (term-pager-break-map): Initialize in the defvar.
988 (term-terminal-menu, term-signals-menu): Define with easymenu.
989 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
990 (term-pager-menu): New, extracted from term-process-pager.
991 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
992 (term-update-mode-line): Propertize line/char and page items.
993 (term-process-pager): Move keymap initialization elsewhere.
994
78dd6ab1
MR
9952012-09-01 Martin Rudalics <rudalics@gmx.at>
996
997 * window.el (switch-to-prev-buffer): Handle additional values of
998 BURY-OR-KILL argument. Don't switch in minibuffer window.
999 (switch-to-next-buffer): Don't switch in minibuffer window.
1000 (quit-restore-window): New function based on quit-window.
1001 Handle additional values of former KILL argument.
1002 (quit-window): Call quit-restore-window with appropriate
1003 interpretation of KILL argument.
1004 (display-buffer-below-selected): New buffer display action
1005 function.
1006
3d10e134
SM
10072012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * minibuffer.el (completion-at-point-functions): Complete docstring
1010 (bug#12254).
1011
0e23ef9d
PE
10122012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1013
1014 Better seed support for (random).
1015 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1016 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1017 * play/mpuz.el, play/tetris.el, play/zone.el:
1018 * calc/calc-comb.el (math-init-random-base):
1019 * play/blackbox.el (bb-init-board):
1020 * play/life.el (life):
1021 * server.el (server-use-tcp):
1022 * type-break.el (type-break):
1023 Remove unnecessary call to (random t).
1024 * net/sasl.el (sasl-unique-id-function):
1025 Change (random t) to (random), now that the latter is more random.
1026 * play/life.el (life-initialized): Remove no-longer-needed var.
1027
862382df
MR
10282012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1029
1030 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1031 Consider frame's buffer predicate when choosing the buffer.
1032 (Bug#12081)
1033
262a66e1
RS
10342012-08-30 Richard Stallman <rms@gnu.org>
1035
1036 * simple.el (special-mode-map): Delete binding for `z'.
1037
f17e1d00
AS
10382012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1039
1040 * progmodes/compile.el (compilation-always-kill): Doc fix.
1041
24777832
CY
10422012-08-30 Chong Yidong <cyd@gnu.org>
1043
1044 * window.el (display-buffer-reuse-frames): Make the obsolescence
1045 message more informative.
1046
69ba1f04
GM
10472012-08-30 Glenn Morris <rgm@gnu.org>
1048
1049 * paren.el (show-paren-delay):
1050 Add a :set function. Doc fix. (Bug#12297)
1051
f0019ede
MB
10522012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1053
1054 * progmodes/compile.el (compilation-always-kill): New var.
1055 (compilation-start): Use it.
1056
35e62fc9
SM
10572012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1058
af070a1c
SM
1059 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1060 * files.el (read-only-mode): Move to simple.el.
1061
35e62fc9
SM
1062 * files.el (read-only-mode): New minor mode.
1063 (toggle-read-only): Use it and mark obsolete.
1064 (find-file--read-only):
1065 * vc/vc.el (vc-next-action, vc-checkout):
1066 * vc/vc-cvs.el (vc-cvs-checkout):
1067 * obsolete/vc-mcvs.el (vc-mcvs-update):
1068 * ffap.el (ffap--toggle-read-only): Update callers.
1069
c2c43c23
MA
10702012-08-29 Michael Albinus <michael.albinus@gmx.de>
1071
1072 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1073 remote shell scripts.
1074 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1075
1076 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1077 "/usr/local/sbin".
1078
9fba804b
SM
10792012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1080
1081 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1082
eada0861 10832012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1084
806f0cc7
LL
1085 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1086 completion-at-point. (Bug#12220)
1087
3bb213b9
LL
1088 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1089
22ab32ef
LL
1090 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1091
eada0861 10922012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1093
19c17fc1
CY
1094 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1095 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1096
eada0861 10972012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1098
1099 * progmodes/hideif.el (hif-compress-define-list):
1100 Fix typo. (Bug#11951)
1101
eada0861 11022012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1103
1104 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1105 buffer local setting.
1106
27d6c5a8
LL
1107 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1108 rcirc-encode-coding-system.
1109
eada0861 11102012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1111
1112 * net/rcirc.el (rcirc-split-message): New function.
1113 (rcirc-send-message): Use it. (Bug#12051)
1114
d44688e4
JL
11152012-08-28 Juri Linkov <juri@jurta.org>
1116
1117 * info.el (Info-fontify-node): Hide empty lines at the end of
1118 the node. (Bug#12272)
1119
34f10d41
MR
11202012-08-27 Drew Adams <drew.adams@oracle.com>
1121
1122 * dired.el (dired-pop-to-buffer): Make window start at beginning
1123 of buffer (Bug#12281).
1124
77f1f99c
CY
11252012-08-26 Chong Yidong <cyd@gnu.org>
1126
1127 * window.el (special-display-regexps, special-display-frame-alist)
1128 (special-display-buffer-names, special-display-function)
1129 (display-buffer-reuse-frames): Mark as obsolete.
1130
1131 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1132
1133 * help.el (help-print-return-message): Don't treat
1134 display-buffer-reuse-frames specially.
1135
d97af5a0
CY
11362012-08-26 Chong Yidong <cyd@gnu.org>
1137
9fba804b
SM
1138 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1139 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1140 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1141 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1142 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1143 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1144 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1145 the functions directly with gdb-display-buffer-other-frame-action.
1146 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1147 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1148 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1149 (gdb-display-registers-buffer): Define directly.
1150 (def-gdb-display-buffer): Macro deleted.
1151 (gdb-display-buffer): Remove second and third args, callers don't
1152 use them. Defer to the default display-buffer behavior, apart
1153 from making windows dedicated.
1154 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1155
1156 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1157
1158 * window.el (display-buffer-pop-up-frame): Handle a
1159 pop-up-frame-parameters alist entry.
1160 (display-buffer): Document it.
1161
dd7ffad6
CY
11622012-08-26 Chong Yidong <cyd@gnu.org>
1163
1164 * isearch.el (search-whitespace-regexp): Make string and nil
1165 values apply to both ordinary and regexp search. Allow a cons
1166 cell value to distinguish between the two.
1167 (isearch-whitespace-regexp, isearch-search-forward)
1168 (isearch-search-backward): New functions.
1169 (isearch-occur, isearch-search-fun-default, isearch-search)
1170 (isearch-lazy-highlight-new-loop): Use them.
1171 (isearch-forward, isearch-forward-regexp): Doc fix.
1172
4c47bd1e
CY
11732012-08-26 Chong Yidong <cyd@gnu.org>
1174
1175 * faces.el (help-argument-name): Always inherit from italic
1176 (Bug#12213).
1177
9aba119d
MR
11782012-08-25 Martin Rudalics <rudalics@gmx.at>
1179
1180 * window.el (window--even-window-heights): Even heights when
1181 WINDOW and the selected window form a vertical combination.
1182 (display-buffer-use-some-window): Provide that window used gets
1183 sized back by quit-window. (Bug#11880) and (Bug#12091)
1184
ca5256ad
PE
11852012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1186
1187 Fix file time stamp problem with bzr and CVS (Bug#12001).
1188 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1189 in the file's time stamp, since the version control system loses
1190 that information.
1191
d1c0d176
JL
11922012-08-22 Juri Linkov <juri@jurta.org>
1193
1194 * info.el (Info-fontify-node): Hide the suffix of the
1195 Info file name in the header line. (Bug#12187)
1196
141562ff
GM
11972012-08-22 Glenn Morris <rgm@gnu.org>
1198
1199 * calendar/cal-tex.el (cal-tex-weekly-common):
1200 Restore leading blank page.
1201
61a48e19 12022012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1203
1204 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1205 the region under `shift-select-mode'. (Bug#12231)
1206
12072012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1208
1209 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1210 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1211 gives details on why the space is never needed.
1212
ea95074e
MR
12132012-08-22 Martin Rudalics <rudalics@gmx.at>
1214
9fba804b
SM
1215 * window.el (walk-window-tree, window-with-parameter):
1216 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1217 should run on the minibuffer window.
1218 (window-at-side-list): Don't operate on minibuffer window.
1219 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1220 (window--size-ignore): Rename to window--size-ignore-p.
1221 Update callers.
caceae25
MR
1222 (display-buffer-in-atom-window, window--major-non-side-window)
1223 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1224 (delete-side-window, display-buffer-in-side-window):
1225 New functions.
caceae25
MR
1226 (window--side-check, window-deletable-p, delete-window)
1227 (delete-other-windows, split-window): Handle side windows and
1228 atomic windows appropriately.
1229 (window--display-buffer): Call display-buffer-record-window also
1230 when the window buffer did not change.
ea95074e 1231
80a51fa0
CS
12322012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1233
1234 * help-fns.el (help-fns--key-bindings):
1235 Abbreviate non-symbol remap targets. (Bug#12174)
1236
fbb6300b
MR
12372012-08-22 Martin Rudalics <rudalics@gmx.at>
1238
1239 * dired.el (dired-mark-remembered): Don't clobber point.
1240 (Bug#11795)
1241
2b2c0794
GM
12422012-08-22 Glenn Morris <rgm@gnu.org>
1243
1244 * progmodes/bug-reference.el (bug-reference): New custom group.
1245 (bug-reference-bug-regexp): Make it a defcustom.
1246
37219830
DU
12472012-08-22 Daiki Ueno <ueno@unixuser.org>
1248
1249 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1250 (js-paren-indent-offset, js-square-indent-offset)
1251 (js-curly-indent-offset): Add :safe (Bug#12257).
1252
94e0e559
EC
12532012-08-22 Edward O'Connor <hober0@gmail.com>
1254
1255 * json.el (json-key-format): Add error properties.
1256 (json-encode-key): New function.
1257 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1258 Use json-encode-key.
1259
da485f5e
GM
12602012-08-22 Glenn Morris <rgm@gnu.org>
1261
1262 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1263 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1264 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1265 Update for above change.
1266
c6cc78b8
AS
12672012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1268
1269 * cus-face.el (custom-face-attributes): Fix customize type for the
1270 :underline attribute. (Bug#11805)
1271
5481664a
MR
12722012-08-21 Martin Rudalics <rudalics@gmx.at>
1273
1274 * window.el (window-point-1, set-window-point-1): Remove.
1275 (window-in-direction, record-window-buffer)
1276 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1277 (window--state-get-1, display-buffer-record-window):
1278 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1279 window-point and set-window-point respectively.
1280
6d74698e
GM
12812012-08-21 Glenn Morris <rgm@gnu.org>
1282
b7fa2691
GM
1283 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1284 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1285 Use it.
1286
52f56d5a
GM
1287 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1288 (cal-tex-shortday): New function.
1289 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1290 (cal-tex-cursor-filofax-daily): Use the above.
1291
9f1ee09e
GM
1292 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1293 New functions.
1294 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1295 (cal-tex-cursor-filofax-week): Use them.
1296
79858159
GM
1297 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1298 New constants.
1299 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1300 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1301
d346b2b4
GM
1302 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1303 (cal-tex-end-document): Don't rely on buffer name.
1304
b2403709
GM
1305 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1306 Use cal-tex-vspace.
1307 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1308 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1309 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1310 Use cal-tex-arg.
b2403709 1311
1cebb5c0
GM
1312 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1313 (cal-tex-cursor-week, cal-tex-cursor-week2)
1314 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1315 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1316 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1317 (cal-tex-insert-preamble, cal-tex-b-document)
1318 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1319 Improve cal-tex-cmd usage.
1320
c68cd5d4
GM
1321 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1322 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1323 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1324 (cal-tex-weekly-paper): New function.
1325 (cal-tex-cursor-week, cal-tex-cursor-week2)
1326 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1327 (cal-tex-cursor-day): Use it.
1328
9dca4801
GM
1329 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1330 (cal-tex-cursor-filofax-week): Remove leading blank page.
1331
1941e134
GM
1332 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1333 Add autoload cookie. For now at least, don't use color, since
1334 no other cal-tex function does.
1335
6d74698e
GM
1336 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1337 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1338 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1339
64cde199
JL
13402012-08-21 Juri Linkov <juri@jurta.org>
1341
1342 * info.el (Info-file-attributes): New variable.
1343 (info-insert-file-contents): Add file attributes to
1344 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1345 `Info-toc-nodes' when previous modtime of the Info file is less
1346 than new modtime.
1347 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1348 of info.el. (Bug#12230)
1349
32757648
GM
13502012-08-20 Glenn Morris <rgm@gnu.org>
1351
1352 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1353 * calendar/holidays.el (calendar-holiday-list):
1354 Report errors with display-warning rather than beep'n'sleep.
1355
a32fbbcf
MA
13562012-08-20 Michael Albinus <michael.albinus@gmx.de>
1357
1358 * net/tramp.el (tramp-accept-process-output): Accept only output
1359 from PROC. Otherwise, process filters and sentinels might be
1360 confused. (Bug#12145)
1361
a05731a0
CY
13622012-08-20 Chong Yidong <cyd@gnu.org>
1363
1364 * descr-text.el (describe-text-properties-1): Use overlays-in to
1365 report on empty overlays (Bug#3322).
1366
36e8d1eb
GM
13672012-08-20 Glenn Morris <rgm@gnu.org>
1368
3d300447
GM
1369 * mail/rmailout.el (rmail-output-read-file-name):
1370 Trap and report errors in rmail-output-file-alist elements.
1371
36e8d1eb
GM
1372 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1373 since most non-font-lock faces are not also variables).
1374
b96e5814
ER
13752012-08-20 Edward Reingold <reingold@iit.edu>
1376
1377 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1378 New function. (Bug12160)
1379
7cef3569
GM
13802012-08-19 Glenn Morris <rgm@gnu.org>
1381
1382 * mail/rmailout.el (rmail-output-read-file-name):
1383 Fix previous change (when the alist is nil or does not match).
1384
17975d7f
CY
13852012-08-19 Chong Yidong <cyd@gnu.org>
1386
1387 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1388 (Bug#12228).
1389
2170b1bd
CY
13902012-08-18 Chong Yidong <cyd@gnu.org>
1391
1392 * simple.el (yank-handled-properties): New defcustom.
1393 (yank-excluded-properties): Add font-lock-face and category.
1394 (yank): Doc fix.
1395
9fba804b
SM
1396 * subr.el (remove-yank-excluded-properties):
1397 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1398 and category is now done this way, instead of being hard-coded.
1399 (insert-for-yank-1): Remove font-lock-face handling.
1400 (yank-handle-font-lock-face-property)
1401 (yank-handle-category-property): New function.
1402
ee218151
GM
14032012-08-17 Glenn Morris <rgm@gnu.org>
1404
1405 * mail/rmailout.el (rmail-output-read-file-name):
1406 Check rmail-output-file-alist against the full message body
1407 in the correct rmail buffer. (Bug#12214)
1408
4a6bc3fd
MA
14092012-08-17 Michael Albinus <michael.albinus@gmx.de>
1410
9fba804b
SM
1411 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1412 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1413
383dcbf9
CY
14142012-08-17 Chong Yidong <cyd@gnu.org>
1415
1416 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1417 font spec, set the font directly (Bug#3228).
1418
998c4a6a
MR
14192012-08-17 Martin Rudalics <rudalics@gmx.at>
1420
1421 * window.el (delete-window): Fix last fix.
1422
52162052
MR
14232012-08-16 Martin Rudalics <rudalics@gmx.at>
1424
1425 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1426 (window-child, window-child-count, window-last-child)
1427 (window-normalize-window, window-combined-p)
1428 (window-combinations, window-atom-root, window-min-size)
1429 (window-sizable, window-sizable-p, window-size-fixed-p)
1430 (window-min-delta, window-max-delta, window--resizable)
1431 (window--resizable-p, window-resizable, window-total-size)
1432 (window-full-height-p, window-full-width-p, window-body-size)
1433 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1434 (minimize-window, window-deletable-p, delete-window)
1435 (delete-other-windows, set-window-buffer-start-and-point)
1436 (next-buffer, previous-buffer, split-window, balance-windows-2)
1437 (set-window-text-height, window-buffer-height)
1438 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1439 (truncated-partial-width-window-p): Minor code adjustments.
1440 In doc-strings state whether the argument window has to denote a
85c2386b 1441 live, valid or any window.
52162052 1442
1c308380
PS
14432012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1444
1445 * progmodes/subword.el (subword-forward-function)
1446 (subword-backward-function, subword-forward-regexp)
1447 (subword-backward-regexp): New variables.
1448 (subword-forward, subword-forward-internal, subword-backward-internal):
1449 Use new variables, eg so that different "word" definitions
1450 can be easily used. (Bug#11411)
1451
94c9ece1
SM
14522012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1455 for composite selectors.
1456 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1457 operation just because we can't find a previous revision.
1458
f2045622
CY
14592012-08-15 Chong Yidong <cyd@gnu.org>
1460
1461 * frame.el (set-frame-font): Accept font objects.
1462
582db660
SM
14632012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1466
2f29c200
WJ
14672012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1468
456e62c2
WJ
1469 * man.el (Man-overstrike-face, Man-underline-face)
1470 (Man-reverse-face): Remove variables.
1471 (Man-overstrike, Man-underline, Man-reverse): New faces.
1472 (Man-fontify-manpage): Use them instead of the variables.
1473 (Man-cleanup-manpage): Comment change.
1474 (Man-ansi-color-map): New variable.
1475 (Man-fontify-manpage): Use it.
1476 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1477
2f29c200
WJ
1478 Implement ANSI SGR parameters 22-27 (bug#12146).
1479 * ansi-color.el (ansi-colors): Doc fix.
1480 (ansi-color-context, ansi-color-context-region): Doc fix.
1481 (ansi-color--find-face): New function.
1482 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1483 Rename the local variable `face' to `codes' since it is now a list of
1484 ansi codes. Doc fix.
1485 (ansi-color-get-face): Remove.
1486 (ansi-color-parse-sequence): New function, derived from
1487 ansi-color-get-face.
1488 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1489 codes 22-27.
1490
b4f5e9df
SM
14912012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * subr.el (read-passwd): Allow use from a minibuffer.
1494
ba025fbd
EZ
14952012-08-14 Eli Zaretskii <eliz@gnu.org>
1496
1497 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1498 inside comments and strings as identifiers.
1499
1500 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1501 expression to evaluate. This allows to evaluate expressions with
1502 embedded whitespace.
1503 (gud-tooltip-tips): Add a blank before the newline in the
1504 message-box text, for the benefit of message-box emulation on
1505 MS-Windows.
1506
1507 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1508 messages from GDB, pop them up in a tooltip to give feedback to
1509 user.
b4f5e9df
SM
1510 (gdb-tooltip-print-1): Quote the expression to evaluate.
1511 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1512 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1513 if the TTY name is nil or empty (which happens when communicating
1514 with the inferior via pipes, e.g. on MS-Windows).
1515 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1516 don't send that to the GUD buffer.
1517
c548f821
GM
15182012-08-14 Glenn Morris <rgm@gnu.org>
1519
1520 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1521 Optimize away setq-default with no args, as for setq. (Bug#12195)
1522
55802e4a
CY
15232012-08-14 Chong Yidong <cyd@gnu.org>
1524
4abcdac8
CY
1525 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1526
55802e4a
CY
1527 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1528 (Bug#12085).
1529
3c3cda1a
GM
15302012-08-14 Glenn Morris <rgm@gnu.org>
1531
1532 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1533
e1873bd0
MA
15342012-08-14 Michael Albinus <michael.albinus@gmx.de>
1535
1536 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1537 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1538 Use cached shell name.
1539
925411b4
FEG
15402012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1541
1542 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1543 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1544
e636fafe
DG
15452012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1546
1547 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1548 (ruby-percent-literal-beg-re): New constant.
1549 (ruby-syntax-general-delimiters-goto-beg): Rename to
1550 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1551 (ruby-syntax-propertize-general-delimiters): Rename to
1552 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1553 popular term. Adjust comments everywhere.
1554 (ruby-syntax-propertize-percent-literal): Only propertize when not
1555 inside a simple string or comment. When the literal is unclosed,
1556 leave the text after it unpropertized.
f063063a
DG
1557 (ruby-syntax-methods-before-regexp): New constant.
1558 (ruby-syntax-propertize-function): Use it to recognize regexps.
1559 Don't look at the text after regexp, just use the whitelist.
e636fafe 1560
e5b19827
AS
15612012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1562
1563 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1564 non-nil always load the compiled file if it exists. (Bug#12197)
1565
a9f6f311
CY
15662012-08-14 Chong Yidong <cyd@gnu.org>
1567
1568 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1569 (hi-lock-set-pattern): When deciding whether to use font lock or
1570 overlays, look at font-lock-mode instead of font-lock-fontified
1571 (Bug#12168).
1572 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1573 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1574
7d806b1e
DU
15752012-08-14 Daiki Ueno <ueno@unixuser.org>
1576
1577 * subr.el (internal--after-with-selected-window): Fix typo
1578 (Bug#12193).
1579
5beed586
FEG
15802012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1581
1582 Use `completion-table-dynamic' for completion functions.
1583 * progmodes/python.el
1584 (python-shell-completion--do-completion-at-point)
e636fafe
DG
1585 (python-shell-completion--get-completions):
1586 Remove functions.
5beed586
FEG
1587 (python-shell-completion-complete-at-point): New function.
1588 (python-completion-complete-at-point): Use it.
1589
92cb3b04
J
15902012-08-13 Jambunathan K <kjambunathan@gmail.com>
1591
1592 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1593 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1594
89660017
SM
15952012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1596
3c98c962
SM
1597 * subr.el (function-get): Refine `autoload' arg so it can also
1598 autoload functions for gv.el (bug#12191).
1599 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1600 autoloads macros.
1601
aa7c6dbe
SM
1602 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1603 Prefer pcase-let over destructuring-bind.
1604 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1605 Also, remove whitespace as we go, rather than after accumulating the
1606 various places.
1607
89660017
SM
1608 * subr.el (internal--before-with-selected-window)
1609 (internal--after-with-selected-window): Fix typo seleted->selected.
1610 (with-selected-window): Adjust callers.
1611 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1612
31cd32c9
BG
16132012-08-13 Bastien Guerry <bzg@gnu.org>
1614
0fcd3d9f 1615 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
1616 enhancement. (Bug#12172)
1617
1b15d8ad
AS
16182012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1619
31e54db0
AS
1620 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1621 type 1-6.
1622 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1623 extended headers.
1624
1b15d8ad
AS
1625 * files.el (hack-local-variables-filter): Remove useless eval.
1626
35cb9c06
MR
16272012-08-13 Martin Rudalics <rudalics@gmx.at>
1628
1629 * subr.el (with-selected-window): Fix last change.
1630
1439443b
SM
16312012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 * subr.el (internal--before-with-seleted-window)
1634 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
1635 (with-selected-window): Use them, to replace dependency on
1636 tty-top-frame.
1439443b 1637
0d9e2599
NN
16382012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1639
1640 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1641 binding for `newline'.
1642 (ruby-move-to-block): When moving backward, stop at block opening,
1643 not indentation.
1644 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1645 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1646 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1647 `ruby-toggle-block'.
1648
ba10c48c
SM
16492012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 * ibuffer.el (ibuffer-do-toggle-read-only):
1652 * dired.el (dired-toggle-read-only):
1653 * buff-menu.el (Buffer-menu-toggle-read-only):
1654 * bindings.el (mode-line-toggle-read-only):
1655 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1656
9229c658
AS
16572012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1658
1659 * descr-text.el (describe-char): Put the overlays over the
1660 "displayed as" character.
1661
0fd09128
JB
16622012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1663
1664 * calc/calc-units.el (math-default-units-table): Give an
1665 initial value.
1666 (math-put-default-units): Add options to put composite units and
1667 unit systems in the default units table.
1668 (calc-convert-units): Send composite units to
1669 `math-put-default-units' when appropriate.
1670
9ff9402d 16712012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 1672
fbb5e336
GM
1673 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1674
7aacaf15
GM
1675 * tutorial.el (help-with-tutorial):
1676 * emacs-lisp/copyright.el (copyright-update-directory):
1677 * emacs-lisp/autoload.el (autoload-find-generated-file)
1678 (autoload-find-file): Disable local eval: (for insurance).
1679
f40b9f10
GM
1680 * files.el (hack-local-variables-filter): If an eval: form is not
1681 known to be safe, and enable-local-variables is :safe, then ignore
1682 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 1683 This is CVE-2012-3479.
f40b9f10 1684
daa9f1a6
SM
16852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1688 (rx-form): Simplify.
1689
9cd80478
DG
16902012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1691
0d9e2599
NN
1692 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1693 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1694 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1695 (ruby-syntax-propertize-function): Adjust for changes in
1696 `ruby-syntax-propertize-heredoc'.
1697
16982012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1699
9cd80478
DG
1700 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1701 binding (use `M-;' instead).
9cd80478 1702 (ruby-singleton-class-p): New function.
0d9e2599 1703 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 1704
d301b413
SM
17052012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1708
1530c98e
CY
17092012-08-10 Chong Yidong <cyd@gnu.org>
1710
1711 * progmodes/python.el (python-shell-get-process-name): Don't mess
1712 with same-window-buffer-names.
1713
1714 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1715 (eshell-remove-from-window-buffer-names): Make obsolete.
1716 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1717 (eshell): Just use pop-to-buffer-same-window instead.
1718
e1293765
CY
17192012-08-10 Chong Yidong <cyd@gnu.org>
1720
1721 * bindings.el: Bind M-= back to count-words-region.
1722
1723 * simple.el (count-words-region): Accept a prefix arg for acting
1724 on the entire buffer.
1725 (count-words--buffer-message): New helper function.
1726
e1894109
SM
17272012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1730 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1731 (event-start, event-end): Use posn-at-point to return a more
1732 informative posn.
1733 (posnp): New function.
1734 * mouse.el (popup-menu-normalize-position): Use it.
1735
c69f56a2
MY
17362012-08-10 Masatake YAMATO <yamato@redhat.com>
1737
1738 * mouse.el (popup-menu-normalize-position): New function.
1739 (popup-menu): Use `popup-menu-normalize-position' to normalize
1740 the form for POSITION argument.
1741
1742 * term/x-win.el (x-menu-bar-open):
1743 Use the value returend from (posn-at-point) as position
1744 passed to `popup-menu'.
1745
31673780
JB
17462012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1747
1748 * calc/calccomp.el (math-compose-expr): Add extra argument
1749 indicating that parentheses should be put around products in
1750 denominators. Give multiplication precedence over division during
1751 composition.
1752
dab7711b
CY
17532012-08-09 Chong Yidong <cyd@gnu.org>
1754
dee4ef93
CY
1755 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1756 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1757 (Man-untabify-command, manual-program): Convert to defcustom
1758 (Bug#10429).
1759
73e2bbc5
CY
1760 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1761
3e861c8a
CY
1762 * descr-text.el (describe-char): Don't insert extra newlines
1763 (Bug#10127).
1764
a9f5a649
CY
1765 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1766 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1767
dab7711b
CY
1768 * align.el (align-region): Delete temporary markers (Bug#10047).
1769 Plus some code cleanups.
1770
e0cc4efa
FEG
17712012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1772
1773 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1774 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1775 (python-shell-internal-last-output): Use make-local-variable
1776 instead of make-variable-buffer-local.
1777
489af14f
FEG
17782012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1779
1780 * progmodes/python.el: Enhancements to forward-sexp.
1781 (python-nav-forward-sexp): Rename from
1782 python-nav-forward-sexp-function.
c69f56a2
MY
1783 (python-nav--forward-sexp, python-nav--backward-sexp):
1784 New functions.
489af14f 1785
0fc50303
JB
17862012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1787
1788 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1789 modes and simplification modes.
1790
5d65606a
SM
17912012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1792
1793 * delsel.el (delete-selection-pre-hook): Don't propagate the
1794 file-supersession signals (bug#12161).
1795
4250fdf5
SM
17962012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1799 (cl-map-extents): Add compatibility aliases (bug#12135).
1800
d9f9b465
MA
18012012-08-08 Michael Albinus <michael.albinus@gmx.de>
1802
1803 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1804 tests by `ignore-error'.
1805 (tramp-find-shell): Open also a new shell, when cache is already
1806 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1807
ce0fcefa
JL
18082012-08-08 Juri Linkov <juri@jurta.org>
1809
1810 * bookmark.el: Add `defaults' property to the bookmark record.
1811 (bookmark-current-buffer): Doc fix.
1812 (bookmark-make-record): Add `defaults' property with default values
1813 to the bookmark record.
1814 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1815 with `bookmark-insert-current-bookmark'.
1816 (bookmark-set): Get `defaults' property from the bookmark record
1817 and use it in `read-from-minibuffer'.
1818 (bookmark-insert-current-bookmark): Remove function.
1819
1820 * info.el (Info-bookmark-make-record): Add `defaults' property
1821 with values of canonical Info node name, the current Info file
1822 name and the current Info node name. (Bug#12107)
1823
53fa8652
JL
18242012-08-08 Juri Linkov <juri@jurta.org>
1825
1826 * files.el (basic-save-buffer): Use `buffer-name' as the default
1827 of `read-file-name' when buffer is not visiting a file (bug#12128).
1828
242c0a95
JL
18292012-08-08 Juri Linkov <juri@jurta.org>
1830
1831 * info.el (Info-isearch-search): Doc fix.
1832 (Info-search): Change search-failed message from "initial node" to
1833 "end of node" (bug#12078).
1834 (Info-isearch-search): Change `isearch-string-state' to
1835 `isearch--state-string'.
1836
32ac3a6b
GM
18372012-08-08 Glenn Morris <rgm@gnu.org>
1838
1839 * language/persian.el: Remove file.
f8c1afd5 1840 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
1841 * loadup.el: Remove language/persian.
1842
2c2d9c9c
OF
18432012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1844
1845 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1846
2d79ec42
FEG
18472012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1848
1849 * progmodes/python.el Fixed defsubst warning.
1850 (python-syntax-context) Rename from python-info-ppss-context.
1851 (python-syntax-context-type): Rename from
1852 python-info-ppss-context-type.
1853 (python-syntax-comment-or-string-p): Rename from
1854 python-info-ppss-comment-or-string-p.
1855
2bd255dd
JB
18562012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1857
1858 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1859
c395097f
AS
18602012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1861
6125983e
AS
1862 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1863 a defcustom that is quoted with backquote.
1864
4250fdf5
SM
1865 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1866 Fix handling of interactive spec when the body uses return.
651eaf36
AS
1867 (math-do-arg-check, math-define-function-body): Use backquote forms.
1868 * calc/calc-ext.el (math-defcache): Likewise.
1869 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1870 * allout.el (allout-new-exposure): Likewise.
1871 * calc/calcalg2.el (math-tracing-integral): Likewise.
1872 * info.el (Info-last-menu-item): Likewise.
1873 * emulation/vip.el (vip-loop): Likewise.
1874 * textmodes/artist.el (artist-funcall): Likewise.
1875 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1876 Construct menu-item directly.
1877
4250fdf5
SM
1878 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1879 Don't declare.
c395097f 1880
5fb50dd3
CY
18812012-08-07 Chong Yidong <cyd@gnu.org>
1882
1883 * simple.el (deactivate-mark): Preserve text properties when
1884 saving the primary selection (Bug#8384).
1885
54eea618
KR
18862012-08-07 Kevin Ryde <user42@zip.com.au>
1887
1888 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1889 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1890 and continue processing (Bug#12110).
1891
638eaeb9
SM
18922012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1895 syntax-propertize-function (bug#10095).
1896
ea376861
SM
18972012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1898
f91b35be
SM
1899 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1900 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1901 describe-function-1.
1902 (describe-function-1): Use them. Move compiler macro after sig.
1903 (help-fns--compiler-macro): Use function-get. Assume we're already in
1904 standard-output. Adjust layout to new call order.
1905
ea376861
SM
1906 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1907 re-binding a symbol that has a symbol-macro (bug#12119).
1908
d5be7bd0
MB
19092012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1910
1911 * language/persian.el: New file. (Bug#11812)
1912 * loadup.el: Add language/persian.el.
1913
90749b53
CY
19142012-08-06 Chong Yidong <cyd@gnu.org>
1915
1916 * window.el (window--maybe-raise-frame): New function.
1917 (window--display-buffer): Split off from here.
1918 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1919 (display-buffer-pop-up-window, display-buffer-use-some-window):
1920 Obey an inhibit-switch-frame action alist entry.
1921 (display-buffer): Update doc.
1922
1923 * replace.el (occur-after-change-function): Avoid losing focus by
1924 using the inhibit-switch-frame display parameter (Bug#12139).
1925
ba7b0154
FEG
19262012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1927
1928 Make internal shell process buffer names start with space.
1929 * progmodes/python.el (python-shell-make-comint): Add optional
1930 argument INTERNAL.
1931 (run-python-internal): Use it.
1932 (python-shell-internal-get-or-create-process): Check for new
1933 internal buffer names.
1934
5eaeacb5
GM
19352012-08-06 Glenn Morris <rgm@gnu.org>
1936
e296d94b 1937 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
1938 Do less getting and setting of environment variables.
1939
b7ccbdc2
CY
19402012-08-05 Chong Yidong <cyd@gnu.org>
1941
777fe95e
CY
1942 * proced.el (proced): Add substitution string to docstring to
1943 trigger autoloading of the proced library on C-h f (Bug#1768).
1944
4250fdf5
SM
1945 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1946 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
1947
1948 * imenu.el (imenu-generic-expression): Move documentation here
1949 from imenu--generic-function.
1950 (imenu--generic-function): Refer to imenu-generic-expression.
1951
9e3b7800 19522012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
1953
1954 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1955 indentation declaration.
1956 (viper-loop): Add indentation declaration (Bug#7025).
1957
e5d9c0d1
CY
19582012-08-05 Chong Yidong <cyd@gnu.org>
1959
f0422feb
CY
1960 * help-fns.el (describe-variable): Add hyperlink for
1961 directory-local variables files. Improve buffer-local and
1962 permanent-local reporting; suggested by MON KEY (Bug#6644).
1963
1964 * help-mode.el (help-dir-local-var-def): New button type.
1965
e5d9c0d1
CY
1966 * files.el (kill-buffer-hook): Provide a defvar.
1967
a4f2deaa
GM
19682012-08-05 Glenn Morris <rgm@gnu.org>
1969
1970 * eshell/esh-ext.el (eshell/addpath):
1971 Also update eshell-path-env. (Bug#12013)
1972
a9dd5754
CY
19732012-08-05 Chong Yidong <cyd@gnu.org>
1974
a4f2deaa 1975 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 1976
d014c740
CY
1977 * fringe.el (fringe-styles): Add docstring.
1978 (fringe--check-mode): New function.
1979 (set-fringe-mode, set-fringe-style): Use it.
1980 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1981
a9dd5754
CY
1982 * files.el (set-auto-mode): Fix invalid setq call.
1983
7c2dc8bd
SM
19842012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * isearch.el: Misc simplification; use defstruct.
1987 (isearch-mode-map): Dense maps now work like sparse ones.
1988 (isearch--state): New defstruct.
1989 (isearch-string-state, isearch-message-state, isearch-point-state)
1990 (isearch-success-state, isearch-forward-state)
1991 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1992 (isearch-wrapped-state, isearch-barrier-state)
1993 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1994 replaced by defstruct's accessors.
1995 (isearch--set-state): Rename from isearch-top-state and change
1996 calling convention.
1997 (isearch-push-state): Use new isearch--get-state.
1998 (isearch-toggle-word): Disable regexp when enabling word.
1999 (isearch-message-prefix): Remove unused arg _c-q-hack.
2000 (isearch-message-suffix): Remove unused arg _ellipsis.
2001
7fcc0070
AS
20022012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2003
2004 * simple.el (list-processes--refresh): For a server use :host or
2005 :local as the address.
97ad0769 2006 (list-processes): Doc fix.
7fcc0070 2007
a11035b8 20082012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2009
2010 * lisp/mpc.el: Support password in host argument.
2011 (mpc--proc-connect): Parse and use new password element.
2012 Set mpc-proc variable instead of returning process.
2013 (mpc-proc): Adjust accordingly.
2014
6dad7178
EZ
20152012-08-03 Eli Zaretskii <eliz@gnu.org>
2016
18949c2f
EZ
2017 * whitespace.el (whitespace-display-mappings): Use Unicode
2018 codepoints, instead of emacs-mule codepoints. See
2019 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2020 for the details.
2021
6dad7178
EZ
2022 * files.el (file-truename): Don't skip symlink-chasing part on
2023 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2024 Windows into the loop that recursively chases symlinks.
2025 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2026 MS-DOS.
2027
385b0198
CY
20282012-08-03 Chong Yidong <cyd@gnu.org>
2029
6200f3c4
CY
2030 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2031
385b0198
CY
2032 * sort.el (sort-regexp-fields): Doc fix.
2033
b9e74744
TH
20342012-08-03 Tassilo Horn <tsdh@gnu.org>
2035
2036 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2037 labels regex position point at the expected place.
2038
41013cb4
MK
20392012-08-03 MON KEY <monkey@sandpframing.com>
2040
2041 * net/imap.el (imap-interactive-login, imap-authenticate)
2042 (imap-mailbox-lsub, imap-mailbox-list)
2043 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2044 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2045 (imap-parse-response): Doc fix.
2046
0ffee616
JT
20472012-08-03 João Távora <joaotavora@gmail.com>
2048
2049 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2050 if sexp scanning does not move point (Bug#5734).
2051
cfcc9cc8
TH
20522012-08-02 Tassilo Horn <tsdh@gnu.org>
2053
2054 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2055 Add listings, minted, and ctable packages.
2056 (reftex-label-alist-builtin): Move listings, minted, and ctable
2057 entries before LaTeX.
a01bbb84 2058 (reftex-label-alist): Docfix.
cfcc9cc8 2059
66ec2442
BG
20602012-08-02 Bastien Guerry <bzg@gnu.org>
2061
2062 * replace.el (occur): Fix docstring (bug#12122).
2063
837b365b
GM
20642012-08-02 Glenn Morris <rgm@gnu.org>
2065
2066 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2067
e098de97
PE
20682012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2069
2070 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2071 * international/mule-cmds.el: Create
2072 inactivate-current-input-method-function as an obsolete alias for
2073 deactivate-current-input-method-function. See Katsumi Yamaoka in
2074 <http://bugs.gnu.org/10150#46>.
2075
a0f95636
JB
20762012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2077
2078 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2079 of nested `if's.
2080
0d26d7c4
GM
20812012-08-01 Glenn Morris <rgm@gnu.org>
2082
2083 * progmodes/autoconf.el (autoconf-definition-regexp):
2084 Add AH_TEMPLATE, adjust submatch numbering.
2085 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2086 (autoconf-current-defun-function): Update for above change.
2087 (autoconf-current-defun-function): First skip to end of current word.
2088
b686ba06
RS
20892012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2090
2091 * calendar/cal-html.el (cal-html-insert-agenda-days):
2092 Fix typo. (Bug#12018)
2093
0d49da68
FEG
20942012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2095
2096 Shell processes: enhancements to startup and CEDET compatibility.
2097 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2098 (python-shell-make-comint): accept-process-output at startup.
2099 (run-python-internal): Set inferior-python-mode-hook to nil.
2100 (python-shell-internal-get-or-create-process): call sit-for.
2101 (python-preoutput-result): Add obsolete alias.
2102 (python-shell-internal-send-string): Use it.
2103 (python-shell-send-setup-code): Remove call to
2104 accept-process-output.
2105
f1a71c6e
AS
21062012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2107
2108 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2109 (Bug#12108)
2110
d2605269
JB
21112012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2112
2113 * calc-mode.el (calc-basic-simplification-mode): Rename from
2114 `calc-limited-simplification-mode'.
2115 (calc-alg-simplification-mode): New function.
fc0c31f8 2116 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2117
d2605269
JB
2118 * calc.el (calc-set-mode-line): Adjust mode line display for
2119 basic simplification mode.
2120
2121 * calc-help.el (calc-m-prefix-help): Update help message.
2122
2123 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2124 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2125
a3827a43
BG
21262012-07-31 Bastien Guerry <bzg@gnu.org>
2127
2128 * man.el (man): Fix comment. (bug#12101)
2129
502e3f89
MR
21302012-07-31 Martin Rudalics <rudalics@gmx.at>
2131
2132 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2133 Don't return a non-nil value when no suitable buffer was found.
2134
d7714961
FEG
21352012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2136
2137 * progmodes/python.el (run-python-internal): Disable font lock for
2138 internal shells.
2139
1f45e27e
SM
21402012-07-30 Stefan Merten <smerten@oekonux.de>
2141
70efc5c9 2142 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2143 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2144 (rst-official-version, rst-official-cvs-rev)
2145 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2146 (rst-mode-map): New key binding.
2147
0aee6912
PE
21482012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2149
2150 Update .PHONY listings in makefiles.
2151 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2152 autoloads, update-subdirs, updates, bzr-update, update-authors,
2153 compile-onefile, compile-calc, backup-compiled-files,
2154 compile-after-backup, compile-one-process, mh-autoloads,
2155 bootstrap-clean, distclean, maintainer-clean.
2156
9052f9f0
JB
21572012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2158
1823ac5a
JB
2159 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2160 (calc-set-mode-line): Don't display "AlgSimp ".
2161
2162 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2163 (calc-lim-simplify-mode): New function.
2164 (calc-set-simplify-mode): Default to 'alg.
2165 (calc-default-simplify-mode): Make algebraic simplifications
2166 the default.
2167
2168 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2169 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2170
8d7c7eed 2171 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2172 indicate new simplification modes.
2173
1823ac5a
JB
2174 * calc/README: Mention new default simplification mode.
2175
9052f9f0
JB
2176 * calc/calc.el (math-normalize-error): New variable.
2177 (math-normalize): Set `math-normalize-error' to t
2178 when there's an error.
2179
2180 * calc/calc-alg.el (math-simplify): Don't simplify when
2181 `math-normalize' returns an error.
2182
20ba0cb4
EZ
21832012-07-29 Eli Zaretskii <eliz@gnu.org>
2184
2185 * international/mule-cmds.el (set-locale-environment): Revert last
2186 change, since display-graphic-p returns nil when this function is
2187 called during startup. Instead...
2188
2189 * term/w32console.el (terminal-init-w32console): ...setup the
2190 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2191
a5dcc929
JL
21922012-07-29 Juri Linkov <juri@jurta.org>
2193
2194 * simple.el (goto-line): Don't display default line number in the
2195 prompt because it should be displayed by `read-number' (bug#9952).
2196 Add the current line number to the defaults of `goto-line' to
2197 allow its easier modification by users with `M-n' (bug#9201).
2198
2199 * subr.el (read-number): Support multiple default values like in
2200 other minibuffer reading functions. Replace `read' with
2201 `string-to-number' for consistency with `number-to-string'.
2202
72b255c7
PE
22032012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2204
2205 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2206 * emulation/viper-init.el (viper-deactivate-input-method-action):
2207 Rename from viper-inactivate-input-method-action.
2208 (viper-deactivate-input-method):
2209 Rename from viper-inactivate-input-method.
2210 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2211 * international/mule-cmds.el (deactivate-input-method):
2212 Rename from inactivate-input-method.
2213 Also run input-method-deactivate-hook.
2214 (deactivate-current-input-method-function):
2215 Rename from inactivate-current-input-method-function.
2216 (input-method-deactivate-hook): New hook.
2217 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2218 (inactivate-input-method): Mark obsolete.
2219
72b255c7
PE
2220 * international/quail.el (quail-activate):
2221 Also run quail-deactivate-hook.
2222 (quail-deactivate): Rename from quail-inactivate.
2223 * international/robin.el (robin-activate):
2224 Also run robin-deactivate-hook.
2225 (robin-deactivate): Rename from robin-inactivate.
2226
2549c068
CY
22272012-07-29 Chong Yidong <cyd@gnu.org>
2228
2229 * simple.el (indicate-copied-region): New function.
2230 (kill-ring-save): Split off from here.
2231
2232 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2233 (kill-rectangle): Set deactivate-mark to t on read-only error.
2234
2235 * register.el (copy-to-register, copy-rectangle-to-register):
2236 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2237 (append-to-register, prepend-to-register):
2238 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2239
2240 * simple.el (async-shell-command-buffer): New defcustom.
2241 (shell-command): Use it. (Bug#4719)
2242
01bd1b0d
EZ
22432012-07-28 Eli Zaretskii <eliz@gnu.org>
2244
2245 * international/mule-cmds.el (set-locale-environment): In a
2246 console session on MS-Windows, set up keyboard and terminal
2247 encoding from the OEM codepage, not the ANSI codepage.
2248 (Bug#12055)
2249
a55739d3
CY
22502012-07-28 Chong Yidong <cyd@gnu.org>
2251
2252 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2253 gdb-get-location.
2254
0e1a094f 22552012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2256
2257 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2258 the alist (bug#12029).
2259
20329d73
EZ
22602012-07-28 Eli Zaretskii <eliz@gnu.org>
2261
2262 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2263 (compile-always, compile-first)
2264 ($(lisp)/calendar/cal-loaddefs.el)
2265 ($(lisp)/calendar/diary-loaddefs.el)
2266 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2267 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2268 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2269 instead of on update-subdirs.
2270 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2271
345a2258
CY
22722012-07-28 Chong Yidong <cyd@gnu.org>
2273
1eee6341
CY
2274 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2275 directory if vc-deduce-backend returns nil (Bug#7350).
2276
345a2258
CY
2277 * simple.el (delete-trailing-lines): New option.
2278 (delete-trailing-whitespace): Obey it (Bug#11879).
2279
049a0936
DE
22802012-07-28 David Engster <deng@randomsample.de>
2281
2282 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2283 Explanation of new 'symbol-qnames feature in doc-strings.
2284 (xml-maybe-do-ns): Return expanded names as plain symbols if
2285 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2286 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2287
aa81af71
FEG
22882012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2289
2290 Consistent completion in inferior python with emacs -nw.
2291 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2292 binding in inferior-python-mode-map with "\t".
2293 (python-shell-completion-complete-at-point)
2294 (python-completion-complete-at-point): Remove interactive spec.
2295
e827b1eb
JB
22962012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2297
2298 * calc/calccomp.el (math-compose-expr): Undo previous change.
2299
a90dfb95
FEG
23002012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2301
4250fdf5 2302 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2303 run-python.
2304 (python-shell-make-comint): Fix pop-to-buffer call.
2305 (run-python): Autoload. New arg SHOW.
2306 (python-shell-get-or-create-process): Do not pop python process
2307 buffer.
2308
32770973 23092012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2310
2311 * notifications.el (notifications-on-action-signal)
2312 (notifications-on-closed-signal): Use also the bus address for the map.
2313 (notifications-notify, notifications-close-notification)
fc0c31f8 2314 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2315
86332df2
TH
23162012-07-27 Tassilo Horn <tsdh@gnu.org>
2317
4250fdf5
SM
2318 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2319 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2320 ctable macro.
2321 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2322 labels written in keyvals syntax.
2323
ca1302a4
JB
23242012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2325
2326 * calc/calccomp.el (math-compose-expr): Use parentheses when
2327 there is a product in the denominator of a fraction.
2328
f8b91036
EZ
23292012-07-26 Eli Zaretskii <eliz@gnu.org>
2330
2331 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2332 ($(lisp)/calendar/diary-loaddefs.el)
2333 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2334 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2335 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2336 rewritten while the autoload files are built at the same time,
2337 which needs to load subdirs.el.
2338
c8e5a42c
MR
23392012-07-26 Martin Rudalics <rudalics@gmx.at>
2340
2341 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2342 (mouse-drag-line): Don't exit tracking when a switch-frame or
2343 switch-window event occurs (Bug#12006).
2344
670d85ea
SM
23452012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * mouse.el (popup-menu): Fix last change.
2348
7abaf5cc
SM
23492012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 Autoload from Lisp with more care. Follow aliases when looking for
2352 function properties.
2353 * subr.el (autoloadp): New function.
2354 (symbol-file): Use it.
2355 (function-get): New function.
2356 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2357 autoload-do-load.
2358 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2359 (lisp-indent-function):
2360 * emacs-lisp/gv.el (gv-get):
2361 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2362 * emacs-lisp/byte-opt.el (byte-optimize-form):
2363 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2364 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2365 Use function-get.
2366 * emacs-lisp/cl.el: Don't propagate function properties any more.
2367
2368 * speedbar.el (speedbar-add-localized-speedbar-support):
2369 * emacs-lisp/disass.el (disassemble-internal):
2370 * desktop.el (desktop-load-file):
2371 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2372 (describe-function-1):
2373 * emacs-lisp/find-func.el (find-function-noselect):
2374 * emacs-lisp/elp.el (elp-instrument-function):
2375 * emacs-lisp/advice.el (ad-has-proper-definition):
2376 * apropos.el (apropos-safe-documentation, apropos-macrop):
2377 * emacs-lisp/debug.el (debug-on-entry):
2378 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2379 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2380 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2381
b1364986
AA
23822012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2383
2384 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2385 function, not an obsolete variable (Bug#12046).
2386
67ada220
AS
23872012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2388
2389 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2390
f08088e3
CS
23912012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2392
2393 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2394 window only if it is still live (Bug#12034).
2395
8137e7b3
MR
23962012-07-25 Martin Rudalics <rudalics@gmx.at>
2397
2398 * subr.el (redirect-frame-focus): Add advertised calling
2399 convention (Bug#12030).
2400
09ae5da1
PE
24012012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2402
2403 Prefer typical American spelling for "acknowledgment".
2404 * vc/add-log.el (change-log-acknowledgment): Rename from
2405 change-log-acknowledgement, with an alias for the old name.
2406
3cc5a3a8
JB
24072012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2408
2409 * calc-alg.el (math-simplify-divide): Don't cross multiply
2410 in an equation when the lhs is a variable.
2411
b7af7f62
JD
24122012-07-24 Julien Danjou <julien@danjou.info>
2413
2414 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2415 Remove, unused.
2416
ec1b09b1
EZ
24172012-07-23 Eli Zaretskii <eliz@gnu.org>
2418
2419 * startup.el (command-line): Don't display an empty user name in
2420 the error message about non-existent home directory, when
2421 init-file-user was set to an empty string. See
2422 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2423 for the details and context.
2424
b525fd8a
VB
24252012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2426
2427 * ses.el (ses-cell-formula-aset): New macro.
2428 (ses-cell-references-aset): New macro.
2429 (ses-cell-p): New function.
2430 (ses-rename-cell): Do no longer rely on complex operations like
2431 ses-cell-set-formula or ses-set-cell to change the cell and handle
2432 the undo at the same time, but rather use lower level new macros
2433 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2434 the undo directly. Refresh the mode line.
b525fd8a 2435
2c73e345
LL
24362012-07-21 Leo Liu <sdl.web@gmail.com>
2437
670d85ea
SM
2438 * progmodes/cc-cmds.el (c-defun-name):
2439 Use match-string-no-properties instead for consistency.
2c73e345 2440
542dfbde
LL
24412012-07-20 Leo Liu <sdl.web@gmail.com>
2442
3646bcd6
LL
2443 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2444 (Bug#7879)
2445
542dfbde
LL
2446 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2447
25721031
CY
24482012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2451 * progmodes/bug-reference.el, misearch.el: Provide themselves
2452 (bug#11915).
2453
2454 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2455 of narrowed buffer (bug#11966).
2456
316e68a7
VB
24572012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2458
2459 * ses.el (ses-rename-cell): Set new name also in reference list of
2460 cells of which the renamed cell depends.
2461
bbf0e7d9
MY
24622012-07-20 Masatake YAMATO <yamato@redhat.com>
2463
2464 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2465 to check whether menu-bar is shown or not. If not shown,
2466 show the menu-bar as a popup menu instead of using tmm.
2467 * mouse.el (popup-menu): Accept `point' as `position' argument.
2468
c28662a8
DG
24692012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2470
2471 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2472 up inside string symbol literal (bug#11923).
2473
87ab808f
EZ
24742012-07-20 Eli Zaretskii <eliz@gnu.org>
2475
2476 * startup.el (fancy-startup-text): Read the whole tutorial, not
2477 just its first 256 bytes. Prevents gibberish in display of the
2478 tutorial title.
2479
89dea803
DA
24802012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2481
2482 Drop idle buffer compaction due to an absence of the
2483 proved efficiency.
2484 * compact.el: Remove.
2485
8a4e6db8
SS
24862012-07-19 Sam Steingold <sds@gnu.org>
2487
2488 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2489 vc-bzr-pull & vc-bzr-merge-branch.
2490 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2491 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2492 for consistency with compilation-error-regexp-alist.
2493 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2494 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2495 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2496 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2497
5db81e33
SM
24982012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * emacs-lisp/chart.el: Use lexical-binding.
2501 (chart-emacs-storage): Don't hardcode the list of entries.
2502
5b835e1d
DA
25032012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2504
2505 Next round of tweaks caused by Fgarbage_collect changes.
2506 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2507
9cd47b72
DA
25082012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2509
2510 Compact buffers when idle.
2511 * compact.el: New file.
2512
1d6fc0df
SM
25132012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * subr.el (eventp): Presume that if it looks vaguely like an event,
2516 it's an event (bug#10190).
2517
1d29cc7d
FEG
25182012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2519
2520 Enhancements to ppss related code (thanks Stefan).
2521 * progmodes/python.el (python-indent-context)
2522 (python-indent-calculate-indentation, python-indent-dedent-line)
2523 (python-indent-electric-colon, python-nav-forward-block)
2524 (python-mode-abbrev-table)
1d6fc0df 2525 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2526 for ppss context.
2527 (python-info-continuation-line-p): Cleanup.
2528 (python-info-ppss-context): Do not catch 'quote.
2529 (python-info-ppss-context-type)
2530 (python-info-ppss-comment-or-string-p): Simplify.
2531
d583cbe6
FEG
25322012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2533
2534 * progmodes/python.el: Enhancements to eldoc support.
2535 (python-info-current-symbol): New function.
2536 (python-eldoc-at-point): Use python-info-current-symbol.
2537 (python-info-current-defun): Fix cornercase on first defun scan.
2538 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2539 and signal error when no inferior python process is available.
2540
eceb6feb
DG
25412012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2542
2543 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2544 assume it's always t.
2545 (vc-git-registered): Remove caching, the function is only called
2546 once.
2547 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2548
4c8ff0fe
CY
25492012-07-18 Chong Yidong <cyd@gnu.org>
2550
19fb7186
CY
2551 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2552
9587c688
CY
2553 * simple.el (count-words): Report on narrowing (Bug#9959).
2554
0fe776a1
CY
2555 * bindings.el: Bind M-= to count-words.
2556
4c8ff0fe
CY
2557 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2558
7f5331cc
MY
25592012-07-18 Masatake YAMATO <yamato@redhat.com>
2560
2561 * progmodes/sh-script.el (sh-imenu-generic-expression):
2562 Capture a function with `function' keyword and without parentheses
2563 like "function FOO" (bug#11856).
2564
2dc2a609
TH
25652012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2566
2567 * window.el (split-window-sensibly): Make WINDOW argument
2568 optional.
2569
439f7677
CY
25702012-07-18 Chong Yidong <cyd@gnu.org>
2571
9aeb25a6
CY
2572 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2573
439f7677
CY
2574 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2575 and make C-x 8 RET exit isearch (Bug#11439).
2576
2577 * international/iso-transl.el: Move isearch-mode-map key
2578 definitions to isearch.el.
2579
12999ea8
SM
25802012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2583 (eieio-defclass): Use gv-define-setter when possible.
2584
3ab6e069
DA
25852012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2586
2587 Reflect recent changes in Fgarbage_collect.
2588 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2589 reflect new format of data returned by Fgarbage_collect.
2590
0a60bc10
FEG
25912012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2592
2593 New utility functions + python-info-ppss-context fix (Bug#11910).
2594 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2595 (python-info-ppss-comment-or-string-p): New functions.
2596 (python-info-ppss-context): Small fix for string check.
2597
6dafa0d5
JL
25982012-07-17 Juri Linkov <juri@jurta.org>
2599
2600 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2601 (dired-do-async-shell-command): Don't add `*' at the end of the
2602 command (Bug#11815).
2603 (dired-do-shell-command): Doc fix.
2604 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2605 Join the individual commands using either "&" or ";" as the
2606 separator depending on the values of these trailing characters.
2607 At the end re-add the trailing "&". (Bug#10598)
2608
2609 * simple.el (async-shell-command): Sync the interactive spec with
2610 `shell-command'. Doc fix.
2611 (shell-command): Doc fix.
2612
b19dd9d1
JL
26132012-07-17 Juri Linkov <juri@jurta.org>
2614
2615 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2616
bcdc27d7 26172012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 2618
bcdc27d7 2619 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
2620 * progmodes/python.el (python-nav-beginning-of-statement):
2621 Rename from python-nav-statement-start.
bcdc27d7
FEG
2622 (python-nav-end-of-statement): Rename from
2623 python-nav-statement-end.
2624 (python-nav-beginning-of-block): Rename from
2625 python-nav-block-start.
2626 (python-nav-end-of-block): Rename from python-nav-block-end.
2627
191da00e
FEG
26282012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2629
7f5331cc
MY
2630 * progmodes/python.el (python-shell-send-string-no-output):
2631 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
2632 future interactions (Bug#11868).
2633
4dc7c8d5 26342012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 2635
88ecaf8f
SM
2636 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2637
ef501ef0
SM
2638 * emacs-lisp/elint.el (elint-find-args-in-code):
2639 Use help-function-arglist, so as to handle lexical byte-code.
2640
aa7aaf8f
SM
2641 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2642 change (bug#11826).
2643
45fd731c
SM
26442012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2143fa32
SM
2646 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2647 Avoid spuriously marking the buffer as modified because of c-is-sws.
2648
efc26dbe
SM
2649 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2650 as not-a-comment (bug#11946).
2651
f5695c9a
SM
2652 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2653 for uninterned vars.
2654
2655 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2656 Use read-event since we don't really want to read chars but bytes.
2657
45fd731c
SM
2658 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2659 $$..$$ but also $..$ using regexps (bug#11953).
2660 Use tex-verbatim for \url and \path.
2661 (tex-font-lock-keywords): Define as defconst like the others.
2662 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2663
ddfc8813
RK
26642012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2665
2666 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2667 alias for insert-char.
2668
758e556a
FEG
26692012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2670
2671 * progmodes/python.el: Simplified imenu implementation.
2672 (python-nav-jump-to-defun): Remove command.
2673 (python-mode-map): Use `imenu' instead.
2674 (python-nav-list-defun-positions-cache)
2675 (python-imenu-include-defun-type, python-imenu-make-tree)
2676 (python-imenu-subtree-root-label, python-imenu-index-alist):
2677 Remove vars.
2678 (python-nav-list-defun-positions, python-nav-read-defun)
2679 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
2680 (python-imenu-make-tree, python-imenu-create-index):
2681 Remove functions.
758e556a
FEG
2682 (python-mode): Update to interact with imenu by setting
2683 `imenu-extract-index-name-function' only.
2684
032d23ab
FEG
26852012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2686
2687 * progmodes/python.el: Enhancements to navigation commands.
2688 (python-nav-backward-sentence)
2689 (python-nav-forward-sentence): Remove.
2690 (python-nav-backward-statement, python-nav-forward-statement)
2691 (python-nav-statement-start, python-nav-statement-end)
2692 (python-nav-backward-block, python-nav-forward-block)
2693 (python-nav-block-start, python-nav-block-end)
2694 (python-nav-forward-sexp-function)
2695 (python-info-current-line-comment-p)
2696 (python-info-current-line-empty-p): New functions.
2697 (python-indent-context): Use `python-nav-statement-start'.
2698
01795a1b
MA
26992012-07-16 Michael Albinus <michael.albinus@gmx.de>
2700
9328d9aa
MA
2701 * eshell/em-ls.el (eshell/ls): Use `apply'.
2702
2703 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2704 multi-hops, instead of Tramp internals.
2705
01795a1b
MA
2706 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2707
2708 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2709 when F1 and F2 are located on different hosts.
2710
63408057
CY
27112012-07-14 Chong Yidong <cyd@gnu.org>
2712
2713 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2714 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2715 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2716 (xterm-mouse--read-event-sequence-1000)
2717 (xterm-mouse--read-event-sequence-1006): New functions. For old
2718 mouse protocol, handle M-mouse-X events correctly.
2719 (xterm-mouse-event): New arg specifying mouse protocol.
2720 (turn-on-xterm-mouse-tracking-on-terminal)
2721 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
2722 sequence to toggle extended coordinates on newer XTerms.
2723 This appears to be harmless on terminals which do not support this.
63408057 2724
cd276f6e
LL
27252012-07-14 Leo Liu <sdl.web@gmail.com>
2726
28ca98ac
LL
2727 Add fringe bitmap indicators for flymake. (Bug#11253)
2728 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2729 (flymake-make-overlay): New arg BITMAP.
2730 (flymake-error-bitmap, flymake-warning-bitmap)
2731 (flymake-fringe-indicator-position): New user variables.
2732
cd276f6e
LL
2733 * fringe.el: New bitmap exclamation-mark.
2734
04408072
JD
27352012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2736
2737 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2738 also (Bug#7879).
2739
b5cf7fc4
CY
27402012-07-14 Chong Yidong <cyd@gnu.org>
2741
2742 * electric.el (electric-pair-post-self-insert-function): Fix pair
2743 insertion in empty-region case (Bug#11520).
2744
be755c79
RT
27452012-07-14 Chong Yidong <cyd@gnu.org>
2746
45fd731c
SM
2747 * bindings.el: Consolidate ctl-x-r-map bindings.
2748 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
2749
2750 * rect.el, register.el: Move bindings to bindings.el.
2751
27522012-07-14 Reuben Thomas <rrt@sc3d.org>
2753
2754 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2755
7f5b3198
AS
27562012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2757
2758 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2759
97662200
JB
27602012-07-13 Juanma Barranquero <lekktu@gmail.com>
2761
80185fed
JB
2762 * bindings.el (top): Use `mapc' instead of `mapcar'.
2763
97662200
JB
2764 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2765
2bb1ae55
MA
27662012-07-13 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * progmodes/sql.el (sql-comint): Suppress the check for program on
2769 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2770 (Bug#11908)
2771
dea31bd3
CY
27722012-07-13 Chong Yidong <cyd@gnu.org>
2773
2774 * bindings.el: Assign a non-nil permanent-local property to
2775 per-buffer variables which lack a default value (Bug#11930).
2776
2777 * help-fns.el (describe-variable): In the "automatically becomes
2778 local" notice, take note of permanent-local variables.
2779
b68b3337
CY
27802012-07-13 Chong Yidong <cyd@gnu.org>
2781
2782 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2783 to allow printing the message when called from Lisp.
2784
2785 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2786 Remove toggle-read-only.
2787
2788 * bs.el (bs-toggle-readonly):
45fd731c
SM
2789 * buff-menu.el (Buffer-menu-toggle-read-only):
2790 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
2791
2792 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2793 Remove with-no-warnings around toggle-read-only.
2794 (ffap-read-only, ffap-read-only-other-window)
2795 (ffap-read-only-other-frame): Callers changed.
2796
2797 * help-mode.el: Don't require view package.
2798 (help-mode-finish): Set buffer-read-only instead of calling
2799 toggle-read-only.
2800
2801 * bindings.el (mode-line-toggle-read-only):
2802 * dired.el (dired-toggle-read-only):
2803 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2804 with non-nil second arg.
2805
2806 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2807 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2808 directly.
2809
56bc1586
EZ
28102012-07-12 Eli Zaretskii <eliz@gnu.org>
2811
2812 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2813 not incf.
2814
a464a6c7
SM
28152012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 More CL cleanups and reduction of use of cl.el.
2818 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2819 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2820 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2821 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2822 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2823 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2824 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2825 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2826 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2827 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2828 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2829 * eshell/em-cmpl.el, eshell/em-banner.el:
2830 * calendar/parse-time.el: Use cl-lib.
2831 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2832 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2833 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2834 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2835 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2836 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2837 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2838 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2839 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2840 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2841 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2842 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2843 `lambda' rather than with `quote'.
2844 (eshell-do-opt): Adjust accordingly.
2845 (eshell-process-option): Simplify.
2846 * eshell/esh-var.el:
2847 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2848 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2849 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2850 to `pcase--dontcare'.
2851 * emacs-lisp/cl.el (labels): Mark obsolete.
2852 (cl--letf, letf): Move to cl-lib.
2853 (cl--letf*, letf*): Remove.
2854 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2855 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2856 (cl-progv): Rewrite.
2857 (cl--letf, cl-letf): Move from cl.el.
2858 (cl-letf*): New macro.
2859 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2860
7ad4afe1
MA
28612012-07-11 Michael Albinus <michael.albinus@gmx.de>
2862
2863 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2864
9af57756
CY
28652012-07-11 Chong Yidong <cyd@gnu.org>
2866
2867 * vc/log-edit.el (log-edit-vc-backend): New variable.
2868 (log-edit): Doc fix.
2869
2870 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2871 argument of log-edit to set up all local variables.
2872 (vc-start-logentry): New optional arg specifying VC backend.
2873
2874 * vc/vc.el (vc-checkin): Use it.
2875 (vc-deduce-fileset): Handle Log Edit buffers.
2876 (vc-diff): Make first argument optional too.
2877
2878 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2879
8477cc7a
MA
28802012-07-10 Michael Albinus <michael.albinus@gmx.de>
2881
2882 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2883 command, just in case. The function is not needed anymore.
2884 (eshell-external-command): Do not call `eshell-remote-command'.
2885
19faa8e8
SM
28862012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2887
f58e0fd5
SM
2888 Reduce use of (require 'cl).
2889 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2890 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2891 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2892 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2893 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2894 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2895 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2896 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2897 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2898 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2899 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2900 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2901 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2902 (byte-compile-unfold-bcf, byte-compile-check-variable):
2903 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2904 (byte-compile-nilconstp):
2905 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2906 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2907
2519d43a
SM
2908 * emacs-lisp/gv.el (cond): Make it a valid place.
2909 (if): Simplify slightly.
2910
19faa8e8
SM
2911 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2912 (pcase--self-quoting-p): New function.
2913 (pcase--u1): Use it.
2914
c4907a5e
GM
29152012-07-10 Glenn Morris <rgm@gnu.org>
2916
2917 * emacs-lisp/authors.el (authors-fixed-entries):
2918 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2919
c4444d16
PE
29202012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2921
2922 Rename configure.in to configure.ac (Bug#11603).
2923 * emacs-lisp/authors.el (authors-canonical-file-name):
2924 * progmodes/autoconf.el (autoconf-mode):
2925 Prefer configure.ac to configure.in.
2926
d75be97d
CY
29272012-07-08 Chong Yidong <cyd@gnu.org>
2928
01ac65bd
CY
2929 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2930 Implement the mouse-1-click-follows-link handling properly.
2931
2932 * info.el (Info-link-keymap): Use follow-link mechanism for
2933 header-line links (Bug#374).
2934
d75be97d
CY
2935 * simple.el (deactivate-mark): Do not set the primary selection
2936 if another program has acquired it (Bug#11772).
2937
87a92845 29382012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
2939
2940 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2941 (woman-decode-region): Replace escaped-escapes without destroying
2942 bold or underline (Bug#11552).
87a92845 2943 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 2944
621b9d6c
CY
29452012-07-07 Chong Yidong <cyd@gnu.org>
2946
2947 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
2948 (interprogram-cut-function, interprogram-paste-function):
2949 Mention that we typically mean the clipboard.
621b9d6c 2950
133a11fc
GM
29512012-07-06 Glenn Morris <rgm@gnu.org>
2952
0d27a45e
GM
2953 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2954
133a11fc
GM
2955 * files.el (toggle-read-only): Restrict message to interactive use.
2956
07b151f1
MA
29572012-07-06 Michael Albinus <michael.albinus@gmx.de>
2958
2959 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2960
2961 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2962
211b896b
GM
29632012-07-06 Glenn Morris <rgm@gnu.org>
2964
50394322
GM
2965 * Makefile.in (compile-one-process): Rename from "recompile".
2966
211b896b
GM
2967 * Makefile.in (bzr-update): "compile" is the same as "recompile
2968 autoloads", but parallelizable, so use that instead.
2969
4737eec9
DG
29702012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2971
2972 * window.el (quit-window): Always restore window height when
8137e7b3 2973 it's saved in quit-restore parameter (Bug#11810).
4737eec9 2974
226c3633 29752012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
2976
2977 * simple.el (kill-whole-line): Doc tweak.
2978
226c3633 29792012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
2980
2981 * files.el (file-relative-name): Compare file names
2982 case-insensitively if on MS-Windows or MS-DOS, or if
2983 read-file-name-completion-ignore-case is non-nil. Don't use
2984 case-fold-search for this purpose. (Bug#11827)
2985
4dc7c8d5
SM
29862012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2987
2988 * calendar/cal-dst.el (calendar-current-time-zone):
2989 Return calendar-current-time-zone-cache if non-nil.
2990
29912012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 29922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 2993
19faa8e8
SM
2994 * calendar/cal-dst.el (calendar-current-time-zone):
2995 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 2996
60198fc9
GM
29972012-07-06 Glenn Morris <rgm@gnu.org>
2998
2999 * Makefile.in (cvs-update): Remove old alias.
3000
957b3189
MA
30012012-07-05 Michael Albinus <michael.albinus@gmx.de>
3002
3003 Sync with Tramp 2.2.6-pre.
3004
3005 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3006 compatible declaration.
3007
19faa8e8
SM
3008 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3009 Protect `list-load-path-shadows' call.
957b3189
MA
3010
3011 * net/tramp-compat.el (top): Require packages, which aren't
3012 autoloaded anymore for XEmacs. Protect call of
3013 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3014 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3015 it hurts at least for SXEmacs.
3016 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3017 standard-value for `temporary-file-directory'.
3018
3019 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3020 Redirect stderr to /dev/null.
3021 (tramp-sh-handle-write-region): uid and gid can be floats.
3022 Reported by Russell Sim <russell.sim@gmail.com>.
3023 (tramp-sh-handle-vc-registered): Hide errors.
3024 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3025 and `start-file-process'.
3026 (tramp-maybe-open-connection): Check also whether `non-essential'
3027 is bound.
3028
566df3fc
CY
30292012-07-04 Chong Yidong <cyd@gnu.org>
3030
3031 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3032 (xml-parse-tag): Likewise, and avoid changing entity tables.
3033 (xml-syntax-table): Define from scratch, making sure not to give
3034 x2000 and other Unicode spaces whitespace syntax, since those are
3035 not spaces in XML.
3036 (xml-parse-fragment): Delete unused function.
3037 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3038 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3039 (xml-entity-ref, xml-pe-reference-re)
3040 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3041 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3042 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3043 (xml-entity-value-re): Use syntax references in regexps where
3044 possible; no need to define inside a let-binding.
3045 (xml-parse-dtd): Use xml-pe-reference-re.
3046 (xml-entity-or-char-ref-re): New defconst.
3047 (xml-parse-string, xml-substitute-special): Use it.
3048
30eabd7a
SM
30492012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3050
0781098a
SM
3051 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3052 (find-file--read-only): New function.
3053 (find-file-read-only, find-file-read-only-other-window)
3054 (find-file-read-only-other-frame): Use it.
3055 (insert-file-contents-literally): Don't `fset'.
3056 (get-free-disk-space): Use locate-dominating-file.
3057
b5771c0d
SM
3058 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3059 function is already compiled.
3060
30eabd7a
SM
3061 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3062
b4886f6e
MA
30632012-07-03 Michael Albinus <michael.albinus@gmx.de>
3064
3065 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3066 files on the same host.
3067
b9d82339
AS
30682012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3069
3070 * help-fns.el (describe-function-1): Only call
3071 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3072
a76e6535
CY
30732012-07-03 Chong Yidong <cyd@gnu.org>
3074
3075 * xml.el: Protect parser against XML bombs.
3076 (xml-entity-expansion-limit): New variable.
3077 (xml-parse-string, xml-substitute-special): Use it.
3078 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3079
b544fef2
GM
30802012-07-03 Glenn Morris <rgm@gnu.org>
3081
3082 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3083 Allow linking to specific messages in debbugs reports (eg 123#5).
3084
a7aef6f5
CY
30852012-07-02 Chong Yidong <cyd@gnu.org>
3086
3087 * xml.el: Fix entity and character reference expansion, allowing
3088 them to expand into markup as per XML spec.
3089 (xml-default-ns): New variable.
3090 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3091 (xml-parse-region): Make first two arguments optional.
3092 Discard text properties.
3093 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3094 All callers changed.
a7aef6f5
CY
3095 (xml-parse-tag): Call xml-parse-tag-1. For backward
3096 compatibility, this function should not modify buffer contents.
3097 (xml-parse-tag-1): Fix opening-tag regexp.
3098 (xml-parse-string): Rewrite, handling entity and character
3099 references properly.
3100 (xml--entity-replacement-text): Signal an error if a parameter
3101 entity is undefined.
3102
3df31c9f
SM
31032012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3104
2b5208f1
SM
3105 * comint.el (comint-output-filter): Filter out repeated prompts.
3106
3df31c9f
SM
3107 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3108 and file-name-absolute-p.
3109 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3110 internal calls.
3111
e3ac1281
PE
31122012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3113
3114 Spelling fixes.
3115 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3116 Rename from byte-compile--refiy-function. All uses changed.
3117
fbf2e7ad
CY
31182012-07-01 Chong Yidong <cyd@gnu.org>
3119
3120 * xml.el (xml--parse-buffer): New function. Move most of
3121 xml-parse-region here.
3122 (xml-parse-region): Copy region into a temporary buffer, since
3123 parameter entity substitution requires changing buffer contents.
3124 Use xml--parse-buffer.
3125 (xml-parse-file): Use xml--parse-buffer.
3126 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3127 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3128
9bf0aa15
GM
31292012-06-30 Glenn Morris <rgm@gnu.org>
3130
bbce2853
GM
3131 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3132
9bf0aa15
GM
3133 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3134 Remove outdated and unnecessary dbus declarations.
3135
0d23c240
EZ
31362012-06-30 Eli Zaretskii <eliz@gnu.org>
3137
3138 * emacs-lisp/timer.el (timer-until): Subtract results of
3139 float-time, instead of taking float-time of the result of
3140 time-subtract, since float-time signals an error for negative time
3141 arguments.
3142
b3218de1
CY
31432012-06-30 Chong Yidong <cyd@gnu.org>
3144
3145 * xml.el (xml-*-re): Convert defvars into defconsts, and
3146 eval-and-compile them so eval-and-compile works on derivatives.
3147 (xml--entity-replacement-text): Use eval-and-comple.
3148
a40c87a0
MA
31492012-06-30 Michael Albinus <michael.albinus@gmx.de>
3150
3151 * vc/vc-git.el (vc-git-registered): Use cache property
3152 `git-registered'.
3153 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3154 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3155 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3156
ac87de97
DG
31572012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3158
3159 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3160 removed (likely outside Emacs). (Bug#11757)
ac87de97 3161
ac10fe06
SM
31622012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3df31c9f 3164 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3165
7f3fbd5d
CY
31662012-06-30 Chong Yidong <cyd@gnu.org>
3167
3168 * xml.el: Implement XML parameter entities.
3169 (xml-parameter-entity-alist): New variable.
3170 (xml-parse-region, xml-parse-fragment): Preserve previous values
3171 of xml-entity-alist and xml-parameter-entity-alist, so that
3172 repeated calls on different documents do not change them.
3173 (xml-parse-tag): Fix doctype regexp.
3174 (xml--entity-replacement-text): New function.
3175 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3176 properly requires url retrieval which is unimplemented.
3177 (xml-escape-string): Doc fix.
3178
3cfbebba
SM
31792012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3182
2af3565e
DA
31832012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3184
3185 * fringe.el (fringe-mode): Doc fix.
3186
929df0e7
MA
31872012-06-29 Michael Albinus <michael.albinus@gmx.de>
3188
3189 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3190 is non-nil.
3191 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3192 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3193
c8d3a25c 31942012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3195
c8d3a25c
GM
3196 * calendar/cal-dst.el (calendar-current-time-zone):
3197 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3198
c8d3a25c 31992012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3200
3201 * progmodes/which-func.el (which-func-format):
3202 Add mouse-face. (Bug#11698)
3203
c8d3a25c
GM
32042012-06-29 Leo Liu <sdl.web@gmail.com>
3205
3206 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3207
32082012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * minibuffer.el (minibuffer-confirm-exit-commands):
3211 Add completion-at-point (bug#11725).
3212
32132012-06-29 Glenn Morris <rgm@gnu.org>
3214
3215 * progmodes/f90.el (f90-font-lock-keywords-2):
3216 Add some preprocessor elements. (Bug#10499)
3217
32182012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3221 Use syntax-propertize (bug#11739).
3222
2badeec4
JB
32232012-06-28 Juanma Barranquero <lekktu@gmail.com>
3224
3225 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3226
ae4969c2
JD
32272012-06-28 Julien Danjou <julien@danjou.info>
3228
3229 * term.el (term-handle-colors-array): Use a set of new faces to
3230 color the terminal. Also uses :inverse-video property.
3231 (term-default-fg-color): Set to nil by default, deprecate in favor
3232 of `term-face'.
3233 (term-default-bg-color): Set to nil by default, deprecate in favor
3234 of `term-face'.
3235 (term-current-face): Use `term-face' by default.
3236 (term-bold-attribute): Variable deleted.
3237
1c9bd870
GM
32382012-06-28 Glenn Morris <rgm@gnu.org>
3239
3240 * simple.el (completion-list-mode-finish):
3241 Don't use toggle-read-only. (Since completion-list-mode has
3242 a special mode-class, it wasn't doing anything extra anyway.)
3243
c207708c
SM
32442012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 Make inlining of other-mode interpreted functions work (bug#11799).
3247 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3248 (byte-compile): Use it to fix compilation of lexical-binding closures.
3249 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3250 function, if needed.
3251
3fd56834
SM
32522012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3253
04901786
SM
3254 * help-mode.el (help-make-xrefs): Don't just withstand
3255 cyclic-variable-indirection but any error in documentation-property.
3256
1ec4b7b2
SM
3257 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3258 memory use.
3259 * bindings.el (bindings--define-key): New function.
3260 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3261 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3262 * bindings.el: Use it to purecopy define-key bindings.
3263
e309e2a5
SM
3264 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3265
d5c6faf9
SM
3266 * emacs-lisp/cl.el (flet): Mark obsolete.
3267 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3268 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3269 * progmodes/js.el (js-c-fill-paragraph):
3270 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3271 (ebrowse-switch-member-buffer-to-derived-class):
3272 * play/5x5.el (5x5-solver): Use cl-flet.
3273
6e9590e2
SM
3274 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3275 (cl--symbol-function): New macro.
3276 (cl--letf, cl--letf*): Use it.
3277
3fd56834
SM
3278 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3279 Strip "toggle-" if any.
3280
35ff222c
GM
32812012-06-27 Glenn Morris <rgm@gnu.org>
3282
1ba6038a
GM
3283 * info.el (Info-default-directory-list): Move here from paths.el.
3284 * paths.el: Remove file, which is now empty.
3285 * loadup.el: No longer load "paths".
3286
0ea0e51b
GM
3287 * custom.el (custom-initialize-delay): Doc fix.
3288
35ff222c
GM
3289 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3290 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3291 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3292 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3293 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3294 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3295 * eshell/eshell.el (eshell-defgroup): Remove alias.
3296
c89926a5
CY
32972012-06-27 Chong Yidong <cyd@gnu.org>
3298
3299 * help.el (help-enable-auto-load): New variable.
3300
3301 * help-fns.el (help-fns--autoloaded-p): New function.
3302 (describe-function-1): Refer to a function as "autoloaded" if it
3303 was autoloaded at any time in the past. Perform autoloading if
3304 help-enable-auto-load is non-nil.
3305
cc06e7e7
EZ
33062012-06-26 Eli Zaretskii <eliz@gnu.org>
3307
3308 * makefile.w32-in (compile, compile-always): Depend on
3309 update-subdirs, not on subdirs.el. Otherwise, several different
3310 sub-targets of 'bootstrap' running in parallel could
3311 simultaneously write to subdirs.el, producing a garbled file.
3312
d2c32364
SS
33132012-06-26 Sam Steingold <sds@gnu.org>
3314
3315 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3316 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3317 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3318 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3319 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3320 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3321 * textmodes/tex-mode.el: Use it.
3322 Did not touch cedet and org because they are maintained elsewhere.
3323
5cf983b2
MR
33242012-06-26 Martin Rudalics <rudalics@gmx.at>
3325
3326 * calendar/calendar.el (calendar-exit): Don't try to delete or
3327 iconify last frame. See:
3328 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3329
8c4f2952
JD
33302012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3331
3332 * server.el (server-process-filter): Remember dir in the
3333 process's `server-client-directory' properties.
3334
772b2e2c
CY
33352012-06-24 Chong Yidong <cyd@gnu.org>
3336
3337 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3338 non-tag text.
3339
711b11e1
JB
33402012-06-23 Juanma Barranquero <lekktu@gmail.com>
3341
3342 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3343
dc5d230c
SM
33442012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * help-fns.el (describe-variable): Don't croak when doc is not found.
3347 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3348 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3349 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3350 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3351 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3352 ((lambda ..) ..).
3353 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3354
136e1c1d
CY
33552012-06-23 Chong Yidong <cyd@gnu.org>
3356
e8c1cabf
CY
3357 * info.el (Info-mouse-follow-link): Accept symbol values of
3358 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3359 (Info-fontify-node): Use Info-link-keymap for all navigation
3360 buttons, with link-args property to perform the desired action.
3361 (Info-link-keymap): Doc fix.
3362 (Info-next-link-keymap, Info-prev-link-keymap)
3363 (Info-up-link-keymap): Delete now-unused keymaps.
3364
0e9e6c6a
CY
33652012-06-23 Chong Yidong <cyd@gnu.org>
3366
05e89fea
CY
3367 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3368
0e9e6c6a
CY
3369 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3370 system abbrevs.
3371
3372 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3373
e33c6771
SM
33742012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3375
b68581e2
SM
3376 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3377 (bug#11719).
3378
e33c6771
SM
3379 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3380 the requote function doesn't work properly (bug#11714).
3381
7117e105
GM
33822012-06-23 Glenn Morris <rgm@gnu.org>
3383
3384 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3385
36cec983
SM
33862012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 Further GV/CL cleanups.
3389 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3390 gv-expander.
3391 (gv--defun-declaration): New function.
3392 (defun-declarations-alist): Use it.
3393 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3394 (gv-place): Autoload.
3395 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3396 original definition of dotimes and dolist.
3397 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3398 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3399 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3400 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3401 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3402 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3403 to the function's definition.
3404 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3405 * window.el:
3406 * files.el:
3407 * faces.el:
3408 * env.el: Don't use CL.
3409
d35af63c
PE
34102012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3411
3412 Support higher-resolution time stamps (Bug#9000).
3413
3414 * calendar/time-date.el (with-decoded-time-value): New arg
3415 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3416 (encode-time-value): New optional arg PICO. New type 3.
3417 (time-to-seconds) [!float-time]: Support the new picoseconds
3418 component if it's used.
3419 (seconds-to-time, time-subtract, time-add):
3420 Support ps-resolution time stamps as well.
3421
3422 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3423 (timerp): Timer vectors now have length 9, not 8.
3424 (timer--time): Support new-style (4-part) time stamps.
3425 (timer-next-integral-multiple-of-time): Time stamps now have
3426 picosecond resolution, so take a bit more care about rounding.
3427 (timer-relative-time, timer-inc-time): New optional arg psecs.
3428 (timer-set-time-with-usecs): Set psecs to 0.
3429 (timer--activate): Check psecs component, too.
3430
3431 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3432
ac77b21a
SM
34332012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3434
f143bfe3
SM
3435 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3436 Move the non-essential binding to the post/pre-command-hook where it is
3437 more obviously correct.
3438
ac77b21a
SM
3439 * subr.el (read-passwd): Don't use a history at all.
3440 * savehist.el (savehist-save): Remove password saved accidentally
3441 because of the above bug.
3442
76386c5a
BG
34432012-06-22 Bastien Guerry <bzg@gnu.org>
3444
3445 * files.el (toggle-read-only): Display a message telling whether
3446 the buffer is read-only or not (bug#11726).
3447
2ee3d7f0
SM
34482012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * emacs-lisp/gv.el: New file.
3451 * subr.el (push, pop): Extend to generalized variables.
3452 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3453 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3454 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3455 gv-define-simple-setter, and gv-define-expander.
3456 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3457 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3458 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3459 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3460 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3461 gv-letplace.
3462 (cl-defstruct): Don't define setf-method any more.
3463 * emacs-lisp/cl.el (flet): Don't autoload.
3464 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3465 (define-setf-expander, defsetf, define-modify-macro)
3466 (cl-struct-setf-expander): Move from cl-lib.el.
3467 * emacs-lisp/syntax.el:
3468 * emacs-lisp/ewoc.el:
3469 * emacs-lisp/smie.el:
3470 * emacs-lisp/cconv.el:
3471 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3472 (timer--time): Use gv-define-simple-setter.
3473 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3474 to avoid coding-system problems in subr.el. Adjust all users.
3475 (macroexp--maxsize, macroexp-small-p): New functions.
3476 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3477 * scroll-bar.el (scroll-bar-mode):
3478 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3479 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3480 * winner.el (winner-configuration, winner-make-point-alist)
3481 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3482 * files.el (locate-file-completion-table): Avoid list*.
3483
c5695d1d
CY
34842012-06-22 Chong Yidong <cyd@gnu.org>
3485
3486 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3487 (dired-create-files): Doc fix (Bug#11329).
3488 (dired-do-copy): Doc fix (Bug#11334).
3489 (dired-mark-read-string): Doc fix (Bug#11553).
3490
2ee3d7f0
SM
3491 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3492 Doc fix (Bug#11326).
c5695d1d
CY
3493 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3494 (dired-dwim-target): Doc fix.
3495
3496 * wdired.el (wdired-mode): Doc fix.
3497
89b5595a
GM
34982012-06-22 Glenn Morris <rgm@gnu.org>
3499
575db3f1
GM
3500 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3501 (pcmpl-rpm-cache-stamp-file): New constant.
3502 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3503 (pcmpl-rpm-packages): Optionally cache list of packages.
3504
a4c8dd51
GM
3505 * pcmpl-rpm.el (pcmpl-rpm): New group.
3506 (pcmpl-rpm-query-options): New option.
3507 (pcmpl-rpm-packages): No need to inline it.
3508 Use pcmpl-rpm-query-options.
3509
89b5595a
GM
3510 * calendar/calendar.el (calendar-in-read-only-buffer):
3511 Avoid some needless mode changes.
3512
e76f0800
CY
35132012-06-21 Chong Yidong <cyd@gnu.org>
3514
3515 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3516 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3517 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3518
297a8f1d
CY
35192012-06-20 Chong Yidong <cyd@gnu.org>
3520
3521 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3522
d34c18b1
DR
35232012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3524
3525 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3526 (bug#11201).
3527
32f7f28e
CY
35282012-06-20 Chong Yidong <cyd@gnu.org>
3529
3530 * term.el (term-window-width): Handle the case of a missing right
3531 fringe (Bug#8837).
3532 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3533 (term-mode): Use define-derived-mode. Minor cleanups.
3534 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3535 (term-move-columns, term-insert-char, term-emulate-terminal)
3536 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3537
493c6688
MA
35382012-06-20 Michael Albinus <michael.albinus@gmx.de>
3539
d34c18b1
DR
3540 * net/ange-ftp.el (ange-ftp-get-passwd):
3541 Bind `enable-recursive-minibuffers'.
493c6688
MA
3542 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3543
3f06ecf4
DR
35442012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3545
3546 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3547
68f12411
GM
35482012-06-19 Glenn Morris <rgm@gnu.org>
3549
3550 * progmodes/python.el (python-mode): Derive from prog-mode.
3551
b3820318
KG
35522012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3553
3554 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3555 (edt-user-menu-bar-update-buffers): New functions.
3556 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3557
c6bf3022
CY
35582012-06-19 Chong Yidong <cyd@gnu.org>
3559
3560 * subr.el (with-selected-window): Preserve the selected window's
3561 terminal's top-frame (Bug#4702).
3562
3563 * window.el (save-selected-window): Likewise.
3564
25f09295
SM
35652012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * progmodes/python.el (python-rx-constituents): Move backquote.
3568 (python-skeleton-define, python-define-auxiliary-skeleton):
3569 Use `declare'.
3570
6b11952a
MA
35712012-06-18 Michael Albinus <michael.albinus@gmx.de>
3572
3573 * minibuffer.el (read-file-name-default): Revert the patch from
3574 2012-06-17.
3575
ee4b1330
SM
35762012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3577
3578 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3579 (pcase--u1, pcase--q1): Don't use apply-partially.
3580
35647f79
GM
35812012-06-18 Glenn Morris <rgm@gnu.org>
3582
3583 * progmodes/python.el (python-proc, python-buffer)
3584 (python-send-receive, python-send-string): Fix obsolete versions.
3585
24b0cff0
MR
35862012-06-18 Martin Rudalics <rudalics@gmx.at>
3587
3588 * window.el (special-display-p): Completely remove stringp
3589 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3590
29855149
MA
35912012-06-17 Michael Albinus <michael.albinus@gmx.de>
3592
3593 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3594
3595 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3596
3597 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3598 * net/tramp-sh.el (tramp-maybe-open-connection):
3599 Throw if `non-essential' is non-nil.
3600
07463363
MR
36012012-06-17 Martin Rudalics <rudalics@gmx.at>
3602
3603 * window.el (special-display-p): Signal an error if BUFFER-NAME
3604 is not a string (Bug#11713).
3605
48d1354e
PE
36062012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3607
3608 * progmodes/python.el (python-info-beginning-of-backslash):
3609 Rename from python-info-beginning-of-backlash, as a spelling fix.
3610
eb4a8a9a
CY
36112012-06-17 Chong Yidong <cyd@gnu.org>
3612
3613 * term.el (term-emulate-terminal): If term-check-size is called,
3614 move point to the process mark without resetting point (Bug#4635).
3615
ddfbf826 36162012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
3617
3618 * international/mule-cmds.el (mule-menu-keymap)
3619 (set-language-environment, set-locale-environment): Doc tweaks.
3620
9b0e3eba
AA
36212012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3622
3623 * cus-face.el (custom-face-attributes): Add wave-style underline
3624 attribute.
3625 * faces.el (set-face-attribute): Update docstring to describe
3626 wave-style underline attribute.
3627
771e3eae
CY
36282012-06-16 Chong Yidong <cyd@gnu.org>
3629
3630 * term/xterm.el (terminal-init-xterm): Discard input before
3631 querying background mode (Bug#10959).
3632
7ae2ea10
SM
36332012-06-16 Stefan Merten <smerten@oekonux.de>
3634
3635 * textmodes/rst.el: Added and corrected some comments.
3636 (rst-re-alist-def): Improve symbol syntax.
3637 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
3638 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3639 (rst-official-version, rst-official-cvs-rev): Update version
3640 information.
7ae2ea10 3641
b6974efa
JB
36422012-06-15 Juanma Barranquero <lekktu@gmail.com>
3643
3644 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3645 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3646
8826d473
GM
36472012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3648
3649 * progmodes/python.el: New python.el merge.
3650 (python-guess-indent): Obsolete var.
3651 (python-indent-guess-indent-offset): New defcustom.
3652 (python-indent): Obsolete var.
3653 (python-indent-offset): New defcustom.
3654 (python-python-command, python-jython-command): Delete var.
3655 (python-shell-interpreter): New defcustom.
3656 (python-pdbtrack-do-tracking-p): Delete var.
3657 (python-pdbtrack-activate): New defcustom.
3658 (python-use-skeletons): Obsolete var.
3659 (python-skeleton-autoinsert): New defcustom.
3660 (inferior-python-filter-regexp, python-continuation-offset)
3661 (python-honour-comment-indentation, python-indent-string-contents)
3662 (python-jython-packages, python-mode-hook)
3663 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3664 (python-shell-prompt-alist)
3665 (python-source-modes): Delete defcustoms.
3666 (python-check-buffer-name, python-eldoc-setup-code)
3667 (python-eldoc-string-code, python-ffap-setup-code)
3668 (python-ffap-string-code, python-fill-comment-function)
3669 (python-fill-decorator-function, python-fill-paren-function)
3670 (python-fill-string-function, python-imenu-include-defun-type)
3671 (python-imenu-make-tree, python-imenu-subtree-root-label)
3672 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3673 (python-shell-compilation-regexp-alist)
3674 (python-shell-completion-module-string-code)
3675 (python-shell-completion-pdb-string-code)
3676 (python-shell-completion-setup-code)
3677 (python-shell-completion-string-code)
3678 (python-shell-enable-font-lock, python-shell-exec-path)
3679 (python-shell-extra-pythonpaths)
3680 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3681 (python-shell-process-environment)
3682 (python-shell-prompt-block-regexp)
3683 (python-shell-prompt-output-regexp)
3684 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3685 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3686 (python-shell-virtualenv-path): New defcustoms.
3687 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3688 (inferior-python-mode-syntax-table, python--prompt-regexp)
3689 (python-buffer, python-command python-python-command)
3690 (python-default-template, python-imports, python-indent-index)
3691 (python-indent-list, python-indent-list-length)
3692 (python-mode-running, python-pdbtrack-is-tracking-p)
3693 (python-preoutput-continuation, python-preoutput-leftover)
3694 (python-preoutput-result, python-preoutput-skip-next-prompt)
3695 (python-prev-dir/file, python-recursing)
3696 (python-saved-check-command, python-version-checked)
3697 (python-which-func-length-limit)
3698 (view-return-to-alist): Delete vars.
3699 (python-check-custom-command, python-dotty-syntax-table)
3700 (python-imenu-index-alist, python-indent-current-level)
3701 (python-indent-dedenters, python-indent-levels)
3702 (python-nav-beginning-of-defun-regexp)
3703 (python-nav-list-defun-positions-cache)
3704 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3705 (python-shell-internal-buffer)
3706 (python-skeleton-available): New vars.
3707 (def-python-skeleton): Delete macro.
3708 (python-skeleton-define): New macro.
3709 (python-define-auxiliary-skeleton, python-rx): New macros.
3710 (python-insert-class): Delete command.
3711 (python-skeleton-class): New command.
3712 (python-insert-def): Delete command.
3713 (python-skeleton-def): New command.
3714 (python-insert-for): Delete command.
3715 (python-skeleton-for): New command.
3716 (python-insert-if): Delete command.
3717 (python-skeleton-if): New command.
3718 (python-insert-try/except, python-insert-try/finally): Delete commands.
3719 (python-skeleton-try): New command.
3720 (python-insert-while): Delete command.
3721 (python-skeleton-while): New command.
3722 (python-backspace): Delete command.
3723 (python-indent-dedent-line-backspace): New command.
3724 (python-electric-colon): Delete command.
3725 (python-indent-electric-colon): New command.
3726 (python-guess-indent): Delete command.
3727 (python-indent-guess-indent-offset): New command.
3728 (python-shift-left): Delete command.
3729 (python-indent-shift-left): New command.
3730 (python-shift-right): Delete command.
3731 (python-indent-shift-right): New command.
3732 (python-find-function): Delete command.
3733 (python-nav-jump-to-defun): New command.
3734 (python-next-statement): Delete command.
3735 (python-nav-forward-sentence): New command.
3736 (python-previous-statement): Delete command.
3737 (python-nav-backward-sentence): New command.
3738 (python-fill-paragraph): Delete command.
3739 (python-fill-paragraph-function): New command.
3740 (python-send-buffer): Delete command.
3741 (python-shell-send-buffer): New command.
3742 (python-send-defun): Delete command.
3743 (python-shell-send-defun): New command.
3744 (python-send-region, python-send-region-and-go): Delete commands.
3745 (python-shell-send-region)
3746 (python-shell-switch-to-shell): New commands.
3747 (python-send-string): Delete command.
3748 (python-shell-send-string): New command.
3749 (python-switch-to-python): Delete command.
3750 (python-shell-switch-to-shell): New command.
3751 (python-describe-symbol): Delete command.
3752 (python-eldoc-at-point): New command.
3753 (python--set-prompt-regexp, python-args-to-list)
3754 (python-after-info-look, python-check-version)
3755 (python-check-comint-prompt, python-find-imports)
3756 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3757 (python-unload-function, python-expand-template)
3758 (python-maybe-jython, python-preoutput-filter)
3759 (python-pdbtrack-get-source-buffer)
3760 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3761 (python-pdbtrack-toggle-stack-tracking)
3762 (python-pdbtrack-track-stack-file, python-initial-text)
3763 (python-first-word, python-comment-line-p, python-send-command)
3764 (python-setup-brm, python-sentinel, python-set-proc)
3765 (python-skip-out, python-input-filter, python-outdent-p)
3766 (python-outline-level, python-backslash-continuation-line-p)
3767 (python-end-of-block, python-end-of-statement, python-mark-block)
3768 (python-beginning-of-block, python-beginning-of-statement)
3769 (python-blank-line-p, python-beginning-of-string)
3770 (python-open-block-statement-p): Delete functions.
3771 (python-indent-line, python-indent-line-1): Delete functions.
3772 (python-indent-line): New function.
3773 (python-indentation-levels): Delete function.
3774 (python-indent-calculate-levels): New function.
3775 (python-proc): Delete function.
3776 (python-shell-get-process): New function.
3777 (python-send-receive): Delete function.
3778 (python-shell-send-string-no-output): New function.
3779 (python-module-path): Delete function.
3780 (python-ffap-module-path): New function.
3781 (python-completion-at-point)
3782 (python-symbol-completions): Delete functions.
3783 (python-completion-complete-at-point): New function.
3784 (python-load-file): Delete function.
3785 (python-shell-send-file): New function.
3786 (python-calculate-indentation): Delete function.
3787 (python-indent-calculate-indentation): New function.
3788 (python-skip-comments/blanks): Delete function.
3789 (python-util-forward-comment): New function.
3790 (python-continuation-line-p): Delete function.
3791 (python-info-continuation-line-p): New function.
3792 (python-which-func, python-current-defun): Delete function.
3793 (python-info-current-defun): New function.
3794 (python-beginning-of-defun): Delete function.
3795 (python-nav-beginning-of-defun): New function.
3796 (python-close-block-statement-p)
3797 (python-block-end-p): Delete function.
3798 (python-info-closing-block): New function.
3799 (python-comint-output-filter-function)
3800 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3801 (python-fill-comment, python-fill-decorator, python-fill-paren)
3802 (python-fill-string, python-imenu-make-element-tree)
3803 (python-imenu-make-tree, python-imenu-tree-assoc)
3804 (python-indent-context, python-indent-dedent-line)
3805 (python-indent-line-function)
3806 (python-indent-post-self-insert-function)
3807 (python-indent-toggle-levels)
3808 (python-info-assignment-continuation-line-p)
3809 (python-info-beginning-of-backlash)
3810 (python-info-block-continuation-line-p)
3811 (python-info-closing-block-message)
3812 (python-info-line-ends-backslash-p)
3813 (python-info-looking-at-beginning-of-defun)
3814 (python-info-ppss-context, python-info-ppss-context-type)
3815 (python-nav-list-defun-positions, python-nav-read-defun)
3816 (python-nav-sentence-end, python-nav-sentence-start)
3817 (python-pdbtrack-comint-output-filter-function)
3818 (python-pdbtrack-set-tracked-buffer)
3819 (python-shell-calculate-exec-path)
3820 (python-shell-calculate-process-environment)
3821 (python-shell-completion--do-completion-at-point)
3822 (python-shell-completion--get-completions)
3823 (python-shell-completion-complete-at-point)
3824 (python-shell-completion-complete-or-indent)
3825 (python-shell-get-or-create-process)
3826 (python-shell-get-process-name)
3827 (python-shell-internal-get-or-create-process)
3828 (python-shell-internal-get-process-name)
3829 (python-shell-internal-send-string, python-shell-make-comint)
3830 (python-shell-parse-command, python-shell-send-setup-code)
3831 (python-skeleton-add-menu-items)
3832 (python-util-clone-local-variables, python-util-position)
3833 (run-python-internal, python-indentation-levels)
3834 (python-nav-beginning-of-defun)
3835 (python-completion-complete-at-point): New functions.
3836 (run-python): Change arguments. New API requirements.
3837
4302f5ba
SM
38382012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3839
f38ea36d
SM
3840 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3841 (bug#11649).
3842
3843 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3844 (macroexp--expand-all): Use it.
3845
4302f5ba
SM
3846 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3847 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3848 Use `cl-function' instead.
3849
33377562
JB
38502012-06-14 Juanma Barranquero <lekktu@gmail.com>
3851
3852 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3853 Suggested by Stefan Monnier while discussing bug#11657.
3854
54c5ba1a
SS
38552012-06-14 Sam Steingold <sds@gnu.org>
3856
3857 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3858
f9f1b1fe
AS
38592012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3860
3861 * play/doctor.el (doctor-doc): Remove parameter and use
3862 doctor-sent instead of sent.
3863 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3864
a81068ba
SM
38652012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3866
5a315f9c
SM
3867 * files.el: Require cl-lib.
3868 (file-name-non-special): Replace case -> cl-case.
3869
3870 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3871
a81068ba
SM
3872 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3873 mapping from #' to function*.
3874
8cca9703
CY
38752012-06-13 Chong Yidong <cyd@gnu.org>
3876
3877 * mouse.el (mouse-drag-track): Do not set the mark if the user
3878 releases the mouse without selecting anything (Bug#11588).
3879
a12ac9d7
SM
38802012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3881
ccf1dc18
SM
3882 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3883 as well (bug#11646).
3884
ef62b23d
SM
3885 * loadup.el: Count byte-code functions as well.
3886
c4c8444a
SM
3887 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3888 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3889
a12ac9d7
SM
3890 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3891 (bug#11649). Add cl-defun and cl-defmacro.
3892
87e6e64f
DA
38932012-06-13 Drew Adams <drew.adams@oracle.com>
3894
3895 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3896 Fix last change.
3897
682cefaf
MA
38982012-06-13 Michael Albinus <michael.albinus@gmx.de>
3899
3900 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3901 Otherwise, it blocks in batch mode.
3902
773e1f08
JB
39032012-06-13 Juanma Barranquero <lekktu@gmail.com>
3904
3905 * help-mode.el (bookmark-make-record-default): Declare.
3906
60057926
CY
39072012-06-13 Chong Yidong <cyd@gnu.org>
3908
3909 * emacs-lisp/package.el (list-packages): Compute a list of
3910 packages that are newly-available since the last list-packages
3911 invocation.
3912 (package-menu--new-package-list): New var.
3913 (package-menu--generate, package-menu--print-info)
3914 (package-menu--status-predicate, package-menu-mark-install):
3915 Handle new status label "new".
3916
ad4d226c
SM
39172012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3918
3919 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3920 conversion to backquotes.
3921
f1a4e679
CY
39222012-06-12 Chong Yidong <cyd@gnu.org>
3923
3924 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3925 Rename from gud-inhibit-global-bindings.
3926
3927 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3928
3929 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3930 hook from nxml-glyph-set-hook.
3931
3932 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3933 declaration.
3934
3935 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3936
3937 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3938 Convert to defcustom.
3939
0c9e42b5
DA
39402012-06-12 Drew Adams <drew.adams@oracle.com>
3941
3942 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3943 New functions.
3944 (help-mode): Use them.
3945
09e06855
GM
39462012-06-11 Glenn Morris <rgm@gnu.org>
3947
3948 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3949 Use preprocessor face for directives.
3950 (fortran-directive-re): Doc fix.
3951
71adb94b
SM
39522012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3953
2eb87922
SM
3954 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3955 conversion to backquotes (bug#11652).
3956
71adb94b
SM
3957 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3958 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3959 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3960 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3961 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3962 (cl-ninth, cl-tenth): Mark them as inlinable.
3963 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3964 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3965 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3966 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3967 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3968 (cl-list*, cl-adjoin): Don't put an autoload manually.
3969 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3970 (cl--compiler-macro-list*): Add autoload cookie.
3971 (cl--compiler-macro-cXXr): New function.
2eb87922 3972
71adb94b
SM
3973 * help-fns.el (help-fns--compiler-macro): New function extracted from
3974 describe-function-1; follow aliases and use `compiler-macro' property.
3975 (describe-function-1): Use it.
3976
a6674402
CY
39772012-06-11 Chong Yidong <cyd@gnu.org>
3978
3979 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3980 is uninstalled, if imagemagick is installed.
3981
bb3faf5b
SM
39822012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * emacs-lisp/cl-lib.el: Use lexical-binding.
3985 (cl-map-extents, cl-maclisp-member): Remove.
3986 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3987 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3988 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3989 * emacs-lisp/cl-extra.el: Use lexical-binding.
3990 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3991 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3992 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3993 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3994 * emacs-lisp/cl-seq.el: Use lexical-binding.
3995 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3996 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3997 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3998 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3999 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4000 CL's internals.
4001
2fe4b125
MA
40022012-06-11 Michael Albinus <michael.albinus@gmx.de>
4003
4004 Sync with Tramp 2.2.6-pre.
4005
4006 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4007 `print-length' and `print-level' to nil, in order to avoid
4008 truncation. Reported by Christopher Schmidt
4009 <christopher@ristopher.com>.
4010
4011 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4012
4013 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4014 New defmacro.
4015 (tramp-compat-copy-directory): Add optional argument
4016 COPY-CONTENTS. It is not handled yet.
4017
4018 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4019 (tramp-ftp-file-name-p): Simplify.
4020
4021 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4022 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4023 connection vector.
4024
4025 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4026 (tramp-methods): Do not use `tramp-password-end-of-line'.
4027 (tramp-completion-function-alist-putty): Handle UNIX case.
4028 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4029 (tramp-do-file-attributes-with-stat)
4030 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4031 gid as real numbers. They could run out of integer range on cygwin.
4032 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4033 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4034 (tramp-open-connection-setup-interactive-shell):
4035 Use `tramp-cleanup'. Move check for busyboxes ...
4036 (tramp-find-shell): ... here. Simplify implementation.
4037 Set "remote-shell" property also for alternative shells.
4038 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4039 If failing, a regular file would be written otherwise.
4040 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4041 (tramp-find-inline-encoding): Cache the coding commands in the
4042 process cache. Apply test command on the remote side, if defined.
4043 (tramp-find-inline-compress): Cache the compress commands in the
4044 process cache.
4045 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4046 when requested. Handle hops.
4047 (tramp-current-connection): New defvar.
87e6e64f
DA
4048 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4049 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4050 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4051 (tramp-get-inline-compress, tramp-get-inline-coding):
4052 Read connection properties from the process cache.
2fe4b125
MA
4053
4054 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4055 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4056 New defconsts.
2fe4b125
MA
4057 (tramp-smb-prompt): Extend for powershell prompt.
4058 (tramp-smb-file-name-handler-alist): Add handlers for
4059 `process-file', `shell-command' and `start-file-process'.
4060 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4061 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4062 (tramp-smb-file-name-p): Simplify.
4063 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4064 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4065 (tramp-smb-shell-quote-argument): New defuns.
4066 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4067 Implement using "tar". By this, time-stamps are preserved.
4068 (tramp-smb-handle-copy-file): Handle also the case of directories.
4069 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4070 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4071 Use `tramp-get-connection-buffer').
2fe4b125
MA
4072 (tramp-smb-handle-rename-file): Use "rename", when source and
4073 target are on the same share.
87e6e64f
DA
4074 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4075 Use `tramp-smb-server-version'.
2fe4b125
MA
4076 (tramp-smb-wait-for-output): Remove prompt.
4077
4078 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4079 (tramp-methods, tramp-rsh-end-of-line):
4080 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4081 (tramp-save-ad-hoc-proxies): New defcustom.
4082 (tramp-completion-function-alist): Adapt docstring.
4083 (tramp-default-password-end-of-line): Remove defcustom.
4084 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4085 (tramp-user-regexp, tramp-file-name-regexp-unified)
4086 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4087 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4088 (tramp-remote-file-name-spec-regexp): New defconst.
4089 (tramp-file-name-structure): Extend structure for hops.
4090 (tramp-get-method-parameter): Move up.
4091 (tramp-file-name-p, tramp-dissect-file-name)
4092 (with-parsed-tramp-file-name): Handle hops.
4093 (tramp-file-name-hop): New defun.
4094 (tramp-make-tramp-file-name): New optional arg HOP.
4095 (tramp-message-show-progress-reporter-message): New defvar.
4096 (tramp-with-progress-reporter): Use it. We cannot use
4097 `tramp-message-show-message' here, because this suppresses also
4098 error buffers.
4099 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4100 `tramp-message-show-message' is nil.
4101 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4102 (tramp-cleanup): New defun.
4103 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4104 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4105 an error unchanged.
4106 (tramp-completion-handle-file-name-all-completions): Handle hops.
4107 Fix an error when called from ido.
4108 (tramp-completion-dissect-file-name): Use better local variable
4109 name. Add hop to the vector.
4110 (tramp-handle-insert-file-contents): Use progress-reporter for the
4111 whole scenario.
4112 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4113 to `t'.
4114 (tramp-check-for-regexp): Simplify search.
4115 (tramp-enter-password): Remove it. Move implementation ...
4116 (tramp-action-password): ... here.
4117 (tramp-mode-string-to-int, tramp-local-host-p)
4118 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4119 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4120 Set tramp-autoload cookie.
2fe4b125
MA
4121
4122 * net/trampver.el: Update release number.
4123
41242012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4125 Michael Albinus <michael.albinus@gmx.de>
4126
4127 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4128 (tramp-parse-group, tramp-parse-file)
4129 (tramp-parse-shostkeys-sknownhosts): New defuns.
4130 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4131 (tramp-parse-shosts-group, tramp-parse-sconfig)
4132 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4133 (tramp-parse-sknownhosts, tramp-parse-hosts)
4134 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4135 Use them.
4136 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4137 (tramp-parse-putty-group): Don't narrow.
4138 (tramp-parse-putty): Make a loop.
4139 (tramp-file-name-handler): Catch the `suppress' signal.
4140
72834e10
CY
41412012-06-11 Chong Yidong <cyd@gnu.org>
4142
4143 * image.el (imagemagick-register-types): Put the ImageMagick entry
4144 at the end of image-type-file-name-regexps.
4145
a4712e11
JB
41462012-06-11 Johan Bockgård <bojohan@gnu.org>
4147
4148 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4149 (pcase, pcase-let*, pcase-dolist): Use them.
4150
82ad98e3
SM
41512012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * emacs-lisp/pcase.el (pcase--let*): New function.
4154 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4155 (pcase--expand): Use macroexp-let².
4156
f80efb86
SM
41572012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4160 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4161 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4162 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4163 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4164 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4165
31ca4639 41662012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4167
31ca4639
CY
4168 * mail/rmail.el (rmail-yank-current-message): Leave point at
4169 correct position. (Bug#11660)
94f0aa34 4170
31ca4639 41712012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4172
31ca4639 4173 * allout-widgets.el: Fix code header.
9e1b8ec4 4174
31ca4639 41752012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4176
f80efb86
SM
4177 * cus-edit.el (customize-changed-options-previous-release):
4178 Bump to 24.1.
31ca4639 4179
642b6d30
AS
41802012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4181
4182 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4183
4f5d2ba1
CY
41842012-06-09 Chong Yidong <cyd@gnu.org>
4185
4186 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4187
e75852fd
MR
41882012-06-09 Martin Rudalics <rudalics@gmx.at>
4189
4190 * window.el (special-display-popup-frame): Don't use
4191 window--display-buffer (Bug#11651).
4192
1e48e282
EZ
41932012-06-09 Eli Zaretskii <eliz@gnu.org>
4194
8a26b487
EZ
4195 Fix parallel builds: make sure loaddefs.el is not being written
4196 while Lisp files are compiled.
4197 (compile): Don't depend on 'mh-autoloads'.
4198 (compile-CMD, compile-SH): Depend on 'autoloads'.
4199 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4200
1e48e282
EZ
4201 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4202
6175e34b
CY
42032012-06-09 Chong Yidong <cyd@gnu.org>
4204
4205 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4206 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4207 Doc fixes (Bug#11225).
4208
d9857e53
SM
42092012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4212 a function if there's a clear indication that it has a compiler-macro.
4213 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4214 (macro-declarations-alist): Add arglist to declaration functions.
4215 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4216 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4217 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4218 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4219 Also add autoload to find the compiler macro.
4220 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4221 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4222 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4223 (cl--compiler-macro-get): New functions, replacing calls to
4224 cl-define-compiler-macro.
4225 (cl-typep) [compiler-macro]: Use macroexp-let².
4226
f81298f8 42272012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4228
4229 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4230 string properly, fixes Bug#11473.
4231
4b56d0fe
CY
42322012-06-08 Chong Yidong <cyd@gnu.org>
4233
4234 * faces.el (set-face-attribute): Doc fix.
4235 (modify-face): Don't use :bold and :italic.
4236 (error, warning, success): Tweak definitions.
4237
4238 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4239 (custom-modified, custom-set, custom-changed, custom-themed)
4240 (custom-saved, custom-button, custom-button-mouse)
4241 (custom-button-pressed, custom-state, custom-comment-tag)
4242 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4243 (custom-group-subtitle): Use new-style face specs.
4244 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4245 (custom-set-face, custom-changed-face, custom-saved-face)
4246 (custom-button-face, custom-button-pressed-face)
4247 (custom-documentation-face, custom-state-face)
4248 (custom-comment-face, custom-comment-tag-face)
4249 (custom-variable-tag-face, custom-variable-button-face)
4250 (custom-face-tag-face, custom-group-tag-face-1)
4251 (custom-group-tag-face): Remove obsolete face alias.
4252
4253 * epa.el (epa-validity-high, epa-validity-medium)
4254 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4255 (epa-field-name, epa-field-body):
4256 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4257 (font-lock-keyword-face, font-lock-builtin-face)
4258 (font-lock-function-name-face, font-lock-variable-name-face)
4259 (font-lock-type-face, font-lock-constant-face):
4260 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4261 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4262 * speedbar.el (speedbar-button-face, speedbar-file-face)
4263 (speedbar-directory-face, speedbar-tag-face)
4264 (speedbar-selected-face, speedbar-highlight-face)
4265 (speedbar-separator-face):
4266 * whitespace.el (whitespace-newline, whitespace-space)
4267 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4268 (whitespace-line, whitespace-space-before-tab)
4269 (whitespace-space-after-tab, whitespace-indentation)
4270 (whitespace-empty):
4271 * emulation/cua-base.el (cua-global-mark):
4272 * eshell/em-prompt.el (eshell-prompt):
4273 * net/newst-plainview.el (newsticker-new-item-face)
4274 (newsticker-old-item-face, newsticker-immortal-item-face)
4275 (newsticker-obsolete-item-face, newsticker-date-face)
4276 (newsticker-statistics-face, newsticker-default-face):
4277 * net/newst-reader.el (newsticker-feed-face)
4278 (newsticker-extra-face, newsticker-enclosure-face):
4279 * net/newst-treeview.el (newsticker-treeview-face)
4280 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4281 (newsticker-treeview-immortal-face)
4282 (newsticker-treeview-obsolete-face)
4283 (newsticker-treeview-selection-face):
4284 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4285 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4286 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4287 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4288 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4289 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4290 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4291 (mpuz-text):
4292 * progmodes/vera-mode.el (vera-font-lock-number)
4293 (vera-font-lock-function, vera-font-lock-interface):
4294 * textmodes/table.el (table-cell): Use new-style face specs, and
4295 don't use the old :bold and :italic attributes.
4296
4297 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4298 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4299 (ebrowse-member-class, ebrowse-progress): Likewise.
4300 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4301 (ebrowse-file-name-face, ebrowse-default-face)
4302 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4303 (ebrowse-progress-face): Remove obsolete faces.
4304
4305 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4306 Inherit from error and warning faces respectively.
4307
4308 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4309 Likewise.
f80efb86
SM
4310 (flyspell-incorrect-face, flyspell-duplicate-face):
4311 Remove obsolete aliases.
4b56d0fe 4312
03310646
MA
43132012-06-08 Michael Albinus <michael.albinus@gmx.de>
4314
4315 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4316 Avoid infloop.
4317
513749ee
SM
43182012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * startup.el (argv, argi): Make lexically scoped.
4321 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4322 * emacs-lisp/cl-macs.el: Use lexical-binding.
4323 Rename cl-bind-* to cl--bind-*.
4324 * files.el: Don't require `cl' since it doesn't use it.
4325 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4326
595ef4ad
JB
43272012-06-08 Juanma Barranquero <lekktu@gmail.com>
4328
4329 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4330 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4331 instead of calling external sort utility.
4332 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4333
e9f66fcb
EZ
43342012-06-08 Eli Zaretskii <eliz@gnu.org>
4335
4336 * descr-text.el (describe-char): Mention how to insert the
4337 character, if the current input method doesn't support it.
4338 See the discussion in this thread for the details:
4339 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4340
3d10db47
SS
43412012-06-08 Sam Steingold <sds@gnu.org>
4342
4343 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4344 XF86Back to previous-buffer.
4345 (minibuffer-local-map): Bind them to next-history-element and
4346 previous-history-element respectively.
4347 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4348 help-go-back respectively.
4349 * info.el (Info-mode-map): Bind them to Info-history-forward and
4350 Info-history-back respectively.
4351 These are the keys next to Up on the ThinkPad keyboard.
4352
de7e2b36
SM
43532012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4354
4355 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4356 * emacs-lisp/cl-macs.el: Provide itself.
4357 (cl--labels-convert-cache): New var.
4358 (cl--labels-convert): New function.
4359 (cl-flet, cl-labels): New implementation with new semantics, relying on
4360 lexical-binding.
4361 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4362 (cl-closure-vars, cl--function-convert-cache)
4363 (cl--function-convert): Move from cl-macs.el.
4364 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4365 rename by removing the "cl-" prefix.
4366 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4367
6fa6c4ae
SM
43682012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4371 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4372 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4373 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4374 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4375 (cl-hash-table-count): Add old compatibility aliases.
4376
4377 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4378 Use macroexpand-all-environment instead.
4379 (cl--old-macroexpand): New var.
4380 (cl--sm-macroexpand): New function.
4381 (cl-symbol-macrolet): Use it during macro expansion.
4382 (cl--function-convert-cache): New var.
4383 (cl--function-convert): New function, extracted from
4384 cl-macroexpand-all.
4385 (cl-lexical-let): Use it.
4386
4387 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4388 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4389 (cl-member): Remove old alias.
4390
4391 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4392 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4393 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4394 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4395 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4396 (cl-macroexpand-cmacs): Remove var.
4397 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4398 Use macroexpand-all instead.
4399
4dd1c416
SM
44002012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4403 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4404 (macroexp-copyable-p): New functions and macros.
4405 * emacs-lisp/edebug.el (edebug-unwrap):
4406 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4407 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4408 (pcase--let*): Remove.
4409 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4410 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4411 macroexp-const-p instead.
4412 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4413
4414 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4415 instead of "cl-" for internal definitions. Use macroexp-const-p.
4416 (cl-old-bc-file-form): Remove var.
4417 (cl-const-exprs-p): Remove fun.
4418 (cl-labels, cl-macrolet): Use backquote.
4419 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4420 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4421 (cl-define-setf-expander): Rename from cl-define-setf-method.
4422 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4423
4424 * international/mule-cmds.el: Don't require CL.
4425 (view-hello-file): Don't use `letf'.
4426
ed8bd4d7
SM
44272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4428
7287f2f3
SM
4429 * tmm.el (tmm-prompt): Use string-prefix-p.
4430 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4431 (tmm-add-prompt): Use minibuffer-completion-help.
4432 (tmm-delete-map): Remove.
4433
ed8bd4d7
SM
4434 * subr.el (kbd): Make it its own function.
4435
7b4cdbf4
SM
44362012-06-07 Stefan Merten <smerten@oekonux.de>
4437
4438 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4439 Silence compiler warnings. Fix versions.
ed8bd4d7 4440 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4441 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4442 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4443 (rst-package-emacs-version-alist): Correct Emacs version to
4444 represent major merge with upstream.
ed8bd4d7 4445 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4446
2b48d721
GM
44472012-06-06 Glenn Morris <rgm@gnu.org>
4448
4449 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4450 Only print environment variables if set.
4451
fa779ab0
SM
44522012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4455 (macroexp--cons): Rename from maybe-cons.
4456 (macroexp--accumulate): Rename from macroexp-accumulate.
4457 (macroexp--all-forms): Rename from macroexpand-all-forms.
4458 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4459 (macroexp--expand-all): Rename from macroexpand-all-1.
4460
628299e0
SS
44612012-06-06 Sam Steingold <sds@gnu.org>
4462
4463 * calendar/calendar.el (calendar-in-read-only-buffer):
4464 Call `special-mode' to enable the standard read-only keybindings.
4465
b7bb5838
SM
44662012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4467
4468 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4469 with "loading" messages (bug#11635).
4470
dfb308ba
MA
44712012-06-06 Michael Albinus <michael.albinus@gmx.de>
4472
4473 * files.el (enable-remote-dir-locals): New option.
4474 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4475
0372ee92
MA
4476 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4477 Ensure, that the temp directory is local.
4478
4479 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4480 `temporary-file-directory'.
4481
eed0bb91
MA
4482 * progmodes/python.el (python-send-region): Ensure, that the
4483 temporary file is created also in the remote case.
4484
7a58f64d
GM
44852012-06-06 Glenn Morris <rgm@gnu.org>
4486
f7dd4e98
GM
4487 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4488 (vc-rcs-update-changelog): Use it.
4489
090bd7cb 4490 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4491
7a58f64d
GM
4492 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4493 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4494 (vc-sccs-diff): Replace use of the external vcdiff script.
4495
daed4003
GM
44962012-06-05 Glenn Morris <rgm@gnu.org>
4497
4498 * ledit.el: Move to obsolete/.
4499
48c455c7
SS
45002012-06-05 Sam Steingold <sds@gnu.org>
4501
ed9265fc 4502 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4503 patch (Bug#11140).
4504
57a7d507
SM
45052012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4506
090bd7cb 4507 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4508
53aacf21
SM
4509 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4510 compiler-macro expansion.
4511
57a7d507
SM
4512 Add native compiler-macro support.
4513 * emacs-lisp/macroexp.el (macroexpand-all-1):
4514 Support compiler-macros directly. Properly follow aliases and apply
4515 the compiler macros more thoroughly.
4516 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4517 macroexpand now properly follows aliases.
4518 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4519 (cl-compiler-macroexpand): Use new prop.
4520 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4521
4522 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4523
51a5f9d8
MR
45242012-06-05 Martin Rudalics <rudalics@gmx.at>
4525
4526 * window.el (get-lru-window, get-mru-window, get-largest-window):
4527 New argument NOT-SELECTED to avoid picking the selected window.
4528 (window--display-buffer-1, window--display-buffer-2): Replace by
4529 new function window--display-buffer
4530 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4531 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4532 Use window--display-buffer.
51a5f9d8
MR
4533 (display-buffer-use-some-window): Remove temporary dedication
4534 hack by calling get-lru-window and get-largest-window with
4535 NOT-SELECTED argument non-nil. Call window--display-buffer.
4536
08f9f738
GM
45372012-06-05 Glenn Morris <rgm@gnu.org>
4538
4539 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4540 Replace external vcdiff script.
4541
e364a2b7
SM
45422012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4545
041df390
CY
45462012-06-04 Chong Yidong <cyd@gnu.org>
4547
e364a2b7
SM
4548 * image.el (imagemagick-types-inhibit): Revert last change.
4549 Add INFO and M.
47b36b94 4550 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4551
7c1898a7
SM
45522012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * emacs-lisp/cl-lib.el: Rename from cl.el.
4555 * emacs-lisp/cl.el: New compatibility file.
4556 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4557 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4558 to obey the "cl-" prefix.
4559 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4560
0c3461de
GM
45612012-06-03 Glenn Morris <rgm@gnu.org>
4562
1e266c88
GM
4563 * emacs-lisp/authors.el (authors-aliases): Addition.
4564
0c3461de
GM
4565 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4566 Fix :version.
4567
d8a52e15
SM
45682012-06-03 Stefan Merten <smerten@oekonux.de>
4569
4570 * textmodes/rst.el: Add comments.
4571 (rst-transition, rst-adornment): New faces.
4572 (rst-adornment-faces-alist): Make default safe to reevaluate.
4573 Fixes
4574 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4575 Improve customization tags.
4576 (rst-define-level-faces): Clarify meaning.
4577
5205d6f6
CY
45782012-06-03 Chong Yidong <cyd@gnu.org>
4579
4580 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
4581 (compilation-mode-line-run, compilation-mode-line-exit):
4582 New faces.
5205d6f6
CY
4583 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4584
757ee657
JD
45852012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4586
7c1898a7
SM
4587 * progmodes/which-func.el (which-func-update-ediff-windows):
4588 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 4589
5f2c76c6
CY
45902012-06-03 Chong Yidong <cyd@gnu.org>
4591
4592 * bindings.el: Remove explicit help text from format-mode-line.
4593 It is now supplied by mode-line-default-help-echo.
4594 (mode-line-front-space, mode-line-end-spaces)
4595 (mode-line-misc-info): New variables.
4596 (mode-line-modes, mode-line-position): Move the default value to
4597 the variable definition.
4598 (mode-line-default-help-echo): New defcustom.
383f7350
CY
4599 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4600 (mode-line-modified-help-echo): New functions.
4601 (mode-line-mule-info, mode-line-modified): Use them.
4602 (mode-line-eol-desc, propertized-buffer-identification):
4603 Consistency fixes for help text.
cbe46e5f
CY
4604 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4605 set-buffer-file-coding-system (Bug#289).
4606 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 4607
f2d6a3df
SM
46082012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * simple.el (execute-extended-command): Set real-this-command
4611 (bug#11506).
4612
37269466
CY
46132012-06-02 Chong Yidong <cyd@gnu.org>
4614
4615 Remove incorrect uses of "modeline" in comments, docstrings, and
4616 function/variable names (Bug#10329).
4617
4618 * cus-edit.el (mode-line):
4619 * dframe.el (dframe-mouse-hscroll):
4620 * emacs-lisp/re-builder.el:
4621 * emacs-lisp/easy-mmode.el (define-minor-mode):
4622 * frame.el (set-frame-name):
4623 * help.el (lookup-minor-mode-from-indicator):
4624 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4625 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4626 (c-toggle-hungry-state):
4627 * progmodes/antlr-mode.el (antlr-language-alist):
4628 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4629 * progmodes/vhdl-mode.el (vhdl-mode):
4630 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4631 * term/ns-win.el (ns-face-at-pos):
4632 * term/sup-mouse.el (sup-mouse-report):
4633 * textmodes/flyspell.el (flyspell-mode-line-string):
4634 * textmodes/ispell.el (ispell-highlight-face):
4635 * textmodes/reftex-global.el:
4636 * vc/vc-arch.el (vc-arch-mode-line-string):
4637 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4638 * vc/vc-git.el (vc-git-mode-line-string):
4639 * vc/vc-hooks.el (vc-display-status)
4640 (vc-default-mode-line-string):
4641 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4642
4643 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4644
4645 * dired.el (dired-sort-set-mode-line): Rename from
4646 dired-sort-set-modeline. All callers changed.
4647
4648 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4649 eshell-status-in-modeline.
4650
4651 * foldout.el (foldout-mode-line-string): Rename from
4652 foldout-modeline-string. All callers changed.
4653 (foldout-update-mode-line): Rename from foldout-update-modeline.
4654
4655 * subr.el (redraw-modeline): Make into obsolete alias.
4656
4657 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4658 timeclock-modeline-display. Make old name an alias.
4659 (timeclock-update-mode-line): Likewise. All callers changed.
4660 (timeclock-mode-line-display): No need to check before using
4661 add-hook.
4662 (timeclock-relative, timeclock-day-over-hook)
4663 (timeclock-use-elapsed, timeclock-mode-string)
4664 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4665
4666 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4667 crisp-mode-modeline-string.
4668
4669 * play/solitaire.el (solitaire-build-mode-line): Rename from
4670 solitaire-build-modeline. All callers changed.
4671
4672 * play/zone.el (zone-hiding-mode-line): Rename from
4673 zone-hiding-modeline. All callers changed.
4674 (zone): Remove unusued `modeline-hidden-level' property.
4675
4676 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4677 xscheme-modeline-initialize. All callers changed.
4678
4679 * strokes.el (strokes-lighter): Rename from
4680 strokes-modeline-string.
4681
4682 * textmodes/sgml-mode.el (html-face-tag-alist)
4683 (html-tag-face-alist): Use mode-line face instead of obsolete
4684 alias modeline.
4685
42152ee4
SM
46862012-06-02 Stefan Merten <smerten@oekonux.de>
4687
4688 * textmodes/rst.el: Always require `cl'.
4cf9b38d 4689 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 4690
95f520b5
CY
46912012-06-02 Chong Yidong <cyd@gnu.org>
4692
4693 * image.el (imagemagick-enabled-types): Rename from
4694 imagemagick-types-enable. Add many more types.
4695 (imagemagick-types-inhibit): Change default to nil.
4696 (imagemagick-filter-types): Caller changed.
4697
4a5f187a
SM
46982012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4699
03fef3e6
SM
4700 * emacs-lisp/cl-macs.el: Use backquotes.
4701 (cl-transform-function-property): Use eval-and-compile rather than
4702 abusing `require'.
4703 (defstruct): Use declare-function instead of with-no-warnings.
4704
4a5f187a
SM
4705 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4706 (byte-compile-output-docform): Re-add the print-circle bindings.
4707 (byte-compile-fix-header): Use #$ just because it's shorter.
4708 (byte-compile-output-file-form): Remove defun/defmacro.
4709
bd56924f
MR
47102012-06-01 Martin Rudalics <rudalics@gmx.at>
4711
4712 * simple.el (choose-completion): Remove now obsolete binding for
4713 owindow.
4714
046e38ce
MA
47152012-06-01 Michael Albinus <michael.albinus@gmx.de>
4716
4717 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4718 in order to avoid "Stack overflow in regexp matcher".
4719
32d72c2f
GM
47202012-05-31 Glenn Morris <rgm@gnu.org>
4721
4722 * image.el: For clarity, call imagemagick-register-types at
4723 top-level, rather than relying on a custom :initialize.
4724 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
4725 (imagemagick-filter-types): New function. (Bug#7406)
4726 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
4727 If disabling support, remove elements altogether rather
4728 than using an impossible regexp.
4729 (imagemagick-types-inhibit): Give it the default init function.
4730
dd41169b
SM
47312012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4a5f187a
SM
4733 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4734 Handle arbitrary file name lengths (Bug#11585).
dd41169b 4735
efc00ab1 47362012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
4737
4738 * desktop.el (desktop-read): Clear previous and next buffers for
4739 all windows and bury *Messages* buffer (bug#11556).
4740
500fcedc
SM
47412012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 Add `declare' for `defun'. Align `defmacro's with it.
4744 * emacs-lisp/easy-mmode.el (define-minor-mode)
4745 (define-globalized-minor-mode): Don't autoload the var definitions.
4746 * emacs-lisp/byte-run.el: Use lexical-binding.
4747 (defun-declarations-alist, macro-declarations-alist): New vars.
4748 (defmacro, defun): Use them.
4749 (make-obsolete, define-obsolete-function-alias)
4750 (make-obsolete-variable, define-obsolete-variable-alias):
4751 Use `declare'.
4752 (macro-declaration-function): Mark obsolete.
4753 * emacs-lisp/autoload.el: Use lexical-binding.
4754 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4755
6e8a1786
AM
47562012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4757
4758 * textmodes/ispell.el (ispell-with-no-warnings):
4759 Define as a macro.
500fcedc
SM
4760 (ispell-kill-ispell, ispell-change-dictionary):
4761 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
4762 `interactive-p'.
4763
61b108cc
SM
47642012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4767 (macro-declaration-function): Move var from C code.
4768 (macro-declaration-function): Define function with defalias.
4769 * emacs-lisp/macroexp.el (macroexpand-all-1):
4770 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4771 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4772 defun/defmacro any more.
4773 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4774 Provide fallback for unknown arglist.
4775 (byte-compile-arglist-warn): Change calling convention.
4776 (byte-compile-output-file-form): Move print-vars binding.
4777 (byte-compile-output-docform): Simplify accordingly.
4778 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4779 (byte-compile-defmacro-declaration): Remove.
4780 (byte-compile-file-form-defmumble): Generalize to defalias.
4781 (byte-compile-output-as-comment): Return byte-positions.
4782 Simplify callers accordingly.
4783 (byte-compile-lambda): Use `assert'.
4784 (byte-compile-defun, byte-compile-defmacro): Remove.
4785 (byte-compile-file-form-defalias):
4786 Use byte-compile-file-form-defmumble.
4787 (byte-compile-defalias-warn): Remove.
4788
6d3f7c2f
SM
47892012-05-29 Stefan Merten <smerten@oekonux.de>
4790
4791 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 4792 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
4793
4794 (rst-mode-abbrev-table): Merge definition.
4795 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4796 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4797
6dbaa1c7
UJ
47982012-05-29 Ulf Jasper <ulf.jasper@web.de>
4799
4800 * calendar/icalendar.el
4801 (icalendar-export-region): Export UID properly.
4802
d209e2fb 48032012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
4804 * calendar/icalendar.el (icalendar-import-format):
4805 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
4806 (icalendar-import-format-uid): New.
4807 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4808 Export UID.
4809
6876a58d
SM
48102012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4813 different alternative patterns.
4814 (pcase-codegen): Be more careful to preserve identity.
4815 (pcase--u1): Don't forget to mark vars as used.
4816
4817 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4818 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4819 (byte-compile-from-buffer): ...rather than here.
4820
4821 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4822 functions from byte-compile-function-environment.
4823
46b7967e
TN
48242012-05-29 Troels Nielsen <bn.troels@gmail.com>
4825
4826 * window.el (window-deletable-p): Avoid deleting the root window
4827 of a frame with an active minibuffer.
4828
69d565e2
MR
48292012-05-29 Martin Rudalics <rudalics@gmx.at>
4830
4831 * simple.el (choose-completion): Use quit-window (Bug#11567).
4832
a149fa51
CY
48332012-05-29 Chong Yidong <cyd@gnu.org>
4834
4835 * whitespace.el (whitespace-cleanup): Fix usage of
4836 whitespace-empty-at-bob-regexp (Bug#11492).
4837
2b311310
AH
48382012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4839
4840 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4841 revert (Bug#11488).
4842
b9cb2387
JL
48432012-05-29 Juri Linkov <juri@jurta.org>
4844
4845 * isearch.el (isearch-mode-map): Bind `M-s _' to
4846 `isearch-toggle-symbol'. Bind `M-s c' to
4847 `isearch-toggle-case-fold'.
4848 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4849 (isearch-forward): Add `M-s _' to the docstring.
4850 (isearch-forward-symbol, isearch-toggle-case-fold)
4851 (isearch-symbol-regexp): New functions. (Bug#11381)
4852
d5e61c1c
JL
48532012-05-29 Juri Linkov <juri@jurta.org>
4854
4855 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4856 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4857 a function, call it to get the regexp.
4858 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4859 property `isearch-message-prefix' instead of the string "word ".
4860 (isearch-search-fun-default): For the case of `isearch-word',
4861 return a lambda that calls re-search-forward/re-search-backward
4862 with a regexp returned by `word-search-regexp' or by the function
4863 in `isearch-word'.
4864
8cbd80f7
JL
48652012-05-29 Juri Linkov <juri@jurta.org>
4866
4867 * isearch.el (isearch-search-fun-default): New function.
4868 (isearch-search-fun): Move default part to the new function
4869 `isearch-search-fun-default'.
4870 (isearch-search-fun-function): Set the default value to
4871 `isearch-search-fun-default'. (Bug#11381)
4872
4873 * comint.el (comint-history-isearch-end):
4874 Use `isearch-search-fun-default'.
4875 (comint-history-isearch-search): Use `isearch-search-fun-default'
4876 and remove spacial case for `isearch-word'.
4877 (comint-history-isearch-wrap): Remove spacial case for
4878 `isearch-word'.
4879
4880 * hexl.el (hexl-isearch-search-function):
4881 Use `isearch-search-fun-default'.
4882
4883 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4884 Use `word-search-regexp' for `isearch-word'.
4885
4886 * misearch.el (multi-isearch-search-fun):
4887 Use `isearch-search-fun-default'.
4888
4889 * simple.el (minibuffer-history-isearch-search):
4890 Use `isearch-search-fun-default' and remove spacial case for
4891 `isearch-word'.
4892 (minibuffer-history-isearch-wrap): Remove spacial case for
4893 `isearch-word'.
4894
4895 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4896 Remove spacial case for `isearch-word'.
4897 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4898
85c8c5b6
AM
48992012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4900
4901 Decrease XEmacs incompatibilities.
4902 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4903 Use `string-match'.
4904 (flyspell-delete-region-overlays): Use alternative definition for
4905 XEmacs.
4906 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4907 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4908 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4909 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4910 `define-obsolete-face-alias' under XEmacs, but old method.
4911
4912 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4913 `with-no-warnings' definition or Emacs alias.
4914 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4915 (ispell-word): Do not use `region-p' if XEmacs.
4916
8cab9efc
AM
49172012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4918
4919 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4920 Check for `ispell-dictionary-base-alist' instead of full
4921 `ispell-dictionary-alist'.
4922 (ispell-init-process): Show spellchecker when starting new Ispell
4923 process.
4924
fda91268
RZ
49252012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4928 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4929
694ea8e3
JB
49302012-05-27 Juanma Barranquero <lekktu@gmail.com>
4931
4932 * version.el (motif-version-string, gtk-version-string)
4933 (ns-version-string): Declare.
4934
e4d4f539
JL
49352012-05-27 Juri Linkov <juri@jurta.org>
4936
4937 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4938 after the `eval-defun-1' specialcaseing
4939 like in `edebug-eval-defun' (bug#10181).
4940
4941 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4942 like in `eval-defun-1'.
4943
33017faf 49442012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 4945
fda91268
RZ
4946 * mail/sendmail.el (mail-yank-region):
4947 Recognize rmail-yank-current-message in addition to insert-buffer.
4948 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
4949 a *mail* buffer created through rmail-start-mail with sendmail as
4950 mail-user-agent.
4951
33017faf
GM
49522012-05-27 Chong Yidong <cyd@gnu.org>
4953
4954 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4955 Default to 256 (Bug#11267).
4956
4957 * help.el (describe-mode): Doc fix.
4958
04188bb9
GM
49592012-05-26 Glenn Morris <rgm@gnu.org>
4960
38264cc9
GM
4961 * w32-fns.el (w32-init-info): Remove.
4962 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4963
eb7afdad
GM
4964 * info.el (info-initialize): For self-contained NS builds, put the
4965 included info/ directory at the front. (Bug#2791)
4966
04188bb9
GM
4967 * paths.el (Info-default-directory-list): Make it a defcustom,
4968 mainly so that we can use custom-initialize-delay.
4969
a179e3f7
SM
49702012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4971
43416392
SM
4972 * subr.el (buffer-has-markers-at): Mark obsolete.
4973
a179e3f7 4974 * subr.el (lambda): Use declare.
43416392 4975
a179e3f7
SM
4976 * emacs-lisp/lisp-mode.el (lambda):
4977 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4978
34a008d9
AH
49792012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4980
4981 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4982
0a3b289f
GM
49832012-05-26 Glenn Morris <rgm@gnu.org>
4984
4985 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4986
758c81e8
GM
49872012-05-25 Glenn Morris <rgm@gnu.org>
4988
f9f334f0
GM
4989 * paths.el: Remove no-byte-compile.
4990 * loadup.el: No need to load paths.el uncompiled.
4991
87eb79c2
GM
4992 * image.el (imagemagick-types-inhibit): Doc fix.
4993
758c81e8
GM
4994 * version.el: Remove no-byte-compile and associated formatting.
4995 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4996 is ancient code from when there was an "inc-vers.el".
4997
e7e85dc0
SM
49982012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * progmodes/gdb-mi.el: Minor style changes.
5001 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5002 Turn into minor modes.
5003 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5004 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5005 (gdb-shell): Remove unneeded let-binding.
5006 (gdb-get-many-fields): Eliminate O(n²) behavior.
5007
f31237a4
EZ
50082012-05-25 Eli Zaretskii <eliz@gnu.org>
5009
5010 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5011 platforms that don't link in fontset.c.
5012
bc1b21bb
JL
50132012-05-25 Juri Linkov <juri@jurta.org>
5014
5015 Use the same diff color scheme as in modern VCSes (bug#10181).
5016
5017 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5018 to avoid confusion with `diff-added' that now uses green colors.
5019 (diff-removed): Use shades of red.
5020 (diff-added): Use shades of green.
5021 (diff-changed): Leave just the yellow color.
5022 (diff-use-changed-face): New variable.
5023 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5024 how to highlight context diff changes.
5025 (diff-refine-change): Use shades of yellow.
5026 (diff-refine-removed): New face that uses shades of red.
5027 (diff-refine-added): New face that uses shades of green.
5028 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5029 `diff-refine-removed' in the call to `smerge-refine-subst'
5030 depending on the value of `diff-use-changed-face'.
5031
5032 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5033 (smerge-other): Use shades of green.
5034 (smerge-base): Use shades of yellow.
5035 (smerge-refined-change): Empty face.
5036 (smerge-refined-removed): New face that uses shades of red.
5037 (smerge-refined-added): New face that uses shades of green.
5038 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5039 args `props-r' and `props-a', and use them. Doc fix.
5040 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5041 on its value use different faces `smerge-refined-change',
5042 `smerge-refined-removed', `smerge-refined-added' in the call to
5043 `smerge-refine-subst'.
5044
5045 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5046 Add face condition `min-colors 88' with shades of red.
5047 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5048 `min-colors 88' with shades of green.
5049 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5050 `min-colors 88' with shades of yellow.
5051
6df9112c
GM
50522012-05-24 Glenn Morris <rgm@gnu.org>
5053
ead5edc0
GM
5054 * paths.el (prune-directory-list, remote-shell-program): Move to...
5055 * files.el (prune-directory-list, remote-shell-program): ...here.
5056 For the latter, delay initialization, prefer ssh, just search PATH.
5057
f18b81e6
GM
5058 * paths.el (term-file-prefix): Move to faces.el (the only user).
5059 * faces.el (term-file-prefix): Move here, make it a defcustom.
5060
ee2f89a6
GM
5061 * paths.el (news-directory, news-path, news-inews-program):
5062 Move to gnus/nnspool.el.
61a583ca 5063
f8815e4c
GM
5064 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5065
c8f3b42c
GM
5066 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5067 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5068 Make the latter a defcustom, with a delayed initialization.
5069
6df9112c
GM
5070 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5071 These were deleted from Gnus itself late 2010.
5072
5dadff36
JB
50732012-05-22 Juanma Barranquero <lekktu@gmail.com>
5074
9e1701c6
JB
5075 * progmodes/which-func.el (which-func-ff-hook):
5076 Check against user-error, not error.
5077
bd7239f5 5078 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5079 cl-specs.el, which no longer exists.
5080
3290526d
GM
50812012-05-22 Glenn Morris <rgm@gnu.org>
5082
5083 * info.el (info-emacs-bug): New command.
5084 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5085 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5086
ff0c3cfb
GM
50872012-05-21 Glenn Morris <rgm@gnu.org>
5088
5089 * makefile.w32-in (update-subdirs-SH):
5090 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5091
5814f126
SM
50922012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5093
a52c0aa0
SM
5094 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5095
5814f126
SM
5096 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5097 Simplify Maven regexp, and make sure the file can't start with a space
5098 (bug#11517).
5099
b847032c
GM
51002012-05-21 Glenn Morris <rgm@gnu.org>
5101
5102 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5103 Scrap superfluous subshells.
5104
3858bfe7
SM
51052012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5108 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5109
d14b0029
JB
51102012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5111
5112 * calc/calc.el (calc-ensure-consistent-units): New variable.
5113
a52c0aa0
SM
5114 * calc/calc-units.el (math-consistent-units-p)
5115 (math-check-unit-consistency): New functions.
5116 (calc-quick-units, calc-convert-units):
5117 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5118 is non-nil.
d14b0029
JB
5119 (calc-extract-units): Fix typo.
5120
60c4db3a
SM
51212012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5122
77f3b62e
SM
5123 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5124
60c4db3a
SM
5125 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5126 (flyspell-default-deplacement-commands): Don't spell check after
5127 repeated window/frame switches (e.g. triggered by mouse-movement).
5128 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5129 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5130 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5131 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5132 Remove unused vars.
5133 (flyspell-get-casechars, flyspell-get-not-casechars):
5134 Simplify; Don't bother removing a ] just to add it back.
5135 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5136
d209e2fb 51372012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5138
5139 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5140 New functions.
bd7239f5 5141 (math-function-table): Add support for more C functions.
b1a10716 5142
3f1b25b5
AM
51432012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5144
090bd7cb
JB
5145 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5146 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5147 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5148
b581bb5c
SM
51492012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5152 their respective macro declarations.
5153 * skeleton.el (define-skeleton):
5154 * progmodes/compile.el (define-compilation-mode):
5155 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5156 (define-ibuffer-filter):
5157 * emacs-lisp/generic.el (define-generic-mode):
5158 * emacs-lisp/easy-mmode.el (define-minor-mode)
5159 (define-globalized-minor-mode):
5160 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5161 * emacs-lisp/byte-run.el (defsubst):
5162 * custom.el (deftheme): Add doc-string metadata.
5163
70b8ef8f
SM
51642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5167
b1198e17
SM
51682012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5169
9abdc45d
SM
5170 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5171
b1198e17
SM
5172 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5173 * emacs-lisp/cl-macs.el: Idem.
5174 * emacs-lisp/cl-specs.el: Remove.
5175
4735906a
SM
51762012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 Minor renaming of internal CL functions and variables.
5179 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5180 (cl--position): Rename from cl-position.
5181 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5182 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5183 (cl--random-state): Rename from *random-state*.
5184
ac348012
SM
51852012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5186
5187 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5188 parens around the arg list (bug#11499).
5189
a0a79cde
JL
51902012-05-17 Juri Linkov <juri@jurta.org>
5191
5192 * isearch.el (word-search-regexp, word-search-backward)
5193 (word-search-forward, word-search-backward-lax)
5194 (word-search-forward-lax): Move functions from search.c
5195 (bug#10145, bug#11381).
5196
65034a51
AM
51972012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5198
090bd7cb
JB
5199 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5200 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5201 Delay for otherchars as for normal word components.
65034a51 5202
1a72a195
SM
52032012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * minibuffer.el (completion--sifn-requote): Fix last change.
5206 (minibuffer-local-must-match-filename-map):
5207 Move define-obsolete-variable-alias before its var.
5208
fdb058c2
SM
52092012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5210
c41045e6
SM
5211 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5212
036dfb8b
SM
5213 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5214 behavior.
5215 (completion--string-equal-p): New function.
5216 (completion--twq-all): Use it to get better assertion failure data.
5217
2473256d
SM
5218 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5219 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5220 (shell--requote-argument): New functions.
5221 (shell-completion-vars): Use them.
5222 (shell--parse-pcomplete-arguments): Rename from
5223 shell-parse-pcomplete-arguments.
5224 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5225 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5226 Obey comint-file-name-quote-list.
5227
fdb058c2
SM
5228 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5229 (smie-indent-keyword): Use it.
5230
51fa99f1
SM
52312012-05-14 Stefan Merten <smerten@oekonux.de>
5232
5233 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5234
e18afed7 52352012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5236
5237 * net/rlogin.el (rlogin-mode-map): Fix last change.
5238
e18afed7 52392012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5240
5241 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5242 the following \r\n using a single `process-send-string', since the
5243 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5244 with two `process-send-string's (Bug#11444).
8633b1f4 5245
e18afed7 52462012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5247
fdb058c2
SM
5248 * shell.el (shell-parse-pcomplete-arguments):
5249 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5250
2d21d7f6
WJ
52512012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5252
e18afed7 5253 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5254 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5255 (image-transform-width, image-transform-fit-width): New functions.
5256 (image-transform-properties): Use them.
5257 (image-transform-check-size): New function.
5258 (image-toggle-display-image): Use it (for testing).
5259 (image-transform-set-rotation): Reduce angle mod 360.
5260 Delete obsolete comment.
5261
7102e6d0
WJ
52622012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5263
5264 * image-mode.el: Fix scaling (bug#11399).
5265 (image-transform-resize): Doc fix.
5266 (image-transform-properties): Default scale is 1 and height should
5267 be an integer.
5268
06bc5e6e
SM
52692012-05-13 Johan Bockgård <bojohan@gnu.org>
5270
5271 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5272 than hard-coding `car', to fix misbehavior when moving forward.
5273
0ae03b6a
CY
52742012-05-13 Chong Yidong <cyd@gnu.org>
5275
5276 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5277 (tabulated-list-entries, tabulated-list-padding)
5278 (tabulated-list-sort-key): Make permanent-local.
5279
5280 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5281 (electric-buffer-list): Put electric buffer menu
5282 command descriptions in this docstring, instead of the docstring
5283 of electric-buffer-menu-mode. Code cleanups.
5284 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5285 Electric-buffer-menu-mode.
5286 (electric-buffer-update-highlight): Minor code cleanup.
5287
205a7391
MA
52882012-05-13 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5291 (Bug#11447)
5292
e5bd0a28
SM
52932012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 Move define-obsolete-variable-alias before the var's definition.
5296 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5297 * tooltip.el (tooltip-hook):
5298 * textmodes/reftex-toc.el (reftex-toc-map):
5299 * textmodes/reftex-sel.el (reftex-select-label-map)
5300 (reftex-select-bib-map):
5301 * textmodes/reftex-index.el (reftex-index-map)
5302 (reftex-index-phrases-map):
5303 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5304 * progmodes/meta-mode.el (meta-mode-map):
5305 * novice.el (disabled-command-hook):
5306 * loadhist.el (unload-hook-features-list):
5307 * frame.el (blink-cursor):
5308 * files.el (find-file-not-found-hooks, write-file-hooks)
5309 (write-contents-hooks):
5310 * emulation/tpu-edt.el (GOLD-map):
5311 * emacs-lock.el (emacs-lock-from-exiting):
5312 * emacs-lisp/generic.el (generic-font-lock-defaults):
5313 * emacs-lisp/chart.el (chart-map):
5314 * dos-fns.el (register-name-alist):
5315 * dired-x.el (dired-omit-files-p):
5316 * desktop.el (desktop-enable):
5317 * cus-edit.el (custom-mode-hook):
5318 * buff-menu.el (buffer-menu-mode-hook):
5319 * bookmark.el (bookmark-read-annotation-text-func)
5320 (bookmark-exit-hooks):
5321 * allout.el (allout-mode-deactivate-hook)
5322 (allout-exposure-change-hook, allout-structure-added-hook)
5323 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5324 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5325 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5326 comes before the corresponding variable's definition.
5327
ac59c2f6
CY
53282012-05-12 Chong Yidong <cyd@gnu.org>
5329
5330 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5331 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5332 (Buffer-menu-mode-map): Bind it.
5333 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5334
dee6c9a3
SM
53352012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5336
2171cea5
SM
5337 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5338 (prolog-upper-case-string, prolog-lower-case-string)
5339 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5340 (prolog-use-smie, prolog-smie-grammar): New vars.
5341 (prolog-smie-forward-token, prolog-smie-backward-token)
5342 (prolog-smie-rules): New funs.
5343 (prolog-comment-indent): Remove.
5344 (prolog-mode-variables): Use default comment indentation instead.
5345 Setup SMIE.
5346 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5347 (prolog-mode): Don't call them any more.
5348 (prolog-electric-colon, prolog-electric-dash)
5349 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5350
aa0382bd
SM
5351 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5352
dbacb4bd
SM
5353 * minibuffer.el (completion--twq-all): Again, allow case differences.
5354
13bdd94c
SM
5355 * term.el: Move keymap initialization code to be more idiomatic.
5356 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5357 (term-terminal-menu): Move initialization into declaration.
5358 (term-escape-char): Let the user set it in her .emacs.
5359
ff46c759
SM
5360 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5361 Provide SMIE-based indentation (not enabled by default yet).
5362 (sh-mode-map): Don't bind electric keys.
5363 Use electric-pair-mode instead of skeleton-pair.
5364 (sh-assignment-regexp): Fit within 80 columns.
5365 (sh-indent-supported): Specify actual shell name instead of boolean.
5366 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5367 (sh-maybe-here-document): Use it. Make obsolete.
5368 (sh-electric-here-document-mode) New minor mode.
5369 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5370 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5371 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5372 (sh-smie-rc-grammar, sh-use-smie): New vars.
5373 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5374 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5375 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5376 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5377 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5378 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5379 (sh-set-shell): Use smie-setup if requested.
5380
dee6c9a3
SM
5381 * term.el (term-set-escape-char): Properly set term-escape-char.
5382 See http://stackoverflow.com/questions/10524656.
5383
9f9aa044
CY
53842012-05-10 Chong Yidong <cyd@gnu.org>
5385
5386 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5387 Use url-generic-parse-url, and handle host names and Windows
5388 filenames properly.
5389 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5390 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5391 URL schemes to work on.
5392 (ffap--toggle-read-only): New function.
5393 (ffap-read-only, ffap-read-only-other-window)
5394 (ffap-read-only-other-frame): Use it.
5395 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5396 necessary for ffap-url-unwrap-remote.
5397
836d29b3
DA
53982012-05-10 Dave Abrahams <dave@boostpro.com>
5399
5400 * cus-start.el (create-lockfiles): Add it.
5401
00fd78ed
CY
54022012-05-09 Chong Yidong <cyd@gnu.org>
5403
5404 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5405 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5406
666b903b 54072012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5408
5409 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5410
666b903b 54112012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5412
5413 * ansi-color.el (ansi-color-process-output): Check for validity of
5414 comint-last-output-start before using it. This avoids a bad
5415 interaction with gdb-mi's input/output buffer.
5416
666b903b 54172012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5418
5419 * files.el (dir-locals-read-from-file):
5420 Mention dir-locals in any error message.
5421
666b903b 54222012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5423
5424 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5425 package (Bug#11410).
5426
f677562b
CY
5427 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5428 variables into description.
5429
666b903b 54302012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5431
5432 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5433 shell-delimiter-argument-list (bug#11348).
5434 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5435
b499d8d0
JB
54362012-05-09 Juanma Barranquero <lekktu@gmail.com>
5437
8f6b6da8
JB
5438 * textmodes/rst.el: Silence byte-compiler warnings.
5439 (rst-re-alist, rst-reset-section-caches): Move around.
5440 (rst-re): Use `characterp', not `char-valid-p'.
5441 (font-lock-beg, font-lock-end): Declare.
5442
4824146a
JB
5443 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5444 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5445
b499d8d0
JB
5446 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5447
ad89bb83
GM
54482012-05-08 Glenn Morris <rgm@gnu.org>
5449
5450 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5451
8bba5a75
SM
54522012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5453
49ed9c8e
SM
5454 * vc/log-edit.el: Add GNU coding standards highlighting.
5455 (log-edit-font-lock-gnu-style)
5456 (log-edit-font-lock-gnu-keywords): New vars.
5457 (log-edit-font-lock-keywords): New fun.
5458 (log-edit-mode): Don't fold case in font-lock.
5459 (log-edit-font-lock-keywords): Do not assume case-folding.
5460
07d00b56
SM
5461 * imenu.el: Misc cleanup. Make docstrings out of comments.
5462 Use lexical-binding.
5463 (imenu--index-alist, imenu--last-menubar-index-alist)
5464 (imenu-menubar-modified-tick): Use defvar-local.
5465 (imenu--split-menu): Remove unused var.
5466 (imenu--cleanup-seen): Declare as global.
5467 (imenu--cleanup): Use dolist.
5468
8bba5a75
SM
5469 * subr.el (defvar-local): Add debug spec and doc-string position.
5470
5075bdb5
GM
54712012-05-08 Glenn Morris <rgm@gnu.org>
5472
090bd7cb 5473 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5474 * language/english.el, language/georgian.el, language/greek.el:
5475 * language/japanese.el, language/khmer.el, language/korean.el:
5476 * language/lao.el, language/misc-lang.el, language/romanian.el:
5477 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5478 * language/thai.el, language/utf-8-lang.el:
5479 Remove no-byte-compile setting.
5480
5075bdb5
GM
5481 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5482
06f679a7
AH
54832012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5484
5485 * progmodes/make-mode.el (makefile-browse):
5486 Remove unnecessary interactive. (Bug#11324)
5487
03794570
GM
54882012-05-07 Glenn Morris <rgm@gnu.org>
5489
af8630f4
GM
5490 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5491
03794570
GM
5492 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5493
f0809a9d
SM
54942012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5495
28be5ce7
SM
5496 * loadup.el: Preload newcomment.el.
5497 * newcomment.el: Move autoload-only code to toplevel.
5498
f0809a9d
SM
5499 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5500 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5501 Handle new :right-align column property.
5502 (tabulated-list-print-col): Idem, plus use `display' text-property to
5503 try and preserve alignment for variable pitch fonts.
5504
1241b724
CY
55052012-05-07 Chong Yidong <cyd@gnu.org>
5506
5507 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5508 (tabulated-list-use-header-line): New var.
5509 (tabulated-list-init-header): Use it.
5510 (tabulated-list-print-fake-header): New function.
5511 (tabulated-list-print): Use it.
5512 (tabulated-list-sort-button-map): Add non-header-line commands.
5513 (tabulated-list-init-header): Add column name property to basic
5514 labels as well.
5515 (tabulated-list-col-sort): Handle non-header-line button case.
5516 (tabulated-list--sort-by-column-name): Fix a corner case.
5517
f0809a9d
SM
5518 * buff-menu.el (list-buffers--refresh):
5519 Handle Buffer-menu-use-header-line.
1241b724 5520
e5f9458f
CY
55212012-05-06 Chong Yidong <cyd@gnu.org>
5522
5523 * buff-menu.el: Convert to Tabulated List mode.
5524 (Buffer-menu-buffer+size-width): Make obsolete.
5525 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5526 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5527 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5528 documentation into docstring of buffer-menu.
5529 (Buffer-menu-toggle-files-only): Add an informative message.
5530 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5531 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5532 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5533 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5534 (Buffer-menu-execute, Buffer-menu-select)
5535 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5536 (Buffer-menu-bury): Use Tabulated List machinery.
5537 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5538 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5539 Delete.
e5f9458f
CY
5540 (list-buffers--refresh): New function.
5541 (list-buffers-noselect): Use it.
5542 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5543 (Buffer-menu--pretty-file-name): New helper functions.
5544
5545 * loadup.el: Preload tabulated-list.
5546
5547 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5548 tabulated-list-sort-column.
5549 (tabulated-list-init-header): Add the initial aligning space even
5550 if tabulated-list-padding is zero.
5551
e129292c
CS
55522012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5553
5554 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5555 whose cdr is not a cons cell correctly (bug#11038).
5556
6632d361
CY
55572012-05-06 Chong Yidong <cyd@gnu.org>
5558
e129292c
CS
5559 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5560 Accept additional plist in column descriptors.
6632d361
CY
5561 (tabulated-list-init-header): Obey it.
5562 (tabulated-list-get-entry): New function.
5563 (tabulated-list-put-tag): Use it. Use string-width instead of
5564 length.
5565 (tabulated-list--column-number): New function.
5566 (tabulated-list-print): Use it.
e129292c
CS
5567 (tabulated-list-print-col): New function.
5568 Set `tabulated-list-column-name' property on each column's text.
6632d361 5569 (tabulated-list-print-entry): Use it.
e129292c
CS
5570 (tabulated-list-delete-entry, tabulated-list-set-col):
5571 New functions.
6632d361
CY
5572 (tabulated-list-sort-column): New command (Bug#11337).
5573
3cc99f68
CY
5574 * buff-menu.el (list-buffers): Move C-x C-b binding from
5575 buff-menu.el to bindings.el.
5576
5577 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5578 :advertised-binding feature.
5579
52b61776
TN
55802012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5581
5582 * progmodes/compile.el (compilation-internal-error-properties):
5583 Calculate start position correctly when end-col is set but
5584 end-line is not (Bug#11382).
5585
ebfe2597
WJ
55862012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5587
5588 * man.el (Man-unindent): Use text-property-default-nonsticky to
5589 prevent untabify from inheriting face properties (Bug#11408).
5590
6d3f7c2f
SM
55912012-05-05 Stefan Merten <smerten@oekonux.de>
5592
5593 * textmodes/rst.el: Major merge with upstream development up to
5594 Docutils SVN r7399 / rst.el V1.2.1.
5595
5596 Clarify maintainership and authors.
5597
5598 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5599 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5600 (rst-official-version, rst-official-cvs-rev, rst-version)
5601 (rst-package-emacs-version-alist): New functions and variables
5602 for version information.
5603
5604 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5605 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5606 (rst-mode-syntax-table, rst-mode): New and corrected functions
5607 and variables representing reStructuredText features.
5608
5609 (rst-re): New function for reStructuredText regexes. Use in
5610 many places.
5611
5612 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5613 (rst-mode-map): Rebind keys.
5614
5615 (rst-mode-lazy, rst-font-lock-keywords)
5616 (rst-font-lock-extend-region)
5617 (rst-font-lock-extend-region-internal)
5618 (rst-font-lock-extend-region-extend)
5619 (rst-font-lock-find-unindented-line-limit)
5620 (rst-font-lock-find-unindented-line-match)
5621 (rst-adornment-level, rst-font-lock-adornment-level)
5622 (rst-font-lock-adornment-match)
5623 (rst-font-lock-handle-adornment-pre-match-form)
5624 (rst-font-lock-handle-adornment-matcher): Major revision of
5625 font-locking. Integrate with other code. Use `jit-lock-mode'.
5626
5627 (rst-preferred-adornments, rst-adjust-hook)
5628 (rst-new-adornment-down, rst-preferred-bullets)
5629 (rst-preferred-bullets, rst-indent, rst-indent-width)
5630 (rst-indent-field, rst-indent-literal-normal)
5631 (rst-indent-literal-minimized, rst-indent-comment): Change,
5632 extend and improve customization.
5633
5634 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5635 (rst-normalize-cursor-position, rst-get-decoration)
5636 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5637 (rst-rstrip, rst-toc-insert-find-delete-contents)
5638 (rst-shift-fill-region, rst-compute-bullet-tabs)
5639 (rst-debug-print-tabs, rst-debug-mark-found)
5640 (rst-shift-region-guts, rst-shift-region-right)
5641 (rst-shift-region-left, rst-use-char-classes)
5642 (rst-font-lock-keywords-function)
5643 (rst-font-lock-indentation-point)
5644 (rst-font-lock-find-unindented-line-begin)
5645 (rst-font-lock-find-unindented-line-end)
5646 (rst-font-lock-find-unindented-line)
5647 (rst-font-lock-adornment-point, rst-font-lock-level)
5648 (rst-adornment-level-alist): Remove functions and variables.
5649
5650 (rst-compare-adornments, rst-get-adornment-match)
5651 (rst-suggest-new-adornment, rst-get-adornments-around)
5652 (rst-adornment-complete-p, rst-get-next-adornment)
5653 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5654 (rst-straighten-adornments): Standardize function names to
5655 use "adornment" instead of "decoration". Correct callers.
5656 Similar standardizing in many places.
5657
5658 (rst-update-section, rst-adjust, rst-promote-region)
5659 (rst-enumerate-region, rst-bullet-list-region)
5660 (rst-repeat-last-character): Correct use of `interactive'.
5661
5662 (rst-classify-adornment, rst-find-all-adornments)
5663 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5664 (rst-find-leftmost-column, rst-repeat-last-character):
5665 Refactor functions.
5666
5667 (rst-find-title-line, rst-reset-section-caches)
5668 (rst-get-adornments-around, rst-adjust-adornment-work)
5669 (rst-arabic-to-roman, rst-roman-to-arabic)
5670 (rst-insert-list-pos, rst-insert-list-new-item)
5671 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5672 New functions.
5673
5674 (rst-all-sections, rst-section-hierarchy)
5675 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5676 New variables.
5677
5678 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5679 configuration instead of only buffer. Change where necessary.
5680
5681 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5682 (rst-shift-region, rst-adaptive-fill): New functions for
5683 indentation and filling.
5684
5685 (rst-comment-line-break, rst-comment-indent)
5686 (rst-comment-insert-comment, rst-comment-region)
5687 (rst-uncomment-region): New functions for handling comments.
5688
5689 (rst-compile): Quote shell arguments.
5690
5691 (rst-compile-pdf-preview, rst-compile-slides-preview):
5692 Delete temporary files after use.
5693
a43f98b3
GM
56942012-05-05 Glenn Morris <rgm@gnu.org>
5695
48176e8b
GM
5696 * calendar/cal-html.el: Optionally include holidays in the output.
5697 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5698 (cal-html-holidays): New option.
5699 (cal-html-css-default): Add holiday entry.
5700 (holiday-in-range): Autoload it.
5701 (cal-html-htmlify-entry): Add optional class argument.
5702 (cal-html-htmlify-list): Add optional holidays argument.
5703 (cal-html-insert-agenda-days): Include holidays in the output.
5704 (cal-html-one-month): Maybe include holidays.
5705
a43f98b3
GM
5706 * calendar/holidays.el (holiday-in-range):
5707 Move here from cal-tex-list-holidays.
5708 * calendar/cal-tex.el (cal-tex-list-holidays):
5709 Make it an obsolete alias for holiday-in-range. Update all callers.
5710
fef9d149 57112012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
5712
5713 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5714 Nextstep.
5715
248da2f4
RW
57162012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5717
5718 * files.el (file-auto-mode-skip): New var.
5719 (set-auto-mode-1): Use it.
5720
f95e9344
SM
57212012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5722
df96ab1e
SM
5723 * repeat.el: Use lexical-binding.
5724 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5725 (repeat-undo-count): Remove.
5726 (repeat):
5727 * progmodes/octave-mod.el (octave-abbrev-start):
5728 * progmodes/f90.el (f90-abbrev-start):
5729 * face-remap.el (text-scale-adjust):
5730 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5731
5342bb06
SM
5732 * emacs-lisp/pcase.el (pcase--let*): New function.
5733 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5734 a bit more.
5735 (pcase--split-pred): Be more clever about ruling out overlap between
5736 a predicate and some constant pattern.
5737 (pcase--q1): Use `null' instead of (eq foo nil).
5738
f95e9344
SM
5739 * subr.el (setq-local, defvar-local): New macros.
5740 (kbd): Redefine as an alias.
5741 (with-selected-window): Leave unrelated frames alone.
5742 (set-temporary-overlay-map): New function.
5743
71873e2b
SM
57442012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 * subr.el (user-error): New function.
5747 * window.el (switch-to-buffer):
5748 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5749 (smerge-match-conflict):
5750 * simple.el (previous-matching-history-element)
5751 (next-matching-history-element, goto-history-element, undo-more)
5752 (undo-start):
5753 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5754 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5755 (next-file, tags-loop-scan, list-tags, complete-tag):
5756 * progmodes/compile.el (compilation-loop):
5757 * mouse.el (mouse-minibuffer-check):
5758 * man.el (Man-bgproc-sentinel, Man-goto-page):
5759 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5760 (Info-history-forward, Info-follow-reference, Info-menu)
5761 (Info-extract-menu-item, Info-extract-menu-counting)
5762 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5763 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5764 (Info-next-reference, Info-prev-reference, Info-index)
5765 (Info-index-next, Info-follow-nearest-node)
5766 (Info-copy-current-node-name):
5767 * imenu.el (imenu--make-index-alist)
5768 (imenu-default-create-index-function, imenu-add-to-menubar):
5769 * files.el (basic-save-buffer, recover-file):
5770 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5771 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5772 (checkdoc-message-text, checkdoc-defun):
5773 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5774 * cus-edit.el (customize-changed-options, customize-rogue)
5775 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5776 (custom-variable-mark-to-reset-standard)
5777 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5778 (custom-file):
5779 * completion.el (check-completion-length):
5780 * comint.el (comint-search-arg)
5781 (comint-previous-matching-input-string-position)
5782 (comint-previous-matching-input)
5783 (comint-replace-by-expanded-history-before-point, comint-send-input)
5784 (comint-copy-old-input, comint-backward-matching-input)
5785 (comint-goto-process-mark, comint-set-process-mark):
5786 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5787 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5788
8a61ee22
SM
57892012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5790
66408d1e
SM
5791 * dabbrev.el (dabbrev--ignore-case-p): New function.
5792 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5793 Use it.
5794
8a61ee22
SM
5795 * files.el (automount-dir-prefix): Mark as obsolete.
5796
3c74813a
GM
57972012-05-04 Glenn Morris <rgm@gnu.org>
5798
5799 * patcomp.el, play/bruce.el: Move to obsolete/.
5800
0bfcf5c5
PE
58012012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5802
5803 Fix minor Y10k bugs.
5804 * arc-mode.el (archive-unixdate):
5805 * autoinsert.el (auto-insert-alist):
5806 * calc/calc-forms.el (math-this-year):
5807 * emacs-lisp/copyright.el (copyright-current-year)
5808 (copyright-update-year, copyright):
5809 * tar-mode.el (tar-clip-time-string):
5810 * time.el (display-time-update):
5811 Don't assume years have 4 digits.
5812
78f3273a
CY
58132012-05-04 Chong Yidong <cyd@gnu.org>
5814
5815 * dos-w32.el (file-name-buffer-file-type-alist)
5816 (direct-print-region-use-command-dot-com):
5817 * ffap.el (ffap-menu-regexp):
5818 * find-file.el (ff-special-constructs):
5819 * follow.el (follow-debug):
5820 * forms.el (forms--debug):
5821 * iswitchb.el (iswitchb-all-frames):
5822 * ido.el (ido-all-frames):
5823 * emacs-lisp/timer.el (timer-max-repeats):
5824 * mail/feedmail.el (feedmail-mail-send-hook)
5825 (feedmail-mail-send-hook-queued):
5826 * mail/footnote.el (footnote-signature-separator):
5827 * mail/mailabbrev.el (mail-alias-separator-string)
5828 (mail-abbrev-mode-regexp):
5829 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5830 * progmodes/idlwave.el (idlwave-libinfo-file)
5831 (idlwave-default-completion-case-is-down)
5832 (idlwave-library-routines): Convert defvars to defcustoms.
5833
5834 * mail/rmail.el (rmail-decode-mime-charset):
5835 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5836 (idlwave-shell-fix-inserted-breaks)
5837 (idlwave-shell-activate-alt-keybindings)
5838 (idlwave-shell-use-breakpoint-glyph):
5839 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5840
f7ae6719
SM
58412012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5844
47086495
WS
58452012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5846
5847 * progmodes/verilog-mode.el (font-lock-keywords):
5848 Fix mis-highligting auto. Reported by Craig Barner.
5849 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 5850 defines from global name space. Reported by Dan Dever.
47086495
WS
5851 (verilog-auto-reset, verilog-auto-reset-widths)
5852 (verilog-auto-tieoff): Support using unbased numbers for
5853 AUTORESET and AUTOTIEOFF.
5854 (verilog-submit-bug-report): Update variable list.
5855 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 5856 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
5857 (verilog-auto-template-lint): Fix hash error when linting modules
5858 with no used templates.
5859 (verilog-warn, verilog-warn-error)
5860 (verilog-warn-fatal): When non-interactive report multiple
5861 warnings before exiting. Suggested by Brad Dobbie.
5862 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5863 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5864 to report unused template errors. Reported by Brad Dobbie.
5865 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 5866 nets, bug438. Reported by Vns Blore.
47086495
WS
5867 (verilog-auto-inout-module, verilog-auto-reg)
5868 (verilog-read-decls, verilog-read-sub-decls-sig)
5869 (verilog-signals-edit-wire-reg, verilog-signals-with):
5870 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 5871 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
5872 "reg" for backwards compatibility presuming Verilog 2001.
5873 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5874 (verilog-preprocess): Fix replication of preprocess output.
5875 Reported by Brad Dobbie.
5876 (verilog-auto-inst-interfaced-ports):
5877 Create verilog-auto-inst-interfaced-ports, bug429.
5878 Reported by Julian Gorfajn.
5879 (verilog-after-save-font-hook)
5880 (verilog-before-save-font-hook): New variable.
5881 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5882 (verilog-save-font-mods): Wrap disabling fontification, reported
5883 by David Rogoff.
5884 (verilog-do-indent, verilog-pretty-declarations-auto)
5885 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5886 Reported by Pierre-David Pfister.
5887 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5888 of class declarations, bug292. Reported by Kevin Heilman.
5889 (verilog-read-decls): Fix 'parameter type' not appearing in
5890 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5891 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 5892 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
5893 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5894 Reported by David Kravitz.
5895
58962012-05-03 Michael McNamara <mac@mail.brushroad.com>
5897
5898 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5899 assignment with tests in ifs and for loops.
5900 (verilog-extended-complete-re, verilog-complete-reg): Change so
5901 that DPI inport functions don't look like fuction declarations.
5902 (verilog-pretty-expr): Don't line up assignment
5903 operations to the test and increment in if and for loops
5904 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 5905 that DPI inport functions don't look like fuction declarations.
47086495 5906
2e51d4b5
KH
59072012-05-03 Kenichi Handa <handa@m17n.org>
5908
5909 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 5910 decoding, and show a warning message without signaling an error
2e51d4b5
KH
5911 (Bug#11282).
5912
2bd785a2
SM
59132012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * emacs-lisp/bytecomp.el
5916 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5917 since cconv.el might have introduced :fun-body, internal-make-closure,
5918 and friends for bytecomp to handle (bug#11391).
5919 * custom.el (defcustom): Avoid ((λ ..) ..).
5920
99d27583
SM
59212012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5924
55a71479
JB
59252012-05-02 Juanma Barranquero <lekktu@gmail.com>
5926
5927 * notifications.el (dbus-debug):
5928 * term/linux.el (gpm-mouse-enable):
5929 * term/screen.el (xterm-register-default-colors): Declare.
5930
7b97c764
CY
59312012-05-02 Chong Yidong <cyd@gnu.org>
5932
2bc356d7
CY
5933 * cus-start.el (gc-cons-percentage, exec-suffixes)
5934 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5935 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5936 (make-cursor-line-fully-visible, void-text-area-pointer)
5937 (font-list-limit): Add customization data.
5938
7b97c764
CY
5939 * allout.el (allout-exposure-change-functions)
5940 (allout-structure-added-functions)
5941 (allout-structure-deleted-functions)
5942 (allout-structure-shifted-functions): Rename abnormal hooks from
5943 *-hook, and convert to defcustoms.
5d3385a0
JB
5944 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5945 Convert to defcustoms.
7b97c764
CY
5946 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5947
5948 * allout-widgets.el: Hook callers changed.
5949
90207a15 59502012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
5951
5952 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5953 the yanked message in preference to the default value of
5954 buffer-file-coding-system.
5955
90207a15 59562012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 5957
5d3385a0
JB
5958 * window.el (display-buffer--action-function-custom-type):
5959 Fix entry.
d9558cad 5960
90207a15 59612012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
5962
5963 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5964
d80ac57b
GM
59652012-05-01 Glenn Morris <rgm@gnu.org>
5966
976f7668
GM
5967 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5968
beb83b5a
GM
5969 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5970
d80ac57b
GM
5971 * cus-edit.el (custom-variable-documentation): Simplify with format.
5972
b593d6a9 59732012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 5974 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
5975
5976 * simple.el (suggest-key-bindings, execute-extended-command):
5977 Move from keyboard.c.
5978
782fbf2a
CY
59792012-05-01 Chong Yidong <cyd@gnu.org>
5980
5981 * follow.el: Eliminate advice.
5982 (set-process-filter, process-filter, sit-for): Advice deleted.
5983 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
5984 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5985 Vars deleted.
782fbf2a
CY
5986 (follow-auto): Use a :set function.
5987 (follow-mode): Rewritten. Don't advise process filters.
5988 (follow-switch-to-current-buffer-all, follow-scroll-up)
5989 (follow-scroll-down): Assume follow-mode is bound.
5990 (follow-comint-scroll-to-bottom)
5991 (follow-align-compilation-windows): New functions.
5992 (follow--window-sorter): New function.
5993 (follow-all-followers): Use it to explicitly sort windows by their
5994 positions; don't make assumptions about next-window order.
5995 (follow-windows-start-end, follow-delete-other-windows-and-split)
5996 (follow-calc-win-start): Doc fix.
5997 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5998 vertical-motion unnecessarily.
5999 (follow-adjust-window): New function.
6000 (follow-post-command-hook): Use it.
6001 (follow-call-set-process-filter, follow-call-process-filter)
6002 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6003 (follow-stop-intercept-process-output, follow-generic-filter):
6004 Functions deleted.
6005 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6006 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6007 New functions, replacing advice on scroll-bar-* commands.
87233a14 6008 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6009
6010 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6011 (comint-postoutput-scroll-to-bottom): Use it.
6012 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6013
290af740
GM
60142012-05-01 Glenn Morris <rgm@gnu.org>
6015
6016 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6017 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6018 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6019 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6020 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6021 Remove no-byte-compile setting.
6022
6eac8dc9
SM
60232012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6026 all-completions code to not return a number in the last cdr.
6027
9cc7819c
LL
60282012-04-30 Leo Liu <sdl.web@gmail.com>
6029
6030 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6031 read-only error.
6032
c93b886f
CY
60332012-04-29 Chong Yidong <cyd@gnu.org>
6034
6035 * follow.el (follow-calc-win-end): Rewrite to handle partial
6036 screen lines correctly (Bug#8390).
6037 (follow-avoid-tail-recenter): Minor cleanup.
6038
8b6c19f4
SM
60392012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 Avoid the obsolete `assoc' package.
6042 * speedbar.el (speedbar-refresh): Avoid adelete.
6043 (speedbar-file-lists): Simplify and avoid aput.
6044 * man.el (Man--sections, Man--refpages): New vars, replacing
6045 Man-sections-alist and Man-refpages-alist.
6046 (Man-build-section-alist, Man-build-references-alist):
6047 Use them; avoid aput.
6048 (Man--last-section, Man--last-refpage): New vars.
6049 (Man-follow-manual-reference): Use them.
6050 Use the `default' arg of completing-read.
6051 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6052
c5bb7569
CY
60532012-04-27 Chong Yidong <cyd@gnu.org>
6054
d1d2e2e8
CY
6055 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6056
15cd8efd
CY
6057 * startup.el (x-apply-session-resources): New function.
6058
6059 * term/ns-win.el (ns-initialize-window-system):
6060 * term/w32-win.el (w32-initialize-window-system):
6061 * term/x-win.el (x-initialize-window-system): Use it to properly
6062 set menu-bar-mode and other vars from X resources, even if the
6063 initial frame is not a window-system frame (Bug#2299).
6064
c5bb7569
CY
6065 * subr.el (read-key): Avoid running filter function when setting
6066 up temporary tool bar entries (Bug#9922).
6067
a8e7d6d7 60682012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6069
6070 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6071 (Bug#11344)
6072
a8e7d6d7 60732012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6074
6075 * select.el (xselect--encode-string): New function, split from
6076 xselect-convert-to-string.
6077 (xselect-convert-to-string): Use it.
6078 (xselect-convert-to-filename, xselect-convert-to-os)
6079 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6080 returned strings are properly encoded (Bug#11315).
6081
a8e7d6d7 60822012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6083
6084 * simple.el (delete-active-region): Move to killing custom group.
6085
a8e7d6d7 60862012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6087
6088 * progmodes/which-func.el (which-func-current): Quote %
6089 characters for mode-line processing.
6090
578c1d4b 60912012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6092
6093 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6094 reaching eob (Bug#11286).
6095
a8e7d6d7 60962012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6097
6098 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6099 (gdb): Make it buffer-local and init to zero.
6100 (gdb-control-commands-regexp): New variable.
6101 (gdb-send): Don't wrap in "-interpreter-exec console" if
6102 gdb-control-level is positive. Increment gdb-control-level
6103 whenever the command matches gdb-control-commands-regexp, and
6104 decrement it each time the command is "end". (Bug#11279)
6105
a8e7d6d7 61062012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6107
6108 * window.el (adjust-window-trailing-edge, enlarge-window)
6109 (shrink-window, window-resize):
6110 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6111 windows (Bug#11276).
6112
b3608390
CY
61132012-04-27 Chong Yidong <cyd@gnu.org>
6114
6115 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6116 fix "missing prefix" warning. All callers changed.
b3608390 6117
797e6e88
SM
61182012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * emacs-lisp/assoc.el: Move to obsolete/.
6121
e95a67dc
SM
61222012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6123
657c21e4 6124 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6125
6126 * term/ns-win.el (ns-define-service):
6127 * progmodes/pascal.el (pascal-goto-defun):
6128 * progmodes/js.el (js--read-tab):
6129 * progmodes/etags.el (tags-lazy-completion-table):
6130 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6131 * emacs-lisp/ewoc.el (ewoc--wrap):
6132 * emacs-lisp/assoc.el (aput, adelete, amake):
6133 * doc-view.el (doc-view-convert-current-doc):
6134 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6135
cb3e7ae0
CY
61362012-04-26 Chong Yidong <cyd@gnu.org>
6137
dce04f7f
CY
6138 * image.el (image-type-from-buffer): Only return supported image
6139 type (Bug#9045).
6140
cb3e7ae0
CY
6141 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6142 value, for symmetry with diff-end-of-hunk.
6143 (diff-split-hunk, diff-find-source-location)
6144 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6145 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6146 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6147 compute the relevant hunk or file properly (Bug#6005).
6148 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6149
0d42eb3e
SM
61502012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * vc/vc-mtn.el:
6153 * vc/vc-hg.el:
6154 * vc/vc-git.el:
6155 * vc/vc-dir.el:
6156 * vc/vc-cvs.el:
6157 * vc/vc-bzr.el:
6158 * vc/vc-arch.el:
6159 * vc/vc.el: Replace lexical-let by lexical-binding.
6160 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6161 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6162 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6163
f08ae1c9
CY
61642012-04-26 Chong Yidong <cyd@gnu.org>
6165
8b71081d
CY
6166 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6167 (diff-mode-shared-map): Bind it to / and [remap undo].
6168
f08ae1c9
CY
6169 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6170 (ediff-window-setup-function): Use it as the default, to set up
6171 windows based on whether the current frame is graphical (Bug#2138).
6172 (ediff-choose-window-setup-function-automatically): Make obsolete.
6173
6174 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6175
ef24141c
SM
61762012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6177
cc356a5d
SM
6178 * ffap.el: Remove old code for obsolete package.
6179 (ffap-complete-as-file-p): Remove.
6180
b4ff4f1f
SM
6181 Use completion-table-with-quoting for comint and pcomplete.
6182 * comint.el (comint--unquote&requote-argument)
6183 (comint--unquote-argument, comint--requote-argument): New functions.
6184 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6185 (comint-quote-filename): Use regexp-opt-charset.
6186 (comint--common-suffix, comint--common-quoted-suffix)
6187 (comint--table-subvert): Remove.
6188 (comint-unquote-function, comint-requote-function): New vars.
6189 (comint--complete-file-name-data): Use them with
6190 completion-table-with-quoting.
6191 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6192 * pcomplete.el (pcomplete-arg-quote-list)
6193 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6194 (pcomplete-unquote-argument-function): Default to non-nil.
6195 (pcomplete-unquote-argument): Simplify.
6196 (pcomplete--common-quoted-suffix): Remove.
6197 (pcomplete-requote-argument-function): New var.
6198 (pcomplete--common-suffix): New function.
6199 (pcomplete-completions-at-point): Use completion-table-with-quoting
6200 and completion-table-subvert.
6201
79c4eeb4
SM
6202 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6203 (minibuffer--double-dollars): Preserve properties.
6204 (completion--sifn-requote): New function.
6205 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6206
ef24141c
SM
6207 * minibuffer.el: Add support for completion of quoted/escaped data.
6208 (completion-table-with-quoting, completion-table-subvert): New funs.
6209 (completion--twq-try, completion--twq-all): New functions.
6210 (completion--nth-completion): New function.
6211 (completion-try-completion, completion-all-completions): Use it.
6212
784e7d6e
LL
62132012-04-25 Leo Liu <sdl.web@gmail.com>
6214
dd2ac746
SM
6215 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6216 Use compilation-message if available to find real filename.
784e7d6e 6217
07875ee7
CY
62182012-04-25 Chong Yidong <cyd@gnu.org>
6219
6220 * vc/diff-mode.el (diff-setup-whitespace): New function.
6221 (diff-mode): Use it.
6222
6223 * vc/diff.el (diff-sentinel):
6224 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6225 Whitespace mode variables based on diff style (Bug#8612).
6226
5055880d
LL
62272012-04-25 Leo Liu <sdl.web@gmail.com>
6228
daf75653
LL
6229 * progmodes/python.el (python-send-region): Add suffix .py to the
6230 temp file.
6231
5055880d
LL
6232 * files.el (auto-mode-alist): Use javascript-mode instead.
6233
db9b177b
AH
62342012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6235
ef24141c 6236 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6237
090bd7cb 6238 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6239 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6240 references, see Bug#9.
ef24141c 6241 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6242 when receiving a fault reply.
ef24141c 6243 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6244
090bd7cb 6245 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6246 (soap-inspect-simple-type): New function.
db9b177b 6247
090bd7cb 6248 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6249 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6250 (soap-decode-basic-type, soap-encode-basic-type):
6251 support unsignedInt and double basic types.
db9b177b 6252 (soap-resolve-references-for-simple-type)
ef24141c
SM
6253 (soap-parse-simple-type, soap-encode-simple-type): New function.
6254 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6255
090bd7cb 6256 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6257 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6258 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6259 the local name of "soapenc:Array".
6260 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6261 decoding integer, byte and anyURI xsd types.
6262
1fc6097b
CY
62632012-04-25 Chong Yidong <cyd@gnu.org>
6264
6265 * cus-edit.el (custom-buffer-create-internal): Update header text.
6266
afc6df87
EZ
62672012-04-25 Eli Zaretskii <eliz@gnu.org>
6268
6269 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6270 settings on 'system-type', not on 'window-system'. On MS-Windows,
6271 set interactive-mode on in GDB.
6272
dfbd787f
SM
62732012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6274
6275 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6276 (ruby-syntax-propertize-regexp): Remove.
6277 (ruby-syntax-propertize-function): Split regexp into chunks.
6278 Match following code directly.
6279
85222d44
DG
62802012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6281
51a8ea2a
DG
6282 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6283 (ruby-syntax-propertize-regexp): New function.
6284 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6285 by a special keyword.
6286
85222d44
DG
6287 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6288 (ruby-syntax-general-delimiters-goto-beg)
6289 (ruby-syntax-propertize-general-delimiters): New functions.
6290 (ruby-syntax-propertize-function): Use them to handle GDL.
6291 (ruby-font-lock-keywords): Move old handling of GDL...
6292 (ruby-font-lock-syntactic-keywords): .. to here.
6293 (ruby-calculate-indent): Adjust indentation for GDL.
6294
b613912b
MA
62952012-04-24 Michael Albinus <michael.albinus@gmx.de>
6296
b5380639
MA
6297 * notifications.el (top): Remove unneeded declarations.
6298 (notifications-specification-version): Change to "1.2".
e43042fe 6299 (notifications-interface, notifications-notify-method)
b613912b
MA
6300 (notifications-close-notification-method): Fix docstring.
6301 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6302 (notifications-notify): Add :action-items, :resident and
6303 :transient hints. Change "image_data" to "image-data" and
6304 "image_path" to "image-path".
b613912b
MA
6305 (notifications-get-capabilities): New defun.
6306
257440aa
LL
63072012-04-24 Leo Liu <sdl.web@gmail.com>
6308
6309 * progmodes/python.el: Move hideshow setup to the end.
6310
b1bac16e
MR
63112012-04-24 Martin Rudalics <rudalics@gmx.at>
6312
6313 * window.el (handle-select-window): Clear echo area since this is
6314 no more done by read_char (Bug#11304).
6315
d81bd059
SM
63162012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6319 and `/ M' to filter-derived-mode.
6320 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6321 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6322 (ibuffer-mark-by-mode): Use default rather than initial-input.
6323 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6324
c4cf6d91
IA
63252012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6326
6327 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6328 (ibuffer-filter-by-derived-mode): New filter.
6329 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6330
7511ded8
CY
63312012-04-23 Andreas Politz <politza@fh-trier.de>
6332
6333 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6334
775c916b
CY
63352012-04-23 Chong Yidong <cyd@gnu.org>
6336
6337 * cus-edit.el (customize-apropos, customize-apropos-options):
6338 Disable matching of non-option variables (Bug#11176).
6339 (customize-option, customize-option-other-window)
6340 (customize-changed-options): Doc fix.
6341 (customize-apropos-options, customize-apropos-faces)
6342 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6343
6344 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6345 Fix word list splitting (Bug#11132).
46c71e23
CY
6346 (apropos-symbol, apropos-keybinding, apropos-label)
6347 (apropos-property, apropos-function-button)
6348 (apropos-variable-button, apropos-misc-button): New faces.
6349 (apropos-symbol-face, apropos-keybinding-face)
6350 (apropos-label-face, apropos-property-face, apropos-match-face):
6351 Variables removed (Bug#8396).
6352 (apropos-library-button, apropos-format-plist, apropos-print)
6353 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6354
2df41f9c
MA
63552012-04-23 Michael Albinus <michael.albinus@gmx.de>
6356
6357 * net/xesam.el (xesam-mode-map): Use let-bound map in
6358 initialization. (Bug#11292)
6359
da00640a
AM
63602012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6361
6362 Preserve ispell session localwords when switching back to
6363 original buffer.
6364
090bd7cb
JB
6365 * textmodes/ispell.el (ispell-buffer-session-localwords):
6366 New buffer-local variable to hold buffer session localwords.
ed9265fc 6367 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6368 localwords.
6369 (ispell-command-loop, ispell-change-dictionary)
6370 (ispell-buffer-local-words): Preserve session localwords when
6371 needed.
6372
090bd7cb
JB
6373 * textmodes/flyspell.el (flyspell-process-localwords)
6374 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6375
f621ccf5
AM
63762012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6377
090bd7cb
JB
6378 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6379 using obsolete `translation-table-for-input'.
ef24141c
SM
6380 (ispell-word, ispell-process-line, ispell-complete-word):
6381 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6382
c2d1019e
CY
63832012-04-22 Chong Yidong <cyd@gnu.org>
6384
6385 * cus-edit.el (custom-variable-menu)
6386 (custom-variable-reset-saved, custom-face-menu)
6387 (custom-face-reset-saved): If there is no saved value, make the
6388 "reset-saved" operation bring back the default (Bug#9509).
6389 (custom-face-state): Properly detect themed faces.
6390
eeddc531
CY
6391 * faces.el (face-spec-set): Stop supporting deprecated form of
6392 third arg.
6393
dcbf5805
MA
63942012-04-22 Michael Albinus <michael.albinus@gmx.de>
6395
6396 Move functions from C to Lisp. Make non-blocking method calls
6397 the default. Implement further D-Bus standard interfaces.
6398
ef24141c
SM
6399 * net/dbus.el (dbus-message-internal): Declare function.
6400 Remove unneeded function declarations.
dcbf5805
MA
6401 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6402 (dbus-message-type-method-return, dbus-message-type-error)
6403 (dbus-message-type-signal): Declare variables. Remove local
6404 definitions.
6405 (dbus-interface-dbus, dbus-interface-peer)
6406 (dbus-interface-introspectable, dbus-interface-properties)
6407 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6408 Adapt docstring.
6409 (dbus-interface-objectmanager): New defconst.
6410 (dbus-call-method, dbus-call-method-asynchronously)
6411 (dbus-send-signal, dbus-method-return-internal)
6412 (dbus-method-error-internal, dbus-register-service)
6413 (dbus-register-signal, dbus-register-method): New defuns, moved
6414 from dbusbind.c
6415 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6416 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6417 New defuns.
dcbf5805
MA
6418 (dbus-call-method-non-blocking): Make it an obsolete function.
6419 (dbus-unregister-object, dbus-unregister-service)
6420 (dbus-handle-event, dbus-register-property)
6421 (dbus-property-handler): Obey the new structure of
6422 `bus-registered-objects'.
6423 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6424 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6425 Use `dbus-call-method'.
6426
cf20dee0
CY
64272012-04-22 Chong Yidong <cyd@gnu.org>
6428
6429 * cus-edit.el (custom-commands, custom-reset-menu)
6430 (Custom-reset-standard): Tweak labels.
6431 (custom-reset-button-menu): Change default to t.
6432 (custom-buffer-create-internal): For the custom-reset-button-menu
6433 case, put the revert button first.
6434 (custom-group-subtitle): New face.
6435 (custom-group-value-create): Align docstring to a specific column.
6436
6437 * wid-edit.el (widget-documentation-link-add): Don't handle
6438 indentation in this function.
6439 (widget-documentation-string-indent-to): New function.
6440 (widget-documentation-string-value-create): Use it.
6441
6442 * autorevert.el (auto-revert):
6443 * epg-config.el (epg):
6444 * ibuffer.el (ibuffer):
6445 * mpc.el (mpc):
6446 * ses.el (ses):
6447 * eshell/eshell.el (eshell):
6448 * net/ange-ftp.el (ange-ftp):
6449 * progmodes/ebnf2ps.el (postscript):
6450 * progmodes/flymake.el (flymake):
6451 * progmodes/prolog.el (prolog):
6452 * progmodes/verilog-mode.el (verilog-mode):
6453 * progmodes/which-func.el (which-func):
6454 * term/xterm.el (xterm):
6455 * textmodes/picture.el (picture):
6456 * textmodes/tildify.el (tildify):
6457 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6458 customization buffers.
6459
583e23bd
AM
64602012-04-22 Alan Mackenzie <acm@muc.de>
6461
6462 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6463 Adding a ) can hide the resulting (..) from searches. Fix it.
6464 Bound the backward search to the position of the existing (.
6465
7dd51bf1
JB
64662012-04-21 Juanma Barranquero <lekktu@gmail.com>
6467
6468 * progmodes/verilog-mode.el (verilog-mode): Check whether
6469 which-func-modes is t before adding verilog-mode.
6470 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6471
d64a438f
LL
64722012-04-21 Leo Liu <sdl.web@gmail.com>
6473
7dd51bf1 6474 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6475
081e8d65
MV
64762012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6477
6478 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6479 filling of the last column of a table (Bug#5635).
6480 (woman-find-next-control-line): New arg, specifying an additional
6481 regexp component for the control line.
6482 (woman2-roff-buffer): Use it.
6483 (woman-break-table): New function.
6484 (woman2-TS): Use it.
6485
64862012-04-21 Chong Yidong <cyd@gnu.org>
6487
6488 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6489 (woman-horizontal-escapes, woman-negative-vertical-space)
6490 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6491 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6492
ed571ccb
SM
64932012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 * minibuffer.el (completion-file-name-table): Complete user names.
6496
39773899
LL
64972012-04-20 Leo Liu <sdl.web@gmail.com>
6498
6499 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6500 and pcase-let*.
6501
de6ff46d
CY
65022012-04-20 Chong Yidong <cyd@gnu.org>
6503
6504 * server.el (server-execute): Respect initial-buffer-choice if it
6505 is a string and there are no files to open (Bug#2825).
6506 (server-create-window-system-frame, server-create-tty-frame):
6507 Don't switch buffers here.
2d0e8e61
CY
6508 (server-process-filter): Only try to open a window system frame if
6509 compiled with graphical support (Bug#8314).
de6ff46d 6510
54071013
DN
65112012-04-20 Dan Nicolaescu <dann@gnu.org>
6512
6513 * battery.el (battery-echo-area-format): Display remaining time
6514 for sysfs backend too (Bug#11269).
6515 (battery-linux-sysfs): Fix conditional for the charge.
6516
f30d612a
CY
65172012-04-20 Chong Yidong <cyd@gnu.org>
6518
c07a4c0b 6519 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6520 (gdb-inferior-io--init-proc): New function.
6521 (gdb-init-1): Use it.
6522 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6523 responsible for allocating a new pty and hooking it to gdb when
6524 the old pty gets an EIO due to process exit.
6525 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6526 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6527 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6528
2116e93c
EZ
65292012-04-20 Eli Zaretskii <eliz@gnu.org>
6530
6531 * window.el (window-min-size, window-sizable, window-min-delta)
6532 (window-max-delta, window--resizable, window-resizable)
6533 (window-total-size, window-full-height-p, window-full-width-p)
6534 (window-in-direction, window--resize-mini-window, window-resize)
6535 (window--resize-child-windows-normal)
6536 (window--resize-child-windows, window--resize-siblings)
6537 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6538 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6539
c07a4c0b 65402012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6541
ef24141c
SM
6542 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6543 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6544 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6545 pty process (Bug#11273).
6546 (gdb-update): New arg to suppress talking to the gdb process.
6547 (gdb-done-or-error): Use it.
6548 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6549 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6550 sentinel not being called.
6551
6552 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6553
d02766ab
CY
6554 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6555
c07a4c0b 65562012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6557
6558 * net/network-stream.el (open-network-stream): Doc fix.
6559
c07a4c0b 65602012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6561
6562 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6563
c07a4c0b 65642012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6565
6566 Ensure searching for keywords is case sensitive.
6567
6568 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6569 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6570 (c-defun-name, c-mark-function, c-cpp-define-name)
6571 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6572 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6573
ef24141c
SM
6574 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6575 Bind case-fold-search to nil.
f0f6bc35 6576
c07a4c0b 65772012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
6578
6579 * mail/sendmail.el (mail-bury): Call return action with the right
6580 Rmail buffer (Bug#11242).
6581
9a864fa2
CY
6582 * server.el (server-process-filter): Handle corner case where both
6583 tty and nowait options are present (Bug#11102).
6584
539aa513
EZ
65852012-04-20 Eli Zaretskii <eliz@gnu.org>
6586
6587 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
6588 (top level): Put into the executable the ident-style '$Id:' tag on
6589 windows-nt as well.
539aa513 6590
cfc7d5da
SM
65912012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * electric.el (electric-indent-post-self-insert-function): Check that
6594 electric-indent-mode is enabled in current buffer.
6595
5b01685c
JB
65962012-04-19 Juanma Barranquero <lekktu@gmail.com>
6597
6598 * imenu.el (imenu-progress-message): Restore; it is "used" in
6599 erc/erc-imenu.el and net/snmp-mode.el.
6600
4d6769e1
JB
66012012-04-19 Juanma Barranquero <lekktu@gmail.com>
6602
6603 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6604 (mouse-avoidance-nudge-mouse): Remove unused binding.
6605
6606 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6607
6608 * descr-text.el (describe-char):
6609 * progmodes/python.el (python-describe-symbol):
6610 Don't call `toggle-read-only', set `buffer-read-only'.
6611
6612 * imenu.el (imenu-default-goto-function): Mark unused args.
6613 (imenu-progress-message): Remove obsolete macro; all callers changed.
6614
6615 * subr.el (keymap-canonicalize): Remove unused binding.
6616 (read-passwd): Mark unused arg.
6617
6618 * tutorial.el (tutorial--display-changes): Remove unused binding.
6619 (tutorial--save-tutorial-to): Remove unused variable.
6620
6621 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6622 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6623 (package-generate-autoloads, package-menu--generate)
6624 (package-menu--find-upgrades): Remove unused bindings.
6625
6626 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6627 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6628 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6629 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6630 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6631 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6632 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6633 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6634 (cua-delete-char-rectangle): Mark unused args.
6635 (cua-align-rectangle): Remove unused binding.
6636
6637 * mail/rmail.el (compilation--message->loc)
6638 (epa--find-coding-system-for-mime-charset): Declare.
6639
6640 * net/dbus.el (dbus-register-service): Declare.
6641 (dbus-name-owner-changed-handler): Remove unused binding.
6642
6643 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6644 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6645 (nxml-scan-backward-within): Mark unused arg.
6646 (nxml-dynamic-markup-word): Remove unused binding.
6647
6648 * mouse.el (mouse-menu-major-mode-map):
6649 * emacs-lisp/authors.el (authors-scan-change-log)
6650 (authors-add-to-author-list):
6651 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6652 * emacs-lisp/smie.el (smie-auto-fill):
6653 * mail/sendmail.el (mail-bury):
6654 * mail/unrmail.el (unrmail):
6655 * net/tls.el (open-tls-stream):
6656 * textmodes/picture.el (picture-mouse-set-point):
6657 Remove unused bindings.
6658
8c8fc5df
MA
66592012-04-19 Michael Albinus <michael.albinus@gmx.de>
6660
6661 * net/tramp.el (tramp-action-password): Let-bind
6662 `enable-recursive-minibuffers' to t.
6663
a77b0ac9
SS
66642012-04-18 Sam Steingold <sds@gnu.org>
6665
6666 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6667 instead of 'string to accommodate values like [f11].
6668 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6669 * progmodes/gdb-mi.el: Likewise.
6670
12a106a9
LL
66712012-04-18 Leo Liu <sdl.web@gmail.com>
6672
6673 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6674 current buffer.
6675 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6676 LOCAL is nil.
6677
bc6494ef
CY
66782012-04-18 Chong Yidong <cyd@gnu.org>
6679
6680 * simple.el (line-move): Use forward-line if in batch mode
6681 (Bug#11053).
6682
c09c46b2
CS
66832012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6684
6685 * files.el (after-find-file): Do not try to add a final newline if
6686 the buffer is read-only (Bug#11156).
6687
5f6530ea
RS
66882012-04-17 Richard Stallman <rms@gnu.org>
6689
6690 * mail/rmail.el (rmail-start-mail):
6691 Pass (rmail-mail-return...) for the return-action.
6692 Pass (rmail-yank-current-message...) for the yank-action.
6693 (rmail-yank-current-message): New function.
6694 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6695 (rmail-reply): Likewise.
6696 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6697
6698 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 6699 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
6700 buffer, not newbuf.
6701
197b6f3c
JB
67022012-04-17 Juanma Barranquero <lekktu@gmail.com>
6703
6704 * server.el (server-ensure-safe-dir): Simplify.
6705
2311d8e5 67062012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 6707
2311d8e5
GM
6708 * emacs-lisp/smie.el: Provide smarter auto-filling.
6709 (smie-auto-fill): New function.
6710 (smie-setup): Use it.
98fb480e 6711
2311d8e5
GM
6712 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6713
67142012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
6715
6716 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6717 (comment-indent): Use it.
6718
2311d8e5 67192012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
6720
6721 * ses.el: The overall change is to add cell renaming, that is
6722 setting fancy names for cell symbols other than name matching
6723 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 6724 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 6725 (ses-create-cell-variable): New defun.
2311d8e5 6726 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
6727 (ses-relocate-formula): Relocate formulas only for cells the
6728 symbols of which are not renamed, i.e. symbols whose names do not
6729 match regexp "\\`[A-Z]+[0-9]+\\'".
6730 (ses-relocate-all): Relocate values only for cells the symbols of
6731 which are not renamed.
6732 (ses-load): Create cells variables as the (ses-cell ...) are read,
6733 in order to check row col consistency with cell symbol name only
6734 for cells that are not renamed.
6735 (ses-replace-name-in-formula): New defun.
6736 (ses-rename-cell): New defun.
4bdf2ad2 6737
fc72b15c
PO
67382012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6739
6740 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6741 New option (bug#11118).
6742 (perl-calculate-indent): Respect it.
6743
12e10e61
GM
67442012-04-17 Glenn Morris <rgm@gnu.org>
6745
6746 * dired-aux.el (dired-mark-read-string): Doc fix.
6747
30009afd
DA
67482012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6749
6750 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6751 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6752
41f03f4d
GM
67532012-04-17 Glenn Morris <rgm@gnu.org>
6754
6755 * mouse.el (mouse-drag-track):
6756 * speedbar.el (speedbar-frame-mode):
6757 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6758
f45f90f3
LL
67592012-04-16 Leo Liu <sdl.web@gmail.com>
6760
6761 * progmodes/python.el: Trivial cleanup.
6762
94ee8db5
GM
67632012-04-16 Glenn Morris <rgm@gnu.org>
6764
121b8917
GM
6765 * vc/vc.el (vc-string-prefix-p):
6766 * vc/pcvs-util.el (cvs-string-prefix-p):
6767 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6768 * mpc.el (mpc-string-prefix-p):
6769 Make all of these into obsolete aliases for string-prefix-p.
6770 Update callers.
6771 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6772
1197ecfa
GM
6773 * textmodes/two-column.el: Move custom options to the start.
6774 (frame-width): Remove compat definition.
6775 (2C-associate-buffer, 2C-dissociate):
6776 Use with-current-buffer rather than save-excursion.
6777 (2C-dissociate): Force a mode-line update.
6778 (2C-autoscroll): Use ignore-errors.
6779
099e7202
GM
6780 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6781 Autoload trivia.
6782
bf350d6a
GM
6783 * emacs-lisp/cl-extra.el (*random-state*):
6784 Remove unnecessary declaration.
6785
0e829eab
GM
6786 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6787
e3ad7552
GM
6788 * play/cookie1.el (cookie-snarf):
6789 Give an explicit error if input file cannot be read.
6790
68892d27
GM
6791 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6792
20f0c46d
GM
6793 * progmodes/perl-mode.el (c-macro-expand):
6794 Remove unnecessary autoload (it is in loaddefs.el).
6795
5a0978ce
GM
6796 * textmodes/picture.el (picture-desired-column)
6797 (picture-update-desired-column): Convert comments to doc-strings.
6798 (picture-substitute): Remove function.
6799 (picture-mode-map): Initialize in the defvar.
6800
6b955486
GM
6801 * woman.el: Remove eval-after-load for tar-mode.
6802 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6803 (woman-tar-extract-file): Autoload it.
6804
94ee8db5
GM
6805 * frame.el (automatic-hscrolling): Make this alias obsolete.
6806
177eca34
AM
68072012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6808
090bd7cb 6809 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 6810 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
6811 (ispell-dictionary-base-alist): Revert to original XEmacs
6812 friendly version for default. [:alpha:] will be added in
090bd7cb 6813 `ispell-set-spellchecker-params' if needed.
177eca34 6814
c505aaeb
CY
68152012-04-16 Chong Yidong <cyd@gnu.org>
6816
b19dd9d1 6817 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
6818 (imagemagick-register-types): Use it.
6819 (imagemagick-types-inhibit): Add :set function. Allow new value
6820 of t to inhibit all types.
6821
6822 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6823 so we can preload it.
6824
6825 * loadup.el (fboundp): Preload regexp-opt, needed by
6826 imagemagick-register-types.
6827
60efac0f
CY
68282012-04-15 Chong Yidong <cyd@gnu.org>
6829
6830 * frame.el (scrolling): Remove nearly unused customization group.
6831
6832 * scroll-all.el (scroll-all-mode): Move to windows group.
6833
5dd1713e
CY
68342012-04-15 Chong Yidong <cyd@gnu.org>
6835
6836 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6837
e6fd457e
CY
68382012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 6841 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 6842
e153c136
GM
68432012-04-15 Glenn Morris <rgm@gnu.org>
6844
6845 * simple.el (process-file-side-effects): Doc fix.
6846
e6fd457e 68472012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
6848
6849 * international/mule-cmds.el (set-language-environment): Doc fix.
6850
3603c3b1
JB
68512012-04-14 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * server.el (server-auth-key, server-generate-key): Doc fixes.
6854 (server-get-auth-key): Doc fix. Use `string-match-p'.
6855 (server-start): Reflow docstring.
6856
e6de100c
LI
68572012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6858
6859 * server.el (server-generate-key): `called-interactively-p'
6860 requires a parameter.
6861
29734c21
MN
68622012-04-14 Michal Nazarewicz <mina86@mina86.com>
6863
6864 * server.el (server-auth-key): New variable.
75f1671a 6865 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
6866 (server-start): Use the new variable and functions to allow
6867 setting a permanent server key (bug#9423).
6868
d65c9521
LL
68692012-04-14 Leo Liu <sdl.web@gmail.com>
6870
6871 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6872
5ae255c7
PE
68732012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6874
6875 Spelling fixes.
6876 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6877 Emacs uses American spelling.
6878
d5e6342e
JB
68792012-04-14 Juanma Barranquero <lekktu@gmail.com>
6880
6881 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6882 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6883 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6884 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6885
ab036cd7
SM
68862012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * progmodes/which-func.el (which-func-modes): Change default.
6889
35dc09a1 68902012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
6891
6892 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6893 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6894
35dc09a1 68952012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
6896
6897 * custom.el (custom-theme-set-variables): Doc fix.
6898
35dc09a1 68992012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
6900
6901 * international/mule.el (set-auto-coding-for-load): Doc fix.
6902
35dc09a1 69032012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 6904
35dc09a1
GM
6905 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6906 imenu work again for Objective C Mode. Correct the *-index values,
6907 these having been disturbed by a previous change in 2011-08.
57f845ee 6908
0de3da9f
AM
6909 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6910 Correct two search limits.
6911
35dc09a1 69122012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
6913
6914 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6915
35dc09a1 69162012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
6917
6918 * international/characters.el: Fix sorting.
6919
35dc09a1 69202012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
6921
6922 * international/characters.el: Add more missing Latin case pairs.
6923
35dc09a1 69242012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
6925
6926 * files.el (dir-locals-set-class-variables): Doc fix.
6927
35dc09a1 69282012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 6929
3f1b5bf8
EZ
6930 * international/characters.el: Add set-case-syntax-pair call for
6931 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6932 counterpart. (Bug#11209)
6933
9f847f41
EZ
6934 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6935
35dc09a1 69362012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
6937
6938 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6939
35dc09a1 69402012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 6941
35dc09a1
GM
6942 * textmodes/ispell.el (ispell-dictionary-base-alist):
6943 Add data for Hebrew.
e2627d21 6944
35dc09a1 69452012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 6946
35dc09a1
GM
6947 * net/rcirc.el (rcirc-cmd-quit):
6948 Revert 2012-03-18 change (Bug#11192).
5c14e333 6949
35dc09a1 69502012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
6951
6952 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6953
35dc09a1 69542012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 6955
4517fe3a
SM
6956 * minibuffer.el (completion-in-region-mode-map):
6957 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 6958
b472a594
VD
69592012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6960
6961 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6962
09b95ce3
MY
69632012-04-13 Masatake YAMATO <yamato@redhat.com>
6964
6965 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6966 to allow `C-M-f' and `C-M-b' to move to the nearest path
6967 separator (bug#9511).
6968
4b63a9ca
LI
69692012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6970
6971 * avoid.el: Require cl when compiling. And also move the
6972 `provide' to the end.
6973
7b55b8bf
TV
69742012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6975
6976 * avoid.el (mouse-avoidance-banish-position): New variable.
6977 (mouse-avoidance-banish-destination): Use it (bug#10165).
6978
adedaa1f
LL
69792012-04-13 Leo Liu <sdl.web@gmail.com>
6980
6981 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6982
70e74021
KB
69832012-04-13 Ken Brown <kbrown@cornell.edu>
6984
6985 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 6986 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
6987 (browse-url-filename-alist): For the same reason, don't modify
6988 file:// URLs on Cygwin.
6989
e75e89ba
SM
69902012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6993 the region on shift if the binding is already shifted (bug#11221).
6994
82f289a4
GM
69952012-04-12 Glenn Morris <rgm@gnu.org>
6996
6997 * mail/mailpost.el: Move to obsolete/.
6998
d333dc4c
DA
69992012-04-12 Drew Adams <drew.adams@oracle.com>
7000
7001 * imenu.el (imenu--generic-function): Ignore invisible definitions
7002 (bug#10123).
7003
0d15b5ba
VD
70042012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7005
7006 * hexl.el (hexl-bits): New variable.
7007 (hexl-options): Mention the variable in the doc string.
75f1671a 7008 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7009 (hexl-mode): Mention the new variable.
75f1671a
JB
7010 (hexl-mode, hexl-current-address, hexl-current-address):
7011 Use the displen.
0d15b5ba
VD
7012 (hexl-ascii-start-column): New function.
7013 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7014 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7015
64a440db
AM
70162012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7017
7018 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7019 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7020 the encoding, as expected by hunspell.
7021
6decb6c2
SM
70222012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * battery.el (battery--linux-sysfs-regexp): New const.
7025 (battery-status-function): Use it. Remove yeeloong special case.
7026 (battery-yeeloong-sysfs): Remove.
7027 (battery-echo-area-format): Remove yeeloong special case.
7028
088be6fb
SM
70292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7030
6622e416
SM
7031 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7032 Reported by Noah Friedman.
7033
088be6fb
SM
7034 * subr.el (read-passwd): Use read-string.
7035
b49f886e
LMI
70362012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7037
7038 * vcursor.el (vcursor-move): Increase the priority of the overlay
7039 (bug#9663).
7040
a63067fc
DD
70412012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7042
7043 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7044 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7045
ac3cf14a
WS
70462012-04-11 William Stevenson <yhvh2000@gmail.com>
7047
7048 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7049 define-minor-mode (bug#10760).
7050
c4fc691b 70512012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7052
4d6769e1 7053 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7054 that directories matching `grep-find-ignored-files' won't be
7055 pruned (bug#10351).
7056
af23e2e5
CY
70572012-04-11 Chong Yidong <cyd@gnu.org>
7058
7059 * startup.el (command-line): Remove support for long-obsolete
7060 variable font-lock-face-attributes.
7061
ab7ce8c1
GM
70622012-04-11 Glenn Morris <rgm@gnu.org>
7063
7064 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7065
de8c03dc
SM
70662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * window.el (window--state-get-1): Obey window-point-insertion-type.
7069
050cc68b
LB
70702012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7071
7072 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7073 to previous function when point is on the first character of a
75f1671a 7074 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7075
a38c310c
GM
70762012-04-11 Glenn Morris <rgm@gnu.org>
7077
effed0c2
GM
7078 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7079 not just file-errors.
7080
a38c310c
GM
7081 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7082 (vc-bzr-sha1): Use internal sha1.
7083
0221e323
SM
70842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7087
43956923
SG
70882012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7089
7090 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7091 that start in the middle of the line (bug#10496).
7092
6a8c9eaf
DN
70932012-04-10 Dan Nicolaescu <dann@gnu.org>
7094
7095 * battery.el (battery-linux-proc-acpi): Only one battery is
7096 discharged at a time, but that seems to confuse battery.el when
7097 computing `rate-type' for the battery not being discharged
7098 (bug#10332).
7099
1930bf5d
SM
71002012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7101
2a718f6f
SM
7102 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7103
599430d0
SM
7104 * international/quail.el: Use dolist and simplify.
7105 (quail-define-package, quail-update-keyboard-layout)
7106 (quail-define-rules): Use dolist.
7107 (quail-insert-kbd-layout, quail-get-translation): CSE.
7108
a2754b6c
SM
7109 * tmm.el: Use dolist, remove left over hook.
7110 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7111 Use dolist.
7112 (calendar-load-hook): Don't mess with it.
7113
1930bf5d
SM
7114 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7115 Use derived-mode-p. Run the diff asynchronously.
7116
9f67961c
LMI
71172012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7118
7119 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7120
2a8ce227
JB
71212012-04-10 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7124 (list-dynamic-libraries--loaded): New function.
7125 (list-dynamic-libraries--refresh): Use it.
7126
8f33b5f8
NW
71272012-04-10 Nathan Weizenbaum <nweiz@google.com>
7128
1930bf5d
SM
7129 * progmodes/python.el (python-fill-paragraph):
7130 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7131 disabled (bug#7018).
7132
b12f0439
L
71332012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7134
1930bf5d 7135 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7136 DOS/MS Windows for the Baltic languages. There are still plenty
7137 of texts written in this encoding/codepage (bug#6519).
b12f0439 7138
57c3bd01
GM
71392012-04-10 Glenn Morris <rgm@gnu.org>
7140
7141 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7142 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7143
6c3eab30
FA
71442012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7145
1930bf5d 7146 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7147 next-line "n" and previous-line "p" in order to make recentf more
7148 consistent with ibuffer, dired or org-mode (bug#9387).
7149
24d78a88
LMI
71502012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7151
bc72b5d9
LMI
7152 * image.el (put-image): Return the overlay created instead of the
7153 optional input string (bug#7834). Note that this may break code
7154 that is (for some reason or other) depending on `put-image'
7155 returning the string.
7156
bd2dba5a
LMI
7157 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7158
74beb59f
LMI
7159 * simple.el (zap-to-char): Allow zapping using input methods
7160 (bug#1580).
7161
24d78a88
LMI
7162 * textmodes/fill.el (fill-region): Leave point and mark where they
7163 were before filling (bug#5399).
7164
263f20cd
GM
71652012-04-09 Glenn Morris <rgm@gnu.org>
7166
7167 * version.el (emacs-bzr-get-version):
7168 Handle lightweight checkouts of local branches.
7169
58d1f797
AS
71702012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7171
263f20cd 7172 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7173
b4d3bc10
CY
71742012-04-09 Chong Yidong <cyd@gnu.org>
7175
7176 * custom.el (custom-variable-p): Return nil for non-symbol
7177 arguments instead of signaling an error.
7178 (user-variable-p): Obsolete alias for custom-variable-p.
7179
7180 * apropos.el (apropos-variable):
7181 * files-x.el (read-file-local-variable):
7182 * simple.el (set-variable):
7183 * woman.el (woman-mini-help):
7184 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7185
fd06db5d
GM
71862012-04-09 Glenn Morris <rgm@gnu.org>
7187
e5fcdb5e
GM
7188 * startup.el (normal-top-level): Don't look for leim-list.el
7189 in places where it will not be found. (Bug#910)
7190
fd06db5d
GM
7191 * international/mule-cmds.el (set-default-coding-systems):
7192 * files.el (normal-mode):
7193 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7194 This function was removed with ucs-tables.el in 2008.
7195
b39bb7e1
EZ
71962012-04-08 Eli Zaretskii <eliz@gnu.org>
7197
7198 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7199 ispell-encoding8-command to "-i", without a trailing space.
7200 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7201 separate command-line arguments, to specify the encoding, since
7202 that's how hunspell expects it.
7203
5c5b8e23
GM
72042012-04-08 Glenn Morris <rgm@gnu.org>
7205
7206 * loadup.el: Load bindings before cus-start.
7207 This reduces somewhat the number of "rogue" settings in emacs -Q.
7208
a1ed8b05
GM
72092012-04-07 Glenn Morris <rgm@gnu.org>
7210
7211 * version.el (emacs-bzr-get-version): New function.
dfae128a 7212 (emacs-bzr-version): New variable.
a1ed8b05
GM
7213 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7214 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7215
b142f158
EZ
72162012-04-07 Eli Zaretskii <eliz@gnu.org>
7217
dfae128a
GM
7218 * international/uni-bidi.el, international/uni-category.el:
7219 * international/uni-combining.el, international/uni-decimal.el:
7220 * international/uni-decomposition.el, international/uni-digit.el:
7221 * international/uni-lowercase.el, international/uni-mirrored.el:
7222 * international/uni-name.el, international/uni-numeric.el:
7223 * international/uni-titlecase.el, international/uni-uppercase.el:
7224 Update for Unicode 6.1.
b142f158 7225
9078ead6
EZ
72262012-04-07 Eli Zaretskii <eliz@gnu.org>
7227
7228 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7229
f23d2c7d
LMI
72302012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7231
7232 * window.el (shrink-window): Mention the `window-min-height'
7233 variable in the doc string.
7234
0a0a3573
BG
72352012-04-05 Bastien Guerry <bzg@altern.org>
7236
7237 * color.el (color-lighten-name): Fix typo.
7238
e5248ac9
SM
72392012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * server.el (server--on-display-p): New function.
7242 (server--on-display-p): Use it.
7243
b4243e22
GV
72442012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7245
7246 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7247 (bug#11145).
7248
305d9f44
SM
72492012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * comint.el (comint--common-quoted-suffix): Check string boundary
7252 before comparing (bug#11158).
7253 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7254
3d439cd1
CY
72552012-04-04 Chong Yidong <cyd@gnu.org>
7256
321cc491
CY
7257 * minibuffer.el (completion-extra-properties): Doc fix.
7258
3d439cd1
CY
7259 * subr.el (delayed-warnings-hook): Doc fix.
7260
2d562c0f
DU
72612012-04-04 Daiki Ueno <ueno@unixuser.org>
7262
7263 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7264 selection (Bug#11159).
7265 (epa-insert-keys): Inform that the default public key will be
7266 exported if no key is selected.
7267
4443f204
RS
72682012-04-04 Richard Stallman <rms@gnu.org>
7269
7270 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7271
529c06b6
CY
72722012-04-03 Chong Yidong <cyd@gnu.org>
7273
7274 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7275 mail-insert-file, not its obsolete alias mail-attach-file.
7276
66b907dc
MA
72772012-04-03 Michael Albinus <michael.albinus@gmx.de>
7278
7279 * notifications.el (notifications-notify): Fix docstring.
7280
c0ea195d
GM
72812012-04-02 Glenn Morris <rgm@gnu.org>
7282
7283 * emacs-lisp/authors.el (authors-aliases): Another addition.
7284
5ca64e00
MA
72852012-04-02 Michael Albinus <michael.albinus@gmx.de>
7286
7287 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7288 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7289 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7290
42ee526b
CY
72912012-04-01 Chong Yidong <cyd@gnu.org>
7292
7293 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7294 Handle root directory properly.
7295 (copy-directory): Caller changed.
7296
7297 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7298 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7299
0b021094
GM
73002012-03-31 Glenn Morris <rgm@gnu.org>
7301
40f86458
GM
7302 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7303
7019c177
GM
7304 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7305
a1daddd6
GM
7306 * calendar/calendar.el (calendar-window-list)
7307 (calendar-hide-window): Restore. (Bug#11140)
7308 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7309
0b021094
GM
7310 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7311
40311efc
TV
73122012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7313
7314 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7315 Check if file is a symlink (Bug#10489).
7316
7317 * files.el (copy-directory): Likewise.
7318
5319014e
CY
73192012-03-30 Chong Yidong <cyd@gnu.org>
7320
7321 * image.el (imagemagick-types-inhibit)
7322 (imagemagick-register-types): Doc fix.
7323
935d1290
AM
73242012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7325
090bd7cb 7326 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7327 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7328 and treats ~word as ordinary words in pipe mode.
935d1290 7329
61c6e8fd
GM
73302012-03-30 Glenn Morris <rgm@gnu.org>
7331
7332 * tutorial.el (help-with-tutorial): Ensure local variables don't
7333 happen to make the buffer read-only. (Bug#11127)
7334
81fdff00
SM
73352012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7336
7337 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7338 (perl-calculate-indent): Return `noindent' in strings.
7339
6e7a6ec0
SS
73402012-03-28 Sam Steingold <sds@gnu.org>
7341
7342 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7343 instead of the broken adhockery which does not prevent calendar
7344 buffers from being displayed at random after exit.
7345 (calendar-window-list, calendar-hide-window): Remove the broken
7346 adhockery.
7347
fee88ca0
GM
73482012-03-28 Glenn Morris <rgm@gnu.org>
7349
7350 * replace.el (query-replace-map): Doc fix.
7351
38de3354
AS
73522012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7353
7354 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7355 contents. (Bug#11109)
7356
b973155e
SM
73572012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7358
7359 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7360 (bug#11077).
7361 (avl-tree--check, avl-tree--check-node): New funs.
7362
dcb6e7b3
MR
73632012-03-27 Martin Rudalics <rudalics@gmx.at>
7364
7365 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7366 (switch-to-prev-buffer, switch-to-next-buffer):
7367 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7368 showing a buffer already is done on the same frame.
7369
b4fa35fa
GM
73702012-03-27 Glenn Morris <rgm@gnu.org>
7371
7372 * startup.el (mail-host-address): Doc fix.
7373
f9210e18
SM
73742012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7377 than 197 variables.
7378
c0bf7753
AF
73792012-03-26 Ami Fischman <ami@fischman.org>
7380
7381 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7382
33da7b16
GM
73832012-03-26 Glenn Morris <rgm@gnu.org>
7384
02243d9d
GM
7385 * files.el (save-buffers-kill-emacs): Doc fix.
7386
33da7b16
GM
7387 * startup.el (normal-top-level, command-line, command-line-1):
7388 Give them doc strings.
7389
e5a69fd0
EZ
73902012-03-25 Eli Zaretskii <eliz@gnu.org>
7391
7392 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7393 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7394
9a69676a
CY
73952012-03-25 Chong Yidong <cyd@gnu.org>
7396
4125cb8b
CY
7397 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7398 theme if it was previously enabled before (Bug#11031).
7399
dd470960
CY
7400 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7401 spec with custom-face-get-current-spec if its :shown-value is not
7402 determined yet (Bug#9337).
4125cb8b 7403 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7404
9a69676a
CY
7405 * button.el (button-at): Minor addition to docstring.
7406
6e7e90fa
SL
74072012-03-24 Simon Leinen <simon.leinen@gmail.com>
7408
7409 * vc/vc.el (vc-merge): Fix a prompt.
7410
f06e2758
CY
74112012-03-24 Chong Yidong <cyd@gnu.org>
7412
7413 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7414 point (Bug#9623).
7415
6e7e90fa
SL
7416 * button.el (button-at): Minor addition to docstring.
7417
b9d0879b
SM
74182012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * newcomment.el (comment-choose-indent): No space after BOL.
7421
e71cebb3
SS
74222012-03-22 Sam Steingold <sds@gnu.org>
7423
7424 * window.el (switch-to-prev-buffer): Revert last patch because the
7425 bug turned out to be an advertised feature (Elisp manual 28.14).
7426
335aff35
GM
74272012-03-22 Glenn Morris <rgm@gnu.org>
7428
7429 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7430 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7431
c676576a
LMI
74322012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433
7434 * net/network-stream.el (network-stream-open-starttls): Make error
7435 message under Windows be less misleading.
7436
126f3d39
LW
74372012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7438
7439 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7440 understands (bug#9942).
7441
64fee311
CY
74422012-03-22 Chong Yidong <cyd@gnu.org>
7443
7444 * simple.el (end-of-visible-line): Handle return value of
7445 next-single-property-change properly (Bug#9371).
7446
a640d29a
KH
74472012-03-22 Kenichi Handa <handa@m17n.org>
7448
7449 * international/quail.el (quail-insert-kbd-layout): Fix previous
7450 change. To avoid unwanted bidi reordering, use
7451 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7452
39675016
DG
74532012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7454
7455 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7456 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7457 (ruby-beginning-of-indent): Be more careful with the difference
7458 between word-boundary and symbol boundary.
7459 (ruby-mode-syntax-table): Make : a symbol constituent.
7460
0a6934fc 74612012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7462
3d008e4f
SM
7463 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7464
0a6934fc
SM
74652012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7466
af67c9d7
SM
7467 * progmodes/etags.el (tags-completion-at-point-function):
7468 Improve last fix.
7469
1acad97c
SM
7470 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7471
e298b5da
SS
74722012-03-21 Sam Steingold <sds@gnu.org>
7473
7474 * progmodes/etags.el (tags-completion-at-point-function):
7475 Avoid the error when point is inside the pattern.
7476
91d82a70
JY
74772012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7478
7479 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7480 line (Bug#10855).
7481
69188b79
CY
74822012-03-21 Drew Adams <drew.adams@oracle.com>
7483
7484 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7485
99fc91fe
AK
74862012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7487
7488 * ido.el (ido-set-current-directory, ido-read-internal)
7489 (ido-choose-completion-string, ido-completion-help): Handle nil
7490 value of ido-completion-buffer (Bug#11008).
7491
087bbb4c
SS
74922012-03-21 Sam Steingold <sds@gnu.org>
7493
7494 * window.el (switch-to-prev-buffer): Do not switch to a visible
7495 window previous buffer, just like with the frame previous buffers.
7496
fb5b8aca
CY
74972012-03-21 Chong Yidong <cyd@gnu.org>
7498
7499 * faces.el (make-face, make-empty-face, copy-face):
7500 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7501 Doc fixes.
7502
dc9924b8
SM
75032012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7506 (widget-complete): Remove broken use of it.
7507
f0bcceb9
CY
75082012-03-20 Chong Yidong <cyd@gnu.org>
7509
dc9924b8
SM
7510 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7511 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7512 characters.
7513
ee52ebf3
TH
75142012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7515
7516 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7517 to draw rectangles, not squares. (Regression introduced by revno
7518 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7519
4c5779ab
CY
75202012-03-18 Chong Yidong <cyd@gnu.org>
7521
7522 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7523 it is not yet defined (for temacs).
7524
15360934
LL
75252012-03-18 Leo Liu <sdl.web@gmail.com>
7526
dc9924b8 7527 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7528
d9a8eb66
EZ
75292012-03-17 Eli Zaretskii <eliz@gnu.org>
7530
7531 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7532 (ispell-choices-win-default-height, ispell-silently-savep)
7533 (ispell-dictionary-alist, ispell-encoding8-command)
7534 (ispell-check-version, ispell-aspell-find-dictionary)
7535 (ispell-valid-dictionary-list, ispell-words-keyword)
7536 (ispell-get-word, ispell-internal-change-dictionary)
7537 (ispell-region, ispell-skip-region-list)
7538 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7539 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7540 (ispell-message-text-end, ispell-message)
7541 (ispell-buffer-local-parsing): Doc fix.
7542
f02ff80d
J
75432012-03-13 Jambunathan K <kjambunathan@gmail.com>
7544
7545 * htmlfontify.el: Add support for code block fontification for ODT
7546 export (Bug #9914).
7547 (hfy-optimisations): Define new option
7548 `body-text-only'
7549 (hfy-fontify-buffer): Honor above setting.
7550 (hfy-begin-span, hfy-end-span): New routines factored out form
7551 `hfy-fontify-buffer'.
7552 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7553 that permit insertion of custom tags.
7554 (hfy-fontify-buffer): Use above handlers.
7555 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7556 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7557 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7558 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7559 bind a special variable `hfy-user-sheet-assoc'.
7560 (htmlfontify-string): New defun.
7561 (hfy-compile-face-map): Make sure that the last char in the
7562 buffer is correctly fontified.
7563 (hfy-face-resolve-face): Whitespace only change.
7564
9ac7a13f
EZ
75652012-03-17 Eli Zaretskii <eliz@gnu.org>
7566
7567 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7568 message more clear.
7569
e2b5bdd7
LL
75702012-03-16 Leo Liu <sdl.web@gmail.com>
7571
7572 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7573
2e492df3
AM
75742012-03-16 Alan Mackenzie <acm@muc.de>
7575
7576 Further optimise the handling of large macros.
7577
7578 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7579 limit to a call of `c-literal-limits'.
7580 (c-determine-+ve-limit): New function.
dc9924b8
SM
7581 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7582 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
7583 In CASE 5B, restrict a search limit to 500.
7584 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7585
7586 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7587 Restrict macro bounds to +-500 from after-change's BEG END.
7588
50e94f0c
LL
75892012-03-16 Leo Liu <sdl.web@gmail.com>
7590
7591 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7592
6f09f6ed
AH
75932012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7594
7595 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 7596 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 7597
c7e73d51
GM
75982012-03-16 Glenn Morris <rgm@gnu.org>
7599
da986230
GM
7600 * view.el (view-buffer, view-buffer-other-window)
7601 (view-buffer-other-frame): Doc fixes re special mode-class.
7602
0835f01e
GM
7603 * subr.el (eval-after-load): If named feature is provided not from
7604 a file, run after-load forms. (Bug#10946)
7605
c7e73d51
GM
7606 * calendar/calendar.el (calendar-insert-at-column):
7607 Handle non-unit-width characters a bit better. (Bug#10978)
7608
3f2eafd1
CY
76092012-03-15 Chong Yidong <cyd@gnu.org>
7610
7611 * emacs-lisp/ring.el (ring-extend): New function.
7612 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7613
7614 * comint.el (comint-read-input-ring)
7615 (comint-add-to-input-history): Grow comint-input-ring lazily.
7616
103af3fe
SM
76172012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7618
663b1677
SM
7619 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7620 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7621
103af3fe
SM
7622 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7623 (imenu-add-to-menubar): Don't add a redundant index.
7624 (imenu-update-menubar): Handle a dynamically composed keymap.
7625
899cb7cb
KY
76262012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7627
7628 * mail/sendmail.el (mail-encode-header):
7629 Bind rfc2047-encode-encoded-words to nil.
7630
3809f91d
GM
76312012-03-13 Glenn Morris <rgm@gnu.org>
7632
7633 * calendar/calendar.el (calendar-string-spread):
7634 Handle non-unit-width characters a bit better. (Bug#10978)
7635
9e345a01
LL
76362012-03-13 Leo Liu <sdl.web@gmail.com>
7637
7638 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7639 directory and file as argument (Bug#10822).
7640
4a07df36
KS
76412012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7642
7643 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7644 For dynamically generated code, follow $PC.
7645 (gdb-disassembly-handler-custom): Handle no function name case.
7646
4aaa9356
TL
76472012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7648
7649 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7650 * emulation/ws-mode.el (ws-query-replace):
7651 * sort.el (sort-regexp-fields):
7652 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7653
225979da
SM
76542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7655
7656 * dabbrev.el: Fix cycle completion order (bug#10963).
7657 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7658 (dabbrev-completion): Don't use an obarray; provide
7659 a cycle-sort-function.
7660
e2f1fdab
LL
76612012-03-12 Leo Liu <sdl.web@gmail.com>
7662
dc9924b8 7663 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
7664 (kill-do-not-save-duplicates): Doc fix.
7665
b19490ed
SM
76662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * dabbrev.el: Fix cycle completion (bug#10963).
7669 Use lexical binding and wrap to 80 columns.
7670 (dabbrev-completion): Delay computing the list of completions.
7671
4b05d722
KH
76722012-03-12 Kenichi Handa <handa@m17n.org>
7673
7674 * international/quail.el (quail-insert-kbd-layout): Surround each
7675 row by LRO and PDF instead of inserting many LRMs. Pad the left
7676 and right of each non-spacing marks. Insert invisible space
7677 between lower and upper characters to prevent composition.
7678
dbbc2e69
SM
76792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * minibuffer.el (minibuffer-complete): Don't get confused when the
7682 function is run twice via different commands (bug#10958).
7683 (complete-with-action): Fix docstring.
7684
292112ed
CY
76852012-03-12 Chong Yidong <cyd@gnu.org>
7686
5d1ac394
CY
7687 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7688 (nxml-completion-at-point-function): New function.
7689 (nxml-mode): Use it.
7690 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7691
292112ed
CY
7692 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7693 Load generated autoloads file before byte compiling (Bug#10970).
7694 (package--make-autoloads-and-compile): New helper fun.
7695
4098f8f7
CS
76962012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7697
7698 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7699
8f754691
MA
77002012-03-11 Michael Albinus <michael.albinus@gmx.de>
7701
7702 * autorevert.el (auto-revert-handler): Ensure, that
7703 file-readable-p is applied only for local files or in
7704 auto-revert-tail-mode.
7705
e29ab36b
AS
77062012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7707
dbbc2e69
SM
7708 * server.el (server-eval-at): Handle non-tcp connections.
7709 Decode result string.
ad0bf5b6 7710
e29ab36b
AS
7711 * server.el (server-msg-size): New constant.
7712 (server-reply-print): New function.
7713 (server-eval-and-print): Use it.
7714 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7715 Handle -print-nonl.
7716
de5939ba
CS
77172012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7718
7719 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7720 (Bug#10987).
7721
0c93eabf
CY
77222012-03-11 Chong Yidong <cyd@gnu.org>
7723
397a688f
CY
7724 * simple.el (goto-line): Doc fix (Bug#9938).
7725
2cc775f9
CY
7726 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7727
0c93eabf
CY
7728 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7729 when finished (Bug#10963).
7730
c491fa41
MR
77312012-03-11 Martin Rudalics <rudalics@gmx.at>
7732
7733 * window.el (split-window-below): Fix bug in case where
7734 split-window-keep-point is nil (Bug#10971).
7735
300e8fa5
JL
77362012-03-11 Juri Linkov <juri@jurta.org>
7737
7738 * replace.el (replace-highlight): Set isearch-word to nil
7739 unconditionally. (Bug#10887)
7740
dbf6c5a1
EZ
77412012-03-10 Eli Zaretskii <eliz@gnu.org>
7742
7743 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7744 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 7745 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
7746 (mairix-widget-create-query): Add usage information about mairix
7747 search forms: negating words, searching for substrings, etc.
7748
b9e501de
JP
77492012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7750
7751 * international/fontset.el (font-encoding-alist): Add an entry for
7752 ksx1001 (Bug#5667).
7753
92795c91
RS
77542012-03-10 Richard Stallman <rms@gnu.org>
7755
1694e6c1
RS
7756 * mail/sendmail.el (mail-encode-header):
7757 Set rfc2047-encode-encoded-words.
7758
607e8555
RS
7759 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7760
de3bc99a
RS
7761 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7762 view buffer means not swapped.
7763 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7764 (rmail-write-region-annotate): Error if real text has disappeared.
7765
92795c91
RS
7766 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7767
699bd04e
CY
77682012-03-10 Chong Yidong <cyd@gnu.org>
7769
7770 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
7771 * emulation/cua-base.el (cua--init-keymaps):
7772 Add delete-forward-char to remappings (Bug#9666).
699bd04e 7773
570a1714
MR
77742012-03-10 Martin Rudalics <rudalics@gmx.at>
7775
dbbc2e69
SM
7776 * speedbar.el (speedbar-unhighlight-one-tag-line):
7777 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 7778
82dcf4e4
CY
77792012-03-10 Chong Yidong <cyd@gnu.org>
7780
7a2c7ca7
CY
7781 * minibuffer.el (completion-in-region, completion-help-at-point):
7782 Give the completion field overlay a high priority (Bug#6830).
7783
82dcf4e4
CY
7784 * dired.el (dired-goto-file): Recognize absolute file name
7785 listings (Bug#7126).
7786 (dired-goto-file-1): New helper function.
7787 (dired-toggle-read-only): Inhibit warnings.
7788
052e28ac
MA
77892012-03-09 Michael Albinus <michael.albinus@gmx.de>
7790
75f1671a 7791 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
7792 there are no properties.
7793
95d5e396
LL
77942012-03-09 Leo Liu <sdl.web@gmail.com>
7795
7796 * savehist.el (savehist-printable): Stricter check for string
7797 value (Bug#10937).
7798
3f018d6d
EZ
77992012-03-09 Eli Zaretskii <eliz@gnu.org>
7800
dbbc2e69
SM
7801 * mail/smtpmail.el (smtpmail-send-it):
7802 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
7803 valid mbox format.
7804
f7fd3d79
GM
78052012-03-09 Glenn Morris <rgm@gnu.org>
7806
7807 * files.el (dir-locals-find-file):
7808 Don't check result is regular, readable.
7809 (dir-locals-read-from-file): Demote errors.
7810
6ff6e72f
EZ
78112012-03-08 Eli Zaretskii <eliz@gnu.org>
7812
dbbc2e69
SM
7813 * international/quail.el (quail-insert-kbd-layout):
7814 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
7815 layout cell, to prevent their reordering by bidi display engine.
7816 For details, see the discussion in
7817 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7818
9cec7834
AM
78192012-03-08 Alan Mackenzie <acm@muc.de>
7820
7821 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7822 the starting position; make it extend the marked region when
7823 invoked repeatedly - all under appropriate circumstances.
7824 Fixes bugs #5525, #10906.
7825
9a40b8d4
GM
78262012-03-08 Glenn Morris <rgm@gnu.org>
7827
7828 * files.el (locate-dominating-file, dir-locals-find-file):
7829 Undo 2012-03-06 change.
7830
7a08ed35
EZ
78312012-03-07 Eli Zaretskii <eliz@gnu.org>
7832
dbbc2e69
SM
7833 * international/quail.el (quail-help):
7834 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
7835 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7836 for the reason.
7837
5aca4f71 78382012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
7839
7840 Avoid superfluous registering of signals. (Bug#10807)
7841
7842 * notifications.el (notifications-on-action-object)
7843 (notifications-on-close-object): New defvars.
7844 (notifications-on-action-signal, notifications-on-closed-signal):
7845 Unregister the signal if not needed any longer.
7846 (notifications-notify): Register `notifications-action-signal' or
7847 `notifications-closed-signal', if :on-action or :on-close has been
7848 passed as argument.
7849
78e8b10a
CY
78502012-03-07 Chong Yidong <cyd@gnu.org>
7851
7852 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7853 non-X platforms.
7854
69481eb8
GM
78552012-03-06 Glenn Morris <rgm@gnu.org>
7856
7857 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7858 (x-disown-selection-internal, x-get-selection-internal):
7859 Doc fix (add arglist signatures). (Bug#10783)
7860
133b8e11
KS
78612012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7862
7863 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7864 Handle breakpoints with no "type".
7865
99a83064
GM
78662012-03-06 Glenn Morris <rgm@gnu.org>
7867
7868 * files.el (locate-dominating-file): Add optional predicate argument.
7869 (dir-locals-find-file): Make use of above change.
7870
17798e78
TTN
78712012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7872
7873 * info.el (Info-insert-dir): Also try "dir.gz".
7874
eb182446
GM
78752012-03-06 Glenn Morris <rgm@gnu.org>
7876
8f2114ee
GM
7877 * files.el (dir-locals-find-file):
7878 Ignore non-readable or non-regular files. (Bug#10928)
7879
eb182446
GM
7880 * files.el (locate-dominating-file): Doc fix.
7881
24679323
AS
78822012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7883
7884 * calendar/calendar.el (calendar-set-mode-line):
7885 `getenv' returns a string. (Bug#10951)
7886
01d972a9
LL
78872012-03-05 Leo Liu <sdl.web@gmail.com>
7888
109aa8a9
LL
7889 * simple.el (backward-delete-char-untabify): Constrain point to
7890 field (Bug#10939).
7891
01d972a9
LL
7892 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7893
10607bea
CY
78942012-03-05 Chong Yidong <cyd@gnu.org>
7895
7896 * simple.el (count-words): If called from Lisp, return the word
7897 count, for symmetry with `count-lines'. Arglist changed.
7898 (count-words--message): Args changed. Consolidate counting code
7899 from count-words and count-words-region.
7900 (count-words-region): Caller changed.
7901 (count-lines-region): Make it an obsolete alias.
7902
5dd11cfe
TH
79032012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7904
7905 * saveplace.el (save-place-to-alist)
7906 (save-place-ignore-files-regexp): Allow value nil to disable this
7907 feature.
7908
c349f4e6
CY
79092012-03-04 Chong Yidong <cyd@gnu.org>
7910
7911 * faces.el (face-spec-reset-face): For the default face, reset the
7912 attributes to default values (Bug#10748).
7913
e627be4c
LMI
79142012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7915
7916 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7917 previous patch: Check `message-send-mail-function', and not the
7918 default function (bug#10897).
7919
ebeabff4
MA
79202012-03-04 Michael Albinus <michael.albinus@gmx.de>
7921
a41a6cf4
MA
7922 * notifications.el (notifications-on-action-signal)
7923 (notifications-on-closed-signal): Check for unique service name of
7924 incoming event. Fix error in removing entry.
ebeabff4 7925 (top): Register for signals with wildcard service name.
a41a6cf4 7926 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 7927
c1ca42b4
CY
79282012-03-04 Chong Yidong <cyd@gnu.org>
7929
dc9924b8 7930 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 7931
ea16568d
GM
79322012-03-04 Glenn Morris <rgm@gnu.org>
7933
7934 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7935 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7936 (expand-abbrev, define-abbrev-table): Doc fixes.
7937
fbae4637
LMI
79382012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7939
7940 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7941 `message-default-send-mail-function' and not `send-mail-function'
7942 when doing the prompting for `sendmail-query-once' before sending
7943 in Message buffers (bug#10897).
7944
a1e7225c
LMI
7945 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7946 This is inconsistent with all the other stream functions, which leave
7947 the setting up to the higher levels (if so wanted) (bug#10931).
7948
56d093a9
AM
79492012-03-02 Alan Mackenzie <acm@muc.de>
7950
7951 Depessimize the handling of very large macros.
7952
7953 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7954 (c-macro-cache-syntactic): New variables to implement a one
7955 element macro cache.
7956 (c-invalidate-macro-cache): New function.
7957 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7958 Adapt to use the new cache.
7959 (c-state-safe-place): Use better the cache of safe positions.
7960 (c-state-semi-nonlit-pos-cache)
7961 (c-state-semi-nonlit-pos-cache-limit):
7962 New variables for...
7963 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7964 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
7965 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7966 Use c-state-semi-safe-place.
56d093a9 7967
dbbc2e69
SM
7968 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7969 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 7970
817e5c3d
MA
79712012-03-02 Michael Albinus <michael.albinus@gmx.de>
7972
dbbc2e69
SM
7973 * jka-compr.el (jka-compr-call-process):
7974 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
7975 not remote.
7976
a032a702
MA
79772012-03-01 Michael Albinus <michael.albinus@gmx.de>
7978
7979 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7980 access of FILE2, if FILE1 does not exist.
7981
99a54f21
MA
7982 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7983 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7984
7985 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7986 Add "PAGER=" to `process-environment'.
7987
f6561e1f
MM
79882012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7989
7990 * progmodes/sql.el: Bug fix
7991 (sql-get-login-ext): Save login values in globals.
7992 (sql-get-login): Use new version of `sql-get-login-ext'.
7993 (sql-interactive-mode): Set global `sql-connection' to nil.
7994 (sql-connect): Set global values for connection.
7995 (sql-product-interactive): Save global values as buffer local.
7996
2d44d9cc
LL
79972012-02-29 Leo Liu <sdl.web@gmail.com>
7998
7999 * abbrev.el (define-abbrevs): Reset sys to nil.
8000
96b49301 80012012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8002
bf7f9bc5
JB
8003 * files.el (file-equal-p): Rename from `files-equal-p'.
8004 Return nil when one or both files don't exist.
96b49301 8005 (file-subdir-of-p): Now only top directory must exists,
8006 return nil if it doesn't.
bf7f9bc5
JB
8007 (copy-directory): No need to test with `file-subdir-of-p' after
8008 creating dir.
8009 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8010 to `file-equal-p'.
96b49301 8011
44e97401
GM
80122012-02-28 Glenn Morris <rgm@gnu.org>
8013
8014 * shell.el (shell-mode):
8015 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8016 * play/landmark.el (landmark-font-lock-face-O):
8017 * play/handwrite.el (handwrite):
8018 * play/gomoku.el (gomoku-O):
8019 * net/browse-url.el (browse-url-browser-display):
8020 * international/mule.el (define-charset):
8021 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8022 * filesets.el (filesets-find-file-delay):
8023 * eshell/em-xtra.el (eshell-xtra):
8024 * eshell/em-unix.el (eshell-grep):
8025 * emulation/viper.el (viper-mode):
8026 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8027 * emacs-lisp/easymenu.el (easy-menu-define):
8028 * calendar/timeclock.el (timeclock-use-display-time):
8029 * bs.el (bs-mode):
8030 * bookmark.el (bookmark-save-flag):
8031 Doc fix (standardize possessive apostrophe usage).
8032
c98c6276
CY
80332012-02-27 Chong Yidong <cyd@gnu.org>
8034
bf7f9bc5
JB
8035 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8036 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8037
c98c6276
CY
8038 * font-lock.el (font-lock-specified-p): Rename from
8039 font-lock-spec-present. Callers changed.
8040
9c62cd04 80412012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8042
bf7f9bc5
JB
8043 * emacs-lisp/package.el (package-compute-transaction):
8044 Handle holding a package version to t in package-load-list.
8ac9e529 8045
530739c9
MA
80462012-02-26 Michael Albinus <michael.albinus@gmx.de>
8047
8048 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8049 (tramp-get-inode, tramp-get-device): Use cached values.
8050
487915d7
AM
80512012-02-26 Alan Mackenzie <acm@muc.de>
8052
8053 Check there is a font-lock specification before doing initial
8054 fontification.
8055
8056 * font-core.el (font-lock-mode): Move the conditional from
8057 :after-hook to font-lock-initial-fontify.
8058 (font-lock-default-function): Move the check for a specification
8059 to font-lock-spec-present.
8060
dc9924b8 8061 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8062 (font-lock-spec-present): New function.
8063
4fd96557
JB
80642012-02-26 Jim Blandy <jimb@red-bean.com>
8065
8066 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8067 (gdb-send): Apply it to the operand of the '-interpreter-exec
8068 console' command, so that we can pass arguments with (say) quotes
8069 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8070
9a4888c0
CY
80712012-02-26 Chong Yidong <cyd@gnu.org>
8072
07498861
CY
8073 * help-fns.el (describe-function-1): Clarify description of
8074 remapping (Bug#10844).
8075
9a4888c0
CY
8076 * files.el (files-equal-p): Doc fix.
8077 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8078 and quit the loop once a mismatch is found.
8079
ea8fb88d
JB
80802012-02-25 Juanma Barranquero <lekktu@gmail.com>
8081
8082 * bs.el (bs--show-with-configuration): Don't throw an error
8083 if the window cannot be split; otherwise, subsequent calls to
8084 bs-show fail, restoring a stale window config. (Bug#10882)
8085
525795c1
JD
80862012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8087
8088 * term/ns-win.el (global-map): Bind ns-drag-file to
8089 ns-find-file (Bug#5855, Bug#10050).
8090
f008086f
AS
80912012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8092
8093 * calendar/parse-time.el (parse-time-string): Allow extractor to
8094 return nil.
8095
a3fcfa99
MA
80962012-02-25 Michael Albinus <michael.albinus@gmx.de>
8097
91027d08
JB
8098 * net/tramp.el (tramp-file-name-for-operation):
8099 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8100
8101 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8102 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8103 Add COPY-CONTENTS argument.
a3fcfa99 8104
67b0de11
CY
81052012-02-25 Chong Yidong <cyd@gnu.org>
8106
8107 Add custom groups for VC backends, for consistency with vc-bzr.
8108
8109 * vc/vc-arch.el (vc-arch):
8110 * vc/vc-cvs.el (vc-cvs):
8111 * vc/vc-git.el (vc-git):
8112 * vc/vc-hg.el (vc-hg):
8113 * vc/vc-mtn.el (vc-mtn):
8114 * vc/vc-rcs.el (vc-rcs):
8115 * vc/vc-sccs.el (vc-sccs):
8116 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8117 All relevant defcustoms reassigned.
8118
3c9dfce6
CY
81192012-02-25 Chong Yidong <cyd@gnu.org>
8120
1339bf43
CY
8121 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8122
3c9dfce6
CY
8123 * term/x-win.el (x-initialize-window-system): Reduce default for
8124 x-selection-timeout to 5 seconds (Bug#8869).
8125
25b2e303 81262012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8127
ec70a47d
GM
8128 * files.el (files-equal-p, file-subdir-of-p): New functions.
8129 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8130 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8131 * dired-aux.el (dired-copy-file-recursive): Same.
8132 (dired-create-files): Modify destination when source is equal to
8133 dest when copying files.
53a46cd0 8134 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8135
914260cd
MA
81362012-02-24 Michael Albinus <michael.albinus@gmx.de>
8137
8138 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8139 (Bug#10874)
8140
2cb228f7
AM
81412012-02-23 Alan Mackenzie <acm@muc.de>
8142
8143 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8144 parameter "after-hook:" to allow the expansion to run code after
8145 the execution of the mode hooks.
8146
8147 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8148 from font-lock-mode-internal.
2cb228f7 8149
91027d08 8150 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8151 :after-hook.
8152
8f0fde21
SM
81532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8154
3e88618b
SM
8155 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8156 (completion--cache-all-sorted-completions): New function.
8157 (completion-all-sorted-completions): Use it.
8158 (completion--do-completion, minibuffer-force-complete):
8159 Use it to re-instate the flush hook.
8160
8f0fde21
SM
8161 * icomplete.el (icomplete-completions): Replace last fix with a better
8162 one (bug#10850).
8163
8e911f6f
DG
81642012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8165
8166 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8167 when it might call us back infinitely (bug#10797).
8168
49fe4321
GM
81692012-02-23 Glenn Morris <rgm@gnu.org>
8170
8171 * minibuffer.el (completion-category-overrides): Doc fix.
8172
b291b572
SM
81732012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8176 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8177
31a9ef2e
GM
81782012-02-23 Glenn Morris <rgm@gnu.org>
8179
5e6e6794 8180 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8181 (authors-obsolete-files-regexps, authors-ignored-files)
8182 (authors-ambiguous-files, authors-renamed-files-alist):
8183 Add more entries.
8184
0bd1e074
JL
81852012-02-23 Juri Linkov <juri@jurta.org>
8186
8187 * isearch.el (isearch-occur): Sync interactive spec with occur's
8188 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8189
b617673c
JL
8190 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8191
19e9789e
JL
81922012-02-22 Juri Linkov <juri@jurta.org>
8193
8194 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8195 (ucs-insert): Doc fix. Check for hex digits in the string.
8196 Don't display `nil' in the error message. (Bug#10857)
8197
f41ce09d
AM
81982012-02-22 Alan Mackenzie <acm@muc.de>
8199
7a71b18d 8200 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8201
ac2eceee
GM
82022012-02-22 Glenn Morris <rgm@gnu.org>
8203
8204 * ffap.el (ffap-c-path):
8205 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8206
abd1f678
CY
82072012-02-22 Chong Yidong <cyd@gnu.org>
8208
8209 * custom.el (load-theme): Doc fix.
8210
f25aef2e
GM
82112012-02-22 Glenn Morris <rgm@gnu.org>
8212
8213 * dired-x.el (dired-guess-shell-alist-default):
8214 Remove escape sequences from nroff output. (Bug#172)
8215
5f8dc2ca
GM
82162012-02-21 Glenn Morris <rgm@gnu.org>
8217
6ff86ec4
GM
8218 * vc/emerge.el (emerge-defvar-local):
8219 Set `permanent-local' property rather than unused `preserved'.
8220
be3223a3 8221 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8222 (picture-mode-map): Use it. (Bug#10860)
8223 (picture-mode): Doc fix.
8224
3fe58f4f
JB
82252012-02-21 Juanma Barranquero <lekktu@gmail.com>
8226
8227 * newcomment.el (uncomment-region-default): Remove unused binding.
8228
f9a998c3
GM
82292012-02-21 Glenn Morris <rgm@gnu.org>
8230
8231 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8232 (picture-self-insert, picture-tab-chars): Doc fix.
8233 (picture-mode-map): Fix C-a, C-e.
8234
c6029348
GM
82352012-02-20 Glenn Morris <rgm@gnu.org>
8236
8237 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8238
ab1ce9d7
LL
82392012-02-20 Leo Liu <sdl.web@gmail.com>
8240
8241 * icomplete.el (icomplete-completions): Check FROM arg before
8242 passing to substring (Bug#10850).
8243
0fd40f89
CY
82442012-02-19 Chong Yidong <cyd@gnu.org>
8245
8246 * comint.el: Require ansi-color.
8247 (comint-output-filter-functions): Add ansi-color-process-output.
8248
8249 * ansi-color.el: Don't set comint-output-filter-functions; it is
8250 now in the initial value defined in comint.el.
8251 (ansi-color-apply-face-function): New variable.
8252 (ansi-color-apply-on-region): Use it.
8253 (ansi-color-apply-overlay-face): New function.
8254
8255 * shell.el (shell): No need to require ansi-color.
8256 (shell-mode): Use ansi-color-apply-face-function to highlight
8257 color escapes using font-lock-face property (Bug#10835).
8258
20af2394
CY
82592012-02-19 Chong Yidong <cyd@gnu.org>
8260
8261 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8262 mode-line formats (Bug#10839).
8263
e23a3fbe
GM
82642012-02-18 Glenn Morris <rgm@gnu.org>
8265
b474519e
GM
8266 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8267
8268 * mail/undigest.el (unforward-rmail-message): Doc fix.
8269
e23a3fbe
GM
8270 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8271
57939ff4
EZ
82722012-02-18 Eli Zaretskii <eliz@gnu.org>
8273
8274 * international/characters.el (script-list): Sync with the latest
8275 Unicode Character Database.
8276
0c23686e
AS
82772012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8278
8279 * international/titdic-cnv.el: Remove duplicate coding tag.
8280 * language/cham.el: Likewise.
8281 * language/tai-viet.el: Likewise.
8282
6818b449
GM
82832012-02-18 Glenn Morris <rgm@gnu.org>
8284
8285 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8286 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8287 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8288 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8289 * calendar/holidays.el (holiday-bahai-holidays)
8290 (calendar-holidays, list-holidays):
8291 Use utf-8 Bahá'í in doc-strings, menus, etc.
8292
0311a3fc
TH
82932012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8294
8295 * saveplace.el (save-place-ignore-files-regexp): New variable
8296 allowing for excluding files from saving their location of point.
8297 The default value matches the temporary commit message editing
8298 files from Git, SVN, Bazaar, and Mercurial.
8299 (save-place-to-alist): Use it.
8300
d209e2fb 83012012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8302 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8303
8304 * newcomment.el (uncomment-region-default): Don't leave extra space
8305 when an arg is provided (bug#8150).
8306
ee0ce425
TZ
83072012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8308
eb864a71 8309 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8310
95ddf442
GM
83112012-02-17 Glenn Morris <rgm@gnu.org>
8312
8313 * net/socks.el: Require network-stream. (Bug#10599)
8314
48dd1e39 83152012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8316
8317 * international/charprop.el:
8318 * international/uni-name.el:
8319 * international/uni-old-name.el:
8320 * international/uni-comment.el: Regenerate.
8321
d68cd087
GM
83222012-02-16 Glenn Morris <rgm@gnu.org>
8323
8324 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8325 Interactively in calendar buffer, give an error if not on a date.
8326
13932042
GM
83272012-02-15 Glenn Morris <rgm@gnu.org>
8328
8329 * shell.el (shell-delimiter-argument-list):
8330 Revert 2011-02-17 change. (Bug#8027)
8331
c3a70e2b
CY
83322012-02-15 Chong Yidong <cyd@gnu.org>
8333
60236b0d
CY
8334 * minibuffer.el (completion-at-point-functions): Doc fix.
8335
c3a70e2b
CY
8336 * custom.el (defcustom): Doc fix; note use of defvar.
8337
9f26dc24
GM
83382012-02-15 Glenn Morris <rgm@gnu.org>
8339
8340 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8341 Doc fixes.
8342
6546b134
GM
83432012-02-14 Glenn Morris <rgm@gnu.org>
8344
8345 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8346
d29b2b4c
LI
83472012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8348
8349 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8350 way the ports list is computed.
835bdcba
LI
8351 (smtpmail-query-smtp-server): Prompt the user for a port number if
8352 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8353
08dcdbc9
TZ
83542012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8355
8356 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8357
2605051a
GM
83582012-02-13 Glenn Morris <rgm@gnu.org>
8359
8360 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8361
7ee99f32
TZ
83622012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8363
8364 * net/gnutls.el (gnutls-trustfiles): New variable.
8365 (gnutls-negotiate): Use it.
8366
5f0af64f
LI
83672012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8368
8369 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8370 does its stuff if Gnus is running.
8371
c14fcc95
AM
83722012-02-13 Alan Mackenzie <acm@muc.de>
8373
8374 Fix a loop in c-set-fl-decl-start.
8375
7a71b18d 8376 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8377 c-backward-syntactic-ws actually moves backwards.
8378
142b4d90
LL
83792012-02-13 Leo Liu <sdl.web@gmail.com>
8380
8381 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8382 beginning so that all \C-o chars are removed.
8383
fa9958a6
TZ
83842012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8385
dc9924b8 8386 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8387
0bc5886a
AM
83882012-02-12 Alan Mackenzie <acm@muc.de>
8389
8390 Fix infinite loop with long macros.
4d6769e1 8391 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8392
d4bd55e7
CY
83932012-02-12 Chong Yidong <cyd@gnu.org>
8394
8395 * window.el (display-buffer): Doc fix (Bug#10785).
8396
66f3fe22
GM
83972012-02-12 Glenn Morris <rgm@gnu.org>
8398
bd7da63e
GM
8399 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8400 (x-disown-selection-internal, x-get-selection-internal):
8401 Sync docs with the xselect.c versions.
8402
66f3fe22
GM
8403 * allout-widgets.el: Add missing license notice.
8404
3e0d2fa7
GM
84052012-02-11 Glenn Morris <rgm@gnu.org>
8406
cfecdf09
GM
8407 * select.el (x-get-selection-internal, x-own-selection-internal)
8408 (x-disown-selection-internal):
8409 * x-dnd.el (x-get-selection-internal): Update declarations.
8410
6d216d7f
GM
8411 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8412
2bed3f04
GM
8413 * window.el (window-sides-slots):
8414 * tool-bar.el (tool-bar-position):
8415 * term/xterm.el (xterm-extra-capabilities):
8416 * ses.el (ses-self-reference-early-detection):
8417 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8418 (verilog-auto-wire-type)
8419 (verilog-auto-delete-trailing-whitespace)
8420 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8421 (verilog-auto-tieoff-declaration):
8422 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8423 (sql-oracle-statement-starters, sql-oracle-scan-on):
8424 * progmodes/prolog.el (prolog-align-comments-flag)
8425 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8426 (prolog-left-indent-regexp, prolog-paren-indent-p)
8427 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8428 (prolog-types, prolog-mode-specificators)
8429 (prolog-determinism-specificators, prolog-directives)
8430 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8431 (prolog-electric-dot-flag)
8432 (prolog-electric-dot-full-predicate-template)
8433 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8434 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8435 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8436 (prolog-program-switches, prolog-prompt-regexp)
8437 (prolog-debug-on-string, prolog-debug-off-string)
8438 (prolog-trace-on-string, prolog-trace-off-string)
8439 (prolog-zip-on-string, prolog-zip-off-string)
8440 (prolog-use-standard-consult-compile-method-flag)
8441 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8442 (prolog-imenu-max-lines, prolog-info-predicate-index)
8443 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8444 (prolog-char-quote-workaround):
8445 * progmodes/cc-vars.el (c-defun-tactic):
8446 * net/tramp.el (tramp-encoding-command-interactive)
8447 (tramp-local-end-of-line):
8448 * net/soap-client.el (soap-client):
8449 * net/netrc.el (netrc-file):
8450 * net/gnutls.el (gnutls):
8451 * minibuffer.el (completion-category-overrides)
8452 (completion-cycle-threshold)
8453 (completion-pcm-complete-word-inserts-delimiters):
8454 * man.el (Man-name-local-regexp):
8455 * mail/feedmail.el (feedmail-display-full-frame):
8456 * international/characters.el (glyphless-char-display-control):
8457 * eshell/em-ls.el (eshell-ls-date-format):
8458 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8459 (lisp-lambda-list-keyword-parameter-indentation)
8460 (lisp-lambda-list-keyword-parameter-alignment):
8461 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8462 * dired-x.el (dired-omit-verbose):
8463 * cus-theme.el (custom-theme-allow-multiple-selections):
8464 * calc/calc.el (calc-highlight-selections-with-faces)
8465 (calc-lu-field-reference, calc-lu-power-reference)
8466 (calc-note-threshold):
8467 * battery.el (battery-mode-line-limit):
8468 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8469 (archive-7z-update):
8470 * allout.el (allout-prefixed-keybindings)
8471 (allout-unprefixed-keybindings)
8472 (allout-inhibit-auto-fill-on-headline)
8473 (allout-flattened-numbering-abbreviation):
8474 * allout-widgets.el (allout-widgets-auto-activation)
8475 (allout-widgets-icons-dark-subdir)
8476 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8477 (allout-widgets-theme-dark-background)
8478 (allout-widgets-theme-light-background)
8479 (allout-widgets-item-image-properties-emacs)
8480 (allout-widgets-item-image-properties-xemacs)
8481 (allout-widgets-run-unit-tests-on-load)
8482 (allout-widgets-time-decoration-activity)
8483 (allout-widgets-hook-error-post-time)
8484 (allout-widgets-track-decoration):
8485 Add missing :version tags to new defcustoms and defgroups.
8486
5fec1b8e
GM
8487 * progmodes/sql.el (sql-ansi-statement-starters)
8488 (sql-oracle-statement-starters): Add custom type.
8489
3e0d2fa7
GM
8490 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8491 (prolog-system-version): Give it a type.
8492
90b671e2
EZ
84932012-02-11 Eli Zaretskii <eliz@gnu.org>
8494
8495 * term/pc-win.el (x-select-text, x-selection-owner-p)
8496 (x-own-selection-internal, x-disown-selection-internal)
8497 (x-get-selection-internal): Sync doc strings and argument lists
8498 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8499
5eac0c02
LL
85002012-02-11 Leo Liu <sdl.web@gmail.com>
8501
8502 * progmodes/python.el (python-end-of-statement): Fix infinite
8503 loop. (Bug#10788)
8504
f82cb659
GM
85052012-02-10 Glenn Morris <rgm@gnu.org>
8506
8507 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8508 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8509
cc26d239
LI
85102012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8511
8512 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8513 about SMTP before checking the From header.
8514
91027d08 8515 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8516 into own function for reuse by emacsbug.el.
8517
1be3ca5a
LL
85182012-02-10 Leo Liu <sdl.web@gmail.com>
8519
8520 * subr.el (condition-case-unless-debug): Rename from
8521 condition-case-no-debug. All callers changed.
8522 (with-demoted-errors): Fix caller.
8523
8524 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8525 * nxml/rng-valid.el (rng-do-some-validation):
8526 * emacs-lisp/package.el (package-refresh-contents)
8527 (package-menu-execute):
8528 * desktop.el (desktop-create-buffer):
91027d08 8529 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8530
b011fbfe
GM
85312012-02-10 Glenn Morris <rgm@gnu.org>
8532
b2096d72
GM
8533 * textmodes/bibtex.el:
8534 Add missing :version tags for new/changed defcustoms.
8535
b011fbfe
GM
8536 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8537
4c7e65bf
LI
85382012-02-09 Lars Ingebrigtsen <larsi@rusty>
8539
8540 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8541 (smtpmail-via-smtp): Use it, or fall back on the From address.
8542 (smtpmail-send-it): Ditto.
8543
f3934f6f
SM
85442012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8547 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8548 (byte-compile-tmp-var): New const.
8549 (byte-compile-defvar): Use it to minimize .elc size.
8550 Just use `defvar' rather than simulate it (bug#10761).
8551
a075a2c5
GM
85522012-02-09 Glenn Morris <rgm@gnu.org>
8553
cf3aa21b
GM
8554 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8555
354998cd
GM
8556 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8557 Add :version tags.
8558
dc9924b8
SM
8559 * progmodes/compile.el (compilation-error-screen-columns)
8560 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8561
dab3703d
GM
8562 * vc/log-view.el (log-view-toggle-entry-display):
8563 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8564
3f88cd72
GM
8565 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8566 (report-emacs-bug-can-use-xdg-email):
8567 (report-emacs-bug-insert-to-mailer): Doc fixes.
8568 (report-emacs-bug): Message fix.
8569
d95b247d
GM
8570 * net/browse-url.el (browse-url-can-use-xdg-open)
8571 (browse-url-xdg-open): Doc fixes.
8572
a075a2c5
GM
8573 * electric.el (electric-indent-mode, electric-pair-mode)
8574 (electric-layout-rules, electric-layout-mode): Doc fixes.
8575 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8576
ffb6157e
MR
85772012-02-08 Martin Rudalics <rudalics@gmx.at>
8578
8579 * server.el (server-unselect-display): Don't inadvertently kill
8580 the current buffer. (Bug#10729)
8581
e1ac4066
GM
85822012-02-08 Glenn Morris <rgm@gnu.org>
8583
34e8a2da
GM
8584 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8585 (sql-list-table): Doc fixes.
8586
b4ac6e8c
GM
8587 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8588 Comment out (does nothing).
8589
e1ac4066
GM
8590 * completion.el (dynamic-completion-mode):
8591 * dirtrack.el (dirtrack-debug-mode):
8592 * electric.el (electric-layout-mode):
8593 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8594 * face-remap.el (text-scale-mode, buffer-face-mode):
8595 * iimage.el (iimage-mode):
8596 * image-mode.el (image-transform-mode):
8597 * minibuffer.el (completion-in-region-mode):
8598 * scroll-lock.el (scroll-lock-mode):
8599 * simple.el (next-error-follow-minor-mode):
8600 * tar-mode.el (tar-subfile-mode):
8601 * tooltip.el (tooltip-mode):
8602 * vcursor.el (vcursor-use-vcursor-map):
8603 * wid-browse.el (widget-minor-mode):
8604 * emulation/tpu-edt.el (tpu-edt-mode):
8605 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8606 * international/iso-ascii.el (iso-ascii-mode):
8607 * language/thai-util.el (thai-word-mode):
8608 * mail/supercite.el (sc-minor-mode):
8609 * net/goto-addr.el (goto-address-mode):
8610 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8611 * progmodes/cwarn.el (cwarn-mode):
8612 * progmodes/flymake.el (flymake-mode):
8613 * progmodes/glasses.el (glasses-mode):
8614 * progmodes/hideshow.el (hs-minor-mode):
8615 * progmodes/pascal.el (pascal-outline-mode):
8616 * textmodes/enriched.el (enriched-mode):
8617 * vc/smerge-mode.el (smerge-mode):
8618 Doc fixes (minor mode argument).
8619
5e0d957f
EZ
86202012-02-07 Eli Zaretskii <eliz@gnu.org>
8621
8622 * ls-lisp.el (ls-lisp-sanitize): New function.
8623 (ls-lisp-insert-directory): Use it to fix or remove any elements
8624 in file-alist with missing attributes. (Bug#4673)
8625
98d7371e
AM
86262012-02-07 Alan Mackenzie <acm@muc.de>
8627
8628 Fix spurious recognition of c-in-knr-argdecl.
8629
8630 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8631 putative K&R region.
8632
667ced3a
AM
86332012-02-07 Alan Mackenzie <acm@muc.de>
8634
eb864a71
LM
8635 * progmodes/cc-engine.el (c-forward-objc-directive):
8636 Prevent looping in "#pragma mark @implementation".
667ced3a 8637
5b77774d
MA
86382012-02-07 Michael Albinus <michael.albinus@gmx.de>
8639
8640 * notifications.el (notifications-on-closed-signal): Make `reason'
8641 optional. (Bug#10744)
8642
af008560
GM
86432012-02-07 Glenn Morris <rgm@gnu.org>
8644
60d47423
GM
8645 * emacs-lisp/easy-mmode.el (define-minor-mode):
8646 Doc fixes for the macro and the mode it defines.
8647
dd605cc4
GM
8648 * image.el (imagemagick-types-inhibit): Doc fix.
8649
af008560
GM
8650 * cus-start.el (imagemagick-render-type): Add it.
8651
5cc59a37
LI
86522012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8653
4d6769e1
JB
8654 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8655 Set the default at load time, too, so that `font-lock-fontify-buffer'
8656 can be called without setting up the entire mode first. This fixes
8657 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 8658
9a6dd747
CY
86592012-02-06 Chong Yidong <cyd@gnu.org>
8660
2d16b285
CY
8661 * simple.el (list-processes--refresh): Delete exited processes
8662 (Bug#8094).
8663
171e9b6e
CY
8664 * comint.el (comint-next-prompt): next-single-char-property-change
8665 and prev-single-char-property-change never return nil (Bug#8657).
8666
9a6dd747
CY
8667 * custom.el (defcustom): Doc fix (Bug#9711).
8668
aa4589a7
CY
86692012-02-05 Chong Yidong <cyd@gnu.org>
8670
5c2a252f
CY
8671 * cus-edit.el (custom-variable-reset-backup): Quote the value
8672 before storing it in the customized-value property (Bug#6712).
4aab9006 8673 (custom-display): Add a customization type tag.
983b9602 8674 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 8675
aa4589a7
CY
8676 * wid-edit.el (widget-field-value-get): New optional arg to
8677 suppress trailing whitespace truncation.
8678 (character): Use it (Bug#2689).
8679
1ff980ae
AS
86802012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8681
8682 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8683 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8684
03988c98
CY
86852012-02-05 Chong Yidong <cyd@gnu.org>
8686
eeb6cc88
CY
8687 * cus-edit.el (custom-variable-value-create): For mismatched
8688 types, show the current value (Bug#7600).
8689
03988c98
CY
8690 * custom.el (defcustom): Doc fix.
8691
f8cdeef0
GM
86922012-02-05 Glenn Morris <rgm@gnu.org>
8693
8694 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8695
0696d255
JB
86962012-02-05 Juanma Barranquero <lekktu@gmail.com>
8697
8698 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8699 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8700 (pp-last-sexp): Use `looking-at-p'.
8701
34c99998
GM
87022012-02-04 Glenn Morris <rgm@gnu.org>
8703
8f05da42
GM
8704 * files.el (revert-buffer):
8705 Doc fix (mention revert-buffer-in-progress-p).
8706
f160676e
GM
8707 * emacs-lisp/ert-x.el (ert-simulate-command):
8708 Check deferred-action-list (which is obsolete) is bound.
8709
c7291ad9
GM
8710 * subr.el (with-wrapper-hook): Doc fixes.
8711
34c99998
GM
8712 * simple.el (filter-buffer-substring-functions)
8713 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8714
6283a7d3
LL
87152012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8716
8717 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8718 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8719
e96e3013
LL
87202012-02-04 Leo Liu <sdl.web@gmail.com>
8721
8722 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8723
8ded50f2
GM
87242012-02-04 Glenn Morris <rgm@gnu.org>
8725
82ff1d13
GM
8726 * image.el (image-extension-data): Add obsolete alias.
8727
987a0a16
GM
8728 * isearch.el (isearch-update): Doc fix.
8729
ea32ef46
GM
8730 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8731
8ded50f2
GM
8732 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8733
eea14f31
GM
87342012-02-03 Glenn Morris <rgm@gnu.org>
8735
8736 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8737 (image-animate-timeout): Doc fix.
8738
8739 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8740
12f381b7
GM
87412012-02-02 Glenn Morris <rgm@gnu.org>
8742
953cebf5
GM
8743 * server.el (server-auth-dir): Doc fix.
8744 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8745
12f381b7
GM
8746 * subr.el (run-mode-hooks): Doc fix.
8747
953a8c3b
JL
87482012-02-02 Juri Linkov <juri@jurta.org>
8749
8750 * image-mode.el (image-toggle-display-image): Remove tautological
8751 `major-mode' from the `derived-mode-p' test.
8752
c5d3843c
KH
87532012-02-02 Kenichi Handa <handa@m17n.org>
8754
9f6e692e 8755 * composite.el (compose-region): Cancel previous change.
c5d3843c 8756
159462d4 87572012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
8758
8759 * composite.el (compose-region, compose-string): Signal error for
8760 a null string component (Bug#6988).
8761
9f562668
CY
87622012-02-01 Chong Yidong <cyd@gnu.org>
8763
e2cef717
CY
8764 * view.el (view-buffer-other-window, view-buffer-other-frame):
8765 Handle special modes like view-buffer (Bug#10650).
8766 (view-buffer): Simplify.
8767
9f562668
CY
8768 * frame.el (set-frame-font): Tweak meaning of third argument.
8769
9f6e692e
JB
8770 * dynamic-setting.el (font-setting-change-default-font):
8771 Use set-frame-font (Bug#9982).
9f562668 8772
781acb9f
GM
87732012-02-01 Glenn Morris <rgm@gnu.org>
8774
6035be52
GM
8775 * progmodes/compile.el (compilation-internal-error-properties):
8776 Respect compilation-first-column in the "*compilation*" buffer.
8777
781acb9f
GM
8778 * emacs-lisp/easy-mmode.el (define-minor-mode):
8779 Relax :variable's test for a named function.
8780
abbceb00
AM
87812012-01-31 Alan Mackenzie <acm@muc.de>
8782
8783 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8784 off by one error.
8785
fce3fdeb
CY
87862012-01-31 Chong Yidong <cyd@gnu.org>
8787
8788 * frame.el (set-frame-font): New arg ALL-FRAMES.
8789
8790 * menu-bar.el (menu-set-font): Use set-frame-font.
8791
8792 * faces.el (face-spec-reset-face): Don't apply unspecified
8793 attribute values to the default face.
8794
47893581
JB
87952012-01-31 Juanma Barranquero <lekktu@gmail.com>
8796
8797 * progmodes/cwarn.el (cwarn): Remove dead link.
8798 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8799 Remove * from defcustom docstrings.
8800 (turn-on-cwarn-mode): Make obsolete.
8801 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8802 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8803
e58e988a
GM
88042012-01-31 Glenn Morris <rgm@gnu.org>
8805
60dc2671 8806 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 8807 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 8808 Allow named functions to be used as the cdr of :variable.
e58e988a 8809
7a3f511d
GM
88102012-01-30 Glenn Morris <rgm@gnu.org>
8811
8812 * emacs-lisp/authors.el (authors-fixed-entries):
8813 Remove reference to deleted file rnewspost.el.
8814
cb882333
JB
88152012-01-29 Juanma Barranquero <lekktu@gmail.com>
8816
8817 * window.el (window-with-parameter): Remove unused variable `windows'.
8818 (window--side-check): Remove unused variable `code'.
8819 (window--resize-siblings): Remove unused variable `first'.
8820 (adjust-window-trailing-edge): Remove unused variable `failed'.
8821 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8822 Use `let', not `let*'.
8823 (balance-windows-2): Remove unused variable `found'.
8824 (window--state-put-2): Remove unused variable `splits'.
8825 (window-state-put): Remove unused variable `selected'.
8826 (same-window-p): Use `string-match-p'.
8827 (display-buffer-assq-regexp): Remove unused variable `value'.
8828 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8829 Mark argument ALIST as ignored.
8830 (pop-to-buffer): Remove unused variable `old-window'.
8831
907201af
EZ
88322012-01-29 Eli Zaretskii <eliz@gnu.org>
8833
8834 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8835 and .lzma compressed files.
8836
ea162670
CY
88372012-01-29 Chong Yidong <cyd@gnu.org>
8838
5b95ee8a
CY
8839 * frame.el (window-system-default-frame-alist): Doc fix.
8840
ea162670
CY
8841 * dynamic-setting.el (font-setting-change-default-font): Don't
8842 change the default face if SET-FONT argument is non-nil (Bug#9982).
8843
d6e6f4b1
SB
88442012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8845
8846 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8847
0f29fa41 88482012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
8849
8850 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8851 breakpoints in files outside current directory (Bug#6098).
8852
db174434
CY
88532012-01-29 Chong Yidong <cyd@gnu.org>
8854
6b25e4e2
SE
8855 * progmodes/python.el: Require ansi-color at top-level.
8856
6df6ae42
JB
8857 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8858 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
8859 (lisp-mode-abbrev-table): Add doc.
8860 (lisp-mode-variables): Don't set local-abbrev-table.
8861 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8862
e70ee681
RW
88632012-01-28 Roland Winkler <winkler@gnu.org>
8864
8865 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8866
ace88aa2
RW
88672012-01-28 Roland Winkler <winkler@gnu.org>
8868
8869 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8870 (bibtex-set-dialect): Use it. Either set global values of
8871 dialect-dependent variables or bind these variables buffer-locally
8872 (Bug#10254).
8873 (bibtex-mode): Call bibtex-set-dialect via
8874 hack-local-variables-hook.
eb864a71
LM
8875 (bibtex-dialect): Update docstring.
8876 Add safe-local-variable predicate.
ace88aa2
RW
8877 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8878 bibtex-set-dialect.
8879 (bibtex-mode-map): Define menu for each dialect.
8880 (bibtex-entry): Fix docstring.
8881
93376c5b
CY
88822012-01-28 Chong Yidong <cyd@gnu.org>
8883
8884 * eshell/esh-arg.el (eshell-quote-argument): New function.
8885
8886 * eshell/esh-ext.el (eshell-invoke-batch-file):
8887 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8888 first arg to eshell-parse-command (Bug#10523).
8889
4372494f
DA
88902012-01-28 Drew Adams <drew.adams@oracle.com>
8891
8892 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8893 `default-directory' is non-nil.
8894
4d4ec1f8
EZ
88952012-01-28 Eli Zaretskii <eliz@gnu.org>
8896
8897 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8898 line that displays system-configuration-options. (Bug#9924)
8899
7c188927
DA
89002012-01-28 Drew Adams <drew.adams@oracle.com>
8901
8902 * descr-text.el (describe-char): Show information about POS, in
8903 addition to information about the character at POS. Improve and
8904 update the doc string. Change "code point" to "code point in
8905 charset", to avoid confusion with the character's Unicode code
8906 point shown above that. (Bug#10129)
8907
e0da685a
EZ
89082012-01-28 Eli Zaretskii <eliz@gnu.org>
8909
8910 * descr-text.el (describe-char): Show the raw character, not only
8911 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8912 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8913 for the reasons.
8914
70550acf
PH
89152012-01-28 Phil Hagelberg <phil@hagelb.org>
8916
eb864a71
LM
8917 * emacs-lisp/package.el (package-install):
8918 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 8919
0ce8e868
CY
89202012-01-28 Chong Yidong <cyd@gnu.org>
8921
cb882333
JB
8922 * emacs-lisp/package.el (package-maybe-load-descriptor):
8923 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
8924 (package-maybe-load-descriptor): Use it.
8925 (package-download-transaction): Fully load required packages
8926 inside the loop, so that `require' calls work (Bug#10593).
8927 (package-install): No need to call package-initialize now.
8928
2e7f3bea
CY
89292012-01-28 Chong Yidong <cyd@gnu.org>
8930
6e9bad14
CY
8931 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8932
f823b8ca
CY
8933 * tooltip.el (tooltip-mode): Doc fix.
8934 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8935
2680c309
CY
8936 * frame.el (set-cursor-color): Doc fix (Bug#352).
8937
d7a9e63b
CY
8938 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8939 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8940
2e7f3bea
CY
8941 * cus-edit.el (custom-buffer-create-internal): Fix search button
8942 action (Bug#10542).
2ae01800 8943 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 8944
fc4f7a23
EW
89452012-01-27 Eduard Wiebe <usenet@pusto.de>
8946
8947 * dired.el (dired-mark-files-regexp):
8948 Include any subdirectory components. (Bug#10445)
8949
7dd37071
ML
89502012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8951
8952 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8953 Handle [host]:port syntax. (Bug#10533)
8954
a268160b
AH
89552012-01-27 Alex Harsanyi <harsanyi@mac.com>
8956
8957 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8958
e43273ef
GM
89592012-01-26 Glenn Morris <rgm@gnu.org>
8960
8961 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8962 * term.el (term-raw-escape-map): Use Control-X-prefix.
8963 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8964
1edf595d
MR
89652012-01-25 Martin Rudalics <rudalics@gmx.at>
8966
8967 * window.el (window-state-get, window--state-get-1): Don't deal
8968 with fixed-sizeness of windows. Simplify code.
8969
fa8eafef
JC
89702012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8971
6df6ae42
JB
8972 * window.el (window--state-get-1, window--state-put-2):
8973 Don't save and restore the mark.
fa8eafef 8974
0b21c100
CY
89752012-01-25 Chong Yidong <cyd@gnu.org>
8976
8977 * custom.el (custom-variable-p): Doc fix.
8978
5ae1a6c8
GM
89792012-01-25 Glenn Morris <rgm@gnu.org>
8980
40047858
GM
8981 * dired.el (dired-goto-file): Handle some of the more common
8982 characters that `ls -b' escapes. (Bug#10596)
8983
5ddce96c
GM
8984 * progmodes/compile.el (compilation-next-error-function):
8985 Respect compilation-first-column in the "*compilation*" buffer.
8986 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8987
5ae1a6c8
GM
8988 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8989
b559f1a9
GM
89902012-01-24 Glenn Morris <rgm@gnu.org>
8991
8992 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8993
6725d21a
JD
89942012-01-24 Julien Danjou <julien@danjou.info>
8995
8996 * color.el (color-rgb-to-hsl): Fix value computing.
8997 (color-hue-to-rgb): New function.
8998 (color-hsl-to-rgb): New function.
8999 (color-clamp, color-saturate-hsl, color-saturate-name)
9000 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9001 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9002
70df4bbe
GM
90032012-01-24 Glenn Morris <rgm@gnu.org>
9004
9005 * vc/vc-rcs.el (vc-rcs-create-tag):
9006 * vc/vc-sccs.el (vc-sccs-create-tag):
9007 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9008
802a2ae2
ML
90092012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9010
9011 * eshell/esh-util.el (eshell-read-hosts-file):
9012 Skip comment lines. (Bug#10549)
9013
d7128bb1
ML
9014 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9015
d1a5c3b4
JB
90162012-01-23 Juanma Barranquero <lekktu@gmail.com>
9017
2724d9c7
JB
9018 * subr.el (display-delayed-warnings): Doc fix.
9019 (collapse-delayed-warnings): New function to collapse identical
9020 adjacent warnings.
9021 (delayed-warnings-hook): Add it.
d1a5c3b4 9022
a5509865
MA
90232012-01-22 Michael Albinus <michael.albinus@gmx.de>
9024
9025 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9026
a5509865
MA
9027 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9028 (tramp-default-user-alist): Don't add "pscp".
9029 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9030 property "login-as", if set. (Bug#10530)
9031
cc6d5805
MA
90322012-01-21 Michael Albinus <michael.albinus@gmx.de>
9033
9034 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9035 "plink1" and "psftp". (Bug#10530)
9036
90372012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9038
9039 * international/mule-cmds.el (prefer-coding-system): Show a
9040 warning message if the default value of file-name-coding-system
9041 was not changed.
9042
f0960428
JC
90432012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9044
cb882333
JB
9045 * windmove.el (windmove-reference-loc):
9046 Fix windmove-reference-loc miscalculation.
f0960428 9047
dd6f2a63
JB
90482012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9049
9050 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9051 default unit.
9052
7b447e9b
GM
90532012-01-21 Glenn Morris <rgm@gnu.org>
9054
117a9ea1
GM
9055 * international/mule.el (auto-coding-alist): Add .tbz.
9056
7b447e9b
GM
9057 * files.el (local-enable-local-variables): Doc fix.
9058 (inhibit-local-variables-regexps): Rename from
9059 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9060 Doc fix. Add some extensions from auto-coding-alist.
9061 (inhibit-local-variables-suffixes):
9062 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9063 (inhibit-local-variables-p):
9064 New function, extracted from set-auto-mode-1.
9065 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9066 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9067 (hack-local-variables): Doc fix. Make the mode-only case
9068 respect enable-local-variables and friends.
9069 Respect inhibit-local-variables-regexps for file-locals, but
9070 not for directory-locals.
9071 (set-visited-file-name):
9072 Take account of inhibit-local-variables-regexps.
9073 Whether it applies may change as the file name is changed.
9074 * jka-cmpr-hook.el (jka-compr-install):
9075 * jka-compr.el (jka-compr-uninstall):
9076 Update for inhibit-first-line-modes-suffixes name change.
9077
dd6e3cdd
MR
90782012-01-20 Martin Rudalics <rudalics@gmx.at>
9079
9080 * help-macro.el (make-help-screen): Temporarily restore original
9081 binding for minor-mode-map-alist (Bug#10454).
9082
0d0deb38
JD
90832012-01-19 Julien Danjou <julien@danjou.info>
9084
9085 * color.el (color-name-to-rgb): Use the white color to find the max
9086 color component value and return correctly computed values.
9087 (color-name-to-rgb): Add missing float conversion for max value.
9088
34a02f46
MR
90892012-01-19 Martin Rudalics <rudalics@gmx.at>
9090
9091 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9092 special state value for window-persistent-parameters.
9093 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9094 (window--state-put-2): Reset all window parameters to nil before
9095 assigning values of persistent parameters.
9096
606c44c4
AM
90972012-01-18 Alan Mackenzie <acm@muc.de>
9098
9099 Eliminate sluggishness and hangs in fontification of "semicolon
9100 deserts".
9101
cb882333
JB
9102 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9103 Change value 10000 -> 3000.
606c44c4
AM
9104 (c-state-safe-place): Reformulate so it doesn't stack up an
9105 infinite number of wrong entries in c-state-nonlit-pos-cache.
9106 (c-determine-limit-get-base, c-determine-limit): New functions to
9107 determine backward search limits disregarding literals.
9108 (c-find-decl-spots): Amend commenting.
9109 (c-cheap-inside-bracelist-p): New function which detects "={".
9110
9111 * progmodes/cc-fonts.el
9112 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9113 backward search.
9114 (c-font-lock-declarations): Fix an occurrence of point being
9115 undefined. Check additionally for point being in a bracelist or
9116 near a macro invocation without a semicolon so as to avoid a
9117 fruitless time consuming search for a declarator. Give a more
9118 precise search limit for declarators using the new
9119 c-determine-limit.
9120
f3860cea
GM
91212012-01-18 Glenn Morris <rgm@gnu.org>
9122
9123 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9124 (set-auto-mode): Doc fixes.
9125
1db03b16
GM
91262012-01-17 Glenn Morris <rgm@gnu.org>
9127
0e6038be
GM
9128 * isearch.el (search-nonincremental-instead): Fix doc typo.
9129
1db03b16
GM
9130 * dired.el (dired-insert-directory): Handle newlines in directory name.
9131 (dired-build-subdir-alist): Unescape newlines in directory name.
9132
4cb0aa75
MA
91332012-01-17 Michael Albinus <michael.albinus@gmx.de>
9134
9135 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9136 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9137 (tramp-action-terminal): Use it. (Bug#10530)
9138
1d00653d
SM
91392012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9142
6a6ee00d
MR
91432012-01-16 Martin Rudalics <rudalics@gmx.at>
9144
9145 * window.el (window-state-ignored-parameters): Remove variable.
9146 (window--state-get-1): Rename argument MARKERS to IGNORE.
9147 Handle persistent window parameters. Make copy of clone-of
9148 parameter only if requested. (Bug#10348)
9149 (window--state-put-2): Install a window parameter only if it has
9150 a non-nil value or an existing parameter shall be overwritten.
9151
97912def
MA
91522012-01-15 Michael Albinus <michael.albinus@gmx.de>
9153
9154 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9155
688070a5
EZ
91562012-01-14 Eli Zaretskii <eliz@gnu.org>
9157
9158 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9159 don't pass the (nil) value of `upnode' to string-match.
9160
301afadc
CY
91612012-01-14 Chong Yidong <cyd@gnu.org>
9162
9163 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9164 Fix values recognized by the cursorBlink resource.
301afadc 9165
9e5788aa
PE
91662012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9167
9168 * epg.el (epg--make-temp-file): Avoid permission race condition
9169 when running on old Emacs versions (bug#10403).
9170
3cdb7f5a
GM
91712012-01-14 Glenn Morris <rgm@gnu.org>
9172
9173 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9174
8c82b1b4
AM
91752012-01-13 Alan Mackenzie <acm@muc.de>
9176
9177 Fix filling for when filladapt mode is enabled.
9178
9179 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9180 c-mask-paragraph, pass in `fill-paragraph' rather than
9181 `fill-region-as-paragraph'. (This is a reversion of a previous
9182 change.)
eb864a71
LM
9183 * progmodes/cc-mode.el (c-basic-common-init):
9184 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9185
e517eda4
GM
91862012-01-13 Glenn Morris <rgm@gnu.org>
9187
1498536e
GM
9188 * dired.el (dired-switches-escape-p): New function.
9189 (dired-insert-directory): Use dired-switches-escape-p.
9190 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9191
e517eda4
GM
9192 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9193
328f984d
GM
91942012-01-12 Glenn Morris <rgm@gnu.org>
9195
9196 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9197 changes in adaptive-fill-regexp. (Bug#10276)
9198
2cc769a8
AM
91992012-01-11 Alan Mackenzie <acm@muc.de>
9200
9201 Fix Emacs bug #10463 - put `widen's around the critical spots.
9202
1d00653d 9203 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9204 widen around each invocation of c-state-pp-to-literal. Remove an
9205 unused let variable.
9206
e52c37fa
GM
92072012-01-11 Glenn Morris <rgm@gnu.org>
9208
9209 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9210 Doc fix.
e52c37fa 9211
96f8741e
CY
92122012-01-10 Chong Yidong <cyd@gnu.org>
9213
1d00653d
SM
9214 * net/network-stream.el (network-stream-open-starttls):
9215 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9216 response to the capability command.
9217
b09a806e
GM
92182012-01-10 Glenn Morris <rgm@gnu.org>
9219
9220 * mail/unrmail.el (unrmail): Tweak previous change.
9221
7655cb66
CY
92222012-01-09 Chong Yidong <cyd@gnu.org>
9223
9224 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9225
9d5a8f0b
AM
92262012-01-08 Alan Mackenzie <acm@muc.de>
9227
9228 Optimise font locking in long enum definitions.
9229
9230 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9231 arm to a cond form to handle enums.
9232 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9233 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9234
9a0115ab 92352012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9236
9237 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9238 (Bug#10401)
6bb72cbd 9239
f186bb95
LMI
92402012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9241
29232a68
LMI
9242 * faces.el (set-face-attribute): Clarify the meaning of the nil
9243 frame (bug#10294).
9244
4e5d086d
LMI
9245 * subr.el (with-selected-frame): Mention that the selected frame
9246 is restored (bug#9980).
9247
8e66aebe
LMI
9248 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9249 (bug#9759).
9250
cd394be1 9251 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9252 (password-read): Don't autoload unused function.
9253
adf4e762
JB
92542012-01-07 Juanma Barranquero <lekktu@gmail.com>
9255
9256 * progmodes/which-func.el (which-func-mode): Turn into a
9257 non-interactive function and mark as obsolete (bug#10428).
9258
89bd9ccd
CY
92592012-01-06 Chong Yidong <cyd@gnu.org>
9260
9261 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9262 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9263 functions, along with 1 and -1.
9264
4afee9d5
EZ
92652012-01-06 Eli Zaretskii <eliz@gnu.org>
9266
9267 * time.el (display-time-load-average)
9268 (display-time-default-load-average): Doc fixes. See the thread
9269 starting at
9270 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9271 for the details.
9272
536aea70
GM
92732012-01-06 Glenn Morris <rgm@gnu.org>
9274
665ae865
GM
9275 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9276 has no messages. (Bug#10377)
9277
c869783d
GM
9278 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9279 than Info-edit. (Bug#10385)
9280
2bb4227e
GM
9281 * time.el (display-time-load-average, display-time-next-load-average):
9282 Doc fixes.
9283
7d5944b9
GM
9284 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9285 local setting of buffer-read-only to the input buffer. (Bug#10419)
9286
536aea70
GM
9287 * calendar/calendar.el (calendar-mode):
9288 Locally set scroll-margin to 0. (Bug#10379)
9289
7dccca16
UM
92902012-01-06 Ulrich Mueller <ulm@gentoo.org>
9291
9292 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9293
afbb7930
GM
92942012-01-05 Glenn Morris <rgm@gnu.org>
9295
9296 * eshell/em-unix.el (diff-no-select): Autoload it.
9297 (eshell/diff): Use diff-no-select. (Bug#10420)
9298
04482335
CY
92992012-01-05 Chong Yidong <cyd@gnu.org>
9300
7baca3bc
CY
9301 * shell.el (shell-dynamic-complete-functions): Revert last change.
9302 (shell-command-completion-function): New function.
9303 (shell-completion-vars): Use it to implement
9304 shell-completion-execonly (Bug#10417).
9305
04482335
CY
9306 * custom.el (enable-theme): Don't set custom-safe-themes.
9307
1d00653d
SM
9308 * cus-theme.el (custom-theme-merge-theme):
9309 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9310
bb5aa5d6
MM
93112012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9312
9313 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9314 first prompt in `sql-interacive-mode'.
9315 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9316 keywords.
6df6ae42 9317 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9318 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9319 context of original buffer. Invoke `sql-login-hook'.
9320
a7183d7c
EZ
93212012-01-04 Eli Zaretskii <eliz@gnu.org>
9322
9323 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9324 letters in cite-prefix.
9325
a1eacd1e
LMI
93262012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
9328 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9329
787cdb34
CY
93302012-01-03 Chong Yidong <cyd@gnu.org>
9331
1d00653d
SM
9332 * shell.el (shell-dynamic-complete-functions):
9333 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9334 comint-filename-completion first (Bug#10417).
9335
30710442
RS
93362012-01-02 Richard Stallman <rms@gnu.org>
9337
9338 * battery.el (battery-status-function):
9339 Detect when to use battery-yeeloong-sysfs.
9340 (battery-echo-area-format): Add string for Yeeloong.
9341 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9342 (battery-yeeloong-sysfs): New function.
9343
f75bfc33
CY
93442012-01-02 Chong Yidong <cyd@gnu.org>
9345
9346 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9347 (dirtrack): Merge code for handling relative filenames in prompt
9348 from shell-dir-cookie-watcher.
9349 (dirtrack-debug-message): New arg to avoid excess format calls.
9350
9351 * shell.el (shell-dir-cookie-re): Variable deleted.
9352 (shell-dir-cookie-watcher): Function deleted.
9353 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9354 with dirtrack-mode.
9355
651e947e
EZ
93562012-01-01 Eli Zaretskii <eliz@gnu.org>
9357
1d00653d
SM
9358 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9359 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9360 libgnutls-26.dll.
9361
94d4c7dc
AS
93622011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9363
9364 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9365
8d43f3cd
EZ
93662011-12-31 Eli Zaretskii <eliz@gnu.org>
9367
9368 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9369 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9370
98c8795a
MA
93712011-12-29 Michael Albinus <michael.albinus@gmx.de>
9372
9373 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9374 also for alternative shells.
9375 (tramp-open-connection-setup-interactive-shell): Check, whether
9376 the shell is a busybox.
9377 (tramp-send-command): Don't suppress multiple prompts for
9378 busyboxes, it hurts.
9379
51281b32
CY
93802011-12-28 Chong Yidong <cyd@gnu.org>
9381
9382 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9383 (gdb-get-source-file): Move mode line update to
9384 gdb-get-source-file (Bug#10087).
9385
2170cb53
CY
93862011-12-25 Chong Yidong <cyd@gnu.org>
9387
9388 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9389 gud-gdb-marker-filter without taking it as an argument.
9390 (gud-gdb-run-command-fetch-lines): Caller changed.
9391 (gud-gdb-completion-function): New variable.
9392 (gud-gdb-completion-at-point): Use it.
9393 (gud-gdb-completions-1): Split from gud-gdb-completions.
9394
9395 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9396 function as separate arguments.
9397 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9398 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9399 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9400 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9401 (gdb-stopped, def-gdb-auto-update-trigger)
9402 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9403 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9404 Callers changed.
2170cb53
CY
9405 (gud-gdbmi-completions): New function.
9406 (gdb): Use it for generating the completion table.
9407
be8b11bb
AM
94082011-12-24 Alan Mackenzie <acm@muc.de>
9409
9410 Introduce a mechanism to widen the region used in context font
1d00653d 9411 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9412
1d00653d
SM
9413 * progmodes/cc-langs.el (c-before-font-lock-functions):
9414 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9415 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9416 functions to be run just before context (etc.) font locking.
9417
9418 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9419 New, functionality extracted from
be8b11bb 9420 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9421 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9422 (c-after-change): Set c-in-after-change-fontification.
9423 (c-set-fl-decl-start): Rejig its interface, so it can be called
9424 from both after-change and context fontifying.
b81d40f0
JB
9425 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9426 New functions.
9427 (c-standard-font-lock-fontify-region-function): New variable.
9428 (c-font-lock-fontify-region): New function.
be8b11bb 9429
341cf6ac
JL
94302011-12-24 Juri Linkov <juri@jurta.org>
9431
9432 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9433 (Bug#10348)
9434
bffcee0a
MA
94352011-12-23 Michael Albinus <michael.albinus@gmx.de>
9436
9437 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9438 existence of source file. (Bug#10325)
9439
cb5e207c
AM
94402011-12-23 Alan Mackenzie <acm@muc.de>
9441
9442 Fix unstable fontification inside templates.
9443
b81d40f0
JB
9444 * progmodes/cc-langs.el (c-before-font-lock-functions):
9445 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9446 additionally has c-set-fl-decl-start. The other languages (apart
9447 from AWK) have that as a single entry.
9448
b81d40f0
JB
9449 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9450 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9451 c-set-fl-decl-start.
9452
b81d40f0
JB
9453 * progmodes/cc-mode.el (c-common-init, c-after-change):
9454 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9455 (c-set-fl-decl-start): New function, extracted from
9456 c-font-lock-enclosing-decls and enhanced.
9457
60ff536c
JB
94582011-12-23 Juanma Barranquero <lekktu@gmail.com>
9459
9460 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9461
1c4757d6
JL
94622011-12-22 Juri Linkov <juri@jurta.org>
9463
9464 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9465
d031f2c7
CY
94662011-12-22 Chong Yidong <cyd@gnu.org>
9467
9468 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9469
bace743a
DA
94702011-12-21 Drew Adams <drew.adams@oracle.com>
9471
9472 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9473
728a1f2b
JC
94742011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9475
9476 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9477
0d373f73
TZ
94782011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9479
fec0aaa4
TZ
9480 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9481 highlighting and support. Fix up comments for capitalization.
9482 (cfengine-mode-debug): New var.
9483 (cfengine3-mode): Change the modeline indicator to "CFE3".
9484 (cfengine3-font-lock-keywords): Improve defun highlighting.
9485 (cfengine2-actions): Rename from `cfengine-actions'.
9486 (cfengine2-font-lock-keywords): Rename from
9487 `cfengine-font-lock-keywords'.
9488 (cfengine2-imenu-expression): Rename from
9489 `cfengine-imenu-expression'.
9490 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9491 (cfengine2-beginning-of-defun): Rename from
9492 `cfengine-beginning-of-defun'.
9493 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9494 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9495 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9496 modeline indicator to "CFE2".
9497 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9498 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9499
bc86f573
CY
95002011-12-21 Chong Yidong <cyd@gnu.org>
9501
9502 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9503 filename argument.
9504
d45ba96b
MR
95052011-12-20 Martin Rudalics <rudalics@gmx.at>
9506
9507 * window.el (window-normalize-buffer-to-display): Remove.
9508 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9509
a6198c90
CY
95102011-12-19 Chong Yidong <cyd@gnu.org>
9511
9512 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9513 Don't signal an error in a predicate function; return non-nil.
9514 (vc-dir-mark-file): Move the error here.
9515 (vc-dir-mark-unmark): If acting on the region, keep going if one
9516 of the entries cannot be marked/unmarked.
9517 (vc-dir-mark-all-files): If current entry is a directory, mark
9518 only child files, as documented.
9519
34c5fb55
VB
95202011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9521
9522 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9523 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9524 addition.
9525
c803b2b7
JD
95262011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9527
9528 * term/ns-win.el (ns-get-selection-internal)
9529 (ns-store-selection-internal): Declare.
1154d12e
JB
9530 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9531 Declare as obsolete.
9532 (ns-get-pasteboard, ns-paste-secondary):
9533 Use ns-get-selection-internal.
9534 (ns-set-pasteboard, ns-copy-including-secondary):
9535 Use ns-store-selection-internal.
c803b2b7 9536
9cff91f8 95372011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9538
9539 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9540 (vc-deduce-fileset): Doc fix.
99a289d9 9541
f16c898a
AS
95422011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9543
9544 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9545
763237c4
SS
95462011-12-13 Sam Steingold <sds@gnu.org>
9547
9548 * man.el (Man-getpage-in-background): When running under a
9549 window-system, ignore $MANWIDTH and $COLUMNS.
9550
5fc1c122
KH
95512011-12-15 Kenichi Handa <handa@m17n.org>
9552
9553 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9554 (setup-ethiopic-environment-internal): Comment out key-binding for
9555 ethio-toggle-punctuation.
9556
13d49cbb
AM
95572011-12-13 Alan Mackenzie <acm@muc.de>
9558
898169a2
AM
9559 Add the switch statement to AWK Mode.
9560
7a71b18d 9561 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9562 "default" to the keywords regexp.
9563
7a71b18d 9564 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9565 expression as the rest.
1d00653d
SM
9566 (c-nonlabel-token-key): Allow string literals for AWK.
9567 Refactor for the other modes.
898169a2 9568
13d49cbb 9569 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9570 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9571 routines. Limit backward searching in c-font-lock-enclosing.decl.
9572
9573 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9574 pp-state and literal type in addition to the limits.
1d00653d 9575 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 9576 (c-state-literal-at): Use the above new defun.
1d00653d
SM
9577 (c-slow-in-literal, c-fast-in-literal): Remove.
9578 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
9579
9580 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9581 being in a literal. Add a limit for backward searching.
9582
9583 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9584 c-slow-in-literal.
9585
15e0efc7
SM
95862011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9589
454592a6
MR
95902011-12-13 Martin Rudalics <rudalics@gmx.at>
9591
9592 * window.el (delete-other-windows): Use correct frame in call to
9593 window-with-parameter.
9594
87393f26
DP
95952011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9596
9597 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9598 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9599 (makefile-gmake-statements, makefile-makepp-statements):
9600 Use it and add new makepp keywords.
9601 (makefile-makepp-font-lock-keywords): Add new patterns.
9602 (makefile-match-function-end): Match new [...] and [[...]].
9603
11636b22
JB
96042011-12-11 Juanma Barranquero <lekktu@gmail.com>
9605
9606 * ses.el (ses-call-printer-return, ses-cell-property-get)
9607 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9608 (ses-create-cell-variable, ses-reset-header-string)
9609 (ses-cell-set-formula, ses-repair-cell-reference-all)
9610 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9611 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9612 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9613 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9614 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9615 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9616 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9617 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9618 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9619 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9620 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9621 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9622
cf018193
VB
96232011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9624
9625 * ses.el: The overall change is to add cell renaming, that is
9626 setting fancy names for cell symbols other than name matching
9627 "\\`[A-Z]+[0-9]+\\'" regexp .
9628 (ses-create-cell-variable): New defun.
9629 (ses-relocate-formula): Relocate formulas only for cells the
9630 symbols of which are not renamed, i.e. symbols whose names do not
9631 match regexp "\\`[A-Z]+[0-9]+\\'".
9632 (ses-relocate-all): Relocate values only for cells the symbols of
9633 which are not renamed.
9634 (ses-load): Create cells variables as the (ses-cell ...) are read,
9635 in order to check row col consistency with cell symbol name only
9636 for cells that are not renamed.
9637 (ses-replace-name-in-formula): New defun.
9638 (ses-rename-cell): New defun.
9639
ee957461
CY
96402011-12-11 Chong Yidong <cyd@gnu.org>
9641
9642 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9643 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9644
9a9e9ef0
MR
96452011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9646
9647 * window.el (other-window): Fix docstring.
9648
92a8eba5
EZ
96492011-12-10 Eli Zaretskii <eliz@gnu.org>
9650
9651 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
9652 `from' or `to' address before taking its substring.
9653 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
9654 encoded name is chopped in the middle of the encoded string, and
9655 thus displayed encoded.
9656
e152e577
JB
96572011-12-10 Juanma Barranquero <lekktu@gmail.com>
9658
9659 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9660
e5d84bfe
EZ
96612011-12-10 Eli Zaretskii <eliz@gnu.org>
9662
9663 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9664 to use texinfo-update-node and commands that call it if the
9665 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 9666 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
9667 (texinfo-all-menus-update, texinfo-master-menu)
9668 (texinfo-update-node, texinfo-every-node-update)
9669 (texinfo-multiple-files-update): Doc fix. Warn against updating
9670 all the @node lines.
9671 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
9672 argument is numeric. Explain better in the doc string what the
9673 function really does.
9674 (texinfo-insert-master-menu-list): Improve the error message
9675 displayed if there's no menu in the Top node.
9676 (Bug#2975) See also this thread:
e5d84bfe
EZ
9677 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9678
1d84e9bb
MG
96792011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9680
9681 * speedbar.el (speedbar-supported-extension-expressions):
9682 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9683
382c953b
JB
96842011-12-09 Juanma Barranquero <lekktu@gmail.com>
9685
9686 * printing.el (pr-mode-alist):
9687 * simple.el (filter-buffer-substring-functions)
9688 (completion-list-insert-choice-function):
9689 * window.el (window-with-parameter, window-atom-root)
9690 (window-sides-slots, window-size-fixed, window-min-delta)
9691 (window-max-delta, window--resize-mini-window)
9692 (window--resize-child-windows-normal, window-tree)
9693 (delete-other-windows, quit-window, split-window)
9694 (display-buffer-record-window, special-display-buffer-names)
9695 (special-display-regexps, special-display-popup-frame)
9696 (same-window-p, split-window-sensibly)
9697 (display-buffer-overriding-action, display-buffer-alist)
9698 (display-buffer-base-action, display-buffer, switch-to-buffer)
9699 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9700 (fit-window-to-buffer, recenter-positions)
9701 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9702 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9703 and remove unneeded backslashes in docstrings.
9704
39c9faef
SM
97052011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9706
98449af8
SM
9707 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9708
39c9faef
SM
9709 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9710 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9711 end in ".mk".
9712 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9713 when reading the makefile (bug#10116).
9714
86ed9fdc
SM
97152011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9716
9717 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9718 (bug#10116).
9719
5580f89d
GM
97202011-12-06 Glenn Morris <rgm@gnu.org>
9721
9722 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9723
28d3917c
CY
97242011-12-06 Chong Yidong <cyd@gnu.org>
9725
9726 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9727
a98edce9
JB
97282011-12-06 Juanma Barranquero <lekktu@gmail.com>
9729
9730 * textmodes/table.el (table-shorten-cell): Fix typo.
9731
e65adfac
CG
97322011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9733
9734 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9735
71cc0b74
EZ
97362011-12-05 Eli Zaretskii <eliz@gnu.org>
9737
9738 * descr-text.el (describe-char): Fix display of strong
9739 right-to-left characters and directional embeddings and overrides.
9740
9741 * simple.el (what-cursor-position): Fix display of codepoints of
9742 strong right-to-left characters.
9743
315bc30d
CY
97442011-12-05 Chong Yidong <cyd@gnu.org>
9745
9746 * faces.el (read-color): Doc fix.
9747
58a70b94
GM
97482011-12-05 Glenn Morris <rgm@gnu.org>
9749
9750 * align.el (align--set-marker): Add doc-string.
9751 Don't try to move something that is not a marker. (Bug#10216)
9752
5158face
GM
97532011-12-04 Glenn Morris <rgm@gnu.org>
9754
9755 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9756 overly zealous deletion of trailing whitespace.
9757
520fca41
JB
97582011-12-04 Juanma Barranquero <lekktu@gmail.com>
9759
9760 * server.el (server-delete-client): On Windows, do not try to delete
9761 the only terminal.
9762 (server-process-filter): On Windows, treat requests for a tty frame as
9763 if they were for a GUI frame if the running server is in GUI mode.
9764
5e605a2e
GM
97652011-12-03 Glenn Morris <rgm@gnu.org>
9766
9767 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9768
5c3fe83f
SM
97692011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9770
6f5e57e7
SM
9771 * electric.el: Streamline electric-indent's hook.
9772 (electric-indent-chars): Revert to simple list.
9773 (electric-indent-functions): New var.
9774 (electric-indent-post-self-insert-function): Use it.
9775
5c3fe83f
SM
9776 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9777 there's no inferior buffer (bug#10196).
9778 (prolog-consult-compile): Don't use toggle-read-only.
9779
6bdac736
MA
97802011-12-02 Michael Albinus <michael.albinus@gmx.de>
9781
9782 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9783 interrupt. (Bug#10187)
9784
6131ba7f
SM
97852011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9786
99c79fee
SM
9787 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9788 (bug#9160).
9789
6131ba7f
SM
9790 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9791 (bug#10191).
9792
cb0a02ea
JL
97932011-12-02 Juri Linkov <juri@jurta.org>
9794
9795 * info.el (Info-search): Display "end of manual" when Isearch
9796 reaches the end of single-file Info manual. (Bug#9918)
9797
66e0570c
EZ
97982011-12-02 Eli Zaretskii <eliz@gnu.org>
9799
9800 * isearch.el (isearch-message-prefix): Run the input method part
9801 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9802
02b16839
JL
98032011-12-02 Juri Linkov <juri@jurta.org>
9804
9805 * isearch.el (isearch-occur): Use `word-search-regexp' for
9806 `isearch-word'.
9807 (isearch-search-and-update): Add condition for `isearch-word' and
9808 call `word-search-regexp'. (Bug#10145)
9809
0b950688
GM
98102011-12-01 Glenn Morris <rgm@gnu.org>
9811
9812 * eshell/em-hist.el (eshell-hist-initialize):
9813 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 9814 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 9815
9505c3c7
SM
98162011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9819
1bbe96b2 98202011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 9821
a1beca85
SM
9822 * progmodes/verilog-mode.el (verilog-pretty-expr):
9823 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
9824 verilog, such as += *= and the like.
9825 (verilog-assignment-operator-re): Regular expression to find the
9826 assigment operator in a verilog assignment.
9827 (verilog-assignment-operation-re): Regular expression to find an
9828 assignment statement for pretty-expr.
9829 (verilog-in-attribute-p): Query returns true if point is in an
9830 attribute context; used to skip these for expression line up from
9831 pretty-expr.
9832 (verilog-in-parameter-p): Query returns true if point is in an
9833 parameter definition context; used to skip these for expression
9834 line up from pretty-expr.
9835 (verilog-in-parenthesis-p): Query returns true if point is in a
9836 parenthetical expression, specifically ( ) but not [ ] or { };
9837 used by pretty-expr.
9838 (verilog-just-one-space): If there is no space, don't add one.
9839 (verilog-get-lineup-indent-2): Specifically skip just attribute
9840 contexts for expression lineup, rather than skipping all
9841 parenthetical expressions.
9842 (verilog-calculate-indent): Fix comment, and fix indent.
9843 (verilog-do-indent): Indent declarations in lists (suggested by
9844 Joachim Lechner).
9845 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9846 skeleton items.
9847 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9848 by Alain Mellan).
9849
1bbe96b2 98502011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
9851
9852 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9853 parameters with embedded comments. Reported by Ray Stevens.
9854 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9855 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9856 Reported by Tim Holt.
9857 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9858 instantiated by upper module causing wrong expansion until AUTOed a
9859 second time. Reported by K C Buckenmaier.
9860 (verilog-diff-auto): Fix showing .* as a difference when
9861 `verilog-auto-star-save' off. Reported by Dan Dever.
9862 (verilog-auto-reset, verilog-read-always-signals)
9863 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9864 temporary signals in reset list if
9865 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
9866 style to each signal's assignment type, bug381.
9867 Reported by Thomas Esposito.
6288f0ca
WS
9868 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9869 (verilog-uvm-statement-re): Support UVM indentation and
9870 highlighting, with old OVM keywords only.
a1beca85 9871 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
9872 Support AUTOTIEOFF creating non-wire data types.
9873 Suggested by Jonathan Greenlaw.
6288f0ca
WS
9874 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9875 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9876 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
9877 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9878 Fix mismatching parenthesis inside commented out code when deleting
382c953b 9879 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
9880 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9881 non-numeric vector width. Reported by Alex Reed.
9882 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 9883 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
9884 (verilog-auto-delete-trailing-whitespace):
9885 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
9886 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9887 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9888 Fix verilog-scan-cache corruption when running user AUTO expansion
9889 hooks that call indentation routines.
9890 (verilog-simplify-range-expression): Fix typo ignoring lower case
9891 identifiers.
9892 (verilog-delete-auto): Fix delete-autos to also remove user created
9893 automatics, as long as they start with AUTO.
9894 (verilog-batch-diff-auto, verilog-diff-auto)
9895 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9896 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9897 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9898 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
9899 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9900 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
9901 is disabled and its cache will get corrupt, causing AUTOS not to
9902 expand. Instead use only -quick functions.
9903 (verilog-scan-region): Fix scanning over escaped quotes.
9904 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9905 (verilog-re-search-backward-quick)
9906 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9907 related functions now ignore strings, to fix misparsing of strings
9908 with magic comments embedded in them.
a1beca85
SM
9909 (verilog-read-auto-template):
9910 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9911 Reported by Brad Dobbie.
9912 (verilog-read-auto-template):
9913 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 9914 Reported by Brad Dobbie.
6288f0ca
WS
9915 (verilog-auto-inst, verilog-auto-inst-param)
9916 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9917 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9918 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
9919 debugging templates without merge conflicts, bug357.
9920 Reported by Brad Dobbie.
9921 (verilog-read-auto-template):
9922 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
9923 Reported by Brad Dobbie.
9924 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9925 abbrevs so user won't be asked to save.
9926 (verilog-read-auto-lisp-present): Fix to start at beginning of
9927 buffer in case called outside of verilog-auto.
9928 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9929 to "X-2". Reported by Matthew Myers.
9930 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9931 all inputs from module templates. Reported by Leith Johnson.
9932 (verilog-module-inside-filename-p): Fix locating programs as with
9933 modules.
9934 (verilog-auto-inst-port): Fix vl-width expressions when using
9935 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9936 (verilog-decls-get-regs, verilog-decls-get-signals,
9937 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9938 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9939 verilog-read-decls): Combine reg and wire structures into one var
9940 structure to represent SystemVerilog concepts.
9941 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9942 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
9943 (verilog-auto-wire-type, verilog-insert-definition):
9944 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
9945 SystemVerilog "logic" keyword instead of "wire"/"reg".
9946 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9947 to declares outputs that also have assignments (presumably in an
a1beca85
SM
9948 ifdef or generate if so there's not a driver conflict).
9949 Reported by Matthew Myers.
9950 (verilog-auto-declare-nettype, verilog-insert-definition):
9951 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
9952 `default_nettype none. Reported by Julian Gorfajn.
9953 (verilog-read-always-signals-recurse, verilog-read-decls)
9954 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9955 malformed end statement, bug325. Reported by Joshua Wise and
9956 Andrew Drake.
9957 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9958 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
9959 when expanding .* in interfaces, bug320.
9960 Reported by Pierre-David Pfister.
6288f0ca 9961 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
9962 name and open parenthesis, bug317.
9963 Reported by Pierre-David Pfister.
6288f0ca
WS
9964 (verilog-simplify-range-expression): Fix simplification of
9965 multiplications inside AUTOWIRE connections, bug303.
9966 (verilog-auto-inst-port): Support parameter expansion in
9967 multidimensional arrays.
9968 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9969 after "assert property". Reported by Julian Gorfajn.
9970 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9971 with multiplication, bug303.
9972 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9973 Reported by Jan Frode Lonnum.
9974
1bbe96b2
GM
99752011-11-30 Juanma Barranquero <lekktu@gmail.com>
9976
9977 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9978 (hfy-shell-file-name, hfy-shell):
9979 * international/fontset.el (x-decompose-font-name): Fix typos.
9980
99812011-11-29 Ken Brown <kbrown@cornell.edu>
9982
9983 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9984 (gdb-version): Remove defvar.
9985 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9986 (gdb-gud-context-command, gdb-non-stop-handler)
9987 (gdb-current-context-command, gdb-stopped): Use it.
9988 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
9989 (gdb-non-stop-handler): Don't enable pretty-printing here.
9990 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
9991 non-stop mode. Use the following.
9992 (gdb-check-target-async): New defun.
9993 (gud-watch, gdb-stopped): Fix whitespace.
9994 (gdb-get-source-file): Don't try to display the source file if
9995 `gdb-main-file' is nil.
9996
99972011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * align.el: Try to generate fewer markers (bug#10047).
10000 (align--set-marker): New macro.
10001 (align-region): Use it.
10002
c935221f
SM
100032011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10004
10005 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10006
e70b5064
CY
100072011-11-29 Chong Yidong <cyd@gnu.org>
10008
10009 * indent.el (indent-for-tab-command, indent-according-to-mode):
10010 Doc fix.
10011 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10012
f3af92b7
MA
100132011-11-29 Michael Albinus <michael.albinus@gmx.de>
10014
10015 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10016 aware of remote file names. (Bug#10124)
10017
ed472be9
CY
100182011-11-29 Chong Yidong <cyd@gnu.org>
10019
10020 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10021
24510c22
SM
100222011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * files.el (find-file): Don't use force-same-window (bug#10144).
10025 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10026 use pop-to-buffer if the selected window can't be used.
10027 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10028
c60c3703
EZ
100292011-11-28 Eli Zaretskii <eliz@gnu.org>
10030
10031 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10032 special-mode-map.
10033
e95def75
CY
100342011-11-28 Chong Yidong <cyd@gnu.org>
10035
10036 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10037
c3f1c606
NR
100382011-11-27 Nick Roberts <nickrob@snap.net.nz>
10039
10040 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10041 gdb-get-source-file-list on gdb-create-source-file-list.
10042
00db469c
EZ
100432011-11-26 Eli Zaretskii <eliz@gnu.org>
10044
10045 * whitespace.el (whitespace-newline): Use a different foreground
10046 color for 16-color light-background displays.
10047
4ad3bc2a
CY
100482011-11-24 Chong Yidong <cyd@gnu.org>
10049
10050 * window.el (display-buffer--special-action): Doc fix.
10051
e9fce1ac
JB
100522011-11-25 Juanma Barranquero <lekktu@gmail.com>
10053
10054 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10055 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10056 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10057 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10058 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10059 (avl-tree-stack-first):
10060 * emacs-lisp/cconv.el (cconv--analyse-use):
10061 * net/gnutls.el (gnutls-negotiate): Fix typos.
10062
cb825e5d
GM
100632011-11-24 Glenn Morris <rgm@gnu.org>
10064
3adbe224
GM
10065 * lpr.el (lpr-windows-system, lpr-lp-system):
10066 * mail/binhex.el (binhex-begin-line):
10067 * progmodes/grep.el (grep-history, grep-find-history):
10068 * textmodes/flyspell.el:
10069 * vc/pcvs-defs.el (cvs-global-menu):
10070 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10071 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10072 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10073
321decc8
GM
10074 * net/tls.el: Fix case of "GnuTLS".
10075
420b63ad
GM
10076 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10077
cb825e5d
GM
10078 * version.el (emacs-build-system): Give it a doc-string.
10079
a0649f08
JL
100802011-11-24 Juri Linkov <juri@jurta.org>
10081
10082 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10083
c0bc0fd4
GM
100842011-11-24 Glenn Morris <rgm@gnu.org>
10085
10086 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10087 if called on a non-mime message just toggle the headers. (Bug#8006)
10088
20db1522
JB
100892011-11-24 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10092 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10093 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10094 (allout-rebullet-heading, allout-open-sibtopic)
10095 (allout-toggle-current-subtree-encryption)
10096 (allout-toggle-subtree-encryption, allout-encrypt-string)
10097 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10098 (allout-distinctive-bullets-string, allout-auto-activation):
10099 * window.el (window-normalize-buffer-to-display):
10100 * progmodes/verilog-mode.el (verilog-batch-indent):
10101 * textmodes/bibtex.el (bibtex-field-braces-opt)
10102 (bibtex-field-strings-opt):
10103 * vc/cvs-status.el (cvs-tree-merge):
10104 Fix typos.
10105
7262a87c
MA
101062011-11-23 Michael Albinus <michael.albinus@gmx.de>
10107
10108 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10109 `non-essential' to t, in order to avoid remote connections.
10110
283430a1
EZ
101112011-11-23 Eli Zaretskii <eliz@gnu.org>
10112
a1beca85
SM
10113 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10114 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10115 case-insensitively.
10116
d2992a38
ML
101172011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10118
10119 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10120
50419064
GM
101212011-11-23 Glenn Morris <rgm@gnu.org>
10122
da94eca1
GM
10123 * paths.el (rmail-file-name): Reformat the doc-string so that it
10124 is picked up.
10125
9aac4de2
GM
10126 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10127 (rmail-auto-file): Ignore case in the "special" field names,
10128 as mail-fetch-field does for all others.
10129
8038d2d2
GM
10130 * mail/rmail.el (rmail-forward):
10131 * mail/rmailkwd.el (rmail-set-label):
10132 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10133 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10134
f3fe222a
GM
10135 * mail/rmail.el (rmail-current-message): Doc fix.
10136
50419064
GM
10137 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10138
28109f49
SM
101392011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10140
10141 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10142
394c65f1
GM
101432011-11-22 Glenn Morris <rgm@gnu.org>
10144
10145 * mail/rmailmm.el (test-rmail-mime-handler)
10146 (test-rmail-mime-bulk-handler)
10147 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10148
f2a0aa3a
JL
101492011-11-21 Juri Linkov <juri@jurta.org>
10150
1154d12e
JB
10151 * calc/calc.el (calc-read-key-sequence):
10152 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10153
9c34a344
LMI
101542011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10155
10156 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10157 Tell the caller that the next line needs recomputation, even
10158 though it doesn't start a sexp (bug#10094).
10159
f04a3be9
SM
101602011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10163
7978747f
SM
101642011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10165
f04a3be9
SM
10166 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10167 Use force-same-window.
7978747f 10168
fe7a3057
JB
101692011-11-20 Juanma Barranquero <lekktu@gmail.com>
10170
10171 * descr-text.el (describe-char-unicode-data):
10172 * json.el (json-string-escape):
10173 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10174 (Footnote-unicode, Footnote-style-p):
10175 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10176
24901d61
CY
101772011-11-20 Chong Yidong <cyd@gnu.org>
10178
10179 * window.el (replace-buffer-in-windows): Restore interactive spec.
10180
bac7ff22
SM
101812011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10182
24f3d7b9
SM
10183 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10184
bac7ff22
SM
10185 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10186 (byte-compile-global-not-obsolete-vars): New var.
10187 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10188 Use it.
10189 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10190
cd1181db
JB
101912011-11-20 Juanma Barranquero <lekktu@gmail.com>
10192
10193 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10194 * progmodes/pascal.el (electric-pascal-equal):
10195 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10196 * xml.el (xml-substitute-special): Fix typos.
10197
7fb18e9e
GM
101982011-11-20 Glenn Morris <rgm@gnu.org>
10199
10200 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10201 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10202 Doc fixes.
10203 (rmail-decode-mime-charset): Mark as obsolete.
10204
10205 * mail/rmailsum.el (rmail-message-regexp-p-1):
10206 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10207 Before using mime functions, check they are set. (Bug#10077)
10208
d5a6b3ba
JL
102092011-11-19 Juri Linkov <juri@jurta.org>
10210
10211 * info.el (Info-finder-find-node): Use `package--builtins' instead
10212 of `package-alist'. Use node names formed by the pattern "Keyword "
10213 and the keyword name.
10214
e981b61f
AS
102152011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10216
1d00653d 10217 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10218
3ffbc301
JL
102192011-11-19 Juri Linkov <juri@jurta.org>
10220
10221 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10222 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10223 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10224 `old-history', `old-history-forward'. Add let-binding
10225 `window-selected'. Remove calls to `kill-buffer',
10226 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10227 before calling `Info-find-node', so `Info-find-node-2' will reread
10228 the Info file. Restore window positions only when `window-selected'
10229 is non-nil.
10230
30c62133
JL
102312011-11-19 Juri Linkov <juri@jurta.org>
10232
10233 * isearch.el (isearch-lazy-highlight-new-loop):
10234 Remove condition `(not isearch-error)'. (Bug#9918)
10235
10236 * misearch.el (multi-isearch-search-fun): Add condition
10237 `(not bound)' to ignore lazy-highlighting search.
10238 Add the search-failed message "end of multi" when the end of
10239 multi-sequence is reached. Uncapitalize the search-failed
10240 message "Repeat for next buffer".
10241
10242 * info.el (Info-search): Add the search-failed message
10243 "end of the manual" when the end of the manual is reached
10244 in Isearch mode.
10245
645ca9cf
JL
102462011-11-19 Juri Linkov <juri@jurta.org>
10247
10248 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10249 Use non-destructive `remove' instead of `delete' because
10250 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10251 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10252
df754f66
JL
102532011-11-19 Juri Linkov <juri@jurta.org>
10254
10255 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10256 to nil instead of binding `search-ring' and `regexp-search-ring'.
10257 (Bug#9185)
10258
0e23d96a
EZ
102592011-11-19 Eli Zaretskii <eliz@gnu.org>
10260
10261 * simple.el (line-move): Force movement by logical lines for any
10262 hscrolled window, not only when auto-hscroll-mode is on.
10263 (line-move-visual): Update doc string to that effect. (Bug#10076)
10264
8a6ccb66
AS
102652011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10266
10267 * language/european.el (macintosh): Define as alias for mac-roman.
10268
49ae5b39
EZ
102692011-11-19 Eli Zaretskii <eliz@gnu.org>
10270
10271 * mail/rmailmm.el (rmail-mime-display-header)
10272 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10273 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10274 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10275 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10276 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10277 of a raw aref.
10278 (rmail-mime-entity-segment): To get past the tagline, move forward
10279 2 more lines, to account for the 2 empty lines that precede and
10280 follow the line with the buttons.
10281 (rmail-mime-update-tagline): Move one more line, to get past the
10282 empty line that follows the buttons in the tagline. (Bug#9520)
10283
c56cad4a
MR
102842011-11-19 Martin Rudalics <rudalics@gmx.at>
10285
10286 * window.el (window-max-delta-1, window-min-delta-1)
10287 (window-min-size-1, window-state-get-1, window-state-put-1)
10288 (window-state-put-2): Use "window--" prefix.
10289
cbe71af3
SM
102902011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10291
2ad52c60
SM
10292 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10293 (smie-warning-count): New var.
10294 (smie-set-prec2tab): Use it.
10295 (smie-bnf->prec2): Improve warnings. Add docstring.
10296 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10297 (smie-bnf--set-class): New function.
10298 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10299 corner case.
10300
6944dbc1
SM
10301 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10302 (compilation-error-properties, compilation-move-to-column):
10303 Handle compilation-first-column while in the target buffer.
10304
c400c4d7
SM
10305 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10306 Don't hardcode point-min==1.
10307
6dbe3e96
SM
10308 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10309 (eshell-rewrite-for-command): Remove workaround.
10310 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10311 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10312 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10313
cbe71af3
SM
10314 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10315
a8e1496d
GM
103162011-11-17 Glenn Morris <rgm@gnu.org>
10317
10318 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10319 Ignore buffer-local generated-autoload-file if it is the same
10320 as the global value. (Bug#10049)
10321
df85d315
JB
103222011-11-17 Juanma Barranquero <lekktu@gmail.com>
10323
10324 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10325 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10326 (reftex-toc-previous-heading, reftex-toc-max-level)
10327 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10328 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10329 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10330 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10331 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10332 (reftex-toc-rename-label, reftex-toc-visit-location)
10333 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10334 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10335 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10336 leaving "*toc*" only for references to the buffer.
10337
a0c2d0ae
MR
103382011-11-17 Martin Rudalics <rudalics@gmx.at>
10339
10340 * window.el (window-resize, delete-window, split-window):
10341 Replace window-splits by window-combination-resize.
1d00653d 10342 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10343
35c0bac8
GM
103442011-11-17 Glenn Morris <rgm@gnu.org>
10345
10346 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10347 Make bash entry derive from sh entry, not shell entry.
10348
d0c8fc8a
MA
103492011-11-16 Michael Albinus <michael.albinus@gmx.de>
10350
7262a87c
MA
10351 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10352 local file name.
10353
7877f373
JB
103542011-11-16 Juanma Barranquero <lekktu@gmail.com>
10355
10356 * menu-bar.el (menu-bar-file-menu):
10357 * printing.el (pr-ps-utility):
10358 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10359 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10360 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10361 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10362 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10363 (icalendar--convert-cyclic-to-ical)
10364 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10365 (icalendar--convert-ical-to-diary)
10366 (icalendar--convert-recurring-to-diary)
10367 (icalendar--convert-non-recurring-all-day-to-diary)
10368 (icalendar-import-format-sample):
10369 * progmodes/idlw-shell.el (idlwave-shell-mode):
10370 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10371 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10372 (vhdl-ps-print-init): Fix typos.
10373
10649b82
KM
103742011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10375
9d0cfcd6
GM
10376 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10377 FSF and collapse date sequence, obscure author/maintainer email address
10378 better, remove extra version line, track relocation of author's webpage.
10649b82 10379
9d0cfcd6
GM
10380 * progmodes/python.el (python-pdbtrack-input-prompt)
10381 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10382 regular python pdb prompts. Adjustments shamelessly taken exactly as
10383 suggested in EmacsWiki page (tiny change):
10384 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10385
58179cce
JB
103862011-11-16 Juanma Barranquero <lekktu@gmail.com>
10387
10388 * expand.el (expand-pos, expand-index, expand-point):
10389 Remove redundant info from docstring.
10390 (expand-add-abbrevs): Doc fix.
10391 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10392 (expand-sample-perl-mode-expand-list): Fix typos.
10393
10394 * net/dbus.el (dbus-event-member-name):
10395 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10396 * term/pc-win.el (msdos-create-frame-with-faces):
10397 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10398
b6f67890
MR
103992011-11-16 Martin Rudalics <rudalics@gmx.at>
10400
10401 * window.el (split-window, window-state-get-1)
10402 (window-state-put-1, window-state-put-2): Rename occurrences of
10403 window-nest to window-combination-limit.
1d00653d 10404 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10405
ce7ddba0
CY
104062011-11-16 Chong Yidong <cyd@gnu.org>
10407
10408 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10409 regexp (Bug#10033).
10410
3ae704f4
SM
104112011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10412
10413 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10414 `completing-read' will remove *Completions* and will preserve
10415 current-buffer for us.
10416 (tmm-add-prompt): Users of *Completions* will always (re)set its
10417 major mode.
10418 (tmm-old-comp-map): Remove.
10419
6ad1cdde
GM
104202011-11-16 Glenn Morris <rgm@gnu.org>
10421
10422 * mail/rmailedit.el: Require rmailmm when compiling.
10423 (rmail-old-mime-state): New declaration.
10424 (rmail-edit-current-message): If editing a mime message,
10425 edit the "raw" message from the mbox buffer.
10426 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10427
d20faa20
GM
104282011-11-15 Glenn Morris <rgm@gnu.org>
10429
10430 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10431 which wasn't being used. Add optional arg to force given state.
10432 (rmail-mime): Add optional arg to force given state.
10433
c7015153
JB
104342011-11-15 Juanma Barranquero <lekktu@gmail.com>
10435
10436 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10437 * frame.el (display-mm-dimensions-alist):
10438 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10439 (outline-move-subtree-down):
10440 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10441 (newsticker--treeview-do-get-node):
10442 * net/quickurl.el (quickurl-list-buffer-name):
10443 * progmodes/dcl-mode.el (dcl-mode):
10444 * progmodes/gdb-mi.el (gdb-mapcar*):
10445 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10446
45261b50
GM
104472011-11-15 Glenn Morris <rgm@gnu.org>
10448
10449 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10450 in a boolean sense, so just make it a boolean, and fix the doc.
10451 (rmail-show-mime-function, rmail-mime-feature)
10452 (rmail-require-mime-maybe): Doc fixes.
10453 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10454
10455 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10456
0d26e0b6
JB
104572011-11-15 Juanma Barranquero <lekktu@gmail.com>
10458
10459 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10460 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10461 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10462 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10463
447f30f6
GM
104642011-11-15 Glenn Morris <rgm@gnu.org>
10465
672b871d
GM
10466 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10467 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10468 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10469 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10470 (rmail-mime, rmail-show-mime): Doc fixes.
10471
f6aa5bb1
GM
10472 * term/ns-win.el (mode-line-frame-identification):
10473 Leave it alone. (Bug#10051)
10474
947cd66b
GM
10475 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10476
447f30f6
GM
10477 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10478 Handle empty buffers. (Bug#9978)
10479
0b381c7e
JB
104802011-11-14 Juanma Barranquero <lekktu@gmail.com>
10481
10482 * international/mule.el (define-charset):
10483 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10484 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10485 * progmodes/verilog-mode.el (verilog-backward-token):
10486 * textmodes/ispell.el (lookup-words):
10487 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10488
71e027ac
GM
104892011-11-14 Glenn Morris <rgm@gnu.org>
10490
56632ce4
GM
10491 * progmodes/executable.el
10492 (executable-make-buffer-file-executable-if-script-p):
10493 Handle file-modes returning nil.
10494
40500957
GM
10495 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10496 message - not necessary, and causes problems. (Bug#9831)
10497
071c2340
GM
10498 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10499
d3cfca60
GM
10500 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10501
71e027ac
GM
10502 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10503 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10504 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10505
89d61221
MR
105062011-11-12 Martin Rudalics <rudalics@gmx.at>
10507
10508 * window.el (window-resize, delete-window): Use window-splits
10509 variable instead of function.
10510 (window-state-get-1, window-state-put-2, window-state-put):
10511 Don't deal with windows' splits status.
10512
98282f6f
GM
105132011-11-12 Glenn Morris <rgm@gnu.org>
10514
10515 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10516 (apropos-documentation): Doc fixes.
10517
40a8bdf6
JB
105182011-11-11 Juanma Barranquero <lekktu@gmail.com>
10519
10520 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10521 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10522
65bd19ff
SM
105232011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10524
10525 * electric.el (electric-indent-post-self-insert-function): Make it
10526 possible for a char to only indent in some circumstances.
10527 (electric-indent-mode): Simplify.
10528
54f9154c
MR
105292011-11-11 Martin Rudalics <rudalics@gmx.at>
10530
10531 * window.el (windows-with-parameter): Remove unused function.
10532 (windows-at-side): Rename to window-at-side-list.
10533 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10534 (window-side-check, window-size-ignore, window-size-fixed-1)
10535 (window-in-direction-2): Prefix with "window--".
10536 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10537
68cbc58b
GM
105382011-11-11 Glenn Morris <rgm@gnu.org>
10539
10540 * subr.el (eval-after-load): If FILE is already loaded,
10541 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10542
b2621720
GM
105432011-11-10 Glenn Morris <rgm@gnu.org>
10544
9a4de110
GM
10545 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10546 Call svn via vc-svn-command rather than vc-do-command.
10547 (vc-svn-command): Add --non-interactive. (Bug#9993)
10548 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10549
b2621720
GM
10550 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10551 Add toggle-read-only. (Bug#7292)
10552 * files.el (toggle-read-only): Mention that it should only
10553 be used interactively. (Bug#10006)
10554
1dce7193
SM
105552011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10556
d9ac1a1e
SM
10557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10558 Adjust regexp for OCaml warnings.
10559
0c325082
SM
10560 * electric.el (electric-pair-post-self-insert-function): Let user
10561 turn it off buffer-locally (bug#9932).
10562
90132c14
SM
10563 * progmodes/python.el (python-beginning-of-statement):
10564 Rewrite (bug#2703).
10565
1dce7193
SM
10566 * progmodes/compile.el: Better handle TABs (bug#9749).
10567 (compilation-internal-error-properties)
10568 (compilation-next-error-function): Obey the target buffer's
10569 compilation-error-screen-columns.
10570
c4e7c63a
JB
105712011-11-09 Juanma Barranquero <lekktu@gmail.com>
10572
10573 * progmodes/meta-mode.el: Remove obsolete comments.
10574 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10575 Fix typos in docstrings.
10576
2cffd681
MR
105772011-11-09 Martin Rudalics <rudalics@gmx.at>
10578
10579 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 10580 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
10581 (window--resizable): New function. Make all callers of
10582 window-resizable call window--resizable instead.
10583 (window-resizable): Rewrite in terms of window--resizable.
10584
0edcba87
GM
105852011-11-08 Glenn Morris <rgm@gnu.org>
10586
10587 * progmodes/delphi.el (delphi-mode-syntax-table):
10588 Let define-derived-mode define a proper syntax table. (Bug#9994)
10589
4b0d61e3
SM
105902011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * window.el: Stay away from defsubst.
10593 (window-list-no-nils): Remove.
10594 (window-state-get-1, window-state-get): Use backquote instead.
10595
cd394be1 105962011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 10597
4b0d61e3 10598 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10599 Fix incorrect use of default argument in `completing-read'.
10600
e1c2c6f2
MR
106012011-11-08 Martin Rudalics <rudalics@gmx.at>
10602
10603 * window.el (display-buffer-function, special-display-function):
10604 Mention display-buffer-record-window but do not mention
10605 help-setup parameter in doc-strings.
b3f4a882 10606 (window-min-delta): Fix doc-string typo.
e1c2c6f2 10607
105216ed
CY
106082011-11-08 Chong Yidong <cyd@gnu.org>
10609
10610 * window.el (window-total-height, window-total-width): Doc fix.
10611 (window-body-size): Move from C.
10612 (window-body-height, window-body-width): Move to C.
10613
0a9f9ab5
SM
106142011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10615
10616 * window.el: Make special-display like display-buffer-alist (bug#9532).
10617 (display-buffer--special-action): New function, morphed
10618 from display-buffer--special.
10619 (display-buffer): Use it to handle special-display-buffers at higher
10620 priority (just after display-buffer-alist).
10621 (display-buffer-fallback-action, display-buffer--other-frame-action)
10622 (pop-to-buffer-same-window): Remove display-buffer--special.
10623
a769dd15
GM
106242011-11-07 Glenn Morris <rgm@gnu.org>
10625
10626 * calendar/cal-menu.el (cal-menu-set-date-title):
10627 Do nothing if not in a calendar. (Bug#9976)
10628
05a61ee3
SM
106292011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10630
10631 * files.el (find-file): Always use selected-window.
10632
be7f5545
MR
106332011-11-07 Martin Rudalics <rudalics@gmx.at>
10634
10635 * window.el (window-combinations): Make WINDOW argument
10636 mandatory. Rewrite doc-string.
10637 (walk-window-subtree, window-atom-check, window-min-delta)
10638 (window-max-delta, window--resize-this-window)
10639 (window--resize-root-window-vertically, window-tree)
10640 (balance-windows, window-state-put): Rewrite doc-strings as to
10641 not mention the term "subwindow".
10642 (window--resize-subwindows-skip-p): Rename to
10643 window--resize-child-windows-skip-p.
10644 (window--resize-subwindows-normal): Rename to
10645 window--resize-child-windows-normal.
10646 (window--resize-subwindows): Rename to
10647 window--resize-child-windows.
10648 (window-or-subwindow-p): Rename to window--in-subtree-p.
10649
3c6702ef
ML
106502011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10651
10652 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10653 Ensure that mbox format messages end in two newlines (Bug#9974).
10654
49745b39
CY
106552011-11-06 Chong Yidong <cyd@gnu.org>
10656
10657 * window.el (window-combination-p): Function deleted; its
10658 side-effect is not used in any existing code.
10659 (window-combinations, window-combined-p): Call window-*-child
10660 directly.
10661
24300f5f
CY
106622011-11-05 Chong Yidong <cyd@gnu.org>
10663
10664 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
10665 (window-size-ignore, window-state-get): Callers changed.
10666 (window-normalize-window): Rename from window-normalize-any-window.
10667 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 10668 (window-normalize-live-window): Delete.
447f16b8
CY
10669 (window-combination-p, window-combined-p, window-combinations)
10670 (walk-window-subtree, window-atom-root, window-min-size)
10671 (window-sizable, window-sizable-p, window-size-fixed-p)
10672 (window-min-delta, window-max-delta, window-resizable)
10673 (window-resizable-p, window-full-height-p, window-full-width-p)
10674 (window-current-scroll-bars, window-point-1, set-window-point-1)
10675 (window-at-side-p, window-in-direction, window-resize)
10676 (adjust-window-trailing-edge, maximize-window, minimize-window)
10677 (window-deletable-p, delete-window, delete-other-windows)
10678 (record-window-buffer, unrecord-window-buffer)
10679 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10680 (quit-window, split-window, window-state-put)
10681 (set-window-text-height, fit-window-to-buffer)
10682 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 10683
89bd5ee1
EZ
106842011-11-04 Eli Zaretskii <eliz@gnu.org>
10685
53479029
EZ
10686 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10687 rfc2047-decode-string.
10688 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10689 warnings.
10690
89bd5ee1
EZ
10691 * window.el (window-body-height, window-body-width): Mention in
10692 the doc string that the return values are in frame's canonical
10693 units. (Bug#9949)
10694
bd17fdee
AM
106952011-11-03 Alan Mackenzie <acm@muc.de>
10696
10697 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10698 change in cc-engine.el.
10699
acc825c5
SM
107002011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10703
1885e5b8
MR
107042011-11-02 Martin Rudalics <rudalics@gmx.at>
10705
10706 * window.el (quit-window): Call unrecord-window-buffer after
10707 showing another buffer in the window. (Bug#9937)
acc825c5 10708 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 10709
ebe06da9
JB
107102011-11-02 Juanma Barranquero <lekktu@gmail.com>
10711
10712 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10713 Accept status with more than 9 shelves. (Bug#9935)
10714 Reported by Colin D Bennett <colin@gibibit.com>.
10715
4ee88440
MR
107162011-11-01 Martin Rudalics <rudalics@gmx.at>
10717
10718 * help.el (with-help-window): Don't reference
10719 temp-buffer-show-specifiers in doc-string.
10720
08e1d82c
AS
107212011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10722
10723 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10724 menu-item.
10725
84bd6e9e
VJL
107262011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10727
10728 * whitespace.el: New version 13.2.2.
10729 (whitespace-newline-mode): Disable properly. Reported by Sarah
10730 <EmacsWiki>.
10731
dba0634a
UJ
107322011-10-30 Ulf Jasper <ulf.jasper@web.de>
10733
10734 * net/newst-treeview.el: Remove "Time-stamp".
10735 (newsticker--group-manage-orphan-feeds): Do not call
10736 newsticker--treeview-tree-update.
db22a3c2
JB
10737 (newsticker-treeview-update, newsticker-treeview):
10738 Call newsticker--treeview-tree-update if necessary.
dba0634a 10739
3d8daefe
MR
107402011-10-30 Martin Rudalics <rudalics@gmx.at>
10741
10742 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
10743 (window-iso-combinations): Remove "iso-" infix.
10744 Suggested by Chong Yidong.
3d8daefe
MR
10745 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10746 (window-max-delta-1, window-resize, window--resize-siblings)
10747 (window--resize-this-window, adjust-window-trailing-edge)
10748 (split-window, balance-windows-1)
10749 (shrink-window-if-larger-than-buffer):
10750 * calendar/calendar.el (calendar-generate-window):
db22a3c2 10751 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 10752
1bc4c3ae
SM
107532011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10754
10755 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10756 in place (bug#9907).
10757 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10758 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10759 (eshell-structure-basic-command, eshell-rewrite-while-command)
10760 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10761 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10762 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10763 (eshell-do-pipelines-synchronously, eshell-eval-command):
10764 Use backquotes and prefer setq to set.
10765 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10766 (eshell-macrop): Use functionp.
c1e2f5fa 10767 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 10768
30b65d9c
CY
107692011-10-30 Chong Yidong <cyd@gnu.org>
10770
10771 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10772 instead of set-mark (Bug#9810).
10773
2d197ffb
CY
107742011-10-30 Chong Yidong <cyd@gnu.org>
10775
10776 * window.el (split-window-below, split-window-right): Rename from
10777 split-window-above-each-other and split-window-side-by-side
10778 respectively. All callers changed.
10779 (split-window-sensibly, split-window-sensibly): Use them.
10780 (split-window-keep-point): Doc fix.
10781
10782 * isearch.el: Add isearch-scroll property to split-window-below
10783 and split-window-right.
10784
10785 * follow.el (follow-mode):
10786 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10787 * progmodes/ada-xref.el (ada-gdb-application):
10788 * emulation/vip.el (vip-buffer-in-two-windows):
10789 * image-dired.el (image-dired-dired-with-window-configuration):
10790 * dired-x.el (dired-do-find-marked-files):
10791 * dired.el (dired-pop-to-buffer):
10792 * bs.el (bs--show-with-configuration):
10793 * vc/emerge.el (emerge-setup-windows):
10794 * textmodes/two-column.el (2C-two-columns):
10795 * textmodes/reftex-toc.el (reftex-toc):
10796 * progmodes/gdb-mi.el (gdb-setup-windows):
10797 * progmodes/fortran.el (fortran-window-create):
10798 * net/newst-treeview.el (newsticker--treeview-window-init):
10799 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10800 * emulation/tpu-edt.el (tpu-gold-map):
10801 * emulation/crisp.el (crisp-mode-map):
10802 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10803
38bb2ca8
CY
108042011-10-29 Chong Yidong <cyd@gnu.org>
10805
aa4de341
CY
10806 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10807
e1eb5385
CY
10808 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10809
5d2ece3c
CY
10810 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10811 forged Ispell output (Bug#7904).
10812
38bb2ca8
CY
10813 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10814
d0af9f77
SM
108152011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10816
10817 * doc-view.el: Avoid ugly errors about not finding nil.
10818 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10819 (doc-view-dvipdf-program, doc-view-unoconv-program)
10820 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10821 Avoid nil or absolute file name as default value.
10822 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10823
52bedd34
AM
108242011-10-28 Alan Mackenzie <acm@muc.de>
10825
db22a3c2 10826 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 10827
7e43cfa5
AM
108282011-10-28 Alan Mackenzie <acm@muc.de>
10829
10830 Amend the handling of c-beginning/end-of-defun in nested declaration
10831 scopes.
10832
52bedd34
AM
10833 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10834 cc-langs.el. Change it to a defcustom.
7e43cfa5 10835
52bedd34
AM
10836 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10837 cc-vars.el.
7e43cfa5 10838
d0af9f77
SM
10839 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10840 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 10841
52bedd34 10842 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 10843 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
10844 (c-widen-to-enclosing-decl-scope): New function.
10845 (c-while-widening-to-decl-block): New macro.
10846 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10847 outward for defun boundaries, and correspondingly change symbol
10848 `respect-enclosure' to `go-outward'.
10849 (c-declaration-limits): Change algorithm to report only the "innermost"
10850 defun's boundaries.
10851
1a2ce9ee
DD
108522011-10-28 Deniz Dogan <deniz@dogan.se>
10853
10854 * net/rcirc.el (rcirc-mode): Use hard newlines.
10855
bc97a826
AM
108562011-10-28 Alan Mackenzie <acm@muc.de>
10857
10858 Amend to indent and fontify macros "which include their own semicolon"
10859 correctly, using the "virtual semicolon" mechanism.
10860
52bedd34 10861 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 10862
d0af9f77 10863 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 10864 Recode to scan one line at a time rather than having \n and \r
58179cce 10865 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 10866 (c-forward-label): Amend for virtual semicolons.
58179cce 10867 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 10868
52bedd34
AM
10869 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10870 of the new C macros.
bc97a826 10871
52bedd34 10872 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
10873 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10874 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
10875 (c-opt-cpp-macro-define): Make into a full language variable.
10876 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10877 AWK Mode (including \n, \r) removed, no longer needed.
10878
d0af9f77
SM
10879 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10880 Invoke c-make-macro-with-semi-re.
bc97a826 10881
52bedd34
AM
10882 * progmodes/cc-vars.el (c-macro-with-semi-re):
10883 (c-macro-names-with-semicolon): New variables.
58179cce 10884 (c-make-macro-with-semi-re): New function.
bc97a826 10885
7a6c0941
SM
108862011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * vc/log-edit.el: Fill empty field rather than adding new one.
10889 (log-edit-add-field): New function.
10890 (log-edit-insert-changelog): Use it.
10891
b0c4cdcf
ML
108922011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10893
10894 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10895
ee1f1da9
SM
108962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10899 (gdb--check-interpreter): New function.
10900 (gdb): Use it.
10901
51bc5f8b
GM
109022011-10-27 Glenn Morris <rgm@gnu.org>
10903
416a2c45
GM
10904 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10905 (least-positive-float, least-negative-float)
10906 (least-positive-normalized-float, least-negative-normalized-float)
10907 (float-epsilon, float-negative-epsilon):
10908 Remove unnecessary declarations.
10909
10910 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10911 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10912 (least-positive-float, least-negative-float)
10913 (least-positive-normalized-float, least-negative-normalized-float)
10914 (float-epsilon, float-negative-epsilon): Add doc-strings,
10915 based on those in cl.texi.
10916
51bc5f8b
GM
10917 * files.el (set-visited-file-name): If the major-mode changed,
10918 reload the local variables. (Bug#9796)
10919
15de15c6
CY
109202011-10-27 Chong Yidong <cyd@gnu.org>
10921
10922 * subr.el (change-major-mode-after-body-hook): New hook.
10923 (run-mode-hooks): Run it.
10924
ee1f1da9
SM
10925 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10926 Use change-major-mode-before-body-hook.
15de15c6
CY
10927
10928 * simple.el (fundamental-mode):
10929 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10930 change introducing fundamental-mode-hook.
10931
5430d399
JB
109322011-10-26 Juanma Barranquero <lekktu@gmail.com>
10933
acc825c5 10934 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 10935
ad74a69e
MA
109362011-10-26 Michael Albinus <michael.albinus@gmx.de>
10937
10938 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 10939 tramp.el explicitly. (Bug#7583)
ad74a69e 10940
71d4c2a5
SM
109412011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * progmodes/octave-mod.el:
10944 * progmodes/octave-inf.el: Update maintainer.
10945
b1f6fa26
CY
109462011-10-26 Chong Yidong <cyd@gnu.org>
10947
10948 * subr.el (with-wrapper-hook): Rewrite doc.
10949
3f04efd6
MA
109502011-10-25 Michael Albinus <michael.albinus@gmx.de>
10951
10952 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 10953 filenames "/method:foo:". (Bug#9793)
3f04efd6 10954
410488d3
SM
109552011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10958 (bug#9865).
10959
c1ebb47e
GM
109602011-10-24 Glenn Morris <rgm@gnu.org>
10961
10962 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10963
7f5c46c7
MA
109642011-10-24 Michael Albinus <michael.albinus@gmx.de>
10965
10966 * notifications.el: Add the requirement of a running D-Bus session
10967 bus to the Commentary.
10968
db2440b6
JL
109692011-10-24 Juri Linkov <juri@jurta.org>
10970
10971 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10972 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10973 (Bug#9364)
10974
feecf435
JL
109752011-10-24 Juri Linkov <juri@jurta.org>
10976
10977 * info.el (Info-following-node-name-re): Add newline to the list
10978 of allowed characters for leading space. (Bug#9824)
10979
a3839de2
SM
109802011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10981
acc825c5
SM
10982 * progmodes/octave-inf.el (inferior-octave-mode-map):
10983 Fix C-c C-h binding.
a3839de2
SM
10984 * progmodes/octave-mod.el (octave-help): Remove.
10985
09388e76
MA
109862011-10-23 Michael Albinus <michael.albinus@gmx.de>
10987
10988 Sync with Tramp 2.2.3.
10989
10990 * net/tramp-cache.el (top): Pacify byte-compiler using
10991 `init-file-user' and `site-run-file'.
10992
10993 * net/trampver.el: Update release number.
10994
86c60681
CY
109952011-10-23 Chong Yidong <cyd@gnu.org>
10996
10997 * files.el (toggle-read-only): Remove obsolete comment about
10998 version control.
10999
11000 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11001 for toggle-read-only. Note that this hasn't called vc-next-action
11002 since 2008-05-02, though it wasn't documented at the time.
11003
a3839de2
SM
11004 * vc/ediff-init.el (ediff-toggle-read-only-function):
11005 Use toggle-read-only.
86c60681 11006
cd5495ff
AM
110072011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11008
11009 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11010 of c-parse-state.
11011
00b77525 11012 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11013 correct faulty logical expression.
cd5495ff
AM
11014 (c-parse-state-state, c-record-parse-state-state):
11015 (c-replay-parse-state-state): New defvar/defuns.
11016 (c-debug-parse-state): Use new functions.
11017
42ee24ed
MR
110182011-10-22 Martin Rudalics <rudalics@gmx.at>
11019
11020 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11021 last fix. Use window-in-direction correctly.
42ee24ed 11022
a7dee7e7
CY
110232011-10-21 Chong Yidong <cyd@gnu.org>
11024
11025 * progmodes/idlwave.el (idlwave-mode):
11026 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11027 require-final-newline; that's done in prog-mode.
11028 Suggested by Stefan Monnier.
a7dee7e7 11029
e07b9a6d
MR
110302011-10-21 Martin Rudalics <rudalics@gmx.at>
11031
11032 * mouse.el (mouse-drag-window-above)
11033 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11034 (mouse-drag-mode-line-1, mouse-drag-header-line)
11035 (mouse-drag-vertical-line-rightward-window): Remove.
11036 (mouse-drag-line): New function.
11037 (mouse-drag-mode-line, mouse-drag-header-line)
11038 (mouse-drag-vertical-line): Call mouse-drag-line.
11039 * window.el (window-at-side-p, windows-at-side): New functions.
11040
7e1361d9
UM
110412011-10-21 Ulrich Mueller <ulm@gentoo.org>
11042
11043 * tar-mode.el (tar-grind-file-mode):
11044 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11045
30fcaf3a
CY
110462011-10-21 Chong Yidong <cyd@gnu.org>
11047
11048 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11049 * progmodes/vera-mode.el (vera-mode):
11050 Use mode-require-final-newline.
30fcaf3a 11051
516eddb0
GM
110522011-10-20 Glenn Morris <rgm@gnu.org>
11053
db22a3c2 11054 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11055
10d5f513
CS
110562011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11057
11058 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11059
ac6c8639
CY
110602011-10-20 Chong Yidong <cyd@gnu.org>
11061
11062 * emulation/cua-base.el (cua-mode):
11063 * mail/footnote.el (footnote-mode):
11064 * mail/mailabbrev.el (mail-abbrevs-mode):
11065 * net/xesam.el (xesam-minor-mode):
11066 * progmodes/bug-reference.el (bug-reference-mode):
11067 * progmodes/cap-words.el (capitalized-words-mode):
11068 * progmodes/compile.el (compilation-minor-mode)
11069 (compilation-shell-minor-mode):
11070 * progmodes/gud.el (gud-tooltip-mode):
11071 * progmodes/hideif.el (hide-ifdef-mode):
11072 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11073 * progmodes/subword.el (subword-mode):
11074 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11075 * progmodes/which-func.el (which-function-mode):
11076 * term/tvi970.el (tvi970-set-keypad-mode):
11077 * term/vt100.el (vt100-wide-mode):
11078 * textmodes/flyspell.el (flyspell-mode):
11079 * textmodes/ispell.el (ispell-minor-mode):
11080 * textmodes/nroff-mode.el (nroff-electric-mode):
11081 * textmodes/paragraphs.el (use-hard-newlines):
11082 * textmodes/refill.el (refill-mode):
11083 * textmodes/reftex.el (reftex-mode):
11084 * textmodes/rst.el (rst-minor-mode):
11085 * textmodes/sgml-mode.el (html-autoview-mode)
11086 (sgml-electric-tag-pair-mode):
11087 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11088 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11089 * emulation/crisp.el (crisp-mode):
11090 * emacs-lisp/eldoc.el (eldoc-mode):
11091 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11092 minor mode behavior.
11093
aa42ab43
JL
110942011-10-19 Juri Linkov <juri@jurta.org>
11095
11096 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11097 the list of hard-coded chars with escape-glyph face.
11098
89400f1d
SM
110992011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11100
11101 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11102
305c07f6
MA
111032011-10-19 Michael Albinus <michael.albinus@gmx.de>
11104
11105 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11106 running process.
11107
13754b54
GM
111082011-10-19 Glenn Morris <rgm@gnu.org>
11109
11110 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11111 Ignore ignored files. (Bug#9726)
11112
06e21633
CY
111132011-10-19 Chong Yidong <cyd@gnu.org>
11114
11115 Doc fix for minor modes, stating that an omitted argument enables
11116 the mode unconditionally when called from Lisp.
11117
11118 * abbrev.el (abbrev-mode):
11119 * allout.el (allout-mode):
11120 * autoinsert.el (auto-insert-mode):
11121 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11122 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11123 (global-auto-revert-mode):
11124 * battery.el (display-battery-mode):
11125 * composite.el (global-auto-composition-mode)
11126 (auto-composition-mode):
11127 * delsel.el (delete-selection-mode):
11128 * desktop.el (desktop-save-mode):
11129 * dired-x.el (dired-omit-mode):
11130 * dirtrack.el (dirtrack-mode):
11131 * doc-view.el (doc-view-minor-mode):
11132 * double.el (double-mode):
11133 * electric.el (electric-indent-mode, electric-pair-mode):
11134 * emacs-lock.el (emacs-lock-mode):
11135 * epa-hook.el (auto-encryption-mode):
11136 * follow.el (follow-mode):
11137 * font-core.el (font-lock-mode):
11138 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11139 * help.el (temp-buffer-resize-mode):
11140 * hilit-chg.el (highlight-changes-mode)
11141 (highlight-changes-visible-mode):
11142 * hi-lock.el (hi-lock-mode):
11143 * hl-line.el (hl-line-mode, global-hl-line-mode):
11144 * icomplete.el (icomplete-mode):
11145 * ido.el (ido-everywhere):
11146 * image-file.el (auto-image-file-mode):
11147 * image-mode.el (image-minor-mode):
11148 * iswitchb.el (iswitchb-mode):
11149 * jka-cmpr-hook.el (auto-compression-mode):
11150 * linum.el (linum-mode):
11151 * longlines.el (longlines-mode):
11152 * master.el (master-mode):
11153 * mb-depth.el (minibuffer-depth-indicate-mode):
11154 * menu-bar.el (menu-bar-mode):
11155 * minibuf-eldef.el (minibuffer-electric-default-mode):
11156 * mouse-sel.el (mouse-sel-mode):
11157 * msb.el (msb-mode):
11158 * mwheel.el (mouse-wheel-mode):
11159 * outline.el (outline-minor-mode):
11160 * paren.el (show-paren-mode):
11161 * recentf.el (recentf-mode):
11162 * reveal.el (reveal-mode, global-reveal-mode):
11163 * rfn-eshadow.el (file-name-shadow-mode):
11164 * ruler-mode.el (ruler-mode):
11165 * savehist.el (savehist-mode):
11166 * scroll-all.el (scroll-all-mode):
11167 * scroll-bar.el (scroll-bar-mode):
11168 * server.el (server-mode):
11169 * shell.el (shell-dirtrack-mode):
11170 * simple.el (auto-fill-mode, transient-mark-mode)
11171 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11172 (line-number-mode, column-number-mode, size-indication-mode)
11173 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11174 * strokes.el (strokes-mode):
11175 * time.el (display-time-mode):
11176 * t-mouse.el (gpm-mouse-mode):
11177 * tool-bar.el (tool-bar-mode):
11178 * tooltip.el (tooltip-mode):
11179 * type-break.el (type-break-mode-line-message-mode)
11180 (type-break-query-mode):
11181 * view.el (view-mode):
11182 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11183 (global-whitespace-mode, global-whitespace-newline-mode):
11184 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11185
a3839de2
SM
11186 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11187 Fix autogenerated docstring.
06e21633 11188
5214e501
JL
111892011-10-19 Juri Linkov <juri@jurta.org>
11190
11191 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11192 by checking environment variables "DESKTOP_SESSION" and
11193 "XDG_CURRENT_DESKTOP". (Bug#9779)
11194
195f8db9
JL
111952011-10-19 Juri Linkov <juri@jurta.org>
11196
11197 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11198 (browse-url-chromium-program, browse-url-chromium-arguments):
11199 New defcustoms.
11200 (browse-url-default-browser): Check for `browse-url-chromium' and
11201 call `browse-url-chromium-program'.
11202 (browse-url-chromium): New command. (Bug#9779)
11203
343a34ff
JB
112042011-10-18 Juanma Barranquero <lekktu@gmail.com>
11205
11206 * facemenu.el (list-colors-duplicates): On Windows, detect more
11207 duplicates by assuming that only colors matching "^System" are
11208 special "system colors". (Bug#9722)
11209
6978a151
SM
112102011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11213 to distinguish the author from the committer.
11214
6a80b297
MA
112152011-10-18 Michael Albinus <michael.albinus@gmx.de>
11216
11217 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11218
b31a5677
JK
112192011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11220
11221 * international/mule.el (sgml-html-meta-auto-coding-function):
11222 Add support for detecting encoding in HTML5 specified only as
11223 <meta charset="UTF-8">. Implementation just makes http-equiv and
11224 content-type parts from HTML4 encoding string optional. (Bug#9716)
11225
80c6d77f
GM
112262011-10-18 Glenn Morris <rgm@gnu.org>
11227
11228 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11229
08b0fee8
CY
112302011-10-18 Chong Yidong <cyd@gnu.org>
11231
11232 * faces.el (cursor): Doc fix.
11233
67e729a5
CY
112342011-10-17 Chong Yidong <cyd@gnu.org>
11235
11236 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11237
343a34ff 112382011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11239
11240 * dirtrack.el (dirtrack): Support shell buffers with path
11241 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11242
0bc06380
TZ
112432011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11244
11245 * json.el: Bump version to 1.3 and note change in History.
11246 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11247
8b79f3e0
SM
112482011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11249
5a7c536b
SM
11250 * comint.el (comint-insert-input, comint-send-input)
11251 (comint-get-old-input-default, comint-backward-matching-input)
11252 (comint-next-prompt): Use nil instead of `input' for field property of
11253 past user input (bug#114).
11254
96a8a0df
SM
11255 * minibuffer.el (completion--replace): Inherit surrounding properties
11256 (bug#114).
11257 (minibuffer-complete-and-exit): Use it.
11258
8b79f3e0
SM
11259 * comint.el (comint--table-subvert): Quote the all-completions output
11260 (bug#9160).
11261
b8f7ff0d
MR
112622011-10-17 Martin Rudalics <rudalics@gmx.at>
11263
8b79f3e0 11264 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11265
b8f7ff0d 11266 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11267 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11268 entries and separate them from frame entries.
11269
c235b555
GM
112702011-10-15 Glenn Morris <rgm@gnu.org>
11271
11272 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11273 Doc fixes.
11274
6bbfa6e1
CY
112752011-10-15 Chong Yidong <cyd@stupidchicken.com>
11276
8b79f3e0
SM
11277 * net/network-stream.el (network-stream-open-starttls):
11278 Improve detection of failure due to lack of TLS support.
ec5c990d 11279
6bbfa6e1
CY
11280 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11281 putting the input text in front and in bold.
11282
98488977
SM
112832011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11284
3d1337be
SM
11285 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11286
ee0b45e4
SM
11287 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11288 empty buffer.
11289
98488977
SM
11290 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11291 unread-command-events rather than pushing yet-another event.
11292
186f4720
EZ
112932011-10-14 Eli Zaretskii <eliz@gnu.org>
11294
11295 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11296 the explanation of the possible choices. Make the options passed
11297 to completing-read shorter.
11298
8b7a997c
AM
112992011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11300
11301 * textmodes/flyspell.el (flyspell-large-region): Make sure
11302 extended character mode is used if defined (Bug#1339).
11303
12587bbb
EZ
113042011-10-13 Eli Zaretskii <eliz@gnu.org>
11305
11306 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11307 character info for LRE, LRO, RLE, and RLO characters by appending
11308 an invisible PDF.
12587bbb 11309
bad41229
SM
113102011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11311
11312 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11313 even in case of error; add debug spec; simplify data flow.
11314 (with-timeout-handler): Remove.
11315
28dbc92f
MA
113162011-10-12 Michael Albinus <michael.albinus@gmx.de>
11317
11318 Fix Bug#6019, Bug#9315.
11319
11320 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11321 complete `buffer-file-name', the local file name part could look
11322 remotely (for example on VMS).
11323
11324 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11325 `tramp-run-real-handler'.
11326 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11327 already quoted by '"'.
11328
11329 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11330 Let `file-name-handler-alist' be nil, the local file name part
11331 could look remotely (for example on VMS).
11332
e1b0b23a
SM
113332011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11336 from here...
11337 (flyspell-post-command-hook): ...to here.
11338
a120bde9
SM
113392011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11342 if not needed.
11343 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11344 using completion. Protect against "slow" callers.
11345 Remove the "message hack".
11346
7ce7717b
JL
113472011-10-11 Juri Linkov <juri@jurta.org>
11348
11349 * isearch.el (isearch-lazy-highlight-word): New variable.
11350 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11351 Use it. (Bug#9727)
11352
c02ee9d6
GM
113532011-10-11 Glenn Morris <rgm@gnu.org>
11354
11355 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11356 like f90-previous-statement does.
11357
93e616fd 113582011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11359
1f190e73 11360 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11361 only in interactive use, to avoid error.
11362
af7b6078
SM
113632011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11364
11365 * minibuffer.el (completion-file-name-table): Fix last change,
11366 i.e. ignore normal errors but not the other ones.
11367
0563dae9
MR
113682011-10-10 Martin Rudalics <rudalics@gmx.at>
11369
11370 * window.el (special-display-buffer-names)
11371 (special-display-regexps): Remove some remnants of earlier
11372 changes from doc-strings.
366ca7f3
MR
11373 (quit-windows-on): New function.
11374
11375 * vc/vc.el (vc-revert, vc-rollback):
11376 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11377 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11378 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11379
49677495
MR
113802011-10-09 Martin Rudalics <rudalics@gmx.at>
11381
11382 * window.el (frame-auto-hide-function): Add version tag.
11383 (Bug#9699)
11384
56f2d1e1
MA
113852011-10-09 Michael Albinus <michael.albinus@gmx.de>
11386
11387 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11388 condition.
11389
112a6592
LL
113902011-10-09 Leo Liu <sdl.web@gmail.com>
11391
11392 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11393 (Bug#9701)
11394
0812589b
GM
113952011-10-08 Glenn Morris <rgm@gnu.org>
11396
11397 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11398 before the first code statement zero indent. (Bug#9690)
11399
b2b0776e
CY
114002011-10-08 Chong Yidong <cyd@stupidchicken.com>
11401
11402 * simple.el (count-words-region): Always count in the region.
11403 Report the number of lines and characters too.
11404 (count-words): New command, which counts in the buffer if the
11405 region is inactive, as count-words-region used to.
11406 (count-words--message): New function. Handle plurals.
11407 (count-lines-region): Make it an alias for count-words-region.
11408
11409 * bindings.el (esc-map): Replace count-lines-region with
11410 count-words-region.
11411
c557cd6b
MR
114122011-10-08 Martin Rudalics <rudalics@gmx.at>
11413
11414 * window.el (window--delete): Delete dedicated frame
11415 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11416 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11417
61a57ef4 114182011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11419
3a7d293b 11420 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11421
c3833279
CY
114222011-10-07 Chong Yidong <cyd@stupidchicken.com>
11423
11424 * bindings.el ([M-left],[M-right]): Bind to left-word and
11425 right-word respectively.
11426
21ce8245
GM
114272011-10-07 Glenn Morris <rgm@gnu.org>
11428
11429 * cus-start.el (debug-on-quit): Fix custom type.
11430
6d823bb2
LMI
114312011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11432
0181e193
LMI
11433 * subr.el (define-key-after): Clarify that the function is not
11434 useful for non-menu keymaps.
11435
6d823bb2
LMI
11436 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11437
8e3459ce 114382011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11439
21ce8245 11440 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11441 in current minibuffer (Fix bug with recursive minibuffers).
11442
a1c2d21e
CY
114432011-10-06 Chong Yidong <cyd@stupidchicken.com>
11444
11445 * progmodes/gdb-mi.el (gdb): Doc fix.
11446
5a4cf282
MR
114472011-10-05 Martin Rudalics <rudalics@gmx.at>
11448
11449 * window.el (frame-auto-hide-function): New option replacing
11450 frame-auto-delete. Suggested by Stefan Monnier.
11451 (window--delete): Call frame-auto-hide-function instead of
11452 investigating frame-auto-delete.
c96111ea
MR
11453 (window-point-1, set-window-point-1): New functions.
11454 (window-in-direction, record-window-buffer, window-state-get-1)
11455 (display-buffer-record-window): Use window-point-1 instead of
11456 window-point.
11457 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11458
9854542e
SM
114592011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11460
11461 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11462
8943cfb0
GM
114632011-10-05 Glenn Morris <rgm@gnu.org>
11464
11465 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11466 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11467
647ab967
LL
114682011-10-05 Leo Liu <sdl.web@gmail.com>
11469
11470 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11471 works with buffer object.
11472
3ddfbced
SM
114732011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11474
11475 * mpc.el (mpc-tool-bar-map): Add labels.
11476
bdfa5dd2
GM
114772011-10-04 Glenn Morris <rgm@gnu.org>
11478
11479 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11480
0e2070b5
MR
114812011-10-04 Martin Rudalics <rudalics@gmx.at>
11482
11483 * window.el (window--delete): New function.
11484 (frame-auto-delete): Resuscitate option.
11485 (bury-buffer, replace-buffer-in-windows)
11486 (quit-window): Rewrite using window--delete.
11487 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11488 Pass display-buffer-mark-dedicated to window--display-buffer-2
11489 (Bug#9639).
11490
3dc61a09
SM
114912011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11492
915a9b64
SM
11493 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11494 returns a list (bug#9554). Add remote file name completion.
11495 * comint.el (comint--table-subvert): Curry and get quote&unquote
11496 functions as arguments.
11497 (comint--complete-file-name-data): Adjust call accordingly.
11498 * pcomplete.el (pcomplete--table-subvert): Remove.
11499 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11500
3dc61a09
SM
11501 * minibuffer.el (completion-table-case-fold): Use currying.
11502 (completion--styles-type, completion--cycling-threshold-type):
11503 New constants.
11504 (completion-styles, completion-category-overrides)
11505 (completion-cycle-threshold): Use them.
11506 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11507 completion-table-case-fold.
11508
8ea0a993
SB
115092011-10-03 Stephen Berman <stephen.berman@gmx.net>
11510
11511 * minibuffer.el (completion-category-overrides): Fix type of styles
11512 and add more user friendly tags (bug#9660).
11513
8c24b7f6
SM
115142011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11517 (mule-input-method-string): New widget.
11518 (default-input-method, language-info-custom-alist): Use it.
11519
428fe61a
SM
115202011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11521
32c1fffd
SM
11522 * pcomplete.el: Require comint.
11523 (pcomplete--common-suffix): Remove.
11524 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11525 (pcomplete--table-subvert): Sync with comint--table-subvert.
11526 (pcomplete--entries): Use comint-completion-file-name-table.
11527 * comint.el (comint-unquote-filename): Simplify.
11528 (comint-completion-file-name-table): New function (bug#9616).
11529 (comint--complete-file-name-data): Use it.
11530
428fe61a
SM
11531 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11532 (pcmpl-gnu-tar-buffer): Remove.
11533 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11534 around. Make sure pcomplete-suffix-list is only changed temporarily.
11535 Don't look inside the tar's file if it's too large.
428fe61a 11536
04c52e2f
CY
115372011-10-01 Chong Yidong <cyd@stupidchicken.com>
11538
ce3cefcc
CY
11539 * cus-edit.el (custom-mode-map):
11540 * epa.el (epa-key-list-mode-map):
11541 * man.el (Man-mode-map):
11542 * startup.el (splash-screen-keymap):
11543 * simple.el (special-mode-map): Use scroll-up-command and
11544 scroll-down-command.
11545
11546 * progmodes/idlw-help.el (idlwave-help-mode-map):
11547 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11548 * net/newst-plainview.el (newsticker-mode-map):
11549 * emulation/ws-mode.el (wordstar-mode-map):
11550 * emulation/vi.el (vi-com-map):
11551 * calc/calc-graph.el (calc-graph-show-dumb):
11552 * term/sun.el (terminal-init-sun):
11553 * term/ns-win.el (global-map):
11554 * progmodes/grep.el (grep-mode-map):
11555 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11556 * mail/rmail.el (rmail-mode-map):
11557 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11558
04c52e2f
CY
11559 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11560 custom-safe-themes as special.
11561
79adf8c8
JD
115622011-10-01 Julien Danjou <julien@danjou.info>
11563
11564 * notifications.el (notifications-notify): Fix docstring.
11565
63bd50d3
PS
115662011-10-01 Per Starbäck <per@starback.se>
11567
11568 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11569
199e4c7e
MR
115702011-09-30 Martin Rudalics <rudalics@gmx.at>
11571
11572 * startup.el (command-line-1): Fix last fix by inserting
11573 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11574 (Bug#9605) and (Bug#9636)
199e4c7e 11575
fe5f08dd
EZ
115762011-09-29 Eli Zaretskii <eliz@gnu.org>
11577
11578 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11579 window is hscrolled, move by logical lines. (Bug#9607)
11580 (line-move-visual): Update the doc string to the above effect.
11581
b5516bbd
MR
115822011-09-29 Martin Rudalics <rudalics@gmx.at>
11583
ccee00c0
MR
11584 * window.el (display-buffer-record-window): When WINDOW is the
11585 selected window use `point' instead of `window-point'. (Bug#9626)
11586
b5516bbd
MR
11587 * startup.el (command-line-1): Use insert-before-markers when
11588 inserting initial-scratch-message. (Bug#9605)
ccee00c0 11589
b5516bbd
MR
11590 * help.el (help-window): Remove variable.
11591
52aa0014
GM
115922011-09-29 Glenn Morris <rgm@gnu.org>
11593
11594 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11595
df9a7357
JB
115962011-09-29 Juanma Barranquero <lekktu@gmail.com>
11597
11598 * descr-text.el (describe-char-categories): Accept category
11599 descriptions more than one line long.
11600
a8406c20
SM
116012011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11602
88d9610c
SM
11603 * simple.el (delete-trailing-whitespace): Fix last change.
11604
a5daf810
SM
11605 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11606 Don't confuse "y => 3" as the beginning of a `y' operation.
11607
a8406c20
SM
11608 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11609 object has more than 4 slots (bug#9613).
11610
a239d4e9
JB
116112011-09-28 Juanma Barranquero <lekktu@gmail.com>
11612
11613 * subr.el (with-output-to-temp-buffer):
11614 * net/quickurl.el (quickurl, quickurl-browse-url):
11615 Fix typos in docstrings.
11616
693fbdb6
EZ
116172011-09-27 Eli Zaretskii <eliz@gnu.org>
11618
11619 * minibuffer.el (completion-styles)
11620 (completion-category-overrides): Cross reference each other in doc
11621 strings.
11622
8b457e28
GM
116232011-09-27 Glenn Morris <rgm@gnu.org>
11624
11625 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11626 to split-string. (Bug#9606)
11627
85a16208
LMI
116282011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11629
11630 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11631 (bug#9615).
11632
502f9ebd
CY
116332011-09-27 Chong Yidong <cyd@stupidchicken.com>
11634
11635 * emacs-lisp/package.el (list-packages): Fix echo area message.
11636
7690bdea
LL
116372011-09-27 Leo Liu <sdl.web@gmail.com>
11638
11639 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11640
e2ee6f30
MA
116412011-09-25 Michael Albinus <michael.albinus@gmx.de>
11642
11643 * net/dbus.el (dbus-unregister-object): Don't release services for
11644 registered signals. (Bug#9581)
11645
f3f98342
TZ
116462011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11647
11648 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11649 function that picks between cfengine 2 and 3 support
11650 automatically. Update docs accordingly.
11651
dd7aa8dd
KH
116522011-09-22 Kenichi Handa <handa@m17n.org>
11653
11654 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11655 ZERO.
11656 (indian-itrans-v5-table-for-tamil): New variable.
11657 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11658
3f2b07f8
KM
116592011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11660
11661 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11662 that's true if the current command involved collapsing of text.
11663 It's reset to false at the beginning of the next command.
11664 (allout-post-command-business): Move the cursor to the beginning
11665 of entry if the cursor is hidden and collapsing activity just
11666 happened.
11667
371d6a61
CY
116682011-09-24 Chong Yidong <cyd@stupidchicken.com>
11669
11670 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11671 tracking (Bug#9541).
11672
2ac2721a
UJ
116732011-09-24 Ulf Jasper <ulf.jasper@web.de>
11674
11675 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
11676 (newsticker-show-news): Automatically load html rendering package
11677 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11678 because w3m-fill-column is let-bound" and the error "Symbol's value
11679 as variable is void: w3m-fill-column".
2ac2721a 11680
fac7ae53
MA
116812011-09-24 Michael Albinus <michael.albinus@gmx.de>
11682
11683 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11684 Release services only if they are defined. (Bug#9581)
11685
e08b633b
RS
116862011-09-23 Richard Stallman <rms@gnu.org>
11687
e488d29c
RS
11688 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11689 distinguish start of paragraph from start of its text.
11690
19c38752
RS
11691 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11692
e08b633b
RS
11693 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11694 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11695 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11696
0a39f27e
AS
116972011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11698
11699 * international/mule-diag.el (mule-diag): Insert a newline after
11700 each fontset description.
11701
db4e950d
SM
117022011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11703
11704 * simple.el (delete-trailing-whitespace):
11705 Document last change; simplify.
11706
eca3f3ea
PW
117072011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11708
d68e189a
PW
11709 * simple.el (delete-trailing-whitespace): Also delete
11710 extra newlines at the end of the buffer.
11711
eca3f3ea
PW
11712 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11713 (picture-newline): Use forward-line so as to ignore fields.
11714
01c157cc
SM
117152011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11716
11717 * subr.el (with-wrapper-hook): Fix edebug spec.
11718
022de23e
LMI
117192011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11720
11721 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11722 (bug#4538).
11723
91683089
MA
117242011-09-23 Michael Albinus <michael.albinus@gmx.de>
11725
eca3f3ea
PW
11726 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11727 Fix nasty bug using wrong cached values.
91683089 11728
5bdd6fa4
AM
117292011-09-23 Alan Mackenzie <acm@muc.de>
11730
11731 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11732
97adfb97
CY
117332011-09-23 Chong Yidong <cyd@stupidchicken.com>
11734
11735 * window.el (pop-to-buffer): Ensure right window is selected if we
11736 chose another frame.
11737
d4ef2b50
EZ
117382011-09-22 Eli Zaretskii <eliz@gnu.org>
11739
11740 * simple.el (what-cursor-position): Use get-char-property-change
11741 and next-single-char-property-change, to be able to show display
11742 properties that come from overlays as well as text properties.
11743
72258fe5
CY
117442011-09-22 Chong Yidong <cyd@stupidchicken.com>
11745
11746 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11747
11748 * cmuscheme.el (run-scheme, switch-to-scheme):
11749 * cus-edit.el (customize-group, custom-buffer-create)
11750 (customize-browse):
11751 * info.el (info):
11752 * shell.el (shell):
11753 * mail/sendmail.el (mail):
11754 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11755
8f098516
RS
117562011-09-22 Richard Stallman <rms@gnu.org>
11757
11758 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11759 move back only to line beg, don't move back over blank lines.
11760
e74f1bb6
MA
117612011-09-22 Michael Albinus <michael.albinus@gmx.de>
11762
11763 * files.el (copy-directory): Set directory attributes only in case
11764 they could be retrieved from the source directory. (Bug#9565)
11765
bfeef8b6
DK
117662011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11767
11768 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11769 (hs-find-block-beginning, hs-hide-level-recursive):
11770 Ignore strings as well as comments. (Bug#9502)
11771
7e423bb8
AS
117722011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11773
11774 * progmodes/sql.el (sql-comint-postgres):
11775 Convert port number to a string. (Bug#9566)
11776
b4d72fcf
MR
117772011-09-22 Martin Rudalics <rudalics@gmx.at>
11778
11779 * window.el (quit-window): Undedicate window when switching to
11780 previous buffer. Reported by Thierry Volpiatto
11781 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
11782 (special-display-popup-frame): When popping up a new frame reset
11783 its previous buffers to nil. Simplify code.
b4d72fcf 11784
a7b88dc6
MA
117852011-09-21 Michael Albinus <michael.albinus@gmx.de>
11786
11787 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11788 and process filter, as done also in `shell-command'.
11789
cf4eacfd
MR
117902011-09-21 Martin Rudalics <rudalics@gmx.at>
11791
eca3f3ea 11792 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
11793 Call set-window-start with NOFORCE argument t.
11794 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
11795 (quit-window): Reword doc-string. Handle new format of
11796 quit-restore parameter. Don't delete window if it has a
11797 previous buffer we can show instead of the present one.
11798 (display-buffer-record-window): Rewrite using a new format for
11799 the quit-restore window parameter
11800 (special-display-popup-frame, display-buffer-same-window)
11801 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11802 (display-buffer-pop-up-window, display-buffer-use-some-window):
11803 Adapt symbol passed to display-buffer-record-window.
11804 * help.el (help-window-setup): Handle new format of quit-restore
11805 parameter.
11806
8d28cb95
SM
118072011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11808
94ab793f
SM
11809 * faces.el (face-list): Fix docstring (bug#9564).
11810
8d28cb95
SM
11811 * window.el (display-buffer--action-function-custom-type):
11812 Don't include internal functions in the Custom interface.
11813
3820edeb
JL
118142011-09-20 Juri Linkov <juri@jurta.org>
11815
11816 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11817 (Info-forward-node, Info-backward-node, Info-next-preorder)
11818 (Info-last-preorder): Use it. (Bug#9528)
11819
5147931d
JL
118202011-09-20 Juri Linkov <juri@jurta.org>
11821
11822 * info.el (Info-last-preorder): Visit last menu item only when
11823 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11824
cf499a1a
JD
118252011-09-20 Julien Danjou <julien@danjou.info>
11826
11827 * password-cache.el (password-cache-remove): Remove entries even if the
11828 value is nil, so that password with a nil value (negative caching) is
11829 possible to invalidate.
11830
f84e2fe2
LM
118312011-09-20 Lawrence Mitchell <wence@gmx.li>
11832
11833 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11834 all whitespace around breakpoint. (Bug#9553)
11835 (f90-find-breakpoint): Only break at whitespace inside a comment.
11836
78054a46
SM
118372011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 * minibuffer.el (completion-file-name-table): Keep track of errors.
11840 (completion-table-with-predicate): Handle the case where pred1 is nil.
11841 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11842
345083b2
SM
118432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11844
e24e27be
SM
11845 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11846 (debugger-return-value): Signal an error if the debugging context does
11847 not await any return value.
11848
345083b2
SM
11849 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11850 * image-mode.el (image-toggle-display-text)
11851 (image-toggle-display-image): Stay away from evil `intangible'.
11852
08d355e3
LL
118532011-09-19 Leo Liu <sdl.web@gmail.com>
11854
11855 * replace.el (occur-revert-arguments): Make it permanent-local.
11856 (occur-mode): Don't call font-lock-defontify.
11857
f01da43f
CY
118582011-09-19 Chong Yidong <cyd@stupidchicken.com>
11859
11860 * net/ldap.el (ldap-search-internal): Don't push empty search
11861 result (Bug#9508).
11862
b6072fa6
SM
118632011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11866
443d6696
MA
118672011-09-19 Michael Albinus <michael.albinus@gmx.de>
11868
11869 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11870 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11871
7cc6e154
JL
118722011-09-18 Juri Linkov <juri@jurta.org>
11873
11874 * buff-menu.el (Buffer-menu-mode-map):
11875 * dired.el (dired-mode-map):
11876 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11877 (lisp-interaction-mode-map):
11878 * emacs-lisp/package.el (package-menu-mode-map):
11879 * epa.el (epa-key-list-mode-map):
11880 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11881 (menu-bar-options-menu):
11882 * outline.el (outline-mode-menu-bar-map):
11883 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11884 * vc/vc-dir.el (vc-dir-menu-map):
11885 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11886 Capitalize non-function content words in menu item strings.
11887
11888 * dired.el (dired-mode-map): Add menu item for
11889 `image-dired-dired-toggle-marked-thumbs'.
11890
80302a81
JL
118912011-09-18 Juri Linkov <juri@jurta.org>
11892
11893 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11894 to `isearch-case-fold-search' and restore its original value
11895 after the `isearch-mode' call.
11896
46c5cf66
JL
118972011-09-18 Juri Linkov <juri@jurta.org>
11898
11899 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11900 because `zgrep' returns 1 for successful matches (bug#9226).
11901
d18b513b
JL
119022011-09-18 Juri Linkov <juri@jurta.org>
11903
11904 * info.el (Info-extract-menu-node-name): Check the second match
11905 for empty string (second test-case of bug#9528).
11906 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11907 intermediate nodes to the history (first test-case of bug#9528).
11908
72753f87
JL
119092011-09-18 Juri Linkov <juri@jurta.org>
11910
11911 * info.el (Info-mode-syntax-table): New variable.
1154d12e 11912 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 11913
c9384295
JL
119142011-09-18 Juri Linkov <juri@jurta.org>
11915
1154d12e
JB
11916 * info.el (Info-file-supports-index-cookies):
11917 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11918 outputs one more line for long file names (bug#4142).
c9384295 11919
d473dce8
CY
119202011-09-18 Chong Yidong <cyd@stupidchicken.com>
11921
11922 * newcomment.el (comment-normalize-vars): If prompting for
11923 comment-start, set comment-start-skip too (Bug#8424).
11924
2176854d
JB
119252011-09-18 Johan Bockgård <bojohan@gnu.org>
11926
11927 * icomplete.el: Fix previous fix of Bug#5849.
11928 (icomplete-mode): Don't set completion-show-inline-help.
11929 (icomplete-minibuffer-setup): Set completion-show-inline-help
11930 locally during icompletion.
11931
3aace4e4
CY
119322011-09-18 Chong Yidong <cyd@stupidchicken.com>
11933
c940224f
CY
11934 * woman.el (woman2-process-escapes): Don't delete unrecognized
11935 escapes (Bug#7843).
11936
3aace4e4
CY
11937 * files.el (inhibit-first-line-modes-regexps): Add image files.
11938 (hack-local-variables-prop-line): Return nil for malformed
11939 prop-lines (Bug#9044).
11940
710dec63
MA
119412011-09-18 Michael Albinus <michael.albinus@gmx.de>
11942
11943 * net/tramp.el (top): Don't require 'shell.
11944 (tramp-methods): Fix docstring.
11945 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
11946 Return complete remote file name. Handle "smb" case.
11947 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
11948 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11949
11950 * net/tramp-compat.el (top): Require 'shell.
11951
11952 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11953 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11954 `tramp-current-host'.
11955 (tramp-get-remote-tmpdir): Remove.
11956
11957 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11958 `tramp-tmpdir' entries.
11959 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11960 (tramp-smb-handle-file-attributes): Ignore errors.
11961 (tramp-smb-wait-for-output): Check also for process end.
11962
5d5ac8ec
LMI
119632011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11964
11965 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11966 when sending QUIT (bug#9312).
11967
8c0f49f0
CY
119682011-09-17 Chong Yidong <cyd@stupidchicken.com>
11969
11970 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11971 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11972 occur-mode-display-occurrence.
11973 (occur-edit-mode): Add usage message.
11974 (occur-cease-edit): New command.
11975 (occur-after-change-function): Use text properties to find the
11976 position of the prefix text.
11977 (occur-engine): Set stickiness of prefix text properties.
11978
8f1383f7
GM
119792011-09-17 Glenn Morris <rgm@gnu.org>
11980
11981 * progmodes/etags.el (complete-tag):
11982 Fix call to completion-in-region. (Bug#9526)
11983
744ba0e3
JL
119842011-09-17 Juri Linkov <juri@jurta.org>
11985
11986 * textmodes/ispell.el (ispell-word): Add to the error message
11987 the word, ispell program name and current dictionary (bug#9121).
11988 (ispell-tex-arg-end): Capitalize "error" in the error message.
11989
d9bbf400
AS
119902011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11991
11992 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11993 check. (Bug#4251)
11994
8da11505
JL
119952011-09-17 Juri Linkov <juri@jurta.org>
11996
11997 * window.el (window-safe-min-height, window-safe-min-width):
11998 Fix typos (followup to bug#9522).
11999
a91adc7e
SJ
120002011-09-17 Sven Joachim <svenjoac@gmx.de>
12001
12002 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12003
064f328a
EZ
120042011-09-16 Eli Zaretskii <eliz@gnu.org>
12005
12006 * simple.el (line-move): If goal-column is set, move by logical
12007 lines, not by display lines. (Bug#971)
12008 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12009 to reflect the above change.
12010
e69df516
SM
120112011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12012
12013 * image.el (imagemagick-register-types): Use regexp-opt.
12014
cbb0f9ab
CY
120152011-09-15 Chong Yidong <cyd@stupidchicken.com>
12016
12017 * window.el (display-buffer-base-action): Rename from
12018 display-buffer-default-action. Make default value empty.
12019 (display-buffer-overriding-action): Convert to defvar.
12020 (display-buffer-fallback-action): New var.
12021
25322144
CY
120222011-09-15 Chong Yidong <cyd@stupidchicken.com>
12023
12024 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12025 declaration.
12026 (package--add-to-archive-contents): If there is a duplicate entry
12027 with an older version, remove it.
12028 (package-menu-mark-delete, package-menu-mark-install)
12029 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12030 (package-menu-mark-obsolete-for-deletion):
12031 Use package-menu-get-status instead of a regexp search.
25322144
CY
12032 (package-menu-get-status): Use tabulated-list-entry.
12033 (package-menu-mark-upgrades): New command.
d770725a 12034 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12035 (package-menu-execute): Do installation before deletion.
12036 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12037 instead of checking major-mode.
12038 (package-menu--find-upgrades): New function.
12039
7520339c
LMI
120402011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12041
12042 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12043 passwords in the log buffer.
65a046c4
LMI
12044 (smtpmail-process-filter): Update the process marker so that the
12045 "broken by peer" status message is inserted in the right place.
7520339c 12046
d3c30954
SM
120472011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12048
3fe48822
SM
12049 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12050 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12051 bibtex-completion-at-point-function.
12052 (bibtex-completion-at-point-function): Use them.
12053
1b8b3954
SM
12054 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12055
d3c30954
SM
12056 * mpc.el (mpc-constraints-tag-lookup): New function.
12057 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12058 also to browser "album|playlist".
12059
72779976
JL
120602011-09-14 Juri Linkov <juri@jurta.org>
12061
12062 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12063 (isearch-edit-string): Use length of `isearch-string' when
12064 `isearch-fail-pos' returns nil.
12065 (isearch-message): Remove duplicate code and call
12066 `isearch-fail-pos' with arg `t'.
12067
a0bf2bcd
CY
120682011-09-14 Chong Yidong <cyd@stupidchicken.com>
12069
17bb0a2d
CY
12070 * replace.el (occur-mode-goto-occurrence): Don't force using other
12071 window (Bug#9499).
12072
a0bf2bcd
CY
12073 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12074
f678e0b6
MR
120752011-09-14 Martin Rudalics <rudalics@gmx.at>
12076
12077 * window.el (display-buffer-window): Remove.
12078 (display-buffer-record-window): Use help-setup window parameter
12079 instead of variable display-buffer-window.
12080 (display-buffer-function, special-display-buffer-names)
12081 (special-display-function): Mention help-setup parameter instead
12082 of display-buffer-window in doc-string.
d3c30954
SM
12083 * help.el (help-window-setup): New argument help-window.
12084 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12085 Reword some messages.
12086 (with-help-window): Pass window used for displaying the buffer
12087 to help-window-setup. Don't set display-buffer-window.
12088
8e39b2e8
GM
120892011-09-13 Glenn Morris <rgm@gnu.org>
12090
12091 * emacs-lisp/debug.el (debugger-make-xrefs):
12092 Preserve point. (Bug#9462)
12093
85e9c04b
CY
120942011-09-13 Chong Yidong <cyd@stupidchicken.com>
12095
12096 * window.el (window-deletable-p): Use next-frame.
12097
1b36ed6a
MR
120982011-09-13 Martin Rudalics <rudalics@gmx.at>
12099
12100 * window.el (window-auto-delete): Remove.
12101 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12102 dedication and previous buffers.
1b36ed6a
MR
12103 (switch-to-prev-buffer): Don't delete window.
12104 (delete-windows-on): Delete a window's frame if and only if the
12105 window is dedicated.
12106 (replace-buffer-in-windows): Delete buffer's window or frame if
12107 and only if window is dedicated.
12108 (quit-window): Handle quit-restore as before last change.
4d61f28d 12109 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12110
ef8ef9fb
CY
121112011-09-13 Chong Yidong <cyd@stupidchicken.com>
12112
12113 * window.el (window-deletable-p): Never delete the last frame on a
12114 given terminal.
12115
b2cba41e
GM
121162011-09-13 Glenn Morris <rgm@gnu.org>
12117
12118 * help.el (describe-key-briefly): Copy previous standard-output change.
12119
51553db6 121202011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12121
12122 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12123
b7556719
GM
121242011-09-13 Glenn Morris <rgm@gnu.org>
12125
12126 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12127 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12128
64b51947
CY
121292011-09-12 Chong Yidong <cyd@stupidchicken.com>
12130
12131 * dired-aux.el (dired-mark-read-string): Don't return default
12132 value on empty input (Bug#9361).
12133 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12134 Omit initial minibuffer contents.
12135 (dired-do-chmod): Signal an error on empty input.
12136 (dired-mark-read-string): Don't return default on empty input.
12137
12138 * files.el (file-modes-symbolic-to-number): Doc fix.
12139
393a301e
SM
121402011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12141
12142 * international/mule-cmds.el (ucs-completions): Remove.
12143 (read-char-by-name): Use complete-with-action instead; add metadata.
12144
fa5660f9
CY
121452011-09-11 Chong Yidong <cyd@stupidchicken.com>
12146
12147 * window.el (display-buffer--action-function-custom-type)
12148 (display-buffer--action-custom-type): New vars.
12149 (display-buffer-alist, display-buffer-default-action)
12150 (display-buffer-overriding-action): Add defcustom types.
12151
4a592f66
CY
12152 * frame.el (delete-other-frames): Doc fix (Bug#276).
12153
73d56dbd
LMI
121542011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12155
12156 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12157
37ac18a3
CY
121582011-09-11 Chong Yidong <cyd@stupidchicken.com>
12159
12160 Change modes that used same-window-* vars to use switch-to-buffer.
12161
12162 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12163 Use switch-to-buffer.
12164
12165 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12166 (customize-browse, custom-buffer-create-other-window):
12167 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12168
12169 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12170 (Info-prev, Info-up, Info-speedbar-goto-node)
12171 (info-display-manual): Use switch-to-buffer.
12172 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12173
12174 * mail/sendmail.el (mail): Use switch-to-buffer.
12175 (mail-recover): Use switch-to-buffer-other-window.
12176
12177 * cmuscheme.el (run-scheme, switch-to-scheme):
12178 * ielm.el (ielm):
12179 * shell.el (shell):
12180 * net/rlogin.el (rlogin):
12181 * net/telnet.el (telnet, rsh):
12182 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12183
10195bd6
AS
121842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12185
12186 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12187
b322f63a
LMI
121882011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12189
39d7fed6
LMI
12190 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12191 so don't mention it (bug#9301).
ba5a81f1 12192 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12193
ee0e9f11
LMI
12194 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12195 match `x', `w32' and `ns', like the manual says (bug#9029).
12196
0b1c89c1 12197 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12198 (process-kill-buffer-query-function): Mention the buffer name in
12199 the query.
0b1c89c1 12200
77549ea8
LMI
12201 * image-mode.el (image-next-line): The line parameter is mandatory
12202 (bug#9258).
12203
803ef892
LMI
12204 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12205 which can be useful (bug#9301).
12206
12980837
LMI
12207 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12208
91054f8f
LMI
12209 * subr.el (match-string): Mention that the current buffer should
12210 be the same as the search was done in (bug#9282).
12211
b322f63a
LMI
12212 * facemenu.el: Disable the remove-* commands if the mark isn't
12213 active (bug#9162).
12214
3199b96f
CY
122152011-09-10 Chong Yidong <cyd@stupidchicken.com>
12216
12217 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12218 of display-buffer.
12219 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12220
12221 * replace.el (occur-mode-goto-occurrence)
12222 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12223 and display-buffer.
12224
12225 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12226 display-buffer.
12227
12228 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12229 special-display and same-window variables.
12230 (mail-other-window): Use switch-to-buffer-other-window.
12231 (mail-other-frame): USe switch-to-buffer-other-frame.
12232
393a301e
SM
12233 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12234 Use display-buffer-other-frame.
3199b96f
CY
12235 (gdb-display-gdb-buffer): Use pop-to-buffer.
12236
12237 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12238
12239 * progmodes/python.el: Don't set same-window-buffer-names.
12240
12241 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12242
12243 * window.el (display-buffer-alist): Add *Python*.
12244
8319e0bf
CY
122452011-09-10 Chong Yidong <cyd@stupidchicken.com>
12246
12247 * window.el (display-buffer-alist): Add entry for buffers
12248 previously handled same-window-*.
12249 (display-buffer-alist, display-buffer-default-action)
12250 (display-buffer-overriding-action): Mark as risky.
12251 (display-buffer-alist): Document action function changes.
12252 (display-buffer--same-window-action)
12253 (display-buffer--other-frame-action): New variables.
12254 (switch-to-buffer, display-buffer-other-frame): Use them.
12255 (display-buffer): Rename reuse-frame entry to reusable-frames.
12256 (display-buffer-reuse-selected-window): Function deleted.
12257 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12258 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12259 (display-buffer-special): New function.
12260 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12261 display-buffer-reuse-or-pop-window. Split off special-display
12262 part into display-buffer-special.
12263 (display-buffer-use-some-window): Don't perform any special
12264 pop-up-frames handling.
12265 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12266 (display-buffer--maybe-same-window): Rename from
0d3ff375 12267 display-buffer-maybe-same-window.
8319e0bf 12268
919a69aa
CY
12269 * info.el: Don't set same-window-regexps.
12270 (info-setup): New function.
12271 (info-other-window, info): Call it.
12272
12273 * cus-edit.el: Don't set same-window-regexps.
12274 (customize-group): New argument.
12275 (customize-group-other-window): Use it.
12276 (customize-face, customize-face-other-window): Likewise.
12277 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12278
8319e0bf
CY
12279 * net/rlogin.el:
12280 * net/telnet.el:
12281 * progmodes/gud.el: Don't set same-window-regexps.
12282
12283 * cmuscheme.el:
12284 * ielm.el:
12285 * shell.el:
12286 * mail/sendmail.el:
12287 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12288
25173000
JL
122892011-09-10 Juri Linkov <juri@jurta.org>
12290
12291 * isearch.el (isearch-edit-string): Remove obsolete mention of
12292 `C-w' (`isearch-yank-word-or-char') from docstring.
12293 (isearch-query-replace): Fix typo in docstring (bug#9466).
12294
056e44ef
JL
122952011-09-10 Juri Linkov <juri@jurta.org>
12296
12297 * paren.el (show-paren-function): Don't show escaped parens.
12298 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12299
c3760c17
EZ
123002011-09-10 Eli Zaretskii <eliz@gnu.org>
12301
12302 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12303 (mm-default-file-encoding): Remove autoload forms, they are
12304 replaced with autoload cookies in mml.el and mm-encode.el.
12305 (mail-add-attachment): New command.
12306 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12307 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12308 the doc string.
12309 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12310
fece895e
RT
123112011-09-10 Reuben Thomas <rrt@sc3d.org>
12312
e69df516
SM
12313 * simple.el (count-words-region): Use buffer if there's no region
12314 (bug#9429).
fece895e 12315
5e68ce4a
JL
123162011-09-09 Juri Linkov <juri@jurta.org>
12317
12318 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12319 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12320 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12321
0a6b9622
AM
123222011-09-09 Alan Mackenzie <acm@muc.de>
12323
12324 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12325 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12326
14a29deb
EZ
123272011-09-09 Eli Zaretskii <eliz@gnu.org>
12328
12329 Fix for Savannah bug#9392.
12330 * simple.el (mail-encode-mml): New defvar.
12331
12332 * mail/rmail.el (mail-encode-mml): Add a defvar.
12333 (rmail-enable-mime-composing): Default to t.
12334 (rmail-forward): Use MIME method of forwarding only if both
12335 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12336 Set mail-encode-mml non-nil if the MIME method was used.
12337
12338 * mail/sendmail.el (mml-to-mime): Add autoload form.
12339 (mail-encode-mml): Add a defvar.
12340 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12341 to nil.
12342 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12343 message through mml-to-mime, and reset mail-encode-mml to nil.
12344
28c45130
GM
123452011-09-09 Glenn Morris <rgm@gnu.org>
12346
12347 * woman.el (woman-if-body): When processing an .el block,
12348 do not delete the next .el block as well. (Bug#9447)
69f4b618 12349 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12350
9b1c252e
MR
123512011-09-08 Martin Rudalics <rudalics@gmx.at>
12352
12353 * window.el (window-deletable-p): Make sure window is live before
12354 invoking window-prev-buffers.
12355
567457e3
LL
123562011-09-08 Leo Liu <sdl.web@gmail.com>
12357
12358 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12359
97f05794
JL
123602011-09-08 Juri Linkov <juri@jurta.org>
12361
12362 * progmodes/compile.el (compilation-environment): Make it
12363 a defcustom (bug#8340).
12364
8b0874b5
MR
123652011-09-08 Martin Rudalics <rudalics@gmx.at>
12366
12367 * window.el (frame-auto-delete): Rename to window-auto-delete.
12368 Make it control auto-deletion of windows and/or frames.
12369 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12370 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12371 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12372 Rewrite handling of case when window/frame can be deleted.
12373 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12374 argument t. (Bug#9456)
8b0874b5 12375
4feb6e73
CY
123762011-09-07 Chong Yidong <cyd@stupidchicken.com>
12377
12378 * help-mode.el (help-mode): Restore autoload.
12379
91ab9c13
JL
123802011-09-07 Juri Linkov <juri@jurta.org>
12381
12382 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12383 `compilation-environment'. Set buffer-local
12384 `compilation-environment' to `thisenv' later after (funcall mode).
12385 (Bug#8340)
12386
12387 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12388 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12389 instead of replacing its value. (Bug#8340)
12390
0527e251
JL
123912011-09-07 Juri Linkov <juri@jurta.org>
12392
12393 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12394 based on text properties put by `grep-filter' instead of matching
12395 escape sequences.
12396 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12397 to the value of `grep-error-screen-columns' (bug#9438).
12398
249f792c
JL
123992011-09-07 Juri Linkov <juri@jurta.org>
12400
12401 * simple.el (next-error-highlight, next-error-highlight-no-select):
12402 Doc fix (bug#9432).
12403
ff7271b9
OT
124042011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12405
12406 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12407 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12408
183fc730
LL
124092011-09-07 Leo Liu <sdl.web@gmail.com>
12410
12411 * net/rcirc.el (rcirc-mode): Conditionally initialize
12412 rcirc-input-ring.
12413
77694924
SM
124142011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * emacs-lisp/find-func.el (find-function-C-source): Only set
12417 find-function-C-source-directory after checking that we found a source
12418 file there (bug#9440).
12419
d809b8eb
AM
124202011-09-06 Alan Mackenzie <acm@muc.de>
12421
12422 * isearch.el (isearch-other-meta-char): Wherever a key list is
12423 unread, "unread" the prefix arg, too. This fixes bug #8901.
12424
453de99f
OG
124252011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12426
12427 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12428
90439906
JL
124292011-09-05 Juri Linkov <juri@jurta.org>
12430
12431 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12432
f62bd846
JL
124332011-09-05 Juri Linkov <juri@jurta.org>
12434
12435 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12436 keeping point where processing of grep matches begins, and
12437 continue to delete remaining escape sequences from the same point.
12438 (grep-filter): Make leading zero optional in "0?1;31m" because
12439 git-grep emits "\033[1;31m" escape sequences unlike expected
12440 "\033[01;31m" as GNU Grep does (bug#9408).
12441 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12442
045820ec
JL
124432011-09-05 Juri Linkov <juri@jurta.org>
12444
12445 * subr.el (y-or-n-p): Capitalize "yes".
12446
f5e29b9b
MA
124472011-09-04 Michael Albinus <michael.albinus@gmx.de>
12448
12449 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12450 `tramp-cache-unload-hook' where appropriate.
12451 (tramp-methods): Rename `tramp-remote-sh' to
12452 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12453 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12454
12455 * net/tramp-sh.el (top): Don't require 'shell.
12456 (tramp-methods): Add `tramp-remote-shell' and
12457 `tramp-remote-shell-args' entries.
12458 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12459 (tramp-sh-handle-shell-command): Remove.
12460 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12461 Use `tramp-remote-shell'.
12462
2784c434
CY
124632011-09-03 Chong Yidong <cyd@stupidchicken.com>
12464
393a301e 12465 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12466 (sendmail-query-once): Save directly to send-mail-function.
12467 Update message-send-mail-function too.
12468
12469 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12470
464cdf56
CS
124712011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12472
12473 * progmodes/python.el (python-mode-map): Use correct function to
12474 start python interpreter from menu-bar (as reported by Geert
12475 Kloosterman).
12476 (inferior-python-mode-map): Fix typo.
393a301e 12477 (python-shell-map): Remove.
464cdf56 12478
d37e5c87
DD
124792011-09-03 Deniz Dogan <deniz@dogan.se>
12480
12481 * net/rcirc.el (rcirc-print): Simplify code for
12482 rcirc-scroll-show-maximum-output. There is no need to walk
12483 through all windows to find the right one.
12484
f3ada0ee
CS
124852011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12486
12487 * help.el (help-return-method): Doc fix.
12488
1f3c99ca
MR
124892011-09-03 Martin Rudalics <rudalics@gmx.at>
12490
12491 * window.el (window-deletable-p): Don't return a non-nil value
12492 when there's a buffer that was shown in the window before.
12493 (Bug#9419)
393a301e
SM
12494 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12495 Set window's previous buffers to nil.
1f3c99ca 12496
a3cf097f
EZ
124972011-09-03 Eli Zaretskii <eliz@gnu.org>
12498
12499 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12500 newline before and after the tag line, so it doesn't interfere
12501 with determining the paragraph direction of bidirectional text.
12502
3d03de90
LL
125032011-09-03 Leo Liu <sdl.web@gmail.com>
12504
12505 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12506
c3313451
CY
125072011-09-02 Chong Yidong <cyd@stupidchicken.com>
12508
393a301e 12509 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12510 (pop-to-buffer): Change interactive spec. Pass second argument
12511 directly to display-buffer.
12512 (display-buffer): Fix interactive spec. Use functionp to
12513 distinguish between a function and a list of functions.
12514
12515 * abbrev.el (edit-abbrevs):
12516 * arc-mode.el (archive-extract):
12517 * autoinsert.el (auto-insert):
12518 * bookmark.el (bookmark-bmenu-list):
12519 * files.el (find-file):
12520 * view.el (view-buffer):
12521 * progmodes/compile.el (compilation-goto-locus):
12522 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12523
89894cd8
CY
125242011-09-02 Chong Yidong <cyd@stupidchicken.com>
12525
12526 * window.el (display-buffer-alist): Doc fix.
12527 (display-buffer): Add docstring. Don't treat
12528 display-buffer-default specially.
12529 (display-buffer-reuse-selected-window)
12530 (display-buffer-same-window, display-buffer-maybe-same-window)
12531 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12532 (display-buffer-pop-up-window)
12533 (display-buffer-reuse-or-pop-window)
12534 (display-buffer-use-some-window): New functions.
12535 (display-buffer-default-action): Use them.
393a301e 12536 (display-buffer-default): Delete.
89894cd8
CY
12537 (pop-to-buffer-1): Fix choice of actions.
12538
ae0bc9fb
SM
125392011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12540
12541 * minibuffer.el (completion--insert-strings): Don't get confused by
12542 completion entries that end with an LF char.
12543
e9d90883
EZ
125442011-09-01 Eli Zaretskii <eliz@gnu.org>
12545
12546 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12547
437014c8
CY
125482011-09-01 Chong Yidong <cyd@stupidchicken.com>
12549
12550 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12551 (display-buffer-same-window, display-buffer-other-window):
12552 New functions.
437014c8
CY
12553 (pop-to-buffer-1): New function. Use the above.
12554 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12555 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12556
12557 * view.el (view-buffer-other-window, view-buffer-other-frame):
12558 Just use pop-to-buffer.
12559
a5e063d5
TV
125602011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12561
12562 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12563
793d32bb
WH
125642011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12565
12566 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12567
d65e4c15
RS
125682011-08-31 Richard Stallman <rms@gnu.org>
12569
12570 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12571 of the separation of rmail-view-buffer from rmail-buffer.
12572 If you say no to "replace original", the decrypt is in the
12573 view buffer. If you say yes, the decrypt goes into the
12574 rmail buffer also.
12575
f818cd2a
MR
125762011-08-31 Martin Rudalics <rudalics@gmx.at>
12577
12578 * window.el (display-buffer-window): Rewrite doc-string.
12579 (display-buffer-record-window): New function.
12580 (display-buffer-macro-specifiers)
12581 (display-buffer-even-window-sizes, display-buffer-set-height)
12582 (display-buffer-set-width, display-buffer-in-window)
12583 (display-buffer-reuse-window, display-buffer-split-specifiers)
12584 (display-buffer-side-specifiers, display-buffer-split-window-1)
12585 (display-buffer-split-window, display-buffer-split-atom-window)
12586 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12587 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12588 (display-buffer-other-window-means-other-frame)
12589 (display-buffer-normalize-special)
12590 (display-buffer-normalize-default)
12591 (display-buffer-normalize-argument)
12592 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12593 (display-buffer-normalize-specifiers, display-buffer-frame)
12594 (display-buffer-same-window, display-buffer-same-frame)
12595 (display-buffer-other-window)
12596 (display-buffer-same-frame-other-window)
12597 (display-buffer-other-frame, pop-to-buffer-same-window)
12598 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12599 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12600 (switch-to-buffer-same-frame)
12601 (switch-to-buffer-other-window-same-frame)
12602 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12603 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12604 (display-buffer-alist-set): Remove.
12605 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
12606 (special-display-regexps, special-display-function):
12607 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
12608 parameter.
12609 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12610 (special-display-frame-alist, special-display-popup-frame)
12611 (same-window-buffer-names, same-window-regexps, same-window-p)
12612 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12613 (split-window-preferred-function, split-height-threshold)
12614 (split-width-threshold, window-splittable-p)
12615 (split-window-sensibly, window--try-to-split-window)
12616 (window--frame-usable-p, even-window-heights)
12617 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
12618 (window--display-buffer-2, display-buffer-other-frame):
12619 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
12620 (display-buffer-default, display-buffer-assq-regexp): New functions.
12621 (display-buffer-alist): Rewrite doc-string.
12622 (display-buffer-default-action)
12623 (display-buffer-overriding-action): New variables.
12624 (display-buffer, switch-to-buffer): Rewrite.
12625 (pop-to-buffer): Restore Emacs 23 behavior but use
12626 window-normalize-buffer-to-display.
12627 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12628 Restore Emacs 23 behavior but use
12629 window-normalize-buffer-to-switch-to.
12630 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
12631 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12632 Rewrite using Emacs 23 options.
f818cd2a 12633
5bc3b51d
MA
126342011-08-31 Michael Albinus <michael.albinus@gmx.de>
12635
12636 * net/tramp.el (tramp-root-regexp): Remove.
12637 (tramp-completion-file-name-regexp-unified)
12638 (tramp-completion-file-name-regexp-separate)
12639 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 12640 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
12641 (tramp-drop-volume-letter): Simplify definition.
12642 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 12643
b1a4f8e1
SM
126442011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12647 (bug#9356).
12648
5664fa7b
RT
126492011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12650
b1a4f8e1 12651 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 12652
9a45d6c3
JL
126532011-08-29 Juri Linkov <juri@jurta.org>
12654
12655 * isearch.el (isearch-done): Don't display message "Mark saved"
12656 when arg `edit' is non-nil to prevent its flicker in the echo area.
12657
fb87e0fb
CY
126582011-08-28 Chong Yidong <cyd@stupidchicken.com>
12659
12660 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12661 obsolete packages for deletion.
12662
09ac1c2a
CS
126632011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12664
12665 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 12666 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
12667 view-mode from help-mode.
12668 (help-xref-override-view-map): Remove.
12669 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12670 view-mode is not used anymore.
12671
7a1ff57f
CY
126722011-08-28 Chong Yidong <cyd@stupidchicken.com>
12673
12674 * server.el (server-port): Doc fix.
12675
b9696605
CY
12676 * cus-theme.el (custom-theme-choose-mode): Inherit from
12677 special-mode (Bug#9124).
12678 (custom-theme-choose-mode-map): Add special-mode to parent.
12679
ef8cdf8c
AM
126802011-08-28 Alan Mackenzie <acm@muc.de>
12681
12682 * progmodes/cc-fonts.el
12683 (c-make-font-lock-BO-decl-search-function): New function.
12684 (c-basic-matchers-after - "Fontify the clauses after various
12685 keywords"): Extract the three keyword lists for the 3 erroneous
12686 constructs from the list of four, and use the new function above
12687 in place of an old one.
12688
27de4e20
DD
126892011-08-28 Deniz Dogan <deniz@dogan.se>
12690
12691 * net/rcirc.el (rcirc-insert-prev-input)
12692 (rcirc-insert-next-input): Remove unused argument.
12693
356a3681
SM
126942011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12697
3fc9b218
AM
126982011-08-27 Alan Mackenzie <acm@muc.de>
12699
12700 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12701 handle function pointer parameters properly.
12702
538a061c
MR
127032011-08-27 Martin Rudalics <rudalics@gmx.at>
12704
12705 * window.el (display-buffer-reuse-window): Fix case where
12706 selected window was reused with non-nil OTHER-WINDOW argument.
12707 (Bug#9381)
12708
35b1c40c
DD
127092011-08-27 Deniz Dogan <deniz@dogan.se>
12710
12711 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12712 oftc's NickServ messages.
12713
2f6a3e79
GM
127142011-08-27 Glenn Morris <rgm@gnu.org>
12715
12716 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12717
7254299e
CY
127182011-08-26 Chong Yidong <cyd@stupidchicken.com>
12719
12720 * emacs-lisp/package.el (package-install): Call package-initialize
12721 if called interactively.
12722
f8ccf167
LL
127232011-08-26 Leo Liu <sdl.web@gmail.com>
12724
12725 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12726
3e8cd5ce
JL
127272011-08-25 Juri Linkov <juri@jurta.org>
12728
12729 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12730 `search-whitespace-regexp' (bug#9364).
12731
93eb7113
JL
127322011-08-25 Juri Linkov <juri@jurta.org>
12733
12734 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12735 `regexp-search-ring' to their global values to protect from
12736 updating by `read-from-minibuffer' (bug#9185).
12737
f65d1611
JL
127382011-08-25 Juri Linkov <juri@jurta.org>
12739
12740 * textmodes/ispell.el (ispell-command-loop): Add newline
12741 at the end of the "Use option `i'..." line.
12742
f1cf7a31
JL
127432011-08-25 Juri Linkov <juri@jurta.org>
12744
12745 * battery.el (display-battery-mode): If `battery-status-function'
12746 or `battery-mode-line-format' is nil, display the message and set
12747 `display-battery-mode' to nil (bug#9363).
12748
0c95fcf7
EZ
127492011-08-25 Eli Zaretskii <eliz@gnu.org>
12750
12751 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12752 bidi-string-mark-left-to-right; they are unnecessary now.
12753
a2ebe600
DD
127542011-08-25 Deniz Dogan <deniz@dogan.se>
12755
12756 * net/quickurl.el: Documentation typo fixes.
12757
e4ed06f1
CY
127582011-08-25 Chong Yidong <cyd@stupidchicken.com>
12759
12760 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12761
e5f1c99e
GM
127622011-08-25 Glenn Morris <rgm@gnu.org>
12763
b2948976
GM
12764 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12765
e5f1c99e
GM
12766 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12767 (smtpmail-via-smtp): Handle nil response from smtp.
12768
f22f4808
JL
127692011-08-24 Juri Linkov <juri@jurta.org>
12770
12771 * proced.el (proced-marked): Inherit from `error' instead of
12772 `font-lock-warning-face'.
12773
12774 * ibuffer.el (ibuffer-marked-face): Change default face from
12775 `font-lock-warning-face' to `warning'.
12776 (ibuffer-deletion-face): Change default face from
12777 `font-lock-type-face' to `error'.
12778
12779 * battery.el (battery-update): Use the face `error' instead of
12780 `font-lock-warning-face' (bug#6117).
12781
6a93965e
JL
127822011-08-24 Juri Linkov <juri@jurta.org>
12783
12784 * faces.el (success): Change face color from "Green3" to
12785 "ForestGreen" on light background (bug#9353).
12786
1ed43b09
CY
127872011-08-24 Chong Yidong <cyd@stupidchicken.com>
12788
5664fa7b
RT
12789 * window.el (quit-window): Rename from quit-restore-window.
12790 Use same arglist as old quit-window.
1ed43b09
CY
12791 (frame-auto-delete): Doc fix.
12792
12793 * view.el (view-mode-exit): Use quit-window.
12794
11dcdbb2
JL
127952011-08-24 Juri Linkov <juri@jurta.org>
12796
12797 * isearch.el (isearch-ring-adjust1): Start visiting previous
12798 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12799 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12800 for empty search string (when the last search string is reused
12801 automatically) to adjust the isearch ring to the last element and
12802 prepare the correct index for further M-p commands (bug#9185).
12803
de62b4df
KH
128042011-08-24 Kenichi Handa <handa@m17n.org>
12805
12806 * international/ucs-normalize.el: If decomposition property of
12807 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12808 nil.
12809 (nfd, nfkd): Likewise.
12810
963b492b
SM
128112011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12812
12813 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12814 from process filters aren't reliably transmitted to the surrounding
12815 accept-process-output.
12816 (mpc-proc-check): New function.
12817 (mpc-proc-sync): Use it (bug#8293)
12818
93b6b5e1
SM
128192011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12822 Add compatibility functions (bug#9313).
12823
bca633fb
EZ
128242011-08-23 Eli Zaretskii <eliz@gnu.org>
12825
b177498a
EZ
12826 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12827
6df6ae42 12828 * international/uni-bidi.el: Regenerate.
bca633fb 12829
0902a04e
KH
128302011-08-23 Kenichi Handa <handa@m17n.org>
12831
12832 * international/charprop.el:
12833 * international/uni-bidi.el:
12834 * international/uni-category.el:
12835 * international/uni-combining.el:
12836 * international/uni-comment.el:
12837 * international/uni-decimal.el:
12838 * international/uni-decomposition.el:
12839 * international/uni-digit.el:
12840 * international/uni-lowercase.el:
12841 * international/uni-mirrored.el:
12842 * international/uni-name.el:
12843 * international/uni-numeric.el:
12844 * international/uni-old-name.el:
12845 * international/uni-titlecase.el:
12846 * international/uni-uppercase.el: Regenerate.
12847
3bbf23bc
MR
128482011-08-23 Martin Rudalics <rudalics@gmx.at>
12849
12850 * help.el (help-window-setup): Fix message displayed when other
12851 window is reused. (Bug#9341)
12852
b3fd59bd
SM
128532011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12854
1802e444
SM
12855 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12856 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12857
b3fd59bd
SM
12858 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12859 Mark obsolete.
12860 * shell.el (shell-parse-pcomplete-arguments): New function.
12861 (shell-completion-vars): Use it instead (bug#9160).
12862
4eb61348
SM
128632011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12864
867cab74
SM
12865 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12866 strings and comments (bug#9333).
12867
4eb61348
SM
12868 * emacs-lisp/debug.el (debug-arglist): New function.
12869 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12870 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12871
262a1439
JL
128722011-08-22 Juri Linkov <juri@jurta.org>
12873
56ee679c
JL
12874 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12875 Revert regexp that highlights output switches to its old
12876 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12877
262a1439
JL
12878 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12879 to check for empty output (bug#9226).
12880
f13f86fb
CY
128812011-08-22 Chong Yidong <cyd@stupidchicken.com>
12882
12883 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12884 symbol-constituent as the default, as that stops font-lock from
12885 working properly (Bug#8843).
12886
c65c9622
LMI
128872011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12888
12889 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12890 `coding-system-for-*' around the process open call to avoid
12891 auth-source side effects.
e7f2c178 12892 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
12893 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12894 probe hangs.
c65c9622 12895
23a8a5ab
CY
128962011-08-21 Chong Yidong <cyd@stupidchicken.com>
12897
ff98b2dd
CY
12898 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12899
23a8a5ab
CY
12900 * emacs-lisp/find-func.el (find-function-noselect): New arg
12901 lisp-only.
12902
12903 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12904 signal an error for built-in functions (Bug#6664).
12905
f5e3c598
LMI
129062011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12907
12908 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12909 (smtpmail-try-auth-methods): Use it.
12910
a3f2468a
CY
129112011-08-21 Chong Yidong <cyd@stupidchicken.com>
12912
2c34e8da
CY
12913 * font-lock.el (font-lock-fontify-region)
12914 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12915 (font-lock-default-unfontify-buffer)
12916 (font-lock-default-fontify-region)
12917 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12918
b3fd59bd
SM
12919 * progmodes/compile.el (compilation-error-properties):
12920 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
12921 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12922 `ant' regexp.
ee31aabc 12923
a3f2468a
CY
12924 * net/browse-url.el (browse-url-firefox): Don't call
12925 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12926
8e999f70
GM
129272011-08-20 Glenn Morris <rgm@gnu.org>
12928
c21a496a
GM
12929 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12930
59ee0542
GM
12931 * tutorial.el (tutorial--default-keys): Update some default bindings.
12932
8e999f70
GM
12933 * files.el (hack-local-variables): Fully ignore case for "mode:".
12934
e3715033
AM
129352011-08-20 Alan Mackenzie <acm@muc.de>
12936
12937 Resolve invalid use of a regexp in regexp-opt.
12938
4d61f28d
JB
12939 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12940 detection for a java annotation.
e3715033 12941
4d61f28d 12942 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
12943 detection for a java annotation.
12944
4d61f28d
JB
12945 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12946 handling for java.
e3715033
AM
12947 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12948
04ed2e9c
CY
129492011-08-20 Chong Yidong <cyd@stupidchicken.com>
12950
12951 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12952 (Bug#9274).
12953
826cee64
AM
129542011-08-20 Alan Mackenzie <acm@muc.de>
12955
58179cce 12956 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
12957 such a construct. Mainly for when jit-lock etc. starts a chunk
12958 here.
12959
58179cce 12960 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 12961 variable.
58179cce 12962 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
12963 c-make-font-lock-search-function.
12964 (c-make-font-lock-search-function): Use the above function.
12965 (c-make-font-lock-context-search-function): New function.
12966 (c-cpp-matchers): Enhance the preprocessor expression case with
12967 the above function
12968 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12969 which takes an expression.
12970
12971 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12972
13009bd8
MR
129732011-08-20 Martin Rudalics <rudalics@gmx.at>
12974
12975 * window.el (display-buffer-reuse-window)
12976 (display-buffer-pop-up-window): Don't reuse or split a side
12977 window.
12978
9234ff7f
GM
129792011-08-19 Glenn Morris <rgm@gnu.org>
12980
12981 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 12982 Downcase "Mode:". (Bug#9331)
9234ff7f 12983
f635daa1
CY
129842011-08-18 Chong Yidong <cyd@stupidchicken.com>
12985
12986 * international/characters.el: Add L and R categories.
12987
12988 * subr.el (bidi-string-mark-left-to-right): Rename from
12989 string-mark-left-to-right. Use category search.
12990
12991 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12992
bc987f8b
JL
129932011-08-18 Juri Linkov <juri@jurta.org>
12994
12995 * faces.el (error, warning, success): New faces with definitions
12996 copied from old default values of `font-lock-warning-face',
12997 `compilation-warning', `compilation-info' (bug#6117).
12998
12999 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13000
13001 * progmodes/compile.el (compilation-error): Inherit from `error'.
13002 (compilation-warning): Inherit from `warning'.
13003 (compilation-info): Inherit from `success'.
13004
13005 * dired.el (dired-marked): Inherit from `warning'.
13006 (dired-flagged): Inherit from `error'.
13007
57173b96
LMI
130082011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13009
3e79eb87
LMI
13010 * mail/smtpmail.el (auth-source): Require to avoid problems with
13011 binding variables (bug#9298). Also clean up some unused
13012 autoloads.
13013
b3fd59bd
SM
13014 * net/network-stream.el (network-stream-open-starttls):
13015 Support using starttls.el without using gnutls-cli.
57173b96 13016
02b404de
JL
130172011-08-17 Juri Linkov <juri@jurta.org>
13018
13019 * progmodes/grep.el (rgrep): Handle the case when
13020 `grep-find-command' is a cons cell (bug#9278).
13021
8c9177f2
MR
130222011-08-17 Martin Rudalics <rudalics@gmx.at>
13023
13024 * window.el (display-buffer-pop-up-frame): Run frame creation
13025 function with BUFFER current (as special-display-popup-frame
13026 does). Reported by Drew Adams.
13027
3644a0ab
DU
130282011-08-17 Daiki Ueno <ueno@unixuser.org>
13029
13030 * epa-mail.el: Simplify GnuPG group expansion using
13031 epg-expand-group.
13032 (epa-mail-group-alist, epa-mail-group-modtime)
13033 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13034 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13035 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13036 Remove.
13037
5e617bc2 130382011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13039
13040 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13041
9c4aeabf
AM
130422011-08-16 Alan Mackenzie <acm@muc.de>
13043
13044 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13045 Correct, to avoid the inside of macros.
13046
3a99bf64
RS
130472011-08-16 Richard Stallman <rms@gnu.org>
13048
04963aa8
RS
13049 * epa-mail.el: Handle GnuPG group definitions.
13050 (epa-mail-group-alist, epa-mail-group-modtime)
13051 (epa-mail-gnupg-conf-file): New variables.
13052 (epa-mail-parse-groups, epa-mail-sync-groups)
13053 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13054 (epa-mail-expand-recipients): New functions.
13055 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13056
177549d0
RS
13057 * mail/rmail.el (rmail-epa-decrypt): New command.
13058
fe38beef
RS
13059 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13060 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13061 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13062 (epa-decrypt-armor-in-region): Make error message clearer.
13063
934eacb9
SM
130642011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13065
13066 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13067 and "a2b" to "ab" for `prefix'.
13068
d024fb4e
CY
130692011-08-14 Chong Yidong <cyd@stupidchicken.com>
13070
13071 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13072 filter groups.
de148fee
CY
13073 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13074 Fourquet (Bug#8804).
d024fb4e 13075
62f1ca49
JB
130762011-08-12 Juanma Barranquero <lekktu@gmail.com>
13077
13078 * startup.el (argi): Declare as global variable (bug#9275).
13079
9ccaaa4b
CY
130802011-08-12 Chong Yidong <cyd@stupidchicken.com>
13081
13082 * subr.el (string-mark-left-to-right): Search the entire string
13083 for RTL script, not just the terminating character. Doc fix.
13084
a3dae87a
SM
130852011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13086
6cd18349
SM
13087 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13088 New function.
13089 (js--regexp-literal, js-syntax-propertize-function): Remove.
13090 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13091 (js-mode-map): Don't rebind electric keys.
13092 (js-insert-and-indent): Remove.
13093 (js-mode): Setup electric-layout and electric-indent instead.
13094
a3dae87a
SM
13095 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13096
9d5cb631
DU
130972011-08-12 Daiki Ueno <ueno@unixuser.org>
13098
13099 * epa.el (epa-progress-callback-function): Fix the logic of
13100 displaying progress.
13101 * epa-file.el (epa-file-insert-file-contents): Make progress
13102 display more user-friendly.
13103 (epa-file-write-region): Ditto.
13104
3e26a4a2
CY
131052011-08-10 Chong Yidong <cyd@stupidchicken.com>
13106
13107 * subr.el (string-mark-left-to-right): New function.
13108
13109 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13110 Use string-mark-left-to-right.
13111 (list-buffers-noselect): Caller changed.
13112
a3dae87a
SM
13113 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13114 Use string-mark-left-to-right.
3e26a4a2
CY
13115 (tabulated-list-print): Recenter after moving point.
13116
ac8cf6e6
JL
131172011-08-10 Juri Linkov <juri@jurta.org>
13118
13119 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13120 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13121 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13122
8d96c9a4
CY
131232011-08-09 Chong Yidong <cyd@stupidchicken.com>
13124
13125 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13126 (Bug#7554).
13127
7be1c708 131282011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13129
13130 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13131 character. (Bug#6594)
13132
37e11a63
CY
131332011-08-08 Chong Yidong <cyd@stupidchicken.com>
13134
839dde57
CY
13135 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13136 (image-dired--with-db-file): New macro.
13137 (image-dired-write-tags, image-dired-remove-tag)
13138 (image-dired-create-gallery-lists, image-dired-write-comments)
13139 (image-dired-get-comment, image-dired-mark-tagged-files)
13140 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13141 (image-dired-gallery-generate): Use insert-file-contents.
13142
37e11a63
CY
13143 * time.el (display-time-world-list, display-time-world-display):
13144 * time-stamp.el (time-stamp-string):
13145 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13146 set-time-zone-rule (Bug#7337).
13147
0b4946c4
DU
131482011-08-08 Daiki Ueno <ueno@unixuser.org>
13149
13150 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13151 (epg-error-to-string, epg-errors-to-string): New function.
13152 (epg-wait-for-completion): Reverse errors list.
13153 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13154 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13155 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13156 (epg-sign-keys, epg-generate-key-from-file)
13157 (epg-generate-key-from-string): Format errors by using
13158 epg-errors-to-string (bug#9255).
13159 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13160
75bfc667
JL
131612011-08-07 Juri Linkov <juri@jurta.org>
13162
13163 * faces.el (list-faces-display): Remove extra angle bracket
13164 from `help-mode-map'.
13165
13166 * info.el (Info-history-toc-nodes): Doc fix.
13167
13168 * longlines.el (longlines-mode): Doc fix.
13169
673e08bb
SM
131702011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13171
4640dd88
SM
13172 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13173 of statements and in a few more cases (bug#9183).
13174
673e08bb
SM
13175 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13176 New functions.
13177 (cl-transform-lambda): Use them (bug#9239).
13178
89b3f019
MR
131792011-08-05 Martin Rudalics <rudalics@gmx.at>
13180
13181 * window.el (display-buffer-same-window)
13182 (display-buffer-same-frame, display-buffer-other-window)
13183 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13184 (pop-to-buffer-other-window)
13185 (pop-to-buffer-same-frame-other-window)
13186 (pop-to-buffer-other-frame): Make them defuns.
13187 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13188
640c8776
SM
131892011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * subr.el (make-composed-keymap): Move from C. Change calling
13192 convention, and improve docstring to bring attention to a subtle point.
13193 * minibuffer.el (completing-read-default): Adjust accordingly.
13194
63648a95
MA
131952011-08-03 Michael Albinus <michael.albinus@gmx.de>
13196
13197 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13198 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13199
13200 * net/trampver.el: Update release number.
13201
b796c9b7
SM
132022011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13205 "in" (bug#9190).
13206
2239d7d5
LMI
132072011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13208
e07dd7c3
LMI
13209 * mail/sendmail.el (sendmail-query-once): Restore the current
13210 buffer after querying (bug#9074).
13211
0e6a2bd7
LMI
13212 * dired.el (dired-flagged): Use different faces for marked and
13213 flagged files (bug#6117).
13214
ce887515
LMI
13215 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13216 (bug#4433).
13217
92f2affc
LMI
13218 * ido.el (ido-mode): Switch off the message if called
13219 non-interactively.
13220
57d5aff0
LMI
13221 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13222 before 587, since it appears that that's more likely to work for
13223 more people.
13224
98cd6c18 13225 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13226 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13227 exist.
13228
b96dec83
LMI
13229 * info.el: Remove the `Info-beginning-of-buffer' function
13230 (bug#8325).
13231
b796c9b7
SM
13232 * net/network-stream.el (network-stream-open-starttls):
13233 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13234
d90e2ea0
MR
132352011-08-01 Martin Rudalics <rudalics@gmx.at>
13236
13237 * window.el (display-buffer-in-window): Don't set dedicated status
13238 of window here (Bug#9215).
13239 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13240 (display-buffer-pop-up-side-window)
b796c9b7 13241 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13242
cca09170
SM
132432011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13244
13245 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13246 before binding generated-autoload-file.
13247
027b979c
DD
132482011-08-01 Deniz Dogan <deniz@dogan.se>
13249
13250 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13251
3c7ee4f3
MA
132522011-07-30 Michael Albinus <michael.albinus@gmx.de>
13253
13254 Sync with Tramp 2.2.2.
13255
13256 * net/trampver.el: Update release number.
13257
2cc8e51a
JL
132582011-07-30 Juri Linkov <juri@jurta.org>
13259
13260 * dired-aux.el (dired-touch-initial): Remove function.
13261 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13262 current time, and `default' to the last modification time of the
13263 current marked file (bug#6887).
13264
a514d856
JM
132652011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13266
13267 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13268 numeric argument to read-number (bug#9163).
a514d856 13269
8a7eddd7
MA
132702011-07-27 Michael Albinus <michael.albinus@gmx.de>
13271
13272 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13273 connection process, it could be nil.
13274
1ddd96f5
LL
132752011-07-27 Leo Liu <sdl.web@gmail.com>
13276
13277 Simplify url handling in rcirc-mode.
13278
13279 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13280 (rcirc-browse-url-at-mouse): Remove.
13281 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13282
b248a85d
AM
132832011-07-26 Alan Mackenzie <acm@muc.de>
13284
13285 Fontify bitfield declarations properly.
13286
13287 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13288 (c-symbol-chars): Now exported as a lang variable.
13289 (c-not-primitive-type-keywords): New lang variable.
13290
13291 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13292 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13293 parsed as a bitfield declaration.
b248a85d 13294
b796c9b7
SM
13295 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13296 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13297 (c-punctuation-in): New function.
13298 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13299 declarations properly.
13300
68575ab0
UJ
133012011-07-26 Ulf Jasper <ulf.jasper@web.de>
13302
13303 * calendar/icalendar.el (icalendar--all-events): Take care of
13304 multiple vcalendars in a single file.
b796c9b7 13305 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13306
0f0a88b9
DD
133072011-07-25 Deniz Dogan <deniz@dogan.se>
13308
13309 * image.el (insert-image): Clarifying docstring.
13310
0b3f36df
MA
133112011-07-24 Michael Albinus <michael.albinus@gmx.de>
13312
13313 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13314 `tramp-send-command-and-check' if there is no error.
13315 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13316
a9901f61
AM
133172011-07-22 Alan Mackenzie <acm@muc.de>
13318
13319 Prevent cc-langs.elc being loaded at run time.
13320
13321 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13322 cc-langs.
13323
4d61f28d 13324 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13325 "(require 'cc-langs)". Quote a form so it will evaluate at
13326 (cc-mode's) compilation time.
13327
11d074b2
MA
133282011-07-22 Michael Albinus <michael.albinus@gmx.de>
13329
13330 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13331 loading. (Bug#9114)
13332
938b94c8
MR
133332011-07-21 Martin Rudalics <rudalics@gmx.at>
13334
13335 * window.el (display-buffer-pop-up-window)
13336 (display-buffer-pop-up-side-window)
13337 (display-buffer-in-side-window): Call display-buffer-set-height
13338 and display-buffer-set-width after setting the new window's
b796c9b7 13339 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13340
bfa4f190
SS
133412011-07-20 Sam Steingold <sds@gnu.org>
13342
13343 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13344 (etags-tags-included-tables): Call `convert-standard-filename' on
13345 the file names contained in TAGS so that windows Emacs can handle
13346 TAGS files created by cygwin ctags.
13347
8ca42262
LMI
133482011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13349
13350 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13351 which apparently didn't work.
13352
5db2afd2 133532011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13354
5db2afd2
RW
13355 * proced.el (proced-send-signal): For *Marked Processes* buffer
13356 put point at beginning of buffer.
13357
92e15d10
SB
133582011-07-19 Stephen Berman <stephen.berman@gmx.net>
13359
13360 * proced.el (proced-format): Make header lines align with the text
13361 (bug#1779).
13362
1bfd59e5
LMI
133632011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13364
13365 * view.el (view-buffer): Allow running in `special' modes if we're
13366 visiting a file (bug#8615).
13367
f5aae37c
MR
133682011-07-19 Martin Rudalics <rudalics@gmx.at>
13369
13370 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13371 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13372 New functions.
f5aae37c
MR
13373 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13374 more accurately.
13375
bf2c1571
AM
133762011-07-18 Alan Mackenzie <acm@muc.de>
13377
13378 Fontify declarators properly when, e.g., a jit-lock chunk begins
13379 inside a declaration.
13380
13381 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13382
b796c9b7
SM
13383 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13384 New function.
bf2c1571
AM
13385 (c-complex-decl-matchers): Insert reference to
13386 c-font-lock-enclosing-decls.
13387
13388 * progmodes/cc-engine.el (c-backward-single-comment):
13389 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13390 to nil around calls to (forward-comment -1).
13391
4e190b80
LMI
133922011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13393
12dc863d
LMI
13394 * image.el (put-image): Doc typo fix.
13395
a762e966
LMI
13396 * progmodes/etags.el (tags-search): Doc typo fix.
13397
4e190b80
LMI
13398 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13399 password if we get errors 550 to 554.
13400
f019fb21
LMI
134012011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13402
b796c9b7 13403 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13404
81746738
LMI
13405 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13406 indentation character (bug#6380).
13407
3ee3a1b5
LMI
13408 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13409
c82f64de
LMI
13410 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13411 to clarify what the problem is (bug#4291).
13412
f019fb21
LMI
13413 * simple.el (current-kill): Clarify what
13414 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13415 (auto-fill-mode): Document `auto-fill-function' in relation to
13416 `auto-fill-mode' (bug#2470).
f019fb21 13417
0794775d
LM
134182011-07-16 Lawrence Mitchell <wence@gmx.li>
13419
13420 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13421 method if slot is read-only (bug#9035).
13422
be39b8cc
MR
134232011-07-16 Martin Rudalics <rudalics@gmx.at>
13424
b796c9b7 13425 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13426 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13427 selected before, see discussion of (Bug#8615), (Bug#6954).
13428 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13429
6ccf7859
GM
134302011-07-15 Glenn Morris <rgm@gnu.org>
13431
13432 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13433 Respect help-form.
6ccf7859 13434
87e86684
LM
134352011-07-09 Lawrence Mitchell <wence@gmx.li>
13436
13437 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13438 (gnutls-negotiate): Use it.
13439
d6066239
LMI
134402011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13441
b796c9b7
SM
13442 * net/gnutls.el (gnutls-negotiate):
13443 Upcase `gnutls-algorithm-priority'.
d6066239 13444
bd23ebc0
GM
134452011-07-15 Glenn Morris <rgm@gnu.org>
13446
c65bca65
GM
13447 * jka-compr.el (jka-compr-verbose): Move from here...
13448 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13449 Add missing :version tag.
13450 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13451
478615cc
LMI
134522011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13453
7b41decb
LMI
13454 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13455 (gnutls-negotiate): Use it.
13456
dbc44fcd
LMI
13457 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13458
06789f97
LMI
13459 * info.el (Info-beginning-of-buffer): New command.
13460 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13461 announcing `b' as the key (bug#8325).
ab896c37 13462 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13463
c39da690
LMI
13464 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13465
3aa5f34b
LMI
13466 * international/mule-cmds.el
13467 (describe-specified-language-support): Make the error message
13468 clearer (bug#8905).
13469
4bf0979f
LMI
13470 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13471
478615cc
LMI
13472 * isearch.el (isearch-barrier): Add a doc string, since it's
13473 mentioned in a function doc string (bug#8678).
13474
75c68aa1
MR
134752011-07-15 Martin Rudalics <rudalics@gmx.at>
13476
13477 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13478 buffer argument (Bug#9083) and self-identifying label argument.
13479
a7c33da2
GM
134802011-07-15 Glenn Morris <rgm@gnu.org>
13481
13482 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13483
2f5c6024
LMI
134842011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13485
13486 * man.el (Man-fontify-manpage): Fix message when formatting the
13487 man page (bug#7929).
13488
0bb23927 134892011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13490
13491 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13492 argument LRM; if non-nil, append an invisible LRM character to the
13493 buffer name.
13494 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13495 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13496 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13497 paragraph direction.
cce4b0a7 13498
621ef9ab
LMI
134992011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13500
d1583c48
LMI
13501 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13502 the man page name (bug#7929).
13503
6a57fb5f
LMI
13504 * image.el (put-image): Mention the `put-image' overlay property
13505 (bug#7834).
13506
d7956b14
LMI
13507 * scroll-bar.el (set-scroll-bar-mode): Mention that
13508 `scroll-bar-mode' lists the values (bug#7772).
13509
5b2d4a66
LMI
13510 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13511 command (bug#7729).
13512
7509a874
LMI
13513 * rect.el (apply-on-rectangle): Return the point after the last
13514 operation.
13515 (string-rectangle): Go to the point after the last operation
13516 (bug#7522).
13517
4fe74b19
LMI
13518 * printing.el (pr-toggle-region): Clarify the documentation
13519 slightly (bug#7493).
13520
b796c9b7
SM
13521 * time.el (display-time-update):
13522 Allow `display-time-mail-function' to return nil (bug#7158).
13523 Fix suggested by Detlev Zundel.
ab283561 13524
fc233c9d
LMI
13525 * vc/diff.el (diff): Clarify the order the file names are read
13526 (bug#7111).
13527
43f5740b
LMI
13528 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13529 the doc string (bug#7015).
13530
f2182a76
LMI
13531 * font-lock.el (font-lock-maximum-decoration): Mention what
13532 numeric levels mean (bug#6935).
13533
621ef9ab
LMI
13534 * startup.el (initial-buffer-choice): Don't mention the `none'
13535 selection, which is against policy.
13536
adc47434
MR
135372011-07-14 Martin Rudalics <rudalics@gmx.at>
13538
b796c9b7
SM
13539 * window.el (display-buffer-normalize-special):
13540 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13541
7e5bfb8f
EZ
135422011-07-14 Eli Zaretskii <eliz@gnu.org>
13543
13544 * subr.el (version<, version<=, version=): Mention "-CVS" and
13545 "-12345" alpha version numbers.
13546
27fa387a
CY
135472011-07-14 Chong Yidong <cyd@stupidchicken.com>
13548
13549 * bindings.el: Add advertised binding for set-mark-command
13550 (Bug#5772).
13551
8bdfa064
CY
135522011-07-14 Chong Yidong <cyd@stupidchicken.com>
13553
13554 * bindings.el (mode-line-other-buffer):
13555 * bookmark.el (bookmark-bmenu-2-window):
13556 * bs.el (bs-cycle-next, bs-cycle-previous):
13557 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13558 switch-to-buffer.
13559
13560 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13561 Delete.
8bdfa064 13562
5eba16a3
JB
135632011-07-14 Juanma Barranquero <lekktu@gmail.com>
13564
13565 * follow.el (follow-debug-message, follow-redisplay):
13566 * jka-cmpr-hook.el (with-auto-compression-mode):
13567 Fix typos in docstrings.
13568
15853710
LMI
135692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13570
a28e4607
LMI
13571 * subr.el (with-silent-modifications): Clarify somewhat what the
13572 macro inhibits (bug#6525).
13573
15853710
LMI
13574 * simple.el (eval-expression): Note what it does if called
13575 interactively (bug#6495).
13576
bee0fcef
CY
135772011-07-13 Chong Yidong <cyd@stupidchicken.com>
13578
b796c9b7
SM
13579 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13580 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
13581
13582 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13583 Remove switch-to-buffer.
13584
58274504
LMI
135852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13586
bd2fcc8d
LMI
13587 * files.el (make-directory): Clarify that an error will be raised
13588 if there's an error (bug#6397).
13589
0f04b32c
LMI
13590 * startup.el (initial-buffer-choice): Add `none' as a choice
13591 (bug#6234).
13592
465c5fc8
LMI
13593 * subr.el (add-hook): Clarify section about buffer-local hooks
13594 (bug#6218).
13595
58274504
LMI
13596 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13597
bead9a43
JB
135982011-07-13 Juanma Barranquero <lekktu@gmail.com>
13599
13600 * tabify.el (untabify): Preserve the current column so that point
13601 doesn't move (bug#6032).
13602
3af98a7b
LMI
136032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13604
b796c9b7
SM
13605 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13606 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 13607
6240145a
GM
136082011-07-13 Glenn Morris <rgm@gnu.org>
13609
13610 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13611 (dired-insert-directory): Give a message the first time
13612 if ls is found not to support --dired.
13613
1d8c2ccc
LMI
136142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13615
13616 * simple.el (toggle-truncate-lines): Clarify what is toggled
13617 (bug#5580). Text by Drew Adams.
13618
5fc4038e
CY
136192011-07-13 Chong Yidong <cyd@stupidchicken.com>
13620
13621 * simple.el (blink-matching-open): Make the error message from the
13622 last change less verbose.
13623
bf6012e5
DN
136242011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13625
13626 * font-lock.el (font-lock-comment-face): Use the high contrast
13627 "yellow" color for font-lock-comment-face on low color terminals
13628 using a dark background color (bug#4221).
13629
343c3b5a
LMI
136302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13631
7e9505c5
LMI
13632 * dired.el (dired-insert-set-properties): Make the doc string
13633 reflect what it does now (bug#5325).
13634
c26fdcf5
LMI
13635 * simple.el (blink-matching-open): Say that we were unable to find
13636 the match within the limit, if we're limited (bug#5122).
13637
bb388cc5
LMI
13638 * international/mule-cmds.el (prefer-coding-system): Add an
13639 example (bug#4869).
13640
343c3b5a
LMI
13641 * progmodes/etags.el (tags-search): Document `file-list-form'
13642 (bug#4731).
13643
2a517d45
LM
136442011-07-13 Lawrence Mitchell <wence@gmx.li>
13645
13646 * net/browse-url.el (browse-url-default-browser)
13647 (browse-url-browser-function): Make the default browser choice a
13648 bit more logical (bug#4300). Also clean up the doc string.
13649
b6c78ef2
JB
136502011-07-13 Juanma Barranquero <lekktu@gmail.com>
13651
13652 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13653 binary endings (bug#4440).
13654
1c4dd947
LMI
136552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13656
a2014063
LMI
13657 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13658 which can be pretty annoying (bug#8971).
13659
9c9c2d88
LMI
13660 * jka-compr.el (jka-compr-verbose): New variable, and use
13661 throughout (bug#8971).
13662
1c4dd947
LMI
13663 * info.el (Info-find-file): Fall back on the installation
13664 directory if we can't find the info node anywhere else.
13665
a1c9f41b
SO
136662011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13667
13668 * vc/vc.el (vc-revert-file):
13669 Don't set file time-stamp in the past. (Bug#5181)
13670
536f3d36
LMI
136712011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13672
7152b011
LMI
13673 * files.el (after-find-file): Give a better error message when
13674 trying to find a symlink that points to a file that doesn't exist
13675 (bug#4398).
13676
536f3d36
LMI
13677 * progmodes/cc-vars.el: Remove (probably) misleading comment
13678 (bug#4396).
13679
460c0fba
JB
136802011-07-12 Johan Bockgård <bojohan@gnu.org>
13681
13682 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13683
7a6bda45
CY
136842011-07-12 Chong Yidong <cyd@stupidchicken.com>
13685
13686 * mouse-sel.el: Hack restoring functionality, while keeping
13687 compatibility with 2010-07-03 changes to mouse selection.
13688 (mouse-sel-primary-overlay): New var.
13689 (mouse-sel-selection-alist): Use it.
13690 (mouse-sel-mode): Doc fix; remove points that are default features
13691 of mouse.el.
13692
c79598ef
JB
136932011-07-12 Johan Bockgård <bojohan@gnu.org>
13694
13695 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13696 Fix previous fix (bug#2490).
13697
ff8be6ef
RW
136982011-07-12 Roland Winkler <winkler@gnu.org>
13699
b796c9b7
SM
13700 * textmodes/bibtex.el (bibtex-initialize):
13701 Use pop-to-buffer-same-window.
ff8be6ef
RW
13702 (bibtex-search-entries): Fix interactive call.
13703
296ba3ee
LMI
137042011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13705
f5242a02 13706 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
13707 Fontise bytecomp Error lines more correctly (bug#2490).
13708 Fix suggested by Johan Bockgård.
f5242a02 13709
296ba3ee
LMI
13710 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13711
13712 * dired-x.el (dired-guess-default): Use `delete-dups'.
13713
f69fd0d2
CY
137142011-07-12 Chong Yidong <cyd@stupidchicken.com>
13715
13716 * dired.el (dired-mark-prompt):
13717 * dired-aux.el (dired-read-shell-command): Doc fix.
13718
eab5dc07
LMI
137192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13720
b796c9b7
SM
13721 * mail/sendmail.el (sendmail-query-once):
13722 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
13723 emacs -Q.
13724
13725 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13726
eab5dc07
LMI
13727 * cus-edit.el (custom-file): Take an optional no-error variable.
13728 (customize-save-variable): Set the variable, and give a warning if
13729 running under "emacs -q".
13730
a1e65d42
JB
137312011-07-11 Juanma Barranquero <lekktu@gmail.com>
13732
13733 * loadhist.el (unload-feature-special-hooks):
13734 Add `auto-coding-functions', `fill-nobreak-predicate' and
13735 `find-directory-functions' (bug#5327).
13736
1d52da10
LMI
137372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13738
be958f1d
LMI
13739 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13740
5bedb26c
LMI
13741 * cus-edit.el (custom-guess-name-alist): -alist variables should
13742 use the `alist' type (bug#3120). Suggested by Drew Adams.
13743
1d52da10
LMI
13744 * printing.el: Add documentation to all the `pr-toggle-' commands.
13745
cd394be1 137462011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
13747
13748 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13749 backends where it makes sense (bug#2623).
13750
dcc88d8a
LMI
137512011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13752
c3de9feb
LMI
13753 * dired-x.el (dired-guess-default): Remove duplicate shell command
13754 entries (bug#2028).
8a93078b 13755 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 13756 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 13757
dcc88d8a
LMI
13758 * subr.el (remove-duplicates): New conveniency function.
13759
505e3645
LMI
137602011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13761
13762 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13763 (bug#1526).
13764
137652011-07-10 Martin Rudalics <rudalics@gmx.at>
13766
13767 * window.el (display-buffer-normalize-default): Don't invert
13768 meaning of even-window-heights. Reported by Eli Zaretskii
13769 <eliz@gnu.org>.
13770
455e4fa1
BR
137712011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13772
13773 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13774
8e0bc3e9
CY
137752011-07-10 Chong Yidong <cyd@stupidchicken.com>
13776
13777 * window.el (display-buffer): Fix arguments to
13778 display-buffer-reuse-window in last change.
13779
fa7c3228
CY
13780 * faces.el (link): Use a less saturated blue on light backgrounds.
13781
13782 * startup.el (fancy-startup-text, fancy-about-text)
13783 (fancy-startup-tail): Use font-lock faces, for background safety.
13784
c0a7f300
BN
137852011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13786
b796c9b7
SM
13787 * emulation/viper-cmd.el (viper-change-state-to-vi):
13788 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 13789
4dc2a129
MR
137902011-07-09 Martin Rudalics <rudalics@gmx.at>
13791
13792 * window.el (display-buffer-default-specifiers): Remove.
13793 (display-buffer-macro-specifiers): Remove default specifiers.
13794 (display-buffer-alist): Default to nil.
b796c9b7 13795 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
13796 (display-buffer-pop-up-window): Allow splitting internal
13797 windows. Check whether a live window was created.
13798 (display-buffer-other-window-means-other-frame)
13799 (display-buffer-normalize-arguments): Rename to
13800 display-buffer-normalize-argument and rewrite. Set the
13801 other-window specifier.
13802 (display-buffer-normalize-special): New function.
13803 (display-buffer-normalize-options): Rename to
13804 display-buffer-normalize-default and rewrite.
13805 (display-buffer-normalize-options-inhibit): Remove.
13806 (display-buffer-normalize-specifiers): Rewrite.
13807 (display-buffer): Process other-window specifier and call
13808 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13809 more faithfully.
b796c9b7 13810 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 13811 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
13812 (display-buffer-in-window, display-buffer-alist-set):
13813 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
13814 <tassilo@member.fsf.org>.
13815
2d43b8c9
LL
138162011-07-09 Leo Liu <sdl.web@gmail.com>
13817
13818 * register.el (insert-register): Restore accidental change on
13819 2011-06-26. (Bug#9028)
13820
7f9b7c53
GM
138212011-07-09 Glenn Morris <rgm@gnu.org>
13822
13823 * subr.el (remq): Handle the empty list. (Bug#9024)
13824
f042cfd8
AS
138252011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13826
13827 * mail/sendmail.el (send-mail-function): No longer delay custom
13828 initialization.
13829 * custom.el (custom-initialize-delay): Doc fix.
13830
856b2f11
SM
138312011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13832
13833 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13834
afae1d68
MA
138352011-07-08 Michael Albinus <michael.albinus@gmx.de>
13836
13837 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13838 human-friendly prompt.
13839
0757af94
SM
138402011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13843 provided by a particular plugin.
13844
d760b731
LMI
138452011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13846
13847 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13848 save customizations (with "emacs -Q"), just set the variable
13849 instead of erroring out.
13850
13851 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13852
cd79ce90
JL
138532011-07-08 Juri Linkov <juri@jurta.org>
13854
13855 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13856 (archive-zip-update-case): Use 7z if found by `executable-find'.
13857 The order of searching the available programs is the same as in
13858 `archive-zip-extract' (bug#8968).
13859
14cc04aa
CY
138602011-07-07 Chong Yidong <cyd@stupidchicken.com>
13861
13862 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13863 (menu-bar-options-menu): Tweak descriptions.
13864
0a1848ec
LMI
138652011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13866
13867 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13868 menu items into verb phrases (bug#1421). Also refill to fit under
13869 80 columns.
13870
f5bd0689
CY
138712011-07-07 Chong Yidong <cyd@stupidchicken.com>
13872
538e85c6
CY
13873 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13874 (Info-read-node-name): Doc fix (Bug#1084).
13875
f5bd0689
CY
13876 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13877 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13878 (end-of-sexp, beginning-of-sexp)
13879 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13880 (forward-symbol, forward-same-syntax, word-at-point)
13881 (sentence-at-point): Doc fix (Bug#1144).
13882
56ec5115
LMI
138832011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13884
f3f8e37f
LMI
13885 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13886 should cover it (bug#1281).
13887
0757af94 13888 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 13889
e9fce1ac 13890 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
13891 negotiation fails, then possibly try again with a non-encrypted
13892 connection (bug#9017).
13893
56ec5115
LMI
13894 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13895 be used.
13896
c2f9aec8
RS
138972011-07-07 Richard Stallman <rms@gnu.org>
13898
13899 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13900 property, and handle its changed format.
13901 Look for the correct line number.
13902 Use file's line contents (but not past first =) to find
13903 correct line in message.
13904
ef7b981d 139052011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
13906
13907 * international/characters.el (build-unicode-category-table):
13908 Delete it.
0757af94 13909 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 13910
0757af94 13911 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
13912 to src/chartab.c.
13913 (get-char-code-property): Call unicode-property-table-internal to
13914 load a file. Call get-unicode-property-internal where necessary.
13915 (put-char-code-property): Call unicode-property-table-internal to
13916 load a file. Call put-unicode-property-internal where necessary.
13917 put-unicode-property-internal where necessary.
0757af94
SM
13918 (char-code-property-description):
13919 Call unicode-property-table-internal to load a file.
c805dec0
KH
13920
13921 * international/charprop.el:
13922 * international/uni-bidi.el:
13923 * international/uni-category.el:
13924 * international/uni-combining.el:
13925 * international/uni-comment.el:
13926 * international/uni-decimal.el:
13927 * international/uni-decomposition.el:
13928 * international/uni-digit.el:
13929 * international/uni-lowercase.el:
13930 * international/uni-mirrored.el:
13931 * international/uni-name.el:
13932 * international/uni-numeric.el:
13933 * international/uni-old-name.el:
13934 * international/uni-titlecase.el:
13935 * international/uni-uppercase.el: Regenerate.
13936
13937 * loadup.el: Load international/charprop.el before
13938 international/characters.
13939
e14b388a
CY
139402011-07-07 Chong Yidong <cyd@stupidchicken.com>
13941
13942 * window.el (next-buffer, previous-buffer): Signal an error if
13943 called from a minibuffer window.
13944
13945 * bindings.el: Revert 2011-07-04 change.
13946
354cf0ba
RS
139472011-07-06 Richard Stallman <rms@gnu.org>
13948
13949 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13950 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13951 Treat markers like ints.
13952 (rmail-mime-entity): Doc fix.
13953
a48868a7
LMI
139542011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13955
4906cd3d
LMI
13956 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13957 defcustom again for backwards compatibility.
13958
e0457abe
LMI
13959 * simple.el (shell-command-on-region): Fill.
13960
d67f7e1f
LMI
13961 * dired-aux.el (dired-kill-line): Add a doc string.
13962
fe204702
LMI
13963 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13964 to "\\sw\\|\\s_" (bug#358).
13965
a48868a7
LMI
13966 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13967 (dired-unmark-backward): Ditto.
13968 (dired-flag-backup-files): Ditto.
13969
13970 * dired-x.el (dired-mark-sexp): Ditto.
13971
aa8a705c
RS
139722011-07-06 Richard Stallman <rms@gnu.org>
13973
13974 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13975 (rmail-mime-entity): New arg TRUNCATED.
13976 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13977 New functions.
13978 (rmail-mime-save): Warn if entity is truncated.
13979 (rmail-mime-toggle-hidden): Likewise, for showing.
13980 (rmail-mime-process-multipart): Record when an entity is truncated.
13981
a9a936b9
RS
13982 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13983 if ENTITY is a string.
13984
1f2b92cb
LMI
139852011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13986
f4f73198 13987 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
13988 of faces when `M-C-x'-ing their definitions (bug#8378).
13989 Also clean up the code slightly.
f4f73198 13990
12b16734 13991 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 13992 because that makes the colors go away.
12b16734 13993
f0691d22
LMI
13994 * mail/sendmail.el (send-mail-function): Change the default to
13995 `sendmail-query-once'.
9e87df06 13996 (sendmail-query-once): Add an autoload cookie.
f0691d22 13997
1f2b92cb
LMI
13998 * net/network-stream.el (network-stream-open-starttls): Try using
13999 a plain connection even if the server offered STARTTLS, and we
14000 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14001 capability. This should make smtpmail.el work in slightly more
14002 configurations.
14003
1cdd2a1b
MA
140042011-07-06 Michael Albinus <michael.albinus@gmx.de>
14005
14006 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14007 New defun.
14008 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14009
fbcc67e2
MM
140102011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14011
14012 * progmodes/sql.el: Version 3.0
0757af94 14013 (sql-product-alist): Add product :completion-object,
fbcc67e2 14014 :completion-column, and :statement attributes.
0757af94 14015 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14016 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14017 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14018 ansi keywords.
14019 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14020 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14021 (sql-oracle-show-reserved-words): New function for development.
14022 (sql-product-font-lock): Simplify for source code buffers.
14023 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14024 New functions.
14025 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14026 (sql-mode-map): Add statement movement functions.
14027 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14028 New variable.
fbcc67e2
MM
14029 (sql-statement-regexp, sql-beginning-of-statement)
14030 (sql-end-of-statement, sql-signum): New functions.
0757af94 14031 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14032 (sql-show-sqli-buffer): Bug fix.
14033 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14034 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14035 with sql-interactive-mode.
14036 (sql-save-connection): Save buffer local settings.
0757af94 14037 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14038 (sql-product-interactive): Bug fix.
14039 (sql-preoutput-hold): New variable.
14040 (sql-interactive-remove-continuation-prompt): Bug fixes.
14041 (sql-debug-redirect): New variable.
14042 (sql-str-literal): New function.
14043 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14044 Redesign.
fbcc67e2
MM
14045 (sql-oracle-save-settings, sql-oracle-restore-settings)
14046 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14047 (sql-completion-object, sql-completion-column)
14048 (sql-completion-sqlbuf): New variables.
14049 (sql-build-completions-1, sql-build-completions)
14050 (sql-try-completion): New functions.
14051 (sql-read-table-name): Use them.
14052 (sql-contains-names): New buffer local variable.
14053 (sql-list-all, sql-list-table): Use it.
14054 (sql-oracle-completion-types): New variable.
14055 (sql-oracle-completion-object, sql-sqlite-completion-object)
14056 (sql-postgres-completion-object): New functions.
14057
d4eaeab1
GM
140582011-07-06 Glenn Morris <rgm@gnu.org>
14059
14060 * window.el (pop-to-buffer): Doc fix.
14061
322b7dab 140622011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14063
14064 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14065
322b7dab 140662011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14067
322b7dab 14068 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14069
322b7dab 14070 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14071
605dd5bf
CY
140722011-07-05 Chong Yidong <cyd@stupidchicken.com>
14073
14074 * button.el (button): Inherit from link face. Suggested by Dan
14075 Nicolaescu.
14076
7dbfa719
SM
140772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14078
3db614b0
SM
14079 * progmodes/gdb-mi.el: Fit in 80 columns.
14080 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14081 switch-to-buffer.
14082
7dbfa719
SM
14083 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14084 if imenu is simply not configured (bug#8941).
14085
919d884a
KM
140862011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14087
14088 * allout.el (allout-post-undo-hook): New allout outline-change
14089 event hook to signal undo activity.
14090 (allout-post-command-business): Run allout-post-undo-hook if an
14091 undo just occurred.
7dbfa719
SM
14092 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14093 * allout-widgets.el (allout-widgets-after-undo-function):
14094 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14095 in the vicinity of an undo.
14096 (allout-widgets-mode): Include allout-widgets-after-undo-function
14097 on the new allout-post-undo-hook.
14098
450a0f09
SM
140992011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14100
14101 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14102 Let define-derived-mode define it.
14103 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14104 cycles of abbrev-table inheritance (bug#8998).
14105
2de69e00
RW
141062011-07-05 Roland Winkler <winkler@gnu.org>
14107
14108 * textmodes/bibtex.el: Add support for biblatex.
14109 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14110 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14111 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14112 (bibtex-entry-alist, bibtex-field-alist): New variables.
14113 (bibtex-entry-field-alist): Obsolete alias for
14114 bibtex-BibTeX-entry-alist.
14115 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14116 (bibtex-set-dialect): New command.
14117 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14118 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14119 Bind via bibtex-set-dialect.
2de69e00
RW
14120 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14121 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14122 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14123 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14124 Define via bibtex-set-dialect.
450a0f09
SM
14125 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14126 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14127 (bibtex-vec-push, bibtex-vec-incr): New functions.
14128 (bibtex-format-entry, bibtex-field-list)
14129 (bibtex-print-help-message, bibtex-validate)
14130 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14131
2dcdbdd9
SM
141322011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * progmodes/compile.el (compilation-goto-locus):
14135 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14136 * bs.el (bs-cycle-next, bs-cycle-previous):
14137 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14138 * bindings.el (mode-line-other-buffer):
14139 * autoinsert.el (auto-insert):
14140 * arc-mode.el (archive-extract):
14141 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14142
b27640fe
JB
141432011-07-05 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14146 Fix check of `emacs-lock-unlockable-modes'.
14147 Coerce true values of `emacs-lock--try-unlocking' to t.
14148
53bbe3ad
JB
141492011-07-05 Juanma Barranquero <lekktu@gmail.com>
14150
14151 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14152 * emacs-lock.el: New file.
14153
1d3cdbc7
JD
141542011-07-05 Julien Danjou <julien@danjou.info>
14155
14156 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14157 than `boundp' to check if face is set.
14158
9173deec
JB
141592011-07-05 Juanma Barranquero <lekktu@gmail.com>
14160
14161 * register.el (registerv-make):
14162 * window.el (window-min-height): Fix typos in docstrings.
14163
869795d6
JD
141642011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14165
9173deec 14166 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14167 Update doc string.
14168
b768cdcd
JB
141692011-07-04 Juanma Barranquero <lekktu@gmail.com>
14170
14171 * server.el (server-execute): Catch quit and call
14172 `server-return-error' to pass the error back to emacsclient and
14173 close the connection (bug#8942).
14174
13aa217b
KM
141752011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14176
14177 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14178 insecure exception for current topic. Also note that auto-saves
14179 are handled differently.
14180
5d3385a0 14181 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14182 State variables for tracking auto-save inhibition situation.
14183
14184 (allout-write-contents-hook-handler): Rename from
14185 'allout-write-file-hook-handler', and describe how it depends on
14186 write-contents-functions sensitivity to non-nil value to prevent
14187 file write.
14188
14189 (allout-auto-save-hook-handler): Remove. auto-save does not check
14190 this in individual buffers, only in the starting buffer, so this
14191 is not the right way for us to inhibit auto-save in a buffer
14192 according to its condition.
14193
14194 (allout-mode): Use new allout-write-contents-hook-handler, and
14195 only with write-contents-functions. Remove auto-save provisions -
14196 they're implemented elsewhere.
14197
14198 (allout-before-change-handler): If undo is in progress, note that
14199 for attention of allout-post-command-business.
14200
14201 (allout-post-command-business): If the command we're following was
14202 an undo, check for change in the status of encrypted items and
14203 adjust auto-save inhibitions accordingly.
14204
14205 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14206 according to whether there are or aren't any plain-text topics
14207 pending encryption.
14208
2dcdbdd9 14209 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14210 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14211 if there are plain-text topics pending encryption.
13aa217b
KM
14212
14213 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14214 buffer-saved-size and some allout state to not inhibit auto-saves
14215 if there are no longer any plain-text topics pending encryption.
14216
0757af94
SM
14217 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14218 No longer provide for exemption of the current topic.
13aa217b 14219
ac89b32c
JL
142202011-07-04 Juri Linkov <juri@jurta.org>
14221
14222 Add 7z operations to delete and save changed members (bug#8968).
14223 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14224 New defcustoms.
14225 (archive-7z-write-file-member): New function.
14226 (archive-7z-summarize): Fix the number of dashes in the
14227 listing output.
14228
8fa39615
SM
142292011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14232 (bug#8958).
14233
2f11b3f1
CY
142342011-07-04 Chong Yidong <cyd@stupidchicken.com>
14235
d66fef2b
CY
14236 * bindings.el: Ignore next-buffer and previous-buffer in
14237 minibuffer-local-map.
14238
2f11b3f1
CY
14239 * font-lock.el (font-lock-builtin-face): Change light background
14240 color to dark slate blue (Bug#6693).
14241
f932a347
WD
142422011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14243
14244 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14245
c8af70e1
SM
142462011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14247
14248 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14249 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14250 Add switch-to-buffer.
14251
f158badc
LMI
142522011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14253
14254 * isearch.el (isearch-search-fun-function): Clarify further the
14255 meaning of the function returned.
14256
6d95bd46
MA
142572011-07-04 Michael Albinus <michael.albinus@gmx.de>
14258
14259 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14260
14261 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14262 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14263 Use it.
14264 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14265 `tramp-default-remote-path' does not exist.
14266 (tramp-send-command-and-read): New optional argument NOERROR.
14267 (tramp-open-connection-setup-interactive-shell)
14268 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14269 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14270 (tramp-process-sentinel): Flush also process' connection property.
14271 (tramp-sh-handle-start-file-process): Do not set process
14272 sentinel. It is done now ...
14273 (tramp-maybe-open-connection): ... here. (Bug#8929)
14274
909e6b67
MK
142752011-07-04 MON KEY <monkey@sandpframing.com>
14276
14277 * play/animate.el (animate-string): Doc fixes and allow changing
14278 the buffer name (bug#5417).
14279
142802011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14281
c8af70e1 14282 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14283
f34755dc
PE
142842011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14285
396cec72
PE
14286 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14287 This is simpler and helps future-proof the code.
14288 (timer-until): Use time-subtract and float-time.
08235028 14289 (timer--time-less-p): Use time-less-p.
f34755dc 14290
56e6cc31
JB
142912011-07-04 Juanma Barranquero <lekktu@gmail.com>
14292
3abb79e5
JB
14293 * type-break.el (timep): Use the value of `float-time' to avoid a
14294 byte-compiler warning.
14295
56e6cc31
JB
14296 * server.el (server-eval-and-print): Return any result, even nil.
14297
7b9430b4
PE
142982011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14299
14300 * type-break.el: Accept time formats that the builtins accept.
14301 (timep, type-break-time-difference): Accept any format that
14302 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14303 This is simpler and helps future-proof the code.
14304 (type-break-time-difference): Round rather than ignoring
14305 subseconds components.
14306
3034e9e7
LMI
143072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14308
14309 * info.el (Info-apropos-matches): Make non-interactive, since it
14310 doesn't seem to do anything useful as a command (bug#8829).
14311
1485f4c0
CY
143122011-07-03 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14315 Move from faces.el.
1485f4c0
CY
14316 (frame-default-terminal-background): New function.
14317
14318 * custom.el (custom-push-theme): Don't record faces in `changed'
14319 theme; this doesn't work correctly for per-frame face settings.
14320 (disable-theme): Use face-set-after-frame-default to reset faces.
14321 (custom--frame-color-default): New function.
14322
9fa3dd45
LMI
143232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14324
c8af70e1 14325 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14326 (bug#8769).
14327
6cbbc20c
KR
143282011-03-29 Kevin Ryde <user42@zip.com.au>
14329
14330 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14331 `perl-Test2' extend to match possible "fail #N" rep count
14332 (bug#8377).
14333
c7f98048
LMI
143342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14335
65676592
LMI
14336 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14337 `smtpmail-via-smtp' now returns the error instead of nil.
14338
c7f98048
LMI
14339 * isearch.el (isearch-search-fun-function): Clarify the doc string
14340 (bug#8101).
14341
56e6cc31 143422011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14343
14344 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14345 unnecessary spaces (bug#8987).
14346
2b216704
LMI
143472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14348
14349 * net/network-stream.el (open-network-stream): Use the
14350 :end-of-capability command thoughout.
14351
143522011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14353
14354 * net/network-stream.el (open-network-stream): Add the
14355 :end-of-capability command parameter, used by pop3.el.
14356
36adf6ce
LMI
143572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14358
1ca0da0e
LMI
14359 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14360
fc00f69c
LMI
14361 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14362 for list)" (bug#6475).
14363
28fd8759 14364 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14365 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14366 an error (bug#6297).
14367
0dd8b6da
LMI
14368 * man.el (Man-reference-regexp): Allow matching possible
14369 word-wrapped references (bug#6289).
14370
ce1438d6
LMI
14371 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14372 for consistency with the other vc buffers (bug#6197).
14373 (vc-checkin): Ditto.
14374
14375 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14376
36adf6ce
LMI
14377 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14378
e83cc1f7
LMI
143792011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14380
8a20ca4c
LMI
14381 * custom.el (defcustom): Clarify that :set is only used in the
14382 Customize user interface (bug#6089).
14383
83319045
LMI
14384 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14385 associated with a file, refuse to run instead of erroring out
14386 (bug#6084).
14387
a8392169
LMI
14388 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14389 the doc string, since it appears that using `fill-column' always
14390 controls the width (bug#7845).
14391
e83cc1f7
LMI
14392 * simple.el (shell-command-on-region): Say where the error output
14393 went if `shell-command-default-error-buffer' is set (bug#6857).
14394
e47ca23b
KM
143952011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14396
14397 * allout.el (allout-yank-processing): Adjust cursor position for
14398 backwards-deleted space.
14399
14400 (allout-rebullet-heading): Register changes with
14401 allout-exposure-changed-hook, so the modified topic is properly
14402 decorated.
14403
5cf56143
LMI
144042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14405
08549772
LMI
14406 * minibuffer.el (completion-in-region): Document PREDICATE
14407 (bug#7136).
14408
48e96771
LMI
14409 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14410 of keyword/argument pairs (bug#6904).
14411
c8af70e1
SM
14412 * replace.el (multi-occur):
14413 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14414
e17d05e2
LMI
144152011-07-02 Drew Adams <drew.adams@oracle.com>
14416
14417 * dired.el (dired-mark-if): Make the message about whether it's
14418 marking or unmarking clearer (bug#8523).
14419
063b0e45
LMI
144202011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14421
14422 * disp-table.el (display-table-print-array): New function.
14423 (describe-display-table): Use it to print the vectors more pretty
14424 (Bug#8859).
14425
28545e04
MR
144262011-07-02 Martin Rudalics <rudalics@gmx.at>
14427
14428 * window.el (window-state-get-1): Don't assign clone numbers.
14429 Add clone-of item to list of window parameters.
14430 (window-state-put-2): Don't process clone numbers.
14431 (display-buffer-alist): Fix doc-string.
14432
3349e122
SM
144332011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14434
14435 * subr.el (remq): Don't allocate if it's not needed.
14436 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14437 (keymap--merge-bindings): New functions.
14438 (keymap-canonicalize): Use them to refine the canonicalization.
14439 * minibuffer.el (minibuffer-local-completion-map)
14440 (minibuffer-local-must-match-map): Move initialization from C.
14441 (minibuffer-local-filename-completion-map): Move initialization from C;
14442 don't inherit from anything here.
14443 (minibuffer-local-filename-must-match-map): Make obsolete.
14444 (completing-read-default): Use make-composed-keymap to combine
14445 minibuffer-local-filename-completion-map with either
14446 minibuffer-local-must-match-map or
14447 minibuffer-local-filename-completion-map.
14448
d224ac83
GM
144492011-07-01 Glenn Morris <rgm@gnu.org>
14450
3de63bf8
GM
14451 * type-break.el (type-break-time-sum): Use dolist.
14452
d224ac83
GM
14453 * textmodes/flyspell.el (flyspell-word-search-backward):
14454 Replace CL function.
14455
1a1e3f32
SM
144562011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14457
fe3f64d5
SM
14458 * mouse.el (mouse--strip-first-event): New function.
14459 (function-key-map): Use it to map fringe clicks to normal clicks
14460 by default.
14461
eb604e34
SM
14462 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14463 (vc-bzr-revision-completion-table): Add support for annotate and date.
14464
1a1e3f32
SM
14465 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14466 inherit from parent.
14467
5bd35902
LMI
144682011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14469
ace6c69c 14470 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14471 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14472
191e2bed
LMI
14473 * dired.el (dired-mode): Fix up the doc string as suggested by
14474 Drew Adams (bug#8817).
14475
5bd35902
LMI
14476 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14477 cookie, since the manual says that it should be possible to add
14478 this function to `find-file-hook' (bug#8709).
14479
eee8207a
TZ
144802011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14481
14482 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14483 here. Noted Ted Zlatanov as the maintainer.
14484 (cfengine-common-settings, cfengine-common-syntax): New functions
14485 to set up common things between `cfengine-mode' and
14486 `cfengine3-mode'.
14487 (cfengine3-mode): New mode.
14488 (cfengine3-defuns cfengine3-defuns-regex
14489 (cfengine3-class-selector-regex cfengine3-category-regex)
14490 (cfengine3-vartypes cfengine3-font-lock-keywords)
14491 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14492 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14493
36b148cf
MA
144942011-07-01 Michael Albinus <michael.albinus@gmx.de>
14495
14496 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14497
14498 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14499
0bf4ba9a
MR
145002011-07-01 Martin Rudalics <rudalics@gmx.at>
14501
14502 * window.el (same-window-buffer-names, same-window-regexps)
14503 (same-window-p, special-display-frame-alist)
14504 (special-display-popup-frame, special-display-function)
14505 (special-display-buffer-names, special-display-regexps)
14506 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14507 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14508 (split-window-preferred-function, split-height-threshold)
14509 (split-width-threshold, even-window-heights)
14510 (display-buffer-mark-dedicated, window-splittable-p)
14511 (split-window-sensibly, window-safely-shrinkable-p):
14512 Un-obsolete.
14513 (display-buffer): Don't spread args with function specifier
14514 because special-display-popup-frame won't like it.
14515
35837f51
PE
145162011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14517
d0672f86
PE
14518 Time-stamp simplifications and fixes.
14519 These improve accuracy slightly, and future-proof the code
14520 against some potential changes to current-time format.
14521
b9444d97
PE
14522 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14523 by using time-since and float-time.
14524
0ef923dc
PE
14525 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14526 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14527 + NNN microseconds".
14528
2f81380d
PE
14529 * type-break.el (type-break-time-sum): Rewrite using time-add.
14530
845b5c3e
PE
14531 * play/hanoi.el (hanoi-current-time-float): Remove.
14532 All uses replaced by float-time.
14533
ee6f1be0
PE
14534 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14535 This yields a more-accurate answer.
14536 (rng-time-to-float): Remove; no longer needed.
14537
fe955043
PE
14538 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14539
5777162a
PE
14540 * calendar/timeclock.el (timeclock-seconds-to-time):
14541 Defalias to seconds-to-time, since they're the same thing.
14542
3103f8b6 14543 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14544 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14545 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14546
0e61a35f
SM
145472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14548
14549 * window.el (bury-buffer): Don't iconify the only frame.
14550 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14551 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14552
ddd63a1e
CY
145532011-07-01 Chong Yidong <cyd@stupidchicken.com>
14554
0e61a35f
SM
14555 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14556 Add mouse-yank-primary.
ddd63a1e 14557
055f4923
TZ
145582011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14559
14560 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14561
6a2fb145
SM
145622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14565 (find-library-name): Use it to find relative load names when provided
14566 absolute file name (bug#8803).
14567
fd4983f2
LMI
145682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14569
887d14ad
LMI
14570 * textmodes/flyspell.el (flyspell-word): Consider words that
14571 differ only in case as potential doublons (bug#5687).
14572
c53dc7fc
LMI
14573 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14574 Remove two rather uninteresting debugging-like messages to make
14575 debbugs.el more silent.
14576
fd4983f2
LMI
14577 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14578 a password-like phrase.
14579
7a71b18d 145802011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
14581
14582 * progmodes/cc-guess.el: New file.
14583
6a2fb145 14584 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
14585
14586 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14587 derived from `c-basic-common-init'.
14588
14589 * progmodes/cc-mode.el (top-level): Require cc-guess.
14590 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14591
1fa280a3
LM
145922011-06-30 Lawrence Mitchell <wence@gmx.li>
14593
14594 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14595
e6597158
AM
145962011-06-30 Alan Mackenzie <acm@muc.de>
14597
1fa280a3
LM
14598 * progmodes/cc-engine.el (c-guess-continued-construct):
14599 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
14600 lock is disabled. Name this case as "CASE G".
14601
68ba37fb
KM
146022011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14603
14604 * allout.el (allout-yank-processing): Fix injection of extra space
14605 between bullet and non-whitespace character in first topic when
14606 pasting, ensuring that the actual spacing in the pasted topic
14607 following the bullet char is preserved. This extra space was
14608 causing pasted encrypted topics to get a decrypted status even
14609 when the content was actually still encrypted. Now the decryption
14610 status from before the paste is preserved.
14611
14612 (allout-flag-region): Set all allout overlays so they evaporate
14613 when reduced to zero length (evanescent), to prevent overlay
14614 leakage.
14615
887a0b34
GM
146162011-06-30 Glenn Morris <rgm@gnu.org>
14617
94b9acce
GM
14618 * w32-fns.el (w32-charset-info-alist): Declare.
14619
1d9b46d4
GM
14620 * find-dired.el (find-grep-options): Simplify.
14621
cc232200
GM
14622 * term/ns-win.el (ns-set-resource): Declare.
14623
28e77c46
GM
14624 * ses.el (row, col): Declare dynamic variables honestly.
14625
887a0b34
GM
14626 * textmodes/reftex-parse.el (index-tags): Declare.
14627
658d8eb8
CY
146282011-06-30 Chong Yidong <cyd@stupidchicken.com>
14629
14630 * cus-edit.el (customize-push-and-save): New function.
14631
14632 * files.el (hack-local-variables-confirm): Use it.
14633
1fa280a3
LM
14634 * custom.el (load-theme): New arg NO-CONFIRM.
14635 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
14636 (custom-enabled-themes): Doc fix.
14637
14638 * cus-theme.el (customize-create-theme)
14639 (custom-theme-merge-theme): Callers to load-theme changed.
14640
bb617717
LMI
146412011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14642
d61bdd5d
LMI
14643 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14644 short URLs have at least one dot in them (bug #7614).
14645
bb617717
LMI
14646 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14647 nil, because using a pty is apparently too slow (bug #895).
14648
2f31f37a
LMI
146492011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14650
14651 * mail/sendmail.el (sendmail-query-once): New function.
14652 (sendmail-query-once-function): New variable.
14653
3076b24e
GM
146542011-06-29 Glenn Morris <rgm@gnu.org>
14655
faf2a174
GM
14656 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14657
3076b24e
GM
14658 * ses.el (top-level): Require cl when compiling.
14659 (ses-set-localvars): Fix error statement.
14660 Call it at compile time to silence a storm of warnings.
14661
5386012d
MR
146622011-06-29 Martin Rudalics <rudalics@gmx.at>
14663
14664 * window.el (normalize-live-buffer): Rename to
14665 window-normalize-buffer.
14666 (normalize-live-frame): Rename to window-normalize-frame.
14667 (normalize-any-window): Rename to window-normalize-any-window.
14668 (normalize-live-window): Rename to window-normalize-live-window.
14669 (make-window-atom): Rename to window-make-atom.
14670 (window-resize-reset): Rename to window--resize-reset.
14671 (window-resize-reset-1): Rename to window--resize-reset-1.
14672 (resize-mini-window): Rename to window--resize-mini-window.
14673 (resize-subwindows-skip-p): Rename to
14674 window--resize-subwindows-skip-p.
14675 (resize-subwindows-normal): Rename to
14676 window--resize-subwindows-normal.
14677 (resize-subwindows): Rename to window--resize-subwindows.
14678 (resize-other-windows): Rename to window--resize-siblings.
14679 (resize-this-window): Rename to window--resize-this-window.
14680 (resize-root-window): Rename to window--resize-root-window.
14681 (resize-root-window-vertically): Rename to
14682 window--resize-root-window-vertically.
14683 (normalize-buffer-to-display): Rename to
14684 window-normalize-buffer-to-display.
14685 (normalize-buffer-to-switch-to): Rename to
14686 window-normalize-buffer-to-switch-to.
14687 Correspondingly update all callers of the functions listed
14688 above.
14689 (display-buffer-alist, display-buffer-normalize-arguments)
14690 (display-buffer-normalize-options, display-buffer)
14691 (display-buffer-alist-set): Use "function" instead of
14692 "fun-with-args".
14693
1176868d
CY
146942011-06-28 Chong Yidong <cyd@stupidchicken.com>
14695
14696 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14697 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14698 debbugs.gnu.org. Mention acknowledgment email.
14699
20a7a65f
LMI
147002011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14701
14702 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14703 buffer multibyteness, since it shouldn't matter.
14704
5f45cca5
MR
147052011-06-28 Martin Rudalics <rudalics@gmx.at>
14706
14707 * window.el (display-buffer-in-side-window): Handle dedicated
14708 windows as in display-buffer-reuse-window.
14709 (display-buffer-normalize-alist): Use value of override
14710 specifier.
14711 (display-buffer-normalize-specifiers): Use value of
14712 other-window-means-other-frame specifier.
14713 (display-buffer-alist): Rewrite some texts in widgets.
14714 (display-buffer): Spread arguments when calling function
14715 specified by fun-with-args.
14716
ad85fe1f
DD
147172011-06-28 Deniz Dogan <deniz@dogan.se>
14718
1fa280a3
LM
14719 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14720 Unnest `let'.
da68c4c8 14721
ad85fe1f
DD
14722 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14723 selectors (Bug#5732).
ec49bd31 14724 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 14725
a08cc025
JA
147262011-06-27 Jari Aalto <jari.aalto@cante.net>
14727
14728 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14729 (eshell-ls-date-format): New defcustom.
14730 (eshell-ls-file): Use it.
14731
e2b551c5
SM
147322011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14733
14734 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14735
8982b231
KY
147362011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14737
14738 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14739 (ange-ftp-make-tmp-name): New arg.
14740 (ange-ftp-file-local-copy): Use it.
14741
36c9fa27
J
147422011-06-27 Jambunathan K <kjambunathan@gmail.com>
14743
14744 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14745 no-conversion (Bug#8870).
14746
d68443dc
MR
147472011-06-27 Martin Rudalics <rudalics@gmx.at>
14748
14749 * window.el (window-right, window-left, window-child)
14750 (window-child-count, window-last-child)
14751 (window-iso-combination-p, walk-window-tree-1)
14752 (window-atom-check-1, window-tree-1, delete-window)
14753 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14754 new naming conventions - window-vchild, window-hchild,
14755 window-next and window-prev are now called window-top-child,
14756 window-left-child, window-next-sibling and window-prev-sibling
14757 respectively.
d615d6d2
MR
14758 (resize-window-reset): Rename to window-resize-reset.
14759 (resize-window-reset-1): Rename to window-resize-reset-1.
14760 (resize-window): Rename to window-resize.
14761 (window-min-height, window-min-width)
14762 (resize-mini-window, resize-this-window, resize-root-window)
14763 (resize-root-window-vertically, adjust-window-trailing-edge)
14764 (enlarge-window, shrink-window, maximize-window)
14765 (minimize-window, delete-window, quit-restore-window)
14766 (split-window, balance-windows, balance-windows-area-adjust)
14767 (balance-windows-area, window-state-put-2)
14768 (display-buffer-even-window-sizes, display-buffer-set-height)
14769 (display-buffer-set-width, set-window-text-height)
14770 (fit-window-to-buffer): Rename all "resize-window" prefixed
14771 calls to use the "window-resize" prefix convention.
14772 (display-buffer-alist): Fix symbol for label specifier.
14773 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14774 corresponding specifier.
14775 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 14776
b6458526
VB
147772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14778
14779 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14780 convention.
14781 (ses-call-printer): Does not pass an empty string to formatter when the
14782 cell is empty to keep from barking printer Calc math-format-value.
14783
d31fd9ac
RS
147842011-06-27 Richard Stallman <rms@gnu.org>
14785
43d5bf84
RS
14786 * battery.el (battery-mode-line-limit): New variable.
14787 (battery-update): Handle it.
14788
d31fd9ac
RS
14789 * mail/rmailmm.el (rmail-mime-process-multipart):
14790 Handle truncated messages.
14791
819a6054
GM
147922011-06-27 Glenn Morris <rgm@gnu.org>
14793
14794 * progmodes/flymake.el (flymake-err-line-patterns):
14795 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14796
cedc73f2
VB
147972011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14798
819a6054 14799 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
14800 (ses--clean-!, ses--clean-_): New functions.
14801 (ses-range): Add configurability of readout order, and conversion
14802 to Calc vector.
14803
5e5d49b6
VB
14804 * ses.el (ses-repair-cell-reference-all): New function.
14805 (ses-cell-symbol): Set macro as safe, so that it can be used in
14806 formulas.
14807
56e6cc31 14808 * ses.el: Update cycle detection algorithm.
90ca8b49 14809 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 14810 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
14811 (ses-set-localvars): New function.
14812 (ses-make-cell): Add property-list as a cell element.
14813 (ses-cell-property-get-fun, ses-cell-property-get)
14814 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
14815 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14816 New functions.
90ca8b49
VB
14817 (ses-cell-property-set, ses-cell-property-pop)
14818 (ses-cell-property-get-handle): New macro.
14819 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14820 New aliases, used for code readability.
14821 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14822 cycle detection.
14823 (ses-self-reference-early-detection): New defcustom.
fac916bf 14824 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
14825 (ses-mode): Use ses-set-localvars.
14826 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14827 before lauching the update processing.
14828 (ses-initialize-Dijkstra-attempt): New function.
14829 (ses-recalculate-cell): Update for cycle detection based on
14830 Dijkstra algorithm.
14831
2bb63e81
VB
14832 * ses.el: Fix commenting and indenting convention.
14833
c9d29fb8
SM
148342011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14835
14836 * bs.el (bs-cycle-next): Complete last change.
14837
d8e4b68b
JB
148382011-06-27 Drew Adams <drew.adams@oracle.com>
14839
14840 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14841
40098786
LMI
148422011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14843
c9d29fb8
SM
14844 * net/network-stream.el (network-stream-open-starttls):
14845 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
14846 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14847
40098786
LMI
14848 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14849 to binary to possibly avoid line encoding issues on Windows (among
14850 other things).
14851
468d09d4
LMI
148522011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14853
14854 * net/network-stream.el (open-network-stream): Return an :error
14855 saying what the problem was, if possible.
14856
14857 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14858 server.
14859
14860 * net/network-stream.el (network-stream-open-starttls): If we
14861 wanted to use STARTTLS, and the server offered it, but we weren't
14862 able to because we had no STARTTLS support, then close the connection.
14863 (open-network-stream): Return an :error element, if present.
14864
16f07dd7
CY
148652011-06-26 Chong Yidong <cyd@stupidchicken.com>
14866
88821ca0
CY
14867 * hl-line.el (hl-line-sticky-flag): Doc fix.
14868 (global-hl-line-sticky-flag): New option (Bug#8323).
14869 (global-hl-line-highlight): Obey it.
14870
16f07dd7
CY
14871 * vc/vc.el (vc-revert-show-diff): Default to t.
14872
6b5ccddf
KM
148732011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14874
c9d29fb8
SM
14875 * allout-widgets.el (allout-widgets-post-command-business):
14876 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
14877 undecorated when an isearch is continued past, and isearch
14878 automatically collapses them. This leads to "widget leaks", where
14879 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
14880 hidden widgets can slow down cursor travel, substantially.
14881 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
14882 so we're doing without this nicety.
14883
14884 (allout-widgets-tally-string): Don't try to do a hash-table-count
14885 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14886 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14887 *Messages* when allout-widgets-maintain-tally is t.
14888
355f2e07
MR
148892011-06-26 Martin Rudalics <rudalics@gmx.at>
14890
14891 * window.el (display-buffer-normalize-argument): Rename to
14892 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
14893 LABEL argument. Respect special-display-function when popping up
14894 a new frame. Fix code searching for a window showing the buffer
14895 on another frame.
c9d29fb8
SM
14896 (display-buffer-normalize-specifiers):
14897 Call display-buffer-normalize-arguments.
355f2e07
MR
14898 (display-buffer-in-window): Don't undedicate the window if its
14899 buffer remains the same.
14900 Reported by Drew Adams <drew.adams@oracle.com>.
14901 (display-buffer-alist): Add choice for same-window macro
14902 specfier.
14903 (display-buffer): Mention special meaning of LABEL argument in
14904 doc-string. Fix quoting. Don't pop up a new frame even as
14905 fallback.
14906
7ca8fc42
JB
149072011-06-26 Juanma Barranquero <lekktu@gmail.com>
14908
14909 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14910 avoid deleting the current window in some cases (bug#8911).
14911
bc312254
AS
149122011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14913
14914 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14915 (Bug#8934)
14916
2db18f3f
LMI
149172011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14918
c9d29fb8
SM
14919 * net/network-stream.el (network-stream-open-starttls):
14920 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
14921 (network-stream-open-tls): Ditto.
14922
6302e0d3
LL
149232011-06-26 Leo Liu <sdl.web@gmail.com>
14924
14925 * register.el (registerv): New struct.
14926 (registerv-make): New function.
c9d29fb8
SM
14927 (jump-to-register, describe-register-1, insert-register):
14928 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
14929 struct. (Bug#8415)
14930
5fdd4046
CY
149312011-06-26 Chong Yidong <cyd@stupidchicken.com>
14932
2afef60a
CY
14933 * vc/vc.el (vc-revert-show-diff): New defcustom.
14934 (vc-diff-internal): New arg specifying diff buffer.
14935 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14936 reuse an existing *vc-diff* buffer (Bug#8927).
14937
5fdd4046
CY
14938 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14939
e93db24a
GM
149402011-06-26 Glenn Morris <rgm@gnu.org>
14941
14942 * progmodes/f90.el (f90-critical-indent): New option.
14943 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14944 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14945 (f90-mode): Doc fix.
14946 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14947 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14948 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14949 (f90-match-end): Handle block, critical.
14950
eefff499
GM
149512011-06-25 Glenn Morris <rgm@gnu.org>
14952
f6ba4cc9
GM
14953 * calendar/diary-lib.el (diary-included-files): Doc fix.
14954 (diary-include-files): New function, extracted from
14955 diary-include-other-diary-files and diary-mark-included-diary-files.
14956 (diary-include-other-diary-files, diary-mark-included-diary-files):
14957 Just call diary-include-files.
14958 (diary-mark-entries): Reset diary-included-files on first call.
14959
16712304
GM
14960 * calendar/diary-lib.el (diary-mark-entries)
14961 (diary-mark-included-diary-files):
14962 Visit included diary-files in temp buffers.
14963
5d8e0d43
GM
14964 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14965 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14966 (f90-start-block-re, f90-imenu-generic-expression)
14967 (f90-looking-at-program-block-start, f90-no-block-limit):
14968 Add support for submodules.
14969
ccf7a5d5
GM
14970 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14971 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 14972
11fdef7d 149732011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
14974
14975 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14976 buffer-file-type before setting its value, to avoid disastrous
eefff499 14977 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 14978
74f53697
JB
149792011-06-25 Juanma Barranquero <lekktu@gmail.com>
14980
14981 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14982
14983 * ses.el (ses-unload-function):
14984 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14985
14986 * proced.el (proced-unload-function):
14987 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14988
18a4ce5e
AR
149892011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14990
14991 * server.el (server-create-window-system-frame): Add parameters arg.
14992 (server-process-filter): Doc fix. Handle frame-parameters.
14993
519d22cc
JB
149942011-06-25 Juanma Barranquero <lekktu@gmail.com>
14995
14996 Fix bug#8730, bug#8781.
14997
14998 * loadhist.el (unload--set-major-mode): New function.
14999 (unload-feature): Use it.
15000
15001 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15002 (python-unload-function): New function.
15003
c206f5b0
SM
150042011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15005
15006 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15007
f9ad64f3
GS
150082011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15009
15010 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15011 the candidates list.
15012
7d0da90e
JB
150132011-06-24 Juanma Barranquero <lekktu@gmail.com>
15014
15015 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15016
14b4e83d
RS
150172011-06-23 Richard Stallman <rms@gnu.org>
15018
15019 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15020 (rmail-variables): Set next-error-move-function.
15021 (rmail-what-message): Take argument POS.
15022 (rmail-next-error-move): New function.
15023
273d2baf
SM
150242011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15025
15026 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15027 messages for adjacent non-terminals.
15028
56c2cc9a
RS
150292011-06-23 Richard Stallman <rms@gnu.org>
15030
15031 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15032 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15033 (rmail-start-mail): Don't specify use of rmail-mail-return;
15034 that's done by mail-bury now.
15035 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15036
d59eb518
MA
150372011-06-23 Michael Albinus <michael.albinus@gmx.de>
15038
15039 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15040 SIZE is a number.
15041
02cfc6d6
MR
150422011-06-23 Martin Rudalics <rudalics@gmx.at>
15043
15044 * window.el (get-lru-window, get-mru-window)
15045 (get-largest-window): Never return a minibuffer window.
15046 (display-buffer-pop-up-window): Fix a bug that could lead to
15047 reusing the minibuffer window.
15048 (display-buffer): Pass original specifier argument to
15049 display-buffer-function instead of the normalized one.
15050 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15051
4e323265
LL
150522011-06-22 Leo Liu <sdl.web@gmail.com>
15053
15054 * minibuffer.el (completing-read-function)
15055 (completing-read-default): Move from minibuf.c
15056
7a70468f
RS
150572011-06-22 Richard Stallman <rms@gnu.org>
15058
50718fc2
RS
15059 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15060 to Rmail even if not started by a special Rmail command.
15061
7a70468f
RS
15062 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15063 Copy the buffer currently showing just one message.
15064
297dde5a
RW
150652011-06-22 Roland Winkler <winkler@gnu.org>
15066
15067 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15068 (bibtex-clean-entry): First delete the old key so that a
15069 customized algorithm for generating the new key does not get
15070 confused by the old key.
15071 (bibtex-url): Obey regexp of first step.
15072 (bibtex-search-entries): Do not use add-to-list with local
15073 list-var.
15074
97bb1093
LMI
150752011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15076
15077 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15078 stored a user name, then query for the password first, instead of
15079 waiting for SMTP to give an error message and the trying again.
15080
1c0f1a19
JD
150812011-06-22 Lawrence Mitchell <wence@gmx.li>
15082
15083 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15084 BUFFER in call-process.
15085
396f7c9d
LMI
150862011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15087
15088 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15089 QUIT twice.
ddb7ffee
LMI
15090 (smtpmail-try-auth-methods): Require user name and password from
15091 auth-source.
396f7c9d 15092
8998d1b3
MR
150932011-06-22 Martin Rudalics <rudalics@gmx.at>
15094
15095 * window.el (display-buffer-default-specifiers)
15096 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15097 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15098 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15099
15100 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15101 (special-display-frame-alist, special-display-popup-frame):
15102 Remove duplicate declarations. These are now in window.el.
15103
4ea31e07
LMI
151042011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15105
c9d29fb8
SM
15106 * mail/smtpmail.el (smtpmail-via-smtp):
15107 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15108 server supports it. SMTP servers that support STARTTLS commonly
15109 require it.
15110
15111 * net/network-stream.el (network-stream-open-starttls): Support
15112 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15113 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15114
95f41d9a
LMI
15115 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15116 upgrades with `open-network-stream', and rely solely on
15117 auth-source for all credentials. Big changes throughout the file,
15118 but in particular:
c9d29fb8
SM
15119 (smtpmail-auth-credentials): Remove.
15120 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15121 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15122 MAIL FROM, too.
95f41d9a 15123
c9d29fb8
SM
15124 * net/network-stream.el (network-stream-open-starttls):
15125 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15126 STARTTLS.
15127 (auth-source): Require.
15128 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15129 (network-stream-certificate): Change cert-cert to cert and
15130 cert-key to key.
4ea31e07 15131
065ec2c7
MA
151322011-06-21 Michael Albinus <michael.albinus@gmx.de>
15133
15134 * net/tramp-cache.el (top): Don't load the persistency file when
15135 "emacs -Q" has been called.
15136
cd93b359
DR
151372011-06-21 Tim Harper <timcharper@gmail.com>
15138
d8e4b68b
JB
15139 * term/ns-win.el (ns-initialize-window-system):
15140 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15141 resource to NO as it is not yet supported by the NS port.
15142
ae9c0411
JB
151432011-06-21 Juanma Barranquero <lekktu@gmail.com>
15144
15145 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15146 (list-dynamic-libraries): ...not here.
15147
7f3f739f
LL
151482011-06-21 Leo Liu <sdl.web@gmail.com>
15149
15150 * subr.el (sha1): Implement sha1 using secure-hash.
15151
327c8fb1
MR
151522011-06-21 Martin Rudalics <rudalics@gmx.at>
15153
15154 * window.el (display-buffer-alist): In default value do not
15155 enforce searching a window on any but the selected frame.
15156 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15157 (display-buffer-select-window): Remove function.
15158 (display-buffer-in-window): When a window on another frame gets
15159 reused, do not select it any more but just raise its frame if
15160 necessary (Bug#8851) and (Bug#8856).
15161 (display-buffer-normalize-options): Handle pop-up-frames related
15162 options more faithfully.
15163 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15164 window if it is on another frame.
c9d29fb8
SM
15165 (display-buffer-alist, display-buffer-default-specifiers):
15166 Don't make new frame unsplittable by default.
9e9de014
MR
15167 (display-buffer-normalize-argument): Fix doc-string typo and use
15168 'same-frame-other-window instead of 'other-window when associating
15169 with display-buffer-macro-specifiers.
327c8fb1 15170
7cf3f556
VB
151712011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15172
15173 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15174 New functions.
15175 (5x5-mode-map, 5x5-mode-menu): Bind them.
15176 (5x5-draw-grid): Tweak the solver's rendering.
15177
60a406cf
SM
151782011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15179
15180 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15181 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15182
d8e4b68b 151832011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15184
15185 * menu-bar.el: Use function variable instead of switch-to-buffer.
15186 (menu-bar-select-buffer-function): New variable.
60a406cf 15187 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15188
478d6f95
SM
151892011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15190
15191 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15192 variable's status.
15193
ca530739
JD
151942011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15195
15196 * x-dnd.el (x-dnd-version-from-flags)
15197 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15198 and long as number (Bug#8899).
15199 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15200
bcd70d97
SM
152012011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15202
60a406cf 15203 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15204 (completion-try-completion, completion-all-completions): Compute the
15205 metadata argument if it's missing; make it optional (bug#8795).
15206
60a406cf 15207 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15208 (widget-complete): Use new :completion-function property.
15209 (widget-completions-at-point): New function.
15210 (default): Use :completion-function instead of :complete.
60a406cf
SM
15211 (widget-default-completions): Rename from widget-default-complete;
15212 Rewrite.
bcd70d97
SM
15213 (widget-string-complete, widget-file-complete, widget-color-complete):
15214 Remove functions.
15215 (file, symbol, function, variable, coding-system, color):
15216 * international/mule-cmds.el (default-input-method, charset)
15217 (language-info-custom-alist):
15218 * cus-edit.el (face): Use new property :completions.
15219
15220 * progmodes/pascal.el (pascal-completions-at-point): New function.
15221 (pascal-mode): Use it.
15222 (pascal-mode-map): Use completion-at-point.
15223 (pascal-toggle-completions): Make obsolete.
15224 (pascal-complete-word, pascal-show-completions):
15225 * progmodes/octave-mod.el (octave-complete-symbol):
15226 Redefine as obsolete alias.
15227 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15228 Signal absence of completion info for old Octave,
15229 (inferior-octave-complete): Redefine as obsolete alias.
15230 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15231 (meta-completions-at-point): Rename from meta-complete-symbol and
15232 adapt it for use on completion-at-point-functions.
15233 (meta-common-mode): Use it.
15234 (meta-looking-at-backward, meta-match-buffer): Remove.
15235 (meta-complete-symbol): Redefine as obsolete alias.
15236 (meta-common-mode-map): Use completion-at-point.
15237 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15238 (makefile-mode-map): Use completion-at-point.
15239 (makefile-completions-at-point): Rename from makefile-complete and
15240 adapt it for use on completion-at-point-functions.
15241 (makefile-mode): Use it.
15242 (makefile-complete): Redefine as obsolete alias.
15243
aebf69c8
DD
152442011-06-20 Deniz Dogan <deniz@dogan.se>
15245
15246 * net/rcirc.el: Delete trailing whitespaces once and for all.
15247
bfbbb27d
DC
152482011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15249
15250 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15251
d264a46b
CY
152522011-06-19 Chong Yidong <cyd@stupidchicken.com>
15253
4ca009e5
CY
15254 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15255
d264a46b
CY
15256 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15257
fbf5b3ce
MR
152582011-06-19 Martin Rudalics <rudalics@gmx.at>
15259
15260 * window.el (display-buffer-other-window-means-other-frame):
15261 Call display-buffer-normalize-alist.
15262 (display-buffer-normalize-specifiers-1): Rename to
15263 display-buffer-normalize-argument. New argument other-frame.
15264 Rewrite.
15265 (display-buffer-normalize-specifiers-2): Rename to
15266 display-buffer-normalize-options.
15267 (display-buffer-normalize-alist-1): New function.
15268 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15269 display-buffer-normalize-alist.
15270 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15271 (display-buffer-normalize-options-inhibit): New variable.
15272 (display-buffer-normalize-specifiers): Rewrite calling
15273 display-buffer-normalize-alist,
15274 display-buffer-normalize-argument, and
15275 display-buffer-normalize-options. Don't call the latter if
15276 display-buffer-normalize-options-inhibit is non-nil.
15277 (frame-auto-delete): New option.
15278 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15279 (window-list-no-nils, window-state-ignored-parameters)
15280 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15281 (window-state-put-1, window-state-put-2, window-state-put):
15282 New functions.
9a028c23
MR
15283 (display-buffer-normalize-options): Move special-display-p group
15284 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15285
6d10d800
CY
152862011-06-18 Chong Yidong <cyd@stupidchicken.com>
15287
6420d28b
CY
15288 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15289 groups (Bug#8776).
15290 (rx-submatch-n): New function.
15291 (rx): Document it.
15292
ddb8b596
CY
15293 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15294 (Bug#8768).
15295
15296 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15297
77080289
CY
15298 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15299
61dfb316
CY
15300 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15301 anytime existing face settings are present (Bug#8889).
15302
6d10d800
CY
15303 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15304 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15305 Remove unused argument.
15306
be3fb2b8
MR
153072011-06-18 Martin Rudalics <rudalics@gmx.at>
15308
bcd70d97
SM
15309 * window.el (display-buffer-default-specifiers):
15310 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15311 pop-up-window-min-width, and another reuse-window specifier
15312 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15313 (display-buffer-normalize-specifiers-2):
15314 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15315 pop-up-windows is unset. Add a reuse-window specifier for the
15316 case popping up a new window fails.
15317 (special-display-popup-frame): Remove double quoting.
28dec25a 15318 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15319
1c6d8c76
SM
153202011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15321
15322 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15323 according to comint-completion-addsuffix.
15324
15325 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15326 (pcomplete-suffix-list): Mark as obsolete.
15327 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15328 pcomplete-seen in the closure.
15329 (pcomplete-comint-setup): Setup completion-at-point as well.
15330 (pcomplete--entries): New function.
15331 (pcomplete--env-regexp): New var.
15332 (pcomplete-entries): Rewrite to work with partial-completion and
15333 without relying on pcomplete-suffix-list.
15334 (pcomplete-pare-list): Remove, unused.
15335
25aef8b8
MR
153362011-06-17 Martin Rudalics <rudalics@gmx.at>
15337
15338 * window.el (display-buffer-alist): Set pop-up-window-min-height
15339 and pop-up-window-min-width in default value. Reported by
15340 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15341 other-window-means-other-frame.
15342 (display-buffer-macro-specifiers): Comment out entry for
15343 other-window specifier.
15344 (display-buffer-other-window-means-other-frame): New function.
15345 (display-buffer-normalize-specifiers-1): New arguments
15346 buffer-name and label. Treat other-window case specially.
15347 (display-buffer-normalize-specifiers-2): Treat other-window case
15348 specially.
15349 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15350 (display-buffer-normalize-specifiers):
15351 Call display-buffer-normalize-specifiers-3.
25aef8b8 15352
dbad4f69
MR
153532011-06-17 Martin Rudalics <rudalics@gmx.at>
15354
15355 * window.el (same-window-p): Fix two typos introduced when
15356 adding with-no-warnings.
d1067961
MR
15357 (display-buffer-normalize-specifiers-1): Don't check
15358 pop-up-frames for 'unset initialization.
15359 (display-buffer-normalize-specifiers-2): Major rewrite using
15360 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15361 (pop-up-frames, display-buffer-reuse-frames)
15362 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15363 Suggested by David Engster <deng@randomsample.de>.
15364 (even-window-heights): Initialize to 'unset.
15365 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15366 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15367 other window case.
dbad4f69 15368
9b9c9e3a
MR
153692011-06-16 Martin Rudalics <rudalics@gmx.at>
15370
bcd70d97
SM
15371 * window.el (display-buffer-normalize-specifiers-1):
15372 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15373 second argument of display-buffer (Bug#8865).
981d5c09
MR
15374 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15375 (switch-to-buffer-other-window-same-frame)
15376 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15377 Adams (Bug#8875).
9c2755e9
MR
15378 (display-buffer): Don't check noninteractive when calling
15379 display-buffer-pop-up-frame.
15380 (display-buffer-pop-up-frame): Never pop up a frame in
15381 noninteractive mode (Bug#8857).
67222e1d
MR
15382 (enlarge-window, shrink-window): Don't report an error when the
15383 window can't be resized as requested (Bug#8862).
9b9c9e3a 15384
2b75be67
SM
153852011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15386
9ffdd3ba
SM
15387 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15388
cb581a67
SM
15389 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15390
2b75be67
SM
15391 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15392
8c0e3589
AM
153932011-06-15 Alan Mackenzie <acm@muc.de>
15394
cb581a67
SM
15395 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15396 for declarators, disable knr checking to speed up for normal files.
15397 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15398
b96e6cde
LMI
153992011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15400
4bba86e6
LMI
15401 * net/network-stream.el (open-network-stream): Add the keyword
15402 :always-query-capabilities for the case where you want to force a
15403 `plain' network connection, but the protocol still requires the
15404 capabilitiy command (i.e., SMTP and EHLO).
15405
2b75be67 15406 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15407 consistency with other `-live-p' functions.
15408
efdcdbf8
SM
154092011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15410
15411 * window.el (same-window-buffer-names, same-window-regexps)
15412 (special-display-frame-alist, special-display-popup-frame)
15413 (special-display-function, special-display-buffer-names)
15414 (special-display-regexps, pop-up-frame-alist)
15415 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15416 (pop-up-windows, split-window-preferred-function)
15417 (split-height-threshold, split-width-threshold, even-window-heights)
15418 (display-buffer-mark-dedicated): Don't encourage the use of
15419 display-buffer-alist from Elisp code.
15420
c5cde042
DN
154212011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15422
15423 * progmodes/python.el (python-mode): Derive from prog-mode.
15424 * progmodes/ps-mode.el (ps-mode):
15425 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15426 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15427 * progmodes/ld-script.el (ld-script-mode): Likewise.
15428
baa1c9ab
MR
154292011-06-15 Martin Rudalics <rudalics@gmx.at>
15430
15431 * window.el (display-buffer-alist): Trim default value to avoid
15432 popping up a new frame (Bug#8857) or reusing an arbitrary window
15433 on another frame.
15434 (display-buffer): Do not fall back on popping up a new frame in
15435 batch mode (Bug#8857).
15436
c5dd5a51
CY
154372011-06-14 Chong Yidong <cyd@stupidchicken.com>
15438
15439 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15440 (custom-theme-summary): New function.
15441 (customize-themes): Use it.
15442
d647b7c4
GM
154432011-06-13 Glenn Morris <rgm@gnu.org>
15444
15445 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15446
9481c002
MR
154472011-06-13 Martin Rudalics <rudalics@gmx.at>
15448
357f93d2
MR
15449 * help.el (help-window): Remove variable.
15450 (help-window-point-marker, temp-buffer-max-height)
15451 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15452 (help-print-return-message): Don't set help-window.
15453 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15454 (help-window-setup-finish): Remove.
15455 (help-window-display-message, help-window-setup)
15456 (with-help-window): Major rewrite based on new
15457 display-buffer-window variable.
15458
15459 * help-mode.el (help-mode-finish): Remove help-window related
15460 code.
15461
15462 * view.el (view-exits-all-viewing-windows): Remove reference to
15463 view-return-to-alist in doc-string.
15464 (view-return-to-alist): Make obsolete.
15465 (view-buffer): Call pop-to-buffer-same-window and remove
15466 undo-window code.
15467 (view-buffer-other-window): Call pop-to-buffer-other-window and
15468 simplify code. Ignore second argument.
15469 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15470 simplify code. Ignore second argument.
15471 (view-return-to-alist-update): Make obsolete.
15472 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15473 Rewrite using quit-restore window parameters.
2b75be67
SM
15474 (view-mode-exit): Rename second argument to EXIT-ONLY.
15475 Rewrite using quit-restore-window.
357f93d2
MR
15476 (View-exit, View-exit-and-edit, View-leave, View-quit)
15477 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15478 appropriate arguments.
15479 (view-end-message): Use quit-restore window parameter.
15480
9481c002
MR
15481 * window.el (display-buffer-function): Rewrite doc-string.
15482 (display-buffer-window, display-buffer-alist): New variables.
15483 (display-buffer-split-specifiers)
15484 (display-buffer-side-specifiers)
15485 (display-buffer-macro-specifiers): New constants.
15486 (display-buffer-even-window-sizes, display-buffer-set-height)
15487 (display-buffer-set-width, display-buffer-select-window)
15488 (display-buffer-in-window, display-buffer-reuse-window)
15489 (display-buffer-split-window-1, display-buffer-split-window)
15490 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15491 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15492 (display-buffer-in-side-window, normalize-buffer-to-display)
15493 (display-buffer-normalize-specifiers-1)
15494 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15495 (display-buffer-normalize-specifiers, display-buffer-frame):
15496 New functions.
9481c002
MR
15497 (display-buffer): Major rewrite.
15498 (display-buffer-other-window, display-buffer-other-frame)
15499 (pop-to-buffer, switch-to-buffer-other-window)
15500 (switch-to-buffer-other-frame): Rewrite.
15501 (display-buffer-same-window, display-buffer-same-frame)
15502 (display-buffer-same-frame-other-window)
15503 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15504 (pop-to-buffer-other-window)
15505 (pop-to-buffer-same-frame-other-window)
15506 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15507 (switch-to-buffer-other-window-same-frame): New functions.
15508 (same-window-p, special-display-p): Rewrite disabling warnings.
15509 Make obsolete.
15510 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15511 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15512 Make obsolete
15513 (same-window-buffer-names, same-window-regexps)
15514 (special-display-frame-alist, special-display-popup-frame)
15515 (special-display-function, special-display-buffer-names)
15516 (special-display-regexps, pop-up-frame-alist)
15517 (pop-up-frame-function, split-window-preferred-function)
15518 (split-height-threshold, split-width-threshold)
15519 (even-window-heights): Make obsolete.
15520
9db51aca
GM
155212011-06-12 Glenn Morris <rgm@gnu.org>
15522
15523 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15524 Misc simplifications.
9db51aca 15525
39cffb44
MR
155262011-06-12 Martin Rudalics <rudalics@gmx.at>
15527
15528 * window.el (window-safely-shrinkable-p): Restore function which
15529 was inadvertently removed in change from 2011-06-11. Declare as
15530 obsolete.
15531
2b75be67
SM
15532 * calendar/calendar.el (calendar-generate-window):
15533 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15534 window-safely-shrinkable-p.
15535
a8955be7
GM
155362011-06-12 Glenn Morris <rgm@gnu.org>
15537
15538 * progmodes/fortran.el (fortran-mode-syntax-table):
15539 * progmodes/f90.el (f90-mode-syntax-table):
15540 Set % to punctuation. (Bug#8820)
15541 (f90-find-tag-default): Remove, no longer needed.
15542
f0d4059d
DC
155432011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15544
15545 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15546
1100a63c
CY
155472011-06-11 Chong Yidong <cyd@stupidchicken.com>
15548
15549 * image.el (image-animated-p): Return animation delay in seconds.
15550 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15551 (image-animate-timeout): Remove DELAY argument. Don't assume
15552 every subimage has the same delay; get it from image-animated-p.
15553 (image-animate): Caller changed.
15554
def722bf
MA
155552011-06-11 Michael Albinus <michael.albinus@gmx.de>
15556
15557 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15558 to ignored backtrace functions.
15559
0a2bb1a9
GM
155602011-06-11 Glenn Morris <rgm@gnu.org>
15561
15562 * calendar/appt.el (appt-disp-window-function): Doc fix.
15563 (appt-check): Handle overlapping appointments. (Bug#8337)
15564
6198ccd0
MR
155652011-06-11 Martin Rudalics <rudalics@gmx.at>
15566
15567 * window.el (window-tree-1, window-tree): New functions, moving
15568 the latter to window.el.
15569 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15570 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15571 (bw-refresh-edges): Remove.
15572 (balance-windows-1, balance-windows-2): New functions.
15573 (balance-windows): Rewrite in terms of window tree functions,
15574 balance-windows-1 and balance-windows-2.
15575 (bw-adjust-window): Remove.
15576 (balance-windows-area-adjust): New function with functionality of
15577 bw-adjust-window but using resize-window.
2b75be67
SM
15578 (set-window-text-height): Rewrite doc-string.
15579 Use normalize-live-window and resize-window.
15580 (enlarge-window-horizontally, shrink-window-horizontally):
15581 Rename argument to DELTA.
6198ccd0
MR
15582 (window-buffer-height): New function.
15583 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15584 Rewrite using new window resize routines.
2b75be67
SM
15585 (kill-buffer-and-window, mouse-autoselect-window-select):
15586 Use ignore-errors instead of condition-case.
6198ccd0
MR
15587 (quit-window): Call delete-frame instead of delete-windows-on
15588 for the only buffer on frame.
15589
9397e56f
MR
155902011-06-10 Martin Rudalics <rudalics@gmx.at>
15591
15592 * loadup.el (top-level): Load window before files for the sake
15593 of replace-buffer-in-windows.
15594
15595 * files.el (read-buffer-to-switch)
15596 (switch-to-buffer-other-window)
2b75be67
SM
15597 (switch-to-buffer-other-frame, display-buffer-other-frame):
15598 Move to window.el.
9397e56f
MR
15599
15600 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15601 (previous-buffer): Move to window.el.
15602
15603 * bindings.el (unbury-buffer): Move to window.el.
15604
15605 * window.el (delete-other-windows-vertically): Move after
15606 definition of delete-other-windows.
15607 (other-window, delete-windows-on, replace-buffer-in-windows):
15608 Move here from window.c.
15609 (record-window-buffer, unrecord-window-buffer)
15610 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15611 (switch-to-next-buffer): New functions.
15612 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15613 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
15614 (previous-buffer): Move here from simple.el.
15615 Call switch-to-prev-buffer.
9397e56f
MR
15616 (bury-buffer): Move here from buffer.c. Switch to previous
15617 buffer when window cannot be deleted.
15618 (unbury-buffer): Move here from bindings.el.
15619 (ctl-x-map): Move binding for other-window from window.c to
15620 here.
15621 (read-buffer-to-switch, switch-to-buffer-other-window)
15622 (switch-to-buffer-other-frame): Move here from files.el.
15623 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
15624 (switch-to-buffer): Move here from buffer.c.
15625 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 15626
562dd5e9
MR
156272011-06-10 Martin Rudalics <rudalics@gmx.at>
15628
15629 * window.el (window-min-height, window-min-width): Move here
15630 from window.c. Add defcustoms and rewrite doc-strings.
15631 (resize-mini-window, resize-window): New functions.
15632 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15633 Move here from window.c.
15634 (maximize-window, minimize-window): New functions.
15635 (delete-window, delete-other-windows, split-window): Move here
15636 from window.c.
15637 (window-split-min-size): New function.
15638 (split-window-keep-point): Mention split-window-above-each-other
15639 instead of split-window-vertically.
2b75be67 15640 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
15641 Rename split-window-vertically to split-window-above-each-other
15642 and provide defalias for old definition.
15643 (split-window-side-by-side, split-window-horizontally):
15644 Rename split-window-horizontally to split-window-side-by-side
15645 and provide defalias for the old definition.
562dd5e9
MR
15646 (ctl-x-map): Move bindings for delete-window,
15647 delete-other-windows and enlarge-window here from window.c.
15648 Replace bindings for split-window-vertically and
15649 split-window-horizontally by bindings for
15650 split-window-above-each-other and split-window-side-by-side.
15651
15652 * cus-start.el (all): Remove entries for window-min-height and
15653 window-min-width. Add entries for window-splits and
15654 window-nest.
15655
f0da764a
GM
156562011-06-09 Glenn Morris <rgm@gnu.org>
15657
80675c21
GM
15658 * calendar/appt.el (appt-mode-line): New function.
15659 (appt-check, appt-disp-window): Use it.
15660
f0da764a
GM
15661 * files.el (hack-one-local-variable-eval-safep):
15662 Allow minor-modes with explicit +/-1 arguments.
15663
59f623b7
TZ
156642011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15665
15666 * term/xterm.el (xterm): Add defgroup.
15667 (xterm-extra-capabilities): Add defcustom to supply known xterm
15668 capabilities, skip querying them, or query them (default).
15669 (terminal-init-xterm): Use it.
15670 (terminal-init-xterm-modify-other-keys): New function to set up
15671 modifyOtherKeys support to simplify `terminal-init-xterm'.
15672
9aab8e0d
MR
156732011-06-09 Martin Rudalics <rudalics@gmx.at>
15674
15675 * window.el (resize-window-reset, resize-window-reset-1)
15676 (resize-subwindows-skip-p, resize-subwindows-normal)
15677 (resize-subwindows, resize-other-windows, resize-this-window)
15678 (resize-root-window, resize-root-window-vertically)
15679 (window-deletable-p, window-or-subwindow-p)
15680 (frame-root-window-p): New functions.
15681
e8b08aee
GM
156822011-06-09 Glenn Morris <rgm@gnu.org>
15683
15684 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15685 (ange-ftp-get-files): Use it.
15686
254c37a5
AK
156872011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15688
15689 * mail/sendmail.el (mail-recover-1, mail-recover):
15690 * files.el (recover-file, recover-session):
15691 Handle dired-listing-switches not being just a single short option.
15692
35d7dbd3
GM
156932011-06-09 Glenn Morris <rgm@gnu.org>
15694
15695 * calendar/appt.el (appt-display-message, appt-disp-window):
15696 Handle lists of appointments.
15697
387522b2
MR
156982011-06-08 Martin Rudalics <rudalics@gmx.at>
15699
2b75be67
SM
15700 * window.el (one-window-p): Move down in code.
15701 Rewrite doc-string.
15702 (window-current-scroll-bars): Rewrite doc-string.
15703 Normalize live window argument.
387522b2
MR
15704 (walk-windows, get-window-with-predicate, count-windows):
15705 Rewrite doc-string. Use window-list-1.
15706 (window-in-direction-2, window-in-direction, get-mru-window):
15707 New functions.
15708
d8e4b68b 157092011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
15710
15711 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15712 Doc fix (Bug#8713).
15713
157142011-06-08 Chong Yidong <cyd@stupidchicken.com>
15715
15716 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15717
157182011-06-08 Juanma Barranquero <lekktu@gmail.com>
15719
15720 * loadhist.el (unload-feature-special-hooks):
15721 Add `comint-output-filter-functions'.
15722
0de12c52
IK
157232011-06-08 Ivan Kanis <gnu@kanis.fr>
15724
15725 * calendar/appt.el (appt-check): Move some initializations into the let.
15726
f3d1777e
MR
157272011-06-08 Martin Rudalics <rudalics@gmx.at>
15728
15729 * window.el (window-height): Defalias to window-total-height.
15730 (window-width): Defalias to window-body-width.
15731
18af70d0
CY
157322011-06-07 Chong Yidong <cyd@stupidchicken.com>
15733
15734 * image-mode.el (image-toggle-animation): New command.
15735 (image-mode-map): Bind it to RET.
15736 (image-mode): Update message.
15737 (image-toggle-display-image): Avoid a spurious cache flush.
15738 (image-transform-rotation): Doc fix.
15739 (image-transform-properties): Return quickly in the normal case.
15740 (image-animate-loop): Rename from image-animate-max-time.
15741
2b75be67 15742 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
15743 (create-animated-image): Remove unnecessary function.
15744 (image-animate): Rename from image-animate-start. New arg.
2b75be67 15745 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
15746 (image-animate-timer): Use car-safe.
15747 (image-animate-timeout): Rename argument.
15748
190b47e6
MR
157492011-06-07 Martin Rudalics <rudalics@gmx.at>
15750
15751 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
15752 window.c. Rename first argument to ALL-FRAMES.
15753 Rephrase doc-strings.
15754 (get-buffer-window-list): Rewrite using window-list-1.
15755 Rephrase doc-string.
a1511caf
MR
15756 (window-safe-min-height, window-safe-min-width): New constants.
15757 (window-size-ignore, window-min-size, window-min-size-1)
15758 (window-sizable, window-sizable-p, window-size-fixed-1)
15759 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15760 (window-max-delta-1, window-max-delta, window-resizable)
15761 (window-resizable-p, window-total-height, window-total-width)
15762 (window-body-width): New functions.
15763 (window-full-height-p, window-full-width-p): Rewrite using
15764 window-total-size.
15765 (window-body-height): Rewrite using window-body-size.
190b47e6 15766
85cc1f11
MR
157672011-06-06 Martin Rudalics <rudalics@gmx.at>
15768
15769 * window.el (window-right, window-left, window-child)
15770 (window-child-count, window-last-child, window-any-p)
15771 (normalize-live-buffer, normalize-live-frame)
15772 (normalize-any-window, normalize-live-window)
15773 (window-iso-combination-p, window-iso-combined-p)
15774 (window-iso-combinations)
15775 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15776 (windows-with-parameter, window-with-parameter)
15777 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
15778 (window-atom-check, window-side-check, window-check):
15779 New functions.
85cc1f11
MR
15780 (ignore-window-parameters, window-sides, window-sides-vertical)
15781 (window-sides-slots): New variables.
15782 (window-size-fixed): Move down in code. Minor doc-string fix.
15783
e7156492
AS
157842011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15785
15786 * comint.el (comint-dynamic-complete-as-filename)
15787 (comint-dynamic-complete-filename): Correctly call
15788 completion-in-region.
15789
7e821d0d
DD
157902011-06-05 Deniz Dogan <deniz@dogan.se>
15791
15792 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15793 in last change.
15794
ac09b8a1
DD
157952011-06-05 Deniz Dogan <deniz@dogan.se>
15796
15797 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15798 (rcirc): Use it to prompt for encryption.
15799
34699b85
RW
158002011-06-05 Roland Winkler <winkler@gnu.org>
15801
15802 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15803 (bibtex-search-entries): New command bound to C-c C-a.
15804 (bibtex-display-entries): New function.
15805
004dedd3
RW
158062011-06-05 Roland Winkler <winkler@gnu.org>
15807
15808 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15809 (bibtex-insert-kill): After yanking insert newline if necessary.
15810 (bibtex-initialize): Call bibtex-string-files-init only once.
15811 (bibtex-mode): Do not call easy-menu-add.
15812 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15813 (bibtex-yank): Set arg properly if nil.
15814
022fe7ce
RW
158152011-06-05 Roland Winkler <winkler@gnu.org>
15816
2b75be67
SM
15817 * textmodes/bibtex.el (bibtex-search-entry-globally):
15818 New variable.
022fe7ce
RW
15819 (bibtex-search-entry): Use it.
15820
b7c3692a
RW
158212011-06-05 Roland Winkler <winkler@gnu.org>
15822
15823 * textmodes/bibtex.el (bibtex-entry-format): New option
15824 sort-fields.
15825 (bibtex-format-entry, bibtex-reformat): Honor this option.
15826 (bibtex-parse-entry): Return fields in proper order.
15827
8eda563d
JB
158282011-06-05 Juanma Barranquero <lekktu@gmail.com>
15829
15830 * doc-view.el (doc-view-remove-if): Move computation of result out
15831 of `dolist' to silence misleading lexical-binding warning.
15832
7dbe3dbc
CY
158332011-06-04 Chong Yidong <cyd@stupidchicken.com>
15834
15835 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15836 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15837
0c33dd17
MA
158382011-06-04 Michael Albinus <michael.albinus@gmx.de>
15839
15840 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15841 "SunOS 5.10".
15842
f8f91c2b
MA
158432011-06-04 Michael Albinus <michael.albinus@gmx.de>
15844
15845 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15846 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15847 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15848 (tramp-parse-putty):
15849 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15850 (tramp-completion-function-alist-ssh)
15851 (tramp-completion-function-alist-telnet)
15852 (tramp-completion-function-alist-su)
15853 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15854 cookie.
15855
15856 * net/tramp-ftp.el:
15857 * net/tramp-sh.el:
15858 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15859 load "tramp.el" `tramp-set-completion-function'.
15860
e17d9003
SM
158612011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15862
15863 * shell.el: Require and use pcomplete.
15864 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15865 (shell-completion-vars): Set pcomplete-default-completion-function.
15866
6c4cab03
DD
158672011-06-04 Deniz Dogan <deniz@dogan.se>
15868
15869 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15870 `memq' (Bug#8799).
15871
ea9fafe0
SM
158722011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15873
15874 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15875
b3e945d3
JB
158762011-06-02 Juanma Barranquero <lekktu@gmail.com>
15877
15878 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15879 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15880 * vc/log-view.el (log-view-beginning-of-defun):
15881 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15882 (smerge-refine-forward, smerge-refine-chopup-region):
15883 Silence warning for unused `dotimes' counter variables.
15884
7d520089
SM
158852011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15886
15887 * net/tramp.el (tramp-with-progress-reporter): Rename from
15888 with-progress-reporter. Use `declare'.
15889 * net/tramp-smb.el:
15890 * net/tramp-sh.el:
15891 * net/tramp-gvfs.el: Update all uses.
15892
a1c2400f
JB
158932011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15894
15895 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15896 buffer isn't killed before making it current.
15897
2403c841
SM
158982011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15899
15900 Silence various byte-compiler warnings.
15901 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15902 `access-type' and new obsolescence format.
15903 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15904 new format.
15905 (byte-compile-check-variable): New `access-type' argument.
15906 Only warn if the access-type is obsolete.
15907 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15908 (byte-compile-variable-set): Adjust callers.
15909 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15910 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15911 setting it as obsolete.
15912 * simple.el (minibuffer-completing-symbol):
15913 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15914 access as obsolete.
15915 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15916 obsolete yet.
15917 * international/quail.el (quail-mouse-choose-completion): Remove unused
15918 code referring to obsolete var.
15919 (quail-choose-completion-string): Remove.
15920 * server.el (server-clients-with, server-kill-buffer-query-function)
15921 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15922 * proced.el (proced-send-signal):
15923 * emacs-lisp/lisp.el (lisp-complete-symbol):
15924 Replace completion-annotate-function with completion-extra-properties.
15925
2462470b
SM
159262011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15927
fb5b2591
SM
15928 * simple.el (goto-line): Use read-number.
15929 (overriding-map-is-bound): Remove.
15930 (saved-overriding-map): Change default.
15931 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15932 Take the map as argument.
15933 (universal-argument, negative-argument, digit-argument): Use it.
15934 (restore-overriding-map): Adjust.
15935 (do-auto-fill): Use fill-forward-paragraph.
15936 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15937
fd6fa53f
SM
15938 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15939 (minibuffer-inactive-mode): New major mode.
15940 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15941 the *Messages* buffer" hack.
15942 (mouse-popup-menubar): Don't burp if the event is a normal key.
15943
2462470b
SM
15944 Miscellaneous tweaks.
15945 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15946 lexical scoping as in subr.el's dolist and dotimes.
15947 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15948 Silence compiler warning.
15949 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15950 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15951 * international/ccl.el (ccl-compile): Trivial simplification.
15952 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15953 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15954 `printflag' argument.
15955 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15956 Purecopy the whole obsolescence data.
15957
108bf785
LL
159582011-06-01 Leo Liu <sdl.web@gmail.com>
15959
15960 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15961 improve doc-string as suggested by Marco Pessotto
15962 <melmothx@gmail.com>.
15963 (rcirc-print): Fix last change.
15964
30a23501
SM
159652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15966
15967 * minibuffer.el (complete-with-action): Return nil for the metadata and
15968 boundaries of non-functional tables.
15969 (completion-table-dynamic): Return nil for the metadata.
15970 (completion-table-with-terminator): Add default case, using
15971 complete-with-action.
15972 (completion--metadata): New function.
15973 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15974 to try and avoid pathological performance problems.
15975 (completion--embedded-envvar-table): Return `category' metadata.
15976
bcd54f83
LMI
159772011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15978
15979 * subr.el (process-alive-p): New tiny convenience function.
15980
e227544d
SM
159812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15982
15983 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15984 content but also its previous major mode.
15985
e8296fdc
HE
159862011-05-31 Helmut Eller <eller.helmut@gmail.com>
15987
4d61f28d 15988 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
15989 *Backtrace* buffer when we exit with C-M-c.
15990
620c53a6
SM
159912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15992
15993 * minibuffer.el: Add metadata method to completion tables.
15994 (completion-category-overrides): New defcustom.
15995 (completion-metadata, completion--field-metadata)
15996 (completion-metadata-get, completion--styles)
15997 (completion--cycle-threshold): New functions.
15998 (completion-try-completion, completion-all-completions):
15999 Add `metadata' argument to choose completion-styles.
16000 (completion--do-completion): Use metadata to choose cycling.
16001 (completion-all-sorted-completions): Use metadata for sorting.
16002 Remove :completion-cycle-penalty which is not needed any more.
16003 (completion--try-word-completion): Add `metadata' argument.
16004 (minibuffer-completion-help): Check metadata for annotation function
16005 and sorting.
16006 (completion-file-name-table): Return `category' metadata.
16007 (minibuffer-completing-file-name): Make obsolete.
16008 * simple.el (minibuffer-completing-symbol): Make obsolete.
16009 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16010 completion-try-completion.
16011
1257e755
SM
160122011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16013
16014 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16015
3767e706
LL
160162011-05-30 Leo Liu <sdl.web@gmail.com>
16017
16018 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16019 (rcirc-print): Decode all incoming messages (bug#8744).
16020 (rcirc-decode-coding-system): Allow value nil for automatic coding
16021 system detection.
3767e706 16022
d1a5d56a
GM
160232011-06-01 Glenn Morris <rgm@gnu.org>
16024
16025 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16026
e8cbec34
CY
160272011-05-29 Chong Yidong <cyd@stupidchicken.com>
16028
16029 * image.el (image-animate-max-time): Allow nil and t values.
16030 Default to nil.
16031 (create-animated-image): Doc fix.
16032 (image-animate-start): Remove second arg; just use
16033 image-animate-max-time.
16034 (image-animate-timeout): Doc fix. Args changed.
16035
16036 * image-mode.el (image-toggle-display-image): Ensure that the
16037 image spec passed to the animate timer is the same object as in
58179cce 16038 the buffer's display property (Bug#6981).
e8cbec34
CY
16039 (image-transform-properties): Doc fix.
16040
16041 * image.el (image-animate-max-time): Default to nil.
16042
159daf87
MR
160432011-05-29 Martin Rudalics <rudalics@gmx.at>
16044
16045 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16046 entire buffer list (Bug#8184).
16047
d66c4c7c
CY
160482011-05-29 Chong Yidong <cyd@stupidchicken.com>
16049
16050 * image.el (imagemagick-types-inhibit)
16051 (imagemagick-register-types): Doc fix.
16052
80aec780
DD
160532011-05-29 Deniz Dogan <deniz@dogan.se>
16054
16055 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16056 default.
16057
1dd3c2d9
CY
160582011-05-29 Chong Yidong <cyd@stupidchicken.com>
16059
16060 * select.el: Don't perform clipboard-manager saving in hooks;
16061 leave the hooks empty.
16062
60e56523
LL
160632011-05-28 Leo Liu <sdl.web@gmail.com>
16064
16065 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16066 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16067 (occur-edit-mode): New major mode (Bug#8463).
16068 (occur-after-change-function): New function.
16069 (occur-engine): Give Occur tags a read-only property.
16070
2b1e1a22
KR
160712011-05-28 Kevin Ryde <user42@zip.com.au>
16072
16073 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16074
5d344e88
CY
160752011-05-28 Chong Yidong <cyd@stupidchicken.com>
16076
8e6ca83d
CY
16077 * bindings.el (help-echo): Make the initial non-indicator dash
16078 empty on graphical terminals (Bug#7295).
16079
5d344e88
CY
16080 * files.el (auto-mode-alist): Move config rule after the
16081 in-stripping one (Bug#8547).
16082
bfbbace7
CY
16083 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16084
fbeba6e2
CY
16085 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16086 setting (Bug#8740).
16087
60ed8c72
AA
160882011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16089
4ac619f0
AA
16090 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16091 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16092 (Bug#8539).
60ed8c72 16093
23db196e
CY
160942011-05-28 Chong Yidong <cyd@stupidchicken.com>
16095
16096 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16097
5012f24c
DK
160982011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16099
16100 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16101 (hs-hide-block-at-point, hs-find-block-beginning)
16102 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16103 (Bug#8279).
16104
6a639b16
GM
161052011-05-28 Glenn Morris <rgm@gnu.org>
16106
16107 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16108
d43eaf2c
CY
161092011-05-28 Chong Yidong <cyd@stupidchicken.com>
16110
5199bde1
CY
16111 * help-fns.el (describe-function-1): If the function is a derived
16112 major mode, print the parent mode.
16113
d43eaf2c
CY
16114 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16115 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16116
423428a8
SM
161172011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16118
0ff8e1ba 16119 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16120 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16121 * progmodes/etags.el (tags-completion-at-point-function):
16122 * info-look.el (info-lookup-completions-at-point): Mark as
16123 non-exclusive.
16124 (info-complete): Adjust accordingly.
16125
423428a8
SM
16126 * info-look.el: Convert to lexical-binding and completion-at-point.
16127 (info-lookup-completions-at-point): New function.
16128 (info-complete): Use it and completion-in-region.
16129
b74aa22b
DA
161302011-05-28 Drew Adams <drew.adams@oracle.com>
16131
16132 * isearch.el: Let M-e start with point at the first mismatched char.
16133 (isearch-fail-pos): New function.
16134 (isearch-edit-string): Use it.
16135
66e2e71d
DK
161362011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16137
16138 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16139
b1890b0f 161402011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16141
16142 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16143 traversal functions for avl-trees.
16144 (avl-tree--stack): New struct.
16145 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16146 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16147 (avl-tree--do-enter): Add optional `updatefun' arg.
16148 Change return value.
eb95d01d 16149 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16150 (avl-tree--do-delete): Add `test' and `nilflag' args.
16151 Change return value.
eb95d01d
TC
16152 (avl-tree-member): Add optional `nilflag'
16153 (avl-tree-member-p): New function.
16154 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16155 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16156 (avl-tree-stack-empty-p): New functions.
16157
3769ddcf
TC
16158 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16159 avl-tree--del-balance1 and make it work both ways.
16160 (avl-tree--del-balance2): Remove.
16161 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16162 make it work both ways.
16163 (avl-tree--enter-balance2): Remove.
16164 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16165 New macros.
16166 (avl-tree--mapc, avl-tree-map): Add direction argument.
16167
eb95d01d 161682011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16169
16170 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16171
a9f737ee
CY
161722011-05-27 Chong Yidong <cyd@stupidchicken.com>
16173
16174 * select.el: Support clipboard managers with built-in function
16175 x-clipboard-manager-save, via delete-frame-functions and
16176 kill-emacs-hook.
16177 (xselect-convert-to-targets): Add MULTIPLE target to list.
16178 (xselect-convert-to-save-targets): New function.
16179
c92a1e54
KH
161802011-05-27 Kenichi Handa <handa@m17n.org>
16181
16182 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16183 let-binding rfc2047-encode-encoded-words to nil.
16184
e145f188
GM
161852011-05-27 Glenn Morris <rgm@gnu.org>
16186
5ec8a862
GM
16187 * mail/emacsbug.el: Don't require url-util.
16188
4b29d9fb
GM
16189 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16190
e145f188
GM
16191 * files.el (set-auto-mode):
16192 Also respect mode: entries at the end of the file. (Bug#8586)
16193
7d15102b
GM
161942011-05-26 Glenn Morris <rgm@gnu.org>
16195
98f593b8
GM
16196 * files.el (hack-local-variables-prop-line, hack-local-variables):
16197 Downcase mode names, as seems to be traditional.
27b48e63 16198 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16199
7d15102b
GM
16200 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16201 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16202
51d5b4ec
JD
162032011-05-25 Julien Danjou <julien@danjou.info>
16204
16205 * textmodes/rst.el (rst-define-level-faces): Do not define face
16206 symbol if it is already defined.
16207
91513f63
VB
162082011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16209
16210 * play/5x5.el (5x5-new-game, 5x5-randomize):
16211 Reset 5x5-solver-output to nil when a new grid is cast.
16212 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16213 these debugging traces, as defmacro breaks the compiled code.
16214
4d90d6d0
DK
162152011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16216
16217 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16218
e1b90ef6
LL
162192011-05-24 Leo Liu <sdl.web@gmail.com>
16220
16221 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16222 (vc-bzr-sha1): Adapt.
16223
d8e4b68b 16224 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16225
16226 * bindings.el: Provide sha1 feature.
16227
db0406bb 162282011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16229
16230 * mail/sendmail.el: Require `rfc2047'.
16231 (mail-insert-from-field): Do not perform RFC2047 encoding.
16232 (mail-encode-header): New function.
16233 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16234 buffer to the return value of select-message-coding-system.
16235 Call mail-encode-header.
b8d747b9
KH
16236
16237 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16238
db0406bb 162392011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16240
4d90d6d0
DK
16241 * mail/supercite.el (sc-default-cite-frame):
16242 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16243
eb8a5e9b
GM
162442011-05-24 Glenn Morris <rgm@gnu.org>
16245
f8630703
GM
16246 * progmodes/python.el (brm-menu): Declare.
16247
8831bbed
GM
16248 * emulation/viper.el (viper-set-hooks): Declare.
16249
eb8a5e9b
GM
16250 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16251 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16252 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16253 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16254 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16255 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16256
a2a25d24
SM
162572011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 Add an :exit-function for completion-at-point.
16260
16261 * minibuffer.el (completion--done): New fun.
16262 (completion--do-completion): Use it. New arg `expect-exact'.
16263 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16264 since completion--do-completion does it for us now.
16265 (minibuffer-force-complete): Use completion--done and
16266 completion--replace. Handle sole-completion case with more care.
16267 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16268 (completion-extra-properties): New var.
16269 (completion-annotate-function): Make obsolete.
16270 (minibuffer-completion-help): Adjust accordingly.
16271 Use completion-list-insert-choice-function.
16272 (completion-at-point, completion-help-at-point):
16273 Bind completion-extra-properties.
16274 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16275 * simple.el (completion-list-insert-choice-function): New var.
16276 (completion-setup-function): Preserve it.
16277 (choose-completion): Pay attention to it, shuffle the code a bit.
16278 (choose-completion-string): New arg `insert-function'.
16279
16280 * textmodes/bibtex.el: Convert to lexical binding.
16281 (bibtex-mode-map): Use completion-at-point.
16282 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16283 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16284 (bibtex-complete): Define as obsolete alias.
16285 (bibtex-complete-internal): Remove.
16286 (bibtex-format-entry): Remove unused sub-group in regexp.
16287 * shell.el (shell--command-completion-data)
16288 (shell-environment-variable-completion):
16289 * pcomplete.el (pcomplete-completions-at-point):
16290 * comint.el (comint--complete-file-name-data): Use :exit-function
16291 instead of completion-table-with-terminator so it also works for
16292 choose-completion.
16293
e44e373d
SM
162942011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16295
4f91a816
SM
16296 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16297
782fc819
SM
16298 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16299 (bug#8710).
16300
e44e373d
SM
16301 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16302
381987c3
KM
163032011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16304
16305 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16306 customization variable and implement: If non-nil, auto-fill will
16307 be inhibited while on topic's header line.
16308
b776bc70
VB
163092011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16310
16311 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16312 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16313 always have a solution in grid size = 5 cases.
16314 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16315 (5x5-solver-output, 5x5-log-buffer): New vars.
16316 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16317 Make these variables buffer local to achieve 5x5 multi-session-ness.
16318 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16319 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16320 (5x5-solve-suggest): New funs.
16321 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16322 randomize a grid so that we ensure that there is always a solution.
16323 (5x5-make-random-grid): Allow other movement than flipping.
16324
7de88b6e
KR
163252011-05-23 Kevin Ryde <user42@zip.com.au>
16326
16327 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16328 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16329 advice and passes PREDICATE.
16330
b1ef1257
SM
163312011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16332
bbca48fe
SM
16333 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16334 byte-compile-lambda if it's actually a lambda.
16335
b1ef1257
SM
16336 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16337 Fix function quoting. Use backquote better.
16338
92a9cc65
YS
163392011-05-22 Yuanle Song <sylecn@gmail.com>
16340
16341 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16342 matching (Bug#8516).
16343
f0fb8059
JA
163442011-01-22 Jari Aalto <jari.aalto@cante.net>
16345
16346 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16347 different face (Bug#8178).
16348
d5b44c93
CY
163492011-05-22 Chong Yidong <cyd@stupidchicken.com>
16350
16351 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16352 defface (Bug#8144).
16353
79106a44
SM
163542011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16355
9c848d8a
SM
16356 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16357 funcall as well (bug#8712). Warn when performing those conversions.
16358 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16359
79106a44
SM
16360 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16361
88dfa756
GM
163622011-05-22 Glenn Morris <rgm@gnu.org>
16363
16364 * files.el (hack-local-variables-prop-line): Small simplifications.
16365 (hack-local-variables, hack-local-variables-prop-line):
16366 If MODE-ONLY, return the mode, rather than just `t'.
16367
b7cf2c79
SM
163682011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16369
16370 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16371
3f1a8558
GM
163722011-05-21 Glenn Morris <rgm@gnu.org>
16373
7e4ccca3
GM
16374 * files.el (hack-local-variables-prop-line, hack-local-variables):
16375 If only interested in the mode, don't bother doing the other stuff.
16376
637d46ca
GM
16377 * image-mode.el (image-after-revert-hook):
16378 Redraw all frames on which the image is visible. (Bug#8567)
16379
973d955b
GM
16380 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16381
3f1a8558
GM
16382 * wid-edit.el (widget-checklist-match-inline):
16383 Fix 2011-04-19 change. (Bug#8649)
16384
96479927
SM
163852011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16386
1dcf791f
SM
16387 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16388 Also allow singlespace after single-letter capitals followed by a dot.
16389
96479927
SM
16390 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16391 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16392
35fd0881
N
163932011-05-20 Nix <nix@esperi.org.uk>
16394
16395 * files.el (basic-save-buffer-2):
16396 Fix handling of break-hardlink-on-save with non-existent files.
16397
82745640
DD
163982011-05-19 Deniz Dogan <deniz@dogan.se>
16399
16400 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16401 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16402
4a720484
GM
164032011-05-19 Glenn Morris <rgm@gnu.org>
16404
d1f21341
GM
16405 * progmodes/f90.el (f90-type-def-re):
16406 Handle "type, bind(c)". (Bug#8691)
16407
4a720484
GM
16408 * emacs-lisp/autoload.el (batch-update-autoloads):
16409 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16410
2fb0a219
MA
164112011-05-18 Michael Albinus <michael.albinus@gmx.de>
16412
16413 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16414 property for the correct connection in case of multihops.
16415
e565dd37
GM
164162011-05-18 Glenn Morris <rgm@gnu.org>
16417
c2571358 16418 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16419 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16420
e565dd37
GM
16421 Rationalize calendar handling of day and month abbrev-arrays.
16422 * calendar/calendar.el (calendar-customized-p): New function.
16423 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16424 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16425 Add :set function.
16426 (calendar-abbrev-length, calendar-day-abbrev-array)
16427 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16428 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16429 Elements may no longer be nil.
16430 (calendar-day-name, calendar-month-name):
16431 Update for changed nature of abbrev arrays.
16432 * calendar/diary-lib.el (diary-name-pattern):
16433 Update for changed nature of abbrev arrays.
16434 (diary-mark-entries-1): Update calendar-make-alist calls.
16435 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16436 * calendar/cal-html.el (cal-html-day-abbrev-array):
16437 Simply inherit from calendar-day-abbrev-array.
16438
1d99a745
SM
164392011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16440
16441 * progmodes/grep.el (grep-mode): Disable default
16442 compilation-directory-matcher setting (bug#8684).
16443
7c1d9aa0
MA
164442011-05-17 Michael Albinus <michael.albinus@gmx.de>
16445
16446 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16447 instead of "head" and "tail". There were problems with SunOS 5.9,
16448 and it performs better.
16449
3952e9d8
GM
164502011-05-17 Glenn Morris <rgm@gnu.org>
16451
2dd12e7f
GM
16452 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16453
e4157b9c
GM
16454 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16455 Replace obsolete function.
16456
8e249bbd
GM
16457 * shell.el (pcomplete-parse-arguments-function): Declare.
16458
3952e9d8
GM
16459 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16460 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16461 (appt-check): Doc fixes.
16462 (appt-disp-window-function, appt-delete-window-function):
16463 Remove needless special case in custom :type.
16464 (appt-display-count): Default to 0, not nil.
16465 (appt-check): Reset appt-display-count to 0, not nil.
16466
c71a0d48 164672011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16468
c71a0d48
GM
16469 * progmodes/python.el (python-font-lock-keywords):
16470 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16471
31d55be9
SM
164722011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16473
16474 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16475
3bfacb2f
KR
164762011-05-16 Kevin Ryde <user42@zip.com.au>
16477
16478 * info-look.el (makefile-automake-mode): New setups, looking in
16479 automake manual, then makefile-mode.
16480 (makefile-mode): Remove automake manual, have it just in
16481 makefile-automake-mode since there's various things different or
16482 not relevant to plain make.
16483 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16484 believe a hypothetical automake-mode would go to makefile-mode,
16485 not the other way around.
16486
c8e83751
CY
164872011-05-15 Chong Yidong <cyd@stupidchicken.com>
16488
5e9e35cd
CY
16489 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16490 hunk-end tags (Bug#8672).
16491
c8e83751
CY
16492 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16493 vc-annotate-show-diff-revision-at-line (Bug#8671).
16494
50b23e5a
GM
164952011-05-14 Glenn Morris <rgm@gnu.org>
16496
7210a739
GM
16497 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16498 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16499 (change-log-font-lock-keywords): Also handle multiple author lines
16500 with leading tabs. (Bug#8644)
7210a739 16501
4691905a
GM
16502 * calendar/appt.el (appt-check): Rename some local variables.
16503 Some simplification/reordering.
16504
50b23e5a
GM
16505 * mail/feedmail.el (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)
16509 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16510 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16511 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16512 (feedmail-binmail-gnulinuxish-template):
16513 Rename from feedmail-binmail-linuxish-template.
16514 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16515 Use insert-buffer-substring.
16516
215cda7c
BC
165172011-05-14 Bill Carpenter <bill@carpenter.org>
16518
16519 * mail/feedmail.el (feedmail-patch-level): Increase.
16520 (feedmail-debug): New custom group.
16521 (feedmail-confirm-outgoing-timeout)
16522 (feedmail-sendmail-f-doesnt-sell-me-out)
16523 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16524 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16525 (feedmail-sender-line, feedmail-from-line)
16526 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16527 (feedmail-spray-this-address)
215cda7c
BC
16528 (feedmail-spray-address-fiddle-plex-list)
16529 (feedmail-queue-use-send-time-for-date)
16530 (feedmail-queue-use-send-time-for-message-id)
16531 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16532 (feedmail-buffer-eating-function):
16533 Doc fixes.
16534 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16535 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16536 (feedmail-message-action-scroll-down): New functions.
16537 (feedmail-queue-directory, feedmail-queue-draft-directory):
16538 Use expand-file-name.
16539 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16540 Remove C-v help entry.
16541 (feedmail-queue-buffer-file-name): New variable.
16542 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16543 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16544 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16545 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16546 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16547 (feedmail-message-action-toggle-spray)
16548 (feedmail-run-the-queue-no-prompts)
16549 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16550 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16551 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16552 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16553 (feedmail-envelope-deducer, feedmail-fiddle-from)
16554 (feedmail-fiddle-sender, feedmail-default-date-generator)
16555 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16556 (feedmail-fiddle-spray-address)
16557 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16558 (feedmail-fiddle-list-of-fiddle-plexes)
16559 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16560 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16561 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16562 Change default. Doc fix.
16563 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16564 (feedmail-binmail-linuxish-template): New constant.
16565 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16566 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16567 (feedmail-send-it): Add debug call.
16568 Use feedmail-queue-buffer-file-name, and
16569 feedmail-send-it-immediately-wrapper.
16570 (feedmail-message-action-send): Add debug call.
16571 Use feedmail-send-it-immediately-wrapper.
16572 (feedmail-queue-express-to-queue): Add debug call.
16573 Run feedmail-queue-express-hook.
16574 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16575 (feedmail-message-action-help-blat):
16576 Rename from feedmail-queue-send-edit-prompt-help-first.
16577 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16578 Check line-endings. Handle errors better.
16579 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16580 Doc fix. Add debug call.
16581 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16582 Use feedmail-queue-send-edit-prompt-inner.
16583 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16584 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16585 from feedmail-queue-send-edit-prompt.
16586 (feedmail-queue-send-edit-prompt-help)
16587 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16588 (feedmail-tidy-up-slug): Add debug call.
16589 Respect feedmail-queue-slug-suspect-regexp.
16590 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16591 (feedmail-dump-message-to-queue): Add debug call.
16592 Expand queue-directory.
16593 (feedmail-dump-message-to-queue): Change message slightly.
16594 Use feedmail-say-chatter.
16595 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16596 (feedmail-send-it-immediately-wrapper): New function.
16597 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16598 Insert empty string rather than newline. Handle full-frame case.
16599 Use catch/throw. Use feedmail-say-chatter.
16600 (feedmail-fiddle-from): Try mail-host-address.
16601 (feedmail-default-message-id-generator): Doc fix.
16602 Bind system-time-locale. Handle missing end.
16603 (feedmail-fiddle-x-mailer): Add debug call.
16604 Handle feedmail-x-mailer-line being nil.
16605 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16606 Add debug call. Use buffer-substring-no-properties.
16607 (feedmail-say-debug, feedmail-say-chatter): New functions.
16608 (feedmail-find-eoh): Give an explicit error.
16609
42c7e61e
UJ
166102011-05-13 Ulf Jasper <ulf.jasper@web.de>
16611
c2571358 16612 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 16613 family from helvetica to sans.
c2571358 16614 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16615 etc/images/newsticker.
16616
c2571358 16617 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
16618 family from helvetica to sans.
16619
16620 * net/newst-plainview.el (newsticker-new-item-face)
16621 (newsticker-old-item-face, newsticker-immortal-item-face)
16622 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 16623 (newsticker-statistics-face): Change default family from
42c7e61e 16624 helvetica to sans.
c2571358 16625 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
16626 etc/images/newsticker.
16627
5d3385a0
JB
16628 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16629 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
16630 auto-marking.
16631
8497a297
DV
166322011-05-13 Didier Verna <didier@xemacs.org>
16633
16634 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
16635 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16636 TODO entries.
8497a297
DV
16637 (lisp-lambda-list-keyword-parameter-indentation)
16638 (lisp-lambda-list-keyword-parameter-alignment)
16639 (lisp-lambda-list-keyword-alignment): New customizable user options.
16640 (lisp-indent-defun-method): Improve docstring.
16641 (extended-loop-p): Fix comment.
16642 (lisp-indent-lambda-list-keywords-regexp): New variable.
16643 (lisp-indent-lambda-list): New function.
16644 (lisp-indent-259): Use it.
16645 (lisp-indent-defmethod): Support for more than one
16646 method qualifier and properly indent methods lambda-lists.
16647 (defgeneric): Provide a missing common-lisp-indent-function property.
16648
f278f87f
SM
166492011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16650
16651 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16652 bounds for the empty string (bug#8667).
16653
5233edd7
GM
166542011-05-13 Glenn Morris <rgm@gnu.org>
16655
5237a44f
GM
16656 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16657
8340026c 16658 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 16659 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 16660
5233edd7 16661 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 16662 (appt-time-msg-list): Doc fix.
a5464014 16663 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 16664
92d10796
AS
166652011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16666
16667 * progmodes/ld-script.el (ld-script-keywords)
16668 (ld-script-builtins): Update keywords list.
16669
914a0ae1
SM
166702011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16671
c89be45f
SM
16672 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16673
914a0ae1
SM
16674 * shell.el (shell-completion-vars): New function.
16675 (shell-mode):
16676 * simple.el (read-shell-command): Use it.
16677 (blink-matching-open): No need for " [...]" in minibuffer-message.
16678
98dc3df3
GM
166792011-05-12 Glenn Morris <rgm@gnu.org>
16680
16681 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16682 (appt-check): Simplify.
16683
d2fc7e3d 166842011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 16685
4d61f28d 16686 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
16687 literal "/dev/null".
16688
d2fc7e3d 166892011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
16690
16691 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16692 Fix typo.
16693
d2fc7e3d 166942011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 16695
3f254caa
SM
16696 * progmodes/which-func.el (which-function):
16697 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
16698 which might not be defined (Bug#8260).
16699
d45885f7
GM
167002011-05-12 Glenn Morris <rgm@gnu.org>
16701
16702 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16703 Let byte-compile-initial-macro-environment always take precedence.
16704
488086f4
SM
167052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16706
16707 * net/rcirc.el: Add support for SSL/TLS connections.
16708 (rcirc-server-alist): New field `encryption'.
16709 (rcirc): Check `encryption' settings.
16710 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16711 Merge make-local-variable into `set'.
16712 (rcirc--connection-open-p): New function.
16713 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16714 the process is not a network process (e.g. running gnutls-cli).
16715 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16716 Make rcirc-(en|de)code-coding-system local here.
16717 (rcirc-mode): Merge make-local-variable into `set'.
16718 (rcirc-parent-buffer): Make permanent buffer-local.
16719 (rcirc-multiline-minor-mode): Don't do it here.
16720 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16721 there's no server buffer.
16722
7d3b9d44
GM
167232011-05-11 Glenn Morris <rgm@gnu.org>
16724
f64049c6
GM
16725 * newcomment.el (comment-kill): Prefix "unused" local.
16726
93c9df73
GM
16727 * term/w32console.el (get-screen-color): Declare.
16728
7d3b9d44
GM
16729 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16730 Handle symbol elements of byte-compile-initial-macro-environment.
16731
9e2dd53f
LL
167322011-05-10 Leo Liu <sdl.web@gmail.com>
16733
488086f4
SM
16734 * bookmark.el (bookmark-bmenu-mode-map):
16735 Bind bookmark-bmenu-search to `/'.
8b340240 16736
9e2dd53f 16737 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
16738 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16739 (Footnote-unicode): New function.
16740 (footnote-style-alist): Add unicode style to the list.
16741 (footnote-style): Doc fix.
9e2dd53f 16742
79b70037
GM
167432011-05-10 Jim Meyering <meyering@redhat.com>
16744
16745 Fix doubled-word typos.
16746 * international/quail.el (quail-insert-kbd-layout): and and -> and
16747 * kermit.el: and and -> and
16748 * net/ldap.el (ldap-search-internal): to to -> to
16749 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16750 * progmodes/js.el (js-mode): and and -> and
16751 * textmodes/artist.el (artist-move-to-xy): at at -> at
16752 (artist-draw-region-trim-line-endings): if if -> if
16753 And Safetyc -> Safety.
16754 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16755
b8f82dc1 167562011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 16757 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
16758
16759 * files.el (hack-one-local-variable-eval-safep):
16760 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16761
4f99f44b
GM
167622011-05-10 Glenn Morris <rgm@gnu.org>
16763
16764 * calendar/diary-lib.el (diary-list-entries-hook)
16765 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16766 (diary-nongregorian-marking-hook, diary-list-entries)
16767 (diary-include-other-diary-files, diary-mark-entries)
16768 (diary-mark-included-diary-files): Doc fixes.
16769
84f29e6b
JB
167702011-05-09 Juanma Barranquero <lekktu@gmail.com>
16771
16772 * misc.el: Require tabulated-list.el during compilation.
16773
9bedd73a
CY
167742011-05-09 Chong Yidong <cyd@stupidchicken.com>
16775
488086f4
SM
16776 * progmodes/compile.el (compilation-start):
16777 Run compilation-filter-hook for the async case too.
9bedd73a
CY
16778 (compilation-filter-hook): Doc fix.
16779
797c735c
DD
167802011-05-09 Deniz Dogan <deniz@dogan.se>
16781
16782 * wdired.el: Remove outdated installation comment. Fix usage
16783 comment.
16784
5f4b1dfe
JB
167852011-05-09 Juanma Barranquero <lekktu@gmail.com>
16786
16787 * misc.el: Implement new command `list-dynamic-libraries'.
16788 (list-dynamic-libraries--loaded-only-p): New variable.
16789 (list-dynamic-libraries--refresh): New function.
16790 (list-dynamic-libraries): New command.
16791
4c44026c
CY
167922011-05-09 Chong Yidong <cyd@stupidchicken.com>
16793
488086f4
SM
16794 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16795 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
16796 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16797 higher priority to avoid clobbering by gnu.
16798
027f966d
CY
167992011-05-08 Chong Yidong <cyd@stupidchicken.com>
16800
16801 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16802 if the face has existing theme settings (Bug#8454).
16803
085f5d7d
CY
168042011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16805
488086f4
SM
16806 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16807 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 16808
2a86a00c
RS
16809 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16810 special file names `.' and `..' (Bug#8259).
16811
d9c54a06
CY
168122011-05-08 Chong Yidong <cyd@stupidchicken.com>
16813
488086f4
SM
16814 * progmodes/grep.el (grep-mode-font-lock-keywords):
16815 Remove buffer-changing entries.
d9c54a06
CY
16816 (grep-filter): New function.
16817 (grep-mode): Add it to compilation-filter-hook.
16818
16819 * progmodes/compile.el (compilation-filter-hook)
16820 (compilation-filter-start): New defvars.
16821 (compilation-filter): Call compilation-filter-hook prior to
16822 updating the process mark.
16823
c4662635
SM
168242011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16825
16826 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16827
b0512a1d
EZ
168282011-05-07 Eli Zaretskii <eliz@gnu.org>
16829
605c9376
EZ
16830 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16831 mailclient-send-it even if window-system is nil. (Bug#8595)
16832
c4662635
SM
16833 * term/w32console.el (terminal-init-w32console):
16834 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
16835 background-mode. (Bug#8597)
16836
d1dc2cc2
SM
168372011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16838
16839 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16840 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16841 New functions.
16842 (defgeneric, eieio--defmethod): Use them.
16843 (eieio-defgeneric): Remove.
16844 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16845
915d1300
GM
168462011-05-07 Glenn Morris <rgm@gnu.org>
16847
a3961c3e
GM
16848 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16849 Use let rather than let*.
16850 (timeclock-find-discrep): Remove unused local.
16851
314347b9
GM
16852 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16853
915d1300
GM
16854 * calendar/appt.el (appt-time-msg-list): Doc fix.
16855
275b59b0
NF
168562011-05-06 Noah Friedman <friedman@splode.com>
16857
16858 * apropos.el (apropos-print-doc): Only use
16859 emacs-lisp-docstring-fill-column when it is bound to an integer,
16860 per that variable's documentation.
16861
6c19f744
SM
168622011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16863
16864 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 16865 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 16866
60f884b2
GM
168672011-05-06 Glenn Morris <rgm@gnu.org>
16868
5006e634
GM
16869 * calendar/appt.el (appt-message-warning-time): Doc fix.
16870 (appt-warning-time-regexp): New option.
16871 (appt-make-list): Respect appt-message-warning-time.
16872
548d0a63
GM
16873 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16874 New options.
16875 (diary-add-to-list): Strip comments from the displayed string.
16876 (diary-mode): Set comment-start and comment-end.
16877
60f884b2
GM
16878 * vc/diff-mode.el (smerge-refine-subst): Declare.
16879 (diff-refine-hunk): Don't require smerge-mode when compiling.
16880
989681bb
JB
168812011-05-06 Juanma Barranquero <lekktu@gmail.com>
16882
16883 * simple.el (list-processes): Return nil as the docstring says.
16884
a6bc05e1
MA
168852011-05-05 Michael Albinus <michael.albinus@gmx.de>
16886
16887 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16888 to "".
16889 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16890 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16891 determining of binary transfer. (Bug#7383)
16892
23c22e9a
MA
168932011-05-05 Michael Albinus <michael.albinus@gmx.de>
16894
c4662635
SM
16895 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16896 Fix port computation bug. (Bug#8618)
23c22e9a 16897
0bff894f
GM
168982011-05-05 Glenn Morris <rgm@gnu.org>
16899
b8296902
GM
16900 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16901
1f522ce8
GM
16902 * simple.el (shell-dynamic-complete-functions)
16903 (comint-dynamic-complete-functions): Declare.
16904
cf5bee67
GM
16905 * net/network-stream.el (gnutls-negotiate):
16906 * simple.el (tabulated-list-print): Fix declarations.
16907
16908 * progmodes/gud.el (syntax-symbol, syntax-point):
16909 Remove unnecessary and incorrect declarations.
16910
0bff894f
GM
16911 * emacs-lisp/check-declare.el (check-declare-scan):
16912 Handle byte-compile-initial-macro-environment in bytecomp.el
16913
9869b3ae
SM
169142011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16915
16916 Fix earlier half-done eieio-defmethod change (bug#8338).
16917 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16918 Streamline and change calling convention.
16919 (defmethod): Adjust accordingly and simplify.
16920 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16921 new eieio--defmethod.
16922 (slot-boundp): Minor CSE simplification.
16923
9c1d5ac5
MZ
169242011-05-05 Milan Zamazal <pdm@zamazal.org>
16925
16926 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16927 (glasses-make-readable): Use glasses-separate-capital-groups.
16928
455c834e
JB
169292011-05-05 Juanma Barranquero <lekktu@gmail.com>
16930
16931 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16932 (warning-series): Doc fix.
16933 (display-warning): Don't try to create the buffer if we just found it.
16934
9ed7c8cb
CY
169352011-05-04 Chong Yidong <cyd@stupidchicken.com>
16936
16937 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16938 (autoload-find-generated-file): New function.
16939 (generate-file-autoloads): Bind generated-autoload-file to
16940 buffer-file-name.
9869b3ae
SM
16941 (update-file-autoloads, update-directory-autoloads):
16942 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
16943 output file (Bug#7989).
16944 (batch-update-autoloads): Doc fix.
16945
0898ca10
JB
169462011-05-04 Juanma Barranquero <lekktu@gmail.com>
16947
16948 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16949
31dfb76c
GM
169502011-05-04 Glenn Morris <rgm@gnu.org>
16951
f330b642
GM
16952 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16953 function, so it follows changes in calendar-date-style.
16954 (diary-fancy-date-matcher): New function.
16955 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16956 (diary-fancy-font-lock-fontify-region-function):
16957 Use diary-fancy-date-pattern as a function.
16958
31dfb76c
GM
16959 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16960 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16961
48e79d6a
TZ
169622011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16963
16964 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16965 instead of positional arguments. Allow :keylist and :crlfiles
16966 arguments.
16967 (open-gnutls-stream): Call it.
16968
16969 * net/network-stream.el (network-stream-open-starttls): Adjust to
16970 call `gnutls-negotiate' with :process and :hostname arguments.
16971
dd5a5ee0
SM
169722011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16973
ef80fc09
SM
16974 * minibuffer.el (completion--message): New function.
16975 (completion--do-completion, minibuffer-complete)
16976 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16977 (completion--do-completion): Don't ignore completion-auto-help when in
16978 icomplete-mode.
16979
dd5a5ee0
SM
16980 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16981 internal encoding (e.g. tibetan zero is not whitespace).
16982 (global-whitespace-mode): Prefer save-current-buffer.
16983 (whitespace-trailing-regexp): Remove useless save-match-data.
16984 (whitespace-empty-at-bob-regexp): Minor simplification.
16985
b7d22a83
CY
169862011-05-03 Chong Yidong <cyd@stupidchicken.com>
16987
16988 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16989
5192af46
AM
169902011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16991
16992 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 16993 Use `concat' to create string for insertion.
5192af46 16994
5767d190
SM
169952011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16996
16997 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16998 Avoid open-line which runs post-self-insert-hook.
16999 (bibtex-fill-entry): Remove unused `end' var.
17000
bf242939
AM
170012011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17002
5767d190
SM
17003 * textmodes/ispell.el (ispell-add-per-file-word-list):
17004 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17005
25666126
LL
170062011-05-03 Leo Liu <sdl.web@gmail.com>
17007
17008 * isearch.el (isearch-yank-pop): New command.
5767d190 17009 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17010 (isearch-forward): Mention it.
17011
52d3c2d0
SM
170122011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17013
1bcace58
SM
17014 * simple.el (minibuffer-complete-shell-command): Remove.
17015 (minibuffer-local-shell-command-map): Use completion-at-point.
17016 (read-shell-command): Setup completion vars here instead.
17017 (read-expression-map): Bind TAB to symbol completion.
17018
52d3c2d0
SM
17019 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17020 error directly rather via storing it into `results'.
17021
35813471
LL
170222011-05-02 Leo Liu <sdl.web@gmail.com>
17023
17024 * vc/diff.el: Fix description.
17025
e793a940
LMI
170262011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17027
17028 * server.el (server-eval-at): New function.
17029
8de66e05
LMI
170302011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17031
17032 * net/network-stream.el (open-network-stream): Take a :nowait
17033 parameter and pass it on to `make-network-process'.
17034 (network-stream-open-plain): Ditto.
17035
dcb79f20
AS
170362011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17037
17038 * faces.el (face-spec-set-match-display): Don't match toolkit
17039 options on terminal frames.
17040
14a7fbd8
SM
170412011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17042
7eabc1be
SM
17043 * progmodes/pascal.el: Use lexical binding.
17044 (pascal-mode-map): Remove author preferences.
17045
14a7fbd8
SM
17046 * pcomplete.el (pcomplete-std-complete): Don't abuse
17047 completion-at-point.
17048
50f84510
JB
170492011-04-28 Juanma Barranquero <lekktu@gmail.com>
17050
6e087a44
JB
17051 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17052 removing code that has been dead since 1991 or so.
17053
50f84510
JB
17054 * startup.el (command-line): When warning about "_emacs", use a
17055 delayed warning to allow the user to filter it out.
17056
0ba690bd
DD
170572011-04-28 Deniz Dogan <deniz@dogan.se>
17058
17059 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17060 user has not joined.
17061
08abfaad
SM
170622011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17063
17064 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17065 aren't any completions at point.
17066
638f053a
JB
170672011-04-28 Juanma Barranquero <lekktu@gmail.com>
17068
17069 * subr.el (display-delayed-warnings): New function.
17070 (delayed-warnings-hook): New variable.
17071
8fff8daa
SM
170722011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17073
08abfaad
SM
17074 * minibuffer.el (completion-at-point, completion-help-at-point):
17075 Don't presume that a given completion-at-point-function will always
17076 use the same calling convention.
17077
8fff8daa
SM
17078 * pcomplete.el (pcomplete-completions-at-point):
17079 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17080 pcomplete-seen is non-nil.
17081 (pcomplete-comint-setup): Also recognize the new comint/shell
17082 completion functions.
17083 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17084 pcomplete-seen is non-nil.
17085
841a1577 170862011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17087
841a1577 17088 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17089 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17090 the first character in the entry. This allows for code to add its
211ec907
UJ
17091 own uid to the entry.
17092 (icalendar--convert-float-to-ical): Add export of
17093 `diary-float'-entries save for those with the optional DAY
17094 argument.
17095
2a782793
DC
170962011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17097
17098 * subr.el (shell-quote-argument): Use alternate escaping strategy
17099 when we spot a variable reference in a string.
17100
0438ce91
DC
171012011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17102
17103 * cus-start.el (all): Define customization for debug-on-event.
17104
841a1577 171052011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17106
17107 * subr.el (shell-quote-argument): Escape correctly under Windows.
17108
d090ed6c
SM
171092011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17110
17111 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17112
bfd31217
MA
171132011-04-25 Michael Albinus <michael.albinus@gmx.de>
17114
d090ed6c
SM
17115 * net/tramp.el (tramp-process-actions): Add POS argument.
17116 Delete region between POS and (pos).
bfd31217 17117
d090ed6c
SM
17118 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17119 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17120 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17121
17122 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17123 position in `tramp-process-actions' call.
17124
17125 * net/trampver.el: Update release number.
17126
e92f3bd3
SM
171272011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17128
850256b5
SM
17129 * custom.el (defcustom): Obey lexical-binding.
17130
e92f3bd3
SM
17131 Fix octave-inf completion problems reported by Alexander Klimov.
17132 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17133 Inherit from octave-mode-syntax-table.
17134 (inferior-octave-mode): Set info-lookup-mode.
17135 (inferior-octave-completion-at-point): New function.
17136 (inferior-octave-complete): Use it and completion-in-region.
17137 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17138 comint-filename-completion.
17139 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17140 symbol elements which shouldn't be word elements.
17141 (octave-font-lock-keywords, octave-beginning-of-defun)
17142 (octave-function-header-regexp): Adjust regexps accordingly.
17143 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17144
cd22b309
JB
171452011-04-25 Juanma Barranquero <lekktu@gmail.com>
17146
17147 * net/gnutls.el (gnutls-errorp): Declare before first use.
17148
8b492194
TZ
171492011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17150
17151 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17152 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17153 default trustfile exists before going to use it. Add missing
5a5fa834 17154 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17155 Reported by Claudio Bley <claudio.bley@gmail.com>.
17156 (open-gnutls-stream): Add usage example.
17157
17158 * net/network-stream.el (network-stream-open-starttls): Give host
17159 parameter to `gnutls-negotiate'.
17160 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17161 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17162
841a1577 171632011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17164
cd22b309
JB
17165 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17166 Use correct match group (bug#8438).
05842630 17167
3ba7869c
CY
171682011-04-24 Chong Yidong <cyd@stupidchicken.com>
17169
512e3ae1
CY
17170 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17171 (package-menu--generate): New arg specifying packages to show.
17172 (package-menu-refresh, package-menu-execute, list-packages):
17173 Callers changed.
17174 (package-show-package-list): New function, replacing deleted
17175 package--list-packages (renamed because it is non-internal).
17176
17177 * finder.el (finder-list-matches): Use package-show-package-list
17178 instead of deleted package--list-packages.
17179
e92f3bd3
SM
17180 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17181 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17182 (vc-annotate-mode-map): Bind it to RET.
17183
7031be6d
UR
171842011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17185
17186 * progmodes/etags.el (next-file): Don't use set-buffer to change
17187 buffers (Bug#8478).
17188
4ef177aa
CY
171892011-04-24 Chong Yidong <cyd@stupidchicken.com>
17190
c8d173eb
CY
17191 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17192
4ef177aa
CY
17193 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17194 (apropos-accumulator): Doc fix.
17195 (apropos-function, apropos-macro, apropos-command)
17196 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17197 (apropos-plist): Add face property.
17198 (apropos-symbols-internal): Fix indentation.
17199 (apropos-print): Simplify help, and recognize apropos-multi-type.
17200 (apropos-print-doc): Use button-type-get to extract the button's
17201 face property. Fill docstring (Bug#8352).
17202
4ffd0d6b 172032011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17204
17205 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17206
c6c32125 17207 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17208 (mpuz-mode-map): Use mapc.
c6c32125
JB
17209 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17210 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17211 Fix typos in docstrings.
17212
58d468b4
JB
17213 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17214 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17215
6470c3c6
JB
17216 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17217
4ffd0d6b 172182011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17219
17220 * minibuffer.el (completion--do-completion): Avoid the "Next char
17221 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17222
3ad8bad0
CY
17223 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17224 mouse-2 into unread-command-events, it is interpreted correctly.
17225
71d73c9c 17226 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17227 (image-toggle-display): Doc fix.
71d73c9c 17228
841a1577 172292011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17230
4ffd0d6b
GM
17231 * textmodes/page.el (what-page): Use line-number-at-pos to
17232 calculate line number (Bug#6825).
6e1dbaa9 17233
c2fb1b60
JB
172342011-04-22 Juanma Barranquero <lekktu@gmail.com>
17235
17236 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17237 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17238 Pass argument NO-DEFAULT to `find-tag-interactive'.
17239
e02f48d7
JB
172402011-04-22 Juanma Barranquero <lekktu@gmail.com>
17241
17242 Lexical-binding cleanup.
17243
17244 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17245 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17246 * progmodes/ada-prj.el (ada-prj-initialize-values)
17247 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17248 (ada-prj-show-value):
17249 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17250 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17251 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17252 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17253 * progmodes/bug-reference.el (bug-reference-push-button):
17254 * progmodes/fortran.el (fortran-line-length):
17255 * progmodes/glasses.el (glasses-change):
17256 * progmodes/octave-mod.el (octave-fill-paragraph):
17257 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17258 (python-pdbtrack-grub-for-buffer, python-sentinel):
17259 * progmodes/sql.el (sql-save-connection):
17260 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17261 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17262 Mark unused parameters.
17263
17264 * progmodes/compile.el (compilation--flush-directory-cache)
17265 (compilation--flush-parse, compile-internal): Mark unused parameters.
17266 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17267 (compilation-next-error-function): Remove unused variable `timestamp'.
17268
17269 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17270 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17271
17272 * progmodes/dcl-mode.el (dcl-end-of-command):
17273 Remove unused variable `start'.
17274 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17275 (dcl-option-value-basic, dcl-option-value-offset)
17276 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17277 Mark unused parameters.
17278 (dcl-save-local-variable): Remove unused variable `val'.
17279 (mode): Declare.
17280
17281 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17282 Mark unused parameters.
17283 (delphi-ignore-changes): Move before first use.
17284 (delphi-charset-token-at): Remove unused variable `start'.
17285 (delphi-else-start): Remove unused variable `if-count'.
17286 (delphi-comment-block-start, delphi-comment-block-end):
17287 Remove unused variable `kind'.
17288 (delphi-indent-line): Remove unused variable `new-point'.
17289
17290 * progmodes/ebrowse.el (ebrowse-files-list)
17291 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17292 Mark unused parameters. Don't quote `lambda'.
17293 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17294 Don't quote `lambda'.
17295 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17296 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17297 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17298 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17299 Use `ignore-errors'.
17300 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17301 (ebrowse-view/find-file-and-search-pattern)
17302 (ebrowse-view/find-member-declaration/definition):
17303 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17304 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17305 Rename parameter PREFIX-ARG to PREFIX.
17306 (ebrowse-tags-read-name): Remove unused variables `start' and
17307 `member-info'.
17308 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17309 to `tags-file'.
17310
17311 * progmodes/etags.el (local-find-tag-hook): Declare.
17312 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17313 Mark unused parameters.
17314
17315 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17316 (executable-interpret): Mark unused parameter.
17317
17318 * progmodes/flymake.el (flymake-process-sentinel)
17319 (flymake-after-change-function)
17320 (flymake-create-temp-with-folder-structure)
17321 (flymake-get-include-dirs-dot): Mark unused parameters.
17322 (flymake-safe-delete-directory): Remove unused variable `err'.
17323
17324 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17325 (speedbar-timer-fn, speedbar-line-text)
17326 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17327 (speedbar-center-buffer-smartly): Declare functions.
17328 (gdb-find-watch-expression): Remove unused variable `array'.
17329 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17330 (gdb-starting): Mark unused parameters.
17331 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17332 (gdb-table-string): Remove unused variable `res'.
17333 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17334 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17335 (gdb-display-buffer): Remove unused variable `cur-size'.
17336
17337 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17338 allow lexical-binding compilation.
17339 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17340 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17341 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17342 Mark unused parameters.
17343 (gud-gdb-marker-filter): Remove unused variable `match'.
17344 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17345 lambda expressions and funcall them, instead of using `fset'.
17346
17347 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17348 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17349
17350 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17351 variable `header-beg'; use `let'.
17352
17353 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17354 `restart', `last-sexp' and `at-do'.
17355
17356 * progmodes/js.el (js--debug): Mark unused parameter.
17357 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17358 (js--splice-into-items): Remove unused variable `item'.
17359 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17360
17361 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17362 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17363 (makefile-complete): Remove unused variable `try'.
17364 (makefile-fill-paragraph, makefile-match-function-end):
17365 Mark unused parameters.
17366
17367 * progmodes/octave-inf.el (inferior-octave-complete):
17368 Remove unused variable `proc'.
17369 (inferior-octave-output-digest): Mark unused parameter.
17370
17371 * progmodes/perl-mode.el (perl-calculate-indent):
17372 Remove unused variable `err'.
17373
17374 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17375 (prolog-indent-line): Mark unused parameters.
17376 (prolog-indent-line): Remove unused variable `beg'.
17377
17378 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17379 (reporter-dont-compact-list): Declare.
17380
17381 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17382 Remove unused variable `char'.
17383 (sh-debug): Mark unused parameter.
17384 (sh-get-indent-info): Remove unused variable `start'.
17385 (sh-calculate-indent): Remove unused variable `var'.
17386
17387 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17388 (simula-electric-keyword): Remove unused variable `null'.
17389 (simula-search-backward, simula-search-forward): Remove unused
17390 variables `begin' and `end'.
17391
17392 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17393 Remove unused variable `pos'.
17394 (vera-electric-tab, vera-comment-uncomment-region):
17395 Mark unused parameters.
17396 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17397
7ede3b65
CY
173982011-04-22 Chong Yidong <cyd@stupidchicken.com>
17399
17400 * emacs-lisp/package.el (package--builtins, package-alist)
17401 (package-load-descriptor, package-built-in-p, package-activate)
17402 (define-package, package-installed-p)
17403 (package-compute-transaction, package-buffer-info)
17404 (package--push): Doc fix. Distinguish more clearly between
17405 version strings and version lists.
17406
121656e9
JB
174072011-04-21 Juanma Barranquero <lekktu@gmail.com>
17408
17409 Lexical-binding cleanup.
17410
17411 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17412 (5x5-make-mutate-best):
17413 * play/fortune.el (fortune-in-buffer):
17414 * play/gomoku.el (gomoku-init-display):
17415 * play/solitaire.el (solitaire, solitaire-do-check):
17416 * play/tetris.el (tetris-default-update-speed-function):
17417 Mark unused parameters.
17418
17419 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17420 (bubbles--shift): Remove unused variable `char-org'.
17421 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17422 (bubbles--show-images): Remove unused variable `char'.
17423
17424 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17425 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17426 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17427 (decipher-analyze-buffer): Use ?\s.
17428 (decipher-make-checkpoint): Remove unused variable `mapping'.
17429
17430 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17431
17432 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17433 Remove unused variable `result'; use `let'.
17434
17435 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17436 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17437 (gametree-children-shown-p, gametree-compute-reduced-score):
17438 Use `ignore-errors'.
17439
17440 * play/handwrite.el (ps-lpr-switches): Declare.
17441 (handwrite): Remove unused variables `pmin' and `lastp'.
17442
17443 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17444
17445 * play/landmark.el (landmark-init-display)
17446 (landmark-update-naught-weights): Mark unused parameters.
17447 (landmark-y): Remove unused variable `noise'. Simplify.
17448 (landmark-human-plays): Remove unused variable `score'.
17449
17450 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17451 (mpuz-try-proposal): Remove unused variable `game'.
17452
17453 * play/zone.el (life-patterns): Declare.
17454
80f499c7
JB
174552011-04-20 Juanma Barranquero <lekktu@gmail.com>
17456
17457 * vc/vc.el (ediff-vc-internal): Declare function.
17458
024ff170
SM
174592011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17460
c0a193ea
SM
17461 * shell.el: Use lexical-binding and std completion UI.
17462 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17463 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17464 comint-preoutput-filter-functions rather than on
17465 comint-output-filter-functions.
17466 (shell-command-completion, shell--command-completion-data)
17467 (shell-filename-completion, shell-environment-variable-completion)
17468 (shell-c-a-p-replace-by-expanded-directory): New functions.
17469 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17470 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17471 (shell-dynamic-complete-environment-variable): Use them.
17472 (shell-dynamic-complete-as-environment-variable)
17473 (shell-dynamic-complete-as-command): Remove.
17474 (shell-match-partial-variable): Match past point.
17475 * comint.el: Clean up use of completion-at-point-functions.
17476 (comint-completion-at-point): New function.
17477 (comint-mode): Use it completion-at-point-functions.
17478 (comint-dynamic-complete): Make it obsolete.
17479 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17480 (comint-c-a-p-replace-by-expanded-history): New function.
17481 (comint-dynamic-complete-functions)
17482 (comint-replace-by-expanded-history): Use it.
17483 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17484 termination strings. Try harder to avoid second try-completion.
17485 (completion-in-region-mode-map): Disable bindings that don't work yet.
17486
2dbaa080
SM
17487 * comint.el: Use lexical-binding. Require CL.
17488 (comint-dynamic-complete-functions): Use comint-filename-completion.
17489 (comint-completion-addsuffix): Tweak custom type.
17490 (comint-filename-completion, comint--common-suffix)
17491 (comint--common-quoted-suffix, comint--table-subvert)
17492 (comint--complete-file-name-data): New functions.
17493 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17494 (comint-dynamic-list-filename-completions): Use them.
17495 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17496
2dbaa080
SM
17497 * minibuffer.el (completion-in-region-mode):
17498 Keep completion-in-region-mode--predicate global.
17499 (completion-in-region--postch):
17500 Assume completion-in-region-mode--predicate is not null.
17501
c79a6f38
SM
17502 * progmodes/flymake.el (flymake-start-syntax-check-process):
17503 Obey `dir'. Simplify.
17504
024ff170
SM
17505 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17506 we're in VC after all.
17507
1c6c854e
CS
175082011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17509
17510 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17511 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17512 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17513
bed7f140
SM
175142011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17515
332e62ab
SM
17516 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17517 add sanity check.
17518
bed7f140
SM
17519 * obsolete/erc-hecomplete.el: Make obsolete.
17520 * obsolete/: Standardize obsolescence info in the header.
17521
f195c582
GM
175222011-04-20 Glenn Morris <rgm@gnu.org>
17523
17524 * calendar/solar.el (solar-horizontal-coordinates):
17525 Use the longitude argument rather than `calendar-longitude'.
17526 (solar-date-next-longitude): Remove unused locals.
17527
cb79b8c0
VJL
175282011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17529
17530 * whitespace.el: New version 13.2.1.
17531
175322011-04-20 felix <EmacsWiki> (tiny change)
17533
d8e4b68b 17534 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17535 switching between major modes on a file.
17536
602ea69d
SM
175372011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17538
17539 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17540 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17541 multi-line comments as well.
17542
06b60517
JB
175432011-04-19 Juanma Barranquero <lekktu@gmail.com>
17544
17545 Lexical-binding cleanup.
17546
17547 * arc-mode.el (archive-mode-revert):
17548 * cmuscheme.el (scheme-interactively-start-process):
17549 * custom.el (custom-initialize-delay):
17550 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17551 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17552 * emacs-lock.el (emacs-lock-clear-sentinel):
17553 * ezimage.el (defezimage):
17554 * follow.el (follow-avoid-tail-recenter):
17555 * fringe.el (set-fringe-mode-1):
17556 * generic-x.el (bat-generic-mode-compile):
17557 * help-mode.el (help-info-variable, help-do-xref)
17558 (help-mode-revert-buffer):
17559 * help.el (view-emacs-todo):
17560 * iswitchb.el (iswitchb-completion-help):
17561 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17562 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17563 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17564 * locate.el (locate-update):
17565 * longlines.el (longlines-encode-region)
17566 (longlines-after-change-function):
17567 * outline.el (outline-isearch-open-invisible):
17568 * ps-def.el (declare-function, charset-dimension, char-width)
17569 (encode-char):
17570 * ps-mule.el (ps-mule-plot-string):
17571 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17572 (recentf-edit-list-select, recentf-edit-list-validate)
17573 (recentf-open-files-action):
17574 * rect.el (delete-whitespace-rectangle-line)
17575 (rectangle-number-line-callback):
17576 * register.el (window-configuration-to-register)
17577 (frame-configuration-to-register):
17578 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17579 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17580 (xselect-convert-to-targets, xselect-convert-to-delete)
17581 (xselect-convert-to-filename, xselect-convert-to-charpos)
17582 (xselect-convert-to-lineno, xselect-convert-to-colno)
17583 (xselect-convert-to-os, xselect-convert-to-host)
17584 (xselect-convert-to-user, xselect-convert-to-class)
17585 (xselect-convert-to-name, xselect-convert-to-integer)
17586 (xselect-convert-to-atom, xselect-convert-to-identity):
17587 * subr.el (declare, ignore, process-kill-without-query)
17588 (text-clone-maintain):
17589 * terminal.el (te-get-char, te-tic-sentinel):
17590 * tool-bar.el (tool-bar-make-keymap):
17591 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17592 * type-break.el (type-break-mode, type-break-noninteractive-query):
17593 * view.el (View-back-to-mark):
17594 * wid-browse.el (widget-browse-action, widget-browse-widget)
17595 (widget-browse-widgets, widget-browse-sexp):
17596 * widget.el (define-widget-keywords):
17597 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17598 Mark unused parameters.
17599
17600 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17601 (align-areas): Remove unused variable `look'.
17602 (align-region): Remove unused variables `real-end' and `pos-list'.
17603
17604 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17605
17606 * bindings.el (mode-line-modified, mode-line-remote):
17607 Mark unused parameters.
17608 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17609
17610 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17611 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17612
17613 * comint.el (comint-history-isearch-pop-state)
17614 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17615 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17616 (comint-substitute-in-file-name): Doc fix.
17617
17618 * completion.el (cmpl-statistics-block): Mark unused parameter.
17619 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17620 (save-completions-to-file, load-completions-from-file):
17621 Remove unused local variable `e'.
17622
17623 * composite.el (compose-chars): Remove unused variable `len'.
17624 (lgstring-insert-glyph): Remove unused variable `g'.
17625 (compose-glyph-string): Remove unused variables `ascent',
17626 `descent', `lbearing' and `rbearing'.
17627 (compose-glyph-string-relative): Remove unused variables
17628 `lbearing', `rbearing' and `wadjust'.
17629 (compose-gstring-for-graphic): Remove unused variables `header',
17630 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17631 (compose-gstring-for-terminal): Remove unused variables `header'
17632 and `nchars'. Use `let', not `let*'.
17633
17634 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17635 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17636 (Custom-buffer-done, custom-buffer-create-internal)
17637 (custom-browse-visibility-action, custom-browse-group-tag-action)
17638 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17639 (widget-magic-mouse-down-action, custom-toggle-parent)
17640 (custom-add-parent-links, custom-toggle-hide-variable)
17641 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17642 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17643 (custom-face-menu-create, custom-variable-menu-create, get)
17644 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17645 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17646 (customize-apropos): Remove unused variable `tests'.
17647 (custom-group-value-create): Remove unused variable `hidden-p'.
17648 (sort-fold-case): Declare.
17649
17650 * cus-theme.el (custom-reset-standard-faces-list)
17651 (custom-reset-standard-variables-list): Declare.
17652 (customize-create-theme, custom-theme-revert, custom-theme-write)
17653 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17654 Mark unused parameters.
17655
17656 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17657
17658 * delim-col.el (delimit-columns-max): Move defvar before first use.
17659
17660 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 17661 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
17662
17663 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17664 (auto-insert): Declare.
17665 (desktop-restore-file-buffer): Rename desktop-* parameters;
17666 mark unused ones.
17667 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17668 (desktop-buffer): Rename desktop-* parameters.
17669
17670 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17671 (dframe-reposition-frame-xemacs, dframe-help-echo)
17672 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17673 Mark unused parameters.
17674
17675 * dired-aux.el (backup-extract-version-start, overwrite-query)
17676 (overwrite-backup-query, rename-regexp-query)
17677 (rename-non-directory-query): Declare.
17678 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17679 (dired-add-entry): Remove unused variable `orig-file-name'.
17680 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17681 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17682 `dired-copy-preserve-time' directly.
17683 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17684 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17685
17686 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17687 (dired-virtual-revert, dired-make-relative-symlink):
17688 Mark unused parameters.
17689 (manual-program): Declare.
17690 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17691 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17692 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17693
17694 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17695
17696 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17697
17698 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17699 Declare.
17700
17701 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17702
17703 * electric.el (Electric-command-loop): Rename parameter
17704 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17705
17706 * expand.el (expand-in-literal): Remove unused variable `here'.
17707
17708 * facemenu.el (facemenu-add-new-color):
17709 Remove unused variable `docstring'.
17710
17711 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17712 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17713 (face-attr-construct): Mark unused parameter. Doc fix.
17714 (read-color): Remove unused variable `hex-string'.
17715
17716 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17717 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17718 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17719 (display-buffer-other-frame): Remove unused variable `old-window'.
17720 (kill-buffer-hook): Declare.
17721 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17722 Mark unused parameters.
17723 (after-find-file): Pass 1 to `auto-save-mode', not t.
17724
17725 * files-x.el (auto-insert): Declare.
17726 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17727
17728 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 17729 variable `buf'. Mark unused parameter.
06b60517
JB
17730 (find-lisp-insert-directory): Mark unused parameter.
17731
17732 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17733 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17734 (format-common-tail): Remove, unused.
17735 (format-deannotate-region): Remove unused variable `loc'.
17736 (format-annotate-region): Remove unused variable `p'.
17737 (format-annotate-single-property-change): Remove unused variables
17738 `default' and `tail'.
17739
17740 * forms.el (read-file-filter): Declare.
17741 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17742
17743 * frame.el (frame-creation-function-alist): Mark unused parameter.
17744 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17745
17746 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17747 Remove unused parameters.
17748 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17749 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17750
17751 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17752 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17753 (hfy-prepare-tag-map): Mark unused parameters.
17754 (htmlfontify-buffer): Use `called-interactively-p'.
17755
17756 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17757 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17758 (ibuffer-do-occur): Mark unused parameters.
17759 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17760 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17761
17762 * ibuffer.el: Don't quote `lambda'.
17763 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17764 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17765 Mark unused parameters.
17766
17767 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17768 (ido-completing-read): Mark unused parameters.
17769 (ido-copy-current-word): Mark unused parameters;
17770 remove unused variable `name'.
17771 (ido-sort-merged-list): Remove unused parameter `dirs'.
17772
17773 * ielm.el (ielm-input-sender): Mark unused parameter.
17774 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17775 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17776 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17777 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17778 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17779
17780 * image-dired.el (image-dired-display-thumbs): Remove unused
17781 variables `curr-file' and `count'.
17782 (image-dired-remove-tag): Remove unused variable `start'.
17783 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17784 variable `curr-file'
17785 (image-dired-rotate-original): Remove unused variable `temp-file'.
17786 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17787 Remove unused variable `file'.
17788 (image-dired-gallery-generate): Remove unused variable `curr'.
17789 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17790
17791 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17792
17793 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17794
17795 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17796
17797 * isearch.el (minibuffer-history-symbol): Declare.
17798 (isearch-edit-string): Remove unused variable `err'.
17799 (isearch-message-prefix, isearch-message-suffix):
17800 Mark unused parameters.
17801
17802 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17803
17804 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17805
17806 * makesum.el (double-column): Remove unused variable `cnt'.
17807
17808 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17809 (ido-ignore-item-temp-list): Declare.
17810
17811 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17812 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17813 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17814 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17815 `mouse-col-delta'.
17816
17817 * mouse-sel.el (mouse-extend-internal):
17818 Remove unused variable `orig-window-frame'.
17819
17820 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17821 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17822 Move declarations before first use.
17823 (pcomplete-opt): Mark unused parameters; doc fix.
17824
17825 * proced.el (proced-revert): Mark unused parameter.
17826 (proced-send-signal): Remove unused variable `err'.
17827
17828 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17829 Rename parameter PREFIX-ARG to ARG.
17830 (ps-basic-plot-string, ps-basic-plot-whitespace):
17831 Mark unused parameters.
17832
17833 * replace.el (replace-count): Define.
17834 (occur-revert-function): Mark unused parameters.
17835 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17836 (isearch-case-fold-search, isearch-string): Declare.
17837 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17838 bind `case-fold-search'. Remove unused variables `beg' and `end',
17839 and simplify.
17840 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17841 COUNT and bind `replace-count'.
17842 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17843 to COUNT.
17844
17845 * savehist.el (print-readably, print-string-length): Declare.
17846
17847 * shadowfile.el (shadow-expand-cluster-in-file-name):
17848 Remove unused variable `cluster'.
17849 (shadow-copy-file): Remove unused variable `i'.
17850 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17851 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17852 (shadow-define-literal-group, shadow-define-regexp-group)
17853 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17854
17855 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17856 (shell): Use `called-interactively-p'.
17857 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17858
17859 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17860 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17861 (delete-backward-char): Remove unused variable `ocol'.
17862 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17863 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17864 (event-apply-hyper-modifier, event-apply-shift-modifier)
17865 (event-apply-control-modifier, event-apply-meta-modifier):
17866 Mark unused parameters.
17867 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17868 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17869
17870 * speedbar.el (speedbar-ignored-directory-expressions)
17871 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17872 (speedbar-find-file, speedbar-dir-follow)
17873 (speedbar-directory-buttons-follow, speedbar-tag-find)
17874 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17875 (speedbar-buffers-line-directory, speedbar-buffer-click):
17876 Mark unused parameters.
17877 (speedbar-tag-file): Remove unused variable `mode'.
17878 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17879
17880 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17881
17882 * talk.el (talk): Remove unused variable `display'.
17883
17884 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17885 (tar-write-region-annotate): Mark unused parameter.
17886
17887 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17888 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17889 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17890 warning by another.
17891
17892 * time-stamp.el (time-stamp-string-preprocess):
17893 Remove unused variable `require-padding'.
17894
17895 * tree-widget.el (widget-glyph-enable): Declare.
17896 (tree-widget-action): Mark unused parameter.
17897
17898 * w32-fns.el (x-get-selection): Mark unused parameter.
17899 (autoload-make-program, generated-autoload-file): Declare.
17900
17901 * wdired.el (wdired-revert): Mark unused parameters.
17902 (wdired-xcase-word): Remove unused variable `err'.
17903
17904 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17905 (whitespace-help-scroll): Remove unused variable `data-help'.
17906
17907 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17908 (widget-image-insert, widget-after-change, default)
17909 (widget-default-format-handler, widget-default-notify)
17910 (widget-default-prompt-value, widget-info-link-action)
17911 (widget-url-link-action, widget-function-link-action)
17912 (widget-variable-link-action, widget-file-link-action)
17913 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17914 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17915 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17916 (widget-insert-button-action, widget-delete-button-action, visibility)
17917 (widget-documentation-link-action, widget-documentation-string-action)
17918 (widget-const-prompt-value, widget-regexp-match, symbol)
17919 (widget-coding-system-prompt-value)
17920 (widget-key-sequence-value-to-external, sexp)
17921 (widget-sexp-value-to-internal, character, vector, cons)
17922 (widget-choice-prompt-value, widget-boolean-prompt-value)
17923 (widget-color--choose-action): Mark unused parameters.
17924 (widget-item-match-inline, widget-choice-match-inline)
17925 (widget-checklist-match, widget-checklist-match-inline)
17926 (widget-group-match): Rename parameter VALUES to VALS.
17927 (widget-field-value-set): Remove unused variable `size'.
17928 (widget-color-action): Remove unused variables `value' and `start'.
17929
17930 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 17931 variable `dir'. Doc fix.
06b60517
JB
17932 (windmove-find-other-window): Don't pass it.
17933
17934 * window.el (count-windows): Mark unused parameter.
17935 (bw-adjust-window): Remove unused variable `err'.
17936
17937 * woman.el (woman-file-name): Remove unused variable `default'.
17938 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17939 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17940 (global-font-lock-mode): Declare.
17941 (woman-decode-region): Mark unused parameter.
17942 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17943
17944 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17945 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17946 (x-dnd-handle-moz-url): Remove unused variable `title'.
17947 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17948
17949 * xml.el (xml-parse-tag, xml-parse-attlist):
17950 Remove unused variable `pos'.
17951
bc4f7f3d
GM
179522011-04-19 Glenn Morris <rgm@gnu.org>
17953
17954 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17955 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17956 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17957 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17958 * calendar/cal-html.el (cal-html-insert-minical):
17959 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17960 (calendar-mark-date-pattern):
17961 Prefix "unused" locals.
17962
17963 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17964 optional argument `style'.
17965
17966 * calendar/appt.el (appt-make-list):
17967 * calendar/cal-china.el (calendar-chinese-date-string):
17968 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17969 (diary-hebrew-yahrzeit):
17970 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17971 * calendar/calendar.el (calendar-generate-window):
17972 * calendar/time-date.el (time-to-days):
17973 Remove unused local variables.
17974
16a43933
CY
179752011-04-18 Chong Yidong <cyd@stupidchicken.com>
17976
17977 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17978 glyphless-char-display table.
17979 (tabulated-list-glyphless-char-display): New var.
17980
7eed1860
SS
179812011-04-18 Sam Steingold <sds@gnu.org>
17982
17983 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17984 to acknowledgments.
17985
4d2d1ccd
GM
179862011-04-17 Glenn Morris <rgm@gnu.org>
17987
17988 * calendar/diary-lib.el (diary-sexp-entry):
17989 * calendar/holidays.el (holiday-sexp):
17990 Set debug-on-error rather than the removed stack-trace-on-error.
17991
239da61d
GM
179922011-04-16 Glenn Morris <rgm@gnu.org>
17993
17994 * progmodes/f90.el: Use lexical-binding.
17995 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17996
8b05752a
SM
179972011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17998
daca8ba5
SM
17999 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18000 (mail-mode): Setup mailalias completion here instead.
18001 * mail/mailalias.el: Use lexical-binding.
18002 (pattern, mailalias-done): Declare dynamic.
18003 (mail-completion-at-point-function): New function, from mail-complete.
18004 (mail-complete): Use it.
18005 (mail-completion-expand): New function.
18006 (mail-get-names): Use it.
18007 (mail-directory, mail-directory-process, mail-directory-stream):
18008 Don't use `pattern' for lexically bound arg.
18009
6f542485
SM
18010 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18011
037e7c3f
SM
18012 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18013 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18014 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18015
8b05752a
SM
18016 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18017 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18018 (byte-interactive-p): Define them again, for use when inlining
18019 old code.
18020
49093f60
JB
180212011-04-15 Juanma Barranquero <lekktu@gmail.com>
18022
18023 * loadup.el: Use `string-to-number', not `string-to-int'.
18024
b5b8e7de
SM
180252011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18026
18027 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18028 gud-gdb-complete-command.
18029 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18030 (gud-gdb-completion-at-point): New function.
18031 (gud-gdb-completions): Remove.
18032
f42efeb5
MA
180332011-04-14 Michael Albinus <michael.albinus@gmx.de>
18034
49093f60
JB
18035 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18036 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18037 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18038 whether `executable-find' is bound.
f42efeb5
MA
18039
18040 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18041
e240cc21
SM
180422011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18043
18044 * minibuffer.el (completion-in-region-mode-predicate)
18045 (completion-in-region-mode--predicate): New vars.
18046 (completion-in-region, completion-in-region--postch)
18047 (completion-in-region-mode): Use them.
18048 (completion--capf-wrapper): Also return the hook function.
18049 (completion-at-point, completion-help-at-point):
18050 Adjust and provide a predicate.
c2bd2ab0
SM
18051
18052 Preserve arg names for advice of subr and lexical functions (bug#8457).
18053 * help-fns.el (help-function-arglist): Consolidate the subr and
18054 new-byte-code cases. Add argument `preserve-names' to extract names
18055 from the docstring when needed.
18056 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18057 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18058 (ad-arglist): Use help-function-arglist's new arg.
18059 (ad-definition-type): Use cond.
18060
c183f693
JB
180612011-04-13 Juanma Barranquero <lekktu@gmail.com>
18062
06641a47
JB
18063 * autorevert.el (auto-revert-handler):
18064 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18065 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18066 Don't quote lambda.
18067
c183f693
JB
18068 * image-mode.el (image-transform-set-scale):
18069 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18070
1e3b6001
G
180712011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18072
18073 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18074 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18075 Upgrades via gnutls-cli are too slow to be done opportunistically.
18076
2d6af8dd
JB
180772011-04-12 Juanma Barranquero <lekktu@gmail.com>
18078
18079 * dframe.el (dframe-current-frame): Remove spurious quote.
18080
c0749a51
GM
180812011-04-12 Glenn Morris <rgm@gnu.org>
18082
088d0d61
GM
18083 * calendar/cal-tex.el (cal-tex-end-document):
18084 Try to automatically use latin1 input if needed.
18085
c0749a51
GM
18086 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18087 Don't try to cons a mark onto an empty element.
18088
5c90fde0
LL
180892011-04-11 Leo Liu <sdl.web@gmail.com>
18090
18091 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18092 buffers.
18093 (ido-kill-buffer-at-head): Support killing virtual buffers.
18094
369e974d
CY
180952011-04-10 Chong Yidong <cyd@stupidchicken.com>
18096
18097 * minibuffer.el (completion-show-inline-help): New var.
18098 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18099 (minibuffer-force-complete, minibuffer-complete-word):
18100 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18101
18102 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18103 to avoid interference from inline help (Bug#5849).
18104
37f1c930
LL
181052011-04-10 Leo Liu <sdl.web@gmail.com>
18106
099c39a4
JB
18107 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18108 Fix typo.
37f1c930 18109
a32d4040
CY
181102011-04-09 Chong Yidong <cyd@stupidchicken.com>
18111
18112 * image-mode.el (image-toggle-display-image): Signal an error if
18113 not in Image mode.
18114 (image-transform-mode, image-transform-resize)
18115 (image-transform-set-rotation): Doc fix.
daca8ba5 18116 (image-transform-set-resize): Delete.
a32d4040
CY
18117 (image-transform-set-scale, image-transform-fit-to-height)
18118 (image-transform-fit-to-width): Handle image-toggle-display-image
18119 and image-transform-resize directly.
18120
099c39a4 181212011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18122
18123 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18124 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18125 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18126 (doc-view-mode-map): Add bindings for the new functions.
18127
099c39a4 181282011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18129
4d61f28d 18130 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18131 Fix typo in docstring.
18132
3726838a
EZ
181332011-04-08 Eli Zaretskii <eliz@gnu.org>
18134
04f33f1e
EZ
18135 * files.el (file-size-human-readable): Produce one digit after
18136 decimal, like "ls -lh" does.
18137
18138 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18139 the file size representation.
18140
3726838a
EZ
18141 * simple.el (list-processes): If async subprocesses are not
18142 available, error out with a clear error message.
18143
cbb59342
CY
181442011-04-08 Chong Yidong <cyd@stupidchicken.com>
18145
18146 * help.el (help-form-show): New function, to be called from C.
18147 Put help-form output in a buffer named differently than *Help*.
18148
e3971c44
EZ
181492011-04-08 Eli Zaretskii <eliz@gnu.org>
18150
18151 * files.el (file-size-human-readable): New function.
18152
18153 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18154 computing the representation inline. Don't require `cl'.
18155
12544bbe
GM
181562011-04-08 Glenn Morris <rgm@gnu.org>
18157
a1de6c6a
GM
18158 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18159
3c4671f4
GM
18160 * net/browse-url.el (browse-url-firefox):
18161 Test system-type, not system-configuration.
18162
b605679c
GM
18163 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18164 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18165 Use log-edit-empty-buffer-p. (Bug#7598)
18166
56442f0c
GM
18167 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18168 (rlogin-mode-map): Initialize in the defvar.
18169 (rlogin): Use ignore-errors.
18170
12544bbe
GM
18171 * replace.el (occur-mode-map): Some fixes for menu items.
18172
eb237b0f
AH
181732011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18174
18175 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18176
7d668f2c
CY
181772011-04-06 Chong Yidong <cyd@stupidchicken.com>
18178
e67a13ab
CY
18179 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18180 issuing unused warnings.
18181
18182 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18183 macro directly.
18184
7d668f2c
CY
18185 * simple.el: Lisp reimplement of list-processes. Based on an
18186 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18187 (process-menu-mode): New major mode.
18188 (list-processes--refresh, list-processes):
18189 (process-menu-visit-buffer): New functions.
18190
18191 * files.el (save-buffers-kill-emacs): Don't assume any return
18192 value of list-processes, which is undocumented anyway.
18193
a83ec3c9
CY
181942011-04-06 Chong Yidong <cyd@stupidchicken.com>
18195
18196 * emacs-lisp/tabulated-list.el: New file.
18197
e91a96fe
CY
18198 * emacs-lisp/package.el: Use Tabulated List mode.
18199 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18200 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18201 table format using Tabulated List mode variables.
18202 (package--push): New macro, replacing package-list-maybe-add.
18203 (package-menu--generate): Use package--push. Renamed from
18204 package--generate-package-list.
18205 (package-menu-refresh, list-packages): Use it.
daca8ba5 18206 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18207 Return insertion data instead of inserting it directly.
099c39a4
JB
18208 (package-menu-describe-package, package-menu-execute):
18209 Use tabulated-list-get-id.
e91a96fe
CY
18210 (package-menu-mark-delete, package-menu-mark-install)
18211 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18212 (package-menu-mark-obsolete-for-deletion):
18213 Use tabulated-list-put-tag.
e91a96fe
CY
18214 (package--list-packages, package-menu-revert)
18215 (package-menu-get-package, package-menu-get-version)
18216 (package-menu-sort-by-column): Functions deleted.
18217 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18218 (package-menu--status-predicate, package-menu--version-predicate)
18219 (package-menu--name-predicate)
18220 (package-menu--description-predicate): Handle arguments in the
18221 Tabulated List format.
18222 (package-list-packages-no-fetch): Call list-packages.
18223
3e214b50
JB
182242011-04-06 Juanma Barranquero <lekktu@gmail.com>
18225
18226 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18227 (after-find-file): Don't bind it.
3e214b50
JB
18228 (revert-buffer-in-progress-p): New variable.
18229 (revert-buffer): Bind it.
18230 Pass nil for `after-find-file-from-revert-buffer'.
18231
18232 * saveplace.el (save-place-find-file-hook): Use new variable
18233 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18234
3f0f1700
GM
182352011-04-06 Glenn Morris <rgm@gnu.org>
18236
c0274801
GM
18237 * Makefile.in (AUTOGEN_VCS): New variable.
18238 (autoloads): Use $AUTOGEN_VCS.
18239
3f0f1700
GM
18240 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18241 * calendar/calendar.el (calendar-mode-map):
18242 Check for toolkit scroll bars. (Bug#8305)
18243
41ea9e48
CY
182442011-04-05 Chong Yidong <cyd@stupidchicken.com>
18245
18246 * minibuffer.el (completion-in-region--postch)
18247 (completion-in-region-mode): Remove unnecessary messages.
18248
6194c800
JB
182492011-04-05 Juanma Barranquero <lekktu@gmail.com>
18250
33256f14
JB
18251 * font-lock.el (font-lock-refresh-defaults):
18252 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18253 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18254
6194c800
JB
18255 * info.el (Info-directory-list, Info-read-node-name-2)
18256 (Info-split-parameter-string): Doc fixes.
18257 (Info-virtual-nodes): Reflow docstring.
18258 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18259 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18260 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18261 Fix typos in docstrings.
18262 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18263 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18264 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18265 (Info-restore-desktop-buffer): Mark unused parameters.
18266 (Info-directory-find-file, Info-directory-find-node)
18267 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18268 (Info-virtual-index-find-node, Info-apropos-find-file)
18269 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18270 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18271 (Info-virtual-index): Remove unused local variable `nodename'.
18272
b87a8200 182732011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18274
b87a8200
DD
18275 * net/rcirc.el: Update my e-mail address.
18276 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18277
3b2ff876
CY
182782011-04-05 Chong Yidong <cyd@stupidchicken.com>
18279
18280 * startup.el (command-line): Save the cursor's theme-face
18281 directly, instead of using face-override-spec.
18282
18283 * custom.el (load-theme): Minor optimization in assigning faces.
18284
8d17e7ca
JB
182852011-04-04 Juanma Barranquero <lekktu@gmail.com>
18286
18287 * help-fns.el (describe-variable): Complete all variables having
18288 documentation, including keywords.
18289 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18290
2fbc1934
JB
182912011-04-04 Juanma Barranquero <lekktu@gmail.com>
18292
18293 Convert to lexical-binding.
18294
18295 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18296 (bs--get-marked-string, bs--get-modified-string)
18297 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18298 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18299 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18300
18301 * ehelp.el (electric-help-execute-extended)
18302 (electric-help-ctrl-x-prefix):
18303 * hexl.el (hexl-revert-buffer-function):
18304 * linum.el (linum-after-change, linum-after-scroll):
18305 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18306
18307 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18308
74f50695
DU
183092011-04-04 Daiki Ueno <ueno@unixuser.org>
18310
18311 * epa-dired.el:
18312 * epa-mail.el:
18313 * epa-hook.el:
18314 * epa-file.el:
18315 * epa.el:
18316 * epg.el: Use lexical binding.
18317
c11325f7
CY
183182011-04-03 Chong Yidong <cyd@stupidchicken.com>
18319
0d9e9a12
CY
18320 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18321
c11325f7 18322 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18323 dictionary case for flyspell-mark-duplications-exceptions.
18324 Use regexp matching for languages.
c11325f7
CY
18325 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18326 default dictionary (Bug#7926).
18327
da91b5f2
CY
183282011-04-02 Chong Yidong <cyd@stupidchicken.com>
18329
099c39a4
JB
18330 * emacs-lisp/package.el (package--with-work-buffer):
18331 Recognize https URLs.
da91b5f2 18332
099c39a4
JB
18333 * net/network-stream.el: Move from gnus/proto-stream.el.
18334 Change prefix to network-stream throughout.
da91b5f2
CY
18335 (open-protocol-stream): Merge into open-network-stream, leaving
18336 open-protocol-stream as an alias. Handle nil BUFFER args.
18337
18338 * subr.el (open-network-stream): Move to net/network-stream.el.
18339
afa8e9f6
GM
183402011-04-02 Glenn Morris <rgm@gnu.org>
18341
1d2e369d
GM
18342 * find-dired.el (find-exec-terminator): New option.
18343 (find-ls-option): Test for -ls support.
18344 (find-ls-subdir-switches): Test for -b in find-ls-option.
18345 (find-dired, find-grep-dired): Doc fixes.
18346 (find-dired): Use find-exec-terminator.
18347
8abb7da8 18348 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18349 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18350 (find-name-arg): Remove purecopy.
8abb7da8 18351
f3ca7378
GM
18352 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18353 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18354 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18355 accordingly. Don't add the null-device if not needed.
18356
afa8e9f6
GM
18357 * files.el (save-some-buffers): Doc fix.
18358
35eae264
EZ
183592011-04-02 Eli Zaretskii <eliz@gnu.org>
18360
18361 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18362
26b51db5
JB
183632011-04-01 Juanma Barranquero <lekktu@gmail.com>
18364
18365 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18366 Use `dolist' rather than `mapcar'.
18367
7200d79c
SM
183682011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18369
03408648 18370 Add lexical binding.
7200d79c 18371
03408648
SM
18372 * subr.el (apply-partially): Use new closures rather than CL.
18373 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18374 (dolist, dotimes): Use slightly different expansion for lexical code.
18375 (functionp): Move to C.
18376 (letrec): New macro.
18377 (with-wrapper-hook): Use it and apply-partially instead of CL.
18378 (eval-after-load): Preserve lexical-binding.
18379 (save-window-excursion, with-output-to-temp-buffer): Turn them
18380 into macros.
7200d79c 18381
03408648
SM
18382 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18383
18384 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18385 than the arglist.
18386 (help-add-fundoc-usage): Don't add `Not documented'.
18387 (help-function-arglist): Handle closures, subroutines, and new
18388 byte-code-functions.
18389 (help-make-usage): Remove leading underscores.
18390 (describe-function-1): Handle closures.
18391 (describe-variable): Use special-variable-p for completion.
18392
18393 * files.el (lexical-binding): Declare safe.
f488fb65 18394
03408648
SM
18395 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18396 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18397 (pcase): Add `let' pattern.
18398 Change memoization so it actually works.
18399 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18400 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18401 <let>: New case.
f488fb65 18402
03408648
SM
18403 * emacs-lisp/macroexp.el: Use lexical binding.
18404 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18405 Don't convert ' to #' without checking that it's indeed quoting
18406 a lambda.
18407
18408 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18409 Use eval-sexp-add-defvars.
03408648
SM
18410 (eval-sexp-add-defvars): New fun.
18411
18412 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18413
18414 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18415 Don't autoload.
18416 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18417 than the internal `byte-compile-lambda'.
18418 (defmethod): Don't hide code under quotes.
18419 (eieio-defmethod): New `code' argument.
18420
18421 * emacs-lisp/eieio-comp.el: Remove.
18422
18423 * emacs-lisp/edebug.el (edebug-eval-defun)
18424 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18425 (edebug-toggle): Avoid `eval'.
18426
18427 * emacs-lisp/disass.el (disassemble-internal): Handle new
18428 `closure' objects.
18429 (disassemble-1): Handle new byte codes.
18430
18431 * emacs-lisp/cl.el (pushnew): Silence warning.
18432
18433 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18434 (cl-byte-compile-throw): Remove.
18435 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18436
18437 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18438 closures.
18439
18440 * emacs-lisp/cconv.el: New file.
18441
18442 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18443 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18444 (byte-compile-initial-macro-environment):
18445 Handle declare-function here.
18446 (byte-compile--lexical-environment): New var.
18447 (byte-stack-ref, byte-stack-set, byte-discardN)
18448 (byte-discardN-preserve-tos): New lap codes.
18449 (byte-interactive-p): Don't use any more.
18450 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18451 New macros.
18452 (byte-compile-lapcode): Use them and handle new lap codes.
18453 (byte-compile-obsolete): Remove.
18454 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18455 (byte-compile-arglist-warn): Check late def of inlinable funs.
18456 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18457 since they should have been expanded by now.
18458 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18459 (byte-compile-from-buffer): Remove unused second arg.
18460 (byte-compile-preprocess): New function.
18461 (byte-compile-toplevel-file-form): New function to distinguish
18462 file-form calls from outside from file-form calls from hunk-handlers.
18463 (byte-compile-file-form): Simplify.
18464 (byte-compile-file-form-defsubst): Remove.
18465 (byte-compile-file-form-defmumble): Simplify now that
18466 byte-compile-lambda always returns a byte-code-function.
18467 (byte-compile): Preprocess.
18468 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18469 Remove, not used any more.
18470 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18471 (byte-compile-make-args-desc): New funs.
18472 (byte-compile-lambda): Handle lexical functions. Always return
18473 a byte-code-function.
18474 (byte-compile-reserved-constants): New var, to make up room for
18475 closed-over variables.
18476 (byte-compile-constants-vector): Obey it.
18477 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18478 (byte-compile-macroexpand-declare-function): New function.
18479 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18480 byte-code-functions.
18481 (byte-compile-form): Check obsolescence here.
18482 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18483 (byte-compile-variable-ref): Remove.
18484 (byte-compile-dynamic-variable-op): New fun.
18485 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18486 (byte-compile-variable-set): New funs.
18487 (byte-compile-discard): Add 2 args.
18488 (byte-compile-stack-ref, byte-compile-stack-set)
18489 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18490 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18491 macroexpand-all instead.
18492 (byte-compile-quote-form): Remove.
18493 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18494 (byte-compile-bind, byte-compile-unbind): New funs.
18495 (byte-compile-let): Handle let* and lexical binding.
18496 (byte-compile-let*): Remove.
18497 (byte-compile-catch, byte-compile-unwind-protect)
18498 (byte-compile-track-mouse, byte-compile-condition-case):
18499 Handle a new :fun-body form, used for lexical scoping.
18500 (byte-compile-save-window-excursion)
18501 (byte-compile-with-output-to-temp-buffer): Remove.
18502 (byte-compile-defun): Simplify.
18503 (byte-compile-stack-adjustment): New fun.
18504 (byte-compile-out): Use it.
18505 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18506
18507 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18508 handler any more.
18509
18510 * emacs-lisp/byte-opt.el: Use lexical binding.
18511 (byte-inline-lapcode): Remove (to bytecomp).
18512 (byte-compile-inline-expand): Pay attention to inlining to/from
18513 lexically bound code.
18514 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18515 any more.
18516 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18517 any more and don't call compiler-macros.
18518 (byte-compile-splice-in-already-compiled-code): Remove.
18519 (byte-code): Don't inline any more.
18520 (disassemble-offset): Receive `bytes' as argument rather than via
18521 dynamic scoping.
18522 (byte-compile-tag-number): Declare before first use.
18523 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18524 `return' even if make-spliceable.
18525 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18526 obsolete interactive-p.
18527 (byte-optimize-lapcode): Optimize new lap-codes.
18528 Don't trip up on new form of `byte-constant' lap code.
18529
18530 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18531
18532 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18533
18534 * custom.el (custom-initialize-default, custom-declare-variable):
18535 Use `defvar'.
18536
18537 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18538 New variables.
18539 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18540 (COMPILE_FIRST): Add macroexp and cconv.
18541 * makefile.w32-in: Mirror changes in Makefile.in.
18542
18543 * vc/cvs-status.el:
18544 * vc/diff-mode.el:
18545 * vc/log-edit.el:
18546 * vc/log-view.el:
18547 * vc/smerge-mode.el:
18548 * textmodes/bibtex-style.el:
090bd7cb 18549 * textmodes/css-mode.el:
03408648
SM
18550 * startup.el:
18551 * uniquify.el:
da91b5f2
CY
18552 * minibuffer.el:
18553 * newcomment.el:
18554 * reveal.el:
18555 * server.el:
18556 * mpc.el:
18557 * emacs-lisp/smie.el:
18558 * doc-view.el:
18559 * dired.el:
03408648
SM
18560 * abbrev.el: Use lexical binding.
18561
0f0c1f27
EZ
185622011-04-01 Eli Zaretskii <eliz@gnu.org>
18563
18564 * info.el (info-display-manual): New function.
18565
c82b2579
SM
185662011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18567
18568 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18569
221ddf68
TH
185702011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18571
18572 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18573 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18574
cba6e77e
GM
185752011-03-31 Glenn Morris <rgm@gnu.org>
18576
e040639f
GM
18577 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18578
cba6e77e
GM
18579 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18580
6d0f1c9e
CS
185812011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18582
18583 * progmodes/python.el (python-default-interpreter)
18584 (python-python-command-args, python-jython-command-args)
18585 (python-which-shell, python-which-args, python-which-bufname)
18586 (python-file-queue, python-comint-output-filter-function)
18587 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18588 variables and functions.
18589
3e2d70fd
SM
185902011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18591
18592 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18593 (completion-in-region-mode): New minor mode.
18594 (completion-in-region): Use it.
18595 (completion-in-region--data, completion-in-region-mode-map): New vars.
18596 (completion-in-region--postch): New function.
18597 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18598 New vars.
18599 (completion--capf-wrapper): New function.
18600 (completion-at-point): Use it to track well-behavedness of
18601 hook functions.
18602 (completion-help-at-point): New command.
18603
f3e4086c
JM
186042011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18605
18606 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18607 syntax class to search for whitespace on a single line
18608 (Message-ID: <4D938140.4030905@redhat.com>).
18609
eb7ffc14
LL
186102011-03-30 Leo Liu <sdl.web@gmail.com>
18611
18612 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18613 New commands.
18614 (edit-abbrevs-map): Bind them here.
18615 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18616
d806ab68
KM
186172011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18618
18619 * allout.el (allout-hide-by-annotation, allout-flag-region):
18620 Reduce possibility of overlay leakage by making them volatile.
18621
18622 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18623 hash is not shared between buffers. Mode initialization is
18624 responsible for giving it a useful starting value.
18625 (allout-item-span): Reduce possibility of overlay leakage by
18626 making them volatile.
18627 (allout-widgets-count-buttons-in-region): Add diagnostic function
18628 for tracking down button overlay leaks.
18629
ea622834
LL
186302011-03-29 Leo Liu <sdl.web@gmail.com>
18631
18632 * ido.el (ido-read-internal): Use the default history var
18633 minibuffer-history if no HISTORY is specified.
18634
b62f8267
G
186352011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18636
03408648
SM
18637 * net/imap.el (imap-shell-open, imap-process-connection-type):
18638 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
18639 Kerberos, SSL, other subprocesses.
18640
947b6566
LL
186412011-03-28 Leo Liu <sdl.web@gmail.com>
18642
18643 * abbrev.el (abbrev-table-empty-p): New function.
18644 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18645 nonempty ones. (Bug#5937)
18646
5ffb62aa
JD
186472011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18648
18649 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18650
7a097943
LL
186512011-03-27 Leo Liu <sdl.web@gmail.com>
18652
18653 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18654 for foreground and background colors.
18655 (ansi-color-make-color-map): Adapt.
18656
c5b40130
LL
186572011-03-25 Leo Liu <sdl.web@gmail.com>
18658
1f48f7d2
LL
18659 * midnight.el (midnight-time-float): Remove. Note it calculates
18660 the microsecond component incorrectly and seconds-to-time does the
18661 same job.
625897ec 18662 Remove redundant (require 'timer).
1f48f7d2 18663
c5b40130
LL
18664 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18665 (ido-completions): Remove unused arguments. (Bug#8329)
18666
d86d2721
SM
186672011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18668
18669 * minibuffer.el (completion--flush-all-sorted-completions):
18670 Remove itself from hook.
18671 (completion-at-point): Let the functions perform the completion
18672 immediately and return nil or t.
18673 * comint.el (comint-dynamic-complete-functions): Now identical to
18674 completion-at-point-functions.
18675 (comint-dynamic-list-input-ring): Remove unused var `index'.
18676 (comint--match-partial-filename, comint--unquote&expand-filename):
18677 New funs, split from comint-match-partial-filename.
18678 (comint-dynamic-complete): Use completion-at-point.
18679 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18680
e8974c48
DA
186812011-03-24 Drew Adams <drew.adams@oracle.com>
18682
18683 * thingatpt.el: Support `defun'.
18684
def71b5e
LL
186852011-03-23 Leo Liu <sdl.web@gmail.com>
18686
cb5af48e
LL
18687 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18688
def71b5e
LL
18689 * help-mode.el (help-mode-finish): Tweak regexp.
18690
927c53e7
GM
186912011-03-23 Glenn Morris <rgm@gnu.org>
18692
18d05bed
GM
18693 * eshell/esh-opt.el (eshell-eval-using-options):
18694 Do not bind unused local variable `eshell-option-stub'.
18695
927c53e7
GM
18696 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18697
9d0da923
JB
186982011-03-22 Juanma Barranquero <lekktu@gmail.com>
18699
18700 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18701 keymap variable in `with-no-warnings' to avoid a warning when the
18702 keymap has been already `defconst'ed.
18703
4b978a67
LL
187042011-03-22 Leo Liu <sdl.web@gmail.com>
18705
18706 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18707 encode all chars in abbrevs; otherwise use emacs-mule or
18708 utf-8-emacs. (Bug#8308)
18709
5fd62452
JB
187102011-03-22 Juanma Barranquero <lekktu@gmail.com>
18711
0b1596c6
JB
18712 * simple.el (backward-delete-char-untabify):
18713 Avoid warning about using `delete-backward-char'.
18714
5fd62452
JB
18715 * image.el (image-type-file-name-regexps): Make it variable.
18716 `imagemagick-register-types' modifies it, and the user may want
18717 to add new extensions for known image types.
18718 (imagemagick-register-types): Throw error if not using ImageMagick.
18719
0b4e93f1
LL
187202011-03-22 Leo Liu <sdl.web@gmail.com>
18721
18722 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18723 located before rcirc-prompt-end-marker.
18724 (rcirc-complete): Error if point is not after rcirc prompt.
18725 Handle the case when table is nil.
9882e214 18726 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 18727
fccee4ab
CY
187282011-03-22 Chong Yidong <cyd@stupidchicken.com>
18729
18730 * custom.el (custom--inhibit-theme-enable): Make it affect only
18731 custom-theme-set-variables and custom-theme-set-faces.
18732 (provide-theme): Ignore custom--inhibit-theme-enable.
18733 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18734 (custom-enabling-themes): Delete variable.
d86d2721
SM
18735 (enable-theme): Accept only loaded themes as arguments.
18736 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
18737 (custom-enabled-themes): Forbid themes from setting this.
18738 Eliminate use of custom-enabling-themes.
18739 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 18740
af896da6
LL
187412011-03-21 Leo Liu <sdl.web@gmail.com>
18742
18743 * ido.el (ido-read-internal): Add ido-selected to history instead
18744 of user input.
18745
78f64af0
SM
187462011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18747
18748 * subr.el (deferred-action-list, deferred-action-function):
18749 Mark obsolete.
18750
b16ac1ec
LL
187512011-03-21 Leo Liu <sdl.web@gmail.com>
18752
810f7698
LL
18753 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18754 change on 2011-02-13 (bug#8309).
18755
b16ac1ec
LL
18756 * minibuffer.el (read-file-name-function): Change default value.
18757 (read-file-name--defaults): Rename from read-file-name-defaults.
18758 (read-file-name-default): Rename from read-file-name.
18759 (read-file-name): Call read-file-name-function.
18760
4e05e67e
GM
187612011-03-21 Glenn Morris <rgm@gnu.org>
18762
18763 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18764 Doc fixes.
18765
4359915b
CY
187662011-03-21 Chong Yidong <cyd@stupidchicken.com>
18767
18768 * cus-theme.el: Add missing provide statement.
18769 (customize-create-theme): Extract theme value correctly.
18770 (custom-theme-visit-theme): Autoload.
18771 (customize-create-theme): Prompt before inserting default faces.
18772
1fe275ee
JB
187732011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18774
18775 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18776 units and musical notes.
18777
cd394be1 187782011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
18779
18780 * ido.el (ido-read-internal): Use completing-read-default.
18781 (ido-completing-read): Fix compatibility with completing-read.
18782
7d476bde
CO
187832011-03-20 Christian Ohler <ohler@gnu.org>
18784
18785 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18786 (ert-delete-all-tests): Use `called-interactively-p' rather than
18787 `interactive-p'.
18788 (ert--make-xrefs-region): Respect END.
18789
fe0fb33e
CY
187902011-03-19 Chong Yidong <cyd@stupidchicken.com>
18791
ff854b0b
CY
18792 * dired-aux.el (dired-create-directory): Signal an error if the
18793 directory already exists (Bug#8246).
18794
fe0fb33e
CY
18795 * facemenu.el (list-colors-display): Call list-faces-display
18796 inside with-help-window.
18797 (list-colors-print): Use display property to align the final
18798 column, instead of checking window-width.
18799
576bce32
EZ
188002011-03-19 Eli Zaretskii <eliz@gnu.org>
18801
4d61f28d 18802 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
18803 windows-nt systems.
18804 (emerge-protect-metachars): Quote correctly for ms-dos and
18805 windows-nt systems.
18806
89c41d68 188072011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
18808
18809 * info.el (info-initialize): Replace all uses of `:' with
18810 path-separator for compatibility with non-Unix systems.
18811 Cache quoting of path-separator. (Bug#8258)
18812
b14e3e21 188132011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
18814
18815 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18816 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18817 (mouse-avoidance-mode): Fix typos in docstrings.
18818
4525ce3e
CY
188192011-03-19 Chong Yidong <cyd@stupidchicken.com>
18820
18821 * startup.el (package-subdirectory-regexp): Move from package.el.
18822 Omit \\` and \\', and let callers add them.
18823
18824 * emacs-lisp/package.el (package-strip-version)
18825 (package-load-all-descriptors): Add \\` and \\' to
18826 package-subdirectory-regexp before using it.
18827 (package-untar-buffer): New arg DIR; ensure that file untars only
18828 into this expected directory. Remove superfluous delete-region.
18829 (package-unpack): Caller changed.
18830 (package-tar-file-info): Use package-subdirectory-regexp.
18831
a904a09a 188322011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 18833
a904a09a
SM
18834 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18835 diff-mode-shared-map (bug#8284).
18836 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
18837
188382011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18839
18840 * calendar/time-date.el (format-seconds): Use assoc instead of
18841 assoc-string, since assoc-string doesn't exist in XEmacs.
18842
171fc304
JB
188432011-03-17 Juanma Barranquero <lekktu@gmail.com>
18844
18845 * custom.el (custom-known-themes): Reflow docstring.
18846 (custom-theme-load-path): Fix typo in docstring.
18847 (load-theme): Fix typo in error message.
18848 (custom-available-themes, custom-variable-theme-value):
18849 Use `let', not `let*'.
18850
d71990a1
JB
188512011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18852
18853 * calc/README: Mention inclusion of musical notes.
18854
18855 * calc/calc-units.el (calc-lu-quant): Rename from
18856 `calc-logunits-quantity'.
18857 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18858 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18859 (calc-db): Rename from `calc-dblevel'.
18860 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18861 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18862 (calc-np): Rename from `calc-nplevel'.
18863 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18864 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18865 (calc-lu-plus): Rename from `calc-logunits-add'.
18866 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18867 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18868 (calc-lu-minus): Rename from `calc-logunits-sub'.
18869 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18870 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18871 (calc-lu-times): Rename from `calc-logunits-mul'.
18872 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18873 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18874 (calc-lu-divide): Rename from `calc-logunits-div'.
18875 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18876 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18877
18878 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18879 functions being autoloaded.
18880
18881 * calc/calc.el (calc-lu-power-reference): Rename from
18882 `calc-logunits-power-reference'.
18883 (calc-lu-field-reference): Rename from
18884 `calc-logunits-field-reference'.
18885
7a71b18d
GM
18886 * calc/calc-help.el (calc-l-prefix-help):
18887 Mention musical note functions.
d71990a1 18888
40c2934b
SM
188892011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18890
18891 * minibuffer.el (completion-all-sorted-completions):
18892 Use :completion-cycle-penalty text property if present.
18893
b0911414
KM
188942011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18895
18896 * allout.el (allout-yank-processing): Adjust for new rebulleting
18897 regime so bullet being yanked is used without prompting the user
18898 for a choice.
18899
8a05b668
JB
189002011-03-16 Juanma Barranquero <lekktu@gmail.com>
18901
18902 * startup.el (command-line): Warn the user that _emacs is deprecated.
18903
5ba5fb81
JB
189042011-03-16 Juanma Barranquero <lekktu@gmail.com>
18905
18906 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18907 (delphi-verbose, delphi-comment-face, delphi-string-face)
18908 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18909 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18910 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18911 (delphi-new-comment-line, delphi-font-lock-defaults)
18912 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18913 Fix typos in docstrings.
18914
2dab465b
KM
189152011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18916
5ba5fb81 18917 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
18918 Invert the roles of character and string values for INSTEAD, so a
18919 string is used for the more common case of a defaulting prompt.
18920
0adf5618
SM
189212011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18922
18923 * progmodes/ruby-mode.el (ruby-backward-sexp):
18924 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18925 * play/gamegrid.el (gamegrid-make-face):
18926 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18927 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18928 * notifications.el (notifications-notify):
18929 * net/xesam.el (xesam-search-engines):
18930 * net/quickurl.el (quickurl-list-insert):
18931 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18932
d72700e5
CY
189332011-03-15 Chong Yidong <cyd@stupidchicken.com>
18934
18935 * startup.el (command-line): Update package subdirectory regexp.
18936
49c5410a
SM
189372011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18938
c6eee9aa
SM
18939 * allout.el (allout-abbreviate-flattened-numbering)
18940 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18941
49c5410a
SM
18942 * subr.el (read-char-choice): Only show the cursor after the prompt,
18943 not after the answer.
18944
047b2bb9
KR
189452011-03-15 Kevin Ryde <user42@zip.com.au>
18946
18947 * help-fns.el (variable-at-point): Skip leading quotes, if any
18948 (bug#8253).
18949
0a57d256
SM
189502011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18951
18952 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18953 warning message.
18954
77c992bc
MA
189552011-03-14 Michael Albinus <michael.albinus@gmx.de>
18956
18957 * shell.el (shell): When called interactively, offer to change the
18958 shell file name on remote hosts.
18959
eebc475d
TZ
189602011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18961
18962 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18963 integration for LDAP parameters. The host, base, user or binddn,
18964 and secret tokens can be specified in a netrc file, for instance.
18965 This is optional because an `auth-source' parameter must be
18966 specified in the search attributes.
18967
9d05d1ba
JB
189682011-03-13 Juanma Barranquero <lekktu@gmail.com>
18969
18970 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18971
09d9db2c
GM
189722011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18973
18974 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18975 into declaration. Remove redundant and harmful binding.
18976
189772011-03-12 Eli Zaretskii <eliz@gnu.org>
18978
18979 * files.el (file-ownership-preserved-p): Pass `integer' as an
18980 explicit 2nd argument to `file-attributes'. If the file's owner
18981 is the Administrators group on Windows, and the current user is
18982 Administrator, consider that a match.
18983
18984 * server.el (server-ensure-safe-dir): Consider server directory
18985 safe on MS-Windows if its owner is the Administrators group while
18986 the current Emacs user is Administrator. Use `=' to compare
18987 numerical UIDs, since they could be integers or floats.
18988
219bd536
JB
189892011-03-12 Juanma Barranquero <lekktu@gmail.com>
18990
18991 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18992
f3afd36b
MA
189932011-03-12 Michael Albinus <michael.albinus@gmx.de>
18994
18995 Sync with Tramp 2.2.1.
18996
18997 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18998
18999 * net/trampver.el: Update release number.
19000
3aaaa6f1
SM
190012011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19002
94642599
SM
19003 * progmodes/compile.el (compilation--previous-directory): Fix up
19004 various nil/dead-marker mismatches (bug#8014).
19005 (compilation-directory-properties, compilation-error-properties):
19006 Don't call it at a position past the one we're about to change.
19007
3aaaa6f1
SM
19008 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19009 Disable obsolescence warnings in the file that declares it.
19010
14239447
KM
190112011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19012
099c39a4
JB
19013 * allout-widgets.el (allout-widgets-tally):
19014 Initialize allout-widgets-tally as a hash table rather than nil to
19015 prevent mode-line redisplay warnings. Also, clarify the module
19016 description and fix a comment typo.
14239447 19017
135e287c
JB
190182011-03-11 Juanma Barranquero <lekktu@gmail.com>
19019
19020 * help-fns.el (describe-variable): Don't complete keywords.
19021 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19022
ffbf300e
CY
190232011-03-10 Chong Yidong <cyd@stupidchicken.com>
19024
ba08b241
CY
19025 * emacs-lisp/package.el (package-version-join): Impose a standard
19026 string representation for pre/alpha/beta version lists.
19027 (package-unpack-single): Standardize the directory name by passing
19028 it through package-version-join.
19029 (package-strip-rcs-id): Accept any version string that does not
19030 signal an error in version-to-list.
ffbf300e 19031
f346fd6b
MA
190322011-03-10 Michael Albinus <michael.albinus@gmx.de>
19033
19034 * simple.el (delete-trailing-whitespace): Return nil for the
19035 benefit of `write-file-functions'.
19036
ccb55d27
GM
190372011-03-10 Glenn Morris <rgm@gnu.org>
19038
5ceaac0c
GM
19039 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19040
02da65ff
GM
19041 * vc/vc-git.el (vc-git-program): New option.
19042 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19043 (vc-git--call): Use it.
19044
b2f603cc
GM
19045 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19046
5772caab
GM
19047 * cus-edit.el (Custom-newline): If no button at point, look
19048 for a subgroup button at start-of-line. (Bug#2298)
19049
ccb55d27
GM
19050 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19051
ec6ecaed
JD
190522011-03-10 Julien Danjou <julien@danjou.info>
19053
19054 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19055 `cursor-type' is nil.
19056
9d5aa01d
JB
190572011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19058
19059 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19060
b6a5875b
KM
190612011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19062
7a71b18d 19063 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19064 preserves the existing header prefix, rebulleting it if necessary,
19065 rather than replacing it. This is necessary for proper operation
19066 of cooperative addons like allout-widgets.
1154d12e
JB
19067 (allout-make-topic-prefix, allout-rebullet-heading):
19068 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19069 value as alternate bullet to be used, instead of prompting the user
19070 for a bullet character.
b6a5875b 19071
ee545c35
MA
190722011-03-09 Michael Albinus <michael.albinus@gmx.de>
19073
d86d2721
SM
19074 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19075 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19076 `tramp-default-port'.
19077
c47971d7
DD
190782011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19079
19080 * net/rcirc.el (rcirc-handler-001): Remove useless
19081 with-rcirc-process-buffer.
19082 (rcirc-check-auth-status): Swap arguments to string-match.
19083
13522cb4
GM
190842011-03-09 Glenn Morris <rgm@gnu.org>
19085
0be6f4f1
GM
19086 * shell.el (shell-mode):
19087 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19088
13522cb4
GM
19089 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19090 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19091
515de2e3
CY
190922011-03-08 Chong Yidong <cyd@stupidchicken.com>
19093
19094 * emacs-lisp/package.el (package-refresh-contents)
19095 (package-menu-execute): Use condition-case-no-debug.
19096
b511b994
MA
190972011-03-08 Michael Albinus <michael.albinus@gmx.de>
19098
19099 * simple.el (shell-command-to-string): Use `process-file'.
19100
19101 * emacs-lisp/package.el (package-tar-file-info): Handle also
19102 remote files.
19103
d86d2721
SM
19104 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19105 Use `equal' for upload base check.
b511b994 19106
25bbfb31
AM
191072011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19108
19109 * textmodes/texinfo.el (texinfo-environments):
19110 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19111
be996521
GM
191122011-03-08 Glenn Morris <rgm@gnu.org>
19113
e9c8529f
GM
19114 * cus-start.el (cursor-in-non-selected-windows):
19115 Fix :set quoting oddness. (Bug#8192)
19116
be996521
GM
19117 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19118 in some setf expressions. (Bug#2159)
19119
2bb5649e
CY
191202011-03-08 Chong Yidong <cyd@stupidchicken.com>
19121
19122 * custom.el (custom-available-themes): Return themes in
19123 alphabetical order.
19124
33383987 19125See ChangeLog.15 for earlier changes.
e3d51b27
MR
19126
19127;; Local Variables:
19128;; coding: utf-8
e3d51b27
MR
19129;; End:
19130
acaf905b 19131 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19132
19133 This file is part of GNU Emacs.
19134
19135 GNU Emacs is free software: you can redistribute it and/or modify
19136 it under the terms of the GNU General Public License as published by
19137 the Free Software Foundation, either version 3 of the License, or
19138 (at your option) any later version.
19139
19140 GNU Emacs is distributed in the hope that it will be useful,
19141 but WITHOUT ANY WARRANTY; without even the implied warranty of
19142 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19143 GNU General Public License for more details.
19144
19145 You should have received a copy of the GNU General Public License
19146 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.