Improve sys_siglist detection.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
82ed3ab4
GM
12012-10-07 Glenn Morris <rgm@gnu.org>
2
1595ecfa
GM
3 * hi-lock.el (hi-lock-process-phrase):
4 Try to make it less fragile. (Bug#7161)
5
82ed3ab4
GM
6 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7
f1f4dba0
GM
82012-10-06 Glenn Morris <rgm@gnu.org>
9
addc11ed 10 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
11 non-existent mode `help'.
12 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 13
460042b8
GM
14 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
15 (reftex-create-bibtex-footer): Fix custom types.
16
67667c70
GM
17 * progmodes/sh-script.el (sh-indent-after-continuation):
18 Add explicit :group.
19
18dec750
GM
20 * textmodes/rst.el (rst-preferred-decorations)
21 (rst-shift-basic-offset): Clarify obsolescence versions.
22
d1a1c7e6
GM
23 * profiler.el (profiler): Add missing group :version tag.
24 * avoid.el (mouse-avoidance-banish-position):
25 * proced.el (proced-renice-command):
26 * calc/calc.el (calc-ensure-consistent-units):
27 * calendar/icalendar.el (icalendar-import-format-uid):
28 * net/tramp.el (tramp-save-ad-hoc-proxies):
29 * progmodes/bug-reference.el (bug-reference-bug-regexp):
30 * progmodes/flymake.el (flymake-error-bitmap)
31 (flymake-warning-bitmap, flymake-fringe-indicator-position):
32 * progmodes/sh-script.el (sh-indent-after-continuation):
33 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
34 (verilog-before-save-font-hook, verilog-after-save-font-hook):
35 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
36 (vhdl-array-index-record-field-in-sensitivity-list)
37 (vhdl-indent-comment-like-next-code-line):
38 * textmodes/reftex-vars.el (reftex-ref-style-alist)
39 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
40 (reftex-cite-key-separator, reftex-create-bibtex-header)
41 (reftex-create-bibtex-footer):
42 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
43 (rst-indent-literal-normal, rst-indent-literal-minimized)
44 (rst-indent-comment): Add missing custom :version tags.
45
ef35abb4
GM
46 * calendar/timeclock.el (timeclock-modeline-display):
47 Add missing obsolete alias for renamed user option.
48
d1aae614
GM
49 * strokes.el (strokes-modeline-string):
50 * emulation/crisp.el (crisp-mode-modeline-string):
51 * eshell/esh-mode.el (eshell-status-in-modeline):
52 Aliases to defcustoms must come before the defcustom.
53
f1f4dba0
GM
54 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
55 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
56 (cal-tex-cursor-week-monday): Doc fixes.
57 (cal-tex-cursor-week2-summary): Doc fix.
58 Rename from cal-tex-cursor-week-at-a-glance.
59
60 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
61 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
62
63 * calendar/calendar.el (calendar-mode-map):
64 Add cal-tex-cursor-week2-summary.
65
d39109c3
SM
662012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
67
685f87b0
SM
68 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
69
d39109c3
SM
70 * subr.el (read-passwd-map): New var.
71 (read-passwd): Use `read-string' again.
72 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
73
5694896d
J
742012-10-06 Jambunathan K <kjambunathan@gmail.com>
75
76 * register.el (append-to-register, prepend-to-register):
77 Deactivate mark, as does `copy-to-register' (bug#12389).
78
9414dd8d
CY
792012-10-06 Chong Yidong <cyd@gnu.org>
80
81 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
82
2b89bca4
KH
832012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
84
85 * international/characters.el: Fix simple mistake ((car chars) ->
86 elt), delete duplicated code.
87
d5acb99a
GM
882012-10-06 Glenn Morris <rgm@gnu.org>
89
90 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
91
123ec157
JS
922012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
93
94 * color.el (color-hsl-to-rgb): Fix incorrect results for
95 small and large hue values. (Bug#12559)
96
7fa36ccb
FEG
972012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
98
99 Enhancements to docstring formatting when filling paragraphs.
100 * progmodes/python.el (python-fill-docstring-style): Rename from
101 python-fill-string-style. Added new style.
102 (python-fill-string): Use new style. Better checks for
103 docstrings.
104
d8788e1e
GM
1052012-10-05 Glenn Morris <rgm@gnu.org>
106
204f3953
GM
107 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
108
d8788e1e
GM
109 * color.el (color-name-to-rgb, color-rgb-to-hex)
110 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
111 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
112 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
113 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
114
8d956cef
GM
115 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
116
e8757f09 1172012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
118
119 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
120 to get the correct size across symlinks.
121
e8757f09
GM
122 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
123
0e2ae83d
JL
1242012-10-04 Juri Linkov <juri@jurta.org>
125
126 * replace.el (query-replace-interactive): Declare obsolete.
127 (query-replace-read-from): Add the last incremental search string
128 to the list of default values accessible via M-n.
129 (map-query-replace-regexp): Use `read-regexp'.
130 (query-replace, query-replace-regexp, query-replace-regexp-eval)
131 (map-query-replace-regexp, replace-string, replace-regexp):
132 Fix docstrings to replace mentions of `query-replace-interactive'
133 with alternatives. (Bug#12526)
134
93cacb6d
JL
1352012-10-04 Juri Linkov <juri@jurta.org>
136
137 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
138 (dired-pop-to-buffer): Declare obsolete.
139 (dired-mark-pop-up): Doc fix.
140
fc345011
FEG
1412012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
142
143 Allow user to set docstring style for fill-paragraph.
144 * progmodes/python.el
145 (python-fill-comment-function, python-fill-string-function)
146 (python-fill-decorator-function, python-fill-paren-function):
147 Remove :safe for defcustoms.
148 (python-fill-string-style): New defcustom
5694896d 149 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
150 (python-fill-string): Honor python-fill-string-style settings.
151
6bab5d8b
MR
1522012-10-04 Martin Rudalics <rudalics@gmx.at>
153
154 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
155 after setting its buffer (Bug#10805).
156
a1a9f411
FEG
1572012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
158
159 Fix cornercase for string syntax.
160 * progmodes/python.el (python-syntax-propertize-function):
161 Simplify and enhance the regexp for unescaped quotes. Now it also
162 matches quotes in weird situations like the single quote in
163 "something\"'".
164 (python-syntax-stringify): Simplify num-quotes detecting code.
165
05e153a6
GM
1662012-10-03 Glenn Morris <rgm@gnu.org>
167
168 * help-macro.el (three-step-help):
169 Revert 2012-09-29 change. (Bug#12567)
170
2e566ecb
MR
1712012-10-03 Martin Rudalics <rudalics@gmx.at>
172
96ef9ccd
MR
173 * menu-bar.el (kill-this-buffer): Don't do anything when
174 `menu-frame' is not alive or visible (Bug#8184).
175
2e566ecb
MR
176 * emacs-lisp/debug.el (debug): When quitting the debugger window
177 restore current buffer (Bug#12502).
178
a96e1cb7
CY
1792012-10-02 Chong Yidong <cyd@gnu.org>
180
5694896d
J
181 * progmodes/hideif.el (hif-lookup, hif-defined):
182 Handle semantic-c-takeover-hideif.
a96e1cb7 183
b3ecad33
PE
1842012-10-02 Paul Eggert <eggert@cs.ucla.edu>
185
186 Change sampling interval units from ms to ns.
187 * profiler.el (profiler-sampling-interval): Change units
188 from ms to ns, multiplying the default by 1000000 so that
189 it remains 1 ms.
190 (profiler-report-cpu-line-format): Give enough room for
191 the maximum counters on 64-bit hosts.
192 (profiler-report-render-calltree-1): Call them "CPU samples",
193 not "Time (ms)", since they are not milliseconds now (and
194 never really were).
195
8cb51b66 1962012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 197
5694896d
J
198 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
199 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 200
fd795bf4
CY
2012012-10-02 Chong Yidong <cyd@gnu.org>
202
203 * emacs-lisp/eieio.el: Restore Version header.
204
fe0a74f9
SM
2052012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
206
6be9197e
SM
207 * vc/diff-mode.el (diff--auto-refine-data): New var.
208 (diff-hunk): Use it to delay refinement.
209 (diff-mode): Remove overlays when we turn off font-lock.
210
18486139
SM
211 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
212 (table-initialize-table-fixed-width-mode)
213 (table-set-table-fixed-width-mode): Remove functions.
214 (table-command-list): Move initialization into declaration.
215 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
216 (table-with-cache-buffer): Use `declare'.
217 (table-span-cell): Simplify via CSE.
218 (table-fixed-width-mode): Use define-minor-mode.
219 (table-call-interactively, table-funcall, table-apply): Remove.
220 (table-function): New function, to replace them.
221
d83ef976
SM
222 * bookmark.el (bookmark-search-pattern): Remove var.
223 (bookmark-read-search-input): Remove function.
224 (bookmark-bmenu-search): Reimplement using a minibuffer.
225
cd386662
SM
226 * faces.el (modeline): Remove obsolete face name.
227
fe0a74f9
SM
228 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
229 and give a non-nil default value.
230 (add-change-log-entry): Simplify accordingly.
231
9f7b98f8
DG
2322012-10-01 Dmitry Gutov <dgutov@yandex.ru>
233
234 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
235 (vc-git-log-edit-toggle-amend): New function.
236 (vc-git-log-edit-toggle-signoff): New function.
237 (vc-git-log-edit-mode): New major mode.
238 (vc-git-log-edit-mode-map): Keymap for it.
239 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
240
241 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
242 header names.
243 (log-edit-toggle-header): New function.
244 (log-edit-extract-headers): Accept function values in HEADERS alist.
245
62a81506
CY
2462012-10-01 David Engster <deng@randomsample.de>
247
248 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
249 from symbol property and change message to be more consistent with
250 Emacs proper.
251 (eieio-describe-generic): Add filename for each implementation.
252 Fix indices for generic and normal methods.
253 (eieio-method-def, eieio-class-def): New buttons.
254 (eieio-help-find-method-definition)
255 (eieio-help-find-class-definition): New functions.
256 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
257 class, constructor and method definitions.
258
259 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
260 information in symbol property.
261 (scoped-class): Remove.
262 (eieio-slot-name-index, call-next-method): Check if it is bound.
263
2642012-10-01 Leo P. White <lpw25@cam.ac.uk>
265
266 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
267 (eieio-custom-mode): New major mode.
268 (eieio-customize-object): Use it.
269
2702012-10-01 Eric Ludlam <zappo@gnu.org>
271
272 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
273 specifying the expected class, and whether subclassing is allowed.
274 (eieio-persistent-convert-list-to-object):
275 (eieio-persistent-validate/fix-slot-value)
276 (eieio-persistent-slot-type-is-class-p): New functions.
277 (eieio-named::slot-missing): Doc fix.
278
279 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
280 Stop using unused publd variable.
281
282 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
283 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
284 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
285 (eieio-speedbar-handle-click): Do not specify a class for the
286 method. Fixes method invocation order problems with EDE.
287
375e49d4
SM
2882012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
291 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
292
16ce6ccd
KF
2932012-10-01 Karl Fogel <kfogel@red-bean.com>
294
295 * bookmark.el (bookmark-version-control): Give tags in the
296 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
297 (bookmark-write-file): Bind `print-circle' to `t' to allow
298 circular custom bookmark types. (Bug#12503)
16ce6ccd 299
19e54a4d
PE
3002012-10-01 Paul Eggert <eggert@cs.ucla.edu>
301
86ec63ba
PE
302 Revert the FOLLOW-SYMLINKS change for file-attributes.
303 * files.el (remote-file-name-inhibit-cache, after-find-file):
304 * time.el (display-time-file-nonempty-p): Undo last change.
305
19e54a4d
PE
306 * profiler.el (profiler-sampling-interval): Change default back to 1.
307 See Stefan Monnier in
308 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
309
0478776b
FEG
3102012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
311
312 Shell output catching a la gud-gdb.
313 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
314 (python-shell-fetch-lines-string, python-shell-fetched-lines):
315 New Vars.
0478776b
FEG
316 (python-shell-fetch-lines-filter): New function.
317 (python-shell-send-string-no-output): Use them.
318
c22bac2c
TM
3192012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
320
321 * profiler.el (profiler-sampling-interval): Rename from
322 profiler-sample-interval.
323 (profiler-sampling-interval): Default to 10.
324 (profiler-find-profile): New command (was profiler-find-log).
325 (profiler-find-profile-other-window): New command.
326 (profiler-find-profile-other-frame): New command.
327 (profiler-profile): Introduce API-level data structure.
328
e7a2937b
PE
3292012-09-30 Paul Eggert <eggert@cs.ucla.edu>
330
331 file-attributes has a new optional arg FOLLOW-SYMLINKS.
332 * files.el (remote-file-name-inhibit-cache):
333 * time.el (display-time-file-nonempty-p): Use it.
334 * files.el (after-find-file): Don't chase links before calling
335 file-exists-p, as file-exists-p already does the right thing.
336
4f595e15
RA
3372012-09-30 Ralf Angeli <angeli@caeruleus.net>
338
339 Merge from standalone RefTeX repository.
340
341 The following ChangeLog entries are shortened versions of the
342 original ones with file paths adapted. A not so strongly edited
343 version of the original ChangeLog can be found in the commit log.
344
345 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
346 (reftex-arg-cite): Use `reftex-cite-key-separator'.
347 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
348
349 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
350 that entries with whitespace at various places are found.
351 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
352 Include @String definitions in the resulting bib file. Add header
353 and footer defined in `reftex-create-bibtex-header' and
354 `reftex-create-bibtex-footer'.
355 (reftex-do-citation): Make it possible again to insert
356 non-existent entries. Save match data when asking for optional
357 arguments. Return all keys, not just the first one.
358 (reftex-all-used-citation-keys): Fix regexp to correctly extract
359 all citations in the same line.
360 (reftex-parse-bibtex-entry): Accept additional optional argument
361 `raw' and keep quotes or braces if it is non-nil. Match fields
362 containing hyphens besides word constituents.
363 (reftex-get-string-refs): New function.
364 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
365 and ask if it should be reread in case it did.
366 (reftex-pop-to-bibtex-entry)
367 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
368 entries with spaces or tabs in front of arguments.
369 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
370 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
371 Match entries containing numbers and symbol constituents.
372 (reftex-do-citation, reftex-figure-out-cite-format):
373 Use `reftex-cite-key-separator'.
4f595e15
RA
374
375 * textmodes/reftex-dcr.el: Move provide statement to end of file.
376 (reftex-mouse-view-crossref): Explain why point is set.
377
378 * textmodes/reftex-global.el: Whitespace changes.
379
380 * textmodes/reftex-index.el: Move provide statement to end of
381 file.
382 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
383 (reftex-index-visit-phrases-buffer): Set marker when visiting
384 buffer. This allows for returning from the phrases file to the
385 file one was just editing instead of the file where the last
386 phrases was added from.
387 (reftex-index-phrases-syntax-table): New variable. Give ?\"
388 punctuation syntax as it usually is not used as string quote in
389 TeX-related modes and may occur unmatched. The change also
390 prevents fontification of quoted content.
391 (reftex-index-phrases-mode): Use it.
392
375e49d4
SM
393 * textmodes/reftex-parse.el (reftex-parse-from-file):
394 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
395 (reftex-parse-from-file): Use beginning of match instead of end as
396 bound.
397
398 * textmodes/reftex-ref.el: Adapt creation of
399 `reftex-<package>-<macro>' functions to new structure of
400 `reftex-ref-style-alist'.
375e49d4
SM
401 (reftex-reference): Use `reftex-ref-style-list' function.
402 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
403 reference macro if `reftex-ref-macro-prompt' is non-nil.
404 (reftex-reference): Pass refstyle to `reftex-format-special'.
405 Determine reference macro by looking at
375e49d4
SM
406 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
407 Use only one special format function.
4f595e15
RA
408 (reftex-varioref-vref, reftex-fancyref-fref)
409 (reftex-fancyref-Fref): Remove definitions. The functions are now
410 generated from `reftex-ref-style-alist'.
411 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
412 Remove.
413 (reftex-format-special): New function.
414
415 * textmodes/reftex-sel.el
416 (reftex-select-cycle-ref-style-internal): Adapt to new structure
417 of `reftex-ref-style-alist'. Remove code for testing macro type.
418 (reftex-select-toggle-varioref)
419 (reftex-select-toggle-fancyref): Remove.
420 (reftex-select-cycle-ref-style-internal)
421 (reftex-select-cycle-ref-style-forward)
422 (reftex-select-cycle-ref-style-backward): New functions.
423 (reftex-select-label-map): Use `v' and `V' for general cycling
424 through reference styles. Add `p' for switching between number
425 and page reference types.
426
375e49d4
SM
427 * textmodes/reftex-toc.el (reftex-re-enlarge):
428 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
429 the horizontal version throws an error even if the parameter is 0.
430
431 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
432 (reftex-plug-into-AUCTeX): Doc fix.
433 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
434 string. Adapt to new name.
435 (reftex-ref-style-alist): Change structure so that it is not
436 possible to use multiple different package names within a style.
375e49d4
SM
437 Remove the symbols for symbols for macro type distinction.
438 Add characters for macro selection.
4f595e15
RA
439 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
440 (reftex-create-bibtex-footer): New variables.
441 (reftex-format-ref-function): Mention third argument of special
442 format function.
375e49d4
SM
443 (reftex-ref-style-alist, reftex-ref-style-default-list):
444 New variables.
4f595e15
RA
445 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
446 to new implementation. Mark as obsolete. Add compatibility code
447 for honoring the variable values in case they are set.
375e49d4
SM
448 (reftex-cite-format-builtin, reftex-bibliography-commands):
449 Add support for ConTeXt.
450 (reftex-format-ref-function, reftex-format-cite-function):
451 Fix custom type.
4f595e15
RA
452 (reftex-cite-key-separator): New variable.
453
454 * textmodes/reftex.el (reftex-syntax-table-for-bib)
455 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
456 `reftex-syntax-table' because parens have to retain their paren
457 syntax in order for parsing of BibTeX entries like @book(...) to
458 work.
459 (reftex-in-comment): Do not error out if `comment-start-skip' is
460 not set. Deal correctly with escaped comment characters.
375e49d4
SM
461 (reftex-tie-multifile-symbols): Add doc string.
462 Initialize `reftex-ref-style-list'.
4f595e15
RA
463 (reftex-untie-multifile-symbols): Add doc string.
464 (reftex-add-index-macros): Doc fix.
465 (reftex-ref-style-activate, reftex-ref-style-toggle)
466 (reftex-ref-style-list): New functions.
467 (reftex-mode-menu): Use them. Adapt to new structure of
468 `reftex-ref-style-alist'.
469 (reftex-select-with-char): Kill the RefTeX Select buffer when
470 done.
471 (reftex-remove-if): New function.
472 (reftex-erase-all-selection-and-index-buffers)
473 (reftex-mode-menu): Reference styles are now computed from
474 `reftex-ref-style-alist'. Fix typo.
475 (reftex-report-bug): New function.
476 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
477 algorithms with O(n log n). Introduce optional argument SORT (not
478 yet used).
479
440ba395
FEG
4802012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
481
482 Enhancements for triple-quote string syntax.
375e49d4
SM
483 * progmodes/python.el (python-syntax-propertize-function):
484 Match both quote cases in one regexp.
440ba395
FEG
485 (python-syntax-stringify): Handle matches properly.
486
4c478e6b
JL
4872012-09-30 Juri Linkov <juri@jurta.org>
488
489 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 490 to nil around the call to `insert' to prevent
4c478e6b
JL
491 directory time modification by lock_file. (Bug#2295)
492 * tar-mode.el (tar-summarize-buffer): Idem.
493
d80d54b2
JL
4942012-09-30 Juri Linkov <juri@jurta.org>
495
496 * facemenu.el (list-colors-sort): Add option "Luminance".
497 (list-colors-sort-key): Implement it.
498
499 * vc/diff-mode.el (diff-refine-removed):
500 * vc/ediff-init.el (ediff-fine-diff-A):
501 * vc/smerge-mode.el (smerge-refined-removed):
502 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
503
d7e642cc
JD
5042012-09-30 Jan Djärv <jan.h.d@swipnet.se>
505
506 * term/ns-win.el (x-file-dialog): New function.
507
ee41332b
JB
5082012-09-30 Juanma Barranquero <lekktu@gmail.com>
509
510 * ido.el (ido-max-directory-size): Default to nil; the current
511 default is small for POSIX systems, and impractical on Windows 7
512 now that lstat returns directory sizes for NTFS.
513
5938d519
MR
5142012-09-30 Martin Rudalics <rudalics@gmx.at>
515
516 In buffer display functions handle window-height/window-width
517 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
518 * window.el (window--display-buffer): New argument ALIST.
519 Obey window-height and window-width alist entries.
520 (window--try-to-split-window): New argument ALIST.
521 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
522 changed and window-combination-limit equals `window-size'.
523 (display-buffer-in-atom-window)
524 (display-buffer-in-major-side-window)
525 (display-buffer-in-side-window, display-buffer-same-window)
526 (display-buffer-reuse-window, display-buffer-pop-up-frame)
527 (display-buffer-pop-up-window, display-buffer-below-selected)
528 (display-buffer-at-bottom, display-buffer-in-previous-window)
529 (display-buffer-use-some-window): Adjust all callers of
530 window--display-buffer and window--try-to-split-window.
531 (fit-frame-to-buffer): New option.
532 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
533 is non-nil.
534 (display-buffer-in-major-side-window): Evaluate window-height /
535 window-width alist entries.
536
537 * help.el (temp-buffer-resize-frames)
538 (temp-buffer-resize-regexps): Remove options.
539 (temp-buffer-resize-mode): Adjust doc-string.
540 (resize-temp-buffer-window): Don't consult
541 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
542 temp-buffer-resize-frames.
543
375e49d4
SM
544 * dired.el (dired-mark-pop-up):
545 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
546 entry.
547
c4c0c2df
CY
5482012-09-30 Chong Yidong <cyd@gnu.org>
549
48de8b12
CY
550 * server.el (server-host): Document the security implications.
551 (server-auth-key): Doc fix.
552
553 * startup.el (initial-buffer-choice): Doc fix.
554
555 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
556
a97dc380
CY
557 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
558 restriction change.
559
d39d3c8e
CY
560 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
561
c4c0c2df
CY
562 * help-fns.el (help-fns--obsolete): Fix last change.
563
98a5e33b
SM
5642012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
565
34cf6f39
SM
566 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
567 (minor-mode-map-alist): Remove redundant code.
568
e01c13fe
SM
569 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
570 visited in a buffer.
571 (cvs-insert-visited-file): New function.
572 (find-file-hook): Use it.
573
574 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
575
02661b3a
SM
576 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
577 chose face.
578 (log-edit-empty-buffer-p): Don't require a space after a header.
579
43711d4b
SM
580 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
581
38a30d64
SM
582 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
583
4ffb41a9
SM
584 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
585 a proper minor-mode.
586
98a5e33b
SM
587 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
588
de82e29b
GM
5892012-09-29 Glenn Morris <rgm@gnu.org>
590
5cc2e639
GM
591 * winner.el (winner-mode): Remove variable (let define-minor-mode
592 handle it).
593 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
594 Doc fixes.
595 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
596 (winner-mode): Use define-minor-mode.
597
7bd302eb
GM
598 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
599 the full definition in loaddefs, rather than duplicating it.
600
2923922f 601 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 602
0e3e4156
GM
603 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
604 (inferior-lisp-program, inferior-lisp-load-command)
605 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 606 No need to autoload defcustoms.
0e3e4156 607
de82e29b
GM
608 * hippie-exp.el (hippie-expand-try-functions-list)
609 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
610 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
611 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 612 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
613 * progmodes/vhdl-mode.el (vhdl-line-expand):
614 Explicitly load hippie-exp, so it does not get autoloaded
615 while hippie-expand-try-functions-list is let-bound.
616
e60b51ab
GM
6172012-09-28 Glenn Morris <rgm@gnu.org>
618
277f0cfa
GM
619 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
620
e60b51ab
GM
621 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
622 Only "cl.el" counts as cl these days.
623
53baf48a
JL
6242012-09-28 Juri Linkov <juri@jurta.org>
625
626 Display archive errors in the echo area instead of inserting
627 to the file buffer.
628
629 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
630 to STDERR-TEST that can be a regexp matching a successful output.
631 Create a temporary file and redirect stderr to it. Search for
632 STDERR-TEST in the stderr output and display it in the echo area
633 if no match is found.
634 (archive-extract-by-file): New function like
635 `archive-extract-by-stdout' but extracting archives to files
636 and looking for successful matches in stdout. Function body is
637 mostly copied from `archive-rar-extract'.
638 (archive-rar-extract): Use `archive-extract-by-file'.
639 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
640
9c1228c3
LL
6412012-09-28 Leo Liu <sdl.web@gmail.com>
642
375e49d4
SM
643 * pcomplete.el (pcomplete-show-completions):
644 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 645
9c1228c3
LL
646 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
647
7f457c06
SM
6482012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
649
3df749b0
SM
650 * type-break.el: Use lexical-binding.
651 (type-break-mode): Use define-minor-mode.
652
7f457c06
SM
653 * emacs-lisp/pcase.el (pcase--mark-used): New.
654 (pcase--u1): Use it (bug#12512).
655
656 * custom.el (load-theme): Set buffer-file-name so the load is recorded
657 in load-history with the right file name.
658
c00ebc98
TH
6592012-09-28 Tassilo Horn <tsdh@gnu.org>
660
661 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
662 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
663 (doc-view-get-bounding-box): Make bounding box slicing work for
664 ODF and DVI documents.
665
96fb7170
GM
6662012-09-28 Glenn Morris <rgm@gnu.org>
667
668 * type-break.el (type-break-mode, type-break-interval)
669 (type-break-good-rest-interval, type-break-keystroke-threshold):
670 No need to autoload.
671 (type-break-good-rest-interval, type-break-keystroke-threshold):
672 Add :set-after.
673
5bc93c67
CY
6742012-09-28 Chong Yidong <cyd@gnu.org>
675
676 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
677 Add :version tag.
678
9cad61d6
SM
6792012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
680
e28e67b3 681 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 682
daee954c
GM
6832012-09-27 Glenn Morris <rgm@gnu.org>
684
a88324d4
GM
685 * faces.el (x-display-name): Declare (for without-x builds).
686
8e5064e5
GM
687 * linum.el (linum-format): Don't autoload it. Improve :type.
688
cc1783c2
GM
689 * progmodes/tcl.el: Don't require outline when compiling.
690 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
691 * textmodes/sgml-mode.el: Don't require outline when compiling.
692 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
693
48c339f2
GM
694 * term.el (term-ansi-reset):
695 Try setting term-ansi-face-already-done to nil. (Bug#11785)
696
daee954c
GM
697 * vc/vc.el (vc-next-action): Only gripe about committing read-only
698 files for RCS and SCCS. (Bug#9781)
699
b7f42161
CY
7002012-09-27 Chong Yidong <cyd@gnu.org>
701
702 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
703 change; value should be t.
704
a2e770db
SM
7052012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
706
83600dc8
SM
707 * image-mode.el: Use lexical-binding.
708 (image-mode-winprops): Use t to stand for the window of
709 a buffer that's not displayed.
710 * doc-view.el (doc-view-new-window-function): Handle the new
711 t in winprops.
712 (doc-view-enlarge): Make it a real nop if the size is not changed.
713 (doc-view-display): Handle the case where the buffer is not (yet?)
714 displayed in any window.
715 (doc-view-saved-settings): New var.
716 (doc-view-mode): Use it.
717 (doc-view-fallback-mode): Set it.
718
a2e770db
SM
719 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
720 Set lexical-binding.
721 (minibuffer-eldef-shorten-default): New var.
722 (minibuffer-default-in-prompt-regexps): Use it for new default.
723 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
724
e3b60857
JB
7252012-09-26 Juanma Barranquero <lekktu@gmail.com>
726
727 * international/uni-bidi.el:
728 * international/uni-category.el:
729 * international/uni-name.el:
730 * international/uni-numeric.el: Regenerate.
731
3a880af4
SM
7322012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
733 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * profiler.el: New file.
736
07b1a5fb
SM
7372012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
740 (testcover-reinstrument): Simplify with CSE.
741
42019c2e
JB
7422012-09-26 Juanma Barranquero <lekktu@gmail.com>
743
744 * window.el (temp-buffer-window-setup): Fix typo in docstring.
745
179f044b
WS
7462012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
747
748 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
749 (verilog-auto-input, verilog-auto-insert-lisp)
750 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
751 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
752 (verilog-auto-unused, verilog-auto-wire)
753 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
754 newline. Reported by Andrew Jones.
755 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
756 Reported by Brad Dobbie.
07b1a5fb
SM
757 (verilog-batch-delete-trailing-whitespace):
758 Create verilog-batch-delete-trailing-whitespace.
759 Reported by Brad Dobbie.
179f044b
WS
760 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
761 parameters from another module. Reported by Dan Katz.
762 (verilog-auto, verilog-auto-assign-modport)
763 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
764 AUTOINOUTMODPORT for UVM interface module shell generation.
765 Reported by Brad Dobbie.
766 (verilog-auto-inst-interfaced-ports): Make default nil, as more
767 standard behavior.
768 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
769 Reported by Matt Martin.
770
9c52dd5a
MR
7712012-09-25 Martin Rudalics <rudalics@gmx.at>
772
773 * window.el (window--resize-child-windows): When resizing child
774 windows proportionally, process them in reverse order to
775 preserve the "when splitting a window the new one gets the odd
776 line" behavior.
777 (window--resize-root-window-vertically): When resizing the
778 minibuffer window try to affect only windows at the bottom of the
779 frame. (Bug#12419)
780
863666eb
CY
7812012-09-25 Chong Yidong <cyd@gnu.org>
782
783 * subr.el (declare): Doc fix.
784
785 * help-fns.el (help-fns--obsolete): Handle macros properly.
786
59f7af81
CY
7872012-09-25 Chong Yidong <cyd@gnu.org>
788
789 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
790 this function obsolete.
791
792 * calendar/cal-x.el (calendar-two-frame-setup)
793 (calendar-only-one-frame-setup, calendar-one-frame-setup):
794 * calendar/calendar.el (american-calendar, european-calendar)
795 (calendar-for-loop):
796 * comint.el (comint-dynamic-simple-complete)
797 (comint-dynamic-complete-as-filename, comint-unquote-filename):
798 * desktop.el (desktop-load-default):
799 * dired-x.el (dired-omit-here-always)
800 (dired-hack-local-variables, dired-default-directory):
801 * emacs-lisp/derived.el (derived-mode-class):
802 * emacs-lisp/timer.el (timer-set-time-with-usecs):
803 * emacs-lock.el (toggle-emacs-lock):
804 * epa.el (epa-display-verify-result):
805 * epg.el (epg-sign-keys, epg-start-sign-keys)
806 (epg-passphrase-callback-function):
807 * eshell/esh-util.el (eshell-for):
808 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
809 (eshell-add-to-window-buffer-names):
810 * files.el (locate-file-completion):
811 * imenu.el (imenu-example--create-c-index)
812 (imenu-example--create-lisp-index)
813 (imenu-example--lisp-extract-index-name)
814 (imenu-example--name-and-position):
815 * international/mule-cmds.el (princ-list):
816 * international/mule-diag.el (decode-codepage-char):
817 * international/mule-util.el (detect-coding-with-priority):
818 * iswitchb.el (iswitchb-read-buffer):
819 * mail/mailalias.el (mail-complete):
820 * mail/sendmail.el (mail-sent-via):
821 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
822 (mouse-major-mode-menu):
823 * password-cache.el (password-read-and-add):
824 * pcomplete.el (pcomplete-parse-comint-arguments):
825 * progmodes/sh-script.el (sh-maybe-here-document):
826 * replace.el (query-replace-regexp-eval):
827 * savehist.el (savehist-load):
828 * simple.el (choose-completion-delete-max-match):
829 * term.el (term-dynamic-simple-complete):
830 * vc/ediff-init.el (ediff-check-version):
831 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
832 * vc/vc.el (vc-diff-switches-list):
833 * view.el (view-return-to-alist-update): Likewise.
834
835 * subr.el (eval-next-after-load, makehash, insert-string)
836 (assoc-ignore-representation, assoc-ignore-case): Use declare to
837 mark obsolete.
838 (mode-line-inverse-video): Variable deleted.
839
840 * international/mule-util.el (string-to-sequence): Remove.
841
842 * calendar/calendar.el (calendar-version):
843 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
844 (icalendar-convert-diary-to-ical):
845 * cus-edit.el (custom-mode):
846 * ansi-color.el (ansi-color-unfontify-region):
847 * international/latin1-disp.el (latin1-char-displayable-p):
848 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
849 * progmodes/which-func.el (which-func-update-1):
850 Use define-obsolete-function-alias.
59f7af81
CY
851
852 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
853 * net/newst-treeview.el (newsticker-groups-filename):
854 Fix incorrect obsolescence declaration.
59f7af81
CY
855
856 * allout.el (allout-passphrase-hint-string): Likewise.
857 (allout-init): Use a declare form to mark obsolete.
858
859 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
860 this applies to functions.
861
862 * iswitchb.el (iswitchb-read-buffer): Move code of
863 iswitchb-define-mode-map here, and delete that obsolete function.
864
865 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
866 font-lock-reference-face.
867
cca96c97
GM
8682012-09-25 Glenn Morris <rgm@gnu.org>
869
b06eeda8
GM
870 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
871 Doc fixes.
872
cca96c97
GM
873 * eshell/em-term.el (eshell-term-name):
874 Default to term-term-name. (Bug#12485)
875
dc4f818b
FEG
8762012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
877
cca96c97
GM
878 * progmodes/python.el (python-shell-send-buffer): Better handling
879 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 880
289c24bd
GM
8812012-09-24 Glenn Morris <rgm@gnu.org>
882
883 * eshell/esh-cmd.el (eshell-find-alias-function):
884 Tighten up file-name regexp. (Bug#12499)
885
8fb8b88f
FEG
8862012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
887
888 Enhancements for triple-quote string syntax.
889 * progmodes/python.el (python-quote-syntax): Remove.
890 (python-syntax-propertize-function): New value.
07b1a5fb
SM
891 (python-syntax-count-quotes, python-syntax-stringify):
892 New functions.
8fb8b88f 893
6c27f0f8
CY
8942012-09-24 Chong Yidong <cyd@gnu.org>
895
a5f2b6ec
CY
896 * mail/supercite.el (sc-version): Remove obsolete function.
897 (sc-describe): Don't mark as obsolete, since it is bound.
898 (sc-submit-bug-report): Remove.
899
900 * vc/log-edit.el (cvs-changelog-full-paragraphs)
901 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
902 (log-edit-require-final-newline)
903 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
904
905 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
906 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
907 * vc/vc.el (vc-checkout-carefully): Likewise.
908
909 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
910 (emerge-version): Remove.
911
912 * progmodes/compile.el (compile-internal): Remove.
913 (compilation-parse-errors-function): Fix typo.
914
915 * international/mule.el (set-char-table-default): Remove.
916 (set-coding-priority, make-coding-system, generic-char-p)
917 (charset-list, charset-bytes, charset-id): Use declare to mark
918 functions as obsolete.
919
920 * vc/pcvs-defs.el (cvs-buffer-name-alist)
921 (cvs-invert-ignore-marks): Remove references to obsolete vars.
922 * vc/vc-hooks.el (vc-default-registered): Don't use
923 vc-master-templates.
924
07b1a5fb
SM
925 * font-lock.el (font-lock-reference-face):
926 Use define-obsolete-variable-alias.
6c27f0f8
CY
927
928 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
929 * calendar/calendar.el (calendar-font-lock-keywords):
930 * calendar/diary-lib.el (diary-font-lock-keywords)
931 (diary-fancy-font-lock-keywords):
932 * textmodes/reftex-sel.el (reftex-insert-docstruct):
933 * textmodes/reftex-index.el (reftex-insert-index):
934 * textmodes/reftex-cite.el (reftex-format-bib-entry):
935 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
936 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
937 * progmodes/prolog.el (prolog-font-lock-keywords):
938 * progmodes/idlwave.el (idlwave-idl-keywords):
939 * progmodes/ada-mode.el (ada-font-lock-keywords):
940 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
941
bcc0adbf
GM
9422012-09-24 Glenn Morris <rgm@gnu.org>
943
944 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
945
095bb823
FEG
9462012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
947
948 * progmodes/python.el (python-indent-line): More consistent cursor
949 movement behavior.
950
70efc5c9
SM
9512012-09-23 Stefan Merten <smerten@oekonux.de>
952
953 * textmodes/rst.el: Fix compiler warning.
954
2f438239
RW
9552012-09-23 Roland Winkler <winkler@gnu.org>
956
07b1a5fb
SM
957 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
958 Transcribe also LaTeX hyphenation.
2f438239
RW
959 (bibtex-reformat): Bug fix. Do not quote twice the elements of
960 bibtex-reformat-previous-options.
961
936ad041
RW
9622012-09-23 Roland Winkler <winkler@gnu.org>
963
964 * proced.el (proced-renice-command): New variable.
965 (proced-marked-processes): New function.
966 (proced-with-processes-buffer): New macro.
967 (proced-send-signal): Use them.
968 (proced-renice): New command bound to r.
969
6fab0274
RW
9702012-09-23 Roland Winkler <winkler@gnu.org>
971
972 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
973 ibuffer-saved-filter-groups has one element, shortcut the call of
974 completing-read. (Bug#12331)
975
9a930676
CY
9762012-09-23 Chong Yidong <cyd@gnu.org>
977
978 * bindings.el (mode-line-toggle-read-only):
979 * bs.el (bs-toggle-readonly):
980 * buff-menu.el (Buffer-menu-toggle-read-only):
981 * dired.el (dired-toggle-read-only):
982 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
983
d07ff9db
CY
9842012-09-23 Chong Yidong <cyd@gnu.org>
985
986 * image.el (image-type-available-p): Adapt to init-image-library
987 argument changes.
988
51c4474e
JL
9892012-09-22 Juri Linkov <juri@jurta.org>
990
991 * dired.el (dired-mode-map): Add [remap read-only-mode] for
992 `dired-toggle-read-only'. (Bug#12462)
993
43bf5e8e
MR
9942012-09-22 Martin Rudalics <rudalics@gmx.at>
995
996 * subr.el (temp-output-buffer-show): New function.
997 (with-output-to-temp-buffer): Call temp-output-buffer-show
998 instead of internal-temp-output-buffer-show.
999
c88b867f
CY
10002012-09-22 Chong Yidong <cyd@gnu.org>
1001
3df47cd5
CY
1002 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1003 (Bug#12462).
1004
c88b867f
CY
1005 * repeat.el (repeat): Doc fix (Bug#12348).
1006
1007 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1008 (Bug#10909).
1009
1010 * simple.el (shell-command-on-region): Doc fix.
3171e303 1011 (read-only-mode): Doc fix.
c88b867f 1012
df9685f3
EZ
10132012-09-22 Eli Zaretskii <eliz@gnu.org>
1014
1015 * emacs-lisp/timer.el (run-with-idle-timer)
1016 (timer-activate-when-idle): Warn against reinvoking an idle timer
1017 from within its own timer action. (Bug#12447)
1018
8e17c9ba
MR
10192012-09-22 Martin Rudalics <rudalics@gmx.at>
1020
1021 * cus-start.el (window-combination-limit): Add new optional
1022 values.
1023 * window.el (temp-buffer-window-show)
1024 (window--try-to-split-window): Handle new values of
1025 window-combination-limit (Bug#1806).
1026 (split-window): Test window-combination-limit for t instead of
1027 non-nil.
1028 (display-buffer-at-bottom): New buffer display action function.
1029 * help.el (temp-buffer-resize-regexps): New option.
1030 (temp-buffer-resize-mode): Rewrite doc-string.
1031 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1032 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1033
48a24920
SM
10342012-09-22 Stefan Merten <smerten@oekonux.de>
1035
70efc5c9 1036 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1037 (rst-official-version)
1038 (rst-package-emacs-version-alist): Sync with official version
1039 V1.4.0.
1040 (rst-faces-defaults, rst-set-level-default)
1041 (rst-level-face-max, rst-level-face-base-color)
1042 (rst-level-face-base-light, rst-level-face-format-light)
1043 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1044 (rst-adornment-faces-alist): Match new setup.
1045 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1046 (rst-level-5, rst-level-6): New faces.
1047
82f8cd94
CY
10482012-09-22 Chong Yidong <cyd@gnu.org>
1049
1050 * simple.el (undo): Handle indirect buffers (Bug#8207).
1051
acfa068f 10522012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1053
1054 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1055 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1056 (ido-set-matches-1): Use it. (Bug#2042)
1057
acfa068f 10582012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1059
1060 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1061 Fix 2011-05-17 change. (Bug#12418)
1062
acfa068f 10632012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1064
1065 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1066
acfa068f 10672012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1068
1069 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1070 Be more robust about locating simple.el.
1071
acfa068f 10722012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1073
1074 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1075
acfa068f
CY
10762012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1077
1078 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1079
41a97e6f
JL
10802012-09-20 Juri Linkov <juri@jurta.org>
1081
eb2deaff
JL
1082 * replace.el (query-replace-read-from): Use `read-regexp' instead
1083 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1084 (occur-read-primary-args): Use `read-regexp' instead of
1085 `read-string'.
1086 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1087 `read-from-minibuffer'.
1088 * isearch.el (isearch-occur): Use `read-regexp' instead of
1089 `read-string'.
1090 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1091 `read-from-minibuffer'.
1092 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1093 of `read-string'. (Bug#7567)
1094
5825610b
JL
1095 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1096 and allow accepting a list of strings prepended to a list of
1097 standard default values. Doc fix. (Bug#12321)
1098
eebbf404
JL
1099 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1100
41a97e6f
JL
1101 * replace.el (read-regexp): Don't add ": " when PROMPT already
1102 ends with a colon and space. (Bug#12321)
1103
c9e452d3
TH
11042012-09-20 Tassilo Horn <tsdh@gnu.org>
1105
1106 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1107 error.
1108
ee97deee
SM
11092012-09-20 Stefan Merten <smerten@oekonux.de>
1110
70efc5c9 1111 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1112 Fixes feature request bug#11711.
1113 (rst-mode): Create `imenu-create-index-function'.
1114 (rst-get-stripped-line): Delete after refactoring.
1115 (rst-section-tree, rst-section-tree-rec)
1116 (rst-section-tree-point): Refactor and document properly.
1117 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1118 (rst-imenu-convert-cell, rst-imenu-create-index):
1119 New function.
ee97deee 1120
f490dab9
SM
11212012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1122
95b9712e
SM
1123 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1124 (macroexp--expand-all): Use it.
1125 (macroexp--funcall-and-return): Remove by folding it into its sole
1126 caller (macroexp--warn-and-return).
1127 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1128 Use macroexp--obsolete-warning.
1129
f490dab9
SM
1130 * calc/calc.el: Fix last change by removing the whole chunk, since it
1131 was only needed back when Calc was not bundled.
1132
96e8d411
MR
11332012-09-20 Martin Rudalics <rudalics@gmx.at>
1134
1135 * emacs-lisp/debug.el (debug): Restore assignment to
1136 debugger-old-buffer removed on 2012-09-08.
1137
0876a82d
JL
11382012-09-20 Juri Linkov <juri@jurta.org>
1139
1140 * dired-aux.el (dired-diff): Remove (require 'diff) since
1141 `diff-latest-backup-file' is now autoloaded.
1142
9f7c28f0
CY
11432012-09-20 Chong Yidong <cyd@gnu.org>
1144
1145 * vc/diff.el (diff-latest-backup-file): Autoload.
1146
7a04bee9
SM
11472012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1148
e6f0a80d
SM
1149 * calc/calc.el: Remove redundant autoload shape check.
1150 (sel-mode): Don't defvar.
1151 (calc-get-stack-element): Add `sel-mode' arg instead.
1152 (calc-top, calc-top-list): Pass it this additional argument.
1153 * calc/calc-store.el (calc-store-map):
1154 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1155 (calc-map-equation, calc-outer-product, calc-inner-product):
1156 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1157
7a04bee9
SM
1158 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1159
12734222
JL
11602012-09-19 Juri Linkov <juri@jurta.org>
1161
1162 * dired-aux.el (dired-diff): Add (require 'diff) because
1163 `diff-latest-backup-file' is not autoloaded.
1164 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1165 of `dired-get-filename' to t to not report error when there is
1166 no default file on the current line.
1167
46624b4f
SM
11682012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1169
ce97595b
SM
1170 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1171 macroexp--eval-if-compile.
1172 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1173 (macroexp--expand-all): Use them (bug#12371).
1174
46624b4f
SM
1175 * doc-view.el (doc-view-guess-paper-size)
1176 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1177
db8a5a18
TH
11782012-09-19 Tassilo Horn <tsdh@gnu.org>
1179
1180 New feature: set optimal slice from BoundingBox information.
1181 * doc-view.el (doc-view-mode-map): Add keybinding.
1182 (doc-view-menu): Add menu entry.
1183 (doc-view-set-slice): Adapt docstring.
1184 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1185 (doc-view-scale-bounding-box)
1186 (doc-view-set-slice-from-bounding-box): New functions.
1187 (doc-view-paper-sizes): New defvar.
1188
69f6644c
GM
11892012-09-19 Glenn Morris <rgm@gnu.org>
1190
35f5b19d
GM
1191 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1192 (byte-compile-log-warning): Autoload. (Bug#12371)
1193
69f6644c
GM
1194 * calendar/calendar.el (calendar-american-month-header)
1195 (calendar-european-month-header, calendar-iso-month-header)
1196 (calendar-month-header): New options.
1197 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1198 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1199
e543ae91
JD
12002012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1201
1202 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1203
2fd5e67d
JL
12042012-09-18 Juri Linkov <juri@jurta.org>
1205
1206 * dired-aux.el (dired-diff): Restore original functionality of
1207 getting the default value, but keep new feature of using the
1208 latest existing backup file (`diff-latest-backup-file').
1209
42917e79
JL
12102012-09-18 Juri Linkov <juri@jurta.org>
1211
1212 * dired.el (dired-mark): If the region is active in Transient Mark
1213 mode, mark all files in the active region. Doc fix.
1214 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1215 Doc fix. (Bug#10624)
1216
20f70ede
JL
12172012-09-18 Juri Linkov <juri@jurta.org>
1218
1219 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1220 attributes for M-n are pulled from the file at point.
1221 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1222 Suggested by Drew Adams. (Bug#10624)
1223
32fb8162
DG
12242012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1225
1226 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1227 whitespace after "end".
1228 (ruby-do-end-to-brace): Collapse block to one line if it fits
1229 within fill-column.
1230
37ab5092
MR
12312012-09-18 Martin Rudalics <rudalics@gmx.at>
1232
1233 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1234 value.
1235 (debug): Don't remove debugger window when debugger is expected
1236 to be back.
1237
ed1f0bd3
CY
12382012-09-18 Chong Yidong <cyd@gnu.org>
1239
1240 * custom.el (defface): Doc fix.
1241
1242 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1243
a11035b8
MB
12442012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1245
1246 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1247 to initialize query-on-exit; then test that instead (bug#12288).
1248
64f6a736
SM
12492012-09-17 Stefan Merten <smerten@oekonux.de>
1250
70efc5c9 1251 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1252 (rst-defcustom-testcover, rst-testcover-add-compose)
1253 (rst-testcover-add-1value): New functions.
1254 (rst-portable-mark-active-p): Replace by `use-region-p'.
1255 (rst-update-section, rst-classify-adornment)
1256 (rst-find-title-line): Mark `1value' forms.
1257 (rst-classify-adornment): Remove superfluous form.
1258 (rst-update-section, rst-get-adornments-around)
1259 (rst-adornment-complete-p, rst-get-next-adornment)
1260 (rst-adjust, rst-promote-region)
1261 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1262 (rst-find-pfx-in-region, rst-section-tree-rec)
1263 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1264 (rst-toc-node, rst-toc, rst-forward-section)
1265 (rst-iterate-leftmost-paragraphs)
1266 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1267 (rst-bullet-list-region)
1268 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1269 (rst-compile-find-conf, rst-compile)
1270 (rst-repeat-last-character): Fix style.
1271
580bd868
CY
12722012-09-17 Chong Yidong <cyd@gnu.org>
1273
1274 * comint.el (comint--complete-file-name-data): Don't add a space
1275 if the status is `sole'; that adds a gratuitous space in the
1276 completion-cycling case (Bug#12092).
1277
1278 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1279
69de3ec6
RS
12802012-09-17 Richard Stallman <rms@gnu.org>
1281
0dee970c
RS
1282 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1283 only in the mime-shown mode, not in raw mode.
1284 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1285 mime processing. (Bug#12305)
0dee970c 1286
6b250df6
GM
1287 * mail/rmail.el (rmail-retry-failure):
1288 Turn off mime processing first. (Bug#12037)
acb1c47b 1289
69de3ec6
RS
1290 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1291
d079ee5f
CY
12922012-09-17 Chong Yidong <cyd@gnu.org>
1293
1294 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1295 (shell-dynamic-complete-functions): Convert to defcustom.
1296 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1297
865fe16f
CY
1298 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1299 * comint.el (comint-prompt-read-only):
1300 * custom.el (defcustom):
1301 * hi-lock.el (hi-lock-mode):
1302 * ibuffer.el (ibuffer-formats):
1303 * ielm.el (ielm-prompt-read-only):
1304 * novice.el (disable-command):
1305 * saveplace.el (toggle-save-place):
1306 * speedbar.el (speedbar-supported-extension-expressions):
1307 * startup.el (auto-save-list-file-prefix, init-file-user)
1308 (after-init-hook, inhibit-startup-echo-area-message):
1309 * strokes.el (strokes-help):
1310 * time-stamp.el (time-stamp):
1311 * calendar/calendar.el (calendar, diary-file):
1312 * calendar/diary-lib.el (diary-mail-entries, diary)
1313 (diary-list-entries-hook):
1314 * calendar/holidays.el (holidays, calendar-holidays):
1315 * calendar/lunar.el (lunar-phases):
1316 * calendar/solar.el (sunrise-sunset):
1317 * emulation/edt.el (edt-load-keys):
1318 * emulation/viper.el (viper-mode):
1319 * eshell/em-alias.el (eshell-command-aliases-list):
1320 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1321 * international/ogonek.el (ogonek-information):
1322 * net/tramp-cmds.el (tramp-bug):
1323 * net/quickurl.el (quickurl-reread-hook-postfix):
1324 * play/decipher.el (decipher-font-lock-keywords):
1325 * progmodes/cc-styles.el (c-set-style):
1326 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1327 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1328 * progmodes/octave-mod.el (octave-mode):
1329 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1330 * progmodes/verilog-mode.el (verilog-read-defines):
1331 * textmodes/two-column.el (2C-mode): Likewise.
1332
48093eb9
KY
13332012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1334
1335 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1336 that holds many addresses.
1337
c584eaf9
CY
13382012-09-16 Chong Yidong <cyd@gnu.org>
1339
40d70ecb
CY
1340 * align.el (align-areas): Call the indication function with
1341 positions instead of markers for arguments (Bug#12343).
1342
1667e065
CY
1343 * files.el (parse-colon-path): Use split-string (Bug#12351).
1344
fdc2806d 1345 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1346 (display-buffer-function): Mark as obsolete.
fdc2806d 1347
f1be615c 1348 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1349 values similar to font-lock-keywords (Bug#12136).
1350 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1351 (compilation-error-regexp-alist): Doc fix.
1352
f40a9709
GM
13532012-09-15 Glenn Morris <rgm@gnu.org>
1354
72aa16e1
GM
1355 * version.el (emacs-bzr-version-bzr): New function.
1356 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1357
82375160
GM
1358 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1359 checkouts, check the parent dirstate matches the branch.
1360 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1361 empty string.
1362
f40a9709
GM
1363 * version.el (emacs-bzr-version): Doc fix.
1364 (emacs-bzr-version-dirstate): New function.
1365 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1366 is local try and check that it matches the branch. If not, just
1367 use dirstate information. (Bug#12441)
1368
cb26b7f5
JL
13692012-09-14 Juri Linkov <juri@jurta.org>
1370
1371 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1372 (Bug#12399)
1373
2de39f08
SM
13742012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1375
0fb3cb7c
SM
1376 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1377
2de39f08
SM
1378 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1379 Remove obsolete byte-compiler hack that tried to silence some warnings.
1380 (edebug-submit-bug-report): Remove.
1381 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1382 Remove aliases, use the un-prefixed name instead.
1383 (edebug-pop-to-buffer): Consider other frames.
1384 (edebug-original-read):: Make it more obvious that it's always defined.
1385 (edebug--make-form-data-entry, edebug--form-data-name)
1386 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1387 single-dashed name, and implement with cl-defstruct.
1388 (edebug-set-form-data-entry): Use the standard accessors.
1389 (edebug-make-top-form-data-entry): Use push.
1390 (edebug-no-match): Drop useless `funcall'.
1391 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1392 to functions.
1393 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1394 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1395 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1396 (easy-menu-define, with-custom-print): Remove redundant specs.
1397 (edebug-outside-overriding-local-map)
1398 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1399 (edebug--display): Bind unread-command-events directly to nil rather
1400 than binding it to unread-command-events and later setting it to nil.
1401 (edebug--display): Kill edebug-eval-buffer here...
1402 (edebug--recursive-edit): ...rather than here.
1403 Bind standard-output and standard-input.
1404 (edebug-eval): Check cl-macroexpand-all is fboundp.
1405 (edebug-temp-display-freq-count): Fix last change.
1406
1407 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1408 * subr.el (noreturn, 1value): Add `debug' spec.
1409 * emacs-lisp/advice.el: Require cl-lib.
1410 (ad-copy-tree): Remove, use copy-tree instead.
1411 (ad-dolist): Remove use dolist or cl-dolist instead.
1412 (ad-do-return): Remove, use cl-return instead.
1413 (defadvice): Add `debug' spec.
1414
5b68b333
JL
14152012-09-13 Juri Linkov <juri@jurta.org>
1416
1417 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1418 (Bug#12399)
1419
b9800ec4
GM
14202012-09-13 Glenn Morris <rgm@gnu.org>
1421
6a2e6868
GM
1422 * calc/calc.el (math-compose-expr):
1423 * calc/calc-ext.el (math-compose-expr):
1424 * progmodes/cc-defs.el (cl-macroexpand-all):
1425 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1426 (cl-macroexpand-all): Update declarations.
1427
b9800ec4
GM
1428 * vc/vc.el: No need to require ediff.
1429 (ediff-load-version-control): Declare.
1430 (ediff-vc-internal): Fix declaration.
1431 (vc-version-ediff): Require ediff.
1432
c18e885b
PE
14332012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1434
1435 Use a more backwards-compatible timer format (Bug#12430).
1436 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1437 being right after USECS, as that better supports old code that
1438 inadvisedly looked directly at the timer vector.
1439
d607d303
KH
14402012-09-13 Kenichi Handa <handa@gnu.org>
1441
1442 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1443 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1444 `coding-priority' property of these language environment.
1445
72eac303
PE
14462012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1447
1448 Fix glitches caused by addition of psec to timers (Bug#12430).
1449 * image.el (image-animate-timer):
1450 * time.el (display-time-world-timer):
1451 Use timer--function and timer--args rather than raw access to
1452 timer vector.
1453
2168fe4f
GM
14542012-09-13 Glenn Morris <rgm@gnu.org>
1455
1456 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1457 If not compiling a file, try using load-file-name.
1458
bd8d6108
SM
14592012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1460
c0c54fbd
SM
1461 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1462 Fix last change.
1463 (edebug-update-eval-list): Use `push'.
1464
bd8d6108
SM
1465 * emacs-lisp/edebug.el: Use lexical-binding.
1466 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1467 Mark unused args with underscore.
1468 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1469 (edebug-form-data): Use defvar-local.
1470 (edebug-make-before-and-after-form, edebug-make-after-form):
1471 Use backquote.
1472 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1473 Not dynamically scoped any more.
1474 (edebug--enter-trace): Add arguments `function' and `args'.
1475 Rename from edebug-enter-trace.
1476 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1477 (edebug--update-coverage): Add `after-index' and `value' args.
1478 Rename from edebug-update-coverage.
1479 (edebug-slow-after): Call it accordingly.
1480 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1481 edebug-recursive-edit.
1482 (edebug--display): Call it accordingly. Add args `value',
1483 `offset-index', and `arg-mode'. Rename from edebug-display.
1484 (edebug-debugger, edebug): Call it accordingly.
1485 (edebug-eval-display-list): Use dolist.
1486
a9f9d9de
JL
14872012-09-12 Juri Linkov <juri@jurta.org>
1488
1489 * info.el (Info-search): Don't check for isearch-mode and
1490 isearch-regexp before let-binding search-spaces-regexp to
1491 Info-search-whitespace-regexp.
1492 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1493 search-whitespace-regexp if isearch-lax-whitespace or
1494 isearch-regexp-lax-whitespace is non-nil.
1495 (Info-mode): Don't set local variable search-whitespace-regexp.
1496 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1497
bfeae2cf
SM
14982012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1501 (debugger-env-macro): Remove support for unread-command-char.
1502
1503 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1504 the temporary map re-appearing on emulation-mode-map-alists.
1505
1506 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1507 since 22.1.
1508
1509 * ehelp.el (with-electric-help): Accept functions in
1510 electric-help-form-to-execute.
1511 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1512 And replace unread-command-char -> unread-command-events.
1513
fbbcaf1b
MA
15142012-09-12 Michael Albinus <michael.albinus@gmx.de>
1515
1516 Sync with Tramp 2.2.6.
1517
1518 * net/tramp.el (tramp-accept-process-output): Don't use
1519 JUST-THIS-ONE in the XEmacs case.
1520
1521 * net/trampver.el: Update release number.
1522
4dece104
MR
15232012-09-12 Martin Rudalics <rudalics@gmx.at>
1524
bfeae2cf
SM
1525 * emacs-lisp/debug.el (debugger-previous-window-height):
1526 New variable.
4dece104
MR
1527 (debug): When debugger-jumping-flag is non-nil try to restore
1528 height of debugger window. (Bug#8789)
1529
45b82ad0
SM
15302012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1531
60c49c0f
SM
1532 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1533 overriding-local-map and pre/post-command-hook here.
1534 (edebug-recursive-edit): Do it here instead (bug#12345).
1535 (edebug-outside-unread-command-char): Remove all uses of
1536 unread-command-char.
1537
45b82ad0
SM
1538 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1539 inhibit-debugger is bound instead.
1540
baa26ea0
BG
15412012-09-11 Bastien Guerry <bzg@gnu.org>
1542
1543 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1544 (Bug#12346)
baa26ea0 1545
04e8abfa
BG
15462012-09-11 Bastien Guerry <bzg@gnu.org>
1547
96d03571 1548 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1549 (Bug#12347)
96d03571
BG
1550
15512012-09-11 Bastien Guerry <bzg@gnu.org>
1552
fc0c31f8 1553 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1554
04e082b0
MM
15552012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1556
1557 * progmodes/sql.el: Version 3.1
1558 (sql-db2-escape-newlines): New variable.
1559 (sql-escape-newlines-filter): Use it.
1560
399a361b
JB
15612012-09-10 Juanma Barranquero <lekktu@gmail.com>
1562
1563 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1564
0780c517
DN
15652012-09-10 Dan Nicolaescu <dann@gnu.org>
1566
45b82ad0
SM
1567 * vc/diff-mode.el (diff-mode-menu):
1568 Bind diff-remove-trailing-whitespace.
0780c517 1569
9b851e25
SM
15702012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1573 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1574 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1575 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1576 (eval-defun-2): Remove bogus interactive spec.
1577 (lisp-indent-line): Remove redundant whole-exp code, now done in
1578 indent-according-to-mode.
1579 (save-match-data): Remove redundant indent data.
1580
1581 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1582 Use `declare'.
1583
3231d532
JL
15842012-09-09 Juri Linkov <juri@jurta.org>
1585
1586 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1587 (replace-lax-whitespace, query-replace-regexp)
1588 (query-replace-regexp-eval, replace-regexp): Doc fix.
1589 (perform-replace, replace-highlight): Let-bind
1590 isearch-lax-whitespace to replace-lax-whitespace and
1591 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1592
1593 * isearch.el (isearch-query-replace): Let-bind
1594 replace-lax-whitespace to isearch-lax-whitespace and
1595 replace-regexp-lax-whitespace to
1596 isearch-regexp-lax-whitespace. (Bug#10885)
1597
70fe8236
SM
15982012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1601
8ed43f15
AM
16022012-09-09 Alan Mackenzie <acm@muc.de>
1603
70fe8236
SM
1604 * progmodes/cc-engine.el (c-state-cache-init):
1605 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1606 (c-record-parse-state-state):
1607 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1608
bfabf70a
AS
16092012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1610
1611 * register.el (register-separator): Rename from
1612 separator-register. All uses changed. Doc fix.
1613 (register): Fix version.
1614
011474aa
CY
16152012-09-09 Chong Yidong <cyd@gnu.org>
1616
1617 * replace.el (query-replace-map): Bind four new symbols for
1618 requesting window scrolling.
1619
1620 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1621 query-replace-map (Bug#8948).
1622
1623 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1624
1625 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1626 since they are now in query-replace-map.
1627
1628 * window.el (scroll-other-window-down): Make the arg optional.
1629
a8b7cd8d
CY
16302012-09-09 Chong Yidong <cyd@gnu.org>
1631
1632 * files.el (hack-local-variables-confirm): Use quit-window to kill
1633 the *Local Variables* buffer.
1634
c3268831
DG
16352012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1636
1637 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1638 not just expect to be at its beginning. Adjust callees.
1639 Succeed when do-end block has no space before the pipe character.
1640 (ruby-brace-to-do-end): When the original block is one-liner,
1641 convert to multiline. Reindent the result.
1642
0979429b
J
16432012-09-08 Jambunathan K <kjambunathan@gmail.com>
1644
1645 * register.el (register): New group.
27359e99 1646 (separator-register): New user option.
0979429b
J
1647 (increment-register): Route it to `append-to-register', if
1648 register contains text. Implication is that `C-x r +' can now be
1649 used for appending to a text register (bug#12217).
1650 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 1651 `separator-register'.
0979429b 1652
ace2989a
AM
16532012-09-08 Alan Mackenzie <acm@muc.de>
1654
1655 AWK Mode: make auto-newline work when there's "==" in the pattern.
1656 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1657 correctly.
0979429b
J
1658 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1659 Test more rigorously for "=" token.
ace2989a 1660
616c6c36
DG
16612012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1662
0979429b
J
1663 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1664 Only fail when reached LIMIT.
616c6c36 1665
35d98877
CY
16662012-09-08 Chong Yidong <cyd@gnu.org>
1667
1668 * dired.el (dired-mode-map): Don't bind M-=.
1669
1670 * dired-aux.el (dired-diff): Use backup file as default.
1671
1715f2db
DA
16722012-09-08 Drew Adams <drew.adams@oracle.com>
1673
1674 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1675
6dcef6ec
CY
16762012-09-08 Chong Yidong <cyd@gnu.org>
1677
1678 * subr.el (syntax-after, syntax-class): Doc fix.
1679
fa2bcf43
MR
16802012-09-08 Martin Rudalics <rudalics@gmx.at>
1681
1682 * window.el (display-buffer-in-previous-window): New buffer
1683 display action function.
1684
1685 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1686 (debugger-previous-window): New variable.
1687 (debug): Rewrite using display-buffer-in-previous-window,
1688 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1689
daac280a
SM
16902012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1693
9dd40b00
MM
16942012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1695
daac280a
SM
1696 * progmodes/python.el (python-shell-send-string):
1697 When default-directory is remote, create temp file on remote
9dd40b00
MM
1698 filesystem.
1699 (python-shell-send-file): When file is remote, pass local view of
1700 file paths to remote Python interpreter. (Bug#12340)
1701
145823ec
CY
17022012-09-07 Chong Yidong <cyd@gnu.org>
1703
cee2e90d
CY
1704 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1705
0d7eb2ea
CY
1706 * files.el (after-find-file): Don't fail on a read-only buffer if
1707 require-final-newline is `visit' or `visit-save' (Bug#11156).
1708
145823ec
CY
1709 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1710
daac280a
SM
1711 * userlock.el (ask-user-about-supersession-threat):
1712 Use read-char-choice (Bug#12093).
145823ec 1713
74c582e6
CY
17142012-09-07 Chong Yidong <cyd@gnu.org>
1715
e5c2edf7
CY
1716 * subr.el (buffer-narrowed-p): New function.
1717
1718 * ses.el (ses-widen):
1719 * simple.el (count-words--buffer-message):
1720 * net/browse-url.el (browse-url-of-buffer): Use it
1721
1722 * simple.el (count-words-region): Don't signal an error if there
1723 is a non-nil prefix arg and the mark is not set.
c640e87d 1724
74c582e6
CY
1725 * help.el (describe-key-briefly): Allow the message to be seen
1726 when invoked from the minibuffer (Bug#7014).
1727
d81ceaaf
DG
17282012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1729
1730 * progmodes/ruby-mode.el (ruby-end-of-defun)
1731 (ruby-beginning-of-defun): Simplify, allow indentation before
1732 block beginning and end keywords.
8f06acce
DG
1733 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1734 (ruby-end-of-defun): Expect that the point is at the beginning of
1735 the defun.
d81ceaaf 1736
d458ef98
SM
17372012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1740 (bug#12367).
1741 (cl--make-usage-args): Strip _ from argument names.
1742
20367d28
RS
17432012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1744
1745 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1746 obsolete alias speedbar-key-map.
1747 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1748 (vhdl-index-menu-init): Don't use obsolete variable
1749 font-lock-maximum-size.
1750
3424a4f6
CY
17512012-09-06 Chong Yidong <cyd@gnu.org>
1752
1753 * frame.el (window-system-version): Mark as obsolete.
1754
fcbfbdea
CY
1755 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1756 of obsolete variable speedbar-key-map.
1757
826b3235
JL
17582012-09-06 Juri Linkov <juri@jurta.org>
1759
1760 * replace.el (replace-lax-whitespace): New defcustom.
1761 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1762 (replace-string, replace-regexp): Mention it in docstrings.
1763 (perform-replace, replace-highlight): Let-bind
1764 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1765 to the values of replace-lax-whitespace and regexp-flag.
1766 Don't let-bind search-whitespace-regexp. (Bug#10885)
1767
1768 * isearch.el (isearch-query-replace): Let-bind
1769 replace-lax-whitespace instead of let-binding
1770 replace-search-function and replace-re-search-function.
1771 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1772 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1773 (isearch-toggle-symbol): Set isearch-regexp to nil
1774 in isearch-word mode (like in isearch-toggle-word).
1775
1ec5e41d
JL
17762012-09-06 Juri Linkov <juri@jurta.org>
1777
1778 * replace.el (replace-search-function)
1779 (replace-re-search-function): Set default values to nil.
1780 (perform-replace): Let-bind isearch-related variables based on
1781 replace-related values, call `isearch-search-fun' and let-bind
1782 the result to `search-function'. Remove code that sets
1783 `search-function' and `search-string' separately for
1784 `delimited-flag'.
1785 (replace-highlight): Add new argument `delimited-flag' and
1786 rename other arguments to the names used in `perform-replace'.
1787 Let-bind `isearch-word' to the argument `delimited-flag'.
1788 (Bug#10885, bug#10887)
1789
0ba2d4b6
DG
17902012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1791
1792 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1793 ruby-beginning-of-indent, simplify, allow all keywords to have
1794 indentation before them.
1795 (ruby-beginning-of-indent): Adjust for above. Search until the
1796 found point is not inside a string or comment.
1797 (ruby-font-lock-keywords): Allow symbols to start with "@"
1798 character, give them higher priority than variables.
1799 (ruby-syntax-propertize-function)
1800 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1801 matchers. Expression expansions are not comments when inside a
1802 string, and there comment syntax status is irrelevant.
1803 (ruby-match-expression-expansion): New function. Check that
1804 expression expansion is inside a string, and it's not escaped.
1805 (ruby-font-lock-keywords): Use it.
1806
ef654460
MR
18072012-09-05 Martin Rudalics <rudalics@gmx.at>
1808
1809 * help.el (temp-buffer-max-height): New default value.
1810 (temp-buffer-resize-frames): New option.
1811 (resize-temp-buffer-window): Optionally resize frame.
1812
1813 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1814 (fit-frame-to-buffer): New function.
1815
7e570fbf 18162012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1817
1818 * emulation/cua-rect.el (cua--init-rectangles):
1819 * textmodes/picture.el (picture-mode-map):
1820 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1821 like forward-char and backward-char. (Bug#12317)
1822
7e570fbf 18232012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1824
1825 * progmodes/flymake.el (flymake-warning-re): New variable.
1826 (flymake-parse-line): Use it.
1827
7e570fbf 18282012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1829
1830 * calendar/holidays.el (holiday-christian-holidays):
1831 Rename an entry. (Bug#12289)
1832
7e570fbf 18332012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1834
1835 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1836 (bug#12222).
1837
972debf2
SM
18382012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * loadup.el: Load macroexp. Remove hack.
1841 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1842 (macroexp--expand-all): Use it to get better warnings.
1843 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1844 (internal-macroexpand-for-load): New functions.
1845 (macroexp--pending-eager-loads): New var.
1846 (emacs-startup-hook): New hack to replace one in loadup.el.
1847 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1848 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1849 (cl-psetf): Simplify.
1850 (cl-defstruct): Add indent rule.
1851
8ce192e3
LI
18522012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1853
1854 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1855 over `user-mail-address' for the SMTP MAIL FROM envelope.
1856 (smtpmail-via-smtp): Ditto.
1857
6578b4d8
DG
18582012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1859
1860 * progmodes/ruby-mode.el: Clean up keybindings.
1861 (ruby-mode-map): Don't bind ruby-electric-brace,
1862 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1863 backward-kill-word, reindent-then-newline-and-indent.
1864 (ruby-mark-defun): Remove.
1865 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1866 (ruby-mode): Set local beginning-of-defun-function and
1867 end-of-defun-function values.
1868
c5e28e39
MR
18692012-09-03 Martin Rudalics <rudalics@gmx.at>
1870
1871 * window.el (temp-buffer-window-setup-hook)
1872 (temp-buffer-window-show-hook): New hooks.
1873 (temp-buffer-window-setup, temp-buffer-window-show)
1874 (with-temp-buffer-window): New functions.
972debf2
SM
1875 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1876 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1877
1878 * help.el (temp-buffer-resize-mode): Fix doc-string.
1879 (resize-temp-buffer-window): New optional argument WINDOW.
1880
1881 * files.el (recover-file, save-buffers-kill-emacs):
1882 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1883
73406194
MA
18842012-09-02 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1887 remote definition of `default-directory', ensure we can connect.
1888
63dd1c6f
JL
18892012-09-02 Juri Linkov <juri@jurta.org>
1890
1891 Toggle whitespace matching mode with M-s SPC.
1892 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1893
1894 * isearch.el (search-whitespace-regexp): Doc fix.
1895 Remove cons cell customization.
1896 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1897 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1898 New variables.
1899 (isearch-forward, isearch-forward-regexp): Doc fix.
1900 (isearch-toggle-lax-whitespace): New command.
1901 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1902 (re-search-forward-lax-whitespace)
1903 (re-search-backward-lax-whitespace): New functions.
1904 (isearch-whitespace-regexp): Remove function.
1905 (isearch-query-replace): Let-bind replace-search-function and
1906 replace-re-search-function.
1907 (isearch-occur): Let-bind search-spaces-regexp according to the
1908 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1909 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1910 condition for C-q SPC.
1911 (isearch-search-fun-default): Use new functions mentioned above.
1912 (isearch-search-forward, isearch-search-backward): Remove functions.
1913 (isearch-search): Don't let-bind search-spaces-regexp.
1914 (isearch-lazy-highlight-space-regexp): Remove variable.
1915 (isearch-lazy-highlight-lax-whitespace)
1916 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1917 (isearch-lazy-highlight-new-loop): Use them.
1918 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1919
af7dda05
CY
19202012-09-02 Chong Yidong <cyd@gnu.org>
1921
1922 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1923
d67d3afd
GM
19242012-09-02 Glenn Morris <rgm@gnu.org>
1925
1926 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1927
69678719
GM
19282012-09-01 Glenn Morris <rgm@gnu.org>
1929
1930 * term.el: Tidy up menu definitions.
1931 (term-mode-map): Use easymenu for In/Out, Complete menus.
1932 (term-pager-break-map): Initialize in the defvar.
1933 (term-terminal-menu, term-signals-menu): Define with easymenu.
1934 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1935 (term-pager-menu): New, extracted from term-process-pager.
1936 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1937 (term-update-mode-line): Propertize line/char and page items.
1938 (term-process-pager): Move keymap initialization elsewhere.
1939
78dd6ab1
MR
19402012-09-01 Martin Rudalics <rudalics@gmx.at>
1941
1942 * window.el (switch-to-prev-buffer): Handle additional values of
1943 BURY-OR-KILL argument. Don't switch in minibuffer window.
1944 (switch-to-next-buffer): Don't switch in minibuffer window.
1945 (quit-restore-window): New function based on quit-window.
1946 Handle additional values of former KILL argument.
1947 (quit-window): Call quit-restore-window with appropriate
1948 interpretation of KILL argument.
1949 (display-buffer-below-selected): New buffer display action
1950 function.
1951
3d10e134
SM
19522012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * minibuffer.el (completion-at-point-functions): Complete docstring
1955 (bug#12254).
1956
0e23ef9d
PE
19572012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1958
1959 Better seed support for (random).
1960 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1961 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1962 * play/mpuz.el, play/tetris.el, play/zone.el:
1963 * calc/calc-comb.el (math-init-random-base):
1964 * play/blackbox.el (bb-init-board):
1965 * play/life.el (life):
1966 * server.el (server-use-tcp):
1967 * type-break.el (type-break):
1968 Remove unnecessary call to (random t).
1969 * net/sasl.el (sasl-unique-id-function):
1970 Change (random t) to (random), now that the latter is more random.
1971 * play/life.el (life-initialized): Remove no-longer-needed var.
1972
862382df
MR
19732012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1974
1975 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1976 Consider frame's buffer predicate when choosing the buffer.
1977 (Bug#12081)
1978
262a66e1
RS
19792012-08-30 Richard Stallman <rms@gnu.org>
1980
1981 * simple.el (special-mode-map): Delete binding for `z'.
1982
f17e1d00
AS
19832012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1984
1985 * progmodes/compile.el (compilation-always-kill): Doc fix.
1986
24777832
CY
19872012-08-30 Chong Yidong <cyd@gnu.org>
1988
1989 * window.el (display-buffer-reuse-frames): Make the obsolescence
1990 message more informative.
1991
69ba1f04
GM
19922012-08-30 Glenn Morris <rgm@gnu.org>
1993
1994 * paren.el (show-paren-delay):
1995 Add a :set function. Doc fix. (Bug#12297)
1996
f0019ede
MB
19972012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1998
1999 * progmodes/compile.el (compilation-always-kill): New var.
2000 (compilation-start): Use it.
2001
35e62fc9
SM
20022012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2003
af070a1c
SM
2004 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2005 * files.el (read-only-mode): Move to simple.el.
2006
35e62fc9
SM
2007 * files.el (read-only-mode): New minor mode.
2008 (toggle-read-only): Use it and mark obsolete.
2009 (find-file--read-only):
2010 * vc/vc.el (vc-next-action, vc-checkout):
2011 * vc/vc-cvs.el (vc-cvs-checkout):
2012 * obsolete/vc-mcvs.el (vc-mcvs-update):
2013 * ffap.el (ffap--toggle-read-only): Update callers.
2014
c2c43c23
MA
20152012-08-29 Michael Albinus <michael.albinus@gmx.de>
2016
2017 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2018 remote shell scripts.
2019 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2020
2021 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2022 "/usr/local/sbin".
2023
9fba804b
SM
20242012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2027
eada0861 20282012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2029
806f0cc7
LL
2030 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2031 completion-at-point. (Bug#12220)
2032
3bb213b9
LL
2033 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2034
22ab32ef
LL
2035 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2036
eada0861 20372012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2038
19c17fc1
CY
2039 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2040 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2041
eada0861 20422012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2043
2044 * progmodes/hideif.el (hif-compress-define-list):
2045 Fix typo. (Bug#11951)
2046
eada0861 20472012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2048
2049 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2050 buffer local setting.
2051
27d6c5a8
LL
2052 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2053 rcirc-encode-coding-system.
2054
eada0861 20552012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2056
2057 * net/rcirc.el (rcirc-split-message): New function.
2058 (rcirc-send-message): Use it. (Bug#12051)
2059
d44688e4
JL
20602012-08-28 Juri Linkov <juri@jurta.org>
2061
2062 * info.el (Info-fontify-node): Hide empty lines at the end of
2063 the node. (Bug#12272)
2064
34f10d41
MR
20652012-08-27 Drew Adams <drew.adams@oracle.com>
2066
2067 * dired.el (dired-pop-to-buffer): Make window start at beginning
2068 of buffer (Bug#12281).
2069
77f1f99c
CY
20702012-08-26 Chong Yidong <cyd@gnu.org>
2071
2072 * window.el (special-display-regexps, special-display-frame-alist)
2073 (special-display-buffer-names, special-display-function)
2074 (display-buffer-reuse-frames): Mark as obsolete.
2075
2076 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2077
2078 * help.el (help-print-return-message): Don't treat
2079 display-buffer-reuse-frames specially.
2080
d97af5a0
CY
20812012-08-26 Chong Yidong <cyd@gnu.org>
2082
9fba804b
SM
2083 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2084 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2085 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2086 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2087 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2088 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2089 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2090 the functions directly with gdb-display-buffer-other-frame-action.
2091 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2092 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2093 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2094 (gdb-display-registers-buffer): Define directly.
2095 (def-gdb-display-buffer): Macro deleted.
2096 (gdb-display-buffer): Remove second and third args, callers don't
2097 use them. Defer to the default display-buffer behavior, apart
2098 from making windows dedicated.
2099 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2100
2101 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2102
2103 * window.el (display-buffer-pop-up-frame): Handle a
2104 pop-up-frame-parameters alist entry.
2105 (display-buffer): Document it.
2106
dd7ffad6
CY
21072012-08-26 Chong Yidong <cyd@gnu.org>
2108
2109 * isearch.el (search-whitespace-regexp): Make string and nil
2110 values apply to both ordinary and regexp search. Allow a cons
2111 cell value to distinguish between the two.
2112 (isearch-whitespace-regexp, isearch-search-forward)
2113 (isearch-search-backward): New functions.
2114 (isearch-occur, isearch-search-fun-default, isearch-search)
2115 (isearch-lazy-highlight-new-loop): Use them.
2116 (isearch-forward, isearch-forward-regexp): Doc fix.
2117
4c47bd1e
CY
21182012-08-26 Chong Yidong <cyd@gnu.org>
2119
2120 * faces.el (help-argument-name): Always inherit from italic
2121 (Bug#12213).
2122
9aba119d
MR
21232012-08-25 Martin Rudalics <rudalics@gmx.at>
2124
2125 * window.el (window--even-window-heights): Even heights when
2126 WINDOW and the selected window form a vertical combination.
2127 (display-buffer-use-some-window): Provide that window used gets
2128 sized back by quit-window. (Bug#11880) and (Bug#12091)
2129
ca5256ad
PE
21302012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2131
2132 Fix file time stamp problem with bzr and CVS (Bug#12001).
2133 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2134 in the file's time stamp, since the version control system loses
2135 that information.
2136
d1c0d176
JL
21372012-08-22 Juri Linkov <juri@jurta.org>
2138
2139 * info.el (Info-fontify-node): Hide the suffix of the
2140 Info file name in the header line. (Bug#12187)
2141
141562ff
GM
21422012-08-22 Glenn Morris <rgm@gnu.org>
2143
2144 * calendar/cal-tex.el (cal-tex-weekly-common):
2145 Restore leading blank page.
2146
61a48e19 21472012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2148
2149 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2150 the region under `shift-select-mode'. (Bug#12231)
2151
21522012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2153
2154 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2155 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2156 gives details on why the space is never needed.
2157
ea95074e
MR
21582012-08-22 Martin Rudalics <rudalics@gmx.at>
2159
9fba804b
SM
2160 * window.el (walk-window-tree, window-with-parameter):
2161 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2162 should run on the minibuffer window.
2163 (window-at-side-list): Don't operate on minibuffer window.
2164 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2165 (window--size-ignore): Rename to window--size-ignore-p.
2166 Update callers.
caceae25
MR
2167 (display-buffer-in-atom-window, window--major-non-side-window)
2168 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2169 (delete-side-window, display-buffer-in-side-window):
2170 New functions.
caceae25
MR
2171 (window--side-check, window-deletable-p, delete-window)
2172 (delete-other-windows, split-window): Handle side windows and
2173 atomic windows appropriately.
2174 (window--display-buffer): Call display-buffer-record-window also
2175 when the window buffer did not change.
ea95074e 2176
80a51fa0
CS
21772012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2178
2179 * help-fns.el (help-fns--key-bindings):
2180 Abbreviate non-symbol remap targets. (Bug#12174)
2181
fbb6300b
MR
21822012-08-22 Martin Rudalics <rudalics@gmx.at>
2183
2184 * dired.el (dired-mark-remembered): Don't clobber point.
2185 (Bug#11795)
2186
2b2c0794
GM
21872012-08-22 Glenn Morris <rgm@gnu.org>
2188
2189 * progmodes/bug-reference.el (bug-reference): New custom group.
2190 (bug-reference-bug-regexp): Make it a defcustom.
2191
37219830
DU
21922012-08-22 Daiki Ueno <ueno@unixuser.org>
2193
2194 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2195 (js-paren-indent-offset, js-square-indent-offset)
2196 (js-curly-indent-offset): Add :safe (Bug#12257).
2197
94e0e559
EC
21982012-08-22 Edward O'Connor <hober0@gmail.com>
2199
2200 * json.el (json-key-format): Add error properties.
2201 (json-encode-key): New function.
2202 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2203 Use json-encode-key.
2204
da485f5e
GM
22052012-08-22 Glenn Morris <rgm@gnu.org>
2206
2207 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2208 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2209 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2210 Update for above change.
2211
c6cc78b8
AS
22122012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2213
2214 * cus-face.el (custom-face-attributes): Fix customize type for the
2215 :underline attribute. (Bug#11805)
2216
5481664a
MR
22172012-08-21 Martin Rudalics <rudalics@gmx.at>
2218
2219 * window.el (window-point-1, set-window-point-1): Remove.
2220 (window-in-direction, record-window-buffer)
2221 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2222 (window--state-get-1, display-buffer-record-window):
2223 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2224 window-point and set-window-point respectively.
2225
6d74698e
GM
22262012-08-21 Glenn Morris <rgm@gnu.org>
2227
b7fa2691
GM
2228 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2229 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2230 Use it.
2231
52f56d5a
GM
2232 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2233 (cal-tex-shortday): New function.
2234 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2235 (cal-tex-cursor-filofax-daily): Use the above.
2236
9f1ee09e
GM
2237 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2238 New functions.
2239 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2240 (cal-tex-cursor-filofax-week): Use them.
2241
79858159
GM
2242 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2243 New constants.
2244 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2245 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2246
d346b2b4
GM
2247 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2248 (cal-tex-end-document): Don't rely on buffer name.
2249
b2403709
GM
2250 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2251 Use cal-tex-vspace.
2252 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2253 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2254 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2255 Use cal-tex-arg.
b2403709 2256
1cebb5c0
GM
2257 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2258 (cal-tex-cursor-week, cal-tex-cursor-week2)
2259 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2260 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2261 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2262 (cal-tex-insert-preamble, cal-tex-b-document)
2263 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2264 Improve cal-tex-cmd usage.
2265
c68cd5d4
GM
2266 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2267 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2268 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2269 (cal-tex-weekly-paper): New function.
2270 (cal-tex-cursor-week, cal-tex-cursor-week2)
2271 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2272 (cal-tex-cursor-day): Use it.
2273
9dca4801
GM
2274 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2275 (cal-tex-cursor-filofax-week): Remove leading blank page.
2276
1941e134
GM
2277 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2278 Add autoload cookie. For now at least, don't use color, since
2279 no other cal-tex function does.
2280
6d74698e
GM
2281 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2282 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2283 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2284
64cde199
JL
22852012-08-21 Juri Linkov <juri@jurta.org>
2286
2287 * info.el (Info-file-attributes): New variable.
2288 (info-insert-file-contents): Add file attributes to
2289 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2290 `Info-toc-nodes' when previous modtime of the Info file is less
2291 than new modtime.
2292 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2293 of info.el. (Bug#12230)
2294
32757648
GM
22952012-08-20 Glenn Morris <rgm@gnu.org>
2296
2297 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2298 * calendar/holidays.el (calendar-holiday-list):
2299 Report errors with display-warning rather than beep'n'sleep.
2300
a32fbbcf
MA
23012012-08-20 Michael Albinus <michael.albinus@gmx.de>
2302
2303 * net/tramp.el (tramp-accept-process-output): Accept only output
2304 from PROC. Otherwise, process filters and sentinels might be
2305 confused. (Bug#12145)
2306
a05731a0
CY
23072012-08-20 Chong Yidong <cyd@gnu.org>
2308
2309 * descr-text.el (describe-text-properties-1): Use overlays-in to
2310 report on empty overlays (Bug#3322).
2311
36e8d1eb
GM
23122012-08-20 Glenn Morris <rgm@gnu.org>
2313
3d300447
GM
2314 * mail/rmailout.el (rmail-output-read-file-name):
2315 Trap and report errors in rmail-output-file-alist elements.
2316
36e8d1eb
GM
2317 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2318 since most non-font-lock faces are not also variables).
2319
b96e5814
ER
23202012-08-20 Edward Reingold <reingold@iit.edu>
2321
2322 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2323 New function. (Bug12160)
2324
7cef3569
GM
23252012-08-19 Glenn Morris <rgm@gnu.org>
2326
2327 * mail/rmailout.el (rmail-output-read-file-name):
2328 Fix previous change (when the alist is nil or does not match).
2329
17975d7f
CY
23302012-08-19 Chong Yidong <cyd@gnu.org>
2331
2332 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2333 (Bug#12228).
2334
2170b1bd
CY
23352012-08-18 Chong Yidong <cyd@gnu.org>
2336
2337 * simple.el (yank-handled-properties): New defcustom.
2338 (yank-excluded-properties): Add font-lock-face and category.
2339 (yank): Doc fix.
2340
9fba804b
SM
2341 * subr.el (remove-yank-excluded-properties):
2342 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2343 and category is now done this way, instead of being hard-coded.
2344 (insert-for-yank-1): Remove font-lock-face handling.
2345 (yank-handle-font-lock-face-property)
2346 (yank-handle-category-property): New function.
2347
ee218151
GM
23482012-08-17 Glenn Morris <rgm@gnu.org>
2349
2350 * mail/rmailout.el (rmail-output-read-file-name):
2351 Check rmail-output-file-alist against the full message body
2352 in the correct rmail buffer. (Bug#12214)
2353
4a6bc3fd
MA
23542012-08-17 Michael Albinus <michael.albinus@gmx.de>
2355
9fba804b
SM
2356 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2357 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2358
383dcbf9
CY
23592012-08-17 Chong Yidong <cyd@gnu.org>
2360
2361 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2362 font spec, set the font directly (Bug#3228).
2363
998c4a6a
MR
23642012-08-17 Martin Rudalics <rudalics@gmx.at>
2365
2366 * window.el (delete-window): Fix last fix.
2367
52162052
MR
23682012-08-16 Martin Rudalics <rudalics@gmx.at>
2369
2370 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2371 (window-child, window-child-count, window-last-child)
2372 (window-normalize-window, window-combined-p)
2373 (window-combinations, window-atom-root, window-min-size)
2374 (window-sizable, window-sizable-p, window-size-fixed-p)
2375 (window-min-delta, window-max-delta, window--resizable)
2376 (window--resizable-p, window-resizable, window-total-size)
2377 (window-full-height-p, window-full-width-p, window-body-size)
2378 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2379 (minimize-window, window-deletable-p, delete-window)
2380 (delete-other-windows, set-window-buffer-start-and-point)
2381 (next-buffer, previous-buffer, split-window, balance-windows-2)
2382 (set-window-text-height, window-buffer-height)
2383 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2384 (truncated-partial-width-window-p): Minor code adjustments.
2385 In doc-strings state whether the argument window has to denote a
85c2386b 2386 live, valid or any window.
52162052 2387
1c308380
PS
23882012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2389
2390 * progmodes/subword.el (subword-forward-function)
2391 (subword-backward-function, subword-forward-regexp)
2392 (subword-backward-regexp): New variables.
2393 (subword-forward, subword-forward-internal, subword-backward-internal):
2394 Use new variables, eg so that different "word" definitions
2395 can be easily used. (Bug#11411)
2396
94c9ece1
SM
23972012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2400 for composite selectors.
2401 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2402 operation just because we can't find a previous revision.
2403
f2045622
CY
24042012-08-15 Chong Yidong <cyd@gnu.org>
2405
2406 * frame.el (set-frame-font): Accept font objects.
2407
582db660
SM
24082012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2411
2f29c200
WJ
24122012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2413
456e62c2
WJ
2414 * man.el (Man-overstrike-face, Man-underline-face)
2415 (Man-reverse-face): Remove variables.
2416 (Man-overstrike, Man-underline, Man-reverse): New faces.
2417 (Man-fontify-manpage): Use them instead of the variables.
2418 (Man-cleanup-manpage): Comment change.
2419 (Man-ansi-color-map): New variable.
2420 (Man-fontify-manpage): Use it.
2421 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2422
2f29c200
WJ
2423 Implement ANSI SGR parameters 22-27 (bug#12146).
2424 * ansi-color.el (ansi-colors): Doc fix.
2425 (ansi-color-context, ansi-color-context-region): Doc fix.
2426 (ansi-color--find-face): New function.
2427 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2428 Rename the local variable `face' to `codes' since it is now a list of
2429 ansi codes. Doc fix.
2430 (ansi-color-get-face): Remove.
2431 (ansi-color-parse-sequence): New function, derived from
2432 ansi-color-get-face.
2433 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2434 codes 22-27.
2435
b4f5e9df
SM
24362012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * subr.el (read-passwd): Allow use from a minibuffer.
2439
ba025fbd
EZ
24402012-08-14 Eli Zaretskii <eliz@gnu.org>
2441
2442 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2443 inside comments and strings as identifiers.
2444
2445 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2446 expression to evaluate. This allows to evaluate expressions with
2447 embedded whitespace.
2448 (gud-tooltip-tips): Add a blank before the newline in the
2449 message-box text, for the benefit of message-box emulation on
2450 MS-Windows.
2451
2452 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2453 messages from GDB, pop them up in a tooltip to give feedback to
2454 user.
b4f5e9df
SM
2455 (gdb-tooltip-print-1): Quote the expression to evaluate.
2456 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2457 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2458 if the TTY name is nil or empty (which happens when communicating
2459 with the inferior via pipes, e.g. on MS-Windows).
2460 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2461 don't send that to the GUD buffer.
2462
c548f821
GM
24632012-08-14 Glenn Morris <rgm@gnu.org>
2464
2465 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2466 Optimize away setq-default with no args, as for setq. (Bug#12195)
2467
55802e4a
CY
24682012-08-14 Chong Yidong <cyd@gnu.org>
2469
4abcdac8
CY
2470 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2471
55802e4a
CY
2472 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2473 (Bug#12085).
2474
3c3cda1a
GM
24752012-08-14 Glenn Morris <rgm@gnu.org>
2476
2477 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2478
e1873bd0
MA
24792012-08-14 Michael Albinus <michael.albinus@gmx.de>
2480
2481 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2482 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2483 Use cached shell name.
2484
925411b4
FEG
24852012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2486
2487 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2488 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2489
e636fafe
DG
24902012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2493 (ruby-percent-literal-beg-re): New constant.
2494 (ruby-syntax-general-delimiters-goto-beg): Rename to
2495 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2496 (ruby-syntax-propertize-general-delimiters): Rename to
2497 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2498 popular term. Adjust comments everywhere.
2499 (ruby-syntax-propertize-percent-literal): Only propertize when not
2500 inside a simple string or comment. When the literal is unclosed,
2501 leave the text after it unpropertized.
f063063a
DG
2502 (ruby-syntax-methods-before-regexp): New constant.
2503 (ruby-syntax-propertize-function): Use it to recognize regexps.
2504 Don't look at the text after regexp, just use the whitelist.
e636fafe 2505
e5b19827
AS
25062012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2507
2508 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2509 non-nil always load the compiled file if it exists. (Bug#12197)
2510
a9f6f311
CY
25112012-08-14 Chong Yidong <cyd@gnu.org>
2512
2513 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2514 (hi-lock-set-pattern): When deciding whether to use font lock or
2515 overlays, look at font-lock-mode instead of font-lock-fontified
2516 (Bug#12168).
2517 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2518 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2519
7d806b1e
DU
25202012-08-14 Daiki Ueno <ueno@unixuser.org>
2521
2522 * subr.el (internal--after-with-selected-window): Fix typo
2523 (Bug#12193).
2524
5beed586
FEG
25252012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2526
2527 Use `completion-table-dynamic' for completion functions.
2528 * progmodes/python.el
2529 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2530 (python-shell-completion--get-completions):
2531 Remove functions.
5beed586
FEG
2532 (python-shell-completion-complete-at-point): New function.
2533 (python-completion-complete-at-point): Use it.
2534
92cb3b04
J
25352012-08-13 Jambunathan K <kjambunathan@gmail.com>
2536
2537 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2538 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2539
89660017
SM
25402012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2541
3c98c962
SM
2542 * subr.el (function-get): Refine `autoload' arg so it can also
2543 autoload functions for gv.el (bug#12191).
2544 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2545 autoloads macros.
2546
aa7c6dbe
SM
2547 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2548 Prefer pcase-let over destructuring-bind.
2549 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2550 Also, remove whitespace as we go, rather than after accumulating the
2551 various places.
2552
89660017
SM
2553 * subr.el (internal--before-with-selected-window)
2554 (internal--after-with-selected-window): Fix typo seleted->selected.
2555 (with-selected-window): Adjust callers.
2556 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2557
31cd32c9
BG
25582012-08-13 Bastien Guerry <bzg@gnu.org>
2559
0fcd3d9f 2560 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2561 enhancement. (Bug#12172)
2562
1b15d8ad
AS
25632012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2564
31e54db0
AS
2565 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2566 type 1-6.
2567 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2568 extended headers.
2569
1b15d8ad
AS
2570 * files.el (hack-local-variables-filter): Remove useless eval.
2571
35cb9c06
MR
25722012-08-13 Martin Rudalics <rudalics@gmx.at>
2573
2574 * subr.el (with-selected-window): Fix last change.
2575
1439443b
SM
25762012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * subr.el (internal--before-with-seleted-window)
2579 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2580 (with-selected-window): Use them, to replace dependency on
2581 tty-top-frame.
1439443b 2582
0d9e2599
NN
25832012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2584
2585 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2586 binding for `newline'.
2587 (ruby-move-to-block): When moving backward, stop at block opening,
2588 not indentation.
2589 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2590 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2591 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2592 `ruby-toggle-block'.
2593
ba10c48c
SM
25942012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * ibuffer.el (ibuffer-do-toggle-read-only):
2597 * dired.el (dired-toggle-read-only):
2598 * buff-menu.el (Buffer-menu-toggle-read-only):
2599 * bindings.el (mode-line-toggle-read-only):
2600 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2601
9229c658
AS
26022012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2603
2604 * descr-text.el (describe-char): Put the overlays over the
2605 "displayed as" character.
2606
0fd09128
JB
26072012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2608
2609 * calc/calc-units.el (math-default-units-table): Give an
2610 initial value.
2611 (math-put-default-units): Add options to put composite units and
2612 unit systems in the default units table.
2613 (calc-convert-units): Send composite units to
2614 `math-put-default-units' when appropriate.
2615
9ff9402d 26162012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2617
fbb5e336
GM
2618 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2619
7aacaf15
GM
2620 * tutorial.el (help-with-tutorial):
2621 * emacs-lisp/copyright.el (copyright-update-directory):
2622 * emacs-lisp/autoload.el (autoload-find-generated-file)
2623 (autoload-find-file): Disable local eval: (for insurance).
2624
f40b9f10
GM
2625 * files.el (hack-local-variables-filter): If an eval: form is not
2626 known to be safe, and enable-local-variables is :safe, then ignore
2627 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2628 This is CVE-2012-3479.
f40b9f10 2629
daa9f1a6
SM
26302012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2631
2632 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2633 (rx-form): Simplify.
2634
9cd80478
DG
26352012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2636
0d9e2599
NN
2637 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2638 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2639 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2640 (ruby-syntax-propertize-function): Adjust for changes in
2641 `ruby-syntax-propertize-heredoc'.
2642
26432012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2644
9cd80478
DG
2645 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2646 binding (use `M-;' instead).
9cd80478 2647 (ruby-singleton-class-p): New function.
0d9e2599 2648 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2649
d301b413
SM
26502012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2653
1530c98e
CY
26542012-08-10 Chong Yidong <cyd@gnu.org>
2655
2656 * progmodes/python.el (python-shell-get-process-name): Don't mess
2657 with same-window-buffer-names.
2658
2659 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2660 (eshell-remove-from-window-buffer-names): Make obsolete.
2661 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2662 (eshell): Just use pop-to-buffer-same-window instead.
2663
e1293765
CY
26642012-08-10 Chong Yidong <cyd@gnu.org>
2665
2666 * bindings.el: Bind M-= back to count-words-region.
2667
2668 * simple.el (count-words-region): Accept a prefix arg for acting
2669 on the entire buffer.
2670 (count-words--buffer-message): New helper function.
2671
e1894109
SM
26722012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2673
2674 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2675 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2676 (event-start, event-end): Use posn-at-point to return a more
2677 informative posn.
2678 (posnp): New function.
2679 * mouse.el (popup-menu-normalize-position): Use it.
2680
c69f56a2
MY
26812012-08-10 Masatake YAMATO <yamato@redhat.com>
2682
2683 * mouse.el (popup-menu-normalize-position): New function.
2684 (popup-menu): Use `popup-menu-normalize-position' to normalize
2685 the form for POSITION argument.
2686
2687 * term/x-win.el (x-menu-bar-open):
2688 Use the value returend from (posn-at-point) as position
2689 passed to `popup-menu'.
2690
31673780
JB
26912012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2692
2693 * calc/calccomp.el (math-compose-expr): Add extra argument
2694 indicating that parentheses should be put around products in
2695 denominators. Give multiplication precedence over division during
2696 composition.
2697
dab7711b
CY
26982012-08-09 Chong Yidong <cyd@gnu.org>
2699
dee4ef93
CY
2700 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2701 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2702 (Man-untabify-command, manual-program): Convert to defcustom
2703 (Bug#10429).
2704
73e2bbc5
CY
2705 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2706
3e861c8a
CY
2707 * descr-text.el (describe-char): Don't insert extra newlines
2708 (Bug#10127).
2709
a9f5a649
CY
2710 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2711 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2712
dab7711b
CY
2713 * align.el (align-region): Delete temporary markers (Bug#10047).
2714 Plus some code cleanups.
2715
e0cc4efa
FEG
27162012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2717
2718 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2719 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2720 (python-shell-internal-last-output): Use make-local-variable
2721 instead of make-variable-buffer-local.
2722
489af14f
FEG
27232012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2724
2725 * progmodes/python.el: Enhancements to forward-sexp.
2726 (python-nav-forward-sexp): Rename from
2727 python-nav-forward-sexp-function.
c69f56a2
MY
2728 (python-nav--forward-sexp, python-nav--backward-sexp):
2729 New functions.
489af14f 2730
0fc50303
JB
27312012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2732
2733 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2734 modes and simplification modes.
2735
5d65606a
SM
27362012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * delsel.el (delete-selection-pre-hook): Don't propagate the
2739 file-supersession signals (bug#12161).
2740
4250fdf5
SM
27412012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2744 (cl-map-extents): Add compatibility aliases (bug#12135).
2745
d9f9b465
MA
27462012-08-08 Michael Albinus <michael.albinus@gmx.de>
2747
2748 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2749 tests by `ignore-error'.
2750 (tramp-find-shell): Open also a new shell, when cache is already
2751 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2752
ce0fcefa
JL
27532012-08-08 Juri Linkov <juri@jurta.org>
2754
2755 * bookmark.el: Add `defaults' property to the bookmark record.
2756 (bookmark-current-buffer): Doc fix.
2757 (bookmark-make-record): Add `defaults' property with default values
2758 to the bookmark record.
2759 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2760 with `bookmark-insert-current-bookmark'.
2761 (bookmark-set): Get `defaults' property from the bookmark record
2762 and use it in `read-from-minibuffer'.
2763 (bookmark-insert-current-bookmark): Remove function.
2764
2765 * info.el (Info-bookmark-make-record): Add `defaults' property
2766 with values of canonical Info node name, the current Info file
2767 name and the current Info node name. (Bug#12107)
2768
53fa8652
JL
27692012-08-08 Juri Linkov <juri@jurta.org>
2770
2771 * files.el (basic-save-buffer): Use `buffer-name' as the default
2772 of `read-file-name' when buffer is not visiting a file (bug#12128).
2773
242c0a95
JL
27742012-08-08 Juri Linkov <juri@jurta.org>
2775
2776 * info.el (Info-isearch-search): Doc fix.
2777 (Info-search): Change search-failed message from "initial node" to
2778 "end of node" (bug#12078).
2779 (Info-isearch-search): Change `isearch-string-state' to
2780 `isearch--state-string'.
2781
32ac3a6b
GM
27822012-08-08 Glenn Morris <rgm@gnu.org>
2783
2784 * language/persian.el: Remove file.
f8c1afd5 2785 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2786 * loadup.el: Remove language/persian.
2787
2c2d9c9c
OF
27882012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2789
2790 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2791
2d79ec42
FEG
27922012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2793
2794 * progmodes/python.el Fixed defsubst warning.
2795 (python-syntax-context) Rename from python-info-ppss-context.
2796 (python-syntax-context-type): Rename from
2797 python-info-ppss-context-type.
2798 (python-syntax-comment-or-string-p): Rename from
2799 python-info-ppss-comment-or-string-p.
2800
2bd255dd
JB
28012012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2802
2803 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2804
c395097f
AS
28052012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2806
6125983e
AS
2807 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2808 a defcustom that is quoted with backquote.
2809
4250fdf5
SM
2810 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2811 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2812 (math-do-arg-check, math-define-function-body): Use backquote forms.
2813 * calc/calc-ext.el (math-defcache): Likewise.
2814 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2815 * allout.el (allout-new-exposure): Likewise.
2816 * calc/calcalg2.el (math-tracing-integral): Likewise.
2817 * info.el (Info-last-menu-item): Likewise.
2818 * emulation/vip.el (vip-loop): Likewise.
2819 * textmodes/artist.el (artist-funcall): Likewise.
2820 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2821 Construct menu-item directly.
2822
4250fdf5
SM
2823 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2824 Don't declare.
c395097f 2825
5fb50dd3
CY
28262012-08-07 Chong Yidong <cyd@gnu.org>
2827
2828 * simple.el (deactivate-mark): Preserve text properties when
2829 saving the primary selection (Bug#8384).
2830
54eea618
KR
28312012-08-07 Kevin Ryde <user42@zip.com.au>
2832
2833 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2834 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2835 and continue processing (Bug#12110).
2836
638eaeb9
SM
28372012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2840 syntax-propertize-function (bug#10095).
2841
ea376861
SM
28422012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2843
f91b35be
SM
2844 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2845 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2846 describe-function-1.
2847 (describe-function-1): Use them. Move compiler macro after sig.
2848 (help-fns--compiler-macro): Use function-get. Assume we're already in
2849 standard-output. Adjust layout to new call order.
2850
ea376861
SM
2851 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2852 re-binding a symbol that has a symbol-macro (bug#12119).
2853
d5be7bd0
MB
28542012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2855
2856 * language/persian.el: New file. (Bug#11812)
2857 * loadup.el: Add language/persian.el.
2858
90749b53
CY
28592012-08-06 Chong Yidong <cyd@gnu.org>
2860
2861 * window.el (window--maybe-raise-frame): New function.
2862 (window--display-buffer): Split off from here.
2863 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2864 (display-buffer-pop-up-window, display-buffer-use-some-window):
2865 Obey an inhibit-switch-frame action alist entry.
2866 (display-buffer): Update doc.
2867
2868 * replace.el (occur-after-change-function): Avoid losing focus by
2869 using the inhibit-switch-frame display parameter (Bug#12139).
2870
ba7b0154
FEG
28712012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2872
2873 Make internal shell process buffer names start with space.
2874 * progmodes/python.el (python-shell-make-comint): Add optional
2875 argument INTERNAL.
2876 (run-python-internal): Use it.
2877 (python-shell-internal-get-or-create-process): Check for new
2878 internal buffer names.
2879
5eaeacb5
GM
28802012-08-06 Glenn Morris <rgm@gnu.org>
2881
e296d94b 2882 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2883 Do less getting and setting of environment variables.
2884
b7ccbdc2
CY
28852012-08-05 Chong Yidong <cyd@gnu.org>
2886
777fe95e
CY
2887 * proced.el (proced): Add substitution string to docstring to
2888 trigger autoloading of the proced library on C-h f (Bug#1768).
2889
4250fdf5
SM
2890 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2891 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2892
2893 * imenu.el (imenu-generic-expression): Move documentation here
2894 from imenu--generic-function.
2895 (imenu--generic-function): Refer to imenu-generic-expression.
2896
9e3b7800 28972012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2898
2899 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2900 indentation declaration.
2901 (viper-loop): Add indentation declaration (Bug#7025).
2902
e5d9c0d1
CY
29032012-08-05 Chong Yidong <cyd@gnu.org>
2904
f0422feb
CY
2905 * help-fns.el (describe-variable): Add hyperlink for
2906 directory-local variables files. Improve buffer-local and
2907 permanent-local reporting; suggested by MON KEY (Bug#6644).
2908
2909 * help-mode.el (help-dir-local-var-def): New button type.
2910
e5d9c0d1
CY
2911 * files.el (kill-buffer-hook): Provide a defvar.
2912
a4f2deaa
GM
29132012-08-05 Glenn Morris <rgm@gnu.org>
2914
2915 * eshell/esh-ext.el (eshell/addpath):
2916 Also update eshell-path-env. (Bug#12013)
2917
a9dd5754
CY
29182012-08-05 Chong Yidong <cyd@gnu.org>
2919
a4f2deaa 2920 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2921
d014c740
CY
2922 * fringe.el (fringe-styles): Add docstring.
2923 (fringe--check-mode): New function.
2924 (set-fringe-mode, set-fringe-style): Use it.
2925 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2926
a9dd5754
CY
2927 * files.el (set-auto-mode): Fix invalid setq call.
2928
7c2dc8bd
SM
29292012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * isearch.el: Misc simplification; use defstruct.
2932 (isearch-mode-map): Dense maps now work like sparse ones.
2933 (isearch--state): New defstruct.
2934 (isearch-string-state, isearch-message-state, isearch-point-state)
2935 (isearch-success-state, isearch-forward-state)
2936 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2937 (isearch-wrapped-state, isearch-barrier-state)
2938 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2939 replaced by defstruct's accessors.
2940 (isearch--set-state): Rename from isearch-top-state and change
2941 calling convention.
2942 (isearch-push-state): Use new isearch--get-state.
2943 (isearch-toggle-word): Disable regexp when enabling word.
2944 (isearch-message-prefix): Remove unused arg _c-q-hack.
2945 (isearch-message-suffix): Remove unused arg _ellipsis.
2946
7fcc0070
AS
29472012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2948
2949 * simple.el (list-processes--refresh): For a server use :host or
2950 :local as the address.
97ad0769 2951 (list-processes): Doc fix.
7fcc0070 2952
a11035b8 29532012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2954
2955 * lisp/mpc.el: Support password in host argument.
2956 (mpc--proc-connect): Parse and use new password element.
2957 Set mpc-proc variable instead of returning process.
2958 (mpc-proc): Adjust accordingly.
2959
6dad7178
EZ
29602012-08-03 Eli Zaretskii <eliz@gnu.org>
2961
18949c2f
EZ
2962 * whitespace.el (whitespace-display-mappings): Use Unicode
2963 codepoints, instead of emacs-mule codepoints. See
2964 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2965 for the details.
2966
6dad7178
EZ
2967 * files.el (file-truename): Don't skip symlink-chasing part on
2968 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2969 Windows into the loop that recursively chases symlinks.
2970 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2971 MS-DOS.
2972
385b0198
CY
29732012-08-03 Chong Yidong <cyd@gnu.org>
2974
6200f3c4
CY
2975 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2976
385b0198
CY
2977 * sort.el (sort-regexp-fields): Doc fix.
2978
b9e74744
TH
29792012-08-03 Tassilo Horn <tsdh@gnu.org>
2980
2981 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2982 labels regex position point at the expected place.
2983
41013cb4
MK
29842012-08-03 MON KEY <monkey@sandpframing.com>
2985
2986 * net/imap.el (imap-interactive-login, imap-authenticate)
2987 (imap-mailbox-lsub, imap-mailbox-list)
2988 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2989 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2990 (imap-parse-response): Doc fix.
2991
0ffee616
JT
29922012-08-03 João Távora <joaotavora@gmail.com>
2993
2994 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2995 if sexp scanning does not move point (Bug#5734).
2996
cfcc9cc8
TH
29972012-08-02 Tassilo Horn <tsdh@gnu.org>
2998
2999 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3000 Add listings, minted, and ctable packages.
3001 (reftex-label-alist-builtin): Move listings, minted, and ctable
3002 entries before LaTeX.
a01bbb84 3003 (reftex-label-alist): Docfix.
cfcc9cc8 3004
66ec2442
BG
30052012-08-02 Bastien Guerry <bzg@gnu.org>
3006
3007 * replace.el (occur): Fix docstring (bug#12122).
3008
837b365b
GM
30092012-08-02 Glenn Morris <rgm@gnu.org>
3010
3011 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3012
e098de97
PE
30132012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3014
3015 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3016 * international/mule-cmds.el: Create
3017 inactivate-current-input-method-function as an obsolete alias for
3018 deactivate-current-input-method-function. See Katsumi Yamaoka in
3019 <http://bugs.gnu.org/10150#46>.
3020
a0f95636
JB
30212012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3022
3023 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3024 of nested `if's.
3025
0d26d7c4
GM
30262012-08-01 Glenn Morris <rgm@gnu.org>
3027
3028 * progmodes/autoconf.el (autoconf-definition-regexp):
3029 Add AH_TEMPLATE, adjust submatch numbering.
3030 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3031 (autoconf-current-defun-function): Update for above change.
3032 (autoconf-current-defun-function): First skip to end of current word.
3033
b686ba06
RS
30342012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3035
3036 * calendar/cal-html.el (cal-html-insert-agenda-days):
3037 Fix typo. (Bug#12018)
3038
0d49da68
FEG
30392012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3040
3041 Shell processes: enhancements to startup and CEDET compatibility.
3042 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3043 (python-shell-make-comint): accept-process-output at startup.
3044 (run-python-internal): Set inferior-python-mode-hook to nil.
3045 (python-shell-internal-get-or-create-process): call sit-for.
3046 (python-preoutput-result): Add obsolete alias.
3047 (python-shell-internal-send-string): Use it.
3048 (python-shell-send-setup-code): Remove call to
3049 accept-process-output.
3050
f1a71c6e
AS
30512012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3052
3053 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3054 (Bug#12108)
3055
d2605269
JB
30562012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3057
3058 * calc-mode.el (calc-basic-simplification-mode): Rename from
3059 `calc-limited-simplification-mode'.
3060 (calc-alg-simplification-mode): New function.
fc0c31f8 3061 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3062
d2605269
JB
3063 * calc.el (calc-set-mode-line): Adjust mode line display for
3064 basic simplification mode.
3065
3066 * calc-help.el (calc-m-prefix-help): Update help message.
3067
3068 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3069 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3070
a3827a43
BG
30712012-07-31 Bastien Guerry <bzg@gnu.org>
3072
3073 * man.el (man): Fix comment. (bug#12101)
3074
502e3f89
MR
30752012-07-31 Martin Rudalics <rudalics@gmx.at>
3076
3077 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3078 Don't return a non-nil value when no suitable buffer was found.
3079
d7714961
FEG
30802012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3081
3082 * progmodes/python.el (run-python-internal): Disable font lock for
3083 internal shells.
3084
1f45e27e
SM
30852012-07-30 Stefan Merten <smerten@oekonux.de>
3086
70efc5c9 3087 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3088 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3089 (rst-official-version, rst-official-cvs-rev)
3090 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3091 (rst-mode-map): New key binding.
3092
0aee6912
PE
30932012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3094
3095 Update .PHONY listings in makefiles.
3096 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3097 autoloads, update-subdirs, updates, bzr-update, update-authors,
3098 compile-onefile, compile-calc, backup-compiled-files,
3099 compile-after-backup, compile-one-process, mh-autoloads,
3100 bootstrap-clean, distclean, maintainer-clean.
3101
9052f9f0
JB
31022012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3103
1823ac5a
JB
3104 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3105 (calc-set-mode-line): Don't display "AlgSimp ".
3106
3107 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3108 (calc-lim-simplify-mode): New function.
3109 (calc-set-simplify-mode): Default to 'alg.
3110 (calc-default-simplify-mode): Make algebraic simplifications
3111 the default.
3112
3113 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3114 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3115
8d7c7eed 3116 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3117 indicate new simplification modes.
3118
1823ac5a
JB
3119 * calc/README: Mention new default simplification mode.
3120
9052f9f0
JB
3121 * calc/calc.el (math-normalize-error): New variable.
3122 (math-normalize): Set `math-normalize-error' to t
3123 when there's an error.
3124
3125 * calc/calc-alg.el (math-simplify): Don't simplify when
3126 `math-normalize' returns an error.
3127
20ba0cb4
EZ
31282012-07-29 Eli Zaretskii <eliz@gnu.org>
3129
3130 * international/mule-cmds.el (set-locale-environment): Revert last
3131 change, since display-graphic-p returns nil when this function is
3132 called during startup. Instead...
3133
3134 * term/w32console.el (terminal-init-w32console): ...setup the
3135 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3136
a5dcc929
JL
31372012-07-29 Juri Linkov <juri@jurta.org>
3138
3139 * simple.el (goto-line): Don't display default line number in the
3140 prompt because it should be displayed by `read-number' (bug#9952).
3141 Add the current line number to the defaults of `goto-line' to
3142 allow its easier modification by users with `M-n' (bug#9201).
3143
3144 * subr.el (read-number): Support multiple default values like in
3145 other minibuffer reading functions. Replace `read' with
3146 `string-to-number' for consistency with `number-to-string'.
3147
72b255c7
PE
31482012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3149
3150 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3151 * emulation/viper-init.el (viper-deactivate-input-method-action):
3152 Rename from viper-inactivate-input-method-action.
3153 (viper-deactivate-input-method):
3154 Rename from viper-inactivate-input-method.
3155 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3156 * international/mule-cmds.el (deactivate-input-method):
3157 Rename from inactivate-input-method.
3158 Also run input-method-deactivate-hook.
3159 (deactivate-current-input-method-function):
3160 Rename from inactivate-current-input-method-function.
3161 (input-method-deactivate-hook): New hook.
3162 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3163 (inactivate-input-method): Mark obsolete.
3164
72b255c7
PE
3165 * international/quail.el (quail-activate):
3166 Also run quail-deactivate-hook.
3167 (quail-deactivate): Rename from quail-inactivate.
3168 * international/robin.el (robin-activate):
3169 Also run robin-deactivate-hook.
3170 (robin-deactivate): Rename from robin-inactivate.
3171
2549c068
CY
31722012-07-29 Chong Yidong <cyd@gnu.org>
3173
3174 * simple.el (indicate-copied-region): New function.
3175 (kill-ring-save): Split off from here.
3176
3177 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3178 (kill-rectangle): Set deactivate-mark to t on read-only error.
3179
3180 * register.el (copy-to-register, copy-rectangle-to-register):
3181 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3182 (append-to-register, prepend-to-register): Call indicate-copied-region.
3183
31842012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3185
3186 * simple.el (async-shell-command-buffer): New defcustom.
3187 (shell-command): Use it. (Bug#4719)
3188
01bd1b0d
EZ
31892012-07-28 Eli Zaretskii <eliz@gnu.org>
3190
3191 * international/mule-cmds.el (set-locale-environment): In a
3192 console session on MS-Windows, set up keyboard and terminal
3193 encoding from the OEM codepage, not the ANSI codepage.
3194 (Bug#12055)
3195
a55739d3
CY
31962012-07-28 Chong Yidong <cyd@gnu.org>
3197
3198 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3199 gdb-get-location.
3200
0e1a094f 32012012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3202
3203 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3204 the alist (bug#12029).
3205
20329d73
EZ
32062012-07-28 Eli Zaretskii <eliz@gnu.org>
3207
3208 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3209 (compile-always, compile-first)
3210 ($(lisp)/calendar/cal-loaddefs.el)
3211 ($(lisp)/calendar/diary-loaddefs.el)
3212 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3213 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3214 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3215 instead of on update-subdirs.
3216 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3217
345a2258
CY
32182012-07-28 Chong Yidong <cyd@gnu.org>
3219
1eee6341
CY
3220 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3221 directory if vc-deduce-backend returns nil (Bug#7350).
3222
345a2258
CY
3223 * simple.el (delete-trailing-lines): New option.
3224 (delete-trailing-whitespace): Obey it (Bug#11879).
3225
049a0936
DE
32262012-07-28 David Engster <deng@randomsample.de>
3227
3228 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3229 Explanation of new 'symbol-qnames feature in doc-strings.
3230 (xml-maybe-do-ns): Return expanded names as plain symbols if
3231 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3232 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3233
aa81af71
FEG
32342012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3235
3236 Consistent completion in inferior python with emacs -nw.
3237 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3238 binding in inferior-python-mode-map with "\t".
3239 (python-shell-completion-complete-at-point)
3240 (python-completion-complete-at-point): Remove interactive spec.
3241
e827b1eb
JB
32422012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3243
3244 * calc/calccomp.el (math-compose-expr): Undo previous change.
3245
a90dfb95
FEG
32462012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3247
4250fdf5 3248 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3249 run-python.
3250 (python-shell-make-comint): Fix pop-to-buffer call.
3251 (run-python): Autoload. New arg SHOW.
3252 (python-shell-get-or-create-process): Do not pop python process
3253 buffer.
3254
32770973 32552012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3256
3257 * notifications.el (notifications-on-action-signal)
3258 (notifications-on-closed-signal): Use also the bus address for the map.
3259 (notifications-notify, notifications-close-notification)
fc0c31f8 3260 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3261
86332df2
TH
32622012-07-27 Tassilo Horn <tsdh@gnu.org>
3263
4250fdf5
SM
3264 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3265 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3266 ctable macro.
3267 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3268 labels written in keyvals syntax.
3269
ca1302a4
JB
32702012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3271
3272 * calc/calccomp.el (math-compose-expr): Use parentheses when
3273 there is a product in the denominator of a fraction.
3274
f8b91036
EZ
32752012-07-26 Eli Zaretskii <eliz@gnu.org>
3276
3277 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3278 ($(lisp)/calendar/diary-loaddefs.el)
3279 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3280 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3281 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3282 rewritten while the autoload files are built at the same time,
3283 which needs to load subdirs.el.
3284
c8e5a42c
MR
32852012-07-26 Martin Rudalics <rudalics@gmx.at>
3286
3287 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3288 (mouse-drag-line): Don't exit tracking when a switch-frame or
3289 switch-window event occurs (Bug#12006).
3290
670d85ea
SM
32912012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3292
3293 * mouse.el (popup-menu): Fix last change.
3294
7abaf5cc
SM
32952012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 Autoload from Lisp with more care. Follow aliases when looking for
3298 function properties.
3299 * subr.el (autoloadp): New function.
3300 (symbol-file): Use it.
3301 (function-get): New function.
3302 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3303 autoload-do-load.
3304 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3305 (lisp-indent-function):
3306 * emacs-lisp/gv.el (gv-get):
3307 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3308 * emacs-lisp/byte-opt.el (byte-optimize-form):
3309 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3310 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3311 Use function-get.
3312 * emacs-lisp/cl.el: Don't propagate function properties any more.
3313
3314 * speedbar.el (speedbar-add-localized-speedbar-support):
3315 * emacs-lisp/disass.el (disassemble-internal):
3316 * desktop.el (desktop-load-file):
3317 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3318 (describe-function-1):
3319 * emacs-lisp/find-func.el (find-function-noselect):
3320 * emacs-lisp/elp.el (elp-instrument-function):
3321 * emacs-lisp/advice.el (ad-has-proper-definition):
3322 * apropos.el (apropos-safe-documentation, apropos-macrop):
3323 * emacs-lisp/debug.el (debug-on-entry):
3324 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3325 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3326 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3327
b1364986
AA
33282012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3329
3330 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3331 function, not an obsolete variable (Bug#12046).
3332
67ada220
AS
33332012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3334
3335 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3336
f08088e3
CS
33372012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3338
3339 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3340 window only if it is still live (Bug#12034).
3341
8137e7b3
MR
33422012-07-25 Martin Rudalics <rudalics@gmx.at>
3343
3344 * subr.el (redirect-frame-focus): Add advertised calling
3345 convention (Bug#12030).
3346
09ae5da1
PE
33472012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3348
3349 Prefer typical American spelling for "acknowledgment".
3350 * vc/add-log.el (change-log-acknowledgment): Rename from
3351 change-log-acknowledgement, with an alias for the old name.
3352
3cc5a3a8
JB
33532012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3354
3355 * calc-alg.el (math-simplify-divide): Don't cross multiply
3356 in an equation when the lhs is a variable.
3357
b7af7f62
JD
33582012-07-24 Julien Danjou <julien@danjou.info>
3359
3360 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3361 Remove, unused.
3362
ec1b09b1
EZ
33632012-07-23 Eli Zaretskii <eliz@gnu.org>
3364
3365 * startup.el (command-line): Don't display an empty user name in
3366 the error message about non-existent home directory, when
3367 init-file-user was set to an empty string. See
3368 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3369 for the details and context.
3370
b525fd8a
VB
33712012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3372
3373 * ses.el (ses-cell-formula-aset): New macro.
3374 (ses-cell-references-aset): New macro.
3375 (ses-cell-p): New function.
3376 (ses-rename-cell): Do no longer rely on complex operations like
3377 ses-cell-set-formula or ses-set-cell to change the cell and handle
3378 the undo at the same time, but rather use lower level new macros
3379 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3380 the undo directly. Refresh the mode line.
b525fd8a 3381
2c73e345
LL
33822012-07-21 Leo Liu <sdl.web@gmail.com>
3383
670d85ea
SM
3384 * progmodes/cc-cmds.el (c-defun-name):
3385 Use match-string-no-properties instead for consistency.
2c73e345 3386
542dfbde
LL
33872012-07-20 Leo Liu <sdl.web@gmail.com>
3388
3646bcd6
LL
3389 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3390 (Bug#7879)
3391
542dfbde
LL
3392 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3393
25721031
CY
33942012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3397 * progmodes/bug-reference.el, misearch.el: Provide themselves
3398 (bug#11915).
3399
3400 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3401 of narrowed buffer (bug#11966).
3402
316e68a7
VB
34032012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3404
3405 * ses.el (ses-rename-cell): Set new name also in reference list of
3406 cells of which the renamed cell depends.
3407
bbf0e7d9
MY
34082012-07-20 Masatake YAMATO <yamato@redhat.com>
3409
3410 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3411 to check whether menu-bar is shown or not. If not shown,
3412 show the menu-bar as a popup menu instead of using tmm.
3413 * mouse.el (popup-menu): Accept `point' as `position' argument.
3414
c28662a8
DG
34152012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3416
3417 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3418 up inside string symbol literal (bug#11923).
3419
87ab808f
EZ
34202012-07-20 Eli Zaretskii <eliz@gnu.org>
3421
3422 * startup.el (fancy-startup-text): Read the whole tutorial, not
3423 just its first 256 bytes. Prevents gibberish in display of the
3424 tutorial title.
3425
89dea803
DA
34262012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3427
3428 Drop idle buffer compaction due to an absence of the
3429 proved efficiency.
3430 * compact.el: Remove.
3431
8a4e6db8
SS
34322012-07-19 Sam Steingold <sds@gnu.org>
3433
3434 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3435 vc-bzr-pull & vc-bzr-merge-branch.
3436 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3437 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3438 for consistency with compilation-error-regexp-alist.
3439 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3440 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3441 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3442 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3443
5db81e33
SM
34442012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * emacs-lisp/chart.el: Use lexical-binding.
3447 (chart-emacs-storage): Don't hardcode the list of entries.
3448
5b835e1d
DA
34492012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3450
3451 Next round of tweaks caused by Fgarbage_collect changes.
3452 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3453
9cd47b72
DA
34542012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3455
3456 Compact buffers when idle.
3457 * compact.el: New file.
3458
1d6fc0df
SM
34592012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * subr.el (eventp): Presume that if it looks vaguely like an event,
3462 it's an event (bug#10190).
3463
1d29cc7d
FEG
34642012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3465
3466 Enhancements to ppss related code (thanks Stefan).
3467 * progmodes/python.el (python-indent-context)
3468 (python-indent-calculate-indentation, python-indent-dedent-line)
3469 (python-indent-electric-colon, python-nav-forward-block)
3470 (python-mode-abbrev-table)
1d6fc0df 3471 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3472 for ppss context.
3473 (python-info-continuation-line-p): Cleanup.
3474 (python-info-ppss-context): Do not catch 'quote.
3475 (python-info-ppss-context-type)
3476 (python-info-ppss-comment-or-string-p): Simplify.
3477
d583cbe6
FEG
34782012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3479
3480 * progmodes/python.el: Enhancements to eldoc support.
3481 (python-info-current-symbol): New function.
3482 (python-eldoc-at-point): Use python-info-current-symbol.
3483 (python-info-current-defun): Fix cornercase on first defun scan.
3484 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3485 and signal error when no inferior python process is available.
3486
eceb6feb
DG
34872012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3488
3489 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3490 assume it's always t.
3491 (vc-git-registered): Remove caching, the function is only called
3492 once.
3493 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3494
4c8ff0fe
CY
34952012-07-18 Chong Yidong <cyd@gnu.org>
3496
19fb7186
CY
3497 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3498
9587c688
CY
3499 * simple.el (count-words): Report on narrowing (Bug#9959).
3500
0fe776a1
CY
3501 * bindings.el: Bind M-= to count-words.
3502
4c8ff0fe
CY
3503 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3504
7f5331cc
MY
35052012-07-18 Masatake YAMATO <yamato@redhat.com>
3506
3507 * progmodes/sh-script.el (sh-imenu-generic-expression):
3508 Capture a function with `function' keyword and without parentheses
3509 like "function FOO" (bug#11856).
3510
2dc2a609
TH
35112012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3512
3513 * window.el (split-window-sensibly): Make WINDOW argument
3514 optional.
3515
439f7677
CY
35162012-07-18 Chong Yidong <cyd@gnu.org>
3517
9aeb25a6
CY
3518 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3519
439f7677
CY
3520 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3521 and make C-x 8 RET exit isearch (Bug#11439).
3522
3523 * international/iso-transl.el: Move isearch-mode-map key
3524 definitions to isearch.el.
3525
12999ea8
SM
35262012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3529 (eieio-defclass): Use gv-define-setter when possible.
3530
3ab6e069
DA
35312012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3532
3533 Reflect recent changes in Fgarbage_collect.
3534 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3535 reflect new format of data returned by Fgarbage_collect.
3536
0a60bc10
FEG
35372012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3538
3539 New utility functions + python-info-ppss-context fix (Bug#11910).
3540 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3541 (python-info-ppss-comment-or-string-p): New functions.
3542 (python-info-ppss-context): Small fix for string check.
3543
6dafa0d5
JL
35442012-07-17 Juri Linkov <juri@jurta.org>
3545
3546 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3547 (dired-do-async-shell-command): Don't add `*' at the end of the
3548 command (Bug#11815).
3549 (dired-do-shell-command): Doc fix.
3550 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3551 Join the individual commands using either "&" or ";" as the
3552 separator depending on the values of these trailing characters.
3553 At the end re-add the trailing "&". (Bug#10598)
3554
3555 * simple.el (async-shell-command): Sync the interactive spec with
3556 `shell-command'. Doc fix.
3557 (shell-command): Doc fix.
3558
b19dd9d1
JL
35592012-07-17 Juri Linkov <juri@jurta.org>
3560
3561 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3562
bcdc27d7 35632012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3564
bcdc27d7 3565 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3566 * progmodes/python.el (python-nav-beginning-of-statement):
3567 Rename from python-nav-statement-start.
bcdc27d7
FEG
3568 (python-nav-end-of-statement): Rename from
3569 python-nav-statement-end.
3570 (python-nav-beginning-of-block): Rename from
3571 python-nav-block-start.
3572 (python-nav-end-of-block): Rename from python-nav-block-end.
3573
191da00e
FEG
35742012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3575
7f5331cc
MY
3576 * progmodes/python.el (python-shell-send-string-no-output):
3577 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3578 future interactions (Bug#11868).
3579
4dc7c8d5 35802012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3581
88ecaf8f
SM
3582 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3583
ef501ef0
SM
3584 * emacs-lisp/elint.el (elint-find-args-in-code):
3585 Use help-function-arglist, so as to handle lexical byte-code.
3586
aa7aaf8f
SM
3587 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3588 change (bug#11826).
3589
45fd731c
SM
35902012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3591
2143fa32
SM
3592 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3593 Avoid spuriously marking the buffer as modified because of c-is-sws.
3594
efc26dbe
SM
3595 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3596 as not-a-comment (bug#11946).
3597
f5695c9a
SM
3598 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3599 for uninterned vars.
3600
3601 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3602 Use read-event since we don't really want to read chars but bytes.
3603
45fd731c
SM
3604 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3605 $$..$$ but also $..$ using regexps (bug#11953).
3606 Use tex-verbatim for \url and \path.
3607 (tex-font-lock-keywords): Define as defconst like the others.
3608 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3609
ddfc8813
RK
36102012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3611
3612 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3613 alias for insert-char.
3614
758e556a
FEG
36152012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3616
3617 * progmodes/python.el: Simplified imenu implementation.
3618 (python-nav-jump-to-defun): Remove command.
3619 (python-mode-map): Use `imenu' instead.
3620 (python-nav-list-defun-positions-cache)
3621 (python-imenu-include-defun-type, python-imenu-make-tree)
3622 (python-imenu-subtree-root-label, python-imenu-index-alist):
3623 Remove vars.
3624 (python-nav-list-defun-positions, python-nav-read-defun)
3625 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3626 (python-imenu-make-tree, python-imenu-create-index):
3627 Remove functions.
758e556a
FEG
3628 (python-mode): Update to interact with imenu by setting
3629 `imenu-extract-index-name-function' only.
3630
032d23ab
FEG
36312012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3632
3633 * progmodes/python.el: Enhancements to navigation commands.
3634 (python-nav-backward-sentence)
3635 (python-nav-forward-sentence): Remove.
3636 (python-nav-backward-statement, python-nav-forward-statement)
3637 (python-nav-statement-start, python-nav-statement-end)
3638 (python-nav-backward-block, python-nav-forward-block)
3639 (python-nav-block-start, python-nav-block-end)
3640 (python-nav-forward-sexp-function)
3641 (python-info-current-line-comment-p)
3642 (python-info-current-line-empty-p): New functions.
3643 (python-indent-context): Use `python-nav-statement-start'.
3644
01795a1b
MA
36452012-07-16 Michael Albinus <michael.albinus@gmx.de>
3646
9328d9aa
MA
3647 * eshell/em-ls.el (eshell/ls): Use `apply'.
3648
3649 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3650 multi-hops, instead of Tramp internals.
3651
01795a1b
MA
3652 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3653
3654 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3655 when F1 and F2 are located on different hosts.
3656
63408057
CY
36572012-07-14 Chong Yidong <cyd@gnu.org>
3658
3659 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3660 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3661 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3662 (xterm-mouse--read-event-sequence-1000)
3663 (xterm-mouse--read-event-sequence-1006): New functions. For old
3664 mouse protocol, handle M-mouse-X events correctly.
3665 (xterm-mouse-event): New arg specifying mouse protocol.
3666 (turn-on-xterm-mouse-tracking-on-terminal)
3667 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3668 sequence to toggle extended coordinates on newer XTerms.
3669 This appears to be harmless on terminals which do not support this.
63408057 3670
cd276f6e
LL
36712012-07-14 Leo Liu <sdl.web@gmail.com>
3672
28ca98ac
LL
3673 Add fringe bitmap indicators for flymake. (Bug#11253)
3674 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3675 (flymake-make-overlay): New arg BITMAP.
3676 (flymake-error-bitmap, flymake-warning-bitmap)
3677 (flymake-fringe-indicator-position): New user variables.
3678
cd276f6e
LL
3679 * fringe.el: New bitmap exclamation-mark.
3680
04408072
JD
36812012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3682
3683 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3684 also (Bug#7879).
3685
b5cf7fc4
CY
36862012-07-14 Chong Yidong <cyd@gnu.org>
3687
3688 * electric.el (electric-pair-post-self-insert-function): Fix pair
3689 insertion in empty-region case (Bug#11520).
3690
be755c79
RT
36912012-07-14 Chong Yidong <cyd@gnu.org>
3692
45fd731c
SM
3693 * bindings.el: Consolidate ctl-x-r-map bindings.
3694 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3695
3696 * rect.el, register.el: Move bindings to bindings.el.
3697
36982012-07-14 Reuben Thomas <rrt@sc3d.org>
3699
3700 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3701
7f5b3198
AS
37022012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3703
3704 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3705
97662200
JB
37062012-07-13 Juanma Barranquero <lekktu@gmail.com>
3707
80185fed
JB
3708 * bindings.el (top): Use `mapc' instead of `mapcar'.
3709
97662200
JB
3710 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3711
2bb1ae55
MA
37122012-07-13 Michael Albinus <michael.albinus@gmx.de>
3713
3714 * progmodes/sql.el (sql-comint): Suppress the check for program on
3715 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3716 (Bug#11908)
3717
dea31bd3
CY
37182012-07-13 Chong Yidong <cyd@gnu.org>
3719
3720 * bindings.el: Assign a non-nil permanent-local property to
3721 per-buffer variables which lack a default value (Bug#11930).
3722
3723 * help-fns.el (describe-variable): In the "automatically becomes
3724 local" notice, take note of permanent-local variables.
3725
b68b3337
CY
37262012-07-13 Chong Yidong <cyd@gnu.org>
3727
3728 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3729 to allow printing the message when called from Lisp.
3730
3731 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3732 Remove toggle-read-only.
3733
3734 * bs.el (bs-toggle-readonly):
45fd731c
SM
3735 * buff-menu.el (Buffer-menu-toggle-read-only):
3736 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3737
3738 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3739 Remove with-no-warnings around toggle-read-only.
3740 (ffap-read-only, ffap-read-only-other-window)
3741 (ffap-read-only-other-frame): Callers changed.
3742
3743 * help-mode.el: Don't require view package.
3744 (help-mode-finish): Set buffer-read-only instead of calling
3745 toggle-read-only.
3746
3747 * bindings.el (mode-line-toggle-read-only):
3748 * dired.el (dired-toggle-read-only):
3749 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3750 with non-nil second arg.
3751
3752 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3753 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3754 directly.
3755
56bc1586
EZ
37562012-07-12 Eli Zaretskii <eliz@gnu.org>
3757
3758 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3759 not incf.
3760
a464a6c7
SM
37612012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 More CL cleanups and reduction of use of cl.el.
3764 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3765 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3766 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3767 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3768 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3769 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3770 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3771 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3772 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3773 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3774 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3775 * eshell/em-cmpl.el, eshell/em-banner.el:
3776 * calendar/parse-time.el: Use cl-lib.
3777 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3778 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3779 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3780 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3781 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3782 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3783 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3784 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3785 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3786 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3787 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3788 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3789 `lambda' rather than with `quote'.
3790 (eshell-do-opt): Adjust accordingly.
3791 (eshell-process-option): Simplify.
3792 * eshell/esh-var.el:
3793 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3794 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3795 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3796 to `pcase--dontcare'.
3797 * emacs-lisp/cl.el (labels): Mark obsolete.
3798 (cl--letf, letf): Move to cl-lib.
3799 (cl--letf*, letf*): Remove.
3800 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3801 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3802 (cl-progv): Rewrite.
3803 (cl--letf, cl-letf): Move from cl.el.
3804 (cl-letf*): New macro.
3805 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3806
7ad4afe1
MA
38072012-07-11 Michael Albinus <michael.albinus@gmx.de>
3808
3809 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3810
9af57756
CY
38112012-07-11 Chong Yidong <cyd@gnu.org>
3812
3813 * vc/log-edit.el (log-edit-vc-backend): New variable.
3814 (log-edit): Doc fix.
3815
3816 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3817 argument of log-edit to set up all local variables.
3818 (vc-start-logentry): New optional arg specifying VC backend.
3819
3820 * vc/vc.el (vc-checkin): Use it.
3821 (vc-deduce-fileset): Handle Log Edit buffers.
3822 (vc-diff): Make first argument optional too.
3823
3824 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3825
8477cc7a
MA
38262012-07-10 Michael Albinus <michael.albinus@gmx.de>
3827
3828 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3829 command, just in case. The function is not needed anymore.
3830 (eshell-external-command): Do not call `eshell-remote-command'.
3831
19faa8e8
SM
38322012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3833
f58e0fd5
SM
3834 Reduce use of (require 'cl).
3835 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3836 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3837 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3838 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3839 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3840 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3841 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3842 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3843 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3844 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3845 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3846 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3847 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3848 (byte-compile-unfold-bcf, byte-compile-check-variable):
3849 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3850 (byte-compile-nilconstp):
3851 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3852 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3853
2519d43a
SM
3854 * emacs-lisp/gv.el (cond): Make it a valid place.
3855 (if): Simplify slightly.
3856
19faa8e8
SM
3857 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3858 (pcase--self-quoting-p): New function.
3859 (pcase--u1): Use it.
3860
c4907a5e
GM
38612012-07-10 Glenn Morris <rgm@gnu.org>
3862
3863 * emacs-lisp/authors.el (authors-fixed-entries):
3864 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3865
c4444d16
PE
38662012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3867
3868 Rename configure.in to configure.ac (Bug#11603).
3869 * emacs-lisp/authors.el (authors-canonical-file-name):
3870 * progmodes/autoconf.el (autoconf-mode):
3871 Prefer configure.ac to configure.in.
3872
d75be97d
CY
38732012-07-08 Chong Yidong <cyd@gnu.org>
3874
01ac65bd
CY
3875 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3876 Implement the mouse-1-click-follows-link handling properly.
3877
3878 * info.el (Info-link-keymap): Use follow-link mechanism for
3879 header-line links (Bug#374).
3880
d75be97d
CY
3881 * simple.el (deactivate-mark): Do not set the primary selection
3882 if another program has acquired it (Bug#11772).
3883
87a92845 38842012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3885
3886 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3887 (woman-decode-region): Replace escaped-escapes without destroying
3888 bold or underline (Bug#11552).
87a92845 3889 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3890
621b9d6c
CY
38912012-07-07 Chong Yidong <cyd@gnu.org>
3892
3893 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3894 (interprogram-cut-function, interprogram-paste-function):
3895 Mention that we typically mean the clipboard.
621b9d6c 3896
133a11fc
GM
38972012-07-06 Glenn Morris <rgm@gnu.org>
3898
0d27a45e
GM
3899 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3900
133a11fc
GM
3901 * files.el (toggle-read-only): Restrict message to interactive use.
3902
07b151f1
MA
39032012-07-06 Michael Albinus <michael.albinus@gmx.de>
3904
3905 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3906
3907 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3908
211b896b
GM
39092012-07-06 Glenn Morris <rgm@gnu.org>
3910
50394322
GM
3911 * Makefile.in (compile-one-process): Rename from "recompile".
3912
211b896b
GM
3913 * Makefile.in (bzr-update): "compile" is the same as "recompile
3914 autoloads", but parallelizable, so use that instead.
3915
4737eec9
DG
39162012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3917
3918 * window.el (quit-window): Always restore window height when
8137e7b3 3919 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3920
226c3633 39212012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3922
3923 * simple.el (kill-whole-line): Doc tweak.
3924
226c3633 39252012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3926
3927 * files.el (file-relative-name): Compare file names
3928 case-insensitively if on MS-Windows or MS-DOS, or if
3929 read-file-name-completion-ignore-case is non-nil. Don't use
3930 case-fold-search for this purpose. (Bug#11827)
3931
4dc7c8d5
SM
39322012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3933
3934 * calendar/cal-dst.el (calendar-current-time-zone):
3935 Return calendar-current-time-zone-cache if non-nil.
3936
39372012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 39382012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3939
19faa8e8
SM
3940 * calendar/cal-dst.el (calendar-current-time-zone):
3941 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3942
60198fc9
GM
39432012-07-06 Glenn Morris <rgm@gnu.org>
3944
3945 * Makefile.in (cvs-update): Remove old alias.
3946
957b3189
MA
39472012-07-05 Michael Albinus <michael.albinus@gmx.de>
3948
3949 Sync with Tramp 2.2.6-pre.
3950
3951 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3952 compatible declaration.
3953
19faa8e8
SM
3954 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3955 Protect `list-load-path-shadows' call.
957b3189
MA
3956
3957 * net/tramp-compat.el (top): Require packages, which aren't
3958 autoloaded anymore for XEmacs. Protect call of
3959 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3960 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3961 it hurts at least for SXEmacs.
3962 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3963 standard-value for `temporary-file-directory'.
3964
3965 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3966 Redirect stderr to /dev/null.
3967 (tramp-sh-handle-write-region): uid and gid can be floats.
3968 Reported by Russell Sim <russell.sim@gmail.com>.
3969 (tramp-sh-handle-vc-registered): Hide errors.
3970 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3971 and `start-file-process'.
3972 (tramp-maybe-open-connection): Check also whether `non-essential'
3973 is bound.
3974
566df3fc
CY
39752012-07-04 Chong Yidong <cyd@gnu.org>
3976
3977 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3978 (xml-parse-tag): Likewise, and avoid changing entity tables.
3979 (xml-syntax-table): Define from scratch, making sure not to give
3980 x2000 and other Unicode spaces whitespace syntax, since those are
3981 not spaces in XML.
3982 (xml-parse-fragment): Delete unused function.
3983 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3984 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3985 (xml-entity-ref, xml-pe-reference-re)
3986 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3987 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3988 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3989 (xml-entity-value-re): Use syntax references in regexps where
3990 possible; no need to define inside a let-binding.
3991 (xml-parse-dtd): Use xml-pe-reference-re.
3992 (xml-entity-or-char-ref-re): New defconst.
3993 (xml-parse-string, xml-substitute-special): Use it.
3994
30eabd7a
SM
39952012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3996
0781098a
SM
3997 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3998 (find-file--read-only): New function.
3999 (find-file-read-only, find-file-read-only-other-window)
4000 (find-file-read-only-other-frame): Use it.
4001 (insert-file-contents-literally): Don't `fset'.
4002 (get-free-disk-space): Use locate-dominating-file.
4003
b5771c0d
SM
4004 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4005 function is already compiled.
4006
30eabd7a
SM
4007 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4008
b4886f6e
MA
40092012-07-03 Michael Albinus <michael.albinus@gmx.de>
4010
4011 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4012 files on the same host.
4013
b9d82339
AS
40142012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4015
4016 * help-fns.el (describe-function-1): Only call
4017 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4018
a76e6535
CY
40192012-07-03 Chong Yidong <cyd@gnu.org>
4020
4021 * xml.el: Protect parser against XML bombs.
4022 (xml-entity-expansion-limit): New variable.
4023 (xml-parse-string, xml-substitute-special): Use it.
4024 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4025
b544fef2
GM
40262012-07-03 Glenn Morris <rgm@gnu.org>
4027
4028 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4029 Allow linking to specific messages in debbugs reports (eg 123#5).
4030
a7aef6f5
CY
40312012-07-02 Chong Yidong <cyd@gnu.org>
4032
4033 * xml.el: Fix entity and character reference expansion, allowing
4034 them to expand into markup as per XML spec.
4035 (xml-default-ns): New variable.
4036 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4037 (xml-parse-region): Make first two arguments optional.
4038 Discard text properties.
4039 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4040 All callers changed.
a7aef6f5
CY
4041 (xml-parse-tag): Call xml-parse-tag-1. For backward
4042 compatibility, this function should not modify buffer contents.
4043 (xml-parse-tag-1): Fix opening-tag regexp.
4044 (xml-parse-string): Rewrite, handling entity and character
4045 references properly.
4046 (xml--entity-replacement-text): Signal an error if a parameter
4047 entity is undefined.
4048
3df31c9f
SM
40492012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4050
2b5208f1
SM
4051 * comint.el (comint-output-filter): Filter out repeated prompts.
4052
3df31c9f
SM
4053 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4054 and file-name-absolute-p.
4055 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4056 internal calls.
4057
e3ac1281
PE
40582012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4059
4060 Spelling fixes.
4061 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4062 Rename from byte-compile--refiy-function. All uses changed.
4063
fbf2e7ad
CY
40642012-07-01 Chong Yidong <cyd@gnu.org>
4065
4066 * xml.el (xml--parse-buffer): New function. Move most of
4067 xml-parse-region here.
4068 (xml-parse-region): Copy region into a temporary buffer, since
4069 parameter entity substitution requires changing buffer contents.
4070 Use xml--parse-buffer.
4071 (xml-parse-file): Use xml--parse-buffer.
4072 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4073 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4074
9bf0aa15
GM
40752012-06-30 Glenn Morris <rgm@gnu.org>
4076
bbce2853
GM
4077 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4078
9bf0aa15
GM
4079 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4080 Remove outdated and unnecessary dbus declarations.
4081
0d23c240
EZ
40822012-06-30 Eli Zaretskii <eliz@gnu.org>
4083
4084 * emacs-lisp/timer.el (timer-until): Subtract results of
4085 float-time, instead of taking float-time of the result of
4086 time-subtract, since float-time signals an error for negative time
4087 arguments.
4088
b3218de1
CY
40892012-06-30 Chong Yidong <cyd@gnu.org>
4090
4091 * xml.el (xml-*-re): Convert defvars into defconsts, and
4092 eval-and-compile them so eval-and-compile works on derivatives.
4093 (xml--entity-replacement-text): Use eval-and-comple.
4094
a40c87a0
MA
40952012-06-30 Michael Albinus <michael.albinus@gmx.de>
4096
4097 * vc/vc-git.el (vc-git-registered): Use cache property
4098 `git-registered'.
4099 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4100 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4101 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4102
ac87de97
DG
41032012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4104
4105 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4106 removed (likely outside Emacs). (Bug#11757)
ac87de97 4107
ac10fe06
SM
41082012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4109
3df31c9f 4110 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4111
7f3fbd5d
CY
41122012-06-30 Chong Yidong <cyd@gnu.org>
4113
4114 * xml.el: Implement XML parameter entities.
4115 (xml-parameter-entity-alist): New variable.
4116 (xml-parse-region, xml-parse-fragment): Preserve previous values
4117 of xml-entity-alist and xml-parameter-entity-alist, so that
4118 repeated calls on different documents do not change them.
4119 (xml-parse-tag): Fix doctype regexp.
4120 (xml--entity-replacement-text): New function.
4121 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4122 properly requires url retrieval which is unimplemented.
4123 (xml-escape-string): Doc fix.
4124
3cfbebba
SM
41252012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4128
2af3565e
DA
41292012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4130
4131 * fringe.el (fringe-mode): Doc fix.
4132
929df0e7
MA
41332012-06-29 Michael Albinus <michael.albinus@gmx.de>
4134
4135 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4136 is non-nil.
4137 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4138 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4139
c8d3a25c 41402012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4141
c8d3a25c
GM
4142 * calendar/cal-dst.el (calendar-current-time-zone):
4143 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4144
c8d3a25c 41452012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4146
4147 * progmodes/which-func.el (which-func-format):
4148 Add mouse-face. (Bug#11698)
4149
c8d3a25c
GM
41502012-06-29 Leo Liu <sdl.web@gmail.com>
4151
4152 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4153
41542012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * minibuffer.el (minibuffer-confirm-exit-commands):
4157 Add completion-at-point (bug#11725).
4158
41592012-06-29 Glenn Morris <rgm@gnu.org>
4160
4161 * progmodes/f90.el (f90-font-lock-keywords-2):
4162 Add some preprocessor elements. (Bug#10499)
4163
41642012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4167 Use syntax-propertize (bug#11739).
4168
2badeec4
JB
41692012-06-28 Juanma Barranquero <lekktu@gmail.com>
4170
4171 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4172
ae4969c2
JD
41732012-06-28 Julien Danjou <julien@danjou.info>
4174
4175 * term.el (term-handle-colors-array): Use a set of new faces to
4176 color the terminal. Also uses :inverse-video property.
4177 (term-default-fg-color): Set to nil by default, deprecate in favor
4178 of `term-face'.
4179 (term-default-bg-color): Set to nil by default, deprecate in favor
4180 of `term-face'.
4181 (term-current-face): Use `term-face' by default.
4182 (term-bold-attribute): Variable deleted.
4183
1c9bd870
GM
41842012-06-28 Glenn Morris <rgm@gnu.org>
4185
4186 * simple.el (completion-list-mode-finish):
4187 Don't use toggle-read-only. (Since completion-list-mode has
4188 a special mode-class, it wasn't doing anything extra anyway.)
4189
c207708c
SM
41902012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 Make inlining of other-mode interpreted functions work (bug#11799).
4193 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4194 (byte-compile): Use it to fix compilation of lexical-binding closures.
4195 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4196 function, if needed.
4197
3fd56834
SM
41982012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4199
04901786
SM
4200 * help-mode.el (help-make-xrefs): Don't just withstand
4201 cyclic-variable-indirection but any error in documentation-property.
4202
1ec4b7b2
SM
4203 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4204 memory use.
4205 * bindings.el (bindings--define-key): New function.
4206 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4207 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4208 * bindings.el: Use it to purecopy define-key bindings.
4209
e309e2a5
SM
4210 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4211
d5c6faf9
SM
4212 * emacs-lisp/cl.el (flet): Mark obsolete.
4213 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4214 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4215 * progmodes/js.el (js-c-fill-paragraph):
4216 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4217 (ebrowse-switch-member-buffer-to-derived-class):
4218 * play/5x5.el (5x5-solver): Use cl-flet.
4219
6e9590e2
SM
4220 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4221 (cl--symbol-function): New macro.
4222 (cl--letf, cl--letf*): Use it.
4223
3fd56834
SM
4224 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4225 Strip "toggle-" if any.
4226
35ff222c
GM
42272012-06-27 Glenn Morris <rgm@gnu.org>
4228
1ba6038a
GM
4229 * info.el (Info-default-directory-list): Move here from paths.el.
4230 * paths.el: Remove file, which is now empty.
4231 * loadup.el: No longer load "paths".
4232
0ea0e51b
GM
4233 * custom.el (custom-initialize-delay): Doc fix.
4234
35ff222c
GM
4235 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4236 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4237 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4238 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4239 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4240 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4241 * eshell/eshell.el (eshell-defgroup): Remove alias.
4242
c89926a5
CY
42432012-06-27 Chong Yidong <cyd@gnu.org>
4244
4245 * help.el (help-enable-auto-load): New variable.
4246
4247 * help-fns.el (help-fns--autoloaded-p): New function.
4248 (describe-function-1): Refer to a function as "autoloaded" if it
4249 was autoloaded at any time in the past. Perform autoloading if
4250 help-enable-auto-load is non-nil.
4251
cc06e7e7
EZ
42522012-06-26 Eli Zaretskii <eliz@gnu.org>
4253
4254 * makefile.w32-in (compile, compile-always): Depend on
4255 update-subdirs, not on subdirs.el. Otherwise, several different
4256 sub-targets of 'bootstrap' running in parallel could
4257 simultaneously write to subdirs.el, producing a garbled file.
4258
d2c32364
SS
42592012-06-26 Sam Steingold <sds@gnu.org>
4260
4261 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4262 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4263 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4264 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4265 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4266 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4267 * textmodes/tex-mode.el: Use it.
4268 Did not touch cedet and org because they are maintained elsewhere.
4269
5cf983b2
MR
42702012-06-26 Martin Rudalics <rudalics@gmx.at>
4271
4272 * calendar/calendar.el (calendar-exit): Don't try to delete or
4273 iconify last frame. See:
4274 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4275
8c4f2952
JD
42762012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4277
4278 * server.el (server-process-filter): Remember dir in the
4279 process's `server-client-directory' properties.
4280
772b2e2c
CY
42812012-06-24 Chong Yidong <cyd@gnu.org>
4282
4283 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4284 non-tag text.
4285
711b11e1
JB
42862012-06-23 Juanma Barranquero <lekktu@gmail.com>
4287
4288 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4289
dc5d230c
SM
42902012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * help-fns.el (describe-variable): Don't croak when doc is not found.
4293 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4294 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4295 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4296 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4297 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4298 ((lambda ..) ..).
4299 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4300
136e1c1d
CY
43012012-06-23 Chong Yidong <cyd@gnu.org>
4302
e8c1cabf
CY
4303 * info.el (Info-mouse-follow-link): Accept symbol values of
4304 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4305 (Info-fontify-node): Use Info-link-keymap for all navigation
4306 buttons, with link-args property to perform the desired action.
4307 (Info-link-keymap): Doc fix.
4308 (Info-next-link-keymap, Info-prev-link-keymap)
4309 (Info-up-link-keymap): Delete now-unused keymaps.
4310
0e9e6c6a
CY
43112012-06-23 Chong Yidong <cyd@gnu.org>
4312
05e89fea
CY
4313 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4314
0e9e6c6a
CY
4315 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4316 system abbrevs.
4317
4318 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4319
e33c6771
SM
43202012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4321
b68581e2
SM
4322 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4323 (bug#11719).
4324
e33c6771
SM
4325 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4326 the requote function doesn't work properly (bug#11714).
4327
7117e105
GM
43282012-06-23 Glenn Morris <rgm@gnu.org>
4329
4330 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4331
36cec983
SM
43322012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 Further GV/CL cleanups.
4335 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4336 gv-expander.
4337 (gv--defun-declaration): New function.
4338 (defun-declarations-alist): Use it.
4339 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4340 (gv-place): Autoload.
4341 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4342 original definition of dotimes and dolist.
4343 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4344 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4345 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4346 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4347 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4348 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4349 to the function's definition.
4350 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4351 * window.el:
4352 * files.el:
4353 * faces.el:
4354 * env.el: Don't use CL.
4355
d35af63c
PE
43562012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4357
4358 Support higher-resolution time stamps (Bug#9000).
4359
4360 * calendar/time-date.el (with-decoded-time-value): New arg
4361 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4362 (encode-time-value): New optional arg PICO. New type 3.
4363 (time-to-seconds) [!float-time]: Support the new picoseconds
4364 component if it's used.
4365 (seconds-to-time, time-subtract, time-add):
4366 Support ps-resolution time stamps as well.
4367
4368 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4369 (timerp): Timer vectors now have length 9, not 8.
4370 (timer--time): Support new-style (4-part) time stamps.
4371 (timer-next-integral-multiple-of-time): Time stamps now have
4372 picosecond resolution, so take a bit more care about rounding.
4373 (timer-relative-time, timer-inc-time): New optional arg psecs.
4374 (timer-set-time-with-usecs): Set psecs to 0.
4375 (timer--activate): Check psecs component, too.
4376
4377 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4378
ac77b21a
SM
43792012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4380
f143bfe3
SM
4381 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4382 Move the non-essential binding to the post/pre-command-hook where it is
4383 more obviously correct.
4384
ac77b21a
SM
4385 * subr.el (read-passwd): Don't use a history at all.
4386 * savehist.el (savehist-save): Remove password saved accidentally
4387 because of the above bug.
4388
76386c5a
BG
43892012-06-22 Bastien Guerry <bzg@gnu.org>
4390
4391 * files.el (toggle-read-only): Display a message telling whether
4392 the buffer is read-only or not (bug#11726).
4393
2ee3d7f0
SM
43942012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * emacs-lisp/gv.el: New file.
4397 * subr.el (push, pop): Extend to generalized variables.
4398 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4399 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4400 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4401 gv-define-simple-setter, and gv-define-expander.
4402 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4403 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4404 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4405 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4406 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4407 gv-letplace.
4408 (cl-defstruct): Don't define setf-method any more.
4409 * emacs-lisp/cl.el (flet): Don't autoload.
4410 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4411 (define-setf-expander, defsetf, define-modify-macro)
4412 (cl-struct-setf-expander): Move from cl-lib.el.
4413 * emacs-lisp/syntax.el:
4414 * emacs-lisp/ewoc.el:
4415 * emacs-lisp/smie.el:
4416 * emacs-lisp/cconv.el:
4417 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4418 (timer--time): Use gv-define-simple-setter.
4419 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4420 to avoid coding-system problems in subr.el. Adjust all users.
4421 (macroexp--maxsize, macroexp-small-p): New functions.
4422 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4423 * scroll-bar.el (scroll-bar-mode):
4424 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4425 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4426 * winner.el (winner-configuration, winner-make-point-alist)
4427 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4428 * files.el (locate-file-completion-table): Avoid list*.
4429
c5695d1d
CY
44302012-06-22 Chong Yidong <cyd@gnu.org>
4431
4432 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4433 (dired-create-files): Doc fix (Bug#11329).
4434 (dired-do-copy): Doc fix (Bug#11334).
4435 (dired-mark-read-string): Doc fix (Bug#11553).
4436
2ee3d7f0
SM
4437 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4438 Doc fix (Bug#11326).
c5695d1d
CY
4439 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4440 (dired-dwim-target): Doc fix.
4441
4442 * wdired.el (wdired-mode): Doc fix.
4443
89b5595a
GM
44442012-06-22 Glenn Morris <rgm@gnu.org>
4445
575db3f1
GM
4446 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4447 (pcmpl-rpm-cache-stamp-file): New constant.
4448 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4449 (pcmpl-rpm-packages): Optionally cache list of packages.
4450
a4c8dd51
GM
4451 * pcmpl-rpm.el (pcmpl-rpm): New group.
4452 (pcmpl-rpm-query-options): New option.
4453 (pcmpl-rpm-packages): No need to inline it.
4454 Use pcmpl-rpm-query-options.
4455
89b5595a
GM
4456 * calendar/calendar.el (calendar-in-read-only-buffer):
4457 Avoid some needless mode changes.
4458
e76f0800
CY
44592012-06-21 Chong Yidong <cyd@gnu.org>
4460
4461 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4462 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4463 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4464
297a8f1d
CY
44652012-06-20 Chong Yidong <cyd@gnu.org>
4466
4467 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4468
d34c18b1
DR
44692012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4470
4471 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4472 (bug#11201).
4473
32f7f28e
CY
44742012-06-20 Chong Yidong <cyd@gnu.org>
4475
4476 * term.el (term-window-width): Handle the case of a missing right
4477 fringe (Bug#8837).
4478 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4479 (term-mode): Use define-derived-mode. Minor cleanups.
4480 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4481 (term-move-columns, term-insert-char, term-emulate-terminal)
4482 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4483
493c6688
MA
44842012-06-20 Michael Albinus <michael.albinus@gmx.de>
4485
d34c18b1
DR
4486 * net/ange-ftp.el (ange-ftp-get-passwd):
4487 Bind `enable-recursive-minibuffers'.
493c6688
MA
4488 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4489
3f06ecf4
DR
44902012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4491
4492 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4493
68f12411
GM
44942012-06-19 Glenn Morris <rgm@gnu.org>
4495
4496 * progmodes/python.el (python-mode): Derive from prog-mode.
4497
b3820318
KG
44982012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4499
4500 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4501 (edt-user-menu-bar-update-buffers): New functions.
4502 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4503
c6bf3022
CY
45042012-06-19 Chong Yidong <cyd@gnu.org>
4505
4506 * subr.el (with-selected-window): Preserve the selected window's
4507 terminal's top-frame (Bug#4702).
4508
4509 * window.el (save-selected-window): Likewise.
4510
25f09295
SM
45112012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4512
4513 * progmodes/python.el (python-rx-constituents): Move backquote.
4514 (python-skeleton-define, python-define-auxiliary-skeleton):
4515 Use `declare'.
4516
6b11952a
MA
45172012-06-18 Michael Albinus <michael.albinus@gmx.de>
4518
4519 * minibuffer.el (read-file-name-default): Revert the patch from
4520 2012-06-17.
4521
ee4b1330
SM
45222012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4525 (pcase--u1, pcase--q1): Don't use apply-partially.
4526
35647f79
GM
45272012-06-18 Glenn Morris <rgm@gnu.org>
4528
4529 * progmodes/python.el (python-proc, python-buffer)
4530 (python-send-receive, python-send-string): Fix obsolete versions.
4531
24b0cff0
MR
45322012-06-18 Martin Rudalics <rudalics@gmx.at>
4533
4534 * window.el (special-display-p): Completely remove stringp
4535 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4536
29855149
MA
45372012-06-17 Michael Albinus <michael.albinus@gmx.de>
4538
4539 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4540
4541 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4542
4543 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4544 * net/tramp-sh.el (tramp-maybe-open-connection):
4545 Throw if `non-essential' is non-nil.
4546
07463363
MR
45472012-06-17 Martin Rudalics <rudalics@gmx.at>
4548
4549 * window.el (special-display-p): Signal an error if BUFFER-NAME
4550 is not a string (Bug#11713).
4551
48d1354e
PE
45522012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4553
4554 * progmodes/python.el (python-info-beginning-of-backslash):
4555 Rename from python-info-beginning-of-backlash, as a spelling fix.
4556
eb4a8a9a
CY
45572012-06-17 Chong Yidong <cyd@gnu.org>
4558
4559 * term.el (term-emulate-terminal): If term-check-size is called,
4560 move point to the process mark without resetting point (Bug#4635).
4561
ddfbf826 45622012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4563
4564 * international/mule-cmds.el (mule-menu-keymap)
4565 (set-language-environment, set-locale-environment): Doc tweaks.
4566
9b0e3eba
AA
45672012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4568
4569 * cus-face.el (custom-face-attributes): Add wave-style underline
4570 attribute.
4571 * faces.el (set-face-attribute): Update docstring to describe
4572 wave-style underline attribute.
4573
771e3eae
CY
45742012-06-16 Chong Yidong <cyd@gnu.org>
4575
4576 * term/xterm.el (terminal-init-xterm): Discard input before
4577 querying background mode (Bug#10959).
4578
7ae2ea10
SM
45792012-06-16 Stefan Merten <smerten@oekonux.de>
4580
4581 * textmodes/rst.el: Added and corrected some comments.
4582 (rst-re-alist-def): Improve symbol syntax.
4583 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4584 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4585 (rst-official-version, rst-official-cvs-rev): Update version
4586 information.
7ae2ea10 4587
b6974efa
JB
45882012-06-15 Juanma Barranquero <lekktu@gmail.com>
4589
4590 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4591 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4592
8826d473
GM
45932012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4594
4595 * progmodes/python.el: New python.el merge.
4596 (python-guess-indent): Obsolete var.
4597 (python-indent-guess-indent-offset): New defcustom.
4598 (python-indent): Obsolete var.
4599 (python-indent-offset): New defcustom.
4600 (python-python-command, python-jython-command): Delete var.
4601 (python-shell-interpreter): New defcustom.
4602 (python-pdbtrack-do-tracking-p): Delete var.
4603 (python-pdbtrack-activate): New defcustom.
4604 (python-use-skeletons): Obsolete var.
4605 (python-skeleton-autoinsert): New defcustom.
4606 (inferior-python-filter-regexp, python-continuation-offset)
4607 (python-honour-comment-indentation, python-indent-string-contents)
4608 (python-jython-packages, python-mode-hook)
4609 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4610 (python-shell-prompt-alist)
4611 (python-source-modes): Delete defcustoms.
4612 (python-check-buffer-name, python-eldoc-setup-code)
4613 (python-eldoc-string-code, python-ffap-setup-code)
4614 (python-ffap-string-code, python-fill-comment-function)
4615 (python-fill-decorator-function, python-fill-paren-function)
4616 (python-fill-string-function, python-imenu-include-defun-type)
4617 (python-imenu-make-tree, python-imenu-subtree-root-label)
4618 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4619 (python-shell-compilation-regexp-alist)
4620 (python-shell-completion-module-string-code)
4621 (python-shell-completion-pdb-string-code)
4622 (python-shell-completion-setup-code)
4623 (python-shell-completion-string-code)
4624 (python-shell-enable-font-lock, python-shell-exec-path)
4625 (python-shell-extra-pythonpaths)
4626 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4627 (python-shell-process-environment)
4628 (python-shell-prompt-block-regexp)
4629 (python-shell-prompt-output-regexp)
4630 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4631 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4632 (python-shell-virtualenv-path): New defcustoms.
4633 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4634 (inferior-python-mode-syntax-table, python--prompt-regexp)
4635 (python-buffer, python-command python-python-command)
4636 (python-default-template, python-imports, python-indent-index)
4637 (python-indent-list, python-indent-list-length)
4638 (python-mode-running, python-pdbtrack-is-tracking-p)
4639 (python-preoutput-continuation, python-preoutput-leftover)
4640 (python-preoutput-result, python-preoutput-skip-next-prompt)
4641 (python-prev-dir/file, python-recursing)
4642 (python-saved-check-command, python-version-checked)
4643 (python-which-func-length-limit)
4644 (view-return-to-alist): Delete vars.
4645 (python-check-custom-command, python-dotty-syntax-table)
4646 (python-imenu-index-alist, python-indent-current-level)
4647 (python-indent-dedenters, python-indent-levels)
4648 (python-nav-beginning-of-defun-regexp)
4649 (python-nav-list-defun-positions-cache)
4650 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4651 (python-shell-internal-buffer)
4652 (python-skeleton-available): New vars.
4653 (def-python-skeleton): Delete macro.
4654 (python-skeleton-define): New macro.
4655 (python-define-auxiliary-skeleton, python-rx): New macros.
4656 (python-insert-class): Delete command.
4657 (python-skeleton-class): New command.
4658 (python-insert-def): Delete command.
4659 (python-skeleton-def): New command.
4660 (python-insert-for): Delete command.
4661 (python-skeleton-for): New command.
4662 (python-insert-if): Delete command.
4663 (python-skeleton-if): New command.
4664 (python-insert-try/except, python-insert-try/finally): Delete commands.
4665 (python-skeleton-try): New command.
4666 (python-insert-while): Delete command.
4667 (python-skeleton-while): New command.
4668 (python-backspace): Delete command.
4669 (python-indent-dedent-line-backspace): New command.
4670 (python-electric-colon): Delete command.
4671 (python-indent-electric-colon): New command.
4672 (python-guess-indent): Delete command.
4673 (python-indent-guess-indent-offset): New command.
4674 (python-shift-left): Delete command.
4675 (python-indent-shift-left): New command.
4676 (python-shift-right): Delete command.
4677 (python-indent-shift-right): New command.
4678 (python-find-function): Delete command.
4679 (python-nav-jump-to-defun): New command.
4680 (python-next-statement): Delete command.
4681 (python-nav-forward-sentence): New command.
4682 (python-previous-statement): Delete command.
4683 (python-nav-backward-sentence): New command.
4684 (python-fill-paragraph): Delete command.
4685 (python-fill-paragraph-function): New command.
4686 (python-send-buffer): Delete command.
4687 (python-shell-send-buffer): New command.
4688 (python-send-defun): Delete command.
4689 (python-shell-send-defun): New command.
4690 (python-send-region, python-send-region-and-go): Delete commands.
4691 (python-shell-send-region)
4692 (python-shell-switch-to-shell): New commands.
4693 (python-send-string): Delete command.
4694 (python-shell-send-string): New command.
4695 (python-switch-to-python): Delete command.
4696 (python-shell-switch-to-shell): New command.
4697 (python-describe-symbol): Delete command.
4698 (python-eldoc-at-point): New command.
4699 (python--set-prompt-regexp, python-args-to-list)
4700 (python-after-info-look, python-check-version)
4701 (python-check-comint-prompt, python-find-imports)
4702 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4703 (python-unload-function, python-expand-template)
4704 (python-maybe-jython, python-preoutput-filter)
4705 (python-pdbtrack-get-source-buffer)
4706 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4707 (python-pdbtrack-toggle-stack-tracking)
4708 (python-pdbtrack-track-stack-file, python-initial-text)
4709 (python-first-word, python-comment-line-p, python-send-command)
4710 (python-setup-brm, python-sentinel, python-set-proc)
4711 (python-skip-out, python-input-filter, python-outdent-p)
4712 (python-outline-level, python-backslash-continuation-line-p)
4713 (python-end-of-block, python-end-of-statement, python-mark-block)
4714 (python-beginning-of-block, python-beginning-of-statement)
4715 (python-blank-line-p, python-beginning-of-string)
4716 (python-open-block-statement-p): Delete functions.
4717 (python-indent-line, python-indent-line-1): Delete functions.
4718 (python-indent-line): New function.
4719 (python-indentation-levels): Delete function.
4720 (python-indent-calculate-levels): New function.
4721 (python-proc): Delete function.
4722 (python-shell-get-process): New function.
4723 (python-send-receive): Delete function.
4724 (python-shell-send-string-no-output): New function.
4725 (python-module-path): Delete function.
4726 (python-ffap-module-path): New function.
4727 (python-completion-at-point)
4728 (python-symbol-completions): Delete functions.
4729 (python-completion-complete-at-point): New function.
4730 (python-load-file): Delete function.
4731 (python-shell-send-file): New function.
4732 (python-calculate-indentation): Delete function.
4733 (python-indent-calculate-indentation): New function.
4734 (python-skip-comments/blanks): Delete function.
4735 (python-util-forward-comment): New function.
4736 (python-continuation-line-p): Delete function.
4737 (python-info-continuation-line-p): New function.
4738 (python-which-func, python-current-defun): Delete function.
4739 (python-info-current-defun): New function.
4740 (python-beginning-of-defun): Delete function.
4741 (python-nav-beginning-of-defun): New function.
4742 (python-close-block-statement-p)
4743 (python-block-end-p): Delete function.
4744 (python-info-closing-block): New function.
4745 (python-comint-output-filter-function)
4746 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4747 (python-fill-comment, python-fill-decorator, python-fill-paren)
4748 (python-fill-string, python-imenu-make-element-tree)
4749 (python-imenu-make-tree, python-imenu-tree-assoc)
4750 (python-indent-context, python-indent-dedent-line)
4751 (python-indent-line-function)
4752 (python-indent-post-self-insert-function)
4753 (python-indent-toggle-levels)
4754 (python-info-assignment-continuation-line-p)
4755 (python-info-beginning-of-backlash)
4756 (python-info-block-continuation-line-p)
4757 (python-info-closing-block-message)
4758 (python-info-line-ends-backslash-p)
4759 (python-info-looking-at-beginning-of-defun)
4760 (python-info-ppss-context, python-info-ppss-context-type)
4761 (python-nav-list-defun-positions, python-nav-read-defun)
4762 (python-nav-sentence-end, python-nav-sentence-start)
4763 (python-pdbtrack-comint-output-filter-function)
4764 (python-pdbtrack-set-tracked-buffer)
4765 (python-shell-calculate-exec-path)
4766 (python-shell-calculate-process-environment)
4767 (python-shell-completion--do-completion-at-point)
4768 (python-shell-completion--get-completions)
4769 (python-shell-completion-complete-at-point)
4770 (python-shell-completion-complete-or-indent)
4771 (python-shell-get-or-create-process)
4772 (python-shell-get-process-name)
4773 (python-shell-internal-get-or-create-process)
4774 (python-shell-internal-get-process-name)
4775 (python-shell-internal-send-string, python-shell-make-comint)
4776 (python-shell-parse-command, python-shell-send-setup-code)
4777 (python-skeleton-add-menu-items)
4778 (python-util-clone-local-variables, python-util-position)
4779 (run-python-internal, python-indentation-levels)
4780 (python-nav-beginning-of-defun)
4781 (python-completion-complete-at-point): New functions.
4782 (run-python): Change arguments. New API requirements.
4783
4302f5ba
SM
47842012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4785
f38ea36d
SM
4786 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4787 (bug#11649).
4788
4789 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4790 (macroexp--expand-all): Use it.
4791
4302f5ba
SM
4792 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4793 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4794 Use `cl-function' instead.
4795
33377562
JB
47962012-06-14 Juanma Barranquero <lekktu@gmail.com>
4797
4798 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4799 Suggested by Stefan Monnier while discussing bug#11657.
4800
54c5ba1a
SS
48012012-06-14 Sam Steingold <sds@gnu.org>
4802
4803 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4804
f9f1b1fe
AS
48052012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4806
4807 * play/doctor.el (doctor-doc): Remove parameter and use
4808 doctor-sent instead of sent.
4809 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4810
a81068ba
SM
48112012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4812
5a315f9c
SM
4813 * files.el: Require cl-lib.
4814 (file-name-non-special): Replace case -> cl-case.
4815
4816 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4817
a81068ba
SM
4818 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4819 mapping from #' to function*.
4820
8cca9703
CY
48212012-06-13 Chong Yidong <cyd@gnu.org>
4822
4823 * mouse.el (mouse-drag-track): Do not set the mark if the user
4824 releases the mouse without selecting anything (Bug#11588).
4825
a12ac9d7
SM
48262012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4827
ccf1dc18
SM
4828 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4829 as well (bug#11646).
4830
ef62b23d
SM
4831 * loadup.el: Count byte-code functions as well.
4832
c4c8444a
SM
4833 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4834 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4835
a12ac9d7
SM
4836 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4837 (bug#11649). Add cl-defun and cl-defmacro.
4838
87e6e64f
DA
48392012-06-13 Drew Adams <drew.adams@oracle.com>
4840
4841 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4842 Fix last change.
4843
682cefaf
MA
48442012-06-13 Michael Albinus <michael.albinus@gmx.de>
4845
4846 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4847 Otherwise, it blocks in batch mode.
4848
773e1f08
JB
48492012-06-13 Juanma Barranquero <lekktu@gmail.com>
4850
4851 * help-mode.el (bookmark-make-record-default): Declare.
4852
60057926
CY
48532012-06-13 Chong Yidong <cyd@gnu.org>
4854
4855 * emacs-lisp/package.el (list-packages): Compute a list of
4856 packages that are newly-available since the last list-packages
4857 invocation.
4858 (package-menu--new-package-list): New var.
4859 (package-menu--generate, package-menu--print-info)
4860 (package-menu--status-predicate, package-menu-mark-install):
4861 Handle new status label "new".
4862
ad4d226c
SM
48632012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4866 conversion to backquotes.
4867
f1a4e679
CY
48682012-06-12 Chong Yidong <cyd@gnu.org>
4869
4870 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4871 Rename from gud-inhibit-global-bindings.
4872
4873 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4874
4875 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4876 hook from nxml-glyph-set-hook.
4877
4878 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4879 declaration.
4880
4881 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4882
4883 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4884 Convert to defcustom.
4885
0c9e42b5
DA
48862012-06-12 Drew Adams <drew.adams@oracle.com>
4887
4888 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4889 New functions.
4890 (help-mode): Use them.
4891
09e06855
GM
48922012-06-11 Glenn Morris <rgm@gnu.org>
4893
4894 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4895 Use preprocessor face for directives.
4896 (fortran-directive-re): Doc fix.
4897
71adb94b
SM
48982012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4899
2eb87922
SM
4900 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4901 conversion to backquotes (bug#11652).
4902
71adb94b
SM
4903 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4904 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4905 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4906 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4907 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4908 (cl-ninth, cl-tenth): Mark them as inlinable.
4909 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4910 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4911 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4912 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4913 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4914 (cl-list*, cl-adjoin): Don't put an autoload manually.
4915 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4916 (cl--compiler-macro-list*): Add autoload cookie.
4917 (cl--compiler-macro-cXXr): New function.
2eb87922 4918
71adb94b
SM
4919 * help-fns.el (help-fns--compiler-macro): New function extracted from
4920 describe-function-1; follow aliases and use `compiler-macro' property.
4921 (describe-function-1): Use it.
4922
a6674402
CY
49232012-06-11 Chong Yidong <cyd@gnu.org>
4924
4925 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4926 is uninstalled, if imagemagick is installed.
4927
bb3faf5b
SM
49282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4929
4930 * emacs-lisp/cl-lib.el: Use lexical-binding.
4931 (cl-map-extents, cl-maclisp-member): Remove.
4932 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4933 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4934 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4935 * emacs-lisp/cl-extra.el: Use lexical-binding.
4936 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4937 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4938 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4939 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4940 * emacs-lisp/cl-seq.el: Use lexical-binding.
4941 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4942 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4943 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4944 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4945 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4946 CL's internals.
4947
2fe4b125
MA
49482012-06-11 Michael Albinus <michael.albinus@gmx.de>
4949
4950 Sync with Tramp 2.2.6-pre.
4951
4952 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4953 `print-length' and `print-level' to nil, in order to avoid
4954 truncation. Reported by Christopher Schmidt
4955 <christopher@ristopher.com>.
4956
4957 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4958
4959 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4960 New defmacro.
4961 (tramp-compat-copy-directory): Add optional argument
4962 COPY-CONTENTS. It is not handled yet.
4963
4964 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4965 (tramp-ftp-file-name-p): Simplify.
4966
4967 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4968 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4969 connection vector.
4970
4971 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4972 (tramp-methods): Do not use `tramp-password-end-of-line'.
4973 (tramp-completion-function-alist-putty): Handle UNIX case.
4974 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4975 (tramp-do-file-attributes-with-stat)
4976 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4977 gid as real numbers. They could run out of integer range on cygwin.
4978 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4979 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4980 (tramp-open-connection-setup-interactive-shell):
4981 Use `tramp-cleanup'. Move check for busyboxes ...
4982 (tramp-find-shell): ... here. Simplify implementation.
4983 Set "remote-shell" property also for alternative shells.
4984 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4985 If failing, a regular file would be written otherwise.
4986 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4987 (tramp-find-inline-encoding): Cache the coding commands in the
4988 process cache. Apply test command on the remote side, if defined.
4989 (tramp-find-inline-compress): Cache the compress commands in the
4990 process cache.
4991 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4992 when requested. Handle hops.
4993 (tramp-current-connection): New defvar.
87e6e64f
DA
4994 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4995 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4996 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4997 (tramp-get-inline-compress, tramp-get-inline-coding):
4998 Read connection properties from the process cache.
2fe4b125
MA
4999
5000 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5001 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5002 New defconsts.
2fe4b125
MA
5003 (tramp-smb-prompt): Extend for powershell prompt.
5004 (tramp-smb-file-name-handler-alist): Add handlers for
5005 `process-file', `shell-command' and `start-file-process'.
5006 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5007 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5008 (tramp-smb-file-name-p): Simplify.
5009 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5010 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5011 (tramp-smb-shell-quote-argument): New defuns.
5012 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5013 Implement using "tar". By this, time-stamps are preserved.
5014 (tramp-smb-handle-copy-file): Handle also the case of directories.
5015 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5016 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5017 Use `tramp-get-connection-buffer').
2fe4b125
MA
5018 (tramp-smb-handle-rename-file): Use "rename", when source and
5019 target are on the same share.
87e6e64f
DA
5020 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5021 Use `tramp-smb-server-version'.
2fe4b125
MA
5022 (tramp-smb-wait-for-output): Remove prompt.
5023
5024 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5025 (tramp-methods, tramp-rsh-end-of-line):
5026 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5027 (tramp-save-ad-hoc-proxies): New defcustom.
5028 (tramp-completion-function-alist): Adapt docstring.
5029 (tramp-default-password-end-of-line): Remove defcustom.
5030 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5031 (tramp-user-regexp, tramp-file-name-regexp-unified)
5032 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5033 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5034 (tramp-remote-file-name-spec-regexp): New defconst.
5035 (tramp-file-name-structure): Extend structure for hops.
5036 (tramp-get-method-parameter): Move up.
5037 (tramp-file-name-p, tramp-dissect-file-name)
5038 (with-parsed-tramp-file-name): Handle hops.
5039 (tramp-file-name-hop): New defun.
5040 (tramp-make-tramp-file-name): New optional arg HOP.
5041 (tramp-message-show-progress-reporter-message): New defvar.
5042 (tramp-with-progress-reporter): Use it. We cannot use
5043 `tramp-message-show-message' here, because this suppresses also
5044 error buffers.
5045 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5046 `tramp-message-show-message' is nil.
5047 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5048 (tramp-cleanup): New defun.
5049 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5050 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5051 an error unchanged.
5052 (tramp-completion-handle-file-name-all-completions): Handle hops.
5053 Fix an error when called from ido.
5054 (tramp-completion-dissect-file-name): Use better local variable
5055 name. Add hop to the vector.
5056 (tramp-handle-insert-file-contents): Use progress-reporter for the
5057 whole scenario.
5058 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5059 to `t'.
5060 (tramp-check-for-regexp): Simplify search.
5061 (tramp-enter-password): Remove it. Move implementation ...
5062 (tramp-action-password): ... here.
5063 (tramp-mode-string-to-int, tramp-local-host-p)
5064 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5065 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5066 Set tramp-autoload cookie.
2fe4b125
MA
5067
5068 * net/trampver.el: Update release number.
5069
50702012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5071 Michael Albinus <michael.albinus@gmx.de>
5072
5073 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5074 (tramp-parse-group, tramp-parse-file)
5075 (tramp-parse-shostkeys-sknownhosts): New defuns.
5076 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5077 (tramp-parse-shosts-group, tramp-parse-sconfig)
5078 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5079 (tramp-parse-sknownhosts, tramp-parse-hosts)
5080 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5081 Use them.
5082 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5083 (tramp-parse-putty-group): Don't narrow.
5084 (tramp-parse-putty): Make a loop.
5085 (tramp-file-name-handler): Catch the `suppress' signal.
5086
72834e10
CY
50872012-06-11 Chong Yidong <cyd@gnu.org>
5088
5089 * image.el (imagemagick-register-types): Put the ImageMagick entry
5090 at the end of image-type-file-name-regexps.
5091
a4712e11
JB
50922012-06-11 Johan Bockgård <bojohan@gnu.org>
5093
5094 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5095 (pcase, pcase-let*, pcase-dolist): Use them.
5096
82ad98e3
SM
50972012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * emacs-lisp/pcase.el (pcase--let*): New function.
5100 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5101 (pcase--expand): Use macroexp-let².
5102
f80efb86
SM
51032012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5106 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5107 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5108 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5109 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5110 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5111
31ca4639 51122012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5113
31ca4639
CY
5114 * mail/rmail.el (rmail-yank-current-message): Leave point at
5115 correct position. (Bug#11660)
94f0aa34 5116
31ca4639 51172012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5118
31ca4639 5119 * allout-widgets.el: Fix code header.
9e1b8ec4 5120
31ca4639 51212012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5122
f80efb86
SM
5123 * cus-edit.el (customize-changed-options-previous-release):
5124 Bump to 24.1.
31ca4639 5125
642b6d30
AS
51262012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5127
5128 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5129
4f5d2ba1
CY
51302012-06-09 Chong Yidong <cyd@gnu.org>
5131
5132 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5133
e75852fd
MR
51342012-06-09 Martin Rudalics <rudalics@gmx.at>
5135
5136 * window.el (special-display-popup-frame): Don't use
5137 window--display-buffer (Bug#11651).
5138
1e48e282
EZ
51392012-06-09 Eli Zaretskii <eliz@gnu.org>
5140
8a26b487
EZ
5141 Fix parallel builds: make sure loaddefs.el is not being written
5142 while Lisp files are compiled.
5143 (compile): Don't depend on 'mh-autoloads'.
5144 (compile-CMD, compile-SH): Depend on 'autoloads'.
5145 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5146
1e48e282
EZ
5147 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5148
6175e34b
CY
51492012-06-09 Chong Yidong <cyd@gnu.org>
5150
5151 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5152 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5153 Doc fixes (Bug#11225).
5154
d9857e53
SM
51552012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5158 a function if there's a clear indication that it has a compiler-macro.
5159 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5160 (macro-declarations-alist): Add arglist to declaration functions.
5161 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5162 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5163 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5164 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5165 Also add autoload to find the compiler macro.
5166 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5167 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5168 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5169 (cl--compiler-macro-get): New functions, replacing calls to
5170 cl-define-compiler-macro.
5171 (cl-typep) [compiler-macro]: Use macroexp-let².
5172
f81298f8 51732012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5174
5175 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5176 string properly, fixes Bug#11473.
5177
4b56d0fe
CY
51782012-06-08 Chong Yidong <cyd@gnu.org>
5179
5180 * faces.el (set-face-attribute): Doc fix.
5181 (modify-face): Don't use :bold and :italic.
5182 (error, warning, success): Tweak definitions.
5183
5184 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5185 (custom-modified, custom-set, custom-changed, custom-themed)
5186 (custom-saved, custom-button, custom-button-mouse)
5187 (custom-button-pressed, custom-state, custom-comment-tag)
5188 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5189 (custom-group-subtitle): Use new-style face specs.
5190 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5191 (custom-set-face, custom-changed-face, custom-saved-face)
5192 (custom-button-face, custom-button-pressed-face)
5193 (custom-documentation-face, custom-state-face)
5194 (custom-comment-face, custom-comment-tag-face)
5195 (custom-variable-tag-face, custom-variable-button-face)
5196 (custom-face-tag-face, custom-group-tag-face-1)
5197 (custom-group-tag-face): Remove obsolete face alias.
5198
5199 * epa.el (epa-validity-high, epa-validity-medium)
5200 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5201 (epa-field-name, epa-field-body):
5202 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5203 (font-lock-keyword-face, font-lock-builtin-face)
5204 (font-lock-function-name-face, font-lock-variable-name-face)
5205 (font-lock-type-face, font-lock-constant-face):
5206 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5207 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5208 * speedbar.el (speedbar-button-face, speedbar-file-face)
5209 (speedbar-directory-face, speedbar-tag-face)
5210 (speedbar-selected-face, speedbar-highlight-face)
5211 (speedbar-separator-face):
5212 * whitespace.el (whitespace-newline, whitespace-space)
5213 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5214 (whitespace-line, whitespace-space-before-tab)
5215 (whitespace-space-after-tab, whitespace-indentation)
5216 (whitespace-empty):
5217 * emulation/cua-base.el (cua-global-mark):
5218 * eshell/em-prompt.el (eshell-prompt):
5219 * net/newst-plainview.el (newsticker-new-item-face)
5220 (newsticker-old-item-face, newsticker-immortal-item-face)
5221 (newsticker-obsolete-item-face, newsticker-date-face)
5222 (newsticker-statistics-face, newsticker-default-face):
5223 * net/newst-reader.el (newsticker-feed-face)
5224 (newsticker-extra-face, newsticker-enclosure-face):
5225 * net/newst-treeview.el (newsticker-treeview-face)
5226 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5227 (newsticker-treeview-immortal-face)
5228 (newsticker-treeview-obsolete-face)
5229 (newsticker-treeview-selection-face):
5230 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5231 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5232 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5233 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5234 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5235 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5236 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5237 (mpuz-text):
5238 * progmodes/vera-mode.el (vera-font-lock-number)
5239 (vera-font-lock-function, vera-font-lock-interface):
5240 * textmodes/table.el (table-cell): Use new-style face specs, and
5241 don't use the old :bold and :italic attributes.
5242
5243 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5244 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5245 (ebrowse-member-class, ebrowse-progress): Likewise.
5246 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5247 (ebrowse-file-name-face, ebrowse-default-face)
5248 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5249 (ebrowse-progress-face): Remove obsolete faces.
5250
5251 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5252 Inherit from error and warning faces respectively.
5253
5254 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5255 Likewise.
f80efb86
SM
5256 (flyspell-incorrect-face, flyspell-duplicate-face):
5257 Remove obsolete aliases.
4b56d0fe 5258
03310646
MA
52592012-06-08 Michael Albinus <michael.albinus@gmx.de>
5260
5261 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5262 Avoid infloop.
5263
513749ee
SM
52642012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5265
5266 * startup.el (argv, argi): Make lexically scoped.
5267 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5268 * emacs-lisp/cl-macs.el: Use lexical-binding.
5269 Rename cl-bind-* to cl--bind-*.
5270 * files.el: Don't require `cl' since it doesn't use it.
5271 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5272
595ef4ad
JB
52732012-06-08 Juanma Barranquero <lekktu@gmail.com>
5274
5275 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5276 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5277 instead of calling external sort utility.
5278 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5279
e9f66fcb
EZ
52802012-06-08 Eli Zaretskii <eliz@gnu.org>
5281
5282 * descr-text.el (describe-char): Mention how to insert the
5283 character, if the current input method doesn't support it.
5284 See the discussion in this thread for the details:
5285 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5286
3d10db47
SS
52872012-06-08 Sam Steingold <sds@gnu.org>
5288
5289 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5290 XF86Back to previous-buffer.
5291 (minibuffer-local-map): Bind them to next-history-element and
5292 previous-history-element respectively.
5293 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5294 help-go-back respectively.
5295 * info.el (Info-mode-map): Bind them to Info-history-forward and
5296 Info-history-back respectively.
5297 These are the keys next to Up on the ThinkPad keyboard.
5298
de7e2b36
SM
52992012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5302 * emacs-lisp/cl-macs.el: Provide itself.
5303 (cl--labels-convert-cache): New var.
5304 (cl--labels-convert): New function.
5305 (cl-flet, cl-labels): New implementation with new semantics, relying on
5306 lexical-binding.
5307 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5308 (cl-closure-vars, cl--function-convert-cache)
5309 (cl--function-convert): Move from cl-macs.el.
5310 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5311 rename by removing the "cl-" prefix.
5312 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5313
6fa6c4ae
SM
53142012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5315
5316 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5317 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5318 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5319 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5320 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5321 (cl-hash-table-count): Add old compatibility aliases.
5322
5323 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5324 Use macroexpand-all-environment instead.
5325 (cl--old-macroexpand): New var.
5326 (cl--sm-macroexpand): New function.
5327 (cl-symbol-macrolet): Use it during macro expansion.
5328 (cl--function-convert-cache): New var.
5329 (cl--function-convert): New function, extracted from
5330 cl-macroexpand-all.
5331 (cl-lexical-let): Use it.
5332
5333 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5334 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5335 (cl-member): Remove old alias.
5336
5337 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5338 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5339 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5340 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5341 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5342 (cl-macroexpand-cmacs): Remove var.
5343 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5344 Use macroexpand-all instead.
5345
4dd1c416
SM
53462012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5348 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5349 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5350 (macroexp-copyable-p): New functions and macros.
5351 * emacs-lisp/edebug.el (edebug-unwrap):
5352 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5353 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5354 (pcase--let*): Remove.
5355 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5356 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5357 macroexp-const-p instead.
5358 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5359
5360 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5361 instead of "cl-" for internal definitions. Use macroexp-const-p.
5362 (cl-old-bc-file-form): Remove var.
5363 (cl-const-exprs-p): Remove fun.
5364 (cl-labels, cl-macrolet): Use backquote.
5365 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5366 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5367 (cl-define-setf-expander): Rename from cl-define-setf-method.
5368 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5369
5370 * international/mule-cmds.el: Don't require CL.
5371 (view-hello-file): Don't use `letf'.
5372
ed8bd4d7
SM
53732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5374
7287f2f3
SM
5375 * tmm.el (tmm-prompt): Use string-prefix-p.
5376 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5377 (tmm-add-prompt): Use minibuffer-completion-help.
5378 (tmm-delete-map): Remove.
5379
ed8bd4d7
SM
5380 * subr.el (kbd): Make it its own function.
5381
7b4cdbf4
SM
53822012-06-07 Stefan Merten <smerten@oekonux.de>
5383
5384 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5385 Silence compiler warnings. Fix versions.
ed8bd4d7 5386 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5387 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5388 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5389 (rst-package-emacs-version-alist): Correct Emacs version to
5390 represent major merge with upstream.
ed8bd4d7 5391 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5392
2b48d721
GM
53932012-06-06 Glenn Morris <rgm@gnu.org>
5394
5395 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5396 Only print environment variables if set.
5397
fa779ab0
SM
53982012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5399
5400 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5401 (macroexp--cons): Rename from maybe-cons.
5402 (macroexp--accumulate): Rename from macroexp-accumulate.
5403 (macroexp--all-forms): Rename from macroexpand-all-forms.
5404 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5405 (macroexp--expand-all): Rename from macroexpand-all-1.
5406
628299e0
SS
54072012-06-06 Sam Steingold <sds@gnu.org>
5408
5409 * calendar/calendar.el (calendar-in-read-only-buffer):
5410 Call `special-mode' to enable the standard read-only keybindings.
5411
b7bb5838
SM
54122012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5415 with "loading" messages (bug#11635).
5416
dfb308ba
MA
54172012-06-06 Michael Albinus <michael.albinus@gmx.de>
5418
5419 * files.el (enable-remote-dir-locals): New option.
5420 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5421
0372ee92
MA
5422 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5423 Ensure, that the temp directory is local.
5424
5425 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5426 `temporary-file-directory'.
5427
eed0bb91
MA
5428 * progmodes/python.el (python-send-region): Ensure, that the
5429 temporary file is created also in the remote case.
5430
7a58f64d
GM
54312012-06-06 Glenn Morris <rgm@gnu.org>
5432
f7dd4e98
GM
5433 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5434 (vc-rcs-update-changelog): Use it.
5435
090bd7cb 5436 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5437
7a58f64d
GM
5438 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5439 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5440 (vc-sccs-diff): Replace use of the external vcdiff script.
5441
daed4003
GM
54422012-06-05 Glenn Morris <rgm@gnu.org>
5443
5444 * ledit.el: Move to obsolete/.
5445
48c455c7
SS
54462012-06-05 Sam Steingold <sds@gnu.org>
5447
ed9265fc 5448 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5449 patch (Bug#11140).
5450
57a7d507
SM
54512012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5452
090bd7cb 5453 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5454
53aacf21
SM
5455 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5456 compiler-macro expansion.
5457
57a7d507
SM
5458 Add native compiler-macro support.
5459 * emacs-lisp/macroexp.el (macroexpand-all-1):
5460 Support compiler-macros directly. Properly follow aliases and apply
5461 the compiler macros more thoroughly.
5462 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5463 macroexpand now properly follows aliases.
5464 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5465 (cl-compiler-macroexpand): Use new prop.
5466 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5467
5468 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5469
51a5f9d8
MR
54702012-06-05 Martin Rudalics <rudalics@gmx.at>
5471
5472 * window.el (get-lru-window, get-mru-window, get-largest-window):
5473 New argument NOT-SELECTED to avoid picking the selected window.
5474 (window--display-buffer-1, window--display-buffer-2): Replace by
5475 new function window--display-buffer
5476 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5477 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5478 Use window--display-buffer.
51a5f9d8
MR
5479 (display-buffer-use-some-window): Remove temporary dedication
5480 hack by calling get-lru-window and get-largest-window with
5481 NOT-SELECTED argument non-nil. Call window--display-buffer.
5482
08f9f738
GM
54832012-06-05 Glenn Morris <rgm@gnu.org>
5484
5485 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5486 Replace external vcdiff script.
5487
e364a2b7
SM
54882012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5491
041df390
CY
54922012-06-04 Chong Yidong <cyd@gnu.org>
5493
e364a2b7
SM
5494 * image.el (imagemagick-types-inhibit): Revert last change.
5495 Add INFO and M.
47b36b94 5496 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5497
7c1898a7
SM
54982012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * emacs-lisp/cl-lib.el: Rename from cl.el.
5501 * emacs-lisp/cl.el: New compatibility file.
5502 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5503 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5504 to obey the "cl-" prefix.
5505 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5506
0c3461de
GM
55072012-06-03 Glenn Morris <rgm@gnu.org>
5508
1e266c88
GM
5509 * emacs-lisp/authors.el (authors-aliases): Addition.
5510
0c3461de
GM
5511 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5512 Fix :version.
5513
d8a52e15
SM
55142012-06-03 Stefan Merten <smerten@oekonux.de>
5515
5516 * textmodes/rst.el: Add comments.
5517 (rst-transition, rst-adornment): New faces.
5518 (rst-adornment-faces-alist): Make default safe to reevaluate.
5519 Fixes
5520 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5521 Improve customization tags.
5522 (rst-define-level-faces): Clarify meaning.
5523
5205d6f6
CY
55242012-06-03 Chong Yidong <cyd@gnu.org>
5525
5526 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5527 (compilation-mode-line-run, compilation-mode-line-exit):
5528 New faces.
5205d6f6
CY
5529 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5530
757ee657
JD
55312012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5532
7c1898a7
SM
5533 * progmodes/which-func.el (which-func-update-ediff-windows):
5534 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5535
5f2c76c6
CY
55362012-06-03 Chong Yidong <cyd@gnu.org>
5537
5538 * bindings.el: Remove explicit help text from format-mode-line.
5539 It is now supplied by mode-line-default-help-echo.
5540 (mode-line-front-space, mode-line-end-spaces)
5541 (mode-line-misc-info): New variables.
5542 (mode-line-modes, mode-line-position): Move the default value to
5543 the variable definition.
5544 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5545 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5546 (mode-line-modified-help-echo): New functions.
5547 (mode-line-mule-info, mode-line-modified): Use them.
5548 (mode-line-eol-desc, propertized-buffer-identification):
5549 Consistency fixes for help text.
cbe46e5f
CY
5550 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5551 set-buffer-file-coding-system (Bug#289).
5552 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5553
f2d6a3df
SM
55542012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * simple.el (execute-extended-command): Set real-this-command
5557 (bug#11506).
5558
37269466
CY
55592012-06-02 Chong Yidong <cyd@gnu.org>
5560
5561 Remove incorrect uses of "modeline" in comments, docstrings, and
5562 function/variable names (Bug#10329).
5563
5564 * cus-edit.el (mode-line):
5565 * dframe.el (dframe-mouse-hscroll):
5566 * emacs-lisp/re-builder.el:
5567 * emacs-lisp/easy-mmode.el (define-minor-mode):
5568 * frame.el (set-frame-name):
5569 * help.el (lookup-minor-mode-from-indicator):
5570 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5571 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5572 (c-toggle-hungry-state):
5573 * progmodes/antlr-mode.el (antlr-language-alist):
5574 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5575 * progmodes/vhdl-mode.el (vhdl-mode):
5576 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5577 * term/ns-win.el (ns-face-at-pos):
5578 * term/sup-mouse.el (sup-mouse-report):
5579 * textmodes/flyspell.el (flyspell-mode-line-string):
5580 * textmodes/ispell.el (ispell-highlight-face):
5581 * textmodes/reftex-global.el:
5582 * vc/vc-arch.el (vc-arch-mode-line-string):
5583 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5584 * vc/vc-git.el (vc-git-mode-line-string):
5585 * vc/vc-hooks.el (vc-display-status)
5586 (vc-default-mode-line-string):
5587 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5588
5589 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5590
5591 * dired.el (dired-sort-set-mode-line): Rename from
5592 dired-sort-set-modeline. All callers changed.
5593
5594 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5595 eshell-status-in-modeline.
5596
5597 * foldout.el (foldout-mode-line-string): Rename from
5598 foldout-modeline-string. All callers changed.
5599 (foldout-update-mode-line): Rename from foldout-update-modeline.
5600
5601 * subr.el (redraw-modeline): Make into obsolete alias.
5602
5603 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5604 timeclock-modeline-display. Make old name an alias.
5605 (timeclock-update-mode-line): Likewise. All callers changed.
5606 (timeclock-mode-line-display): No need to check before using
5607 add-hook.
5608 (timeclock-relative, timeclock-day-over-hook)
5609 (timeclock-use-elapsed, timeclock-mode-string)
5610 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5611
5612 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5613 crisp-mode-modeline-string.
5614
5615 * play/solitaire.el (solitaire-build-mode-line): Rename from
5616 solitaire-build-modeline. All callers changed.
5617
5618 * play/zone.el (zone-hiding-mode-line): Rename from
5619 zone-hiding-modeline. All callers changed.
5620 (zone): Remove unusued `modeline-hidden-level' property.
5621
5622 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5623 xscheme-modeline-initialize. All callers changed.
5624
5625 * strokes.el (strokes-lighter): Rename from
5626 strokes-modeline-string.
5627
5628 * textmodes/sgml-mode.el (html-face-tag-alist)
5629 (html-tag-face-alist): Use mode-line face instead of obsolete
5630 alias modeline.
5631
42152ee4
SM
56322012-06-02 Stefan Merten <smerten@oekonux.de>
5633
5634 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5635 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5636
95f520b5
CY
56372012-06-02 Chong Yidong <cyd@gnu.org>
5638
5639 * image.el (imagemagick-enabled-types): Rename from
5640 imagemagick-types-enable. Add many more types.
5641 (imagemagick-types-inhibit): Change default to nil.
5642 (imagemagick-filter-types): Caller changed.
5643
4a5f187a
SM
56442012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5645
03fef3e6
SM
5646 * emacs-lisp/cl-macs.el: Use backquotes.
5647 (cl-transform-function-property): Use eval-and-compile rather than
5648 abusing `require'.
5649 (defstruct): Use declare-function instead of with-no-warnings.
5650
4a5f187a
SM
5651 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5652 (byte-compile-output-docform): Re-add the print-circle bindings.
5653 (byte-compile-fix-header): Use #$ just because it's shorter.
5654 (byte-compile-output-file-form): Remove defun/defmacro.
5655
bd56924f
MR
56562012-06-01 Martin Rudalics <rudalics@gmx.at>
5657
5658 * simple.el (choose-completion): Remove now obsolete binding for
5659 owindow.
5660
046e38ce
MA
56612012-06-01 Michael Albinus <michael.albinus@gmx.de>
5662
5663 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5664 in order to avoid "Stack overflow in regexp matcher".
5665
32d72c2f
GM
56662012-05-31 Glenn Morris <rgm@gnu.org>
5667
5668 * image.el: For clarity, call imagemagick-register-types at
5669 top-level, rather than relying on a custom :initialize.
5670 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5671 (imagemagick-filter-types): New function. (Bug#7406)
5672 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5673 If disabling support, remove elements altogether rather
5674 than using an impossible regexp.
5675 (imagemagick-types-inhibit): Give it the default init function.
5676
dd41169b
SM
56772012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5678
4a5f187a
SM
5679 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5680 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5681
efc00ab1 56822012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5683
5684 * desktop.el (desktop-read): Clear previous and next buffers for
5685 all windows and bury *Messages* buffer (bug#11556).
5686
500fcedc
SM
56872012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 Add `declare' for `defun'. Align `defmacro's with it.
5690 * emacs-lisp/easy-mmode.el (define-minor-mode)
5691 (define-globalized-minor-mode): Don't autoload the var definitions.
5692 * emacs-lisp/byte-run.el: Use lexical-binding.
5693 (defun-declarations-alist, macro-declarations-alist): New vars.
5694 (defmacro, defun): Use them.
5695 (make-obsolete, define-obsolete-function-alias)
5696 (make-obsolete-variable, define-obsolete-variable-alias):
5697 Use `declare'.
5698 (macro-declaration-function): Mark obsolete.
5699 * emacs-lisp/autoload.el: Use lexical-binding.
5700 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5701
6e8a1786
AM
57022012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5703
5704 * textmodes/ispell.el (ispell-with-no-warnings):
5705 Define as a macro.
500fcedc
SM
5706 (ispell-kill-ispell, ispell-change-dictionary):
5707 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5708 `interactive-p'.
5709
61b108cc
SM
57102012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5713 (macro-declaration-function): Move var from C code.
5714 (macro-declaration-function): Define function with defalias.
5715 * emacs-lisp/macroexp.el (macroexpand-all-1):
5716 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5717 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5718 defun/defmacro any more.
5719 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5720 Provide fallback for unknown arglist.
5721 (byte-compile-arglist-warn): Change calling convention.
5722 (byte-compile-output-file-form): Move print-vars binding.
5723 (byte-compile-output-docform): Simplify accordingly.
5724 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5725 (byte-compile-defmacro-declaration): Remove.
5726 (byte-compile-file-form-defmumble): Generalize to defalias.
5727 (byte-compile-output-as-comment): Return byte-positions.
5728 Simplify callers accordingly.
5729 (byte-compile-lambda): Use `assert'.
5730 (byte-compile-defun, byte-compile-defmacro): Remove.
5731 (byte-compile-file-form-defalias):
5732 Use byte-compile-file-form-defmumble.
5733 (byte-compile-defalias-warn): Remove.
5734
6d3f7c2f
SM
57352012-05-29 Stefan Merten <smerten@oekonux.de>
5736
5737 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5738 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5739
5740 (rst-mode-abbrev-table): Merge definition.
5741 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5742 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5743
6dbaa1c7
UJ
57442012-05-29 Ulf Jasper <ulf.jasper@web.de>
5745
5746 * calendar/icalendar.el
5747 (icalendar-export-region): Export UID properly.
5748
d209e2fb 57492012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5750 * calendar/icalendar.el (icalendar-import-format):
5751 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5752 (icalendar-import-format-uid): New.
5753 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5754 Export UID.
5755
6876a58d
SM
57562012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5757
5758 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5759 different alternative patterns.
5760 (pcase-codegen): Be more careful to preserve identity.
5761 (pcase--u1): Don't forget to mark vars as used.
5762
5763 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5764 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5765 (byte-compile-from-buffer): ...rather than here.
5766
5767 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5768 functions from byte-compile-function-environment.
5769
46b7967e
TN
57702012-05-29 Troels Nielsen <bn.troels@gmail.com>
5771
5772 * window.el (window-deletable-p): Avoid deleting the root window
5773 of a frame with an active minibuffer.
5774
69d565e2
MR
57752012-05-29 Martin Rudalics <rudalics@gmx.at>
5776
5777 * simple.el (choose-completion): Use quit-window (Bug#11567).
5778
a149fa51
CY
57792012-05-29 Chong Yidong <cyd@gnu.org>
5780
5781 * whitespace.el (whitespace-cleanup): Fix usage of
5782 whitespace-empty-at-bob-regexp (Bug#11492).
5783
2b311310
AH
57842012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5785
5786 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5787 revert (Bug#11488).
5788
b9cb2387
JL
57892012-05-29 Juri Linkov <juri@jurta.org>
5790
5791 * isearch.el (isearch-mode-map): Bind `M-s _' to
5792 `isearch-toggle-symbol'. Bind `M-s c' to
5793 `isearch-toggle-case-fold'.
5794 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5795 (isearch-forward): Add `M-s _' to the docstring.
5796 (isearch-forward-symbol, isearch-toggle-case-fold)
5797 (isearch-symbol-regexp): New functions. (Bug#11381)
5798
d5e61c1c
JL
57992012-05-29 Juri Linkov <juri@jurta.org>
5800
5801 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5802 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5803 a function, call it to get the regexp.
5804 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5805 property `isearch-message-prefix' instead of the string "word ".
5806 (isearch-search-fun-default): For the case of `isearch-word',
5807 return a lambda that calls re-search-forward/re-search-backward
5808 with a regexp returned by `word-search-regexp' or by the function
5809 in `isearch-word'.
5810
8cbd80f7
JL
58112012-05-29 Juri Linkov <juri@jurta.org>
5812
5813 * isearch.el (isearch-search-fun-default): New function.
5814 (isearch-search-fun): Move default part to the new function
5815 `isearch-search-fun-default'.
5816 (isearch-search-fun-function): Set the default value to
5817 `isearch-search-fun-default'. (Bug#11381)
5818
5819 * comint.el (comint-history-isearch-end):
5820 Use `isearch-search-fun-default'.
5821 (comint-history-isearch-search): Use `isearch-search-fun-default'
5822 and remove spacial case for `isearch-word'.
5823 (comint-history-isearch-wrap): Remove spacial case for
5824 `isearch-word'.
5825
5826 * hexl.el (hexl-isearch-search-function):
5827 Use `isearch-search-fun-default'.
5828
5829 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5830 Use `word-search-regexp' for `isearch-word'.
5831
5832 * misearch.el (multi-isearch-search-fun):
5833 Use `isearch-search-fun-default'.
5834
5835 * simple.el (minibuffer-history-isearch-search):
5836 Use `isearch-search-fun-default' and remove spacial case for
5837 `isearch-word'.
5838 (minibuffer-history-isearch-wrap): Remove spacial case for
5839 `isearch-word'.
5840
5841 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5842 Remove spacial case for `isearch-word'.
5843 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5844
85c8c5b6
AM
58452012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5846
5847 Decrease XEmacs incompatibilities.
5848 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5849 Use `string-match'.
5850 (flyspell-delete-region-overlays): Use alternative definition for
5851 XEmacs.
5852 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5853 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5854 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5855 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5856 `define-obsolete-face-alias' under XEmacs, but old method.
5857
5858 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5859 `with-no-warnings' definition or Emacs alias.
5860 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5861 (ispell-word): Do not use `region-p' if XEmacs.
5862
8cab9efc
AM
58632012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5864
5865 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5866 Check for `ispell-dictionary-base-alist' instead of full
5867 `ispell-dictionary-alist'.
5868 (ispell-init-process): Show spellchecker when starting new Ispell
5869 process.
5870
fda91268
RZ
58712012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5874 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5875
694ea8e3
JB
58762012-05-27 Juanma Barranquero <lekktu@gmail.com>
5877
5878 * version.el (motif-version-string, gtk-version-string)
5879 (ns-version-string): Declare.
5880
e4d4f539
JL
58812012-05-27 Juri Linkov <juri@jurta.org>
5882
5883 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5884 after the `eval-defun-1' specialcaseing
5885 like in `edebug-eval-defun' (bug#10181).
5886
5887 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5888 like in `eval-defun-1'.
5889
33017faf 58902012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5891
fda91268
RZ
5892 * mail/sendmail.el (mail-yank-region):
5893 Recognize rmail-yank-current-message in addition to insert-buffer.
5894 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5895 a *mail* buffer created through rmail-start-mail with sendmail as
5896 mail-user-agent.
5897
33017faf
GM
58982012-05-27 Chong Yidong <cyd@gnu.org>
5899
5900 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5901 Default to 256 (Bug#11267).
5902
5903 * help.el (describe-mode): Doc fix.
5904
04188bb9
GM
59052012-05-26 Glenn Morris <rgm@gnu.org>
5906
38264cc9
GM
5907 * w32-fns.el (w32-init-info): Remove.
5908 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5909
eb7afdad
GM
5910 * info.el (info-initialize): For self-contained NS builds, put the
5911 included info/ directory at the front. (Bug#2791)
5912
04188bb9
GM
5913 * paths.el (Info-default-directory-list): Make it a defcustom,
5914 mainly so that we can use custom-initialize-delay.
5915
a179e3f7
SM
59162012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5917
43416392
SM
5918 * subr.el (buffer-has-markers-at): Mark obsolete.
5919
a179e3f7 5920 * subr.el (lambda): Use declare.
43416392 5921
a179e3f7
SM
5922 * emacs-lisp/lisp-mode.el (lambda):
5923 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5924
34a008d9
AH
59252012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5926
5927 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5928
0a3b289f
GM
59292012-05-26 Glenn Morris <rgm@gnu.org>
5930
5931 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5932
758c81e8
GM
59332012-05-25 Glenn Morris <rgm@gnu.org>
5934
f9f334f0
GM
5935 * paths.el: Remove no-byte-compile.
5936 * loadup.el: No need to load paths.el uncompiled.
5937
87eb79c2
GM
5938 * image.el (imagemagick-types-inhibit): Doc fix.
5939
758c81e8
GM
5940 * version.el: Remove no-byte-compile and associated formatting.
5941 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5942 is ancient code from when there was an "inc-vers.el".
5943
e7e85dc0
SM
59442012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * progmodes/gdb-mi.el: Minor style changes.
5947 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5948 Turn into minor modes.
5949 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5950 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5951 (gdb-shell): Remove unneeded let-binding.
5952 (gdb-get-many-fields): Eliminate O(n²) behavior.
5953
f31237a4
EZ
59542012-05-25 Eli Zaretskii <eliz@gnu.org>
5955
5956 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5957 platforms that don't link in fontset.c.
5958
bc1b21bb
JL
59592012-05-25 Juri Linkov <juri@jurta.org>
5960
5961 Use the same diff color scheme as in modern VCSes (bug#10181).
5962
5963 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5964 to avoid confusion with `diff-added' that now uses green colors.
5965 (diff-removed): Use shades of red.
5966 (diff-added): Use shades of green.
5967 (diff-changed): Leave just the yellow color.
5968 (diff-use-changed-face): New variable.
5969 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5970 how to highlight context diff changes.
5971 (diff-refine-change): Use shades of yellow.
5972 (diff-refine-removed): New face that uses shades of red.
5973 (diff-refine-added): New face that uses shades of green.
5974 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5975 `diff-refine-removed' in the call to `smerge-refine-subst'
5976 depending on the value of `diff-use-changed-face'.
5977
5978 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5979 (smerge-other): Use shades of green.
5980 (smerge-base): Use shades of yellow.
5981 (smerge-refined-change): Empty face.
5982 (smerge-refined-removed): New face that uses shades of red.
5983 (smerge-refined-added): New face that uses shades of green.
5984 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5985 args `props-r' and `props-a', and use them. Doc fix.
5986 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5987 on its value use different faces `smerge-refined-change',
5988 `smerge-refined-removed', `smerge-refined-added' in the call to
5989 `smerge-refine-subst'.
5990
5991 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5992 Add face condition `min-colors 88' with shades of red.
5993 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5994 `min-colors 88' with shades of green.
5995 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5996 `min-colors 88' with shades of yellow.
5997
6df9112c
GM
59982012-05-24 Glenn Morris <rgm@gnu.org>
5999
ead5edc0
GM
6000 * paths.el (prune-directory-list, remote-shell-program): Move to...
6001 * files.el (prune-directory-list, remote-shell-program): ...here.
6002 For the latter, delay initialization, prefer ssh, just search PATH.
6003
f18b81e6
GM
6004 * paths.el (term-file-prefix): Move to faces.el (the only user).
6005 * faces.el (term-file-prefix): Move here, make it a defcustom.
6006
ee2f89a6
GM
6007 * paths.el (news-directory, news-path, news-inews-program):
6008 Move to gnus/nnspool.el.
61a583ca 6009
f8815e4c
GM
6010 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6011
c8f3b42c
GM
6012 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6013 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6014 Make the latter a defcustom, with a delayed initialization.
6015
6df9112c
GM
6016 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6017 These were deleted from Gnus itself late 2010.
6018
5dadff36
JB
60192012-05-22 Juanma Barranquero <lekktu@gmail.com>
6020
9e1701c6
JB
6021 * progmodes/which-func.el (which-func-ff-hook):
6022 Check against user-error, not error.
6023
bd7239f5 6024 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6025 cl-specs.el, which no longer exists.
6026
3290526d
GM
60272012-05-22 Glenn Morris <rgm@gnu.org>
6028
6029 * info.el (info-emacs-bug): New command.
6030 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6031 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6032
ff0c3cfb
GM
60332012-05-21 Glenn Morris <rgm@gnu.org>
6034
6035 * makefile.w32-in (update-subdirs-SH):
6036 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6037
5814f126
SM
60382012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6039
a52c0aa0
SM
6040 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6041
5814f126
SM
6042 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6043 Simplify Maven regexp, and make sure the file can't start with a space
6044 (bug#11517).
6045
b847032c
GM
60462012-05-21 Glenn Morris <rgm@gnu.org>
6047
6048 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6049 Scrap superfluous subshells.
6050
3858bfe7
SM
60512012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6054 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6055
d14b0029
JB
60562012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6057
6058 * calc/calc.el (calc-ensure-consistent-units): New variable.
6059
a52c0aa0
SM
6060 * calc/calc-units.el (math-consistent-units-p)
6061 (math-check-unit-consistency): New functions.
6062 (calc-quick-units, calc-convert-units):
6063 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6064 is non-nil.
d14b0029
JB
6065 (calc-extract-units): Fix typo.
6066
60c4db3a
SM
60672012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6068
77f3b62e
SM
6069 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6070
60c4db3a
SM
6071 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6072 (flyspell-default-deplacement-commands): Don't spell check after
6073 repeated window/frame switches (e.g. triggered by mouse-movement).
6074 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6075 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6076 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6077 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6078 Remove unused vars.
6079 (flyspell-get-casechars, flyspell-get-not-casechars):
6080 Simplify; Don't bother removing a ] just to add it back.
6081 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6082
d209e2fb 60832012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6084
6085 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6086 New functions.
bd7239f5 6087 (math-function-table): Add support for more C functions.
b1a10716 6088
3f1b25b5
AM
60892012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6090
090bd7cb
JB
6091 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6092 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6093 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6094
b581bb5c
SM
60952012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6096
6097 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6098 their respective macro declarations.
6099 * skeleton.el (define-skeleton):
6100 * progmodes/compile.el (define-compilation-mode):
6101 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6102 (define-ibuffer-filter):
6103 * emacs-lisp/generic.el (define-generic-mode):
6104 * emacs-lisp/easy-mmode.el (define-minor-mode)
6105 (define-globalized-minor-mode):
6106 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6107 * emacs-lisp/byte-run.el (defsubst):
6108 * custom.el (deftheme): Add doc-string metadata.
6109
70b8ef8f
SM
61102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6113
b1198e17
SM
61142012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6115
9abdc45d
SM
6116 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6117
b1198e17
SM
6118 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6119 * emacs-lisp/cl-macs.el: Idem.
6120 * emacs-lisp/cl-specs.el: Remove.
6121
4735906a
SM
61222012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6123
6124 Minor renaming of internal CL functions and variables.
6125 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6126 (cl--position): Rename from cl-position.
6127 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6128 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6129 (cl--random-state): Rename from *random-state*.
6130
ac348012
SM
61312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6134 parens around the arg list (bug#11499).
6135
a0a79cde
JL
61362012-05-17 Juri Linkov <juri@jurta.org>
6137
6138 * isearch.el (word-search-regexp, word-search-backward)
6139 (word-search-forward, word-search-backward-lax)
6140 (word-search-forward-lax): Move functions from search.c
6141 (bug#10145, bug#11381).
6142
65034a51
AM
61432012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6144
090bd7cb
JB
6145 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6146 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6147 Delay for otherchars as for normal word components.
65034a51 6148
1a72a195
SM
61492012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * minibuffer.el (completion--sifn-requote): Fix last change.
6152 (minibuffer-local-must-match-filename-map):
6153 Move define-obsolete-variable-alias before its var.
6154
fdb058c2
SM
61552012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6156
c41045e6
SM
6157 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6158
036dfb8b
SM
6159 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6160 behavior.
6161 (completion--string-equal-p): New function.
6162 (completion--twq-all): Use it to get better assertion failure data.
6163
2473256d
SM
6164 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6165 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6166 (shell--requote-argument): New functions.
6167 (shell-completion-vars): Use them.
6168 (shell--parse-pcomplete-arguments): Rename from
6169 shell-parse-pcomplete-arguments.
6170 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6171 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6172 Obey comint-file-name-quote-list.
6173
fdb058c2
SM
6174 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6175 (smie-indent-keyword): Use it.
6176
51fa99f1
SM
61772012-05-14 Stefan Merten <smerten@oekonux.de>
6178
6179 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6180
e18afed7 61812012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6182
6183 * net/rlogin.el (rlogin-mode-map): Fix last change.
6184
e18afed7 61852012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6186
6187 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6188 the following \r\n using a single `process-send-string', since the
6189 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6190 with two `process-send-string's (Bug#11444).
8633b1f4 6191
e18afed7 61922012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6193
fdb058c2
SM
6194 * shell.el (shell-parse-pcomplete-arguments):
6195 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6196
2d21d7f6
WJ
61972012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6198
e18afed7 6199 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6200 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6201 (image-transform-width, image-transform-fit-width): New functions.
6202 (image-transform-properties): Use them.
6203 (image-transform-check-size): New function.
6204 (image-toggle-display-image): Use it (for testing).
6205 (image-transform-set-rotation): Reduce angle mod 360.
6206 Delete obsolete comment.
6207
7102e6d0
WJ
62082012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6209
6210 * image-mode.el: Fix scaling (bug#11399).
6211 (image-transform-resize): Doc fix.
6212 (image-transform-properties): Default scale is 1 and height should
6213 be an integer.
6214
06bc5e6e
SM
62152012-05-13 Johan Bockgård <bojohan@gnu.org>
6216
6217 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6218 than hard-coding `car', to fix misbehavior when moving forward.
6219
0ae03b6a
CY
62202012-05-13 Chong Yidong <cyd@gnu.org>
6221
6222 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6223 (tabulated-list-entries, tabulated-list-padding)
6224 (tabulated-list-sort-key): Make permanent-local.
6225
6226 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6227 (electric-buffer-list): Put electric buffer menu
6228 command descriptions in this docstring, instead of the docstring
6229 of electric-buffer-menu-mode. Code cleanups.
6230 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6231 Electric-buffer-menu-mode.
6232 (electric-buffer-update-highlight): Minor code cleanup.
6233
205a7391
MA
62342012-05-13 Michael Albinus <michael.albinus@gmx.de>
6235
6236 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6237 (Bug#11447)
6238
e5bd0a28
SM
62392012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 Move define-obsolete-variable-alias before the var's definition.
6242 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6243 * tooltip.el (tooltip-hook):
6244 * textmodes/reftex-toc.el (reftex-toc-map):
6245 * textmodes/reftex-sel.el (reftex-select-label-map)
6246 (reftex-select-bib-map):
6247 * textmodes/reftex-index.el (reftex-index-map)
6248 (reftex-index-phrases-map):
6249 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6250 * progmodes/meta-mode.el (meta-mode-map):
6251 * novice.el (disabled-command-hook):
6252 * loadhist.el (unload-hook-features-list):
6253 * frame.el (blink-cursor):
6254 * files.el (find-file-not-found-hooks, write-file-hooks)
6255 (write-contents-hooks):
6256 * emulation/tpu-edt.el (GOLD-map):
6257 * emacs-lock.el (emacs-lock-from-exiting):
6258 * emacs-lisp/generic.el (generic-font-lock-defaults):
6259 * emacs-lisp/chart.el (chart-map):
6260 * dos-fns.el (register-name-alist):
6261 * dired-x.el (dired-omit-files-p):
6262 * desktop.el (desktop-enable):
6263 * cus-edit.el (custom-mode-hook):
6264 * buff-menu.el (buffer-menu-mode-hook):
6265 * bookmark.el (bookmark-read-annotation-text-func)
6266 (bookmark-exit-hooks):
6267 * allout.el (allout-mode-deactivate-hook)
6268 (allout-exposure-change-hook, allout-structure-added-hook)
6269 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6270 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6271 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6272 comes before the corresponding variable's definition.
6273
ac59c2f6
CY
62742012-05-12 Chong Yidong <cyd@gnu.org>
6275
6276 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6277 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6278 (Buffer-menu-mode-map): Bind it.
6279 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6280
dee6c9a3
SM
62812012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6282
2171cea5
SM
6283 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6284 (prolog-upper-case-string, prolog-lower-case-string)
6285 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6286 (prolog-use-smie, prolog-smie-grammar): New vars.
6287 (prolog-smie-forward-token, prolog-smie-backward-token)
6288 (prolog-smie-rules): New funs.
6289 (prolog-comment-indent): Remove.
6290 (prolog-mode-variables): Use default comment indentation instead.
6291 Setup SMIE.
6292 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6293 (prolog-mode): Don't call them any more.
6294 (prolog-electric-colon, prolog-electric-dash)
6295 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6296
aa0382bd
SM
6297 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6298
dbacb4bd
SM
6299 * minibuffer.el (completion--twq-all): Again, allow case differences.
6300
13bdd94c
SM
6301 * term.el: Move keymap initialization code to be more idiomatic.
6302 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6303 (term-terminal-menu): Move initialization into declaration.
6304 (term-escape-char): Let the user set it in her .emacs.
6305
ff46c759
SM
6306 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6307 Provide SMIE-based indentation (not enabled by default yet).
6308 (sh-mode-map): Don't bind electric keys.
6309 Use electric-pair-mode instead of skeleton-pair.
6310 (sh-assignment-regexp): Fit within 80 columns.
6311 (sh-indent-supported): Specify actual shell name instead of boolean.
6312 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6313 (sh-maybe-here-document): Use it. Make obsolete.
6314 (sh-electric-here-document-mode) New minor mode.
6315 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6316 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6317 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6318 (sh-smie-rc-grammar, sh-use-smie): New vars.
6319 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6320 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6321 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6322 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6323 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6324 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6325 (sh-set-shell): Use smie-setup if requested.
6326
dee6c9a3
SM
6327 * term.el (term-set-escape-char): Properly set term-escape-char.
6328 See http://stackoverflow.com/questions/10524656.
6329
9f9aa044
CY
63302012-05-10 Chong Yidong <cyd@gnu.org>
6331
6332 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6333 Use url-generic-parse-url, and handle host names and Windows
6334 filenames properly.
6335 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6336 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6337 URL schemes to work on.
6338 (ffap--toggle-read-only): New function.
6339 (ffap-read-only, ffap-read-only-other-window)
6340 (ffap-read-only-other-frame): Use it.
6341 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6342 necessary for ffap-url-unwrap-remote.
6343
836d29b3
DA
63442012-05-10 Dave Abrahams <dave@boostpro.com>
6345
6346 * cus-start.el (create-lockfiles): Add it.
6347
00fd78ed
CY
63482012-05-09 Chong Yidong <cyd@gnu.org>
6349
6350 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6351 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6352
666b903b 63532012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6354
6355 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6356
666b903b 63572012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6358
6359 * ansi-color.el (ansi-color-process-output): Check for validity of
6360 comint-last-output-start before using it. This avoids a bad
6361 interaction with gdb-mi's input/output buffer.
6362
666b903b 63632012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6364
6365 * files.el (dir-locals-read-from-file):
6366 Mention dir-locals in any error message.
6367
666b903b 63682012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6369
6370 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6371 package (Bug#11410).
6372
f677562b
CY
6373 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6374 variables into description.
6375
666b903b 63762012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6377
6378 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6379 shell-delimiter-argument-list (bug#11348).
6380 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6381
b499d8d0
JB
63822012-05-09 Juanma Barranquero <lekktu@gmail.com>
6383
8f6b6da8
JB
6384 * textmodes/rst.el: Silence byte-compiler warnings.
6385 (rst-re-alist, rst-reset-section-caches): Move around.
6386 (rst-re): Use `characterp', not `char-valid-p'.
6387 (font-lock-beg, font-lock-end): Declare.
6388
4824146a
JB
6389 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6390 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6391
b499d8d0
JB
6392 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6393
ad89bb83
GM
63942012-05-08 Glenn Morris <rgm@gnu.org>
6395
6396 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6397
8bba5a75
SM
63982012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6399
49ed9c8e
SM
6400 * vc/log-edit.el: Add GNU coding standards highlighting.
6401 (log-edit-font-lock-gnu-style)
6402 (log-edit-font-lock-gnu-keywords): New vars.
6403 (log-edit-font-lock-keywords): New fun.
6404 (log-edit-mode): Don't fold case in font-lock.
6405 (log-edit-font-lock-keywords): Do not assume case-folding.
6406
07d00b56
SM
6407 * imenu.el: Misc cleanup. Make docstrings out of comments.
6408 Use lexical-binding.
6409 (imenu--index-alist, imenu--last-menubar-index-alist)
6410 (imenu-menubar-modified-tick): Use defvar-local.
6411 (imenu--split-menu): Remove unused var.
6412 (imenu--cleanup-seen): Declare as global.
6413 (imenu--cleanup): Use dolist.
6414
8bba5a75
SM
6415 * subr.el (defvar-local): Add debug spec and doc-string position.
6416
5075bdb5
GM
64172012-05-08 Glenn Morris <rgm@gnu.org>
6418
090bd7cb 6419 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6420 * language/english.el, language/georgian.el, language/greek.el:
6421 * language/japanese.el, language/khmer.el, language/korean.el:
6422 * language/lao.el, language/misc-lang.el, language/romanian.el:
6423 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6424 * language/thai.el, language/utf-8-lang.el:
6425 Remove no-byte-compile setting.
6426
5075bdb5
GM
6427 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6428
06f679a7
AH
64292012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6430
6431 * progmodes/make-mode.el (makefile-browse):
6432 Remove unnecessary interactive. (Bug#11324)
6433
03794570
GM
64342012-05-07 Glenn Morris <rgm@gnu.org>
6435
af8630f4
GM
6436 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6437
03794570
GM
6438 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6439
f0809a9d
SM
64402012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6441
28be5ce7
SM
6442 * loadup.el: Preload newcomment.el.
6443 * newcomment.el: Move autoload-only code to toplevel.
6444
f0809a9d
SM
6445 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6446 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6447 Handle new :right-align column property.
6448 (tabulated-list-print-col): Idem, plus use `display' text-property to
6449 try and preserve alignment for variable pitch fonts.
6450
1241b724
CY
64512012-05-07 Chong Yidong <cyd@gnu.org>
6452
6453 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6454 (tabulated-list-use-header-line): New var.
6455 (tabulated-list-init-header): Use it.
6456 (tabulated-list-print-fake-header): New function.
6457 (tabulated-list-print): Use it.
6458 (tabulated-list-sort-button-map): Add non-header-line commands.
6459 (tabulated-list-init-header): Add column name property to basic
6460 labels as well.
6461 (tabulated-list-col-sort): Handle non-header-line button case.
6462 (tabulated-list--sort-by-column-name): Fix a corner case.
6463
f0809a9d
SM
6464 * buff-menu.el (list-buffers--refresh):
6465 Handle Buffer-menu-use-header-line.
1241b724 6466
e5f9458f
CY
64672012-05-06 Chong Yidong <cyd@gnu.org>
6468
6469 * buff-menu.el: Convert to Tabulated List mode.
6470 (Buffer-menu-buffer+size-width): Make obsolete.
6471 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6472 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6473 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6474 documentation into docstring of buffer-menu.
6475 (Buffer-menu-toggle-files-only): Add an informative message.
6476 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6477 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6478 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6479 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6480 (Buffer-menu-execute, Buffer-menu-select)
6481 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6482 (Buffer-menu-bury): Use Tabulated List machinery.
6483 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6484 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6485 Delete.
e5f9458f
CY
6486 (list-buffers--refresh): New function.
6487 (list-buffers-noselect): Use it.
6488 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6489 (Buffer-menu--pretty-file-name): New helper functions.
6490
6491 * loadup.el: Preload tabulated-list.
6492
6493 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6494 tabulated-list-sort-column.
6495 (tabulated-list-init-header): Add the initial aligning space even
6496 if tabulated-list-padding is zero.
6497
e129292c
CS
64982012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6499
6500 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6501 whose cdr is not a cons cell correctly (bug#11038).
6502
6632d361
CY
65032012-05-06 Chong Yidong <cyd@gnu.org>
6504
e129292c
CS
6505 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6506 Accept additional plist in column descriptors.
6632d361
CY
6507 (tabulated-list-init-header): Obey it.
6508 (tabulated-list-get-entry): New function.
6509 (tabulated-list-put-tag): Use it. Use string-width instead of
6510 length.
6511 (tabulated-list--column-number): New function.
6512 (tabulated-list-print): Use it.
e129292c
CS
6513 (tabulated-list-print-col): New function.
6514 Set `tabulated-list-column-name' property on each column's text.
6632d361 6515 (tabulated-list-print-entry): Use it.
e129292c
CS
6516 (tabulated-list-delete-entry, tabulated-list-set-col):
6517 New functions.
6632d361
CY
6518 (tabulated-list-sort-column): New command (Bug#11337).
6519
3cc99f68
CY
6520 * buff-menu.el (list-buffers): Move C-x C-b binding from
6521 buff-menu.el to bindings.el.
6522
6523 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6524 :advertised-binding feature.
6525
52b61776
TN
65262012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6527
6528 * progmodes/compile.el (compilation-internal-error-properties):
6529 Calculate start position correctly when end-col is set but
6530 end-line is not (Bug#11382).
6531
ebfe2597
WJ
65322012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6533
6534 * man.el (Man-unindent): Use text-property-default-nonsticky to
6535 prevent untabify from inheriting face properties (Bug#11408).
6536
6d3f7c2f
SM
65372012-05-05 Stefan Merten <smerten@oekonux.de>
6538
6539 * textmodes/rst.el: Major merge with upstream development up to
6540 Docutils SVN r7399 / rst.el V1.2.1.
6541
6542 Clarify maintainership and authors.
6543
6544 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6545 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6546 (rst-official-version, rst-official-cvs-rev, rst-version)
6547 (rst-package-emacs-version-alist): New functions and variables
6548 for version information.
6549
6550 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6551 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6552 (rst-mode-syntax-table, rst-mode): New and corrected functions
6553 and variables representing reStructuredText features.
6554
6555 (rst-re): New function for reStructuredText regexes. Use in
6556 many places.
6557
6558 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6559 (rst-mode-map): Rebind keys.
6560
6561 (rst-mode-lazy, rst-font-lock-keywords)
6562 (rst-font-lock-extend-region)
6563 (rst-font-lock-extend-region-internal)
6564 (rst-font-lock-extend-region-extend)
6565 (rst-font-lock-find-unindented-line-limit)
6566 (rst-font-lock-find-unindented-line-match)
6567 (rst-adornment-level, rst-font-lock-adornment-level)
6568 (rst-font-lock-adornment-match)
6569 (rst-font-lock-handle-adornment-pre-match-form)
6570 (rst-font-lock-handle-adornment-matcher): Major revision of
6571 font-locking. Integrate with other code. Use `jit-lock-mode'.
6572
6573 (rst-preferred-adornments, rst-adjust-hook)
6574 (rst-new-adornment-down, rst-preferred-bullets)
6575 (rst-preferred-bullets, rst-indent, rst-indent-width)
6576 (rst-indent-field, rst-indent-literal-normal)
6577 (rst-indent-literal-minimized, rst-indent-comment): Change,
6578 extend and improve customization.
6579
6580 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6581 (rst-normalize-cursor-position, rst-get-decoration)
6582 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6583 (rst-rstrip, rst-toc-insert-find-delete-contents)
6584 (rst-shift-fill-region, rst-compute-bullet-tabs)
6585 (rst-debug-print-tabs, rst-debug-mark-found)
6586 (rst-shift-region-guts, rst-shift-region-right)
6587 (rst-shift-region-left, rst-use-char-classes)
6588 (rst-font-lock-keywords-function)
6589 (rst-font-lock-indentation-point)
6590 (rst-font-lock-find-unindented-line-begin)
6591 (rst-font-lock-find-unindented-line-end)
6592 (rst-font-lock-find-unindented-line)
6593 (rst-font-lock-adornment-point, rst-font-lock-level)
6594 (rst-adornment-level-alist): Remove functions and variables.
6595
6596 (rst-compare-adornments, rst-get-adornment-match)
6597 (rst-suggest-new-adornment, rst-get-adornments-around)
6598 (rst-adornment-complete-p, rst-get-next-adornment)
6599 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6600 (rst-straighten-adornments): Standardize function names to
6601 use "adornment" instead of "decoration". Correct callers.
6602 Similar standardizing in many places.
6603
6604 (rst-update-section, rst-adjust, rst-promote-region)
6605 (rst-enumerate-region, rst-bullet-list-region)
6606 (rst-repeat-last-character): Correct use of `interactive'.
6607
6608 (rst-classify-adornment, rst-find-all-adornments)
6609 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6610 (rst-find-leftmost-column, rst-repeat-last-character):
6611 Refactor functions.
6612
6613 (rst-find-title-line, rst-reset-section-caches)
6614 (rst-get-adornments-around, rst-adjust-adornment-work)
6615 (rst-arabic-to-roman, rst-roman-to-arabic)
6616 (rst-insert-list-pos, rst-insert-list-new-item)
6617 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6618 New functions.
6619
6620 (rst-all-sections, rst-section-hierarchy)
6621 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6622 New variables.
6623
6624 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6625 configuration instead of only buffer. Change where necessary.
6626
6627 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6628 (rst-shift-region, rst-adaptive-fill): New functions for
6629 indentation and filling.
6630
6631 (rst-comment-line-break, rst-comment-indent)
6632 (rst-comment-insert-comment, rst-comment-region)
6633 (rst-uncomment-region): New functions for handling comments.
6634
6635 (rst-compile): Quote shell arguments.
6636
6637 (rst-compile-pdf-preview, rst-compile-slides-preview):
6638 Delete temporary files after use.
6639
a43f98b3
GM
66402012-05-05 Glenn Morris <rgm@gnu.org>
6641
48176e8b
GM
6642 * calendar/cal-html.el: Optionally include holidays in the output.
6643 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6644 (cal-html-holidays): New option.
6645 (cal-html-css-default): Add holiday entry.
6646 (holiday-in-range): Autoload it.
6647 (cal-html-htmlify-entry): Add optional class argument.
6648 (cal-html-htmlify-list): Add optional holidays argument.
6649 (cal-html-insert-agenda-days): Include holidays in the output.
6650 (cal-html-one-month): Maybe include holidays.
6651
a43f98b3
GM
6652 * calendar/holidays.el (holiday-in-range):
6653 Move here from cal-tex-list-holidays.
6654 * calendar/cal-tex.el (cal-tex-list-holidays):
6655 Make it an obsolete alias for holiday-in-range. Update all callers.
6656
fef9d149 66572012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6658
6659 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6660 Nextstep.
6661
248da2f4
RW
66622012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6663
6664 * files.el (file-auto-mode-skip): New var.
6665 (set-auto-mode-1): Use it.
6666
f95e9344
SM
66672012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6668
df96ab1e
SM
6669 * repeat.el: Use lexical-binding.
6670 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6671 (repeat-undo-count): Remove.
6672 (repeat):
6673 * progmodes/octave-mod.el (octave-abbrev-start):
6674 * progmodes/f90.el (f90-abbrev-start):
6675 * face-remap.el (text-scale-adjust):
6676 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6677
5342bb06
SM
6678 * emacs-lisp/pcase.el (pcase--let*): New function.
6679 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6680 a bit more.
6681 (pcase--split-pred): Be more clever about ruling out overlap between
6682 a predicate and some constant pattern.
6683 (pcase--q1): Use `null' instead of (eq foo nil).
6684
f95e9344
SM
6685 * subr.el (setq-local, defvar-local): New macros.
6686 (kbd): Redefine as an alias.
6687 (with-selected-window): Leave unrelated frames alone.
6688 (set-temporary-overlay-map): New function.
6689
71873e2b
SM
66902012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * subr.el (user-error): New function.
6693 * window.el (switch-to-buffer):
6694 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6695 (smerge-match-conflict):
6696 * simple.el (previous-matching-history-element)
6697 (next-matching-history-element, goto-history-element, undo-more)
6698 (undo-start):
6699 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6700 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6701 (next-file, tags-loop-scan, list-tags, complete-tag):
6702 * progmodes/compile.el (compilation-loop):
6703 * mouse.el (mouse-minibuffer-check):
6704 * man.el (Man-bgproc-sentinel, Man-goto-page):
6705 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6706 (Info-history-forward, Info-follow-reference, Info-menu)
6707 (Info-extract-menu-item, Info-extract-menu-counting)
6708 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6709 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6710 (Info-next-reference, Info-prev-reference, Info-index)
6711 (Info-index-next, Info-follow-nearest-node)
6712 (Info-copy-current-node-name):
6713 * imenu.el (imenu--make-index-alist)
6714 (imenu-default-create-index-function, imenu-add-to-menubar):
6715 * files.el (basic-save-buffer, recover-file):
6716 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6717 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6718 (checkdoc-message-text, checkdoc-defun):
6719 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6720 * cus-edit.el (customize-changed-options, customize-rogue)
6721 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6722 (custom-variable-mark-to-reset-standard)
6723 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6724 (custom-file):
6725 * completion.el (check-completion-length):
6726 * comint.el (comint-search-arg)
6727 (comint-previous-matching-input-string-position)
6728 (comint-previous-matching-input)
6729 (comint-replace-by-expanded-history-before-point, comint-send-input)
6730 (comint-copy-old-input, comint-backward-matching-input)
6731 (comint-goto-process-mark, comint-set-process-mark):
6732 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6733 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6734
8a61ee22
SM
67352012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6736
66408d1e
SM
6737 * dabbrev.el (dabbrev--ignore-case-p): New function.
6738 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6739 Use it.
6740
8a61ee22
SM
6741 * files.el (automount-dir-prefix): Mark as obsolete.
6742
3c74813a
GM
67432012-05-04 Glenn Morris <rgm@gnu.org>
6744
6745 * patcomp.el, play/bruce.el: Move to obsolete/.
6746
0bfcf5c5
PE
67472012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6748
6749 Fix minor Y10k bugs.
6750 * arc-mode.el (archive-unixdate):
6751 * autoinsert.el (auto-insert-alist):
6752 * calc/calc-forms.el (math-this-year):
6753 * emacs-lisp/copyright.el (copyright-current-year)
6754 (copyright-update-year, copyright):
6755 * tar-mode.el (tar-clip-time-string):
6756 * time.el (display-time-update):
6757 Don't assume years have 4 digits.
6758
78f3273a
CY
67592012-05-04 Chong Yidong <cyd@gnu.org>
6760
6761 * dos-w32.el (file-name-buffer-file-type-alist)
6762 (direct-print-region-use-command-dot-com):
6763 * ffap.el (ffap-menu-regexp):
6764 * find-file.el (ff-special-constructs):
6765 * follow.el (follow-debug):
6766 * forms.el (forms--debug):
6767 * iswitchb.el (iswitchb-all-frames):
6768 * ido.el (ido-all-frames):
6769 * emacs-lisp/timer.el (timer-max-repeats):
6770 * mail/feedmail.el (feedmail-mail-send-hook)
6771 (feedmail-mail-send-hook-queued):
6772 * mail/footnote.el (footnote-signature-separator):
6773 * mail/mailabbrev.el (mail-alias-separator-string)
6774 (mail-abbrev-mode-regexp):
6775 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6776 * progmodes/idlwave.el (idlwave-libinfo-file)
6777 (idlwave-default-completion-case-is-down)
6778 (idlwave-library-routines): Convert defvars to defcustoms.
6779
6780 * mail/rmail.el (rmail-decode-mime-charset):
6781 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6782 (idlwave-shell-fix-inserted-breaks)
6783 (idlwave-shell-activate-alt-keybindings)
6784 (idlwave-shell-use-breakpoint-glyph):
6785 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6786
f7ae6719
SM
67872012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6790
47086495
WS
67912012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6792
6793 * progmodes/verilog-mode.el (font-lock-keywords):
6794 Fix mis-highligting auto. Reported by Craig Barner.
6795 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6796 defines from global name space. Reported by Dan Dever.
47086495
WS
6797 (verilog-auto-reset, verilog-auto-reset-widths)
6798 (verilog-auto-tieoff): Support using unbased numbers for
6799 AUTORESET and AUTOTIEOFF.
6800 (verilog-submit-bug-report): Update variable list.
6801 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6802 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6803 (verilog-auto-template-lint): Fix hash error when linting modules
6804 with no used templates.
6805 (verilog-warn, verilog-warn-error)
6806 (verilog-warn-fatal): When non-interactive report multiple
6807 warnings before exiting. Suggested by Brad Dobbie.
6808 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6809 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6810 to report unused template errors. Reported by Brad Dobbie.
6811 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6812 nets, bug438. Reported by Vns Blore.
47086495
WS
6813 (verilog-auto-inout-module, verilog-auto-reg)
6814 (verilog-read-decls, verilog-read-sub-decls-sig)
6815 (verilog-signals-edit-wire-reg, verilog-signals-with):
6816 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6817 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6818 "reg" for backwards compatibility presuming Verilog 2001.
6819 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6820 (verilog-preprocess): Fix replication of preprocess output.
6821 Reported by Brad Dobbie.
6822 (verilog-auto-inst-interfaced-ports):
6823 Create verilog-auto-inst-interfaced-ports, bug429.
6824 Reported by Julian Gorfajn.
6825 (verilog-after-save-font-hook)
6826 (verilog-before-save-font-hook): New variable.
6827 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6828 (verilog-save-font-mods): Wrap disabling fontification, reported
6829 by David Rogoff.
6830 (verilog-do-indent, verilog-pretty-declarations-auto)
6831 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6832 Reported by Pierre-David Pfister.
6833 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6834 of class declarations, bug292. Reported by Kevin Heilman.
6835 (verilog-read-decls): Fix 'parameter type' not appearing in
6836 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6837 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6838 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6839 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6840 Reported by David Kravitz.
6841
68422012-05-03 Michael McNamara <mac@mail.brushroad.com>
6843
6844 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6845 assignment with tests in ifs and for loops.
6846 (verilog-extended-complete-re, verilog-complete-reg): Change so
6847 that DPI inport functions don't look like fuction declarations.
6848 (verilog-pretty-expr): Don't line up assignment
6849 operations to the test and increment in if and for loops
6850 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6851 that DPI inport functions don't look like fuction declarations.
47086495 6852
2e51d4b5
KH
68532012-05-03 Kenichi Handa <handa@m17n.org>
6854
6855 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6856 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6857 (Bug#11282).
6858
2bd785a2
SM
68592012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * emacs-lisp/bytecomp.el
6862 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6863 since cconv.el might have introduced :fun-body, internal-make-closure,
6864 and friends for bytecomp to handle (bug#11391).
6865 * custom.el (defcustom): Avoid ((λ ..) ..).
6866
99d27583
SM
68672012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6870
55a71479
JB
68712012-05-02 Juanma Barranquero <lekktu@gmail.com>
6872
6873 * notifications.el (dbus-debug):
6874 * term/linux.el (gpm-mouse-enable):
6875 * term/screen.el (xterm-register-default-colors): Declare.
6876
7b97c764
CY
68772012-05-02 Chong Yidong <cyd@gnu.org>
6878
2bc356d7
CY
6879 * cus-start.el (gc-cons-percentage, exec-suffixes)
6880 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6881 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6882 (make-cursor-line-fully-visible, void-text-area-pointer)
6883 (font-list-limit): Add customization data.
6884
7b97c764
CY
6885 * allout.el (allout-exposure-change-functions)
6886 (allout-structure-added-functions)
6887 (allout-structure-deleted-functions)
6888 (allout-structure-shifted-functions): Rename abnormal hooks from
6889 *-hook, and convert to defcustoms.
5d3385a0
JB
6890 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6891 Convert to defcustoms.
7b97c764
CY
6892 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6893
6894 * allout-widgets.el: Hook callers changed.
6895
90207a15 68962012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6897
6898 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6899 the yanked message in preference to the default value of
6900 buffer-file-coding-system.
6901
90207a15 69022012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6903
5d3385a0
JB
6904 * window.el (display-buffer--action-function-custom-type):
6905 Fix entry.
d9558cad 6906
90207a15 69072012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6908
6909 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6910
d80ac57b
GM
69112012-05-01 Glenn Morris <rgm@gnu.org>
6912
976f7668
GM
6913 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6914
beb83b5a
GM
6915 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6916
d80ac57b
GM
6917 * cus-edit.el (custom-variable-documentation): Simplify with format.
6918
b593d6a9 69192012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6920 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6921
6922 * simple.el (suggest-key-bindings, execute-extended-command):
6923 Move from keyboard.c.
6924
782fbf2a
CY
69252012-05-01 Chong Yidong <cyd@gnu.org>
6926
6927 * follow.el: Eliminate advice.
6928 (set-process-filter, process-filter, sit-for): Advice deleted.
6929 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6930 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6931 Vars deleted.
782fbf2a
CY
6932 (follow-auto): Use a :set function.
6933 (follow-mode): Rewritten. Don't advise process filters.
6934 (follow-switch-to-current-buffer-all, follow-scroll-up)
6935 (follow-scroll-down): Assume follow-mode is bound.
6936 (follow-comint-scroll-to-bottom)
6937 (follow-align-compilation-windows): New functions.
6938 (follow--window-sorter): New function.
6939 (follow-all-followers): Use it to explicitly sort windows by their
6940 positions; don't make assumptions about next-window order.
6941 (follow-windows-start-end, follow-delete-other-windows-and-split)
6942 (follow-calc-win-start): Doc fix.
6943 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6944 vertical-motion unnecessarily.
6945 (follow-adjust-window): New function.
6946 (follow-post-command-hook): Use it.
6947 (follow-call-set-process-filter, follow-call-process-filter)
6948 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6949 (follow-stop-intercept-process-output, follow-generic-filter):
6950 Functions deleted.
6951 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6952 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6953 New functions, replacing advice on scroll-bar-* commands.
87233a14 6954 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6955
6956 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6957 (comint-postoutput-scroll-to-bottom): Use it.
6958 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6959
290af740
GM
69602012-05-01 Glenn Morris <rgm@gnu.org>
6961
6962 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6963 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6964 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6965 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6966 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6967 Remove no-byte-compile setting.
6968
6eac8dc9
SM
69692012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6970
6971 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6972 all-completions code to not return a number in the last cdr.
6973
9cc7819c
LL
69742012-04-30 Leo Liu <sdl.web@gmail.com>
6975
6976 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6977 read-only error.
6978
c93b886f
CY
69792012-04-29 Chong Yidong <cyd@gnu.org>
6980
6981 * follow.el (follow-calc-win-end): Rewrite to handle partial
6982 screen lines correctly (Bug#8390).
6983 (follow-avoid-tail-recenter): Minor cleanup.
6984
8b6c19f4
SM
69852012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 Avoid the obsolete `assoc' package.
6988 * speedbar.el (speedbar-refresh): Avoid adelete.
6989 (speedbar-file-lists): Simplify and avoid aput.
6990 * man.el (Man--sections, Man--refpages): New vars, replacing
6991 Man-sections-alist and Man-refpages-alist.
6992 (Man-build-section-alist, Man-build-references-alist):
6993 Use them; avoid aput.
6994 (Man--last-section, Man--last-refpage): New vars.
6995 (Man-follow-manual-reference): Use them.
6996 Use the `default' arg of completing-read.
6997 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6998
c5bb7569
CY
69992012-04-27 Chong Yidong <cyd@gnu.org>
7000
d1d2e2e8
CY
7001 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7002
15cd8efd
CY
7003 * startup.el (x-apply-session-resources): New function.
7004
7005 * term/ns-win.el (ns-initialize-window-system):
7006 * term/w32-win.el (w32-initialize-window-system):
7007 * term/x-win.el (x-initialize-window-system): Use it to properly
7008 set menu-bar-mode and other vars from X resources, even if the
7009 initial frame is not a window-system frame (Bug#2299).
7010
c5bb7569
CY
7011 * subr.el (read-key): Avoid running filter function when setting
7012 up temporary tool bar entries (Bug#9922).
7013
a8e7d6d7 70142012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7015
7016 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7017 (Bug#11344)
7018
a8e7d6d7 70192012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7020
7021 * select.el (xselect--encode-string): New function, split from
7022 xselect-convert-to-string.
7023 (xselect-convert-to-string): Use it.
7024 (xselect-convert-to-filename, xselect-convert-to-os)
7025 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7026 returned strings are properly encoded (Bug#11315).
7027
a8e7d6d7 70282012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7029
7030 * simple.el (delete-active-region): Move to killing custom group.
7031
a8e7d6d7 70322012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7033
7034 * progmodes/which-func.el (which-func-current): Quote %
7035 characters for mode-line processing.
7036
578c1d4b 70372012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7038
7039 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7040 reaching eob (Bug#11286).
7041
a8e7d6d7 70422012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7043
7044 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7045 (gdb): Make it buffer-local and init to zero.
7046 (gdb-control-commands-regexp): New variable.
7047 (gdb-send): Don't wrap in "-interpreter-exec console" if
7048 gdb-control-level is positive. Increment gdb-control-level
7049 whenever the command matches gdb-control-commands-regexp, and
7050 decrement it each time the command is "end". (Bug#11279)
7051
a8e7d6d7 70522012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7053
7054 * window.el (adjust-window-trailing-edge, enlarge-window)
7055 (shrink-window, window-resize):
7056 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7057 windows (Bug#11276).
7058
b3608390
CY
70592012-04-27 Chong Yidong <cyd@gnu.org>
7060
7061 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7062 fix "missing prefix" warning. All callers changed.
b3608390 7063
797e6e88
SM
70642012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7065
7066 * emacs-lisp/assoc.el: Move to obsolete/.
7067
e95a67dc
SM
70682012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7069
657c21e4 7070 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7071
7072 * term/ns-win.el (ns-define-service):
7073 * progmodes/pascal.el (pascal-goto-defun):
7074 * progmodes/js.el (js--read-tab):
7075 * progmodes/etags.el (tags-lazy-completion-table):
7076 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7077 * emacs-lisp/ewoc.el (ewoc--wrap):
7078 * emacs-lisp/assoc.el (aput, adelete, amake):
7079 * doc-view.el (doc-view-convert-current-doc):
7080 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7081
cb3e7ae0
CY
70822012-04-26 Chong Yidong <cyd@gnu.org>
7083
dce04f7f
CY
7084 * image.el (image-type-from-buffer): Only return supported image
7085 type (Bug#9045).
7086
cb3e7ae0
CY
7087 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7088 value, for symmetry with diff-end-of-hunk.
7089 (diff-split-hunk, diff-find-source-location)
7090 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7091 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7092 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7093 compute the relevant hunk or file properly (Bug#6005).
7094 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7095
0d42eb3e
SM
70962012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * vc/vc-mtn.el:
7099 * vc/vc-hg.el:
7100 * vc/vc-git.el:
7101 * vc/vc-dir.el:
7102 * vc/vc-cvs.el:
7103 * vc/vc-bzr.el:
7104 * vc/vc-arch.el:
7105 * vc/vc.el: Replace lexical-let by lexical-binding.
7106 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7107 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7108 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7109
f08ae1c9
CY
71102012-04-26 Chong Yidong <cyd@gnu.org>
7111
8b71081d
CY
7112 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7113 (diff-mode-shared-map): Bind it to / and [remap undo].
7114
f08ae1c9
CY
7115 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7116 (ediff-window-setup-function): Use it as the default, to set up
7117 windows based on whether the current frame is graphical (Bug#2138).
7118 (ediff-choose-window-setup-function-automatically): Make obsolete.
7119
7120 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7121
ef24141c
SM
71222012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7123
cc356a5d
SM
7124 * ffap.el: Remove old code for obsolete package.
7125 (ffap-complete-as-file-p): Remove.
7126
b4ff4f1f
SM
7127 Use completion-table-with-quoting for comint and pcomplete.
7128 * comint.el (comint--unquote&requote-argument)
7129 (comint--unquote-argument, comint--requote-argument): New functions.
7130 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7131 (comint-quote-filename): Use regexp-opt-charset.
7132 (comint--common-suffix, comint--common-quoted-suffix)
7133 (comint--table-subvert): Remove.
7134 (comint-unquote-function, comint-requote-function): New vars.
7135 (comint--complete-file-name-data): Use them with
7136 completion-table-with-quoting.
7137 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7138 * pcomplete.el (pcomplete-arg-quote-list)
7139 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7140 (pcomplete-unquote-argument-function): Default to non-nil.
7141 (pcomplete-unquote-argument): Simplify.
7142 (pcomplete--common-quoted-suffix): Remove.
7143 (pcomplete-requote-argument-function): New var.
7144 (pcomplete--common-suffix): New function.
7145 (pcomplete-completions-at-point): Use completion-table-with-quoting
7146 and completion-table-subvert.
7147
79c4eeb4
SM
7148 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7149 (minibuffer--double-dollars): Preserve properties.
7150 (completion--sifn-requote): New function.
7151 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7152
ef24141c
SM
7153 * minibuffer.el: Add support for completion of quoted/escaped data.
7154 (completion-table-with-quoting, completion-table-subvert): New funs.
7155 (completion--twq-try, completion--twq-all): New functions.
7156 (completion--nth-completion): New function.
7157 (completion-try-completion, completion-all-completions): Use it.
7158
784e7d6e
LL
71592012-04-25 Leo Liu <sdl.web@gmail.com>
7160
dd2ac746
SM
7161 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7162 Use compilation-message if available to find real filename.
784e7d6e 7163
07875ee7
CY
71642012-04-25 Chong Yidong <cyd@gnu.org>
7165
7166 * vc/diff-mode.el (diff-setup-whitespace): New function.
7167 (diff-mode): Use it.
7168
7169 * vc/diff.el (diff-sentinel):
7170 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7171 Whitespace mode variables based on diff style (Bug#8612).
7172
5055880d
LL
71732012-04-25 Leo Liu <sdl.web@gmail.com>
7174
daf75653
LL
7175 * progmodes/python.el (python-send-region): Add suffix .py to the
7176 temp file.
7177
5055880d
LL
7178 * files.el (auto-mode-alist): Use javascript-mode instead.
7179
db9b177b
AH
71802012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7181
ef24141c 7182 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7183
090bd7cb 7184 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7185 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7186 references, see Bug#9.
ef24141c 7187 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7188 when receiving a fault reply.
ef24141c 7189 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7190
090bd7cb 7191 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7192 (soap-inspect-simple-type): New function.
db9b177b 7193
090bd7cb 7194 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7195 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7196 (soap-decode-basic-type, soap-encode-basic-type):
7197 support unsignedInt and double basic types.
db9b177b 7198 (soap-resolve-references-for-simple-type)
ef24141c
SM
7199 (soap-parse-simple-type, soap-encode-simple-type): New function.
7200 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7201
090bd7cb 7202 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7203 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7204 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7205 the local name of "soapenc:Array".
7206 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7207 decoding integer, byte and anyURI xsd types.
7208
1fc6097b
CY
72092012-04-25 Chong Yidong <cyd@gnu.org>
7210
7211 * cus-edit.el (custom-buffer-create-internal): Update header text.
7212
afc6df87
EZ
72132012-04-25 Eli Zaretskii <eliz@gnu.org>
7214
7215 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7216 settings on 'system-type', not on 'window-system'. On MS-Windows,
7217 set interactive-mode on in GDB.
7218
dfbd787f
SM
72192012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7222 (ruby-syntax-propertize-regexp): Remove.
7223 (ruby-syntax-propertize-function): Split regexp into chunks.
7224 Match following code directly.
7225
85222d44
DG
72262012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7227
51a8ea2a
DG
7228 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7229 (ruby-syntax-propertize-regexp): New function.
7230 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7231 by a special keyword.
7232
85222d44
DG
7233 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7234 (ruby-syntax-general-delimiters-goto-beg)
7235 (ruby-syntax-propertize-general-delimiters): New functions.
7236 (ruby-syntax-propertize-function): Use them to handle GDL.
7237 (ruby-font-lock-keywords): Move old handling of GDL...
7238 (ruby-font-lock-syntactic-keywords): .. to here.
7239 (ruby-calculate-indent): Adjust indentation for GDL.
7240
b613912b
MA
72412012-04-24 Michael Albinus <michael.albinus@gmx.de>
7242
b5380639
MA
7243 * notifications.el (top): Remove unneeded declarations.
7244 (notifications-specification-version): Change to "1.2".
e43042fe 7245 (notifications-interface, notifications-notify-method)
b613912b
MA
7246 (notifications-close-notification-method): Fix docstring.
7247 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7248 (notifications-notify): Add :action-items, :resident and
7249 :transient hints. Change "image_data" to "image-data" and
7250 "image_path" to "image-path".
b613912b
MA
7251 (notifications-get-capabilities): New defun.
7252
257440aa
LL
72532012-04-24 Leo Liu <sdl.web@gmail.com>
7254
7255 * progmodes/python.el: Move hideshow setup to the end.
7256
b1bac16e
MR
72572012-04-24 Martin Rudalics <rudalics@gmx.at>
7258
7259 * window.el (handle-select-window): Clear echo area since this is
7260 no more done by read_char (Bug#11304).
7261
d81bd059
SM
72622012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7265 and `/ M' to filter-derived-mode.
7266 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7267 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7268 (ibuffer-mark-by-mode): Use default rather than initial-input.
7269 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7270
c4cf6d91
IA
72712012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7272
7273 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7274 (ibuffer-filter-by-derived-mode): New filter.
7275 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7276
7511ded8
CY
72772012-04-23 Andreas Politz <politza@fh-trier.de>
7278
7279 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7280
775c916b
CY
72812012-04-23 Chong Yidong <cyd@gnu.org>
7282
7283 * cus-edit.el (customize-apropos, customize-apropos-options):
7284 Disable matching of non-option variables (Bug#11176).
7285 (customize-option, customize-option-other-window)
7286 (customize-changed-options): Doc fix.
7287 (customize-apropos-options, customize-apropos-faces)
7288 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7289
7290 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7291 Fix word list splitting (Bug#11132).
46c71e23
CY
7292 (apropos-symbol, apropos-keybinding, apropos-label)
7293 (apropos-property, apropos-function-button)
7294 (apropos-variable-button, apropos-misc-button): New faces.
7295 (apropos-symbol-face, apropos-keybinding-face)
7296 (apropos-label-face, apropos-property-face, apropos-match-face):
7297 Variables removed (Bug#8396).
7298 (apropos-library-button, apropos-format-plist, apropos-print)
7299 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7300
2df41f9c
MA
73012012-04-23 Michael Albinus <michael.albinus@gmx.de>
7302
7303 * net/xesam.el (xesam-mode-map): Use let-bound map in
7304 initialization. (Bug#11292)
7305
da00640a
AM
73062012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7307
7308 Preserve ispell session localwords when switching back to
7309 original buffer.
7310
090bd7cb
JB
7311 * textmodes/ispell.el (ispell-buffer-session-localwords):
7312 New buffer-local variable to hold buffer session localwords.
ed9265fc 7313 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7314 localwords.
7315 (ispell-command-loop, ispell-change-dictionary)
7316 (ispell-buffer-local-words): Preserve session localwords when
7317 needed.
7318
090bd7cb
JB
7319 * textmodes/flyspell.el (flyspell-process-localwords)
7320 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7321
f621ccf5
AM
73222012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7323
090bd7cb
JB
7324 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7325 using obsolete `translation-table-for-input'.
ef24141c
SM
7326 (ispell-word, ispell-process-line, ispell-complete-word):
7327 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7328
c2d1019e
CY
73292012-04-22 Chong Yidong <cyd@gnu.org>
7330
7331 * cus-edit.el (custom-variable-menu)
7332 (custom-variable-reset-saved, custom-face-menu)
7333 (custom-face-reset-saved): If there is no saved value, make the
7334 "reset-saved" operation bring back the default (Bug#9509).
7335 (custom-face-state): Properly detect themed faces.
7336
eeddc531
CY
7337 * faces.el (face-spec-set): Stop supporting deprecated form of
7338 third arg.
7339
dcbf5805
MA
73402012-04-22 Michael Albinus <michael.albinus@gmx.de>
7341
7342 Move functions from C to Lisp. Make non-blocking method calls
7343 the default. Implement further D-Bus standard interfaces.
7344
ef24141c
SM
7345 * net/dbus.el (dbus-message-internal): Declare function.
7346 Remove unneeded function declarations.
dcbf5805
MA
7347 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7348 (dbus-message-type-method-return, dbus-message-type-error)
7349 (dbus-message-type-signal): Declare variables. Remove local
7350 definitions.
7351 (dbus-interface-dbus, dbus-interface-peer)
7352 (dbus-interface-introspectable, dbus-interface-properties)
7353 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7354 Adapt docstring.
7355 (dbus-interface-objectmanager): New defconst.
7356 (dbus-call-method, dbus-call-method-asynchronously)
7357 (dbus-send-signal, dbus-method-return-internal)
7358 (dbus-method-error-internal, dbus-register-service)
7359 (dbus-register-signal, dbus-register-method): New defuns, moved
7360 from dbusbind.c
7361 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7362 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7363 New defuns.
dcbf5805
MA
7364 (dbus-call-method-non-blocking): Make it an obsolete function.
7365 (dbus-unregister-object, dbus-unregister-service)
7366 (dbus-handle-event, dbus-register-property)
7367 (dbus-property-handler): Obey the new structure of
7368 `bus-registered-objects'.
7369 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7370 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7371 Use `dbus-call-method'.
7372
cf20dee0
CY
73732012-04-22 Chong Yidong <cyd@gnu.org>
7374
7375 * cus-edit.el (custom-commands, custom-reset-menu)
7376 (Custom-reset-standard): Tweak labels.
7377 (custom-reset-button-menu): Change default to t.
7378 (custom-buffer-create-internal): For the custom-reset-button-menu
7379 case, put the revert button first.
7380 (custom-group-subtitle): New face.
7381 (custom-group-value-create): Align docstring to a specific column.
7382
7383 * wid-edit.el (widget-documentation-link-add): Don't handle
7384 indentation in this function.
7385 (widget-documentation-string-indent-to): New function.
7386 (widget-documentation-string-value-create): Use it.
7387
7388 * autorevert.el (auto-revert):
7389 * epg-config.el (epg):
7390 * ibuffer.el (ibuffer):
7391 * mpc.el (mpc):
7392 * ses.el (ses):
7393 * eshell/eshell.el (eshell):
7394 * net/ange-ftp.el (ange-ftp):
7395 * progmodes/ebnf2ps.el (postscript):
7396 * progmodes/flymake.el (flymake):
7397 * progmodes/prolog.el (prolog):
7398 * progmodes/verilog-mode.el (verilog-mode):
7399 * progmodes/which-func.el (which-func):
7400 * term/xterm.el (xterm):
7401 * textmodes/picture.el (picture):
7402 * textmodes/tildify.el (tildify):
7403 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7404 customization buffers.
7405
583e23bd
AM
74062012-04-22 Alan Mackenzie <acm@muc.de>
7407
7408 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7409 Adding a ) can hide the resulting (..) from searches. Fix it.
7410 Bound the backward search to the position of the existing (.
7411
7dd51bf1
JB
74122012-04-21 Juanma Barranquero <lekktu@gmail.com>
7413
7414 * progmodes/verilog-mode.el (verilog-mode): Check whether
7415 which-func-modes is t before adding verilog-mode.
7416 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7417
d64a438f
LL
74182012-04-21 Leo Liu <sdl.web@gmail.com>
7419
7dd51bf1 7420 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7421
081e8d65
MV
74222012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7423
7424 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7425 filling of the last column of a table (Bug#5635).
7426 (woman-find-next-control-line): New arg, specifying an additional
7427 regexp component for the control line.
7428 (woman2-roff-buffer): Use it.
7429 (woman-break-table): New function.
7430 (woman2-TS): Use it.
7431
74322012-04-21 Chong Yidong <cyd@gnu.org>
7433
7434 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7435 (woman-horizontal-escapes, woman-negative-vertical-space)
7436 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7437 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7438
ed571ccb
SM
74392012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * minibuffer.el (completion-file-name-table): Complete user names.
7442
39773899
LL
74432012-04-20 Leo Liu <sdl.web@gmail.com>
7444
7445 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7446 and pcase-let*.
7447
de6ff46d
CY
74482012-04-20 Chong Yidong <cyd@gnu.org>
7449
7450 * server.el (server-execute): Respect initial-buffer-choice if it
7451 is a string and there are no files to open (Bug#2825).
7452 (server-create-window-system-frame, server-create-tty-frame):
7453 Don't switch buffers here.
2d0e8e61
CY
7454 (server-process-filter): Only try to open a window system frame if
7455 compiled with graphical support (Bug#8314).
de6ff46d 7456
54071013
DN
74572012-04-20 Dan Nicolaescu <dann@gnu.org>
7458
7459 * battery.el (battery-echo-area-format): Display remaining time
7460 for sysfs backend too (Bug#11269).
7461 (battery-linux-sysfs): Fix conditional for the charge.
7462
f30d612a
CY
74632012-04-20 Chong Yidong <cyd@gnu.org>
7464
c07a4c0b 7465 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7466 (gdb-inferior-io--init-proc): New function.
7467 (gdb-init-1): Use it.
7468 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7469 responsible for allocating a new pty and hooking it to gdb when
7470 the old pty gets an EIO due to process exit.
7471 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7472 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7473 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7474
2116e93c
EZ
74752012-04-20 Eli Zaretskii <eliz@gnu.org>
7476
7477 * window.el (window-min-size, window-sizable, window-min-delta)
7478 (window-max-delta, window--resizable, window-resizable)
7479 (window-total-size, window-full-height-p, window-full-width-p)
7480 (window-in-direction, window--resize-mini-window, window-resize)
7481 (window--resize-child-windows-normal)
7482 (window--resize-child-windows, window--resize-siblings)
7483 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7484 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7485
c07a4c0b 74862012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7487
ef24141c
SM
7488 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7489 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7490 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7491 pty process (Bug#11273).
7492 (gdb-update): New arg to suppress talking to the gdb process.
7493 (gdb-done-or-error): Use it.
7494 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7495 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7496 sentinel not being called.
7497
7498 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7499
d02766ab
CY
7500 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7501
c07a4c0b 75022012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7503
7504 * net/network-stream.el (open-network-stream): Doc fix.
7505
c07a4c0b 75062012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7507
7508 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7509
c07a4c0b 75102012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7511
7512 Ensure searching for keywords is case sensitive.
7513
7514 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7515 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7516 (c-defun-name, c-mark-function, c-cpp-define-name)
7517 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7518 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7519
ef24141c
SM
7520 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7521 Bind case-fold-search to nil.
f0f6bc35 7522
c07a4c0b 75232012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7524
7525 * mail/sendmail.el (mail-bury): Call return action with the right
7526 Rmail buffer (Bug#11242).
7527
9a864fa2
CY
7528 * server.el (server-process-filter): Handle corner case where both
7529 tty and nowait options are present (Bug#11102).
7530
539aa513
EZ
75312012-04-20 Eli Zaretskii <eliz@gnu.org>
7532
7533 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7534 (top level): Put into the executable the ident-style '$Id:' tag on
7535 windows-nt as well.
539aa513 7536
cfc7d5da
SM
75372012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7538
7539 * electric.el (electric-indent-post-self-insert-function): Check that
7540 electric-indent-mode is enabled in current buffer.
7541
5b01685c
JB
75422012-04-19 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * imenu.el (imenu-progress-message): Restore; it is "used" in
7545 erc/erc-imenu.el and net/snmp-mode.el.
7546
4d6769e1
JB
75472012-04-19 Juanma Barranquero <lekktu@gmail.com>
7548
7549 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7550 (mouse-avoidance-nudge-mouse): Remove unused binding.
7551
7552 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7553
7554 * descr-text.el (describe-char):
7555 * progmodes/python.el (python-describe-symbol):
7556 Don't call `toggle-read-only', set `buffer-read-only'.
7557
7558 * imenu.el (imenu-default-goto-function): Mark unused args.
7559 (imenu-progress-message): Remove obsolete macro; all callers changed.
7560
7561 * subr.el (keymap-canonicalize): Remove unused binding.
7562 (read-passwd): Mark unused arg.
7563
7564 * tutorial.el (tutorial--display-changes): Remove unused binding.
7565 (tutorial--save-tutorial-to): Remove unused variable.
7566
7567 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7568 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7569 (package-generate-autoloads, package-menu--generate)
7570 (package-menu--find-upgrades): Remove unused bindings.
7571
7572 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7573 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7574 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7575 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7576 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7577 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7578 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7579 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7580 (cua-delete-char-rectangle): Mark unused args.
7581 (cua-align-rectangle): Remove unused binding.
7582
7583 * mail/rmail.el (compilation--message->loc)
7584 (epa--find-coding-system-for-mime-charset): Declare.
7585
7586 * net/dbus.el (dbus-register-service): Declare.
7587 (dbus-name-owner-changed-handler): Remove unused binding.
7588
7589 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7590 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7591 (nxml-scan-backward-within): Mark unused arg.
7592 (nxml-dynamic-markup-word): Remove unused binding.
7593
7594 * mouse.el (mouse-menu-major-mode-map):
7595 * emacs-lisp/authors.el (authors-scan-change-log)
7596 (authors-add-to-author-list):
7597 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7598 * emacs-lisp/smie.el (smie-auto-fill):
7599 * mail/sendmail.el (mail-bury):
7600 * mail/unrmail.el (unrmail):
7601 * net/tls.el (open-tls-stream):
7602 * textmodes/picture.el (picture-mouse-set-point):
7603 Remove unused bindings.
7604
8c8fc5df
MA
76052012-04-19 Michael Albinus <michael.albinus@gmx.de>
7606
7607 * net/tramp.el (tramp-action-password): Let-bind
7608 `enable-recursive-minibuffers' to t.
7609
a77b0ac9
SS
76102012-04-18 Sam Steingold <sds@gnu.org>
7611
7612 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7613 instead of 'string to accommodate values like [f11].
7614 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7615 * progmodes/gdb-mi.el: Likewise.
7616
12a106a9
LL
76172012-04-18 Leo Liu <sdl.web@gmail.com>
7618
7619 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7620 current buffer.
7621 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7622 LOCAL is nil.
7623
bc6494ef
CY
76242012-04-18 Chong Yidong <cyd@gnu.org>
7625
7626 * simple.el (line-move): Use forward-line if in batch mode
7627 (Bug#11053).
7628
c09c46b2
CS
76292012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7630
7631 * files.el (after-find-file): Do not try to add a final newline if
7632 the buffer is read-only (Bug#11156).
7633
5f6530ea
RS
76342012-04-17 Richard Stallman <rms@gnu.org>
7635
7636 * mail/rmail.el (rmail-start-mail):
7637 Pass (rmail-mail-return...) for the return-action.
7638 Pass (rmail-yank-current-message...) for the yank-action.
7639 (rmail-yank-current-message): New function.
7640 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7641 (rmail-reply): Likewise.
7642 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7643
7644 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7645 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7646 buffer, not newbuf.
7647
197b6f3c
JB
76482012-04-17 Juanma Barranquero <lekktu@gmail.com>
7649
7650 * server.el (server-ensure-safe-dir): Simplify.
7651
2311d8e5 76522012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7653
2311d8e5
GM
7654 * emacs-lisp/smie.el: Provide smarter auto-filling.
7655 (smie-auto-fill): New function.
7656 (smie-setup): Use it.
98fb480e 7657
2311d8e5
GM
7658 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7659
76602012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7661
7662 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7663 (comment-indent): Use it.
7664
2311d8e5 76652012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7666
7667 * ses.el: The overall change is to add cell renaming, that is
7668 setting fancy names for cell symbols other than name matching
7669 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7670 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7671 (ses-create-cell-variable): New defun.
2311d8e5 7672 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7673 (ses-relocate-formula): Relocate formulas only for cells the
7674 symbols of which are not renamed, i.e. symbols whose names do not
7675 match regexp "\\`[A-Z]+[0-9]+\\'".
7676 (ses-relocate-all): Relocate values only for cells the symbols of
7677 which are not renamed.
7678 (ses-load): Create cells variables as the (ses-cell ...) are read,
7679 in order to check row col consistency with cell symbol name only
7680 for cells that are not renamed.
7681 (ses-replace-name-in-formula): New defun.
7682 (ses-rename-cell): New defun.
4bdf2ad2 7683
fc72b15c
PO
76842012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7685
7686 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7687 New option (bug#11118).
7688 (perl-calculate-indent): Respect it.
7689
12e10e61
GM
76902012-04-17 Glenn Morris <rgm@gnu.org>
7691
7692 * dired-aux.el (dired-mark-read-string): Doc fix.
7693
30009afd
DA
76942012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7695
7696 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7697 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7698
41f03f4d
GM
76992012-04-17 Glenn Morris <rgm@gnu.org>
7700
7701 * mouse.el (mouse-drag-track):
7702 * speedbar.el (speedbar-frame-mode):
7703 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7704
f45f90f3
LL
77052012-04-16 Leo Liu <sdl.web@gmail.com>
7706
7707 * progmodes/python.el: Trivial cleanup.
7708
94ee8db5
GM
77092012-04-16 Glenn Morris <rgm@gnu.org>
7710
121b8917
GM
7711 * vc/vc.el (vc-string-prefix-p):
7712 * vc/pcvs-util.el (cvs-string-prefix-p):
7713 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7714 * mpc.el (mpc-string-prefix-p):
7715 Make all of these into obsolete aliases for string-prefix-p.
7716 Update callers.
7717 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7718
1197ecfa
GM
7719 * textmodes/two-column.el: Move custom options to the start.
7720 (frame-width): Remove compat definition.
7721 (2C-associate-buffer, 2C-dissociate):
7722 Use with-current-buffer rather than save-excursion.
7723 (2C-dissociate): Force a mode-line update.
7724 (2C-autoscroll): Use ignore-errors.
7725
099e7202
GM
7726 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7727 Autoload trivia.
7728
bf350d6a
GM
7729 * emacs-lisp/cl-extra.el (*random-state*):
7730 Remove unnecessary declaration.
7731
0e829eab
GM
7732 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7733
e3ad7552
GM
7734 * play/cookie1.el (cookie-snarf):
7735 Give an explicit error if input file cannot be read.
7736
68892d27
GM
7737 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7738
20f0c46d
GM
7739 * progmodes/perl-mode.el (c-macro-expand):
7740 Remove unnecessary autoload (it is in loaddefs.el).
7741
5a0978ce
GM
7742 * textmodes/picture.el (picture-desired-column)
7743 (picture-update-desired-column): Convert comments to doc-strings.
7744 (picture-substitute): Remove function.
7745 (picture-mode-map): Initialize in the defvar.
7746
6b955486
GM
7747 * woman.el: Remove eval-after-load for tar-mode.
7748 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7749 (woman-tar-extract-file): Autoload it.
7750
94ee8db5
GM
7751 * frame.el (automatic-hscrolling): Make this alias obsolete.
7752
177eca34
AM
77532012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7754
090bd7cb 7755 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7756 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7757 (ispell-dictionary-base-alist): Revert to original XEmacs
7758 friendly version for default. [:alpha:] will be added in
090bd7cb 7759 `ispell-set-spellchecker-params' if needed.
177eca34 7760
c505aaeb
CY
77612012-04-16 Chong Yidong <cyd@gnu.org>
7762
b19dd9d1 7763 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7764 (imagemagick-register-types): Use it.
7765 (imagemagick-types-inhibit): Add :set function. Allow new value
7766 of t to inhibit all types.
7767
7768 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7769 so we can preload it.
7770
7771 * loadup.el (fboundp): Preload regexp-opt, needed by
7772 imagemagick-register-types.
7773
60efac0f
CY
77742012-04-15 Chong Yidong <cyd@gnu.org>
7775
7776 * frame.el (scrolling): Remove nearly unused customization group.
7777
7778 * scroll-all.el (scroll-all-mode): Move to windows group.
7779
5dd1713e
CY
77802012-04-15 Chong Yidong <cyd@gnu.org>
7781
7782 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7783
e6fd457e
CY
77842012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7786 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7787 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7788
e153c136
GM
77892012-04-15 Glenn Morris <rgm@gnu.org>
7790
7791 * simple.el (process-file-side-effects): Doc fix.
7792
e6fd457e 77932012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7794
7795 * international/mule-cmds.el (set-language-environment): Doc fix.
7796
3603c3b1
JB
77972012-04-14 Juanma Barranquero <lekktu@gmail.com>
7798
7799 * server.el (server-auth-key, server-generate-key): Doc fixes.
7800 (server-get-auth-key): Doc fix. Use `string-match-p'.
7801 (server-start): Reflow docstring.
7802
e6de100c
LI
78032012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7804
7805 * server.el (server-generate-key): `called-interactively-p'
7806 requires a parameter.
7807
29734c21
MN
78082012-04-14 Michal Nazarewicz <mina86@mina86.com>
7809
7810 * server.el (server-auth-key): New variable.
75f1671a 7811 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7812 (server-start): Use the new variable and functions to allow
7813 setting a permanent server key (bug#9423).
7814
d65c9521
LL
78152012-04-14 Leo Liu <sdl.web@gmail.com>
7816
7817 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7818
5ae255c7
PE
78192012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7820
7821 Spelling fixes.
7822 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7823 Emacs uses American spelling.
7824
d5e6342e
JB
78252012-04-14 Juanma Barranquero <lekktu@gmail.com>
7826
7827 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7828 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7829 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7830 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7831
ab036cd7
SM
78322012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * progmodes/which-func.el (which-func-modes): Change default.
7835
35dc09a1 78362012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7837
7838 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7839 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7840
35dc09a1 78412012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7842
7843 * custom.el (custom-theme-set-variables): Doc fix.
7844
35dc09a1 78452012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7846
7847 * international/mule.el (set-auto-coding-for-load): Doc fix.
7848
35dc09a1 78492012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7850
35dc09a1
GM
7851 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7852 imenu work again for Objective C Mode. Correct the *-index values,
7853 these having been disturbed by a previous change in 2011-08.
57f845ee 7854
0de3da9f
AM
7855 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7856 Correct two search limits.
7857
35dc09a1 78582012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7859
7860 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7861
35dc09a1 78622012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7863
7864 * international/characters.el: Fix sorting.
7865
35dc09a1 78662012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7867
7868 * international/characters.el: Add more missing Latin case pairs.
7869
35dc09a1 78702012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7871
7872 * files.el (dir-locals-set-class-variables): Doc fix.
7873
35dc09a1 78742012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7875
3f1b5bf8
EZ
7876 * international/characters.el: Add set-case-syntax-pair call for
7877 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7878 counterpart. (Bug#11209)
7879
9f847f41
EZ
7880 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7881
35dc09a1 78822012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7883
7884 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7885
35dc09a1 78862012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7887
35dc09a1
GM
7888 * textmodes/ispell.el (ispell-dictionary-base-alist):
7889 Add data for Hebrew.
e2627d21 7890
35dc09a1 78912012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7892
35dc09a1
GM
7893 * net/rcirc.el (rcirc-cmd-quit):
7894 Revert 2012-03-18 change (Bug#11192).
5c14e333 7895
35dc09a1 78962012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7897
7898 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7899
35dc09a1 79002012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7901
4517fe3a
SM
7902 * minibuffer.el (completion-in-region-mode-map):
7903 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7904
b472a594
VD
79052012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7906
7907 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7908
09b95ce3
MY
79092012-04-13 Masatake YAMATO <yamato@redhat.com>
7910
7911 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7912 to allow `C-M-f' and `C-M-b' to move to the nearest path
7913 separator (bug#9511).
7914
4b63a9ca
LI
79152012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7916
7917 * avoid.el: Require cl when compiling. And also move the
7918 `provide' to the end.
7919
7b55b8bf
TV
79202012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7921
7922 * avoid.el (mouse-avoidance-banish-position): New variable.
7923 (mouse-avoidance-banish-destination): Use it (bug#10165).
7924
adedaa1f
LL
79252012-04-13 Leo Liu <sdl.web@gmail.com>
7926
7927 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7928
70e74021
KB
79292012-04-13 Ken Brown <kbrown@cornell.edu>
7930
7931 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7932 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7933 (browse-url-filename-alist): For the same reason, don't modify
7934 file:// URLs on Cygwin.
7935
e75e89ba
SM
79362012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7939 the region on shift if the binding is already shifted (bug#11221).
7940
82f289a4
GM
79412012-04-12 Glenn Morris <rgm@gnu.org>
7942
7943 * mail/mailpost.el: Move to obsolete/.
7944
d333dc4c
DA
79452012-04-12 Drew Adams <drew.adams@oracle.com>
7946
7947 * imenu.el (imenu--generic-function): Ignore invisible definitions
7948 (bug#10123).
7949
0d15b5ba
VD
79502012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7951
7952 * hexl.el (hexl-bits): New variable.
7953 (hexl-options): Mention the variable in the doc string.
75f1671a 7954 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7955 (hexl-mode): Mention the new variable.
75f1671a
JB
7956 (hexl-mode, hexl-current-address, hexl-current-address):
7957 Use the displen.
0d15b5ba
VD
7958 (hexl-ascii-start-column): New function.
7959 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7960 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7961
64a440db
AM
79622012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7963
7964 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7965 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7966 the encoding, as expected by hunspell.
7967
6decb6c2
SM
79682012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 * battery.el (battery--linux-sysfs-regexp): New const.
7971 (battery-status-function): Use it. Remove yeeloong special case.
7972 (battery-yeeloong-sysfs): Remove.
7973 (battery-echo-area-format): Remove yeeloong special case.
7974
088be6fb
SM
79752012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7976
6622e416
SM
7977 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7978 Reported by Noah Friedman.
7979
088be6fb
SM
7980 * subr.el (read-passwd): Use read-string.
7981
b49f886e
LMI
79822012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7983
7984 * vcursor.el (vcursor-move): Increase the priority of the overlay
7985 (bug#9663).
7986
a63067fc
DD
79872012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7988
7989 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7990 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7991
ac3cf14a
WS
79922012-04-11 William Stevenson <yhvh2000@gmail.com>
7993
7994 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7995 define-minor-mode (bug#10760).
7996
c4fc691b 79972012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7998
4d6769e1 7999 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8000 that directories matching `grep-find-ignored-files' won't be
8001 pruned (bug#10351).
8002
af23e2e5
CY
80032012-04-11 Chong Yidong <cyd@gnu.org>
8004
8005 * startup.el (command-line): Remove support for long-obsolete
8006 variable font-lock-face-attributes.
8007
ab7ce8c1
GM
80082012-04-11 Glenn Morris <rgm@gnu.org>
8009
8010 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8011
de8c03dc
SM
80122012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8013
8014 * window.el (window--state-get-1): Obey window-point-insertion-type.
8015
050cc68b
LB
80162012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8017
8018 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8019 to previous function when point is on the first character of a
75f1671a 8020 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8021
a38c310c
GM
80222012-04-11 Glenn Morris <rgm@gnu.org>
8023
effed0c2
GM
8024 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8025 not just file-errors.
8026
a38c310c
GM
8027 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8028 (vc-bzr-sha1): Use internal sha1.
8029
0221e323
SM
80302012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8033
43956923
SG
80342012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8035
8036 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8037 that start in the middle of the line (bug#10496).
8038
6a8c9eaf
DN
80392012-04-10 Dan Nicolaescu <dann@gnu.org>
8040
8041 * battery.el (battery-linux-proc-acpi): Only one battery is
8042 discharged at a time, but that seems to confuse battery.el when
8043 computing `rate-type' for the battery not being discharged
8044 (bug#10332).
8045
1930bf5d
SM
80462012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8047
2a718f6f
SM
8048 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8049
599430d0
SM
8050 * international/quail.el: Use dolist and simplify.
8051 (quail-define-package, quail-update-keyboard-layout)
8052 (quail-define-rules): Use dolist.
8053 (quail-insert-kbd-layout, quail-get-translation): CSE.
8054
a2754b6c
SM
8055 * tmm.el: Use dolist, remove left over hook.
8056 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8057 Use dolist.
8058 (calendar-load-hook): Don't mess with it.
8059
1930bf5d
SM
8060 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8061 Use derived-mode-p. Run the diff asynchronously.
8062
9f67961c
LMI
80632012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8064
8065 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8066
2a8ce227
JB
80672012-04-10 Juanma Barranquero <lekktu@gmail.com>
8068
8069 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8070 (list-dynamic-libraries--loaded): New function.
8071 (list-dynamic-libraries--refresh): Use it.
8072
8f33b5f8
NW
80732012-04-10 Nathan Weizenbaum <nweiz@google.com>
8074
1930bf5d
SM
8075 * progmodes/python.el (python-fill-paragraph):
8076 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8077 disabled (bug#7018).
8078
b12f0439
L
80792012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8080
1930bf5d 8081 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8082 DOS/MS Windows for the Baltic languages. There are still plenty
8083 of texts written in this encoding/codepage (bug#6519).
b12f0439 8084
57c3bd01
GM
80852012-04-10 Glenn Morris <rgm@gnu.org>
8086
8087 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8088 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8089
6c3eab30
FA
80902012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8091
1930bf5d 8092 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8093 next-line "n" and previous-line "p" in order to make recentf more
8094 consistent with ibuffer, dired or org-mode (bug#9387).
8095
24d78a88
LMI
80962012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8097
bc72b5d9
LMI
8098 * image.el (put-image): Return the overlay created instead of the
8099 optional input string (bug#7834). Note that this may break code
8100 that is (for some reason or other) depending on `put-image'
8101 returning the string.
8102
bd2dba5a
LMI
8103 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8104
74beb59f
LMI
8105 * simple.el (zap-to-char): Allow zapping using input methods
8106 (bug#1580).
8107
24d78a88
LMI
8108 * textmodes/fill.el (fill-region): Leave point and mark where they
8109 were before filling (bug#5399).
8110
263f20cd
GM
81112012-04-09 Glenn Morris <rgm@gnu.org>
8112
8113 * version.el (emacs-bzr-get-version):
8114 Handle lightweight checkouts of local branches.
8115
58d1f797
AS
81162012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8117
263f20cd 8118 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8119
b4d3bc10
CY
81202012-04-09 Chong Yidong <cyd@gnu.org>
8121
8122 * custom.el (custom-variable-p): Return nil for non-symbol
8123 arguments instead of signaling an error.
8124 (user-variable-p): Obsolete alias for custom-variable-p.
8125
8126 * apropos.el (apropos-variable):
8127 * files-x.el (read-file-local-variable):
8128 * simple.el (set-variable):
8129 * woman.el (woman-mini-help):
8130 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8131
fd06db5d
GM
81322012-04-09 Glenn Morris <rgm@gnu.org>
8133
e5fcdb5e
GM
8134 * startup.el (normal-top-level): Don't look for leim-list.el
8135 in places where it will not be found. (Bug#910)
8136
fd06db5d
GM
8137 * international/mule-cmds.el (set-default-coding-systems):
8138 * files.el (normal-mode):
8139 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8140 This function was removed with ucs-tables.el in 2008.
8141
b39bb7e1
EZ
81422012-04-08 Eli Zaretskii <eliz@gnu.org>
8143
8144 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8145 ispell-encoding8-command to "-i", without a trailing space.
8146 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8147 separate command-line arguments, to specify the encoding, since
8148 that's how hunspell expects it.
8149
5c5b8e23
GM
81502012-04-08 Glenn Morris <rgm@gnu.org>
8151
8152 * loadup.el: Load bindings before cus-start.
8153 This reduces somewhat the number of "rogue" settings in emacs -Q.
8154
a1ed8b05
GM
81552012-04-07 Glenn Morris <rgm@gnu.org>
8156
8157 * version.el (emacs-bzr-get-version): New function.
dfae128a 8158 (emacs-bzr-version): New variable.
a1ed8b05
GM
8159 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8160 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8161
b142f158
EZ
81622012-04-07 Eli Zaretskii <eliz@gnu.org>
8163
dfae128a
GM
8164 * international/uni-bidi.el, international/uni-category.el:
8165 * international/uni-combining.el, international/uni-decimal.el:
8166 * international/uni-decomposition.el, international/uni-digit.el:
8167 * international/uni-lowercase.el, international/uni-mirrored.el:
8168 * international/uni-name.el, international/uni-numeric.el:
8169 * international/uni-titlecase.el, international/uni-uppercase.el:
8170 Update for Unicode 6.1.
b142f158 8171
9078ead6
EZ
81722012-04-07 Eli Zaretskii <eliz@gnu.org>
8173
8174 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8175
f23d2c7d
LMI
81762012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8177
8178 * window.el (shrink-window): Mention the `window-min-height'
8179 variable in the doc string.
8180
0a0a3573
BG
81812012-04-05 Bastien Guerry <bzg@altern.org>
8182
8183 * color.el (color-lighten-name): Fix typo.
8184
e5248ac9
SM
81852012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * server.el (server--on-display-p): New function.
8188 (server--on-display-p): Use it.
8189
b4243e22
GV
81902012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8191
8192 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8193 (bug#11145).
8194
305d9f44
SM
81952012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * comint.el (comint--common-quoted-suffix): Check string boundary
8198 before comparing (bug#11158).
8199 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8200
3d439cd1
CY
82012012-04-04 Chong Yidong <cyd@gnu.org>
8202
321cc491
CY
8203 * minibuffer.el (completion-extra-properties): Doc fix.
8204
3d439cd1
CY
8205 * subr.el (delayed-warnings-hook): Doc fix.
8206
2d562c0f
DU
82072012-04-04 Daiki Ueno <ueno@unixuser.org>
8208
8209 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8210 selection (Bug#11159).
8211 (epa-insert-keys): Inform that the default public key will be
8212 exported if no key is selected.
8213
4443f204
RS
82142012-04-04 Richard Stallman <rms@gnu.org>
8215
8216 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8217
529c06b6
CY
82182012-04-03 Chong Yidong <cyd@gnu.org>
8219
8220 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8221 mail-insert-file, not its obsolete alias mail-attach-file.
8222
66b907dc
MA
82232012-04-03 Michael Albinus <michael.albinus@gmx.de>
8224
8225 * notifications.el (notifications-notify): Fix docstring.
8226
c0ea195d
GM
82272012-04-02 Glenn Morris <rgm@gnu.org>
8228
8229 * emacs-lisp/authors.el (authors-aliases): Another addition.
8230
5ca64e00
MA
82312012-04-02 Michael Albinus <michael.albinus@gmx.de>
8232
8233 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8234 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8235 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8236
42ee526b
CY
82372012-04-01 Chong Yidong <cyd@gnu.org>
8238
8239 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8240 Handle root directory properly.
8241 (copy-directory): Caller changed.
8242
8243 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8244 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8245
0b021094
GM
82462012-03-31 Glenn Morris <rgm@gnu.org>
8247
40f86458
GM
8248 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8249
7019c177
GM
8250 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8251
a1daddd6
GM
8252 * calendar/calendar.el (calendar-window-list)
8253 (calendar-hide-window): Restore. (Bug#11140)
8254 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8255
0b021094
GM
8256 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8257
40311efc
TV
82582012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8259
8260 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8261 Check if file is a symlink (Bug#10489).
8262
8263 * files.el (copy-directory): Likewise.
8264
5319014e
CY
82652012-03-30 Chong Yidong <cyd@gnu.org>
8266
8267 * image.el (imagemagick-types-inhibit)
8268 (imagemagick-register-types): Doc fix.
8269
935d1290
AM
82702012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8271
090bd7cb 8272 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8273 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8274 and treats ~word as ordinary words in pipe mode.
935d1290 8275
61c6e8fd
GM
82762012-03-30 Glenn Morris <rgm@gnu.org>
8277
8278 * tutorial.el (help-with-tutorial): Ensure local variables don't
8279 happen to make the buffer read-only. (Bug#11127)
8280
81fdff00
SM
82812012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8282
8283 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8284 (perl-calculate-indent): Return `noindent' in strings.
8285
6e7a6ec0
SS
82862012-03-28 Sam Steingold <sds@gnu.org>
8287
8288 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8289 instead of the broken adhockery which does not prevent calendar
8290 buffers from being displayed at random after exit.
8291 (calendar-window-list, calendar-hide-window): Remove the broken
8292 adhockery.
8293
fee88ca0
GM
82942012-03-28 Glenn Morris <rgm@gnu.org>
8295
8296 * replace.el (query-replace-map): Doc fix.
8297
38de3354
AS
82982012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8299
8300 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8301 contents. (Bug#11109)
8302
b973155e
SM
83032012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8306 (bug#11077).
8307 (avl-tree--check, avl-tree--check-node): New funs.
8308
dcb6e7b3
MR
83092012-03-27 Martin Rudalics <rudalics@gmx.at>
8310
8311 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8312 (switch-to-prev-buffer, switch-to-next-buffer):
8313 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8314 showing a buffer already is done on the same frame.
8315
b4fa35fa
GM
83162012-03-27 Glenn Morris <rgm@gnu.org>
8317
8318 * startup.el (mail-host-address): Doc fix.
8319
f9210e18
SM
83202012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8323 than 197 variables.
8324
c0bf7753
AF
83252012-03-26 Ami Fischman <ami@fischman.org>
8326
8327 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8328
33da7b16
GM
83292012-03-26 Glenn Morris <rgm@gnu.org>
8330
02243d9d
GM
8331 * files.el (save-buffers-kill-emacs): Doc fix.
8332
33da7b16
GM
8333 * startup.el (normal-top-level, command-line, command-line-1):
8334 Give them doc strings.
8335
e5a69fd0
EZ
83362012-03-25 Eli Zaretskii <eliz@gnu.org>
8337
8338 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8339 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8340
9a69676a
CY
83412012-03-25 Chong Yidong <cyd@gnu.org>
8342
4125cb8b
CY
8343 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8344 theme if it was previously enabled before (Bug#11031).
8345
dd470960
CY
8346 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8347 spec with custom-face-get-current-spec if its :shown-value is not
8348 determined yet (Bug#9337).
4125cb8b 8349 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8350
9a69676a
CY
8351 * button.el (button-at): Minor addition to docstring.
8352
6e7e90fa
SL
83532012-03-24 Simon Leinen <simon.leinen@gmail.com>
8354
8355 * vc/vc.el (vc-merge): Fix a prompt.
8356
f06e2758
CY
83572012-03-24 Chong Yidong <cyd@gnu.org>
8358
8359 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8360 point (Bug#9623).
8361
6e7e90fa
SL
8362 * button.el (button-at): Minor addition to docstring.
8363
b9d0879b
SM
83642012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8365
8366 * newcomment.el (comment-choose-indent): No space after BOL.
8367
e71cebb3
SS
83682012-03-22 Sam Steingold <sds@gnu.org>
8369
8370 * window.el (switch-to-prev-buffer): Revert last patch because the
8371 bug turned out to be an advertised feature (Elisp manual 28.14).
8372
335aff35
GM
83732012-03-22 Glenn Morris <rgm@gnu.org>
8374
8375 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8376 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8377
c676576a
LMI
83782012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8379
8380 * net/network-stream.el (network-stream-open-starttls): Make error
8381 message under Windows be less misleading.
8382
126f3d39
LW
83832012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8384
8385 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8386 understands (bug#9942).
8387
64fee311
CY
83882012-03-22 Chong Yidong <cyd@gnu.org>
8389
8390 * simple.el (end-of-visible-line): Handle return value of
8391 next-single-property-change properly (Bug#9371).
8392
a640d29a
KH
83932012-03-22 Kenichi Handa <handa@m17n.org>
8394
8395 * international/quail.el (quail-insert-kbd-layout): Fix previous
8396 change. To avoid unwanted bidi reordering, use
8397 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8398
39675016
DG
83992012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8400
8401 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8402 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8403 (ruby-beginning-of-indent): Be more careful with the difference
8404 between word-boundary and symbol boundary.
8405 (ruby-mode-syntax-table): Make : a symbol constituent.
8406
0a6934fc 84072012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8408
3d008e4f
SM
8409 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8410
0a6934fc
SM
84112012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8412
af67c9d7
SM
8413 * progmodes/etags.el (tags-completion-at-point-function):
8414 Improve last fix.
8415
1acad97c
SM
8416 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8417
e298b5da
SS
84182012-03-21 Sam Steingold <sds@gnu.org>
8419
8420 * progmodes/etags.el (tags-completion-at-point-function):
8421 Avoid the error when point is inside the pattern.
8422
91d82a70
JY
84232012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8424
8425 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8426 line (Bug#10855).
8427
69188b79
CY
84282012-03-21 Drew Adams <drew.adams@oracle.com>
8429
8430 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8431
99fc91fe
AK
84322012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8433
8434 * ido.el (ido-set-current-directory, ido-read-internal)
8435 (ido-choose-completion-string, ido-completion-help): Handle nil
8436 value of ido-completion-buffer (Bug#11008).
8437
087bbb4c
SS
84382012-03-21 Sam Steingold <sds@gnu.org>
8439
8440 * window.el (switch-to-prev-buffer): Do not switch to a visible
8441 window previous buffer, just like with the frame previous buffers.
8442
fb5b8aca
CY
84432012-03-21 Chong Yidong <cyd@gnu.org>
8444
8445 * faces.el (make-face, make-empty-face, copy-face):
8446 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8447 Doc fixes.
8448
dc9924b8
SM
84492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8452 (widget-complete): Remove broken use of it.
8453
f0bcceb9
CY
84542012-03-20 Chong Yidong <cyd@gnu.org>
8455
dc9924b8
SM
8456 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8457 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8458 characters.
8459
ee52ebf3
TH
84602012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8461
8462 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8463 to draw rectangles, not squares. (Regression introduced by revno
8464 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8465
4c5779ab
CY
84662012-03-18 Chong Yidong <cyd@gnu.org>
8467
8468 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8469 it is not yet defined (for temacs).
8470
15360934
LL
84712012-03-18 Leo Liu <sdl.web@gmail.com>
8472
735135f9
PE
8473 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8474 prefix.
15360934 8475
d9a8eb66
EZ
84762012-03-17 Eli Zaretskii <eliz@gnu.org>
8477
8478 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8479 (ispell-choices-win-default-height, ispell-silently-savep)
8480 (ispell-dictionary-alist, ispell-encoding8-command)
8481 (ispell-check-version, ispell-aspell-find-dictionary)
8482 (ispell-valid-dictionary-list, ispell-words-keyword)
8483 (ispell-get-word, ispell-internal-change-dictionary)
8484 (ispell-region, ispell-skip-region-list)
8485 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8486 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8487 (ispell-message-text-end, ispell-message)
8488 (ispell-buffer-local-parsing): Doc fix.
8489
f02ff80d
J
84902012-03-13 Jambunathan K <kjambunathan@gmail.com>
8491
8492 * htmlfontify.el: Add support for code block fontification for ODT
8493 export (Bug #9914).
8494 (hfy-optimisations): Define new option
8495 `body-text-only'
8496 (hfy-fontify-buffer): Honor above setting.
8497 (hfy-begin-span, hfy-end-span): New routines factored out form
8498 `hfy-fontify-buffer'.
8499 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8500 that permit insertion of custom tags.
8501 (hfy-fontify-buffer): Use above handlers.
8502 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8503 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8504 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8505 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8506 bind a special variable `hfy-user-sheet-assoc'.
8507 (htmlfontify-string): New defun.
8508 (hfy-compile-face-map): Make sure that the last char in the
8509 buffer is correctly fontified.
8510 (hfy-face-resolve-face): Whitespace only change.
8511
9ac7a13f
EZ
85122012-03-17 Eli Zaretskii <eliz@gnu.org>
8513
8514 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8515 message more clear.
8516
e2b5bdd7
LL
85172012-03-16 Leo Liu <sdl.web@gmail.com>
8518
8519 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8520
2e492df3
AM
85212012-03-16 Alan Mackenzie <acm@muc.de>
8522
8523 Further optimise the handling of large macros.
8524
8525 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8526 limit to a call of `c-literal-limits'.
8527 (c-determine-+ve-limit): New function.
dc9924b8
SM
8528 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8529 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8530 In CASE 5B, restrict a search limit to 500.
8531 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8532
8533 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8534 Restrict macro bounds to +-500 from after-change's BEG END.
8535
50e94f0c
LL
85362012-03-16 Leo Liu <sdl.web@gmail.com>
8537
8538 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8539
6f09f6ed
AH
85402012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8541
8542 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8543 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8544
c7e73d51
GM
85452012-03-16 Glenn Morris <rgm@gnu.org>
8546
da986230
GM
8547 * view.el (view-buffer, view-buffer-other-window)
8548 (view-buffer-other-frame): Doc fixes re special mode-class.
8549
0835f01e
GM
8550 * subr.el (eval-after-load): If named feature is provided not from
8551 a file, run after-load forms. (Bug#10946)
8552
c7e73d51
GM
8553 * calendar/calendar.el (calendar-insert-at-column):
8554 Handle non-unit-width characters a bit better. (Bug#10978)
8555
3f2eafd1
CY
85562012-03-15 Chong Yidong <cyd@gnu.org>
8557
8558 * emacs-lisp/ring.el (ring-extend): New function.
8559 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8560
8561 * comint.el (comint-read-input-ring)
8562 (comint-add-to-input-history): Grow comint-input-ring lazily.
8563
103af3fe
SM
85642012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8565
663b1677
SM
8566 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8567 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8568
103af3fe
SM
8569 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8570 (imenu-add-to-menubar): Don't add a redundant index.
8571 (imenu-update-menubar): Handle a dynamically composed keymap.
8572
899cb7cb
KY
85732012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8574
8575 * mail/sendmail.el (mail-encode-header):
8576 Bind rfc2047-encode-encoded-words to nil.
8577
3809f91d
GM
85782012-03-13 Glenn Morris <rgm@gnu.org>
8579
8580 * calendar/calendar.el (calendar-string-spread):
8581 Handle non-unit-width characters a bit better. (Bug#10978)
8582
9e345a01
LL
85832012-03-13 Leo Liu <sdl.web@gmail.com>
8584
8585 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8586 directory and file as argument (Bug#10822).
8587
4a07df36
KS
85882012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8589
8590 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8591 For dynamically generated code, follow $PC.
8592 (gdb-disassembly-handler-custom): Handle no function name case.
8593
4aaa9356
TL
85942012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8595
8596 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8597 * emulation/ws-mode.el (ws-query-replace):
8598 * sort.el (sort-regexp-fields):
8599 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8600
225979da
SM
86012012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * dabbrev.el: Fix cycle completion order (bug#10963).
8604 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8605 (dabbrev-completion): Don't use an obarray; provide
8606 a cycle-sort-function.
8607
e2f1fdab
LL
86082012-03-12 Leo Liu <sdl.web@gmail.com>
8609
dc9924b8 8610 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8611 (kill-do-not-save-duplicates): Doc fix.
8612
b19490ed
SM
86132012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * dabbrev.el: Fix cycle completion (bug#10963).
8616 Use lexical binding and wrap to 80 columns.
8617 (dabbrev-completion): Delay computing the list of completions.
8618
4b05d722
KH
86192012-03-12 Kenichi Handa <handa@m17n.org>
8620
8621 * international/quail.el (quail-insert-kbd-layout): Surround each
8622 row by LRO and PDF instead of inserting many LRMs. Pad the left
8623 and right of each non-spacing marks. Insert invisible space
8624 between lower and upper characters to prevent composition.
8625
dbbc2e69
SM
86262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * minibuffer.el (minibuffer-complete): Don't get confused when the
8629 function is run twice via different commands (bug#10958).
8630 (complete-with-action): Fix docstring.
8631
292112ed
CY
86322012-03-12 Chong Yidong <cyd@gnu.org>
8633
5d1ac394
CY
8634 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8635 (nxml-completion-at-point-function): New function.
8636 (nxml-mode): Use it.
8637 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8638
292112ed
CY
8639 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8640 Load generated autoloads file before byte compiling (Bug#10970).
8641 (package--make-autoloads-and-compile): New helper fun.
8642
4098f8f7
CS
86432012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8644
8645 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8646
8f754691
MA
86472012-03-11 Michael Albinus <michael.albinus@gmx.de>
8648
8649 * autorevert.el (auto-revert-handler): Ensure, that
8650 file-readable-p is applied only for local files or in
8651 auto-revert-tail-mode.
8652
e29ab36b
AS
86532012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8654
dbbc2e69
SM
8655 * server.el (server-eval-at): Handle non-tcp connections.
8656 Decode result string.
ad0bf5b6 8657
e29ab36b
AS
8658 * server.el (server-msg-size): New constant.
8659 (server-reply-print): New function.
8660 (server-eval-and-print): Use it.
8661 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8662 Handle -print-nonl.
8663
de5939ba
CS
86642012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8665
8666 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8667 (Bug#10987).
8668
0c93eabf
CY
86692012-03-11 Chong Yidong <cyd@gnu.org>
8670
397a688f
CY
8671 * simple.el (goto-line): Doc fix (Bug#9938).
8672
2cc775f9
CY
8673 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8674
0c93eabf
CY
8675 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8676 when finished (Bug#10963).
8677
c491fa41
MR
86782012-03-11 Martin Rudalics <rudalics@gmx.at>
8679
8680 * window.el (split-window-below): Fix bug in case where
8681 split-window-keep-point is nil (Bug#10971).
8682
300e8fa5
JL
86832012-03-11 Juri Linkov <juri@jurta.org>
8684
8685 * replace.el (replace-highlight): Set isearch-word to nil
8686 unconditionally. (Bug#10887)
8687
dbf6c5a1
EZ
86882012-03-10 Eli Zaretskii <eliz@gnu.org>
8689
8690 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8691 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8692 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8693 (mairix-widget-create-query): Add usage information about mairix
8694 search forms: negating words, searching for substrings, etc.
8695
b9e501de
JP
86962012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8697
8698 * international/fontset.el (font-encoding-alist): Add an entry for
8699 ksx1001 (Bug#5667).
8700
92795c91
RS
87012012-03-10 Richard Stallman <rms@gnu.org>
8702
1694e6c1
RS
8703 * mail/sendmail.el (mail-encode-header):
8704 Set rfc2047-encode-encoded-words.
8705
607e8555
RS
8706 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8707
de3bc99a
RS
8708 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8709 view buffer means not swapped.
8710 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8711 (rmail-write-region-annotate): Error if real text has disappeared.
8712
92795c91
RS
8713 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8714
699bd04e
CY
87152012-03-10 Chong Yidong <cyd@gnu.org>
8716
8717 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8718 * emulation/cua-base.el (cua--init-keymaps):
8719 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8720
570a1714
MR
87212012-03-10 Martin Rudalics <rudalics@gmx.at>
8722
dbbc2e69
SM
8723 * speedbar.el (speedbar-unhighlight-one-tag-line):
8724 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8725
82dcf4e4
CY
87262012-03-10 Chong Yidong <cyd@gnu.org>
8727
7a2c7ca7
CY
8728 * minibuffer.el (completion-in-region, completion-help-at-point):
8729 Give the completion field overlay a high priority (Bug#6830).
8730
82dcf4e4
CY
8731 * dired.el (dired-goto-file): Recognize absolute file name
8732 listings (Bug#7126).
8733 (dired-goto-file-1): New helper function.
8734 (dired-toggle-read-only): Inhibit warnings.
8735
052e28ac
MA
87362012-03-09 Michael Albinus <michael.albinus@gmx.de>
8737
75f1671a 8738 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8739 there are no properties.
8740
95d5e396
LL
87412012-03-09 Leo Liu <sdl.web@gmail.com>
8742
8743 * savehist.el (savehist-printable): Stricter check for string
8744 value (Bug#10937).
8745
3f018d6d
EZ
87462012-03-09 Eli Zaretskii <eliz@gnu.org>
8747
dbbc2e69
SM
8748 * mail/smtpmail.el (smtpmail-send-it):
8749 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8750 valid mbox format.
8751
f7fd3d79
GM
87522012-03-09 Glenn Morris <rgm@gnu.org>
8753
8754 * files.el (dir-locals-find-file):
8755 Don't check result is regular, readable.
8756 (dir-locals-read-from-file): Demote errors.
8757
6ff6e72f
EZ
87582012-03-08 Eli Zaretskii <eliz@gnu.org>
8759
dbbc2e69
SM
8760 * international/quail.el (quail-insert-kbd-layout):
8761 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8762 layout cell, to prevent their reordering by bidi display engine.
8763 For details, see the discussion in
8764 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8765
9cec7834
AM
87662012-03-08 Alan Mackenzie <acm@muc.de>
8767
8768 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8769 the starting position; make it extend the marked region when
8770 invoked repeatedly - all under appropriate circumstances.
8771 Fixes bugs #5525, #10906.
8772
9a40b8d4
GM
87732012-03-08 Glenn Morris <rgm@gnu.org>
8774
8775 * files.el (locate-dominating-file, dir-locals-find-file):
8776 Undo 2012-03-06 change.
8777
7a08ed35
EZ
87782012-03-07 Eli Zaretskii <eliz@gnu.org>
8779
dbbc2e69
SM
8780 * international/quail.el (quail-help):
8781 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8782 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8783 for the reason.
8784
5aca4f71 87852012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8786
8787 Avoid superfluous registering of signals. (Bug#10807)
8788
8789 * notifications.el (notifications-on-action-object)
8790 (notifications-on-close-object): New defvars.
8791 (notifications-on-action-signal, notifications-on-closed-signal):
8792 Unregister the signal if not needed any longer.
8793 (notifications-notify): Register `notifications-action-signal' or
8794 `notifications-closed-signal', if :on-action or :on-close has been
8795 passed as argument.
8796
78e8b10a
CY
87972012-03-07 Chong Yidong <cyd@gnu.org>
8798
8799 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8800 non-X platforms.
8801
69481eb8
GM
88022012-03-06 Glenn Morris <rgm@gnu.org>
8803
8804 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8805 (x-disown-selection-internal, x-get-selection-internal):
8806 Doc fix (add arglist signatures). (Bug#10783)
8807
133b8e11
KS
88082012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8809
8810 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8811 Handle breakpoints with no "type".
8812
99a83064
GM
88132012-03-06 Glenn Morris <rgm@gnu.org>
8814
8815 * files.el (locate-dominating-file): Add optional predicate argument.
8816 (dir-locals-find-file): Make use of above change.
8817
17798e78
TTN
88182012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8819
8820 * info.el (Info-insert-dir): Also try "dir.gz".
8821
eb182446
GM
88222012-03-06 Glenn Morris <rgm@gnu.org>
8823
8f2114ee
GM
8824 * files.el (dir-locals-find-file):
8825 Ignore non-readable or non-regular files. (Bug#10928)
8826
eb182446
GM
8827 * files.el (locate-dominating-file): Doc fix.
8828
24679323
AS
88292012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8830
8831 * calendar/calendar.el (calendar-set-mode-line):
8832 `getenv' returns a string. (Bug#10951)
8833
01d972a9
LL
88342012-03-05 Leo Liu <sdl.web@gmail.com>
8835
109aa8a9
LL
8836 * simple.el (backward-delete-char-untabify): Constrain point to
8837 field (Bug#10939).
8838
01d972a9
LL
8839 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8840
10607bea
CY
88412012-03-05 Chong Yidong <cyd@gnu.org>
8842
8843 * simple.el (count-words): If called from Lisp, return the word
8844 count, for symmetry with `count-lines'. Arglist changed.
8845 (count-words--message): Args changed. Consolidate counting code
8846 from count-words and count-words-region.
8847 (count-words-region): Caller changed.
8848 (count-lines-region): Make it an obsolete alias.
8849
5dd11cfe
TH
88502012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8851
8852 * saveplace.el (save-place-to-alist)
8853 (save-place-ignore-files-regexp): Allow value nil to disable this
8854 feature.
8855
c349f4e6
CY
88562012-03-04 Chong Yidong <cyd@gnu.org>
8857
8858 * faces.el (face-spec-reset-face): For the default face, reset the
8859 attributes to default values (Bug#10748).
8860
e627be4c
LMI
88612012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8862
8863 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8864 previous patch: Check `message-send-mail-function', and not the
8865 default function (bug#10897).
8866
ebeabff4
MA
88672012-03-04 Michael Albinus <michael.albinus@gmx.de>
8868
a41a6cf4
MA
8869 * notifications.el (notifications-on-action-signal)
8870 (notifications-on-closed-signal): Check for unique service name of
8871 incoming event. Fix error in removing entry.
ebeabff4 8872 (top): Register for signals with wildcard service name.
a41a6cf4 8873 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8874
c1ca42b4
CY
88752012-03-04 Chong Yidong <cyd@gnu.org>
8876
dc9924b8 8877 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8878
ea16568d
GM
88792012-03-04 Glenn Morris <rgm@gnu.org>
8880
8881 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8882 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8883 (expand-abbrev, define-abbrev-table): Doc fixes.
8884
fbae4637
LMI
88852012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886
8887 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8888 `message-default-send-mail-function' and not `send-mail-function'
8889 when doing the prompting for `sendmail-query-once' before sending
8890 in Message buffers (bug#10897).
8891
a1e7225c
LMI
8892 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8893 This is inconsistent with all the other stream functions, which leave
8894 the setting up to the higher levels (if so wanted) (bug#10931).
8895
56d093a9
AM
88962012-03-02 Alan Mackenzie <acm@muc.de>
8897
8898 Depessimize the handling of very large macros.
8899
8900 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8901 (c-macro-cache-syntactic): New variables to implement a one
8902 element macro cache.
8903 (c-invalidate-macro-cache): New function.
8904 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8905 Adapt to use the new cache.
8906 (c-state-safe-place): Use better the cache of safe positions.
8907 (c-state-semi-nonlit-pos-cache)
8908 (c-state-semi-nonlit-pos-cache-limit):
8909 New variables for...
8910 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8911 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8912 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8913 Use c-state-semi-safe-place.
56d093a9 8914
dbbc2e69
SM
8915 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8916 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8917
817e5c3d
MA
89182012-03-02 Michael Albinus <michael.albinus@gmx.de>
8919
dbbc2e69
SM
8920 * jka-compr.el (jka-compr-call-process):
8921 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8922 not remote.
8923
a032a702
MA
89242012-03-01 Michael Albinus <michael.albinus@gmx.de>
8925
8926 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8927 access of FILE2, if FILE1 does not exist.
8928
99a54f21
MA
8929 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8930 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8931
8932 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8933 Add "PAGER=" to `process-environment'.
8934
f6561e1f
MM
89352012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8936
8937 * progmodes/sql.el: Bug fix
8938 (sql-get-login-ext): Save login values in globals.
8939 (sql-get-login): Use new version of `sql-get-login-ext'.
8940 (sql-interactive-mode): Set global `sql-connection' to nil.
8941 (sql-connect): Set global values for connection.
8942 (sql-product-interactive): Save global values as buffer local.
8943
2d44d9cc
LL
89442012-02-29 Leo Liu <sdl.web@gmail.com>
8945
8946 * abbrev.el (define-abbrevs): Reset sys to nil.
8947
96b49301 89482012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8949
bf7f9bc5
JB
8950 * files.el (file-equal-p): Rename from `files-equal-p'.
8951 Return nil when one or both files don't exist.
96b49301 8952 (file-subdir-of-p): Now only top directory must exists,
8953 return nil if it doesn't.
bf7f9bc5
JB
8954 (copy-directory): No need to test with `file-subdir-of-p' after
8955 creating dir.
8956 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8957 to `file-equal-p'.
96b49301 8958
44e97401
GM
89592012-02-28 Glenn Morris <rgm@gnu.org>
8960
8961 * shell.el (shell-mode):
8962 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8963 * play/landmark.el (landmark-font-lock-face-O):
8964 * play/handwrite.el (handwrite):
8965 * play/gomoku.el (gomoku-O):
8966 * net/browse-url.el (browse-url-browser-display):
8967 * international/mule.el (define-charset):
8968 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8969 * filesets.el (filesets-find-file-delay):
8970 * eshell/em-xtra.el (eshell-xtra):
8971 * eshell/em-unix.el (eshell-grep):
8972 * emulation/viper.el (viper-mode):
8973 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8974 * emacs-lisp/easymenu.el (easy-menu-define):
8975 * calendar/timeclock.el (timeclock-use-display-time):
8976 * bs.el (bs-mode):
8977 * bookmark.el (bookmark-save-flag):
8978 Doc fix (standardize possessive apostrophe usage).
8979
c98c6276
CY
89802012-02-27 Chong Yidong <cyd@gnu.org>
8981
bf7f9bc5
JB
8982 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8983 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8984
c98c6276
CY
8985 * font-lock.el (font-lock-specified-p): Rename from
8986 font-lock-spec-present. Callers changed.
8987
9c62cd04 89882012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8989
bf7f9bc5
JB
8990 * emacs-lisp/package.el (package-compute-transaction):
8991 Handle holding a package version to t in package-load-list.
8ac9e529 8992
530739c9
MA
89932012-02-26 Michael Albinus <michael.albinus@gmx.de>
8994
8995 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8996 (tramp-get-inode, tramp-get-device): Use cached values.
8997
487915d7
AM
89982012-02-26 Alan Mackenzie <acm@muc.de>
8999
9000 Check there is a font-lock specification before doing initial
9001 fontification.
9002
9003 * font-core.el (font-lock-mode): Move the conditional from
9004 :after-hook to font-lock-initial-fontify.
9005 (font-lock-default-function): Move the check for a specification
9006 to font-lock-spec-present.
9007
dc9924b8 9008 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9009 (font-lock-spec-present): New function.
9010
4fd96557
JB
90112012-02-26 Jim Blandy <jimb@red-bean.com>
9012
9013 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9014 (gdb-send): Apply it to the operand of the '-interpreter-exec
9015 console' command, so that we can pass arguments with (say) quotes
9016 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9017
9a4888c0
CY
90182012-02-26 Chong Yidong <cyd@gnu.org>
9019
07498861
CY
9020 * help-fns.el (describe-function-1): Clarify description of
9021 remapping (Bug#10844).
9022
9a4888c0
CY
9023 * files.el (files-equal-p): Doc fix.
9024 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9025 and quit the loop once a mismatch is found.
9026
ea8fb88d
JB
90272012-02-25 Juanma Barranquero <lekktu@gmail.com>
9028
9029 * bs.el (bs--show-with-configuration): Don't throw an error
9030 if the window cannot be split; otherwise, subsequent calls to
9031 bs-show fail, restoring a stale window config. (Bug#10882)
9032
525795c1
JD
90332012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9034
9035 * term/ns-win.el (global-map): Bind ns-drag-file to
9036 ns-find-file (Bug#5855, Bug#10050).
9037
f008086f
AS
90382012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9039
9040 * calendar/parse-time.el (parse-time-string): Allow extractor to
9041 return nil.
9042
a3fcfa99
MA
90432012-02-25 Michael Albinus <michael.albinus@gmx.de>
9044
91027d08
JB
9045 * net/tramp.el (tramp-file-name-for-operation):
9046 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9047
9048 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9049 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9050 Add COPY-CONTENTS argument.
a3fcfa99 9051
67b0de11
CY
90522012-02-25 Chong Yidong <cyd@gnu.org>
9053
9054 Add custom groups for VC backends, for consistency with vc-bzr.
9055
9056 * vc/vc-arch.el (vc-arch):
9057 * vc/vc-cvs.el (vc-cvs):
9058 * vc/vc-git.el (vc-git):
9059 * vc/vc-hg.el (vc-hg):
9060 * vc/vc-mtn.el (vc-mtn):
9061 * vc/vc-rcs.el (vc-rcs):
9062 * vc/vc-sccs.el (vc-sccs):
9063 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9064 All relevant defcustoms reassigned.
9065
3c9dfce6
CY
90662012-02-25 Chong Yidong <cyd@gnu.org>
9067
1339bf43
CY
9068 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9069
3c9dfce6
CY
9070 * term/x-win.el (x-initialize-window-system): Reduce default for
9071 x-selection-timeout to 5 seconds (Bug#8869).
9072
25b2e303 90732012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9074
ec70a47d
GM
9075 * files.el (files-equal-p, file-subdir-of-p): New functions.
9076 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9077 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9078 * dired-aux.el (dired-copy-file-recursive): Same.
9079 (dired-create-files): Modify destination when source is equal to
9080 dest when copying files.
53a46cd0 9081 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9082
914260cd
MA
90832012-02-24 Michael Albinus <michael.albinus@gmx.de>
9084
9085 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9086 (Bug#10874)
9087
2cb228f7
AM
90882012-02-23 Alan Mackenzie <acm@muc.de>
9089
9090 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9091 parameter "after-hook:" to allow the expansion to run code after
9092 the execution of the mode hooks.
9093
9094 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9095 from font-lock-mode-internal.
2cb228f7 9096
91027d08 9097 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9098 :after-hook.
9099
8f0fde21
SM
91002012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9101
3e88618b
SM
9102 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9103 (completion--cache-all-sorted-completions): New function.
9104 (completion-all-sorted-completions): Use it.
9105 (completion--do-completion, minibuffer-force-complete):
9106 Use it to re-instate the flush hook.
9107
8f0fde21
SM
9108 * icomplete.el (icomplete-completions): Replace last fix with a better
9109 one (bug#10850).
9110
8e911f6f
DG
91112012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9112
9113 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9114 when it might call us back infinitely (bug#10797).
9115
49fe4321
GM
91162012-02-23 Glenn Morris <rgm@gnu.org>
9117
9118 * minibuffer.el (completion-category-overrides): Doc fix.
9119
b291b572
SM
91202012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9123 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9124
31a9ef2e
GM
91252012-02-23 Glenn Morris <rgm@gnu.org>
9126
5e6e6794 9127 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9128 (authors-obsolete-files-regexps, authors-ignored-files)
9129 (authors-ambiguous-files, authors-renamed-files-alist):
9130 Add more entries.
9131
0bd1e074
JL
91322012-02-23 Juri Linkov <juri@jurta.org>
9133
9134 * isearch.el (isearch-occur): Sync interactive spec with occur's
9135 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9136
b617673c
JL
9137 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9138
19e9789e
JL
91392012-02-22 Juri Linkov <juri@jurta.org>
9140
9141 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9142 (ucs-insert): Doc fix. Check for hex digits in the string.
9143 Don't display `nil' in the error message. (Bug#10857)
9144
f41ce09d
AM
91452012-02-22 Alan Mackenzie <acm@muc.de>
9146
7a71b18d 9147 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9148
ac2eceee
GM
91492012-02-22 Glenn Morris <rgm@gnu.org>
9150
9151 * ffap.el (ffap-c-path):
9152 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9153
abd1f678
CY
91542012-02-22 Chong Yidong <cyd@gnu.org>
9155
9156 * custom.el (load-theme): Doc fix.
9157
f25aef2e
GM
91582012-02-22 Glenn Morris <rgm@gnu.org>
9159
9160 * dired-x.el (dired-guess-shell-alist-default):
9161 Remove escape sequences from nroff output. (Bug#172)
9162
5f8dc2ca
GM
91632012-02-21 Glenn Morris <rgm@gnu.org>
9164
6ff86ec4
GM
9165 * vc/emerge.el (emerge-defvar-local):
9166 Set `permanent-local' property rather than unused `preserved'.
9167
be3223a3 9168 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9169 (picture-mode-map): Use it. (Bug#10860)
9170 (picture-mode): Doc fix.
9171
3fe58f4f
JB
91722012-02-21 Juanma Barranquero <lekktu@gmail.com>
9173
9174 * newcomment.el (uncomment-region-default): Remove unused binding.
9175
f9a998c3
GM
91762012-02-21 Glenn Morris <rgm@gnu.org>
9177
9178 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9179 (picture-self-insert, picture-tab-chars): Doc fix.
9180 (picture-mode-map): Fix C-a, C-e.
9181
c6029348
GM
91822012-02-20 Glenn Morris <rgm@gnu.org>
9183
9184 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9185
ab1ce9d7
LL
91862012-02-20 Leo Liu <sdl.web@gmail.com>
9187
9188 * icomplete.el (icomplete-completions): Check FROM arg before
9189 passing to substring (Bug#10850).
9190
0fd40f89
CY
91912012-02-19 Chong Yidong <cyd@gnu.org>
9192
9193 * comint.el: Require ansi-color.
9194 (comint-output-filter-functions): Add ansi-color-process-output.
9195
9196 * ansi-color.el: Don't set comint-output-filter-functions; it is
9197 now in the initial value defined in comint.el.
9198 (ansi-color-apply-face-function): New variable.
9199 (ansi-color-apply-on-region): Use it.
9200 (ansi-color-apply-overlay-face): New function.
9201
9202 * shell.el (shell): No need to require ansi-color.
9203 (shell-mode): Use ansi-color-apply-face-function to highlight
9204 color escapes using font-lock-face property (Bug#10835).
9205
20af2394
CY
92062012-02-19 Chong Yidong <cyd@gnu.org>
9207
9208 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9209 mode-line formats (Bug#10839).
9210
e23a3fbe
GM
92112012-02-18 Glenn Morris <rgm@gnu.org>
9212
b474519e
GM
9213 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9214
9215 * mail/undigest.el (unforward-rmail-message): Doc fix.
9216
e23a3fbe
GM
9217 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9218
57939ff4
EZ
92192012-02-18 Eli Zaretskii <eliz@gnu.org>
9220
9221 * international/characters.el (script-list): Sync with the latest
9222 Unicode Character Database.
9223
0c23686e
AS
92242012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9225
9226 * international/titdic-cnv.el: Remove duplicate coding tag.
9227 * language/cham.el: Likewise.
9228 * language/tai-viet.el: Likewise.
9229
6818b449
GM
92302012-02-18 Glenn Morris <rgm@gnu.org>
9231
9232 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9233 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9234 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9235 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9236 * calendar/holidays.el (holiday-bahai-holidays)
9237 (calendar-holidays, list-holidays):
9238 Use utf-8 Bahá'í in doc-strings, menus, etc.
9239
0311a3fc
TH
92402012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9241
9242 * saveplace.el (save-place-ignore-files-regexp): New variable
9243 allowing for excluding files from saving their location of point.
9244 The default value matches the temporary commit message editing
9245 files from Git, SVN, Bazaar, and Mercurial.
9246 (save-place-to-alist): Use it.
9247
d209e2fb 92482012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9249 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9250
9251 * newcomment.el (uncomment-region-default): Don't leave extra space
9252 when an arg is provided (bug#8150).
9253
ee0ce425
TZ
92542012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9255
eb864a71 9256 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9257
95ddf442
GM
92582012-02-17 Glenn Morris <rgm@gnu.org>
9259
9260 * net/socks.el: Require network-stream. (Bug#10599)
9261
48dd1e39 92622012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9263
9264 * international/charprop.el:
9265 * international/uni-name.el:
9266 * international/uni-old-name.el:
9267 * international/uni-comment.el: Regenerate.
9268
d68cd087
GM
92692012-02-16 Glenn Morris <rgm@gnu.org>
9270
9271 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9272 Interactively in calendar buffer, give an error if not on a date.
9273
13932042
GM
92742012-02-15 Glenn Morris <rgm@gnu.org>
9275
9276 * shell.el (shell-delimiter-argument-list):
9277 Revert 2011-02-17 change. (Bug#8027)
9278
c3a70e2b
CY
92792012-02-15 Chong Yidong <cyd@gnu.org>
9280
60236b0d
CY
9281 * minibuffer.el (completion-at-point-functions): Doc fix.
9282
c3a70e2b
CY
9283 * custom.el (defcustom): Doc fix; note use of defvar.
9284
9f26dc24
GM
92852012-02-15 Glenn Morris <rgm@gnu.org>
9286
9287 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9288 Doc fixes.
9289
6546b134
GM
92902012-02-14 Glenn Morris <rgm@gnu.org>
9291
9292 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9293
d29b2b4c
LI
92942012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9295
9296 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9297 way the ports list is computed.
835bdcba
LI
9298 (smtpmail-query-smtp-server): Prompt the user for a port number if
9299 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9300
08dcdbc9
TZ
93012012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9302
9303 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9304
2605051a
GM
93052012-02-13 Glenn Morris <rgm@gnu.org>
9306
9307 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9308
7ee99f32
TZ
93092012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9310
9311 * net/gnutls.el (gnutls-trustfiles): New variable.
9312 (gnutls-negotiate): Use it.
9313
5f0af64f
LI
93142012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9315
9316 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9317 does its stuff if Gnus is running.
9318
c14fcc95
AM
93192012-02-13 Alan Mackenzie <acm@muc.de>
9320
9321 Fix a loop in c-set-fl-decl-start.
9322
7a71b18d 9323 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9324 c-backward-syntactic-ws actually moves backwards.
9325
142b4d90
LL
93262012-02-13 Leo Liu <sdl.web@gmail.com>
9327
9328 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9329 beginning so that all \C-o chars are removed.
9330
fa9958a6
TZ
93312012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9332
dc9924b8 9333 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9334
0bc5886a
AM
93352012-02-12 Alan Mackenzie <acm@muc.de>
9336
9337 Fix infinite loop with long macros.
4d6769e1 9338 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9339
d4bd55e7
CY
93402012-02-12 Chong Yidong <cyd@gnu.org>
9341
9342 * window.el (display-buffer): Doc fix (Bug#10785).
9343
66f3fe22
GM
93442012-02-12 Glenn Morris <rgm@gnu.org>
9345
bd7da63e
GM
9346 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9347 (x-disown-selection-internal, x-get-selection-internal):
9348 Sync docs with the xselect.c versions.
9349
66f3fe22
GM
9350 * allout-widgets.el: Add missing license notice.
9351
3e0d2fa7
GM
93522012-02-11 Glenn Morris <rgm@gnu.org>
9353
cfecdf09
GM
9354 * select.el (x-get-selection-internal, x-own-selection-internal)
9355 (x-disown-selection-internal):
9356 * x-dnd.el (x-get-selection-internal): Update declarations.
9357
6d216d7f
GM
9358 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9359
2bed3f04
GM
9360 * window.el (window-sides-slots):
9361 * tool-bar.el (tool-bar-position):
9362 * term/xterm.el (xterm-extra-capabilities):
9363 * ses.el (ses-self-reference-early-detection):
9364 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9365 (verilog-auto-wire-type)
9366 (verilog-auto-delete-trailing-whitespace)
9367 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9368 (verilog-auto-tieoff-declaration):
9369 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9370 (sql-oracle-statement-starters, sql-oracle-scan-on):
9371 * progmodes/prolog.el (prolog-align-comments-flag)
9372 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9373 (prolog-left-indent-regexp, prolog-paren-indent-p)
9374 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9375 (prolog-types, prolog-mode-specificators)
9376 (prolog-determinism-specificators, prolog-directives)
9377 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9378 (prolog-electric-dot-flag)
9379 (prolog-electric-dot-full-predicate-template)
9380 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9381 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9382 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9383 (prolog-program-switches, prolog-prompt-regexp)
9384 (prolog-debug-on-string, prolog-debug-off-string)
9385 (prolog-trace-on-string, prolog-trace-off-string)
9386 (prolog-zip-on-string, prolog-zip-off-string)
9387 (prolog-use-standard-consult-compile-method-flag)
9388 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9389 (prolog-imenu-max-lines, prolog-info-predicate-index)
9390 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9391 (prolog-char-quote-workaround):
9392 * progmodes/cc-vars.el (c-defun-tactic):
9393 * net/tramp.el (tramp-encoding-command-interactive)
9394 (tramp-local-end-of-line):
9395 * net/soap-client.el (soap-client):
9396 * net/netrc.el (netrc-file):
9397 * net/gnutls.el (gnutls):
9398 * minibuffer.el (completion-category-overrides)
9399 (completion-cycle-threshold)
9400 (completion-pcm-complete-word-inserts-delimiters):
9401 * man.el (Man-name-local-regexp):
9402 * mail/feedmail.el (feedmail-display-full-frame):
9403 * international/characters.el (glyphless-char-display-control):
9404 * eshell/em-ls.el (eshell-ls-date-format):
9405 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9406 (lisp-lambda-list-keyword-parameter-indentation)
9407 (lisp-lambda-list-keyword-parameter-alignment):
9408 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9409 * dired-x.el (dired-omit-verbose):
9410 * cus-theme.el (custom-theme-allow-multiple-selections):
9411 * calc/calc.el (calc-highlight-selections-with-faces)
9412 (calc-lu-field-reference, calc-lu-power-reference)
9413 (calc-note-threshold):
9414 * battery.el (battery-mode-line-limit):
9415 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9416 (archive-7z-update):
9417 * allout.el (allout-prefixed-keybindings)
9418 (allout-unprefixed-keybindings)
9419 (allout-inhibit-auto-fill-on-headline)
9420 (allout-flattened-numbering-abbreviation):
9421 * allout-widgets.el (allout-widgets-auto-activation)
9422 (allout-widgets-icons-dark-subdir)
9423 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9424 (allout-widgets-theme-dark-background)
9425 (allout-widgets-theme-light-background)
9426 (allout-widgets-item-image-properties-emacs)
9427 (allout-widgets-item-image-properties-xemacs)
9428 (allout-widgets-run-unit-tests-on-load)
9429 (allout-widgets-time-decoration-activity)
9430 (allout-widgets-hook-error-post-time)
9431 (allout-widgets-track-decoration):
9432 Add missing :version tags to new defcustoms and defgroups.
9433
5fec1b8e
GM
9434 * progmodes/sql.el (sql-ansi-statement-starters)
9435 (sql-oracle-statement-starters): Add custom type.
9436
3e0d2fa7
GM
9437 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9438 (prolog-system-version): Give it a type.
9439
90b671e2
EZ
94402012-02-11 Eli Zaretskii <eliz@gnu.org>
9441
9442 * term/pc-win.el (x-select-text, x-selection-owner-p)
9443 (x-own-selection-internal, x-disown-selection-internal)
9444 (x-get-selection-internal): Sync doc strings and argument lists
9445 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9446
5eac0c02
LL
94472012-02-11 Leo Liu <sdl.web@gmail.com>
9448
9449 * progmodes/python.el (python-end-of-statement): Fix infinite
9450 loop. (Bug#10788)
9451
f82cb659
GM
94522012-02-10 Glenn Morris <rgm@gnu.org>
9453
9454 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9455 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9456
cc26d239
LI
94572012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9458
9459 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9460 about SMTP before checking the From header.
9461
91027d08 9462 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9463 into own function for reuse by emacsbug.el.
9464
1be3ca5a
LL
94652012-02-10 Leo Liu <sdl.web@gmail.com>
9466
9467 * subr.el (condition-case-unless-debug): Rename from
9468 condition-case-no-debug. All callers changed.
9469 (with-demoted-errors): Fix caller.
9470
9471 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9472 * nxml/rng-valid.el (rng-do-some-validation):
9473 * emacs-lisp/package.el (package-refresh-contents)
9474 (package-menu-execute):
9475 * desktop.el (desktop-create-buffer):
91027d08 9476 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9477
b011fbfe
GM
94782012-02-10 Glenn Morris <rgm@gnu.org>
9479
b2096d72
GM
9480 * textmodes/bibtex.el:
9481 Add missing :version tags for new/changed defcustoms.
9482
b011fbfe
GM
9483 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9484
4c7e65bf
LI
94852012-02-09 Lars Ingebrigtsen <larsi@rusty>
9486
9487 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9488 (smtpmail-via-smtp): Use it, or fall back on the From address.
9489 (smtpmail-send-it): Ditto.
9490
f3934f6f
SM
94912012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9494 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9495 (byte-compile-tmp-var): New const.
9496 (byte-compile-defvar): Use it to minimize .elc size.
9497 Just use `defvar' rather than simulate it (bug#10761).
9498
a075a2c5
GM
94992012-02-09 Glenn Morris <rgm@gnu.org>
9500
cf3aa21b
GM
9501 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9502
354998cd
GM
9503 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9504 Add :version tags.
9505
dc9924b8
SM
9506 * progmodes/compile.el (compilation-error-screen-columns)
9507 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9508
dab3703d
GM
9509 * vc/log-view.el (log-view-toggle-entry-display):
9510 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9511
3f88cd72
GM
9512 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9513 (report-emacs-bug-can-use-xdg-email):
9514 (report-emacs-bug-insert-to-mailer): Doc fixes.
9515 (report-emacs-bug): Message fix.
9516
d95b247d
GM
9517 * net/browse-url.el (browse-url-can-use-xdg-open)
9518 (browse-url-xdg-open): Doc fixes.
9519
a075a2c5
GM
9520 * electric.el (electric-indent-mode, electric-pair-mode)
9521 (electric-layout-rules, electric-layout-mode): Doc fixes.
9522 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9523
ffb6157e
MR
95242012-02-08 Martin Rudalics <rudalics@gmx.at>
9525
9526 * server.el (server-unselect-display): Don't inadvertently kill
9527 the current buffer. (Bug#10729)
9528
e1ac4066
GM
95292012-02-08 Glenn Morris <rgm@gnu.org>
9530
34e8a2da
GM
9531 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9532 (sql-list-table): Doc fixes.
9533
b4ac6e8c
GM
9534 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9535 Comment out (does nothing).
9536
e1ac4066
GM
9537 * completion.el (dynamic-completion-mode):
9538 * dirtrack.el (dirtrack-debug-mode):
9539 * electric.el (electric-layout-mode):
9540 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9541 * face-remap.el (text-scale-mode, buffer-face-mode):
9542 * iimage.el (iimage-mode):
9543 * image-mode.el (image-transform-mode):
9544 * minibuffer.el (completion-in-region-mode):
9545 * scroll-lock.el (scroll-lock-mode):
9546 * simple.el (next-error-follow-minor-mode):
9547 * tar-mode.el (tar-subfile-mode):
9548 * tooltip.el (tooltip-mode):
9549 * vcursor.el (vcursor-use-vcursor-map):
9550 * wid-browse.el (widget-minor-mode):
9551 * emulation/tpu-edt.el (tpu-edt-mode):
9552 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9553 * international/iso-ascii.el (iso-ascii-mode):
9554 * language/thai-util.el (thai-word-mode):
9555 * mail/supercite.el (sc-minor-mode):
9556 * net/goto-addr.el (goto-address-mode):
9557 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9558 * progmodes/cwarn.el (cwarn-mode):
9559 * progmodes/flymake.el (flymake-mode):
9560 * progmodes/glasses.el (glasses-mode):
9561 * progmodes/hideshow.el (hs-minor-mode):
9562 * progmodes/pascal.el (pascal-outline-mode):
9563 * textmodes/enriched.el (enriched-mode):
9564 * vc/smerge-mode.el (smerge-mode):
9565 Doc fixes (minor mode argument).
9566
5e0d957f
EZ
95672012-02-07 Eli Zaretskii <eliz@gnu.org>
9568
9569 * ls-lisp.el (ls-lisp-sanitize): New function.
9570 (ls-lisp-insert-directory): Use it to fix or remove any elements
9571 in file-alist with missing attributes. (Bug#4673)
9572
98d7371e
AM
95732012-02-07 Alan Mackenzie <acm@muc.de>
9574
9575 Fix spurious recognition of c-in-knr-argdecl.
9576
9577 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9578 putative K&R region.
9579
667ced3a
AM
95802012-02-07 Alan Mackenzie <acm@muc.de>
9581
eb864a71
LM
9582 * progmodes/cc-engine.el (c-forward-objc-directive):
9583 Prevent looping in "#pragma mark @implementation".
667ced3a 9584
5b77774d
MA
95852012-02-07 Michael Albinus <michael.albinus@gmx.de>
9586
9587 * notifications.el (notifications-on-closed-signal): Make `reason'
9588 optional. (Bug#10744)
9589
af008560
GM
95902012-02-07 Glenn Morris <rgm@gnu.org>
9591
60d47423
GM
9592 * emacs-lisp/easy-mmode.el (define-minor-mode):
9593 Doc fixes for the macro and the mode it defines.
9594
dd605cc4
GM
9595 * image.el (imagemagick-types-inhibit): Doc fix.
9596
af008560
GM
9597 * cus-start.el (imagemagick-render-type): Add it.
9598
5cc59a37
LI
95992012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9600
4d6769e1
JB
9601 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9602 Set the default at load time, too, so that `font-lock-fontify-buffer'
9603 can be called without setting up the entire mode first. This fixes
9604 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9605
9a6dd747
CY
96062012-02-06 Chong Yidong <cyd@gnu.org>
9607
2d16b285
CY
9608 * simple.el (list-processes--refresh): Delete exited processes
9609 (Bug#8094).
9610
171e9b6e
CY
9611 * comint.el (comint-next-prompt): next-single-char-property-change
9612 and prev-single-char-property-change never return nil (Bug#8657).
9613
9a6dd747
CY
9614 * custom.el (defcustom): Doc fix (Bug#9711).
9615
aa4589a7
CY
96162012-02-05 Chong Yidong <cyd@gnu.org>
9617
5c2a252f
CY
9618 * cus-edit.el (custom-variable-reset-backup): Quote the value
9619 before storing it in the customized-value property (Bug#6712).
4aab9006 9620 (custom-display): Add a customization type tag.
983b9602 9621 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9622
aa4589a7
CY
9623 * wid-edit.el (widget-field-value-get): New optional arg to
9624 suppress trailing whitespace truncation.
9625 (character): Use it (Bug#2689).
9626
1ff980ae
AS
96272012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9628
9629 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9630 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9631
03988c98
CY
96322012-02-05 Chong Yidong <cyd@gnu.org>
9633
eeb6cc88
CY
9634 * cus-edit.el (custom-variable-value-create): For mismatched
9635 types, show the current value (Bug#7600).
9636
03988c98
CY
9637 * custom.el (defcustom): Doc fix.
9638
f8cdeef0
GM
96392012-02-05 Glenn Morris <rgm@gnu.org>
9640
9641 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9642
0696d255
JB
96432012-02-05 Juanma Barranquero <lekktu@gmail.com>
9644
9645 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9646 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9647 (pp-last-sexp): Use `looking-at-p'.
9648
34c99998
GM
96492012-02-04 Glenn Morris <rgm@gnu.org>
9650
8f05da42
GM
9651 * files.el (revert-buffer):
9652 Doc fix (mention revert-buffer-in-progress-p).
9653
f160676e
GM
9654 * emacs-lisp/ert-x.el (ert-simulate-command):
9655 Check deferred-action-list (which is obsolete) is bound.
9656
c7291ad9
GM
9657 * subr.el (with-wrapper-hook): Doc fixes.
9658
34c99998
GM
9659 * simple.el (filter-buffer-substring-functions)
9660 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9661
6283a7d3
LL
96622012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9663
9664 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9665 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9666
e96e3013
LL
96672012-02-04 Leo Liu <sdl.web@gmail.com>
9668
9669 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9670
8ded50f2
GM
96712012-02-04 Glenn Morris <rgm@gnu.org>
9672
82ff1d13
GM
9673 * image.el (image-extension-data): Add obsolete alias.
9674
987a0a16
GM
9675 * isearch.el (isearch-update): Doc fix.
9676
ea32ef46
GM
9677 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9678
8ded50f2
GM
9679 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9680
eea14f31
GM
96812012-02-03 Glenn Morris <rgm@gnu.org>
9682
9683 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9684 (image-animate-timeout): Doc fix.
9685
9686 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9687
12f381b7
GM
96882012-02-02 Glenn Morris <rgm@gnu.org>
9689
953cebf5
GM
9690 * server.el (server-auth-dir): Doc fix.
9691 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9692
12f381b7
GM
9693 * subr.el (run-mode-hooks): Doc fix.
9694
953a8c3b
JL
96952012-02-02 Juri Linkov <juri@jurta.org>
9696
9697 * image-mode.el (image-toggle-display-image): Remove tautological
9698 `major-mode' from the `derived-mode-p' test.
9699
c5d3843c
KH
97002012-02-02 Kenichi Handa <handa@m17n.org>
9701
9f6e692e 9702 * composite.el (compose-region): Cancel previous change.
c5d3843c 9703
159462d4 97042012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9705
9706 * composite.el (compose-region, compose-string): Signal error for
9707 a null string component (Bug#6988).
9708
9f562668
CY
97092012-02-01 Chong Yidong <cyd@gnu.org>
9710
e2cef717
CY
9711 * view.el (view-buffer-other-window, view-buffer-other-frame):
9712 Handle special modes like view-buffer (Bug#10650).
9713 (view-buffer): Simplify.
9714
9f562668
CY
9715 * frame.el (set-frame-font): Tweak meaning of third argument.
9716
9f6e692e
JB
9717 * dynamic-setting.el (font-setting-change-default-font):
9718 Use set-frame-font (Bug#9982).
9f562668 9719
781acb9f
GM
97202012-02-01 Glenn Morris <rgm@gnu.org>
9721
6035be52
GM
9722 * progmodes/compile.el (compilation-internal-error-properties):
9723 Respect compilation-first-column in the "*compilation*" buffer.
9724
781acb9f
GM
9725 * emacs-lisp/easy-mmode.el (define-minor-mode):
9726 Relax :variable's test for a named function.
9727
abbceb00
AM
97282012-01-31 Alan Mackenzie <acm@muc.de>
9729
9730 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9731 off by one error.
9732
fce3fdeb
CY
97332012-01-31 Chong Yidong <cyd@gnu.org>
9734
9735 * frame.el (set-frame-font): New arg ALL-FRAMES.
9736
9737 * menu-bar.el (menu-set-font): Use set-frame-font.
9738
9739 * faces.el (face-spec-reset-face): Don't apply unspecified
9740 attribute values to the default face.
9741
47893581
JB
97422012-01-31 Juanma Barranquero <lekktu@gmail.com>
9743
9744 * progmodes/cwarn.el (cwarn): Remove dead link.
9745 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9746 Remove * from defcustom docstrings.
9747 (turn-on-cwarn-mode): Make obsolete.
9748 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9749 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9750
e58e988a
GM
97512012-01-31 Glenn Morris <rgm@gnu.org>
9752
60dc2671 9753 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9754 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9755 Allow named functions to be used as the cdr of :variable.
e58e988a 9756
7a3f511d
GM
97572012-01-30 Glenn Morris <rgm@gnu.org>
9758
9759 * emacs-lisp/authors.el (authors-fixed-entries):
9760 Remove reference to deleted file rnewspost.el.
9761
cb882333
JB
97622012-01-29 Juanma Barranquero <lekktu@gmail.com>
9763
9764 * window.el (window-with-parameter): Remove unused variable `windows'.
9765 (window--side-check): Remove unused variable `code'.
9766 (window--resize-siblings): Remove unused variable `first'.
9767 (adjust-window-trailing-edge): Remove unused variable `failed'.
9768 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9769 Use `let', not `let*'.
9770 (balance-windows-2): Remove unused variable `found'.
9771 (window--state-put-2): Remove unused variable `splits'.
9772 (window-state-put): Remove unused variable `selected'.
9773 (same-window-p): Use `string-match-p'.
9774 (display-buffer-assq-regexp): Remove unused variable `value'.
9775 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9776 Mark argument ALIST as ignored.
9777 (pop-to-buffer): Remove unused variable `old-window'.
9778
907201af
EZ
97792012-01-29 Eli Zaretskii <eliz@gnu.org>
9780
9781 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9782 and .lzma compressed files.
9783
ea162670
CY
97842012-01-29 Chong Yidong <cyd@gnu.org>
9785
5b95ee8a
CY
9786 * frame.el (window-system-default-frame-alist): Doc fix.
9787
ea162670
CY
9788 * dynamic-setting.el (font-setting-change-default-font): Don't
9789 change the default face if SET-FONT argument is non-nil (Bug#9982).
9790
d6e6f4b1
SB
97912012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9792
9793 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9794
0f29fa41 97952012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9796
9797 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9798 breakpoints in files outside current directory (Bug#6098).
9799
db174434
CY
98002012-01-29 Chong Yidong <cyd@gnu.org>
9801
6b25e4e2
SE
9802 * progmodes/python.el: Require ansi-color at top-level.
9803
6df6ae42
JB
9804 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9805 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9806 (lisp-mode-abbrev-table): Add doc.
9807 (lisp-mode-variables): Don't set local-abbrev-table.
9808 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9809
e70ee681
RW
98102012-01-28 Roland Winkler <winkler@gnu.org>
9811
9812 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9813
ace88aa2
RW
98142012-01-28 Roland Winkler <winkler@gnu.org>
9815
9816 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9817 (bibtex-set-dialect): Use it. Either set global values of
9818 dialect-dependent variables or bind these variables buffer-locally
9819 (Bug#10254).
9820 (bibtex-mode): Call bibtex-set-dialect via
9821 hack-local-variables-hook.
eb864a71
LM
9822 (bibtex-dialect): Update docstring.
9823 Add safe-local-variable predicate.
ace88aa2
RW
9824 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9825 bibtex-set-dialect.
9826 (bibtex-mode-map): Define menu for each dialect.
9827 (bibtex-entry): Fix docstring.
9828
93376c5b
CY
98292012-01-28 Chong Yidong <cyd@gnu.org>
9830
9831 * eshell/esh-arg.el (eshell-quote-argument): New function.
9832
9833 * eshell/esh-ext.el (eshell-invoke-batch-file):
9834 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9835 first arg to eshell-parse-command (Bug#10523).
9836
4372494f
DA
98372012-01-28 Drew Adams <drew.adams@oracle.com>
9838
9839 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9840 `default-directory' is non-nil.
9841
4d4ec1f8
EZ
98422012-01-28 Eli Zaretskii <eliz@gnu.org>
9843
9844 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9845 line that displays system-configuration-options. (Bug#9924)
9846
7c188927
DA
98472012-01-28 Drew Adams <drew.adams@oracle.com>
9848
9849 * descr-text.el (describe-char): Show information about POS, in
9850 addition to information about the character at POS. Improve and
9851 update the doc string. Change "code point" to "code point in
9852 charset", to avoid confusion with the character's Unicode code
9853 point shown above that. (Bug#10129)
9854
e0da685a
EZ
98552012-01-28 Eli Zaretskii <eliz@gnu.org>
9856
9857 * descr-text.el (describe-char): Show the raw character, not only
9858 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9859 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9860 for the reasons.
9861
70550acf
PH
98622012-01-28 Phil Hagelberg <phil@hagelb.org>
9863
eb864a71
LM
9864 * emacs-lisp/package.el (package-install):
9865 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9866
0ce8e868
CY
98672012-01-28 Chong Yidong <cyd@gnu.org>
9868
cb882333
JB
9869 * emacs-lisp/package.el (package-maybe-load-descriptor):
9870 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9871 (package-maybe-load-descriptor): Use it.
9872 (package-download-transaction): Fully load required packages
9873 inside the loop, so that `require' calls work (Bug#10593).
9874 (package-install): No need to call package-initialize now.
9875
2e7f3bea
CY
98762012-01-28 Chong Yidong <cyd@gnu.org>
9877
6e9bad14
CY
9878 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9879
f823b8ca
CY
9880 * tooltip.el (tooltip-mode): Doc fix.
9881 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9882
2680c309
CY
9883 * frame.el (set-cursor-color): Doc fix (Bug#352).
9884
d7a9e63b
CY
9885 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9886 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9887
2e7f3bea
CY
9888 * cus-edit.el (custom-buffer-create-internal): Fix search button
9889 action (Bug#10542).
2ae01800 9890 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9891
fc4f7a23
EW
98922012-01-27 Eduard Wiebe <usenet@pusto.de>
9893
9894 * dired.el (dired-mark-files-regexp):
9895 Include any subdirectory components. (Bug#10445)
9896
7dd37071
ML
98972012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9898
9899 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9900 Handle [host]:port syntax. (Bug#10533)
9901
a268160b
AH
99022012-01-27 Alex Harsanyi <harsanyi@mac.com>
9903
9904 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9905
e43273ef
GM
99062012-01-26 Glenn Morris <rgm@gnu.org>
9907
9908 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9909 * term.el (term-raw-escape-map): Use Control-X-prefix.
9910 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9911
1edf595d
MR
99122012-01-25 Martin Rudalics <rudalics@gmx.at>
9913
9914 * window.el (window-state-get, window--state-get-1): Don't deal
9915 with fixed-sizeness of windows. Simplify code.
9916
fa8eafef
JC
99172012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9918
6df6ae42
JB
9919 * window.el (window--state-get-1, window--state-put-2):
9920 Don't save and restore the mark.
fa8eafef 9921
0b21c100
CY
99222012-01-25 Chong Yidong <cyd@gnu.org>
9923
9924 * custom.el (custom-variable-p): Doc fix.
9925
5ae1a6c8
GM
99262012-01-25 Glenn Morris <rgm@gnu.org>
9927
40047858
GM
9928 * dired.el (dired-goto-file): Handle some of the more common
9929 characters that `ls -b' escapes. (Bug#10596)
9930
5ddce96c
GM
9931 * progmodes/compile.el (compilation-next-error-function):
9932 Respect compilation-first-column in the "*compilation*" buffer.
9933 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9934
5ae1a6c8
GM
9935 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9936
b559f1a9
GM
99372012-01-24 Glenn Morris <rgm@gnu.org>
9938
9939 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9940
6725d21a
JD
99412012-01-24 Julien Danjou <julien@danjou.info>
9942
9943 * color.el (color-rgb-to-hsl): Fix value computing.
9944 (color-hue-to-rgb): New function.
9945 (color-hsl-to-rgb): New function.
9946 (color-clamp, color-saturate-hsl, color-saturate-name)
9947 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9948 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9949
70df4bbe
GM
99502012-01-24 Glenn Morris <rgm@gnu.org>
9951
9952 * vc/vc-rcs.el (vc-rcs-create-tag):
9953 * vc/vc-sccs.el (vc-sccs-create-tag):
9954 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9955
802a2ae2
ML
99562012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9957
9958 * eshell/esh-util.el (eshell-read-hosts-file):
9959 Skip comment lines. (Bug#10549)
9960
d7128bb1
ML
9961 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9962
d1a5c3b4
JB
99632012-01-23 Juanma Barranquero <lekktu@gmail.com>
9964
2724d9c7
JB
9965 * subr.el (display-delayed-warnings): Doc fix.
9966 (collapse-delayed-warnings): New function to collapse identical
9967 adjacent warnings.
9968 (delayed-warnings-hook): Add it.
d1a5c3b4 9969
a5509865
MA
99702012-01-22 Michael Albinus <michael.albinus@gmx.de>
9971
9972 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9973
a5509865
MA
9974 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9975 (tramp-default-user-alist): Don't add "pscp".
9976 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9977 property "login-as", if set. (Bug#10530)
9978
cc6d5805
MA
99792012-01-21 Michael Albinus <michael.albinus@gmx.de>
9980
9981 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9982 "plink1" and "psftp". (Bug#10530)
9983
99842012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9985
9986 * international/mule-cmds.el (prefer-coding-system): Show a
9987 warning message if the default value of file-name-coding-system
9988 was not changed.
9989
f0960428
JC
99902012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9991
cb882333
JB
9992 * windmove.el (windmove-reference-loc):
9993 Fix windmove-reference-loc miscalculation.
f0960428 9994
dd6f2a63
JB
99952012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9996
9997 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9998 default unit.
9999
7b447e9b
GM
100002012-01-21 Glenn Morris <rgm@gnu.org>
10001
117a9ea1
GM
10002 * international/mule.el (auto-coding-alist): Add .tbz.
10003
7b447e9b
GM
10004 * files.el (local-enable-local-variables): Doc fix.
10005 (inhibit-local-variables-regexps): Rename from
10006 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10007 Doc fix. Add some extensions from auto-coding-alist.
10008 (inhibit-local-variables-suffixes):
10009 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10010 (inhibit-local-variables-p):
10011 New function, extracted from set-auto-mode-1.
10012 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10013 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10014 (hack-local-variables): Doc fix. Make the mode-only case
10015 respect enable-local-variables and friends.
10016 Respect inhibit-local-variables-regexps for file-locals, but
10017 not for directory-locals.
10018 (set-visited-file-name):
10019 Take account of inhibit-local-variables-regexps.
10020 Whether it applies may change as the file name is changed.
10021 * jka-cmpr-hook.el (jka-compr-install):
10022 * jka-compr.el (jka-compr-uninstall):
10023 Update for inhibit-first-line-modes-suffixes name change.
10024
dd6e3cdd
MR
100252012-01-20 Martin Rudalics <rudalics@gmx.at>
10026
10027 * help-macro.el (make-help-screen): Temporarily restore original
10028 binding for minor-mode-map-alist (Bug#10454).
10029
0d0deb38
JD
100302012-01-19 Julien Danjou <julien@danjou.info>
10031
10032 * color.el (color-name-to-rgb): Use the white color to find the max
10033 color component value and return correctly computed values.
10034 (color-name-to-rgb): Add missing float conversion for max value.
10035
34a02f46
MR
100362012-01-19 Martin Rudalics <rudalics@gmx.at>
10037
10038 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10039 special state value for window-persistent-parameters.
10040 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10041 (window--state-put-2): Reset all window parameters to nil before
10042 assigning values of persistent parameters.
10043
606c44c4
AM
100442012-01-18 Alan Mackenzie <acm@muc.de>
10045
10046 Eliminate sluggishness and hangs in fontification of "semicolon
10047 deserts".
10048
cb882333
JB
10049 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10050 Change value 10000 -> 3000.
606c44c4
AM
10051 (c-state-safe-place): Reformulate so it doesn't stack up an
10052 infinite number of wrong entries in c-state-nonlit-pos-cache.
10053 (c-determine-limit-get-base, c-determine-limit): New functions to
10054 determine backward search limits disregarding literals.
10055 (c-find-decl-spots): Amend commenting.
10056 (c-cheap-inside-bracelist-p): New function which detects "={".
10057
10058 * progmodes/cc-fonts.el
10059 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10060 backward search.
10061 (c-font-lock-declarations): Fix an occurrence of point being
10062 undefined. Check additionally for point being in a bracelist or
10063 near a macro invocation without a semicolon so as to avoid a
10064 fruitless time consuming search for a declarator. Give a more
10065 precise search limit for declarators using the new
10066 c-determine-limit.
10067
f3860cea
GM
100682012-01-18 Glenn Morris <rgm@gnu.org>
10069
10070 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10071 (set-auto-mode): Doc fixes.
10072
1db03b16
GM
100732012-01-17 Glenn Morris <rgm@gnu.org>
10074
0e6038be
GM
10075 * isearch.el (search-nonincremental-instead): Fix doc typo.
10076
1db03b16
GM
10077 * dired.el (dired-insert-directory): Handle newlines in directory name.
10078 (dired-build-subdir-alist): Unescape newlines in directory name.
10079
4cb0aa75
MA
100802012-01-17 Michael Albinus <michael.albinus@gmx.de>
10081
10082 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10083 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10084 (tramp-action-terminal): Use it. (Bug#10530)
10085
1d00653d
SM
100862012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10087
10088 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10089
6a6ee00d
MR
100902012-01-16 Martin Rudalics <rudalics@gmx.at>
10091
10092 * window.el (window-state-ignored-parameters): Remove variable.
10093 (window--state-get-1): Rename argument MARKERS to IGNORE.
10094 Handle persistent window parameters. Make copy of clone-of
10095 parameter only if requested. (Bug#10348)
10096 (window--state-put-2): Install a window parameter only if it has
10097 a non-nil value or an existing parameter shall be overwritten.
10098
97912def
MA
100992012-01-15 Michael Albinus <michael.albinus@gmx.de>
10100
10101 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10102
688070a5
EZ
101032012-01-14 Eli Zaretskii <eliz@gnu.org>
10104
10105 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10106 don't pass the (nil) value of `upnode' to string-match.
10107
301afadc
CY
101082012-01-14 Chong Yidong <cyd@gnu.org>
10109
10110 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10111 Fix values recognized by the cursorBlink resource.
301afadc 10112
9e5788aa
PE
101132012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10114
10115 * epg.el (epg--make-temp-file): Avoid permission race condition
10116 when running on old Emacs versions (bug#10403).
10117
3cdb7f5a
GM
101182012-01-14 Glenn Morris <rgm@gnu.org>
10119
10120 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10121
8c82b1b4
AM
101222012-01-13 Alan Mackenzie <acm@muc.de>
10123
10124 Fix filling for when filladapt mode is enabled.
10125
10126 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10127 c-mask-paragraph, pass in `fill-paragraph' rather than
10128 `fill-region-as-paragraph'. (This is a reversion of a previous
10129 change.)
eb864a71
LM
10130 * progmodes/cc-mode.el (c-basic-common-init):
10131 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10132
e517eda4
GM
101332012-01-13 Glenn Morris <rgm@gnu.org>
10134
1498536e
GM
10135 * dired.el (dired-switches-escape-p): New function.
10136 (dired-insert-directory): Use dired-switches-escape-p.
10137 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10138
e517eda4
GM
10139 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10140
328f984d
GM
101412012-01-12 Glenn Morris <rgm@gnu.org>
10142
10143 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10144 changes in adaptive-fill-regexp. (Bug#10276)
10145
2cc769a8
AM
101462012-01-11 Alan Mackenzie <acm@muc.de>
10147
10148 Fix Emacs bug #10463 - put `widen's around the critical spots.
10149
1d00653d 10150 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10151 widen around each invocation of c-state-pp-to-literal. Remove an
10152 unused let variable.
10153
e52c37fa
GM
101542012-01-11 Glenn Morris <rgm@gnu.org>
10155
10156 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10157 Doc fix.
e52c37fa 10158
96f8741e
CY
101592012-01-10 Chong Yidong <cyd@gnu.org>
10160
1d00653d
SM
10161 * net/network-stream.el (network-stream-open-starttls):
10162 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10163 response to the capability command.
10164
b09a806e
GM
101652012-01-10 Glenn Morris <rgm@gnu.org>
10166
10167 * mail/unrmail.el (unrmail): Tweak previous change.
10168
7655cb66
CY
101692012-01-09 Chong Yidong <cyd@gnu.org>
10170
10171 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10172
9d5a8f0b
AM
101732012-01-08 Alan Mackenzie <acm@muc.de>
10174
10175 Optimise font locking in long enum definitions.
10176
10177 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10178 arm to a cond form to handle enums.
10179 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10180 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10181
9a0115ab 101822012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10183
10184 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10185 (Bug#10401)
6bb72cbd 10186
f186bb95
LMI
101872012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10188
29232a68
LMI
10189 * faces.el (set-face-attribute): Clarify the meaning of the nil
10190 frame (bug#10294).
10191
4e5d086d
LMI
10192 * subr.el (with-selected-frame): Mention that the selected frame
10193 is restored (bug#9980).
10194
8e66aebe
LMI
10195 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10196 (bug#9759).
10197
cd394be1 10198 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10199 (password-read): Don't autoload unused function.
10200
adf4e762
JB
102012012-01-07 Juanma Barranquero <lekktu@gmail.com>
10202
10203 * progmodes/which-func.el (which-func-mode): Turn into a
10204 non-interactive function and mark as obsolete (bug#10428).
10205
89bd9ccd
CY
102062012-01-06 Chong Yidong <cyd@gnu.org>
10207
10208 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10209 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10210 functions, along with 1 and -1.
10211
4afee9d5
EZ
102122012-01-06 Eli Zaretskii <eliz@gnu.org>
10213
10214 * time.el (display-time-load-average)
10215 (display-time-default-load-average): Doc fixes. See the thread
10216 starting at
10217 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10218 for the details.
10219
536aea70
GM
102202012-01-06 Glenn Morris <rgm@gnu.org>
10221
665ae865
GM
10222 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10223 has no messages. (Bug#10377)
10224
c869783d
GM
10225 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10226 than Info-edit. (Bug#10385)
10227
2bb4227e
GM
10228 * time.el (display-time-load-average, display-time-next-load-average):
10229 Doc fixes.
10230
7d5944b9
GM
10231 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10232 local setting of buffer-read-only to the input buffer. (Bug#10419)
10233
536aea70
GM
10234 * calendar/calendar.el (calendar-mode):
10235 Locally set scroll-margin to 0. (Bug#10379)
10236
7dccca16
UM
102372012-01-06 Ulrich Mueller <ulm@gentoo.org>
10238
10239 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10240
afbb7930
GM
102412012-01-05 Glenn Morris <rgm@gnu.org>
10242
10243 * eshell/em-unix.el (diff-no-select): Autoload it.
10244 (eshell/diff): Use diff-no-select. (Bug#10420)
10245
04482335
CY
102462012-01-05 Chong Yidong <cyd@gnu.org>
10247
7baca3bc
CY
10248 * shell.el (shell-dynamic-complete-functions): Revert last change.
10249 (shell-command-completion-function): New function.
10250 (shell-completion-vars): Use it to implement
10251 shell-completion-execonly (Bug#10417).
10252
04482335
CY
10253 * custom.el (enable-theme): Don't set custom-safe-themes.
10254
1d00653d
SM
10255 * cus-theme.el (custom-theme-merge-theme):
10256 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10257
bb5aa5d6
MM
102582012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10259
10260 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10261 first prompt in `sql-interacive-mode'.
10262 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10263 keywords.
6df6ae42 10264 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10265 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10266 context of original buffer. Invoke `sql-login-hook'.
10267
a7183d7c
EZ
102682012-01-04 Eli Zaretskii <eliz@gnu.org>
10269
10270 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10271 letters in cite-prefix.
10272
a1eacd1e
LMI
102732012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10274
10275 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10276
787cdb34
CY
102772012-01-03 Chong Yidong <cyd@gnu.org>
10278
1d00653d
SM
10279 * shell.el (shell-dynamic-complete-functions):
10280 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10281 comint-filename-completion first (Bug#10417).
10282
30710442
RS
102832012-01-02 Richard Stallman <rms@gnu.org>
10284
10285 * battery.el (battery-status-function):
10286 Detect when to use battery-yeeloong-sysfs.
10287 (battery-echo-area-format): Add string for Yeeloong.
10288 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10289 (battery-yeeloong-sysfs): New function.
10290
f75bfc33
CY
102912012-01-02 Chong Yidong <cyd@gnu.org>
10292
10293 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10294 (dirtrack): Merge code for handling relative filenames in prompt
10295 from shell-dir-cookie-watcher.
10296 (dirtrack-debug-message): New arg to avoid excess format calls.
10297
10298 * shell.el (shell-dir-cookie-re): Variable deleted.
10299 (shell-dir-cookie-watcher): Function deleted.
10300 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10301 with dirtrack-mode.
10302
651e947e
EZ
103032012-01-01 Eli Zaretskii <eliz@gnu.org>
10304
1d00653d
SM
10305 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10306 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10307 libgnutls-26.dll.
10308
94d4c7dc
AS
103092011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10310
10311 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10312
8d43f3cd
EZ
103132011-12-31 Eli Zaretskii <eliz@gnu.org>
10314
10315 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10316 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10317
98c8795a
MA
103182011-12-29 Michael Albinus <michael.albinus@gmx.de>
10319
10320 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10321 also for alternative shells.
10322 (tramp-open-connection-setup-interactive-shell): Check, whether
10323 the shell is a busybox.
10324 (tramp-send-command): Don't suppress multiple prompts for
10325 busyboxes, it hurts.
10326
51281b32
CY
103272011-12-28 Chong Yidong <cyd@gnu.org>
10328
10329 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10330 (gdb-get-source-file): Move mode line update to
10331 gdb-get-source-file (Bug#10087).
10332
2170cb53
CY
103332011-12-25 Chong Yidong <cyd@gnu.org>
10334
10335 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10336 gud-gdb-marker-filter without taking it as an argument.
10337 (gud-gdb-run-command-fetch-lines): Caller changed.
10338 (gud-gdb-completion-function): New variable.
10339 (gud-gdb-completion-at-point): Use it.
10340 (gud-gdb-completions-1): Split from gud-gdb-completions.
10341
10342 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10343 function as separate arguments.
10344 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10345 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10346 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10347 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10348 (gdb-stopped, def-gdb-auto-update-trigger)
10349 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10350 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10351 Callers changed.
2170cb53
CY
10352 (gud-gdbmi-completions): New function.
10353 (gdb): Use it for generating the completion table.
10354
be8b11bb
AM
103552011-12-24 Alan Mackenzie <acm@muc.de>
10356
10357 Introduce a mechanism to widen the region used in context font
1d00653d 10358 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10359
1d00653d
SM
10360 * progmodes/cc-langs.el (c-before-font-lock-functions):
10361 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10362 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10363 functions to be run just before context (etc.) font locking.
10364
10365 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10366 New, functionality extracted from
be8b11bb 10367 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10368 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10369 (c-after-change): Set c-in-after-change-fontification.
10370 (c-set-fl-decl-start): Rejig its interface, so it can be called
10371 from both after-change and context fontifying.
b81d40f0
JB
10372 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10373 New functions.
10374 (c-standard-font-lock-fontify-region-function): New variable.
10375 (c-font-lock-fontify-region): New function.
be8b11bb 10376
341cf6ac
JL
103772011-12-24 Juri Linkov <juri@jurta.org>
10378
10379 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10380 (Bug#10348)
10381
bffcee0a
MA
103822011-12-23 Michael Albinus <michael.albinus@gmx.de>
10383
10384 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10385 existence of source file. (Bug#10325)
10386
cb5e207c
AM
103872011-12-23 Alan Mackenzie <acm@muc.de>
10388
10389 Fix unstable fontification inside templates.
10390
b81d40f0
JB
10391 * progmodes/cc-langs.el (c-before-font-lock-functions):
10392 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10393 additionally has c-set-fl-decl-start. The other languages (apart
10394 from AWK) have that as a single entry.
10395
b81d40f0
JB
10396 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10397 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10398 c-set-fl-decl-start.
10399
b81d40f0
JB
10400 * progmodes/cc-mode.el (c-common-init, c-after-change):
10401 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10402 (c-set-fl-decl-start): New function, extracted from
10403 c-font-lock-enclosing-decls and enhanced.
10404
60ff536c
JB
104052011-12-23 Juanma Barranquero <lekktu@gmail.com>
10406
10407 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10408
1c4757d6
JL
104092011-12-22 Juri Linkov <juri@jurta.org>
10410
10411 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10412
d031f2c7
CY
104132011-12-22 Chong Yidong <cyd@gnu.org>
10414
10415 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10416
bace743a
DA
104172011-12-21 Drew Adams <drew.adams@oracle.com>
10418
10419 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10420
728a1f2b
JC
104212011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10422
10423 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10424
0d373f73
TZ
104252011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10426
fec0aaa4
TZ
10427 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10428 highlighting and support. Fix up comments for capitalization.
10429 (cfengine-mode-debug): New var.
10430 (cfengine3-mode): Change the modeline indicator to "CFE3".
10431 (cfengine3-font-lock-keywords): Improve defun highlighting.
10432 (cfengine2-actions): Rename from `cfengine-actions'.
10433 (cfengine2-font-lock-keywords): Rename from
10434 `cfengine-font-lock-keywords'.
10435 (cfengine2-imenu-expression): Rename from
10436 `cfengine-imenu-expression'.
10437 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10438 (cfengine2-beginning-of-defun): Rename from
10439 `cfengine-beginning-of-defun'.
10440 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10441 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10442 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10443 modeline indicator to "CFE2".
10444 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10445 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10446
bc86f573
CY
104472011-12-21 Chong Yidong <cyd@gnu.org>
10448
10449 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10450 filename argument.
10451
d45ba96b
MR
104522011-12-20 Martin Rudalics <rudalics@gmx.at>
10453
10454 * window.el (window-normalize-buffer-to-display): Remove.
10455 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10456
a6198c90
CY
104572011-12-19 Chong Yidong <cyd@gnu.org>
10458
10459 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10460 Don't signal an error in a predicate function; return non-nil.
10461 (vc-dir-mark-file): Move the error here.
10462 (vc-dir-mark-unmark): If acting on the region, keep going if one
10463 of the entries cannot be marked/unmarked.
10464 (vc-dir-mark-all-files): If current entry is a directory, mark
10465 only child files, as documented.
10466
34c5fb55
VB
104672011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10468
10469 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10470 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10471 addition.
10472
c803b2b7
JD
104732011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10474
10475 * term/ns-win.el (ns-get-selection-internal)
10476 (ns-store-selection-internal): Declare.
1154d12e
JB
10477 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10478 Declare as obsolete.
10479 (ns-get-pasteboard, ns-paste-secondary):
10480 Use ns-get-selection-internal.
41e9b956 10481 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10482 Use ns-store-selection-internal.
c803b2b7 10483
9cff91f8 104842011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10485
10486 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10487 (vc-deduce-fileset): Doc fix.
99a289d9 10488
f16c898a
AS
104892011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10490
10491 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10492
763237c4
SS
104932011-12-13 Sam Steingold <sds@gnu.org>
10494
10495 * man.el (Man-getpage-in-background): When running under a
10496 window-system, ignore $MANWIDTH and $COLUMNS.
10497
5fc1c122
KH
104982011-12-15 Kenichi Handa <handa@m17n.org>
10499
10500 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10501 (setup-ethiopic-environment-internal): Comment out key-binding for
10502 ethio-toggle-punctuation.
10503
13d49cbb
AM
105042011-12-13 Alan Mackenzie <acm@muc.de>
10505
898169a2
AM
10506 Add the switch statement to AWK Mode.
10507
7a71b18d 10508 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10509 "default" to the keywords regexp.
10510
7a71b18d 10511 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10512 expression as the rest.
1d00653d
SM
10513 (c-nonlabel-token-key): Allow string literals for AWK.
10514 Refactor for the other modes.
898169a2 10515
13d49cbb 10516 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10517 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10518 routines. Limit backward searching in c-font-lock-enclosing.decl.
10519
10520 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10521 pp-state and literal type in addition to the limits.
1d00653d 10522 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10523 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10524 (c-slow-in-literal, c-fast-in-literal): Remove.
10525 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10526
10527 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10528 being in a literal. Add a limit for backward searching.
10529
10530 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10531 c-slow-in-literal.
10532
15e0efc7
SM
105332011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10536
454592a6
MR
105372011-12-13 Martin Rudalics <rudalics@gmx.at>
10538
10539 * window.el (delete-other-windows): Use correct frame in call to
10540 window-with-parameter.
10541
87393f26
DP
105422011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10543
10544 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10545 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10546 (makefile-gmake-statements, makefile-makepp-statements):
10547 Use it and add new makepp keywords.
10548 (makefile-makepp-font-lock-keywords): Add new patterns.
10549 (makefile-match-function-end): Match new [...] and [[...]].
10550
11636b22
JB
105512011-12-11 Juanma Barranquero <lekktu@gmail.com>
10552
10553 * ses.el (ses-call-printer-return, ses-cell-property-get)
10554 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10555 (ses-create-cell-variable, ses-reset-header-string)
10556 (ses-cell-set-formula, ses-repair-cell-reference-all)
10557 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10558 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10559 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10560 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10561 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10562 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10563 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10564 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10565 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10566 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10567 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10568 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10569
cf018193
VB
105702011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10571
10572 * ses.el: The overall change is to add cell renaming, that is
10573 setting fancy names for cell symbols other than name matching
10574 "\\`[A-Z]+[0-9]+\\'" regexp .
10575 (ses-create-cell-variable): New defun.
10576 (ses-relocate-formula): Relocate formulas only for cells the
10577 symbols of which are not renamed, i.e. symbols whose names do not
10578 match regexp "\\`[A-Z]+[0-9]+\\'".
10579 (ses-relocate-all): Relocate values only for cells the symbols of
10580 which are not renamed.
10581 (ses-load): Create cells variables as the (ses-cell ...) are read,
10582 in order to check row col consistency with cell symbol name only
10583 for cells that are not renamed.
10584 (ses-replace-name-in-formula): New defun.
10585 (ses-rename-cell): New defun.
10586
ee957461
CY
105872011-12-11 Chong Yidong <cyd@gnu.org>
10588
10589 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10590 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10591
9a9e9ef0
MR
105922011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10593
10594 * window.el (other-window): Fix docstring.
10595
92a8eba5
EZ
105962011-12-10 Eli Zaretskii <eliz@gnu.org>
10597
10598 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10599 `from' or `to' address before taking its substring.
10600 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10601 encoded name is chopped in the middle of the encoded string, and
10602 thus displayed encoded.
10603
e152e577
JB
106042011-12-10 Juanma Barranquero <lekktu@gmail.com>
10605
10606 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10607
e5d84bfe
EZ
106082011-12-10 Eli Zaretskii <eliz@gnu.org>
10609
10610 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10611 to use texinfo-update-node and commands that call it if the
10612 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10613 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10614 (texinfo-all-menus-update, texinfo-master-menu)
10615 (texinfo-update-node, texinfo-every-node-update)
10616 (texinfo-multiple-files-update): Doc fix. Warn against updating
10617 all the @node lines.
10618 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10619 argument is numeric. Explain better in the doc string what the
10620 function really does.
10621 (texinfo-insert-master-menu-list): Improve the error message
10622 displayed if there's no menu in the Top node.
10623 (Bug#2975) See also this thread:
e5d84bfe
EZ
10624 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10625
1d84e9bb
MG
106262011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10627
10628 * speedbar.el (speedbar-supported-extension-expressions):
10629 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10630
382c953b
JB
106312011-12-09 Juanma Barranquero <lekktu@gmail.com>
10632
10633 * printing.el (pr-mode-alist):
10634 * simple.el (filter-buffer-substring-functions)
10635 (completion-list-insert-choice-function):
10636 * window.el (window-with-parameter, window-atom-root)
10637 (window-sides-slots, window-size-fixed, window-min-delta)
10638 (window-max-delta, window--resize-mini-window)
10639 (window--resize-child-windows-normal, window-tree)
10640 (delete-other-windows, quit-window, split-window)
10641 (display-buffer-record-window, special-display-buffer-names)
10642 (special-display-regexps, special-display-popup-frame)
10643 (same-window-p, split-window-sensibly)
10644 (display-buffer-overriding-action, display-buffer-alist)
10645 (display-buffer-base-action, display-buffer, switch-to-buffer)
10646 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10647 (fit-window-to-buffer, recenter-positions)
10648 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10649 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10650 and remove unneeded backslashes in docstrings.
10651
39c9faef
SM
106522011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10653
98449af8
SM
10654 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10655
39c9faef
SM
10656 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10657 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10658 end in ".mk".
10659 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10660 when reading the makefile (bug#10116).
10661
86ed9fdc
SM
106622011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10663
10664 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10665 (bug#10116).
10666
5580f89d
GM
106672011-12-06 Glenn Morris <rgm@gnu.org>
10668
10669 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10670
28d3917c
CY
106712011-12-06 Chong Yidong <cyd@gnu.org>
10672
10673 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10674
a98edce9
JB
106752011-12-06 Juanma Barranquero <lekktu@gmail.com>
10676
10677 * textmodes/table.el (table-shorten-cell): Fix typo.
10678
e65adfac
CG
106792011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10680
10681 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10682
71cc0b74
EZ
106832011-12-05 Eli Zaretskii <eliz@gnu.org>
10684
10685 * descr-text.el (describe-char): Fix display of strong
10686 right-to-left characters and directional embeddings and overrides.
10687
10688 * simple.el (what-cursor-position): Fix display of codepoints of
10689 strong right-to-left characters.
10690
315bc30d
CY
106912011-12-05 Chong Yidong <cyd@gnu.org>
10692
10693 * faces.el (read-color): Doc fix.
10694
58a70b94
GM
106952011-12-05 Glenn Morris <rgm@gnu.org>
10696
10697 * align.el (align--set-marker): Add doc-string.
10698 Don't try to move something that is not a marker. (Bug#10216)
10699
5158face
GM
107002011-12-04 Glenn Morris <rgm@gnu.org>
10701
10702 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10703 overly zealous deletion of trailing whitespace.
10704
520fca41
JB
107052011-12-04 Juanma Barranquero <lekktu@gmail.com>
10706
10707 * server.el (server-delete-client): On Windows, do not try to delete
10708 the only terminal.
10709 (server-process-filter): On Windows, treat requests for a tty frame as
10710 if they were for a GUI frame if the running server is in GUI mode.
10711
5e605a2e
GM
107122011-12-03 Glenn Morris <rgm@gnu.org>
10713
10714 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10715
5c3fe83f
SM
107162011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10717
6f5e57e7
SM
10718 * electric.el: Streamline electric-indent's hook.
10719 (electric-indent-chars): Revert to simple list.
10720 (electric-indent-functions): New var.
10721 (electric-indent-post-self-insert-function): Use it.
10722
5c3fe83f
SM
10723 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10724 there's no inferior buffer (bug#10196).
10725 (prolog-consult-compile): Don't use toggle-read-only.
10726
6bdac736
MA
107272011-12-02 Michael Albinus <michael.albinus@gmx.de>
10728
10729 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10730 interrupt. (Bug#10187)
10731
6131ba7f
SM
107322011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10733
99c79fee
SM
10734 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10735 (bug#9160).
10736
6131ba7f
SM
10737 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10738 (bug#10191).
10739
cb0a02ea
JL
107402011-12-02 Juri Linkov <juri@jurta.org>
10741
10742 * info.el (Info-search): Display "end of manual" when Isearch
10743 reaches the end of single-file Info manual. (Bug#9918)
10744
66e0570c
EZ
107452011-12-02 Eli Zaretskii <eliz@gnu.org>
10746
10747 * isearch.el (isearch-message-prefix): Run the input method part
10748 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10749
02b16839
JL
107502011-12-02 Juri Linkov <juri@jurta.org>
10751
10752 * isearch.el (isearch-occur): Use `word-search-regexp' for
10753 `isearch-word'.
10754 (isearch-search-and-update): Add condition for `isearch-word' and
10755 call `word-search-regexp'. (Bug#10145)
10756
0b950688
GM
107572011-12-01 Glenn Morris <rgm@gnu.org>
10758
10759 * eshell/em-hist.el (eshell-hist-initialize):
10760 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10761 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10762
9505c3c7
SM
107632011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10766
1bbe96b2 107672011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10768
a1beca85
SM
10769 * progmodes/verilog-mode.el (verilog-pretty-expr):
10770 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10771 verilog, such as += *= and the like.
10772 (verilog-assignment-operator-re): Regular expression to find the
10773 assigment operator in a verilog assignment.
10774 (verilog-assignment-operation-re): Regular expression to find an
10775 assignment statement for pretty-expr.
10776 (verilog-in-attribute-p): Query returns true if point is in an
10777 attribute context; used to skip these for expression line up from
10778 pretty-expr.
10779 (verilog-in-parameter-p): Query returns true if point is in an
10780 parameter definition context; used to skip these for expression
10781 line up from pretty-expr.
10782 (verilog-in-parenthesis-p): Query returns true if point is in a
10783 parenthetical expression, specifically ( ) but not [ ] or { };
10784 used by pretty-expr.
10785 (verilog-just-one-space): If there is no space, don't add one.
10786 (verilog-get-lineup-indent-2): Specifically skip just attribute
10787 contexts for expression lineup, rather than skipping all
10788 parenthetical expressions.
10789 (verilog-calculate-indent): Fix comment, and fix indent.
10790 (verilog-do-indent): Indent declarations in lists (suggested by
10791 Joachim Lechner).
10792 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10793 skeleton items.
10794 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10795 by Alain Mellan).
10796
1bbe96b2 107972011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10798
10799 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10800 parameters with embedded comments. Reported by Ray Stevens.
10801 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10802 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10803 Reported by Tim Holt.
10804 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10805 instantiated by upper module causing wrong expansion until AUTOed a
10806 second time. Reported by K C Buckenmaier.
10807 (verilog-diff-auto): Fix showing .* as a difference when
10808 `verilog-auto-star-save' off. Reported by Dan Dever.
10809 (verilog-auto-reset, verilog-read-always-signals)
10810 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10811 temporary signals in reset list if
10812 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10813 style to each signal's assignment type, bug381.
10814 Reported by Thomas Esposito.
6288f0ca
WS
10815 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10816 (verilog-uvm-statement-re): Support UVM indentation and
10817 highlighting, with old OVM keywords only.
a1beca85 10818 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10819 Support AUTOTIEOFF creating non-wire data types.
10820 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10821 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10822 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10823 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10824 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10825 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10826 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10827 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10828 non-numeric vector width. Reported by Alex Reed.
10829 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10830 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10831 (verilog-auto-delete-trailing-whitespace):
10832 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10833 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10834 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10835 Fix verilog-scan-cache corruption when running user AUTO expansion
10836 hooks that call indentation routines.
10837 (verilog-simplify-range-expression): Fix typo ignoring lower case
10838 identifiers.
10839 (verilog-delete-auto): Fix delete-autos to also remove user created
10840 automatics, as long as they start with AUTO.
10841 (verilog-batch-diff-auto, verilog-diff-auto)
10842 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10843 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10844 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10845 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10846 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10847 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10848 is disabled and its cache will get corrupt, causing AUTOS not to
10849 expand. Instead use only -quick functions.
10850 (verilog-scan-region): Fix scanning over escaped quotes.
10851 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10852 (verilog-re-search-backward-quick)
10853 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10854 related functions now ignore strings, to fix misparsing of strings
10855 with magic comments embedded in them.
a1beca85
SM
10856 (verilog-read-auto-template):
10857 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10858 Reported by Brad Dobbie.
10859 (verilog-read-auto-template):
10860 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10861 Reported by Brad Dobbie.
6288f0ca
WS
10862 (verilog-auto-inst, verilog-auto-inst-param)
10863 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10864 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10865 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10866 debugging templates without merge conflicts, bug357.
10867 Reported by Brad Dobbie.
10868 (verilog-read-auto-template):
10869 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10870 Reported by Brad Dobbie.
10871 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10872 abbrevs so user won't be asked to save.
10873 (verilog-read-auto-lisp-present): Fix to start at beginning of
10874 buffer in case called outside of verilog-auto.
10875 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10876 to "X-2". Reported by Matthew Myers.
10877 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10878 all inputs from module templates. Reported by Leith Johnson.
10879 (verilog-module-inside-filename-p): Fix locating programs as with
10880 modules.
10881 (verilog-auto-inst-port): Fix vl-width expressions when using
10882 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10883 (verilog-decls-get-regs, verilog-decls-get-signals,
10884 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10885 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10886 verilog-read-decls): Combine reg and wire structures into one var
10887 structure to represent SystemVerilog concepts.
10888 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10889 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10890 (verilog-auto-wire-type, verilog-insert-definition):
10891 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10892 SystemVerilog "logic" keyword instead of "wire"/"reg".
10893 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10894 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10895 ifdef or generate if so there's not a driver conflict).
10896 Reported by Matthew Myers.
10897 (verilog-auto-declare-nettype, verilog-insert-definition):
10898 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10899 `default_nettype none. Reported by Julian Gorfajn.
10900 (verilog-read-always-signals-recurse, verilog-read-decls)
10901 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10902 malformed end statement, bug325. Reported by Joshua Wise and
10903 Andrew Drake.
10904 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10905 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10906 when expanding .* in interfaces, bug320.
10907 Reported by Pierre-David Pfister.
6288f0ca 10908 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10909 name and open parenthesis, bug317.
10910 Reported by Pierre-David Pfister.
6288f0ca
WS
10911 (verilog-simplify-range-expression): Fix simplification of
10912 multiplications inside AUTOWIRE connections, bug303.
10913 (verilog-auto-inst-port): Support parameter expansion in
10914 multidimensional arrays.
10915 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10916 after "assert property". Reported by Julian Gorfajn.
10917 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10918 with multiplication, bug303.
10919 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10920 Reported by Jan Frode Lonnum.
10921
1bbe96b2
GM
109222011-11-30 Juanma Barranquero <lekktu@gmail.com>
10923
10924 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10925 (hfy-shell-file-name, hfy-shell):
10926 * international/fontset.el (x-decompose-font-name): Fix typos.
10927
109282011-11-29 Ken Brown <kbrown@cornell.edu>
10929
10930 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10931 (gdb-version): Remove defvar.
10932 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10933 (gdb-gud-context-command, gdb-non-stop-handler)
10934 (gdb-current-context-command, gdb-stopped): Use it.
10935 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10936 (gdb-non-stop-handler): Don't enable pretty-printing here.
10937 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10938 non-stop mode. Use the following.
10939 (gdb-check-target-async): New defun.
10940 (gud-watch, gdb-stopped): Fix whitespace.
10941 (gdb-get-source-file): Don't try to display the source file if
10942 `gdb-main-file' is nil.
10943
109442011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10945
10946 * align.el: Try to generate fewer markers (bug#10047).
10947 (align--set-marker): New macro.
10948 (align-region): Use it.
10949
c935221f
SM
109502011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10951
10952 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10953
e70b5064
CY
109542011-11-29 Chong Yidong <cyd@gnu.org>
10955
10956 * indent.el (indent-for-tab-command, indent-according-to-mode):
10957 Doc fix.
10958 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10959
f3af92b7
MA
109602011-11-29 Michael Albinus <michael.albinus@gmx.de>
10961
10962 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10963 aware of remote file names. (Bug#10124)
10964
ed472be9
CY
109652011-11-29 Chong Yidong <cyd@gnu.org>
10966
10967 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10968
24510c22
SM
109692011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10970
10971 * files.el (find-file): Don't use force-same-window (bug#10144).
10972 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10973 use pop-to-buffer if the selected window can't be used.
10974 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10975
c60c3703
EZ
109762011-11-28 Eli Zaretskii <eliz@gnu.org>
10977
10978 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10979 special-mode-map.
10980
e95def75
CY
109812011-11-28 Chong Yidong <cyd@gnu.org>
10982
10983 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10984
c3f1c606
NR
109852011-11-27 Nick Roberts <nickrob@snap.net.nz>
10986
10987 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10988 gdb-get-source-file-list on gdb-create-source-file-list.
10989
00db469c
EZ
109902011-11-26 Eli Zaretskii <eliz@gnu.org>
10991
10992 * whitespace.el (whitespace-newline): Use a different foreground
10993 color for 16-color light-background displays.
10994
4ad3bc2a
CY
109952011-11-24 Chong Yidong <cyd@gnu.org>
10996
10997 * window.el (display-buffer--special-action): Doc fix.
10998
e9fce1ac
JB
109992011-11-25 Juanma Barranquero <lekktu@gmail.com>
11000
11001 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11002 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11003 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11004 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11005 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11006 (avl-tree-stack-first):
11007 * emacs-lisp/cconv.el (cconv--analyse-use):
11008 * net/gnutls.el (gnutls-negotiate): Fix typos.
11009
cb825e5d
GM
110102011-11-24 Glenn Morris <rgm@gnu.org>
11011
3adbe224
GM
11012 * lpr.el (lpr-windows-system, lpr-lp-system):
11013 * mail/binhex.el (binhex-begin-line):
11014 * progmodes/grep.el (grep-history, grep-find-history):
11015 * textmodes/flyspell.el:
11016 * vc/pcvs-defs.el (cvs-global-menu):
11017 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11018 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11019 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11020
321decc8
GM
11021 * net/tls.el: Fix case of "GnuTLS".
11022
420b63ad
GM
11023 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11024
cb825e5d
GM
11025 * version.el (emacs-build-system): Give it a doc-string.
11026
a0649f08
JL
110272011-11-24 Juri Linkov <juri@jurta.org>
11028
11029 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11030
c0bc0fd4
GM
110312011-11-24 Glenn Morris <rgm@gnu.org>
11032
11033 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11034 if called on a non-mime message just toggle the headers. (Bug#8006)
11035
20db1522
JB
110362011-11-24 Juanma Barranquero <lekktu@gmail.com>
11037
11038 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11039 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11040 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11041 (allout-rebullet-heading, allout-open-sibtopic)
11042 (allout-toggle-current-subtree-encryption)
11043 (allout-toggle-subtree-encryption, allout-encrypt-string)
11044 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11045 (allout-distinctive-bullets-string, allout-auto-activation):
11046 * window.el (window-normalize-buffer-to-display):
11047 * progmodes/verilog-mode.el (verilog-batch-indent):
11048 * textmodes/bibtex.el (bibtex-field-braces-opt)
11049 (bibtex-field-strings-opt):
11050 * vc/cvs-status.el (cvs-tree-merge):
11051 Fix typos.
11052
7262a87c
MA
110532011-11-23 Michael Albinus <michael.albinus@gmx.de>
11054
11055 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11056 `non-essential' to t, in order to avoid remote connections.
11057
283430a1
EZ
110582011-11-23 Eli Zaretskii <eliz@gnu.org>
11059
a1beca85
SM
11060 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11061 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11062 case-insensitively.
11063
d2992a38
ML
110642011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11065
11066 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11067
50419064
GM
110682011-11-23 Glenn Morris <rgm@gnu.org>
11069
da94eca1
GM
11070 * paths.el (rmail-file-name): Reformat the doc-string so that it
11071 is picked up.
11072
9aac4de2
GM
11073 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11074 (rmail-auto-file): Ignore case in the "special" field names,
11075 as mail-fetch-field does for all others.
11076
8038d2d2
GM
11077 * mail/rmail.el (rmail-forward):
11078 * mail/rmailkwd.el (rmail-set-label):
11079 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11080 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11081
f3fe222a
GM
11082 * mail/rmail.el (rmail-current-message): Doc fix.
11083
50419064
GM
11084 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11085
28109f49
SM
110862011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11087
11088 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11089
394c65f1
GM
110902011-11-22 Glenn Morris <rgm@gnu.org>
11091
11092 * mail/rmailmm.el (test-rmail-mime-handler)
11093 (test-rmail-mime-bulk-handler)
11094 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11095
f2a0aa3a
JL
110962011-11-21 Juri Linkov <juri@jurta.org>
11097
1154d12e
JB
11098 * calc/calc.el (calc-read-key-sequence):
11099 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11100
9c34a344
LMI
111012011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11102
11103 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11104 Tell the caller that the next line needs recomputation, even
11105 though it doesn't start a sexp (bug#10094).
11106
f04a3be9
SM
111072011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11110
7978747f
SM
111112011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11112
f04a3be9
SM
11113 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11114 Use force-same-window.
7978747f 11115
fe7a3057
JB
111162011-11-20 Juanma Barranquero <lekktu@gmail.com>
11117
11118 * descr-text.el (describe-char-unicode-data):
11119 * json.el (json-string-escape):
11120 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11121 (Footnote-unicode, Footnote-style-p):
11122 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11123
24901d61
CY
111242011-11-20 Chong Yidong <cyd@gnu.org>
11125
11126 * window.el (replace-buffer-in-windows): Restore interactive spec.
11127
bac7ff22
SM
111282011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11129
24f3d7b9
SM
11130 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11131
bac7ff22
SM
11132 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11133 (byte-compile-global-not-obsolete-vars): New var.
11134 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11135 Use it.
11136 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11137
cd1181db
JB
111382011-11-20 Juanma Barranquero <lekktu@gmail.com>
11139
11140 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11141 * progmodes/pascal.el (electric-pascal-equal):
11142 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11143 * xml.el (xml-substitute-special): Fix typos.
11144
7fb18e9e
GM
111452011-11-20 Glenn Morris <rgm@gnu.org>
11146
11147 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11148 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11149 Doc fixes.
11150 (rmail-decode-mime-charset): Mark as obsolete.
11151
11152 * mail/rmailsum.el (rmail-message-regexp-p-1):
11153 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11154 Before using mime functions, check they are set. (Bug#10077)
11155
d5a6b3ba
JL
111562011-11-19 Juri Linkov <juri@jurta.org>
11157
11158 * info.el (Info-finder-find-node): Use `package--builtins' instead
11159 of `package-alist'. Use node names formed by the pattern "Keyword "
11160 and the keyword name.
11161
e981b61f
AS
111622011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11163
1d00653d 11164 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11165
3ffbc301
JL
111662011-11-19 Juri Linkov <juri@jurta.org>
11167
11168 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11169 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11170 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11171 `old-history', `old-history-forward'. Add let-binding
11172 `window-selected'. Remove calls to `kill-buffer',
11173 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11174 before calling `Info-find-node', so `Info-find-node-2' will reread
11175 the Info file. Restore window positions only when `window-selected'
11176 is non-nil.
11177
30c62133
JL
111782011-11-19 Juri Linkov <juri@jurta.org>
11179
11180 * isearch.el (isearch-lazy-highlight-new-loop):
11181 Remove condition `(not isearch-error)'. (Bug#9918)
11182
11183 * misearch.el (multi-isearch-search-fun): Add condition
11184 `(not bound)' to ignore lazy-highlighting search.
11185 Add the search-failed message "end of multi" when the end of
11186 multi-sequence is reached. Uncapitalize the search-failed
11187 message "Repeat for next buffer".
11188
11189 * info.el (Info-search): Add the search-failed message
11190 "end of the manual" when the end of the manual is reached
11191 in Isearch mode.
11192
645ca9cf
JL
111932011-11-19 Juri Linkov <juri@jurta.org>
11194
11195 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11196 Use non-destructive `remove' instead of `delete' because
11197 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11198 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11199
df754f66
JL
112002011-11-19 Juri Linkov <juri@jurta.org>
11201
11202 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11203 to nil instead of binding `search-ring' and `regexp-search-ring'.
11204 (Bug#9185)
11205
0e23d96a
EZ
112062011-11-19 Eli Zaretskii <eliz@gnu.org>
11207
11208 * simple.el (line-move): Force movement by logical lines for any
11209 hscrolled window, not only when auto-hscroll-mode is on.
11210 (line-move-visual): Update doc string to that effect. (Bug#10076)
11211
8a6ccb66
AS
112122011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11213
11214 * language/european.el (macintosh): Define as alias for mac-roman.
11215
49ae5b39
EZ
112162011-11-19 Eli Zaretskii <eliz@gnu.org>
11217
11218 * mail/rmailmm.el (rmail-mime-display-header)
11219 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11220 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11221 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11222 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11223 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11224 of a raw aref.
11225 (rmail-mime-entity-segment): To get past the tagline, move forward
11226 2 more lines, to account for the 2 empty lines that precede and
11227 follow the line with the buttons.
11228 (rmail-mime-update-tagline): Move one more line, to get past the
11229 empty line that follows the buttons in the tagline. (Bug#9520)
11230
c56cad4a
MR
112312011-11-19 Martin Rudalics <rudalics@gmx.at>
11232
11233 * window.el (window-max-delta-1, window-min-delta-1)
11234 (window-min-size-1, window-state-get-1, window-state-put-1)
11235 (window-state-put-2): Use "window--" prefix.
11236
cbe71af3
SM
112372011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11238
2ad52c60
SM
11239 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11240 (smie-warning-count): New var.
11241 (smie-set-prec2tab): Use it.
11242 (smie-bnf->prec2): Improve warnings. Add docstring.
11243 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11244 (smie-bnf--set-class): New function.
11245 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11246 corner case.
11247
6944dbc1
SM
11248 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11249 (compilation-error-properties, compilation-move-to-column):
11250 Handle compilation-first-column while in the target buffer.
11251
c400c4d7
SM
11252 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11253 Don't hardcode point-min==1.
11254
6dbe3e96
SM
11255 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11256 (eshell-rewrite-for-command): Remove workaround.
11257 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11258 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11259 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11260
cbe71af3
SM
11261 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11262
a8e1496d
GM
112632011-11-17 Glenn Morris <rgm@gnu.org>
11264
11265 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11266 Ignore buffer-local generated-autoload-file if it is the same
11267 as the global value. (Bug#10049)
11268
df85d315
JB
112692011-11-17 Juanma Barranquero <lekktu@gmail.com>
11270
11271 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11272 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11273 (reftex-toc-previous-heading, reftex-toc-max-level)
11274 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11275 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11276 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11277 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11278 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11279 (reftex-toc-rename-label, reftex-toc-visit-location)
11280 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11281 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11282 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11283 leaving "*toc*" only for references to the buffer.
11284
a0c2d0ae
MR
112852011-11-17 Martin Rudalics <rudalics@gmx.at>
11286
11287 * window.el (window-resize, delete-window, split-window):
11288 Replace window-splits by window-combination-resize.
1d00653d 11289 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11290
35c0bac8
GM
112912011-11-17 Glenn Morris <rgm@gnu.org>
11292
11293 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11294 Make bash entry derive from sh entry, not shell entry.
11295
d0c8fc8a
MA
112962011-11-16 Michael Albinus <michael.albinus@gmx.de>
11297
7262a87c
MA
11298 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11299 local file name.
11300
7877f373
JB
113012011-11-16 Juanma Barranquero <lekktu@gmail.com>
11302
11303 * menu-bar.el (menu-bar-file-menu):
11304 * printing.el (pr-ps-utility):
11305 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11306 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11307 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11308 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11309 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11310 (icalendar--convert-cyclic-to-ical)
11311 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11312 (icalendar--convert-ical-to-diary)
11313 (icalendar--convert-recurring-to-diary)
11314 (icalendar--convert-non-recurring-all-day-to-diary)
11315 (icalendar-import-format-sample):
11316 * progmodes/idlw-shell.el (idlwave-shell-mode):
11317 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11318 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11319 (vhdl-ps-print-init): Fix typos.
11320
10649b82
KM
113212011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11322
9d0cfcd6
GM
11323 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11324 FSF and collapse date sequence, obscure author/maintainer email address
11325 better, remove extra version line, track relocation of author's webpage.
10649b82 11326
9d0cfcd6
GM
11327 * progmodes/python.el (python-pdbtrack-input-prompt)
11328 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11329 regular python pdb prompts. Adjustments shamelessly taken exactly as
11330 suggested in EmacsWiki page (tiny change):
11331 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11332
58179cce
JB
113332011-11-16 Juanma Barranquero <lekktu@gmail.com>
11334
11335 * expand.el (expand-pos, expand-index, expand-point):
11336 Remove redundant info from docstring.
11337 (expand-add-abbrevs): Doc fix.
11338 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11339 (expand-sample-perl-mode-expand-list): Fix typos.
11340
11341 * net/dbus.el (dbus-event-member-name):
11342 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11343 * term/pc-win.el (msdos-create-frame-with-faces):
11344 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11345
b6f67890
MR
113462011-11-16 Martin Rudalics <rudalics@gmx.at>
11347
11348 * window.el (split-window, window-state-get-1)
11349 (window-state-put-1, window-state-put-2): Rename occurrences of
11350 window-nest to window-combination-limit.
1d00653d 11351 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11352
ce7ddba0
CY
113532011-11-16 Chong Yidong <cyd@gnu.org>
11354
11355 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11356 regexp (Bug#10033).
11357
3ae704f4
SM
113582011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11361 `completing-read' will remove *Completions* and will preserve
11362 current-buffer for us.
11363 (tmm-add-prompt): Users of *Completions* will always (re)set its
11364 major mode.
11365 (tmm-old-comp-map): Remove.
11366
6ad1cdde
GM
113672011-11-16 Glenn Morris <rgm@gnu.org>
11368
11369 * mail/rmailedit.el: Require rmailmm when compiling.
11370 (rmail-old-mime-state): New declaration.
11371 (rmail-edit-current-message): If editing a mime message,
11372 edit the "raw" message from the mbox buffer.
11373 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11374
d20faa20
GM
113752011-11-15 Glenn Morris <rgm@gnu.org>
11376
11377 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11378 which wasn't being used. Add optional arg to force given state.
11379 (rmail-mime): Add optional arg to force given state.
11380
c7015153
JB
113812011-11-15 Juanma Barranquero <lekktu@gmail.com>
11382
11383 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11384 * frame.el (display-mm-dimensions-alist):
11385 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11386 (outline-move-subtree-down):
11387 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11388 (newsticker--treeview-do-get-node):
11389 * net/quickurl.el (quickurl-list-buffer-name):
11390 * progmodes/dcl-mode.el (dcl-mode):
11391 * progmodes/gdb-mi.el (gdb-mapcar*):
11392 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11393
45261b50
GM
113942011-11-15 Glenn Morris <rgm@gnu.org>
11395
11396 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11397 in a boolean sense, so just make it a boolean, and fix the doc.
11398 (rmail-show-mime-function, rmail-mime-feature)
11399 (rmail-require-mime-maybe): Doc fixes.
11400 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11401
11402 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11403
0d26e0b6
JB
114042011-11-15 Juanma Barranquero <lekktu@gmail.com>
11405
11406 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11407 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11408 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11409 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11410
447f30f6
GM
114112011-11-15 Glenn Morris <rgm@gnu.org>
11412
672b871d
GM
11413 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11414 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11415 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11416 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11417 (rmail-mime, rmail-show-mime): Doc fixes.
11418
f6aa5bb1
GM
11419 * term/ns-win.el (mode-line-frame-identification):
11420 Leave it alone. (Bug#10051)
11421
947cd66b
GM
11422 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11423
447f30f6
GM
11424 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11425 Handle empty buffers. (Bug#9978)
11426
0b381c7e
JB
114272011-11-14 Juanma Barranquero <lekktu@gmail.com>
11428
11429 * international/mule.el (define-charset):
11430 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11431 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11432 * progmodes/verilog-mode.el (verilog-backward-token):
11433 * textmodes/ispell.el (lookup-words):
11434 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11435
71e027ac
GM
114362011-11-14 Glenn Morris <rgm@gnu.org>
11437
56632ce4
GM
11438 * progmodes/executable.el
11439 (executable-make-buffer-file-executable-if-script-p):
11440 Handle file-modes returning nil.
11441
40500957
GM
11442 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11443 message - not necessary, and causes problems. (Bug#9831)
11444
071c2340
GM
11445 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11446
d3cfca60
GM
11447 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11448
71e027ac
GM
11449 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11450 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11451 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11452
89d61221
MR
114532011-11-12 Martin Rudalics <rudalics@gmx.at>
11454
11455 * window.el (window-resize, delete-window): Use window-splits
11456 variable instead of function.
11457 (window-state-get-1, window-state-put-2, window-state-put):
11458 Don't deal with windows' splits status.
11459
98282f6f
GM
114602011-11-12 Glenn Morris <rgm@gnu.org>
11461
11462 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11463 (apropos-documentation): Doc fixes.
11464
40a8bdf6
JB
114652011-11-11 Juanma Barranquero <lekktu@gmail.com>
11466
11467 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11468 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11469
65bd19ff
SM
114702011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11471
11472 * electric.el (electric-indent-post-self-insert-function): Make it
11473 possible for a char to only indent in some circumstances.
11474 (electric-indent-mode): Simplify.
11475
54f9154c
MR
114762011-11-11 Martin Rudalics <rudalics@gmx.at>
11477
11478 * window.el (windows-with-parameter): Remove unused function.
11479 (windows-at-side): Rename to window-at-side-list.
11480 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11481 (window-side-check, window-size-ignore, window-size-fixed-1)
11482 (window-in-direction-2): Prefix with "window--".
11483 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11484
68cbc58b
GM
114852011-11-11 Glenn Morris <rgm@gnu.org>
11486
11487 * subr.el (eval-after-load): If FILE is already loaded,
11488 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11489
b2621720
GM
114902011-11-10 Glenn Morris <rgm@gnu.org>
11491
9a4de110
GM
11492 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11493 Call svn via vc-svn-command rather than vc-do-command.
11494 (vc-svn-command): Add --non-interactive. (Bug#9993)
11495 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11496
b2621720
GM
11497 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11498 Add toggle-read-only. (Bug#7292)
11499 * files.el (toggle-read-only): Mention that it should only
11500 be used interactively. (Bug#10006)
11501
1dce7193
SM
115022011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11503
d9ac1a1e
SM
11504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11505 Adjust regexp for OCaml warnings.
11506
0c325082
SM
11507 * electric.el (electric-pair-post-self-insert-function): Let user
11508 turn it off buffer-locally (bug#9932).
11509
90132c14
SM
11510 * progmodes/python.el (python-beginning-of-statement):
11511 Rewrite (bug#2703).
11512
1dce7193
SM
11513 * progmodes/compile.el: Better handle TABs (bug#9749).
11514 (compilation-internal-error-properties)
11515 (compilation-next-error-function): Obey the target buffer's
11516 compilation-error-screen-columns.
11517
c4e7c63a
JB
115182011-11-09 Juanma Barranquero <lekktu@gmail.com>
11519
11520 * progmodes/meta-mode.el: Remove obsolete comments.
11521 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11522 Fix typos in docstrings.
11523
2cffd681
MR
115242011-11-09 Martin Rudalics <rudalics@gmx.at>
11525
11526 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11527 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11528 (window--resizable): New function. Make all callers of
11529 window-resizable call window--resizable instead.
11530 (window-resizable): Rewrite in terms of window--resizable.
11531
0edcba87
GM
115322011-11-08 Glenn Morris <rgm@gnu.org>
11533
11534 * progmodes/delphi.el (delphi-mode-syntax-table):
11535 Let define-derived-mode define a proper syntax table. (Bug#9994)
11536
4b0d61e3
SM
115372011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 * window.el: Stay away from defsubst.
11540 (window-list-no-nils): Remove.
11541 (window-state-get-1, window-state-get): Use backquote instead.
11542
cd394be1 115432011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11544
4b0d61e3 11545 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11546 Fix incorrect use of default argument in `completing-read'.
11547
e1c2c6f2
MR
115482011-11-08 Martin Rudalics <rudalics@gmx.at>
11549
11550 * window.el (display-buffer-function, special-display-function):
11551 Mention display-buffer-record-window but do not mention
11552 help-setup parameter in doc-strings.
b3f4a882 11553 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11554
105216ed
CY
115552011-11-08 Chong Yidong <cyd@gnu.org>
11556
11557 * window.el (window-total-height, window-total-width): Doc fix.
11558 (window-body-size): Move from C.
11559 (window-body-height, window-body-width): Move to C.
11560
0a9f9ab5
SM
115612011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11562
11563 * window.el: Make special-display like display-buffer-alist (bug#9532).
11564 (display-buffer--special-action): New function, morphed
11565 from display-buffer--special.
11566 (display-buffer): Use it to handle special-display-buffers at higher
11567 priority (just after display-buffer-alist).
11568 (display-buffer-fallback-action, display-buffer--other-frame-action)
11569 (pop-to-buffer-same-window): Remove display-buffer--special.
11570
a769dd15
GM
115712011-11-07 Glenn Morris <rgm@gnu.org>
11572
11573 * calendar/cal-menu.el (cal-menu-set-date-title):
11574 Do nothing if not in a calendar. (Bug#9976)
11575
05a61ee3
SM
115762011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * files.el (find-file): Always use selected-window.
11579
be7f5545
MR
115802011-11-07 Martin Rudalics <rudalics@gmx.at>
11581
11582 * window.el (window-combinations): Make WINDOW argument
11583 mandatory. Rewrite doc-string.
11584 (walk-window-subtree, window-atom-check, window-min-delta)
11585 (window-max-delta, window--resize-this-window)
11586 (window--resize-root-window-vertically, window-tree)
11587 (balance-windows, window-state-put): Rewrite doc-strings as to
11588 not mention the term "subwindow".
11589 (window--resize-subwindows-skip-p): Rename to
11590 window--resize-child-windows-skip-p.
11591 (window--resize-subwindows-normal): Rename to
11592 window--resize-child-windows-normal.
11593 (window--resize-subwindows): Rename to
11594 window--resize-child-windows.
11595 (window-or-subwindow-p): Rename to window--in-subtree-p.
11596
3c6702ef
ML
115972011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11598
11599 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11600 Ensure that mbox format messages end in two newlines (Bug#9974).
11601
49745b39
CY
116022011-11-06 Chong Yidong <cyd@gnu.org>
11603
11604 * window.el (window-combination-p): Function deleted; its
11605 side-effect is not used in any existing code.
11606 (window-combinations, window-combined-p): Call window-*-child
11607 directly.
11608
24300f5f
CY
116092011-11-05 Chong Yidong <cyd@gnu.org>
11610
11611 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11612 (window-size-ignore, window-state-get): Callers changed.
11613 (window-normalize-window): Rename from window-normalize-any-window.
11614 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11615 (window-normalize-live-window): Delete.
447f16b8
CY
11616 (window-combination-p, window-combined-p, window-combinations)
11617 (walk-window-subtree, window-atom-root, window-min-size)
11618 (window-sizable, window-sizable-p, window-size-fixed-p)
11619 (window-min-delta, window-max-delta, window-resizable)
11620 (window-resizable-p, window-full-height-p, window-full-width-p)
11621 (window-current-scroll-bars, window-point-1, set-window-point-1)
11622 (window-at-side-p, window-in-direction, window-resize)
11623 (adjust-window-trailing-edge, maximize-window, minimize-window)
11624 (window-deletable-p, delete-window, delete-other-windows)
11625 (record-window-buffer, unrecord-window-buffer)
11626 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11627 (quit-window, split-window, window-state-put)
11628 (set-window-text-height, fit-window-to-buffer)
11629 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11630
89bd5ee1
EZ
116312011-11-04 Eli Zaretskii <eliz@gnu.org>
11632
53479029
EZ
11633 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11634 rfc2047-decode-string.
11635 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11636 warnings.
11637
89bd5ee1
EZ
11638 * window.el (window-body-height, window-body-width): Mention in
11639 the doc string that the return values are in frame's canonical
11640 units. (Bug#9949)
11641
bd17fdee
AM
116422011-11-03 Alan Mackenzie <acm@muc.de>
11643
11644 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11645 change in cc-engine.el.
11646
acc825c5
SM
116472011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11648
11649 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11650
1885e5b8
MR
116512011-11-02 Martin Rudalics <rudalics@gmx.at>
11652
11653 * window.el (quit-window): Call unrecord-window-buffer after
11654 showing another buffer in the window. (Bug#9937)
acc825c5 11655 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11656
ebe06da9
JB
116572011-11-02 Juanma Barranquero <lekktu@gmail.com>
11658
11659 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11660 Accept status with more than 9 shelves. (Bug#9935)
11661 Reported by Colin D Bennett <colin@gibibit.com>.
11662
4ee88440
MR
116632011-11-01 Martin Rudalics <rudalics@gmx.at>
11664
11665 * help.el (with-help-window): Don't reference
11666 temp-buffer-show-specifiers in doc-string.
11667
08e1d82c
AS
116682011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11669
11670 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11671 menu-item.
11672
84bd6e9e
VJL
116732011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11674
11675 * whitespace.el: New version 13.2.2.
11676 (whitespace-newline-mode): Disable properly. Reported by Sarah
11677 <EmacsWiki>.
11678
dba0634a
UJ
116792011-10-30 Ulf Jasper <ulf.jasper@web.de>
11680
11681 * net/newst-treeview.el: Remove "Time-stamp".
11682 (newsticker--group-manage-orphan-feeds): Do not call
11683 newsticker--treeview-tree-update.
db22a3c2
JB
11684 (newsticker-treeview-update, newsticker-treeview):
11685 Call newsticker--treeview-tree-update if necessary.
dba0634a 11686
3d8daefe
MR
116872011-10-30 Martin Rudalics <rudalics@gmx.at>
11688
11689 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11690 (window-iso-combinations): Remove "iso-" infix.
11691 Suggested by Chong Yidong.
3d8daefe
MR
11692 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11693 (window-max-delta-1, window-resize, window--resize-siblings)
11694 (window--resize-this-window, adjust-window-trailing-edge)
11695 (split-window, balance-windows-1)
11696 (shrink-window-if-larger-than-buffer):
11697 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11698 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11699
1bc4c3ae
SM
117002011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11703 in place (bug#9907).
11704 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11705 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11706 (eshell-structure-basic-command, eshell-rewrite-while-command)
11707 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11708 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11709 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11710 (eshell-do-pipelines-synchronously, eshell-eval-command):
11711 Use backquotes and prefer setq to set.
11712 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11713 (eshell-macrop): Use functionp.
c1e2f5fa 11714 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11715
30b65d9c
CY
117162011-10-30 Chong Yidong <cyd@gnu.org>
11717
11718 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11719 instead of set-mark (Bug#9810).
11720
2d197ffb
CY
117212011-10-30 Chong Yidong <cyd@gnu.org>
11722
11723 * window.el (split-window-below, split-window-right): Rename from
11724 split-window-above-each-other and split-window-side-by-side
11725 respectively. All callers changed.
11726 (split-window-sensibly, split-window-sensibly): Use them.
11727 (split-window-keep-point): Doc fix.
11728
11729 * isearch.el: Add isearch-scroll property to split-window-below
11730 and split-window-right.
11731
11732 * follow.el (follow-mode):
11733 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11734 * progmodes/ada-xref.el (ada-gdb-application):
11735 * emulation/vip.el (vip-buffer-in-two-windows):
11736 * image-dired.el (image-dired-dired-with-window-configuration):
11737 * dired-x.el (dired-do-find-marked-files):
11738 * dired.el (dired-pop-to-buffer):
11739 * bs.el (bs--show-with-configuration):
11740 * vc/emerge.el (emerge-setup-windows):
11741 * textmodes/two-column.el (2C-two-columns):
11742 * textmodes/reftex-toc.el (reftex-toc):
11743 * progmodes/gdb-mi.el (gdb-setup-windows):
11744 * progmodes/fortran.el (fortran-window-create):
11745 * net/newst-treeview.el (newsticker--treeview-window-init):
11746 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11747 * emulation/tpu-edt.el (tpu-gold-map):
11748 * emulation/crisp.el (crisp-mode-map):
11749 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11750
38bb2ca8
CY
117512011-10-29 Chong Yidong <cyd@gnu.org>
11752
aa4de341
CY
11753 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11754
e1eb5385
CY
11755 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11756
5d2ece3c
CY
11757 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11758 forged Ispell output (Bug#7904).
11759
38bb2ca8
CY
11760 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11761
d0af9f77
SM
117622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * doc-view.el: Avoid ugly errors about not finding nil.
11765 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11766 (doc-view-dvipdf-program, doc-view-unoconv-program)
11767 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11768 Avoid nil or absolute file name as default value.
11769 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11770
52bedd34
AM
117712011-10-28 Alan Mackenzie <acm@muc.de>
11772
db22a3c2 11773 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11774
7e43cfa5
AM
117752011-10-28 Alan Mackenzie <acm@muc.de>
11776
11777 Amend the handling of c-beginning/end-of-defun in nested declaration
11778 scopes.
11779
52bedd34
AM
11780 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11781 cc-langs.el. Change it to a defcustom.
7e43cfa5 11782
52bedd34
AM
11783 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11784 cc-vars.el.
7e43cfa5 11785
d0af9f77
SM
11786 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11787 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11788
52bedd34 11789 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11790 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11791 (c-widen-to-enclosing-decl-scope): New function.
11792 (c-while-widening-to-decl-block): New macro.
11793 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11794 outward for defun boundaries, and correspondingly change symbol
11795 `respect-enclosure' to `go-outward'.
11796 (c-declaration-limits): Change algorithm to report only the "innermost"
11797 defun's boundaries.
11798
1a2ce9ee
DD
117992011-10-28 Deniz Dogan <deniz@dogan.se>
11800
11801 * net/rcirc.el (rcirc-mode): Use hard newlines.
11802
bc97a826
AM
118032011-10-28 Alan Mackenzie <acm@muc.de>
11804
11805 Amend to indent and fontify macros "which include their own semicolon"
11806 correctly, using the "virtual semicolon" mechanism.
11807
52bedd34 11808 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11809
d0af9f77 11810 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11811 Recode to scan one line at a time rather than having \n and \r
58179cce 11812 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11813 (c-forward-label): Amend for virtual semicolons.
58179cce 11814 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11815
52bedd34
AM
11816 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11817 of the new C macros.
bc97a826 11818
52bedd34 11819 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11820 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11821 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11822 (c-opt-cpp-macro-define): Make into a full language variable.
11823 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11824 AWK Mode (including \n, \r) removed, no longer needed.
11825
d0af9f77
SM
11826 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11827 Invoke c-make-macro-with-semi-re.
bc97a826 11828
52bedd34
AM
11829 * progmodes/cc-vars.el (c-macro-with-semi-re):
11830 (c-macro-names-with-semicolon): New variables.
58179cce 11831 (c-make-macro-with-semi-re): New function.
bc97a826 11832
7a6c0941
SM
118332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11834
11835 * vc/log-edit.el: Fill empty field rather than adding new one.
11836 (log-edit-add-field): New function.
11837 (log-edit-insert-changelog): Use it.
11838
b0c4cdcf
ML
118392011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11840
11841 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11842
ee1f1da9
SM
118432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11846 (gdb--check-interpreter): New function.
11847 (gdb): Use it.
11848
51bc5f8b
GM
118492011-10-27 Glenn Morris <rgm@gnu.org>
11850
416a2c45
GM
11851 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11852 (least-positive-float, least-negative-float)
11853 (least-positive-normalized-float, least-negative-normalized-float)
11854 (float-epsilon, float-negative-epsilon):
11855 Remove unnecessary declarations.
11856
11857 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11858 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11859 (least-positive-float, least-negative-float)
11860 (least-positive-normalized-float, least-negative-normalized-float)
11861 (float-epsilon, float-negative-epsilon): Add doc-strings,
11862 based on those in cl.texi.
11863
51bc5f8b
GM
11864 * files.el (set-visited-file-name): If the major-mode changed,
11865 reload the local variables. (Bug#9796)
11866
15de15c6
CY
118672011-10-27 Chong Yidong <cyd@gnu.org>
11868
11869 * subr.el (change-major-mode-after-body-hook): New hook.
11870 (run-mode-hooks): Run it.
11871
ee1f1da9
SM
11872 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11873 Use change-major-mode-before-body-hook.
15de15c6
CY
11874
11875 * simple.el (fundamental-mode):
11876 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11877 change introducing fundamental-mode-hook.
11878
5430d399
JB
118792011-10-26 Juanma Barranquero <lekktu@gmail.com>
11880
acc825c5 11881 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11882
ad74a69e
MA
118832011-10-26 Michael Albinus <michael.albinus@gmx.de>
11884
11885 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11886 tramp.el explicitly. (Bug#7583)
ad74a69e 11887
71d4c2a5
SM
118882011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11889
11890 * progmodes/octave-mod.el:
11891 * progmodes/octave-inf.el: Update maintainer.
11892
b1f6fa26
CY
118932011-10-26 Chong Yidong <cyd@gnu.org>
11894
11895 * subr.el (with-wrapper-hook): Rewrite doc.
11896
3f04efd6
MA
118972011-10-25 Michael Albinus <michael.albinus@gmx.de>
11898
11899 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11900 filenames "/method:foo:". (Bug#9793)
3f04efd6 11901
410488d3
SM
119022011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11905 (bug#9865).
11906
c1ebb47e
GM
119072011-10-24 Glenn Morris <rgm@gnu.org>
11908
11909 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11910
7f5c46c7
MA
119112011-10-24 Michael Albinus <michael.albinus@gmx.de>
11912
11913 * notifications.el: Add the requirement of a running D-Bus session
11914 bus to the Commentary.
11915
db2440b6
JL
119162011-10-24 Juri Linkov <juri@jurta.org>
11917
11918 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11919 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11920 (Bug#9364)
11921
feecf435
JL
119222011-10-24 Juri Linkov <juri@jurta.org>
11923
11924 * info.el (Info-following-node-name-re): Add newline to the list
11925 of allowed characters for leading space. (Bug#9824)
11926
a3839de2
SM
119272011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11928
acc825c5
SM
11929 * progmodes/octave-inf.el (inferior-octave-mode-map):
11930 Fix C-c C-h binding.
a3839de2
SM
11931 * progmodes/octave-mod.el (octave-help): Remove.
11932
09388e76
MA
119332011-10-23 Michael Albinus <michael.albinus@gmx.de>
11934
11935 Sync with Tramp 2.2.3.
11936
11937 * net/tramp-cache.el (top): Pacify byte-compiler using
11938 `init-file-user' and `site-run-file'.
11939
11940 * net/trampver.el: Update release number.
11941
86c60681
CY
119422011-10-23 Chong Yidong <cyd@gnu.org>
11943
11944 * files.el (toggle-read-only): Remove obsolete comment about
11945 version control.
11946
11947 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11948 for toggle-read-only. Note that this hasn't called vc-next-action
11949 since 2008-05-02, though it wasn't documented at the time.
11950
a3839de2
SM
11951 * vc/ediff-init.el (ediff-toggle-read-only-function):
11952 Use toggle-read-only.
86c60681 11953
cd5495ff
AM
119542011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11955
11956 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11957 of c-parse-state.
11958
00b77525 11959 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11960 correct faulty logical expression.
cd5495ff
AM
11961 (c-parse-state-state, c-record-parse-state-state):
11962 (c-replay-parse-state-state): New defvar/defuns.
11963 (c-debug-parse-state): Use new functions.
11964
42ee24ed
MR
119652011-10-22 Martin Rudalics <rudalics@gmx.at>
11966
11967 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11968 last fix. Use window-in-direction correctly.
42ee24ed 11969
a7dee7e7
CY
119702011-10-21 Chong Yidong <cyd@gnu.org>
11971
11972 * progmodes/idlwave.el (idlwave-mode):
11973 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11974 require-final-newline; that's done in prog-mode.
11975 Suggested by Stefan Monnier.
a7dee7e7 11976
e07b9a6d
MR
119772011-10-21 Martin Rudalics <rudalics@gmx.at>
11978
11979 * mouse.el (mouse-drag-window-above)
11980 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11981 (mouse-drag-mode-line-1, mouse-drag-header-line)
11982 (mouse-drag-vertical-line-rightward-window): Remove.
11983 (mouse-drag-line): New function.
11984 (mouse-drag-mode-line, mouse-drag-header-line)
11985 (mouse-drag-vertical-line): Call mouse-drag-line.
11986 * window.el (window-at-side-p, windows-at-side): New functions.
11987
7e1361d9
UM
119882011-10-21 Ulrich Mueller <ulm@gentoo.org>
11989
11990 * tar-mode.el (tar-grind-file-mode):
11991 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11992
30fcaf3a
CY
119932011-10-21 Chong Yidong <cyd@gnu.org>
11994
11995 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11996 * progmodes/vera-mode.el (vera-mode):
11997 Use mode-require-final-newline.
30fcaf3a 11998
516eddb0
GM
119992011-10-20 Glenn Morris <rgm@gnu.org>
12000
db22a3c2 12001 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12002
10d5f513
CS
120032011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12004
12005 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12006
ac6c8639
CY
120072011-10-20 Chong Yidong <cyd@gnu.org>
12008
12009 * emulation/cua-base.el (cua-mode):
12010 * mail/footnote.el (footnote-mode):
12011 * mail/mailabbrev.el (mail-abbrevs-mode):
12012 * net/xesam.el (xesam-minor-mode):
12013 * progmodes/bug-reference.el (bug-reference-mode):
12014 * progmodes/cap-words.el (capitalized-words-mode):
12015 * progmodes/compile.el (compilation-minor-mode)
12016 (compilation-shell-minor-mode):
12017 * progmodes/gud.el (gud-tooltip-mode):
12018 * progmodes/hideif.el (hide-ifdef-mode):
12019 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12020 * progmodes/subword.el (subword-mode):
12021 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12022 * progmodes/which-func.el (which-function-mode):
12023 * term/tvi970.el (tvi970-set-keypad-mode):
12024 * term/vt100.el (vt100-wide-mode):
12025 * textmodes/flyspell.el (flyspell-mode):
12026 * textmodes/ispell.el (ispell-minor-mode):
12027 * textmodes/nroff-mode.el (nroff-electric-mode):
12028 * textmodes/paragraphs.el (use-hard-newlines):
12029 * textmodes/refill.el (refill-mode):
12030 * textmodes/reftex.el (reftex-mode):
12031 * textmodes/rst.el (rst-minor-mode):
12032 * textmodes/sgml-mode.el (html-autoview-mode)
12033 (sgml-electric-tag-pair-mode):
12034 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12035 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12036 * emulation/crisp.el (crisp-mode):
12037 * emacs-lisp/eldoc.el (eldoc-mode):
12038 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12039 minor mode behavior.
12040
aa42ab43
JL
120412011-10-19 Juri Linkov <juri@jurta.org>
12042
12043 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12044 the list of hard-coded chars with escape-glyph face.
12045
89400f1d
SM
120462011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12049
305c07f6
MA
120502011-10-19 Michael Albinus <michael.albinus@gmx.de>
12051
12052 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12053 running process.
12054
13754b54
GM
120552011-10-19 Glenn Morris <rgm@gnu.org>
12056
12057 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12058 Ignore ignored files. (Bug#9726)
12059
06e21633
CY
120602011-10-19 Chong Yidong <cyd@gnu.org>
12061
12062 Doc fix for minor modes, stating that an omitted argument enables
12063 the mode unconditionally when called from Lisp.
12064
12065 * abbrev.el (abbrev-mode):
12066 * allout.el (allout-mode):
12067 * autoinsert.el (auto-insert-mode):
12068 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12069 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12070 (global-auto-revert-mode):
12071 * battery.el (display-battery-mode):
12072 * composite.el (global-auto-composition-mode)
12073 (auto-composition-mode):
12074 * delsel.el (delete-selection-mode):
12075 * desktop.el (desktop-save-mode):
12076 * dired-x.el (dired-omit-mode):
12077 * dirtrack.el (dirtrack-mode):
12078 * doc-view.el (doc-view-minor-mode):
12079 * double.el (double-mode):
12080 * electric.el (electric-indent-mode, electric-pair-mode):
12081 * emacs-lock.el (emacs-lock-mode):
12082 * epa-hook.el (auto-encryption-mode):
12083 * follow.el (follow-mode):
12084 * font-core.el (font-lock-mode):
12085 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12086 * help.el (temp-buffer-resize-mode):
12087 * hilit-chg.el (highlight-changes-mode)
12088 (highlight-changes-visible-mode):
12089 * hi-lock.el (hi-lock-mode):
12090 * hl-line.el (hl-line-mode, global-hl-line-mode):
12091 * icomplete.el (icomplete-mode):
12092 * ido.el (ido-everywhere):
12093 * image-file.el (auto-image-file-mode):
12094 * image-mode.el (image-minor-mode):
12095 * iswitchb.el (iswitchb-mode):
12096 * jka-cmpr-hook.el (auto-compression-mode):
12097 * linum.el (linum-mode):
12098 * longlines.el (longlines-mode):
12099 * master.el (master-mode):
12100 * mb-depth.el (minibuffer-depth-indicate-mode):
12101 * menu-bar.el (menu-bar-mode):
12102 * minibuf-eldef.el (minibuffer-electric-default-mode):
12103 * mouse-sel.el (mouse-sel-mode):
12104 * msb.el (msb-mode):
12105 * mwheel.el (mouse-wheel-mode):
12106 * outline.el (outline-minor-mode):
12107 * paren.el (show-paren-mode):
12108 * recentf.el (recentf-mode):
12109 * reveal.el (reveal-mode, global-reveal-mode):
12110 * rfn-eshadow.el (file-name-shadow-mode):
12111 * ruler-mode.el (ruler-mode):
12112 * savehist.el (savehist-mode):
12113 * scroll-all.el (scroll-all-mode):
12114 * scroll-bar.el (scroll-bar-mode):
12115 * server.el (server-mode):
12116 * shell.el (shell-dirtrack-mode):
12117 * simple.el (auto-fill-mode, transient-mark-mode)
12118 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12119 (line-number-mode, column-number-mode, size-indication-mode)
12120 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12121 * strokes.el (strokes-mode):
12122 * time.el (display-time-mode):
12123 * t-mouse.el (gpm-mouse-mode):
12124 * tool-bar.el (tool-bar-mode):
12125 * tooltip.el (tooltip-mode):
12126 * type-break.el (type-break-mode-line-message-mode)
12127 (type-break-query-mode):
12128 * view.el (view-mode):
12129 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12130 (global-whitespace-mode, global-whitespace-newline-mode):
12131 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12132
a3839de2
SM
12133 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12134 Fix autogenerated docstring.
06e21633 12135
5214e501
JL
121362011-10-19 Juri Linkov <juri@jurta.org>
12137
12138 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12139 by checking environment variables "DESKTOP_SESSION" and
12140 "XDG_CURRENT_DESKTOP". (Bug#9779)
12141
195f8db9
JL
121422011-10-19 Juri Linkov <juri@jurta.org>
12143
12144 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12145 (browse-url-chromium-program, browse-url-chromium-arguments):
12146 New defcustoms.
12147 (browse-url-default-browser): Check for `browse-url-chromium' and
12148 call `browse-url-chromium-program'.
12149 (browse-url-chromium): New command. (Bug#9779)
12150
343a34ff
JB
121512011-10-18 Juanma Barranquero <lekktu@gmail.com>
12152
12153 * facemenu.el (list-colors-duplicates): On Windows, detect more
12154 duplicates by assuming that only colors matching "^System" are
12155 special "system colors". (Bug#9722)
12156
6978a151
SM
121572011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12158
12159 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12160 to distinguish the author from the committer.
12161
6a80b297
MA
121622011-10-18 Michael Albinus <michael.albinus@gmx.de>
12163
12164 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12165
b31a5677
JK
121662011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12167
12168 * international/mule.el (sgml-html-meta-auto-coding-function):
12169 Add support for detecting encoding in HTML5 specified only as
12170 <meta charset="UTF-8">. Implementation just makes http-equiv and
12171 content-type parts from HTML4 encoding string optional. (Bug#9716)
12172
80c6d77f
GM
121732011-10-18 Glenn Morris <rgm@gnu.org>
12174
12175 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12176
08b0fee8
CY
121772011-10-18 Chong Yidong <cyd@gnu.org>
12178
12179 * faces.el (cursor): Doc fix.
12180
67e729a5
CY
121812011-10-17 Chong Yidong <cyd@gnu.org>
12182
12183 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12184
343a34ff 121852011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12186
12187 * dirtrack.el (dirtrack): Support shell buffers with path
12188 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12189
0bc06380
TZ
121902011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12191
12192 * json.el: Bump version to 1.3 and note change in History.
12193 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12194
8b79f3e0
SM
121952011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12196
5a7c536b
SM
12197 * comint.el (comint-insert-input, comint-send-input)
12198 (comint-get-old-input-default, comint-backward-matching-input)
12199 (comint-next-prompt): Use nil instead of `input' for field property of
12200 past user input (bug#114).
12201
96a8a0df
SM
12202 * minibuffer.el (completion--replace): Inherit surrounding properties
12203 (bug#114).
12204 (minibuffer-complete-and-exit): Use it.
12205
8b79f3e0
SM
12206 * comint.el (comint--table-subvert): Quote the all-completions output
12207 (bug#9160).
12208
b8f7ff0d
MR
122092011-10-17 Martin Rudalics <rudalics@gmx.at>
12210
8b79f3e0 12211 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12212
b8f7ff0d 12213 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12214 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12215 entries and separate them from frame entries.
12216
c235b555
GM
122172011-10-15 Glenn Morris <rgm@gnu.org>
12218
12219 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12220 Doc fixes.
12221
6bbfa6e1
CY
122222011-10-15 Chong Yidong <cyd@stupidchicken.com>
12223
8b79f3e0
SM
12224 * net/network-stream.el (network-stream-open-starttls):
12225 Improve detection of failure due to lack of TLS support.
ec5c990d 12226
6bbfa6e1
CY
12227 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12228 putting the input text in front and in bold.
12229
98488977
SM
122302011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12231
3d1337be
SM
12232 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12233
ee0b45e4
SM
12234 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12235 empty buffer.
12236
98488977
SM
12237 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12238 unread-command-events rather than pushing yet-another event.
12239
186f4720
EZ
122402011-10-14 Eli Zaretskii <eliz@gnu.org>
12241
12242 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12243 the explanation of the possible choices. Make the options passed
12244 to completing-read shorter.
12245
8b7a997c
AM
122462011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12247
12248 * textmodes/flyspell.el (flyspell-large-region): Make sure
12249 extended character mode is used if defined (Bug#1339).
12250
12587bbb
EZ
122512011-10-13 Eli Zaretskii <eliz@gnu.org>
12252
12253 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12254 character info for LRE, LRO, RLE, and RLO characters by appending
12255 an invisible PDF.
12587bbb 12256
bad41229
SM
122572011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12258
12259 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12260 even in case of error; add debug spec; simplify data flow.
12261 (with-timeout-handler): Remove.
12262
28dbc92f
MA
122632011-10-12 Michael Albinus <michael.albinus@gmx.de>
12264
12265 Fix Bug#6019, Bug#9315.
12266
12267 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12268 complete `buffer-file-name', the local file name part could look
12269 remotely (for example on VMS).
12270
12271 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12272 `tramp-run-real-handler'.
12273 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12274 already quoted by '"'.
12275
12276 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12277 Let `file-name-handler-alist' be nil, the local file name part
12278 could look remotely (for example on VMS).
12279
e1b0b23a
SM
122802011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12283 from here...
12284 (flyspell-post-command-hook): ...to here.
12285
a120bde9
SM
122862011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12287
12288 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12289 if not needed.
12290 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12291 using completion. Protect against "slow" callers.
12292 Remove the "message hack".
12293
7ce7717b
JL
122942011-10-11 Juri Linkov <juri@jurta.org>
12295
12296 * isearch.el (isearch-lazy-highlight-word): New variable.
12297 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12298 Use it. (Bug#9727)
12299
c02ee9d6
GM
123002011-10-11 Glenn Morris <rgm@gnu.org>
12301
12302 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12303 like f90-previous-statement does.
12304
93e616fd 123052011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12306
1f190e73 12307 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12308 only in interactive use, to avoid error.
12309
af7b6078
SM
123102011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * minibuffer.el (completion-file-name-table): Fix last change,
12313 i.e. ignore normal errors but not the other ones.
12314
0563dae9
MR
123152011-10-10 Martin Rudalics <rudalics@gmx.at>
12316
12317 * window.el (special-display-buffer-names)
12318 (special-display-regexps): Remove some remnants of earlier
12319 changes from doc-strings.
366ca7f3
MR
12320 (quit-windows-on): New function.
12321
12322 * vc/vc.el (vc-revert, vc-rollback):
12323 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12324 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12325 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12326
49677495
MR
123272011-10-09 Martin Rudalics <rudalics@gmx.at>
12328
12329 * window.el (frame-auto-hide-function): Add version tag.
12330 (Bug#9699)
12331
56f2d1e1
MA
123322011-10-09 Michael Albinus <michael.albinus@gmx.de>
12333
12334 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12335 condition.
12336
112a6592
LL
123372011-10-09 Leo Liu <sdl.web@gmail.com>
12338
12339 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12340 (Bug#9701)
12341
0812589b
GM
123422011-10-08 Glenn Morris <rgm@gnu.org>
12343
12344 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12345 before the first code statement zero indent. (Bug#9690)
12346
b2b0776e
CY
123472011-10-08 Chong Yidong <cyd@stupidchicken.com>
12348
12349 * simple.el (count-words-region): Always count in the region.
12350 Report the number of lines and characters too.
12351 (count-words): New command, which counts in the buffer if the
12352 region is inactive, as count-words-region used to.
12353 (count-words--message): New function. Handle plurals.
12354 (count-lines-region): Make it an alias for count-words-region.
12355
12356 * bindings.el (esc-map): Replace count-lines-region with
12357 count-words-region.
12358
c557cd6b
MR
123592011-10-08 Martin Rudalics <rudalics@gmx.at>
12360
12361 * window.el (window--delete): Delete dedicated frame
12362 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12363 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12364
61a57ef4 123652011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12366
3a7d293b 12367 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12368
c3833279
CY
123692011-10-07 Chong Yidong <cyd@stupidchicken.com>
12370
12371 * bindings.el ([M-left],[M-right]): Bind to left-word and
12372 right-word respectively.
12373
21ce8245
GM
123742011-10-07 Glenn Morris <rgm@gnu.org>
12375
12376 * cus-start.el (debug-on-quit): Fix custom type.
12377
6d823bb2
LMI
123782011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12379
0181e193
LMI
12380 * subr.el (define-key-after): Clarify that the function is not
12381 useful for non-menu keymaps.
12382
6d823bb2
LMI
12383 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12384
8e3459ce 123852011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12386
21ce8245 12387 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12388 in current minibuffer (Fix bug with recursive minibuffers).
12389
a1c2d21e
CY
123902011-10-06 Chong Yidong <cyd@stupidchicken.com>
12391
12392 * progmodes/gdb-mi.el (gdb): Doc fix.
12393
5a4cf282
MR
123942011-10-05 Martin Rudalics <rudalics@gmx.at>
12395
12396 * window.el (frame-auto-hide-function): New option replacing
12397 frame-auto-delete. Suggested by Stefan Monnier.
12398 (window--delete): Call frame-auto-hide-function instead of
12399 investigating frame-auto-delete.
c96111ea
MR
12400 (window-point-1, set-window-point-1): New functions.
12401 (window-in-direction, record-window-buffer, window-state-get-1)
12402 (display-buffer-record-window): Use window-point-1 instead of
12403 window-point.
12404 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12405
9854542e
SM
124062011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12407
12408 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12409
8943cfb0
GM
124102011-10-05 Glenn Morris <rgm@gnu.org>
12411
12412 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12413 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12414
647ab967
LL
124152011-10-05 Leo Liu <sdl.web@gmail.com>
12416
12417 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12418 works with buffer object.
12419
3ddfbced
SM
124202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * mpc.el (mpc-tool-bar-map): Add labels.
12423
bdfa5dd2
GM
124242011-10-04 Glenn Morris <rgm@gnu.org>
12425
12426 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12427
0e2070b5
MR
124282011-10-04 Martin Rudalics <rudalics@gmx.at>
12429
12430 * window.el (window--delete): New function.
12431 (frame-auto-delete): Resuscitate option.
12432 (bury-buffer, replace-buffer-in-windows)
12433 (quit-window): Rewrite using window--delete.
12434 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12435 Pass display-buffer-mark-dedicated to window--display-buffer-2
12436 (Bug#9639).
12437
3dc61a09
SM
124382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12439
915a9b64
SM
12440 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12441 returns a list (bug#9554). Add remote file name completion.
12442 * comint.el (comint--table-subvert): Curry and get quote&unquote
12443 functions as arguments.
12444 (comint--complete-file-name-data): Adjust call accordingly.
12445 * pcomplete.el (pcomplete--table-subvert): Remove.
12446 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12447
3dc61a09
SM
12448 * minibuffer.el (completion-table-case-fold): Use currying.
12449 (completion--styles-type, completion--cycling-threshold-type):
12450 New constants.
12451 (completion-styles, completion-category-overrides)
12452 (completion-cycle-threshold): Use them.
12453 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12454 completion-table-case-fold.
12455
8ea0a993
SB
124562011-10-03 Stephen Berman <stephen.berman@gmx.net>
12457
12458 * minibuffer.el (completion-category-overrides): Fix type of styles
12459 and add more user friendly tags (bug#9660).
12460
8c24b7f6
SM
124612011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12462
12463 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12464 (mule-input-method-string): New widget.
12465 (default-input-method, language-info-custom-alist): Use it.
12466
428fe61a
SM
124672011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12468
32c1fffd
SM
12469 * pcomplete.el: Require comint.
12470 (pcomplete--common-suffix): Remove.
12471 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12472 (pcomplete--table-subvert): Sync with comint--table-subvert.
12473 (pcomplete--entries): Use comint-completion-file-name-table.
12474 * comint.el (comint-unquote-filename): Simplify.
12475 (comint-completion-file-name-table): New function (bug#9616).
12476 (comint--complete-file-name-data): Use it.
12477
428fe61a
SM
12478 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12479 (pcmpl-gnu-tar-buffer): Remove.
12480 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12481 around. Make sure pcomplete-suffix-list is only changed temporarily.
12482 Don't look inside the tar's file if it's too large.
428fe61a 12483
04c52e2f
CY
124842011-10-01 Chong Yidong <cyd@stupidchicken.com>
12485
ce3cefcc
CY
12486 * cus-edit.el (custom-mode-map):
12487 * epa.el (epa-key-list-mode-map):
12488 * man.el (Man-mode-map):
12489 * startup.el (splash-screen-keymap):
12490 * simple.el (special-mode-map): Use scroll-up-command and
12491 scroll-down-command.
12492
12493 * progmodes/idlw-help.el (idlwave-help-mode-map):
12494 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12495 * net/newst-plainview.el (newsticker-mode-map):
12496 * emulation/ws-mode.el (wordstar-mode-map):
12497 * emulation/vi.el (vi-com-map):
12498 * calc/calc-graph.el (calc-graph-show-dumb):
12499 * term/sun.el (terminal-init-sun):
12500 * term/ns-win.el (global-map):
12501 * progmodes/grep.el (grep-mode-map):
12502 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12503 * mail/rmail.el (rmail-mode-map):
12504 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12505
04c52e2f
CY
12506 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12507 custom-safe-themes as special.
12508
79adf8c8
JD
125092011-10-01 Julien Danjou <julien@danjou.info>
12510
12511 * notifications.el (notifications-notify): Fix docstring.
12512
63bd50d3
PS
125132011-10-01 Per Starbäck <per@starback.se>
12514
12515 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12516
199e4c7e
MR
125172011-09-30 Martin Rudalics <rudalics@gmx.at>
12518
12519 * startup.el (command-line-1): Fix last fix by inserting
12520 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12521 (Bug#9605) and (Bug#9636)
199e4c7e 12522
fe5f08dd
EZ
125232011-09-29 Eli Zaretskii <eliz@gnu.org>
12524
12525 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12526 window is hscrolled, move by logical lines. (Bug#9607)
12527 (line-move-visual): Update the doc string to the above effect.
12528
b5516bbd
MR
125292011-09-29 Martin Rudalics <rudalics@gmx.at>
12530
ccee00c0
MR
12531 * window.el (display-buffer-record-window): When WINDOW is the
12532 selected window use `point' instead of `window-point'. (Bug#9626)
12533
b5516bbd
MR
12534 * startup.el (command-line-1): Use insert-before-markers when
12535 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12536
b5516bbd
MR
12537 * help.el (help-window): Remove variable.
12538
52aa0014
GM
125392011-09-29 Glenn Morris <rgm@gnu.org>
12540
12541 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12542
df9a7357
JB
125432011-09-29 Juanma Barranquero <lekktu@gmail.com>
12544
12545 * descr-text.el (describe-char-categories): Accept category
12546 descriptions more than one line long.
12547
a8406c20
SM
125482011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12549
88d9610c
SM
12550 * simple.el (delete-trailing-whitespace): Fix last change.
12551
a5daf810
SM
12552 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12553 Don't confuse "y => 3" as the beginning of a `y' operation.
12554
a8406c20
SM
12555 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12556 object has more than 4 slots (bug#9613).
12557
a239d4e9
JB
125582011-09-28 Juanma Barranquero <lekktu@gmail.com>
12559
12560 * subr.el (with-output-to-temp-buffer):
12561 * net/quickurl.el (quickurl, quickurl-browse-url):
12562 Fix typos in docstrings.
12563
693fbdb6
EZ
125642011-09-27 Eli Zaretskii <eliz@gnu.org>
12565
12566 * minibuffer.el (completion-styles)
12567 (completion-category-overrides): Cross reference each other in doc
12568 strings.
12569
8b457e28
GM
125702011-09-27 Glenn Morris <rgm@gnu.org>
12571
12572 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12573 to split-string. (Bug#9606)
12574
85a16208
LMI
125752011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12576
12577 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12578 (bug#9615).
12579
502f9ebd
CY
125802011-09-27 Chong Yidong <cyd@stupidchicken.com>
12581
12582 * emacs-lisp/package.el (list-packages): Fix echo area message.
12583
7690bdea
LL
125842011-09-27 Leo Liu <sdl.web@gmail.com>
12585
12586 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12587
e2ee6f30
MA
125882011-09-25 Michael Albinus <michael.albinus@gmx.de>
12589
12590 * net/dbus.el (dbus-unregister-object): Don't release services for
12591 registered signals. (Bug#9581)
12592
f3f98342
TZ
125932011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12594
12595 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12596 function that picks between cfengine 2 and 3 support
12597 automatically. Update docs accordingly.
12598
dd7aa8dd
KH
125992011-09-22 Kenichi Handa <handa@m17n.org>
12600
12601 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12602 ZERO.
12603 (indian-itrans-v5-table-for-tamil): New variable.
12604 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12605
3f2b07f8
KM
126062011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12607
12608 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12609 that's true if the current command involved collapsing of text.
12610 It's reset to false at the beginning of the next command.
12611 (allout-post-command-business): Move the cursor to the beginning
12612 of entry if the cursor is hidden and collapsing activity just
12613 happened.
12614
371d6a61
CY
126152011-09-24 Chong Yidong <cyd@stupidchicken.com>
12616
12617 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12618 tracking (Bug#9541).
12619
2ac2721a
UJ
126202011-09-24 Ulf Jasper <ulf.jasper@web.de>
12621
12622 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12623 (newsticker-show-news): Automatically load html rendering package
12624 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12625 because w3m-fill-column is let-bound" and the error "Symbol's value
12626 as variable is void: w3m-fill-column".
2ac2721a 12627
fac7ae53
MA
126282011-09-24 Michael Albinus <michael.albinus@gmx.de>
12629
12630 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12631 Release services only if they are defined. (Bug#9581)
12632
e08b633b
RS
126332011-09-23 Richard Stallman <rms@gnu.org>
12634
e488d29c
RS
12635 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12636 distinguish start of paragraph from start of its text.
12637
19c38752
RS
12638 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12639
e08b633b
RS
12640 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12641 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12642 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12643
0a39f27e
AS
126442011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12645
12646 * international/mule-diag.el (mule-diag): Insert a newline after
12647 each fontset description.
12648
db4e950d
SM
126492011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * simple.el (delete-trailing-whitespace):
12652 Document last change; simplify.
12653
eca3f3ea
PW
126542011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12655
d68e189a
PW
12656 * simple.el (delete-trailing-whitespace): Also delete
12657 extra newlines at the end of the buffer.
12658
eca3f3ea
PW
12659 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12660 (picture-newline): Use forward-line so as to ignore fields.
12661
01c157cc
SM
126622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * subr.el (with-wrapper-hook): Fix edebug spec.
12665
022de23e
LMI
126662011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12667
12668 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12669 (bug#4538).
12670
91683089
MA
126712011-09-23 Michael Albinus <michael.albinus@gmx.de>
12672
eca3f3ea
PW
12673 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12674 Fix nasty bug using wrong cached values.
91683089 12675
5bdd6fa4
AM
126762011-09-23 Alan Mackenzie <acm@muc.de>
12677
12678 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12679
97adfb97
CY
126802011-09-23 Chong Yidong <cyd@stupidchicken.com>
12681
12682 * window.el (pop-to-buffer): Ensure right window is selected if we
12683 chose another frame.
12684
d4ef2b50
EZ
126852011-09-22 Eli Zaretskii <eliz@gnu.org>
12686
12687 * simple.el (what-cursor-position): Use get-char-property-change
12688 and next-single-char-property-change, to be able to show display
12689 properties that come from overlays as well as text properties.
12690
72258fe5
CY
126912011-09-22 Chong Yidong <cyd@stupidchicken.com>
12692
12693 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12694
12695 * cmuscheme.el (run-scheme, switch-to-scheme):
12696 * cus-edit.el (customize-group, custom-buffer-create)
12697 (customize-browse):
12698 * info.el (info):
12699 * shell.el (shell):
12700 * mail/sendmail.el (mail):
12701 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12702
8f098516
RS
127032011-09-22 Richard Stallman <rms@gnu.org>
12704
12705 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12706 move back only to line beg, don't move back over blank lines.
12707
e74f1bb6
MA
127082011-09-22 Michael Albinus <michael.albinus@gmx.de>
12709
12710 * files.el (copy-directory): Set directory attributes only in case
12711 they could be retrieved from the source directory. (Bug#9565)
12712
bfeef8b6
DK
127132011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12714
12715 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12716 (hs-find-block-beginning, hs-hide-level-recursive):
12717 Ignore strings as well as comments. (Bug#9502)
12718
7e423bb8
AS
127192011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12720
12721 * progmodes/sql.el (sql-comint-postgres):
12722 Convert port number to a string. (Bug#9566)
12723
b4d72fcf
MR
127242011-09-22 Martin Rudalics <rudalics@gmx.at>
12725
12726 * window.el (quit-window): Undedicate window when switching to
12727 previous buffer. Reported by Thierry Volpiatto
12728 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12729 (special-display-popup-frame): When popping up a new frame reset
12730 its previous buffers to nil. Simplify code.
b4d72fcf 12731
a7b88dc6
MA
127322011-09-21 Michael Albinus <michael.albinus@gmx.de>
12733
12734 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12735 and process filter, as done also in `shell-command'.
12736
cf4eacfd
MR
127372011-09-21 Martin Rudalics <rudalics@gmx.at>
12738
eca3f3ea 12739 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12740 Call set-window-start with NOFORCE argument t.
12741 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12742 (quit-window): Reword doc-string. Handle new format of
12743 quit-restore parameter. Don't delete window if it has a
12744 previous buffer we can show instead of the present one.
12745 (display-buffer-record-window): Rewrite using a new format for
12746 the quit-restore window parameter
12747 (special-display-popup-frame, display-buffer-same-window)
12748 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12749 (display-buffer-pop-up-window, display-buffer-use-some-window):
12750 Adapt symbol passed to display-buffer-record-window.
12751 * help.el (help-window-setup): Handle new format of quit-restore
12752 parameter.
12753
8d28cb95
SM
127542011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12755
94ab793f
SM
12756 * faces.el (face-list): Fix docstring (bug#9564).
12757
8d28cb95
SM
12758 * window.el (display-buffer--action-function-custom-type):
12759 Don't include internal functions in the Custom interface.
12760
3820edeb
JL
127612011-09-20 Juri Linkov <juri@jurta.org>
12762
12763 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12764 (Info-forward-node, Info-backward-node, Info-next-preorder)
12765 (Info-last-preorder): Use it. (Bug#9528)
12766
5147931d
JL
127672011-09-20 Juri Linkov <juri@jurta.org>
12768
12769 * info.el (Info-last-preorder): Visit last menu item only when
12770 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12771
cf499a1a
JD
127722011-09-20 Julien Danjou <julien@danjou.info>
12773
12774 * password-cache.el (password-cache-remove): Remove entries even if the
12775 value is nil, so that password with a nil value (negative caching) is
12776 possible to invalidate.
12777
f84e2fe2
LM
127782011-09-20 Lawrence Mitchell <wence@gmx.li>
12779
12780 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12781 all whitespace around breakpoint. (Bug#9553)
12782 (f90-find-breakpoint): Only break at whitespace inside a comment.
12783
78054a46
SM
127842011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * minibuffer.el (completion-file-name-table): Keep track of errors.
12787 (completion-table-with-predicate): Handle the case where pred1 is nil.
12788 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12789
345083b2
SM
127902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12791
e24e27be
SM
12792 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12793 (debugger-return-value): Signal an error if the debugging context does
12794 not await any return value.
12795
345083b2
SM
12796 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12797 * image-mode.el (image-toggle-display-text)
12798 (image-toggle-display-image): Stay away from evil `intangible'.
12799
08d355e3
LL
128002011-09-19 Leo Liu <sdl.web@gmail.com>
12801
12802 * replace.el (occur-revert-arguments): Make it permanent-local.
12803 (occur-mode): Don't call font-lock-defontify.
12804
f01da43f
CY
128052011-09-19 Chong Yidong <cyd@stupidchicken.com>
12806
12807 * net/ldap.el (ldap-search-internal): Don't push empty search
12808 result (Bug#9508).
12809
b6072fa6
SM
128102011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12813
443d6696
MA
128142011-09-19 Michael Albinus <michael.albinus@gmx.de>
12815
12816 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12817 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12818
7cc6e154
JL
128192011-09-18 Juri Linkov <juri@jurta.org>
12820
12821 * buff-menu.el (Buffer-menu-mode-map):
12822 * dired.el (dired-mode-map):
12823 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12824 (lisp-interaction-mode-map):
12825 * emacs-lisp/package.el (package-menu-mode-map):
12826 * epa.el (epa-key-list-mode-map):
12827 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12828 (menu-bar-options-menu):
12829 * outline.el (outline-mode-menu-bar-map):
12830 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12831 * vc/vc-dir.el (vc-dir-menu-map):
12832 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12833 Capitalize non-function content words in menu item strings.
12834
12835 * dired.el (dired-mode-map): Add menu item for
12836 `image-dired-dired-toggle-marked-thumbs'.
12837
80302a81
JL
128382011-09-18 Juri Linkov <juri@jurta.org>
12839
12840 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12841 to `isearch-case-fold-search' and restore its original value
12842 after the `isearch-mode' call.
12843
46c5cf66
JL
128442011-09-18 Juri Linkov <juri@jurta.org>
12845
12846 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12847 because `zgrep' returns 1 for successful matches (bug#9226).
12848
d18b513b
JL
128492011-09-18 Juri Linkov <juri@jurta.org>
12850
12851 * info.el (Info-extract-menu-node-name): Check the second match
12852 for empty string (second test-case of bug#9528).
12853 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12854 intermediate nodes to the history (first test-case of bug#9528).
12855
72753f87
JL
128562011-09-18 Juri Linkov <juri@jurta.org>
12857
12858 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12859 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12860
c9384295
JL
128612011-09-18 Juri Linkov <juri@jurta.org>
12862
1154d12e
JB
12863 * info.el (Info-file-supports-index-cookies):
12864 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12865 outputs one more line for long file names (bug#4142).
c9384295 12866
d473dce8
CY
128672011-09-18 Chong Yidong <cyd@stupidchicken.com>
12868
12869 * newcomment.el (comment-normalize-vars): If prompting for
12870 comment-start, set comment-start-skip too (Bug#8424).
12871
2176854d
JB
128722011-09-18 Johan Bockgård <bojohan@gnu.org>
12873
12874 * icomplete.el: Fix previous fix of Bug#5849.
12875 (icomplete-mode): Don't set completion-show-inline-help.
12876 (icomplete-minibuffer-setup): Set completion-show-inline-help
12877 locally during icompletion.
12878
3aace4e4
CY
128792011-09-18 Chong Yidong <cyd@stupidchicken.com>
12880
c940224f
CY
12881 * woman.el (woman2-process-escapes): Don't delete unrecognized
12882 escapes (Bug#7843).
12883
3aace4e4
CY
12884 * files.el (inhibit-first-line-modes-regexps): Add image files.
12885 (hack-local-variables-prop-line): Return nil for malformed
12886 prop-lines (Bug#9044).
12887
710dec63
MA
128882011-09-18 Michael Albinus <michael.albinus@gmx.de>
12889
12890 * net/tramp.el (top): Don't require 'shell.
12891 (tramp-methods): Fix docstring.
12892 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12893 Return complete remote file name. Handle "smb" case.
12894 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12895 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12896
12897 * net/tramp-compat.el (top): Require 'shell.
12898
12899 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12900 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12901 `tramp-current-host'.
12902 (tramp-get-remote-tmpdir): Remove.
12903
12904 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12905 `tramp-tmpdir' entries.
12906 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12907 (tramp-smb-handle-file-attributes): Ignore errors.
12908 (tramp-smb-wait-for-output): Check also for process end.
12909
5d5ac8ec
LMI
129102011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12911
12912 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12913 when sending QUIT (bug#9312).
12914
8c0f49f0
CY
129152011-09-17 Chong Yidong <cyd@stupidchicken.com>
12916
12917 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12918 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12919 occur-mode-display-occurrence.
12920 (occur-edit-mode): Add usage message.
12921 (occur-cease-edit): New command.
12922 (occur-after-change-function): Use text properties to find the
12923 position of the prefix text.
12924 (occur-engine): Set stickiness of prefix text properties.
12925
8f1383f7
GM
129262011-09-17 Glenn Morris <rgm@gnu.org>
12927
12928 * progmodes/etags.el (complete-tag):
12929 Fix call to completion-in-region. (Bug#9526)
12930
744ba0e3
JL
129312011-09-17 Juri Linkov <juri@jurta.org>
12932
12933 * textmodes/ispell.el (ispell-word): Add to the error message
12934 the word, ispell program name and current dictionary (bug#9121).
12935 (ispell-tex-arg-end): Capitalize "error" in the error message.
12936
d9bbf400
AS
129372011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12938
12939 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12940 check. (Bug#4251)
12941
8da11505
JL
129422011-09-17 Juri Linkov <juri@jurta.org>
12943
12944 * window.el (window-safe-min-height, window-safe-min-width):
12945 Fix typos (followup to bug#9522).
12946
a91adc7e
SJ
129472011-09-17 Sven Joachim <svenjoac@gmx.de>
12948
12949 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12950
064f328a
EZ
129512011-09-16 Eli Zaretskii <eliz@gnu.org>
12952
12953 * simple.el (line-move): If goal-column is set, move by logical
12954 lines, not by display lines. (Bug#971)
12955 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12956 to reflect the above change.
12957
e69df516
SM
129582011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12959
12960 * image.el (imagemagick-register-types): Use regexp-opt.
12961
cbb0f9ab
CY
129622011-09-15 Chong Yidong <cyd@stupidchicken.com>
12963
12964 * window.el (display-buffer-base-action): Rename from
12965 display-buffer-default-action. Make default value empty.
12966 (display-buffer-overriding-action): Convert to defvar.
12967 (display-buffer-fallback-action): New var.
12968
25322144
CY
129692011-09-15 Chong Yidong <cyd@stupidchicken.com>
12970
12971 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12972 declaration.
12973 (package--add-to-archive-contents): If there is a duplicate entry
12974 with an older version, remove it.
12975 (package-menu-mark-delete, package-menu-mark-install)
12976 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12977 (package-menu-mark-obsolete-for-deletion):
12978 Use package-menu-get-status instead of a regexp search.
25322144
CY
12979 (package-menu-get-status): Use tabulated-list-entry.
12980 (package-menu-mark-upgrades): New command.
d770725a 12981 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12982 (package-menu-execute): Do installation before deletion.
12983 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12984 instead of checking major-mode.
12985 (package-menu--find-upgrades): New function.
12986
7520339c
LMI
129872011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12988
12989 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12990 passwords in the log buffer.
65a046c4
LMI
12991 (smtpmail-process-filter): Update the process marker so that the
12992 "broken by peer" status message is inserted in the right place.
7520339c 12993
d3c30954
SM
129942011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12995
3fe48822
SM
12996 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12997 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12998 bibtex-completion-at-point-function.
12999 (bibtex-completion-at-point-function): Use them.
13000
1b8b3954
SM
13001 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13002
d3c30954
SM
13003 * mpc.el (mpc-constraints-tag-lookup): New function.
13004 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13005 also to browser "album|playlist".
13006
72779976
JL
130072011-09-14 Juri Linkov <juri@jurta.org>
13008
13009 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13010 (isearch-edit-string): Use length of `isearch-string' when
13011 `isearch-fail-pos' returns nil.
13012 (isearch-message): Remove duplicate code and call
13013 `isearch-fail-pos' with arg `t'.
13014
a0bf2bcd
CY
130152011-09-14 Chong Yidong <cyd@stupidchicken.com>
13016
17bb0a2d
CY
13017 * replace.el (occur-mode-goto-occurrence): Don't force using other
13018 window (Bug#9499).
13019
a0bf2bcd
CY
13020 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13021
f678e0b6
MR
130222011-09-14 Martin Rudalics <rudalics@gmx.at>
13023
13024 * window.el (display-buffer-window): Remove.
13025 (display-buffer-record-window): Use help-setup window parameter
13026 instead of variable display-buffer-window.
13027 (display-buffer-function, special-display-buffer-names)
13028 (special-display-function): Mention help-setup parameter instead
13029 of display-buffer-window in doc-string.
d3c30954
SM
13030 * help.el (help-window-setup): New argument help-window.
13031 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13032 Reword some messages.
13033 (with-help-window): Pass window used for displaying the buffer
13034 to help-window-setup. Don't set display-buffer-window.
13035
8e39b2e8
GM
130362011-09-13 Glenn Morris <rgm@gnu.org>
13037
13038 * emacs-lisp/debug.el (debugger-make-xrefs):
13039 Preserve point. (Bug#9462)
13040
85e9c04b
CY
130412011-09-13 Chong Yidong <cyd@stupidchicken.com>
13042
13043 * window.el (window-deletable-p): Use next-frame.
13044
1b36ed6a
MR
130452011-09-13 Martin Rudalics <rudalics@gmx.at>
13046
13047 * window.el (window-auto-delete): Remove.
13048 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13049 dedication and previous buffers.
1b36ed6a
MR
13050 (switch-to-prev-buffer): Don't delete window.
13051 (delete-windows-on): Delete a window's frame if and only if the
13052 window is dedicated.
13053 (replace-buffer-in-windows): Delete buffer's window or frame if
13054 and only if window is dedicated.
13055 (quit-window): Handle quit-restore as before last change.
4d61f28d 13056 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13057
ef8ef9fb
CY
130582011-09-13 Chong Yidong <cyd@stupidchicken.com>
13059
13060 * window.el (window-deletable-p): Never delete the last frame on a
13061 given terminal.
13062
b2cba41e
GM
130632011-09-13 Glenn Morris <rgm@gnu.org>
13064
13065 * help.el (describe-key-briefly): Copy previous standard-output change.
13066
51553db6 130672011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13068
13069 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13070
b7556719
GM
130712011-09-13 Glenn Morris <rgm@gnu.org>
13072
13073 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13074 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13075
64b51947
CY
130762011-09-12 Chong Yidong <cyd@stupidchicken.com>
13077
13078 * dired-aux.el (dired-mark-read-string): Don't return default
13079 value on empty input (Bug#9361).
13080 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13081 Omit initial minibuffer contents.
13082 (dired-do-chmod): Signal an error on empty input.
13083 (dired-mark-read-string): Don't return default on empty input.
13084
13085 * files.el (file-modes-symbolic-to-number): Doc fix.
13086
393a301e
SM
130872011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13088
13089 * international/mule-cmds.el (ucs-completions): Remove.
13090 (read-char-by-name): Use complete-with-action instead; add metadata.
13091
fa5660f9
CY
130922011-09-11 Chong Yidong <cyd@stupidchicken.com>
13093
13094 * window.el (display-buffer--action-function-custom-type)
13095 (display-buffer--action-custom-type): New vars.
13096 (display-buffer-alist, display-buffer-default-action)
13097 (display-buffer-overriding-action): Add defcustom types.
13098
4a592f66
CY
13099 * frame.el (delete-other-frames): Doc fix (Bug#276).
13100
73d56dbd
LMI
131012011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13102
13103 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13104
37ac18a3
CY
131052011-09-11 Chong Yidong <cyd@stupidchicken.com>
13106
13107 Change modes that used same-window-* vars to use switch-to-buffer.
13108
13109 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13110 Use switch-to-buffer.
13111
13112 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13113 (customize-browse, custom-buffer-create-other-window):
13114 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13115
13116 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13117 (Info-prev, Info-up, Info-speedbar-goto-node)
13118 (info-display-manual): Use switch-to-buffer.
13119 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13120
13121 * mail/sendmail.el (mail): Use switch-to-buffer.
13122 (mail-recover): Use switch-to-buffer-other-window.
13123
13124 * cmuscheme.el (run-scheme, switch-to-scheme):
13125 * ielm.el (ielm):
13126 * shell.el (shell):
13127 * net/rlogin.el (rlogin):
13128 * net/telnet.el (telnet, rsh):
13129 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13130
10195bd6
AS
131312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13132
13133 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13134
b322f63a
LMI
131352011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13136
39d7fed6
LMI
13137 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13138 so don't mention it (bug#9301).
ba5a81f1 13139 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13140
ee0e9f11
LMI
13141 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13142 match `x', `w32' and `ns', like the manual says (bug#9029).
13143
0b1c89c1 13144 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13145 (process-kill-buffer-query-function): Mention the buffer name in
13146 the query.
0b1c89c1 13147
77549ea8
LMI
13148 * image-mode.el (image-next-line): The line parameter is mandatory
13149 (bug#9258).
13150
803ef892
LMI
13151 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13152 which can be useful (bug#9301).
13153
12980837
LMI
13154 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13155
91054f8f
LMI
13156 * subr.el (match-string): Mention that the current buffer should
13157 be the same as the search was done in (bug#9282).
13158
b322f63a
LMI
13159 * facemenu.el: Disable the remove-* commands if the mark isn't
13160 active (bug#9162).
13161
3199b96f
CY
131622011-09-10 Chong Yidong <cyd@stupidchicken.com>
13163
13164 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13165 of display-buffer.
13166 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13167
13168 * replace.el (occur-mode-goto-occurrence)
13169 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13170 and display-buffer.
13171
13172 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13173 display-buffer.
13174
13175 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13176 special-display and same-window variables.
13177 (mail-other-window): Use switch-to-buffer-other-window.
13178 (mail-other-frame): USe switch-to-buffer-other-frame.
13179
393a301e
SM
13180 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13181 Use display-buffer-other-frame.
3199b96f
CY
13182 (gdb-display-gdb-buffer): Use pop-to-buffer.
13183
13184 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13185
13186 * progmodes/python.el: Don't set same-window-buffer-names.
13187
13188 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13189
13190 * window.el (display-buffer-alist): Add *Python*.
13191
8319e0bf
CY
131922011-09-10 Chong Yidong <cyd@stupidchicken.com>
13193
13194 * window.el (display-buffer-alist): Add entry for buffers
13195 previously handled same-window-*.
13196 (display-buffer-alist, display-buffer-default-action)
13197 (display-buffer-overriding-action): Mark as risky.
13198 (display-buffer-alist): Document action function changes.
13199 (display-buffer--same-window-action)
13200 (display-buffer--other-frame-action): New variables.
13201 (switch-to-buffer, display-buffer-other-frame): Use them.
13202 (display-buffer): Rename reuse-frame entry to reusable-frames.
13203 (display-buffer-reuse-selected-window): Function deleted.
13204 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13205 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13206 (display-buffer-special): New function.
13207 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13208 display-buffer-reuse-or-pop-window. Split off special-display
13209 part into display-buffer-special.
13210 (display-buffer-use-some-window): Don't perform any special
13211 pop-up-frames handling.
13212 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13213 (display-buffer--maybe-same-window): Rename from
0d3ff375 13214 display-buffer-maybe-same-window.
8319e0bf 13215
919a69aa
CY
13216 * info.el: Don't set same-window-regexps.
13217 (info-setup): New function.
13218 (info-other-window, info): Call it.
13219
13220 * cus-edit.el: Don't set same-window-regexps.
13221 (customize-group): New argument.
13222 (customize-group-other-window): Use it.
13223 (customize-face, customize-face-other-window): Likewise.
13224 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13225
8319e0bf
CY
13226 * net/rlogin.el:
13227 * net/telnet.el:
13228 * progmodes/gud.el: Don't set same-window-regexps.
13229
13230 * cmuscheme.el:
13231 * ielm.el:
13232 * shell.el:
13233 * mail/sendmail.el:
13234 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13235
25173000
JL
132362011-09-10 Juri Linkov <juri@jurta.org>
13237
13238 * isearch.el (isearch-edit-string): Remove obsolete mention of
13239 `C-w' (`isearch-yank-word-or-char') from docstring.
13240 (isearch-query-replace): Fix typo in docstring (bug#9466).
13241
056e44ef
JL
132422011-09-10 Juri Linkov <juri@jurta.org>
13243
13244 * paren.el (show-paren-function): Don't show escaped parens.
13245 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13246
c3760c17
EZ
132472011-09-10 Eli Zaretskii <eliz@gnu.org>
13248
13249 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13250 (mm-default-file-encoding): Remove autoload forms, they are
13251 replaced with autoload cookies in mml.el and mm-encode.el.
13252 (mail-add-attachment): New command.
13253 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13254 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13255 the doc string.
13256 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13257
fece895e
RT
132582011-09-10 Reuben Thomas <rrt@sc3d.org>
13259
e69df516
SM
13260 * simple.el (count-words-region): Use buffer if there's no region
13261 (bug#9429).
fece895e 13262
5e68ce4a
JL
132632011-09-09 Juri Linkov <juri@jurta.org>
13264
13265 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13266 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13267 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13268
0a6b9622
AM
132692011-09-09 Alan Mackenzie <acm@muc.de>
13270
13271 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13272 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13273
14a29deb
EZ
132742011-09-09 Eli Zaretskii <eliz@gnu.org>
13275
13276 Fix for Savannah bug#9392.
13277 * simple.el (mail-encode-mml): New defvar.
13278
13279 * mail/rmail.el (mail-encode-mml): Add a defvar.
13280 (rmail-enable-mime-composing): Default to t.
13281 (rmail-forward): Use MIME method of forwarding only if both
13282 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13283 Set mail-encode-mml non-nil if the MIME method was used.
13284
13285 * mail/sendmail.el (mml-to-mime): Add autoload form.
13286 (mail-encode-mml): Add a defvar.
13287 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13288 to nil.
13289 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13290 message through mml-to-mime, and reset mail-encode-mml to nil.
13291
28c45130
GM
132922011-09-09 Glenn Morris <rgm@gnu.org>
13293
13294 * woman.el (woman-if-body): When processing an .el block,
13295 do not delete the next .el block as well. (Bug#9447)
69f4b618 13296 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13297
9b1c252e
MR
132982011-09-08 Martin Rudalics <rudalics@gmx.at>
13299
13300 * window.el (window-deletable-p): Make sure window is live before
13301 invoking window-prev-buffers.
13302
567457e3
LL
133032011-09-08 Leo Liu <sdl.web@gmail.com>
13304
13305 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13306
97f05794
JL
133072011-09-08 Juri Linkov <juri@jurta.org>
13308
13309 * progmodes/compile.el (compilation-environment): Make it
13310 a defcustom (bug#8340).
13311
8b0874b5
MR
133122011-09-08 Martin Rudalics <rudalics@gmx.at>
13313
13314 * window.el (frame-auto-delete): Rename to window-auto-delete.
13315 Make it control auto-deletion of windows and/or frames.
13316 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13317 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13318 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13319 Rewrite handling of case when window/frame can be deleted.
13320 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13321 argument t. (Bug#9456)
8b0874b5 13322
4feb6e73
CY
133232011-09-07 Chong Yidong <cyd@stupidchicken.com>
13324
13325 * help-mode.el (help-mode): Restore autoload.
13326
91ab9c13
JL
133272011-09-07 Juri Linkov <juri@jurta.org>
13328
13329 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13330 `compilation-environment'. Set buffer-local
13331 `compilation-environment' to `thisenv' later after (funcall mode).
13332 (Bug#8340)
13333
13334 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13335 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13336 instead of replacing its value. (Bug#8340)
13337
0527e251
JL
133382011-09-07 Juri Linkov <juri@jurta.org>
13339
13340 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13341 based on text properties put by `grep-filter' instead of matching
13342 escape sequences.
13343 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13344 to the value of `grep-error-screen-columns' (bug#9438).
13345
249f792c
JL
133462011-09-07 Juri Linkov <juri@jurta.org>
13347
13348 * simple.el (next-error-highlight, next-error-highlight-no-select):
13349 Doc fix (bug#9432).
13350
ff7271b9
OT
133512011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13352
13353 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13354 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13355
183fc730
LL
133562011-09-07 Leo Liu <sdl.web@gmail.com>
13357
13358 * net/rcirc.el (rcirc-mode): Conditionally initialize
13359 rcirc-input-ring.
13360
77694924
SM
133612011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13362
13363 * emacs-lisp/find-func.el (find-function-C-source): Only set
13364 find-function-C-source-directory after checking that we found a source
13365 file there (bug#9440).
13366
d809b8eb
AM
133672011-09-06 Alan Mackenzie <acm@muc.de>
13368
13369 * isearch.el (isearch-other-meta-char): Wherever a key list is
13370 unread, "unread" the prefix arg, too. This fixes bug #8901.
13371
453de99f
OG
133722011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13373
13374 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13375
90439906
JL
133762011-09-05 Juri Linkov <juri@jurta.org>
13377
13378 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13379
f62bd846
JL
133802011-09-05 Juri Linkov <juri@jurta.org>
13381
13382 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13383 keeping point where processing of grep matches begins, and
13384 continue to delete remaining escape sequences from the same point.
13385 (grep-filter): Make leading zero optional in "0?1;31m" because
13386 git-grep emits "\033[1;31m" escape sequences unlike expected
13387 "\033[01;31m" as GNU Grep does (bug#9408).
13388 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13389
045820ec
JL
133902011-09-05 Juri Linkov <juri@jurta.org>
13391
13392 * subr.el (y-or-n-p): Capitalize "yes".
13393
f5e29b9b
MA
133942011-09-04 Michael Albinus <michael.albinus@gmx.de>
13395
13396 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13397 `tramp-cache-unload-hook' where appropriate.
13398 (tramp-methods): Rename `tramp-remote-sh' to
13399 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13400 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13401
13402 * net/tramp-sh.el (top): Don't require 'shell.
13403 (tramp-methods): Add `tramp-remote-shell' and
13404 `tramp-remote-shell-args' entries.
13405 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13406 (tramp-sh-handle-shell-command): Remove.
13407 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13408 Use `tramp-remote-shell'.
13409
2784c434
CY
134102011-09-03 Chong Yidong <cyd@stupidchicken.com>
13411
393a301e 13412 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13413 (sendmail-query-once): Save directly to send-mail-function.
13414 Update message-send-mail-function too.
13415
13416 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13417
464cdf56
CS
134182011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13419
13420 * progmodes/python.el (python-mode-map): Use correct function to
13421 start python interpreter from menu-bar (as reported by Geert
13422 Kloosterman).
13423 (inferior-python-mode-map): Fix typo.
393a301e 13424 (python-shell-map): Remove.
464cdf56 13425
d37e5c87
DD
134262011-09-03 Deniz Dogan <deniz@dogan.se>
13427
13428 * net/rcirc.el (rcirc-print): Simplify code for
13429 rcirc-scroll-show-maximum-output. There is no need to walk
13430 through all windows to find the right one.
13431
f3ada0ee
CS
134322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13433
13434 * help.el (help-return-method): Doc fix.
13435
1f3c99ca
MR
134362011-09-03 Martin Rudalics <rudalics@gmx.at>
13437
13438 * window.el (window-deletable-p): Don't return a non-nil value
13439 when there's a buffer that was shown in the window before.
13440 (Bug#9419)
393a301e
SM
13441 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13442 Set window's previous buffers to nil.
1f3c99ca 13443
a3cf097f
EZ
134442011-09-03 Eli Zaretskii <eliz@gnu.org>
13445
13446 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13447 newline before and after the tag line, so it doesn't interfere
13448 with determining the paragraph direction of bidirectional text.
13449
3d03de90
LL
134502011-09-03 Leo Liu <sdl.web@gmail.com>
13451
13452 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13453
c3313451
CY
134542011-09-02 Chong Yidong <cyd@stupidchicken.com>
13455
393a301e 13456 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13457 (pop-to-buffer): Change interactive spec. Pass second argument
13458 directly to display-buffer.
13459 (display-buffer): Fix interactive spec. Use functionp to
13460 distinguish between a function and a list of functions.
13461
13462 * abbrev.el (edit-abbrevs):
13463 * arc-mode.el (archive-extract):
13464 * autoinsert.el (auto-insert):
13465 * bookmark.el (bookmark-bmenu-list):
13466 * files.el (find-file):
13467 * view.el (view-buffer):
13468 * progmodes/compile.el (compilation-goto-locus):
13469 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13470
89894cd8
CY
134712011-09-02 Chong Yidong <cyd@stupidchicken.com>
13472
13473 * window.el (display-buffer-alist): Doc fix.
13474 (display-buffer): Add docstring. Don't treat
13475 display-buffer-default specially.
13476 (display-buffer-reuse-selected-window)
13477 (display-buffer-same-window, display-buffer-maybe-same-window)
13478 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13479 (display-buffer-pop-up-window)
13480 (display-buffer-reuse-or-pop-window)
13481 (display-buffer-use-some-window): New functions.
13482 (display-buffer-default-action): Use them.
393a301e 13483 (display-buffer-default): Delete.
89894cd8
CY
13484 (pop-to-buffer-1): Fix choice of actions.
13485
ae0bc9fb
SM
134862011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * minibuffer.el (completion--insert-strings): Don't get confused by
13489 completion entries that end with an LF char.
13490
e9d90883
EZ
134912011-09-01 Eli Zaretskii <eliz@gnu.org>
13492
13493 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13494
437014c8
CY
134952011-09-01 Chong Yidong <cyd@stupidchicken.com>
13496
13497 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13498 (display-buffer-same-window, display-buffer-other-window):
13499 New functions.
437014c8
CY
13500 (pop-to-buffer-1): New function. Use the above.
13501 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13502 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13503
13504 * view.el (view-buffer-other-window, view-buffer-other-frame):
13505 Just use pop-to-buffer.
13506
a5e063d5
TV
135072011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13508
13509 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13510
793d32bb
WH
135112011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13512
13513 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13514
d65e4c15
RS
135152011-08-31 Richard Stallman <rms@gnu.org>
13516
13517 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13518 of the separation of rmail-view-buffer from rmail-buffer.
13519 If you say no to "replace original", the decrypt is in the
13520 view buffer. If you say yes, the decrypt goes into the
13521 rmail buffer also.
13522
f818cd2a
MR
135232011-08-31 Martin Rudalics <rudalics@gmx.at>
13524
13525 * window.el (display-buffer-window): Rewrite doc-string.
13526 (display-buffer-record-window): New function.
13527 (display-buffer-macro-specifiers)
13528 (display-buffer-even-window-sizes, display-buffer-set-height)
13529 (display-buffer-set-width, display-buffer-in-window)
13530 (display-buffer-reuse-window, display-buffer-split-specifiers)
13531 (display-buffer-side-specifiers, display-buffer-split-window-1)
13532 (display-buffer-split-window, display-buffer-split-atom-window)
13533 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13534 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13535 (display-buffer-other-window-means-other-frame)
13536 (display-buffer-normalize-special)
13537 (display-buffer-normalize-default)
13538 (display-buffer-normalize-argument)
13539 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13540 (display-buffer-normalize-specifiers, display-buffer-frame)
13541 (display-buffer-same-window, display-buffer-same-frame)
13542 (display-buffer-other-window)
13543 (display-buffer-same-frame-other-window)
13544 (display-buffer-other-frame, pop-to-buffer-same-window)
13545 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13546 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13547 (switch-to-buffer-same-frame)
13548 (switch-to-buffer-other-window-same-frame)
13549 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13550 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13551 (display-buffer-alist-set): Remove.
13552 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13553 (special-display-regexps, special-display-function):
13554 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13555 parameter.
13556 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13557 (special-display-frame-alist, special-display-popup-frame)
13558 (same-window-buffer-names, same-window-regexps, same-window-p)
13559 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13560 (split-window-preferred-function, split-height-threshold)
13561 (split-width-threshold, window-splittable-p)
13562 (split-window-sensibly, window--try-to-split-window)
13563 (window--frame-usable-p, even-window-heights)
13564 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13565 (window--display-buffer-2, display-buffer-other-frame):
13566 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13567 (display-buffer-default, display-buffer-assq-regexp): New functions.
13568 (display-buffer-alist): Rewrite doc-string.
13569 (display-buffer-default-action)
13570 (display-buffer-overriding-action): New variables.
13571 (display-buffer, switch-to-buffer): Rewrite.
13572 (pop-to-buffer): Restore Emacs 23 behavior but use
13573 window-normalize-buffer-to-display.
13574 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13575 Restore Emacs 23 behavior but use
13576 window-normalize-buffer-to-switch-to.
13577 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13578 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13579 Rewrite using Emacs 23 options.
f818cd2a 13580
5bc3b51d
MA
135812011-08-31 Michael Albinus <michael.albinus@gmx.de>
13582
13583 * net/tramp.el (tramp-root-regexp): Remove.
13584 (tramp-completion-file-name-regexp-unified)
13585 (tramp-completion-file-name-regexp-separate)
13586 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13587 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13588 (tramp-drop-volume-letter): Simplify definition.
13589 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13590
b1a4f8e1
SM
135912011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13592
13593 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13594 (bug#9356).
13595
5664fa7b
RT
135962011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13597
b1a4f8e1 13598 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13599
9a45d6c3
JL
136002011-08-29 Juri Linkov <juri@jurta.org>
13601
13602 * isearch.el (isearch-done): Don't display message "Mark saved"
13603 when arg `edit' is non-nil to prevent its flicker in the echo area.
13604
fb87e0fb
CY
136052011-08-28 Chong Yidong <cyd@stupidchicken.com>
13606
13607 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13608 obsolete packages for deletion.
13609
09ac1c2a
CS
136102011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13611
13612 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13613 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13614 view-mode from help-mode.
13615 (help-xref-override-view-map): Remove.
13616 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13617 view-mode is not used anymore.
13618
7a1ff57f
CY
136192011-08-28 Chong Yidong <cyd@stupidchicken.com>
13620
13621 * server.el (server-port): Doc fix.
13622
b9696605
CY
13623 * cus-theme.el (custom-theme-choose-mode): Inherit from
13624 special-mode (Bug#9124).
13625 (custom-theme-choose-mode-map): Add special-mode to parent.
13626
ef8cdf8c
AM
136272011-08-28 Alan Mackenzie <acm@muc.de>
13628
13629 * progmodes/cc-fonts.el
13630 (c-make-font-lock-BO-decl-search-function): New function.
13631 (c-basic-matchers-after - "Fontify the clauses after various
13632 keywords"): Extract the three keyword lists for the 3 erroneous
13633 constructs from the list of four, and use the new function above
13634 in place of an old one.
13635
27de4e20
DD
136362011-08-28 Deniz Dogan <deniz@dogan.se>
13637
13638 * net/rcirc.el (rcirc-insert-prev-input)
13639 (rcirc-insert-next-input): Remove unused argument.
13640
356a3681
SM
136412011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13642
13643 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13644
3fc9b218
AM
136452011-08-27 Alan Mackenzie <acm@muc.de>
13646
13647 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13648 handle function pointer parameters properly.
13649
538a061c
MR
136502011-08-27 Martin Rudalics <rudalics@gmx.at>
13651
13652 * window.el (display-buffer-reuse-window): Fix case where
13653 selected window was reused with non-nil OTHER-WINDOW argument.
13654 (Bug#9381)
13655
35b1c40c
DD
136562011-08-27 Deniz Dogan <deniz@dogan.se>
13657
13658 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13659 oftc's NickServ messages.
13660
2f6a3e79
GM
136612011-08-27 Glenn Morris <rgm@gnu.org>
13662
13663 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13664
7254299e
CY
136652011-08-26 Chong Yidong <cyd@stupidchicken.com>
13666
13667 * emacs-lisp/package.el (package-install): Call package-initialize
13668 if called interactively.
13669
f8ccf167
LL
136702011-08-26 Leo Liu <sdl.web@gmail.com>
13671
13672 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13673
3e8cd5ce
JL
136742011-08-25 Juri Linkov <juri@jurta.org>
13675
13676 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13677 `search-whitespace-regexp' (bug#9364).
13678
93eb7113
JL
136792011-08-25 Juri Linkov <juri@jurta.org>
13680
13681 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13682 `regexp-search-ring' to their global values to protect from
13683 updating by `read-from-minibuffer' (bug#9185).
13684
f65d1611
JL
136852011-08-25 Juri Linkov <juri@jurta.org>
13686
13687 * textmodes/ispell.el (ispell-command-loop): Add newline
13688 at the end of the "Use option `i'..." line.
13689
f1cf7a31
JL
136902011-08-25 Juri Linkov <juri@jurta.org>
13691
13692 * battery.el (display-battery-mode): If `battery-status-function'
13693 or `battery-mode-line-format' is nil, display the message and set
13694 `display-battery-mode' to nil (bug#9363).
13695
0c95fcf7
EZ
136962011-08-25 Eli Zaretskii <eliz@gnu.org>
13697
13698 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13699 bidi-string-mark-left-to-right; they are unnecessary now.
13700
a2ebe600
DD
137012011-08-25 Deniz Dogan <deniz@dogan.se>
13702
13703 * net/quickurl.el: Documentation typo fixes.
13704
e4ed06f1
CY
137052011-08-25 Chong Yidong <cyd@stupidchicken.com>
13706
13707 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13708
e5f1c99e
GM
137092011-08-25 Glenn Morris <rgm@gnu.org>
13710
b2948976
GM
13711 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13712
e5f1c99e
GM
13713 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13714 (smtpmail-via-smtp): Handle nil response from smtp.
13715
f22f4808
JL
137162011-08-24 Juri Linkov <juri@jurta.org>
13717
13718 * proced.el (proced-marked): Inherit from `error' instead of
13719 `font-lock-warning-face'.
13720
13721 * ibuffer.el (ibuffer-marked-face): Change default face from
13722 `font-lock-warning-face' to `warning'.
13723 (ibuffer-deletion-face): Change default face from
13724 `font-lock-type-face' to `error'.
13725
13726 * battery.el (battery-update): Use the face `error' instead of
13727 `font-lock-warning-face' (bug#6117).
13728
6a93965e
JL
137292011-08-24 Juri Linkov <juri@jurta.org>
13730
13731 * faces.el (success): Change face color from "Green3" to
13732 "ForestGreen" on light background (bug#9353).
13733
1ed43b09
CY
137342011-08-24 Chong Yidong <cyd@stupidchicken.com>
13735
5664fa7b
RT
13736 * window.el (quit-window): Rename from quit-restore-window.
13737 Use same arglist as old quit-window.
1ed43b09
CY
13738 (frame-auto-delete): Doc fix.
13739
13740 * view.el (view-mode-exit): Use quit-window.
13741
11dcdbb2
JL
137422011-08-24 Juri Linkov <juri@jurta.org>
13743
13744 * isearch.el (isearch-ring-adjust1): Start visiting previous
13745 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13746 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13747 for empty search string (when the last search string is reused
13748 automatically) to adjust the isearch ring to the last element and
13749 prepare the correct index for further M-p commands (bug#9185).
13750
de62b4df
KH
137512011-08-24 Kenichi Handa <handa@m17n.org>
13752
13753 * international/ucs-normalize.el: If decomposition property of
13754 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13755 nil.
13756 (nfd, nfkd): Likewise.
13757
963b492b
SM
137582011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13761 from process filters aren't reliably transmitted to the surrounding
13762 accept-process-output.
13763 (mpc-proc-check): New function.
13764 (mpc-proc-sync): Use it (bug#8293)
13765
93b6b5e1
SM
137662011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13769 Add compatibility functions (bug#9313).
13770
bca633fb
EZ
137712011-08-23 Eli Zaretskii <eliz@gnu.org>
13772
b177498a
EZ
13773 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13774
6df6ae42 13775 * international/uni-bidi.el: Regenerate.
bca633fb 13776
0902a04e
KH
137772011-08-23 Kenichi Handa <handa@m17n.org>
13778
13779 * international/charprop.el:
13780 * international/uni-bidi.el:
13781 * international/uni-category.el:
13782 * international/uni-combining.el:
13783 * international/uni-comment.el:
13784 * international/uni-decimal.el:
13785 * international/uni-decomposition.el:
13786 * international/uni-digit.el:
13787 * international/uni-lowercase.el:
13788 * international/uni-mirrored.el:
13789 * international/uni-name.el:
13790 * international/uni-numeric.el:
13791 * international/uni-old-name.el:
13792 * international/uni-titlecase.el:
13793 * international/uni-uppercase.el: Regenerate.
13794
3bbf23bc
MR
137952011-08-23 Martin Rudalics <rudalics@gmx.at>
13796
13797 * help.el (help-window-setup): Fix message displayed when other
13798 window is reused. (Bug#9341)
13799
b3fd59bd
SM
138002011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13801
1802e444
SM
13802 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13803 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13804
b3fd59bd
SM
13805 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13806 Mark obsolete.
13807 * shell.el (shell-parse-pcomplete-arguments): New function.
13808 (shell-completion-vars): Use it instead (bug#9160).
13809
4eb61348
SM
138102011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13811
867cab74
SM
13812 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13813 strings and comments (bug#9333).
13814
4eb61348
SM
13815 * emacs-lisp/debug.el (debug-arglist): New function.
13816 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13817 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13818
262a1439
JL
138192011-08-22 Juri Linkov <juri@jurta.org>
13820
56ee679c
JL
13821 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13822 Revert regexp that highlights output switches to its old
13823 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13824
262a1439
JL
13825 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13826 to check for empty output (bug#9226).
13827
f13f86fb
CY
138282011-08-22 Chong Yidong <cyd@stupidchicken.com>
13829
13830 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13831 symbol-constituent as the default, as that stops font-lock from
13832 working properly (Bug#8843).
13833
c65c9622
LMI
138342011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13835
13836 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13837 `coding-system-for-*' around the process open call to avoid
13838 auth-source side effects.
e7f2c178 13839 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13840 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13841 probe hangs.
c65c9622 13842
23a8a5ab
CY
138432011-08-21 Chong Yidong <cyd@stupidchicken.com>
13844
ff98b2dd
CY
13845 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13846
23a8a5ab
CY
13847 * emacs-lisp/find-func.el (find-function-noselect): New arg
13848 lisp-only.
13849
13850 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13851 signal an error for built-in functions (Bug#6664).
13852
f5e3c598
LMI
138532011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13854
13855 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13856 (smtpmail-try-auth-methods): Use it.
13857
a3f2468a
CY
138582011-08-21 Chong Yidong <cyd@stupidchicken.com>
13859
2c34e8da
CY
13860 * font-lock.el (font-lock-fontify-region)
13861 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13862 (font-lock-default-unfontify-buffer)
13863 (font-lock-default-fontify-region)
13864 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13865
b3fd59bd
SM
13866 * progmodes/compile.el (compilation-error-properties):
13867 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13868 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13869 `ant' regexp.
ee31aabc 13870
a3f2468a
CY
13871 * net/browse-url.el (browse-url-firefox): Don't call
13872 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13873
8e999f70
GM
138742011-08-20 Glenn Morris <rgm@gnu.org>
13875
c21a496a
GM
13876 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13877
59ee0542
GM
13878 * tutorial.el (tutorial--default-keys): Update some default bindings.
13879
8e999f70
GM
13880 * files.el (hack-local-variables): Fully ignore case for "mode:".
13881
e3715033
AM
138822011-08-20 Alan Mackenzie <acm@muc.de>
13883
13884 Resolve invalid use of a regexp in regexp-opt.
13885
4d61f28d
JB
13886 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13887 detection for a java annotation.
e3715033 13888
4d61f28d 13889 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13890 detection for a java annotation.
13891
4d61f28d
JB
13892 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13893 handling for java.
e3715033
AM
13894 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13895
04ed2e9c
CY
138962011-08-20 Chong Yidong <cyd@stupidchicken.com>
13897
13898 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13899 (Bug#9274).
13900
826cee64
AM
139012011-08-20 Alan Mackenzie <acm@muc.de>
13902
58179cce 13903 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13904 such a construct. Mainly for when jit-lock etc. starts a chunk
13905 here.
13906
58179cce 13907 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13908 variable.
58179cce 13909 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13910 c-make-font-lock-search-function.
13911 (c-make-font-lock-search-function): Use the above function.
13912 (c-make-font-lock-context-search-function): New function.
13913 (c-cpp-matchers): Enhance the preprocessor expression case with
13914 the above function
13915 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13916 which takes an expression.
13917
13918 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13919
13009bd8
MR
139202011-08-20 Martin Rudalics <rudalics@gmx.at>
13921
13922 * window.el (display-buffer-reuse-window)
13923 (display-buffer-pop-up-window): Don't reuse or split a side
13924 window.
13925
9234ff7f
GM
139262011-08-19 Glenn Morris <rgm@gnu.org>
13927
13928 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13929 Downcase "Mode:". (Bug#9331)
9234ff7f 13930
f635daa1
CY
139312011-08-18 Chong Yidong <cyd@stupidchicken.com>
13932
13933 * international/characters.el: Add L and R categories.
13934
13935 * subr.el (bidi-string-mark-left-to-right): Rename from
13936 string-mark-left-to-right. Use category search.
13937
13938 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13939
bc987f8b
JL
139402011-08-18 Juri Linkov <juri@jurta.org>
13941
13942 * faces.el (error, warning, success): New faces with definitions
13943 copied from old default values of `font-lock-warning-face',
13944 `compilation-warning', `compilation-info' (bug#6117).
13945
13946 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13947
13948 * progmodes/compile.el (compilation-error): Inherit from `error'.
13949 (compilation-warning): Inherit from `warning'.
13950 (compilation-info): Inherit from `success'.
13951
13952 * dired.el (dired-marked): Inherit from `warning'.
13953 (dired-flagged): Inherit from `error'.
13954
57173b96
LMI
139552011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13956
3e79eb87
LMI
13957 * mail/smtpmail.el (auth-source): Require to avoid problems with
13958 binding variables (bug#9298). Also clean up some unused
13959 autoloads.
13960
b3fd59bd
SM
13961 * net/network-stream.el (network-stream-open-starttls):
13962 Support using starttls.el without using gnutls-cli.
57173b96 13963
02b404de
JL
139642011-08-17 Juri Linkov <juri@jurta.org>
13965
13966 * progmodes/grep.el (rgrep): Handle the case when
13967 `grep-find-command' is a cons cell (bug#9278).
13968
8c9177f2
MR
139692011-08-17 Martin Rudalics <rudalics@gmx.at>
13970
13971 * window.el (display-buffer-pop-up-frame): Run frame creation
13972 function with BUFFER current (as special-display-popup-frame
13973 does). Reported by Drew Adams.
13974
3644a0ab
DU
139752011-08-17 Daiki Ueno <ueno@unixuser.org>
13976
13977 * epa-mail.el: Simplify GnuPG group expansion using
13978 epg-expand-group.
13979 (epa-mail-group-alist, epa-mail-group-modtime)
13980 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13981 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13982 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13983 Remove.
13984
5e617bc2 139852011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13986
13987 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13988
9c4aeabf
AM
139892011-08-16 Alan Mackenzie <acm@muc.de>
13990
13991 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13992 Correct, to avoid the inside of macros.
13993
3a99bf64
RS
139942011-08-16 Richard Stallman <rms@gnu.org>
13995
04963aa8
RS
13996 * epa-mail.el: Handle GnuPG group definitions.
13997 (epa-mail-group-alist, epa-mail-group-modtime)
13998 (epa-mail-gnupg-conf-file): New variables.
13999 (epa-mail-parse-groups, epa-mail-sync-groups)
14000 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14001 (epa-mail-expand-recipients): New functions.
14002 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14003
177549d0
RS
14004 * mail/rmail.el (rmail-epa-decrypt): New command.
14005
fe38beef
RS
14006 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14007 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14008 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14009 (epa-decrypt-armor-in-region): Make error message clearer.
14010
934eacb9
SM
140112011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14012
14013 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14014 and "a2b" to "ab" for `prefix'.
14015
d024fb4e
CY
140162011-08-14 Chong Yidong <cyd@stupidchicken.com>
14017
14018 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14019 filter groups.
de148fee
CY
14020 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14021 Fourquet (Bug#8804).
d024fb4e 14022
62f1ca49
JB
140232011-08-12 Juanma Barranquero <lekktu@gmail.com>
14024
14025 * startup.el (argi): Declare as global variable (bug#9275).
14026
9ccaaa4b
CY
140272011-08-12 Chong Yidong <cyd@stupidchicken.com>
14028
14029 * subr.el (string-mark-left-to-right): Search the entire string
14030 for RTL script, not just the terminating character. Doc fix.
14031
a3dae87a
SM
140322011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14033
6cd18349
SM
14034 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14035 New function.
14036 (js--regexp-literal, js-syntax-propertize-function): Remove.
14037 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14038 (js-mode-map): Don't rebind electric keys.
14039 (js-insert-and-indent): Remove.
14040 (js-mode): Setup electric-layout and electric-indent instead.
14041
a3dae87a
SM
14042 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14043
9d5cb631
DU
140442011-08-12 Daiki Ueno <ueno@unixuser.org>
14045
14046 * epa.el (epa-progress-callback-function): Fix the logic of
14047 displaying progress.
14048 * epa-file.el (epa-file-insert-file-contents): Make progress
14049 display more user-friendly.
14050 (epa-file-write-region): Ditto.
14051
3e26a4a2
CY
140522011-08-10 Chong Yidong <cyd@stupidchicken.com>
14053
14054 * subr.el (string-mark-left-to-right): New function.
14055
14056 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14057 Use string-mark-left-to-right.
14058 (list-buffers-noselect): Caller changed.
14059
a3dae87a
SM
14060 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14061 Use string-mark-left-to-right.
3e26a4a2
CY
14062 (tabulated-list-print): Recenter after moving point.
14063
ac8cf6e6
JL
140642011-08-10 Juri Linkov <juri@jurta.org>
14065
14066 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14067 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14068 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14069
8d96c9a4
CY
140702011-08-09 Chong Yidong <cyd@stupidchicken.com>
14071
14072 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14073 (Bug#7554).
14074
7be1c708 140752011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14076
14077 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14078 character. (Bug#6594)
14079
37e11a63
CY
140802011-08-08 Chong Yidong <cyd@stupidchicken.com>
14081
839dde57
CY
14082 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14083 (image-dired--with-db-file): New macro.
14084 (image-dired-write-tags, image-dired-remove-tag)
14085 (image-dired-create-gallery-lists, image-dired-write-comments)
14086 (image-dired-get-comment, image-dired-mark-tagged-files)
14087 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14088 (image-dired-gallery-generate): Use insert-file-contents.
14089
37e11a63
CY
14090 * time.el (display-time-world-list, display-time-world-display):
14091 * time-stamp.el (time-stamp-string):
14092 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14093 set-time-zone-rule (Bug#7337).
14094
0b4946c4
DU
140952011-08-08 Daiki Ueno <ueno@unixuser.org>
14096
14097 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14098 (epg-error-to-string, epg-errors-to-string): New function.
14099 (epg-wait-for-completion): Reverse errors list.
14100 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14101 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14102 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14103 (epg-sign-keys, epg-generate-key-from-file)
14104 (epg-generate-key-from-string): Format errors by using
14105 epg-errors-to-string (bug#9255).
14106 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14107
75bfc667
JL
141082011-08-07 Juri Linkov <juri@jurta.org>
14109
14110 * faces.el (list-faces-display): Remove extra angle bracket
14111 from `help-mode-map'.
14112
14113 * info.el (Info-history-toc-nodes): Doc fix.
14114
14115 * longlines.el (longlines-mode): Doc fix.
14116
673e08bb
SM
141172011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14118
4640dd88
SM
14119 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14120 of statements and in a few more cases (bug#9183).
14121
673e08bb
SM
14122 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14123 New functions.
14124 (cl-transform-lambda): Use them (bug#9239).
14125
89b3f019
MR
141262011-08-05 Martin Rudalics <rudalics@gmx.at>
14127
14128 * window.el (display-buffer-same-window)
14129 (display-buffer-same-frame, display-buffer-other-window)
14130 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14131 (pop-to-buffer-other-window)
14132 (pop-to-buffer-same-frame-other-window)
14133 (pop-to-buffer-other-frame): Make them defuns.
14134 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14135
640c8776
SM
141362011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14137
14138 * subr.el (make-composed-keymap): Move from C. Change calling
14139 convention, and improve docstring to bring attention to a subtle point.
14140 * minibuffer.el (completing-read-default): Adjust accordingly.
14141
63648a95
MA
141422011-08-03 Michael Albinus <michael.albinus@gmx.de>
14143
14144 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14145 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14146
14147 * net/trampver.el: Update release number.
14148
b796c9b7
SM
141492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14150
14151 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14152 "in" (bug#9190).
14153
2239d7d5
LMI
141542011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14155
e07dd7c3
LMI
14156 * mail/sendmail.el (sendmail-query-once): Restore the current
14157 buffer after querying (bug#9074).
14158
0e6a2bd7
LMI
14159 * dired.el (dired-flagged): Use different faces for marked and
14160 flagged files (bug#6117).
14161
ce887515
LMI
14162 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14163 (bug#4433).
14164
92f2affc
LMI
14165 * ido.el (ido-mode): Switch off the message if called
14166 non-interactively.
14167
57d5aff0
LMI
14168 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14169 before 587, since it appears that that's more likely to work for
14170 more people.
14171
98cd6c18 14172 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14173 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14174 exist.
14175
b96dec83
LMI
14176 * info.el: Remove the `Info-beginning-of-buffer' function
14177 (bug#8325).
14178
b796c9b7
SM
14179 * net/network-stream.el (network-stream-open-starttls):
14180 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14181
d90e2ea0
MR
141822011-08-01 Martin Rudalics <rudalics@gmx.at>
14183
14184 * window.el (display-buffer-in-window): Don't set dedicated status
14185 of window here (Bug#9215).
14186 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14187 (display-buffer-pop-up-side-window)
b796c9b7 14188 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14189
cca09170
SM
141902011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14193 before binding generated-autoload-file.
14194
027b979c
DD
141952011-08-01 Deniz Dogan <deniz@dogan.se>
14196
14197 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14198
3c7ee4f3
MA
141992011-07-30 Michael Albinus <michael.albinus@gmx.de>
14200
14201 Sync with Tramp 2.2.2.
14202
14203 * net/trampver.el: Update release number.
14204
2cc8e51a
JL
142052011-07-30 Juri Linkov <juri@jurta.org>
14206
14207 * dired-aux.el (dired-touch-initial): Remove function.
14208 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14209 current time, and `default' to the last modification time of the
14210 current marked file (bug#6887).
14211
a514d856
JM
142122011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14213
14214 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14215 numeric argument to read-number (bug#9163).
a514d856 14216
8a7eddd7
MA
142172011-07-27 Michael Albinus <michael.albinus@gmx.de>
14218
14219 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14220 connection process, it could be nil.
14221
1ddd96f5
LL
142222011-07-27 Leo Liu <sdl.web@gmail.com>
14223
14224 Simplify url handling in rcirc-mode.
14225
14226 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14227 (rcirc-browse-url-at-mouse): Remove.
14228 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14229
b248a85d
AM
142302011-07-26 Alan Mackenzie <acm@muc.de>
14231
14232 Fontify bitfield declarations properly.
14233
14234 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14235 (c-symbol-chars): Now exported as a lang variable.
14236 (c-not-primitive-type-keywords): New lang variable.
14237
14238 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14239 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14240 parsed as a bitfield declaration.
b248a85d 14241
b796c9b7
SM
14242 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14243 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14244 (c-punctuation-in): New function.
14245 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14246 declarations properly.
14247
68575ab0
UJ
142482011-07-26 Ulf Jasper <ulf.jasper@web.de>
14249
14250 * calendar/icalendar.el (icalendar--all-events): Take care of
14251 multiple vcalendars in a single file.
b796c9b7 14252 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14253
0f0a88b9
DD
142542011-07-25 Deniz Dogan <deniz@dogan.se>
14255
14256 * image.el (insert-image): Clarifying docstring.
14257
0b3f36df
MA
142582011-07-24 Michael Albinus <michael.albinus@gmx.de>
14259
14260 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14261 `tramp-send-command-and-check' if there is no error.
14262 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14263
a9901f61
AM
142642011-07-22 Alan Mackenzie <acm@muc.de>
14265
14266 Prevent cc-langs.elc being loaded at run time.
14267
14268 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14269 cc-langs.
14270
4d61f28d 14271 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14272 "(require 'cc-langs)". Quote a form so it will evaluate at
14273 (cc-mode's) compilation time.
14274
11d074b2
MA
142752011-07-22 Michael Albinus <michael.albinus@gmx.de>
14276
14277 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14278 loading. (Bug#9114)
14279
938b94c8
MR
142802011-07-21 Martin Rudalics <rudalics@gmx.at>
14281
14282 * window.el (display-buffer-pop-up-window)
14283 (display-buffer-pop-up-side-window)
14284 (display-buffer-in-side-window): Call display-buffer-set-height
14285 and display-buffer-set-width after setting the new window's
b796c9b7 14286 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14287
bfa4f190
SS
142882011-07-20 Sam Steingold <sds@gnu.org>
14289
14290 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14291 (etags-tags-included-tables): Call `convert-standard-filename' on
14292 the file names contained in TAGS so that windows Emacs can handle
14293 TAGS files created by cygwin ctags.
14294
8ca42262
LMI
142952011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14296
14297 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14298 which apparently didn't work.
14299
5db2afd2 143002011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14301
5db2afd2
RW
14302 * proced.el (proced-send-signal): For *Marked Processes* buffer
14303 put point at beginning of buffer.
14304
92e15d10
SB
143052011-07-19 Stephen Berman <stephen.berman@gmx.net>
14306
14307 * proced.el (proced-format): Make header lines align with the text
14308 (bug#1779).
14309
1bfd59e5
LMI
143102011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14311
14312 * view.el (view-buffer): Allow running in `special' modes if we're
14313 visiting a file (bug#8615).
14314
f5aae37c
MR
143152011-07-19 Martin Rudalics <rudalics@gmx.at>
14316
14317 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14318 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14319 New functions.
f5aae37c
MR
14320 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14321 more accurately.
14322
bf2c1571
AM
143232011-07-18 Alan Mackenzie <acm@muc.de>
14324
14325 Fontify declarators properly when, e.g., a jit-lock chunk begins
14326 inside a declaration.
14327
14328 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14329
b796c9b7
SM
14330 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14331 New function.
bf2c1571
AM
14332 (c-complex-decl-matchers): Insert reference to
14333 c-font-lock-enclosing-decls.
14334
14335 * progmodes/cc-engine.el (c-backward-single-comment):
14336 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14337 to nil around calls to (forward-comment -1).
14338
4e190b80
LMI
143392011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14340
12dc863d
LMI
14341 * image.el (put-image): Doc typo fix.
14342
a762e966
LMI
14343 * progmodes/etags.el (tags-search): Doc typo fix.
14344
4e190b80
LMI
14345 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14346 password if we get errors 550 to 554.
14347
f019fb21
LMI
143482011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14349
b796c9b7 14350 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14351
81746738
LMI
14352 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14353 indentation character (bug#6380).
14354
3ee3a1b5
LMI
14355 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14356
c82f64de
LMI
14357 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14358 to clarify what the problem is (bug#4291).
14359
f019fb21
LMI
14360 * simple.el (current-kill): Clarify what
14361 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14362 (auto-fill-mode): Document `auto-fill-function' in relation to
14363 `auto-fill-mode' (bug#2470).
f019fb21 14364
0794775d
LM
143652011-07-16 Lawrence Mitchell <wence@gmx.li>
14366
14367 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14368 method if slot is read-only (bug#9035).
14369
be39b8cc
MR
143702011-07-16 Martin Rudalics <rudalics@gmx.at>
14371
b796c9b7 14372 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14373 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14374 selected before, see discussion of (Bug#8615), (Bug#6954).
14375 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14376
6ccf7859
GM
143772011-07-15 Glenn Morris <rgm@gnu.org>
14378
14379 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14380 Respect help-form.
6ccf7859 14381
87e86684
LM
143822011-07-09 Lawrence Mitchell <wence@gmx.li>
14383
14384 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14385 (gnutls-negotiate): Use it.
14386
d6066239
LMI
143872011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14388
b796c9b7
SM
14389 * net/gnutls.el (gnutls-negotiate):
14390 Upcase `gnutls-algorithm-priority'.
d6066239 14391
bd23ebc0
GM
143922011-07-15 Glenn Morris <rgm@gnu.org>
14393
c65bca65
GM
14394 * jka-compr.el (jka-compr-verbose): Move from here...
14395 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14396 Add missing :version tag.
14397 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14398
478615cc
LMI
143992011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14400
7b41decb
LMI
14401 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14402 (gnutls-negotiate): Use it.
14403
dbc44fcd
LMI
14404 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14405
06789f97
LMI
14406 * info.el (Info-beginning-of-buffer): New command.
14407 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14408 announcing `b' as the key (bug#8325).
ab896c37 14409 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14410
c39da690
LMI
14411 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14412
3aa5f34b
LMI
14413 * international/mule-cmds.el
14414 (describe-specified-language-support): Make the error message
14415 clearer (bug#8905).
14416
4bf0979f
LMI
14417 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14418
478615cc
LMI
14419 * isearch.el (isearch-barrier): Add a doc string, since it's
14420 mentioned in a function doc string (bug#8678).
14421
75c68aa1
MR
144222011-07-15 Martin Rudalics <rudalics@gmx.at>
14423
14424 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14425 buffer argument (Bug#9083) and self-identifying label argument.
14426
a7c33da2
GM
144272011-07-15 Glenn Morris <rgm@gnu.org>
14428
14429 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14430
2f5c6024
LMI
144312011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14432
14433 * man.el (Man-fontify-manpage): Fix message when formatting the
14434 man page (bug#7929).
14435
0bb23927 144362011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14437
14438 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14439 argument LRM; if non-nil, append an invisible LRM character to the
14440 buffer name.
14441 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14442 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14443 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14444 paragraph direction.
cce4b0a7 14445
621ef9ab
LMI
144462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14447
d1583c48
LMI
14448 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14449 the man page name (bug#7929).
14450
6a57fb5f
LMI
14451 * image.el (put-image): Mention the `put-image' overlay property
14452 (bug#7834).
14453
d7956b14
LMI
14454 * scroll-bar.el (set-scroll-bar-mode): Mention that
14455 `scroll-bar-mode' lists the values (bug#7772).
14456
5b2d4a66
LMI
14457 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14458 command (bug#7729).
14459
7509a874
LMI
14460 * rect.el (apply-on-rectangle): Return the point after the last
14461 operation.
14462 (string-rectangle): Go to the point after the last operation
14463 (bug#7522).
14464
4fe74b19
LMI
14465 * printing.el (pr-toggle-region): Clarify the documentation
14466 slightly (bug#7493).
14467
b796c9b7
SM
14468 * time.el (display-time-update):
14469 Allow `display-time-mail-function' to return nil (bug#7158).
14470 Fix suggested by Detlev Zundel.
ab283561 14471
fc233c9d
LMI
14472 * vc/diff.el (diff): Clarify the order the file names are read
14473 (bug#7111).
14474
43f5740b
LMI
14475 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14476 the doc string (bug#7015).
14477
f2182a76
LMI
14478 * font-lock.el (font-lock-maximum-decoration): Mention what
14479 numeric levels mean (bug#6935).
14480
621ef9ab
LMI
14481 * startup.el (initial-buffer-choice): Don't mention the `none'
14482 selection, which is against policy.
14483
adc47434
MR
144842011-07-14 Martin Rudalics <rudalics@gmx.at>
14485
b796c9b7
SM
14486 * window.el (display-buffer-normalize-special):
14487 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14488
7e5bfb8f
EZ
144892011-07-14 Eli Zaretskii <eliz@gnu.org>
14490
14491 * subr.el (version<, version<=, version=): Mention "-CVS" and
14492 "-12345" alpha version numbers.
14493
27fa387a
CY
144942011-07-14 Chong Yidong <cyd@stupidchicken.com>
14495
14496 * bindings.el: Add advertised binding for set-mark-command
14497 (Bug#5772).
14498
8bdfa064
CY
144992011-07-14 Chong Yidong <cyd@stupidchicken.com>
14500
14501 * bindings.el (mode-line-other-buffer):
14502 * bookmark.el (bookmark-bmenu-2-window):
14503 * bs.el (bs-cycle-next, bs-cycle-previous):
14504 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14505 switch-to-buffer.
14506
14507 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14508 Delete.
8bdfa064 14509
5eba16a3
JB
145102011-07-14 Juanma Barranquero <lekktu@gmail.com>
14511
14512 * follow.el (follow-debug-message, follow-redisplay):
14513 * jka-cmpr-hook.el (with-auto-compression-mode):
14514 Fix typos in docstrings.
14515
15853710
LMI
145162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14517
a28e4607
LMI
14518 * subr.el (with-silent-modifications): Clarify somewhat what the
14519 macro inhibits (bug#6525).
14520
15853710
LMI
14521 * simple.el (eval-expression): Note what it does if called
14522 interactively (bug#6495).
14523
bee0fcef
CY
145242011-07-13 Chong Yidong <cyd@stupidchicken.com>
14525
b796c9b7
SM
14526 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14527 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14528
14529 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14530 Remove switch-to-buffer.
14531
58274504
LMI
145322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14533
bd2fcc8d
LMI
14534 * files.el (make-directory): Clarify that an error will be raised
14535 if there's an error (bug#6397).
14536
0f04b32c
LMI
14537 * startup.el (initial-buffer-choice): Add `none' as a choice
14538 (bug#6234).
14539
465c5fc8
LMI
14540 * subr.el (add-hook): Clarify section about buffer-local hooks
14541 (bug#6218).
14542
58274504
LMI
14543 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14544
bead9a43
JB
145452011-07-13 Juanma Barranquero <lekktu@gmail.com>
14546
14547 * tabify.el (untabify): Preserve the current column so that point
14548 doesn't move (bug#6032).
14549
3af98a7b
LMI
145502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14551
b796c9b7
SM
14552 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14553 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14554
6240145a
GM
145552011-07-13 Glenn Morris <rgm@gnu.org>
14556
14557 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14558 (dired-insert-directory): Give a message the first time
14559 if ls is found not to support --dired.
14560
1d8c2ccc
LMI
145612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14562
14563 * simple.el (toggle-truncate-lines): Clarify what is toggled
14564 (bug#5580). Text by Drew Adams.
14565
5fc4038e
CY
145662011-07-13 Chong Yidong <cyd@stupidchicken.com>
14567
14568 * simple.el (blink-matching-open): Make the error message from the
14569 last change less verbose.
14570
bf6012e5
DN
145712011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14572
14573 * font-lock.el (font-lock-comment-face): Use the high contrast
14574 "yellow" color for font-lock-comment-face on low color terminals
14575 using a dark background color (bug#4221).
14576
343c3b5a
LMI
145772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14578
7e9505c5
LMI
14579 * dired.el (dired-insert-set-properties): Make the doc string
14580 reflect what it does now (bug#5325).
14581
c26fdcf5
LMI
14582 * simple.el (blink-matching-open): Say that we were unable to find
14583 the match within the limit, if we're limited (bug#5122).
14584
bb388cc5
LMI
14585 * international/mule-cmds.el (prefer-coding-system): Add an
14586 example (bug#4869).
14587
343c3b5a
LMI
14588 * progmodes/etags.el (tags-search): Document `file-list-form'
14589 (bug#4731).
14590
2a517d45
LM
145912011-07-13 Lawrence Mitchell <wence@gmx.li>
14592
14593 * net/browse-url.el (browse-url-default-browser)
14594 (browse-url-browser-function): Make the default browser choice a
14595 bit more logical (bug#4300). Also clean up the doc string.
14596
b6c78ef2
JB
145972011-07-13 Juanma Barranquero <lekktu@gmail.com>
14598
14599 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14600 binary endings (bug#4440).
14601
1c4dd947
LMI
146022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14603
a2014063
LMI
14604 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14605 which can be pretty annoying (bug#8971).
14606
9c9c2d88
LMI
14607 * jka-compr.el (jka-compr-verbose): New variable, and use
14608 throughout (bug#8971).
14609
1c4dd947
LMI
14610 * info.el (Info-find-file): Fall back on the installation
14611 directory if we can't find the info node anywhere else.
14612
a1c9f41b
SO
146132011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14614
14615 * vc/vc.el (vc-revert-file):
14616 Don't set file time-stamp in the past. (Bug#5181)
14617
536f3d36
LMI
146182011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14619
7152b011
LMI
14620 * files.el (after-find-file): Give a better error message when
14621 trying to find a symlink that points to a file that doesn't exist
14622 (bug#4398).
14623
536f3d36
LMI
14624 * progmodes/cc-vars.el: Remove (probably) misleading comment
14625 (bug#4396).
14626
460c0fba
JB
146272011-07-12 Johan Bockgård <bojohan@gnu.org>
14628
14629 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14630
7a6bda45
CY
146312011-07-12 Chong Yidong <cyd@stupidchicken.com>
14632
14633 * mouse-sel.el: Hack restoring functionality, while keeping
14634 compatibility with 2010-07-03 changes to mouse selection.
14635 (mouse-sel-primary-overlay): New var.
14636 (mouse-sel-selection-alist): Use it.
14637 (mouse-sel-mode): Doc fix; remove points that are default features
14638 of mouse.el.
14639
c79598ef
JB
146402011-07-12 Johan Bockgård <bojohan@gnu.org>
14641
14642 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14643 Fix previous fix (bug#2490).
14644
ff8be6ef
RW
146452011-07-12 Roland Winkler <winkler@gnu.org>
14646
b796c9b7
SM
14647 * textmodes/bibtex.el (bibtex-initialize):
14648 Use pop-to-buffer-same-window.
ff8be6ef
RW
14649 (bibtex-search-entries): Fix interactive call.
14650
296ba3ee
LMI
146512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14652
f5242a02 14653 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14654 Fontise bytecomp Error lines more correctly (bug#2490).
14655 Fix suggested by Johan Bockgård.
f5242a02 14656
296ba3ee
LMI
14657 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14658
14659 * dired-x.el (dired-guess-default): Use `delete-dups'.
14660
f69fd0d2
CY
146612011-07-12 Chong Yidong <cyd@stupidchicken.com>
14662
14663 * dired.el (dired-mark-prompt):
14664 * dired-aux.el (dired-read-shell-command): Doc fix.
14665
eab5dc07
LMI
146662011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14667
b796c9b7
SM
14668 * mail/sendmail.el (sendmail-query-once):
14669 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14670 emacs -Q.
14671
14672 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14673
eab5dc07
LMI
14674 * cus-edit.el (custom-file): Take an optional no-error variable.
14675 (customize-save-variable): Set the variable, and give a warning if
14676 running under "emacs -q".
14677
a1e65d42
JB
146782011-07-11 Juanma Barranquero <lekktu@gmail.com>
14679
14680 * loadhist.el (unload-feature-special-hooks):
14681 Add `auto-coding-functions', `fill-nobreak-predicate' and
14682 `find-directory-functions' (bug#5327).
14683
1d52da10
LMI
146842011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14685
be958f1d
LMI
14686 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14687
5bedb26c
LMI
14688 * cus-edit.el (custom-guess-name-alist): -alist variables should
14689 use the `alist' type (bug#3120). Suggested by Drew Adams.
14690
1d52da10
LMI
14691 * printing.el: Add documentation to all the `pr-toggle-' commands.
14692
cd394be1 146932011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14694
14695 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14696 backends where it makes sense (bug#2623).
14697
dcc88d8a
LMI
146982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14699
c3de9feb
LMI
14700 * dired-x.el (dired-guess-default): Remove duplicate shell command
14701 entries (bug#2028).
8a93078b 14702 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14703 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14704
dcc88d8a
LMI
14705 * subr.el (remove-duplicates): New conveniency function.
14706
505e3645
LMI
147072011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14708
14709 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14710 (bug#1526).
14711
147122011-07-10 Martin Rudalics <rudalics@gmx.at>
14713
14714 * window.el (display-buffer-normalize-default): Don't invert
14715 meaning of even-window-heights. Reported by Eli Zaretskii
14716 <eliz@gnu.org>.
14717
455e4fa1
BR
147182011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14719
14720 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14721
8e0bc3e9
CY
147222011-07-10 Chong Yidong <cyd@stupidchicken.com>
14723
14724 * window.el (display-buffer): Fix arguments to
14725 display-buffer-reuse-window in last change.
14726
fa7c3228
CY
14727 * faces.el (link): Use a less saturated blue on light backgrounds.
14728
14729 * startup.el (fancy-startup-text, fancy-about-text)
14730 (fancy-startup-tail): Use font-lock faces, for background safety.
14731
c0a7f300
BN
147322011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14733
b796c9b7
SM
14734 * emulation/viper-cmd.el (viper-change-state-to-vi):
14735 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14736
4dc2a129
MR
147372011-07-09 Martin Rudalics <rudalics@gmx.at>
14738
14739 * window.el (display-buffer-default-specifiers): Remove.
14740 (display-buffer-macro-specifiers): Remove default specifiers.
14741 (display-buffer-alist): Default to nil.
b796c9b7 14742 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14743 (display-buffer-pop-up-window): Allow splitting internal
14744 windows. Check whether a live window was created.
14745 (display-buffer-other-window-means-other-frame)
14746 (display-buffer-normalize-arguments): Rename to
14747 display-buffer-normalize-argument and rewrite. Set the
14748 other-window specifier.
14749 (display-buffer-normalize-special): New function.
14750 (display-buffer-normalize-options): Rename to
14751 display-buffer-normalize-default and rewrite.
14752 (display-buffer-normalize-options-inhibit): Remove.
14753 (display-buffer-normalize-specifiers): Rewrite.
14754 (display-buffer): Process other-window specifier and call
14755 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14756 more faithfully.
b796c9b7 14757 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14758 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14759 (display-buffer-in-window, display-buffer-alist-set):
14760 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14761 <tassilo@member.fsf.org>.
14762
2d43b8c9
LL
147632011-07-09 Leo Liu <sdl.web@gmail.com>
14764
14765 * register.el (insert-register): Restore accidental change on
14766 2011-06-26. (Bug#9028)
14767
7f9b7c53
GM
147682011-07-09 Glenn Morris <rgm@gnu.org>
14769
14770 * subr.el (remq): Handle the empty list. (Bug#9024)
14771
f042cfd8
AS
147722011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14773
14774 * mail/sendmail.el (send-mail-function): No longer delay custom
14775 initialization.
14776 * custom.el (custom-initialize-delay): Doc fix.
14777
856b2f11
SM
147782011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14779
14780 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14781
afae1d68
MA
147822011-07-08 Michael Albinus <michael.albinus@gmx.de>
14783
14784 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14785 human-friendly prompt.
14786
0757af94
SM
147872011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14788
14789 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14790 provided by a particular plugin.
14791
d760b731
LMI
147922011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14793
14794 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14795 save customizations (with "emacs -Q"), just set the variable
14796 instead of erroring out.
14797
14798 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14799
cd79ce90
JL
148002011-07-08 Juri Linkov <juri@jurta.org>
14801
14802 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14803 (archive-zip-update-case): Use 7z if found by `executable-find'.
14804 The order of searching the available programs is the same as in
14805 `archive-zip-extract' (bug#8968).
14806
14cc04aa
CY
148072011-07-07 Chong Yidong <cyd@stupidchicken.com>
14808
14809 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14810 (menu-bar-options-menu): Tweak descriptions.
14811
0a1848ec
LMI
148122011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14813
14814 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14815 menu items into verb phrases (bug#1421). Also refill to fit under
14816 80 columns.
14817
f5bd0689
CY
148182011-07-07 Chong Yidong <cyd@stupidchicken.com>
14819
538e85c6
CY
14820 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14821 (Info-read-node-name): Doc fix (Bug#1084).
14822
f5bd0689
CY
14823 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14824 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14825 (end-of-sexp, beginning-of-sexp)
14826 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14827 (forward-symbol, forward-same-syntax, word-at-point)
14828 (sentence-at-point): Doc fix (Bug#1144).
14829
56ec5115
LMI
148302011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14831
f3f8e37f
LMI
14832 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14833 should cover it (bug#1281).
14834
0757af94 14835 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14836
e9fce1ac 14837 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14838 negotiation fails, then possibly try again with a non-encrypted
14839 connection (bug#9017).
14840
56ec5115
LMI
14841 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14842 be used.
14843
c2f9aec8
RS
148442011-07-07 Richard Stallman <rms@gnu.org>
14845
14846 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14847 property, and handle its changed format.
14848 Look for the correct line number.
14849 Use file's line contents (but not past first =) to find
14850 correct line in message.
14851
ef7b981d 148522011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14853
14854 * international/characters.el (build-unicode-category-table):
14855 Delete it.
0757af94 14856 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14857
0757af94 14858 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14859 to src/chartab.c.
14860 (get-char-code-property): Call unicode-property-table-internal to
14861 load a file. Call get-unicode-property-internal where necessary.
14862 (put-char-code-property): Call unicode-property-table-internal to
14863 load a file. Call put-unicode-property-internal where necessary.
14864 put-unicode-property-internal where necessary.
0757af94
SM
14865 (char-code-property-description):
14866 Call unicode-property-table-internal to load a file.
c805dec0
KH
14867
14868 * international/charprop.el:
14869 * international/uni-bidi.el:
14870 * international/uni-category.el:
14871 * international/uni-combining.el:
14872 * international/uni-comment.el:
14873 * international/uni-decimal.el:
14874 * international/uni-decomposition.el:
14875 * international/uni-digit.el:
14876 * international/uni-lowercase.el:
14877 * international/uni-mirrored.el:
14878 * international/uni-name.el:
14879 * international/uni-numeric.el:
14880 * international/uni-old-name.el:
14881 * international/uni-titlecase.el:
14882 * international/uni-uppercase.el: Regenerate.
14883
14884 * loadup.el: Load international/charprop.el before
14885 international/characters.
14886
e14b388a
CY
148872011-07-07 Chong Yidong <cyd@stupidchicken.com>
14888
14889 * window.el (next-buffer, previous-buffer): Signal an error if
14890 called from a minibuffer window.
14891
14892 * bindings.el: Revert 2011-07-04 change.
14893
354cf0ba
RS
148942011-07-06 Richard Stallman <rms@gnu.org>
14895
14896 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14897 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14898 Treat markers like ints.
14899 (rmail-mime-entity): Doc fix.
14900
a48868a7
LMI
149012011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14902
4906cd3d
LMI
14903 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14904 defcustom again for backwards compatibility.
14905
e0457abe
LMI
14906 * simple.el (shell-command-on-region): Fill.
14907
d67f7e1f
LMI
14908 * dired-aux.el (dired-kill-line): Add a doc string.
14909
fe204702
LMI
14910 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14911 to "\\sw\\|\\s_" (bug#358).
14912
a48868a7
LMI
14913 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14914 (dired-unmark-backward): Ditto.
14915 (dired-flag-backup-files): Ditto.
14916
14917 * dired-x.el (dired-mark-sexp): Ditto.
14918
aa8a705c
RS
149192011-07-06 Richard Stallman <rms@gnu.org>
14920
14921 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14922 (rmail-mime-entity): New arg TRUNCATED.
14923 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14924 New functions.
14925 (rmail-mime-save): Warn if entity is truncated.
14926 (rmail-mime-toggle-hidden): Likewise, for showing.
14927 (rmail-mime-process-multipart): Record when an entity is truncated.
14928
a9a936b9
RS
14929 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14930 if ENTITY is a string.
14931
1f2b92cb
LMI
149322011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14933
f4f73198 14934 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14935 of faces when `M-C-x'-ing their definitions (bug#8378).
14936 Also clean up the code slightly.
f4f73198 14937
12b16734 14938 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14939 because that makes the colors go away.
12b16734 14940
f0691d22
LMI
14941 * mail/sendmail.el (send-mail-function): Change the default to
14942 `sendmail-query-once'.
9e87df06 14943 (sendmail-query-once): Add an autoload cookie.
f0691d22 14944
1f2b92cb
LMI
14945 * net/network-stream.el (network-stream-open-starttls): Try using
14946 a plain connection even if the server offered STARTTLS, and we
14947 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14948 capability. This should make smtpmail.el work in slightly more
14949 configurations.
14950
1cdd2a1b
MA
149512011-07-06 Michael Albinus <michael.albinus@gmx.de>
14952
14953 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14954 New defun.
14955 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14956
fbcc67e2
MM
149572011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14958
14959 * progmodes/sql.el: Version 3.0
0757af94 14960 (sql-product-alist): Add product :completion-object,
fbcc67e2 14961 :completion-column, and :statement attributes.
0757af94 14962 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14963 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14964 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14965 ansi keywords.
14966 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14967 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14968 (sql-oracle-show-reserved-words): New function for development.
14969 (sql-product-font-lock): Simplify for source code buffers.
14970 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14971 New functions.
14972 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14973 (sql-mode-map): Add statement movement functions.
14974 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14975 New variable.
fbcc67e2
MM
14976 (sql-statement-regexp, sql-beginning-of-statement)
14977 (sql-end-of-statement, sql-signum): New functions.
0757af94 14978 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14979 (sql-show-sqli-buffer): Bug fix.
14980 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14981 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14982 with sql-interactive-mode.
14983 (sql-save-connection): Save buffer local settings.
0757af94 14984 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14985 (sql-product-interactive): Bug fix.
14986 (sql-preoutput-hold): New variable.
14987 (sql-interactive-remove-continuation-prompt): Bug fixes.
14988 (sql-debug-redirect): New variable.
14989 (sql-str-literal): New function.
14990 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14991 Redesign.
fbcc67e2
MM
14992 (sql-oracle-save-settings, sql-oracle-restore-settings)
14993 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14994 (sql-completion-object, sql-completion-column)
14995 (sql-completion-sqlbuf): New variables.
14996 (sql-build-completions-1, sql-build-completions)
14997 (sql-try-completion): New functions.
14998 (sql-read-table-name): Use them.
14999 (sql-contains-names): New buffer local variable.
15000 (sql-list-all, sql-list-table): Use it.
15001 (sql-oracle-completion-types): New variable.
15002 (sql-oracle-completion-object, sql-sqlite-completion-object)
15003 (sql-postgres-completion-object): New functions.
15004
d4eaeab1
GM
150052011-07-06 Glenn Morris <rgm@gnu.org>
15006
15007 * window.el (pop-to-buffer): Doc fix.
15008
322b7dab 150092011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15010
15011 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15012
322b7dab 150132011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15014
322b7dab 15015 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15016
322b7dab 15017 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15018
605dd5bf
CY
150192011-07-05 Chong Yidong <cyd@stupidchicken.com>
15020
15021 * button.el (button): Inherit from link face. Suggested by Dan
15022 Nicolaescu.
15023
7dbfa719
SM
150242011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15025
3db614b0
SM
15026 * progmodes/gdb-mi.el: Fit in 80 columns.
15027 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15028 switch-to-buffer.
15029
7dbfa719
SM
15030 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15031 if imenu is simply not configured (bug#8941).
15032
919d884a
KM
150332011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15034
15035 * allout.el (allout-post-undo-hook): New allout outline-change
15036 event hook to signal undo activity.
15037 (allout-post-command-business): Run allout-post-undo-hook if an
15038 undo just occurred.
7dbfa719
SM
15039 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15040 * allout-widgets.el (allout-widgets-after-undo-function):
15041 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15042 in the vicinity of an undo.
15043 (allout-widgets-mode): Include allout-widgets-after-undo-function
15044 on the new allout-post-undo-hook.
15045
450a0f09
SM
150462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15047
15048 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15049 Let define-derived-mode define it.
15050 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15051 cycles of abbrev-table inheritance (bug#8998).
15052
2de69e00
RW
150532011-07-05 Roland Winkler <winkler@gnu.org>
15054
15055 * textmodes/bibtex.el: Add support for biblatex.
15056 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15057 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15058 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15059 (bibtex-entry-alist, bibtex-field-alist): New variables.
15060 (bibtex-entry-field-alist): Obsolete alias for
15061 bibtex-BibTeX-entry-alist.
15062 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15063 (bibtex-set-dialect): New command.
15064 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15065 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15066 Bind via bibtex-set-dialect.
2de69e00
RW
15067 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15068 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15069 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15070 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15071 Define via bibtex-set-dialect.
450a0f09
SM
15072 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15073 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15074 (bibtex-vec-push, bibtex-vec-incr): New functions.
15075 (bibtex-format-entry, bibtex-field-list)
15076 (bibtex-print-help-message, bibtex-validate)
15077 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15078
2dcdbdd9
SM
150792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15080
15081 * progmodes/compile.el (compilation-goto-locus):
15082 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15083 * bs.el (bs-cycle-next, bs-cycle-previous):
15084 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15085 * bindings.el (mode-line-other-buffer):
15086 * autoinsert.el (auto-insert):
15087 * arc-mode.el (archive-extract):
15088 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15089
b27640fe
JB
150902011-07-05 Juanma Barranquero <lekktu@gmail.com>
15091
15092 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15093 Fix check of `emacs-lock-unlockable-modes'.
15094 Coerce true values of `emacs-lock--try-unlocking' to t.
15095
53bbe3ad
JB
150962011-07-05 Juanma Barranquero <lekktu@gmail.com>
15097
15098 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15099 * emacs-lock.el: New file.
15100
1d3cdbc7
JD
151012011-07-05 Julien Danjou <julien@danjou.info>
15102
15103 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15104 than `boundp' to check if face is set.
15105
9173deec
JB
151062011-07-05 Juanma Barranquero <lekktu@gmail.com>
15107
15108 * register.el (registerv-make):
15109 * window.el (window-min-height): Fix typos in docstrings.
15110
869795d6
JD
151112011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15112
9173deec 15113 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15114 Update doc string.
15115
b768cdcd
JB
151162011-07-04 Juanma Barranquero <lekktu@gmail.com>
15117
15118 * server.el (server-execute): Catch quit and call
15119 `server-return-error' to pass the error back to emacsclient and
15120 close the connection (bug#8942).
15121
13aa217b
KM
151222011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15123
15124 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15125 insecure exception for current topic. Also note that auto-saves
15126 are handled differently.
15127
5d3385a0 15128 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15129 State variables for tracking auto-save inhibition situation.
15130
15131 (allout-write-contents-hook-handler): Rename from
15132 'allout-write-file-hook-handler', and describe how it depends on
15133 write-contents-functions sensitivity to non-nil value to prevent
15134 file write.
15135
15136 (allout-auto-save-hook-handler): Remove. auto-save does not check
15137 this in individual buffers, only in the starting buffer, so this
15138 is not the right way for us to inhibit auto-save in a buffer
15139 according to its condition.
15140
15141 (allout-mode): Use new allout-write-contents-hook-handler, and
15142 only with write-contents-functions. Remove auto-save provisions -
15143 they're implemented elsewhere.
15144
15145 (allout-before-change-handler): If undo is in progress, note that
15146 for attention of allout-post-command-business.
15147
15148 (allout-post-command-business): If the command we're following was
15149 an undo, check for change in the status of encrypted items and
15150 adjust auto-save inhibitions accordingly.
15151
15152 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15153 according to whether there are or aren't any plain-text topics
15154 pending encryption.
15155
2dcdbdd9 15156 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15157 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15158 if there are plain-text topics pending encryption.
13aa217b
KM
15159
15160 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15161 buffer-saved-size and some allout state to not inhibit auto-saves
15162 if there are no longer any plain-text topics pending encryption.
15163
0757af94
SM
15164 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15165 No longer provide for exemption of the current topic.
13aa217b 15166
ac89b32c
JL
151672011-07-04 Juri Linkov <juri@jurta.org>
15168
15169 Add 7z operations to delete and save changed members (bug#8968).
15170 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15171 New defcustoms.
15172 (archive-7z-write-file-member): New function.
15173 (archive-7z-summarize): Fix the number of dashes in the
15174 listing output.
15175
8fa39615
SM
151762011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15177
15178 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15179 (bug#8958).
15180
2f11b3f1
CY
151812011-07-04 Chong Yidong <cyd@stupidchicken.com>
15182
d66fef2b
CY
15183 * bindings.el: Ignore next-buffer and previous-buffer in
15184 minibuffer-local-map.
15185
2f11b3f1
CY
15186 * font-lock.el (font-lock-builtin-face): Change light background
15187 color to dark slate blue (Bug#6693).
15188
f932a347
WD
151892011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15190
15191 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15192
c8af70e1
SM
151932011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15194
15195 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15196 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15197 Add switch-to-buffer.
15198
f158badc
LMI
151992011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15200
15201 * isearch.el (isearch-search-fun-function): Clarify further the
15202 meaning of the function returned.
15203
6d95bd46
MA
152042011-07-04 Michael Albinus <michael.albinus@gmx.de>
15205
15206 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15207
15208 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15209 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15210 Use it.
15211 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15212 `tramp-default-remote-path' does not exist.
15213 (tramp-send-command-and-read): New optional argument NOERROR.
15214 (tramp-open-connection-setup-interactive-shell)
15215 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15216 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15217 (tramp-process-sentinel): Flush also process' connection property.
15218 (tramp-sh-handle-start-file-process): Do not set process
15219 sentinel. It is done now ...
15220 (tramp-maybe-open-connection): ... here. (Bug#8929)
15221
909e6b67
MK
152222011-07-04 MON KEY <monkey@sandpframing.com>
15223
15224 * play/animate.el (animate-string): Doc fixes and allow changing
15225 the buffer name (bug#5417).
15226
152272011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15228
c8af70e1 15229 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15230
f34755dc
PE
152312011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15232
396cec72
PE
15233 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15234 This is simpler and helps future-proof the code.
15235 (timer-until): Use time-subtract and float-time.
08235028 15236 (timer--time-less-p): Use time-less-p.
f34755dc 15237
56e6cc31
JB
152382011-07-04 Juanma Barranquero <lekktu@gmail.com>
15239
3abb79e5
JB
15240 * type-break.el (timep): Use the value of `float-time' to avoid a
15241 byte-compiler warning.
15242
56e6cc31
JB
15243 * server.el (server-eval-and-print): Return any result, even nil.
15244
7b9430b4
PE
152452011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15246
15247 * type-break.el: Accept time formats that the builtins accept.
15248 (timep, type-break-time-difference): Accept any format that
15249 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15250 This is simpler and helps future-proof the code.
15251 (type-break-time-difference): Round rather than ignoring
15252 subseconds components.
15253
3034e9e7
LMI
152542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15255
15256 * info.el (Info-apropos-matches): Make non-interactive, since it
15257 doesn't seem to do anything useful as a command (bug#8829).
15258
1485f4c0
CY
152592011-07-03 Chong Yidong <cyd@stupidchicken.com>
15260
15261 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15262 Move from faces.el.
1485f4c0
CY
15263 (frame-default-terminal-background): New function.
15264
15265 * custom.el (custom-push-theme): Don't record faces in `changed'
15266 theme; this doesn't work correctly for per-frame face settings.
15267 (disable-theme): Use face-set-after-frame-default to reset faces.
15268 (custom--frame-color-default): New function.
15269
9fa3dd45
LMI
152702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15271
c8af70e1 15272 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15273 (bug#8769).
15274
6cbbc20c
KR
152752011-03-29 Kevin Ryde <user42@zip.com.au>
15276
15277 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15278 `perl-Test2' extend to match possible "fail #N" rep count
15279 (bug#8377).
15280
c7f98048
LMI
152812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15282
65676592
LMI
15283 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15284 `smtpmail-via-smtp' now returns the error instead of nil.
15285
c7f98048
LMI
15286 * isearch.el (isearch-search-fun-function): Clarify the doc string
15287 (bug#8101).
15288
56e6cc31 152892011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15290
15291 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15292 unnecessary spaces (bug#8987).
15293
2b216704
LMI
152942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15295
15296 * net/network-stream.el (open-network-stream): Use the
15297 :end-of-capability command thoughout.
15298
152992011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15300
15301 * net/network-stream.el (open-network-stream): Add the
15302 :end-of-capability command parameter, used by pop3.el.
15303
36adf6ce
LMI
153042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15305
1ca0da0e
LMI
15306 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15307
fc00f69c
LMI
15308 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15309 for list)" (bug#6475).
15310
28fd8759 15311 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15312 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15313 an error (bug#6297).
15314
0dd8b6da
LMI
15315 * man.el (Man-reference-regexp): Allow matching possible
15316 word-wrapped references (bug#6289).
15317
ce1438d6
LMI
15318 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15319 for consistency with the other vc buffers (bug#6197).
15320 (vc-checkin): Ditto.
15321
15322 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15323
36adf6ce
LMI
15324 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15325
e83cc1f7
LMI
153262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15327
8a20ca4c
LMI
15328 * custom.el (defcustom): Clarify that :set is only used in the
15329 Customize user interface (bug#6089).
15330
83319045
LMI
15331 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15332 associated with a file, refuse to run instead of erroring out
15333 (bug#6084).
15334
a8392169
LMI
15335 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15336 the doc string, since it appears that using `fill-column' always
15337 controls the width (bug#7845).
15338
e83cc1f7
LMI
15339 * simple.el (shell-command-on-region): Say where the error output
15340 went if `shell-command-default-error-buffer' is set (bug#6857).
15341
e47ca23b
KM
153422011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15343
15344 * allout.el (allout-yank-processing): Adjust cursor position for
15345 backwards-deleted space.
15346
15347 (allout-rebullet-heading): Register changes with
15348 allout-exposure-changed-hook, so the modified topic is properly
15349 decorated.
15350
5cf56143
LMI
153512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15352
08549772
LMI
15353 * minibuffer.el (completion-in-region): Document PREDICATE
15354 (bug#7136).
15355
48e96771
LMI
15356 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15357 of keyword/argument pairs (bug#6904).
15358
c8af70e1
SM
15359 * replace.el (multi-occur):
15360 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15361
e17d05e2
LMI
153622011-07-02 Drew Adams <drew.adams@oracle.com>
15363
15364 * dired.el (dired-mark-if): Make the message about whether it's
15365 marking or unmarking clearer (bug#8523).
15366
063b0e45
LMI
153672011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15368
15369 * disp-table.el (display-table-print-array): New function.
15370 (describe-display-table): Use it to print the vectors more pretty
15371 (Bug#8859).
15372
28545e04
MR
153732011-07-02 Martin Rudalics <rudalics@gmx.at>
15374
15375 * window.el (window-state-get-1): Don't assign clone numbers.
15376 Add clone-of item to list of window parameters.
15377 (window-state-put-2): Don't process clone numbers.
15378 (display-buffer-alist): Fix doc-string.
15379
3349e122
SM
153802011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15381
15382 * subr.el (remq): Don't allocate if it's not needed.
15383 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15384 (keymap--merge-bindings): New functions.
15385 (keymap-canonicalize): Use them to refine the canonicalization.
15386 * minibuffer.el (minibuffer-local-completion-map)
15387 (minibuffer-local-must-match-map): Move initialization from C.
15388 (minibuffer-local-filename-completion-map): Move initialization from C;
15389 don't inherit from anything here.
15390 (minibuffer-local-filename-must-match-map): Make obsolete.
15391 (completing-read-default): Use make-composed-keymap to combine
15392 minibuffer-local-filename-completion-map with either
15393 minibuffer-local-must-match-map or
15394 minibuffer-local-filename-completion-map.
15395
d224ac83
GM
153962011-07-01 Glenn Morris <rgm@gnu.org>
15397
3de63bf8
GM
15398 * type-break.el (type-break-time-sum): Use dolist.
15399
d224ac83
GM
15400 * textmodes/flyspell.el (flyspell-word-search-backward):
15401 Replace CL function.
15402
1a1e3f32
SM
154032011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15404
fe3f64d5
SM
15405 * mouse.el (mouse--strip-first-event): New function.
15406 (function-key-map): Use it to map fringe clicks to normal clicks
15407 by default.
15408
eb604e34
SM
15409 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15410 (vc-bzr-revision-completion-table): Add support for annotate and date.
15411
1a1e3f32
SM
15412 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15413 inherit from parent.
15414
5bd35902
LMI
154152011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15416
ace6c69c 15417 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15418 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15419
191e2bed
LMI
15420 * dired.el (dired-mode): Fix up the doc string as suggested by
15421 Drew Adams (bug#8817).
15422
5bd35902
LMI
15423 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15424 cookie, since the manual says that it should be possible to add
15425 this function to `find-file-hook' (bug#8709).
15426
eee8207a
TZ
154272011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15428
15429 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15430 here. Noted Ted Zlatanov as the maintainer.
15431 (cfengine-common-settings, cfengine-common-syntax): New functions
15432 to set up common things between `cfengine-mode' and
15433 `cfengine3-mode'.
15434 (cfengine3-mode): New mode.
15435 (cfengine3-defuns cfengine3-defuns-regex
15436 (cfengine3-class-selector-regex cfengine3-category-regex)
15437 (cfengine3-vartypes cfengine3-font-lock-keywords)
15438 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15439 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15440
36b148cf
MA
154412011-07-01 Michael Albinus <michael.albinus@gmx.de>
15442
15443 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15444
15445 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15446
0bf4ba9a
MR
154472011-07-01 Martin Rudalics <rudalics@gmx.at>
15448
15449 * window.el (same-window-buffer-names, same-window-regexps)
15450 (same-window-p, special-display-frame-alist)
15451 (special-display-popup-frame, special-display-function)
15452 (special-display-buffer-names, special-display-regexps)
15453 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15454 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15455 (split-window-preferred-function, split-height-threshold)
15456 (split-width-threshold, even-window-heights)
15457 (display-buffer-mark-dedicated, window-splittable-p)
15458 (split-window-sensibly, window-safely-shrinkable-p):
15459 Un-obsolete.
15460 (display-buffer): Don't spread args with function specifier
15461 because special-display-popup-frame won't like it.
15462
35837f51
PE
154632011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15464
d0672f86
PE
15465 Time-stamp simplifications and fixes.
15466 These improve accuracy slightly, and future-proof the code
15467 against some potential changes to current-time format.
15468
b9444d97
PE
15469 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15470 by using time-since and float-time.
15471
0ef923dc
PE
15472 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15473 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15474 + NNN microseconds".
15475
2f81380d
PE
15476 * type-break.el (type-break-time-sum): Rewrite using time-add.
15477
845b5c3e
PE
15478 * play/hanoi.el (hanoi-current-time-float): Remove.
15479 All uses replaced by float-time.
15480
ee6f1be0
PE
15481 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15482 This yields a more-accurate answer.
15483 (rng-time-to-float): Remove; no longer needed.
15484
fe955043
PE
15485 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15486
5777162a
PE
15487 * calendar/timeclock.el (timeclock-seconds-to-time):
15488 Defalias to seconds-to-time, since they're the same thing.
15489
3103f8b6 15490 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15491 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15492 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15493
0e61a35f
SM
154942011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15495
15496 * window.el (bury-buffer): Don't iconify the only frame.
15497 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15498 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15499
ddd63a1e
CY
155002011-07-01 Chong Yidong <cyd@stupidchicken.com>
15501
0e61a35f
SM
15502 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15503 Add mouse-yank-primary.
ddd63a1e 15504
055f4923
TZ
155052011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15506
15507 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15508
6a2fb145
SM
155092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15510
15511 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15512 (find-library-name): Use it to find relative load names when provided
15513 absolute file name (bug#8803).
15514
fd4983f2
LMI
155152011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15516
887d14ad
LMI
15517 * textmodes/flyspell.el (flyspell-word): Consider words that
15518 differ only in case as potential doublons (bug#5687).
15519
c53dc7fc
LMI
15520 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15521 Remove two rather uninteresting debugging-like messages to make
15522 debbugs.el more silent.
15523
fd4983f2
LMI
15524 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15525 a password-like phrase.
15526
7a71b18d 155272011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15528
15529 * progmodes/cc-guess.el: New file.
15530
6a2fb145 15531 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15532
15533 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15534 derived from `c-basic-common-init'.
15535
15536 * progmodes/cc-mode.el (top-level): Require cc-guess.
15537 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15538
1fa280a3
LM
155392011-06-30 Lawrence Mitchell <wence@gmx.li>
15540
15541 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15542
e6597158
AM
155432011-06-30 Alan Mackenzie <acm@muc.de>
15544
1fa280a3
LM
15545 * progmodes/cc-engine.el (c-guess-continued-construct):
15546 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15547 lock is disabled. Name this case as "CASE G".
15548
68ba37fb
KM
155492011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15550
15551 * allout.el (allout-yank-processing): Fix injection of extra space
15552 between bullet and non-whitespace character in first topic when
15553 pasting, ensuring that the actual spacing in the pasted topic
15554 following the bullet char is preserved. This extra space was
15555 causing pasted encrypted topics to get a decrypted status even
15556 when the content was actually still encrypted. Now the decryption
15557 status from before the paste is preserved.
15558
15559 (allout-flag-region): Set all allout overlays so they evaporate
15560 when reduced to zero length (evanescent), to prevent overlay
15561 leakage.
15562
887a0b34
GM
155632011-06-30 Glenn Morris <rgm@gnu.org>
15564
94b9acce
GM
15565 * w32-fns.el (w32-charset-info-alist): Declare.
15566
1d9b46d4
GM
15567 * find-dired.el (find-grep-options): Simplify.
15568
cc232200
GM
15569 * term/ns-win.el (ns-set-resource): Declare.
15570
28e77c46
GM
15571 * ses.el (row, col): Declare dynamic variables honestly.
15572
887a0b34
GM
15573 * textmodes/reftex-parse.el (index-tags): Declare.
15574
658d8eb8
CY
155752011-06-30 Chong Yidong <cyd@stupidchicken.com>
15576
15577 * cus-edit.el (customize-push-and-save): New function.
15578
15579 * files.el (hack-local-variables-confirm): Use it.
15580
1fa280a3
LM
15581 * custom.el (load-theme): New arg NO-CONFIRM.
15582 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15583 (custom-enabled-themes): Doc fix.
15584
15585 * cus-theme.el (customize-create-theme)
15586 (custom-theme-merge-theme): Callers to load-theme changed.
15587
bb617717
LMI
155882011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15589
d61bdd5d
LMI
15590 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15591 short URLs have at least one dot in them (bug #7614).
15592
bb617717
LMI
15593 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15594 nil, because using a pty is apparently too slow (bug #895).
15595
2f31f37a
LMI
155962011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15597
15598 * mail/sendmail.el (sendmail-query-once): New function.
15599 (sendmail-query-once-function): New variable.
15600
3076b24e
GM
156012011-06-29 Glenn Morris <rgm@gnu.org>
15602
faf2a174
GM
15603 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15604
3076b24e
GM
15605 * ses.el (top-level): Require cl when compiling.
15606 (ses-set-localvars): Fix error statement.
15607 Call it at compile time to silence a storm of warnings.
15608
5386012d
MR
156092011-06-29 Martin Rudalics <rudalics@gmx.at>
15610
15611 * window.el (normalize-live-buffer): Rename to
15612 window-normalize-buffer.
15613 (normalize-live-frame): Rename to window-normalize-frame.
15614 (normalize-any-window): Rename to window-normalize-any-window.
15615 (normalize-live-window): Rename to window-normalize-live-window.
15616 (make-window-atom): Rename to window-make-atom.
15617 (window-resize-reset): Rename to window--resize-reset.
15618 (window-resize-reset-1): Rename to window--resize-reset-1.
15619 (resize-mini-window): Rename to window--resize-mini-window.
15620 (resize-subwindows-skip-p): Rename to
15621 window--resize-subwindows-skip-p.
15622 (resize-subwindows-normal): Rename to
15623 window--resize-subwindows-normal.
15624 (resize-subwindows): Rename to window--resize-subwindows.
15625 (resize-other-windows): Rename to window--resize-siblings.
15626 (resize-this-window): Rename to window--resize-this-window.
15627 (resize-root-window): Rename to window--resize-root-window.
15628 (resize-root-window-vertically): Rename to
15629 window--resize-root-window-vertically.
15630 (normalize-buffer-to-display): Rename to
15631 window-normalize-buffer-to-display.
15632 (normalize-buffer-to-switch-to): Rename to
15633 window-normalize-buffer-to-switch-to.
15634 Correspondingly update all callers of the functions listed
15635 above.
15636 (display-buffer-alist, display-buffer-normalize-arguments)
15637 (display-buffer-normalize-options, display-buffer)
15638 (display-buffer-alist-set): Use "function" instead of
15639 "fun-with-args".
15640
1176868d
CY
156412011-06-28 Chong Yidong <cyd@stupidchicken.com>
15642
15643 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15644 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15645 debbugs.gnu.org. Mention acknowledgment email.
15646
20a7a65f
LMI
156472011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15648
15649 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15650 buffer multibyteness, since it shouldn't matter.
15651
5f45cca5
MR
156522011-06-28 Martin Rudalics <rudalics@gmx.at>
15653
15654 * window.el (display-buffer-in-side-window): Handle dedicated
15655 windows as in display-buffer-reuse-window.
15656 (display-buffer-normalize-alist): Use value of override
15657 specifier.
15658 (display-buffer-normalize-specifiers): Use value of
15659 other-window-means-other-frame specifier.
15660 (display-buffer-alist): Rewrite some texts in widgets.
15661 (display-buffer): Spread arguments when calling function
15662 specified by fun-with-args.
15663
ad85fe1f
DD
156642011-06-28 Deniz Dogan <deniz@dogan.se>
15665
1fa280a3
LM
15666 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15667 Unnest `let'.
da68c4c8 15668
ad85fe1f
DD
15669 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15670 selectors (Bug#5732).
ec49bd31 15671 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15672
a08cc025
JA
156732011-06-27 Jari Aalto <jari.aalto@cante.net>
15674
15675 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15676 (eshell-ls-date-format): New defcustom.
15677 (eshell-ls-file): Use it.
15678
e2b551c5
SM
156792011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15680
15681 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15682
8982b231
KY
156832011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15684
15685 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15686 (ange-ftp-make-tmp-name): New arg.
15687 (ange-ftp-file-local-copy): Use it.
15688
36c9fa27
J
156892011-06-27 Jambunathan K <kjambunathan@gmail.com>
15690
15691 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15692 no-conversion (Bug#8870).
15693
d68443dc
MR
156942011-06-27 Martin Rudalics <rudalics@gmx.at>
15695
15696 * window.el (window-right, window-left, window-child)
15697 (window-child-count, window-last-child)
15698 (window-iso-combination-p, walk-window-tree-1)
15699 (window-atom-check-1, window-tree-1, delete-window)
15700 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15701 new naming conventions - window-vchild, window-hchild,
15702 window-next and window-prev are now called window-top-child,
15703 window-left-child, window-next-sibling and window-prev-sibling
15704 respectively.
d615d6d2
MR
15705 (resize-window-reset): Rename to window-resize-reset.
15706 (resize-window-reset-1): Rename to window-resize-reset-1.
15707 (resize-window): Rename to window-resize.
15708 (window-min-height, window-min-width)
15709 (resize-mini-window, resize-this-window, resize-root-window)
15710 (resize-root-window-vertically, adjust-window-trailing-edge)
15711 (enlarge-window, shrink-window, maximize-window)
15712 (minimize-window, delete-window, quit-restore-window)
15713 (split-window, balance-windows, balance-windows-area-adjust)
15714 (balance-windows-area, window-state-put-2)
15715 (display-buffer-even-window-sizes, display-buffer-set-height)
15716 (display-buffer-set-width, set-window-text-height)
15717 (fit-window-to-buffer): Rename all "resize-window" prefixed
15718 calls to use the "window-resize" prefix convention.
15719 (display-buffer-alist): Fix symbol for label specifier.
15720 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15721 corresponding specifier.
15722 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15723
b6458526
VB
157242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15725
15726 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15727 convention.
15728 (ses-call-printer): Does not pass an empty string to formatter when the
15729 cell is empty to keep from barking printer Calc math-format-value.
15730
d31fd9ac
RS
157312011-06-27 Richard Stallman <rms@gnu.org>
15732
43d5bf84
RS
15733 * battery.el (battery-mode-line-limit): New variable.
15734 (battery-update): Handle it.
15735
d31fd9ac
RS
15736 * mail/rmailmm.el (rmail-mime-process-multipart):
15737 Handle truncated messages.
15738
819a6054
GM
157392011-06-27 Glenn Morris <rgm@gnu.org>
15740
15741 * progmodes/flymake.el (flymake-err-line-patterns):
15742 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15743
cedc73f2
VB
157442011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15745
819a6054 15746 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15747 (ses--clean-!, ses--clean-_): New functions.
15748 (ses-range): Add configurability of readout order, and conversion
15749 to Calc vector.
15750
5e5d49b6
VB
15751 * ses.el (ses-repair-cell-reference-all): New function.
15752 (ses-cell-symbol): Set macro as safe, so that it can be used in
15753 formulas.
15754
56e6cc31 15755 * ses.el: Update cycle detection algorithm.
90ca8b49 15756 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15757 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15758 (ses-set-localvars): New function.
15759 (ses-make-cell): Add property-list as a cell element.
15760 (ses-cell-property-get-fun, ses-cell-property-get)
15761 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15762 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15763 New functions.
90ca8b49
VB
15764 (ses-cell-property-set, ses-cell-property-pop)
15765 (ses-cell-property-get-handle): New macro.
15766 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15767 New aliases, used for code readability.
15768 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15769 cycle detection.
15770 (ses-self-reference-early-detection): New defcustom.
fac916bf 15771 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15772 (ses-mode): Use ses-set-localvars.
15773 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15774 before lauching the update processing.
15775 (ses-initialize-Dijkstra-attempt): New function.
15776 (ses-recalculate-cell): Update for cycle detection based on
15777 Dijkstra algorithm.
15778
2bb63e81
VB
15779 * ses.el: Fix commenting and indenting convention.
15780
c9d29fb8
SM
157812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15782
15783 * bs.el (bs-cycle-next): Complete last change.
15784
d8e4b68b
JB
157852011-06-27 Drew Adams <drew.adams@oracle.com>
15786
15787 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15788
40098786
LMI
157892011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15790
c9d29fb8
SM
15791 * net/network-stream.el (network-stream-open-starttls):
15792 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15793 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15794
40098786
LMI
15795 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15796 to binary to possibly avoid line encoding issues on Windows (among
15797 other things).
15798
468d09d4
LMI
157992011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15800
15801 * net/network-stream.el (open-network-stream): Return an :error
15802 saying what the problem was, if possible.
15803
15804 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15805 server.
15806
15807 * net/network-stream.el (network-stream-open-starttls): If we
15808 wanted to use STARTTLS, and the server offered it, but we weren't
15809 able to because we had no STARTTLS support, then close the connection.
15810 (open-network-stream): Return an :error element, if present.
15811
16f07dd7
CY
158122011-06-26 Chong Yidong <cyd@stupidchicken.com>
15813
88821ca0
CY
15814 * hl-line.el (hl-line-sticky-flag): Doc fix.
15815 (global-hl-line-sticky-flag): New option (Bug#8323).
15816 (global-hl-line-highlight): Obey it.
15817
16f07dd7
CY
15818 * vc/vc.el (vc-revert-show-diff): Default to t.
15819
6b5ccddf
KM
158202011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15821
c9d29fb8
SM
15822 * allout-widgets.el (allout-widgets-post-command-business):
15823 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15824 undecorated when an isearch is continued past, and isearch
15825 automatically collapses them. This leads to "widget leaks", where
15826 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15827 hidden widgets can slow down cursor travel, substantially.
15828 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15829 so we're doing without this nicety.
15830
15831 (allout-widgets-tally-string): Don't try to do a hash-table-count
15832 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15833 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15834 *Messages* when allout-widgets-maintain-tally is t.
15835
355f2e07
MR
158362011-06-26 Martin Rudalics <rudalics@gmx.at>
15837
15838 * window.el (display-buffer-normalize-argument): Rename to
15839 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15840 LABEL argument. Respect special-display-function when popping up
15841 a new frame. Fix code searching for a window showing the buffer
15842 on another frame.
c9d29fb8
SM
15843 (display-buffer-normalize-specifiers):
15844 Call display-buffer-normalize-arguments.
355f2e07
MR
15845 (display-buffer-in-window): Don't undedicate the window if its
15846 buffer remains the same.
15847 Reported by Drew Adams <drew.adams@oracle.com>.
15848 (display-buffer-alist): Add choice for same-window macro
15849 specfier.
15850 (display-buffer): Mention special meaning of LABEL argument in
15851 doc-string. Fix quoting. Don't pop up a new frame even as
15852 fallback.
15853
7ca8fc42
JB
158542011-06-26 Juanma Barranquero <lekktu@gmail.com>
15855
15856 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15857 avoid deleting the current window in some cases (bug#8911).
15858
bc312254
AS
158592011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15860
15861 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15862 (Bug#8934)
15863
2db18f3f
LMI
158642011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15865
c9d29fb8
SM
15866 * net/network-stream.el (network-stream-open-starttls):
15867 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15868 (network-stream-open-tls): Ditto.
15869
6302e0d3
LL
158702011-06-26 Leo Liu <sdl.web@gmail.com>
15871
15872 * register.el (registerv): New struct.
15873 (registerv-make): New function.
c9d29fb8
SM
15874 (jump-to-register, describe-register-1, insert-register):
15875 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15876 struct. (Bug#8415)
15877
5fdd4046
CY
158782011-06-26 Chong Yidong <cyd@stupidchicken.com>
15879
2afef60a
CY
15880 * vc/vc.el (vc-revert-show-diff): New defcustom.
15881 (vc-diff-internal): New arg specifying diff buffer.
15882 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15883 reuse an existing *vc-diff* buffer (Bug#8927).
15884
5fdd4046
CY
15885 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15886
e93db24a
GM
158872011-06-26 Glenn Morris <rgm@gnu.org>
15888
15889 * progmodes/f90.el (f90-critical-indent): New option.
15890 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15891 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15892 (f90-mode): Doc fix.
15893 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15894 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15895 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15896 (f90-match-end): Handle block, critical.
15897
eefff499
GM
158982011-06-25 Glenn Morris <rgm@gnu.org>
15899
f6ba4cc9
GM
15900 * calendar/diary-lib.el (diary-included-files): Doc fix.
15901 (diary-include-files): New function, extracted from
15902 diary-include-other-diary-files and diary-mark-included-diary-files.
15903 (diary-include-other-diary-files, diary-mark-included-diary-files):
15904 Just call diary-include-files.
15905 (diary-mark-entries): Reset diary-included-files on first call.
15906
16712304
GM
15907 * calendar/diary-lib.el (diary-mark-entries)
15908 (diary-mark-included-diary-files):
15909 Visit included diary-files in temp buffers.
15910
5d8e0d43
GM
15911 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15912 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15913 (f90-start-block-re, f90-imenu-generic-expression)
15914 (f90-looking-at-program-block-start, f90-no-block-limit):
15915 Add support for submodules.
15916
ccf7a5d5
GM
15917 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15918 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15919
11fdef7d 159202011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15921
15922 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15923 buffer-file-type before setting its value, to avoid disastrous
eefff499 15924 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15925
74f53697
JB
159262011-06-25 Juanma Barranquero <lekktu@gmail.com>
15927
15928 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15929
15930 * ses.el (ses-unload-function):
15931 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15932
15933 * proced.el (proced-unload-function):
15934 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15935
18a4ce5e
AR
159362011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15937
15938 * server.el (server-create-window-system-frame): Add parameters arg.
15939 (server-process-filter): Doc fix. Handle frame-parameters.
15940
519d22cc
JB
159412011-06-25 Juanma Barranquero <lekktu@gmail.com>
15942
15943 Fix bug#8730, bug#8781.
15944
15945 * loadhist.el (unload--set-major-mode): New function.
15946 (unload-feature): Use it.
15947
15948 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15949 (python-unload-function): New function.
15950
c206f5b0
SM
159512011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15954
f9ad64f3
GS
159552011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15956
15957 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15958 the candidates list.
15959
7d0da90e
JB
159602011-06-24 Juanma Barranquero <lekktu@gmail.com>
15961
15962 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15963
14b4e83d
RS
159642011-06-23 Richard Stallman <rms@gnu.org>
15965
15966 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15967 (rmail-variables): Set next-error-move-function.
15968 (rmail-what-message): Take argument POS.
15969 (rmail-next-error-move): New function.
15970
273d2baf
SM
159712011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15972
15973 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15974 messages for adjacent non-terminals.
15975
56c2cc9a
RS
159762011-06-23 Richard Stallman <rms@gnu.org>
15977
15978 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15979 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15980 (rmail-start-mail): Don't specify use of rmail-mail-return;
15981 that's done by mail-bury now.
15982 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15983
d59eb518
MA
159842011-06-23 Michael Albinus <michael.albinus@gmx.de>
15985
15986 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15987 SIZE is a number.
15988
02cfc6d6
MR
159892011-06-23 Martin Rudalics <rudalics@gmx.at>
15990
15991 * window.el (get-lru-window, get-mru-window)
15992 (get-largest-window): Never return a minibuffer window.
15993 (display-buffer-pop-up-window): Fix a bug that could lead to
15994 reusing the minibuffer window.
15995 (display-buffer): Pass original specifier argument to
15996 display-buffer-function instead of the normalized one.
15997 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15998
4e323265
LL
159992011-06-22 Leo Liu <sdl.web@gmail.com>
16000
16001 * minibuffer.el (completing-read-function)
16002 (completing-read-default): Move from minibuf.c
16003
7a70468f
RS
160042011-06-22 Richard Stallman <rms@gnu.org>
16005
50718fc2
RS
16006 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16007 to Rmail even if not started by a special Rmail command.
16008
7a70468f
RS
16009 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16010 Copy the buffer currently showing just one message.
16011
297dde5a
RW
160122011-06-22 Roland Winkler <winkler@gnu.org>
16013
16014 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16015 (bibtex-clean-entry): First delete the old key so that a
16016 customized algorithm for generating the new key does not get
16017 confused by the old key.
16018 (bibtex-url): Obey regexp of first step.
16019 (bibtex-search-entries): Do not use add-to-list with local
16020 list-var.
16021
97bb1093
LMI
160222011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16023
16024 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16025 stored a user name, then query for the password first, instead of
16026 waiting for SMTP to give an error message and the trying again.
16027
1c0f1a19
JD
160282011-06-22 Lawrence Mitchell <wence@gmx.li>
16029
16030 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16031 BUFFER in call-process.
16032
396f7c9d
LMI
160332011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16034
16035 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16036 QUIT twice.
ddb7ffee
LMI
16037 (smtpmail-try-auth-methods): Require user name and password from
16038 auth-source.
396f7c9d 16039
8998d1b3
MR
160402011-06-22 Martin Rudalics <rudalics@gmx.at>
16041
16042 * window.el (display-buffer-default-specifiers)
16043 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16044 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16045 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16046
16047 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16048 (special-display-frame-alist, special-display-popup-frame):
16049 Remove duplicate declarations. These are now in window.el.
16050
4ea31e07
LMI
160512011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16052
c9d29fb8
SM
16053 * mail/smtpmail.el (smtpmail-via-smtp):
16054 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16055 server supports it. SMTP servers that support STARTTLS commonly
16056 require it.
16057
16058 * net/network-stream.el (network-stream-open-starttls): Support
16059 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16060 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16061
95f41d9a
LMI
16062 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16063 upgrades with `open-network-stream', and rely solely on
16064 auth-source for all credentials. Big changes throughout the file,
16065 but in particular:
c9d29fb8
SM
16066 (smtpmail-auth-credentials): Remove.
16067 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16068 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16069 MAIL FROM, too.
95f41d9a 16070
c9d29fb8
SM
16071 * net/network-stream.el (network-stream-open-starttls):
16072 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16073 STARTTLS.
16074 (auth-source): Require.
16075 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16076 (network-stream-certificate): Change cert-cert to cert and
16077 cert-key to key.
4ea31e07 16078
065ec2c7
MA
160792011-06-21 Michael Albinus <michael.albinus@gmx.de>
16080
16081 * net/tramp-cache.el (top): Don't load the persistency file when
16082 "emacs -Q" has been called.
16083
cd93b359
DR
160842011-06-21 Tim Harper <timcharper@gmail.com>
16085
d8e4b68b
JB
16086 * term/ns-win.el (ns-initialize-window-system):
16087 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16088 resource to NO as it is not yet supported by the NS port.
16089
ae9c0411
JB
160902011-06-21 Juanma Barranquero <lekktu@gmail.com>
16091
16092 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16093 (list-dynamic-libraries): ...not here.
16094
7f3f739f
LL
160952011-06-21 Leo Liu <sdl.web@gmail.com>
16096
16097 * subr.el (sha1): Implement sha1 using secure-hash.
16098
327c8fb1
MR
160992011-06-21 Martin Rudalics <rudalics@gmx.at>
16100
16101 * window.el (display-buffer-alist): In default value do not
16102 enforce searching a window on any but the selected frame.
16103 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16104 (display-buffer-select-window): Remove function.
16105 (display-buffer-in-window): When a window on another frame gets
16106 reused, do not select it any more but just raise its frame if
16107 necessary (Bug#8851) and (Bug#8856).
16108 (display-buffer-normalize-options): Handle pop-up-frames related
16109 options more faithfully.
16110 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16111 window if it is on another frame.
c9d29fb8
SM
16112 (display-buffer-alist, display-buffer-default-specifiers):
16113 Don't make new frame unsplittable by default.
9e9de014
MR
16114 (display-buffer-normalize-argument): Fix doc-string typo and use
16115 'same-frame-other-window instead of 'other-window when associating
16116 with display-buffer-macro-specifiers.
327c8fb1 16117
7cf3f556
VB
161182011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16119
16120 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16121 New functions.
16122 (5x5-mode-map, 5x5-mode-menu): Bind them.
16123 (5x5-draw-grid): Tweak the solver's rendering.
16124
60a406cf
SM
161252011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16126
16127 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16128 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16129
d8e4b68b 161302011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16131
16132 * menu-bar.el: Use function variable instead of switch-to-buffer.
16133 (menu-bar-select-buffer-function): New variable.
60a406cf 16134 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16135
478d6f95
SM
161362011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16137
16138 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16139 variable's status.
16140
ca530739
JD
161412011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16142
16143 * x-dnd.el (x-dnd-version-from-flags)
16144 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16145 and long as number (Bug#8899).
16146 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16147
bcd70d97
SM
161482011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16149
60a406cf 16150 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16151 (completion-try-completion, completion-all-completions): Compute the
16152 metadata argument if it's missing; make it optional (bug#8795).
16153
60a406cf 16154 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16155 (widget-complete): Use new :completion-function property.
16156 (widget-completions-at-point): New function.
16157 (default): Use :completion-function instead of :complete.
60a406cf
SM
16158 (widget-default-completions): Rename from widget-default-complete;
16159 Rewrite.
bcd70d97
SM
16160 (widget-string-complete, widget-file-complete, widget-color-complete):
16161 Remove functions.
16162 (file, symbol, function, variable, coding-system, color):
16163 * international/mule-cmds.el (default-input-method, charset)
16164 (language-info-custom-alist):
16165 * cus-edit.el (face): Use new property :completions.
16166
16167 * progmodes/pascal.el (pascal-completions-at-point): New function.
16168 (pascal-mode): Use it.
16169 (pascal-mode-map): Use completion-at-point.
16170 (pascal-toggle-completions): Make obsolete.
16171 (pascal-complete-word, pascal-show-completions):
16172 * progmodes/octave-mod.el (octave-complete-symbol):
16173 Redefine as obsolete alias.
16174 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16175 Signal absence of completion info for old Octave,
16176 (inferior-octave-complete): Redefine as obsolete alias.
16177 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16178 (meta-completions-at-point): Rename from meta-complete-symbol and
16179 adapt it for use on completion-at-point-functions.
16180 (meta-common-mode): Use it.
16181 (meta-looking-at-backward, meta-match-buffer): Remove.
16182 (meta-complete-symbol): Redefine as obsolete alias.
16183 (meta-common-mode-map): Use completion-at-point.
16184 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16185 (makefile-mode-map): Use completion-at-point.
16186 (makefile-completions-at-point): Rename from makefile-complete and
16187 adapt it for use on completion-at-point-functions.
16188 (makefile-mode): Use it.
16189 (makefile-complete): Redefine as obsolete alias.
16190
aebf69c8
DD
161912011-06-20 Deniz Dogan <deniz@dogan.se>
16192
16193 * net/rcirc.el: Delete trailing whitespaces once and for all.
16194
bfbbb27d
DC
161952011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16196
16197 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16198
d264a46b
CY
161992011-06-19 Chong Yidong <cyd@stupidchicken.com>
16200
4ca009e5
CY
16201 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16202
d264a46b
CY
16203 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16204
fbf5b3ce
MR
162052011-06-19 Martin Rudalics <rudalics@gmx.at>
16206
16207 * window.el (display-buffer-other-window-means-other-frame):
16208 Call display-buffer-normalize-alist.
16209 (display-buffer-normalize-specifiers-1): Rename to
16210 display-buffer-normalize-argument. New argument other-frame.
16211 Rewrite.
16212 (display-buffer-normalize-specifiers-2): Rename to
16213 display-buffer-normalize-options.
16214 (display-buffer-normalize-alist-1): New function.
16215 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16216 display-buffer-normalize-alist.
16217 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16218 (display-buffer-normalize-options-inhibit): New variable.
16219 (display-buffer-normalize-specifiers): Rewrite calling
16220 display-buffer-normalize-alist,
16221 display-buffer-normalize-argument, and
16222 display-buffer-normalize-options. Don't call the latter if
16223 display-buffer-normalize-options-inhibit is non-nil.
16224 (frame-auto-delete): New option.
16225 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16226 (window-list-no-nils, window-state-ignored-parameters)
16227 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16228 (window-state-put-1, window-state-put-2, window-state-put):
16229 New functions.
9a028c23
MR
16230 (display-buffer-normalize-options): Move special-display-p group
16231 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16232
6d10d800
CY
162332011-06-18 Chong Yidong <cyd@stupidchicken.com>
16234
6420d28b
CY
16235 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16236 groups (Bug#8776).
16237 (rx-submatch-n): New function.
16238 (rx): Document it.
16239
ddb8b596
CY
16240 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16241 (Bug#8768).
16242
16243 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16244
77080289
CY
16245 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16246
61dfb316
CY
16247 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16248 anytime existing face settings are present (Bug#8889).
16249
6d10d800
CY
16250 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16251 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16252 Remove unused argument.
16253
be3fb2b8
MR
162542011-06-18 Martin Rudalics <rudalics@gmx.at>
16255
bcd70d97
SM
16256 * window.el (display-buffer-default-specifiers):
16257 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16258 pop-up-window-min-width, and another reuse-window specifier
16259 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16260 (display-buffer-normalize-specifiers-2):
16261 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16262 pop-up-windows is unset. Add a reuse-window specifier for the
16263 case popping up a new window fails.
16264 (special-display-popup-frame): Remove double quoting.
28dec25a 16265 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16266
1c6d8c76
SM
162672011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16268
16269 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16270 according to comint-completion-addsuffix.
16271
16272 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16273 (pcomplete-suffix-list): Mark as obsolete.
16274 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16275 pcomplete-seen in the closure.
16276 (pcomplete-comint-setup): Setup completion-at-point as well.
16277 (pcomplete--entries): New function.
16278 (pcomplete--env-regexp): New var.
16279 (pcomplete-entries): Rewrite to work with partial-completion and
16280 without relying on pcomplete-suffix-list.
16281 (pcomplete-pare-list): Remove, unused.
16282
25aef8b8
MR
162832011-06-17 Martin Rudalics <rudalics@gmx.at>
16284
16285 * window.el (display-buffer-alist): Set pop-up-window-min-height
16286 and pop-up-window-min-width in default value. Reported by
16287 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16288 other-window-means-other-frame.
16289 (display-buffer-macro-specifiers): Comment out entry for
16290 other-window specifier.
16291 (display-buffer-other-window-means-other-frame): New function.
16292 (display-buffer-normalize-specifiers-1): New arguments
16293 buffer-name and label. Treat other-window case specially.
16294 (display-buffer-normalize-specifiers-2): Treat other-window case
16295 specially.
16296 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16297 (display-buffer-normalize-specifiers):
16298 Call display-buffer-normalize-specifiers-3.
25aef8b8 16299
dbad4f69
MR
163002011-06-17 Martin Rudalics <rudalics@gmx.at>
16301
16302 * window.el (same-window-p): Fix two typos introduced when
16303 adding with-no-warnings.
d1067961
MR
16304 (display-buffer-normalize-specifiers-1): Don't check
16305 pop-up-frames for 'unset initialization.
16306 (display-buffer-normalize-specifiers-2): Major rewrite using
16307 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16308 (pop-up-frames, display-buffer-reuse-frames)
16309 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16310 Suggested by David Engster <deng@randomsample.de>.
16311 (even-window-heights): Initialize to 'unset.
16312 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16313 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16314 other window case.
dbad4f69 16315
9b9c9e3a
MR
163162011-06-16 Martin Rudalics <rudalics@gmx.at>
16317
bcd70d97
SM
16318 * window.el (display-buffer-normalize-specifiers-1):
16319 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16320 second argument of display-buffer (Bug#8865).
981d5c09
MR
16321 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16322 (switch-to-buffer-other-window-same-frame)
16323 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16324 Adams (Bug#8875).
9c2755e9
MR
16325 (display-buffer): Don't check noninteractive when calling
16326 display-buffer-pop-up-frame.
16327 (display-buffer-pop-up-frame): Never pop up a frame in
16328 noninteractive mode (Bug#8857).
67222e1d
MR
16329 (enlarge-window, shrink-window): Don't report an error when the
16330 window can't be resized as requested (Bug#8862).
9b9c9e3a 16331
2b75be67
SM
163322011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16333
9ffdd3ba
SM
16334 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16335
cb581a67
SM
16336 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16337
2b75be67
SM
16338 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16339
8c0e3589
AM
163402011-06-15 Alan Mackenzie <acm@muc.de>
16341
cb581a67
SM
16342 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16343 for declarators, disable knr checking to speed up for normal files.
16344 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16345
b96e6cde
LMI
163462011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16347
4bba86e6
LMI
16348 * net/network-stream.el (open-network-stream): Add the keyword
16349 :always-query-capabilities for the case where you want to force a
16350 `plain' network connection, but the protocol still requires the
16351 capabilitiy command (i.e., SMTP and EHLO).
16352
2b75be67 16353 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16354 consistency with other `-live-p' functions.
16355
efdcdbf8
SM
163562011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16357
16358 * window.el (same-window-buffer-names, same-window-regexps)
16359 (special-display-frame-alist, special-display-popup-frame)
16360 (special-display-function, special-display-buffer-names)
16361 (special-display-regexps, pop-up-frame-alist)
16362 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16363 (pop-up-windows, split-window-preferred-function)
16364 (split-height-threshold, split-width-threshold, even-window-heights)
16365 (display-buffer-mark-dedicated): Don't encourage the use of
16366 display-buffer-alist from Elisp code.
16367
c5cde042
DN
163682011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16369
16370 * progmodes/python.el (python-mode): Derive from prog-mode.
16371 * progmodes/ps-mode.el (ps-mode):
16372 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16373 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16374 * progmodes/ld-script.el (ld-script-mode): Likewise.
16375
baa1c9ab
MR
163762011-06-15 Martin Rudalics <rudalics@gmx.at>
16377
16378 * window.el (display-buffer-alist): Trim default value to avoid
16379 popping up a new frame (Bug#8857) or reusing an arbitrary window
16380 on another frame.
16381 (display-buffer): Do not fall back on popping up a new frame in
16382 batch mode (Bug#8857).
16383
c5dd5a51
CY
163842011-06-14 Chong Yidong <cyd@stupidchicken.com>
16385
16386 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16387 (custom-theme-summary): New function.
16388 (customize-themes): Use it.
16389
d647b7c4
GM
163902011-06-13 Glenn Morris <rgm@gnu.org>
16391
16392 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16393
9481c002
MR
163942011-06-13 Martin Rudalics <rudalics@gmx.at>
16395
357f93d2
MR
16396 * help.el (help-window): Remove variable.
16397 (help-window-point-marker, temp-buffer-max-height)
16398 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16399 (help-print-return-message): Don't set help-window.
16400 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16401 (help-window-setup-finish): Remove.
16402 (help-window-display-message, help-window-setup)
16403 (with-help-window): Major rewrite based on new
16404 display-buffer-window variable.
16405
16406 * help-mode.el (help-mode-finish): Remove help-window related
16407 code.
16408
16409 * view.el (view-exits-all-viewing-windows): Remove reference to
16410 view-return-to-alist in doc-string.
16411 (view-return-to-alist): Make obsolete.
16412 (view-buffer): Call pop-to-buffer-same-window and remove
16413 undo-window code.
16414 (view-buffer-other-window): Call pop-to-buffer-other-window and
16415 simplify code. Ignore second argument.
16416 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16417 simplify code. Ignore second argument.
16418 (view-return-to-alist-update): Make obsolete.
16419 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16420 Rewrite using quit-restore window parameters.
2b75be67
SM
16421 (view-mode-exit): Rename second argument to EXIT-ONLY.
16422 Rewrite using quit-restore-window.
357f93d2
MR
16423 (View-exit, View-exit-and-edit, View-leave, View-quit)
16424 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16425 appropriate arguments.
16426 (view-end-message): Use quit-restore window parameter.
16427
9481c002
MR
16428 * window.el (display-buffer-function): Rewrite doc-string.
16429 (display-buffer-window, display-buffer-alist): New variables.
16430 (display-buffer-split-specifiers)
16431 (display-buffer-side-specifiers)
16432 (display-buffer-macro-specifiers): New constants.
16433 (display-buffer-even-window-sizes, display-buffer-set-height)
16434 (display-buffer-set-width, display-buffer-select-window)
16435 (display-buffer-in-window, display-buffer-reuse-window)
16436 (display-buffer-split-window-1, display-buffer-split-window)
16437 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16438 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16439 (display-buffer-in-side-window, normalize-buffer-to-display)
16440 (display-buffer-normalize-specifiers-1)
16441 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16442 (display-buffer-normalize-specifiers, display-buffer-frame):
16443 New functions.
9481c002
MR
16444 (display-buffer): Major rewrite.
16445 (display-buffer-other-window, display-buffer-other-frame)
16446 (pop-to-buffer, switch-to-buffer-other-window)
16447 (switch-to-buffer-other-frame): Rewrite.
16448 (display-buffer-same-window, display-buffer-same-frame)
16449 (display-buffer-same-frame-other-window)
16450 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16451 (pop-to-buffer-other-window)
16452 (pop-to-buffer-same-frame-other-window)
16453 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16454 (switch-to-buffer-other-window-same-frame): New functions.
16455 (same-window-p, special-display-p): Rewrite disabling warnings.
16456 Make obsolete.
16457 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16458 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16459 Make obsolete
16460 (same-window-buffer-names, same-window-regexps)
16461 (special-display-frame-alist, special-display-popup-frame)
16462 (special-display-function, special-display-buffer-names)
16463 (special-display-regexps, pop-up-frame-alist)
16464 (pop-up-frame-function, split-window-preferred-function)
16465 (split-height-threshold, split-width-threshold)
16466 (even-window-heights): Make obsolete.
16467
9db51aca
GM
164682011-06-12 Glenn Morris <rgm@gnu.org>
16469
16470 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16471 Misc simplifications.
9db51aca 16472
39cffb44
MR
164732011-06-12 Martin Rudalics <rudalics@gmx.at>
16474
16475 * window.el (window-safely-shrinkable-p): Restore function which
16476 was inadvertently removed in change from 2011-06-11. Declare as
16477 obsolete.
16478
2b75be67
SM
16479 * calendar/calendar.el (calendar-generate-window):
16480 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16481 window-safely-shrinkable-p.
16482
a8955be7
GM
164832011-06-12 Glenn Morris <rgm@gnu.org>
16484
16485 * progmodes/fortran.el (fortran-mode-syntax-table):
16486 * progmodes/f90.el (f90-mode-syntax-table):
16487 Set % to punctuation. (Bug#8820)
16488 (f90-find-tag-default): Remove, no longer needed.
16489
f0d4059d
DC
164902011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16491
16492 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16493
1100a63c
CY
164942011-06-11 Chong Yidong <cyd@stupidchicken.com>
16495
16496 * image.el (image-animated-p): Return animation delay in seconds.
16497 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16498 (image-animate-timeout): Remove DELAY argument. Don't assume
16499 every subimage has the same delay; get it from image-animated-p.
16500 (image-animate): Caller changed.
16501
def722bf
MA
165022011-06-11 Michael Albinus <michael.albinus@gmx.de>
16503
16504 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16505 to ignored backtrace functions.
16506
0a2bb1a9
GM
165072011-06-11 Glenn Morris <rgm@gnu.org>
16508
16509 * calendar/appt.el (appt-disp-window-function): Doc fix.
16510 (appt-check): Handle overlapping appointments. (Bug#8337)
16511
6198ccd0
MR
165122011-06-11 Martin Rudalics <rudalics@gmx.at>
16513
16514 * window.el (window-tree-1, window-tree): New functions, moving
16515 the latter to window.el.
16516 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16517 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16518 (bw-refresh-edges): Remove.
16519 (balance-windows-1, balance-windows-2): New functions.
16520 (balance-windows): Rewrite in terms of window tree functions,
16521 balance-windows-1 and balance-windows-2.
16522 (bw-adjust-window): Remove.
16523 (balance-windows-area-adjust): New function with functionality of
16524 bw-adjust-window but using resize-window.
2b75be67
SM
16525 (set-window-text-height): Rewrite doc-string.
16526 Use normalize-live-window and resize-window.
16527 (enlarge-window-horizontally, shrink-window-horizontally):
16528 Rename argument to DELTA.
6198ccd0
MR
16529 (window-buffer-height): New function.
16530 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16531 Rewrite using new window resize routines.
2b75be67
SM
16532 (kill-buffer-and-window, mouse-autoselect-window-select):
16533 Use ignore-errors instead of condition-case.
6198ccd0
MR
16534 (quit-window): Call delete-frame instead of delete-windows-on
16535 for the only buffer on frame.
16536
9397e56f
MR
165372011-06-10 Martin Rudalics <rudalics@gmx.at>
16538
16539 * loadup.el (top-level): Load window before files for the sake
16540 of replace-buffer-in-windows.
16541
16542 * files.el (read-buffer-to-switch)
16543 (switch-to-buffer-other-window)
2b75be67
SM
16544 (switch-to-buffer-other-frame, display-buffer-other-frame):
16545 Move to window.el.
9397e56f
MR
16546
16547 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16548 (previous-buffer): Move to window.el.
16549
16550 * bindings.el (unbury-buffer): Move to window.el.
16551
16552 * window.el (delete-other-windows-vertically): Move after
16553 definition of delete-other-windows.
16554 (other-window, delete-windows-on, replace-buffer-in-windows):
16555 Move here from window.c.
16556 (record-window-buffer, unrecord-window-buffer)
16557 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16558 (switch-to-next-buffer): New functions.
16559 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16560 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16561 (previous-buffer): Move here from simple.el.
16562 Call switch-to-prev-buffer.
9397e56f
MR
16563 (bury-buffer): Move here from buffer.c. Switch to previous
16564 buffer when window cannot be deleted.
16565 (unbury-buffer): Move here from bindings.el.
16566 (ctl-x-map): Move binding for other-window from window.c to
16567 here.
16568 (read-buffer-to-switch, switch-to-buffer-other-window)
16569 (switch-to-buffer-other-frame): Move here from files.el.
16570 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16571 (switch-to-buffer): Move here from buffer.c.
16572 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16573
562dd5e9
MR
165742011-06-10 Martin Rudalics <rudalics@gmx.at>
16575
16576 * window.el (window-min-height, window-min-width): Move here
16577 from window.c. Add defcustoms and rewrite doc-strings.
16578 (resize-mini-window, resize-window): New functions.
16579 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16580 Move here from window.c.
16581 (maximize-window, minimize-window): New functions.
16582 (delete-window, delete-other-windows, split-window): Move here
16583 from window.c.
16584 (window-split-min-size): New function.
16585 (split-window-keep-point): Mention split-window-above-each-other
16586 instead of split-window-vertically.
2b75be67 16587 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16588 Rename split-window-vertically to split-window-above-each-other
16589 and provide defalias for old definition.
16590 (split-window-side-by-side, split-window-horizontally):
16591 Rename split-window-horizontally to split-window-side-by-side
16592 and provide defalias for the old definition.
562dd5e9
MR
16593 (ctl-x-map): Move bindings for delete-window,
16594 delete-other-windows and enlarge-window here from window.c.
16595 Replace bindings for split-window-vertically and
16596 split-window-horizontally by bindings for
16597 split-window-above-each-other and split-window-side-by-side.
16598
16599 * cus-start.el (all): Remove entries for window-min-height and
16600 window-min-width. Add entries for window-splits and
16601 window-nest.
16602
f0da764a
GM
166032011-06-09 Glenn Morris <rgm@gnu.org>
16604
80675c21
GM
16605 * calendar/appt.el (appt-mode-line): New function.
16606 (appt-check, appt-disp-window): Use it.
16607
f0da764a
GM
16608 * files.el (hack-one-local-variable-eval-safep):
16609 Allow minor-modes with explicit +/-1 arguments.
16610
59f623b7
TZ
166112011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16612
16613 * term/xterm.el (xterm): Add defgroup.
16614 (xterm-extra-capabilities): Add defcustom to supply known xterm
16615 capabilities, skip querying them, or query them (default).
16616 (terminal-init-xterm): Use it.
16617 (terminal-init-xterm-modify-other-keys): New function to set up
16618 modifyOtherKeys support to simplify `terminal-init-xterm'.
16619
9aab8e0d
MR
166202011-06-09 Martin Rudalics <rudalics@gmx.at>
16621
16622 * window.el (resize-window-reset, resize-window-reset-1)
16623 (resize-subwindows-skip-p, resize-subwindows-normal)
16624 (resize-subwindows, resize-other-windows, resize-this-window)
16625 (resize-root-window, resize-root-window-vertically)
16626 (window-deletable-p, window-or-subwindow-p)
16627 (frame-root-window-p): New functions.
16628
e8b08aee
GM
166292011-06-09 Glenn Morris <rgm@gnu.org>
16630
16631 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16632 (ange-ftp-get-files): Use it.
16633
254c37a5
AK
166342011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16635
16636 * mail/sendmail.el (mail-recover-1, mail-recover):
16637 * files.el (recover-file, recover-session):
16638 Handle dired-listing-switches not being just a single short option.
16639
35d7dbd3
GM
166402011-06-09 Glenn Morris <rgm@gnu.org>
16641
16642 * calendar/appt.el (appt-display-message, appt-disp-window):
16643 Handle lists of appointments.
16644
387522b2
MR
166452011-06-08 Martin Rudalics <rudalics@gmx.at>
16646
2b75be67
SM
16647 * window.el (one-window-p): Move down in code.
16648 Rewrite doc-string.
16649 (window-current-scroll-bars): Rewrite doc-string.
16650 Normalize live window argument.
387522b2
MR
16651 (walk-windows, get-window-with-predicate, count-windows):
16652 Rewrite doc-string. Use window-list-1.
16653 (window-in-direction-2, window-in-direction, get-mru-window):
16654 New functions.
16655
d8e4b68b 166562011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16657
16658 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16659 Doc fix (Bug#8713).
16660
166612011-06-08 Chong Yidong <cyd@stupidchicken.com>
16662
16663 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16664
166652011-06-08 Juanma Barranquero <lekktu@gmail.com>
16666
16667 * loadhist.el (unload-feature-special-hooks):
16668 Add `comint-output-filter-functions'.
16669
0de12c52
IK
166702011-06-08 Ivan Kanis <gnu@kanis.fr>
16671
16672 * calendar/appt.el (appt-check): Move some initializations into the let.
16673
f3d1777e
MR
166742011-06-08 Martin Rudalics <rudalics@gmx.at>
16675
16676 * window.el (window-height): Defalias to window-total-height.
16677 (window-width): Defalias to window-body-width.
16678
18af70d0
CY
166792011-06-07 Chong Yidong <cyd@stupidchicken.com>
16680
16681 * image-mode.el (image-toggle-animation): New command.
16682 (image-mode-map): Bind it to RET.
16683 (image-mode): Update message.
16684 (image-toggle-display-image): Avoid a spurious cache flush.
16685 (image-transform-rotation): Doc fix.
16686 (image-transform-properties): Return quickly in the normal case.
16687 (image-animate-loop): Rename from image-animate-max-time.
16688
2b75be67 16689 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16690 (create-animated-image): Remove unnecessary function.
16691 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16692 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16693 (image-animate-timer): Use car-safe.
16694 (image-animate-timeout): Rename argument.
16695
190b47e6
MR
166962011-06-07 Martin Rudalics <rudalics@gmx.at>
16697
16698 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16699 window.c. Rename first argument to ALL-FRAMES.
16700 Rephrase doc-strings.
16701 (get-buffer-window-list): Rewrite using window-list-1.
16702 Rephrase doc-string.
a1511caf
MR
16703 (window-safe-min-height, window-safe-min-width): New constants.
16704 (window-size-ignore, window-min-size, window-min-size-1)
16705 (window-sizable, window-sizable-p, window-size-fixed-1)
16706 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16707 (window-max-delta-1, window-max-delta, window-resizable)
16708 (window-resizable-p, window-total-height, window-total-width)
16709 (window-body-width): New functions.
16710 (window-full-height-p, window-full-width-p): Rewrite using
16711 window-total-size.
16712 (window-body-height): Rewrite using window-body-size.
190b47e6 16713
85cc1f11
MR
167142011-06-06 Martin Rudalics <rudalics@gmx.at>
16715
16716 * window.el (window-right, window-left, window-child)
16717 (window-child-count, window-last-child, window-any-p)
16718 (normalize-live-buffer, normalize-live-frame)
16719 (normalize-any-window, normalize-live-window)
16720 (window-iso-combination-p, window-iso-combined-p)
16721 (window-iso-combinations)
16722 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16723 (windows-with-parameter, window-with-parameter)
16724 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16725 (window-atom-check, window-side-check, window-check):
16726 New functions.
85cc1f11
MR
16727 (ignore-window-parameters, window-sides, window-sides-vertical)
16728 (window-sides-slots): New variables.
16729 (window-size-fixed): Move down in code. Minor doc-string fix.
16730
e7156492
AS
167312011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16732
16733 * comint.el (comint-dynamic-complete-as-filename)
16734 (comint-dynamic-complete-filename): Correctly call
16735 completion-in-region.
16736
7e821d0d
DD
167372011-06-05 Deniz Dogan <deniz@dogan.se>
16738
16739 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16740 in last change.
16741
ac09b8a1
DD
167422011-06-05 Deniz Dogan <deniz@dogan.se>
16743
16744 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16745 (rcirc): Use it to prompt for encryption.
16746
34699b85
RW
167472011-06-05 Roland Winkler <winkler@gnu.org>
16748
16749 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16750 (bibtex-search-entries): New command bound to C-c C-a.
16751 (bibtex-display-entries): New function.
16752
004dedd3
RW
167532011-06-05 Roland Winkler <winkler@gnu.org>
16754
16755 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16756 (bibtex-insert-kill): After yanking insert newline if necessary.
16757 (bibtex-initialize): Call bibtex-string-files-init only once.
16758 (bibtex-mode): Do not call easy-menu-add.
16759 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16760 (bibtex-yank): Set arg properly if nil.
16761
022fe7ce
RW
167622011-06-05 Roland Winkler <winkler@gnu.org>
16763
2b75be67
SM
16764 * textmodes/bibtex.el (bibtex-search-entry-globally):
16765 New variable.
022fe7ce
RW
16766 (bibtex-search-entry): Use it.
16767
b7c3692a
RW
167682011-06-05 Roland Winkler <winkler@gnu.org>
16769
16770 * textmodes/bibtex.el (bibtex-entry-format): New option
16771 sort-fields.
16772 (bibtex-format-entry, bibtex-reformat): Honor this option.
16773 (bibtex-parse-entry): Return fields in proper order.
16774
8eda563d
JB
167752011-06-05 Juanma Barranquero <lekktu@gmail.com>
16776
16777 * doc-view.el (doc-view-remove-if): Move computation of result out
16778 of `dolist' to silence misleading lexical-binding warning.
16779
7dbe3dbc
CY
167802011-06-04 Chong Yidong <cyd@stupidchicken.com>
16781
16782 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16783 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16784
0c33dd17
MA
167852011-06-04 Michael Albinus <michael.albinus@gmx.de>
16786
16787 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16788 "SunOS 5.10".
16789
f8f91c2b
MA
167902011-06-04 Michael Albinus <michael.albinus@gmx.de>
16791
16792 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16793 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16794 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16795 (tramp-parse-putty):
16796 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16797 (tramp-completion-function-alist-ssh)
16798 (tramp-completion-function-alist-telnet)
16799 (tramp-completion-function-alist-su)
16800 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16801 cookie.
16802
16803 * net/tramp-ftp.el:
16804 * net/tramp-sh.el:
16805 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16806 load "tramp.el" `tramp-set-completion-function'.
16807
e17d9003
SM
168082011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16809
16810 * shell.el: Require and use pcomplete.
16811 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16812 (shell-completion-vars): Set pcomplete-default-completion-function.
16813
6c4cab03
DD
168142011-06-04 Deniz Dogan <deniz@dogan.se>
16815
16816 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16817 `memq' (Bug#8799).
16818
ea9fafe0
SM
168192011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16820
16821 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16822
b3e945d3
JB
168232011-06-02 Juanma Barranquero <lekktu@gmail.com>
16824
16825 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16826 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16827 * vc/log-view.el (log-view-beginning-of-defun):
16828 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16829 (smerge-refine-forward, smerge-refine-chopup-region):
16830 Silence warning for unused `dotimes' counter variables.
16831
7d520089
SM
168322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16833
16834 * net/tramp.el (tramp-with-progress-reporter): Rename from
16835 with-progress-reporter. Use `declare'.
16836 * net/tramp-smb.el:
16837 * net/tramp-sh.el:
16838 * net/tramp-gvfs.el: Update all uses.
16839
a1c2400f
JB
168402011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16841
16842 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16843 buffer isn't killed before making it current.
16844
2403c841
SM
168452011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16846
16847 Silence various byte-compiler warnings.
16848 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16849 `access-type' and new obsolescence format.
16850 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16851 new format.
16852 (byte-compile-check-variable): New `access-type' argument.
16853 Only warn if the access-type is obsolete.
16854 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16855 (byte-compile-variable-set): Adjust callers.
16856 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16857 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16858 setting it as obsolete.
16859 * simple.el (minibuffer-completing-symbol):
16860 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16861 access as obsolete.
16862 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16863 obsolete yet.
16864 * international/quail.el (quail-mouse-choose-completion): Remove unused
16865 code referring to obsolete var.
16866 (quail-choose-completion-string): Remove.
16867 * server.el (server-clients-with, server-kill-buffer-query-function)
16868 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16869 * proced.el (proced-send-signal):
16870 * emacs-lisp/lisp.el (lisp-complete-symbol):
16871 Replace completion-annotate-function with completion-extra-properties.
16872
2462470b
SM
168732011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16874
fb5b2591
SM
16875 * simple.el (goto-line): Use read-number.
16876 (overriding-map-is-bound): Remove.
16877 (saved-overriding-map): Change default.
16878 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16879 Take the map as argument.
16880 (universal-argument, negative-argument, digit-argument): Use it.
16881 (restore-overriding-map): Adjust.
16882 (do-auto-fill): Use fill-forward-paragraph.
16883 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16884
fd6fa53f
SM
16885 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16886 (minibuffer-inactive-mode): New major mode.
16887 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16888 the *Messages* buffer" hack.
16889 (mouse-popup-menubar): Don't burp if the event is a normal key.
16890
2462470b
SM
16891 Miscellaneous tweaks.
16892 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16893 lexical scoping as in subr.el's dolist and dotimes.
16894 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16895 Silence compiler warning.
16896 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16897 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16898 * international/ccl.el (ccl-compile): Trivial simplification.
16899 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16900 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16901 `printflag' argument.
16902 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16903 Purecopy the whole obsolescence data.
16904
108bf785
LL
169052011-06-01 Leo Liu <sdl.web@gmail.com>
16906
16907 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16908 improve doc-string as suggested by Marco Pessotto
16909 <melmothx@gmail.com>.
16910 (rcirc-print): Fix last change.
16911
30a23501
SM
169122011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16913
16914 * minibuffer.el (complete-with-action): Return nil for the metadata and
16915 boundaries of non-functional tables.
16916 (completion-table-dynamic): Return nil for the metadata.
16917 (completion-table-with-terminator): Add default case, using
16918 complete-with-action.
16919 (completion--metadata): New function.
16920 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16921 to try and avoid pathological performance problems.
16922 (completion--embedded-envvar-table): Return `category' metadata.
16923
bcd54f83
LMI
169242011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16925
16926 * subr.el (process-alive-p): New tiny convenience function.
16927
e227544d
SM
169282011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16929
16930 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16931 content but also its previous major mode.
16932
e8296fdc
HE
169332011-05-31 Helmut Eller <eller.helmut@gmail.com>
16934
4d61f28d 16935 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16936 *Backtrace* buffer when we exit with C-M-c.
16937
620c53a6
SM
169382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16939
16940 * minibuffer.el: Add metadata method to completion tables.
16941 (completion-category-overrides): New defcustom.
16942 (completion-metadata, completion--field-metadata)
16943 (completion-metadata-get, completion--styles)
16944 (completion--cycle-threshold): New functions.
16945 (completion-try-completion, completion-all-completions):
16946 Add `metadata' argument to choose completion-styles.
16947 (completion--do-completion): Use metadata to choose cycling.
16948 (completion-all-sorted-completions): Use metadata for sorting.
16949 Remove :completion-cycle-penalty which is not needed any more.
16950 (completion--try-word-completion): Add `metadata' argument.
16951 (minibuffer-completion-help): Check metadata for annotation function
16952 and sorting.
16953 (completion-file-name-table): Return `category' metadata.
16954 (minibuffer-completing-file-name): Make obsolete.
16955 * simple.el (minibuffer-completing-symbol): Make obsolete.
16956 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16957 completion-try-completion.
16958
1257e755
SM
169592011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16960
16961 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16962
3767e706
LL
169632011-05-30 Leo Liu <sdl.web@gmail.com>
16964
16965 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16966 (rcirc-print): Decode all incoming messages (bug#8744).
16967 (rcirc-decode-coding-system): Allow value nil for automatic coding
16968 system detection.
3767e706 16969
d1a5d56a
GM
169702011-06-01 Glenn Morris <rgm@gnu.org>
16971
16972 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16973
e8cbec34
CY
169742011-05-29 Chong Yidong <cyd@stupidchicken.com>
16975
16976 * image.el (image-animate-max-time): Allow nil and t values.
16977 Default to nil.
16978 (create-animated-image): Doc fix.
16979 (image-animate-start): Remove second arg; just use
16980 image-animate-max-time.
16981 (image-animate-timeout): Doc fix. Args changed.
16982
16983 * image-mode.el (image-toggle-display-image): Ensure that the
16984 image spec passed to the animate timer is the same object as in
58179cce 16985 the buffer's display property (Bug#6981).
e8cbec34
CY
16986 (image-transform-properties): Doc fix.
16987
16988 * image.el (image-animate-max-time): Default to nil.
16989
159daf87
MR
169902011-05-29 Martin Rudalics <rudalics@gmx.at>
16991
16992 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16993 entire buffer list (Bug#8184).
16994
d66c4c7c
CY
169952011-05-29 Chong Yidong <cyd@stupidchicken.com>
16996
16997 * image.el (imagemagick-types-inhibit)
16998 (imagemagick-register-types): Doc fix.
16999
80aec780
DD
170002011-05-29 Deniz Dogan <deniz@dogan.se>
17001
17002 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17003 default.
17004
1dd3c2d9
CY
170052011-05-29 Chong Yidong <cyd@stupidchicken.com>
17006
17007 * select.el: Don't perform clipboard-manager saving in hooks;
17008 leave the hooks empty.
17009
60e56523
LL
170102011-05-28 Leo Liu <sdl.web@gmail.com>
17011
17012 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17013 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17014 (occur-edit-mode): New major mode (Bug#8463).
17015 (occur-after-change-function): New function.
17016 (occur-engine): Give Occur tags a read-only property.
17017
2b1e1a22
KR
170182011-05-28 Kevin Ryde <user42@zip.com.au>
17019
17020 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17021
5d344e88
CY
170222011-05-28 Chong Yidong <cyd@stupidchicken.com>
17023
8e6ca83d
CY
17024 * bindings.el (help-echo): Make the initial non-indicator dash
17025 empty on graphical terminals (Bug#7295).
17026
5d344e88
CY
17027 * files.el (auto-mode-alist): Move config rule after the
17028 in-stripping one (Bug#8547).
17029
bfbbace7
CY
17030 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17031
fbeba6e2
CY
17032 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17033 setting (Bug#8740).
17034
60ed8c72
AA
170352011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17036
4ac619f0
AA
17037 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17038 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17039 (Bug#8539).
60ed8c72 17040
23db196e
CY
170412011-05-28 Chong Yidong <cyd@stupidchicken.com>
17042
17043 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17044
5012f24c
DK
170452011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17046
17047 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17048 (hs-hide-block-at-point, hs-find-block-beginning)
17049 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17050 (Bug#8279).
17051
6a639b16
GM
170522011-05-28 Glenn Morris <rgm@gnu.org>
17053
17054 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17055
d43eaf2c
CY
170562011-05-28 Chong Yidong <cyd@stupidchicken.com>
17057
5199bde1
CY
17058 * help-fns.el (describe-function-1): If the function is a derived
17059 major mode, print the parent mode.
17060
d43eaf2c
CY
17061 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17062 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17063
423428a8
SM
170642011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17065
0ff8e1ba 17066 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17067 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17068 * progmodes/etags.el (tags-completion-at-point-function):
17069 * info-look.el (info-lookup-completions-at-point): Mark as
17070 non-exclusive.
17071 (info-complete): Adjust accordingly.
17072
423428a8
SM
17073 * info-look.el: Convert to lexical-binding and completion-at-point.
17074 (info-lookup-completions-at-point): New function.
17075 (info-complete): Use it and completion-in-region.
17076
b74aa22b
DA
170772011-05-28 Drew Adams <drew.adams@oracle.com>
17078
17079 * isearch.el: Let M-e start with point at the first mismatched char.
17080 (isearch-fail-pos): New function.
17081 (isearch-edit-string): Use it.
17082
66e2e71d
DK
170832011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17084
17085 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17086
b1890b0f 170872011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17088
17089 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17090 traversal functions for avl-trees.
17091 (avl-tree--stack): New struct.
17092 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17093 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17094 (avl-tree--do-enter): Add optional `updatefun' arg.
17095 Change return value.
eb95d01d 17096 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17097 (avl-tree--do-delete): Add `test' and `nilflag' args.
17098 Change return value.
eb95d01d
TC
17099 (avl-tree-member): Add optional `nilflag'
17100 (avl-tree-member-p): New function.
17101 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17102 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17103 (avl-tree-stack-empty-p): New functions.
17104
3769ddcf
TC
17105 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17106 avl-tree--del-balance1 and make it work both ways.
17107 (avl-tree--del-balance2): Remove.
17108 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17109 make it work both ways.
17110 (avl-tree--enter-balance2): Remove.
17111 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17112 New macros.
17113 (avl-tree--mapc, avl-tree-map): Add direction argument.
17114
eb95d01d 171152011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17116
17117 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17118
a9f737ee
CY
171192011-05-27 Chong Yidong <cyd@stupidchicken.com>
17120
17121 * select.el: Support clipboard managers with built-in function
17122 x-clipboard-manager-save, via delete-frame-functions and
17123 kill-emacs-hook.
17124 (xselect-convert-to-targets): Add MULTIPLE target to list.
17125 (xselect-convert-to-save-targets): New function.
17126
c92a1e54
KH
171272011-05-27 Kenichi Handa <handa@m17n.org>
17128
17129 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17130 let-binding rfc2047-encode-encoded-words to nil.
17131
e145f188
GM
171322011-05-27 Glenn Morris <rgm@gnu.org>
17133
5ec8a862
GM
17134 * mail/emacsbug.el: Don't require url-util.
17135
4b29d9fb
GM
17136 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17137
e145f188
GM
17138 * files.el (set-auto-mode):
17139 Also respect mode: entries at the end of the file. (Bug#8586)
17140
7d15102b
GM
171412011-05-26 Glenn Morris <rgm@gnu.org>
17142
98f593b8
GM
17143 * files.el (hack-local-variables-prop-line, hack-local-variables):
17144 Downcase mode names, as seems to be traditional.
27b48e63 17145 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17146
7d15102b
GM
17147 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17148 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17149
51d5b4ec
JD
171502011-05-25 Julien Danjou <julien@danjou.info>
17151
17152 * textmodes/rst.el (rst-define-level-faces): Do not define face
17153 symbol if it is already defined.
17154
91513f63
VB
171552011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17156
17157 * play/5x5.el (5x5-new-game, 5x5-randomize):
17158 Reset 5x5-solver-output to nil when a new grid is cast.
17159 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17160 these debugging traces, as defmacro breaks the compiled code.
17161
4d90d6d0
DK
171622011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17163
17164 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17165
e1b90ef6
LL
171662011-05-24 Leo Liu <sdl.web@gmail.com>
17167
17168 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17169 (vc-bzr-sha1): Adapt.
17170
d8e4b68b 17171 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17172
17173 * bindings.el: Provide sha1 feature.
17174
db0406bb 171752011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17176
17177 * mail/sendmail.el: Require `rfc2047'.
17178 (mail-insert-from-field): Do not perform RFC2047 encoding.
17179 (mail-encode-header): New function.
17180 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17181 buffer to the return value of select-message-coding-system.
17182 Call mail-encode-header.
b8d747b9
KH
17183
17184 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17185
db0406bb 171862011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17187
4d90d6d0
DK
17188 * mail/supercite.el (sc-default-cite-frame):
17189 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17190
eb8a5e9b
GM
171912011-05-24 Glenn Morris <rgm@gnu.org>
17192
f8630703
GM
17193 * progmodes/python.el (brm-menu): Declare.
17194
8831bbed
GM
17195 * emulation/viper.el (viper-set-hooks): Declare.
17196
eb8a5e9b
GM
17197 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17198 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17199 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17200 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17201 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17202 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17203
a2a25d24
SM
172042011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17205
17206 Add an :exit-function for completion-at-point.
17207
17208 * minibuffer.el (completion--done): New fun.
17209 (completion--do-completion): Use it. New arg `expect-exact'.
17210 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17211 since completion--do-completion does it for us now.
17212 (minibuffer-force-complete): Use completion--done and
17213 completion--replace. Handle sole-completion case with more care.
17214 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17215 (completion-extra-properties): New var.
17216 (completion-annotate-function): Make obsolete.
17217 (minibuffer-completion-help): Adjust accordingly.
17218 Use completion-list-insert-choice-function.
17219 (completion-at-point, completion-help-at-point):
17220 Bind completion-extra-properties.
17221 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17222 * simple.el (completion-list-insert-choice-function): New var.
17223 (completion-setup-function): Preserve it.
17224 (choose-completion): Pay attention to it, shuffle the code a bit.
17225 (choose-completion-string): New arg `insert-function'.
17226
17227 * textmodes/bibtex.el: Convert to lexical binding.
17228 (bibtex-mode-map): Use completion-at-point.
17229 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17230 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17231 (bibtex-complete): Define as obsolete alias.
17232 (bibtex-complete-internal): Remove.
17233 (bibtex-format-entry): Remove unused sub-group in regexp.
17234 * shell.el (shell--command-completion-data)
17235 (shell-environment-variable-completion):
17236 * pcomplete.el (pcomplete-completions-at-point):
17237 * comint.el (comint--complete-file-name-data): Use :exit-function
17238 instead of completion-table-with-terminator so it also works for
17239 choose-completion.
17240
e44e373d
SM
172412011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17242
4f91a816
SM
17243 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17244
782fc819
SM
17245 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17246 (bug#8710).
17247
e44e373d
SM
17248 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17249
381987c3
KM
172502011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17251
17252 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17253 customization variable and implement: If non-nil, auto-fill will
17254 be inhibited while on topic's header line.
17255
b776bc70
VB
172562011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17257
17258 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17259 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17260 always have a solution in grid size = 5 cases.
17261 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17262 (5x5-solver-output, 5x5-log-buffer): New vars.
17263 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17264 Make these variables buffer local to achieve 5x5 multi-session-ness.
17265 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17266 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17267 (5x5-solve-suggest): New funs.
17268 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17269 randomize a grid so that we ensure that there is always a solution.
17270 (5x5-make-random-grid): Allow other movement than flipping.
17271
7de88b6e
KR
172722011-05-23 Kevin Ryde <user42@zip.com.au>
17273
17274 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17275 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17276 advice and passes PREDICATE.
17277
b1ef1257
SM
172782011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17279
bbca48fe
SM
17280 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17281 byte-compile-lambda if it's actually a lambda.
17282
b1ef1257
SM
17283 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17284 Fix function quoting. Use backquote better.
17285
92a9cc65
YS
172862011-05-22 Yuanle Song <sylecn@gmail.com>
17287
17288 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17289 matching (Bug#8516).
17290
f0fb8059
JA
172912011-01-22 Jari Aalto <jari.aalto@cante.net>
17292
17293 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17294 different face (Bug#8178).
17295
d5b44c93
CY
172962011-05-22 Chong Yidong <cyd@stupidchicken.com>
17297
17298 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17299 defface (Bug#8144).
17300
79106a44
SM
173012011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17302
9c848d8a
SM
17303 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17304 funcall as well (bug#8712). Warn when performing those conversions.
17305 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17306
79106a44
SM
17307 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17308
88dfa756
GM
173092011-05-22 Glenn Morris <rgm@gnu.org>
17310
17311 * files.el (hack-local-variables-prop-line): Small simplifications.
17312 (hack-local-variables, hack-local-variables-prop-line):
17313 If MODE-ONLY, return the mode, rather than just `t'.
17314
b7cf2c79
SM
173152011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17316
17317 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17318
3f1a8558
GM
173192011-05-21 Glenn Morris <rgm@gnu.org>
17320
7e4ccca3
GM
17321 * files.el (hack-local-variables-prop-line, hack-local-variables):
17322 If only interested in the mode, don't bother doing the other stuff.
17323
637d46ca
GM
17324 * image-mode.el (image-after-revert-hook):
17325 Redraw all frames on which the image is visible. (Bug#8567)
17326
973d955b
GM
17327 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17328
3f1a8558
GM
17329 * wid-edit.el (widget-checklist-match-inline):
17330 Fix 2011-04-19 change. (Bug#8649)
17331
96479927
SM
173322011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17333
1dcf791f
SM
17334 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17335 Also allow singlespace after single-letter capitals followed by a dot.
17336
96479927
SM
17337 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17338 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17339
35fd0881
N
173402011-05-20 Nix <nix@esperi.org.uk>
17341
17342 * files.el (basic-save-buffer-2):
17343 Fix handling of break-hardlink-on-save with non-existent files.
17344
82745640
DD
173452011-05-19 Deniz Dogan <deniz@dogan.se>
17346
17347 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17348 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17349
4a720484
GM
173502011-05-19 Glenn Morris <rgm@gnu.org>
17351
d1f21341
GM
17352 * progmodes/f90.el (f90-type-def-re):
17353 Handle "type, bind(c)". (Bug#8691)
17354
4a720484
GM
17355 * emacs-lisp/autoload.el (batch-update-autoloads):
17356 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17357
2fb0a219
MA
173582011-05-18 Michael Albinus <michael.albinus@gmx.de>
17359
17360 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17361 property for the correct connection in case of multihops.
17362
e565dd37
GM
173632011-05-18 Glenn Morris <rgm@gnu.org>
17364
c2571358 17365 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17366 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17367
e565dd37
GM
17368 Rationalize calendar handling of day and month abbrev-arrays.
17369 * calendar/calendar.el (calendar-customized-p): New function.
17370 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17371 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17372 Add :set function.
17373 (calendar-abbrev-length, calendar-day-abbrev-array)
17374 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17375 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17376 Elements may no longer be nil.
17377 (calendar-day-name, calendar-month-name):
17378 Update for changed nature of abbrev arrays.
17379 * calendar/diary-lib.el (diary-name-pattern):
17380 Update for changed nature of abbrev arrays.
17381 (diary-mark-entries-1): Update calendar-make-alist calls.
17382 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17383 * calendar/cal-html.el (cal-html-day-abbrev-array):
17384 Simply inherit from calendar-day-abbrev-array.
17385
1d99a745
SM
173862011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17387
17388 * progmodes/grep.el (grep-mode): Disable default
17389 compilation-directory-matcher setting (bug#8684).
17390
7c1d9aa0
MA
173912011-05-17 Michael Albinus <michael.albinus@gmx.de>
17392
17393 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17394 instead of "head" and "tail". There were problems with SunOS 5.9,
17395 and it performs better.
17396
3952e9d8
GM
173972011-05-17 Glenn Morris <rgm@gnu.org>
17398
2dd12e7f
GM
17399 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17400
e4157b9c
GM
17401 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17402 Replace obsolete function.
17403
8e249bbd
GM
17404 * shell.el (pcomplete-parse-arguments-function): Declare.
17405
3952e9d8
GM
17406 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17407 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17408 (appt-check): Doc fixes.
17409 (appt-disp-window-function, appt-delete-window-function):
17410 Remove needless special case in custom :type.
17411 (appt-display-count): Default to 0, not nil.
17412 (appt-check): Reset appt-display-count to 0, not nil.
17413
c71a0d48 174142011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17415
c71a0d48
GM
17416 * progmodes/python.el (python-font-lock-keywords):
17417 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17418
31d55be9
SM
174192011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17420
17421 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17422
3bfacb2f
KR
174232011-05-16 Kevin Ryde <user42@zip.com.au>
17424
17425 * info-look.el (makefile-automake-mode): New setups, looking in
17426 automake manual, then makefile-mode.
17427 (makefile-mode): Remove automake manual, have it just in
17428 makefile-automake-mode since there's various things different or
17429 not relevant to plain make.
17430 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17431 believe a hypothetical automake-mode would go to makefile-mode,
17432 not the other way around.
17433
c8e83751
CY
174342011-05-15 Chong Yidong <cyd@stupidchicken.com>
17435
5e9e35cd
CY
17436 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17437 hunk-end tags (Bug#8672).
17438
c8e83751
CY
17439 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17440 vc-annotate-show-diff-revision-at-line (Bug#8671).
17441
50b23e5a
GM
174422011-05-14 Glenn Morris <rgm@gnu.org>
17443
7210a739
GM
17444 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17445 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17446 (change-log-font-lock-keywords): Also handle multiple author lines
17447 with leading tabs. (Bug#8644)
7210a739 17448
4691905a
GM
17449 * calendar/appt.el (appt-check): Rename some local variables.
17450 Some simplification/reordering.
17451
50b23e5a
GM
17452 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17453 (feedmail-sendmail-f-doesnt-sell-me-out)
17454 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17455 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17456 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17457 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17458 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17459 (feedmail-binmail-gnulinuxish-template):
17460 Rename from feedmail-binmail-linuxish-template.
17461 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17462 Use insert-buffer-substring.
17463
215cda7c
BC
174642011-05-14 Bill Carpenter <bill@carpenter.org>
17465
17466 * mail/feedmail.el (feedmail-patch-level): Increase.
17467 (feedmail-debug): New custom group.
17468 (feedmail-confirm-outgoing-timeout)
17469 (feedmail-sendmail-f-doesnt-sell-me-out)
17470 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17471 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17472 (feedmail-sender-line, feedmail-from-line)
17473 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17474 (feedmail-spray-this-address)
215cda7c
BC
17475 (feedmail-spray-address-fiddle-plex-list)
17476 (feedmail-queue-use-send-time-for-date)
17477 (feedmail-queue-use-send-time-for-message-id)
17478 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17479 (feedmail-buffer-eating-function):
17480 Doc fixes.
17481 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17482 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17483 (feedmail-message-action-scroll-down): New functions.
17484 (feedmail-queue-directory, feedmail-queue-draft-directory):
17485 Use expand-file-name.
17486 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17487 Remove C-v help entry.
17488 (feedmail-queue-buffer-file-name): New variable.
17489 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17490 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17491 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17492 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17493 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17494 (feedmail-message-action-toggle-spray)
17495 (feedmail-run-the-queue-no-prompts)
17496 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17497 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17498 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17499 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17500 (feedmail-envelope-deducer, feedmail-fiddle-from)
17501 (feedmail-fiddle-sender, feedmail-default-date-generator)
17502 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17503 (feedmail-fiddle-spray-address)
17504 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17505 (feedmail-fiddle-list-of-fiddle-plexes)
17506 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17507 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17508 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17509 Change default. Doc fix.
17510 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17511 (feedmail-binmail-linuxish-template): New constant.
17512 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17513 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17514 (feedmail-send-it): Add debug call.
17515 Use feedmail-queue-buffer-file-name, and
17516 feedmail-send-it-immediately-wrapper.
17517 (feedmail-message-action-send): Add debug call.
17518 Use feedmail-send-it-immediately-wrapper.
17519 (feedmail-queue-express-to-queue): Add debug call.
17520 Run feedmail-queue-express-hook.
17521 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17522 (feedmail-message-action-help-blat):
17523 Rename from feedmail-queue-send-edit-prompt-help-first.
17524 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17525 Check line-endings. Handle errors better.
17526 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17527 Doc fix. Add debug call.
17528 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17529 Use feedmail-queue-send-edit-prompt-inner.
17530 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17531 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17532 from feedmail-queue-send-edit-prompt.
17533 (feedmail-queue-send-edit-prompt-help)
17534 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17535 (feedmail-tidy-up-slug): Add debug call.
17536 Respect feedmail-queue-slug-suspect-regexp.
17537 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17538 (feedmail-dump-message-to-queue): Add debug call.
17539 Expand queue-directory.
17540 (feedmail-dump-message-to-queue): Change message slightly.
17541 Use feedmail-say-chatter.
17542 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17543 (feedmail-send-it-immediately-wrapper): New function.
17544 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17545 Insert empty string rather than newline. Handle full-frame case.
17546 Use catch/throw. Use feedmail-say-chatter.
17547 (feedmail-fiddle-from): Try mail-host-address.
17548 (feedmail-default-message-id-generator): Doc fix.
17549 Bind system-time-locale. Handle missing end.
17550 (feedmail-fiddle-x-mailer): Add debug call.
17551 Handle feedmail-x-mailer-line being nil.
17552 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17553 Add debug call. Use buffer-substring-no-properties.
17554 (feedmail-say-debug, feedmail-say-chatter): New functions.
17555 (feedmail-find-eoh): Give an explicit error.
17556
42c7e61e
UJ
175572011-05-13 Ulf Jasper <ulf.jasper@web.de>
17558
c2571358 17559 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17560 family from helvetica to sans.
c2571358 17561 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17562 etc/images/newsticker.
17563
c2571358 17564 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17565 family from helvetica to sans.
17566
17567 * net/newst-plainview.el (newsticker-new-item-face)
17568 (newsticker-old-item-face, newsticker-immortal-item-face)
17569 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17570 (newsticker-statistics-face): Change default family from
42c7e61e 17571 helvetica to sans.
c2571358 17572 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17573 etc/images/newsticker.
17574
5d3385a0
JB
17575 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17576 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17577 auto-marking.
17578
8497a297
DV
175792011-05-13 Didier Verna <didier@xemacs.org>
17580
17581 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17582 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17583 TODO entries.
8497a297
DV
17584 (lisp-lambda-list-keyword-parameter-indentation)
17585 (lisp-lambda-list-keyword-parameter-alignment)
17586 (lisp-lambda-list-keyword-alignment): New customizable user options.
17587 (lisp-indent-defun-method): Improve docstring.
17588 (extended-loop-p): Fix comment.
17589 (lisp-indent-lambda-list-keywords-regexp): New variable.
17590 (lisp-indent-lambda-list): New function.
17591 (lisp-indent-259): Use it.
17592 (lisp-indent-defmethod): Support for more than one
17593 method qualifier and properly indent methods lambda-lists.
17594 (defgeneric): Provide a missing common-lisp-indent-function property.
17595
f278f87f
SM
175962011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17597
17598 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17599 bounds for the empty string (bug#8667).
17600
5233edd7
GM
176012011-05-13 Glenn Morris <rgm@gnu.org>
17602
5237a44f
GM
17603 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17604
8340026c 17605 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17606 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17607
5233edd7 17608 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17609 (appt-time-msg-list): Doc fix.
a5464014 17610 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17611
92d10796
AS
176122011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17613
17614 * progmodes/ld-script.el (ld-script-keywords)
17615 (ld-script-builtins): Update keywords list.
17616
914a0ae1
SM
176172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17618
c89be45f
SM
17619 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17620
914a0ae1
SM
17621 * shell.el (shell-completion-vars): New function.
17622 (shell-mode):
17623 * simple.el (read-shell-command): Use it.
17624 (blink-matching-open): No need for " [...]" in minibuffer-message.
17625
98dc3df3
GM
176262011-05-12 Glenn Morris <rgm@gnu.org>
17627
17628 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17629 (appt-check): Simplify.
17630
d2fc7e3d 176312011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17632
4d61f28d 17633 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17634 literal "/dev/null".
17635
d2fc7e3d 176362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17637
17638 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17639 Fix typo.
17640
d2fc7e3d 176412011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17642
3f254caa
SM
17643 * progmodes/which-func.el (which-function):
17644 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17645 which might not be defined (Bug#8260).
17646
d45885f7
GM
176472011-05-12 Glenn Morris <rgm@gnu.org>
17648
17649 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17650 Let byte-compile-initial-macro-environment always take precedence.
17651
488086f4
SM
176522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17653
17654 * net/rcirc.el: Add support for SSL/TLS connections.
17655 (rcirc-server-alist): New field `encryption'.
17656 (rcirc): Check `encryption' settings.
17657 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17658 Merge make-local-variable into `set'.
17659 (rcirc--connection-open-p): New function.
17660 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17661 the process is not a network process (e.g. running gnutls-cli).
17662 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17663 Make rcirc-(en|de)code-coding-system local here.
17664 (rcirc-mode): Merge make-local-variable into `set'.
17665 (rcirc-parent-buffer): Make permanent buffer-local.
17666 (rcirc-multiline-minor-mode): Don't do it here.
17667 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17668 there's no server buffer.
17669
7d3b9d44
GM
176702011-05-11 Glenn Morris <rgm@gnu.org>
17671
f64049c6
GM
17672 * newcomment.el (comment-kill): Prefix "unused" local.
17673
93c9df73
GM
17674 * term/w32console.el (get-screen-color): Declare.
17675
7d3b9d44
GM
17676 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17677 Handle symbol elements of byte-compile-initial-macro-environment.
17678
9e2dd53f
LL
176792011-05-10 Leo Liu <sdl.web@gmail.com>
17680
488086f4
SM
17681 * bookmark.el (bookmark-bmenu-mode-map):
17682 Bind bookmark-bmenu-search to `/'.
8b340240 17683
9e2dd53f 17684 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17685 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17686 (Footnote-unicode): New function.
17687 (footnote-style-alist): Add unicode style to the list.
17688 (footnote-style): Doc fix.
9e2dd53f 17689
79b70037
GM
176902011-05-10 Jim Meyering <meyering@redhat.com>
17691
17692 Fix doubled-word typos.
17693 * international/quail.el (quail-insert-kbd-layout): and and -> and
17694 * kermit.el: and and -> and
17695 * net/ldap.el (ldap-search-internal): to to -> to
17696 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17697 * progmodes/js.el (js-mode): and and -> and
17698 * textmodes/artist.el (artist-move-to-xy): at at -> at
17699 (artist-draw-region-trim-line-endings): if if -> if
17700 And Safetyc -> Safety.
17701 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17702
b8f82dc1 177032011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17704 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17705
17706 * files.el (hack-one-local-variable-eval-safep):
17707 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17708
4f99f44b
GM
177092011-05-10 Glenn Morris <rgm@gnu.org>
17710
17711 * calendar/diary-lib.el (diary-list-entries-hook)
17712 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17713 (diary-nongregorian-marking-hook, diary-list-entries)
17714 (diary-include-other-diary-files, diary-mark-entries)
17715 (diary-mark-included-diary-files): Doc fixes.
17716
84f29e6b
JB
177172011-05-09 Juanma Barranquero <lekktu@gmail.com>
17718
17719 * misc.el: Require tabulated-list.el during compilation.
17720
9bedd73a
CY
177212011-05-09 Chong Yidong <cyd@stupidchicken.com>
17722
488086f4
SM
17723 * progmodes/compile.el (compilation-start):
17724 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17725 (compilation-filter-hook): Doc fix.
17726
797c735c
DD
177272011-05-09 Deniz Dogan <deniz@dogan.se>
17728
17729 * wdired.el: Remove outdated installation comment. Fix usage
17730 comment.
17731
5f4b1dfe
JB
177322011-05-09 Juanma Barranquero <lekktu@gmail.com>
17733
17734 * misc.el: Implement new command `list-dynamic-libraries'.
17735 (list-dynamic-libraries--loaded-only-p): New variable.
17736 (list-dynamic-libraries--refresh): New function.
17737 (list-dynamic-libraries): New command.
17738
4c44026c
CY
177392011-05-09 Chong Yidong <cyd@stupidchicken.com>
17740
488086f4
SM
17741 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17742 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17743 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17744 higher priority to avoid clobbering by gnu.
17745
027f966d
CY
177462011-05-08 Chong Yidong <cyd@stupidchicken.com>
17747
17748 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17749 if the face has existing theme settings (Bug#8454).
17750
085f5d7d
CY
177512011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17752
488086f4
SM
17753 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17754 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17755
2a86a00c
RS
17756 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17757 special file names `.' and `..' (Bug#8259).
17758
d9c54a06
CY
177592011-05-08 Chong Yidong <cyd@stupidchicken.com>
17760
488086f4
SM
17761 * progmodes/grep.el (grep-mode-font-lock-keywords):
17762 Remove buffer-changing entries.
d9c54a06
CY
17763 (grep-filter): New function.
17764 (grep-mode): Add it to compilation-filter-hook.
17765
17766 * progmodes/compile.el (compilation-filter-hook)
17767 (compilation-filter-start): New defvars.
17768 (compilation-filter): Call compilation-filter-hook prior to
17769 updating the process mark.
17770
c4662635
SM
177712011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17772
17773 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17774
b0512a1d
EZ
177752011-05-07 Eli Zaretskii <eliz@gnu.org>
17776
605c9376
EZ
17777 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17778 mailclient-send-it even if window-system is nil. (Bug#8595)
17779
c4662635
SM
17780 * term/w32console.el (terminal-init-w32console):
17781 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17782 background-mode. (Bug#8597)
17783
d1dc2cc2
SM
177842011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17785
17786 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17787 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17788 New functions.
17789 (defgeneric, eieio--defmethod): Use them.
17790 (eieio-defgeneric): Remove.
17791 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17792
915d1300
GM
177932011-05-07 Glenn Morris <rgm@gnu.org>
17794
a3961c3e
GM
17795 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17796 Use let rather than let*.
17797 (timeclock-find-discrep): Remove unused local.
17798
314347b9
GM
17799 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17800
915d1300
GM
17801 * calendar/appt.el (appt-time-msg-list): Doc fix.
17802
275b59b0
NF
178032011-05-06 Noah Friedman <friedman@splode.com>
17804
17805 * apropos.el (apropos-print-doc): Only use
17806 emacs-lisp-docstring-fill-column when it is bound to an integer,
17807 per that variable's documentation.
17808
6c19f744
SM
178092011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17810
17811 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17812 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17813
60f884b2
GM
178142011-05-06 Glenn Morris <rgm@gnu.org>
17815
5006e634
GM
17816 * calendar/appt.el (appt-message-warning-time): Doc fix.
17817 (appt-warning-time-regexp): New option.
17818 (appt-make-list): Respect appt-message-warning-time.
17819
548d0a63
GM
17820 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17821 New options.
17822 (diary-add-to-list): Strip comments from the displayed string.
17823 (diary-mode): Set comment-start and comment-end.
17824
60f884b2
GM
17825 * vc/diff-mode.el (smerge-refine-subst): Declare.
17826 (diff-refine-hunk): Don't require smerge-mode when compiling.
17827
989681bb
JB
178282011-05-06 Juanma Barranquero <lekktu@gmail.com>
17829
17830 * simple.el (list-processes): Return nil as the docstring says.
17831
a6bc05e1
MA
178322011-05-05 Michael Albinus <michael.albinus@gmx.de>
17833
17834 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17835 to "".
17836 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17837 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17838 determining of binary transfer. (Bug#7383)
17839
23c22e9a
MA
178402011-05-05 Michael Albinus <michael.albinus@gmx.de>
17841
c4662635
SM
17842 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17843 Fix port computation bug. (Bug#8618)
23c22e9a 17844
0bff894f
GM
178452011-05-05 Glenn Morris <rgm@gnu.org>
17846
b8296902
GM
17847 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17848
1f522ce8
GM
17849 * simple.el (shell-dynamic-complete-functions)
17850 (comint-dynamic-complete-functions): Declare.
17851
cf5bee67
GM
17852 * net/network-stream.el (gnutls-negotiate):
17853 * simple.el (tabulated-list-print): Fix declarations.
17854
17855 * progmodes/gud.el (syntax-symbol, syntax-point):
17856 Remove unnecessary and incorrect declarations.
17857
0bff894f
GM
17858 * emacs-lisp/check-declare.el (check-declare-scan):
17859 Handle byte-compile-initial-macro-environment in bytecomp.el
17860
9869b3ae
SM
178612011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17862
17863 Fix earlier half-done eieio-defmethod change (bug#8338).
17864 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17865 Streamline and change calling convention.
17866 (defmethod): Adjust accordingly and simplify.
17867 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17868 new eieio--defmethod.
17869 (slot-boundp): Minor CSE simplification.
17870
9c1d5ac5
MZ
178712011-05-05 Milan Zamazal <pdm@zamazal.org>
17872
17873 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17874 (glasses-make-readable): Use glasses-separate-capital-groups.
17875
455c834e
JB
178762011-05-05 Juanma Barranquero <lekktu@gmail.com>
17877
17878 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17879 (warning-series): Doc fix.
17880 (display-warning): Don't try to create the buffer if we just found it.
17881
9ed7c8cb
CY
178822011-05-04 Chong Yidong <cyd@stupidchicken.com>
17883
17884 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17885 (autoload-find-generated-file): New function.
17886 (generate-file-autoloads): Bind generated-autoload-file to
17887 buffer-file-name.
9869b3ae
SM
17888 (update-file-autoloads, update-directory-autoloads):
17889 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17890 output file (Bug#7989).
17891 (batch-update-autoloads): Doc fix.
17892
0898ca10
JB
178932011-05-04 Juanma Barranquero <lekktu@gmail.com>
17894
17895 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17896
31dfb76c
GM
178972011-05-04 Glenn Morris <rgm@gnu.org>
17898
f330b642
GM
17899 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17900 function, so it follows changes in calendar-date-style.
17901 (diary-fancy-date-matcher): New function.
17902 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17903 (diary-fancy-font-lock-fontify-region-function):
17904 Use diary-fancy-date-pattern as a function.
17905
31dfb76c
GM
17906 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17907 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17908
48e79d6a
TZ
179092011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17910
17911 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17912 instead of positional arguments. Allow :keylist and :crlfiles
17913 arguments.
17914 (open-gnutls-stream): Call it.
17915
17916 * net/network-stream.el (network-stream-open-starttls): Adjust to
17917 call `gnutls-negotiate' with :process and :hostname arguments.
17918
dd5a5ee0
SM
179192011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17920
ef80fc09
SM
17921 * minibuffer.el (completion--message): New function.
17922 (completion--do-completion, minibuffer-complete)
17923 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17924 (completion--do-completion): Don't ignore completion-auto-help when in
17925 icomplete-mode.
17926
dd5a5ee0
SM
17927 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17928 internal encoding (e.g. tibetan zero is not whitespace).
17929 (global-whitespace-mode): Prefer save-current-buffer.
17930 (whitespace-trailing-regexp): Remove useless save-match-data.
17931 (whitespace-empty-at-bob-regexp): Minor simplification.
17932
b7d22a83
CY
179332011-05-03 Chong Yidong <cyd@stupidchicken.com>
17934
17935 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17936
5192af46
AM
179372011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17938
17939 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17940 Use `concat' to create string for insertion.
5192af46 17941
5767d190
SM
179422011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17943
17944 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17945 Avoid open-line which runs post-self-insert-hook.
17946 (bibtex-fill-entry): Remove unused `end' var.
17947
bf242939
AM
179482011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17949
5767d190
SM
17950 * textmodes/ispell.el (ispell-add-per-file-word-list):
17951 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17952
25666126
LL
179532011-05-03 Leo Liu <sdl.web@gmail.com>
17954
17955 * isearch.el (isearch-yank-pop): New command.
5767d190 17956 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17957 (isearch-forward): Mention it.
17958
52d3c2d0
SM
179592011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17960
1bcace58
SM
17961 * simple.el (minibuffer-complete-shell-command): Remove.
17962 (minibuffer-local-shell-command-map): Use completion-at-point.
17963 (read-shell-command): Setup completion vars here instead.
17964 (read-expression-map): Bind TAB to symbol completion.
17965
52d3c2d0
SM
17966 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17967 error directly rather via storing it into `results'.
17968
35813471
LL
179692011-05-02 Leo Liu <sdl.web@gmail.com>
17970
17971 * vc/diff.el: Fix description.
17972
e793a940
LMI
179732011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17974
17975 * server.el (server-eval-at): New function.
17976
8de66e05
LMI
179772011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17978
17979 * net/network-stream.el (open-network-stream): Take a :nowait
17980 parameter and pass it on to `make-network-process'.
17981 (network-stream-open-plain): Ditto.
17982
dcb79f20
AS
179832011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17984
17985 * faces.el (face-spec-set-match-display): Don't match toolkit
17986 options on terminal frames.
17987
14a7fbd8
SM
179882011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17989
7eabc1be
SM
17990 * progmodes/pascal.el: Use lexical binding.
17991 (pascal-mode-map): Remove author preferences.
17992
14a7fbd8
SM
17993 * pcomplete.el (pcomplete-std-complete): Don't abuse
17994 completion-at-point.
17995
50f84510
JB
179962011-04-28 Juanma Barranquero <lekktu@gmail.com>
17997
6e087a44
JB
17998 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17999 removing code that has been dead since 1991 or so.
18000
50f84510
JB
18001 * startup.el (command-line): When warning about "_emacs", use a
18002 delayed warning to allow the user to filter it out.
18003
0ba690bd
DD
180042011-04-28 Deniz Dogan <deniz@dogan.se>
18005
18006 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18007 user has not joined.
18008
08abfaad
SM
180092011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18010
18011 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18012 aren't any completions at point.
18013
638f053a
JB
180142011-04-28 Juanma Barranquero <lekktu@gmail.com>
18015
18016 * subr.el (display-delayed-warnings): New function.
18017 (delayed-warnings-hook): New variable.
18018
8fff8daa
SM
180192011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18020
08abfaad
SM
18021 * minibuffer.el (completion-at-point, completion-help-at-point):
18022 Don't presume that a given completion-at-point-function will always
18023 use the same calling convention.
18024
8fff8daa
SM
18025 * pcomplete.el (pcomplete-completions-at-point):
18026 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18027 pcomplete-seen is non-nil.
18028 (pcomplete-comint-setup): Also recognize the new comint/shell
18029 completion functions.
18030 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18031 pcomplete-seen is non-nil.
18032
841a1577 180332011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18034
841a1577 18035 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18036 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18037 the first character in the entry. This allows for code to add its
211ec907
UJ
18038 own uid to the entry.
18039 (icalendar--convert-float-to-ical): Add export of
18040 `diary-float'-entries save for those with the optional DAY
18041 argument.
18042
2a782793
DC
180432011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18044
18045 * subr.el (shell-quote-argument): Use alternate escaping strategy
18046 when we spot a variable reference in a string.
18047
0438ce91
DC
180482011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18049
18050 * cus-start.el (all): Define customization for debug-on-event.
18051
841a1577 180522011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18053
18054 * subr.el (shell-quote-argument): Escape correctly under Windows.
18055
d090ed6c
SM
180562011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18057
18058 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18059
bfd31217
MA
180602011-04-25 Michael Albinus <michael.albinus@gmx.de>
18061
d090ed6c
SM
18062 * net/tramp.el (tramp-process-actions): Add POS argument.
18063 Delete region between POS and (pos).
bfd31217 18064
d090ed6c
SM
18065 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18066 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18067 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18068
18069 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18070 position in `tramp-process-actions' call.
18071
18072 * net/trampver.el: Update release number.
18073
e92f3bd3
SM
180742011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18075
850256b5
SM
18076 * custom.el (defcustom): Obey lexical-binding.
18077
e92f3bd3
SM
18078 Fix octave-inf completion problems reported by Alexander Klimov.
18079 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18080 Inherit from octave-mode-syntax-table.
18081 (inferior-octave-mode): Set info-lookup-mode.
18082 (inferior-octave-completion-at-point): New function.
18083 (inferior-octave-complete): Use it and completion-in-region.
18084 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18085 comint-filename-completion.
18086 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18087 symbol elements which shouldn't be word elements.
18088 (octave-font-lock-keywords, octave-beginning-of-defun)
18089 (octave-function-header-regexp): Adjust regexps accordingly.
18090 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18091
cd22b309
JB
180922011-04-25 Juanma Barranquero <lekktu@gmail.com>
18093
18094 * net/gnutls.el (gnutls-errorp): Declare before first use.
18095
8b492194
TZ
180962011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18097
18098 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18099 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18100 default trustfile exists before going to use it. Add missing
5a5fa834 18101 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18102 Reported by Claudio Bley <claudio.bley@gmail.com>.
18103 (open-gnutls-stream): Add usage example.
18104
18105 * net/network-stream.el (network-stream-open-starttls): Give host
18106 parameter to `gnutls-negotiate'.
18107 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18108 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18109
841a1577 181102011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18111
cd22b309
JB
18112 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18113 Use correct match group (bug#8438).
05842630 18114
3ba7869c
CY
181152011-04-24 Chong Yidong <cyd@stupidchicken.com>
18116
512e3ae1
CY
18117 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18118 (package-menu--generate): New arg specifying packages to show.
18119 (package-menu-refresh, package-menu-execute, list-packages):
18120 Callers changed.
18121 (package-show-package-list): New function, replacing deleted
18122 package--list-packages (renamed because it is non-internal).
18123
18124 * finder.el (finder-list-matches): Use package-show-package-list
18125 instead of deleted package--list-packages.
18126
e92f3bd3
SM
18127 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18128 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18129 (vc-annotate-mode-map): Bind it to RET.
18130
7031be6d
UR
181312011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18132
18133 * progmodes/etags.el (next-file): Don't use set-buffer to change
18134 buffers (Bug#8478).
18135
4ef177aa
CY
181362011-04-24 Chong Yidong <cyd@stupidchicken.com>
18137
c8d173eb
CY
18138 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18139
4ef177aa
CY
18140 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18141 (apropos-accumulator): Doc fix.
18142 (apropos-function, apropos-macro, apropos-command)
18143 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18144 (apropos-plist): Add face property.
18145 (apropos-symbols-internal): Fix indentation.
18146 (apropos-print): Simplify help, and recognize apropos-multi-type.
18147 (apropos-print-doc): Use button-type-get to extract the button's
18148 face property. Fill docstring (Bug#8352).
18149
4ffd0d6b 181502011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18151
18152 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18153
c6c32125 18154 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18155 (mpuz-mode-map): Use mapc.
c6c32125
JB
18156 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18157 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18158 Fix typos in docstrings.
18159
58d468b4
JB
18160 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18161 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18162
6470c3c6
JB
18163 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18164
4ffd0d6b 181652011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18166
18167 * minibuffer.el (completion--do-completion): Avoid the "Next char
18168 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18169
3ad8bad0
CY
18170 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18171 mouse-2 into unread-command-events, it is interpreted correctly.
18172
71d73c9c 18173 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18174 (image-toggle-display): Doc fix.
71d73c9c 18175
841a1577 181762011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18177
4ffd0d6b
GM
18178 * textmodes/page.el (what-page): Use line-number-at-pos to
18179 calculate line number (Bug#6825).
6e1dbaa9 18180
c2fb1b60
JB
181812011-04-22 Juanma Barranquero <lekktu@gmail.com>
18182
18183 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18184 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18185 Pass argument NO-DEFAULT to `find-tag-interactive'.
18186
e02f48d7
JB
181872011-04-22 Juanma Barranquero <lekktu@gmail.com>
18188
18189 Lexical-binding cleanup.
18190
18191 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18192 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18193 * progmodes/ada-prj.el (ada-prj-initialize-values)
18194 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18195 (ada-prj-show-value):
18196 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18197 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18198 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18199 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18200 * progmodes/bug-reference.el (bug-reference-push-button):
18201 * progmodes/fortran.el (fortran-line-length):
18202 * progmodes/glasses.el (glasses-change):
18203 * progmodes/octave-mod.el (octave-fill-paragraph):
18204 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18205 (python-pdbtrack-grub-for-buffer, python-sentinel):
18206 * progmodes/sql.el (sql-save-connection):
18207 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18208 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18209 Mark unused parameters.
18210
18211 * progmodes/compile.el (compilation--flush-directory-cache)
18212 (compilation--flush-parse, compile-internal): Mark unused parameters.
18213 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18214 (compilation-next-error-function): Remove unused variable `timestamp'.
18215
18216 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18217 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18218
18219 * progmodes/dcl-mode.el (dcl-end-of-command):
18220 Remove unused variable `start'.
18221 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18222 (dcl-option-value-basic, dcl-option-value-offset)
18223 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18224 Mark unused parameters.
18225 (dcl-save-local-variable): Remove unused variable `val'.
18226 (mode): Declare.
18227
18228 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18229 Mark unused parameters.
18230 (delphi-ignore-changes): Move before first use.
18231 (delphi-charset-token-at): Remove unused variable `start'.
18232 (delphi-else-start): Remove unused variable `if-count'.
18233 (delphi-comment-block-start, delphi-comment-block-end):
18234 Remove unused variable `kind'.
18235 (delphi-indent-line): Remove unused variable `new-point'.
18236
18237 * progmodes/ebrowse.el (ebrowse-files-list)
18238 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18239 Mark unused parameters. Don't quote `lambda'.
18240 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18241 Don't quote `lambda'.
18242 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18243 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18244 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18245 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18246 Use `ignore-errors'.
18247 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18248 (ebrowse-view/find-file-and-search-pattern)
18249 (ebrowse-view/find-member-declaration/definition):
18250 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18251 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18252 Rename parameter PREFIX-ARG to PREFIX.
18253 (ebrowse-tags-read-name): Remove unused variables `start' and
18254 `member-info'.
18255 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18256 to `tags-file'.
18257
18258 * progmodes/etags.el (local-find-tag-hook): Declare.
18259 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18260 Mark unused parameters.
18261
18262 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18263 (executable-interpret): Mark unused parameter.
18264
18265 * progmodes/flymake.el (flymake-process-sentinel)
18266 (flymake-after-change-function)
18267 (flymake-create-temp-with-folder-structure)
18268 (flymake-get-include-dirs-dot): Mark unused parameters.
18269 (flymake-safe-delete-directory): Remove unused variable `err'.
18270
18271 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18272 (speedbar-timer-fn, speedbar-line-text)
18273 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18274 (speedbar-center-buffer-smartly): Declare functions.
18275 (gdb-find-watch-expression): Remove unused variable `array'.
18276 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18277 (gdb-starting): Mark unused parameters.
18278 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18279 (gdb-table-string): Remove unused variable `res'.
18280 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18281 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18282 (gdb-display-buffer): Remove unused variable `cur-size'.
18283
18284 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18285 allow lexical-binding compilation.
18286 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18287 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18288 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18289 Mark unused parameters.
18290 (gud-gdb-marker-filter): Remove unused variable `match'.
18291 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18292 lambda expressions and funcall them, instead of using `fset'.
18293
18294 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18295 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18296
18297 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18298 variable `header-beg'; use `let'.
18299
18300 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18301 `restart', `last-sexp' and `at-do'.
18302
18303 * progmodes/js.el (js--debug): Mark unused parameter.
18304 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18305 (js--splice-into-items): Remove unused variable `item'.
18306 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18307
18308 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18309 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18310 (makefile-complete): Remove unused variable `try'.
18311 (makefile-fill-paragraph, makefile-match-function-end):
18312 Mark unused parameters.
18313
18314 * progmodes/octave-inf.el (inferior-octave-complete):
18315 Remove unused variable `proc'.
18316 (inferior-octave-output-digest): Mark unused parameter.
18317
18318 * progmodes/perl-mode.el (perl-calculate-indent):
18319 Remove unused variable `err'.
18320
18321 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18322 (prolog-indent-line): Mark unused parameters.
18323 (prolog-indent-line): Remove unused variable `beg'.
18324
18325 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18326 (reporter-dont-compact-list): Declare.
18327
18328 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18329 Remove unused variable `char'.
18330 (sh-debug): Mark unused parameter.
18331 (sh-get-indent-info): Remove unused variable `start'.
18332 (sh-calculate-indent): Remove unused variable `var'.
18333
18334 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18335 (simula-electric-keyword): Remove unused variable `null'.
18336 (simula-search-backward, simula-search-forward): Remove unused
18337 variables `begin' and `end'.
18338
18339 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18340 Remove unused variable `pos'.
18341 (vera-electric-tab, vera-comment-uncomment-region):
18342 Mark unused parameters.
18343 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18344
7ede3b65
CY
183452011-04-22 Chong Yidong <cyd@stupidchicken.com>
18346
18347 * emacs-lisp/package.el (package--builtins, package-alist)
18348 (package-load-descriptor, package-built-in-p, package-activate)
18349 (define-package, package-installed-p)
18350 (package-compute-transaction, package-buffer-info)
18351 (package--push): Doc fix. Distinguish more clearly between
18352 version strings and version lists.
18353
121656e9
JB
183542011-04-21 Juanma Barranquero <lekktu@gmail.com>
18355
18356 Lexical-binding cleanup.
18357
18358 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18359 (5x5-make-mutate-best):
18360 * play/fortune.el (fortune-in-buffer):
18361 * play/gomoku.el (gomoku-init-display):
18362 * play/solitaire.el (solitaire, solitaire-do-check):
18363 * play/tetris.el (tetris-default-update-speed-function):
18364 Mark unused parameters.
18365
18366 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18367 (bubbles--shift): Remove unused variable `char-org'.
18368 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18369 (bubbles--show-images): Remove unused variable `char'.
18370
18371 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18372 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18373 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18374 (decipher-analyze-buffer): Use ?\s.
18375 (decipher-make-checkpoint): Remove unused variable `mapping'.
18376
18377 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18378
18379 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18380 Remove unused variable `result'; use `let'.
18381
18382 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18383 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18384 (gametree-children-shown-p, gametree-compute-reduced-score):
18385 Use `ignore-errors'.
18386
18387 * play/handwrite.el (ps-lpr-switches): Declare.
18388 (handwrite): Remove unused variables `pmin' and `lastp'.
18389
18390 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18391
18392 * play/landmark.el (landmark-init-display)
18393 (landmark-update-naught-weights): Mark unused parameters.
18394 (landmark-y): Remove unused variable `noise'. Simplify.
18395 (landmark-human-plays): Remove unused variable `score'.
18396
18397 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18398 (mpuz-try-proposal): Remove unused variable `game'.
18399
18400 * play/zone.el (life-patterns): Declare.
18401
80f499c7
JB
184022011-04-20 Juanma Barranquero <lekktu@gmail.com>
18403
18404 * vc/vc.el (ediff-vc-internal): Declare function.
18405
024ff170
SM
184062011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18407
c0a193ea
SM
18408 * shell.el: Use lexical-binding and std completion UI.
18409 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18410 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18411 comint-preoutput-filter-functions rather than on
18412 comint-output-filter-functions.
18413 (shell-command-completion, shell--command-completion-data)
18414 (shell-filename-completion, shell-environment-variable-completion)
18415 (shell-c-a-p-replace-by-expanded-directory): New functions.
18416 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18417 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18418 (shell-dynamic-complete-environment-variable): Use them.
18419 (shell-dynamic-complete-as-environment-variable)
18420 (shell-dynamic-complete-as-command): Remove.
18421 (shell-match-partial-variable): Match past point.
18422 * comint.el: Clean up use of completion-at-point-functions.
18423 (comint-completion-at-point): New function.
18424 (comint-mode): Use it completion-at-point-functions.
18425 (comint-dynamic-complete): Make it obsolete.
18426 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18427 (comint-c-a-p-replace-by-expanded-history): New function.
18428 (comint-dynamic-complete-functions)
18429 (comint-replace-by-expanded-history): Use it.
18430 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18431 termination strings. Try harder to avoid second try-completion.
18432 (completion-in-region-mode-map): Disable bindings that don't work yet.
18433
2dbaa080
SM
18434 * comint.el: Use lexical-binding. Require CL.
18435 (comint-dynamic-complete-functions): Use comint-filename-completion.
18436 (comint-completion-addsuffix): Tweak custom type.
18437 (comint-filename-completion, comint--common-suffix)
18438 (comint--common-quoted-suffix, comint--table-subvert)
18439 (comint--complete-file-name-data): New functions.
18440 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18441 (comint-dynamic-list-filename-completions): Use them.
18442 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18443
2dbaa080
SM
18444 * minibuffer.el (completion-in-region-mode):
18445 Keep completion-in-region-mode--predicate global.
18446 (completion-in-region--postch):
18447 Assume completion-in-region-mode--predicate is not null.
18448
c79a6f38
SM
18449 * progmodes/flymake.el (flymake-start-syntax-check-process):
18450 Obey `dir'. Simplify.
18451
024ff170
SM
18452 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18453 we're in VC after all.
18454
1c6c854e
CS
184552011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18456
18457 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18458 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18459 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18460
bed7f140
SM
184612011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18462
332e62ab
SM
18463 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18464 add sanity check.
18465
bed7f140
SM
18466 * obsolete/erc-hecomplete.el: Make obsolete.
18467 * obsolete/: Standardize obsolescence info in the header.
18468
f195c582
GM
184692011-04-20 Glenn Morris <rgm@gnu.org>
18470
18471 * calendar/solar.el (solar-horizontal-coordinates):
18472 Use the longitude argument rather than `calendar-longitude'.
18473 (solar-date-next-longitude): Remove unused locals.
18474
cb79b8c0
VJL
184752011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18476
18477 * whitespace.el: New version 13.2.1.
18478
184792011-04-20 felix <EmacsWiki> (tiny change)
18480
d8e4b68b 18481 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18482 switching between major modes on a file.
18483
602ea69d
SM
184842011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18485
18486 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18487 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18488 multi-line comments as well.
18489
06b60517
JB
184902011-04-19 Juanma Barranquero <lekktu@gmail.com>
18491
18492 Lexical-binding cleanup.
18493
18494 * arc-mode.el (archive-mode-revert):
18495 * cmuscheme.el (scheme-interactively-start-process):
18496 * custom.el (custom-initialize-delay):
18497 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18498 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18499 * emacs-lock.el (emacs-lock-clear-sentinel):
18500 * ezimage.el (defezimage):
18501 * follow.el (follow-avoid-tail-recenter):
18502 * fringe.el (set-fringe-mode-1):
18503 * generic-x.el (bat-generic-mode-compile):
18504 * help-mode.el (help-info-variable, help-do-xref)
18505 (help-mode-revert-buffer):
18506 * help.el (view-emacs-todo):
18507 * iswitchb.el (iswitchb-completion-help):
18508 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18509 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18510 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18511 * locate.el (locate-update):
18512 * longlines.el (longlines-encode-region)
18513 (longlines-after-change-function):
18514 * outline.el (outline-isearch-open-invisible):
18515 * ps-def.el (declare-function, charset-dimension, char-width)
18516 (encode-char):
18517 * ps-mule.el (ps-mule-plot-string):
18518 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18519 (recentf-edit-list-select, recentf-edit-list-validate)
18520 (recentf-open-files-action):
18521 * rect.el (delete-whitespace-rectangle-line)
18522 (rectangle-number-line-callback):
18523 * register.el (window-configuration-to-register)
18524 (frame-configuration-to-register):
18525 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18526 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18527 (xselect-convert-to-targets, xselect-convert-to-delete)
18528 (xselect-convert-to-filename, xselect-convert-to-charpos)
18529 (xselect-convert-to-lineno, xselect-convert-to-colno)
18530 (xselect-convert-to-os, xselect-convert-to-host)
18531 (xselect-convert-to-user, xselect-convert-to-class)
18532 (xselect-convert-to-name, xselect-convert-to-integer)
18533 (xselect-convert-to-atom, xselect-convert-to-identity):
18534 * subr.el (declare, ignore, process-kill-without-query)
18535 (text-clone-maintain):
18536 * terminal.el (te-get-char, te-tic-sentinel):
18537 * tool-bar.el (tool-bar-make-keymap):
18538 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18539 * type-break.el (type-break-mode, type-break-noninteractive-query):
18540 * view.el (View-back-to-mark):
18541 * wid-browse.el (widget-browse-action, widget-browse-widget)
18542 (widget-browse-widgets, widget-browse-sexp):
18543 * widget.el (define-widget-keywords):
18544 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18545 Mark unused parameters.
18546
18547 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18548 (align-areas): Remove unused variable `look'.
18549 (align-region): Remove unused variables `real-end' and `pos-list'.
18550
18551 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18552
18553 * bindings.el (mode-line-modified, mode-line-remote):
18554 Mark unused parameters.
18555 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18556
18557 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18558 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18559
18560 * comint.el (comint-history-isearch-pop-state)
18561 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18562 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18563 (comint-substitute-in-file-name): Doc fix.
18564
18565 * completion.el (cmpl-statistics-block): Mark unused parameter.
18566 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18567 (save-completions-to-file, load-completions-from-file):
18568 Remove unused local variable `e'.
18569
18570 * composite.el (compose-chars): Remove unused variable `len'.
18571 (lgstring-insert-glyph): Remove unused variable `g'.
18572 (compose-glyph-string): Remove unused variables `ascent',
18573 `descent', `lbearing' and `rbearing'.
18574 (compose-glyph-string-relative): Remove unused variables
18575 `lbearing', `rbearing' and `wadjust'.
18576 (compose-gstring-for-graphic): Remove unused variables `header',
18577 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18578 (compose-gstring-for-terminal): Remove unused variables `header'
18579 and `nchars'. Use `let', not `let*'.
18580
18581 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18582 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18583 (Custom-buffer-done, custom-buffer-create-internal)
18584 (custom-browse-visibility-action, custom-browse-group-tag-action)
18585 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18586 (widget-magic-mouse-down-action, custom-toggle-parent)
18587 (custom-add-parent-links, custom-toggle-hide-variable)
18588 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18589 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18590 (custom-face-menu-create, custom-variable-menu-create, get)
18591 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18592 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18593 (customize-apropos): Remove unused variable `tests'.
18594 (custom-group-value-create): Remove unused variable `hidden-p'.
18595 (sort-fold-case): Declare.
18596
18597 * cus-theme.el (custom-reset-standard-faces-list)
18598 (custom-reset-standard-variables-list): Declare.
18599 (customize-create-theme, custom-theme-revert, custom-theme-write)
18600 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18601 Mark unused parameters.
18602
18603 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18604
18605 * delim-col.el (delimit-columns-max): Move defvar before first use.
18606
18607 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18608 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18609
18610 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18611 (auto-insert): Declare.
18612 (desktop-restore-file-buffer): Rename desktop-* parameters;
18613 mark unused ones.
18614 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18615 (desktop-buffer): Rename desktop-* parameters.
18616
18617 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18618 (dframe-reposition-frame-xemacs, dframe-help-echo)
18619 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18620 Mark unused parameters.
18621
18622 * dired-aux.el (backup-extract-version-start, overwrite-query)
18623 (overwrite-backup-query, rename-regexp-query)
18624 (rename-non-directory-query): Declare.
18625 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18626 (dired-add-entry): Remove unused variable `orig-file-name'.
18627 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18628 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18629 `dired-copy-preserve-time' directly.
18630 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18631 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18632
18633 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18634 (dired-virtual-revert, dired-make-relative-symlink):
18635 Mark unused parameters.
18636 (manual-program): Declare.
18637 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18638 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18639 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18640
18641 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18642
18643 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18644
18645 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18646 Declare.
18647
18648 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18649
18650 * electric.el (Electric-command-loop): Rename parameter
18651 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18652
18653 * expand.el (expand-in-literal): Remove unused variable `here'.
18654
18655 * facemenu.el (facemenu-add-new-color):
18656 Remove unused variable `docstring'.
18657
18658 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18659 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18660 (face-attr-construct): Mark unused parameter. Doc fix.
18661 (read-color): Remove unused variable `hex-string'.
18662
18663 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18664 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18665 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18666 (display-buffer-other-frame): Remove unused variable `old-window'.
18667 (kill-buffer-hook): Declare.
18668 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18669 Mark unused parameters.
18670 (after-find-file): Pass 1 to `auto-save-mode', not t.
18671
18672 * files-x.el (auto-insert): Declare.
18673 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18674
18675 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18676 variable `buf'. Mark unused parameter.
06b60517
JB
18677 (find-lisp-insert-directory): Mark unused parameter.
18678
18679 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18680 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18681 (format-common-tail): Remove, unused.
18682 (format-deannotate-region): Remove unused variable `loc'.
18683 (format-annotate-region): Remove unused variable `p'.
18684 (format-annotate-single-property-change): Remove unused variables
18685 `default' and `tail'.
18686
18687 * forms.el (read-file-filter): Declare.
18688 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18689
18690 * frame.el (frame-creation-function-alist): Mark unused parameter.
18691 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18692
18693 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18694 Remove unused parameters.
18695 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18696 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18697
18698 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18699 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18700 (hfy-prepare-tag-map): Mark unused parameters.
18701 (htmlfontify-buffer): Use `called-interactively-p'.
18702
18703 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18704 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18705 (ibuffer-do-occur): Mark unused parameters.
18706 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18707 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18708
18709 * ibuffer.el: Don't quote `lambda'.
18710 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18711 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18712 Mark unused parameters.
18713
18714 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18715 (ido-completing-read): Mark unused parameters.
18716 (ido-copy-current-word): Mark unused parameters;
18717 remove unused variable `name'.
18718 (ido-sort-merged-list): Remove unused parameter `dirs'.
18719
18720 * ielm.el (ielm-input-sender): Mark unused parameter.
18721 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18722 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18723 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18724 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18725 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18726
18727 * image-dired.el (image-dired-display-thumbs): Remove unused
18728 variables `curr-file' and `count'.
18729 (image-dired-remove-tag): Remove unused variable `start'.
18730 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18731 variable `curr-file'
18732 (image-dired-rotate-original): Remove unused variable `temp-file'.
18733 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18734 Remove unused variable `file'.
18735 (image-dired-gallery-generate): Remove unused variable `curr'.
18736 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18737
18738 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18739
18740 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18741
18742 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18743
18744 * isearch.el (minibuffer-history-symbol): Declare.
18745 (isearch-edit-string): Remove unused variable `err'.
18746 (isearch-message-prefix, isearch-message-suffix):
18747 Mark unused parameters.
18748
18749 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18750
18751 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18752
18753 * makesum.el (double-column): Remove unused variable `cnt'.
18754
18755 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18756 (ido-ignore-item-temp-list): Declare.
18757
18758 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18759 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18760 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18761 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18762 `mouse-col-delta'.
18763
18764 * mouse-sel.el (mouse-extend-internal):
18765 Remove unused variable `orig-window-frame'.
18766
18767 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18768 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18769 Move declarations before first use.
18770 (pcomplete-opt): Mark unused parameters; doc fix.
18771
18772 * proced.el (proced-revert): Mark unused parameter.
18773 (proced-send-signal): Remove unused variable `err'.
18774
18775 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18776 Rename parameter PREFIX-ARG to ARG.
18777 (ps-basic-plot-string, ps-basic-plot-whitespace):
18778 Mark unused parameters.
18779
18780 * replace.el (replace-count): Define.
18781 (occur-revert-function): Mark unused parameters.
18782 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18783 (isearch-case-fold-search, isearch-string): Declare.
18784 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18785 bind `case-fold-search'. Remove unused variables `beg' and `end',
18786 and simplify.
18787 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18788 COUNT and bind `replace-count'.
18789 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18790 to COUNT.
18791
18792 * savehist.el (print-readably, print-string-length): Declare.
18793
18794 * shadowfile.el (shadow-expand-cluster-in-file-name):
18795 Remove unused variable `cluster'.
18796 (shadow-copy-file): Remove unused variable `i'.
18797 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18798 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18799 (shadow-define-literal-group, shadow-define-regexp-group)
18800 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18801
18802 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18803 (shell): Use `called-interactively-p'.
18804 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18805
18806 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18807 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18808 (delete-backward-char): Remove unused variable `ocol'.
18809 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18810 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18811 (event-apply-hyper-modifier, event-apply-shift-modifier)
18812 (event-apply-control-modifier, event-apply-meta-modifier):
18813 Mark unused parameters.
18814 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18815 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18816
18817 * speedbar.el (speedbar-ignored-directory-expressions)
18818 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18819 (speedbar-find-file, speedbar-dir-follow)
18820 (speedbar-directory-buttons-follow, speedbar-tag-find)
18821 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18822 (speedbar-buffers-line-directory, speedbar-buffer-click):
18823 Mark unused parameters.
18824 (speedbar-tag-file): Remove unused variable `mode'.
18825 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18826
18827 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18828
18829 * talk.el (talk): Remove unused variable `display'.
18830
18831 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18832 (tar-write-region-annotate): Mark unused parameter.
18833
18834 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18835 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18836 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18837 warning by another.
18838
18839 * time-stamp.el (time-stamp-string-preprocess):
18840 Remove unused variable `require-padding'.
18841
18842 * tree-widget.el (widget-glyph-enable): Declare.
18843 (tree-widget-action): Mark unused parameter.
18844
18845 * w32-fns.el (x-get-selection): Mark unused parameter.
18846 (autoload-make-program, generated-autoload-file): Declare.
18847
18848 * wdired.el (wdired-revert): Mark unused parameters.
18849 (wdired-xcase-word): Remove unused variable `err'.
18850
18851 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18852 (whitespace-help-scroll): Remove unused variable `data-help'.
18853
18854 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18855 (widget-image-insert, widget-after-change, default)
18856 (widget-default-format-handler, widget-default-notify)
18857 (widget-default-prompt-value, widget-info-link-action)
18858 (widget-url-link-action, widget-function-link-action)
18859 (widget-variable-link-action, widget-file-link-action)
18860 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18861 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18862 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18863 (widget-insert-button-action, widget-delete-button-action, visibility)
18864 (widget-documentation-link-action, widget-documentation-string-action)
18865 (widget-const-prompt-value, widget-regexp-match, symbol)
18866 (widget-coding-system-prompt-value)
18867 (widget-key-sequence-value-to-external, sexp)
18868 (widget-sexp-value-to-internal, character, vector, cons)
18869 (widget-choice-prompt-value, widget-boolean-prompt-value)
18870 (widget-color--choose-action): Mark unused parameters.
18871 (widget-item-match-inline, widget-choice-match-inline)
18872 (widget-checklist-match, widget-checklist-match-inline)
18873 (widget-group-match): Rename parameter VALUES to VALS.
18874 (widget-field-value-set): Remove unused variable `size'.
18875 (widget-color-action): Remove unused variables `value' and `start'.
18876
18877 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18878 variable `dir'. Doc fix.
06b60517
JB
18879 (windmove-find-other-window): Don't pass it.
18880
18881 * window.el (count-windows): Mark unused parameter.
18882 (bw-adjust-window): Remove unused variable `err'.
18883
18884 * woman.el (woman-file-name): Remove unused variable `default'.
18885 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18886 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18887 (global-font-lock-mode): Declare.
18888 (woman-decode-region): Mark unused parameter.
18889 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18890
18891 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18892 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18893 (x-dnd-handle-moz-url): Remove unused variable `title'.
18894 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18895
18896 * xml.el (xml-parse-tag, xml-parse-attlist):
18897 Remove unused variable `pos'.
18898
bc4f7f3d
GM
188992011-04-19 Glenn Morris <rgm@gnu.org>
18900
18901 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18902 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18903 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18904 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18905 * calendar/cal-html.el (cal-html-insert-minical):
18906 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18907 (calendar-mark-date-pattern):
18908 Prefix "unused" locals.
18909
18910 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18911 optional argument `style'.
18912
18913 * calendar/appt.el (appt-make-list):
18914 * calendar/cal-china.el (calendar-chinese-date-string):
18915 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18916 (diary-hebrew-yahrzeit):
18917 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18918 * calendar/calendar.el (calendar-generate-window):
18919 * calendar/time-date.el (time-to-days):
18920 Remove unused local variables.
18921
16a43933
CY
189222011-04-18 Chong Yidong <cyd@stupidchicken.com>
18923
18924 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18925 glyphless-char-display table.
18926 (tabulated-list-glyphless-char-display): New var.
18927
7eed1860
SS
189282011-04-18 Sam Steingold <sds@gnu.org>
18929
18930 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18931 to acknowledgments.
18932
4d2d1ccd
GM
189332011-04-17 Glenn Morris <rgm@gnu.org>
18934
18935 * calendar/diary-lib.el (diary-sexp-entry):
18936 * calendar/holidays.el (holiday-sexp):
18937 Set debug-on-error rather than the removed stack-trace-on-error.
18938
239da61d
GM
189392011-04-16 Glenn Morris <rgm@gnu.org>
18940
18941 * progmodes/f90.el: Use lexical-binding.
18942 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18943
8b05752a
SM
189442011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18945
daca8ba5
SM
18946 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18947 (mail-mode): Setup mailalias completion here instead.
18948 * mail/mailalias.el: Use lexical-binding.
18949 (pattern, mailalias-done): Declare dynamic.
18950 (mail-completion-at-point-function): New function, from mail-complete.
18951 (mail-complete): Use it.
18952 (mail-completion-expand): New function.
18953 (mail-get-names): Use it.
18954 (mail-directory, mail-directory-process, mail-directory-stream):
18955 Don't use `pattern' for lexically bound arg.
18956
6f542485
SM
18957 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18958
037e7c3f
SM
18959 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18960 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18961 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18962
8b05752a
SM
18963 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18964 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18965 (byte-interactive-p): Define them again, for use when inlining
18966 old code.
18967
49093f60
JB
189682011-04-15 Juanma Barranquero <lekktu@gmail.com>
18969
18970 * loadup.el: Use `string-to-number', not `string-to-int'.
18971
b5b8e7de
SM
189722011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18973
18974 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18975 gud-gdb-complete-command.
18976 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18977 (gud-gdb-completion-at-point): New function.
18978 (gud-gdb-completions): Remove.
18979
f42efeb5
MA
189802011-04-14 Michael Albinus <michael.albinus@gmx.de>
18981
49093f60
JB
18982 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18983 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18984 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18985 whether `executable-find' is bound.
f42efeb5
MA
18986
18987 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18988
e240cc21
SM
189892011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18990
18991 * minibuffer.el (completion-in-region-mode-predicate)
18992 (completion-in-region-mode--predicate): New vars.
18993 (completion-in-region, completion-in-region--postch)
18994 (completion-in-region-mode): Use them.
18995 (completion--capf-wrapper): Also return the hook function.
18996 (completion-at-point, completion-help-at-point):
18997 Adjust and provide a predicate.
c2bd2ab0
SM
18998
18999 Preserve arg names for advice of subr and lexical functions (bug#8457).
19000 * help-fns.el (help-function-arglist): Consolidate the subr and
19001 new-byte-code cases. Add argument `preserve-names' to extract names
19002 from the docstring when needed.
19003 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19004 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19005 (ad-arglist): Use help-function-arglist's new arg.
19006 (ad-definition-type): Use cond.
19007
c183f693
JB
190082011-04-13 Juanma Barranquero <lekktu@gmail.com>
19009
06641a47
JB
19010 * autorevert.el (auto-revert-handler):
19011 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19012 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19013 Don't quote lambda.
19014
c183f693
JB
19015 * image-mode.el (image-transform-set-scale):
19016 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19017
1e3b6001
G
190182011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19019
19020 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19021 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19022 Upgrades via gnutls-cli are too slow to be done opportunistically.
19023
2d6af8dd
JB
190242011-04-12 Juanma Barranquero <lekktu@gmail.com>
19025
19026 * dframe.el (dframe-current-frame): Remove spurious quote.
19027
c0749a51
GM
190282011-04-12 Glenn Morris <rgm@gnu.org>
19029
088d0d61
GM
19030 * calendar/cal-tex.el (cal-tex-end-document):
19031 Try to automatically use latin1 input if needed.
19032
c0749a51
GM
19033 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19034 Don't try to cons a mark onto an empty element.
19035
5c90fde0
LL
190362011-04-11 Leo Liu <sdl.web@gmail.com>
19037
19038 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19039 buffers.
19040 (ido-kill-buffer-at-head): Support killing virtual buffers.
19041
369e974d
CY
190422011-04-10 Chong Yidong <cyd@stupidchicken.com>
19043
19044 * minibuffer.el (completion-show-inline-help): New var.
19045 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19046 (minibuffer-force-complete, minibuffer-complete-word):
19047 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19048
19049 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19050 to avoid interference from inline help (Bug#5849).
19051
37f1c930
LL
190522011-04-10 Leo Liu <sdl.web@gmail.com>
19053
099c39a4
JB
19054 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19055 Fix typo.
37f1c930 19056
a32d4040
CY
190572011-04-09 Chong Yidong <cyd@stupidchicken.com>
19058
19059 * image-mode.el (image-toggle-display-image): Signal an error if
19060 not in Image mode.
19061 (image-transform-mode, image-transform-resize)
19062 (image-transform-set-rotation): Doc fix.
daca8ba5 19063 (image-transform-set-resize): Delete.
a32d4040
CY
19064 (image-transform-set-scale, image-transform-fit-to-height)
19065 (image-transform-fit-to-width): Handle image-toggle-display-image
19066 and image-transform-resize directly.
19067
099c39a4 190682011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19069
19070 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19071 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19072 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19073 (doc-view-mode-map): Add bindings for the new functions.
19074
099c39a4 190752011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19076
4d61f28d 19077 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19078 Fix typo in docstring.
19079
3726838a
EZ
190802011-04-08 Eli Zaretskii <eliz@gnu.org>
19081
04f33f1e
EZ
19082 * files.el (file-size-human-readable): Produce one digit after
19083 decimal, like "ls -lh" does.
19084
19085 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19086 the file size representation.
19087
3726838a
EZ
19088 * simple.el (list-processes): If async subprocesses are not
19089 available, error out with a clear error message.
19090
cbb59342
CY
190912011-04-08 Chong Yidong <cyd@stupidchicken.com>
19092
19093 * help.el (help-form-show): New function, to be called from C.
19094 Put help-form output in a buffer named differently than *Help*.
19095
e3971c44
EZ
190962011-04-08 Eli Zaretskii <eliz@gnu.org>
19097
19098 * files.el (file-size-human-readable): New function.
19099
19100 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19101 computing the representation inline. Don't require `cl'.
19102
12544bbe
GM
191032011-04-08 Glenn Morris <rgm@gnu.org>
19104
a1de6c6a
GM
19105 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19106
3c4671f4
GM
19107 * net/browse-url.el (browse-url-firefox):
19108 Test system-type, not system-configuration.
19109
b605679c
GM
19110 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19111 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19112 Use log-edit-empty-buffer-p. (Bug#7598)
19113
56442f0c
GM
19114 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19115 (rlogin-mode-map): Initialize in the defvar.
19116 (rlogin): Use ignore-errors.
19117
12544bbe
GM
19118 * replace.el (occur-mode-map): Some fixes for menu items.
19119
eb237b0f
AH
191202011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19121
19122 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19123
7d668f2c
CY
191242011-04-06 Chong Yidong <cyd@stupidchicken.com>
19125
e67a13ab
CY
19126 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19127 issuing unused warnings.
19128
19129 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19130 macro directly.
19131
7d668f2c
CY
19132 * simple.el: Lisp reimplement of list-processes. Based on an
19133 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19134 (process-menu-mode): New major mode.
19135 (list-processes--refresh, list-processes):
19136 (process-menu-visit-buffer): New functions.
19137
19138 * files.el (save-buffers-kill-emacs): Don't assume any return
19139 value of list-processes, which is undocumented anyway.
19140
a83ec3c9
CY
191412011-04-06 Chong Yidong <cyd@stupidchicken.com>
19142
19143 * emacs-lisp/tabulated-list.el: New file.
19144
e91a96fe
CY
19145 * emacs-lisp/package.el: Use Tabulated List mode.
19146 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19147 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19148 table format using Tabulated List mode variables.
19149 (package--push): New macro, replacing package-list-maybe-add.
19150 (package-menu--generate): Use package--push. Renamed from
19151 package--generate-package-list.
19152 (package-menu-refresh, list-packages): Use it.
daca8ba5 19153 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19154 Return insertion data instead of inserting it directly.
099c39a4
JB
19155 (package-menu-describe-package, package-menu-execute):
19156 Use tabulated-list-get-id.
e91a96fe
CY
19157 (package-menu-mark-delete, package-menu-mark-install)
19158 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19159 (package-menu-mark-obsolete-for-deletion):
19160 Use tabulated-list-put-tag.
e91a96fe
CY
19161 (package--list-packages, package-menu-revert)
19162 (package-menu-get-package, package-menu-get-version)
19163 (package-menu-sort-by-column): Functions deleted.
19164 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19165 (package-menu--status-predicate, package-menu--version-predicate)
19166 (package-menu--name-predicate)
19167 (package-menu--description-predicate): Handle arguments in the
19168 Tabulated List format.
19169 (package-list-packages-no-fetch): Call list-packages.
19170
3e214b50
JB
191712011-04-06 Juanma Barranquero <lekktu@gmail.com>
19172
19173 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19174 (after-find-file): Don't bind it.
3e214b50
JB
19175 (revert-buffer-in-progress-p): New variable.
19176 (revert-buffer): Bind it.
19177 Pass nil for `after-find-file-from-revert-buffer'.
19178
19179 * saveplace.el (save-place-find-file-hook): Use new variable
19180 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19181
3f0f1700
GM
191822011-04-06 Glenn Morris <rgm@gnu.org>
19183
c0274801
GM
19184 * Makefile.in (AUTOGEN_VCS): New variable.
19185 (autoloads): Use $AUTOGEN_VCS.
19186
3f0f1700
GM
19187 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19188 * calendar/calendar.el (calendar-mode-map):
19189 Check for toolkit scroll bars. (Bug#8305)
19190
41ea9e48
CY
191912011-04-05 Chong Yidong <cyd@stupidchicken.com>
19192
19193 * minibuffer.el (completion-in-region--postch)
19194 (completion-in-region-mode): Remove unnecessary messages.
19195
6194c800
JB
191962011-04-05 Juanma Barranquero <lekktu@gmail.com>
19197
33256f14
JB
19198 * font-lock.el (font-lock-refresh-defaults):
19199 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19200 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19201
6194c800
JB
19202 * info.el (Info-directory-list, Info-read-node-name-2)
19203 (Info-split-parameter-string): Doc fixes.
19204 (Info-virtual-nodes): Reflow docstring.
19205 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19206 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19207 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19208 Fix typos in docstrings.
19209 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19210 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19211 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19212 (Info-restore-desktop-buffer): Mark unused parameters.
19213 (Info-directory-find-file, Info-directory-find-node)
19214 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19215 (Info-virtual-index-find-node, Info-apropos-find-file)
19216 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19217 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19218 (Info-virtual-index): Remove unused local variable `nodename'.
19219
b87a8200 192202011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19221
b87a8200
DD
19222 * net/rcirc.el: Update my e-mail address.
19223 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19224
3b2ff876
CY
192252011-04-05 Chong Yidong <cyd@stupidchicken.com>
19226
19227 * startup.el (command-line): Save the cursor's theme-face
19228 directly, instead of using face-override-spec.
19229
19230 * custom.el (load-theme): Minor optimization in assigning faces.
19231
8d17e7ca
JB
192322011-04-04 Juanma Barranquero <lekktu@gmail.com>
19233
19234 * help-fns.el (describe-variable): Complete all variables having
19235 documentation, including keywords.
19236 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19237
2fbc1934
JB
192382011-04-04 Juanma Barranquero <lekktu@gmail.com>
19239
19240 Convert to lexical-binding.
19241
19242 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19243 (bs--get-marked-string, bs--get-modified-string)
19244 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19245 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19246 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19247
19248 * ehelp.el (electric-help-execute-extended)
19249 (electric-help-ctrl-x-prefix):
19250 * hexl.el (hexl-revert-buffer-function):
19251 * linum.el (linum-after-change, linum-after-scroll):
19252 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19253
19254 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19255
74f50695
DU
192562011-04-04 Daiki Ueno <ueno@unixuser.org>
19257
19258 * epa-dired.el:
19259 * epa-mail.el:
19260 * epa-hook.el:
19261 * epa-file.el:
19262 * epa.el:
19263 * epg.el: Use lexical binding.
19264
c11325f7
CY
192652011-04-03 Chong Yidong <cyd@stupidchicken.com>
19266
0d9e9a12
CY
19267 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19268
c11325f7 19269 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19270 dictionary case for flyspell-mark-duplications-exceptions.
19271 Use regexp matching for languages.
c11325f7
CY
19272 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19273 default dictionary (Bug#7926).
19274
da91b5f2
CY
192752011-04-02 Chong Yidong <cyd@stupidchicken.com>
19276
099c39a4
JB
19277 * emacs-lisp/package.el (package--with-work-buffer):
19278 Recognize https URLs.
da91b5f2 19279
099c39a4
JB
19280 * net/network-stream.el: Move from gnus/proto-stream.el.
19281 Change prefix to network-stream throughout.
da91b5f2
CY
19282 (open-protocol-stream): Merge into open-network-stream, leaving
19283 open-protocol-stream as an alias. Handle nil BUFFER args.
19284
19285 * subr.el (open-network-stream): Move to net/network-stream.el.
19286
afa8e9f6
GM
192872011-04-02 Glenn Morris <rgm@gnu.org>
19288
1d2e369d
GM
19289 * find-dired.el (find-exec-terminator): New option.
19290 (find-ls-option): Test for -ls support.
19291 (find-ls-subdir-switches): Test for -b in find-ls-option.
19292 (find-dired, find-grep-dired): Doc fixes.
19293 (find-dired): Use find-exec-terminator.
19294
8abb7da8 19295 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19296 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19297 (find-name-arg): Remove purecopy.
8abb7da8 19298
f3ca7378
GM
19299 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19300 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19301 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19302 accordingly. Don't add the null-device if not needed.
19303
afa8e9f6
GM
19304 * files.el (save-some-buffers): Doc fix.
19305
35eae264
EZ
193062011-04-02 Eli Zaretskii <eliz@gnu.org>
19307
19308 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19309
26b51db5
JB
193102011-04-01 Juanma Barranquero <lekktu@gmail.com>
19311
19312 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19313 Use `dolist' rather than `mapcar'.
19314
7200d79c
SM
193152011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19316
03408648 19317 Add lexical binding.
7200d79c 19318
03408648
SM
19319 * subr.el (apply-partially): Use new closures rather than CL.
19320 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19321 (dolist, dotimes): Use slightly different expansion for lexical code.
19322 (functionp): Move to C.
19323 (letrec): New macro.
19324 (with-wrapper-hook): Use it and apply-partially instead of CL.
19325 (eval-after-load): Preserve lexical-binding.
19326 (save-window-excursion, with-output-to-temp-buffer): Turn them
19327 into macros.
7200d79c 19328
03408648
SM
19329 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19330
19331 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19332 than the arglist.
19333 (help-add-fundoc-usage): Don't add `Not documented'.
19334 (help-function-arglist): Handle closures, subroutines, and new
19335 byte-code-functions.
19336 (help-make-usage): Remove leading underscores.
19337 (describe-function-1): Handle closures.
19338 (describe-variable): Use special-variable-p for completion.
19339
19340 * files.el (lexical-binding): Declare safe.
f488fb65 19341
03408648
SM
19342 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19343 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19344 (pcase): Add `let' pattern.
19345 Change memoization so it actually works.
19346 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19347 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19348 <let>: New case.
f488fb65 19349
03408648
SM
19350 * emacs-lisp/macroexp.el: Use lexical binding.
19351 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19352 Don't convert ' to #' without checking that it's indeed quoting
19353 a lambda.
19354
19355 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19356 Use eval-sexp-add-defvars.
03408648
SM
19357 (eval-sexp-add-defvars): New fun.
19358
19359 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19360
19361 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19362 Don't autoload.
19363 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19364 than the internal `byte-compile-lambda'.
19365 (defmethod): Don't hide code under quotes.
19366 (eieio-defmethod): New `code' argument.
19367
19368 * emacs-lisp/eieio-comp.el: Remove.
19369
19370 * emacs-lisp/edebug.el (edebug-eval-defun)
19371 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19372 (edebug-toggle): Avoid `eval'.
19373
19374 * emacs-lisp/disass.el (disassemble-internal): Handle new
19375 `closure' objects.
19376 (disassemble-1): Handle new byte codes.
19377
19378 * emacs-lisp/cl.el (pushnew): Silence warning.
19379
19380 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19381 (cl-byte-compile-throw): Remove.
19382 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19383
19384 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19385 closures.
19386
19387 * emacs-lisp/cconv.el: New file.
19388
19389 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19390 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19391 (byte-compile-initial-macro-environment):
19392 Handle declare-function here.
19393 (byte-compile--lexical-environment): New var.
19394 (byte-stack-ref, byte-stack-set, byte-discardN)
19395 (byte-discardN-preserve-tos): New lap codes.
19396 (byte-interactive-p): Don't use any more.
19397 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19398 New macros.
19399 (byte-compile-lapcode): Use them and handle new lap codes.
19400 (byte-compile-obsolete): Remove.
19401 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19402 (byte-compile-arglist-warn): Check late def of inlinable funs.
19403 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19404 since they should have been expanded by now.
19405 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19406 (byte-compile-from-buffer): Remove unused second arg.
19407 (byte-compile-preprocess): New function.
19408 (byte-compile-toplevel-file-form): New function to distinguish
19409 file-form calls from outside from file-form calls from hunk-handlers.
19410 (byte-compile-file-form): Simplify.
19411 (byte-compile-file-form-defsubst): Remove.
19412 (byte-compile-file-form-defmumble): Simplify now that
19413 byte-compile-lambda always returns a byte-code-function.
19414 (byte-compile): Preprocess.
19415 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19416 Remove, not used any more.
19417 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19418 (byte-compile-make-args-desc): New funs.
19419 (byte-compile-lambda): Handle lexical functions. Always return
19420 a byte-code-function.
19421 (byte-compile-reserved-constants): New var, to make up room for
19422 closed-over variables.
19423 (byte-compile-constants-vector): Obey it.
19424 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19425 (byte-compile-macroexpand-declare-function): New function.
19426 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19427 byte-code-functions.
19428 (byte-compile-form): Check obsolescence here.
19429 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19430 (byte-compile-variable-ref): Remove.
19431 (byte-compile-dynamic-variable-op): New fun.
19432 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19433 (byte-compile-variable-set): New funs.
19434 (byte-compile-discard): Add 2 args.
19435 (byte-compile-stack-ref, byte-compile-stack-set)
19436 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19437 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19438 macroexpand-all instead.
19439 (byte-compile-quote-form): Remove.
19440 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19441 (byte-compile-bind, byte-compile-unbind): New funs.
19442 (byte-compile-let): Handle let* and lexical binding.
19443 (byte-compile-let*): Remove.
19444 (byte-compile-catch, byte-compile-unwind-protect)
19445 (byte-compile-track-mouse, byte-compile-condition-case):
19446 Handle a new :fun-body form, used for lexical scoping.
19447 (byte-compile-save-window-excursion)
19448 (byte-compile-with-output-to-temp-buffer): Remove.
19449 (byte-compile-defun): Simplify.
19450 (byte-compile-stack-adjustment): New fun.
19451 (byte-compile-out): Use it.
19452 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19453
19454 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19455 handler any more.
19456
19457 * emacs-lisp/byte-opt.el: Use lexical binding.
19458 (byte-inline-lapcode): Remove (to bytecomp).
19459 (byte-compile-inline-expand): Pay attention to inlining to/from
19460 lexically bound code.
19461 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19462 any more.
19463 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19464 any more and don't call compiler-macros.
19465 (byte-compile-splice-in-already-compiled-code): Remove.
19466 (byte-code): Don't inline any more.
19467 (disassemble-offset): Receive `bytes' as argument rather than via
19468 dynamic scoping.
19469 (byte-compile-tag-number): Declare before first use.
19470 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19471 `return' even if make-spliceable.
19472 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19473 obsolete interactive-p.
19474 (byte-optimize-lapcode): Optimize new lap-codes.
19475 Don't trip up on new form of `byte-constant' lap code.
19476
19477 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19478
19479 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19480
19481 * custom.el (custom-initialize-default, custom-declare-variable):
19482 Use `defvar'.
19483
19484 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19485 New variables.
19486 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19487 (COMPILE_FIRST): Add macroexp and cconv.
19488 * makefile.w32-in: Mirror changes in Makefile.in.
19489
19490 * vc/cvs-status.el:
19491 * vc/diff-mode.el:
19492 * vc/log-edit.el:
19493 * vc/log-view.el:
19494 * vc/smerge-mode.el:
19495 * textmodes/bibtex-style.el:
090bd7cb 19496 * textmodes/css-mode.el:
03408648
SM
19497 * startup.el:
19498 * uniquify.el:
da91b5f2
CY
19499 * minibuffer.el:
19500 * newcomment.el:
19501 * reveal.el:
19502 * server.el:
19503 * mpc.el:
19504 * emacs-lisp/smie.el:
19505 * doc-view.el:
19506 * dired.el:
03408648
SM
19507 * abbrev.el: Use lexical binding.
19508
0f0c1f27
EZ
195092011-04-01 Eli Zaretskii <eliz@gnu.org>
19510
19511 * info.el (info-display-manual): New function.
19512
c82b2579
SM
195132011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19514
19515 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19516
221ddf68
TH
195172011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19518
19519 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19520 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19521
cba6e77e
GM
195222011-03-31 Glenn Morris <rgm@gnu.org>
19523
e040639f
GM
19524 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19525
cba6e77e
GM
19526 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19527
6d0f1c9e
CS
195282011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19529
19530 * progmodes/python.el (python-default-interpreter)
19531 (python-python-command-args, python-jython-command-args)
19532 (python-which-shell, python-which-args, python-which-bufname)
19533 (python-file-queue, python-comint-output-filter-function)
19534 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19535 variables and functions.
19536
3e2d70fd
SM
195372011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19538
19539 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19540 (completion-in-region-mode): New minor mode.
19541 (completion-in-region): Use it.
19542 (completion-in-region--data, completion-in-region-mode-map): New vars.
19543 (completion-in-region--postch): New function.
19544 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19545 New vars.
19546 (completion--capf-wrapper): New function.
19547 (completion-at-point): Use it to track well-behavedness of
19548 hook functions.
19549 (completion-help-at-point): New command.
19550
f3e4086c
JM
195512011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19552
19553 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19554 syntax class to search for whitespace on a single line
19555 (Message-ID: <4D938140.4030905@redhat.com>).
19556
eb7ffc14
LL
195572011-03-30 Leo Liu <sdl.web@gmail.com>
19558
19559 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19560 New commands.
19561 (edit-abbrevs-map): Bind them here.
19562 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19563
d806ab68
KM
195642011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19565
19566 * allout.el (allout-hide-by-annotation, allout-flag-region):
19567 Reduce possibility of overlay leakage by making them volatile.
19568
19569 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19570 hash is not shared between buffers. Mode initialization is
19571 responsible for giving it a useful starting value.
19572 (allout-item-span): Reduce possibility of overlay leakage by
19573 making them volatile.
19574 (allout-widgets-count-buttons-in-region): Add diagnostic function
19575 for tracking down button overlay leaks.
19576
ea622834
LL
195772011-03-29 Leo Liu <sdl.web@gmail.com>
19578
19579 * ido.el (ido-read-internal): Use the default history var
19580 minibuffer-history if no HISTORY is specified.
19581
b62f8267
G
195822011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19583
03408648
SM
19584 * net/imap.el (imap-shell-open, imap-process-connection-type):
19585 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19586 Kerberos, SSL, other subprocesses.
19587
947b6566
LL
195882011-03-28 Leo Liu <sdl.web@gmail.com>
19589
19590 * abbrev.el (abbrev-table-empty-p): New function.
19591 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19592 nonempty ones. (Bug#5937)
19593
5ffb62aa
JD
195942011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19595
19596 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19597
7a097943
LL
195982011-03-27 Leo Liu <sdl.web@gmail.com>
19599
19600 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19601 for foreground and background colors.
19602 (ansi-color-make-color-map): Adapt.
19603
c5b40130
LL
196042011-03-25 Leo Liu <sdl.web@gmail.com>
19605
1f48f7d2
LL
19606 * midnight.el (midnight-time-float): Remove. Note it calculates
19607 the microsecond component incorrectly and seconds-to-time does the
19608 same job.
625897ec 19609 Remove redundant (require 'timer).
1f48f7d2 19610
c5b40130
LL
19611 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19612 (ido-completions): Remove unused arguments. (Bug#8329)
19613
d86d2721
SM
196142011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19615
19616 * minibuffer.el (completion--flush-all-sorted-completions):
19617 Remove itself from hook.
19618 (completion-at-point): Let the functions perform the completion
19619 immediately and return nil or t.
19620 * comint.el (comint-dynamic-complete-functions): Now identical to
19621 completion-at-point-functions.
19622 (comint-dynamic-list-input-ring): Remove unused var `index'.
19623 (comint--match-partial-filename, comint--unquote&expand-filename):
19624 New funs, split from comint-match-partial-filename.
19625 (comint-dynamic-complete): Use completion-at-point.
19626 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19627
e8974c48
DA
196282011-03-24 Drew Adams <drew.adams@oracle.com>
19629
19630 * thingatpt.el: Support `defun'.
19631
def71b5e
LL
196322011-03-23 Leo Liu <sdl.web@gmail.com>
19633
cb5af48e
LL
19634 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19635
def71b5e
LL
19636 * help-mode.el (help-mode-finish): Tweak regexp.
19637
927c53e7
GM
196382011-03-23 Glenn Morris <rgm@gnu.org>
19639
18d05bed
GM
19640 * eshell/esh-opt.el (eshell-eval-using-options):
19641 Do not bind unused local variable `eshell-option-stub'.
19642
927c53e7
GM
19643 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19644
9d0da923
JB
196452011-03-22 Juanma Barranquero <lekktu@gmail.com>
19646
19647 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19648 keymap variable in `with-no-warnings' to avoid a warning when the
19649 keymap has been already `defconst'ed.
19650
4b978a67
LL
196512011-03-22 Leo Liu <sdl.web@gmail.com>
19652
19653 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19654 encode all chars in abbrevs; otherwise use emacs-mule or
19655 utf-8-emacs. (Bug#8308)
19656
5fd62452
JB
196572011-03-22 Juanma Barranquero <lekktu@gmail.com>
19658
0b1596c6
JB
19659 * simple.el (backward-delete-char-untabify):
19660 Avoid warning about using `delete-backward-char'.
19661
5fd62452
JB
19662 * image.el (image-type-file-name-regexps): Make it variable.
19663 `imagemagick-register-types' modifies it, and the user may want
19664 to add new extensions for known image types.
19665 (imagemagick-register-types): Throw error if not using ImageMagick.
19666
0b4e93f1
LL
196672011-03-22 Leo Liu <sdl.web@gmail.com>
19668
19669 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19670 located before rcirc-prompt-end-marker.
19671 (rcirc-complete): Error if point is not after rcirc prompt.
19672 Handle the case when table is nil.
9882e214 19673 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19674
fccee4ab
CY
196752011-03-22 Chong Yidong <cyd@stupidchicken.com>
19676
19677 * custom.el (custom--inhibit-theme-enable): Make it affect only
19678 custom-theme-set-variables and custom-theme-set-faces.
19679 (provide-theme): Ignore custom--inhibit-theme-enable.
19680 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19681 (custom-enabling-themes): Delete variable.
d86d2721
SM
19682 (enable-theme): Accept only loaded themes as arguments.
19683 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19684 (custom-enabled-themes): Forbid themes from setting this.
19685 Eliminate use of custom-enabling-themes.
19686 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19687
af896da6
LL
196882011-03-21 Leo Liu <sdl.web@gmail.com>
19689
19690 * ido.el (ido-read-internal): Add ido-selected to history instead
19691 of user input.
19692
78f64af0
SM
196932011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19694
19695 * subr.el (deferred-action-list, deferred-action-function):
19696 Mark obsolete.
19697
b16ac1ec
LL
196982011-03-21 Leo Liu <sdl.web@gmail.com>
19699
810f7698
LL
19700 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19701 change on 2011-02-13 (bug#8309).
19702
b16ac1ec
LL
19703 * minibuffer.el (read-file-name-function): Change default value.
19704 (read-file-name--defaults): Rename from read-file-name-defaults.
19705 (read-file-name-default): Rename from read-file-name.
19706 (read-file-name): Call read-file-name-function.
19707
4e05e67e
GM
197082011-03-21 Glenn Morris <rgm@gnu.org>
19709
19710 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19711 Doc fixes.
19712
4359915b
CY
197132011-03-21 Chong Yidong <cyd@stupidchicken.com>
19714
19715 * cus-theme.el: Add missing provide statement.
19716 (customize-create-theme): Extract theme value correctly.
19717 (custom-theme-visit-theme): Autoload.
19718 (customize-create-theme): Prompt before inserting default faces.
19719
1fe275ee
JB
197202011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19721
19722 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19723 units and musical notes.
19724
cd394be1 197252011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19726
19727 * ido.el (ido-read-internal): Use completing-read-default.
19728 (ido-completing-read): Fix compatibility with completing-read.
19729
7d476bde
CO
197302011-03-20 Christian Ohler <ohler@gnu.org>
19731
19732 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19733 (ert-delete-all-tests): Use `called-interactively-p' rather than
19734 `interactive-p'.
19735 (ert--make-xrefs-region): Respect END.
19736
fe0fb33e
CY
197372011-03-19 Chong Yidong <cyd@stupidchicken.com>
19738
ff854b0b
CY
19739 * dired-aux.el (dired-create-directory): Signal an error if the
19740 directory already exists (Bug#8246).
19741
fe0fb33e
CY
19742 * facemenu.el (list-colors-display): Call list-faces-display
19743 inside with-help-window.
19744 (list-colors-print): Use display property to align the final
19745 column, instead of checking window-width.
19746
576bce32
EZ
197472011-03-19 Eli Zaretskii <eliz@gnu.org>
19748
4d61f28d 19749 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19750 windows-nt systems.
19751 (emerge-protect-metachars): Quote correctly for ms-dos and
19752 windows-nt systems.
19753
89c41d68 197542011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19755
19756 * info.el (info-initialize): Replace all uses of `:' with
19757 path-separator for compatibility with non-Unix systems.
19758 Cache quoting of path-separator. (Bug#8258)
19759
b14e3e21 197602011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19761
19762 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19763 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19764 (mouse-avoidance-mode): Fix typos in docstrings.
19765
4525ce3e
CY
197662011-03-19 Chong Yidong <cyd@stupidchicken.com>
19767
19768 * startup.el (package-subdirectory-regexp): Move from package.el.
19769 Omit \\` and \\', and let callers add them.
19770
19771 * emacs-lisp/package.el (package-strip-version)
19772 (package-load-all-descriptors): Add \\` and \\' to
19773 package-subdirectory-regexp before using it.
19774 (package-untar-buffer): New arg DIR; ensure that file untars only
19775 into this expected directory. Remove superfluous delete-region.
19776 (package-unpack): Caller changed.
19777 (package-tar-file-info): Use package-subdirectory-regexp.
19778
a904a09a 197792011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19780
a904a09a
SM
19781 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19782 diff-mode-shared-map (bug#8284).
19783 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19784
197852011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19786
19787 * calendar/time-date.el (format-seconds): Use assoc instead of
19788 assoc-string, since assoc-string doesn't exist in XEmacs.
19789
171fc304
JB
197902011-03-17 Juanma Barranquero <lekktu@gmail.com>
19791
19792 * custom.el (custom-known-themes): Reflow docstring.
19793 (custom-theme-load-path): Fix typo in docstring.
19794 (load-theme): Fix typo in error message.
19795 (custom-available-themes, custom-variable-theme-value):
19796 Use `let', not `let*'.
19797
d71990a1
JB
197982011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19799
19800 * calc/README: Mention inclusion of musical notes.
19801
19802 * calc/calc-units.el (calc-lu-quant): Rename from
19803 `calc-logunits-quantity'.
19804 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19805 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19806 (calc-db): Rename from `calc-dblevel'.
19807 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19808 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19809 (calc-np): Rename from `calc-nplevel'.
19810 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19811 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19812 (calc-lu-plus): Rename from `calc-logunits-add'.
19813 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19814 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19815 (calc-lu-minus): Rename from `calc-logunits-sub'.
19816 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19817 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19818 (calc-lu-times): Rename from `calc-logunits-mul'.
19819 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19820 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19821 (calc-lu-divide): Rename from `calc-logunits-div'.
19822 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19823 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19824
19825 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19826 functions being autoloaded.
19827
19828 * calc/calc.el (calc-lu-power-reference): Rename from
19829 `calc-logunits-power-reference'.
19830 (calc-lu-field-reference): Rename from
19831 `calc-logunits-field-reference'.
19832
7a71b18d
GM
19833 * calc/calc-help.el (calc-l-prefix-help):
19834 Mention musical note functions.
d71990a1 19835
40c2934b
SM
198362011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19837
19838 * minibuffer.el (completion-all-sorted-completions):
19839 Use :completion-cycle-penalty text property if present.
19840
b0911414
KM
198412011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19842
19843 * allout.el (allout-yank-processing): Adjust for new rebulleting
19844 regime so bullet being yanked is used without prompting the user
19845 for a choice.
19846
8a05b668
JB
198472011-03-16 Juanma Barranquero <lekktu@gmail.com>
19848
19849 * startup.el (command-line): Warn the user that _emacs is deprecated.
19850
5ba5fb81
JB
198512011-03-16 Juanma Barranquero <lekktu@gmail.com>
19852
19853 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19854 (delphi-verbose, delphi-comment-face, delphi-string-face)
19855 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19856 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19857 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19858 (delphi-new-comment-line, delphi-font-lock-defaults)
19859 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19860 Fix typos in docstrings.
19861
2dab465b
KM
198622011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19863
5ba5fb81 19864 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19865 Invert the roles of character and string values for INSTEAD, so a
19866 string is used for the more common case of a defaulting prompt.
19867
0adf5618
SM
198682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19869
19870 * progmodes/ruby-mode.el (ruby-backward-sexp):
19871 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19872 * play/gamegrid.el (gamegrid-make-face):
19873 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19874 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19875 * notifications.el (notifications-notify):
19876 * net/xesam.el (xesam-search-engines):
19877 * net/quickurl.el (quickurl-list-insert):
19878 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19879
d72700e5
CY
198802011-03-15 Chong Yidong <cyd@stupidchicken.com>
19881
19882 * startup.el (command-line): Update package subdirectory regexp.
19883
49c5410a
SM
198842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19885
c6eee9aa
SM
19886 * allout.el (allout-abbreviate-flattened-numbering)
19887 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19888
49c5410a
SM
19889 * subr.el (read-char-choice): Only show the cursor after the prompt,
19890 not after the answer.
19891
047b2bb9
KR
198922011-03-15 Kevin Ryde <user42@zip.com.au>
19893
19894 * help-fns.el (variable-at-point): Skip leading quotes, if any
19895 (bug#8253).
19896
0a57d256
SM
198972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19898
19899 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19900 warning message.
19901
77c992bc
MA
199022011-03-14 Michael Albinus <michael.albinus@gmx.de>
19903
19904 * shell.el (shell): When called interactively, offer to change the
19905 shell file name on remote hosts.
19906
eebc475d
TZ
199072011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19908
19909 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19910 integration for LDAP parameters. The host, base, user or binddn,
19911 and secret tokens can be specified in a netrc file, for instance.
19912 This is optional because an `auth-source' parameter must be
19913 specified in the search attributes.
19914
9d05d1ba
JB
199152011-03-13 Juanma Barranquero <lekktu@gmail.com>
19916
19917 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19918
09d9db2c
GM
199192011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19920
19921 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19922 into declaration. Remove redundant and harmful binding.
19923
199242011-03-12 Eli Zaretskii <eliz@gnu.org>
19925
19926 * files.el (file-ownership-preserved-p): Pass `integer' as an
19927 explicit 2nd argument to `file-attributes'. If the file's owner
19928 is the Administrators group on Windows, and the current user is
19929 Administrator, consider that a match.
19930
19931 * server.el (server-ensure-safe-dir): Consider server directory
19932 safe on MS-Windows if its owner is the Administrators group while
19933 the current Emacs user is Administrator. Use `=' to compare
19934 numerical UIDs, since they could be integers or floats.
19935
219bd536
JB
199362011-03-12 Juanma Barranquero <lekktu@gmail.com>
19937
19938 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19939
f3afd36b
MA
199402011-03-12 Michael Albinus <michael.albinus@gmx.de>
19941
19942 Sync with Tramp 2.2.1.
19943
19944 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19945
19946 * net/trampver.el: Update release number.
19947
3aaaa6f1
SM
199482011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19949
94642599
SM
19950 * progmodes/compile.el (compilation--previous-directory): Fix up
19951 various nil/dead-marker mismatches (bug#8014).
19952 (compilation-directory-properties, compilation-error-properties):
19953 Don't call it at a position past the one we're about to change.
19954
3aaaa6f1
SM
19955 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19956 Disable obsolescence warnings in the file that declares it.
19957
14239447
KM
199582011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19959
099c39a4
JB
19960 * allout-widgets.el (allout-widgets-tally):
19961 Initialize allout-widgets-tally as a hash table rather than nil to
19962 prevent mode-line redisplay warnings. Also, clarify the module
19963 description and fix a comment typo.
14239447 19964
135e287c
JB
199652011-03-11 Juanma Barranquero <lekktu@gmail.com>
19966
19967 * help-fns.el (describe-variable): Don't complete keywords.
19968 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19969
ffbf300e
CY
199702011-03-10 Chong Yidong <cyd@stupidchicken.com>
19971
ba08b241
CY
19972 * emacs-lisp/package.el (package-version-join): Impose a standard
19973 string representation for pre/alpha/beta version lists.
19974 (package-unpack-single): Standardize the directory name by passing
19975 it through package-version-join.
19976 (package-strip-rcs-id): Accept any version string that does not
19977 signal an error in version-to-list.
ffbf300e 19978
f346fd6b
MA
199792011-03-10 Michael Albinus <michael.albinus@gmx.de>
19980
19981 * simple.el (delete-trailing-whitespace): Return nil for the
19982 benefit of `write-file-functions'.
19983
ccb55d27
GM
199842011-03-10 Glenn Morris <rgm@gnu.org>
19985
5ceaac0c
GM
19986 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19987
02da65ff
GM
19988 * vc/vc-git.el (vc-git-program): New option.
19989 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19990 (vc-git--call): Use it.
19991
b2f603cc
GM
19992 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19993
5772caab
GM
19994 * cus-edit.el (Custom-newline): If no button at point, look
19995 for a subgroup button at start-of-line. (Bug#2298)
19996
ccb55d27
GM
19997 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19998
ec6ecaed
JD
199992011-03-10 Julien Danjou <julien@danjou.info>
20000
20001 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20002 `cursor-type' is nil.
20003
9d5aa01d
JB
200042011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20005
20006 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20007
b6a5875b
KM
200082011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20009
7a71b18d 20010 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20011 preserves the existing header prefix, rebulleting it if necessary,
20012 rather than replacing it. This is necessary for proper operation
20013 of cooperative addons like allout-widgets.
1154d12e
JB
20014 (allout-make-topic-prefix, allout-rebullet-heading):
20015 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20016 value as alternate bullet to be used, instead of prompting the user
20017 for a bullet character.
b6a5875b 20018
ee545c35
MA
200192011-03-09 Michael Albinus <michael.albinus@gmx.de>
20020
d86d2721
SM
20021 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20022 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20023 `tramp-default-port'.
20024
c47971d7
DD
200252011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20026
20027 * net/rcirc.el (rcirc-handler-001): Remove useless
20028 with-rcirc-process-buffer.
20029 (rcirc-check-auth-status): Swap arguments to string-match.
20030
13522cb4
GM
200312011-03-09 Glenn Morris <rgm@gnu.org>
20032
0be6f4f1
GM
20033 * shell.el (shell-mode):
20034 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20035
13522cb4
GM
20036 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20037 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20038
515de2e3
CY
200392011-03-08 Chong Yidong <cyd@stupidchicken.com>
20040
20041 * emacs-lisp/package.el (package-refresh-contents)
20042 (package-menu-execute): Use condition-case-no-debug.
20043
b511b994
MA
200442011-03-08 Michael Albinus <michael.albinus@gmx.de>
20045
20046 * simple.el (shell-command-to-string): Use `process-file'.
20047
20048 * emacs-lisp/package.el (package-tar-file-info): Handle also
20049 remote files.
20050
d86d2721
SM
20051 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20052 Use `equal' for upload base check.
b511b994 20053
25bbfb31
AM
200542011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20055
20056 * textmodes/texinfo.el (texinfo-environments):
20057 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20058
be996521
GM
200592011-03-08 Glenn Morris <rgm@gnu.org>
20060
e9c8529f
GM
20061 * cus-start.el (cursor-in-non-selected-windows):
20062 Fix :set quoting oddness. (Bug#8192)
20063
be996521
GM
20064 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20065 in some setf expressions. (Bug#2159)
20066
2bb5649e
CY
200672011-03-08 Chong Yidong <cyd@stupidchicken.com>
20068
20069 * custom.el (custom-available-themes): Return themes in
20070 alphabetical order.
20071
33383987 20072See ChangeLog.15 for earlier changes.
e3d51b27
MR
20073
20074;; Local Variables:
20075;; coding: utf-8
e3d51b27
MR
20076;; End:
20077
acaf905b 20078 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20079
20080 This file is part of GNU Emacs.
20081
20082 GNU Emacs is free software: you can redistribute it and/or modify
20083 it under the terms of the GNU General Public License as published by
20084 the Free Software Foundation, either version 3 of the License, or
20085 (at your option) any later version.
20086
20087 GNU Emacs is distributed in the hope that it will be useful,
20088 but WITHOUT ANY WARRANTY; without even the implied warranty of
20089 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20090 GNU General Public License for more details.
20091
20092 You should have received a copy of the GNU General Public License
20093 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.