* lisp/bookmark.el (bookmark-search-pattern): Remove var.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
fe0a74f9
SM
12012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
d83ef976
SM
3 * bookmark.el (bookmark-search-pattern): Remove var.
4 (bookmark-read-search-input): Remove function.
5 (bookmark-bmenu-search): Reimplement using a minibuffer.
6
cd386662
SM
7 * faces.el (modeline): Remove obsolete face name.
8
fe0a74f9
SM
9 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
10 and give a non-nil default value.
11 (add-change-log-entry): Simplify accordingly.
12
9f7b98f8
DG
132012-10-01 Dmitry Gutov <dgutov@yandex.ru>
14
15 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
16 (vc-git-log-edit-toggle-amend): New function.
17 (vc-git-log-edit-toggle-signoff): New function.
18 (vc-git-log-edit-mode): New major mode.
19 (vc-git-log-edit-mode-map): Keymap for it.
20 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
21
22 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
23 header names.
24 (log-edit-toggle-header): New function.
25 (log-edit-extract-headers): Accept function values in HEADERS alist.
26
62a81506
CY
272012-10-01 David Engster <deng@randomsample.de>
28
29 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
30 from symbol property and change message to be more consistent with
31 Emacs proper.
32 (eieio-describe-generic): Add filename for each implementation.
33 Fix indices for generic and normal methods.
34 (eieio-method-def, eieio-class-def): New buttons.
35 (eieio-help-find-method-definition)
36 (eieio-help-find-class-definition): New functions.
37 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
38 class, constructor and method definitions.
39
40 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
41 information in symbol property.
42 (scoped-class): Remove.
43 (eieio-slot-name-index, call-next-method): Check if it is bound.
44
452012-10-01 Leo P. White <lpw25@cam.ac.uk>
46
47 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
48 (eieio-custom-mode): New major mode.
49 (eieio-customize-object): Use it.
50
512012-10-01 Eric Ludlam <zappo@gnu.org>
52
53 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
54 specifying the expected class, and whether subclassing is allowed.
55 (eieio-persistent-convert-list-to-object):
56 (eieio-persistent-validate/fix-slot-value)
57 (eieio-persistent-slot-type-is-class-p): New functions.
58 (eieio-named::slot-missing): Doc fix.
59
60 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
61 Stop using unused publd variable.
62
63 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
64 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
65 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
66 (eieio-speedbar-handle-click): Do not specify a class for the
67 method. Fixes method invocation order problems with EDE.
68
375e49d4
SM
692012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
72 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
73
16ce6ccd
KF
742012-10-01 Karl Fogel <kfogel@red-bean.com>
75
76 * bookmark.el (bookmark-version-control): Give tags in the
77 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
78 (bookmark-write-file): Bind `print-circle' to `t' to allow
79 circular custom bookmark types. (Bug#12503)
16ce6ccd 80
19e54a4d
PE
812012-10-01 Paul Eggert <eggert@cs.ucla.edu>
82
86ec63ba
PE
83 Revert the FOLLOW-SYMLINKS change for file-attributes.
84 * files.el (remote-file-name-inhibit-cache, after-find-file):
85 * time.el (display-time-file-nonempty-p): Undo last change.
86
19e54a4d
PE
87 * profiler.el (profiler-sampling-interval): Change default back to 1.
88 See Stefan Monnier in
89 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
90
0478776b
FEG
912012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
92
93 Shell output catching a la gud-gdb.
94 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
95 (python-shell-fetch-lines-string, python-shell-fetched-lines):
96 New Vars.
0478776b
FEG
97 (python-shell-fetch-lines-filter): New function.
98 (python-shell-send-string-no-output): Use them.
99
c22bac2c
TM
1002012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
101
102 * profiler.el (profiler-sampling-interval): Rename from
103 profiler-sample-interval.
104 (profiler-sampling-interval): Default to 10.
105 (profiler-find-profile): New command (was profiler-find-log).
106 (profiler-find-profile-other-window): New command.
107 (profiler-find-profile-other-frame): New command.
108 (profiler-profile): Introduce API-level data structure.
109
e7a2937b
PE
1102012-09-30 Paul Eggert <eggert@cs.ucla.edu>
111
112 file-attributes has a new optional arg FOLLOW-SYMLINKS.
113 * files.el (remote-file-name-inhibit-cache):
114 * time.el (display-time-file-nonempty-p): Use it.
115 * files.el (after-find-file): Don't chase links before calling
116 file-exists-p, as file-exists-p already does the right thing.
117
4f595e15
RA
1182012-09-30 Ralf Angeli <angeli@caeruleus.net>
119
120 Merge from standalone RefTeX repository.
121
122 The following ChangeLog entries are shortened versions of the
123 original ones with file paths adapted. A not so strongly edited
124 version of the original ChangeLog can be found in the commit log.
125
126 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
127 (reftex-arg-cite): Use `reftex-cite-key-separator'.
128 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
129
130 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
131 that entries with whitespace at various places are found.
132 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
133 Include @String definitions in the resulting bib file. Add header
134 and footer defined in `reftex-create-bibtex-header' and
135 `reftex-create-bibtex-footer'.
136 (reftex-do-citation): Make it possible again to insert
137 non-existent entries. Save match data when asking for optional
138 arguments. Return all keys, not just the first one.
139 (reftex-all-used-citation-keys): Fix regexp to correctly extract
140 all citations in the same line.
141 (reftex-parse-bibtex-entry): Accept additional optional argument
142 `raw' and keep quotes or braces if it is non-nil. Match fields
143 containing hyphens besides word constituents.
144 (reftex-get-string-refs): New function.
145 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
146 and ask if it should be reread in case it did.
147 (reftex-pop-to-bibtex-entry)
148 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
149 entries with spaces or tabs in front of arguments.
150 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
151 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
152 Match entries containing numbers and symbol constituents.
153 (reftex-do-citation, reftex-figure-out-cite-format):
154 Use `reftex-cite-key-separator'.
4f595e15
RA
155
156 * textmodes/reftex-dcr.el: Move provide statement to end of file.
157 (reftex-mouse-view-crossref): Explain why point is set.
158
159 * textmodes/reftex-global.el: Whitespace changes.
160
161 * textmodes/reftex-index.el: Move provide statement to end of
162 file.
163 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
164 (reftex-index-visit-phrases-buffer): Set marker when visiting
165 buffer. This allows for returning from the phrases file to the
166 file one was just editing instead of the file where the last
167 phrases was added from.
168 (reftex-index-phrases-syntax-table): New variable. Give ?\"
169 punctuation syntax as it usually is not used as string quote in
170 TeX-related modes and may occur unmatched. The change also
171 prevents fontification of quoted content.
172 (reftex-index-phrases-mode): Use it.
173
375e49d4
SM
174 * textmodes/reftex-parse.el (reftex-parse-from-file):
175 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
176 (reftex-parse-from-file): Use beginning of match instead of end as
177 bound.
178
179 * textmodes/reftex-ref.el: Adapt creation of
180 `reftex-<package>-<macro>' functions to new structure of
181 `reftex-ref-style-alist'.
375e49d4
SM
182 (reftex-reference): Use `reftex-ref-style-list' function.
183 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
184 reference macro if `reftex-ref-macro-prompt' is non-nil.
185 (reftex-reference): Pass refstyle to `reftex-format-special'.
186 Determine reference macro by looking at
375e49d4
SM
187 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
188 Use only one special format function.
4f595e15
RA
189 (reftex-varioref-vref, reftex-fancyref-fref)
190 (reftex-fancyref-Fref): Remove definitions. The functions are now
191 generated from `reftex-ref-style-alist'.
192 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
193 Remove.
194 (reftex-format-special): New function.
195
196 * textmodes/reftex-sel.el
197 (reftex-select-cycle-ref-style-internal): Adapt to new structure
198 of `reftex-ref-style-alist'. Remove code for testing macro type.
199 (reftex-select-toggle-varioref)
200 (reftex-select-toggle-fancyref): Remove.
201 (reftex-select-cycle-ref-style-internal)
202 (reftex-select-cycle-ref-style-forward)
203 (reftex-select-cycle-ref-style-backward): New functions.
204 (reftex-select-label-map): Use `v' and `V' for general cycling
205 through reference styles. Add `p' for switching between number
206 and page reference types.
207
375e49d4
SM
208 * textmodes/reftex-toc.el (reftex-re-enlarge):
209 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
210 the horizontal version throws an error even if the parameter is 0.
211
212 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
213 (reftex-plug-into-AUCTeX): Doc fix.
214 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
215 string. Adapt to new name.
216 (reftex-ref-style-alist): Change structure so that it is not
217 possible to use multiple different package names within a style.
375e49d4
SM
218 Remove the symbols for symbols for macro type distinction.
219 Add characters for macro selection.
4f595e15
RA
220 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
221 (reftex-create-bibtex-footer): New variables.
222 (reftex-format-ref-function): Mention third argument of special
223 format function.
375e49d4
SM
224 (reftex-ref-style-alist, reftex-ref-style-default-list):
225 New variables.
4f595e15
RA
226 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
227 to new implementation. Mark as obsolete. Add compatibility code
228 for honoring the variable values in case they are set.
375e49d4
SM
229 (reftex-cite-format-builtin, reftex-bibliography-commands):
230 Add support for ConTeXt.
231 (reftex-format-ref-function, reftex-format-cite-function):
232 Fix custom type.
4f595e15
RA
233 (reftex-cite-key-separator): New variable.
234
235 * textmodes/reftex.el (reftex-syntax-table-for-bib)
236 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
237 `reftex-syntax-table' because parens have to retain their paren
238 syntax in order for parsing of BibTeX entries like @book(...) to
239 work.
240 (reftex-in-comment): Do not error out if `comment-start-skip' is
241 not set. Deal correctly with escaped comment characters.
375e49d4
SM
242 (reftex-tie-multifile-symbols): Add doc string.
243 Initialize `reftex-ref-style-list'.
4f595e15
RA
244 (reftex-untie-multifile-symbols): Add doc string.
245 (reftex-add-index-macros): Doc fix.
246 (reftex-ref-style-activate, reftex-ref-style-toggle)
247 (reftex-ref-style-list): New functions.
248 (reftex-mode-menu): Use them. Adapt to new structure of
249 `reftex-ref-style-alist'.
250 (reftex-select-with-char): Kill the RefTeX Select buffer when
251 done.
252 (reftex-remove-if): New function.
253 (reftex-erase-all-selection-and-index-buffers)
254 (reftex-mode-menu): Reference styles are now computed from
255 `reftex-ref-style-alist'. Fix typo.
256 (reftex-report-bug): New function.
257 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
258 algorithms with O(n log n). Introduce optional argument SORT (not
259 yet used).
260
440ba395
FEG
2612012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
262
263 Enhancements for triple-quote string syntax.
375e49d4
SM
264 * progmodes/python.el (python-syntax-propertize-function):
265 Match both quote cases in one regexp.
440ba395
FEG
266 (python-syntax-stringify): Handle matches properly.
267
4c478e6b
JL
2682012-09-30 Juri Linkov <juri@jurta.org>
269
270 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
271 to nil around the call to `add-text-properties' to prevent
272 directory time modification by lock_file. (Bug#2295)
273 * tar-mode.el (tar-summarize-buffer): Idem.
274
d80d54b2
JL
2752012-09-30 Juri Linkov <juri@jurta.org>
276
277 * facemenu.el (list-colors-sort): Add option "Luminance".
278 (list-colors-sort-key): Implement it.
279
280 * vc/diff-mode.el (diff-refine-removed):
281 * vc/ediff-init.el (ediff-fine-diff-A):
282 * vc/smerge-mode.el (smerge-refined-removed):
283 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
284
d7e642cc
JD
2852012-09-30 Jan Djärv <jan.h.d@swipnet.se>
286
287 * term/ns-win.el (x-file-dialog): New function.
288
ee41332b
JB
2892012-09-30 Juanma Barranquero <lekktu@gmail.com>
290
291 * ido.el (ido-max-directory-size): Default to nil; the current
292 default is small for POSIX systems, and impractical on Windows 7
293 now that lstat returns directory sizes for NTFS.
294
5938d519
MR
2952012-09-30 Martin Rudalics <rudalics@gmx.at>
296
297 In buffer display functions handle window-height/window-width
298 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
299 * window.el (window--display-buffer): New argument ALIST.
300 Obey window-height and window-width alist entries.
301 (window--try-to-split-window): New argument ALIST.
302 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
303 changed and window-combination-limit equals `window-size'.
304 (display-buffer-in-atom-window)
305 (display-buffer-in-major-side-window)
306 (display-buffer-in-side-window, display-buffer-same-window)
307 (display-buffer-reuse-window, display-buffer-pop-up-frame)
308 (display-buffer-pop-up-window, display-buffer-below-selected)
309 (display-buffer-at-bottom, display-buffer-in-previous-window)
310 (display-buffer-use-some-window): Adjust all callers of
311 window--display-buffer and window--try-to-split-window.
312 (fit-frame-to-buffer): New option.
313 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
314 is non-nil.
315 (display-buffer-in-major-side-window): Evaluate window-height /
316 window-width alist entries.
317
318 * help.el (temp-buffer-resize-frames)
319 (temp-buffer-resize-regexps): Remove options.
320 (temp-buffer-resize-mode): Adjust doc-string.
321 (resize-temp-buffer-window): Don't consult
322 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
323 temp-buffer-resize-frames.
324
375e49d4
SM
325 * dired.el (dired-mark-pop-up):
326 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
327 entry.
328
c4c0c2df
CY
3292012-09-30 Chong Yidong <cyd@gnu.org>
330
48de8b12
CY
331 * server.el (server-host): Document the security implications.
332 (server-auth-key): Doc fix.
333
334 * startup.el (initial-buffer-choice): Doc fix.
335
336 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
337
a97dc380
CY
338 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
339 restriction change.
340
d39d3c8e
CY
341 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
342
c4c0c2df
CY
343 * help-fns.el (help-fns--obsolete): Fix last change.
344
98a5e33b
SM
3452012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
346
34cf6f39
SM
347 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
348 (minor-mode-map-alist): Remove redundant code.
349
e01c13fe
SM
350 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
351 visited in a buffer.
352 (cvs-insert-visited-file): New function.
353 (find-file-hook): Use it.
354
355 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
356
02661b3a
SM
357 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
358 chose face.
359 (log-edit-empty-buffer-p): Don't require a space after a header.
360
43711d4b
SM
361 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
362
38a30d64
SM
363 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
364
4ffb41a9
SM
365 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
366 a proper minor-mode.
367
98a5e33b
SM
368 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
369
de82e29b
GM
3702012-09-29 Glenn Morris <rgm@gnu.org>
371
5cc2e639
GM
372 * winner.el (winner-mode): Remove variable (let define-minor-mode
373 handle it).
374 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
375 Doc fixes.
376 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
377 (winner-mode): Use define-minor-mode.
378
7bd302eb
GM
379 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
380 the full definition in loaddefs, rather than duplicating it.
381
2923922f 382 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 383
0e3e4156
GM
384 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
385 (inferior-lisp-program, inferior-lisp-load-command)
386 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 387 No need to autoload defcustoms.
0e3e4156 388
de82e29b
GM
389 * hippie-exp.el (hippie-expand-try-functions-list)
390 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
391 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
392 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 393 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
394 * progmodes/vhdl-mode.el (vhdl-line-expand):
395 Explicitly load hippie-exp, so it does not get autoloaded
396 while hippie-expand-try-functions-list is let-bound.
397
e60b51ab
GM
3982012-09-28 Glenn Morris <rgm@gnu.org>
399
277f0cfa
GM
400 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
401
e60b51ab
GM
402 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
403 Only "cl.el" counts as cl these days.
404
53baf48a
JL
4052012-09-28 Juri Linkov <juri@jurta.org>
406
407 Display archive errors in the echo area instead of inserting
408 to the file buffer.
409
410 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
411 to STDERR-TEST that can be a regexp matching a successful output.
412 Create a temporary file and redirect stderr to it. Search for
413 STDERR-TEST in the stderr output and display it in the echo area
414 if no match is found.
415 (archive-extract-by-file): New function like
416 `archive-extract-by-stdout' but extracting archives to files
417 and looking for successful matches in stdout. Function body is
418 mostly copied from `archive-rar-extract'.
419 (archive-rar-extract): Use `archive-extract-by-file'.
420 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
421
9c1228c3
LL
4222012-09-28 Leo Liu <sdl.web@gmail.com>
423
375e49d4
SM
424 * pcomplete.el (pcomplete-show-completions):
425 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 426
9c1228c3
LL
427 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
428
7f457c06
SM
4292012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
430
3df749b0
SM
431 * type-break.el: Use lexical-binding.
432 (type-break-mode): Use define-minor-mode.
433
7f457c06
SM
434 * emacs-lisp/pcase.el (pcase--mark-used): New.
435 (pcase--u1): Use it (bug#12512).
436
437 * custom.el (load-theme): Set buffer-file-name so the load is recorded
438 in load-history with the right file name.
439
c00ebc98
TH
4402012-09-28 Tassilo Horn <tsdh@gnu.org>
441
442 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
443 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
444 (doc-view-get-bounding-box): Make bounding box slicing work for
445 ODF and DVI documents.
446
96fb7170
GM
4472012-09-28 Glenn Morris <rgm@gnu.org>
448
449 * type-break.el (type-break-mode, type-break-interval)
450 (type-break-good-rest-interval, type-break-keystroke-threshold):
451 No need to autoload.
452 (type-break-good-rest-interval, type-break-keystroke-threshold):
453 Add :set-after.
454
5bc93c67
CY
4552012-09-28 Chong Yidong <cyd@gnu.org>
456
457 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
458 Add :version tag.
459
9cad61d6
SM
4602012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
461
e28e67b3 462 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 463
daee954c
GM
4642012-09-27 Glenn Morris <rgm@gnu.org>
465
a88324d4
GM
466 * faces.el (x-display-name): Declare (for without-x builds).
467
8e5064e5
GM
468 * linum.el (linum-format): Don't autoload it. Improve :type.
469
cc1783c2
GM
470 * progmodes/tcl.el: Don't require outline when compiling.
471 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
472 * textmodes/sgml-mode.el: Don't require outline when compiling.
473 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
474
48c339f2
GM
475 * term.el (term-ansi-reset):
476 Try setting term-ansi-face-already-done to nil. (Bug#11785)
477
daee954c
GM
478 * vc/vc.el (vc-next-action): Only gripe about committing read-only
479 files for RCS and SCCS. (Bug#9781)
480
b7f42161
CY
4812012-09-27 Chong Yidong <cyd@gnu.org>
482
483 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
484 change; value should be t.
485
a2e770db
SM
4862012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
487
83600dc8
SM
488 * image-mode.el: Use lexical-binding.
489 (image-mode-winprops): Use t to stand for the window of
490 a buffer that's not displayed.
491 * doc-view.el (doc-view-new-window-function): Handle the new
492 t in winprops.
493 (doc-view-enlarge): Make it a real nop if the size is not changed.
494 (doc-view-display): Handle the case where the buffer is not (yet?)
495 displayed in any window.
496 (doc-view-saved-settings): New var.
497 (doc-view-mode): Use it.
498 (doc-view-fallback-mode): Set it.
499
a2e770db
SM
500 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
501 Set lexical-binding.
502 (minibuffer-eldef-shorten-default): New var.
503 (minibuffer-default-in-prompt-regexps): Use it for new default.
504 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
505
e3b60857
JB
5062012-09-26 Juanma Barranquero <lekktu@gmail.com>
507
508 * international/uni-bidi.el:
509 * international/uni-category.el:
510 * international/uni-name.el:
511 * international/uni-numeric.el: Regenerate.
512
3a880af4
SM
5132012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
514 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * profiler.el: New file.
517
07b1a5fb
SM
5182012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
521 (testcover-reinstrument): Simplify with CSE.
522
42019c2e
JB
5232012-09-26 Juanma Barranquero <lekktu@gmail.com>
524
525 * window.el (temp-buffer-window-setup): Fix typo in docstring.
526
179f044b
WS
5272012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
528
529 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
530 (verilog-auto-input, verilog-auto-insert-lisp)
531 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
532 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
533 (verilog-auto-unused, verilog-auto-wire)
534 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
535 newline. Reported by Andrew Jones.
536 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
537 Reported by Brad Dobbie.
07b1a5fb
SM
538 (verilog-batch-delete-trailing-whitespace):
539 Create verilog-batch-delete-trailing-whitespace.
540 Reported by Brad Dobbie.
179f044b
WS
541 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
542 parameters from another module. Reported by Dan Katz.
543 (verilog-auto, verilog-auto-assign-modport)
544 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
545 AUTOINOUTMODPORT for UVM interface module shell generation.
546 Reported by Brad Dobbie.
547 (verilog-auto-inst-interfaced-ports): Make default nil, as more
548 standard behavior.
549 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
550 Reported by Matt Martin.
551
9c52dd5a
MR
5522012-09-25 Martin Rudalics <rudalics@gmx.at>
553
554 * window.el (window--resize-child-windows): When resizing child
555 windows proportionally, process them in reverse order to
556 preserve the "when splitting a window the new one gets the odd
557 line" behavior.
558 (window--resize-root-window-vertically): When resizing the
559 minibuffer window try to affect only windows at the bottom of the
560 frame. (Bug#12419)
561
863666eb
CY
5622012-09-25 Chong Yidong <cyd@gnu.org>
563
564 * subr.el (declare): Doc fix.
565
566 * help-fns.el (help-fns--obsolete): Handle macros properly.
567
59f7af81
CY
5682012-09-25 Chong Yidong <cyd@gnu.org>
569
570 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
571 this function obsolete.
572
573 * calendar/cal-x.el (calendar-two-frame-setup)
574 (calendar-only-one-frame-setup, calendar-one-frame-setup):
575 * calendar/calendar.el (american-calendar, european-calendar)
576 (calendar-for-loop):
577 * comint.el (comint-dynamic-simple-complete)
578 (comint-dynamic-complete-as-filename, comint-unquote-filename):
579 * desktop.el (desktop-load-default):
580 * dired-x.el (dired-omit-here-always)
581 (dired-hack-local-variables, dired-default-directory):
582 * emacs-lisp/derived.el (derived-mode-class):
583 * emacs-lisp/timer.el (timer-set-time-with-usecs):
584 * emacs-lock.el (toggle-emacs-lock):
585 * epa.el (epa-display-verify-result):
586 * epg.el (epg-sign-keys, epg-start-sign-keys)
587 (epg-passphrase-callback-function):
588 * eshell/esh-util.el (eshell-for):
589 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
590 (eshell-add-to-window-buffer-names):
591 * files.el (locate-file-completion):
592 * imenu.el (imenu-example--create-c-index)
593 (imenu-example--create-lisp-index)
594 (imenu-example--lisp-extract-index-name)
595 (imenu-example--name-and-position):
596 * international/mule-cmds.el (princ-list):
597 * international/mule-diag.el (decode-codepage-char):
598 * international/mule-util.el (detect-coding-with-priority):
599 * iswitchb.el (iswitchb-read-buffer):
600 * mail/mailalias.el (mail-complete):
601 * mail/sendmail.el (mail-sent-via):
602 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
603 (mouse-major-mode-menu):
604 * password-cache.el (password-read-and-add):
605 * pcomplete.el (pcomplete-parse-comint-arguments):
606 * progmodes/sh-script.el (sh-maybe-here-document):
607 * replace.el (query-replace-regexp-eval):
608 * savehist.el (savehist-load):
609 * simple.el (choose-completion-delete-max-match):
610 * term.el (term-dynamic-simple-complete):
611 * vc/ediff-init.el (ediff-check-version):
612 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
613 * vc/vc.el (vc-diff-switches-list):
614 * view.el (view-return-to-alist-update): Likewise.
615
616 * subr.el (eval-next-after-load, makehash, insert-string)
617 (assoc-ignore-representation, assoc-ignore-case): Use declare to
618 mark obsolete.
619 (mode-line-inverse-video): Variable deleted.
620
621 * international/mule-util.el (string-to-sequence): Remove.
622
623 * calendar/calendar.el (calendar-version):
624 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
625 (icalendar-convert-diary-to-ical):
626 * cus-edit.el (custom-mode):
627 * ansi-color.el (ansi-color-unfontify-region):
628 * international/latin1-disp.el (latin1-char-displayable-p):
629 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
630 * progmodes/which-func.el (which-func-update-1):
631 Use define-obsolete-function-alias.
59f7af81
CY
632
633 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
634 * net/newst-treeview.el (newsticker-groups-filename):
635 Fix incorrect obsolescence declaration.
59f7af81
CY
636
637 * allout.el (allout-passphrase-hint-string): Likewise.
638 (allout-init): Use a declare form to mark obsolete.
639
640 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
641 this applies to functions.
642
643 * iswitchb.el (iswitchb-read-buffer): Move code of
644 iswitchb-define-mode-map here, and delete that obsolete function.
645
646 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
647 font-lock-reference-face.
648
cca96c97
GM
6492012-09-25 Glenn Morris <rgm@gnu.org>
650
b06eeda8
GM
651 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
652 Doc fixes.
653
cca96c97
GM
654 * eshell/em-term.el (eshell-term-name):
655 Default to term-term-name. (Bug#12485)
656
dc4f818b
FEG
6572012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
658
cca96c97
GM
659 * progmodes/python.el (python-shell-send-buffer): Better handling
660 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 661
289c24bd
GM
6622012-09-24 Glenn Morris <rgm@gnu.org>
663
664 * eshell/esh-cmd.el (eshell-find-alias-function):
665 Tighten up file-name regexp. (Bug#12499)
666
8fb8b88f
FEG
6672012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
668
669 Enhancements for triple-quote string syntax.
670 * progmodes/python.el (python-quote-syntax): Remove.
671 (python-syntax-propertize-function): New value.
07b1a5fb
SM
672 (python-syntax-count-quotes, python-syntax-stringify):
673 New functions.
8fb8b88f 674
6c27f0f8
CY
6752012-09-24 Chong Yidong <cyd@gnu.org>
676
a5f2b6ec
CY
677 * mail/supercite.el (sc-version): Remove obsolete function.
678 (sc-describe): Don't mark as obsolete, since it is bound.
679 (sc-submit-bug-report): Remove.
680
681 * vc/log-edit.el (cvs-changelog-full-paragraphs)
682 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
683 (log-edit-require-final-newline)
684 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
685
686 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
687 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
688 * vc/vc.el (vc-checkout-carefully): Likewise.
689
690 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
691 (emerge-version): Remove.
692
693 * progmodes/compile.el (compile-internal): Remove.
694 (compilation-parse-errors-function): Fix typo.
695
696 * international/mule.el (set-char-table-default): Remove.
697 (set-coding-priority, make-coding-system, generic-char-p)
698 (charset-list, charset-bytes, charset-id): Use declare to mark
699 functions as obsolete.
700
701 * vc/pcvs-defs.el (cvs-buffer-name-alist)
702 (cvs-invert-ignore-marks): Remove references to obsolete vars.
703 * vc/vc-hooks.el (vc-default-registered): Don't use
704 vc-master-templates.
705
07b1a5fb
SM
706 * font-lock.el (font-lock-reference-face):
707 Use define-obsolete-variable-alias.
6c27f0f8
CY
708
709 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
710 * calendar/calendar.el (calendar-font-lock-keywords):
711 * calendar/diary-lib.el (diary-font-lock-keywords)
712 (diary-fancy-font-lock-keywords):
713 * textmodes/reftex-sel.el (reftex-insert-docstruct):
714 * textmodes/reftex-index.el (reftex-insert-index):
715 * textmodes/reftex-cite.el (reftex-format-bib-entry):
716 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
717 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
718 * progmodes/prolog.el (prolog-font-lock-keywords):
719 * progmodes/idlwave.el (idlwave-idl-keywords):
720 * progmodes/ada-mode.el (ada-font-lock-keywords):
721 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
722
bcc0adbf
GM
7232012-09-24 Glenn Morris <rgm@gnu.org>
724
725 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
726
095bb823
FEG
7272012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
728
729 * progmodes/python.el (python-indent-line): More consistent cursor
730 movement behavior.
731
70efc5c9
SM
7322012-09-23 Stefan Merten <smerten@oekonux.de>
733
734 * textmodes/rst.el: Fix compiler warning.
735
2f438239
RW
7362012-09-23 Roland Winkler <winkler@gnu.org>
737
07b1a5fb
SM
738 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
739 Transcribe also LaTeX hyphenation.
2f438239
RW
740 (bibtex-reformat): Bug fix. Do not quote twice the elements of
741 bibtex-reformat-previous-options.
742
936ad041
RW
7432012-09-23 Roland Winkler <winkler@gnu.org>
744
745 * proced.el (proced-renice-command): New variable.
746 (proced-marked-processes): New function.
747 (proced-with-processes-buffer): New macro.
748 (proced-send-signal): Use them.
749 (proced-renice): New command bound to r.
750
6fab0274
RW
7512012-09-23 Roland Winkler <winkler@gnu.org>
752
753 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
754 ibuffer-saved-filter-groups has one element, shortcut the call of
755 completing-read. (Bug#12331)
756
9a930676
CY
7572012-09-23 Chong Yidong <cyd@gnu.org>
758
759 * bindings.el (mode-line-toggle-read-only):
760 * bs.el (bs-toggle-readonly):
761 * buff-menu.el (Buffer-menu-toggle-read-only):
762 * dired.el (dired-toggle-read-only):
763 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
764
d07ff9db
CY
7652012-09-23 Chong Yidong <cyd@gnu.org>
766
767 * image.el (image-type-available-p): Adapt to init-image-library
768 argument changes.
769
51c4474e
JL
7702012-09-22 Juri Linkov <juri@jurta.org>
771
772 * dired.el (dired-mode-map): Add [remap read-only-mode] for
773 `dired-toggle-read-only'. (Bug#12462)
774
43bf5e8e
MR
7752012-09-22 Martin Rudalics <rudalics@gmx.at>
776
777 * subr.el (temp-output-buffer-show): New function.
778 (with-output-to-temp-buffer): Call temp-output-buffer-show
779 instead of internal-temp-output-buffer-show.
780
c88b867f
CY
7812012-09-22 Chong Yidong <cyd@gnu.org>
782
3df47cd5
CY
783 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
784 (Bug#12462).
785
c88b867f
CY
786 * repeat.el (repeat): Doc fix (Bug#12348).
787
788 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
789 (Bug#10909).
790
791 * simple.el (shell-command-on-region): Doc fix.
3171e303 792 (read-only-mode): Doc fix.
c88b867f 793
df9685f3
EZ
7942012-09-22 Eli Zaretskii <eliz@gnu.org>
795
796 * emacs-lisp/timer.el (run-with-idle-timer)
797 (timer-activate-when-idle): Warn against reinvoking an idle timer
798 from within its own timer action. (Bug#12447)
799
8e17c9ba
MR
8002012-09-22 Martin Rudalics <rudalics@gmx.at>
801
802 * cus-start.el (window-combination-limit): Add new optional
803 values.
804 * window.el (temp-buffer-window-show)
805 (window--try-to-split-window): Handle new values of
806 window-combination-limit (Bug#1806).
807 (split-window): Test window-combination-limit for t instead of
808 non-nil.
809 (display-buffer-at-bottom): New buffer display action function.
810 * help.el (temp-buffer-resize-regexps): New option.
811 (temp-buffer-resize-mode): Rewrite doc-string.
812 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 813 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 814
48a24920
SM
8152012-09-22 Stefan Merten <smerten@oekonux.de>
816
70efc5c9 817 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
818 (rst-official-version)
819 (rst-package-emacs-version-alist): Sync with official version
820 V1.4.0.
821 (rst-faces-defaults, rst-set-level-default)
822 (rst-level-face-max, rst-level-face-base-color)
823 (rst-level-face-base-light, rst-level-face-format-light)
824 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
825 (rst-adornment-faces-alist): Match new setup.
826 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
827 (rst-level-5, rst-level-6): New faces.
828
82f8cd94
CY
8292012-09-22 Chong Yidong <cyd@gnu.org>
830
831 * simple.el (undo): Handle indirect buffers (Bug#8207).
832
acfa068f 8332012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
834
835 IDO: Disable match re-ordering for buffer switching.
2bc9406c 836 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
837 (ido-set-matches-1): Use it. (Bug#2042)
838
acfa068f 8392012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
840
841 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
842 Fix 2011-05-17 change. (Bug#12418)
843
acfa068f 8442012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
845
846 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
847
acfa068f 8482012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
849
850 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
851 Be more robust about locating simple.el.
852
acfa068f 8532012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
854
855 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
856
acfa068f
CY
8572012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
858
859 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
860
41a97e6f
JL
8612012-09-20 Juri Linkov <juri@jurta.org>
862
eb2deaff
JL
863 * replace.el (query-replace-read-from): Use `read-regexp' instead
864 of `read-from-minibuffer' when `regexp-flag' is non-nil.
865 (occur-read-primary-args): Use `read-regexp' instead of
866 `read-string'.
867 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
868 `read-from-minibuffer'.
869 * isearch.el (isearch-occur): Use `read-regexp' instead of
870 `read-string'.
871 * dired.el (dired-read-regexp): Use `read-regexp' instead of
872 `read-from-minibuffer'.
873 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
874 of `read-string'. (Bug#7567)
875
5825610b
JL
876 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
877 and allow accepting a list of strings prepended to a list of
878 standard default values. Doc fix. (Bug#12321)
879
eebbf404
JL
880 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
881
41a97e6f
JL
882 * replace.el (read-regexp): Don't add ": " when PROMPT already
883 ends with a colon and space. (Bug#12321)
884
c9e452d3
TH
8852012-09-20 Tassilo Horn <tsdh@gnu.org>
886
887 * doc-view.el (doc-view-display): Better fix for the cl-assertion
888 error.
889
ee97deee
SM
8902012-09-20 Stefan Merten <smerten@oekonux.de>
891
70efc5c9 892 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
893 Fixes feature request bug#11711.
894 (rst-mode): Create `imenu-create-index-function'.
895 (rst-get-stripped-line): Delete after refactoring.
896 (rst-section-tree, rst-section-tree-rec)
897 (rst-section-tree-point): Refactor and document properly.
898 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
899 (rst-imenu-convert-cell, rst-imenu-create-index):
900 New function.
ee97deee 901
f490dab9
SM
9022012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
903
95b9712e
SM
904 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
905 (macroexp--expand-all): Use it.
906 (macroexp--funcall-and-return): Remove by folding it into its sole
907 caller (macroexp--warn-and-return).
908 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
909 Use macroexp--obsolete-warning.
910
f490dab9
SM
911 * calc/calc.el: Fix last change by removing the whole chunk, since it
912 was only needed back when Calc was not bundled.
913
96e8d411
MR
9142012-09-20 Martin Rudalics <rudalics@gmx.at>
915
916 * emacs-lisp/debug.el (debug): Restore assignment to
917 debugger-old-buffer removed on 2012-09-08.
918
0876a82d
JL
9192012-09-20 Juri Linkov <juri@jurta.org>
920
921 * dired-aux.el (dired-diff): Remove (require 'diff) since
922 `diff-latest-backup-file' is now autoloaded.
923
9f7c28f0
CY
9242012-09-20 Chong Yidong <cyd@gnu.org>
925
926 * vc/diff.el (diff-latest-backup-file): Autoload.
927
7a04bee9
SM
9282012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
929
e6f0a80d
SM
930 * calc/calc.el: Remove redundant autoload shape check.
931 (sel-mode): Don't defvar.
932 (calc-get-stack-element): Add `sel-mode' arg instead.
933 (calc-top, calc-top-list): Pass it this additional argument.
934 * calc/calc-store.el (calc-store-map):
935 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
936 (calc-map-equation, calc-outer-product, calc-inner-product):
937 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
938
7a04bee9
SM
939 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
940
12734222
JL
9412012-09-19 Juri Linkov <juri@jurta.org>
942
943 * dired-aux.el (dired-diff): Add (require 'diff) because
944 `diff-latest-backup-file' is not autoloaded.
945 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
946 of `dired-get-filename' to t to not report error when there is
947 no default file on the current line.
948
46624b4f
SM
9492012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
950
ce97595b
SM
951 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
952 macroexp--eval-if-compile.
953 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
954 (macroexp--expand-all): Use them (bug#12371).
955
46624b4f
SM
956 * doc-view.el (doc-view-guess-paper-size)
957 (doc-view-scale-bounding-box): Fix unbound `caddr'.
958
db8a5a18
TH
9592012-09-19 Tassilo Horn <tsdh@gnu.org>
960
961 New feature: set optimal slice from BoundingBox information.
962 * doc-view.el (doc-view-mode-map): Add keybinding.
963 (doc-view-menu): Add menu entry.
964 (doc-view-set-slice): Adapt docstring.
965 (doc-view-get-bounding-box, doc-view-guess-paper-size)
966 (doc-view-scale-bounding-box)
967 (doc-view-set-slice-from-bounding-box): New functions.
968 (doc-view-paper-sizes): New defvar.
969
69f6644c
GM
9702012-09-19 Glenn Morris <rgm@gnu.org>
971
35f5b19d
GM
972 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
973 (byte-compile-log-warning): Autoload. (Bug#12371)
974
69f6644c
GM
975 * calendar/calendar.el (calendar-american-month-header)
976 (calendar-european-month-header, calendar-iso-month-header)
977 (calendar-month-header): New options.
978 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
979 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
980
e543ae91
JD
9812012-09-19 Jan Djärv <jan.h.d@swipnet.se>
982
983 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
984
2fd5e67d
JL
9852012-09-18 Juri Linkov <juri@jurta.org>
986
987 * dired-aux.el (dired-diff): Restore original functionality of
988 getting the default value, but keep new feature of using the
989 latest existing backup file (`diff-latest-backup-file').
990
42917e79
JL
9912012-09-18 Juri Linkov <juri@jurta.org>
992
993 * dired.el (dired-mark): If the region is active in Transient Mark
994 mode, mark all files in the active region. Doc fix.
995 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
996 Doc fix. (Bug#10624)
997
20f70ede
JL
9982012-09-18 Juri Linkov <juri@jurta.org>
999
1000 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1001 attributes for M-n are pulled from the file at point.
1002 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1003 Suggested by Drew Adams. (Bug#10624)
1004
32fb8162
DG
10052012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1006
1007 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1008 whitespace after "end".
1009 (ruby-do-end-to-brace): Collapse block to one line if it fits
1010 within fill-column.
1011
37ab5092
MR
10122012-09-18 Martin Rudalics <rudalics@gmx.at>
1013
1014 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1015 value.
1016 (debug): Don't remove debugger window when debugger is expected
1017 to be back.
1018
ed1f0bd3
CY
10192012-09-18 Chong Yidong <cyd@gnu.org>
1020
1021 * custom.el (defface): Doc fix.
1022
1023 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1024
a11035b8
MB
10252012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1026
1027 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1028 to initialize query-on-exit; then test that instead (bug#12288).
1029
64f6a736
SM
10302012-09-17 Stefan Merten <smerten@oekonux.de>
1031
70efc5c9 1032 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1033 (rst-defcustom-testcover, rst-testcover-add-compose)
1034 (rst-testcover-add-1value): New functions.
1035 (rst-portable-mark-active-p): Replace by `use-region-p'.
1036 (rst-update-section, rst-classify-adornment)
1037 (rst-find-title-line): Mark `1value' forms.
1038 (rst-classify-adornment): Remove superfluous form.
1039 (rst-update-section, rst-get-adornments-around)
1040 (rst-adornment-complete-p, rst-get-next-adornment)
1041 (rst-adjust, rst-promote-region)
1042 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1043 (rst-find-pfx-in-region, rst-section-tree-rec)
1044 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1045 (rst-toc-node, rst-toc, rst-forward-section)
1046 (rst-iterate-leftmost-paragraphs)
1047 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1048 (rst-bullet-list-region)
1049 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1050 (rst-compile-find-conf, rst-compile)
1051 (rst-repeat-last-character): Fix style.
1052
580bd868
CY
10532012-09-17 Chong Yidong <cyd@gnu.org>
1054
1055 * comint.el (comint--complete-file-name-data): Don't add a space
1056 if the status is `sole'; that adds a gratuitous space in the
1057 completion-cycling case (Bug#12092).
1058
1059 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1060
69de3ec6
RS
10612012-09-17 Richard Stallman <rms@gnu.org>
1062
0dee970c
RS
1063 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1064 only in the mime-shown mode, not in raw mode.
1065 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1066 mime processing. (Bug#12305)
0dee970c 1067
6b250df6
GM
1068 * mail/rmail.el (rmail-retry-failure):
1069 Turn off mime processing first. (Bug#12037)
acb1c47b 1070
69de3ec6
RS
1071 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1072
d079ee5f
CY
10732012-09-17 Chong Yidong <cyd@gnu.org>
1074
1075 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1076 (shell-dynamic-complete-functions): Convert to defcustom.
1077 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1078
865fe16f
CY
1079 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1080 * comint.el (comint-prompt-read-only):
1081 * custom.el (defcustom):
1082 * hi-lock.el (hi-lock-mode):
1083 * ibuffer.el (ibuffer-formats):
1084 * ielm.el (ielm-prompt-read-only):
1085 * novice.el (disable-command):
1086 * saveplace.el (toggle-save-place):
1087 * speedbar.el (speedbar-supported-extension-expressions):
1088 * startup.el (auto-save-list-file-prefix, init-file-user)
1089 (after-init-hook, inhibit-startup-echo-area-message):
1090 * strokes.el (strokes-help):
1091 * time-stamp.el (time-stamp):
1092 * calendar/calendar.el (calendar, diary-file):
1093 * calendar/diary-lib.el (diary-mail-entries, diary)
1094 (diary-list-entries-hook):
1095 * calendar/holidays.el (holidays, calendar-holidays):
1096 * calendar/lunar.el (lunar-phases):
1097 * calendar/solar.el (sunrise-sunset):
1098 * emulation/edt.el (edt-load-keys):
1099 * emulation/viper.el (viper-mode):
1100 * eshell/em-alias.el (eshell-command-aliases-list):
1101 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1102 * international/ogonek.el (ogonek-information):
1103 * net/tramp-cmds.el (tramp-bug):
1104 * net/quickurl.el (quickurl-reread-hook-postfix):
1105 * play/decipher.el (decipher-font-lock-keywords):
1106 * progmodes/cc-styles.el (c-set-style):
1107 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1108 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1109 * progmodes/octave-mod.el (octave-mode):
1110 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1111 * progmodes/verilog-mode.el (verilog-read-defines):
1112 * textmodes/two-column.el (2C-mode): Likewise.
1113
48093eb9
KY
11142012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1115
1116 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1117 that holds many addresses.
1118
c584eaf9
CY
11192012-09-16 Chong Yidong <cyd@gnu.org>
1120
40d70ecb
CY
1121 * align.el (align-areas): Call the indication function with
1122 positions instead of markers for arguments (Bug#12343).
1123
1667e065
CY
1124 * files.el (parse-colon-path): Use split-string (Bug#12351).
1125
fdc2806d 1126 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1127 (display-buffer-function): Mark as obsolete.
fdc2806d 1128
f1be615c 1129 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1130 values similar to font-lock-keywords (Bug#12136).
1131 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1132 (compilation-error-regexp-alist): Doc fix.
1133
f40a9709
GM
11342012-09-15 Glenn Morris <rgm@gnu.org>
1135
72aa16e1
GM
1136 * version.el (emacs-bzr-version-bzr): New function.
1137 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1138
82375160
GM
1139 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1140 checkouts, check the parent dirstate matches the branch.
1141 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1142 empty string.
1143
f40a9709
GM
1144 * version.el (emacs-bzr-version): Doc fix.
1145 (emacs-bzr-version-dirstate): New function.
1146 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1147 is local try and check that it matches the branch. If not, just
1148 use dirstate information. (Bug#12441)
1149
cb26b7f5
JL
11502012-09-14 Juri Linkov <juri@jurta.org>
1151
1152 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1153 (Bug#12399)
1154
2de39f08
SM
11552012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1156
0fb3cb7c
SM
1157 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1158
2de39f08
SM
1159 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1160 Remove obsolete byte-compiler hack that tried to silence some warnings.
1161 (edebug-submit-bug-report): Remove.
1162 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1163 Remove aliases, use the un-prefixed name instead.
1164 (edebug-pop-to-buffer): Consider other frames.
1165 (edebug-original-read):: Make it more obvious that it's always defined.
1166 (edebug--make-form-data-entry, edebug--form-data-name)
1167 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1168 single-dashed name, and implement with cl-defstruct.
1169 (edebug-set-form-data-entry): Use the standard accessors.
1170 (edebug-make-top-form-data-entry): Use push.
1171 (edebug-no-match): Drop useless `funcall'.
1172 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1173 to functions.
1174 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1175 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1176 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1177 (easy-menu-define, with-custom-print): Remove redundant specs.
1178 (edebug-outside-overriding-local-map)
1179 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1180 (edebug--display): Bind unread-command-events directly to nil rather
1181 than binding it to unread-command-events and later setting it to nil.
1182 (edebug--display): Kill edebug-eval-buffer here...
1183 (edebug--recursive-edit): ...rather than here.
1184 Bind standard-output and standard-input.
1185 (edebug-eval): Check cl-macroexpand-all is fboundp.
1186 (edebug-temp-display-freq-count): Fix last change.
1187
1188 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1189 * subr.el (noreturn, 1value): Add `debug' spec.
1190 * emacs-lisp/advice.el: Require cl-lib.
1191 (ad-copy-tree): Remove, use copy-tree instead.
1192 (ad-dolist): Remove use dolist or cl-dolist instead.
1193 (ad-do-return): Remove, use cl-return instead.
1194 (defadvice): Add `debug' spec.
1195
5b68b333
JL
11962012-09-13 Juri Linkov <juri@jurta.org>
1197
1198 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1199 (Bug#12399)
1200
b9800ec4
GM
12012012-09-13 Glenn Morris <rgm@gnu.org>
1202
6a2e6868
GM
1203 * calc/calc.el (math-compose-expr):
1204 * calc/calc-ext.el (math-compose-expr):
1205 * progmodes/cc-defs.el (cl-macroexpand-all):
1206 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1207 (cl-macroexpand-all): Update declarations.
1208
b9800ec4
GM
1209 * vc/vc.el: No need to require ediff.
1210 (ediff-load-version-control): Declare.
1211 (ediff-vc-internal): Fix declaration.
1212 (vc-version-ediff): Require ediff.
1213
c18e885b
PE
12142012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1215
1216 Use a more backwards-compatible timer format (Bug#12430).
1217 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1218 being right after USECS, as that better supports old code that
1219 inadvisedly looked directly at the timer vector.
1220
d607d303
KH
12212012-09-13 Kenichi Handa <handa@gnu.org>
1222
1223 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1224 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1225 `coding-priority' property of these language environment.
1226
72eac303
PE
12272012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1228
1229 Fix glitches caused by addition of psec to timers (Bug#12430).
1230 * image.el (image-animate-timer):
1231 * time.el (display-time-world-timer):
1232 Use timer--function and timer--args rather than raw access to
1233 timer vector.
1234
2168fe4f
GM
12352012-09-13 Glenn Morris <rgm@gnu.org>
1236
1237 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1238 If not compiling a file, try using load-file-name.
1239
bd8d6108
SM
12402012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1241
c0c54fbd
SM
1242 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1243 Fix last change.
1244 (edebug-update-eval-list): Use `push'.
1245
bd8d6108
SM
1246 * emacs-lisp/edebug.el: Use lexical-binding.
1247 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1248 Mark unused args with underscore.
1249 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1250 (edebug-form-data): Use defvar-local.
1251 (edebug-make-before-and-after-form, edebug-make-after-form):
1252 Use backquote.
1253 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1254 Not dynamically scoped any more.
1255 (edebug--enter-trace): Add arguments `function' and `args'.
1256 Rename from edebug-enter-trace.
1257 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1258 (edebug--update-coverage): Add `after-index' and `value' args.
1259 Rename from edebug-update-coverage.
1260 (edebug-slow-after): Call it accordingly.
1261 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1262 edebug-recursive-edit.
1263 (edebug--display): Call it accordingly. Add args `value',
1264 `offset-index', and `arg-mode'. Rename from edebug-display.
1265 (edebug-debugger, edebug): Call it accordingly.
1266 (edebug-eval-display-list): Use dolist.
1267
a9f9d9de
JL
12682012-09-12 Juri Linkov <juri@jurta.org>
1269
1270 * info.el (Info-search): Don't check for isearch-mode and
1271 isearch-regexp before let-binding search-spaces-regexp to
1272 Info-search-whitespace-regexp.
1273 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1274 search-whitespace-regexp if isearch-lax-whitespace or
1275 isearch-regexp-lax-whitespace is non-nil.
1276 (Info-mode): Don't set local variable search-whitespace-regexp.
1277 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1278
bfeae2cf
SM
12792012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1282 (debugger-env-macro): Remove support for unread-command-char.
1283
1284 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1285 the temporary map re-appearing on emulation-mode-map-alists.
1286
1287 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1288 since 22.1.
1289
1290 * ehelp.el (with-electric-help): Accept functions in
1291 electric-help-form-to-execute.
1292 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1293 And replace unread-command-char -> unread-command-events.
1294
fbbcaf1b
MA
12952012-09-12 Michael Albinus <michael.albinus@gmx.de>
1296
1297 Sync with Tramp 2.2.6.
1298
1299 * net/tramp.el (tramp-accept-process-output): Don't use
1300 JUST-THIS-ONE in the XEmacs case.
1301
1302 * net/trampver.el: Update release number.
1303
4dece104
MR
13042012-09-12 Martin Rudalics <rudalics@gmx.at>
1305
bfeae2cf
SM
1306 * emacs-lisp/debug.el (debugger-previous-window-height):
1307 New variable.
4dece104
MR
1308 (debug): When debugger-jumping-flag is non-nil try to restore
1309 height of debugger window. (Bug#8789)
1310
45b82ad0
SM
13112012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1312
60c49c0f
SM
1313 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1314 overriding-local-map and pre/post-command-hook here.
1315 (edebug-recursive-edit): Do it here instead (bug#12345).
1316 (edebug-outside-unread-command-char): Remove all uses of
1317 unread-command-char.
1318
45b82ad0
SM
1319 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1320 inhibit-debugger is bound instead.
1321
baa26ea0
BG
13222012-09-11 Bastien Guerry <bzg@gnu.org>
1323
1324 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1325 (Bug#12346)
baa26ea0 1326
04e8abfa
BG
13272012-09-11 Bastien Guerry <bzg@gnu.org>
1328
96d03571 1329 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1330 (Bug#12347)
96d03571
BG
1331
13322012-09-11 Bastien Guerry <bzg@gnu.org>
1333
fc0c31f8 1334 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1335
04e082b0
MM
13362012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1337
1338 * progmodes/sql.el: Version 3.1
1339 (sql-db2-escape-newlines): New variable.
1340 (sql-escape-newlines-filter): Use it.
1341
399a361b
JB
13422012-09-10 Juanma Barranquero <lekktu@gmail.com>
1343
1344 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1345
0780c517
DN
13462012-09-10 Dan Nicolaescu <dann@gnu.org>
1347
45b82ad0
SM
1348 * vc/diff-mode.el (diff-mode-menu):
1349 Bind diff-remove-trailing-whitespace.
0780c517 1350
9b851e25
SM
13512012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1354 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1355 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1356 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1357 (eval-defun-2): Remove bogus interactive spec.
1358 (lisp-indent-line): Remove redundant whole-exp code, now done in
1359 indent-according-to-mode.
1360 (save-match-data): Remove redundant indent data.
1361
1362 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1363 Use `declare'.
1364
3231d532
JL
13652012-09-09 Juri Linkov <juri@jurta.org>
1366
1367 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1368 (replace-lax-whitespace, query-replace-regexp)
1369 (query-replace-regexp-eval, replace-regexp): Doc fix.
1370 (perform-replace, replace-highlight): Let-bind
1371 isearch-lax-whitespace to replace-lax-whitespace and
1372 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1373
1374 * isearch.el (isearch-query-replace): Let-bind
1375 replace-lax-whitespace to isearch-lax-whitespace and
1376 replace-regexp-lax-whitespace to
1377 isearch-regexp-lax-whitespace. (Bug#10885)
1378
70fe8236
SM
13792012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1382
8ed43f15
AM
13832012-09-09 Alan Mackenzie <acm@muc.de>
1384
70fe8236
SM
1385 * progmodes/cc-engine.el (c-state-cache-init):
1386 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1387 (c-record-parse-state-state):
1388 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1389
bfabf70a
AS
13902012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1391
1392 * register.el (register-separator): Rename from
1393 separator-register. All uses changed. Doc fix.
1394 (register): Fix version.
1395
011474aa
CY
13962012-09-09 Chong Yidong <cyd@gnu.org>
1397
1398 * replace.el (query-replace-map): Bind four new symbols for
1399 requesting window scrolling.
1400
1401 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1402 query-replace-map (Bug#8948).
1403
1404 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1405
1406 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1407 since they are now in query-replace-map.
1408
1409 * window.el (scroll-other-window-down): Make the arg optional.
1410
a8b7cd8d
CY
14112012-09-09 Chong Yidong <cyd@gnu.org>
1412
1413 * files.el (hack-local-variables-confirm): Use quit-window to kill
1414 the *Local Variables* buffer.
1415
c3268831
DG
14162012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1417
1418 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1419 not just expect to be at its beginning. Adjust callees.
1420 Succeed when do-end block has no space before the pipe character.
1421 (ruby-brace-to-do-end): When the original block is one-liner,
1422 convert to multiline. Reindent the result.
1423
0979429b
J
14242012-09-08 Jambunathan K <kjambunathan@gmail.com>
1425
1426 * register.el (register): New group.
1427 (register-separator): New user option.
1428 (increment-register): Route it to `append-to-register', if
1429 register contains text. Implication is that `C-x r +' can now be
1430 used for appending to a text register (bug#12217).
1431 (append-to-register, prepend-to-register): Add separator based on
1432 `register-separator.
1433
ace2989a
AM
14342012-09-08 Alan Mackenzie <acm@muc.de>
1435
1436 AWK Mode: make auto-newline work when there's "==" in the pattern.
1437 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1438 correctly.
0979429b
J
1439 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1440 Test more rigorously for "=" token.
ace2989a 1441
616c6c36
DG
14422012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1443
0979429b
J
1444 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1445 Only fail when reached LIMIT.
616c6c36 1446
35d98877
CY
14472012-09-08 Chong Yidong <cyd@gnu.org>
1448
1449 * dired.el (dired-mode-map): Don't bind M-=.
1450
1451 * dired-aux.el (dired-diff): Use backup file as default.
1452
1715f2db
DA
14532012-09-08 Drew Adams <drew.adams@oracle.com>
1454
1455 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1456
6dcef6ec
CY
14572012-09-08 Chong Yidong <cyd@gnu.org>
1458
1459 * subr.el (syntax-after, syntax-class): Doc fix.
1460
fa2bcf43
MR
14612012-09-08 Martin Rudalics <rudalics@gmx.at>
1462
1463 * window.el (display-buffer-in-previous-window): New buffer
1464 display action function.
1465
1466 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1467 (debugger-previous-window): New variable.
1468 (debug): Rewrite using display-buffer-in-previous-window,
1469 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1470
daac280a
SM
14712012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1474
9dd40b00
MM
14752012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1476
daac280a
SM
1477 * progmodes/python.el (python-shell-send-string):
1478 When default-directory is remote, create temp file on remote
9dd40b00
MM
1479 filesystem.
1480 (python-shell-send-file): When file is remote, pass local view of
1481 file paths to remote Python interpreter. (Bug#12340)
1482
145823ec
CY
14832012-09-07 Chong Yidong <cyd@gnu.org>
1484
cee2e90d
CY
1485 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1486
0d7eb2ea
CY
1487 * files.el (after-find-file): Don't fail on a read-only buffer if
1488 require-final-newline is `visit' or `visit-save' (Bug#11156).
1489
145823ec
CY
1490 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1491
daac280a
SM
1492 * userlock.el (ask-user-about-supersession-threat):
1493 Use read-char-choice (Bug#12093).
145823ec 1494
74c582e6
CY
14952012-09-07 Chong Yidong <cyd@gnu.org>
1496
e5c2edf7
CY
1497 * subr.el (buffer-narrowed-p): New function.
1498
1499 * ses.el (ses-widen):
1500 * simple.el (count-words--buffer-message):
1501 * net/browse-url.el (browse-url-of-buffer): Use it
1502
1503 * simple.el (count-words-region): Don't signal an error if there
1504 is a non-nil prefix arg and the mark is not set.
c640e87d 1505
74c582e6
CY
1506 * help.el (describe-key-briefly): Allow the message to be seen
1507 when invoked from the minibuffer (Bug#7014).
1508
d81ceaaf
DG
15092012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1510
1511 * progmodes/ruby-mode.el (ruby-end-of-defun)
1512 (ruby-beginning-of-defun): Simplify, allow indentation before
1513 block beginning and end keywords.
8f06acce
DG
1514 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1515 (ruby-end-of-defun): Expect that the point is at the beginning of
1516 the defun.
d81ceaaf 1517
d458ef98
SM
15182012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1521 (bug#12367).
1522 (cl--make-usage-args): Strip _ from argument names.
1523
20367d28
RS
15242012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1525
1526 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1527 obsolete alias speedbar-key-map.
1528 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1529 (vhdl-index-menu-init): Don't use obsolete variable
1530 font-lock-maximum-size.
1531
3424a4f6
CY
15322012-09-06 Chong Yidong <cyd@gnu.org>
1533
1534 * frame.el (window-system-version): Mark as obsolete.
1535
fcbfbdea
CY
1536 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1537 of obsolete variable speedbar-key-map.
1538
826b3235
JL
15392012-09-06 Juri Linkov <juri@jurta.org>
1540
1541 * replace.el (replace-lax-whitespace): New defcustom.
1542 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1543 (replace-string, replace-regexp): Mention it in docstrings.
1544 (perform-replace, replace-highlight): Let-bind
1545 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1546 to the values of replace-lax-whitespace and regexp-flag.
1547 Don't let-bind search-whitespace-regexp. (Bug#10885)
1548
1549 * isearch.el (isearch-query-replace): Let-bind
1550 replace-lax-whitespace instead of let-binding
1551 replace-search-function and replace-re-search-function.
1552 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1553 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1554 (isearch-toggle-symbol): Set isearch-regexp to nil
1555 in isearch-word mode (like in isearch-toggle-word).
1556
1ec5e41d
JL
15572012-09-06 Juri Linkov <juri@jurta.org>
1558
1559 * replace.el (replace-search-function)
1560 (replace-re-search-function): Set default values to nil.
1561 (perform-replace): Let-bind isearch-related variables based on
1562 replace-related values, call `isearch-search-fun' and let-bind
1563 the result to `search-function'. Remove code that sets
1564 `search-function' and `search-string' separately for
1565 `delimited-flag'.
1566 (replace-highlight): Add new argument `delimited-flag' and
1567 rename other arguments to the names used in `perform-replace'.
1568 Let-bind `isearch-word' to the argument `delimited-flag'.
1569 (Bug#10885, bug#10887)
1570
0ba2d4b6
DG
15712012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1572
1573 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1574 ruby-beginning-of-indent, simplify, allow all keywords to have
1575 indentation before them.
1576 (ruby-beginning-of-indent): Adjust for above. Search until the
1577 found point is not inside a string or comment.
1578 (ruby-font-lock-keywords): Allow symbols to start with "@"
1579 character, give them higher priority than variables.
1580 (ruby-syntax-propertize-function)
1581 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1582 matchers. Expression expansions are not comments when inside a
1583 string, and there comment syntax status is irrelevant.
1584 (ruby-match-expression-expansion): New function. Check that
1585 expression expansion is inside a string, and it's not escaped.
1586 (ruby-font-lock-keywords): Use it.
1587
ef654460
MR
15882012-09-05 Martin Rudalics <rudalics@gmx.at>
1589
1590 * help.el (temp-buffer-max-height): New default value.
1591 (temp-buffer-resize-frames): New option.
1592 (resize-temp-buffer-window): Optionally resize frame.
1593
1594 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1595 (fit-frame-to-buffer): New function.
1596
7e570fbf 15972012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1598
1599 * emulation/cua-rect.el (cua--init-rectangles):
1600 * textmodes/picture.el (picture-mode-map):
1601 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1602 like forward-char and backward-char. (Bug#12317)
1603
7e570fbf 16042012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1605
1606 * progmodes/flymake.el (flymake-warning-re): New variable.
1607 (flymake-parse-line): Use it.
1608
7e570fbf 16092012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1610
1611 * calendar/holidays.el (holiday-christian-holidays):
1612 Rename an entry. (Bug#12289)
1613
7e570fbf 16142012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1615
1616 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1617 (bug#12222).
1618
972debf2
SM
16192012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1620
1621 * loadup.el: Load macroexp. Remove hack.
1622 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1623 (macroexp--expand-all): Use it to get better warnings.
1624 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1625 (internal-macroexpand-for-load): New functions.
1626 (macroexp--pending-eager-loads): New var.
1627 (emacs-startup-hook): New hack to replace one in loadup.el.
1628 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1629 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1630 (cl-psetf): Simplify.
1631 (cl-defstruct): Add indent rule.
1632
8ce192e3
LI
16332012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1634
1635 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1636 over `user-mail-address' for the SMTP MAIL FROM envelope.
1637 (smtpmail-via-smtp): Ditto.
1638
6578b4d8
DG
16392012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1640
1641 * progmodes/ruby-mode.el: Clean up keybindings.
1642 (ruby-mode-map): Don't bind ruby-electric-brace,
1643 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1644 backward-kill-word, reindent-then-newline-and-indent.
1645 (ruby-mark-defun): Remove.
1646 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1647 (ruby-mode): Set local beginning-of-defun-function and
1648 end-of-defun-function values.
1649
c5e28e39
MR
16502012-09-03 Martin Rudalics <rudalics@gmx.at>
1651
1652 * window.el (temp-buffer-window-setup-hook)
1653 (temp-buffer-window-show-hook): New hooks.
1654 (temp-buffer-window-setup, temp-buffer-window-show)
1655 (with-temp-buffer-window): New functions.
972debf2
SM
1656 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1657 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1658
1659 * help.el (temp-buffer-resize-mode): Fix doc-string.
1660 (resize-temp-buffer-window): New optional argument WINDOW.
1661
1662 * files.el (recover-file, save-buffers-kill-emacs):
1663 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1664
73406194
MA
16652012-09-02 Michael Albinus <michael.albinus@gmx.de>
1666
1667 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1668 remote definition of `default-directory', ensure we can connect.
1669
63dd1c6f
JL
16702012-09-02 Juri Linkov <juri@jurta.org>
1671
1672 Toggle whitespace matching mode with M-s SPC.
1673 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1674
1675 * isearch.el (search-whitespace-regexp): Doc fix.
1676 Remove cons cell customization.
1677 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1678 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1679 New variables.
1680 (isearch-forward, isearch-forward-regexp): Doc fix.
1681 (isearch-toggle-lax-whitespace): New command.
1682 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1683 (re-search-forward-lax-whitespace)
1684 (re-search-backward-lax-whitespace): New functions.
1685 (isearch-whitespace-regexp): Remove function.
1686 (isearch-query-replace): Let-bind replace-search-function and
1687 replace-re-search-function.
1688 (isearch-occur): Let-bind search-spaces-regexp according to the
1689 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1690 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1691 condition for C-q SPC.
1692 (isearch-search-fun-default): Use new functions mentioned above.
1693 (isearch-search-forward, isearch-search-backward): Remove functions.
1694 (isearch-search): Don't let-bind search-spaces-regexp.
1695 (isearch-lazy-highlight-space-regexp): Remove variable.
1696 (isearch-lazy-highlight-lax-whitespace)
1697 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1698 (isearch-lazy-highlight-new-loop): Use them.
1699 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1700
af7dda05
CY
17012012-09-02 Chong Yidong <cyd@gnu.org>
1702
1703 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1704
d67d3afd
GM
17052012-09-02 Glenn Morris <rgm@gnu.org>
1706
1707 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1708
69678719
GM
17092012-09-01 Glenn Morris <rgm@gnu.org>
1710
1711 * term.el: Tidy up menu definitions.
1712 (term-mode-map): Use easymenu for In/Out, Complete menus.
1713 (term-pager-break-map): Initialize in the defvar.
1714 (term-terminal-menu, term-signals-menu): Define with easymenu.
1715 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1716 (term-pager-menu): New, extracted from term-process-pager.
1717 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1718 (term-update-mode-line): Propertize line/char and page items.
1719 (term-process-pager): Move keymap initialization elsewhere.
1720
78dd6ab1
MR
17212012-09-01 Martin Rudalics <rudalics@gmx.at>
1722
1723 * window.el (switch-to-prev-buffer): Handle additional values of
1724 BURY-OR-KILL argument. Don't switch in minibuffer window.
1725 (switch-to-next-buffer): Don't switch in minibuffer window.
1726 (quit-restore-window): New function based on quit-window.
1727 Handle additional values of former KILL argument.
1728 (quit-window): Call quit-restore-window with appropriate
1729 interpretation of KILL argument.
1730 (display-buffer-below-selected): New buffer display action
1731 function.
1732
3d10e134
SM
17332012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1734
1735 * minibuffer.el (completion-at-point-functions): Complete docstring
1736 (bug#12254).
1737
0e23ef9d
PE
17382012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1739
1740 Better seed support for (random).
1741 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1742 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1743 * play/mpuz.el, play/tetris.el, play/zone.el:
1744 * calc/calc-comb.el (math-init-random-base):
1745 * play/blackbox.el (bb-init-board):
1746 * play/life.el (life):
1747 * server.el (server-use-tcp):
1748 * type-break.el (type-break):
1749 Remove unnecessary call to (random t).
1750 * net/sasl.el (sasl-unique-id-function):
1751 Change (random t) to (random), now that the latter is more random.
1752 * play/life.el (life-initialized): Remove no-longer-needed var.
1753
862382df
MR
17542012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1755
1756 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1757 Consider frame's buffer predicate when choosing the buffer.
1758 (Bug#12081)
1759
262a66e1
RS
17602012-08-30 Richard Stallman <rms@gnu.org>
1761
1762 * simple.el (special-mode-map): Delete binding for `z'.
1763
f17e1d00
AS
17642012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1765
1766 * progmodes/compile.el (compilation-always-kill): Doc fix.
1767
24777832
CY
17682012-08-30 Chong Yidong <cyd@gnu.org>
1769
1770 * window.el (display-buffer-reuse-frames): Make the obsolescence
1771 message more informative.
1772
69ba1f04
GM
17732012-08-30 Glenn Morris <rgm@gnu.org>
1774
1775 * paren.el (show-paren-delay):
1776 Add a :set function. Doc fix. (Bug#12297)
1777
f0019ede
MB
17782012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1779
1780 * progmodes/compile.el (compilation-always-kill): New var.
1781 (compilation-start): Use it.
1782
35e62fc9
SM
17832012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1784
af070a1c
SM
1785 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1786 * files.el (read-only-mode): Move to simple.el.
1787
35e62fc9
SM
1788 * files.el (read-only-mode): New minor mode.
1789 (toggle-read-only): Use it and mark obsolete.
1790 (find-file--read-only):
1791 * vc/vc.el (vc-next-action, vc-checkout):
1792 * vc/vc-cvs.el (vc-cvs-checkout):
1793 * obsolete/vc-mcvs.el (vc-mcvs-update):
1794 * ffap.el (ffap--toggle-read-only): Update callers.
1795
c2c43c23
MA
17962012-08-29 Michael Albinus <michael.albinus@gmx.de>
1797
1798 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1799 remote shell scripts.
1800 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1801
1802 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1803 "/usr/local/sbin".
1804
9fba804b
SM
18052012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1808
eada0861 18092012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1810
806f0cc7
LL
1811 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1812 completion-at-point. (Bug#12220)
1813
3bb213b9
LL
1814 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1815
22ab32ef
LL
1816 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1817
eada0861 18182012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1819
19c17fc1
CY
1820 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1821 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1822
eada0861 18232012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1824
1825 * progmodes/hideif.el (hif-compress-define-list):
1826 Fix typo. (Bug#11951)
1827
eada0861 18282012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1829
1830 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1831 buffer local setting.
1832
27d6c5a8
LL
1833 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1834 rcirc-encode-coding-system.
1835
eada0861 18362012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1837
1838 * net/rcirc.el (rcirc-split-message): New function.
1839 (rcirc-send-message): Use it. (Bug#12051)
1840
d44688e4
JL
18412012-08-28 Juri Linkov <juri@jurta.org>
1842
1843 * info.el (Info-fontify-node): Hide empty lines at the end of
1844 the node. (Bug#12272)
1845
34f10d41
MR
18462012-08-27 Drew Adams <drew.adams@oracle.com>
1847
1848 * dired.el (dired-pop-to-buffer): Make window start at beginning
1849 of buffer (Bug#12281).
1850
77f1f99c
CY
18512012-08-26 Chong Yidong <cyd@gnu.org>
1852
1853 * window.el (special-display-regexps, special-display-frame-alist)
1854 (special-display-buffer-names, special-display-function)
1855 (display-buffer-reuse-frames): Mark as obsolete.
1856
1857 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1858
1859 * help.el (help-print-return-message): Don't treat
1860 display-buffer-reuse-frames specially.
1861
d97af5a0
CY
18622012-08-26 Chong Yidong <cyd@gnu.org>
1863
9fba804b
SM
1864 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1865 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1866 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1867 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1868 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1869 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1870 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1871 the functions directly with gdb-display-buffer-other-frame-action.
1872 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1873 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1874 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1875 (gdb-display-registers-buffer): Define directly.
1876 (def-gdb-display-buffer): Macro deleted.
1877 (gdb-display-buffer): Remove second and third args, callers don't
1878 use them. Defer to the default display-buffer behavior, apart
1879 from making windows dedicated.
1880 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1881
1882 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1883
1884 * window.el (display-buffer-pop-up-frame): Handle a
1885 pop-up-frame-parameters alist entry.
1886 (display-buffer): Document it.
1887
dd7ffad6
CY
18882012-08-26 Chong Yidong <cyd@gnu.org>
1889
1890 * isearch.el (search-whitespace-regexp): Make string and nil
1891 values apply to both ordinary and regexp search. Allow a cons
1892 cell value to distinguish between the two.
1893 (isearch-whitespace-regexp, isearch-search-forward)
1894 (isearch-search-backward): New functions.
1895 (isearch-occur, isearch-search-fun-default, isearch-search)
1896 (isearch-lazy-highlight-new-loop): Use them.
1897 (isearch-forward, isearch-forward-regexp): Doc fix.
1898
4c47bd1e
CY
18992012-08-26 Chong Yidong <cyd@gnu.org>
1900
1901 * faces.el (help-argument-name): Always inherit from italic
1902 (Bug#12213).
1903
9aba119d
MR
19042012-08-25 Martin Rudalics <rudalics@gmx.at>
1905
1906 * window.el (window--even-window-heights): Even heights when
1907 WINDOW and the selected window form a vertical combination.
1908 (display-buffer-use-some-window): Provide that window used gets
1909 sized back by quit-window. (Bug#11880) and (Bug#12091)
1910
ca5256ad
PE
19112012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1912
1913 Fix file time stamp problem with bzr and CVS (Bug#12001).
1914 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1915 in the file's time stamp, since the version control system loses
1916 that information.
1917
d1c0d176
JL
19182012-08-22 Juri Linkov <juri@jurta.org>
1919
1920 * info.el (Info-fontify-node): Hide the suffix of the
1921 Info file name in the header line. (Bug#12187)
1922
141562ff
GM
19232012-08-22 Glenn Morris <rgm@gnu.org>
1924
1925 * calendar/cal-tex.el (cal-tex-weekly-common):
1926 Restore leading blank page.
1927
61a48e19 19282012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1929
1930 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1931 the region under `shift-select-mode'. (Bug#12231)
1932
19332012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1934
1935 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1936 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1937 gives details on why the space is never needed.
1938
ea95074e
MR
19392012-08-22 Martin Rudalics <rudalics@gmx.at>
1940
9fba804b
SM
1941 * window.el (walk-window-tree, window-with-parameter):
1942 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1943 should run on the minibuffer window.
1944 (window-at-side-list): Don't operate on minibuffer window.
1945 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1946 (window--size-ignore): Rename to window--size-ignore-p.
1947 Update callers.
caceae25
MR
1948 (display-buffer-in-atom-window, window--major-non-side-window)
1949 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1950 (delete-side-window, display-buffer-in-side-window):
1951 New functions.
caceae25
MR
1952 (window--side-check, window-deletable-p, delete-window)
1953 (delete-other-windows, split-window): Handle side windows and
1954 atomic windows appropriately.
1955 (window--display-buffer): Call display-buffer-record-window also
1956 when the window buffer did not change.
ea95074e 1957
80a51fa0
CS
19582012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1959
1960 * help-fns.el (help-fns--key-bindings):
1961 Abbreviate non-symbol remap targets. (Bug#12174)
1962
fbb6300b
MR
19632012-08-22 Martin Rudalics <rudalics@gmx.at>
1964
1965 * dired.el (dired-mark-remembered): Don't clobber point.
1966 (Bug#11795)
1967
2b2c0794
GM
19682012-08-22 Glenn Morris <rgm@gnu.org>
1969
1970 * progmodes/bug-reference.el (bug-reference): New custom group.
1971 (bug-reference-bug-regexp): Make it a defcustom.
1972
37219830
DU
19732012-08-22 Daiki Ueno <ueno@unixuser.org>
1974
1975 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1976 (js-paren-indent-offset, js-square-indent-offset)
1977 (js-curly-indent-offset): Add :safe (Bug#12257).
1978
94e0e559
EC
19792012-08-22 Edward O'Connor <hober0@gmail.com>
1980
1981 * json.el (json-key-format): Add error properties.
1982 (json-encode-key): New function.
1983 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1984 Use json-encode-key.
1985
da485f5e
GM
19862012-08-22 Glenn Morris <rgm@gnu.org>
1987
1988 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1989 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1990 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1991 Update for above change.
1992
c6cc78b8
AS
19932012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1994
1995 * cus-face.el (custom-face-attributes): Fix customize type for the
1996 :underline attribute. (Bug#11805)
1997
5481664a
MR
19982012-08-21 Martin Rudalics <rudalics@gmx.at>
1999
2000 * window.el (window-point-1, set-window-point-1): Remove.
2001 (window-in-direction, record-window-buffer)
2002 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2003 (window--state-get-1, display-buffer-record-window):
2004 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2005 window-point and set-window-point respectively.
2006
6d74698e
GM
20072012-08-21 Glenn Morris <rgm@gnu.org>
2008
b7fa2691
GM
2009 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2010 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2011 Use it.
2012
52f56d5a
GM
2013 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2014 (cal-tex-shortday): New function.
2015 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2016 (cal-tex-cursor-filofax-daily): Use the above.
2017
9f1ee09e
GM
2018 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2019 New functions.
2020 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2021 (cal-tex-cursor-filofax-week): Use them.
2022
79858159
GM
2023 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2024 New constants.
2025 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2026 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2027
d346b2b4
GM
2028 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2029 (cal-tex-end-document): Don't rely on buffer name.
2030
b2403709
GM
2031 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2032 Use cal-tex-vspace.
2033 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2034 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2035 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2036 Use cal-tex-arg.
b2403709 2037
1cebb5c0
GM
2038 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2039 (cal-tex-cursor-week, cal-tex-cursor-week2)
2040 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2041 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2042 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2043 (cal-tex-insert-preamble, cal-tex-b-document)
2044 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2045 Improve cal-tex-cmd usage.
2046
c68cd5d4
GM
2047 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2048 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2049 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2050 (cal-tex-weekly-paper): New function.
2051 (cal-tex-cursor-week, cal-tex-cursor-week2)
2052 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2053 (cal-tex-cursor-day): Use it.
2054
9dca4801
GM
2055 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2056 (cal-tex-cursor-filofax-week): Remove leading blank page.
2057
1941e134
GM
2058 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2059 Add autoload cookie. For now at least, don't use color, since
2060 no other cal-tex function does.
2061
6d74698e
GM
2062 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2063 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2064 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2065
64cde199
JL
20662012-08-21 Juri Linkov <juri@jurta.org>
2067
2068 * info.el (Info-file-attributes): New variable.
2069 (info-insert-file-contents): Add file attributes to
2070 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2071 `Info-toc-nodes' when previous modtime of the Info file is less
2072 than new modtime.
2073 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2074 of info.el. (Bug#12230)
2075
32757648
GM
20762012-08-20 Glenn Morris <rgm@gnu.org>
2077
2078 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2079 * calendar/holidays.el (calendar-holiday-list):
2080 Report errors with display-warning rather than beep'n'sleep.
2081
a32fbbcf
MA
20822012-08-20 Michael Albinus <michael.albinus@gmx.de>
2083
2084 * net/tramp.el (tramp-accept-process-output): Accept only output
2085 from PROC. Otherwise, process filters and sentinels might be
2086 confused. (Bug#12145)
2087
a05731a0
CY
20882012-08-20 Chong Yidong <cyd@gnu.org>
2089
2090 * descr-text.el (describe-text-properties-1): Use overlays-in to
2091 report on empty overlays (Bug#3322).
2092
36e8d1eb
GM
20932012-08-20 Glenn Morris <rgm@gnu.org>
2094
3d300447
GM
2095 * mail/rmailout.el (rmail-output-read-file-name):
2096 Trap and report errors in rmail-output-file-alist elements.
2097
36e8d1eb
GM
2098 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2099 since most non-font-lock faces are not also variables).
2100
b96e5814
ER
21012012-08-20 Edward Reingold <reingold@iit.edu>
2102
2103 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2104 New function. (Bug12160)
2105
7cef3569
GM
21062012-08-19 Glenn Morris <rgm@gnu.org>
2107
2108 * mail/rmailout.el (rmail-output-read-file-name):
2109 Fix previous change (when the alist is nil or does not match).
2110
17975d7f
CY
21112012-08-19 Chong Yidong <cyd@gnu.org>
2112
2113 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2114 (Bug#12228).
2115
2170b1bd
CY
21162012-08-18 Chong Yidong <cyd@gnu.org>
2117
2118 * simple.el (yank-handled-properties): New defcustom.
2119 (yank-excluded-properties): Add font-lock-face and category.
2120 (yank): Doc fix.
2121
9fba804b
SM
2122 * subr.el (remove-yank-excluded-properties):
2123 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2124 and category is now done this way, instead of being hard-coded.
2125 (insert-for-yank-1): Remove font-lock-face handling.
2126 (yank-handle-font-lock-face-property)
2127 (yank-handle-category-property): New function.
2128
ee218151
GM
21292012-08-17 Glenn Morris <rgm@gnu.org>
2130
2131 * mail/rmailout.el (rmail-output-read-file-name):
2132 Check rmail-output-file-alist against the full message body
2133 in the correct rmail buffer. (Bug#12214)
2134
4a6bc3fd
MA
21352012-08-17 Michael Albinus <michael.albinus@gmx.de>
2136
9fba804b
SM
2137 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2138 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2139
383dcbf9
CY
21402012-08-17 Chong Yidong <cyd@gnu.org>
2141
2142 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2143 font spec, set the font directly (Bug#3228).
2144
998c4a6a
MR
21452012-08-17 Martin Rudalics <rudalics@gmx.at>
2146
2147 * window.el (delete-window): Fix last fix.
2148
52162052
MR
21492012-08-16 Martin Rudalics <rudalics@gmx.at>
2150
2151 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2152 (window-child, window-child-count, window-last-child)
2153 (window-normalize-window, window-combined-p)
2154 (window-combinations, window-atom-root, window-min-size)
2155 (window-sizable, window-sizable-p, window-size-fixed-p)
2156 (window-min-delta, window-max-delta, window--resizable)
2157 (window--resizable-p, window-resizable, window-total-size)
2158 (window-full-height-p, window-full-width-p, window-body-size)
2159 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2160 (minimize-window, window-deletable-p, delete-window)
2161 (delete-other-windows, set-window-buffer-start-and-point)
2162 (next-buffer, previous-buffer, split-window, balance-windows-2)
2163 (set-window-text-height, window-buffer-height)
2164 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2165 (truncated-partial-width-window-p): Minor code adjustments.
2166 In doc-strings state whether the argument window has to denote a
85c2386b 2167 live, valid or any window.
52162052 2168
1c308380
PS
21692012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2170
2171 * progmodes/subword.el (subword-forward-function)
2172 (subword-backward-function, subword-forward-regexp)
2173 (subword-backward-regexp): New variables.
2174 (subword-forward, subword-forward-internal, subword-backward-internal):
2175 Use new variables, eg so that different "word" definitions
2176 can be easily used. (Bug#11411)
2177
94c9ece1
SM
21782012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2181 for composite selectors.
2182 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2183 operation just because we can't find a previous revision.
2184
f2045622
CY
21852012-08-15 Chong Yidong <cyd@gnu.org>
2186
2187 * frame.el (set-frame-font): Accept font objects.
2188
582db660
SM
21892012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2190
2191 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2192
2f29c200
WJ
21932012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2194
456e62c2
WJ
2195 * man.el (Man-overstrike-face, Man-underline-face)
2196 (Man-reverse-face): Remove variables.
2197 (Man-overstrike, Man-underline, Man-reverse): New faces.
2198 (Man-fontify-manpage): Use them instead of the variables.
2199 (Man-cleanup-manpage): Comment change.
2200 (Man-ansi-color-map): New variable.
2201 (Man-fontify-manpage): Use it.
2202 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2203
2f29c200
WJ
2204 Implement ANSI SGR parameters 22-27 (bug#12146).
2205 * ansi-color.el (ansi-colors): Doc fix.
2206 (ansi-color-context, ansi-color-context-region): Doc fix.
2207 (ansi-color--find-face): New function.
2208 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2209 Rename the local variable `face' to `codes' since it is now a list of
2210 ansi codes. Doc fix.
2211 (ansi-color-get-face): Remove.
2212 (ansi-color-parse-sequence): New function, derived from
2213 ansi-color-get-face.
2214 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2215 codes 22-27.
2216
b4f5e9df
SM
22172012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * subr.el (read-passwd): Allow use from a minibuffer.
2220
ba025fbd
EZ
22212012-08-14 Eli Zaretskii <eliz@gnu.org>
2222
2223 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2224 inside comments and strings as identifiers.
2225
2226 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2227 expression to evaluate. This allows to evaluate expressions with
2228 embedded whitespace.
2229 (gud-tooltip-tips): Add a blank before the newline in the
2230 message-box text, for the benefit of message-box emulation on
2231 MS-Windows.
2232
2233 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2234 messages from GDB, pop them up in a tooltip to give feedback to
2235 user.
b4f5e9df
SM
2236 (gdb-tooltip-print-1): Quote the expression to evaluate.
2237 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2238 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2239 if the TTY name is nil or empty (which happens when communicating
2240 with the inferior via pipes, e.g. on MS-Windows).
2241 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2242 don't send that to the GUD buffer.
2243
c548f821
GM
22442012-08-14 Glenn Morris <rgm@gnu.org>
2245
2246 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2247 Optimize away setq-default with no args, as for setq. (Bug#12195)
2248
55802e4a
CY
22492012-08-14 Chong Yidong <cyd@gnu.org>
2250
4abcdac8
CY
2251 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2252
55802e4a
CY
2253 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2254 (Bug#12085).
2255
3c3cda1a
GM
22562012-08-14 Glenn Morris <rgm@gnu.org>
2257
2258 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2259
e1873bd0
MA
22602012-08-14 Michael Albinus <michael.albinus@gmx.de>
2261
2262 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2263 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2264 Use cached shell name.
2265
925411b4
FEG
22662012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2267
2268 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2269 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2270
e636fafe
DG
22712012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2272
2273 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2274 (ruby-percent-literal-beg-re): New constant.
2275 (ruby-syntax-general-delimiters-goto-beg): Rename to
2276 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2277 (ruby-syntax-propertize-general-delimiters): Rename to
2278 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2279 popular term. Adjust comments everywhere.
2280 (ruby-syntax-propertize-percent-literal): Only propertize when not
2281 inside a simple string or comment. When the literal is unclosed,
2282 leave the text after it unpropertized.
f063063a
DG
2283 (ruby-syntax-methods-before-regexp): New constant.
2284 (ruby-syntax-propertize-function): Use it to recognize regexps.
2285 Don't look at the text after regexp, just use the whitelist.
e636fafe 2286
e5b19827
AS
22872012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2288
2289 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2290 non-nil always load the compiled file if it exists. (Bug#12197)
2291
a9f6f311
CY
22922012-08-14 Chong Yidong <cyd@gnu.org>
2293
2294 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2295 (hi-lock-set-pattern): When deciding whether to use font lock or
2296 overlays, look at font-lock-mode instead of font-lock-fontified
2297 (Bug#12168).
2298 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2299 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2300
7d806b1e
DU
23012012-08-14 Daiki Ueno <ueno@unixuser.org>
2302
2303 * subr.el (internal--after-with-selected-window): Fix typo
2304 (Bug#12193).
2305
5beed586
FEG
23062012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2307
2308 Use `completion-table-dynamic' for completion functions.
2309 * progmodes/python.el
2310 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2311 (python-shell-completion--get-completions):
2312 Remove functions.
5beed586
FEG
2313 (python-shell-completion-complete-at-point): New function.
2314 (python-completion-complete-at-point): Use it.
2315
92cb3b04
J
23162012-08-13 Jambunathan K <kjambunathan@gmail.com>
2317
2318 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2319 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2320
89660017
SM
23212012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2322
3c98c962
SM
2323 * subr.el (function-get): Refine `autoload' arg so it can also
2324 autoload functions for gv.el (bug#12191).
2325 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2326 autoloads macros.
2327
aa7c6dbe
SM
2328 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2329 Prefer pcase-let over destructuring-bind.
2330 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2331 Also, remove whitespace as we go, rather than after accumulating the
2332 various places.
2333
89660017
SM
2334 * subr.el (internal--before-with-selected-window)
2335 (internal--after-with-selected-window): Fix typo seleted->selected.
2336 (with-selected-window): Adjust callers.
2337 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2338
31cd32c9
BG
23392012-08-13 Bastien Guerry <bzg@gnu.org>
2340
0fcd3d9f 2341 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2342 enhancement. (Bug#12172)
2343
1b15d8ad
AS
23442012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2345
31e54db0
AS
2346 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2347 type 1-6.
2348 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2349 extended headers.
2350
1b15d8ad
AS
2351 * files.el (hack-local-variables-filter): Remove useless eval.
2352
35cb9c06
MR
23532012-08-13 Martin Rudalics <rudalics@gmx.at>
2354
2355 * subr.el (with-selected-window): Fix last change.
2356
1439443b
SM
23572012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * subr.el (internal--before-with-seleted-window)
2360 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2361 (with-selected-window): Use them, to replace dependency on
2362 tty-top-frame.
1439443b 2363
0d9e2599
NN
23642012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2365
2366 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2367 binding for `newline'.
2368 (ruby-move-to-block): When moving backward, stop at block opening,
2369 not indentation.
2370 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2371 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2372 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2373 `ruby-toggle-block'.
2374
ba10c48c
SM
23752012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * ibuffer.el (ibuffer-do-toggle-read-only):
2378 * dired.el (dired-toggle-read-only):
2379 * buff-menu.el (Buffer-menu-toggle-read-only):
2380 * bindings.el (mode-line-toggle-read-only):
2381 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2382
9229c658
AS
23832012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2384
2385 * descr-text.el (describe-char): Put the overlays over the
2386 "displayed as" character.
2387
0fd09128
JB
23882012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2389
2390 * calc/calc-units.el (math-default-units-table): Give an
2391 initial value.
2392 (math-put-default-units): Add options to put composite units and
2393 unit systems in the default units table.
2394 (calc-convert-units): Send composite units to
2395 `math-put-default-units' when appropriate.
2396
9ff9402d 23972012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2398
fbb5e336
GM
2399 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2400
7aacaf15
GM
2401 * tutorial.el (help-with-tutorial):
2402 * emacs-lisp/copyright.el (copyright-update-directory):
2403 * emacs-lisp/autoload.el (autoload-find-generated-file)
2404 (autoload-find-file): Disable local eval: (for insurance).
2405
f40b9f10
GM
2406 * files.el (hack-local-variables-filter): If an eval: form is not
2407 known to be safe, and enable-local-variables is :safe, then ignore
2408 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2409 This is CVE-2012-3479.
f40b9f10 2410
daa9f1a6
SM
24112012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2414 (rx-form): Simplify.
2415
9cd80478
DG
24162012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2417
0d9e2599
NN
2418 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2419 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2420 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2421 (ruby-syntax-propertize-function): Adjust for changes in
2422 `ruby-syntax-propertize-heredoc'.
2423
24242012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2425
9cd80478
DG
2426 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2427 binding (use `M-;' instead).
9cd80478 2428 (ruby-singleton-class-p): New function.
0d9e2599 2429 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2430
d301b413
SM
24312012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2434
1530c98e
CY
24352012-08-10 Chong Yidong <cyd@gnu.org>
2436
2437 * progmodes/python.el (python-shell-get-process-name): Don't mess
2438 with same-window-buffer-names.
2439
2440 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2441 (eshell-remove-from-window-buffer-names): Make obsolete.
2442 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2443 (eshell): Just use pop-to-buffer-same-window instead.
2444
e1293765
CY
24452012-08-10 Chong Yidong <cyd@gnu.org>
2446
2447 * bindings.el: Bind M-= back to count-words-region.
2448
2449 * simple.el (count-words-region): Accept a prefix arg for acting
2450 on the entire buffer.
2451 (count-words--buffer-message): New helper function.
2452
e1894109
SM
24532012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2456 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2457 (event-start, event-end): Use posn-at-point to return a more
2458 informative posn.
2459 (posnp): New function.
2460 * mouse.el (popup-menu-normalize-position): Use it.
2461
c69f56a2
MY
24622012-08-10 Masatake YAMATO <yamato@redhat.com>
2463
2464 * mouse.el (popup-menu-normalize-position): New function.
2465 (popup-menu): Use `popup-menu-normalize-position' to normalize
2466 the form for POSITION argument.
2467
2468 * term/x-win.el (x-menu-bar-open):
2469 Use the value returend from (posn-at-point) as position
2470 passed to `popup-menu'.
2471
31673780
JB
24722012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2473
2474 * calc/calccomp.el (math-compose-expr): Add extra argument
2475 indicating that parentheses should be put around products in
2476 denominators. Give multiplication precedence over division during
2477 composition.
2478
dab7711b
CY
24792012-08-09 Chong Yidong <cyd@gnu.org>
2480
dee4ef93
CY
2481 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2482 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2483 (Man-untabify-command, manual-program): Convert to defcustom
2484 (Bug#10429).
2485
73e2bbc5
CY
2486 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2487
3e861c8a
CY
2488 * descr-text.el (describe-char): Don't insert extra newlines
2489 (Bug#10127).
2490
a9f5a649
CY
2491 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2492 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2493
dab7711b
CY
2494 * align.el (align-region): Delete temporary markers (Bug#10047).
2495 Plus some code cleanups.
2496
e0cc4efa
FEG
24972012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2498
2499 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2500 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2501 (python-shell-internal-last-output): Use make-local-variable
2502 instead of make-variable-buffer-local.
2503
489af14f
FEG
25042012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2505
2506 * progmodes/python.el: Enhancements to forward-sexp.
2507 (python-nav-forward-sexp): Rename from
2508 python-nav-forward-sexp-function.
c69f56a2
MY
2509 (python-nav--forward-sexp, python-nav--backward-sexp):
2510 New functions.
489af14f 2511
0fc50303
JB
25122012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2513
2514 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2515 modes and simplification modes.
2516
5d65606a
SM
25172012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2518
2519 * delsel.el (delete-selection-pre-hook): Don't propagate the
2520 file-supersession signals (bug#12161).
2521
4250fdf5
SM
25222012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2525 (cl-map-extents): Add compatibility aliases (bug#12135).
2526
d9f9b465
MA
25272012-08-08 Michael Albinus <michael.albinus@gmx.de>
2528
2529 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2530 tests by `ignore-error'.
2531 (tramp-find-shell): Open also a new shell, when cache is already
2532 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2533
ce0fcefa
JL
25342012-08-08 Juri Linkov <juri@jurta.org>
2535
2536 * bookmark.el: Add `defaults' property to the bookmark record.
2537 (bookmark-current-buffer): Doc fix.
2538 (bookmark-make-record): Add `defaults' property with default values
2539 to the bookmark record.
2540 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2541 with `bookmark-insert-current-bookmark'.
2542 (bookmark-set): Get `defaults' property from the bookmark record
2543 and use it in `read-from-minibuffer'.
2544 (bookmark-insert-current-bookmark): Remove function.
2545
2546 * info.el (Info-bookmark-make-record): Add `defaults' property
2547 with values of canonical Info node name, the current Info file
2548 name and the current Info node name. (Bug#12107)
2549
53fa8652
JL
25502012-08-08 Juri Linkov <juri@jurta.org>
2551
2552 * files.el (basic-save-buffer): Use `buffer-name' as the default
2553 of `read-file-name' when buffer is not visiting a file (bug#12128).
2554
242c0a95
JL
25552012-08-08 Juri Linkov <juri@jurta.org>
2556
2557 * info.el (Info-isearch-search): Doc fix.
2558 (Info-search): Change search-failed message from "initial node" to
2559 "end of node" (bug#12078).
2560 (Info-isearch-search): Change `isearch-string-state' to
2561 `isearch--state-string'.
2562
32ac3a6b
GM
25632012-08-08 Glenn Morris <rgm@gnu.org>
2564
2565 * language/persian.el: Remove file.
f8c1afd5 2566 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2567 * loadup.el: Remove language/persian.
2568
2c2d9c9c
OF
25692012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2570
2571 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2572
2d79ec42
FEG
25732012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2574
2575 * progmodes/python.el Fixed defsubst warning.
2576 (python-syntax-context) Rename from python-info-ppss-context.
2577 (python-syntax-context-type): Rename from
2578 python-info-ppss-context-type.
2579 (python-syntax-comment-or-string-p): Rename from
2580 python-info-ppss-comment-or-string-p.
2581
2bd255dd
JB
25822012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2583
2584 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2585
c395097f
AS
25862012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2587
6125983e
AS
2588 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2589 a defcustom that is quoted with backquote.
2590
4250fdf5
SM
2591 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2592 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2593 (math-do-arg-check, math-define-function-body): Use backquote forms.
2594 * calc/calc-ext.el (math-defcache): Likewise.
2595 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2596 * allout.el (allout-new-exposure): Likewise.
2597 * calc/calcalg2.el (math-tracing-integral): Likewise.
2598 * info.el (Info-last-menu-item): Likewise.
2599 * emulation/vip.el (vip-loop): Likewise.
2600 * textmodes/artist.el (artist-funcall): Likewise.
2601 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2602 Construct menu-item directly.
2603
4250fdf5
SM
2604 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2605 Don't declare.
c395097f 2606
5fb50dd3
CY
26072012-08-07 Chong Yidong <cyd@gnu.org>
2608
2609 * simple.el (deactivate-mark): Preserve text properties when
2610 saving the primary selection (Bug#8384).
2611
54eea618
KR
26122012-08-07 Kevin Ryde <user42@zip.com.au>
2613
2614 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2615 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2616 and continue processing (Bug#12110).
2617
638eaeb9
SM
26182012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2621 syntax-propertize-function (bug#10095).
2622
ea376861
SM
26232012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2624
f91b35be
SM
2625 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2626 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2627 describe-function-1.
2628 (describe-function-1): Use them. Move compiler macro after sig.
2629 (help-fns--compiler-macro): Use function-get. Assume we're already in
2630 standard-output. Adjust layout to new call order.
2631
ea376861
SM
2632 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2633 re-binding a symbol that has a symbol-macro (bug#12119).
2634
d5be7bd0
MB
26352012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2636
2637 * language/persian.el: New file. (Bug#11812)
2638 * loadup.el: Add language/persian.el.
2639
90749b53
CY
26402012-08-06 Chong Yidong <cyd@gnu.org>
2641
2642 * window.el (window--maybe-raise-frame): New function.
2643 (window--display-buffer): Split off from here.
2644 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2645 (display-buffer-pop-up-window, display-buffer-use-some-window):
2646 Obey an inhibit-switch-frame action alist entry.
2647 (display-buffer): Update doc.
2648
2649 * replace.el (occur-after-change-function): Avoid losing focus by
2650 using the inhibit-switch-frame display parameter (Bug#12139).
2651
ba7b0154
FEG
26522012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2653
2654 Make internal shell process buffer names start with space.
2655 * progmodes/python.el (python-shell-make-comint): Add optional
2656 argument INTERNAL.
2657 (run-python-internal): Use it.
2658 (python-shell-internal-get-or-create-process): Check for new
2659 internal buffer names.
2660
5eaeacb5
GM
26612012-08-06 Glenn Morris <rgm@gnu.org>
2662
e296d94b 2663 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2664 Do less getting and setting of environment variables.
2665
b7ccbdc2
CY
26662012-08-05 Chong Yidong <cyd@gnu.org>
2667
777fe95e
CY
2668 * proced.el (proced): Add substitution string to docstring to
2669 trigger autoloading of the proced library on C-h f (Bug#1768).
2670
4250fdf5
SM
2671 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2672 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2673
2674 * imenu.el (imenu-generic-expression): Move documentation here
2675 from imenu--generic-function.
2676 (imenu--generic-function): Refer to imenu-generic-expression.
2677
9e3b7800 26782012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
2679
2680 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2681 indentation declaration.
2682 (viper-loop): Add indentation declaration (Bug#7025).
2683
e5d9c0d1
CY
26842012-08-05 Chong Yidong <cyd@gnu.org>
2685
f0422feb
CY
2686 * help-fns.el (describe-variable): Add hyperlink for
2687 directory-local variables files. Improve buffer-local and
2688 permanent-local reporting; suggested by MON KEY (Bug#6644).
2689
2690 * help-mode.el (help-dir-local-var-def): New button type.
2691
e5d9c0d1
CY
2692 * files.el (kill-buffer-hook): Provide a defvar.
2693
a4f2deaa
GM
26942012-08-05 Glenn Morris <rgm@gnu.org>
2695
2696 * eshell/esh-ext.el (eshell/addpath):
2697 Also update eshell-path-env. (Bug#12013)
2698
a9dd5754
CY
26992012-08-05 Chong Yidong <cyd@gnu.org>
2700
a4f2deaa 2701 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2702
d014c740
CY
2703 * fringe.el (fringe-styles): Add docstring.
2704 (fringe--check-mode): New function.
2705 (set-fringe-mode, set-fringe-style): Use it.
2706 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2707
a9dd5754
CY
2708 * files.el (set-auto-mode): Fix invalid setq call.
2709
7c2dc8bd
SM
27102012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 * isearch.el: Misc simplification; use defstruct.
2713 (isearch-mode-map): Dense maps now work like sparse ones.
2714 (isearch--state): New defstruct.
2715 (isearch-string-state, isearch-message-state, isearch-point-state)
2716 (isearch-success-state, isearch-forward-state)
2717 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2718 (isearch-wrapped-state, isearch-barrier-state)
2719 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2720 replaced by defstruct's accessors.
2721 (isearch--set-state): Rename from isearch-top-state and change
2722 calling convention.
2723 (isearch-push-state): Use new isearch--get-state.
2724 (isearch-toggle-word): Disable regexp when enabling word.
2725 (isearch-message-prefix): Remove unused arg _c-q-hack.
2726 (isearch-message-suffix): Remove unused arg _ellipsis.
2727
7fcc0070
AS
27282012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2729
2730 * simple.el (list-processes--refresh): For a server use :host or
2731 :local as the address.
97ad0769 2732 (list-processes): Doc fix.
7fcc0070 2733
a11035b8 27342012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2735
2736 * lisp/mpc.el: Support password in host argument.
2737 (mpc--proc-connect): Parse and use new password element.
2738 Set mpc-proc variable instead of returning process.
2739 (mpc-proc): Adjust accordingly.
2740
6dad7178
EZ
27412012-08-03 Eli Zaretskii <eliz@gnu.org>
2742
18949c2f
EZ
2743 * whitespace.el (whitespace-display-mappings): Use Unicode
2744 codepoints, instead of emacs-mule codepoints. See
2745 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2746 for the details.
2747
6dad7178
EZ
2748 * files.el (file-truename): Don't skip symlink-chasing part on
2749 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2750 Windows into the loop that recursively chases symlinks.
2751 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2752 MS-DOS.
2753
385b0198
CY
27542012-08-03 Chong Yidong <cyd@gnu.org>
2755
6200f3c4
CY
2756 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2757
385b0198
CY
2758 * sort.el (sort-regexp-fields): Doc fix.
2759
b9e74744
TH
27602012-08-03 Tassilo Horn <tsdh@gnu.org>
2761
2762 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2763 labels regex position point at the expected place.
2764
41013cb4
MK
27652012-08-03 MON KEY <monkey@sandpframing.com>
2766
2767 * net/imap.el (imap-interactive-login, imap-authenticate)
2768 (imap-mailbox-lsub, imap-mailbox-list)
2769 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2770 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2771 (imap-parse-response): Doc fix.
2772
0ffee616
JT
27732012-08-03 João Távora <joaotavora@gmail.com>
2774
2775 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2776 if sexp scanning does not move point (Bug#5734).
2777
cfcc9cc8
TH
27782012-08-02 Tassilo Horn <tsdh@gnu.org>
2779
2780 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2781 Add listings, minted, and ctable packages.
2782 (reftex-label-alist-builtin): Move listings, minted, and ctable
2783 entries before LaTeX.
a01bbb84 2784 (reftex-label-alist): Docfix.
cfcc9cc8 2785
66ec2442
BG
27862012-08-02 Bastien Guerry <bzg@gnu.org>
2787
2788 * replace.el (occur): Fix docstring (bug#12122).
2789
837b365b
GM
27902012-08-02 Glenn Morris <rgm@gnu.org>
2791
2792 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2793
e098de97
PE
27942012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2795
2796 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2797 * international/mule-cmds.el: Create
2798 inactivate-current-input-method-function as an obsolete alias for
2799 deactivate-current-input-method-function. See Katsumi Yamaoka in
2800 <http://bugs.gnu.org/10150#46>.
2801
a0f95636
JB
28022012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2803
2804 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2805 of nested `if's.
2806
0d26d7c4
GM
28072012-08-01 Glenn Morris <rgm@gnu.org>
2808
2809 * progmodes/autoconf.el (autoconf-definition-regexp):
2810 Add AH_TEMPLATE, adjust submatch numbering.
2811 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2812 (autoconf-current-defun-function): Update for above change.
2813 (autoconf-current-defun-function): First skip to end of current word.
2814
b686ba06
RS
28152012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2816
2817 * calendar/cal-html.el (cal-html-insert-agenda-days):
2818 Fix typo. (Bug#12018)
2819
0d49da68
FEG
28202012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2821
2822 Shell processes: enhancements to startup and CEDET compatibility.
2823 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2824 (python-shell-make-comint): accept-process-output at startup.
2825 (run-python-internal): Set inferior-python-mode-hook to nil.
2826 (python-shell-internal-get-or-create-process): call sit-for.
2827 (python-preoutput-result): Add obsolete alias.
2828 (python-shell-internal-send-string): Use it.
2829 (python-shell-send-setup-code): Remove call to
2830 accept-process-output.
2831
f1a71c6e
AS
28322012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2833
2834 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2835 (Bug#12108)
2836
d2605269
JB
28372012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2838
2839 * calc-mode.el (calc-basic-simplification-mode): Rename from
2840 `calc-limited-simplification-mode'.
2841 (calc-alg-simplification-mode): New function.
fc0c31f8 2842 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2843
d2605269
JB
2844 * calc.el (calc-set-mode-line): Adjust mode line display for
2845 basic simplification mode.
2846
2847 * calc-help.el (calc-m-prefix-help): Update help message.
2848
2849 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2850 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2851
a3827a43
BG
28522012-07-31 Bastien Guerry <bzg@gnu.org>
2853
2854 * man.el (man): Fix comment. (bug#12101)
2855
502e3f89
MR
28562012-07-31 Martin Rudalics <rudalics@gmx.at>
2857
2858 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2859 Don't return a non-nil value when no suitable buffer was found.
2860
d7714961
FEG
28612012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2862
2863 * progmodes/python.el (run-python-internal): Disable font lock for
2864 internal shells.
2865
1f45e27e
SM
28662012-07-30 Stefan Merten <smerten@oekonux.de>
2867
70efc5c9 2868 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2869 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2870 (rst-official-version, rst-official-cvs-rev)
2871 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2872 (rst-mode-map): New key binding.
2873
0aee6912
PE
28742012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2875
2876 Update .PHONY listings in makefiles.
2877 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2878 autoloads, update-subdirs, updates, bzr-update, update-authors,
2879 compile-onefile, compile-calc, backup-compiled-files,
2880 compile-after-backup, compile-one-process, mh-autoloads,
2881 bootstrap-clean, distclean, maintainer-clean.
2882
9052f9f0
JB
28832012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2884
1823ac5a
JB
2885 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2886 (calc-set-mode-line): Don't display "AlgSimp ".
2887
2888 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2889 (calc-lim-simplify-mode): New function.
2890 (calc-set-simplify-mode): Default to 'alg.
2891 (calc-default-simplify-mode): Make algebraic simplifications
2892 the default.
2893
2894 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2895 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2896
8d7c7eed 2897 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2898 indicate new simplification modes.
2899
1823ac5a
JB
2900 * calc/README: Mention new default simplification mode.
2901
9052f9f0
JB
2902 * calc/calc.el (math-normalize-error): New variable.
2903 (math-normalize): Set `math-normalize-error' to t
2904 when there's an error.
2905
2906 * calc/calc-alg.el (math-simplify): Don't simplify when
2907 `math-normalize' returns an error.
2908
20ba0cb4
EZ
29092012-07-29 Eli Zaretskii <eliz@gnu.org>
2910
2911 * international/mule-cmds.el (set-locale-environment): Revert last
2912 change, since display-graphic-p returns nil when this function is
2913 called during startup. Instead...
2914
2915 * term/w32console.el (terminal-init-w32console): ...setup the
2916 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2917
a5dcc929
JL
29182012-07-29 Juri Linkov <juri@jurta.org>
2919
2920 * simple.el (goto-line): Don't display default line number in the
2921 prompt because it should be displayed by `read-number' (bug#9952).
2922 Add the current line number to the defaults of `goto-line' to
2923 allow its easier modification by users with `M-n' (bug#9201).
2924
2925 * subr.el (read-number): Support multiple default values like in
2926 other minibuffer reading functions. Replace `read' with
2927 `string-to-number' for consistency with `number-to-string'.
2928
72b255c7
PE
29292012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2930
2931 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2932 * emulation/viper-init.el (viper-deactivate-input-method-action):
2933 Rename from viper-inactivate-input-method-action.
2934 (viper-deactivate-input-method):
2935 Rename from viper-inactivate-input-method.
2936 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2937 * international/mule-cmds.el (deactivate-input-method):
2938 Rename from inactivate-input-method.
2939 Also run input-method-deactivate-hook.
2940 (deactivate-current-input-method-function):
2941 Rename from inactivate-current-input-method-function.
2942 (input-method-deactivate-hook): New hook.
2943 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2944 (inactivate-input-method): Mark obsolete.
2945
72b255c7
PE
2946 * international/quail.el (quail-activate):
2947 Also run quail-deactivate-hook.
2948 (quail-deactivate): Rename from quail-inactivate.
2949 * international/robin.el (robin-activate):
2950 Also run robin-deactivate-hook.
2951 (robin-deactivate): Rename from robin-inactivate.
2952
2549c068
CY
29532012-07-29 Chong Yidong <cyd@gnu.org>
2954
2955 * simple.el (indicate-copied-region): New function.
2956 (kill-ring-save): Split off from here.
2957
2958 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2959 (kill-rectangle): Set deactivate-mark to t on read-only error.
2960
2961 * register.el (copy-to-register, copy-rectangle-to-register):
2962 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
2963 (append-to-register, prepend-to-register): Call indicate-copied-region.
2964
29652012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2966
2967 * simple.el (async-shell-command-buffer): New defcustom.
2968 (shell-command): Use it. (Bug#4719)
2969
01bd1b0d
EZ
29702012-07-28 Eli Zaretskii <eliz@gnu.org>
2971
2972 * international/mule-cmds.el (set-locale-environment): In a
2973 console session on MS-Windows, set up keyboard and terminal
2974 encoding from the OEM codepage, not the ANSI codepage.
2975 (Bug#12055)
2976
a55739d3
CY
29772012-07-28 Chong Yidong <cyd@gnu.org>
2978
2979 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2980 gdb-get-location.
2981
0e1a094f 29822012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2983
2984 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2985 the alist (bug#12029).
2986
20329d73
EZ
29872012-07-28 Eli Zaretskii <eliz@gnu.org>
2988
2989 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2990 (compile-always, compile-first)
2991 ($(lisp)/calendar/cal-loaddefs.el)
2992 ($(lisp)/calendar/diary-loaddefs.el)
2993 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2994 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2995 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2996 instead of on update-subdirs.
2997 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2998
345a2258
CY
29992012-07-28 Chong Yidong <cyd@gnu.org>
3000
1eee6341
CY
3001 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3002 directory if vc-deduce-backend returns nil (Bug#7350).
3003
345a2258
CY
3004 * simple.el (delete-trailing-lines): New option.
3005 (delete-trailing-whitespace): Obey it (Bug#11879).
3006
049a0936
DE
30072012-07-28 David Engster <deng@randomsample.de>
3008
3009 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3010 Explanation of new 'symbol-qnames feature in doc-strings.
3011 (xml-maybe-do-ns): Return expanded names as plain symbols if
3012 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3013 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3014
aa81af71
FEG
30152012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3016
3017 Consistent completion in inferior python with emacs -nw.
3018 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3019 binding in inferior-python-mode-map with "\t".
3020 (python-shell-completion-complete-at-point)
3021 (python-completion-complete-at-point): Remove interactive spec.
3022
e827b1eb
JB
30232012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3024
3025 * calc/calccomp.el (math-compose-expr): Undo previous change.
3026
a90dfb95
FEG
30272012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3028
4250fdf5 3029 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3030 run-python.
3031 (python-shell-make-comint): Fix pop-to-buffer call.
3032 (run-python): Autoload. New arg SHOW.
3033 (python-shell-get-or-create-process): Do not pop python process
3034 buffer.
3035
32770973 30362012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3037
3038 * notifications.el (notifications-on-action-signal)
3039 (notifications-on-closed-signal): Use also the bus address for the map.
3040 (notifications-notify, notifications-close-notification)
fc0c31f8 3041 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3042
86332df2
TH
30432012-07-27 Tassilo Horn <tsdh@gnu.org>
3044
4250fdf5
SM
3045 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3046 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3047 ctable macro.
3048 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3049 labels written in keyvals syntax.
3050
ca1302a4
JB
30512012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3052
3053 * calc/calccomp.el (math-compose-expr): Use parentheses when
3054 there is a product in the denominator of a fraction.
3055
f8b91036
EZ
30562012-07-26 Eli Zaretskii <eliz@gnu.org>
3057
3058 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3059 ($(lisp)/calendar/diary-loaddefs.el)
3060 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3061 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3062 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3063 rewritten while the autoload files are built at the same time,
3064 which needs to load subdirs.el.
3065
c8e5a42c
MR
30662012-07-26 Martin Rudalics <rudalics@gmx.at>
3067
3068 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3069 (mouse-drag-line): Don't exit tracking when a switch-frame or
3070 switch-window event occurs (Bug#12006).
3071
670d85ea
SM
30722012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3073
3074 * mouse.el (popup-menu): Fix last change.
3075
7abaf5cc
SM
30762012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 Autoload from Lisp with more care. Follow aliases when looking for
3079 function properties.
3080 * subr.el (autoloadp): New function.
3081 (symbol-file): Use it.
3082 (function-get): New function.
3083 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3084 autoload-do-load.
3085 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3086 (lisp-indent-function):
3087 * emacs-lisp/gv.el (gv-get):
3088 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3089 * emacs-lisp/byte-opt.el (byte-optimize-form):
3090 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3091 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3092 Use function-get.
3093 * emacs-lisp/cl.el: Don't propagate function properties any more.
3094
3095 * speedbar.el (speedbar-add-localized-speedbar-support):
3096 * emacs-lisp/disass.el (disassemble-internal):
3097 * desktop.el (desktop-load-file):
3098 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3099 (describe-function-1):
3100 * emacs-lisp/find-func.el (find-function-noselect):
3101 * emacs-lisp/elp.el (elp-instrument-function):
3102 * emacs-lisp/advice.el (ad-has-proper-definition):
3103 * apropos.el (apropos-safe-documentation, apropos-macrop):
3104 * emacs-lisp/debug.el (debug-on-entry):
3105 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3106 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3107 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3108
b1364986
AA
31092012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3110
3111 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3112 function, not an obsolete variable (Bug#12046).
3113
67ada220
AS
31142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3115
3116 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3117
f08088e3
CS
31182012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3119
3120 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3121 window only if it is still live (Bug#12034).
3122
8137e7b3
MR
31232012-07-25 Martin Rudalics <rudalics@gmx.at>
3124
3125 * subr.el (redirect-frame-focus): Add advertised calling
3126 convention (Bug#12030).
3127
09ae5da1
PE
31282012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3129
3130 Prefer typical American spelling for "acknowledgment".
3131 * vc/add-log.el (change-log-acknowledgment): Rename from
3132 change-log-acknowledgement, with an alias for the old name.
3133
3cc5a3a8
JB
31342012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3135
3136 * calc-alg.el (math-simplify-divide): Don't cross multiply
3137 in an equation when the lhs is a variable.
3138
b7af7f62
JD
31392012-07-24 Julien Danjou <julien@danjou.info>
3140
3141 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3142 Remove, unused.
3143
ec1b09b1
EZ
31442012-07-23 Eli Zaretskii <eliz@gnu.org>
3145
3146 * startup.el (command-line): Don't display an empty user name in
3147 the error message about non-existent home directory, when
3148 init-file-user was set to an empty string. See
3149 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3150 for the details and context.
3151
b525fd8a
VB
31522012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3153
3154 * ses.el (ses-cell-formula-aset): New macro.
3155 (ses-cell-references-aset): New macro.
3156 (ses-cell-p): New function.
3157 (ses-rename-cell): Do no longer rely on complex operations like
3158 ses-cell-set-formula or ses-set-cell to change the cell and handle
3159 the undo at the same time, but rather use lower level new macros
3160 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3161 the undo directly. Refresh the mode line.
b525fd8a 3162
2c73e345
LL
31632012-07-21 Leo Liu <sdl.web@gmail.com>
3164
670d85ea
SM
3165 * progmodes/cc-cmds.el (c-defun-name):
3166 Use match-string-no-properties instead for consistency.
2c73e345 3167
542dfbde
LL
31682012-07-20 Leo Liu <sdl.web@gmail.com>
3169
3646bcd6
LL
3170 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3171 (Bug#7879)
3172
542dfbde
LL
3173 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3174
25721031
CY
31752012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3176
3177 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3178 * progmodes/bug-reference.el, misearch.el: Provide themselves
3179 (bug#11915).
3180
3181 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3182 of narrowed buffer (bug#11966).
3183
316e68a7
VB
31842012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3185
3186 * ses.el (ses-rename-cell): Set new name also in reference list of
3187 cells of which the renamed cell depends.
3188
bbf0e7d9
MY
31892012-07-20 Masatake YAMATO <yamato@redhat.com>
3190
3191 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3192 to check whether menu-bar is shown or not. If not shown,
3193 show the menu-bar as a popup menu instead of using tmm.
3194 * mouse.el (popup-menu): Accept `point' as `position' argument.
3195
c28662a8
DG
31962012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3197
3198 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3199 up inside string symbol literal (bug#11923).
3200
87ab808f
EZ
32012012-07-20 Eli Zaretskii <eliz@gnu.org>
3202
3203 * startup.el (fancy-startup-text): Read the whole tutorial, not
3204 just its first 256 bytes. Prevents gibberish in display of the
3205 tutorial title.
3206
89dea803
DA
32072012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3208
3209 Drop idle buffer compaction due to an absence of the
3210 proved efficiency.
3211 * compact.el: Remove.
3212
8a4e6db8
SS
32132012-07-19 Sam Steingold <sds@gnu.org>
3214
3215 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3216 vc-bzr-pull & vc-bzr-merge-branch.
3217 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3218 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3219 for consistency with compilation-error-regexp-alist.
3220 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3221 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3222 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3223 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3224
5db81e33
SM
32252012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * emacs-lisp/chart.el: Use lexical-binding.
3228 (chart-emacs-storage): Don't hardcode the list of entries.
3229
5b835e1d
DA
32302012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3231
3232 Next round of tweaks caused by Fgarbage_collect changes.
3233 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3234
9cd47b72
DA
32352012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3236
3237 Compact buffers when idle.
3238 * compact.el: New file.
3239
1d6fc0df
SM
32402012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * subr.el (eventp): Presume that if it looks vaguely like an event,
3243 it's an event (bug#10190).
3244
1d29cc7d
FEG
32452012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3246
3247 Enhancements to ppss related code (thanks Stefan).
3248 * progmodes/python.el (python-indent-context)
3249 (python-indent-calculate-indentation, python-indent-dedent-line)
3250 (python-indent-electric-colon, python-nav-forward-block)
3251 (python-mode-abbrev-table)
1d6fc0df 3252 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3253 for ppss context.
3254 (python-info-continuation-line-p): Cleanup.
3255 (python-info-ppss-context): Do not catch 'quote.
3256 (python-info-ppss-context-type)
3257 (python-info-ppss-comment-or-string-p): Simplify.
3258
d583cbe6
FEG
32592012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3260
3261 * progmodes/python.el: Enhancements to eldoc support.
3262 (python-info-current-symbol): New function.
3263 (python-eldoc-at-point): Use python-info-current-symbol.
3264 (python-info-current-defun): Fix cornercase on first defun scan.
3265 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3266 and signal error when no inferior python process is available.
3267
eceb6feb
DG
32682012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3269
3270 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3271 assume it's always t.
3272 (vc-git-registered): Remove caching, the function is only called
3273 once.
3274 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3275
4c8ff0fe
CY
32762012-07-18 Chong Yidong <cyd@gnu.org>
3277
19fb7186
CY
3278 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3279
9587c688
CY
3280 * simple.el (count-words): Report on narrowing (Bug#9959).
3281
0fe776a1
CY
3282 * bindings.el: Bind M-= to count-words.
3283
4c8ff0fe
CY
3284 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3285
7f5331cc
MY
32862012-07-18 Masatake YAMATO <yamato@redhat.com>
3287
3288 * progmodes/sh-script.el (sh-imenu-generic-expression):
3289 Capture a function with `function' keyword and without parentheses
3290 like "function FOO" (bug#11856).
3291
2dc2a609
TH
32922012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3293
3294 * window.el (split-window-sensibly): Make WINDOW argument
3295 optional.
3296
439f7677
CY
32972012-07-18 Chong Yidong <cyd@gnu.org>
3298
9aeb25a6
CY
3299 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3300
439f7677
CY
3301 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3302 and make C-x 8 RET exit isearch (Bug#11439).
3303
3304 * international/iso-transl.el: Move isearch-mode-map key
3305 definitions to isearch.el.
3306
12999ea8
SM
33072012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3310 (eieio-defclass): Use gv-define-setter when possible.
3311
3ab6e069
DA
33122012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3313
3314 Reflect recent changes in Fgarbage_collect.
3315 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3316 reflect new format of data returned by Fgarbage_collect.
3317
0a60bc10
FEG
33182012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3319
3320 New utility functions + python-info-ppss-context fix (Bug#11910).
3321 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3322 (python-info-ppss-comment-or-string-p): New functions.
3323 (python-info-ppss-context): Small fix for string check.
3324
6dafa0d5
JL
33252012-07-17 Juri Linkov <juri@jurta.org>
3326
3327 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3328 (dired-do-async-shell-command): Don't add `*' at the end of the
3329 command (Bug#11815).
3330 (dired-do-shell-command): Doc fix.
3331 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3332 Join the individual commands using either "&" or ";" as the
3333 separator depending on the values of these trailing characters.
3334 At the end re-add the trailing "&". (Bug#10598)
3335
3336 * simple.el (async-shell-command): Sync the interactive spec with
3337 `shell-command'. Doc fix.
3338 (shell-command): Doc fix.
3339
b19dd9d1
JL
33402012-07-17 Juri Linkov <juri@jurta.org>
3341
3342 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3343
bcdc27d7 33442012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3345
bcdc27d7 3346 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3347 * progmodes/python.el (python-nav-beginning-of-statement):
3348 Rename from python-nav-statement-start.
bcdc27d7
FEG
3349 (python-nav-end-of-statement): Rename from
3350 python-nav-statement-end.
3351 (python-nav-beginning-of-block): Rename from
3352 python-nav-block-start.
3353 (python-nav-end-of-block): Rename from python-nav-block-end.
3354
191da00e
FEG
33552012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3356
7f5331cc
MY
3357 * progmodes/python.el (python-shell-send-string-no-output):
3358 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3359 future interactions (Bug#11868).
3360
4dc7c8d5 33612012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3362
88ecaf8f
SM
3363 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3364
ef501ef0
SM
3365 * emacs-lisp/elint.el (elint-find-args-in-code):
3366 Use help-function-arglist, so as to handle lexical byte-code.
3367
aa7aaf8f
SM
3368 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3369 change (bug#11826).
3370
45fd731c
SM
33712012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3372
2143fa32
SM
3373 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3374 Avoid spuriously marking the buffer as modified because of c-is-sws.
3375
efc26dbe
SM
3376 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3377 as not-a-comment (bug#11946).
3378
f5695c9a
SM
3379 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3380 for uninterned vars.
3381
3382 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3383 Use read-event since we don't really want to read chars but bytes.
3384
45fd731c
SM
3385 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3386 $$..$$ but also $..$ using regexps (bug#11953).
3387 Use tex-verbatim for \url and \path.
3388 (tex-font-lock-keywords): Define as defconst like the others.
3389 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3390
ddfc8813
RK
33912012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3392
3393 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3394 alias for insert-char.
3395
758e556a
FEG
33962012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3397
3398 * progmodes/python.el: Simplified imenu implementation.
3399 (python-nav-jump-to-defun): Remove command.
3400 (python-mode-map): Use `imenu' instead.
3401 (python-nav-list-defun-positions-cache)
3402 (python-imenu-include-defun-type, python-imenu-make-tree)
3403 (python-imenu-subtree-root-label, python-imenu-index-alist):
3404 Remove vars.
3405 (python-nav-list-defun-positions, python-nav-read-defun)
3406 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3407 (python-imenu-make-tree, python-imenu-create-index):
3408 Remove functions.
758e556a
FEG
3409 (python-mode): Update to interact with imenu by setting
3410 `imenu-extract-index-name-function' only.
3411
032d23ab
FEG
34122012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3413
3414 * progmodes/python.el: Enhancements to navigation commands.
3415 (python-nav-backward-sentence)
3416 (python-nav-forward-sentence): Remove.
3417 (python-nav-backward-statement, python-nav-forward-statement)
3418 (python-nav-statement-start, python-nav-statement-end)
3419 (python-nav-backward-block, python-nav-forward-block)
3420 (python-nav-block-start, python-nav-block-end)
3421 (python-nav-forward-sexp-function)
3422 (python-info-current-line-comment-p)
3423 (python-info-current-line-empty-p): New functions.
3424 (python-indent-context): Use `python-nav-statement-start'.
3425
01795a1b
MA
34262012-07-16 Michael Albinus <michael.albinus@gmx.de>
3427
9328d9aa
MA
3428 * eshell/em-ls.el (eshell/ls): Use `apply'.
3429
3430 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3431 multi-hops, instead of Tramp internals.
3432
01795a1b
MA
3433 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3434
3435 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3436 when F1 and F2 are located on different hosts.
3437
63408057
CY
34382012-07-14 Chong Yidong <cyd@gnu.org>
3439
3440 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3441 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3442 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3443 (xterm-mouse--read-event-sequence-1000)
3444 (xterm-mouse--read-event-sequence-1006): New functions. For old
3445 mouse protocol, handle M-mouse-X events correctly.
3446 (xterm-mouse-event): New arg specifying mouse protocol.
3447 (turn-on-xterm-mouse-tracking-on-terminal)
3448 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3449 sequence to toggle extended coordinates on newer XTerms.
3450 This appears to be harmless on terminals which do not support this.
63408057 3451
cd276f6e
LL
34522012-07-14 Leo Liu <sdl.web@gmail.com>
3453
28ca98ac
LL
3454 Add fringe bitmap indicators for flymake. (Bug#11253)
3455 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3456 (flymake-make-overlay): New arg BITMAP.
3457 (flymake-error-bitmap, flymake-warning-bitmap)
3458 (flymake-fringe-indicator-position): New user variables.
3459
cd276f6e
LL
3460 * fringe.el: New bitmap exclamation-mark.
3461
04408072
JD
34622012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3463
3464 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3465 also (Bug#7879).
3466
b5cf7fc4
CY
34672012-07-14 Chong Yidong <cyd@gnu.org>
3468
3469 * electric.el (electric-pair-post-self-insert-function): Fix pair
3470 insertion in empty-region case (Bug#11520).
3471
be755c79
RT
34722012-07-14 Chong Yidong <cyd@gnu.org>
3473
45fd731c
SM
3474 * bindings.el: Consolidate ctl-x-r-map bindings.
3475 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3476
3477 * rect.el, register.el: Move bindings to bindings.el.
3478
34792012-07-14 Reuben Thomas <rrt@sc3d.org>
3480
3481 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3482
7f5b3198
AS
34832012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3484
3485 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3486
97662200
JB
34872012-07-13 Juanma Barranquero <lekktu@gmail.com>
3488
80185fed
JB
3489 * bindings.el (top): Use `mapc' instead of `mapcar'.
3490
97662200
JB
3491 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3492
2bb1ae55
MA
34932012-07-13 Michael Albinus <michael.albinus@gmx.de>
3494
3495 * progmodes/sql.el (sql-comint): Suppress the check for program on
3496 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3497 (Bug#11908)
3498
dea31bd3
CY
34992012-07-13 Chong Yidong <cyd@gnu.org>
3500
3501 * bindings.el: Assign a non-nil permanent-local property to
3502 per-buffer variables which lack a default value (Bug#11930).
3503
3504 * help-fns.el (describe-variable): In the "automatically becomes
3505 local" notice, take note of permanent-local variables.
3506
b68b3337
CY
35072012-07-13 Chong Yidong <cyd@gnu.org>
3508
3509 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3510 to allow printing the message when called from Lisp.
3511
3512 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3513 Remove toggle-read-only.
3514
3515 * bs.el (bs-toggle-readonly):
45fd731c
SM
3516 * buff-menu.el (Buffer-menu-toggle-read-only):
3517 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3518
3519 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3520 Remove with-no-warnings around toggle-read-only.
3521 (ffap-read-only, ffap-read-only-other-window)
3522 (ffap-read-only-other-frame): Callers changed.
3523
3524 * help-mode.el: Don't require view package.
3525 (help-mode-finish): Set buffer-read-only instead of calling
3526 toggle-read-only.
3527
3528 * bindings.el (mode-line-toggle-read-only):
3529 * dired.el (dired-toggle-read-only):
3530 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3531 with non-nil second arg.
3532
3533 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3534 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3535 directly.
3536
56bc1586
EZ
35372012-07-12 Eli Zaretskii <eliz@gnu.org>
3538
3539 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3540 not incf.
3541
a464a6c7
SM
35422012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3543
3544 More CL cleanups and reduction of use of cl.el.
3545 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3546 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3547 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3548 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3549 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3550 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3551 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3552 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3553 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3554 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3555 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3556 * eshell/em-cmpl.el, eshell/em-banner.el:
3557 * calendar/parse-time.el: Use cl-lib.
3558 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3559 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3560 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3561 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3562 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3563 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3564 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3565 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3566 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3567 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3568 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3569 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3570 `lambda' rather than with `quote'.
3571 (eshell-do-opt): Adjust accordingly.
3572 (eshell-process-option): Simplify.
3573 * eshell/esh-var.el:
3574 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3575 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3576 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3577 to `pcase--dontcare'.
3578 * emacs-lisp/cl.el (labels): Mark obsolete.
3579 (cl--letf, letf): Move to cl-lib.
3580 (cl--letf*, letf*): Remove.
3581 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3582 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3583 (cl-progv): Rewrite.
3584 (cl--letf, cl-letf): Move from cl.el.
3585 (cl-letf*): New macro.
3586 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3587
7ad4afe1
MA
35882012-07-11 Michael Albinus <michael.albinus@gmx.de>
3589
3590 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3591
9af57756
CY
35922012-07-11 Chong Yidong <cyd@gnu.org>
3593
3594 * vc/log-edit.el (log-edit-vc-backend): New variable.
3595 (log-edit): Doc fix.
3596
3597 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3598 argument of log-edit to set up all local variables.
3599 (vc-start-logentry): New optional arg specifying VC backend.
3600
3601 * vc/vc.el (vc-checkin): Use it.
3602 (vc-deduce-fileset): Handle Log Edit buffers.
3603 (vc-diff): Make first argument optional too.
3604
3605 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3606
8477cc7a
MA
36072012-07-10 Michael Albinus <michael.albinus@gmx.de>
3608
3609 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3610 command, just in case. The function is not needed anymore.
3611 (eshell-external-command): Do not call `eshell-remote-command'.
3612
19faa8e8
SM
36132012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3614
f58e0fd5
SM
3615 Reduce use of (require 'cl).
3616 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3617 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3618 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3619 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3620 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3621 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3622 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3623 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3624 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3625 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3626 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3627 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3628 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3629 (byte-compile-unfold-bcf, byte-compile-check-variable):
3630 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3631 (byte-compile-nilconstp):
3632 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3633 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3634
2519d43a
SM
3635 * emacs-lisp/gv.el (cond): Make it a valid place.
3636 (if): Simplify slightly.
3637
19faa8e8
SM
3638 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3639 (pcase--self-quoting-p): New function.
3640 (pcase--u1): Use it.
3641
c4907a5e
GM
36422012-07-10 Glenn Morris <rgm@gnu.org>
3643
3644 * emacs-lisp/authors.el (authors-fixed-entries):
3645 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3646
c4444d16
PE
36472012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3648
3649 Rename configure.in to configure.ac (Bug#11603).
3650 * emacs-lisp/authors.el (authors-canonical-file-name):
3651 * progmodes/autoconf.el (autoconf-mode):
3652 Prefer configure.ac to configure.in.
3653
d75be97d
CY
36542012-07-08 Chong Yidong <cyd@gnu.org>
3655
01ac65bd
CY
3656 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3657 Implement the mouse-1-click-follows-link handling properly.
3658
3659 * info.el (Info-link-keymap): Use follow-link mechanism for
3660 header-line links (Bug#374).
3661
d75be97d
CY
3662 * simple.el (deactivate-mark): Do not set the primary selection
3663 if another program has acquired it (Bug#11772).
3664
87a92845 36652012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3666
3667 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3668 (woman-decode-region): Replace escaped-escapes without destroying
3669 bold or underline (Bug#11552).
87a92845 3670 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3671
621b9d6c
CY
36722012-07-07 Chong Yidong <cyd@gnu.org>
3673
3674 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3675 (interprogram-cut-function, interprogram-paste-function):
3676 Mention that we typically mean the clipboard.
621b9d6c 3677
133a11fc
GM
36782012-07-06 Glenn Morris <rgm@gnu.org>
3679
0d27a45e
GM
3680 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3681
133a11fc
GM
3682 * files.el (toggle-read-only): Restrict message to interactive use.
3683
07b151f1
MA
36842012-07-06 Michael Albinus <michael.albinus@gmx.de>
3685
3686 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3687
3688 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3689
211b896b
GM
36902012-07-06 Glenn Morris <rgm@gnu.org>
3691
50394322
GM
3692 * Makefile.in (compile-one-process): Rename from "recompile".
3693
211b896b
GM
3694 * Makefile.in (bzr-update): "compile" is the same as "recompile
3695 autoloads", but parallelizable, so use that instead.
3696
4737eec9
DG
36972012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3698
3699 * window.el (quit-window): Always restore window height when
8137e7b3 3700 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3701
226c3633 37022012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3703
3704 * simple.el (kill-whole-line): Doc tweak.
3705
226c3633 37062012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3707
3708 * files.el (file-relative-name): Compare file names
3709 case-insensitively if on MS-Windows or MS-DOS, or if
3710 read-file-name-completion-ignore-case is non-nil. Don't use
3711 case-fold-search for this purpose. (Bug#11827)
3712
4dc7c8d5
SM
37132012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3714
3715 * calendar/cal-dst.el (calendar-current-time-zone):
3716 Return calendar-current-time-zone-cache if non-nil.
3717
37182012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 37192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3720
19faa8e8
SM
3721 * calendar/cal-dst.el (calendar-current-time-zone):
3722 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3723
60198fc9
GM
37242012-07-06 Glenn Morris <rgm@gnu.org>
3725
3726 * Makefile.in (cvs-update): Remove old alias.
3727
957b3189
MA
37282012-07-05 Michael Albinus <michael.albinus@gmx.de>
3729
3730 Sync with Tramp 2.2.6-pre.
3731
3732 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3733 compatible declaration.
3734
19faa8e8
SM
3735 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3736 Protect `list-load-path-shadows' call.
957b3189
MA
3737
3738 * net/tramp-compat.el (top): Require packages, which aren't
3739 autoloaded anymore for XEmacs. Protect call of
3740 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3741 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3742 it hurts at least for SXEmacs.
3743 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3744 standard-value for `temporary-file-directory'.
3745
3746 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3747 Redirect stderr to /dev/null.
3748 (tramp-sh-handle-write-region): uid and gid can be floats.
3749 Reported by Russell Sim <russell.sim@gmail.com>.
3750 (tramp-sh-handle-vc-registered): Hide errors.
3751 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3752 and `start-file-process'.
3753 (tramp-maybe-open-connection): Check also whether `non-essential'
3754 is bound.
3755
566df3fc
CY
37562012-07-04 Chong Yidong <cyd@gnu.org>
3757
3758 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3759 (xml-parse-tag): Likewise, and avoid changing entity tables.
3760 (xml-syntax-table): Define from scratch, making sure not to give
3761 x2000 and other Unicode spaces whitespace syntax, since those are
3762 not spaces in XML.
3763 (xml-parse-fragment): Delete unused function.
3764 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3765 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3766 (xml-entity-ref, xml-pe-reference-re)
3767 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3768 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3769 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3770 (xml-entity-value-re): Use syntax references in regexps where
3771 possible; no need to define inside a let-binding.
3772 (xml-parse-dtd): Use xml-pe-reference-re.
3773 (xml-entity-or-char-ref-re): New defconst.
3774 (xml-parse-string, xml-substitute-special): Use it.
3775
30eabd7a
SM
37762012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3777
0781098a
SM
3778 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3779 (find-file--read-only): New function.
3780 (find-file-read-only, find-file-read-only-other-window)
3781 (find-file-read-only-other-frame): Use it.
3782 (insert-file-contents-literally): Don't `fset'.
3783 (get-free-disk-space): Use locate-dominating-file.
3784
b5771c0d
SM
3785 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3786 function is already compiled.
3787
30eabd7a
SM
3788 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3789
b4886f6e
MA
37902012-07-03 Michael Albinus <michael.albinus@gmx.de>
3791
3792 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3793 files on the same host.
3794
b9d82339
AS
37952012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3796
3797 * help-fns.el (describe-function-1): Only call
3798 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3799
a76e6535
CY
38002012-07-03 Chong Yidong <cyd@gnu.org>
3801
3802 * xml.el: Protect parser against XML bombs.
3803 (xml-entity-expansion-limit): New variable.
3804 (xml-parse-string, xml-substitute-special): Use it.
3805 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3806
b544fef2
GM
38072012-07-03 Glenn Morris <rgm@gnu.org>
3808
3809 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3810 Allow linking to specific messages in debbugs reports (eg 123#5).
3811
a7aef6f5
CY
38122012-07-02 Chong Yidong <cyd@gnu.org>
3813
3814 * xml.el: Fix entity and character reference expansion, allowing
3815 them to expand into markup as per XML spec.
3816 (xml-default-ns): New variable.
3817 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3818 (xml-parse-region): Make first two arguments optional.
3819 Discard text properties.
3820 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3821 All callers changed.
a7aef6f5
CY
3822 (xml-parse-tag): Call xml-parse-tag-1. For backward
3823 compatibility, this function should not modify buffer contents.
3824 (xml-parse-tag-1): Fix opening-tag regexp.
3825 (xml-parse-string): Rewrite, handling entity and character
3826 references properly.
3827 (xml--entity-replacement-text): Signal an error if a parameter
3828 entity is undefined.
3829
3df31c9f
SM
38302012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3831
2b5208f1
SM
3832 * comint.el (comint-output-filter): Filter out repeated prompts.
3833
3df31c9f
SM
3834 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3835 and file-name-absolute-p.
3836 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3837 internal calls.
3838
e3ac1281
PE
38392012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3840
3841 Spelling fixes.
3842 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3843 Rename from byte-compile--refiy-function. All uses changed.
3844
fbf2e7ad
CY
38452012-07-01 Chong Yidong <cyd@gnu.org>
3846
3847 * xml.el (xml--parse-buffer): New function. Move most of
3848 xml-parse-region here.
3849 (xml-parse-region): Copy region into a temporary buffer, since
3850 parameter entity substitution requires changing buffer contents.
3851 Use xml--parse-buffer.
3852 (xml-parse-file): Use xml--parse-buffer.
3853 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3854 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3855
9bf0aa15
GM
38562012-06-30 Glenn Morris <rgm@gnu.org>
3857
bbce2853
GM
3858 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3859
9bf0aa15
GM
3860 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3861 Remove outdated and unnecessary dbus declarations.
3862
0d23c240
EZ
38632012-06-30 Eli Zaretskii <eliz@gnu.org>
3864
3865 * emacs-lisp/timer.el (timer-until): Subtract results of
3866 float-time, instead of taking float-time of the result of
3867 time-subtract, since float-time signals an error for negative time
3868 arguments.
3869
b3218de1
CY
38702012-06-30 Chong Yidong <cyd@gnu.org>
3871
3872 * xml.el (xml-*-re): Convert defvars into defconsts, and
3873 eval-and-compile them so eval-and-compile works on derivatives.
3874 (xml--entity-replacement-text): Use eval-and-comple.
3875
a40c87a0
MA
38762012-06-30 Michael Albinus <michael.albinus@gmx.de>
3877
3878 * vc/vc-git.el (vc-git-registered): Use cache property
3879 `git-registered'.
3880 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3881 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3882 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3883
ac87de97
DG
38842012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3885
3886 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3887 removed (likely outside Emacs). (Bug#11757)
ac87de97 3888
ac10fe06
SM
38892012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3df31c9f 3891 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3892
7f3fbd5d
CY
38932012-06-30 Chong Yidong <cyd@gnu.org>
3894
3895 * xml.el: Implement XML parameter entities.
3896 (xml-parameter-entity-alist): New variable.
3897 (xml-parse-region, xml-parse-fragment): Preserve previous values
3898 of xml-entity-alist and xml-parameter-entity-alist, so that
3899 repeated calls on different documents do not change them.
3900 (xml-parse-tag): Fix doctype regexp.
3901 (xml--entity-replacement-text): New function.
3902 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3903 properly requires url retrieval which is unimplemented.
3904 (xml-escape-string): Doc fix.
3905
3cfbebba
SM
39062012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3909
2af3565e
DA
39102012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3911
3912 * fringe.el (fringe-mode): Doc fix.
3913
929df0e7
MA
39142012-06-29 Michael Albinus <michael.albinus@gmx.de>
3915
3916 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3917 is non-nil.
3918 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3919 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3920
c8d3a25c 39212012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3922
c8d3a25c
GM
3923 * calendar/cal-dst.el (calendar-current-time-zone):
3924 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3925
c8d3a25c 39262012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3927
3928 * progmodes/which-func.el (which-func-format):
3929 Add mouse-face. (Bug#11698)
3930
c8d3a25c
GM
39312012-06-29 Leo Liu <sdl.web@gmail.com>
3932
3933 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3934
39352012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * minibuffer.el (minibuffer-confirm-exit-commands):
3938 Add completion-at-point (bug#11725).
3939
39402012-06-29 Glenn Morris <rgm@gnu.org>
3941
3942 * progmodes/f90.el (f90-font-lock-keywords-2):
3943 Add some preprocessor elements. (Bug#10499)
3944
39452012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3948 Use syntax-propertize (bug#11739).
3949
2badeec4
JB
39502012-06-28 Juanma Barranquero <lekktu@gmail.com>
3951
3952 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3953
ae4969c2
JD
39542012-06-28 Julien Danjou <julien@danjou.info>
3955
3956 * term.el (term-handle-colors-array): Use a set of new faces to
3957 color the terminal. Also uses :inverse-video property.
3958 (term-default-fg-color): Set to nil by default, deprecate in favor
3959 of `term-face'.
3960 (term-default-bg-color): Set to nil by default, deprecate in favor
3961 of `term-face'.
3962 (term-current-face): Use `term-face' by default.
3963 (term-bold-attribute): Variable deleted.
3964
1c9bd870
GM
39652012-06-28 Glenn Morris <rgm@gnu.org>
3966
3967 * simple.el (completion-list-mode-finish):
3968 Don't use toggle-read-only. (Since completion-list-mode has
3969 a special mode-class, it wasn't doing anything extra anyway.)
3970
c207708c
SM
39712012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 Make inlining of other-mode interpreted functions work (bug#11799).
3974 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3975 (byte-compile): Use it to fix compilation of lexical-binding closures.
3976 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3977 function, if needed.
3978
3fd56834
SM
39792012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3980
04901786
SM
3981 * help-mode.el (help-make-xrefs): Don't just withstand
3982 cyclic-variable-indirection but any error in documentation-property.
3983
1ec4b7b2
SM
3984 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3985 memory use.
3986 * bindings.el (bindings--define-key): New function.
3987 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3988 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3989 * bindings.el: Use it to purecopy define-key bindings.
3990
e309e2a5
SM
3991 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3992
d5c6faf9
SM
3993 * emacs-lisp/cl.el (flet): Mark obsolete.
3994 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3995 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3996 * progmodes/js.el (js-c-fill-paragraph):
3997 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3998 (ebrowse-switch-member-buffer-to-derived-class):
3999 * play/5x5.el (5x5-solver): Use cl-flet.
4000
6e9590e2
SM
4001 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4002 (cl--symbol-function): New macro.
4003 (cl--letf, cl--letf*): Use it.
4004
3fd56834
SM
4005 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4006 Strip "toggle-" if any.
4007
35ff222c
GM
40082012-06-27 Glenn Morris <rgm@gnu.org>
4009
1ba6038a
GM
4010 * info.el (Info-default-directory-list): Move here from paths.el.
4011 * paths.el: Remove file, which is now empty.
4012 * loadup.el: No longer load "paths".
4013
0ea0e51b
GM
4014 * custom.el (custom-initialize-delay): Doc fix.
4015
35ff222c
GM
4016 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4017 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4018 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4019 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4020 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4021 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4022 * eshell/eshell.el (eshell-defgroup): Remove alias.
4023
c89926a5
CY
40242012-06-27 Chong Yidong <cyd@gnu.org>
4025
4026 * help.el (help-enable-auto-load): New variable.
4027
4028 * help-fns.el (help-fns--autoloaded-p): New function.
4029 (describe-function-1): Refer to a function as "autoloaded" if it
4030 was autoloaded at any time in the past. Perform autoloading if
4031 help-enable-auto-load is non-nil.
4032
cc06e7e7
EZ
40332012-06-26 Eli Zaretskii <eliz@gnu.org>
4034
4035 * makefile.w32-in (compile, compile-always): Depend on
4036 update-subdirs, not on subdirs.el. Otherwise, several different
4037 sub-targets of 'bootstrap' running in parallel could
4038 simultaneously write to subdirs.el, producing a garbled file.
4039
d2c32364
SS
40402012-06-26 Sam Steingold <sds@gnu.org>
4041
4042 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4043 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4044 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4045 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4046 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4047 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4048 * textmodes/tex-mode.el: Use it.
4049 Did not touch cedet and org because they are maintained elsewhere.
4050
5cf983b2
MR
40512012-06-26 Martin Rudalics <rudalics@gmx.at>
4052
4053 * calendar/calendar.el (calendar-exit): Don't try to delete or
4054 iconify last frame. See:
4055 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4056
8c4f2952
JD
40572012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4058
4059 * server.el (server-process-filter): Remember dir in the
4060 process's `server-client-directory' properties.
4061
772b2e2c
CY
40622012-06-24 Chong Yidong <cyd@gnu.org>
4063
4064 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4065 non-tag text.
4066
711b11e1
JB
40672012-06-23 Juanma Barranquero <lekktu@gmail.com>
4068
4069 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4070
dc5d230c
SM
40712012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4072
4073 * help-fns.el (describe-variable): Don't croak when doc is not found.
4074 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4075 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4076 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4077 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4078 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4079 ((lambda ..) ..).
4080 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4081
136e1c1d
CY
40822012-06-23 Chong Yidong <cyd@gnu.org>
4083
e8c1cabf
CY
4084 * info.el (Info-mouse-follow-link): Accept symbol values of
4085 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4086 (Info-fontify-node): Use Info-link-keymap for all navigation
4087 buttons, with link-args property to perform the desired action.
4088 (Info-link-keymap): Doc fix.
4089 (Info-next-link-keymap, Info-prev-link-keymap)
4090 (Info-up-link-keymap): Delete now-unused keymaps.
4091
0e9e6c6a
CY
40922012-06-23 Chong Yidong <cyd@gnu.org>
4093
05e89fea
CY
4094 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4095
0e9e6c6a
CY
4096 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4097 system abbrevs.
4098
4099 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4100
e33c6771
SM
41012012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4102
b68581e2
SM
4103 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4104 (bug#11719).
4105
e33c6771
SM
4106 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4107 the requote function doesn't work properly (bug#11714).
4108
7117e105
GM
41092012-06-23 Glenn Morris <rgm@gnu.org>
4110
4111 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4112
36cec983
SM
41132012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 Further GV/CL cleanups.
4116 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4117 gv-expander.
4118 (gv--defun-declaration): New function.
4119 (defun-declarations-alist): Use it.
4120 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4121 (gv-place): Autoload.
4122 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4123 original definition of dotimes and dolist.
4124 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4125 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4126 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4127 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4128 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4129 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4130 to the function's definition.
4131 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4132 * window.el:
4133 * files.el:
4134 * faces.el:
4135 * env.el: Don't use CL.
4136
d35af63c
PE
41372012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4138
4139 Support higher-resolution time stamps (Bug#9000).
4140
4141 * calendar/time-date.el (with-decoded-time-value): New arg
4142 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4143 (encode-time-value): New optional arg PICO. New type 3.
4144 (time-to-seconds) [!float-time]: Support the new picoseconds
4145 component if it's used.
4146 (seconds-to-time, time-subtract, time-add):
4147 Support ps-resolution time stamps as well.
4148
4149 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4150 (timerp): Timer vectors now have length 9, not 8.
4151 (timer--time): Support new-style (4-part) time stamps.
4152 (timer-next-integral-multiple-of-time): Time stamps now have
4153 picosecond resolution, so take a bit more care about rounding.
4154 (timer-relative-time, timer-inc-time): New optional arg psecs.
4155 (timer-set-time-with-usecs): Set psecs to 0.
4156 (timer--activate): Check psecs component, too.
4157
4158 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4159
ac77b21a
SM
41602012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4161
f143bfe3
SM
4162 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4163 Move the non-essential binding to the post/pre-command-hook where it is
4164 more obviously correct.
4165
ac77b21a
SM
4166 * subr.el (read-passwd): Don't use a history at all.
4167 * savehist.el (savehist-save): Remove password saved accidentally
4168 because of the above bug.
4169
76386c5a
BG
41702012-06-22 Bastien Guerry <bzg@gnu.org>
4171
4172 * files.el (toggle-read-only): Display a message telling whether
4173 the buffer is read-only or not (bug#11726).
4174
2ee3d7f0
SM
41752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * emacs-lisp/gv.el: New file.
4178 * subr.el (push, pop): Extend to generalized variables.
4179 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4180 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4181 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4182 gv-define-simple-setter, and gv-define-expander.
4183 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4184 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4185 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4186 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4187 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4188 gv-letplace.
4189 (cl-defstruct): Don't define setf-method any more.
4190 * emacs-lisp/cl.el (flet): Don't autoload.
4191 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4192 (define-setf-expander, defsetf, define-modify-macro)
4193 (cl-struct-setf-expander): Move from cl-lib.el.
4194 * emacs-lisp/syntax.el:
4195 * emacs-lisp/ewoc.el:
4196 * emacs-lisp/smie.el:
4197 * emacs-lisp/cconv.el:
4198 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4199 (timer--time): Use gv-define-simple-setter.
4200 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4201 to avoid coding-system problems in subr.el. Adjust all users.
4202 (macroexp--maxsize, macroexp-small-p): New functions.
4203 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4204 * scroll-bar.el (scroll-bar-mode):
4205 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4206 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4207 * winner.el (winner-configuration, winner-make-point-alist)
4208 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4209 * files.el (locate-file-completion-table): Avoid list*.
4210
c5695d1d
CY
42112012-06-22 Chong Yidong <cyd@gnu.org>
4212
4213 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4214 (dired-create-files): Doc fix (Bug#11329).
4215 (dired-do-copy): Doc fix (Bug#11334).
4216 (dired-mark-read-string): Doc fix (Bug#11553).
4217
2ee3d7f0
SM
4218 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4219 Doc fix (Bug#11326).
c5695d1d
CY
4220 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4221 (dired-dwim-target): Doc fix.
4222
4223 * wdired.el (wdired-mode): Doc fix.
4224
89b5595a
GM
42252012-06-22 Glenn Morris <rgm@gnu.org>
4226
575db3f1
GM
4227 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4228 (pcmpl-rpm-cache-stamp-file): New constant.
4229 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4230 (pcmpl-rpm-packages): Optionally cache list of packages.
4231
a4c8dd51
GM
4232 * pcmpl-rpm.el (pcmpl-rpm): New group.
4233 (pcmpl-rpm-query-options): New option.
4234 (pcmpl-rpm-packages): No need to inline it.
4235 Use pcmpl-rpm-query-options.
4236
89b5595a
GM
4237 * calendar/calendar.el (calendar-in-read-only-buffer):
4238 Avoid some needless mode changes.
4239
e76f0800
CY
42402012-06-21 Chong Yidong <cyd@gnu.org>
4241
4242 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4243 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4244 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4245
297a8f1d
CY
42462012-06-20 Chong Yidong <cyd@gnu.org>
4247
4248 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4249
d34c18b1
DR
42502012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4251
4252 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4253 (bug#11201).
4254
32f7f28e
CY
42552012-06-20 Chong Yidong <cyd@gnu.org>
4256
4257 * term.el (term-window-width): Handle the case of a missing right
4258 fringe (Bug#8837).
4259 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4260 (term-mode): Use define-derived-mode. Minor cleanups.
4261 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4262 (term-move-columns, term-insert-char, term-emulate-terminal)
4263 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4264
493c6688
MA
42652012-06-20 Michael Albinus <michael.albinus@gmx.de>
4266
d34c18b1
DR
4267 * net/ange-ftp.el (ange-ftp-get-passwd):
4268 Bind `enable-recursive-minibuffers'.
493c6688
MA
4269 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4270
3f06ecf4
DR
42712012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4272
4273 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4274
68f12411
GM
42752012-06-19 Glenn Morris <rgm@gnu.org>
4276
4277 * progmodes/python.el (python-mode): Derive from prog-mode.
4278
b3820318
KG
42792012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4280
4281 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4282 (edt-user-menu-bar-update-buffers): New functions.
4283 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4284
c6bf3022
CY
42852012-06-19 Chong Yidong <cyd@gnu.org>
4286
4287 * subr.el (with-selected-window): Preserve the selected window's
4288 terminal's top-frame (Bug#4702).
4289
4290 * window.el (save-selected-window): Likewise.
4291
25f09295
SM
42922012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * progmodes/python.el (python-rx-constituents): Move backquote.
4295 (python-skeleton-define, python-define-auxiliary-skeleton):
4296 Use `declare'.
4297
6b11952a
MA
42982012-06-18 Michael Albinus <michael.albinus@gmx.de>
4299
4300 * minibuffer.el (read-file-name-default): Revert the patch from
4301 2012-06-17.
4302
ee4b1330
SM
43032012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4306 (pcase--u1, pcase--q1): Don't use apply-partially.
4307
35647f79
GM
43082012-06-18 Glenn Morris <rgm@gnu.org>
4309
4310 * progmodes/python.el (python-proc, python-buffer)
4311 (python-send-receive, python-send-string): Fix obsolete versions.
4312
24b0cff0
MR
43132012-06-18 Martin Rudalics <rudalics@gmx.at>
4314
4315 * window.el (special-display-p): Completely remove stringp
4316 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4317
29855149
MA
43182012-06-17 Michael Albinus <michael.albinus@gmx.de>
4319
4320 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4321
4322 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4323
4324 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4325 * net/tramp-sh.el (tramp-maybe-open-connection):
4326 Throw if `non-essential' is non-nil.
4327
07463363
MR
43282012-06-17 Martin Rudalics <rudalics@gmx.at>
4329
4330 * window.el (special-display-p): Signal an error if BUFFER-NAME
4331 is not a string (Bug#11713).
4332
48d1354e
PE
43332012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4334
4335 * progmodes/python.el (python-info-beginning-of-backslash):
4336 Rename from python-info-beginning-of-backlash, as a spelling fix.
4337
eb4a8a9a
CY
43382012-06-17 Chong Yidong <cyd@gnu.org>
4339
4340 * term.el (term-emulate-terminal): If term-check-size is called,
4341 move point to the process mark without resetting point (Bug#4635).
4342
ddfbf826 43432012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4344
4345 * international/mule-cmds.el (mule-menu-keymap)
4346 (set-language-environment, set-locale-environment): Doc tweaks.
4347
9b0e3eba
AA
43482012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4349
4350 * cus-face.el (custom-face-attributes): Add wave-style underline
4351 attribute.
4352 * faces.el (set-face-attribute): Update docstring to describe
4353 wave-style underline attribute.
4354
771e3eae
CY
43552012-06-16 Chong Yidong <cyd@gnu.org>
4356
4357 * term/xterm.el (terminal-init-xterm): Discard input before
4358 querying background mode (Bug#10959).
4359
7ae2ea10
SM
43602012-06-16 Stefan Merten <smerten@oekonux.de>
4361
4362 * textmodes/rst.el: Added and corrected some comments.
4363 (rst-re-alist-def): Improve symbol syntax.
4364 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4365 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4366 (rst-official-version, rst-official-cvs-rev): Update version
4367 information.
7ae2ea10 4368
b6974efa
JB
43692012-06-15 Juanma Barranquero <lekktu@gmail.com>
4370
4371 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4372 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4373
8826d473
GM
43742012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4375
4376 * progmodes/python.el: New python.el merge.
4377 (python-guess-indent): Obsolete var.
4378 (python-indent-guess-indent-offset): New defcustom.
4379 (python-indent): Obsolete var.
4380 (python-indent-offset): New defcustom.
4381 (python-python-command, python-jython-command): Delete var.
4382 (python-shell-interpreter): New defcustom.
4383 (python-pdbtrack-do-tracking-p): Delete var.
4384 (python-pdbtrack-activate): New defcustom.
4385 (python-use-skeletons): Obsolete var.
4386 (python-skeleton-autoinsert): New defcustom.
4387 (inferior-python-filter-regexp, python-continuation-offset)
4388 (python-honour-comment-indentation, python-indent-string-contents)
4389 (python-jython-packages, python-mode-hook)
4390 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4391 (python-shell-prompt-alist)
4392 (python-source-modes): Delete defcustoms.
4393 (python-check-buffer-name, python-eldoc-setup-code)
4394 (python-eldoc-string-code, python-ffap-setup-code)
4395 (python-ffap-string-code, python-fill-comment-function)
4396 (python-fill-decorator-function, python-fill-paren-function)
4397 (python-fill-string-function, python-imenu-include-defun-type)
4398 (python-imenu-make-tree, python-imenu-subtree-root-label)
4399 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4400 (python-shell-compilation-regexp-alist)
4401 (python-shell-completion-module-string-code)
4402 (python-shell-completion-pdb-string-code)
4403 (python-shell-completion-setup-code)
4404 (python-shell-completion-string-code)
4405 (python-shell-enable-font-lock, python-shell-exec-path)
4406 (python-shell-extra-pythonpaths)
4407 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4408 (python-shell-process-environment)
4409 (python-shell-prompt-block-regexp)
4410 (python-shell-prompt-output-regexp)
4411 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4412 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4413 (python-shell-virtualenv-path): New defcustoms.
4414 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4415 (inferior-python-mode-syntax-table, python--prompt-regexp)
4416 (python-buffer, python-command python-python-command)
4417 (python-default-template, python-imports, python-indent-index)
4418 (python-indent-list, python-indent-list-length)
4419 (python-mode-running, python-pdbtrack-is-tracking-p)
4420 (python-preoutput-continuation, python-preoutput-leftover)
4421 (python-preoutput-result, python-preoutput-skip-next-prompt)
4422 (python-prev-dir/file, python-recursing)
4423 (python-saved-check-command, python-version-checked)
4424 (python-which-func-length-limit)
4425 (view-return-to-alist): Delete vars.
4426 (python-check-custom-command, python-dotty-syntax-table)
4427 (python-imenu-index-alist, python-indent-current-level)
4428 (python-indent-dedenters, python-indent-levels)
4429 (python-nav-beginning-of-defun-regexp)
4430 (python-nav-list-defun-positions-cache)
4431 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4432 (python-shell-internal-buffer)
4433 (python-skeleton-available): New vars.
4434 (def-python-skeleton): Delete macro.
4435 (python-skeleton-define): New macro.
4436 (python-define-auxiliary-skeleton, python-rx): New macros.
4437 (python-insert-class): Delete command.
4438 (python-skeleton-class): New command.
4439 (python-insert-def): Delete command.
4440 (python-skeleton-def): New command.
4441 (python-insert-for): Delete command.
4442 (python-skeleton-for): New command.
4443 (python-insert-if): Delete command.
4444 (python-skeleton-if): New command.
4445 (python-insert-try/except, python-insert-try/finally): Delete commands.
4446 (python-skeleton-try): New command.
4447 (python-insert-while): Delete command.
4448 (python-skeleton-while): New command.
4449 (python-backspace): Delete command.
4450 (python-indent-dedent-line-backspace): New command.
4451 (python-electric-colon): Delete command.
4452 (python-indent-electric-colon): New command.
4453 (python-guess-indent): Delete command.
4454 (python-indent-guess-indent-offset): New command.
4455 (python-shift-left): Delete command.
4456 (python-indent-shift-left): New command.
4457 (python-shift-right): Delete command.
4458 (python-indent-shift-right): New command.
4459 (python-find-function): Delete command.
4460 (python-nav-jump-to-defun): New command.
4461 (python-next-statement): Delete command.
4462 (python-nav-forward-sentence): New command.
4463 (python-previous-statement): Delete command.
4464 (python-nav-backward-sentence): New command.
4465 (python-fill-paragraph): Delete command.
4466 (python-fill-paragraph-function): New command.
4467 (python-send-buffer): Delete command.
4468 (python-shell-send-buffer): New command.
4469 (python-send-defun): Delete command.
4470 (python-shell-send-defun): New command.
4471 (python-send-region, python-send-region-and-go): Delete commands.
4472 (python-shell-send-region)
4473 (python-shell-switch-to-shell): New commands.
4474 (python-send-string): Delete command.
4475 (python-shell-send-string): New command.
4476 (python-switch-to-python): Delete command.
4477 (python-shell-switch-to-shell): New command.
4478 (python-describe-symbol): Delete command.
4479 (python-eldoc-at-point): New command.
4480 (python--set-prompt-regexp, python-args-to-list)
4481 (python-after-info-look, python-check-version)
4482 (python-check-comint-prompt, python-find-imports)
4483 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4484 (python-unload-function, python-expand-template)
4485 (python-maybe-jython, python-preoutput-filter)
4486 (python-pdbtrack-get-source-buffer)
4487 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4488 (python-pdbtrack-toggle-stack-tracking)
4489 (python-pdbtrack-track-stack-file, python-initial-text)
4490 (python-first-word, python-comment-line-p, python-send-command)
4491 (python-setup-brm, python-sentinel, python-set-proc)
4492 (python-skip-out, python-input-filter, python-outdent-p)
4493 (python-outline-level, python-backslash-continuation-line-p)
4494 (python-end-of-block, python-end-of-statement, python-mark-block)
4495 (python-beginning-of-block, python-beginning-of-statement)
4496 (python-blank-line-p, python-beginning-of-string)
4497 (python-open-block-statement-p): Delete functions.
4498 (python-indent-line, python-indent-line-1): Delete functions.
4499 (python-indent-line): New function.
4500 (python-indentation-levels): Delete function.
4501 (python-indent-calculate-levels): New function.
4502 (python-proc): Delete function.
4503 (python-shell-get-process): New function.
4504 (python-send-receive): Delete function.
4505 (python-shell-send-string-no-output): New function.
4506 (python-module-path): Delete function.
4507 (python-ffap-module-path): New function.
4508 (python-completion-at-point)
4509 (python-symbol-completions): Delete functions.
4510 (python-completion-complete-at-point): New function.
4511 (python-load-file): Delete function.
4512 (python-shell-send-file): New function.
4513 (python-calculate-indentation): Delete function.
4514 (python-indent-calculate-indentation): New function.
4515 (python-skip-comments/blanks): Delete function.
4516 (python-util-forward-comment): New function.
4517 (python-continuation-line-p): Delete function.
4518 (python-info-continuation-line-p): New function.
4519 (python-which-func, python-current-defun): Delete function.
4520 (python-info-current-defun): New function.
4521 (python-beginning-of-defun): Delete function.
4522 (python-nav-beginning-of-defun): New function.
4523 (python-close-block-statement-p)
4524 (python-block-end-p): Delete function.
4525 (python-info-closing-block): New function.
4526 (python-comint-output-filter-function)
4527 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4528 (python-fill-comment, python-fill-decorator, python-fill-paren)
4529 (python-fill-string, python-imenu-make-element-tree)
4530 (python-imenu-make-tree, python-imenu-tree-assoc)
4531 (python-indent-context, python-indent-dedent-line)
4532 (python-indent-line-function)
4533 (python-indent-post-self-insert-function)
4534 (python-indent-toggle-levels)
4535 (python-info-assignment-continuation-line-p)
4536 (python-info-beginning-of-backlash)
4537 (python-info-block-continuation-line-p)
4538 (python-info-closing-block-message)
4539 (python-info-line-ends-backslash-p)
4540 (python-info-looking-at-beginning-of-defun)
4541 (python-info-ppss-context, python-info-ppss-context-type)
4542 (python-nav-list-defun-positions, python-nav-read-defun)
4543 (python-nav-sentence-end, python-nav-sentence-start)
4544 (python-pdbtrack-comint-output-filter-function)
4545 (python-pdbtrack-set-tracked-buffer)
4546 (python-shell-calculate-exec-path)
4547 (python-shell-calculate-process-environment)
4548 (python-shell-completion--do-completion-at-point)
4549 (python-shell-completion--get-completions)
4550 (python-shell-completion-complete-at-point)
4551 (python-shell-completion-complete-or-indent)
4552 (python-shell-get-or-create-process)
4553 (python-shell-get-process-name)
4554 (python-shell-internal-get-or-create-process)
4555 (python-shell-internal-get-process-name)
4556 (python-shell-internal-send-string, python-shell-make-comint)
4557 (python-shell-parse-command, python-shell-send-setup-code)
4558 (python-skeleton-add-menu-items)
4559 (python-util-clone-local-variables, python-util-position)
4560 (run-python-internal, python-indentation-levels)
4561 (python-nav-beginning-of-defun)
4562 (python-completion-complete-at-point): New functions.
4563 (run-python): Change arguments. New API requirements.
4564
4302f5ba
SM
45652012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4566
f38ea36d
SM
4567 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4568 (bug#11649).
4569
4570 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4571 (macroexp--expand-all): Use it.
4572
4302f5ba
SM
4573 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4574 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4575 Use `cl-function' instead.
4576
33377562
JB
45772012-06-14 Juanma Barranquero <lekktu@gmail.com>
4578
4579 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4580 Suggested by Stefan Monnier while discussing bug#11657.
4581
54c5ba1a
SS
45822012-06-14 Sam Steingold <sds@gnu.org>
4583
4584 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4585
f9f1b1fe
AS
45862012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4587
4588 * play/doctor.el (doctor-doc): Remove parameter and use
4589 doctor-sent instead of sent.
4590 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4591
a81068ba
SM
45922012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4593
5a315f9c
SM
4594 * files.el: Require cl-lib.
4595 (file-name-non-special): Replace case -> cl-case.
4596
4597 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4598
a81068ba
SM
4599 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4600 mapping from #' to function*.
4601
8cca9703
CY
46022012-06-13 Chong Yidong <cyd@gnu.org>
4603
4604 * mouse.el (mouse-drag-track): Do not set the mark if the user
4605 releases the mouse without selecting anything (Bug#11588).
4606
a12ac9d7
SM
46072012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4608
ccf1dc18
SM
4609 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4610 as well (bug#11646).
4611
ef62b23d
SM
4612 * loadup.el: Count byte-code functions as well.
4613
c4c8444a
SM
4614 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4615 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4616
a12ac9d7
SM
4617 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4618 (bug#11649). Add cl-defun and cl-defmacro.
4619
87e6e64f
DA
46202012-06-13 Drew Adams <drew.adams@oracle.com>
4621
4622 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4623 Fix last change.
4624
682cefaf
MA
46252012-06-13 Michael Albinus <michael.albinus@gmx.de>
4626
4627 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4628 Otherwise, it blocks in batch mode.
4629
773e1f08
JB
46302012-06-13 Juanma Barranquero <lekktu@gmail.com>
4631
4632 * help-mode.el (bookmark-make-record-default): Declare.
4633
60057926
CY
46342012-06-13 Chong Yidong <cyd@gnu.org>
4635
4636 * emacs-lisp/package.el (list-packages): Compute a list of
4637 packages that are newly-available since the last list-packages
4638 invocation.
4639 (package-menu--new-package-list): New var.
4640 (package-menu--generate, package-menu--print-info)
4641 (package-menu--status-predicate, package-menu-mark-install):
4642 Handle new status label "new".
4643
ad4d226c
SM
46442012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4645
4646 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4647 conversion to backquotes.
4648
f1a4e679
CY
46492012-06-12 Chong Yidong <cyd@gnu.org>
4650
4651 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4652 Rename from gud-inhibit-global-bindings.
4653
4654 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4655
4656 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4657 hook from nxml-glyph-set-hook.
4658
4659 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4660 declaration.
4661
4662 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4663
4664 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4665 Convert to defcustom.
4666
0c9e42b5
DA
46672012-06-12 Drew Adams <drew.adams@oracle.com>
4668
4669 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4670 New functions.
4671 (help-mode): Use them.
4672
09e06855
GM
46732012-06-11 Glenn Morris <rgm@gnu.org>
4674
4675 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4676 Use preprocessor face for directives.
4677 (fortran-directive-re): Doc fix.
4678
71adb94b
SM
46792012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4680
2eb87922
SM
4681 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4682 conversion to backquotes (bug#11652).
4683
71adb94b
SM
4684 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4685 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4686 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4687 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4688 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4689 (cl-ninth, cl-tenth): Mark them as inlinable.
4690 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4691 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4692 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4693 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4694 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4695 (cl-list*, cl-adjoin): Don't put an autoload manually.
4696 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4697 (cl--compiler-macro-list*): Add autoload cookie.
4698 (cl--compiler-macro-cXXr): New function.
2eb87922 4699
71adb94b
SM
4700 * help-fns.el (help-fns--compiler-macro): New function extracted from
4701 describe-function-1; follow aliases and use `compiler-macro' property.
4702 (describe-function-1): Use it.
4703
a6674402
CY
47042012-06-11 Chong Yidong <cyd@gnu.org>
4705
4706 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4707 is uninstalled, if imagemagick is installed.
4708
bb3faf5b
SM
47092012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * emacs-lisp/cl-lib.el: Use lexical-binding.
4712 (cl-map-extents, cl-maclisp-member): Remove.
4713 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4714 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4715 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4716 * emacs-lisp/cl-extra.el: Use lexical-binding.
4717 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4718 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4719 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4720 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4721 * emacs-lisp/cl-seq.el: Use lexical-binding.
4722 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4723 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4724 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4725 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4726 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4727 CL's internals.
4728
2fe4b125
MA
47292012-06-11 Michael Albinus <michael.albinus@gmx.de>
4730
4731 Sync with Tramp 2.2.6-pre.
4732
4733 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4734 `print-length' and `print-level' to nil, in order to avoid
4735 truncation. Reported by Christopher Schmidt
4736 <christopher@ristopher.com>.
4737
4738 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4739
4740 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4741 New defmacro.
4742 (tramp-compat-copy-directory): Add optional argument
4743 COPY-CONTENTS. It is not handled yet.
4744
4745 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4746 (tramp-ftp-file-name-p): Simplify.
4747
4748 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4749 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4750 connection vector.
4751
4752 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4753 (tramp-methods): Do not use `tramp-password-end-of-line'.
4754 (tramp-completion-function-alist-putty): Handle UNIX case.
4755 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4756 (tramp-do-file-attributes-with-stat)
4757 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4758 gid as real numbers. They could run out of integer range on cygwin.
4759 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4760 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4761 (tramp-open-connection-setup-interactive-shell):
4762 Use `tramp-cleanup'. Move check for busyboxes ...
4763 (tramp-find-shell): ... here. Simplify implementation.
4764 Set "remote-shell" property also for alternative shells.
4765 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4766 If failing, a regular file would be written otherwise.
4767 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4768 (tramp-find-inline-encoding): Cache the coding commands in the
4769 process cache. Apply test command on the remote side, if defined.
4770 (tramp-find-inline-compress): Cache the compress commands in the
4771 process cache.
4772 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4773 when requested. Handle hops.
4774 (tramp-current-connection): New defvar.
87e6e64f
DA
4775 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4776 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4777 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4778 (tramp-get-inline-compress, tramp-get-inline-coding):
4779 Read connection properties from the process cache.
2fe4b125
MA
4780
4781 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4782 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4783 New defconsts.
2fe4b125
MA
4784 (tramp-smb-prompt): Extend for powershell prompt.
4785 (tramp-smb-file-name-handler-alist): Add handlers for
4786 `process-file', `shell-command' and `start-file-process'.
4787 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4788 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4789 (tramp-smb-file-name-p): Simplify.
4790 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4791 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4792 (tramp-smb-shell-quote-argument): New defuns.
4793 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4794 Implement using "tar". By this, time-stamps are preserved.
4795 (tramp-smb-handle-copy-file): Handle also the case of directories.
4796 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4797 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4798 Use `tramp-get-connection-buffer').
2fe4b125
MA
4799 (tramp-smb-handle-rename-file): Use "rename", when source and
4800 target are on the same share.
87e6e64f
DA
4801 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4802 Use `tramp-smb-server-version'.
2fe4b125
MA
4803 (tramp-smb-wait-for-output): Remove prompt.
4804
4805 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4806 (tramp-methods, tramp-rsh-end-of-line):
4807 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4808 (tramp-save-ad-hoc-proxies): New defcustom.
4809 (tramp-completion-function-alist): Adapt docstring.
4810 (tramp-default-password-end-of-line): Remove defcustom.
4811 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4812 (tramp-user-regexp, tramp-file-name-regexp-unified)
4813 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4814 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4815 (tramp-remote-file-name-spec-regexp): New defconst.
4816 (tramp-file-name-structure): Extend structure for hops.
4817 (tramp-get-method-parameter): Move up.
4818 (tramp-file-name-p, tramp-dissect-file-name)
4819 (with-parsed-tramp-file-name): Handle hops.
4820 (tramp-file-name-hop): New defun.
4821 (tramp-make-tramp-file-name): New optional arg HOP.
4822 (tramp-message-show-progress-reporter-message): New defvar.
4823 (tramp-with-progress-reporter): Use it. We cannot use
4824 `tramp-message-show-message' here, because this suppresses also
4825 error buffers.
4826 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4827 `tramp-message-show-message' is nil.
4828 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4829 (tramp-cleanup): New defun.
4830 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4831 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4832 an error unchanged.
4833 (tramp-completion-handle-file-name-all-completions): Handle hops.
4834 Fix an error when called from ido.
4835 (tramp-completion-dissect-file-name): Use better local variable
4836 name. Add hop to the vector.
4837 (tramp-handle-insert-file-contents): Use progress-reporter for the
4838 whole scenario.
4839 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4840 to `t'.
4841 (tramp-check-for-regexp): Simplify search.
4842 (tramp-enter-password): Remove it. Move implementation ...
4843 (tramp-action-password): ... here.
4844 (tramp-mode-string-to-int, tramp-local-host-p)
4845 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4846 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4847 Set tramp-autoload cookie.
2fe4b125
MA
4848
4849 * net/trampver.el: Update release number.
4850
48512012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4852 Michael Albinus <michael.albinus@gmx.de>
4853
4854 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4855 (tramp-parse-group, tramp-parse-file)
4856 (tramp-parse-shostkeys-sknownhosts): New defuns.
4857 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4858 (tramp-parse-shosts-group, tramp-parse-sconfig)
4859 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4860 (tramp-parse-sknownhosts, tramp-parse-hosts)
4861 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4862 Use them.
4863 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4864 (tramp-parse-putty-group): Don't narrow.
4865 (tramp-parse-putty): Make a loop.
4866 (tramp-file-name-handler): Catch the `suppress' signal.
4867
72834e10
CY
48682012-06-11 Chong Yidong <cyd@gnu.org>
4869
4870 * image.el (imagemagick-register-types): Put the ImageMagick entry
4871 at the end of image-type-file-name-regexps.
4872
a4712e11
JB
48732012-06-11 Johan Bockgård <bojohan@gnu.org>
4874
4875 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4876 (pcase, pcase-let*, pcase-dolist): Use them.
4877
82ad98e3
SM
48782012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * emacs-lisp/pcase.el (pcase--let*): New function.
4881 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4882 (pcase--expand): Use macroexp-let².
4883
f80efb86
SM
48842012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4887 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4888 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4889 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4890 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4891 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4892
31ca4639 48932012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4894
31ca4639
CY
4895 * mail/rmail.el (rmail-yank-current-message): Leave point at
4896 correct position. (Bug#11660)
94f0aa34 4897
31ca4639 48982012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4899
31ca4639 4900 * allout-widgets.el: Fix code header.
9e1b8ec4 4901
31ca4639 49022012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4903
f80efb86
SM
4904 * cus-edit.el (customize-changed-options-previous-release):
4905 Bump to 24.1.
31ca4639 4906
642b6d30
AS
49072012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4908
4909 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4910
4f5d2ba1
CY
49112012-06-09 Chong Yidong <cyd@gnu.org>
4912
4913 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4914
e75852fd
MR
49152012-06-09 Martin Rudalics <rudalics@gmx.at>
4916
4917 * window.el (special-display-popup-frame): Don't use
4918 window--display-buffer (Bug#11651).
4919
1e48e282
EZ
49202012-06-09 Eli Zaretskii <eliz@gnu.org>
4921
8a26b487
EZ
4922 Fix parallel builds: make sure loaddefs.el is not being written
4923 while Lisp files are compiled.
4924 (compile): Don't depend on 'mh-autoloads'.
4925 (compile-CMD, compile-SH): Depend on 'autoloads'.
4926 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4927
1e48e282
EZ
4928 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4929
6175e34b
CY
49302012-06-09 Chong Yidong <cyd@gnu.org>
4931
4932 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4933 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4934 Doc fixes (Bug#11225).
4935
d9857e53
SM
49362012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4937
4938 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4939 a function if there's a clear indication that it has a compiler-macro.
4940 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4941 (macro-declarations-alist): Add arglist to declaration functions.
4942 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4943 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4944 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4945 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4946 Also add autoload to find the compiler macro.
4947 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4948 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4949 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4950 (cl--compiler-macro-get): New functions, replacing calls to
4951 cl-define-compiler-macro.
4952 (cl-typep) [compiler-macro]: Use macroexp-let².
4953
f81298f8 49542012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4955
4956 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4957 string properly, fixes Bug#11473.
4958
4b56d0fe
CY
49592012-06-08 Chong Yidong <cyd@gnu.org>
4960
4961 * faces.el (set-face-attribute): Doc fix.
4962 (modify-face): Don't use :bold and :italic.
4963 (error, warning, success): Tweak definitions.
4964
4965 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4966 (custom-modified, custom-set, custom-changed, custom-themed)
4967 (custom-saved, custom-button, custom-button-mouse)
4968 (custom-button-pressed, custom-state, custom-comment-tag)
4969 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4970 (custom-group-subtitle): Use new-style face specs.
4971 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4972 (custom-set-face, custom-changed-face, custom-saved-face)
4973 (custom-button-face, custom-button-pressed-face)
4974 (custom-documentation-face, custom-state-face)
4975 (custom-comment-face, custom-comment-tag-face)
4976 (custom-variable-tag-face, custom-variable-button-face)
4977 (custom-face-tag-face, custom-group-tag-face-1)
4978 (custom-group-tag-face): Remove obsolete face alias.
4979
4980 * epa.el (epa-validity-high, epa-validity-medium)
4981 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4982 (epa-field-name, epa-field-body):
4983 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4984 (font-lock-keyword-face, font-lock-builtin-face)
4985 (font-lock-function-name-face, font-lock-variable-name-face)
4986 (font-lock-type-face, font-lock-constant-face):
4987 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4988 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4989 * speedbar.el (speedbar-button-face, speedbar-file-face)
4990 (speedbar-directory-face, speedbar-tag-face)
4991 (speedbar-selected-face, speedbar-highlight-face)
4992 (speedbar-separator-face):
4993 * whitespace.el (whitespace-newline, whitespace-space)
4994 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4995 (whitespace-line, whitespace-space-before-tab)
4996 (whitespace-space-after-tab, whitespace-indentation)
4997 (whitespace-empty):
4998 * emulation/cua-base.el (cua-global-mark):
4999 * eshell/em-prompt.el (eshell-prompt):
5000 * net/newst-plainview.el (newsticker-new-item-face)
5001 (newsticker-old-item-face, newsticker-immortal-item-face)
5002 (newsticker-obsolete-item-face, newsticker-date-face)
5003 (newsticker-statistics-face, newsticker-default-face):
5004 * net/newst-reader.el (newsticker-feed-face)
5005 (newsticker-extra-face, newsticker-enclosure-face):
5006 * net/newst-treeview.el (newsticker-treeview-face)
5007 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5008 (newsticker-treeview-immortal-face)
5009 (newsticker-treeview-obsolete-face)
5010 (newsticker-treeview-selection-face):
5011 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5012 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5013 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5014 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5015 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5016 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5017 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5018 (mpuz-text):
5019 * progmodes/vera-mode.el (vera-font-lock-number)
5020 (vera-font-lock-function, vera-font-lock-interface):
5021 * textmodes/table.el (table-cell): Use new-style face specs, and
5022 don't use the old :bold and :italic attributes.
5023
5024 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5025 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5026 (ebrowse-member-class, ebrowse-progress): Likewise.
5027 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5028 (ebrowse-file-name-face, ebrowse-default-face)
5029 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5030 (ebrowse-progress-face): Remove obsolete faces.
5031
5032 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5033 Inherit from error and warning faces respectively.
5034
5035 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5036 Likewise.
f80efb86
SM
5037 (flyspell-incorrect-face, flyspell-duplicate-face):
5038 Remove obsolete aliases.
4b56d0fe 5039
03310646
MA
50402012-06-08 Michael Albinus <michael.albinus@gmx.de>
5041
5042 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5043 Avoid infloop.
5044
513749ee
SM
50452012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * startup.el (argv, argi): Make lexically scoped.
5048 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5049 * emacs-lisp/cl-macs.el: Use lexical-binding.
5050 Rename cl-bind-* to cl--bind-*.
5051 * files.el: Don't require `cl' since it doesn't use it.
5052 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5053
595ef4ad
JB
50542012-06-08 Juanma Barranquero <lekktu@gmail.com>
5055
5056 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5057 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5058 instead of calling external sort utility.
5059 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5060
e9f66fcb
EZ
50612012-06-08 Eli Zaretskii <eliz@gnu.org>
5062
5063 * descr-text.el (describe-char): Mention how to insert the
5064 character, if the current input method doesn't support it.
5065 See the discussion in this thread for the details:
5066 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5067
3d10db47
SS
50682012-06-08 Sam Steingold <sds@gnu.org>
5069
5070 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5071 XF86Back to previous-buffer.
5072 (minibuffer-local-map): Bind them to next-history-element and
5073 previous-history-element respectively.
5074 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5075 help-go-back respectively.
5076 * info.el (Info-mode-map): Bind them to Info-history-forward and
5077 Info-history-back respectively.
5078 These are the keys next to Up on the ThinkPad keyboard.
5079
de7e2b36
SM
50802012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5083 * emacs-lisp/cl-macs.el: Provide itself.
5084 (cl--labels-convert-cache): New var.
5085 (cl--labels-convert): New function.
5086 (cl-flet, cl-labels): New implementation with new semantics, relying on
5087 lexical-binding.
5088 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5089 (cl-closure-vars, cl--function-convert-cache)
5090 (cl--function-convert): Move from cl-macs.el.
5091 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5092 rename by removing the "cl-" prefix.
5093 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5094
6fa6c4ae
SM
50952012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5098 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5099 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5100 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5101 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5102 (cl-hash-table-count): Add old compatibility aliases.
5103
5104 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5105 Use macroexpand-all-environment instead.
5106 (cl--old-macroexpand): New var.
5107 (cl--sm-macroexpand): New function.
5108 (cl-symbol-macrolet): Use it during macro expansion.
5109 (cl--function-convert-cache): New var.
5110 (cl--function-convert): New function, extracted from
5111 cl-macroexpand-all.
5112 (cl-lexical-let): Use it.
5113
5114 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5115 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5116 (cl-member): Remove old alias.
5117
5118 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5119 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5120 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5121 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5122 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5123 (cl-macroexpand-cmacs): Remove var.
5124 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5125 Use macroexpand-all instead.
5126
4dd1c416
SM
51272012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5130 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5131 (macroexp-copyable-p): New functions and macros.
5132 * emacs-lisp/edebug.el (edebug-unwrap):
5133 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5134 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5135 (pcase--let*): Remove.
5136 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5137 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5138 macroexp-const-p instead.
5139 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5140
5141 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5142 instead of "cl-" for internal definitions. Use macroexp-const-p.
5143 (cl-old-bc-file-form): Remove var.
5144 (cl-const-exprs-p): Remove fun.
5145 (cl-labels, cl-macrolet): Use backquote.
5146 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5147 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5148 (cl-define-setf-expander): Rename from cl-define-setf-method.
5149 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5150
5151 * international/mule-cmds.el: Don't require CL.
5152 (view-hello-file): Don't use `letf'.
5153
ed8bd4d7
SM
51542012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5155
7287f2f3
SM
5156 * tmm.el (tmm-prompt): Use string-prefix-p.
5157 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5158 (tmm-add-prompt): Use minibuffer-completion-help.
5159 (tmm-delete-map): Remove.
5160
ed8bd4d7
SM
5161 * subr.el (kbd): Make it its own function.
5162
7b4cdbf4
SM
51632012-06-07 Stefan Merten <smerten@oekonux.de>
5164
5165 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5166 Silence compiler warnings. Fix versions.
ed8bd4d7 5167 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5168 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5169 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5170 (rst-package-emacs-version-alist): Correct Emacs version to
5171 represent major merge with upstream.
ed8bd4d7 5172 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5173
2b48d721
GM
51742012-06-06 Glenn Morris <rgm@gnu.org>
5175
5176 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5177 Only print environment variables if set.
5178
fa779ab0
SM
51792012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5182 (macroexp--cons): Rename from maybe-cons.
5183 (macroexp--accumulate): Rename from macroexp-accumulate.
5184 (macroexp--all-forms): Rename from macroexpand-all-forms.
5185 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5186 (macroexp--expand-all): Rename from macroexpand-all-1.
5187
628299e0
SS
51882012-06-06 Sam Steingold <sds@gnu.org>
5189
5190 * calendar/calendar.el (calendar-in-read-only-buffer):
5191 Call `special-mode' to enable the standard read-only keybindings.
5192
b7bb5838
SM
51932012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5196 with "loading" messages (bug#11635).
5197
dfb308ba
MA
51982012-06-06 Michael Albinus <michael.albinus@gmx.de>
5199
5200 * files.el (enable-remote-dir-locals): New option.
5201 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5202
0372ee92
MA
5203 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5204 Ensure, that the temp directory is local.
5205
5206 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5207 `temporary-file-directory'.
5208
eed0bb91
MA
5209 * progmodes/python.el (python-send-region): Ensure, that the
5210 temporary file is created also in the remote case.
5211
7a58f64d
GM
52122012-06-06 Glenn Morris <rgm@gnu.org>
5213
f7dd4e98
GM
5214 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5215 (vc-rcs-update-changelog): Use it.
5216
090bd7cb 5217 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5218
7a58f64d
GM
5219 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5220 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5221 (vc-sccs-diff): Replace use of the external vcdiff script.
5222
daed4003
GM
52232012-06-05 Glenn Morris <rgm@gnu.org>
5224
5225 * ledit.el: Move to obsolete/.
5226
48c455c7
SS
52272012-06-05 Sam Steingold <sds@gnu.org>
5228
ed9265fc 5229 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5230 patch (Bug#11140).
5231
57a7d507
SM
52322012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5233
090bd7cb 5234 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5235
53aacf21
SM
5236 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5237 compiler-macro expansion.
5238
57a7d507
SM
5239 Add native compiler-macro support.
5240 * emacs-lisp/macroexp.el (macroexpand-all-1):
5241 Support compiler-macros directly. Properly follow aliases and apply
5242 the compiler macros more thoroughly.
5243 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5244 macroexpand now properly follows aliases.
5245 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5246 (cl-compiler-macroexpand): Use new prop.
5247 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5248
5249 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5250
51a5f9d8
MR
52512012-06-05 Martin Rudalics <rudalics@gmx.at>
5252
5253 * window.el (get-lru-window, get-mru-window, get-largest-window):
5254 New argument NOT-SELECTED to avoid picking the selected window.
5255 (window--display-buffer-1, window--display-buffer-2): Replace by
5256 new function window--display-buffer
5257 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5258 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5259 Use window--display-buffer.
51a5f9d8
MR
5260 (display-buffer-use-some-window): Remove temporary dedication
5261 hack by calling get-lru-window and get-largest-window with
5262 NOT-SELECTED argument non-nil. Call window--display-buffer.
5263
08f9f738
GM
52642012-06-05 Glenn Morris <rgm@gnu.org>
5265
5266 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5267 Replace external vcdiff script.
5268
e364a2b7
SM
52692012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5272
041df390
CY
52732012-06-04 Chong Yidong <cyd@gnu.org>
5274
e364a2b7
SM
5275 * image.el (imagemagick-types-inhibit): Revert last change.
5276 Add INFO and M.
47b36b94 5277 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5278
7c1898a7
SM
52792012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5280
5281 * emacs-lisp/cl-lib.el: Rename from cl.el.
5282 * emacs-lisp/cl.el: New compatibility file.
5283 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5284 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5285 to obey the "cl-" prefix.
5286 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5287
0c3461de
GM
52882012-06-03 Glenn Morris <rgm@gnu.org>
5289
1e266c88
GM
5290 * emacs-lisp/authors.el (authors-aliases): Addition.
5291
0c3461de
GM
5292 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5293 Fix :version.
5294
d8a52e15
SM
52952012-06-03 Stefan Merten <smerten@oekonux.de>
5296
5297 * textmodes/rst.el: Add comments.
5298 (rst-transition, rst-adornment): New faces.
5299 (rst-adornment-faces-alist): Make default safe to reevaluate.
5300 Fixes
5301 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5302 Improve customization tags.
5303 (rst-define-level-faces): Clarify meaning.
5304
5205d6f6
CY
53052012-06-03 Chong Yidong <cyd@gnu.org>
5306
5307 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5308 (compilation-mode-line-run, compilation-mode-line-exit):
5309 New faces.
5205d6f6
CY
5310 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5311
757ee657
JD
53122012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5313
7c1898a7
SM
5314 * progmodes/which-func.el (which-func-update-ediff-windows):
5315 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5316
5f2c76c6
CY
53172012-06-03 Chong Yidong <cyd@gnu.org>
5318
5319 * bindings.el: Remove explicit help text from format-mode-line.
5320 It is now supplied by mode-line-default-help-echo.
5321 (mode-line-front-space, mode-line-end-spaces)
5322 (mode-line-misc-info): New variables.
5323 (mode-line-modes, mode-line-position): Move the default value to
5324 the variable definition.
5325 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5326 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5327 (mode-line-modified-help-echo): New functions.
5328 (mode-line-mule-info, mode-line-modified): Use them.
5329 (mode-line-eol-desc, propertized-buffer-identification):
5330 Consistency fixes for help text.
cbe46e5f
CY
5331 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5332 set-buffer-file-coding-system (Bug#289).
5333 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5334
f2d6a3df
SM
53352012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * simple.el (execute-extended-command): Set real-this-command
5338 (bug#11506).
5339
37269466
CY
53402012-06-02 Chong Yidong <cyd@gnu.org>
5341
5342 Remove incorrect uses of "modeline" in comments, docstrings, and
5343 function/variable names (Bug#10329).
5344
5345 * cus-edit.el (mode-line):
5346 * dframe.el (dframe-mouse-hscroll):
5347 * emacs-lisp/re-builder.el:
5348 * emacs-lisp/easy-mmode.el (define-minor-mode):
5349 * frame.el (set-frame-name):
5350 * help.el (lookup-minor-mode-from-indicator):
5351 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5352 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5353 (c-toggle-hungry-state):
5354 * progmodes/antlr-mode.el (antlr-language-alist):
5355 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5356 * progmodes/vhdl-mode.el (vhdl-mode):
5357 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5358 * term/ns-win.el (ns-face-at-pos):
5359 * term/sup-mouse.el (sup-mouse-report):
5360 * textmodes/flyspell.el (flyspell-mode-line-string):
5361 * textmodes/ispell.el (ispell-highlight-face):
5362 * textmodes/reftex-global.el:
5363 * vc/vc-arch.el (vc-arch-mode-line-string):
5364 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5365 * vc/vc-git.el (vc-git-mode-line-string):
5366 * vc/vc-hooks.el (vc-display-status)
5367 (vc-default-mode-line-string):
5368 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5369
5370 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5371
5372 * dired.el (dired-sort-set-mode-line): Rename from
5373 dired-sort-set-modeline. All callers changed.
5374
5375 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5376 eshell-status-in-modeline.
5377
5378 * foldout.el (foldout-mode-line-string): Rename from
5379 foldout-modeline-string. All callers changed.
5380 (foldout-update-mode-line): Rename from foldout-update-modeline.
5381
5382 * subr.el (redraw-modeline): Make into obsolete alias.
5383
5384 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5385 timeclock-modeline-display. Make old name an alias.
5386 (timeclock-update-mode-line): Likewise. All callers changed.
5387 (timeclock-mode-line-display): No need to check before using
5388 add-hook.
5389 (timeclock-relative, timeclock-day-over-hook)
5390 (timeclock-use-elapsed, timeclock-mode-string)
5391 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5392
5393 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5394 crisp-mode-modeline-string.
5395
5396 * play/solitaire.el (solitaire-build-mode-line): Rename from
5397 solitaire-build-modeline. All callers changed.
5398
5399 * play/zone.el (zone-hiding-mode-line): Rename from
5400 zone-hiding-modeline. All callers changed.
5401 (zone): Remove unusued `modeline-hidden-level' property.
5402
5403 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5404 xscheme-modeline-initialize. All callers changed.
5405
5406 * strokes.el (strokes-lighter): Rename from
5407 strokes-modeline-string.
5408
5409 * textmodes/sgml-mode.el (html-face-tag-alist)
5410 (html-tag-face-alist): Use mode-line face instead of obsolete
5411 alias modeline.
5412
42152ee4
SM
54132012-06-02 Stefan Merten <smerten@oekonux.de>
5414
5415 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5416 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5417
95f520b5
CY
54182012-06-02 Chong Yidong <cyd@gnu.org>
5419
5420 * image.el (imagemagick-enabled-types): Rename from
5421 imagemagick-types-enable. Add many more types.
5422 (imagemagick-types-inhibit): Change default to nil.
5423 (imagemagick-filter-types): Caller changed.
5424
4a5f187a
SM
54252012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5426
03fef3e6
SM
5427 * emacs-lisp/cl-macs.el: Use backquotes.
5428 (cl-transform-function-property): Use eval-and-compile rather than
5429 abusing `require'.
5430 (defstruct): Use declare-function instead of with-no-warnings.
5431
4a5f187a
SM
5432 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5433 (byte-compile-output-docform): Re-add the print-circle bindings.
5434 (byte-compile-fix-header): Use #$ just because it's shorter.
5435 (byte-compile-output-file-form): Remove defun/defmacro.
5436
bd56924f
MR
54372012-06-01 Martin Rudalics <rudalics@gmx.at>
5438
5439 * simple.el (choose-completion): Remove now obsolete binding for
5440 owindow.
5441
046e38ce
MA
54422012-06-01 Michael Albinus <michael.albinus@gmx.de>
5443
5444 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5445 in order to avoid "Stack overflow in regexp matcher".
5446
32d72c2f
GM
54472012-05-31 Glenn Morris <rgm@gnu.org>
5448
5449 * image.el: For clarity, call imagemagick-register-types at
5450 top-level, rather than relying on a custom :initialize.
5451 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5452 (imagemagick-filter-types): New function. (Bug#7406)
5453 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5454 If disabling support, remove elements altogether rather
5455 than using an impossible regexp.
5456 (imagemagick-types-inhibit): Give it the default init function.
5457
dd41169b
SM
54582012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5459
4a5f187a
SM
5460 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5461 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5462
efc00ab1 54632012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5464
5465 * desktop.el (desktop-read): Clear previous and next buffers for
5466 all windows and bury *Messages* buffer (bug#11556).
5467
500fcedc
SM
54682012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 Add `declare' for `defun'. Align `defmacro's with it.
5471 * emacs-lisp/easy-mmode.el (define-minor-mode)
5472 (define-globalized-minor-mode): Don't autoload the var definitions.
5473 * emacs-lisp/byte-run.el: Use lexical-binding.
5474 (defun-declarations-alist, macro-declarations-alist): New vars.
5475 (defmacro, defun): Use them.
5476 (make-obsolete, define-obsolete-function-alias)
5477 (make-obsolete-variable, define-obsolete-variable-alias):
5478 Use `declare'.
5479 (macro-declaration-function): Mark obsolete.
5480 * emacs-lisp/autoload.el: Use lexical-binding.
5481 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5482
6e8a1786
AM
54832012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5484
5485 * textmodes/ispell.el (ispell-with-no-warnings):
5486 Define as a macro.
500fcedc
SM
5487 (ispell-kill-ispell, ispell-change-dictionary):
5488 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5489 `interactive-p'.
5490
61b108cc
SM
54912012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5494 (macro-declaration-function): Move var from C code.
5495 (macro-declaration-function): Define function with defalias.
5496 * emacs-lisp/macroexp.el (macroexpand-all-1):
5497 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5498 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5499 defun/defmacro any more.
5500 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5501 Provide fallback for unknown arglist.
5502 (byte-compile-arglist-warn): Change calling convention.
5503 (byte-compile-output-file-form): Move print-vars binding.
5504 (byte-compile-output-docform): Simplify accordingly.
5505 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5506 (byte-compile-defmacro-declaration): Remove.
5507 (byte-compile-file-form-defmumble): Generalize to defalias.
5508 (byte-compile-output-as-comment): Return byte-positions.
5509 Simplify callers accordingly.
5510 (byte-compile-lambda): Use `assert'.
5511 (byte-compile-defun, byte-compile-defmacro): Remove.
5512 (byte-compile-file-form-defalias):
5513 Use byte-compile-file-form-defmumble.
5514 (byte-compile-defalias-warn): Remove.
5515
6d3f7c2f
SM
55162012-05-29 Stefan Merten <smerten@oekonux.de>
5517
5518 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5519 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5520
5521 (rst-mode-abbrev-table): Merge definition.
5522 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5523 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5524
6dbaa1c7
UJ
55252012-05-29 Ulf Jasper <ulf.jasper@web.de>
5526
5527 * calendar/icalendar.el
5528 (icalendar-export-region): Export UID properly.
5529
d209e2fb 55302012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5531 * calendar/icalendar.el (icalendar-import-format):
5532 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5533 (icalendar-import-format-uid): New.
5534 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5535 Export UID.
5536
6876a58d
SM
55372012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5540 different alternative patterns.
5541 (pcase-codegen): Be more careful to preserve identity.
5542 (pcase--u1): Don't forget to mark vars as used.
5543
5544 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5545 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5546 (byte-compile-from-buffer): ...rather than here.
5547
5548 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5549 functions from byte-compile-function-environment.
5550
46b7967e
TN
55512012-05-29 Troels Nielsen <bn.troels@gmail.com>
5552
5553 * window.el (window-deletable-p): Avoid deleting the root window
5554 of a frame with an active minibuffer.
5555
69d565e2
MR
55562012-05-29 Martin Rudalics <rudalics@gmx.at>
5557
5558 * simple.el (choose-completion): Use quit-window (Bug#11567).
5559
a149fa51
CY
55602012-05-29 Chong Yidong <cyd@gnu.org>
5561
5562 * whitespace.el (whitespace-cleanup): Fix usage of
5563 whitespace-empty-at-bob-regexp (Bug#11492).
5564
2b311310
AH
55652012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5566
5567 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5568 revert (Bug#11488).
5569
b9cb2387
JL
55702012-05-29 Juri Linkov <juri@jurta.org>
5571
5572 * isearch.el (isearch-mode-map): Bind `M-s _' to
5573 `isearch-toggle-symbol'. Bind `M-s c' to
5574 `isearch-toggle-case-fold'.
5575 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5576 (isearch-forward): Add `M-s _' to the docstring.
5577 (isearch-forward-symbol, isearch-toggle-case-fold)
5578 (isearch-symbol-regexp): New functions. (Bug#11381)
5579
d5e61c1c
JL
55802012-05-29 Juri Linkov <juri@jurta.org>
5581
5582 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5583 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5584 a function, call it to get the regexp.
5585 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5586 property `isearch-message-prefix' instead of the string "word ".
5587 (isearch-search-fun-default): For the case of `isearch-word',
5588 return a lambda that calls re-search-forward/re-search-backward
5589 with a regexp returned by `word-search-regexp' or by the function
5590 in `isearch-word'.
5591
8cbd80f7
JL
55922012-05-29 Juri Linkov <juri@jurta.org>
5593
5594 * isearch.el (isearch-search-fun-default): New function.
5595 (isearch-search-fun): Move default part to the new function
5596 `isearch-search-fun-default'.
5597 (isearch-search-fun-function): Set the default value to
5598 `isearch-search-fun-default'. (Bug#11381)
5599
5600 * comint.el (comint-history-isearch-end):
5601 Use `isearch-search-fun-default'.
5602 (comint-history-isearch-search): Use `isearch-search-fun-default'
5603 and remove spacial case for `isearch-word'.
5604 (comint-history-isearch-wrap): Remove spacial case for
5605 `isearch-word'.
5606
5607 * hexl.el (hexl-isearch-search-function):
5608 Use `isearch-search-fun-default'.
5609
5610 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5611 Use `word-search-regexp' for `isearch-word'.
5612
5613 * misearch.el (multi-isearch-search-fun):
5614 Use `isearch-search-fun-default'.
5615
5616 * simple.el (minibuffer-history-isearch-search):
5617 Use `isearch-search-fun-default' and remove spacial case for
5618 `isearch-word'.
5619 (minibuffer-history-isearch-wrap): Remove spacial case for
5620 `isearch-word'.
5621
5622 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5623 Remove spacial case for `isearch-word'.
5624 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5625
85c8c5b6
AM
56262012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5627
5628 Decrease XEmacs incompatibilities.
5629 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5630 Use `string-match'.
5631 (flyspell-delete-region-overlays): Use alternative definition for
5632 XEmacs.
5633 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5634 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5635 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5636 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5637 `define-obsolete-face-alias' under XEmacs, but old method.
5638
5639 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5640 `with-no-warnings' definition or Emacs alias.
5641 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5642 (ispell-word): Do not use `region-p' if XEmacs.
5643
8cab9efc
AM
56442012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5645
5646 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5647 Check for `ispell-dictionary-base-alist' instead of full
5648 `ispell-dictionary-alist'.
5649 (ispell-init-process): Show spellchecker when starting new Ispell
5650 process.
5651
fda91268
RZ
56522012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5655 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5656
694ea8e3
JB
56572012-05-27 Juanma Barranquero <lekktu@gmail.com>
5658
5659 * version.el (motif-version-string, gtk-version-string)
5660 (ns-version-string): Declare.
5661
e4d4f539
JL
56622012-05-27 Juri Linkov <juri@jurta.org>
5663
5664 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5665 after the `eval-defun-1' specialcaseing
5666 like in `edebug-eval-defun' (bug#10181).
5667
5668 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5669 like in `eval-defun-1'.
5670
33017faf 56712012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5672
fda91268
RZ
5673 * mail/sendmail.el (mail-yank-region):
5674 Recognize rmail-yank-current-message in addition to insert-buffer.
5675 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5676 a *mail* buffer created through rmail-start-mail with sendmail as
5677 mail-user-agent.
5678
33017faf
GM
56792012-05-27 Chong Yidong <cyd@gnu.org>
5680
5681 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5682 Default to 256 (Bug#11267).
5683
5684 * help.el (describe-mode): Doc fix.
5685
04188bb9
GM
56862012-05-26 Glenn Morris <rgm@gnu.org>
5687
38264cc9
GM
5688 * w32-fns.el (w32-init-info): Remove.
5689 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5690
eb7afdad
GM
5691 * info.el (info-initialize): For self-contained NS builds, put the
5692 included info/ directory at the front. (Bug#2791)
5693
04188bb9
GM
5694 * paths.el (Info-default-directory-list): Make it a defcustom,
5695 mainly so that we can use custom-initialize-delay.
5696
a179e3f7
SM
56972012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5698
43416392
SM
5699 * subr.el (buffer-has-markers-at): Mark obsolete.
5700
a179e3f7 5701 * subr.el (lambda): Use declare.
43416392 5702
a179e3f7
SM
5703 * emacs-lisp/lisp-mode.el (lambda):
5704 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5705
34a008d9
AH
57062012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5707
5708 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5709
0a3b289f
GM
57102012-05-26 Glenn Morris <rgm@gnu.org>
5711
5712 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5713
758c81e8
GM
57142012-05-25 Glenn Morris <rgm@gnu.org>
5715
f9f334f0
GM
5716 * paths.el: Remove no-byte-compile.
5717 * loadup.el: No need to load paths.el uncompiled.
5718
87eb79c2
GM
5719 * image.el (imagemagick-types-inhibit): Doc fix.
5720
758c81e8
GM
5721 * version.el: Remove no-byte-compile and associated formatting.
5722 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5723 is ancient code from when there was an "inc-vers.el".
5724
e7e85dc0
SM
57252012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * progmodes/gdb-mi.el: Minor style changes.
5728 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5729 Turn into minor modes.
5730 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5731 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5732 (gdb-shell): Remove unneeded let-binding.
5733 (gdb-get-many-fields): Eliminate O(n²) behavior.
5734
f31237a4
EZ
57352012-05-25 Eli Zaretskii <eliz@gnu.org>
5736
5737 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5738 platforms that don't link in fontset.c.
5739
bc1b21bb
JL
57402012-05-25 Juri Linkov <juri@jurta.org>
5741
5742 Use the same diff color scheme as in modern VCSes (bug#10181).
5743
5744 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5745 to avoid confusion with `diff-added' that now uses green colors.
5746 (diff-removed): Use shades of red.
5747 (diff-added): Use shades of green.
5748 (diff-changed): Leave just the yellow color.
5749 (diff-use-changed-face): New variable.
5750 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5751 how to highlight context diff changes.
5752 (diff-refine-change): Use shades of yellow.
5753 (diff-refine-removed): New face that uses shades of red.
5754 (diff-refine-added): New face that uses shades of green.
5755 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5756 `diff-refine-removed' in the call to `smerge-refine-subst'
5757 depending on the value of `diff-use-changed-face'.
5758
5759 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5760 (smerge-other): Use shades of green.
5761 (smerge-base): Use shades of yellow.
5762 (smerge-refined-change): Empty face.
5763 (smerge-refined-removed): New face that uses shades of red.
5764 (smerge-refined-added): New face that uses shades of green.
5765 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5766 args `props-r' and `props-a', and use them. Doc fix.
5767 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5768 on its value use different faces `smerge-refined-change',
5769 `smerge-refined-removed', `smerge-refined-added' in the call to
5770 `smerge-refine-subst'.
5771
5772 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5773 Add face condition `min-colors 88' with shades of red.
5774 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5775 `min-colors 88' with shades of green.
5776 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5777 `min-colors 88' with shades of yellow.
5778
6df9112c
GM
57792012-05-24 Glenn Morris <rgm@gnu.org>
5780
ead5edc0
GM
5781 * paths.el (prune-directory-list, remote-shell-program): Move to...
5782 * files.el (prune-directory-list, remote-shell-program): ...here.
5783 For the latter, delay initialization, prefer ssh, just search PATH.
5784
f18b81e6
GM
5785 * paths.el (term-file-prefix): Move to faces.el (the only user).
5786 * faces.el (term-file-prefix): Move here, make it a defcustom.
5787
ee2f89a6
GM
5788 * paths.el (news-directory, news-path, news-inews-program):
5789 Move to gnus/nnspool.el.
61a583ca 5790
f8815e4c
GM
5791 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5792
c8f3b42c
GM
5793 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5794 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5795 Make the latter a defcustom, with a delayed initialization.
5796
6df9112c
GM
5797 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5798 These were deleted from Gnus itself late 2010.
5799
5dadff36
JB
58002012-05-22 Juanma Barranquero <lekktu@gmail.com>
5801
9e1701c6
JB
5802 * progmodes/which-func.el (which-func-ff-hook):
5803 Check against user-error, not error.
5804
bd7239f5 5805 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5806 cl-specs.el, which no longer exists.
5807
3290526d
GM
58082012-05-22 Glenn Morris <rgm@gnu.org>
5809
5810 * info.el (info-emacs-bug): New command.
5811 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5812 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5813
ff0c3cfb
GM
58142012-05-21 Glenn Morris <rgm@gnu.org>
5815
5816 * makefile.w32-in (update-subdirs-SH):
5817 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5818
5814f126
SM
58192012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5820
a52c0aa0
SM
5821 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5822
5814f126
SM
5823 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5824 Simplify Maven regexp, and make sure the file can't start with a space
5825 (bug#11517).
5826
b847032c
GM
58272012-05-21 Glenn Morris <rgm@gnu.org>
5828
5829 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5830 Scrap superfluous subshells.
5831
3858bfe7
SM
58322012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5833
5834 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5835 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5836
d14b0029
JB
58372012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5838
5839 * calc/calc.el (calc-ensure-consistent-units): New variable.
5840
a52c0aa0
SM
5841 * calc/calc-units.el (math-consistent-units-p)
5842 (math-check-unit-consistency): New functions.
5843 (calc-quick-units, calc-convert-units):
5844 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5845 is non-nil.
d14b0029
JB
5846 (calc-extract-units): Fix typo.
5847
60c4db3a
SM
58482012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5849
77f3b62e
SM
5850 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5851
60c4db3a
SM
5852 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5853 (flyspell-default-deplacement-commands): Don't spell check after
5854 repeated window/frame switches (e.g. triggered by mouse-movement).
5855 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5856 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5857 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5858 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5859 Remove unused vars.
5860 (flyspell-get-casechars, flyspell-get-not-casechars):
5861 Simplify; Don't bother removing a ] just to add it back.
5862 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5863
d209e2fb 58642012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5865
5866 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5867 New functions.
bd7239f5 5868 (math-function-table): Add support for more C functions.
b1a10716 5869
3f1b25b5
AM
58702012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5871
090bd7cb
JB
5872 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5873 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5874 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5875
b581bb5c
SM
58762012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5879 their respective macro declarations.
5880 * skeleton.el (define-skeleton):
5881 * progmodes/compile.el (define-compilation-mode):
5882 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5883 (define-ibuffer-filter):
5884 * emacs-lisp/generic.el (define-generic-mode):
5885 * emacs-lisp/easy-mmode.el (define-minor-mode)
5886 (define-globalized-minor-mode):
5887 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5888 * emacs-lisp/byte-run.el (defsubst):
5889 * custom.el (deftheme): Add doc-string metadata.
5890
70b8ef8f
SM
58912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5894
b1198e17
SM
58952012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5896
9abdc45d
SM
5897 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5898
b1198e17
SM
5899 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5900 * emacs-lisp/cl-macs.el: Idem.
5901 * emacs-lisp/cl-specs.el: Remove.
5902
4735906a
SM
59032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 Minor renaming of internal CL functions and variables.
5906 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5907 (cl--position): Rename from cl-position.
5908 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5909 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5910 (cl--random-state): Rename from *random-state*.
5911
ac348012
SM
59122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5915 parens around the arg list (bug#11499).
5916
a0a79cde
JL
59172012-05-17 Juri Linkov <juri@jurta.org>
5918
5919 * isearch.el (word-search-regexp, word-search-backward)
5920 (word-search-forward, word-search-backward-lax)
5921 (word-search-forward-lax): Move functions from search.c
5922 (bug#10145, bug#11381).
5923
65034a51
AM
59242012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5925
090bd7cb
JB
5926 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5927 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5928 Delay for otherchars as for normal word components.
65034a51 5929
1a72a195
SM
59302012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5931
5932 * minibuffer.el (completion--sifn-requote): Fix last change.
5933 (minibuffer-local-must-match-filename-map):
5934 Move define-obsolete-variable-alias before its var.
5935
fdb058c2
SM
59362012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5937
c41045e6
SM
5938 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5939
036dfb8b
SM
5940 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5941 behavior.
5942 (completion--string-equal-p): New function.
5943 (completion--twq-all): Use it to get better assertion failure data.
5944
2473256d
SM
5945 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5946 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5947 (shell--requote-argument): New functions.
5948 (shell-completion-vars): Use them.
5949 (shell--parse-pcomplete-arguments): Rename from
5950 shell-parse-pcomplete-arguments.
5951 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5952 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5953 Obey comint-file-name-quote-list.
5954
fdb058c2
SM
5955 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5956 (smie-indent-keyword): Use it.
5957
51fa99f1
SM
59582012-05-14 Stefan Merten <smerten@oekonux.de>
5959
5960 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5961
e18afed7 59622012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5963
5964 * net/rlogin.el (rlogin-mode-map): Fix last change.
5965
e18afed7 59662012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5967
5968 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5969 the following \r\n using a single `process-send-string', since the
5970 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5971 with two `process-send-string's (Bug#11444).
8633b1f4 5972
e18afed7 59732012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5974
fdb058c2
SM
5975 * shell.el (shell-parse-pcomplete-arguments):
5976 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5977
2d21d7f6
WJ
59782012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5979
e18afed7 5980 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5981 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5982 (image-transform-width, image-transform-fit-width): New functions.
5983 (image-transform-properties): Use them.
5984 (image-transform-check-size): New function.
5985 (image-toggle-display-image): Use it (for testing).
5986 (image-transform-set-rotation): Reduce angle mod 360.
5987 Delete obsolete comment.
5988
7102e6d0
WJ
59892012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5990
5991 * image-mode.el: Fix scaling (bug#11399).
5992 (image-transform-resize): Doc fix.
5993 (image-transform-properties): Default scale is 1 and height should
5994 be an integer.
5995
06bc5e6e
SM
59962012-05-13 Johan Bockgård <bojohan@gnu.org>
5997
5998 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5999 than hard-coding `car', to fix misbehavior when moving forward.
6000
0ae03b6a
CY
60012012-05-13 Chong Yidong <cyd@gnu.org>
6002
6003 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6004 (tabulated-list-entries, tabulated-list-padding)
6005 (tabulated-list-sort-key): Make permanent-local.
6006
6007 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6008 (electric-buffer-list): Put electric buffer menu
6009 command descriptions in this docstring, instead of the docstring
6010 of electric-buffer-menu-mode. Code cleanups.
6011 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6012 Electric-buffer-menu-mode.
6013 (electric-buffer-update-highlight): Minor code cleanup.
6014
205a7391
MA
60152012-05-13 Michael Albinus <michael.albinus@gmx.de>
6016
6017 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6018 (Bug#11447)
6019
e5bd0a28
SM
60202012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 Move define-obsolete-variable-alias before the var's definition.
6023 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6024 * tooltip.el (tooltip-hook):
6025 * textmodes/reftex-toc.el (reftex-toc-map):
6026 * textmodes/reftex-sel.el (reftex-select-label-map)
6027 (reftex-select-bib-map):
6028 * textmodes/reftex-index.el (reftex-index-map)
6029 (reftex-index-phrases-map):
6030 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6031 * progmodes/meta-mode.el (meta-mode-map):
6032 * novice.el (disabled-command-hook):
6033 * loadhist.el (unload-hook-features-list):
6034 * frame.el (blink-cursor):
6035 * files.el (find-file-not-found-hooks, write-file-hooks)
6036 (write-contents-hooks):
6037 * emulation/tpu-edt.el (GOLD-map):
6038 * emacs-lock.el (emacs-lock-from-exiting):
6039 * emacs-lisp/generic.el (generic-font-lock-defaults):
6040 * emacs-lisp/chart.el (chart-map):
6041 * dos-fns.el (register-name-alist):
6042 * dired-x.el (dired-omit-files-p):
6043 * desktop.el (desktop-enable):
6044 * cus-edit.el (custom-mode-hook):
6045 * buff-menu.el (buffer-menu-mode-hook):
6046 * bookmark.el (bookmark-read-annotation-text-func)
6047 (bookmark-exit-hooks):
6048 * allout.el (allout-mode-deactivate-hook)
6049 (allout-exposure-change-hook, allout-structure-added-hook)
6050 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6051 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6052 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6053 comes before the corresponding variable's definition.
6054
ac59c2f6
CY
60552012-05-12 Chong Yidong <cyd@gnu.org>
6056
6057 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6058 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6059 (Buffer-menu-mode-map): Bind it.
6060 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6061
dee6c9a3
SM
60622012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6063
2171cea5
SM
6064 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6065 (prolog-upper-case-string, prolog-lower-case-string)
6066 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6067 (prolog-use-smie, prolog-smie-grammar): New vars.
6068 (prolog-smie-forward-token, prolog-smie-backward-token)
6069 (prolog-smie-rules): New funs.
6070 (prolog-comment-indent): Remove.
6071 (prolog-mode-variables): Use default comment indentation instead.
6072 Setup SMIE.
6073 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6074 (prolog-mode): Don't call them any more.
6075 (prolog-electric-colon, prolog-electric-dash)
6076 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6077
aa0382bd
SM
6078 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6079
dbacb4bd
SM
6080 * minibuffer.el (completion--twq-all): Again, allow case differences.
6081
13bdd94c
SM
6082 * term.el: Move keymap initialization code to be more idiomatic.
6083 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6084 (term-terminal-menu): Move initialization into declaration.
6085 (term-escape-char): Let the user set it in her .emacs.
6086
ff46c759
SM
6087 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6088 Provide SMIE-based indentation (not enabled by default yet).
6089 (sh-mode-map): Don't bind electric keys.
6090 Use electric-pair-mode instead of skeleton-pair.
6091 (sh-assignment-regexp): Fit within 80 columns.
6092 (sh-indent-supported): Specify actual shell name instead of boolean.
6093 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6094 (sh-maybe-here-document): Use it. Make obsolete.
6095 (sh-electric-here-document-mode) New minor mode.
6096 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6097 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6098 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6099 (sh-smie-rc-grammar, sh-use-smie): New vars.
6100 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6101 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6102 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6103 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6104 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6105 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6106 (sh-set-shell): Use smie-setup if requested.
6107
dee6c9a3
SM
6108 * term.el (term-set-escape-char): Properly set term-escape-char.
6109 See http://stackoverflow.com/questions/10524656.
6110
9f9aa044
CY
61112012-05-10 Chong Yidong <cyd@gnu.org>
6112
6113 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6114 Use url-generic-parse-url, and handle host names and Windows
6115 filenames properly.
6116 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6117 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6118 URL schemes to work on.
6119 (ffap--toggle-read-only): New function.
6120 (ffap-read-only, ffap-read-only-other-window)
6121 (ffap-read-only-other-frame): Use it.
6122 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6123 necessary for ffap-url-unwrap-remote.
6124
836d29b3
DA
61252012-05-10 Dave Abrahams <dave@boostpro.com>
6126
6127 * cus-start.el (create-lockfiles): Add it.
6128
00fd78ed
CY
61292012-05-09 Chong Yidong <cyd@gnu.org>
6130
6131 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6132 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6133
666b903b 61342012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6135
6136 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6137
666b903b 61382012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6139
6140 * ansi-color.el (ansi-color-process-output): Check for validity of
6141 comint-last-output-start before using it. This avoids a bad
6142 interaction with gdb-mi's input/output buffer.
6143
666b903b 61442012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6145
6146 * files.el (dir-locals-read-from-file):
6147 Mention dir-locals in any error message.
6148
666b903b 61492012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6150
6151 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6152 package (Bug#11410).
6153
f677562b
CY
6154 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6155 variables into description.
6156
666b903b 61572012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6158
6159 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6160 shell-delimiter-argument-list (bug#11348).
6161 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6162
b499d8d0
JB
61632012-05-09 Juanma Barranquero <lekktu@gmail.com>
6164
8f6b6da8
JB
6165 * textmodes/rst.el: Silence byte-compiler warnings.
6166 (rst-re-alist, rst-reset-section-caches): Move around.
6167 (rst-re): Use `characterp', not `char-valid-p'.
6168 (font-lock-beg, font-lock-end): Declare.
6169
4824146a
JB
6170 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6171 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6172
b499d8d0
JB
6173 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6174
ad89bb83
GM
61752012-05-08 Glenn Morris <rgm@gnu.org>
6176
6177 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6178
8bba5a75
SM
61792012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6180
49ed9c8e
SM
6181 * vc/log-edit.el: Add GNU coding standards highlighting.
6182 (log-edit-font-lock-gnu-style)
6183 (log-edit-font-lock-gnu-keywords): New vars.
6184 (log-edit-font-lock-keywords): New fun.
6185 (log-edit-mode): Don't fold case in font-lock.
6186 (log-edit-font-lock-keywords): Do not assume case-folding.
6187
07d00b56
SM
6188 * imenu.el: Misc cleanup. Make docstrings out of comments.
6189 Use lexical-binding.
6190 (imenu--index-alist, imenu--last-menubar-index-alist)
6191 (imenu-menubar-modified-tick): Use defvar-local.
6192 (imenu--split-menu): Remove unused var.
6193 (imenu--cleanup-seen): Declare as global.
6194 (imenu--cleanup): Use dolist.
6195
8bba5a75
SM
6196 * subr.el (defvar-local): Add debug spec and doc-string position.
6197
5075bdb5
GM
61982012-05-08 Glenn Morris <rgm@gnu.org>
6199
090bd7cb 6200 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6201 * language/english.el, language/georgian.el, language/greek.el:
6202 * language/japanese.el, language/khmer.el, language/korean.el:
6203 * language/lao.el, language/misc-lang.el, language/romanian.el:
6204 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6205 * language/thai.el, language/utf-8-lang.el:
6206 Remove no-byte-compile setting.
6207
5075bdb5
GM
6208 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6209
06f679a7
AH
62102012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6211
6212 * progmodes/make-mode.el (makefile-browse):
6213 Remove unnecessary interactive. (Bug#11324)
6214
03794570
GM
62152012-05-07 Glenn Morris <rgm@gnu.org>
6216
af8630f4
GM
6217 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6218
03794570
GM
6219 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6220
f0809a9d
SM
62212012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6222
28be5ce7
SM
6223 * loadup.el: Preload newcomment.el.
6224 * newcomment.el: Move autoload-only code to toplevel.
6225
f0809a9d
SM
6226 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6227 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6228 Handle new :right-align column property.
6229 (tabulated-list-print-col): Idem, plus use `display' text-property to
6230 try and preserve alignment for variable pitch fonts.
6231
1241b724
CY
62322012-05-07 Chong Yidong <cyd@gnu.org>
6233
6234 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6235 (tabulated-list-use-header-line): New var.
6236 (tabulated-list-init-header): Use it.
6237 (tabulated-list-print-fake-header): New function.
6238 (tabulated-list-print): Use it.
6239 (tabulated-list-sort-button-map): Add non-header-line commands.
6240 (tabulated-list-init-header): Add column name property to basic
6241 labels as well.
6242 (tabulated-list-col-sort): Handle non-header-line button case.
6243 (tabulated-list--sort-by-column-name): Fix a corner case.
6244
f0809a9d
SM
6245 * buff-menu.el (list-buffers--refresh):
6246 Handle Buffer-menu-use-header-line.
1241b724 6247
e5f9458f
CY
62482012-05-06 Chong Yidong <cyd@gnu.org>
6249
6250 * buff-menu.el: Convert to Tabulated List mode.
6251 (Buffer-menu-buffer+size-width): Make obsolete.
6252 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6253 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6254 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6255 documentation into docstring of buffer-menu.
6256 (Buffer-menu-toggle-files-only): Add an informative message.
6257 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6258 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6259 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6260 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6261 (Buffer-menu-execute, Buffer-menu-select)
6262 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6263 (Buffer-menu-bury): Use Tabulated List machinery.
6264 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6265 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6266 Delete.
e5f9458f
CY
6267 (list-buffers--refresh): New function.
6268 (list-buffers-noselect): Use it.
6269 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6270 (Buffer-menu--pretty-file-name): New helper functions.
6271
6272 * loadup.el: Preload tabulated-list.
6273
6274 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6275 tabulated-list-sort-column.
6276 (tabulated-list-init-header): Add the initial aligning space even
6277 if tabulated-list-padding is zero.
6278
e129292c
CS
62792012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6280
6281 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6282 whose cdr is not a cons cell correctly (bug#11038).
6283
6632d361
CY
62842012-05-06 Chong Yidong <cyd@gnu.org>
6285
e129292c
CS
6286 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6287 Accept additional plist in column descriptors.
6632d361
CY
6288 (tabulated-list-init-header): Obey it.
6289 (tabulated-list-get-entry): New function.
6290 (tabulated-list-put-tag): Use it. Use string-width instead of
6291 length.
6292 (tabulated-list--column-number): New function.
6293 (tabulated-list-print): Use it.
e129292c
CS
6294 (tabulated-list-print-col): New function.
6295 Set `tabulated-list-column-name' property on each column's text.
6632d361 6296 (tabulated-list-print-entry): Use it.
e129292c
CS
6297 (tabulated-list-delete-entry, tabulated-list-set-col):
6298 New functions.
6632d361
CY
6299 (tabulated-list-sort-column): New command (Bug#11337).
6300
3cc99f68
CY
6301 * buff-menu.el (list-buffers): Move C-x C-b binding from
6302 buff-menu.el to bindings.el.
6303
6304 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6305 :advertised-binding feature.
6306
52b61776
TN
63072012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6308
6309 * progmodes/compile.el (compilation-internal-error-properties):
6310 Calculate start position correctly when end-col is set but
6311 end-line is not (Bug#11382).
6312
ebfe2597
WJ
63132012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6314
6315 * man.el (Man-unindent): Use text-property-default-nonsticky to
6316 prevent untabify from inheriting face properties (Bug#11408).
6317
6d3f7c2f
SM
63182012-05-05 Stefan Merten <smerten@oekonux.de>
6319
6320 * textmodes/rst.el: Major merge with upstream development up to
6321 Docutils SVN r7399 / rst.el V1.2.1.
6322
6323 Clarify maintainership and authors.
6324
6325 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6326 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6327 (rst-official-version, rst-official-cvs-rev, rst-version)
6328 (rst-package-emacs-version-alist): New functions and variables
6329 for version information.
6330
6331 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6332 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6333 (rst-mode-syntax-table, rst-mode): New and corrected functions
6334 and variables representing reStructuredText features.
6335
6336 (rst-re): New function for reStructuredText regexes. Use in
6337 many places.
6338
6339 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6340 (rst-mode-map): Rebind keys.
6341
6342 (rst-mode-lazy, rst-font-lock-keywords)
6343 (rst-font-lock-extend-region)
6344 (rst-font-lock-extend-region-internal)
6345 (rst-font-lock-extend-region-extend)
6346 (rst-font-lock-find-unindented-line-limit)
6347 (rst-font-lock-find-unindented-line-match)
6348 (rst-adornment-level, rst-font-lock-adornment-level)
6349 (rst-font-lock-adornment-match)
6350 (rst-font-lock-handle-adornment-pre-match-form)
6351 (rst-font-lock-handle-adornment-matcher): Major revision of
6352 font-locking. Integrate with other code. Use `jit-lock-mode'.
6353
6354 (rst-preferred-adornments, rst-adjust-hook)
6355 (rst-new-adornment-down, rst-preferred-bullets)
6356 (rst-preferred-bullets, rst-indent, rst-indent-width)
6357 (rst-indent-field, rst-indent-literal-normal)
6358 (rst-indent-literal-minimized, rst-indent-comment): Change,
6359 extend and improve customization.
6360
6361 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6362 (rst-normalize-cursor-position, rst-get-decoration)
6363 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6364 (rst-rstrip, rst-toc-insert-find-delete-contents)
6365 (rst-shift-fill-region, rst-compute-bullet-tabs)
6366 (rst-debug-print-tabs, rst-debug-mark-found)
6367 (rst-shift-region-guts, rst-shift-region-right)
6368 (rst-shift-region-left, rst-use-char-classes)
6369 (rst-font-lock-keywords-function)
6370 (rst-font-lock-indentation-point)
6371 (rst-font-lock-find-unindented-line-begin)
6372 (rst-font-lock-find-unindented-line-end)
6373 (rst-font-lock-find-unindented-line)
6374 (rst-font-lock-adornment-point, rst-font-lock-level)
6375 (rst-adornment-level-alist): Remove functions and variables.
6376
6377 (rst-compare-adornments, rst-get-adornment-match)
6378 (rst-suggest-new-adornment, rst-get-adornments-around)
6379 (rst-adornment-complete-p, rst-get-next-adornment)
6380 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6381 (rst-straighten-adornments): Standardize function names to
6382 use "adornment" instead of "decoration". Correct callers.
6383 Similar standardizing in many places.
6384
6385 (rst-update-section, rst-adjust, rst-promote-region)
6386 (rst-enumerate-region, rst-bullet-list-region)
6387 (rst-repeat-last-character): Correct use of `interactive'.
6388
6389 (rst-classify-adornment, rst-find-all-adornments)
6390 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6391 (rst-find-leftmost-column, rst-repeat-last-character):
6392 Refactor functions.
6393
6394 (rst-find-title-line, rst-reset-section-caches)
6395 (rst-get-adornments-around, rst-adjust-adornment-work)
6396 (rst-arabic-to-roman, rst-roman-to-arabic)
6397 (rst-insert-list-pos, rst-insert-list-new-item)
6398 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6399 New functions.
6400
6401 (rst-all-sections, rst-section-hierarchy)
6402 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6403 New variables.
6404
6405 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6406 configuration instead of only buffer. Change where necessary.
6407
6408 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6409 (rst-shift-region, rst-adaptive-fill): New functions for
6410 indentation and filling.
6411
6412 (rst-comment-line-break, rst-comment-indent)
6413 (rst-comment-insert-comment, rst-comment-region)
6414 (rst-uncomment-region): New functions for handling comments.
6415
6416 (rst-compile): Quote shell arguments.
6417
6418 (rst-compile-pdf-preview, rst-compile-slides-preview):
6419 Delete temporary files after use.
6420
a43f98b3
GM
64212012-05-05 Glenn Morris <rgm@gnu.org>
6422
48176e8b
GM
6423 * calendar/cal-html.el: Optionally include holidays in the output.
6424 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6425 (cal-html-holidays): New option.
6426 (cal-html-css-default): Add holiday entry.
6427 (holiday-in-range): Autoload it.
6428 (cal-html-htmlify-entry): Add optional class argument.
6429 (cal-html-htmlify-list): Add optional holidays argument.
6430 (cal-html-insert-agenda-days): Include holidays in the output.
6431 (cal-html-one-month): Maybe include holidays.
6432
a43f98b3
GM
6433 * calendar/holidays.el (holiday-in-range):
6434 Move here from cal-tex-list-holidays.
6435 * calendar/cal-tex.el (cal-tex-list-holidays):
6436 Make it an obsolete alias for holiday-in-range. Update all callers.
6437
fef9d149 64382012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6439
6440 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6441 Nextstep.
6442
248da2f4
RW
64432012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6444
6445 * files.el (file-auto-mode-skip): New var.
6446 (set-auto-mode-1): Use it.
6447
f95e9344
SM
64482012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6449
df96ab1e
SM
6450 * repeat.el: Use lexical-binding.
6451 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6452 (repeat-undo-count): Remove.
6453 (repeat):
6454 * progmodes/octave-mod.el (octave-abbrev-start):
6455 * progmodes/f90.el (f90-abbrev-start):
6456 * face-remap.el (text-scale-adjust):
6457 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6458
5342bb06
SM
6459 * emacs-lisp/pcase.el (pcase--let*): New function.
6460 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6461 a bit more.
6462 (pcase--split-pred): Be more clever about ruling out overlap between
6463 a predicate and some constant pattern.
6464 (pcase--q1): Use `null' instead of (eq foo nil).
6465
f95e9344
SM
6466 * subr.el (setq-local, defvar-local): New macros.
6467 (kbd): Redefine as an alias.
6468 (with-selected-window): Leave unrelated frames alone.
6469 (set-temporary-overlay-map): New function.
6470
71873e2b
SM
64712012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6472
6473 * subr.el (user-error): New function.
6474 * window.el (switch-to-buffer):
6475 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6476 (smerge-match-conflict):
6477 * simple.el (previous-matching-history-element)
6478 (next-matching-history-element, goto-history-element, undo-more)
6479 (undo-start):
6480 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6481 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6482 (next-file, tags-loop-scan, list-tags, complete-tag):
6483 * progmodes/compile.el (compilation-loop):
6484 * mouse.el (mouse-minibuffer-check):
6485 * man.el (Man-bgproc-sentinel, Man-goto-page):
6486 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6487 (Info-history-forward, Info-follow-reference, Info-menu)
6488 (Info-extract-menu-item, Info-extract-menu-counting)
6489 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6490 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6491 (Info-next-reference, Info-prev-reference, Info-index)
6492 (Info-index-next, Info-follow-nearest-node)
6493 (Info-copy-current-node-name):
6494 * imenu.el (imenu--make-index-alist)
6495 (imenu-default-create-index-function, imenu-add-to-menubar):
6496 * files.el (basic-save-buffer, recover-file):
6497 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6498 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6499 (checkdoc-message-text, checkdoc-defun):
6500 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6501 * cus-edit.el (customize-changed-options, customize-rogue)
6502 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6503 (custom-variable-mark-to-reset-standard)
6504 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6505 (custom-file):
6506 * completion.el (check-completion-length):
6507 * comint.el (comint-search-arg)
6508 (comint-previous-matching-input-string-position)
6509 (comint-previous-matching-input)
6510 (comint-replace-by-expanded-history-before-point, comint-send-input)
6511 (comint-copy-old-input, comint-backward-matching-input)
6512 (comint-goto-process-mark, comint-set-process-mark):
6513 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6514 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6515
8a61ee22
SM
65162012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6517
66408d1e
SM
6518 * dabbrev.el (dabbrev--ignore-case-p): New function.
6519 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6520 Use it.
6521
8a61ee22
SM
6522 * files.el (automount-dir-prefix): Mark as obsolete.
6523
3c74813a
GM
65242012-05-04 Glenn Morris <rgm@gnu.org>
6525
6526 * patcomp.el, play/bruce.el: Move to obsolete/.
6527
0bfcf5c5
PE
65282012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6529
6530 Fix minor Y10k bugs.
6531 * arc-mode.el (archive-unixdate):
6532 * autoinsert.el (auto-insert-alist):
6533 * calc/calc-forms.el (math-this-year):
6534 * emacs-lisp/copyright.el (copyright-current-year)
6535 (copyright-update-year, copyright):
6536 * tar-mode.el (tar-clip-time-string):
6537 * time.el (display-time-update):
6538 Don't assume years have 4 digits.
6539
78f3273a
CY
65402012-05-04 Chong Yidong <cyd@gnu.org>
6541
6542 * dos-w32.el (file-name-buffer-file-type-alist)
6543 (direct-print-region-use-command-dot-com):
6544 * ffap.el (ffap-menu-regexp):
6545 * find-file.el (ff-special-constructs):
6546 * follow.el (follow-debug):
6547 * forms.el (forms--debug):
6548 * iswitchb.el (iswitchb-all-frames):
6549 * ido.el (ido-all-frames):
6550 * emacs-lisp/timer.el (timer-max-repeats):
6551 * mail/feedmail.el (feedmail-mail-send-hook)
6552 (feedmail-mail-send-hook-queued):
6553 * mail/footnote.el (footnote-signature-separator):
6554 * mail/mailabbrev.el (mail-alias-separator-string)
6555 (mail-abbrev-mode-regexp):
6556 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6557 * progmodes/idlwave.el (idlwave-libinfo-file)
6558 (idlwave-default-completion-case-is-down)
6559 (idlwave-library-routines): Convert defvars to defcustoms.
6560
6561 * mail/rmail.el (rmail-decode-mime-charset):
6562 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6563 (idlwave-shell-fix-inserted-breaks)
6564 (idlwave-shell-activate-alt-keybindings)
6565 (idlwave-shell-use-breakpoint-glyph):
6566 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6567
f7ae6719
SM
65682012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6569
6570 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6571
47086495
WS
65722012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6573
6574 * progmodes/verilog-mode.el (font-lock-keywords):
6575 Fix mis-highligting auto. Reported by Craig Barner.
6576 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6577 defines from global name space. Reported by Dan Dever.
47086495
WS
6578 (verilog-auto-reset, verilog-auto-reset-widths)
6579 (verilog-auto-tieoff): Support using unbased numbers for
6580 AUTORESET and AUTOTIEOFF.
6581 (verilog-submit-bug-report): Update variable list.
6582 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6583 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6584 (verilog-auto-template-lint): Fix hash error when linting modules
6585 with no used templates.
6586 (verilog-warn, verilog-warn-error)
6587 (verilog-warn-fatal): When non-interactive report multiple
6588 warnings before exiting. Suggested by Brad Dobbie.
6589 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6590 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6591 to report unused template errors. Reported by Brad Dobbie.
6592 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6593 nets, bug438. Reported by Vns Blore.
47086495
WS
6594 (verilog-auto-inout-module, verilog-auto-reg)
6595 (verilog-read-decls, verilog-read-sub-decls-sig)
6596 (verilog-signals-edit-wire-reg, verilog-signals-with):
6597 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6598 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6599 "reg" for backwards compatibility presuming Verilog 2001.
6600 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6601 (verilog-preprocess): Fix replication of preprocess output.
6602 Reported by Brad Dobbie.
6603 (verilog-auto-inst-interfaced-ports):
6604 Create verilog-auto-inst-interfaced-ports, bug429.
6605 Reported by Julian Gorfajn.
6606 (verilog-after-save-font-hook)
6607 (verilog-before-save-font-hook): New variable.
6608 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6609 (verilog-save-font-mods): Wrap disabling fontification, reported
6610 by David Rogoff.
6611 (verilog-do-indent, verilog-pretty-declarations-auto)
6612 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6613 Reported by Pierre-David Pfister.
6614 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6615 of class declarations, bug292. Reported by Kevin Heilman.
6616 (verilog-read-decls): Fix 'parameter type' not appearing in
6617 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6618 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6619 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6620 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6621 Reported by David Kravitz.
6622
66232012-05-03 Michael McNamara <mac@mail.brushroad.com>
6624
6625 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6626 assignment with tests in ifs and for loops.
6627 (verilog-extended-complete-re, verilog-complete-reg): Change so
6628 that DPI inport functions don't look like fuction declarations.
6629 (verilog-pretty-expr): Don't line up assignment
6630 operations to the test and increment in if and for loops
6631 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6632 that DPI inport functions don't look like fuction declarations.
47086495 6633
2e51d4b5
KH
66342012-05-03 Kenichi Handa <handa@m17n.org>
6635
6636 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6637 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6638 (Bug#11282).
6639
2bd785a2
SM
66402012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * emacs-lisp/bytecomp.el
6643 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6644 since cconv.el might have introduced :fun-body, internal-make-closure,
6645 and friends for bytecomp to handle (bug#11391).
6646 * custom.el (defcustom): Avoid ((λ ..) ..).
6647
99d27583
SM
66482012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6651
55a71479
JB
66522012-05-02 Juanma Barranquero <lekktu@gmail.com>
6653
6654 * notifications.el (dbus-debug):
6655 * term/linux.el (gpm-mouse-enable):
6656 * term/screen.el (xterm-register-default-colors): Declare.
6657
7b97c764
CY
66582012-05-02 Chong Yidong <cyd@gnu.org>
6659
2bc356d7
CY
6660 * cus-start.el (gc-cons-percentage, exec-suffixes)
6661 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6662 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6663 (make-cursor-line-fully-visible, void-text-area-pointer)
6664 (font-list-limit): Add customization data.
6665
7b97c764
CY
6666 * allout.el (allout-exposure-change-functions)
6667 (allout-structure-added-functions)
6668 (allout-structure-deleted-functions)
6669 (allout-structure-shifted-functions): Rename abnormal hooks from
6670 *-hook, and convert to defcustoms.
5d3385a0
JB
6671 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6672 Convert to defcustoms.
7b97c764
CY
6673 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6674
6675 * allout-widgets.el: Hook callers changed.
6676
90207a15 66772012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6678
6679 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6680 the yanked message in preference to the default value of
6681 buffer-file-coding-system.
6682
90207a15 66832012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6684
5d3385a0
JB
6685 * window.el (display-buffer--action-function-custom-type):
6686 Fix entry.
d9558cad 6687
90207a15 66882012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6689
6690 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6691
d80ac57b
GM
66922012-05-01 Glenn Morris <rgm@gnu.org>
6693
976f7668
GM
6694 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6695
beb83b5a
GM
6696 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6697
d80ac57b
GM
6698 * cus-edit.el (custom-variable-documentation): Simplify with format.
6699
b593d6a9 67002012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6701 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6702
6703 * simple.el (suggest-key-bindings, execute-extended-command):
6704 Move from keyboard.c.
6705
782fbf2a
CY
67062012-05-01 Chong Yidong <cyd@gnu.org>
6707
6708 * follow.el: Eliminate advice.
6709 (set-process-filter, process-filter, sit-for): Advice deleted.
6710 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6711 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6712 Vars deleted.
782fbf2a
CY
6713 (follow-auto): Use a :set function.
6714 (follow-mode): Rewritten. Don't advise process filters.
6715 (follow-switch-to-current-buffer-all, follow-scroll-up)
6716 (follow-scroll-down): Assume follow-mode is bound.
6717 (follow-comint-scroll-to-bottom)
6718 (follow-align-compilation-windows): New functions.
6719 (follow--window-sorter): New function.
6720 (follow-all-followers): Use it to explicitly sort windows by their
6721 positions; don't make assumptions about next-window order.
6722 (follow-windows-start-end, follow-delete-other-windows-and-split)
6723 (follow-calc-win-start): Doc fix.
6724 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6725 vertical-motion unnecessarily.
6726 (follow-adjust-window): New function.
6727 (follow-post-command-hook): Use it.
6728 (follow-call-set-process-filter, follow-call-process-filter)
6729 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6730 (follow-stop-intercept-process-output, follow-generic-filter):
6731 Functions deleted.
6732 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6733 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6734 New functions, replacing advice on scroll-bar-* commands.
87233a14 6735 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6736
6737 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6738 (comint-postoutput-scroll-to-bottom): Use it.
6739 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6740
290af740
GM
67412012-05-01 Glenn Morris <rgm@gnu.org>
6742
6743 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6744 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6745 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6746 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6747 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6748 Remove no-byte-compile setting.
6749
6eac8dc9
SM
67502012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6753 all-completions code to not return a number in the last cdr.
6754
9cc7819c
LL
67552012-04-30 Leo Liu <sdl.web@gmail.com>
6756
6757 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6758 read-only error.
6759
c93b886f
CY
67602012-04-29 Chong Yidong <cyd@gnu.org>
6761
6762 * follow.el (follow-calc-win-end): Rewrite to handle partial
6763 screen lines correctly (Bug#8390).
6764 (follow-avoid-tail-recenter): Minor cleanup.
6765
8b6c19f4
SM
67662012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 Avoid the obsolete `assoc' package.
6769 * speedbar.el (speedbar-refresh): Avoid adelete.
6770 (speedbar-file-lists): Simplify and avoid aput.
6771 * man.el (Man--sections, Man--refpages): New vars, replacing
6772 Man-sections-alist and Man-refpages-alist.
6773 (Man-build-section-alist, Man-build-references-alist):
6774 Use them; avoid aput.
6775 (Man--last-section, Man--last-refpage): New vars.
6776 (Man-follow-manual-reference): Use them.
6777 Use the `default' arg of completing-read.
6778 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6779
c5bb7569
CY
67802012-04-27 Chong Yidong <cyd@gnu.org>
6781
d1d2e2e8
CY
6782 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6783
15cd8efd
CY
6784 * startup.el (x-apply-session-resources): New function.
6785
6786 * term/ns-win.el (ns-initialize-window-system):
6787 * term/w32-win.el (w32-initialize-window-system):
6788 * term/x-win.el (x-initialize-window-system): Use it to properly
6789 set menu-bar-mode and other vars from X resources, even if the
6790 initial frame is not a window-system frame (Bug#2299).
6791
c5bb7569
CY
6792 * subr.el (read-key): Avoid running filter function when setting
6793 up temporary tool bar entries (Bug#9922).
6794
a8e7d6d7 67952012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6796
6797 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6798 (Bug#11344)
6799
a8e7d6d7 68002012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6801
6802 * select.el (xselect--encode-string): New function, split from
6803 xselect-convert-to-string.
6804 (xselect-convert-to-string): Use it.
6805 (xselect-convert-to-filename, xselect-convert-to-os)
6806 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6807 returned strings are properly encoded (Bug#11315).
6808
a8e7d6d7 68092012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6810
6811 * simple.el (delete-active-region): Move to killing custom group.
6812
a8e7d6d7 68132012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6814
6815 * progmodes/which-func.el (which-func-current): Quote %
6816 characters for mode-line processing.
6817
578c1d4b 68182012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6819
6820 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6821 reaching eob (Bug#11286).
6822
a8e7d6d7 68232012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6824
6825 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6826 (gdb): Make it buffer-local and init to zero.
6827 (gdb-control-commands-regexp): New variable.
6828 (gdb-send): Don't wrap in "-interpreter-exec console" if
6829 gdb-control-level is positive. Increment gdb-control-level
6830 whenever the command matches gdb-control-commands-regexp, and
6831 decrement it each time the command is "end". (Bug#11279)
6832
a8e7d6d7 68332012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6834
6835 * window.el (adjust-window-trailing-edge, enlarge-window)
6836 (shrink-window, window-resize):
6837 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6838 windows (Bug#11276).
6839
b3608390
CY
68402012-04-27 Chong Yidong <cyd@gnu.org>
6841
6842 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6843 fix "missing prefix" warning. All callers changed.
b3608390 6844
797e6e88
SM
68452012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6846
6847 * emacs-lisp/assoc.el: Move to obsolete/.
6848
e95a67dc
SM
68492012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6850
657c21e4 6851 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6852
6853 * term/ns-win.el (ns-define-service):
6854 * progmodes/pascal.el (pascal-goto-defun):
6855 * progmodes/js.el (js--read-tab):
6856 * progmodes/etags.el (tags-lazy-completion-table):
6857 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6858 * emacs-lisp/ewoc.el (ewoc--wrap):
6859 * emacs-lisp/assoc.el (aput, adelete, amake):
6860 * doc-view.el (doc-view-convert-current-doc):
6861 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6862
cb3e7ae0
CY
68632012-04-26 Chong Yidong <cyd@gnu.org>
6864
dce04f7f
CY
6865 * image.el (image-type-from-buffer): Only return supported image
6866 type (Bug#9045).
6867
cb3e7ae0
CY
6868 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6869 value, for symmetry with diff-end-of-hunk.
6870 (diff-split-hunk, diff-find-source-location)
6871 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6872 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6873 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6874 compute the relevant hunk or file properly (Bug#6005).
6875 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6876
0d42eb3e
SM
68772012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * vc/vc-mtn.el:
6880 * vc/vc-hg.el:
6881 * vc/vc-git.el:
6882 * vc/vc-dir.el:
6883 * vc/vc-cvs.el:
6884 * vc/vc-bzr.el:
6885 * vc/vc-arch.el:
6886 * vc/vc.el: Replace lexical-let by lexical-binding.
6887 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6888 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6889 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6890
f08ae1c9
CY
68912012-04-26 Chong Yidong <cyd@gnu.org>
6892
8b71081d
CY
6893 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6894 (diff-mode-shared-map): Bind it to / and [remap undo].
6895
f08ae1c9
CY
6896 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6897 (ediff-window-setup-function): Use it as the default, to set up
6898 windows based on whether the current frame is graphical (Bug#2138).
6899 (ediff-choose-window-setup-function-automatically): Make obsolete.
6900
6901 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6902
ef24141c
SM
69032012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6904
cc356a5d
SM
6905 * ffap.el: Remove old code for obsolete package.
6906 (ffap-complete-as-file-p): Remove.
6907
b4ff4f1f
SM
6908 Use completion-table-with-quoting for comint and pcomplete.
6909 * comint.el (comint--unquote&requote-argument)
6910 (comint--unquote-argument, comint--requote-argument): New functions.
6911 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6912 (comint-quote-filename): Use regexp-opt-charset.
6913 (comint--common-suffix, comint--common-quoted-suffix)
6914 (comint--table-subvert): Remove.
6915 (comint-unquote-function, comint-requote-function): New vars.
6916 (comint--complete-file-name-data): Use them with
6917 completion-table-with-quoting.
6918 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6919 * pcomplete.el (pcomplete-arg-quote-list)
6920 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6921 (pcomplete-unquote-argument-function): Default to non-nil.
6922 (pcomplete-unquote-argument): Simplify.
6923 (pcomplete--common-quoted-suffix): Remove.
6924 (pcomplete-requote-argument-function): New var.
6925 (pcomplete--common-suffix): New function.
6926 (pcomplete-completions-at-point): Use completion-table-with-quoting
6927 and completion-table-subvert.
6928
79c4eeb4
SM
6929 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6930 (minibuffer--double-dollars): Preserve properties.
6931 (completion--sifn-requote): New function.
6932 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6933
ef24141c
SM
6934 * minibuffer.el: Add support for completion of quoted/escaped data.
6935 (completion-table-with-quoting, completion-table-subvert): New funs.
6936 (completion--twq-try, completion--twq-all): New functions.
6937 (completion--nth-completion): New function.
6938 (completion-try-completion, completion-all-completions): Use it.
6939
784e7d6e
LL
69402012-04-25 Leo Liu <sdl.web@gmail.com>
6941
dd2ac746
SM
6942 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6943 Use compilation-message if available to find real filename.
784e7d6e 6944
07875ee7
CY
69452012-04-25 Chong Yidong <cyd@gnu.org>
6946
6947 * vc/diff-mode.el (diff-setup-whitespace): New function.
6948 (diff-mode): Use it.
6949
6950 * vc/diff.el (diff-sentinel):
6951 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6952 Whitespace mode variables based on diff style (Bug#8612).
6953
5055880d
LL
69542012-04-25 Leo Liu <sdl.web@gmail.com>
6955
daf75653
LL
6956 * progmodes/python.el (python-send-region): Add suffix .py to the
6957 temp file.
6958
5055880d
LL
6959 * files.el (auto-mode-alist): Use javascript-mode instead.
6960
db9b177b
AH
69612012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6962
ef24141c 6963 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6964
090bd7cb 6965 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6966 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6967 references, see Bug#9.
ef24141c 6968 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6969 when receiving a fault reply.
ef24141c 6970 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6971
090bd7cb 6972 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6973 (soap-inspect-simple-type): New function.
db9b177b 6974
090bd7cb 6975 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6976 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6977 (soap-decode-basic-type, soap-encode-basic-type):
6978 support unsignedInt and double basic types.
db9b177b 6979 (soap-resolve-references-for-simple-type)
ef24141c
SM
6980 (soap-parse-simple-type, soap-encode-simple-type): New function.
6981 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6982
090bd7cb 6983 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6984 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6985 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6986 the local name of "soapenc:Array".
6987 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6988 decoding integer, byte and anyURI xsd types.
6989
1fc6097b
CY
69902012-04-25 Chong Yidong <cyd@gnu.org>
6991
6992 * cus-edit.el (custom-buffer-create-internal): Update header text.
6993
afc6df87
EZ
69942012-04-25 Eli Zaretskii <eliz@gnu.org>
6995
6996 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6997 settings on 'system-type', not on 'window-system'. On MS-Windows,
6998 set interactive-mode on in GDB.
6999
dfbd787f
SM
70002012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7003 (ruby-syntax-propertize-regexp): Remove.
7004 (ruby-syntax-propertize-function): Split regexp into chunks.
7005 Match following code directly.
7006
85222d44
DG
70072012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7008
51a8ea2a
DG
7009 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7010 (ruby-syntax-propertize-regexp): New function.
7011 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7012 by a special keyword.
7013
85222d44
DG
7014 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7015 (ruby-syntax-general-delimiters-goto-beg)
7016 (ruby-syntax-propertize-general-delimiters): New functions.
7017 (ruby-syntax-propertize-function): Use them to handle GDL.
7018 (ruby-font-lock-keywords): Move old handling of GDL...
7019 (ruby-font-lock-syntactic-keywords): .. to here.
7020 (ruby-calculate-indent): Adjust indentation for GDL.
7021
b613912b
MA
70222012-04-24 Michael Albinus <michael.albinus@gmx.de>
7023
b5380639
MA
7024 * notifications.el (top): Remove unneeded declarations.
7025 (notifications-specification-version): Change to "1.2".
e43042fe 7026 (notifications-interface, notifications-notify-method)
b613912b
MA
7027 (notifications-close-notification-method): Fix docstring.
7028 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7029 (notifications-notify): Add :action-items, :resident and
7030 :transient hints. Change "image_data" to "image-data" and
7031 "image_path" to "image-path".
b613912b
MA
7032 (notifications-get-capabilities): New defun.
7033
257440aa
LL
70342012-04-24 Leo Liu <sdl.web@gmail.com>
7035
7036 * progmodes/python.el: Move hideshow setup to the end.
7037
b1bac16e
MR
70382012-04-24 Martin Rudalics <rudalics@gmx.at>
7039
7040 * window.el (handle-select-window): Clear echo area since this is
7041 no more done by read_char (Bug#11304).
7042
d81bd059
SM
70432012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7046 and `/ M' to filter-derived-mode.
7047 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7048 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7049 (ibuffer-mark-by-mode): Use default rather than initial-input.
7050 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7051
c4cf6d91
IA
70522012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7053
7054 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7055 (ibuffer-filter-by-derived-mode): New filter.
7056 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7057
7511ded8
CY
70582012-04-23 Andreas Politz <politza@fh-trier.de>
7059
7060 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7061
775c916b
CY
70622012-04-23 Chong Yidong <cyd@gnu.org>
7063
7064 * cus-edit.el (customize-apropos, customize-apropos-options):
7065 Disable matching of non-option variables (Bug#11176).
7066 (customize-option, customize-option-other-window)
7067 (customize-changed-options): Doc fix.
7068 (customize-apropos-options, customize-apropos-faces)
7069 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7070
7071 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7072 Fix word list splitting (Bug#11132).
46c71e23
CY
7073 (apropos-symbol, apropos-keybinding, apropos-label)
7074 (apropos-property, apropos-function-button)
7075 (apropos-variable-button, apropos-misc-button): New faces.
7076 (apropos-symbol-face, apropos-keybinding-face)
7077 (apropos-label-face, apropos-property-face, apropos-match-face):
7078 Variables removed (Bug#8396).
7079 (apropos-library-button, apropos-format-plist, apropos-print)
7080 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7081
2df41f9c
MA
70822012-04-23 Michael Albinus <michael.albinus@gmx.de>
7083
7084 * net/xesam.el (xesam-mode-map): Use let-bound map in
7085 initialization. (Bug#11292)
7086
da00640a
AM
70872012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7088
7089 Preserve ispell session localwords when switching back to
7090 original buffer.
7091
090bd7cb
JB
7092 * textmodes/ispell.el (ispell-buffer-session-localwords):
7093 New buffer-local variable to hold buffer session localwords.
ed9265fc 7094 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7095 localwords.
7096 (ispell-command-loop, ispell-change-dictionary)
7097 (ispell-buffer-local-words): Preserve session localwords when
7098 needed.
7099
090bd7cb
JB
7100 * textmodes/flyspell.el (flyspell-process-localwords)
7101 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7102
f621ccf5
AM
71032012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7104
090bd7cb
JB
7105 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7106 using obsolete `translation-table-for-input'.
ef24141c
SM
7107 (ispell-word, ispell-process-line, ispell-complete-word):
7108 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7109
c2d1019e
CY
71102012-04-22 Chong Yidong <cyd@gnu.org>
7111
7112 * cus-edit.el (custom-variable-menu)
7113 (custom-variable-reset-saved, custom-face-menu)
7114 (custom-face-reset-saved): If there is no saved value, make the
7115 "reset-saved" operation bring back the default (Bug#9509).
7116 (custom-face-state): Properly detect themed faces.
7117
eeddc531
CY
7118 * faces.el (face-spec-set): Stop supporting deprecated form of
7119 third arg.
7120
dcbf5805
MA
71212012-04-22 Michael Albinus <michael.albinus@gmx.de>
7122
7123 Move functions from C to Lisp. Make non-blocking method calls
7124 the default. Implement further D-Bus standard interfaces.
7125
ef24141c
SM
7126 * net/dbus.el (dbus-message-internal): Declare function.
7127 Remove unneeded function declarations.
dcbf5805
MA
7128 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7129 (dbus-message-type-method-return, dbus-message-type-error)
7130 (dbus-message-type-signal): Declare variables. Remove local
7131 definitions.
7132 (dbus-interface-dbus, dbus-interface-peer)
7133 (dbus-interface-introspectable, dbus-interface-properties)
7134 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7135 Adapt docstring.
7136 (dbus-interface-objectmanager): New defconst.
7137 (dbus-call-method, dbus-call-method-asynchronously)
7138 (dbus-send-signal, dbus-method-return-internal)
7139 (dbus-method-error-internal, dbus-register-service)
7140 (dbus-register-signal, dbus-register-method): New defuns, moved
7141 from dbusbind.c
7142 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7143 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7144 New defuns.
dcbf5805
MA
7145 (dbus-call-method-non-blocking): Make it an obsolete function.
7146 (dbus-unregister-object, dbus-unregister-service)
7147 (dbus-handle-event, dbus-register-property)
7148 (dbus-property-handler): Obey the new structure of
7149 `bus-registered-objects'.
7150 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7151 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7152 Use `dbus-call-method'.
7153
cf20dee0
CY
71542012-04-22 Chong Yidong <cyd@gnu.org>
7155
7156 * cus-edit.el (custom-commands, custom-reset-menu)
7157 (Custom-reset-standard): Tweak labels.
7158 (custom-reset-button-menu): Change default to t.
7159 (custom-buffer-create-internal): For the custom-reset-button-menu
7160 case, put the revert button first.
7161 (custom-group-subtitle): New face.
7162 (custom-group-value-create): Align docstring to a specific column.
7163
7164 * wid-edit.el (widget-documentation-link-add): Don't handle
7165 indentation in this function.
7166 (widget-documentation-string-indent-to): New function.
7167 (widget-documentation-string-value-create): Use it.
7168
7169 * autorevert.el (auto-revert):
7170 * epg-config.el (epg):
7171 * ibuffer.el (ibuffer):
7172 * mpc.el (mpc):
7173 * ses.el (ses):
7174 * eshell/eshell.el (eshell):
7175 * net/ange-ftp.el (ange-ftp):
7176 * progmodes/ebnf2ps.el (postscript):
7177 * progmodes/flymake.el (flymake):
7178 * progmodes/prolog.el (prolog):
7179 * progmodes/verilog-mode.el (verilog-mode):
7180 * progmodes/which-func.el (which-func):
7181 * term/xterm.el (xterm):
7182 * textmodes/picture.el (picture):
7183 * textmodes/tildify.el (tildify):
7184 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7185 customization buffers.
7186
583e23bd
AM
71872012-04-22 Alan Mackenzie <acm@muc.de>
7188
7189 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7190 Adding a ) can hide the resulting (..) from searches. Fix it.
7191 Bound the backward search to the position of the existing (.
7192
7dd51bf1
JB
71932012-04-21 Juanma Barranquero <lekktu@gmail.com>
7194
7195 * progmodes/verilog-mode.el (verilog-mode): Check whether
7196 which-func-modes is t before adding verilog-mode.
7197 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7198
d64a438f
LL
71992012-04-21 Leo Liu <sdl.web@gmail.com>
7200
7dd51bf1 7201 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7202
081e8d65
MV
72032012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7204
7205 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7206 filling of the last column of a table (Bug#5635).
7207 (woman-find-next-control-line): New arg, specifying an additional
7208 regexp component for the control line.
7209 (woman2-roff-buffer): Use it.
7210 (woman-break-table): New function.
7211 (woman2-TS): Use it.
7212
72132012-04-21 Chong Yidong <cyd@gnu.org>
7214
7215 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7216 (woman-horizontal-escapes, woman-negative-vertical-space)
7217 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7218 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7219
ed571ccb
SM
72202012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * minibuffer.el (completion-file-name-table): Complete user names.
7223
39773899
LL
72242012-04-20 Leo Liu <sdl.web@gmail.com>
7225
7226 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7227 and pcase-let*.
7228
de6ff46d
CY
72292012-04-20 Chong Yidong <cyd@gnu.org>
7230
7231 * server.el (server-execute): Respect initial-buffer-choice if it
7232 is a string and there are no files to open (Bug#2825).
7233 (server-create-window-system-frame, server-create-tty-frame):
7234 Don't switch buffers here.
2d0e8e61
CY
7235 (server-process-filter): Only try to open a window system frame if
7236 compiled with graphical support (Bug#8314).
de6ff46d 7237
54071013
DN
72382012-04-20 Dan Nicolaescu <dann@gnu.org>
7239
7240 * battery.el (battery-echo-area-format): Display remaining time
7241 for sysfs backend too (Bug#11269).
7242 (battery-linux-sysfs): Fix conditional for the charge.
7243
f30d612a
CY
72442012-04-20 Chong Yidong <cyd@gnu.org>
7245
c07a4c0b 7246 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7247 (gdb-inferior-io--init-proc): New function.
7248 (gdb-init-1): Use it.
7249 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7250 responsible for allocating a new pty and hooking it to gdb when
7251 the old pty gets an EIO due to process exit.
7252 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7253 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7254 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7255
2116e93c
EZ
72562012-04-20 Eli Zaretskii <eliz@gnu.org>
7257
7258 * window.el (window-min-size, window-sizable, window-min-delta)
7259 (window-max-delta, window--resizable, window-resizable)
7260 (window-total-size, window-full-height-p, window-full-width-p)
7261 (window-in-direction, window--resize-mini-window, window-resize)
7262 (window--resize-child-windows-normal)
7263 (window--resize-child-windows, window--resize-siblings)
7264 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7265 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7266
c07a4c0b 72672012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7268
ef24141c
SM
7269 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7270 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7271 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7272 pty process (Bug#11273).
7273 (gdb-update): New arg to suppress talking to the gdb process.
7274 (gdb-done-or-error): Use it.
7275 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7276 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7277 sentinel not being called.
7278
7279 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7280
d02766ab
CY
7281 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7282
c07a4c0b 72832012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7284
7285 * net/network-stream.el (open-network-stream): Doc fix.
7286
c07a4c0b 72872012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7288
7289 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7290
c07a4c0b 72912012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7292
7293 Ensure searching for keywords is case sensitive.
7294
7295 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7296 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7297 (c-defun-name, c-mark-function, c-cpp-define-name)
7298 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7299 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7300
ef24141c
SM
7301 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7302 Bind case-fold-search to nil.
f0f6bc35 7303
c07a4c0b 73042012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7305
7306 * mail/sendmail.el (mail-bury): Call return action with the right
7307 Rmail buffer (Bug#11242).
7308
9a864fa2
CY
7309 * server.el (server-process-filter): Handle corner case where both
7310 tty and nowait options are present (Bug#11102).
7311
539aa513
EZ
73122012-04-20 Eli Zaretskii <eliz@gnu.org>
7313
7314 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7315 (top level): Put into the executable the ident-style '$Id:' tag on
7316 windows-nt as well.
539aa513 7317
cfc7d5da
SM
73182012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * electric.el (electric-indent-post-self-insert-function): Check that
7321 electric-indent-mode is enabled in current buffer.
7322
5b01685c
JB
73232012-04-19 Juanma Barranquero <lekktu@gmail.com>
7324
7325 * imenu.el (imenu-progress-message): Restore; it is "used" in
7326 erc/erc-imenu.el and net/snmp-mode.el.
7327
4d6769e1
JB
73282012-04-19 Juanma Barranquero <lekktu@gmail.com>
7329
7330 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7331 (mouse-avoidance-nudge-mouse): Remove unused binding.
7332
7333 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7334
7335 * descr-text.el (describe-char):
7336 * progmodes/python.el (python-describe-symbol):
7337 Don't call `toggle-read-only', set `buffer-read-only'.
7338
7339 * imenu.el (imenu-default-goto-function): Mark unused args.
7340 (imenu-progress-message): Remove obsolete macro; all callers changed.
7341
7342 * subr.el (keymap-canonicalize): Remove unused binding.
7343 (read-passwd): Mark unused arg.
7344
7345 * tutorial.el (tutorial--display-changes): Remove unused binding.
7346 (tutorial--save-tutorial-to): Remove unused variable.
7347
7348 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7349 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7350 (package-generate-autoloads, package-menu--generate)
7351 (package-menu--find-upgrades): Remove unused bindings.
7352
7353 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7354 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7355 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7356 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7357 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7358 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7359 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7360 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7361 (cua-delete-char-rectangle): Mark unused args.
7362 (cua-align-rectangle): Remove unused binding.
7363
7364 * mail/rmail.el (compilation--message->loc)
7365 (epa--find-coding-system-for-mime-charset): Declare.
7366
7367 * net/dbus.el (dbus-register-service): Declare.
7368 (dbus-name-owner-changed-handler): Remove unused binding.
7369
7370 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7371 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7372 (nxml-scan-backward-within): Mark unused arg.
7373 (nxml-dynamic-markup-word): Remove unused binding.
7374
7375 * mouse.el (mouse-menu-major-mode-map):
7376 * emacs-lisp/authors.el (authors-scan-change-log)
7377 (authors-add-to-author-list):
7378 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7379 * emacs-lisp/smie.el (smie-auto-fill):
7380 * mail/sendmail.el (mail-bury):
7381 * mail/unrmail.el (unrmail):
7382 * net/tls.el (open-tls-stream):
7383 * textmodes/picture.el (picture-mouse-set-point):
7384 Remove unused bindings.
7385
8c8fc5df
MA
73862012-04-19 Michael Albinus <michael.albinus@gmx.de>
7387
7388 * net/tramp.el (tramp-action-password): Let-bind
7389 `enable-recursive-minibuffers' to t.
7390
a77b0ac9
SS
73912012-04-18 Sam Steingold <sds@gnu.org>
7392
7393 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7394 instead of 'string to accommodate values like [f11].
7395 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7396 * progmodes/gdb-mi.el: Likewise.
7397
12a106a9
LL
73982012-04-18 Leo Liu <sdl.web@gmail.com>
7399
7400 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7401 current buffer.
7402 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7403 LOCAL is nil.
7404
bc6494ef
CY
74052012-04-18 Chong Yidong <cyd@gnu.org>
7406
7407 * simple.el (line-move): Use forward-line if in batch mode
7408 (Bug#11053).
7409
c09c46b2
CS
74102012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7411
7412 * files.el (after-find-file): Do not try to add a final newline if
7413 the buffer is read-only (Bug#11156).
7414
5f6530ea
RS
74152012-04-17 Richard Stallman <rms@gnu.org>
7416
7417 * mail/rmail.el (rmail-start-mail):
7418 Pass (rmail-mail-return...) for the return-action.
7419 Pass (rmail-yank-current-message...) for the yank-action.
7420 (rmail-yank-current-message): New function.
7421 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7422 (rmail-reply): Likewise.
7423 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7424
7425 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7426 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7427 buffer, not newbuf.
7428
197b6f3c
JB
74292012-04-17 Juanma Barranquero <lekktu@gmail.com>
7430
7431 * server.el (server-ensure-safe-dir): Simplify.
7432
2311d8e5 74332012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7434
2311d8e5
GM
7435 * emacs-lisp/smie.el: Provide smarter auto-filling.
7436 (smie-auto-fill): New function.
7437 (smie-setup): Use it.
98fb480e 7438
2311d8e5
GM
7439 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7440
74412012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7442
7443 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7444 (comment-indent): Use it.
7445
2311d8e5 74462012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7447
7448 * ses.el: The overall change is to add cell renaming, that is
7449 setting fancy names for cell symbols other than name matching
7450 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7451 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7452 (ses-create-cell-variable): New defun.
2311d8e5 7453 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7454 (ses-relocate-formula): Relocate formulas only for cells the
7455 symbols of which are not renamed, i.e. symbols whose names do not
7456 match regexp "\\`[A-Z]+[0-9]+\\'".
7457 (ses-relocate-all): Relocate values only for cells the symbols of
7458 which are not renamed.
7459 (ses-load): Create cells variables as the (ses-cell ...) are read,
7460 in order to check row col consistency with cell symbol name only
7461 for cells that are not renamed.
7462 (ses-replace-name-in-formula): New defun.
7463 (ses-rename-cell): New defun.
4bdf2ad2 7464
fc72b15c
PO
74652012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7466
7467 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7468 New option (bug#11118).
7469 (perl-calculate-indent): Respect it.
7470
12e10e61
GM
74712012-04-17 Glenn Morris <rgm@gnu.org>
7472
7473 * dired-aux.el (dired-mark-read-string): Doc fix.
7474
30009afd
DA
74752012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7476
7477 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7478 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7479
41f03f4d
GM
74802012-04-17 Glenn Morris <rgm@gnu.org>
7481
7482 * mouse.el (mouse-drag-track):
7483 * speedbar.el (speedbar-frame-mode):
7484 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7485
f45f90f3
LL
74862012-04-16 Leo Liu <sdl.web@gmail.com>
7487
7488 * progmodes/python.el: Trivial cleanup.
7489
94ee8db5
GM
74902012-04-16 Glenn Morris <rgm@gnu.org>
7491
121b8917
GM
7492 * vc/vc.el (vc-string-prefix-p):
7493 * vc/pcvs-util.el (cvs-string-prefix-p):
7494 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7495 * mpc.el (mpc-string-prefix-p):
7496 Make all of these into obsolete aliases for string-prefix-p.
7497 Update callers.
7498 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7499
1197ecfa
GM
7500 * textmodes/two-column.el: Move custom options to the start.
7501 (frame-width): Remove compat definition.
7502 (2C-associate-buffer, 2C-dissociate):
7503 Use with-current-buffer rather than save-excursion.
7504 (2C-dissociate): Force a mode-line update.
7505 (2C-autoscroll): Use ignore-errors.
7506
099e7202
GM
7507 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7508 Autoload trivia.
7509
bf350d6a
GM
7510 * emacs-lisp/cl-extra.el (*random-state*):
7511 Remove unnecessary declaration.
7512
0e829eab
GM
7513 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7514
e3ad7552
GM
7515 * play/cookie1.el (cookie-snarf):
7516 Give an explicit error if input file cannot be read.
7517
68892d27
GM
7518 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7519
20f0c46d
GM
7520 * progmodes/perl-mode.el (c-macro-expand):
7521 Remove unnecessary autoload (it is in loaddefs.el).
7522
5a0978ce
GM
7523 * textmodes/picture.el (picture-desired-column)
7524 (picture-update-desired-column): Convert comments to doc-strings.
7525 (picture-substitute): Remove function.
7526 (picture-mode-map): Initialize in the defvar.
7527
6b955486
GM
7528 * woman.el: Remove eval-after-load for tar-mode.
7529 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7530 (woman-tar-extract-file): Autoload it.
7531
94ee8db5
GM
7532 * frame.el (automatic-hscrolling): Make this alias obsolete.
7533
177eca34
AM
75342012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7535
090bd7cb 7536 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7537 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7538 (ispell-dictionary-base-alist): Revert to original XEmacs
7539 friendly version for default. [:alpha:] will be added in
090bd7cb 7540 `ispell-set-spellchecker-params' if needed.
177eca34 7541
c505aaeb
CY
75422012-04-16 Chong Yidong <cyd@gnu.org>
7543
b19dd9d1 7544 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7545 (imagemagick-register-types): Use it.
7546 (imagemagick-types-inhibit): Add :set function. Allow new value
7547 of t to inhibit all types.
7548
7549 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7550 so we can preload it.
7551
7552 * loadup.el (fboundp): Preload regexp-opt, needed by
7553 imagemagick-register-types.
7554
60efac0f
CY
75552012-04-15 Chong Yidong <cyd@gnu.org>
7556
7557 * frame.el (scrolling): Remove nearly unused customization group.
7558
7559 * scroll-all.el (scroll-all-mode): Move to windows group.
7560
5dd1713e
CY
75612012-04-15 Chong Yidong <cyd@gnu.org>
7562
7563 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7564
e6fd457e
CY
75652012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7566
7567 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7568 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7569
e153c136
GM
75702012-04-15 Glenn Morris <rgm@gnu.org>
7571
7572 * simple.el (process-file-side-effects): Doc fix.
7573
e6fd457e 75742012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7575
7576 * international/mule-cmds.el (set-language-environment): Doc fix.
7577
3603c3b1
JB
75782012-04-14 Juanma Barranquero <lekktu@gmail.com>
7579
7580 * server.el (server-auth-key, server-generate-key): Doc fixes.
7581 (server-get-auth-key): Doc fix. Use `string-match-p'.
7582 (server-start): Reflow docstring.
7583
e6de100c
LI
75842012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7585
7586 * server.el (server-generate-key): `called-interactively-p'
7587 requires a parameter.
7588
29734c21
MN
75892012-04-14 Michal Nazarewicz <mina86@mina86.com>
7590
7591 * server.el (server-auth-key): New variable.
75f1671a 7592 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7593 (server-start): Use the new variable and functions to allow
7594 setting a permanent server key (bug#9423).
7595
d65c9521
LL
75962012-04-14 Leo Liu <sdl.web@gmail.com>
7597
7598 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7599
5ae255c7
PE
76002012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7601
7602 Spelling fixes.
7603 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7604 Emacs uses American spelling.
7605
d5e6342e
JB
76062012-04-14 Juanma Barranquero <lekktu@gmail.com>
7607
7608 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7609 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7610 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7611 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7612
ab036cd7
SM
76132012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * progmodes/which-func.el (which-func-modes): Change default.
7616
35dc09a1 76172012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7618
7619 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7620 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7621
35dc09a1 76222012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7623
7624 * custom.el (custom-theme-set-variables): Doc fix.
7625
35dc09a1 76262012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7627
7628 * international/mule.el (set-auto-coding-for-load): Doc fix.
7629
35dc09a1 76302012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7631
35dc09a1
GM
7632 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7633 imenu work again for Objective C Mode. Correct the *-index values,
7634 these having been disturbed by a previous change in 2011-08.
57f845ee 7635
0de3da9f
AM
7636 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7637 Correct two search limits.
7638
35dc09a1 76392012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7640
7641 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7642
35dc09a1 76432012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7644
7645 * international/characters.el: Fix sorting.
7646
35dc09a1 76472012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7648
7649 * international/characters.el: Add more missing Latin case pairs.
7650
35dc09a1 76512012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7652
7653 * files.el (dir-locals-set-class-variables): Doc fix.
7654
35dc09a1 76552012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7656
3f1b5bf8
EZ
7657 * international/characters.el: Add set-case-syntax-pair call for
7658 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7659 counterpart. (Bug#11209)
7660
9f847f41
EZ
7661 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7662
35dc09a1 76632012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7664
7665 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7666
35dc09a1 76672012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7668
35dc09a1
GM
7669 * textmodes/ispell.el (ispell-dictionary-base-alist):
7670 Add data for Hebrew.
e2627d21 7671
35dc09a1 76722012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7673
35dc09a1
GM
7674 * net/rcirc.el (rcirc-cmd-quit):
7675 Revert 2012-03-18 change (Bug#11192).
5c14e333 7676
35dc09a1 76772012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7678
7679 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7680
35dc09a1 76812012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7682
4517fe3a
SM
7683 * minibuffer.el (completion-in-region-mode-map):
7684 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7685
b472a594
VD
76862012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7687
7688 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7689
09b95ce3
MY
76902012-04-13 Masatake YAMATO <yamato@redhat.com>
7691
7692 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7693 to allow `C-M-f' and `C-M-b' to move to the nearest path
7694 separator (bug#9511).
7695
4b63a9ca
LI
76962012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7697
7698 * avoid.el: Require cl when compiling. And also move the
7699 `provide' to the end.
7700
7b55b8bf
TV
77012012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7702
7703 * avoid.el (mouse-avoidance-banish-position): New variable.
7704 (mouse-avoidance-banish-destination): Use it (bug#10165).
7705
adedaa1f
LL
77062012-04-13 Leo Liu <sdl.web@gmail.com>
7707
7708 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7709
70e74021
KB
77102012-04-13 Ken Brown <kbrown@cornell.edu>
7711
7712 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7713 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7714 (browse-url-filename-alist): For the same reason, don't modify
7715 file:// URLs on Cygwin.
7716
e75e89ba
SM
77172012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7718
7719 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7720 the region on shift if the binding is already shifted (bug#11221).
7721
82f289a4
GM
77222012-04-12 Glenn Morris <rgm@gnu.org>
7723
7724 * mail/mailpost.el: Move to obsolete/.
7725
d333dc4c
DA
77262012-04-12 Drew Adams <drew.adams@oracle.com>
7727
7728 * imenu.el (imenu--generic-function): Ignore invisible definitions
7729 (bug#10123).
7730
0d15b5ba
VD
77312012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7732
7733 * hexl.el (hexl-bits): New variable.
7734 (hexl-options): Mention the variable in the doc string.
75f1671a 7735 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7736 (hexl-mode): Mention the new variable.
75f1671a
JB
7737 (hexl-mode, hexl-current-address, hexl-current-address):
7738 Use the displen.
0d15b5ba
VD
7739 (hexl-ascii-start-column): New function.
7740 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7741 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7742
64a440db
AM
77432012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7744
7745 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7746 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7747 the encoding, as expected by hunspell.
7748
6decb6c2
SM
77492012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * battery.el (battery--linux-sysfs-regexp): New const.
7752 (battery-status-function): Use it. Remove yeeloong special case.
7753 (battery-yeeloong-sysfs): Remove.
7754 (battery-echo-area-format): Remove yeeloong special case.
7755
088be6fb
SM
77562012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7757
6622e416
SM
7758 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7759 Reported by Noah Friedman.
7760
088be6fb
SM
7761 * subr.el (read-passwd): Use read-string.
7762
b49f886e
LMI
77632012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7764
7765 * vcursor.el (vcursor-move): Increase the priority of the overlay
7766 (bug#9663).
7767
a63067fc
DD
77682012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7769
7770 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7771 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7772
ac3cf14a
WS
77732012-04-11 William Stevenson <yhvh2000@gmail.com>
7774
7775 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7776 define-minor-mode (bug#10760).
7777
c4fc691b 77782012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7779
4d6769e1 7780 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7781 that directories matching `grep-find-ignored-files' won't be
7782 pruned (bug#10351).
7783
af23e2e5
CY
77842012-04-11 Chong Yidong <cyd@gnu.org>
7785
7786 * startup.el (command-line): Remove support for long-obsolete
7787 variable font-lock-face-attributes.
7788
ab7ce8c1
GM
77892012-04-11 Glenn Morris <rgm@gnu.org>
7790
7791 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7792
de8c03dc
SM
77932012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * window.el (window--state-get-1): Obey window-point-insertion-type.
7796
050cc68b
LB
77972012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7798
7799 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7800 to previous function when point is on the first character of a
75f1671a 7801 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7802
a38c310c
GM
78032012-04-11 Glenn Morris <rgm@gnu.org>
7804
effed0c2
GM
7805 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7806 not just file-errors.
7807
a38c310c
GM
7808 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7809 (vc-bzr-sha1): Use internal sha1.
7810
0221e323
SM
78112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7814
43956923
SG
78152012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7816
7817 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7818 that start in the middle of the line (bug#10496).
7819
6a8c9eaf
DN
78202012-04-10 Dan Nicolaescu <dann@gnu.org>
7821
7822 * battery.el (battery-linux-proc-acpi): Only one battery is
7823 discharged at a time, but that seems to confuse battery.el when
7824 computing `rate-type' for the battery not being discharged
7825 (bug#10332).
7826
1930bf5d
SM
78272012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7828
2a718f6f
SM
7829 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7830
599430d0
SM
7831 * international/quail.el: Use dolist and simplify.
7832 (quail-define-package, quail-update-keyboard-layout)
7833 (quail-define-rules): Use dolist.
7834 (quail-insert-kbd-layout, quail-get-translation): CSE.
7835
a2754b6c
SM
7836 * tmm.el: Use dolist, remove left over hook.
7837 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7838 Use dolist.
7839 (calendar-load-hook): Don't mess with it.
7840
1930bf5d
SM
7841 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7842 Use derived-mode-p. Run the diff asynchronously.
7843
9f67961c
LMI
78442012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7845
7846 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7847
2a8ce227
JB
78482012-04-10 Juanma Barranquero <lekktu@gmail.com>
7849
7850 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7851 (list-dynamic-libraries--loaded): New function.
7852 (list-dynamic-libraries--refresh): Use it.
7853
8f33b5f8
NW
78542012-04-10 Nathan Weizenbaum <nweiz@google.com>
7855
1930bf5d
SM
7856 * progmodes/python.el (python-fill-paragraph):
7857 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7858 disabled (bug#7018).
7859
b12f0439
L
78602012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
7861
1930bf5d 7862 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7863 DOS/MS Windows for the Baltic languages. There are still plenty
7864 of texts written in this encoding/codepage (bug#6519).
b12f0439 7865
57c3bd01
GM
78662012-04-10 Glenn Morris <rgm@gnu.org>
7867
7868 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7869 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7870
6c3eab30
FA
78712012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7872
1930bf5d 7873 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7874 next-line "n" and previous-line "p" in order to make recentf more
7875 consistent with ibuffer, dired or org-mode (bug#9387).
7876
24d78a88
LMI
78772012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878
bc72b5d9
LMI
7879 * image.el (put-image): Return the overlay created instead of the
7880 optional input string (bug#7834). Note that this may break code
7881 that is (for some reason or other) depending on `put-image'
7882 returning the string.
7883
bd2dba5a
LMI
7884 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7885
74beb59f
LMI
7886 * simple.el (zap-to-char): Allow zapping using input methods
7887 (bug#1580).
7888
24d78a88
LMI
7889 * textmodes/fill.el (fill-region): Leave point and mark where they
7890 were before filling (bug#5399).
7891
263f20cd
GM
78922012-04-09 Glenn Morris <rgm@gnu.org>
7893
7894 * version.el (emacs-bzr-get-version):
7895 Handle lightweight checkouts of local branches.
7896
58d1f797
AS
78972012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7898
263f20cd 7899 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7900
b4d3bc10
CY
79012012-04-09 Chong Yidong <cyd@gnu.org>
7902
7903 * custom.el (custom-variable-p): Return nil for non-symbol
7904 arguments instead of signaling an error.
7905 (user-variable-p): Obsolete alias for custom-variable-p.
7906
7907 * apropos.el (apropos-variable):
7908 * files-x.el (read-file-local-variable):
7909 * simple.el (set-variable):
7910 * woman.el (woman-mini-help):
7911 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7912
fd06db5d
GM
79132012-04-09 Glenn Morris <rgm@gnu.org>
7914
e5fcdb5e
GM
7915 * startup.el (normal-top-level): Don't look for leim-list.el
7916 in places where it will not be found. (Bug#910)
7917
fd06db5d
GM
7918 * international/mule-cmds.el (set-default-coding-systems):
7919 * files.el (normal-mode):
7920 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7921 This function was removed with ucs-tables.el in 2008.
7922
b39bb7e1
EZ
79232012-04-08 Eli Zaretskii <eliz@gnu.org>
7924
7925 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7926 ispell-encoding8-command to "-i", without a trailing space.
7927 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7928 separate command-line arguments, to specify the encoding, since
7929 that's how hunspell expects it.
7930
5c5b8e23
GM
79312012-04-08 Glenn Morris <rgm@gnu.org>
7932
7933 * loadup.el: Load bindings before cus-start.
7934 This reduces somewhat the number of "rogue" settings in emacs -Q.
7935
a1ed8b05
GM
79362012-04-07 Glenn Morris <rgm@gnu.org>
7937
7938 * version.el (emacs-bzr-get-version): New function.
dfae128a 7939 (emacs-bzr-version): New variable.
a1ed8b05
GM
7940 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7941 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7942
b142f158
EZ
79432012-04-07 Eli Zaretskii <eliz@gnu.org>
7944
dfae128a
GM
7945 * international/uni-bidi.el, international/uni-category.el:
7946 * international/uni-combining.el, international/uni-decimal.el:
7947 * international/uni-decomposition.el, international/uni-digit.el:
7948 * international/uni-lowercase.el, international/uni-mirrored.el:
7949 * international/uni-name.el, international/uni-numeric.el:
7950 * international/uni-titlecase.el, international/uni-uppercase.el:
7951 Update for Unicode 6.1.
b142f158 7952
9078ead6
EZ
79532012-04-07 Eli Zaretskii <eliz@gnu.org>
7954
7955 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7956
f23d2c7d
LMI
79572012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7958
7959 * window.el (shrink-window): Mention the `window-min-height'
7960 variable in the doc string.
7961
0a0a3573
BG
79622012-04-05 Bastien Guerry <bzg@altern.org>
7963
7964 * color.el (color-lighten-name): Fix typo.
7965
e5248ac9
SM
79662012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * server.el (server--on-display-p): New function.
7969 (server--on-display-p): Use it.
7970
b4243e22
GV
79712012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7972
7973 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7974 (bug#11145).
7975
305d9f44
SM
79762012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * comint.el (comint--common-quoted-suffix): Check string boundary
7979 before comparing (bug#11158).
7980 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7981
3d439cd1
CY
79822012-04-04 Chong Yidong <cyd@gnu.org>
7983
321cc491
CY
7984 * minibuffer.el (completion-extra-properties): Doc fix.
7985
3d439cd1
CY
7986 * subr.el (delayed-warnings-hook): Doc fix.
7987
2d562c0f
DU
79882012-04-04 Daiki Ueno <ueno@unixuser.org>
7989
7990 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7991 selection (Bug#11159).
7992 (epa-insert-keys): Inform that the default public key will be
7993 exported if no key is selected.
7994
4443f204
RS
79952012-04-04 Richard Stallman <rms@gnu.org>
7996
7997 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7998
529c06b6
CY
79992012-04-03 Chong Yidong <cyd@gnu.org>
8000
8001 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8002 mail-insert-file, not its obsolete alias mail-attach-file.
8003
66b907dc
MA
80042012-04-03 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * notifications.el (notifications-notify): Fix docstring.
8007
c0ea195d
GM
80082012-04-02 Glenn Morris <rgm@gnu.org>
8009
8010 * emacs-lisp/authors.el (authors-aliases): Another addition.
8011
5ca64e00
MA
80122012-04-02 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8015 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8016 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8017
42ee526b
CY
80182012-04-01 Chong Yidong <cyd@gnu.org>
8019
8020 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8021 Handle root directory properly.
8022 (copy-directory): Caller changed.
8023
8024 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8025 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8026
0b021094
GM
80272012-03-31 Glenn Morris <rgm@gnu.org>
8028
40f86458
GM
8029 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8030
7019c177
GM
8031 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8032
a1daddd6
GM
8033 * calendar/calendar.el (calendar-window-list)
8034 (calendar-hide-window): Restore. (Bug#11140)
8035 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8036
0b021094
GM
8037 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8038
40311efc
TV
80392012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8040
8041 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8042 Check if file is a symlink (Bug#10489).
8043
8044 * files.el (copy-directory): Likewise.
8045
5319014e
CY
80462012-03-30 Chong Yidong <cyd@gnu.org>
8047
8048 * image.el (imagemagick-types-inhibit)
8049 (imagemagick-register-types): Doc fix.
8050
935d1290
AM
80512012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8052
090bd7cb 8053 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8054 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8055 and treats ~word as ordinary words in pipe mode.
935d1290 8056
61c6e8fd
GM
80572012-03-30 Glenn Morris <rgm@gnu.org>
8058
8059 * tutorial.el (help-with-tutorial): Ensure local variables don't
8060 happen to make the buffer read-only. (Bug#11127)
8061
81fdff00
SM
80622012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8065 (perl-calculate-indent): Return `noindent' in strings.
8066
6e7a6ec0
SS
80672012-03-28 Sam Steingold <sds@gnu.org>
8068
8069 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8070 instead of the broken adhockery which does not prevent calendar
8071 buffers from being displayed at random after exit.
8072 (calendar-window-list, calendar-hide-window): Remove the broken
8073 adhockery.
8074
fee88ca0
GM
80752012-03-28 Glenn Morris <rgm@gnu.org>
8076
8077 * replace.el (query-replace-map): Doc fix.
8078
38de3354
AS
80792012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8080
8081 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8082 contents. (Bug#11109)
8083
b973155e
SM
80842012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8087 (bug#11077).
8088 (avl-tree--check, avl-tree--check-node): New funs.
8089
dcb6e7b3
MR
80902012-03-27 Martin Rudalics <rudalics@gmx.at>
8091
8092 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8093 (switch-to-prev-buffer, switch-to-next-buffer):
8094 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8095 showing a buffer already is done on the same frame.
8096
b4fa35fa
GM
80972012-03-27 Glenn Morris <rgm@gnu.org>
8098
8099 * startup.el (mail-host-address): Doc fix.
8100
f9210e18
SM
81012012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8102
8103 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8104 than 197 variables.
8105
c0bf7753
AF
81062012-03-26 Ami Fischman <ami@fischman.org>
8107
8108 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8109
33da7b16
GM
81102012-03-26 Glenn Morris <rgm@gnu.org>
8111
02243d9d
GM
8112 * files.el (save-buffers-kill-emacs): Doc fix.
8113
33da7b16
GM
8114 * startup.el (normal-top-level, command-line, command-line-1):
8115 Give them doc strings.
8116
e5a69fd0
EZ
81172012-03-25 Eli Zaretskii <eliz@gnu.org>
8118
8119 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8120 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8121
9a69676a
CY
81222012-03-25 Chong Yidong <cyd@gnu.org>
8123
4125cb8b
CY
8124 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8125 theme if it was previously enabled before (Bug#11031).
8126
dd470960
CY
8127 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8128 spec with custom-face-get-current-spec if its :shown-value is not
8129 determined yet (Bug#9337).
4125cb8b 8130 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8131
9a69676a
CY
8132 * button.el (button-at): Minor addition to docstring.
8133
6e7e90fa
SL
81342012-03-24 Simon Leinen <simon.leinen@gmail.com>
8135
8136 * vc/vc.el (vc-merge): Fix a prompt.
8137
f06e2758
CY
81382012-03-24 Chong Yidong <cyd@gnu.org>
8139
8140 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8141 point (Bug#9623).
8142
6e7e90fa
SL
8143 * button.el (button-at): Minor addition to docstring.
8144
b9d0879b
SM
81452012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 * newcomment.el (comment-choose-indent): No space after BOL.
8148
e71cebb3
SS
81492012-03-22 Sam Steingold <sds@gnu.org>
8150
8151 * window.el (switch-to-prev-buffer): Revert last patch because the
8152 bug turned out to be an advertised feature (Elisp manual 28.14).
8153
335aff35
GM
81542012-03-22 Glenn Morris <rgm@gnu.org>
8155
8156 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8157 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8158
c676576a
LMI
81592012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8160
8161 * net/network-stream.el (network-stream-open-starttls): Make error
8162 message under Windows be less misleading.
8163
126f3d39
LW
81642012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8165
8166 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8167 understands (bug#9942).
8168
64fee311
CY
81692012-03-22 Chong Yidong <cyd@gnu.org>
8170
8171 * simple.el (end-of-visible-line): Handle return value of
8172 next-single-property-change properly (Bug#9371).
8173
a640d29a
KH
81742012-03-22 Kenichi Handa <handa@m17n.org>
8175
8176 * international/quail.el (quail-insert-kbd-layout): Fix previous
8177 change. To avoid unwanted bidi reordering, use
8178 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8179
39675016
DG
81802012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8181
8182 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8183 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8184 (ruby-beginning-of-indent): Be more careful with the difference
8185 between word-boundary and symbol boundary.
8186 (ruby-mode-syntax-table): Make : a symbol constituent.
8187
0a6934fc 81882012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8189
3d008e4f
SM
8190 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8191
0a6934fc
SM
81922012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8193
af67c9d7
SM
8194 * progmodes/etags.el (tags-completion-at-point-function):
8195 Improve last fix.
8196
1acad97c
SM
8197 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8198
e298b5da
SS
81992012-03-21 Sam Steingold <sds@gnu.org>
8200
8201 * progmodes/etags.el (tags-completion-at-point-function):
8202 Avoid the error when point is inside the pattern.
8203
91d82a70
JY
82042012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8205
8206 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8207 line (Bug#10855).
8208
69188b79
CY
82092012-03-21 Drew Adams <drew.adams@oracle.com>
8210
8211 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8212
99fc91fe
AK
82132012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8214
8215 * ido.el (ido-set-current-directory, ido-read-internal)
8216 (ido-choose-completion-string, ido-completion-help): Handle nil
8217 value of ido-completion-buffer (Bug#11008).
8218
087bbb4c
SS
82192012-03-21 Sam Steingold <sds@gnu.org>
8220
8221 * window.el (switch-to-prev-buffer): Do not switch to a visible
8222 window previous buffer, just like with the frame previous buffers.
8223
fb5b8aca
CY
82242012-03-21 Chong Yidong <cyd@gnu.org>
8225
8226 * faces.el (make-face, make-empty-face, copy-face):
8227 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8228 Doc fixes.
8229
dc9924b8
SM
82302012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8233 (widget-complete): Remove broken use of it.
8234
f0bcceb9
CY
82352012-03-20 Chong Yidong <cyd@gnu.org>
8236
dc9924b8
SM
8237 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8238 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8239 characters.
8240
ee52ebf3
TH
82412012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8242
8243 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8244 to draw rectangles, not squares. (Regression introduced by revno
8245 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8246
4c5779ab
CY
82472012-03-18 Chong Yidong <cyd@gnu.org>
8248
8249 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8250 it is not yet defined (for temacs).
8251
15360934
LL
82522012-03-18 Leo Liu <sdl.web@gmail.com>
8253
dc9924b8 8254 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 8255
d9a8eb66
EZ
82562012-03-17 Eli Zaretskii <eliz@gnu.org>
8257
8258 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8259 (ispell-choices-win-default-height, ispell-silently-savep)
8260 (ispell-dictionary-alist, ispell-encoding8-command)
8261 (ispell-check-version, ispell-aspell-find-dictionary)
8262 (ispell-valid-dictionary-list, ispell-words-keyword)
8263 (ispell-get-word, ispell-internal-change-dictionary)
8264 (ispell-region, ispell-skip-region-list)
8265 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8266 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8267 (ispell-message-text-end, ispell-message)
8268 (ispell-buffer-local-parsing): Doc fix.
8269
f02ff80d
J
82702012-03-13 Jambunathan K <kjambunathan@gmail.com>
8271
8272 * htmlfontify.el: Add support for code block fontification for ODT
8273 export (Bug #9914).
8274 (hfy-optimisations): Define new option
8275 `body-text-only'
8276 (hfy-fontify-buffer): Honor above setting.
8277 (hfy-begin-span, hfy-end-span): New routines factored out form
8278 `hfy-fontify-buffer'.
8279 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8280 that permit insertion of custom tags.
8281 (hfy-fontify-buffer): Use above handlers.
8282 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8283 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8284 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8285 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8286 bind a special variable `hfy-user-sheet-assoc'.
8287 (htmlfontify-string): New defun.
8288 (hfy-compile-face-map): Make sure that the last char in the
8289 buffer is correctly fontified.
8290 (hfy-face-resolve-face): Whitespace only change.
8291
9ac7a13f
EZ
82922012-03-17 Eli Zaretskii <eliz@gnu.org>
8293
8294 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8295 message more clear.
8296
e2b5bdd7
LL
82972012-03-16 Leo Liu <sdl.web@gmail.com>
8298
8299 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8300
2e492df3
AM
83012012-03-16 Alan Mackenzie <acm@muc.de>
8302
8303 Further optimise the handling of large macros.
8304
8305 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8306 limit to a call of `c-literal-limits'.
8307 (c-determine-+ve-limit): New function.
dc9924b8
SM
8308 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8309 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8310 In CASE 5B, restrict a search limit to 500.
8311 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8312
8313 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8314 Restrict macro bounds to +-500 from after-change's BEG END.
8315
50e94f0c
LL
83162012-03-16 Leo Liu <sdl.web@gmail.com>
8317
8318 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8319
6f09f6ed
AH
83202012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8321
8322 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8323 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8324
c7e73d51
GM
83252012-03-16 Glenn Morris <rgm@gnu.org>
8326
da986230
GM
8327 * view.el (view-buffer, view-buffer-other-window)
8328 (view-buffer-other-frame): Doc fixes re special mode-class.
8329
0835f01e
GM
8330 * subr.el (eval-after-load): If named feature is provided not from
8331 a file, run after-load forms. (Bug#10946)
8332
c7e73d51
GM
8333 * calendar/calendar.el (calendar-insert-at-column):
8334 Handle non-unit-width characters a bit better. (Bug#10978)
8335
3f2eafd1
CY
83362012-03-15 Chong Yidong <cyd@gnu.org>
8337
8338 * emacs-lisp/ring.el (ring-extend): New function.
8339 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8340
8341 * comint.el (comint-read-input-ring)
8342 (comint-add-to-input-history): Grow comint-input-ring lazily.
8343
103af3fe
SM
83442012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8345
663b1677
SM
8346 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8347 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8348
103af3fe
SM
8349 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8350 (imenu-add-to-menubar): Don't add a redundant index.
8351 (imenu-update-menubar): Handle a dynamically composed keymap.
8352
899cb7cb
KY
83532012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8354
8355 * mail/sendmail.el (mail-encode-header):
8356 Bind rfc2047-encode-encoded-words to nil.
8357
3809f91d
GM
83582012-03-13 Glenn Morris <rgm@gnu.org>
8359
8360 * calendar/calendar.el (calendar-string-spread):
8361 Handle non-unit-width characters a bit better. (Bug#10978)
8362
9e345a01
LL
83632012-03-13 Leo Liu <sdl.web@gmail.com>
8364
8365 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8366 directory and file as argument (Bug#10822).
8367
4a07df36
KS
83682012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8369
8370 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8371 For dynamically generated code, follow $PC.
8372 (gdb-disassembly-handler-custom): Handle no function name case.
8373
4aaa9356
TL
83742012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8375
8376 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8377 * emulation/ws-mode.el (ws-query-replace):
8378 * sort.el (sort-regexp-fields):
8379 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8380
225979da
SM
83812012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * dabbrev.el: Fix cycle completion order (bug#10963).
8384 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8385 (dabbrev-completion): Don't use an obarray; provide
8386 a cycle-sort-function.
8387
e2f1fdab
LL
83882012-03-12 Leo Liu <sdl.web@gmail.com>
8389
dc9924b8 8390 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8391 (kill-do-not-save-duplicates): Doc fix.
8392
b19490ed
SM
83932012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * dabbrev.el: Fix cycle completion (bug#10963).
8396 Use lexical binding and wrap to 80 columns.
8397 (dabbrev-completion): Delay computing the list of completions.
8398
4b05d722
KH
83992012-03-12 Kenichi Handa <handa@m17n.org>
8400
8401 * international/quail.el (quail-insert-kbd-layout): Surround each
8402 row by LRO and PDF instead of inserting many LRMs. Pad the left
8403 and right of each non-spacing marks. Insert invisible space
8404 between lower and upper characters to prevent composition.
8405
dbbc2e69
SM
84062012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * minibuffer.el (minibuffer-complete): Don't get confused when the
8409 function is run twice via different commands (bug#10958).
8410 (complete-with-action): Fix docstring.
8411
292112ed
CY
84122012-03-12 Chong Yidong <cyd@gnu.org>
8413
5d1ac394
CY
8414 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8415 (nxml-completion-at-point-function): New function.
8416 (nxml-mode): Use it.
8417 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8418
292112ed
CY
8419 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8420 Load generated autoloads file before byte compiling (Bug#10970).
8421 (package--make-autoloads-and-compile): New helper fun.
8422
4098f8f7
CS
84232012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8424
8425 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8426
8f754691
MA
84272012-03-11 Michael Albinus <michael.albinus@gmx.de>
8428
8429 * autorevert.el (auto-revert-handler): Ensure, that
8430 file-readable-p is applied only for local files or in
8431 auto-revert-tail-mode.
8432
e29ab36b
AS
84332012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8434
dbbc2e69
SM
8435 * server.el (server-eval-at): Handle non-tcp connections.
8436 Decode result string.
ad0bf5b6 8437
e29ab36b
AS
8438 * server.el (server-msg-size): New constant.
8439 (server-reply-print): New function.
8440 (server-eval-and-print): Use it.
8441 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8442 Handle -print-nonl.
8443
de5939ba
CS
84442012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8445
8446 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8447 (Bug#10987).
8448
0c93eabf
CY
84492012-03-11 Chong Yidong <cyd@gnu.org>
8450
397a688f
CY
8451 * simple.el (goto-line): Doc fix (Bug#9938).
8452
2cc775f9
CY
8453 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8454
0c93eabf
CY
8455 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8456 when finished (Bug#10963).
8457
c491fa41
MR
84582012-03-11 Martin Rudalics <rudalics@gmx.at>
8459
8460 * window.el (split-window-below): Fix bug in case where
8461 split-window-keep-point is nil (Bug#10971).
8462
300e8fa5
JL
84632012-03-11 Juri Linkov <juri@jurta.org>
8464
8465 * replace.el (replace-highlight): Set isearch-word to nil
8466 unconditionally. (Bug#10887)
8467
dbf6c5a1
EZ
84682012-03-10 Eli Zaretskii <eliz@gnu.org>
8469
8470 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8471 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8472 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8473 (mairix-widget-create-query): Add usage information about mairix
8474 search forms: negating words, searching for substrings, etc.
8475
b9e501de
JP
84762012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8477
8478 * international/fontset.el (font-encoding-alist): Add an entry for
8479 ksx1001 (Bug#5667).
8480
92795c91
RS
84812012-03-10 Richard Stallman <rms@gnu.org>
8482
1694e6c1
RS
8483 * mail/sendmail.el (mail-encode-header):
8484 Set rfc2047-encode-encoded-words.
8485
607e8555
RS
8486 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8487
de3bc99a
RS
8488 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8489 view buffer means not swapped.
8490 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8491 (rmail-write-region-annotate): Error if real text has disappeared.
8492
92795c91
RS
8493 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8494
699bd04e
CY
84952012-03-10 Chong Yidong <cyd@gnu.org>
8496
8497 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8498 * emulation/cua-base.el (cua--init-keymaps):
8499 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8500
570a1714
MR
85012012-03-10 Martin Rudalics <rudalics@gmx.at>
8502
dbbc2e69
SM
8503 * speedbar.el (speedbar-unhighlight-one-tag-line):
8504 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8505
82dcf4e4
CY
85062012-03-10 Chong Yidong <cyd@gnu.org>
8507
7a2c7ca7
CY
8508 * minibuffer.el (completion-in-region, completion-help-at-point):
8509 Give the completion field overlay a high priority (Bug#6830).
8510
82dcf4e4
CY
8511 * dired.el (dired-goto-file): Recognize absolute file name
8512 listings (Bug#7126).
8513 (dired-goto-file-1): New helper function.
8514 (dired-toggle-read-only): Inhibit warnings.
8515
052e28ac
MA
85162012-03-09 Michael Albinus <michael.albinus@gmx.de>
8517
75f1671a 8518 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8519 there are no properties.
8520
95d5e396
LL
85212012-03-09 Leo Liu <sdl.web@gmail.com>
8522
8523 * savehist.el (savehist-printable): Stricter check for string
8524 value (Bug#10937).
8525
3f018d6d
EZ
85262012-03-09 Eli Zaretskii <eliz@gnu.org>
8527
dbbc2e69
SM
8528 * mail/smtpmail.el (smtpmail-send-it):
8529 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8530 valid mbox format.
8531
f7fd3d79
GM
85322012-03-09 Glenn Morris <rgm@gnu.org>
8533
8534 * files.el (dir-locals-find-file):
8535 Don't check result is regular, readable.
8536 (dir-locals-read-from-file): Demote errors.
8537
6ff6e72f
EZ
85382012-03-08 Eli Zaretskii <eliz@gnu.org>
8539
dbbc2e69
SM
8540 * international/quail.el (quail-insert-kbd-layout):
8541 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8542 layout cell, to prevent their reordering by bidi display engine.
8543 For details, see the discussion in
8544 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8545
9cec7834
AM
85462012-03-08 Alan Mackenzie <acm@muc.de>
8547
8548 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8549 the starting position; make it extend the marked region when
8550 invoked repeatedly - all under appropriate circumstances.
8551 Fixes bugs #5525, #10906.
8552
9a40b8d4
GM
85532012-03-08 Glenn Morris <rgm@gnu.org>
8554
8555 * files.el (locate-dominating-file, dir-locals-find-file):
8556 Undo 2012-03-06 change.
8557
7a08ed35
EZ
85582012-03-07 Eli Zaretskii <eliz@gnu.org>
8559
dbbc2e69
SM
8560 * international/quail.el (quail-help):
8561 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8562 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8563 for the reason.
8564
5aca4f71 85652012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8566
8567 Avoid superfluous registering of signals. (Bug#10807)
8568
8569 * notifications.el (notifications-on-action-object)
8570 (notifications-on-close-object): New defvars.
8571 (notifications-on-action-signal, notifications-on-closed-signal):
8572 Unregister the signal if not needed any longer.
8573 (notifications-notify): Register `notifications-action-signal' or
8574 `notifications-closed-signal', if :on-action or :on-close has been
8575 passed as argument.
8576
78e8b10a
CY
85772012-03-07 Chong Yidong <cyd@gnu.org>
8578
8579 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8580 non-X platforms.
8581
69481eb8
GM
85822012-03-06 Glenn Morris <rgm@gnu.org>
8583
8584 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8585 (x-disown-selection-internal, x-get-selection-internal):
8586 Doc fix (add arglist signatures). (Bug#10783)
8587
133b8e11
KS
85882012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8589
8590 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8591 Handle breakpoints with no "type".
8592
99a83064
GM
85932012-03-06 Glenn Morris <rgm@gnu.org>
8594
8595 * files.el (locate-dominating-file): Add optional predicate argument.
8596 (dir-locals-find-file): Make use of above change.
8597
17798e78
TTN
85982012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8599
8600 * info.el (Info-insert-dir): Also try "dir.gz".
8601
eb182446
GM
86022012-03-06 Glenn Morris <rgm@gnu.org>
8603
8f2114ee
GM
8604 * files.el (dir-locals-find-file):
8605 Ignore non-readable or non-regular files. (Bug#10928)
8606
eb182446
GM
8607 * files.el (locate-dominating-file): Doc fix.
8608
24679323
AS
86092012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8610
8611 * calendar/calendar.el (calendar-set-mode-line):
8612 `getenv' returns a string. (Bug#10951)
8613
01d972a9
LL
86142012-03-05 Leo Liu <sdl.web@gmail.com>
8615
109aa8a9
LL
8616 * simple.el (backward-delete-char-untabify): Constrain point to
8617 field (Bug#10939).
8618
01d972a9
LL
8619 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8620
10607bea
CY
86212012-03-05 Chong Yidong <cyd@gnu.org>
8622
8623 * simple.el (count-words): If called from Lisp, return the word
8624 count, for symmetry with `count-lines'. Arglist changed.
8625 (count-words--message): Args changed. Consolidate counting code
8626 from count-words and count-words-region.
8627 (count-words-region): Caller changed.
8628 (count-lines-region): Make it an obsolete alias.
8629
5dd11cfe
TH
86302012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8631
8632 * saveplace.el (save-place-to-alist)
8633 (save-place-ignore-files-regexp): Allow value nil to disable this
8634 feature.
8635
c349f4e6
CY
86362012-03-04 Chong Yidong <cyd@gnu.org>
8637
8638 * faces.el (face-spec-reset-face): For the default face, reset the
8639 attributes to default values (Bug#10748).
8640
e627be4c
LMI
86412012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8642
8643 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8644 previous patch: Check `message-send-mail-function', and not the
8645 default function (bug#10897).
8646
ebeabff4
MA
86472012-03-04 Michael Albinus <michael.albinus@gmx.de>
8648
a41a6cf4
MA
8649 * notifications.el (notifications-on-action-signal)
8650 (notifications-on-closed-signal): Check for unique service name of
8651 incoming event. Fix error in removing entry.
ebeabff4 8652 (top): Register for signals with wildcard service name.
a41a6cf4 8653 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8654
c1ca42b4
CY
86552012-03-04 Chong Yidong <cyd@gnu.org>
8656
dc9924b8 8657 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8658
ea16568d
GM
86592012-03-04 Glenn Morris <rgm@gnu.org>
8660
8661 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8662 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8663 (expand-abbrev, define-abbrev-table): Doc fixes.
8664
fbae4637
LMI
86652012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8666
8667 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8668 `message-default-send-mail-function' and not `send-mail-function'
8669 when doing the prompting for `sendmail-query-once' before sending
8670 in Message buffers (bug#10897).
8671
a1e7225c
LMI
8672 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8673 This is inconsistent with all the other stream functions, which leave
8674 the setting up to the higher levels (if so wanted) (bug#10931).
8675
56d093a9
AM
86762012-03-02 Alan Mackenzie <acm@muc.de>
8677
8678 Depessimize the handling of very large macros.
8679
8680 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8681 (c-macro-cache-syntactic): New variables to implement a one
8682 element macro cache.
8683 (c-invalidate-macro-cache): New function.
8684 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8685 Adapt to use the new cache.
8686 (c-state-safe-place): Use better the cache of safe positions.
8687 (c-state-semi-nonlit-pos-cache)
8688 (c-state-semi-nonlit-pos-cache-limit):
8689 New variables for...
8690 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8691 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8692 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8693 Use c-state-semi-safe-place.
56d093a9 8694
dbbc2e69
SM
8695 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8696 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8697
817e5c3d
MA
86982012-03-02 Michael Albinus <michael.albinus@gmx.de>
8699
dbbc2e69
SM
8700 * jka-compr.el (jka-compr-call-process):
8701 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8702 not remote.
8703
a032a702
MA
87042012-03-01 Michael Albinus <michael.albinus@gmx.de>
8705
8706 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8707 access of FILE2, if FILE1 does not exist.
8708
99a54f21
MA
8709 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8710 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8711
8712 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8713 Add "PAGER=" to `process-environment'.
8714
f6561e1f
MM
87152012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8716
8717 * progmodes/sql.el: Bug fix
8718 (sql-get-login-ext): Save login values in globals.
8719 (sql-get-login): Use new version of `sql-get-login-ext'.
8720 (sql-interactive-mode): Set global `sql-connection' to nil.
8721 (sql-connect): Set global values for connection.
8722 (sql-product-interactive): Save global values as buffer local.
8723
2d44d9cc
LL
87242012-02-29 Leo Liu <sdl.web@gmail.com>
8725
8726 * abbrev.el (define-abbrevs): Reset sys to nil.
8727
96b49301 87282012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8729
bf7f9bc5
JB
8730 * files.el (file-equal-p): Rename from `files-equal-p'.
8731 Return nil when one or both files don't exist.
96b49301 8732 (file-subdir-of-p): Now only top directory must exists,
8733 return nil if it doesn't.
bf7f9bc5
JB
8734 (copy-directory): No need to test with `file-subdir-of-p' after
8735 creating dir.
8736 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8737 to `file-equal-p'.
96b49301 8738
44e97401
GM
87392012-02-28 Glenn Morris <rgm@gnu.org>
8740
8741 * shell.el (shell-mode):
8742 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8743 * play/landmark.el (landmark-font-lock-face-O):
8744 * play/handwrite.el (handwrite):
8745 * play/gomoku.el (gomoku-O):
8746 * net/browse-url.el (browse-url-browser-display):
8747 * international/mule.el (define-charset):
8748 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8749 * filesets.el (filesets-find-file-delay):
8750 * eshell/em-xtra.el (eshell-xtra):
8751 * eshell/em-unix.el (eshell-grep):
8752 * emulation/viper.el (viper-mode):
8753 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8754 * emacs-lisp/easymenu.el (easy-menu-define):
8755 * calendar/timeclock.el (timeclock-use-display-time):
8756 * bs.el (bs-mode):
8757 * bookmark.el (bookmark-save-flag):
8758 Doc fix (standardize possessive apostrophe usage).
8759
c98c6276
CY
87602012-02-27 Chong Yidong <cyd@gnu.org>
8761
bf7f9bc5
JB
8762 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8763 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8764
c98c6276
CY
8765 * font-lock.el (font-lock-specified-p): Rename from
8766 font-lock-spec-present. Callers changed.
8767
9c62cd04 87682012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8769
bf7f9bc5
JB
8770 * emacs-lisp/package.el (package-compute-transaction):
8771 Handle holding a package version to t in package-load-list.
8ac9e529 8772
530739c9
MA
87732012-02-26 Michael Albinus <michael.albinus@gmx.de>
8774
8775 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8776 (tramp-get-inode, tramp-get-device): Use cached values.
8777
487915d7
AM
87782012-02-26 Alan Mackenzie <acm@muc.de>
8779
8780 Check there is a font-lock specification before doing initial
8781 fontification.
8782
8783 * font-core.el (font-lock-mode): Move the conditional from
8784 :after-hook to font-lock-initial-fontify.
8785 (font-lock-default-function): Move the check for a specification
8786 to font-lock-spec-present.
8787
dc9924b8 8788 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8789 (font-lock-spec-present): New function.
8790
4fd96557
JB
87912012-02-26 Jim Blandy <jimb@red-bean.com>
8792
8793 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8794 (gdb-send): Apply it to the operand of the '-interpreter-exec
8795 console' command, so that we can pass arguments with (say) quotes
8796 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8797
9a4888c0
CY
87982012-02-26 Chong Yidong <cyd@gnu.org>
8799
07498861
CY
8800 * help-fns.el (describe-function-1): Clarify description of
8801 remapping (Bug#10844).
8802
9a4888c0
CY
8803 * files.el (files-equal-p): Doc fix.
8804 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8805 and quit the loop once a mismatch is found.
8806
ea8fb88d
JB
88072012-02-25 Juanma Barranquero <lekktu@gmail.com>
8808
8809 * bs.el (bs--show-with-configuration): Don't throw an error
8810 if the window cannot be split; otherwise, subsequent calls to
8811 bs-show fail, restoring a stale window config. (Bug#10882)
8812
525795c1
JD
88132012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8814
8815 * term/ns-win.el (global-map): Bind ns-drag-file to
8816 ns-find-file (Bug#5855, Bug#10050).
8817
f008086f
AS
88182012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8819
8820 * calendar/parse-time.el (parse-time-string): Allow extractor to
8821 return nil.
8822
a3fcfa99
MA
88232012-02-25 Michael Albinus <michael.albinus@gmx.de>
8824
91027d08
JB
8825 * net/tramp.el (tramp-file-name-for-operation):
8826 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8827
8828 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8829 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8830 Add COPY-CONTENTS argument.
a3fcfa99 8831
67b0de11
CY
88322012-02-25 Chong Yidong <cyd@gnu.org>
8833
8834 Add custom groups for VC backends, for consistency with vc-bzr.
8835
8836 * vc/vc-arch.el (vc-arch):
8837 * vc/vc-cvs.el (vc-cvs):
8838 * vc/vc-git.el (vc-git):
8839 * vc/vc-hg.el (vc-hg):
8840 * vc/vc-mtn.el (vc-mtn):
8841 * vc/vc-rcs.el (vc-rcs):
8842 * vc/vc-sccs.el (vc-sccs):
8843 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8844 All relevant defcustoms reassigned.
8845
3c9dfce6
CY
88462012-02-25 Chong Yidong <cyd@gnu.org>
8847
1339bf43
CY
8848 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8849
3c9dfce6
CY
8850 * term/x-win.el (x-initialize-window-system): Reduce default for
8851 x-selection-timeout to 5 seconds (Bug#8869).
8852
25b2e303 88532012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8854
ec70a47d
GM
8855 * files.el (files-equal-p, file-subdir-of-p): New functions.
8856 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8857 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8858 * dired-aux.el (dired-copy-file-recursive): Same.
8859 (dired-create-files): Modify destination when source is equal to
8860 dest when copying files.
53a46cd0 8861 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8862
914260cd
MA
88632012-02-24 Michael Albinus <michael.albinus@gmx.de>
8864
8865 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8866 (Bug#10874)
8867
2cb228f7
AM
88682012-02-23 Alan Mackenzie <acm@muc.de>
8869
8870 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8871 parameter "after-hook:" to allow the expansion to run code after
8872 the execution of the mode hooks.
8873
8874 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8875 from font-lock-mode-internal.
2cb228f7 8876
91027d08 8877 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8878 :after-hook.
8879
8f0fde21
SM
88802012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8881
3e88618b
SM
8882 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8883 (completion--cache-all-sorted-completions): New function.
8884 (completion-all-sorted-completions): Use it.
8885 (completion--do-completion, minibuffer-force-complete):
8886 Use it to re-instate the flush hook.
8887
8f0fde21
SM
8888 * icomplete.el (icomplete-completions): Replace last fix with a better
8889 one (bug#10850).
8890
8e911f6f
DG
88912012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8892
8893 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8894 when it might call us back infinitely (bug#10797).
8895
49fe4321
GM
88962012-02-23 Glenn Morris <rgm@gnu.org>
8897
8898 * minibuffer.el (completion-category-overrides): Doc fix.
8899
b291b572
SM
89002012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8903 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8904
31a9ef2e
GM
89052012-02-23 Glenn Morris <rgm@gnu.org>
8906
5e6e6794 8907 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8908 (authors-obsolete-files-regexps, authors-ignored-files)
8909 (authors-ambiguous-files, authors-renamed-files-alist):
8910 Add more entries.
8911
0bd1e074
JL
89122012-02-23 Juri Linkov <juri@jurta.org>
8913
8914 * isearch.el (isearch-occur): Sync interactive spec with occur's
8915 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8916
b617673c
JL
8917 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8918
19e9789e
JL
89192012-02-22 Juri Linkov <juri@jurta.org>
8920
8921 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8922 (ucs-insert): Doc fix. Check for hex digits in the string.
8923 Don't display `nil' in the error message. (Bug#10857)
8924
f41ce09d
AM
89252012-02-22 Alan Mackenzie <acm@muc.de>
8926
7a71b18d 8927 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8928
ac2eceee
GM
89292012-02-22 Glenn Morris <rgm@gnu.org>
8930
8931 * ffap.el (ffap-c-path):
8932 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8933
abd1f678
CY
89342012-02-22 Chong Yidong <cyd@gnu.org>
8935
8936 * custom.el (load-theme): Doc fix.
8937
f25aef2e
GM
89382012-02-22 Glenn Morris <rgm@gnu.org>
8939
8940 * dired-x.el (dired-guess-shell-alist-default):
8941 Remove escape sequences from nroff output. (Bug#172)
8942
5f8dc2ca
GM
89432012-02-21 Glenn Morris <rgm@gnu.org>
8944
6ff86ec4
GM
8945 * vc/emerge.el (emerge-defvar-local):
8946 Set `permanent-local' property rather than unused `preserved'.
8947
be3223a3 8948 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8949 (picture-mode-map): Use it. (Bug#10860)
8950 (picture-mode): Doc fix.
8951
3fe58f4f
JB
89522012-02-21 Juanma Barranquero <lekktu@gmail.com>
8953
8954 * newcomment.el (uncomment-region-default): Remove unused binding.
8955
f9a998c3
GM
89562012-02-21 Glenn Morris <rgm@gnu.org>
8957
8958 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8959 (picture-self-insert, picture-tab-chars): Doc fix.
8960 (picture-mode-map): Fix C-a, C-e.
8961
c6029348
GM
89622012-02-20 Glenn Morris <rgm@gnu.org>
8963
8964 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8965
ab1ce9d7
LL
89662012-02-20 Leo Liu <sdl.web@gmail.com>
8967
8968 * icomplete.el (icomplete-completions): Check FROM arg before
8969 passing to substring (Bug#10850).
8970
0fd40f89
CY
89712012-02-19 Chong Yidong <cyd@gnu.org>
8972
8973 * comint.el: Require ansi-color.
8974 (comint-output-filter-functions): Add ansi-color-process-output.
8975
8976 * ansi-color.el: Don't set comint-output-filter-functions; it is
8977 now in the initial value defined in comint.el.
8978 (ansi-color-apply-face-function): New variable.
8979 (ansi-color-apply-on-region): Use it.
8980 (ansi-color-apply-overlay-face): New function.
8981
8982 * shell.el (shell): No need to require ansi-color.
8983 (shell-mode): Use ansi-color-apply-face-function to highlight
8984 color escapes using font-lock-face property (Bug#10835).
8985
20af2394
CY
89862012-02-19 Chong Yidong <cyd@gnu.org>
8987
8988 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8989 mode-line formats (Bug#10839).
8990
e23a3fbe
GM
89912012-02-18 Glenn Morris <rgm@gnu.org>
8992
b474519e
GM
8993 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8994
8995 * mail/undigest.el (unforward-rmail-message): Doc fix.
8996
e23a3fbe
GM
8997 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8998
57939ff4
EZ
89992012-02-18 Eli Zaretskii <eliz@gnu.org>
9000
9001 * international/characters.el (script-list): Sync with the latest
9002 Unicode Character Database.
9003
0c23686e
AS
90042012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9005
9006 * international/titdic-cnv.el: Remove duplicate coding tag.
9007 * language/cham.el: Likewise.
9008 * language/tai-viet.el: Likewise.
9009
6818b449
GM
90102012-02-18 Glenn Morris <rgm@gnu.org>
9011
9012 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9013 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9014 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9015 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9016 * calendar/holidays.el (holiday-bahai-holidays)
9017 (calendar-holidays, list-holidays):
9018 Use utf-8 Bahá'í in doc-strings, menus, etc.
9019
0311a3fc
TH
90202012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9021
9022 * saveplace.el (save-place-ignore-files-regexp): New variable
9023 allowing for excluding files from saving their location of point.
9024 The default value matches the temporary commit message editing
9025 files from Git, SVN, Bazaar, and Mercurial.
9026 (save-place-to-alist): Use it.
9027
d209e2fb 90282012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9029 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9030
9031 * newcomment.el (uncomment-region-default): Don't leave extra space
9032 when an arg is provided (bug#8150).
9033
ee0ce425
TZ
90342012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9035
eb864a71 9036 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9037
95ddf442
GM
90382012-02-17 Glenn Morris <rgm@gnu.org>
9039
9040 * net/socks.el: Require network-stream. (Bug#10599)
9041
48dd1e39 90422012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9043
9044 * international/charprop.el:
9045 * international/uni-name.el:
9046 * international/uni-old-name.el:
9047 * international/uni-comment.el: Regenerate.
9048
d68cd087
GM
90492012-02-16 Glenn Morris <rgm@gnu.org>
9050
9051 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9052 Interactively in calendar buffer, give an error if not on a date.
9053
13932042
GM
90542012-02-15 Glenn Morris <rgm@gnu.org>
9055
9056 * shell.el (shell-delimiter-argument-list):
9057 Revert 2011-02-17 change. (Bug#8027)
9058
c3a70e2b
CY
90592012-02-15 Chong Yidong <cyd@gnu.org>
9060
60236b0d
CY
9061 * minibuffer.el (completion-at-point-functions): Doc fix.
9062
c3a70e2b
CY
9063 * custom.el (defcustom): Doc fix; note use of defvar.
9064
9f26dc24
GM
90652012-02-15 Glenn Morris <rgm@gnu.org>
9066
9067 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9068 Doc fixes.
9069
6546b134
GM
90702012-02-14 Glenn Morris <rgm@gnu.org>
9071
9072 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9073
d29b2b4c
LI
90742012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9075
9076 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9077 way the ports list is computed.
835bdcba
LI
9078 (smtpmail-query-smtp-server): Prompt the user for a port number if
9079 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9080
08dcdbc9
TZ
90812012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9082
9083 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9084
2605051a
GM
90852012-02-13 Glenn Morris <rgm@gnu.org>
9086
9087 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9088
7ee99f32
TZ
90892012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9090
9091 * net/gnutls.el (gnutls-trustfiles): New variable.
9092 (gnutls-negotiate): Use it.
9093
5f0af64f
LI
90942012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9095
9096 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9097 does its stuff if Gnus is running.
9098
c14fcc95
AM
90992012-02-13 Alan Mackenzie <acm@muc.de>
9100
9101 Fix a loop in c-set-fl-decl-start.
9102
7a71b18d 9103 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9104 c-backward-syntactic-ws actually moves backwards.
9105
142b4d90
LL
91062012-02-13 Leo Liu <sdl.web@gmail.com>
9107
9108 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9109 beginning so that all \C-o chars are removed.
9110
fa9958a6
TZ
91112012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9112
dc9924b8 9113 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9114
0bc5886a
AM
91152012-02-12 Alan Mackenzie <acm@muc.de>
9116
9117 Fix infinite loop with long macros.
4d6769e1 9118 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9119
d4bd55e7
CY
91202012-02-12 Chong Yidong <cyd@gnu.org>
9121
9122 * window.el (display-buffer): Doc fix (Bug#10785).
9123
66f3fe22
GM
91242012-02-12 Glenn Morris <rgm@gnu.org>
9125
bd7da63e
GM
9126 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9127 (x-disown-selection-internal, x-get-selection-internal):
9128 Sync docs with the xselect.c versions.
9129
66f3fe22
GM
9130 * allout-widgets.el: Add missing license notice.
9131
3e0d2fa7
GM
91322012-02-11 Glenn Morris <rgm@gnu.org>
9133
cfecdf09
GM
9134 * select.el (x-get-selection-internal, x-own-selection-internal)
9135 (x-disown-selection-internal):
9136 * x-dnd.el (x-get-selection-internal): Update declarations.
9137
6d216d7f
GM
9138 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9139
2bed3f04
GM
9140 * window.el (window-sides-slots):
9141 * tool-bar.el (tool-bar-position):
9142 * term/xterm.el (xterm-extra-capabilities):
9143 * ses.el (ses-self-reference-early-detection):
9144 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9145 (verilog-auto-wire-type)
9146 (verilog-auto-delete-trailing-whitespace)
9147 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9148 (verilog-auto-tieoff-declaration):
9149 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9150 (sql-oracle-statement-starters, sql-oracle-scan-on):
9151 * progmodes/prolog.el (prolog-align-comments-flag)
9152 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9153 (prolog-left-indent-regexp, prolog-paren-indent-p)
9154 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9155 (prolog-types, prolog-mode-specificators)
9156 (prolog-determinism-specificators, prolog-directives)
9157 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9158 (prolog-electric-dot-flag)
9159 (prolog-electric-dot-full-predicate-template)
9160 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9161 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9162 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9163 (prolog-program-switches, prolog-prompt-regexp)
9164 (prolog-debug-on-string, prolog-debug-off-string)
9165 (prolog-trace-on-string, prolog-trace-off-string)
9166 (prolog-zip-on-string, prolog-zip-off-string)
9167 (prolog-use-standard-consult-compile-method-flag)
9168 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9169 (prolog-imenu-max-lines, prolog-info-predicate-index)
9170 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9171 (prolog-char-quote-workaround):
9172 * progmodes/cc-vars.el (c-defun-tactic):
9173 * net/tramp.el (tramp-encoding-command-interactive)
9174 (tramp-local-end-of-line):
9175 * net/soap-client.el (soap-client):
9176 * net/netrc.el (netrc-file):
9177 * net/gnutls.el (gnutls):
9178 * minibuffer.el (completion-category-overrides)
9179 (completion-cycle-threshold)
9180 (completion-pcm-complete-word-inserts-delimiters):
9181 * man.el (Man-name-local-regexp):
9182 * mail/feedmail.el (feedmail-display-full-frame):
9183 * international/characters.el (glyphless-char-display-control):
9184 * eshell/em-ls.el (eshell-ls-date-format):
9185 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9186 (lisp-lambda-list-keyword-parameter-indentation)
9187 (lisp-lambda-list-keyword-parameter-alignment):
9188 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9189 * dired-x.el (dired-omit-verbose):
9190 * cus-theme.el (custom-theme-allow-multiple-selections):
9191 * calc/calc.el (calc-highlight-selections-with-faces)
9192 (calc-lu-field-reference, calc-lu-power-reference)
9193 (calc-note-threshold):
9194 * battery.el (battery-mode-line-limit):
9195 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9196 (archive-7z-update):
9197 * allout.el (allout-prefixed-keybindings)
9198 (allout-unprefixed-keybindings)
9199 (allout-inhibit-auto-fill-on-headline)
9200 (allout-flattened-numbering-abbreviation):
9201 * allout-widgets.el (allout-widgets-auto-activation)
9202 (allout-widgets-icons-dark-subdir)
9203 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9204 (allout-widgets-theme-dark-background)
9205 (allout-widgets-theme-light-background)
9206 (allout-widgets-item-image-properties-emacs)
9207 (allout-widgets-item-image-properties-xemacs)
9208 (allout-widgets-run-unit-tests-on-load)
9209 (allout-widgets-time-decoration-activity)
9210 (allout-widgets-hook-error-post-time)
9211 (allout-widgets-track-decoration):
9212 Add missing :version tags to new defcustoms and defgroups.
9213
5fec1b8e
GM
9214 * progmodes/sql.el (sql-ansi-statement-starters)
9215 (sql-oracle-statement-starters): Add custom type.
9216
3e0d2fa7
GM
9217 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9218 (prolog-system-version): Give it a type.
9219
90b671e2
EZ
92202012-02-11 Eli Zaretskii <eliz@gnu.org>
9221
9222 * term/pc-win.el (x-select-text, x-selection-owner-p)
9223 (x-own-selection-internal, x-disown-selection-internal)
9224 (x-get-selection-internal): Sync doc strings and argument lists
9225 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9226
5eac0c02
LL
92272012-02-11 Leo Liu <sdl.web@gmail.com>
9228
9229 * progmodes/python.el (python-end-of-statement): Fix infinite
9230 loop. (Bug#10788)
9231
f82cb659
GM
92322012-02-10 Glenn Morris <rgm@gnu.org>
9233
9234 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9235 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9236
cc26d239
LI
92372012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9238
9239 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9240 about SMTP before checking the From header.
9241
91027d08 9242 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9243 into own function for reuse by emacsbug.el.
9244
1be3ca5a
LL
92452012-02-10 Leo Liu <sdl.web@gmail.com>
9246
9247 * subr.el (condition-case-unless-debug): Rename from
9248 condition-case-no-debug. All callers changed.
9249 (with-demoted-errors): Fix caller.
9250
9251 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9252 * nxml/rng-valid.el (rng-do-some-validation):
9253 * emacs-lisp/package.el (package-refresh-contents)
9254 (package-menu-execute):
9255 * desktop.el (desktop-create-buffer):
91027d08 9256 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9257
b011fbfe
GM
92582012-02-10 Glenn Morris <rgm@gnu.org>
9259
b2096d72
GM
9260 * textmodes/bibtex.el:
9261 Add missing :version tags for new/changed defcustoms.
9262
b011fbfe
GM
9263 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9264
4c7e65bf
LI
92652012-02-09 Lars Ingebrigtsen <larsi@rusty>
9266
9267 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9268 (smtpmail-via-smtp): Use it, or fall back on the From address.
9269 (smtpmail-send-it): Ditto.
9270
f3934f6f
SM
92712012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9274 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9275 (byte-compile-tmp-var): New const.
9276 (byte-compile-defvar): Use it to minimize .elc size.
9277 Just use `defvar' rather than simulate it (bug#10761).
9278
a075a2c5
GM
92792012-02-09 Glenn Morris <rgm@gnu.org>
9280
cf3aa21b
GM
9281 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9282
354998cd
GM
9283 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9284 Add :version tags.
9285
dc9924b8
SM
9286 * progmodes/compile.el (compilation-error-screen-columns)
9287 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9288
dab3703d
GM
9289 * vc/log-view.el (log-view-toggle-entry-display):
9290 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9291
3f88cd72
GM
9292 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9293 (report-emacs-bug-can-use-xdg-email):
9294 (report-emacs-bug-insert-to-mailer): Doc fixes.
9295 (report-emacs-bug): Message fix.
9296
d95b247d
GM
9297 * net/browse-url.el (browse-url-can-use-xdg-open)
9298 (browse-url-xdg-open): Doc fixes.
9299
a075a2c5
GM
9300 * electric.el (electric-indent-mode, electric-pair-mode)
9301 (electric-layout-rules, electric-layout-mode): Doc fixes.
9302 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9303
ffb6157e
MR
93042012-02-08 Martin Rudalics <rudalics@gmx.at>
9305
9306 * server.el (server-unselect-display): Don't inadvertently kill
9307 the current buffer. (Bug#10729)
9308
e1ac4066
GM
93092012-02-08 Glenn Morris <rgm@gnu.org>
9310
34e8a2da
GM
9311 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9312 (sql-list-table): Doc fixes.
9313
b4ac6e8c
GM
9314 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9315 Comment out (does nothing).
9316
e1ac4066
GM
9317 * completion.el (dynamic-completion-mode):
9318 * dirtrack.el (dirtrack-debug-mode):
9319 * electric.el (electric-layout-mode):
9320 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9321 * face-remap.el (text-scale-mode, buffer-face-mode):
9322 * iimage.el (iimage-mode):
9323 * image-mode.el (image-transform-mode):
9324 * minibuffer.el (completion-in-region-mode):
9325 * scroll-lock.el (scroll-lock-mode):
9326 * simple.el (next-error-follow-minor-mode):
9327 * tar-mode.el (tar-subfile-mode):
9328 * tooltip.el (tooltip-mode):
9329 * vcursor.el (vcursor-use-vcursor-map):
9330 * wid-browse.el (widget-minor-mode):
9331 * emulation/tpu-edt.el (tpu-edt-mode):
9332 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9333 * international/iso-ascii.el (iso-ascii-mode):
9334 * language/thai-util.el (thai-word-mode):
9335 * mail/supercite.el (sc-minor-mode):
9336 * net/goto-addr.el (goto-address-mode):
9337 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9338 * progmodes/cwarn.el (cwarn-mode):
9339 * progmodes/flymake.el (flymake-mode):
9340 * progmodes/glasses.el (glasses-mode):
9341 * progmodes/hideshow.el (hs-minor-mode):
9342 * progmodes/pascal.el (pascal-outline-mode):
9343 * textmodes/enriched.el (enriched-mode):
9344 * vc/smerge-mode.el (smerge-mode):
9345 Doc fixes (minor mode argument).
9346
5e0d957f
EZ
93472012-02-07 Eli Zaretskii <eliz@gnu.org>
9348
9349 * ls-lisp.el (ls-lisp-sanitize): New function.
9350 (ls-lisp-insert-directory): Use it to fix or remove any elements
9351 in file-alist with missing attributes. (Bug#4673)
9352
98d7371e
AM
93532012-02-07 Alan Mackenzie <acm@muc.de>
9354
9355 Fix spurious recognition of c-in-knr-argdecl.
9356
9357 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9358 putative K&R region.
9359
667ced3a
AM
93602012-02-07 Alan Mackenzie <acm@muc.de>
9361
eb864a71
LM
9362 * progmodes/cc-engine.el (c-forward-objc-directive):
9363 Prevent looping in "#pragma mark @implementation".
667ced3a 9364
5b77774d
MA
93652012-02-07 Michael Albinus <michael.albinus@gmx.de>
9366
9367 * notifications.el (notifications-on-closed-signal): Make `reason'
9368 optional. (Bug#10744)
9369
af008560
GM
93702012-02-07 Glenn Morris <rgm@gnu.org>
9371
60d47423
GM
9372 * emacs-lisp/easy-mmode.el (define-minor-mode):
9373 Doc fixes for the macro and the mode it defines.
9374
dd605cc4
GM
9375 * image.el (imagemagick-types-inhibit): Doc fix.
9376
af008560
GM
9377 * cus-start.el (imagemagick-render-type): Add it.
9378
5cc59a37
LI
93792012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9380
4d6769e1
JB
9381 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9382 Set the default at load time, too, so that `font-lock-fontify-buffer'
9383 can be called without setting up the entire mode first. This fixes
9384 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9385
9a6dd747
CY
93862012-02-06 Chong Yidong <cyd@gnu.org>
9387
2d16b285
CY
9388 * simple.el (list-processes--refresh): Delete exited processes
9389 (Bug#8094).
9390
171e9b6e
CY
9391 * comint.el (comint-next-prompt): next-single-char-property-change
9392 and prev-single-char-property-change never return nil (Bug#8657).
9393
9a6dd747
CY
9394 * custom.el (defcustom): Doc fix (Bug#9711).
9395
aa4589a7
CY
93962012-02-05 Chong Yidong <cyd@gnu.org>
9397
5c2a252f
CY
9398 * cus-edit.el (custom-variable-reset-backup): Quote the value
9399 before storing it in the customized-value property (Bug#6712).
4aab9006 9400 (custom-display): Add a customization type tag.
983b9602 9401 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9402
aa4589a7
CY
9403 * wid-edit.el (widget-field-value-get): New optional arg to
9404 suppress trailing whitespace truncation.
9405 (character): Use it (Bug#2689).
9406
1ff980ae
AS
94072012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9408
9409 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9410 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9411
03988c98
CY
94122012-02-05 Chong Yidong <cyd@gnu.org>
9413
eeb6cc88
CY
9414 * cus-edit.el (custom-variable-value-create): For mismatched
9415 types, show the current value (Bug#7600).
9416
03988c98
CY
9417 * custom.el (defcustom): Doc fix.
9418
f8cdeef0
GM
94192012-02-05 Glenn Morris <rgm@gnu.org>
9420
9421 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9422
0696d255
JB
94232012-02-05 Juanma Barranquero <lekktu@gmail.com>
9424
9425 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9426 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9427 (pp-last-sexp): Use `looking-at-p'.
9428
34c99998
GM
94292012-02-04 Glenn Morris <rgm@gnu.org>
9430
8f05da42
GM
9431 * files.el (revert-buffer):
9432 Doc fix (mention revert-buffer-in-progress-p).
9433
f160676e
GM
9434 * emacs-lisp/ert-x.el (ert-simulate-command):
9435 Check deferred-action-list (which is obsolete) is bound.
9436
c7291ad9
GM
9437 * subr.el (with-wrapper-hook): Doc fixes.
9438
34c99998
GM
9439 * simple.el (filter-buffer-substring-functions)
9440 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9441
6283a7d3
LL
94422012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9443
9444 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9445 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9446
e96e3013
LL
94472012-02-04 Leo Liu <sdl.web@gmail.com>
9448
9449 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9450
8ded50f2
GM
94512012-02-04 Glenn Morris <rgm@gnu.org>
9452
82ff1d13
GM
9453 * image.el (image-extension-data): Add obsolete alias.
9454
987a0a16
GM
9455 * isearch.el (isearch-update): Doc fix.
9456
ea32ef46
GM
9457 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9458
8ded50f2
GM
9459 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9460
eea14f31
GM
94612012-02-03 Glenn Morris <rgm@gnu.org>
9462
9463 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9464 (image-animate-timeout): Doc fix.
9465
9466 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9467
12f381b7
GM
94682012-02-02 Glenn Morris <rgm@gnu.org>
9469
953cebf5
GM
9470 * server.el (server-auth-dir): Doc fix.
9471 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9472
12f381b7
GM
9473 * subr.el (run-mode-hooks): Doc fix.
9474
953a8c3b
JL
94752012-02-02 Juri Linkov <juri@jurta.org>
9476
9477 * image-mode.el (image-toggle-display-image): Remove tautological
9478 `major-mode' from the `derived-mode-p' test.
9479
c5d3843c
KH
94802012-02-02 Kenichi Handa <handa@m17n.org>
9481
9f6e692e 9482 * composite.el (compose-region): Cancel previous change.
c5d3843c 9483
159462d4 94842012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9485
9486 * composite.el (compose-region, compose-string): Signal error for
9487 a null string component (Bug#6988).
9488
9f562668
CY
94892012-02-01 Chong Yidong <cyd@gnu.org>
9490
e2cef717
CY
9491 * view.el (view-buffer-other-window, view-buffer-other-frame):
9492 Handle special modes like view-buffer (Bug#10650).
9493 (view-buffer): Simplify.
9494
9f562668
CY
9495 * frame.el (set-frame-font): Tweak meaning of third argument.
9496
9f6e692e
JB
9497 * dynamic-setting.el (font-setting-change-default-font):
9498 Use set-frame-font (Bug#9982).
9f562668 9499
781acb9f
GM
95002012-02-01 Glenn Morris <rgm@gnu.org>
9501
6035be52
GM
9502 * progmodes/compile.el (compilation-internal-error-properties):
9503 Respect compilation-first-column in the "*compilation*" buffer.
9504
781acb9f
GM
9505 * emacs-lisp/easy-mmode.el (define-minor-mode):
9506 Relax :variable's test for a named function.
9507
abbceb00
AM
95082012-01-31 Alan Mackenzie <acm@muc.de>
9509
9510 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9511 off by one error.
9512
fce3fdeb
CY
95132012-01-31 Chong Yidong <cyd@gnu.org>
9514
9515 * frame.el (set-frame-font): New arg ALL-FRAMES.
9516
9517 * menu-bar.el (menu-set-font): Use set-frame-font.
9518
9519 * faces.el (face-spec-reset-face): Don't apply unspecified
9520 attribute values to the default face.
9521
47893581
JB
95222012-01-31 Juanma Barranquero <lekktu@gmail.com>
9523
9524 * progmodes/cwarn.el (cwarn): Remove dead link.
9525 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9526 Remove * from defcustom docstrings.
9527 (turn-on-cwarn-mode): Make obsolete.
9528 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9529 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9530
e58e988a
GM
95312012-01-31 Glenn Morris <rgm@gnu.org>
9532
60dc2671 9533 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9534 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9535 Allow named functions to be used as the cdr of :variable.
e58e988a 9536
7a3f511d
GM
95372012-01-30 Glenn Morris <rgm@gnu.org>
9538
9539 * emacs-lisp/authors.el (authors-fixed-entries):
9540 Remove reference to deleted file rnewspost.el.
9541
cb882333
JB
95422012-01-29 Juanma Barranquero <lekktu@gmail.com>
9543
9544 * window.el (window-with-parameter): Remove unused variable `windows'.
9545 (window--side-check): Remove unused variable `code'.
9546 (window--resize-siblings): Remove unused variable `first'.
9547 (adjust-window-trailing-edge): Remove unused variable `failed'.
9548 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9549 Use `let', not `let*'.
9550 (balance-windows-2): Remove unused variable `found'.
9551 (window--state-put-2): Remove unused variable `splits'.
9552 (window-state-put): Remove unused variable `selected'.
9553 (same-window-p): Use `string-match-p'.
9554 (display-buffer-assq-regexp): Remove unused variable `value'.
9555 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9556 Mark argument ALIST as ignored.
9557 (pop-to-buffer): Remove unused variable `old-window'.
9558
907201af
EZ
95592012-01-29 Eli Zaretskii <eliz@gnu.org>
9560
9561 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9562 and .lzma compressed files.
9563
ea162670
CY
95642012-01-29 Chong Yidong <cyd@gnu.org>
9565
5b95ee8a
CY
9566 * frame.el (window-system-default-frame-alist): Doc fix.
9567
ea162670
CY
9568 * dynamic-setting.el (font-setting-change-default-font): Don't
9569 change the default face if SET-FONT argument is non-nil (Bug#9982).
9570
d6e6f4b1
SB
95712012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9572
9573 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9574
0f29fa41 95752012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9576
9577 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9578 breakpoints in files outside current directory (Bug#6098).
9579
db174434
CY
95802012-01-29 Chong Yidong <cyd@gnu.org>
9581
6b25e4e2
SE
9582 * progmodes/python.el: Require ansi-color at top-level.
9583
6df6ae42
JB
9584 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9585 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9586 (lisp-mode-abbrev-table): Add doc.
9587 (lisp-mode-variables): Don't set local-abbrev-table.
9588 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9589
e70ee681
RW
95902012-01-28 Roland Winkler <winkler@gnu.org>
9591
9592 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9593
ace88aa2
RW
95942012-01-28 Roland Winkler <winkler@gnu.org>
9595
9596 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9597 (bibtex-set-dialect): Use it. Either set global values of
9598 dialect-dependent variables or bind these variables buffer-locally
9599 (Bug#10254).
9600 (bibtex-mode): Call bibtex-set-dialect via
9601 hack-local-variables-hook.
eb864a71
LM
9602 (bibtex-dialect): Update docstring.
9603 Add safe-local-variable predicate.
ace88aa2
RW
9604 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9605 bibtex-set-dialect.
9606 (bibtex-mode-map): Define menu for each dialect.
9607 (bibtex-entry): Fix docstring.
9608
93376c5b
CY
96092012-01-28 Chong Yidong <cyd@gnu.org>
9610
9611 * eshell/esh-arg.el (eshell-quote-argument): New function.
9612
9613 * eshell/esh-ext.el (eshell-invoke-batch-file):
9614 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9615 first arg to eshell-parse-command (Bug#10523).
9616
4372494f
DA
96172012-01-28 Drew Adams <drew.adams@oracle.com>
9618
9619 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9620 `default-directory' is non-nil.
9621
4d4ec1f8
EZ
96222012-01-28 Eli Zaretskii <eliz@gnu.org>
9623
9624 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9625 line that displays system-configuration-options. (Bug#9924)
9626
7c188927
DA
96272012-01-28 Drew Adams <drew.adams@oracle.com>
9628
9629 * descr-text.el (describe-char): Show information about POS, in
9630 addition to information about the character at POS. Improve and
9631 update the doc string. Change "code point" to "code point in
9632 charset", to avoid confusion with the character's Unicode code
9633 point shown above that. (Bug#10129)
9634
e0da685a
EZ
96352012-01-28 Eli Zaretskii <eliz@gnu.org>
9636
9637 * descr-text.el (describe-char): Show the raw character, not only
9638 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9639 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9640 for the reasons.
9641
70550acf
PH
96422012-01-28 Phil Hagelberg <phil@hagelb.org>
9643
eb864a71
LM
9644 * emacs-lisp/package.el (package-install):
9645 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9646
0ce8e868
CY
96472012-01-28 Chong Yidong <cyd@gnu.org>
9648
cb882333
JB
9649 * emacs-lisp/package.el (package-maybe-load-descriptor):
9650 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9651 (package-maybe-load-descriptor): Use it.
9652 (package-download-transaction): Fully load required packages
9653 inside the loop, so that `require' calls work (Bug#10593).
9654 (package-install): No need to call package-initialize now.
9655
2e7f3bea
CY
96562012-01-28 Chong Yidong <cyd@gnu.org>
9657
6e9bad14
CY
9658 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9659
f823b8ca
CY
9660 * tooltip.el (tooltip-mode): Doc fix.
9661 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9662
2680c309
CY
9663 * frame.el (set-cursor-color): Doc fix (Bug#352).
9664
d7a9e63b
CY
9665 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9666 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9667
2e7f3bea
CY
9668 * cus-edit.el (custom-buffer-create-internal): Fix search button
9669 action (Bug#10542).
2ae01800 9670 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9671
fc4f7a23
EW
96722012-01-27 Eduard Wiebe <usenet@pusto.de>
9673
9674 * dired.el (dired-mark-files-regexp):
9675 Include any subdirectory components. (Bug#10445)
9676
7dd37071
ML
96772012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9678
9679 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9680 Handle [host]:port syntax. (Bug#10533)
9681
a268160b
AH
96822012-01-27 Alex Harsanyi <harsanyi@mac.com>
9683
9684 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9685
e43273ef
GM
96862012-01-26 Glenn Morris <rgm@gnu.org>
9687
9688 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9689 * term.el (term-raw-escape-map): Use Control-X-prefix.
9690 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9691
1edf595d
MR
96922012-01-25 Martin Rudalics <rudalics@gmx.at>
9693
9694 * window.el (window-state-get, window--state-get-1): Don't deal
9695 with fixed-sizeness of windows. Simplify code.
9696
fa8eafef
JC
96972012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9698
6df6ae42
JB
9699 * window.el (window--state-get-1, window--state-put-2):
9700 Don't save and restore the mark.
fa8eafef 9701
0b21c100
CY
97022012-01-25 Chong Yidong <cyd@gnu.org>
9703
9704 * custom.el (custom-variable-p): Doc fix.
9705
5ae1a6c8
GM
97062012-01-25 Glenn Morris <rgm@gnu.org>
9707
40047858
GM
9708 * dired.el (dired-goto-file): Handle some of the more common
9709 characters that `ls -b' escapes. (Bug#10596)
9710
5ddce96c
GM
9711 * progmodes/compile.el (compilation-next-error-function):
9712 Respect compilation-first-column in the "*compilation*" buffer.
9713 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9714
5ae1a6c8
GM
9715 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9716
b559f1a9
GM
97172012-01-24 Glenn Morris <rgm@gnu.org>
9718
9719 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9720
6725d21a
JD
97212012-01-24 Julien Danjou <julien@danjou.info>
9722
9723 * color.el (color-rgb-to-hsl): Fix value computing.
9724 (color-hue-to-rgb): New function.
9725 (color-hsl-to-rgb): New function.
9726 (color-clamp, color-saturate-hsl, color-saturate-name)
9727 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9728 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9729
70df4bbe
GM
97302012-01-24 Glenn Morris <rgm@gnu.org>
9731
9732 * vc/vc-rcs.el (vc-rcs-create-tag):
9733 * vc/vc-sccs.el (vc-sccs-create-tag):
9734 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9735
802a2ae2
ML
97362012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9737
9738 * eshell/esh-util.el (eshell-read-hosts-file):
9739 Skip comment lines. (Bug#10549)
9740
d7128bb1
ML
9741 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9742
d1a5c3b4
JB
97432012-01-23 Juanma Barranquero <lekktu@gmail.com>
9744
2724d9c7
JB
9745 * subr.el (display-delayed-warnings): Doc fix.
9746 (collapse-delayed-warnings): New function to collapse identical
9747 adjacent warnings.
9748 (delayed-warnings-hook): Add it.
d1a5c3b4 9749
a5509865
MA
97502012-01-22 Michael Albinus <michael.albinus@gmx.de>
9751
9752 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9753
a5509865
MA
9754 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9755 (tramp-default-user-alist): Don't add "pscp".
9756 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9757 property "login-as", if set. (Bug#10530)
9758
cc6d5805
MA
97592012-01-21 Michael Albinus <michael.albinus@gmx.de>
9760
9761 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9762 "plink1" and "psftp". (Bug#10530)
9763
97642012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9765
9766 * international/mule-cmds.el (prefer-coding-system): Show a
9767 warning message if the default value of file-name-coding-system
9768 was not changed.
9769
f0960428
JC
97702012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9771
cb882333
JB
9772 * windmove.el (windmove-reference-loc):
9773 Fix windmove-reference-loc miscalculation.
f0960428 9774
dd6f2a63
JB
97752012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9776
9777 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9778 default unit.
9779
7b447e9b
GM
97802012-01-21 Glenn Morris <rgm@gnu.org>
9781
117a9ea1
GM
9782 * international/mule.el (auto-coding-alist): Add .tbz.
9783
7b447e9b
GM
9784 * files.el (local-enable-local-variables): Doc fix.
9785 (inhibit-local-variables-regexps): Rename from
9786 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9787 Doc fix. Add some extensions from auto-coding-alist.
9788 (inhibit-local-variables-suffixes):
9789 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9790 (inhibit-local-variables-p):
9791 New function, extracted from set-auto-mode-1.
9792 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9793 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9794 (hack-local-variables): Doc fix. Make the mode-only case
9795 respect enable-local-variables and friends.
9796 Respect inhibit-local-variables-regexps for file-locals, but
9797 not for directory-locals.
9798 (set-visited-file-name):
9799 Take account of inhibit-local-variables-regexps.
9800 Whether it applies may change as the file name is changed.
9801 * jka-cmpr-hook.el (jka-compr-install):
9802 * jka-compr.el (jka-compr-uninstall):
9803 Update for inhibit-first-line-modes-suffixes name change.
9804
dd6e3cdd
MR
98052012-01-20 Martin Rudalics <rudalics@gmx.at>
9806
9807 * help-macro.el (make-help-screen): Temporarily restore original
9808 binding for minor-mode-map-alist (Bug#10454).
9809
0d0deb38
JD
98102012-01-19 Julien Danjou <julien@danjou.info>
9811
9812 * color.el (color-name-to-rgb): Use the white color to find the max
9813 color component value and return correctly computed values.
9814 (color-name-to-rgb): Add missing float conversion for max value.
9815
34a02f46
MR
98162012-01-19 Martin Rudalics <rudalics@gmx.at>
9817
9818 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9819 special state value for window-persistent-parameters.
9820 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9821 (window--state-put-2): Reset all window parameters to nil before
9822 assigning values of persistent parameters.
9823
606c44c4
AM
98242012-01-18 Alan Mackenzie <acm@muc.de>
9825
9826 Eliminate sluggishness and hangs in fontification of "semicolon
9827 deserts".
9828
cb882333
JB
9829 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9830 Change value 10000 -> 3000.
606c44c4
AM
9831 (c-state-safe-place): Reformulate so it doesn't stack up an
9832 infinite number of wrong entries in c-state-nonlit-pos-cache.
9833 (c-determine-limit-get-base, c-determine-limit): New functions to
9834 determine backward search limits disregarding literals.
9835 (c-find-decl-spots): Amend commenting.
9836 (c-cheap-inside-bracelist-p): New function which detects "={".
9837
9838 * progmodes/cc-fonts.el
9839 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9840 backward search.
9841 (c-font-lock-declarations): Fix an occurrence of point being
9842 undefined. Check additionally for point being in a bracelist or
9843 near a macro invocation without a semicolon so as to avoid a
9844 fruitless time consuming search for a declarator. Give a more
9845 precise search limit for declarators using the new
9846 c-determine-limit.
9847
f3860cea
GM
98482012-01-18 Glenn Morris <rgm@gnu.org>
9849
9850 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9851 (set-auto-mode): Doc fixes.
9852
1db03b16
GM
98532012-01-17 Glenn Morris <rgm@gnu.org>
9854
0e6038be
GM
9855 * isearch.el (search-nonincremental-instead): Fix doc typo.
9856
1db03b16
GM
9857 * dired.el (dired-insert-directory): Handle newlines in directory name.
9858 (dired-build-subdir-alist): Unescape newlines in directory name.
9859
4cb0aa75
MA
98602012-01-17 Michael Albinus <michael.albinus@gmx.de>
9861
9862 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9863 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9864 (tramp-action-terminal): Use it. (Bug#10530)
9865
1d00653d
SM
98662012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9869
6a6ee00d
MR
98702012-01-16 Martin Rudalics <rudalics@gmx.at>
9871
9872 * window.el (window-state-ignored-parameters): Remove variable.
9873 (window--state-get-1): Rename argument MARKERS to IGNORE.
9874 Handle persistent window parameters. Make copy of clone-of
9875 parameter only if requested. (Bug#10348)
9876 (window--state-put-2): Install a window parameter only if it has
9877 a non-nil value or an existing parameter shall be overwritten.
9878
97912def
MA
98792012-01-15 Michael Albinus <michael.albinus@gmx.de>
9880
9881 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9882
688070a5
EZ
98832012-01-14 Eli Zaretskii <eliz@gnu.org>
9884
9885 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9886 don't pass the (nil) value of `upnode' to string-match.
9887
301afadc
CY
98882012-01-14 Chong Yidong <cyd@gnu.org>
9889
9890 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9891 Fix values recognized by the cursorBlink resource.
301afadc 9892
9e5788aa
PE
98932012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9894
9895 * epg.el (epg--make-temp-file): Avoid permission race condition
9896 when running on old Emacs versions (bug#10403).
9897
3cdb7f5a
GM
98982012-01-14 Glenn Morris <rgm@gnu.org>
9899
9900 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9901
8c82b1b4
AM
99022012-01-13 Alan Mackenzie <acm@muc.de>
9903
9904 Fix filling for when filladapt mode is enabled.
9905
9906 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9907 c-mask-paragraph, pass in `fill-paragraph' rather than
9908 `fill-region-as-paragraph'. (This is a reversion of a previous
9909 change.)
eb864a71
LM
9910 * progmodes/cc-mode.el (c-basic-common-init):
9911 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9912
e517eda4
GM
99132012-01-13 Glenn Morris <rgm@gnu.org>
9914
1498536e
GM
9915 * dired.el (dired-switches-escape-p): New function.
9916 (dired-insert-directory): Use dired-switches-escape-p.
9917 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9918
e517eda4
GM
9919 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9920
328f984d
GM
99212012-01-12 Glenn Morris <rgm@gnu.org>
9922
9923 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9924 changes in adaptive-fill-regexp. (Bug#10276)
9925
2cc769a8
AM
99262012-01-11 Alan Mackenzie <acm@muc.de>
9927
9928 Fix Emacs bug #10463 - put `widen's around the critical spots.
9929
1d00653d 9930 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9931 widen around each invocation of c-state-pp-to-literal. Remove an
9932 unused let variable.
9933
e52c37fa
GM
99342012-01-11 Glenn Morris <rgm@gnu.org>
9935
9936 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9937 Doc fix.
e52c37fa 9938
96f8741e
CY
99392012-01-10 Chong Yidong <cyd@gnu.org>
9940
1d00653d
SM
9941 * net/network-stream.el (network-stream-open-starttls):
9942 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9943 response to the capability command.
9944
b09a806e
GM
99452012-01-10 Glenn Morris <rgm@gnu.org>
9946
9947 * mail/unrmail.el (unrmail): Tweak previous change.
9948
7655cb66
CY
99492012-01-09 Chong Yidong <cyd@gnu.org>
9950
9951 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9952
9d5a8f0b
AM
99532012-01-08 Alan Mackenzie <acm@muc.de>
9954
9955 Optimise font locking in long enum definitions.
9956
9957 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9958 arm to a cond form to handle enums.
9959 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9960 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9961
9a0115ab 99622012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9963
9964 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9965 (Bug#10401)
6bb72cbd 9966
f186bb95
LMI
99672012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9968
29232a68
LMI
9969 * faces.el (set-face-attribute): Clarify the meaning of the nil
9970 frame (bug#10294).
9971
4e5d086d
LMI
9972 * subr.el (with-selected-frame): Mention that the selected frame
9973 is restored (bug#9980).
9974
8e66aebe
LMI
9975 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9976 (bug#9759).
9977
cd394be1 9978 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9979 (password-read): Don't autoload unused function.
9980
adf4e762
JB
99812012-01-07 Juanma Barranquero <lekktu@gmail.com>
9982
9983 * progmodes/which-func.el (which-func-mode): Turn into a
9984 non-interactive function and mark as obsolete (bug#10428).
9985
89bd9ccd
CY
99862012-01-06 Chong Yidong <cyd@gnu.org>
9987
9988 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9989 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9990 functions, along with 1 and -1.
9991
4afee9d5
EZ
99922012-01-06 Eli Zaretskii <eliz@gnu.org>
9993
9994 * time.el (display-time-load-average)
9995 (display-time-default-load-average): Doc fixes. See the thread
9996 starting at
9997 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9998 for the details.
9999
536aea70
GM
100002012-01-06 Glenn Morris <rgm@gnu.org>
10001
665ae865
GM
10002 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10003 has no messages. (Bug#10377)
10004
c869783d
GM
10005 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10006 than Info-edit. (Bug#10385)
10007
2bb4227e
GM
10008 * time.el (display-time-load-average, display-time-next-load-average):
10009 Doc fixes.
10010
7d5944b9
GM
10011 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10012 local setting of buffer-read-only to the input buffer. (Bug#10419)
10013
536aea70
GM
10014 * calendar/calendar.el (calendar-mode):
10015 Locally set scroll-margin to 0. (Bug#10379)
10016
7dccca16
UM
100172012-01-06 Ulrich Mueller <ulm@gentoo.org>
10018
10019 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10020
afbb7930
GM
100212012-01-05 Glenn Morris <rgm@gnu.org>
10022
10023 * eshell/em-unix.el (diff-no-select): Autoload it.
10024 (eshell/diff): Use diff-no-select. (Bug#10420)
10025
04482335
CY
100262012-01-05 Chong Yidong <cyd@gnu.org>
10027
7baca3bc
CY
10028 * shell.el (shell-dynamic-complete-functions): Revert last change.
10029 (shell-command-completion-function): New function.
10030 (shell-completion-vars): Use it to implement
10031 shell-completion-execonly (Bug#10417).
10032
04482335
CY
10033 * custom.el (enable-theme): Don't set custom-safe-themes.
10034
1d00653d
SM
10035 * cus-theme.el (custom-theme-merge-theme):
10036 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10037
bb5aa5d6
MM
100382012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10039
10040 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10041 first prompt in `sql-interacive-mode'.
10042 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10043 keywords.
6df6ae42 10044 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10045 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10046 context of original buffer. Invoke `sql-login-hook'.
10047
a7183d7c
EZ
100482012-01-04 Eli Zaretskii <eliz@gnu.org>
10049
10050 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10051 letters in cite-prefix.
10052
a1eacd1e
LMI
100532012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10054
10055 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10056
787cdb34
CY
100572012-01-03 Chong Yidong <cyd@gnu.org>
10058
1d00653d
SM
10059 * shell.el (shell-dynamic-complete-functions):
10060 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10061 comint-filename-completion first (Bug#10417).
10062
30710442
RS
100632012-01-02 Richard Stallman <rms@gnu.org>
10064
10065 * battery.el (battery-status-function):
10066 Detect when to use battery-yeeloong-sysfs.
10067 (battery-echo-area-format): Add string for Yeeloong.
10068 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10069 (battery-yeeloong-sysfs): New function.
10070
f75bfc33
CY
100712012-01-02 Chong Yidong <cyd@gnu.org>
10072
10073 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10074 (dirtrack): Merge code for handling relative filenames in prompt
10075 from shell-dir-cookie-watcher.
10076 (dirtrack-debug-message): New arg to avoid excess format calls.
10077
10078 * shell.el (shell-dir-cookie-re): Variable deleted.
10079 (shell-dir-cookie-watcher): Function deleted.
10080 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10081 with dirtrack-mode.
10082
651e947e
EZ
100832012-01-01 Eli Zaretskii <eliz@gnu.org>
10084
1d00653d
SM
10085 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10086 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10087 libgnutls-26.dll.
10088
94d4c7dc
AS
100892011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10090
10091 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10092
8d43f3cd
EZ
100932011-12-31 Eli Zaretskii <eliz@gnu.org>
10094
10095 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10096 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10097
98c8795a
MA
100982011-12-29 Michael Albinus <michael.albinus@gmx.de>
10099
10100 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10101 also for alternative shells.
10102 (tramp-open-connection-setup-interactive-shell): Check, whether
10103 the shell is a busybox.
10104 (tramp-send-command): Don't suppress multiple prompts for
10105 busyboxes, it hurts.
10106
51281b32
CY
101072011-12-28 Chong Yidong <cyd@gnu.org>
10108
10109 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10110 (gdb-get-source-file): Move mode line update to
10111 gdb-get-source-file (Bug#10087).
10112
2170cb53
CY
101132011-12-25 Chong Yidong <cyd@gnu.org>
10114
10115 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10116 gud-gdb-marker-filter without taking it as an argument.
10117 (gud-gdb-run-command-fetch-lines): Caller changed.
10118 (gud-gdb-completion-function): New variable.
10119 (gud-gdb-completion-at-point): Use it.
10120 (gud-gdb-completions-1): Split from gud-gdb-completions.
10121
10122 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10123 function as separate arguments.
10124 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10125 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10126 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10127 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10128 (gdb-stopped, def-gdb-auto-update-trigger)
10129 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10130 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10131 Callers changed.
2170cb53
CY
10132 (gud-gdbmi-completions): New function.
10133 (gdb): Use it for generating the completion table.
10134
be8b11bb
AM
101352011-12-24 Alan Mackenzie <acm@muc.de>
10136
10137 Introduce a mechanism to widen the region used in context font
1d00653d 10138 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10139
1d00653d
SM
10140 * progmodes/cc-langs.el (c-before-font-lock-functions):
10141 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10142 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10143 functions to be run just before context (etc.) font locking.
10144
10145 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10146 New, functionality extracted from
be8b11bb 10147 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10148 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10149 (c-after-change): Set c-in-after-change-fontification.
10150 (c-set-fl-decl-start): Rejig its interface, so it can be called
10151 from both after-change and context fontifying.
b81d40f0
JB
10152 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10153 New functions.
10154 (c-standard-font-lock-fontify-region-function): New variable.
10155 (c-font-lock-fontify-region): New function.
be8b11bb 10156
341cf6ac
JL
101572011-12-24 Juri Linkov <juri@jurta.org>
10158
10159 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10160 (Bug#10348)
10161
bffcee0a
MA
101622011-12-23 Michael Albinus <michael.albinus@gmx.de>
10163
10164 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10165 existence of source file. (Bug#10325)
10166
cb5e207c
AM
101672011-12-23 Alan Mackenzie <acm@muc.de>
10168
10169 Fix unstable fontification inside templates.
10170
b81d40f0
JB
10171 * progmodes/cc-langs.el (c-before-font-lock-functions):
10172 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10173 additionally has c-set-fl-decl-start. The other languages (apart
10174 from AWK) have that as a single entry.
10175
b81d40f0
JB
10176 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10177 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10178 c-set-fl-decl-start.
10179
b81d40f0
JB
10180 * progmodes/cc-mode.el (c-common-init, c-after-change):
10181 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10182 (c-set-fl-decl-start): New function, extracted from
10183 c-font-lock-enclosing-decls and enhanced.
10184
60ff536c
JB
101852011-12-23 Juanma Barranquero <lekktu@gmail.com>
10186
10187 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10188
1c4757d6
JL
101892011-12-22 Juri Linkov <juri@jurta.org>
10190
10191 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10192
d031f2c7
CY
101932011-12-22 Chong Yidong <cyd@gnu.org>
10194
10195 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10196
bace743a
DA
101972011-12-21 Drew Adams <drew.adams@oracle.com>
10198
10199 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10200
728a1f2b
JC
102012011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10202
10203 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10204
0d373f73
TZ
102052011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10206
fec0aaa4
TZ
10207 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10208 highlighting and support. Fix up comments for capitalization.
10209 (cfengine-mode-debug): New var.
10210 (cfengine3-mode): Change the modeline indicator to "CFE3".
10211 (cfengine3-font-lock-keywords): Improve defun highlighting.
10212 (cfengine2-actions): Rename from `cfengine-actions'.
10213 (cfengine2-font-lock-keywords): Rename from
10214 `cfengine-font-lock-keywords'.
10215 (cfengine2-imenu-expression): Rename from
10216 `cfengine-imenu-expression'.
10217 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10218 (cfengine2-beginning-of-defun): Rename from
10219 `cfengine-beginning-of-defun'.
10220 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10221 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10222 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10223 modeline indicator to "CFE2".
10224 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10225 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10226
bc86f573
CY
102272011-12-21 Chong Yidong <cyd@gnu.org>
10228
10229 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10230 filename argument.
10231
d45ba96b
MR
102322011-12-20 Martin Rudalics <rudalics@gmx.at>
10233
10234 * window.el (window-normalize-buffer-to-display): Remove.
10235 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10236
a6198c90
CY
102372011-12-19 Chong Yidong <cyd@gnu.org>
10238
10239 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10240 Don't signal an error in a predicate function; return non-nil.
10241 (vc-dir-mark-file): Move the error here.
10242 (vc-dir-mark-unmark): If acting on the region, keep going if one
10243 of the entries cannot be marked/unmarked.
10244 (vc-dir-mark-all-files): If current entry is a directory, mark
10245 only child files, as documented.
10246
34c5fb55
VB
102472011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10248
10249 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10250 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10251 addition.
10252
c803b2b7
JD
102532011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10254
10255 * term/ns-win.el (ns-get-selection-internal)
10256 (ns-store-selection-internal): Declare.
1154d12e
JB
10257 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10258 Declare as obsolete.
10259 (ns-get-pasteboard, ns-paste-secondary):
10260 Use ns-get-selection-internal.
41e9b956 10261 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10262 Use ns-store-selection-internal.
c803b2b7 10263
9cff91f8 102642011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10265
10266 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10267 (vc-deduce-fileset): Doc fix.
99a289d9 10268
f16c898a
AS
102692011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10270
10271 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10272
763237c4
SS
102732011-12-13 Sam Steingold <sds@gnu.org>
10274
10275 * man.el (Man-getpage-in-background): When running under a
10276 window-system, ignore $MANWIDTH and $COLUMNS.
10277
5fc1c122
KH
102782011-12-15 Kenichi Handa <handa@m17n.org>
10279
10280 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10281 (setup-ethiopic-environment-internal): Comment out key-binding for
10282 ethio-toggle-punctuation.
10283
13d49cbb
AM
102842011-12-13 Alan Mackenzie <acm@muc.de>
10285
898169a2
AM
10286 Add the switch statement to AWK Mode.
10287
7a71b18d 10288 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10289 "default" to the keywords regexp.
10290
7a71b18d 10291 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10292 expression as the rest.
1d00653d
SM
10293 (c-nonlabel-token-key): Allow string literals for AWK.
10294 Refactor for the other modes.
898169a2 10295
13d49cbb 10296 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10297 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10298 routines. Limit backward searching in c-font-lock-enclosing.decl.
10299
10300 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10301 pp-state and literal type in addition to the limits.
1d00653d 10302 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10303 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10304 (c-slow-in-literal, c-fast-in-literal): Remove.
10305 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10306
10307 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10308 being in a literal. Add a limit for backward searching.
10309
10310 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10311 c-slow-in-literal.
10312
15e0efc7
SM
103132011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10316
454592a6
MR
103172011-12-13 Martin Rudalics <rudalics@gmx.at>
10318
10319 * window.el (delete-other-windows): Use correct frame in call to
10320 window-with-parameter.
10321
87393f26
DP
103222011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10323
10324 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10325 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10326 (makefile-gmake-statements, makefile-makepp-statements):
10327 Use it and add new makepp keywords.
10328 (makefile-makepp-font-lock-keywords): Add new patterns.
10329 (makefile-match-function-end): Match new [...] and [[...]].
10330
11636b22
JB
103312011-12-11 Juanma Barranquero <lekktu@gmail.com>
10332
10333 * ses.el (ses-call-printer-return, ses-cell-property-get)
10334 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10335 (ses-create-cell-variable, ses-reset-header-string)
10336 (ses-cell-set-formula, ses-repair-cell-reference-all)
10337 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10338 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10339 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10340 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10341 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10342 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10343 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10344 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10345 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10346 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10347 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10348 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10349
cf018193
VB
103502011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10351
10352 * ses.el: The overall change is to add cell renaming, that is
10353 setting fancy names for cell symbols other than name matching
10354 "\\`[A-Z]+[0-9]+\\'" regexp .
10355 (ses-create-cell-variable): New defun.
10356 (ses-relocate-formula): Relocate formulas only for cells the
10357 symbols of which are not renamed, i.e. symbols whose names do not
10358 match regexp "\\`[A-Z]+[0-9]+\\'".
10359 (ses-relocate-all): Relocate values only for cells the symbols of
10360 which are not renamed.
10361 (ses-load): Create cells variables as the (ses-cell ...) are read,
10362 in order to check row col consistency with cell symbol name only
10363 for cells that are not renamed.
10364 (ses-replace-name-in-formula): New defun.
10365 (ses-rename-cell): New defun.
10366
ee957461
CY
103672011-12-11 Chong Yidong <cyd@gnu.org>
10368
10369 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10370 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10371
9a9e9ef0
MR
103722011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10373
10374 * window.el (other-window): Fix docstring.
10375
92a8eba5
EZ
103762011-12-10 Eli Zaretskii <eliz@gnu.org>
10377
10378 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10379 `from' or `to' address before taking its substring.
10380 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10381 encoded name is chopped in the middle of the encoded string, and
10382 thus displayed encoded.
10383
e152e577
JB
103842011-12-10 Juanma Barranquero <lekktu@gmail.com>
10385
10386 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10387
e5d84bfe
EZ
103882011-12-10 Eli Zaretskii <eliz@gnu.org>
10389
10390 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10391 to use texinfo-update-node and commands that call it if the
10392 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10393 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10394 (texinfo-all-menus-update, texinfo-master-menu)
10395 (texinfo-update-node, texinfo-every-node-update)
10396 (texinfo-multiple-files-update): Doc fix. Warn against updating
10397 all the @node lines.
10398 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10399 argument is numeric. Explain better in the doc string what the
10400 function really does.
10401 (texinfo-insert-master-menu-list): Improve the error message
10402 displayed if there's no menu in the Top node.
10403 (Bug#2975) See also this thread:
e5d84bfe
EZ
10404 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10405
1d84e9bb
MG
104062011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10407
10408 * speedbar.el (speedbar-supported-extension-expressions):
10409 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10410
382c953b
JB
104112011-12-09 Juanma Barranquero <lekktu@gmail.com>
10412
10413 * printing.el (pr-mode-alist):
10414 * simple.el (filter-buffer-substring-functions)
10415 (completion-list-insert-choice-function):
10416 * window.el (window-with-parameter, window-atom-root)
10417 (window-sides-slots, window-size-fixed, window-min-delta)
10418 (window-max-delta, window--resize-mini-window)
10419 (window--resize-child-windows-normal, window-tree)
10420 (delete-other-windows, quit-window, split-window)
10421 (display-buffer-record-window, special-display-buffer-names)
10422 (special-display-regexps, special-display-popup-frame)
10423 (same-window-p, split-window-sensibly)
10424 (display-buffer-overriding-action, display-buffer-alist)
10425 (display-buffer-base-action, display-buffer, switch-to-buffer)
10426 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10427 (fit-window-to-buffer, recenter-positions)
10428 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10429 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10430 and remove unneeded backslashes in docstrings.
10431
39c9faef
SM
104322011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10433
98449af8
SM
10434 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10435
39c9faef
SM
10436 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10437 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10438 end in ".mk".
10439 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10440 when reading the makefile (bug#10116).
10441
86ed9fdc
SM
104422011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10445 (bug#10116).
10446
5580f89d
GM
104472011-12-06 Glenn Morris <rgm@gnu.org>
10448
10449 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10450
28d3917c
CY
104512011-12-06 Chong Yidong <cyd@gnu.org>
10452
10453 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10454
a98edce9
JB
104552011-12-06 Juanma Barranquero <lekktu@gmail.com>
10456
10457 * textmodes/table.el (table-shorten-cell): Fix typo.
10458
e65adfac
CG
104592011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10460
10461 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10462
71cc0b74
EZ
104632011-12-05 Eli Zaretskii <eliz@gnu.org>
10464
10465 * descr-text.el (describe-char): Fix display of strong
10466 right-to-left characters and directional embeddings and overrides.
10467
10468 * simple.el (what-cursor-position): Fix display of codepoints of
10469 strong right-to-left characters.
10470
315bc30d
CY
104712011-12-05 Chong Yidong <cyd@gnu.org>
10472
10473 * faces.el (read-color): Doc fix.
10474
58a70b94
GM
104752011-12-05 Glenn Morris <rgm@gnu.org>
10476
10477 * align.el (align--set-marker): Add doc-string.
10478 Don't try to move something that is not a marker. (Bug#10216)
10479
5158face
GM
104802011-12-04 Glenn Morris <rgm@gnu.org>
10481
10482 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10483 overly zealous deletion of trailing whitespace.
10484
520fca41
JB
104852011-12-04 Juanma Barranquero <lekktu@gmail.com>
10486
10487 * server.el (server-delete-client): On Windows, do not try to delete
10488 the only terminal.
10489 (server-process-filter): On Windows, treat requests for a tty frame as
10490 if they were for a GUI frame if the running server is in GUI mode.
10491
5e605a2e
GM
104922011-12-03 Glenn Morris <rgm@gnu.org>
10493
10494 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10495
5c3fe83f
SM
104962011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10497
6f5e57e7
SM
10498 * electric.el: Streamline electric-indent's hook.
10499 (electric-indent-chars): Revert to simple list.
10500 (electric-indent-functions): New var.
10501 (electric-indent-post-self-insert-function): Use it.
10502
5c3fe83f
SM
10503 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10504 there's no inferior buffer (bug#10196).
10505 (prolog-consult-compile): Don't use toggle-read-only.
10506
6bdac736
MA
105072011-12-02 Michael Albinus <michael.albinus@gmx.de>
10508
10509 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10510 interrupt. (Bug#10187)
10511
6131ba7f
SM
105122011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10513
99c79fee
SM
10514 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10515 (bug#9160).
10516
6131ba7f
SM
10517 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10518 (bug#10191).
10519
cb0a02ea
JL
105202011-12-02 Juri Linkov <juri@jurta.org>
10521
10522 * info.el (Info-search): Display "end of manual" when Isearch
10523 reaches the end of single-file Info manual. (Bug#9918)
10524
66e0570c
EZ
105252011-12-02 Eli Zaretskii <eliz@gnu.org>
10526
10527 * isearch.el (isearch-message-prefix): Run the input method part
10528 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10529
02b16839
JL
105302011-12-02 Juri Linkov <juri@jurta.org>
10531
10532 * isearch.el (isearch-occur): Use `word-search-regexp' for
10533 `isearch-word'.
10534 (isearch-search-and-update): Add condition for `isearch-word' and
10535 call `word-search-regexp'. (Bug#10145)
10536
0b950688
GM
105372011-12-01 Glenn Morris <rgm@gnu.org>
10538
10539 * eshell/em-hist.el (eshell-hist-initialize):
10540 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10541 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10542
9505c3c7
SM
105432011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10544
10545 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10546
1bbe96b2 105472011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10548
a1beca85
SM
10549 * progmodes/verilog-mode.el (verilog-pretty-expr):
10550 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10551 verilog, such as += *= and the like.
10552 (verilog-assignment-operator-re): Regular expression to find the
10553 assigment operator in a verilog assignment.
10554 (verilog-assignment-operation-re): Regular expression to find an
10555 assignment statement for pretty-expr.
10556 (verilog-in-attribute-p): Query returns true if point is in an
10557 attribute context; used to skip these for expression line up from
10558 pretty-expr.
10559 (verilog-in-parameter-p): Query returns true if point is in an
10560 parameter definition context; used to skip these for expression
10561 line up from pretty-expr.
10562 (verilog-in-parenthesis-p): Query returns true if point is in a
10563 parenthetical expression, specifically ( ) but not [ ] or { };
10564 used by pretty-expr.
10565 (verilog-just-one-space): If there is no space, don't add one.
10566 (verilog-get-lineup-indent-2): Specifically skip just attribute
10567 contexts for expression lineup, rather than skipping all
10568 parenthetical expressions.
10569 (verilog-calculate-indent): Fix comment, and fix indent.
10570 (verilog-do-indent): Indent declarations in lists (suggested by
10571 Joachim Lechner).
10572 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10573 skeleton items.
10574 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10575 by Alain Mellan).
10576
1bbe96b2 105772011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10578
10579 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10580 parameters with embedded comments. Reported by Ray Stevens.
10581 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10582 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10583 Reported by Tim Holt.
10584 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10585 instantiated by upper module causing wrong expansion until AUTOed a
10586 second time. Reported by K C Buckenmaier.
10587 (verilog-diff-auto): Fix showing .* as a difference when
10588 `verilog-auto-star-save' off. Reported by Dan Dever.
10589 (verilog-auto-reset, verilog-read-always-signals)
10590 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10591 temporary signals in reset list if
10592 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10593 style to each signal's assignment type, bug381.
10594 Reported by Thomas Esposito.
6288f0ca
WS
10595 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10596 (verilog-uvm-statement-re): Support UVM indentation and
10597 highlighting, with old OVM keywords only.
a1beca85 10598 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10599 Support AUTOTIEOFF creating non-wire data types.
10600 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10601 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10602 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10603 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10604 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10605 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10606 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10607 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10608 non-numeric vector width. Reported by Alex Reed.
10609 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10610 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10611 (verilog-auto-delete-trailing-whitespace):
10612 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10613 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10614 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10615 Fix verilog-scan-cache corruption when running user AUTO expansion
10616 hooks that call indentation routines.
10617 (verilog-simplify-range-expression): Fix typo ignoring lower case
10618 identifiers.
10619 (verilog-delete-auto): Fix delete-autos to also remove user created
10620 automatics, as long as they start with AUTO.
10621 (verilog-batch-diff-auto, verilog-diff-auto)
10622 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10623 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10624 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10625 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10626 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10627 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10628 is disabled and its cache will get corrupt, causing AUTOS not to
10629 expand. Instead use only -quick functions.
10630 (verilog-scan-region): Fix scanning over escaped quotes.
10631 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10632 (verilog-re-search-backward-quick)
10633 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10634 related functions now ignore strings, to fix misparsing of strings
10635 with magic comments embedded in them.
a1beca85
SM
10636 (verilog-read-auto-template):
10637 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10638 Reported by Brad Dobbie.
10639 (verilog-read-auto-template):
10640 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10641 Reported by Brad Dobbie.
6288f0ca
WS
10642 (verilog-auto-inst, verilog-auto-inst-param)
10643 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10644 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10645 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10646 debugging templates without merge conflicts, bug357.
10647 Reported by Brad Dobbie.
10648 (verilog-read-auto-template):
10649 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10650 Reported by Brad Dobbie.
10651 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10652 abbrevs so user won't be asked to save.
10653 (verilog-read-auto-lisp-present): Fix to start at beginning of
10654 buffer in case called outside of verilog-auto.
10655 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10656 to "X-2". Reported by Matthew Myers.
10657 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10658 all inputs from module templates. Reported by Leith Johnson.
10659 (verilog-module-inside-filename-p): Fix locating programs as with
10660 modules.
10661 (verilog-auto-inst-port): Fix vl-width expressions when using
10662 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10663 (verilog-decls-get-regs, verilog-decls-get-signals,
10664 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10665 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10666 verilog-read-decls): Combine reg and wire structures into one var
10667 structure to represent SystemVerilog concepts.
10668 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10669 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10670 (verilog-auto-wire-type, verilog-insert-definition):
10671 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10672 SystemVerilog "logic" keyword instead of "wire"/"reg".
10673 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10674 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10675 ifdef or generate if so there's not a driver conflict).
10676 Reported by Matthew Myers.
10677 (verilog-auto-declare-nettype, verilog-insert-definition):
10678 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10679 `default_nettype none. Reported by Julian Gorfajn.
10680 (verilog-read-always-signals-recurse, verilog-read-decls)
10681 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10682 malformed end statement, bug325. Reported by Joshua Wise and
10683 Andrew Drake.
10684 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10685 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10686 when expanding .* in interfaces, bug320.
10687 Reported by Pierre-David Pfister.
6288f0ca 10688 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10689 name and open parenthesis, bug317.
10690 Reported by Pierre-David Pfister.
6288f0ca
WS
10691 (verilog-simplify-range-expression): Fix simplification of
10692 multiplications inside AUTOWIRE connections, bug303.
10693 (verilog-auto-inst-port): Support parameter expansion in
10694 multidimensional arrays.
10695 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10696 after "assert property". Reported by Julian Gorfajn.
10697 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10698 with multiplication, bug303.
10699 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10700 Reported by Jan Frode Lonnum.
10701
1bbe96b2
GM
107022011-11-30 Juanma Barranquero <lekktu@gmail.com>
10703
10704 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10705 (hfy-shell-file-name, hfy-shell):
10706 * international/fontset.el (x-decompose-font-name): Fix typos.
10707
107082011-11-29 Ken Brown <kbrown@cornell.edu>
10709
10710 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10711 (gdb-version): Remove defvar.
10712 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10713 (gdb-gud-context-command, gdb-non-stop-handler)
10714 (gdb-current-context-command, gdb-stopped): Use it.
10715 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10716 (gdb-non-stop-handler): Don't enable pretty-printing here.
10717 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10718 non-stop mode. Use the following.
10719 (gdb-check-target-async): New defun.
10720 (gud-watch, gdb-stopped): Fix whitespace.
10721 (gdb-get-source-file): Don't try to display the source file if
10722 `gdb-main-file' is nil.
10723
107242011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10725
10726 * align.el: Try to generate fewer markers (bug#10047).
10727 (align--set-marker): New macro.
10728 (align-region): Use it.
10729
c935221f
SM
107302011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10733
e70b5064
CY
107342011-11-29 Chong Yidong <cyd@gnu.org>
10735
10736 * indent.el (indent-for-tab-command, indent-according-to-mode):
10737 Doc fix.
10738 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10739
f3af92b7
MA
107402011-11-29 Michael Albinus <michael.albinus@gmx.de>
10741
10742 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10743 aware of remote file names. (Bug#10124)
10744
ed472be9
CY
107452011-11-29 Chong Yidong <cyd@gnu.org>
10746
10747 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10748
24510c22
SM
107492011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * files.el (find-file): Don't use force-same-window (bug#10144).
10752 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10753 use pop-to-buffer if the selected window can't be used.
10754 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10755
c60c3703
EZ
107562011-11-28 Eli Zaretskii <eliz@gnu.org>
10757
10758 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10759 special-mode-map.
10760
e95def75
CY
107612011-11-28 Chong Yidong <cyd@gnu.org>
10762
10763 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10764
c3f1c606
NR
107652011-11-27 Nick Roberts <nickrob@snap.net.nz>
10766
10767 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10768 gdb-get-source-file-list on gdb-create-source-file-list.
10769
00db469c
EZ
107702011-11-26 Eli Zaretskii <eliz@gnu.org>
10771
10772 * whitespace.el (whitespace-newline): Use a different foreground
10773 color for 16-color light-background displays.
10774
4ad3bc2a
CY
107752011-11-24 Chong Yidong <cyd@gnu.org>
10776
10777 * window.el (display-buffer--special-action): Doc fix.
10778
e9fce1ac
JB
107792011-11-25 Juanma Barranquero <lekktu@gmail.com>
10780
10781 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10782 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10783 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10784 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10785 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10786 (avl-tree-stack-first):
10787 * emacs-lisp/cconv.el (cconv--analyse-use):
10788 * net/gnutls.el (gnutls-negotiate): Fix typos.
10789
cb825e5d
GM
107902011-11-24 Glenn Morris <rgm@gnu.org>
10791
3adbe224
GM
10792 * lpr.el (lpr-windows-system, lpr-lp-system):
10793 * mail/binhex.el (binhex-begin-line):
10794 * progmodes/grep.el (grep-history, grep-find-history):
10795 * textmodes/flyspell.el:
10796 * vc/pcvs-defs.el (cvs-global-menu):
10797 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10798 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10799 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10800
321decc8
GM
10801 * net/tls.el: Fix case of "GnuTLS".
10802
420b63ad
GM
10803 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10804
cb825e5d
GM
10805 * version.el (emacs-build-system): Give it a doc-string.
10806
a0649f08
JL
108072011-11-24 Juri Linkov <juri@jurta.org>
10808
10809 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10810
c0bc0fd4
GM
108112011-11-24 Glenn Morris <rgm@gnu.org>
10812
10813 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10814 if called on a non-mime message just toggle the headers. (Bug#8006)
10815
20db1522
JB
108162011-11-24 Juanma Barranquero <lekktu@gmail.com>
10817
10818 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10819 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10820 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10821 (allout-rebullet-heading, allout-open-sibtopic)
10822 (allout-toggle-current-subtree-encryption)
10823 (allout-toggle-subtree-encryption, allout-encrypt-string)
10824 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10825 (allout-distinctive-bullets-string, allout-auto-activation):
10826 * window.el (window-normalize-buffer-to-display):
10827 * progmodes/verilog-mode.el (verilog-batch-indent):
10828 * textmodes/bibtex.el (bibtex-field-braces-opt)
10829 (bibtex-field-strings-opt):
10830 * vc/cvs-status.el (cvs-tree-merge):
10831 Fix typos.
10832
7262a87c
MA
108332011-11-23 Michael Albinus <michael.albinus@gmx.de>
10834
10835 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10836 `non-essential' to t, in order to avoid remote connections.
10837
283430a1
EZ
108382011-11-23 Eli Zaretskii <eliz@gnu.org>
10839
a1beca85
SM
10840 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10841 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10842 case-insensitively.
10843
d2992a38
ML
108442011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10845
10846 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10847
50419064
GM
108482011-11-23 Glenn Morris <rgm@gnu.org>
10849
da94eca1
GM
10850 * paths.el (rmail-file-name): Reformat the doc-string so that it
10851 is picked up.
10852
9aac4de2
GM
10853 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10854 (rmail-auto-file): Ignore case in the "special" field names,
10855 as mail-fetch-field does for all others.
10856
8038d2d2
GM
10857 * mail/rmail.el (rmail-forward):
10858 * mail/rmailkwd.el (rmail-set-label):
10859 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10860 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10861
f3fe222a
GM
10862 * mail/rmail.el (rmail-current-message): Doc fix.
10863
50419064
GM
10864 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10865
28109f49
SM
108662011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10869
394c65f1
GM
108702011-11-22 Glenn Morris <rgm@gnu.org>
10871
10872 * mail/rmailmm.el (test-rmail-mime-handler)
10873 (test-rmail-mime-bulk-handler)
10874 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10875
f2a0aa3a
JL
108762011-11-21 Juri Linkov <juri@jurta.org>
10877
1154d12e
JB
10878 * calc/calc.el (calc-read-key-sequence):
10879 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10880
9c34a344
LMI
108812011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10882
10883 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10884 Tell the caller that the next line needs recomputation, even
10885 though it doesn't start a sexp (bug#10094).
10886
f04a3be9
SM
108872011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10888
10889 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10890
7978747f
SM
108912011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10892
f04a3be9
SM
10893 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10894 Use force-same-window.
7978747f 10895
fe7a3057
JB
108962011-11-20 Juanma Barranquero <lekktu@gmail.com>
10897
10898 * descr-text.el (describe-char-unicode-data):
10899 * json.el (json-string-escape):
10900 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10901 (Footnote-unicode, Footnote-style-p):
10902 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10903
24901d61
CY
109042011-11-20 Chong Yidong <cyd@gnu.org>
10905
10906 * window.el (replace-buffer-in-windows): Restore interactive spec.
10907
bac7ff22
SM
109082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10909
24f3d7b9
SM
10910 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10911
bac7ff22
SM
10912 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10913 (byte-compile-global-not-obsolete-vars): New var.
10914 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10915 Use it.
10916 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10917
cd1181db
JB
109182011-11-20 Juanma Barranquero <lekktu@gmail.com>
10919
10920 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10921 * progmodes/pascal.el (electric-pascal-equal):
10922 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10923 * xml.el (xml-substitute-special): Fix typos.
10924
7fb18e9e
GM
109252011-11-20 Glenn Morris <rgm@gnu.org>
10926
10927 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10928 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10929 Doc fixes.
10930 (rmail-decode-mime-charset): Mark as obsolete.
10931
10932 * mail/rmailsum.el (rmail-message-regexp-p-1):
10933 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10934 Before using mime functions, check they are set. (Bug#10077)
10935
d5a6b3ba
JL
109362011-11-19 Juri Linkov <juri@jurta.org>
10937
10938 * info.el (Info-finder-find-node): Use `package--builtins' instead
10939 of `package-alist'. Use node names formed by the pattern "Keyword "
10940 and the keyword name.
10941
e981b61f
AS
109422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10943
1d00653d 10944 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10945
3ffbc301
JL
109462011-11-19 Juri Linkov <juri@jurta.org>
10947
10948 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10949 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10950 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10951 `old-history', `old-history-forward'. Add let-binding
10952 `window-selected'. Remove calls to `kill-buffer',
10953 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10954 before calling `Info-find-node', so `Info-find-node-2' will reread
10955 the Info file. Restore window positions only when `window-selected'
10956 is non-nil.
10957
30c62133
JL
109582011-11-19 Juri Linkov <juri@jurta.org>
10959
10960 * isearch.el (isearch-lazy-highlight-new-loop):
10961 Remove condition `(not isearch-error)'. (Bug#9918)
10962
10963 * misearch.el (multi-isearch-search-fun): Add condition
10964 `(not bound)' to ignore lazy-highlighting search.
10965 Add the search-failed message "end of multi" when the end of
10966 multi-sequence is reached. Uncapitalize the search-failed
10967 message "Repeat for next buffer".
10968
10969 * info.el (Info-search): Add the search-failed message
10970 "end of the manual" when the end of the manual is reached
10971 in Isearch mode.
10972
645ca9cf
JL
109732011-11-19 Juri Linkov <juri@jurta.org>
10974
10975 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10976 Use non-destructive `remove' instead of `delete' because
10977 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10978 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10979
df754f66
JL
109802011-11-19 Juri Linkov <juri@jurta.org>
10981
10982 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10983 to nil instead of binding `search-ring' and `regexp-search-ring'.
10984 (Bug#9185)
10985
0e23d96a
EZ
109862011-11-19 Eli Zaretskii <eliz@gnu.org>
10987
10988 * simple.el (line-move): Force movement by logical lines for any
10989 hscrolled window, not only when auto-hscroll-mode is on.
10990 (line-move-visual): Update doc string to that effect. (Bug#10076)
10991
8a6ccb66
AS
109922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10993
10994 * language/european.el (macintosh): Define as alias for mac-roman.
10995
49ae5b39
EZ
109962011-11-19 Eli Zaretskii <eliz@gnu.org>
10997
10998 * mail/rmailmm.el (rmail-mime-display-header)
10999 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11000 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11001 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11002 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11003 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11004 of a raw aref.
11005 (rmail-mime-entity-segment): To get past the tagline, move forward
11006 2 more lines, to account for the 2 empty lines that precede and
11007 follow the line with the buttons.
11008 (rmail-mime-update-tagline): Move one more line, to get past the
11009 empty line that follows the buttons in the tagline. (Bug#9520)
11010
c56cad4a
MR
110112011-11-19 Martin Rudalics <rudalics@gmx.at>
11012
11013 * window.el (window-max-delta-1, window-min-delta-1)
11014 (window-min-size-1, window-state-get-1, window-state-put-1)
11015 (window-state-put-2): Use "window--" prefix.
11016
cbe71af3
SM
110172011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11018
2ad52c60
SM
11019 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11020 (smie-warning-count): New var.
11021 (smie-set-prec2tab): Use it.
11022 (smie-bnf->prec2): Improve warnings. Add docstring.
11023 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11024 (smie-bnf--set-class): New function.
11025 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11026 corner case.
11027
6944dbc1
SM
11028 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11029 (compilation-error-properties, compilation-move-to-column):
11030 Handle compilation-first-column while in the target buffer.
11031
c400c4d7
SM
11032 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11033 Don't hardcode point-min==1.
11034
6dbe3e96
SM
11035 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11036 (eshell-rewrite-for-command): Remove workaround.
11037 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11038 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11039 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11040
cbe71af3
SM
11041 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11042
a8e1496d
GM
110432011-11-17 Glenn Morris <rgm@gnu.org>
11044
11045 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11046 Ignore buffer-local generated-autoload-file if it is the same
11047 as the global value. (Bug#10049)
11048
df85d315
JB
110492011-11-17 Juanma Barranquero <lekktu@gmail.com>
11050
11051 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11052 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11053 (reftex-toc-previous-heading, reftex-toc-max-level)
11054 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11055 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11056 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11057 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11058 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11059 (reftex-toc-rename-label, reftex-toc-visit-location)
11060 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11061 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11062 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11063 leaving "*toc*" only for references to the buffer.
11064
a0c2d0ae
MR
110652011-11-17 Martin Rudalics <rudalics@gmx.at>
11066
11067 * window.el (window-resize, delete-window, split-window):
11068 Replace window-splits by window-combination-resize.
1d00653d 11069 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11070
35c0bac8
GM
110712011-11-17 Glenn Morris <rgm@gnu.org>
11072
11073 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11074 Make bash entry derive from sh entry, not shell entry.
11075
d0c8fc8a
MA
110762011-11-16 Michael Albinus <michael.albinus@gmx.de>
11077
7262a87c
MA
11078 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11079 local file name.
11080
7877f373
JB
110812011-11-16 Juanma Barranquero <lekktu@gmail.com>
11082
11083 * menu-bar.el (menu-bar-file-menu):
11084 * printing.el (pr-ps-utility):
11085 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11086 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11087 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11088 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11089 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11090 (icalendar--convert-cyclic-to-ical)
11091 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11092 (icalendar--convert-ical-to-diary)
11093 (icalendar--convert-recurring-to-diary)
11094 (icalendar--convert-non-recurring-all-day-to-diary)
11095 (icalendar-import-format-sample):
11096 * progmodes/idlw-shell.el (idlwave-shell-mode):
11097 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11098 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11099 (vhdl-ps-print-init): Fix typos.
11100
10649b82
KM
111012011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11102
9d0cfcd6
GM
11103 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11104 FSF and collapse date sequence, obscure author/maintainer email address
11105 better, remove extra version line, track relocation of author's webpage.
10649b82 11106
9d0cfcd6
GM
11107 * progmodes/python.el (python-pdbtrack-input-prompt)
11108 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11109 regular python pdb prompts. Adjustments shamelessly taken exactly as
11110 suggested in EmacsWiki page (tiny change):
11111 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11112
58179cce
JB
111132011-11-16 Juanma Barranquero <lekktu@gmail.com>
11114
11115 * expand.el (expand-pos, expand-index, expand-point):
11116 Remove redundant info from docstring.
11117 (expand-add-abbrevs): Doc fix.
11118 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11119 (expand-sample-perl-mode-expand-list): Fix typos.
11120
11121 * net/dbus.el (dbus-event-member-name):
11122 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11123 * term/pc-win.el (msdos-create-frame-with-faces):
11124 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11125
b6f67890
MR
111262011-11-16 Martin Rudalics <rudalics@gmx.at>
11127
11128 * window.el (split-window, window-state-get-1)
11129 (window-state-put-1, window-state-put-2): Rename occurrences of
11130 window-nest to window-combination-limit.
1d00653d 11131 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11132
ce7ddba0
CY
111332011-11-16 Chong Yidong <cyd@gnu.org>
11134
11135 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11136 regexp (Bug#10033).
11137
3ae704f4
SM
111382011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11141 `completing-read' will remove *Completions* and will preserve
11142 current-buffer for us.
11143 (tmm-add-prompt): Users of *Completions* will always (re)set its
11144 major mode.
11145 (tmm-old-comp-map): Remove.
11146
6ad1cdde
GM
111472011-11-16 Glenn Morris <rgm@gnu.org>
11148
11149 * mail/rmailedit.el: Require rmailmm when compiling.
11150 (rmail-old-mime-state): New declaration.
11151 (rmail-edit-current-message): If editing a mime message,
11152 edit the "raw" message from the mbox buffer.
11153 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11154
d20faa20
GM
111552011-11-15 Glenn Morris <rgm@gnu.org>
11156
11157 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11158 which wasn't being used. Add optional arg to force given state.
11159 (rmail-mime): Add optional arg to force given state.
11160
c7015153
JB
111612011-11-15 Juanma Barranquero <lekktu@gmail.com>
11162
11163 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11164 * frame.el (display-mm-dimensions-alist):
11165 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11166 (outline-move-subtree-down):
11167 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11168 (newsticker--treeview-do-get-node):
11169 * net/quickurl.el (quickurl-list-buffer-name):
11170 * progmodes/dcl-mode.el (dcl-mode):
11171 * progmodes/gdb-mi.el (gdb-mapcar*):
11172 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11173
45261b50
GM
111742011-11-15 Glenn Morris <rgm@gnu.org>
11175
11176 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11177 in a boolean sense, so just make it a boolean, and fix the doc.
11178 (rmail-show-mime-function, rmail-mime-feature)
11179 (rmail-require-mime-maybe): Doc fixes.
11180 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11181
11182 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11183
0d26e0b6
JB
111842011-11-15 Juanma Barranquero <lekktu@gmail.com>
11185
11186 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11187 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11188 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11189 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11190
447f30f6
GM
111912011-11-15 Glenn Morris <rgm@gnu.org>
11192
672b871d
GM
11193 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11194 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11195 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11196 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11197 (rmail-mime, rmail-show-mime): Doc fixes.
11198
f6aa5bb1
GM
11199 * term/ns-win.el (mode-line-frame-identification):
11200 Leave it alone. (Bug#10051)
11201
947cd66b
GM
11202 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11203
447f30f6
GM
11204 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11205 Handle empty buffers. (Bug#9978)
11206
0b381c7e
JB
112072011-11-14 Juanma Barranquero <lekktu@gmail.com>
11208
11209 * international/mule.el (define-charset):
11210 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11211 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11212 * progmodes/verilog-mode.el (verilog-backward-token):
11213 * textmodes/ispell.el (lookup-words):
11214 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11215
71e027ac
GM
112162011-11-14 Glenn Morris <rgm@gnu.org>
11217
56632ce4
GM
11218 * progmodes/executable.el
11219 (executable-make-buffer-file-executable-if-script-p):
11220 Handle file-modes returning nil.
11221
40500957
GM
11222 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11223 message - not necessary, and causes problems. (Bug#9831)
11224
071c2340
GM
11225 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11226
d3cfca60
GM
11227 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11228
71e027ac
GM
11229 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11230 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11231 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11232
89d61221
MR
112332011-11-12 Martin Rudalics <rudalics@gmx.at>
11234
11235 * window.el (window-resize, delete-window): Use window-splits
11236 variable instead of function.
11237 (window-state-get-1, window-state-put-2, window-state-put):
11238 Don't deal with windows' splits status.
11239
98282f6f
GM
112402011-11-12 Glenn Morris <rgm@gnu.org>
11241
11242 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11243 (apropos-documentation): Doc fixes.
11244
40a8bdf6
JB
112452011-11-11 Juanma Barranquero <lekktu@gmail.com>
11246
11247 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11248 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11249
65bd19ff
SM
112502011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * electric.el (electric-indent-post-self-insert-function): Make it
11253 possible for a char to only indent in some circumstances.
11254 (electric-indent-mode): Simplify.
11255
54f9154c
MR
112562011-11-11 Martin Rudalics <rudalics@gmx.at>
11257
11258 * window.el (windows-with-parameter): Remove unused function.
11259 (windows-at-side): Rename to window-at-side-list.
11260 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11261 (window-side-check, window-size-ignore, window-size-fixed-1)
11262 (window-in-direction-2): Prefix with "window--".
11263 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11264
68cbc58b
GM
112652011-11-11 Glenn Morris <rgm@gnu.org>
11266
11267 * subr.el (eval-after-load): If FILE is already loaded,
11268 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11269
b2621720
GM
112702011-11-10 Glenn Morris <rgm@gnu.org>
11271
9a4de110
GM
11272 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11273 Call svn via vc-svn-command rather than vc-do-command.
11274 (vc-svn-command): Add --non-interactive. (Bug#9993)
11275 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11276
b2621720
GM
11277 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11278 Add toggle-read-only. (Bug#7292)
11279 * files.el (toggle-read-only): Mention that it should only
11280 be used interactively. (Bug#10006)
11281
1dce7193
SM
112822011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11283
d9ac1a1e
SM
11284 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11285 Adjust regexp for OCaml warnings.
11286
0c325082
SM
11287 * electric.el (electric-pair-post-self-insert-function): Let user
11288 turn it off buffer-locally (bug#9932).
11289
90132c14
SM
11290 * progmodes/python.el (python-beginning-of-statement):
11291 Rewrite (bug#2703).
11292
1dce7193
SM
11293 * progmodes/compile.el: Better handle TABs (bug#9749).
11294 (compilation-internal-error-properties)
11295 (compilation-next-error-function): Obey the target buffer's
11296 compilation-error-screen-columns.
11297
c4e7c63a
JB
112982011-11-09 Juanma Barranquero <lekktu@gmail.com>
11299
11300 * progmodes/meta-mode.el: Remove obsolete comments.
11301 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11302 Fix typos in docstrings.
11303
2cffd681
MR
113042011-11-09 Martin Rudalics <rudalics@gmx.at>
11305
11306 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11307 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11308 (window--resizable): New function. Make all callers of
11309 window-resizable call window--resizable instead.
11310 (window-resizable): Rewrite in terms of window--resizable.
11311
0edcba87
GM
113122011-11-08 Glenn Morris <rgm@gnu.org>
11313
11314 * progmodes/delphi.el (delphi-mode-syntax-table):
11315 Let define-derived-mode define a proper syntax table. (Bug#9994)
11316
4b0d61e3
SM
113172011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * window.el: Stay away from defsubst.
11320 (window-list-no-nils): Remove.
11321 (window-state-get-1, window-state-get): Use backquote instead.
11322
cd394be1 113232011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11324
4b0d61e3 11325 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11326 Fix incorrect use of default argument in `completing-read'.
11327
e1c2c6f2
MR
113282011-11-08 Martin Rudalics <rudalics@gmx.at>
11329
11330 * window.el (display-buffer-function, special-display-function):
11331 Mention display-buffer-record-window but do not mention
11332 help-setup parameter in doc-strings.
b3f4a882 11333 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11334
105216ed
CY
113352011-11-08 Chong Yidong <cyd@gnu.org>
11336
11337 * window.el (window-total-height, window-total-width): Doc fix.
11338 (window-body-size): Move from C.
11339 (window-body-height, window-body-width): Move to C.
11340
0a9f9ab5
SM
113412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * window.el: Make special-display like display-buffer-alist (bug#9532).
11344 (display-buffer--special-action): New function, morphed
11345 from display-buffer--special.
11346 (display-buffer): Use it to handle special-display-buffers at higher
11347 priority (just after display-buffer-alist).
11348 (display-buffer-fallback-action, display-buffer--other-frame-action)
11349 (pop-to-buffer-same-window): Remove display-buffer--special.
11350
a769dd15
GM
113512011-11-07 Glenn Morris <rgm@gnu.org>
11352
11353 * calendar/cal-menu.el (cal-menu-set-date-title):
11354 Do nothing if not in a calendar. (Bug#9976)
11355
05a61ee3
SM
113562011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * files.el (find-file): Always use selected-window.
11359
be7f5545
MR
113602011-11-07 Martin Rudalics <rudalics@gmx.at>
11361
11362 * window.el (window-combinations): Make WINDOW argument
11363 mandatory. Rewrite doc-string.
11364 (walk-window-subtree, window-atom-check, window-min-delta)
11365 (window-max-delta, window--resize-this-window)
11366 (window--resize-root-window-vertically, window-tree)
11367 (balance-windows, window-state-put): Rewrite doc-strings as to
11368 not mention the term "subwindow".
11369 (window--resize-subwindows-skip-p): Rename to
11370 window--resize-child-windows-skip-p.
11371 (window--resize-subwindows-normal): Rename to
11372 window--resize-child-windows-normal.
11373 (window--resize-subwindows): Rename to
11374 window--resize-child-windows.
11375 (window-or-subwindow-p): Rename to window--in-subtree-p.
11376
3c6702ef
ML
113772011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11378
11379 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11380 Ensure that mbox format messages end in two newlines (Bug#9974).
11381
49745b39
CY
113822011-11-06 Chong Yidong <cyd@gnu.org>
11383
11384 * window.el (window-combination-p): Function deleted; its
11385 side-effect is not used in any existing code.
11386 (window-combinations, window-combined-p): Call window-*-child
11387 directly.
11388
24300f5f
CY
113892011-11-05 Chong Yidong <cyd@gnu.org>
11390
11391 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11392 (window-size-ignore, window-state-get): Callers changed.
11393 (window-normalize-window): Rename from window-normalize-any-window.
11394 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11395 (window-normalize-live-window): Delete.
447f16b8
CY
11396 (window-combination-p, window-combined-p, window-combinations)
11397 (walk-window-subtree, window-atom-root, window-min-size)
11398 (window-sizable, window-sizable-p, window-size-fixed-p)
11399 (window-min-delta, window-max-delta, window-resizable)
11400 (window-resizable-p, window-full-height-p, window-full-width-p)
11401 (window-current-scroll-bars, window-point-1, set-window-point-1)
11402 (window-at-side-p, window-in-direction, window-resize)
11403 (adjust-window-trailing-edge, maximize-window, minimize-window)
11404 (window-deletable-p, delete-window, delete-other-windows)
11405 (record-window-buffer, unrecord-window-buffer)
11406 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11407 (quit-window, split-window, window-state-put)
11408 (set-window-text-height, fit-window-to-buffer)
11409 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11410
89bd5ee1
EZ
114112011-11-04 Eli Zaretskii <eliz@gnu.org>
11412
53479029
EZ
11413 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11414 rfc2047-decode-string.
11415 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11416 warnings.
11417
89bd5ee1
EZ
11418 * window.el (window-body-height, window-body-width): Mention in
11419 the doc string that the return values are in frame's canonical
11420 units. (Bug#9949)
11421
bd17fdee
AM
114222011-11-03 Alan Mackenzie <acm@muc.de>
11423
11424 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11425 change in cc-engine.el.
11426
acc825c5
SM
114272011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11430
1885e5b8
MR
114312011-11-02 Martin Rudalics <rudalics@gmx.at>
11432
11433 * window.el (quit-window): Call unrecord-window-buffer after
11434 showing another buffer in the window. (Bug#9937)
acc825c5 11435 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11436
ebe06da9
JB
114372011-11-02 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11440 Accept status with more than 9 shelves. (Bug#9935)
11441 Reported by Colin D Bennett <colin@gibibit.com>.
11442
4ee88440
MR
114432011-11-01 Martin Rudalics <rudalics@gmx.at>
11444
11445 * help.el (with-help-window): Don't reference
11446 temp-buffer-show-specifiers in doc-string.
11447
08e1d82c
AS
114482011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11449
11450 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11451 menu-item.
11452
84bd6e9e
VJL
114532011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11454
11455 * whitespace.el: New version 13.2.2.
11456 (whitespace-newline-mode): Disable properly. Reported by Sarah
11457 <EmacsWiki>.
11458
dba0634a
UJ
114592011-10-30 Ulf Jasper <ulf.jasper@web.de>
11460
11461 * net/newst-treeview.el: Remove "Time-stamp".
11462 (newsticker--group-manage-orphan-feeds): Do not call
11463 newsticker--treeview-tree-update.
db22a3c2
JB
11464 (newsticker-treeview-update, newsticker-treeview):
11465 Call newsticker--treeview-tree-update if necessary.
dba0634a 11466
3d8daefe
MR
114672011-10-30 Martin Rudalics <rudalics@gmx.at>
11468
11469 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11470 (window-iso-combinations): Remove "iso-" infix.
11471 Suggested by Chong Yidong.
3d8daefe
MR
11472 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11473 (window-max-delta-1, window-resize, window--resize-siblings)
11474 (window--resize-this-window, adjust-window-trailing-edge)
11475 (split-window, balance-windows-1)
11476 (shrink-window-if-larger-than-buffer):
11477 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11478 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11479
1bc4c3ae
SM
114802011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11481
11482 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11483 in place (bug#9907).
11484 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11485 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11486 (eshell-structure-basic-command, eshell-rewrite-while-command)
11487 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11488 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11489 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11490 (eshell-do-pipelines-synchronously, eshell-eval-command):
11491 Use backquotes and prefer setq to set.
11492 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11493 (eshell-macrop): Use functionp.
c1e2f5fa 11494 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11495
30b65d9c
CY
114962011-10-30 Chong Yidong <cyd@gnu.org>
11497
11498 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11499 instead of set-mark (Bug#9810).
11500
2d197ffb
CY
115012011-10-30 Chong Yidong <cyd@gnu.org>
11502
11503 * window.el (split-window-below, split-window-right): Rename from
11504 split-window-above-each-other and split-window-side-by-side
11505 respectively. All callers changed.
11506 (split-window-sensibly, split-window-sensibly): Use them.
11507 (split-window-keep-point): Doc fix.
11508
11509 * isearch.el: Add isearch-scroll property to split-window-below
11510 and split-window-right.
11511
11512 * follow.el (follow-mode):
11513 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11514 * progmodes/ada-xref.el (ada-gdb-application):
11515 * emulation/vip.el (vip-buffer-in-two-windows):
11516 * image-dired.el (image-dired-dired-with-window-configuration):
11517 * dired-x.el (dired-do-find-marked-files):
11518 * dired.el (dired-pop-to-buffer):
11519 * bs.el (bs--show-with-configuration):
11520 * vc/emerge.el (emerge-setup-windows):
11521 * textmodes/two-column.el (2C-two-columns):
11522 * textmodes/reftex-toc.el (reftex-toc):
11523 * progmodes/gdb-mi.el (gdb-setup-windows):
11524 * progmodes/fortran.el (fortran-window-create):
11525 * net/newst-treeview.el (newsticker--treeview-window-init):
11526 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11527 * emulation/tpu-edt.el (tpu-gold-map):
11528 * emulation/crisp.el (crisp-mode-map):
11529 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11530
38bb2ca8
CY
115312011-10-29 Chong Yidong <cyd@gnu.org>
11532
aa4de341
CY
11533 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11534
e1eb5385
CY
11535 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11536
5d2ece3c
CY
11537 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11538 forged Ispell output (Bug#7904).
11539
38bb2ca8
CY
11540 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11541
d0af9f77
SM
115422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11543
11544 * doc-view.el: Avoid ugly errors about not finding nil.
11545 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11546 (doc-view-dvipdf-program, doc-view-unoconv-program)
11547 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11548 Avoid nil or absolute file name as default value.
11549 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11550
52bedd34
AM
115512011-10-28 Alan Mackenzie <acm@muc.de>
11552
db22a3c2 11553 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11554
7e43cfa5
AM
115552011-10-28 Alan Mackenzie <acm@muc.de>
11556
11557 Amend the handling of c-beginning/end-of-defun in nested declaration
11558 scopes.
11559
52bedd34
AM
11560 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11561 cc-langs.el. Change it to a defcustom.
7e43cfa5 11562
52bedd34
AM
11563 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11564 cc-vars.el.
7e43cfa5 11565
d0af9f77
SM
11566 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11567 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11568
52bedd34 11569 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11570 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11571 (c-widen-to-enclosing-decl-scope): New function.
11572 (c-while-widening-to-decl-block): New macro.
11573 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11574 outward for defun boundaries, and correspondingly change symbol
11575 `respect-enclosure' to `go-outward'.
11576 (c-declaration-limits): Change algorithm to report only the "innermost"
11577 defun's boundaries.
11578
1a2ce9ee
DD
115792011-10-28 Deniz Dogan <deniz@dogan.se>
11580
11581 * net/rcirc.el (rcirc-mode): Use hard newlines.
11582
bc97a826
AM
115832011-10-28 Alan Mackenzie <acm@muc.de>
11584
11585 Amend to indent and fontify macros "which include their own semicolon"
11586 correctly, using the "virtual semicolon" mechanism.
11587
52bedd34 11588 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11589
d0af9f77 11590 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11591 Recode to scan one line at a time rather than having \n and \r
58179cce 11592 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11593 (c-forward-label): Amend for virtual semicolons.
58179cce 11594 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11595
52bedd34
AM
11596 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11597 of the new C macros.
bc97a826 11598
52bedd34 11599 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11600 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11601 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11602 (c-opt-cpp-macro-define): Make into a full language variable.
11603 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11604 AWK Mode (including \n, \r) removed, no longer needed.
11605
d0af9f77
SM
11606 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11607 Invoke c-make-macro-with-semi-re.
bc97a826 11608
52bedd34
AM
11609 * progmodes/cc-vars.el (c-macro-with-semi-re):
11610 (c-macro-names-with-semicolon): New variables.
58179cce 11611 (c-make-macro-with-semi-re): New function.
bc97a826 11612
7a6c0941
SM
116132011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * vc/log-edit.el: Fill empty field rather than adding new one.
11616 (log-edit-add-field): New function.
11617 (log-edit-insert-changelog): Use it.
11618
b0c4cdcf
ML
116192011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11620
11621 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11622
ee1f1da9
SM
116232011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11626 (gdb--check-interpreter): New function.
11627 (gdb): Use it.
11628
51bc5f8b
GM
116292011-10-27 Glenn Morris <rgm@gnu.org>
11630
416a2c45
GM
11631 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11632 (least-positive-float, least-negative-float)
11633 (least-positive-normalized-float, least-negative-normalized-float)
11634 (float-epsilon, float-negative-epsilon):
11635 Remove unnecessary declarations.
11636
11637 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11638 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11639 (least-positive-float, least-negative-float)
11640 (least-positive-normalized-float, least-negative-normalized-float)
11641 (float-epsilon, float-negative-epsilon): Add doc-strings,
11642 based on those in cl.texi.
11643
51bc5f8b
GM
11644 * files.el (set-visited-file-name): If the major-mode changed,
11645 reload the local variables. (Bug#9796)
11646
15de15c6
CY
116472011-10-27 Chong Yidong <cyd@gnu.org>
11648
11649 * subr.el (change-major-mode-after-body-hook): New hook.
11650 (run-mode-hooks): Run it.
11651
ee1f1da9
SM
11652 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11653 Use change-major-mode-before-body-hook.
15de15c6
CY
11654
11655 * simple.el (fundamental-mode):
11656 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11657 change introducing fundamental-mode-hook.
11658
5430d399
JB
116592011-10-26 Juanma Barranquero <lekktu@gmail.com>
11660
acc825c5 11661 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11662
ad74a69e
MA
116632011-10-26 Michael Albinus <michael.albinus@gmx.de>
11664
11665 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11666 tramp.el explicitly. (Bug#7583)
ad74a69e 11667
71d4c2a5
SM
116682011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * progmodes/octave-mod.el:
11671 * progmodes/octave-inf.el: Update maintainer.
11672
b1f6fa26
CY
116732011-10-26 Chong Yidong <cyd@gnu.org>
11674
11675 * subr.el (with-wrapper-hook): Rewrite doc.
11676
3f04efd6
MA
116772011-10-25 Michael Albinus <michael.albinus@gmx.de>
11678
11679 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11680 filenames "/method:foo:". (Bug#9793)
3f04efd6 11681
410488d3
SM
116822011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11685 (bug#9865).
11686
c1ebb47e
GM
116872011-10-24 Glenn Morris <rgm@gnu.org>
11688
11689 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11690
7f5c46c7
MA
116912011-10-24 Michael Albinus <michael.albinus@gmx.de>
11692
11693 * notifications.el: Add the requirement of a running D-Bus session
11694 bus to the Commentary.
11695
db2440b6
JL
116962011-10-24 Juri Linkov <juri@jurta.org>
11697
11698 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11699 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11700 (Bug#9364)
11701
feecf435
JL
117022011-10-24 Juri Linkov <juri@jurta.org>
11703
11704 * info.el (Info-following-node-name-re): Add newline to the list
11705 of allowed characters for leading space. (Bug#9824)
11706
a3839de2
SM
117072011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11708
acc825c5
SM
11709 * progmodes/octave-inf.el (inferior-octave-mode-map):
11710 Fix C-c C-h binding.
a3839de2
SM
11711 * progmodes/octave-mod.el (octave-help): Remove.
11712
09388e76
MA
117132011-10-23 Michael Albinus <michael.albinus@gmx.de>
11714
11715 Sync with Tramp 2.2.3.
11716
11717 * net/tramp-cache.el (top): Pacify byte-compiler using
11718 `init-file-user' and `site-run-file'.
11719
11720 * net/trampver.el: Update release number.
11721
86c60681
CY
117222011-10-23 Chong Yidong <cyd@gnu.org>
11723
11724 * files.el (toggle-read-only): Remove obsolete comment about
11725 version control.
11726
11727 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11728 for toggle-read-only. Note that this hasn't called vc-next-action
11729 since 2008-05-02, though it wasn't documented at the time.
11730
a3839de2
SM
11731 * vc/ediff-init.el (ediff-toggle-read-only-function):
11732 Use toggle-read-only.
86c60681 11733
cd5495ff
AM
117342011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11735
11736 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11737 of c-parse-state.
11738
00b77525 11739 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11740 correct faulty logical expression.
cd5495ff
AM
11741 (c-parse-state-state, c-record-parse-state-state):
11742 (c-replay-parse-state-state): New defvar/defuns.
11743 (c-debug-parse-state): Use new functions.
11744
42ee24ed
MR
117452011-10-22 Martin Rudalics <rudalics@gmx.at>
11746
11747 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11748 last fix. Use window-in-direction correctly.
42ee24ed 11749
a7dee7e7
CY
117502011-10-21 Chong Yidong <cyd@gnu.org>
11751
11752 * progmodes/idlwave.el (idlwave-mode):
11753 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11754 require-final-newline; that's done in prog-mode.
11755 Suggested by Stefan Monnier.
a7dee7e7 11756
e07b9a6d
MR
117572011-10-21 Martin Rudalics <rudalics@gmx.at>
11758
11759 * mouse.el (mouse-drag-window-above)
11760 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11761 (mouse-drag-mode-line-1, mouse-drag-header-line)
11762 (mouse-drag-vertical-line-rightward-window): Remove.
11763 (mouse-drag-line): New function.
11764 (mouse-drag-mode-line, mouse-drag-header-line)
11765 (mouse-drag-vertical-line): Call mouse-drag-line.
11766 * window.el (window-at-side-p, windows-at-side): New functions.
11767
7e1361d9
UM
117682011-10-21 Ulrich Mueller <ulm@gentoo.org>
11769
11770 * tar-mode.el (tar-grind-file-mode):
11771 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11772
30fcaf3a
CY
117732011-10-21 Chong Yidong <cyd@gnu.org>
11774
11775 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11776 * progmodes/vera-mode.el (vera-mode):
11777 Use mode-require-final-newline.
30fcaf3a 11778
516eddb0
GM
117792011-10-20 Glenn Morris <rgm@gnu.org>
11780
db22a3c2 11781 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11782
10d5f513
CS
117832011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11784
11785 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11786
ac6c8639
CY
117872011-10-20 Chong Yidong <cyd@gnu.org>
11788
11789 * emulation/cua-base.el (cua-mode):
11790 * mail/footnote.el (footnote-mode):
11791 * mail/mailabbrev.el (mail-abbrevs-mode):
11792 * net/xesam.el (xesam-minor-mode):
11793 * progmodes/bug-reference.el (bug-reference-mode):
11794 * progmodes/cap-words.el (capitalized-words-mode):
11795 * progmodes/compile.el (compilation-minor-mode)
11796 (compilation-shell-minor-mode):
11797 * progmodes/gud.el (gud-tooltip-mode):
11798 * progmodes/hideif.el (hide-ifdef-mode):
11799 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11800 * progmodes/subword.el (subword-mode):
11801 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11802 * progmodes/which-func.el (which-function-mode):
11803 * term/tvi970.el (tvi970-set-keypad-mode):
11804 * term/vt100.el (vt100-wide-mode):
11805 * textmodes/flyspell.el (flyspell-mode):
11806 * textmodes/ispell.el (ispell-minor-mode):
11807 * textmodes/nroff-mode.el (nroff-electric-mode):
11808 * textmodes/paragraphs.el (use-hard-newlines):
11809 * textmodes/refill.el (refill-mode):
11810 * textmodes/reftex.el (reftex-mode):
11811 * textmodes/rst.el (rst-minor-mode):
11812 * textmodes/sgml-mode.el (html-autoview-mode)
11813 (sgml-electric-tag-pair-mode):
11814 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11815 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11816 * emulation/crisp.el (crisp-mode):
11817 * emacs-lisp/eldoc.el (eldoc-mode):
11818 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11819 minor mode behavior.
11820
aa42ab43
JL
118212011-10-19 Juri Linkov <juri@jurta.org>
11822
11823 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11824 the list of hard-coded chars with escape-glyph face.
11825
89400f1d
SM
118262011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11829
305c07f6
MA
118302011-10-19 Michael Albinus <michael.albinus@gmx.de>
11831
11832 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11833 running process.
11834
13754b54
GM
118352011-10-19 Glenn Morris <rgm@gnu.org>
11836
11837 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11838 Ignore ignored files. (Bug#9726)
11839
06e21633
CY
118402011-10-19 Chong Yidong <cyd@gnu.org>
11841
11842 Doc fix for minor modes, stating that an omitted argument enables
11843 the mode unconditionally when called from Lisp.
11844
11845 * abbrev.el (abbrev-mode):
11846 * allout.el (allout-mode):
11847 * autoinsert.el (auto-insert-mode):
11848 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11849 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11850 (global-auto-revert-mode):
11851 * battery.el (display-battery-mode):
11852 * composite.el (global-auto-composition-mode)
11853 (auto-composition-mode):
11854 * delsel.el (delete-selection-mode):
11855 * desktop.el (desktop-save-mode):
11856 * dired-x.el (dired-omit-mode):
11857 * dirtrack.el (dirtrack-mode):
11858 * doc-view.el (doc-view-minor-mode):
11859 * double.el (double-mode):
11860 * electric.el (electric-indent-mode, electric-pair-mode):
11861 * emacs-lock.el (emacs-lock-mode):
11862 * epa-hook.el (auto-encryption-mode):
11863 * follow.el (follow-mode):
11864 * font-core.el (font-lock-mode):
11865 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11866 * help.el (temp-buffer-resize-mode):
11867 * hilit-chg.el (highlight-changes-mode)
11868 (highlight-changes-visible-mode):
11869 * hi-lock.el (hi-lock-mode):
11870 * hl-line.el (hl-line-mode, global-hl-line-mode):
11871 * icomplete.el (icomplete-mode):
11872 * ido.el (ido-everywhere):
11873 * image-file.el (auto-image-file-mode):
11874 * image-mode.el (image-minor-mode):
11875 * iswitchb.el (iswitchb-mode):
11876 * jka-cmpr-hook.el (auto-compression-mode):
11877 * linum.el (linum-mode):
11878 * longlines.el (longlines-mode):
11879 * master.el (master-mode):
11880 * mb-depth.el (minibuffer-depth-indicate-mode):
11881 * menu-bar.el (menu-bar-mode):
11882 * minibuf-eldef.el (minibuffer-electric-default-mode):
11883 * mouse-sel.el (mouse-sel-mode):
11884 * msb.el (msb-mode):
11885 * mwheel.el (mouse-wheel-mode):
11886 * outline.el (outline-minor-mode):
11887 * paren.el (show-paren-mode):
11888 * recentf.el (recentf-mode):
11889 * reveal.el (reveal-mode, global-reveal-mode):
11890 * rfn-eshadow.el (file-name-shadow-mode):
11891 * ruler-mode.el (ruler-mode):
11892 * savehist.el (savehist-mode):
11893 * scroll-all.el (scroll-all-mode):
11894 * scroll-bar.el (scroll-bar-mode):
11895 * server.el (server-mode):
11896 * shell.el (shell-dirtrack-mode):
11897 * simple.el (auto-fill-mode, transient-mark-mode)
11898 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11899 (line-number-mode, column-number-mode, size-indication-mode)
11900 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11901 * strokes.el (strokes-mode):
11902 * time.el (display-time-mode):
11903 * t-mouse.el (gpm-mouse-mode):
11904 * tool-bar.el (tool-bar-mode):
11905 * tooltip.el (tooltip-mode):
11906 * type-break.el (type-break-mode-line-message-mode)
11907 (type-break-query-mode):
11908 * view.el (view-mode):
11909 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11910 (global-whitespace-mode, global-whitespace-newline-mode):
11911 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11912
a3839de2
SM
11913 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11914 Fix autogenerated docstring.
06e21633 11915
5214e501
JL
119162011-10-19 Juri Linkov <juri@jurta.org>
11917
11918 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11919 by checking environment variables "DESKTOP_SESSION" and
11920 "XDG_CURRENT_DESKTOP". (Bug#9779)
11921
195f8db9
JL
119222011-10-19 Juri Linkov <juri@jurta.org>
11923
11924 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11925 (browse-url-chromium-program, browse-url-chromium-arguments):
11926 New defcustoms.
11927 (browse-url-default-browser): Check for `browse-url-chromium' and
11928 call `browse-url-chromium-program'.
11929 (browse-url-chromium): New command. (Bug#9779)
11930
343a34ff
JB
119312011-10-18 Juanma Barranquero <lekktu@gmail.com>
11932
11933 * facemenu.el (list-colors-duplicates): On Windows, detect more
11934 duplicates by assuming that only colors matching "^System" are
11935 special "system colors". (Bug#9722)
11936
6978a151
SM
119372011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11938
11939 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11940 to distinguish the author from the committer.
11941
6a80b297
MA
119422011-10-18 Michael Albinus <michael.albinus@gmx.de>
11943
11944 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11945
b31a5677
JK
119462011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11947
11948 * international/mule.el (sgml-html-meta-auto-coding-function):
11949 Add support for detecting encoding in HTML5 specified only as
11950 <meta charset="UTF-8">. Implementation just makes http-equiv and
11951 content-type parts from HTML4 encoding string optional. (Bug#9716)
11952
80c6d77f
GM
119532011-10-18 Glenn Morris <rgm@gnu.org>
11954
11955 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11956
08b0fee8
CY
119572011-10-18 Chong Yidong <cyd@gnu.org>
11958
11959 * faces.el (cursor): Doc fix.
11960
67e729a5
CY
119612011-10-17 Chong Yidong <cyd@gnu.org>
11962
11963 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11964
343a34ff 119652011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11966
11967 * dirtrack.el (dirtrack): Support shell buffers with path
11968 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11969
0bc06380
TZ
119702011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11971
11972 * json.el: Bump version to 1.3 and note change in History.
11973 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11974
8b79f3e0
SM
119752011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11976
5a7c536b
SM
11977 * comint.el (comint-insert-input, comint-send-input)
11978 (comint-get-old-input-default, comint-backward-matching-input)
11979 (comint-next-prompt): Use nil instead of `input' for field property of
11980 past user input (bug#114).
11981
96a8a0df
SM
11982 * minibuffer.el (completion--replace): Inherit surrounding properties
11983 (bug#114).
11984 (minibuffer-complete-and-exit): Use it.
11985
8b79f3e0
SM
11986 * comint.el (comint--table-subvert): Quote the all-completions output
11987 (bug#9160).
11988
b8f7ff0d
MR
119892011-10-17 Martin Rudalics <rudalics@gmx.at>
11990
8b79f3e0 11991 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11992
b8f7ff0d 11993 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11994 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11995 entries and separate them from frame entries.
11996
c235b555
GM
119972011-10-15 Glenn Morris <rgm@gnu.org>
11998
11999 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12000 Doc fixes.
12001
6bbfa6e1
CY
120022011-10-15 Chong Yidong <cyd@stupidchicken.com>
12003
8b79f3e0
SM
12004 * net/network-stream.el (network-stream-open-starttls):
12005 Improve detection of failure due to lack of TLS support.
ec5c990d 12006
6bbfa6e1
CY
12007 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12008 putting the input text in front and in bold.
12009
98488977
SM
120102011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12011
3d1337be
SM
12012 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12013
ee0b45e4
SM
12014 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12015 empty buffer.
12016
98488977
SM
12017 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12018 unread-command-events rather than pushing yet-another event.
12019
186f4720
EZ
120202011-10-14 Eli Zaretskii <eliz@gnu.org>
12021
12022 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12023 the explanation of the possible choices. Make the options passed
12024 to completing-read shorter.
12025
8b7a997c
AM
120262011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12027
12028 * textmodes/flyspell.el (flyspell-large-region): Make sure
12029 extended character mode is used if defined (Bug#1339).
12030
12587bbb
EZ
120312011-10-13 Eli Zaretskii <eliz@gnu.org>
12032
12033 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12034 character info for LRE, LRO, RLE, and RLO characters by appending
12035 an invisible PDF.
12587bbb 12036
bad41229
SM
120372011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12040 even in case of error; add debug spec; simplify data flow.
12041 (with-timeout-handler): Remove.
12042
28dbc92f
MA
120432011-10-12 Michael Albinus <michael.albinus@gmx.de>
12044
12045 Fix Bug#6019, Bug#9315.
12046
12047 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12048 complete `buffer-file-name', the local file name part could look
12049 remotely (for example on VMS).
12050
12051 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12052 `tramp-run-real-handler'.
12053 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12054 already quoted by '"'.
12055
12056 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12057 Let `file-name-handler-alist' be nil, the local file name part
12058 could look remotely (for example on VMS).
12059
e1b0b23a
SM
120602011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12063 from here...
12064 (flyspell-post-command-hook): ...to here.
12065
a120bde9
SM
120662011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12069 if not needed.
12070 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12071 using completion. Protect against "slow" callers.
12072 Remove the "message hack".
12073
7ce7717b
JL
120742011-10-11 Juri Linkov <juri@jurta.org>
12075
12076 * isearch.el (isearch-lazy-highlight-word): New variable.
12077 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12078 Use it. (Bug#9727)
12079
c02ee9d6
GM
120802011-10-11 Glenn Morris <rgm@gnu.org>
12081
12082 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12083 like f90-previous-statement does.
12084
93e616fd 120852011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12086
1f190e73 12087 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12088 only in interactive use, to avoid error.
12089
af7b6078
SM
120902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12091
12092 * minibuffer.el (completion-file-name-table): Fix last change,
12093 i.e. ignore normal errors but not the other ones.
12094
0563dae9
MR
120952011-10-10 Martin Rudalics <rudalics@gmx.at>
12096
12097 * window.el (special-display-buffer-names)
12098 (special-display-regexps): Remove some remnants of earlier
12099 changes from doc-strings.
366ca7f3
MR
12100 (quit-windows-on): New function.
12101
12102 * vc/vc.el (vc-revert, vc-rollback):
12103 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12104 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12105 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12106
49677495
MR
121072011-10-09 Martin Rudalics <rudalics@gmx.at>
12108
12109 * window.el (frame-auto-hide-function): Add version tag.
12110 (Bug#9699)
12111
56f2d1e1
MA
121122011-10-09 Michael Albinus <michael.albinus@gmx.de>
12113
12114 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12115 condition.
12116
112a6592
LL
121172011-10-09 Leo Liu <sdl.web@gmail.com>
12118
12119 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12120 (Bug#9701)
12121
0812589b
GM
121222011-10-08 Glenn Morris <rgm@gnu.org>
12123
12124 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12125 before the first code statement zero indent. (Bug#9690)
12126
b2b0776e
CY
121272011-10-08 Chong Yidong <cyd@stupidchicken.com>
12128
12129 * simple.el (count-words-region): Always count in the region.
12130 Report the number of lines and characters too.
12131 (count-words): New command, which counts in the buffer if the
12132 region is inactive, as count-words-region used to.
12133 (count-words--message): New function. Handle plurals.
12134 (count-lines-region): Make it an alias for count-words-region.
12135
12136 * bindings.el (esc-map): Replace count-lines-region with
12137 count-words-region.
12138
c557cd6b
MR
121392011-10-08 Martin Rudalics <rudalics@gmx.at>
12140
12141 * window.el (window--delete): Delete dedicated frame
12142 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12143 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12144
61a57ef4 121452011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12146
3a7d293b 12147 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12148
c3833279
CY
121492011-10-07 Chong Yidong <cyd@stupidchicken.com>
12150
12151 * bindings.el ([M-left],[M-right]): Bind to left-word and
12152 right-word respectively.
12153
21ce8245
GM
121542011-10-07 Glenn Morris <rgm@gnu.org>
12155
12156 * cus-start.el (debug-on-quit): Fix custom type.
12157
6d823bb2
LMI
121582011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12159
0181e193
LMI
12160 * subr.el (define-key-after): Clarify that the function is not
12161 useful for non-menu keymaps.
12162
6d823bb2
LMI
12163 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12164
8e3459ce 121652011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12166
21ce8245 12167 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12168 in current minibuffer (Fix bug with recursive minibuffers).
12169
a1c2d21e
CY
121702011-10-06 Chong Yidong <cyd@stupidchicken.com>
12171
12172 * progmodes/gdb-mi.el (gdb): Doc fix.
12173
5a4cf282
MR
121742011-10-05 Martin Rudalics <rudalics@gmx.at>
12175
12176 * window.el (frame-auto-hide-function): New option replacing
12177 frame-auto-delete. Suggested by Stefan Monnier.
12178 (window--delete): Call frame-auto-hide-function instead of
12179 investigating frame-auto-delete.
c96111ea
MR
12180 (window-point-1, set-window-point-1): New functions.
12181 (window-in-direction, record-window-buffer, window-state-get-1)
12182 (display-buffer-record-window): Use window-point-1 instead of
12183 window-point.
12184 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12185
9854542e
SM
121862011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12187
12188 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12189
8943cfb0
GM
121902011-10-05 Glenn Morris <rgm@gnu.org>
12191
12192 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12193 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12194
647ab967
LL
121952011-10-05 Leo Liu <sdl.web@gmail.com>
12196
12197 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12198 works with buffer object.
12199
3ddfbced
SM
122002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12201
12202 * mpc.el (mpc-tool-bar-map): Add labels.
12203
bdfa5dd2
GM
122042011-10-04 Glenn Morris <rgm@gnu.org>
12205
12206 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12207
0e2070b5
MR
122082011-10-04 Martin Rudalics <rudalics@gmx.at>
12209
12210 * window.el (window--delete): New function.
12211 (frame-auto-delete): Resuscitate option.
12212 (bury-buffer, replace-buffer-in-windows)
12213 (quit-window): Rewrite using window--delete.
12214 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12215 Pass display-buffer-mark-dedicated to window--display-buffer-2
12216 (Bug#9639).
12217
3dc61a09
SM
122182011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12219
915a9b64
SM
12220 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12221 returns a list (bug#9554). Add remote file name completion.
12222 * comint.el (comint--table-subvert): Curry and get quote&unquote
12223 functions as arguments.
12224 (comint--complete-file-name-data): Adjust call accordingly.
12225 * pcomplete.el (pcomplete--table-subvert): Remove.
12226 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12227
3dc61a09
SM
12228 * minibuffer.el (completion-table-case-fold): Use currying.
12229 (completion--styles-type, completion--cycling-threshold-type):
12230 New constants.
12231 (completion-styles, completion-category-overrides)
12232 (completion-cycle-threshold): Use them.
12233 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12234 completion-table-case-fold.
12235
8ea0a993
SB
122362011-10-03 Stephen Berman <stephen.berman@gmx.net>
12237
12238 * minibuffer.el (completion-category-overrides): Fix type of styles
12239 and add more user friendly tags (bug#9660).
12240
8c24b7f6
SM
122412011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12242
12243 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12244 (mule-input-method-string): New widget.
12245 (default-input-method, language-info-custom-alist): Use it.
12246
428fe61a
SM
122472011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12248
32c1fffd
SM
12249 * pcomplete.el: Require comint.
12250 (pcomplete--common-suffix): Remove.
12251 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12252 (pcomplete--table-subvert): Sync with comint--table-subvert.
12253 (pcomplete--entries): Use comint-completion-file-name-table.
12254 * comint.el (comint-unquote-filename): Simplify.
12255 (comint-completion-file-name-table): New function (bug#9616).
12256 (comint--complete-file-name-data): Use it.
12257
428fe61a
SM
12258 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12259 (pcmpl-gnu-tar-buffer): Remove.
12260 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12261 around. Make sure pcomplete-suffix-list is only changed temporarily.
12262 Don't look inside the tar's file if it's too large.
428fe61a 12263
04c52e2f
CY
122642011-10-01 Chong Yidong <cyd@stupidchicken.com>
12265
ce3cefcc
CY
12266 * cus-edit.el (custom-mode-map):
12267 * epa.el (epa-key-list-mode-map):
12268 * man.el (Man-mode-map):
12269 * startup.el (splash-screen-keymap):
12270 * simple.el (special-mode-map): Use scroll-up-command and
12271 scroll-down-command.
12272
12273 * progmodes/idlw-help.el (idlwave-help-mode-map):
12274 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12275 * net/newst-plainview.el (newsticker-mode-map):
12276 * emulation/ws-mode.el (wordstar-mode-map):
12277 * emulation/vi.el (vi-com-map):
12278 * calc/calc-graph.el (calc-graph-show-dumb):
12279 * term/sun.el (terminal-init-sun):
12280 * term/ns-win.el (global-map):
12281 * progmodes/grep.el (grep-mode-map):
12282 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12283 * mail/rmail.el (rmail-mode-map):
12284 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12285
04c52e2f
CY
12286 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12287 custom-safe-themes as special.
12288
79adf8c8
JD
122892011-10-01 Julien Danjou <julien@danjou.info>
12290
12291 * notifications.el (notifications-notify): Fix docstring.
12292
63bd50d3
PS
122932011-10-01 Per Starbäck <per@starback.se>
12294
12295 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12296
199e4c7e
MR
122972011-09-30 Martin Rudalics <rudalics@gmx.at>
12298
12299 * startup.el (command-line-1): Fix last fix by inserting
12300 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12301 (Bug#9605) and (Bug#9636)
199e4c7e 12302
fe5f08dd
EZ
123032011-09-29 Eli Zaretskii <eliz@gnu.org>
12304
12305 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12306 window is hscrolled, move by logical lines. (Bug#9607)
12307 (line-move-visual): Update the doc string to the above effect.
12308
b5516bbd
MR
123092011-09-29 Martin Rudalics <rudalics@gmx.at>
12310
ccee00c0
MR
12311 * window.el (display-buffer-record-window): When WINDOW is the
12312 selected window use `point' instead of `window-point'. (Bug#9626)
12313
b5516bbd
MR
12314 * startup.el (command-line-1): Use insert-before-markers when
12315 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12316
b5516bbd
MR
12317 * help.el (help-window): Remove variable.
12318
52aa0014
GM
123192011-09-29 Glenn Morris <rgm@gnu.org>
12320
12321 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12322
df9a7357
JB
123232011-09-29 Juanma Barranquero <lekktu@gmail.com>
12324
12325 * descr-text.el (describe-char-categories): Accept category
12326 descriptions more than one line long.
12327
a8406c20
SM
123282011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12329
88d9610c
SM
12330 * simple.el (delete-trailing-whitespace): Fix last change.
12331
a5daf810
SM
12332 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12333 Don't confuse "y => 3" as the beginning of a `y' operation.
12334
a8406c20
SM
12335 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12336 object has more than 4 slots (bug#9613).
12337
a239d4e9
JB
123382011-09-28 Juanma Barranquero <lekktu@gmail.com>
12339
12340 * subr.el (with-output-to-temp-buffer):
12341 * net/quickurl.el (quickurl, quickurl-browse-url):
12342 Fix typos in docstrings.
12343
693fbdb6
EZ
123442011-09-27 Eli Zaretskii <eliz@gnu.org>
12345
12346 * minibuffer.el (completion-styles)
12347 (completion-category-overrides): Cross reference each other in doc
12348 strings.
12349
8b457e28
GM
123502011-09-27 Glenn Morris <rgm@gnu.org>
12351
12352 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12353 to split-string. (Bug#9606)
12354
85a16208
LMI
123552011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12356
12357 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12358 (bug#9615).
12359
502f9ebd
CY
123602011-09-27 Chong Yidong <cyd@stupidchicken.com>
12361
12362 * emacs-lisp/package.el (list-packages): Fix echo area message.
12363
7690bdea
LL
123642011-09-27 Leo Liu <sdl.web@gmail.com>
12365
12366 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12367
e2ee6f30
MA
123682011-09-25 Michael Albinus <michael.albinus@gmx.de>
12369
12370 * net/dbus.el (dbus-unregister-object): Don't release services for
12371 registered signals. (Bug#9581)
12372
f3f98342
TZ
123732011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12374
12375 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12376 function that picks between cfengine 2 and 3 support
12377 automatically. Update docs accordingly.
12378
dd7aa8dd
KH
123792011-09-22 Kenichi Handa <handa@m17n.org>
12380
12381 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12382 ZERO.
12383 (indian-itrans-v5-table-for-tamil): New variable.
12384 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12385
3f2b07f8
KM
123862011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12387
12388 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12389 that's true if the current command involved collapsing of text.
12390 It's reset to false at the beginning of the next command.
12391 (allout-post-command-business): Move the cursor to the beginning
12392 of entry if the cursor is hidden and collapsing activity just
12393 happened.
12394
371d6a61
CY
123952011-09-24 Chong Yidong <cyd@stupidchicken.com>
12396
12397 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12398 tracking (Bug#9541).
12399
2ac2721a
UJ
124002011-09-24 Ulf Jasper <ulf.jasper@web.de>
12401
12402 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12403 (newsticker-show-news): Automatically load html rendering package
12404 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12405 because w3m-fill-column is let-bound" and the error "Symbol's value
12406 as variable is void: w3m-fill-column".
2ac2721a 12407
fac7ae53
MA
124082011-09-24 Michael Albinus <michael.albinus@gmx.de>
12409
12410 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12411 Release services only if they are defined. (Bug#9581)
12412
e08b633b
RS
124132011-09-23 Richard Stallman <rms@gnu.org>
12414
e488d29c
RS
12415 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12416 distinguish start of paragraph from start of its text.
12417
19c38752
RS
12418 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12419
e08b633b
RS
12420 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12421 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12422 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12423
0a39f27e
AS
124242011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12425
12426 * international/mule-diag.el (mule-diag): Insert a newline after
12427 each fontset description.
12428
db4e950d
SM
124292011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12430
12431 * simple.el (delete-trailing-whitespace):
12432 Document last change; simplify.
12433
eca3f3ea
PW
124342011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12435
d68e189a
PW
12436 * simple.el (delete-trailing-whitespace): Also delete
12437 extra newlines at the end of the buffer.
12438
eca3f3ea
PW
12439 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12440 (picture-newline): Use forward-line so as to ignore fields.
12441
01c157cc
SM
124422011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 * subr.el (with-wrapper-hook): Fix edebug spec.
12445
022de23e
LMI
124462011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12447
12448 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12449 (bug#4538).
12450
91683089
MA
124512011-09-23 Michael Albinus <michael.albinus@gmx.de>
12452
eca3f3ea
PW
12453 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12454 Fix nasty bug using wrong cached values.
91683089 12455
5bdd6fa4
AM
124562011-09-23 Alan Mackenzie <acm@muc.de>
12457
12458 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12459
97adfb97
CY
124602011-09-23 Chong Yidong <cyd@stupidchicken.com>
12461
12462 * window.el (pop-to-buffer): Ensure right window is selected if we
12463 chose another frame.
12464
d4ef2b50
EZ
124652011-09-22 Eli Zaretskii <eliz@gnu.org>
12466
12467 * simple.el (what-cursor-position): Use get-char-property-change
12468 and next-single-char-property-change, to be able to show display
12469 properties that come from overlays as well as text properties.
12470
72258fe5
CY
124712011-09-22 Chong Yidong <cyd@stupidchicken.com>
12472
12473 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12474
12475 * cmuscheme.el (run-scheme, switch-to-scheme):
12476 * cus-edit.el (customize-group, custom-buffer-create)
12477 (customize-browse):
12478 * info.el (info):
12479 * shell.el (shell):
12480 * mail/sendmail.el (mail):
12481 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12482
8f098516
RS
124832011-09-22 Richard Stallman <rms@gnu.org>
12484
12485 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12486 move back only to line beg, don't move back over blank lines.
12487
e74f1bb6
MA
124882011-09-22 Michael Albinus <michael.albinus@gmx.de>
12489
12490 * files.el (copy-directory): Set directory attributes only in case
12491 they could be retrieved from the source directory. (Bug#9565)
12492
bfeef8b6
DK
124932011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12494
12495 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12496 (hs-find-block-beginning, hs-hide-level-recursive):
12497 Ignore strings as well as comments. (Bug#9502)
12498
7e423bb8
AS
124992011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12500
12501 * progmodes/sql.el (sql-comint-postgres):
12502 Convert port number to a string. (Bug#9566)
12503
b4d72fcf
MR
125042011-09-22 Martin Rudalics <rudalics@gmx.at>
12505
12506 * window.el (quit-window): Undedicate window when switching to
12507 previous buffer. Reported by Thierry Volpiatto
12508 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12509 (special-display-popup-frame): When popping up a new frame reset
12510 its previous buffers to nil. Simplify code.
b4d72fcf 12511
a7b88dc6
MA
125122011-09-21 Michael Albinus <michael.albinus@gmx.de>
12513
12514 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12515 and process filter, as done also in `shell-command'.
12516
cf4eacfd
MR
125172011-09-21 Martin Rudalics <rudalics@gmx.at>
12518
eca3f3ea 12519 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12520 Call set-window-start with NOFORCE argument t.
12521 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12522 (quit-window): Reword doc-string. Handle new format of
12523 quit-restore parameter. Don't delete window if it has a
12524 previous buffer we can show instead of the present one.
12525 (display-buffer-record-window): Rewrite using a new format for
12526 the quit-restore window parameter
12527 (special-display-popup-frame, display-buffer-same-window)
12528 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12529 (display-buffer-pop-up-window, display-buffer-use-some-window):
12530 Adapt symbol passed to display-buffer-record-window.
12531 * help.el (help-window-setup): Handle new format of quit-restore
12532 parameter.
12533
8d28cb95
SM
125342011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12535
94ab793f
SM
12536 * faces.el (face-list): Fix docstring (bug#9564).
12537
8d28cb95
SM
12538 * window.el (display-buffer--action-function-custom-type):
12539 Don't include internal functions in the Custom interface.
12540
3820edeb
JL
125412011-09-20 Juri Linkov <juri@jurta.org>
12542
12543 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12544 (Info-forward-node, Info-backward-node, Info-next-preorder)
12545 (Info-last-preorder): Use it. (Bug#9528)
12546
5147931d
JL
125472011-09-20 Juri Linkov <juri@jurta.org>
12548
12549 * info.el (Info-last-preorder): Visit last menu item only when
12550 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12551
cf499a1a
JD
125522011-09-20 Julien Danjou <julien@danjou.info>
12553
12554 * password-cache.el (password-cache-remove): Remove entries even if the
12555 value is nil, so that password with a nil value (negative caching) is
12556 possible to invalidate.
12557
f84e2fe2
LM
125582011-09-20 Lawrence Mitchell <wence@gmx.li>
12559
12560 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12561 all whitespace around breakpoint. (Bug#9553)
12562 (f90-find-breakpoint): Only break at whitespace inside a comment.
12563
78054a46
SM
125642011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12565
12566 * minibuffer.el (completion-file-name-table): Keep track of errors.
12567 (completion-table-with-predicate): Handle the case where pred1 is nil.
12568 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12569
345083b2
SM
125702011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12571
e24e27be
SM
12572 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12573 (debugger-return-value): Signal an error if the debugging context does
12574 not await any return value.
12575
345083b2
SM
12576 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12577 * image-mode.el (image-toggle-display-text)
12578 (image-toggle-display-image): Stay away from evil `intangible'.
12579
08d355e3
LL
125802011-09-19 Leo Liu <sdl.web@gmail.com>
12581
12582 * replace.el (occur-revert-arguments): Make it permanent-local.
12583 (occur-mode): Don't call font-lock-defontify.
12584
f01da43f
CY
125852011-09-19 Chong Yidong <cyd@stupidchicken.com>
12586
12587 * net/ldap.el (ldap-search-internal): Don't push empty search
12588 result (Bug#9508).
12589
b6072fa6
SM
125902011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12593
443d6696
MA
125942011-09-19 Michael Albinus <michael.albinus@gmx.de>
12595
12596 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12597 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12598
7cc6e154
JL
125992011-09-18 Juri Linkov <juri@jurta.org>
12600
12601 * buff-menu.el (Buffer-menu-mode-map):
12602 * dired.el (dired-mode-map):
12603 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12604 (lisp-interaction-mode-map):
12605 * emacs-lisp/package.el (package-menu-mode-map):
12606 * epa.el (epa-key-list-mode-map):
12607 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12608 (menu-bar-options-menu):
12609 * outline.el (outline-mode-menu-bar-map):
12610 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12611 * vc/vc-dir.el (vc-dir-menu-map):
12612 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12613 Capitalize non-function content words in menu item strings.
12614
12615 * dired.el (dired-mode-map): Add menu item for
12616 `image-dired-dired-toggle-marked-thumbs'.
12617
80302a81
JL
126182011-09-18 Juri Linkov <juri@jurta.org>
12619
12620 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12621 to `isearch-case-fold-search' and restore its original value
12622 after the `isearch-mode' call.
12623
46c5cf66
JL
126242011-09-18 Juri Linkov <juri@jurta.org>
12625
12626 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12627 because `zgrep' returns 1 for successful matches (bug#9226).
12628
d18b513b
JL
126292011-09-18 Juri Linkov <juri@jurta.org>
12630
12631 * info.el (Info-extract-menu-node-name): Check the second match
12632 for empty string (second test-case of bug#9528).
12633 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12634 intermediate nodes to the history (first test-case of bug#9528).
12635
72753f87
JL
126362011-09-18 Juri Linkov <juri@jurta.org>
12637
12638 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12639 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12640
c9384295
JL
126412011-09-18 Juri Linkov <juri@jurta.org>
12642
1154d12e
JB
12643 * info.el (Info-file-supports-index-cookies):
12644 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12645 outputs one more line for long file names (bug#4142).
c9384295 12646
d473dce8
CY
126472011-09-18 Chong Yidong <cyd@stupidchicken.com>
12648
12649 * newcomment.el (comment-normalize-vars): If prompting for
12650 comment-start, set comment-start-skip too (Bug#8424).
12651
2176854d
JB
126522011-09-18 Johan Bockgård <bojohan@gnu.org>
12653
12654 * icomplete.el: Fix previous fix of Bug#5849.
12655 (icomplete-mode): Don't set completion-show-inline-help.
12656 (icomplete-minibuffer-setup): Set completion-show-inline-help
12657 locally during icompletion.
12658
3aace4e4
CY
126592011-09-18 Chong Yidong <cyd@stupidchicken.com>
12660
c940224f
CY
12661 * woman.el (woman2-process-escapes): Don't delete unrecognized
12662 escapes (Bug#7843).
12663
3aace4e4
CY
12664 * files.el (inhibit-first-line-modes-regexps): Add image files.
12665 (hack-local-variables-prop-line): Return nil for malformed
12666 prop-lines (Bug#9044).
12667
710dec63
MA
126682011-09-18 Michael Albinus <michael.albinus@gmx.de>
12669
12670 * net/tramp.el (top): Don't require 'shell.
12671 (tramp-methods): Fix docstring.
12672 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12673 Return complete remote file name. Handle "smb" case.
12674 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12675 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12676
12677 * net/tramp-compat.el (top): Require 'shell.
12678
12679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12680 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12681 `tramp-current-host'.
12682 (tramp-get-remote-tmpdir): Remove.
12683
12684 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12685 `tramp-tmpdir' entries.
12686 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12687 (tramp-smb-handle-file-attributes): Ignore errors.
12688 (tramp-smb-wait-for-output): Check also for process end.
12689
5d5ac8ec
LMI
126902011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12691
12692 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12693 when sending QUIT (bug#9312).
12694
8c0f49f0
CY
126952011-09-17 Chong Yidong <cyd@stupidchicken.com>
12696
12697 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12698 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12699 occur-mode-display-occurrence.
12700 (occur-edit-mode): Add usage message.
12701 (occur-cease-edit): New command.
12702 (occur-after-change-function): Use text properties to find the
12703 position of the prefix text.
12704 (occur-engine): Set stickiness of prefix text properties.
12705
8f1383f7
GM
127062011-09-17 Glenn Morris <rgm@gnu.org>
12707
12708 * progmodes/etags.el (complete-tag):
12709 Fix call to completion-in-region. (Bug#9526)
12710
744ba0e3
JL
127112011-09-17 Juri Linkov <juri@jurta.org>
12712
12713 * textmodes/ispell.el (ispell-word): Add to the error message
12714 the word, ispell program name and current dictionary (bug#9121).
12715 (ispell-tex-arg-end): Capitalize "error" in the error message.
12716
d9bbf400
AS
127172011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12718
12719 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12720 check. (Bug#4251)
12721
8da11505
JL
127222011-09-17 Juri Linkov <juri@jurta.org>
12723
12724 * window.el (window-safe-min-height, window-safe-min-width):
12725 Fix typos (followup to bug#9522).
12726
a91adc7e
SJ
127272011-09-17 Sven Joachim <svenjoac@gmx.de>
12728
12729 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12730
064f328a
EZ
127312011-09-16 Eli Zaretskii <eliz@gnu.org>
12732
12733 * simple.el (line-move): If goal-column is set, move by logical
12734 lines, not by display lines. (Bug#971)
12735 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12736 to reflect the above change.
12737
e69df516
SM
127382011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12739
12740 * image.el (imagemagick-register-types): Use regexp-opt.
12741
cbb0f9ab
CY
127422011-09-15 Chong Yidong <cyd@stupidchicken.com>
12743
12744 * window.el (display-buffer-base-action): Rename from
12745 display-buffer-default-action. Make default value empty.
12746 (display-buffer-overriding-action): Convert to defvar.
12747 (display-buffer-fallback-action): New var.
12748
25322144
CY
127492011-09-15 Chong Yidong <cyd@stupidchicken.com>
12750
12751 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12752 declaration.
12753 (package--add-to-archive-contents): If there is a duplicate entry
12754 with an older version, remove it.
12755 (package-menu-mark-delete, package-menu-mark-install)
12756 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12757 (package-menu-mark-obsolete-for-deletion):
12758 Use package-menu-get-status instead of a regexp search.
25322144
CY
12759 (package-menu-get-status): Use tabulated-list-entry.
12760 (package-menu-mark-upgrades): New command.
d770725a 12761 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12762 (package-menu-execute): Do installation before deletion.
12763 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12764 instead of checking major-mode.
12765 (package-menu--find-upgrades): New function.
12766
7520339c
LMI
127672011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12768
12769 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12770 passwords in the log buffer.
65a046c4
LMI
12771 (smtpmail-process-filter): Update the process marker so that the
12772 "broken by peer" status message is inserted in the right place.
7520339c 12773
d3c30954
SM
127742011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12775
3fe48822
SM
12776 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12777 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12778 bibtex-completion-at-point-function.
12779 (bibtex-completion-at-point-function): Use them.
12780
1b8b3954
SM
12781 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12782
d3c30954
SM
12783 * mpc.el (mpc-constraints-tag-lookup): New function.
12784 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12785 also to browser "album|playlist".
12786
72779976
JL
127872011-09-14 Juri Linkov <juri@jurta.org>
12788
12789 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12790 (isearch-edit-string): Use length of `isearch-string' when
12791 `isearch-fail-pos' returns nil.
12792 (isearch-message): Remove duplicate code and call
12793 `isearch-fail-pos' with arg `t'.
12794
a0bf2bcd
CY
127952011-09-14 Chong Yidong <cyd@stupidchicken.com>
12796
17bb0a2d
CY
12797 * replace.el (occur-mode-goto-occurrence): Don't force using other
12798 window (Bug#9499).
12799
a0bf2bcd
CY
12800 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12801
f678e0b6
MR
128022011-09-14 Martin Rudalics <rudalics@gmx.at>
12803
12804 * window.el (display-buffer-window): Remove.
12805 (display-buffer-record-window): Use help-setup window parameter
12806 instead of variable display-buffer-window.
12807 (display-buffer-function, special-display-buffer-names)
12808 (special-display-function): Mention help-setup parameter instead
12809 of display-buffer-window in doc-string.
d3c30954
SM
12810 * help.el (help-window-setup): New argument help-window.
12811 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12812 Reword some messages.
12813 (with-help-window): Pass window used for displaying the buffer
12814 to help-window-setup. Don't set display-buffer-window.
12815
8e39b2e8
GM
128162011-09-13 Glenn Morris <rgm@gnu.org>
12817
12818 * emacs-lisp/debug.el (debugger-make-xrefs):
12819 Preserve point. (Bug#9462)
12820
85e9c04b
CY
128212011-09-13 Chong Yidong <cyd@stupidchicken.com>
12822
12823 * window.el (window-deletable-p): Use next-frame.
12824
1b36ed6a
MR
128252011-09-13 Martin Rudalics <rudalics@gmx.at>
12826
12827 * window.el (window-auto-delete): Remove.
12828 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12829 dedication and previous buffers.
1b36ed6a
MR
12830 (switch-to-prev-buffer): Don't delete window.
12831 (delete-windows-on): Delete a window's frame if and only if the
12832 window is dedicated.
12833 (replace-buffer-in-windows): Delete buffer's window or frame if
12834 and only if window is dedicated.
12835 (quit-window): Handle quit-restore as before last change.
4d61f28d 12836 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12837
ef8ef9fb
CY
128382011-09-13 Chong Yidong <cyd@stupidchicken.com>
12839
12840 * window.el (window-deletable-p): Never delete the last frame on a
12841 given terminal.
12842
b2cba41e
GM
128432011-09-13 Glenn Morris <rgm@gnu.org>
12844
12845 * help.el (describe-key-briefly): Copy previous standard-output change.
12846
51553db6 128472011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12848
12849 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12850
b7556719
GM
128512011-09-13 Glenn Morris <rgm@gnu.org>
12852
12853 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12854 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12855
64b51947
CY
128562011-09-12 Chong Yidong <cyd@stupidchicken.com>
12857
12858 * dired-aux.el (dired-mark-read-string): Don't return default
12859 value on empty input (Bug#9361).
12860 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12861 Omit initial minibuffer contents.
12862 (dired-do-chmod): Signal an error on empty input.
12863 (dired-mark-read-string): Don't return default on empty input.
12864
12865 * files.el (file-modes-symbolic-to-number): Doc fix.
12866
393a301e
SM
128672011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12868
12869 * international/mule-cmds.el (ucs-completions): Remove.
12870 (read-char-by-name): Use complete-with-action instead; add metadata.
12871
fa5660f9
CY
128722011-09-11 Chong Yidong <cyd@stupidchicken.com>
12873
12874 * window.el (display-buffer--action-function-custom-type)
12875 (display-buffer--action-custom-type): New vars.
12876 (display-buffer-alist, display-buffer-default-action)
12877 (display-buffer-overriding-action): Add defcustom types.
12878
4a592f66
CY
12879 * frame.el (delete-other-frames): Doc fix (Bug#276).
12880
73d56dbd
LMI
128812011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12882
12883 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12884
37ac18a3
CY
128852011-09-11 Chong Yidong <cyd@stupidchicken.com>
12886
12887 Change modes that used same-window-* vars to use switch-to-buffer.
12888
12889 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12890 Use switch-to-buffer.
12891
12892 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12893 (customize-browse, custom-buffer-create-other-window):
12894 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12895
12896 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12897 (Info-prev, Info-up, Info-speedbar-goto-node)
12898 (info-display-manual): Use switch-to-buffer.
12899 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12900
12901 * mail/sendmail.el (mail): Use switch-to-buffer.
12902 (mail-recover): Use switch-to-buffer-other-window.
12903
12904 * cmuscheme.el (run-scheme, switch-to-scheme):
12905 * ielm.el (ielm):
12906 * shell.el (shell):
12907 * net/rlogin.el (rlogin):
12908 * net/telnet.el (telnet, rsh):
12909 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12910
10195bd6
AS
129112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12912
12913 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12914
b322f63a
LMI
129152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12916
39d7fed6
LMI
12917 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12918 so don't mention it (bug#9301).
ba5a81f1 12919 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12920
ee0e9f11
LMI
12921 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12922 match `x', `w32' and `ns', like the manual says (bug#9029).
12923
0b1c89c1 12924 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12925 (process-kill-buffer-query-function): Mention the buffer name in
12926 the query.
0b1c89c1 12927
77549ea8
LMI
12928 * image-mode.el (image-next-line): The line parameter is mandatory
12929 (bug#9258).
12930
803ef892
LMI
12931 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12932 which can be useful (bug#9301).
12933
12980837
LMI
12934 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12935
91054f8f
LMI
12936 * subr.el (match-string): Mention that the current buffer should
12937 be the same as the search was done in (bug#9282).
12938
b322f63a
LMI
12939 * facemenu.el: Disable the remove-* commands if the mark isn't
12940 active (bug#9162).
12941
3199b96f
CY
129422011-09-10 Chong Yidong <cyd@stupidchicken.com>
12943
12944 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12945 of display-buffer.
12946 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12947
12948 * replace.el (occur-mode-goto-occurrence)
12949 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12950 and display-buffer.
12951
12952 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12953 display-buffer.
12954
12955 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12956 special-display and same-window variables.
12957 (mail-other-window): Use switch-to-buffer-other-window.
12958 (mail-other-frame): USe switch-to-buffer-other-frame.
12959
393a301e
SM
12960 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12961 Use display-buffer-other-frame.
3199b96f
CY
12962 (gdb-display-gdb-buffer): Use pop-to-buffer.
12963
12964 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12965
12966 * progmodes/python.el: Don't set same-window-buffer-names.
12967
12968 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12969
12970 * window.el (display-buffer-alist): Add *Python*.
12971
8319e0bf
CY
129722011-09-10 Chong Yidong <cyd@stupidchicken.com>
12973
12974 * window.el (display-buffer-alist): Add entry for buffers
12975 previously handled same-window-*.
12976 (display-buffer-alist, display-buffer-default-action)
12977 (display-buffer-overriding-action): Mark as risky.
12978 (display-buffer-alist): Document action function changes.
12979 (display-buffer--same-window-action)
12980 (display-buffer--other-frame-action): New variables.
12981 (switch-to-buffer, display-buffer-other-frame): Use them.
12982 (display-buffer): Rename reuse-frame entry to reusable-frames.
12983 (display-buffer-reuse-selected-window): Function deleted.
12984 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12985 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12986 (display-buffer-special): New function.
12987 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12988 display-buffer-reuse-or-pop-window. Split off special-display
12989 part into display-buffer-special.
12990 (display-buffer-use-some-window): Don't perform any special
12991 pop-up-frames handling.
12992 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12993 (display-buffer--maybe-same-window): Rename from
0d3ff375 12994 display-buffer-maybe-same-window.
8319e0bf 12995
919a69aa
CY
12996 * info.el: Don't set same-window-regexps.
12997 (info-setup): New function.
12998 (info-other-window, info): Call it.
12999
13000 * cus-edit.el: Don't set same-window-regexps.
13001 (customize-group): New argument.
13002 (customize-group-other-window): Use it.
13003 (customize-face, customize-face-other-window): Likewise.
13004 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13005
8319e0bf
CY
13006 * net/rlogin.el:
13007 * net/telnet.el:
13008 * progmodes/gud.el: Don't set same-window-regexps.
13009
13010 * cmuscheme.el:
13011 * ielm.el:
13012 * shell.el:
13013 * mail/sendmail.el:
13014 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13015
25173000
JL
130162011-09-10 Juri Linkov <juri@jurta.org>
13017
13018 * isearch.el (isearch-edit-string): Remove obsolete mention of
13019 `C-w' (`isearch-yank-word-or-char') from docstring.
13020 (isearch-query-replace): Fix typo in docstring (bug#9466).
13021
056e44ef
JL
130222011-09-10 Juri Linkov <juri@jurta.org>
13023
13024 * paren.el (show-paren-function): Don't show escaped parens.
13025 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13026
c3760c17
EZ
130272011-09-10 Eli Zaretskii <eliz@gnu.org>
13028
13029 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13030 (mm-default-file-encoding): Remove autoload forms, they are
13031 replaced with autoload cookies in mml.el and mm-encode.el.
13032 (mail-add-attachment): New command.
13033 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13034 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13035 the doc string.
13036 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13037
fece895e
RT
130382011-09-10 Reuben Thomas <rrt@sc3d.org>
13039
e69df516
SM
13040 * simple.el (count-words-region): Use buffer if there's no region
13041 (bug#9429).
fece895e 13042
5e68ce4a
JL
130432011-09-09 Juri Linkov <juri@jurta.org>
13044
13045 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13046 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13047 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13048
0a6b9622
AM
130492011-09-09 Alan Mackenzie <acm@muc.de>
13050
13051 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13052 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13053
14a29deb
EZ
130542011-09-09 Eli Zaretskii <eliz@gnu.org>
13055
13056 Fix for Savannah bug#9392.
13057 * simple.el (mail-encode-mml): New defvar.
13058
13059 * mail/rmail.el (mail-encode-mml): Add a defvar.
13060 (rmail-enable-mime-composing): Default to t.
13061 (rmail-forward): Use MIME method of forwarding only if both
13062 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13063 Set mail-encode-mml non-nil if the MIME method was used.
13064
13065 * mail/sendmail.el (mml-to-mime): Add autoload form.
13066 (mail-encode-mml): Add a defvar.
13067 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13068 to nil.
13069 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13070 message through mml-to-mime, and reset mail-encode-mml to nil.
13071
28c45130
GM
130722011-09-09 Glenn Morris <rgm@gnu.org>
13073
13074 * woman.el (woman-if-body): When processing an .el block,
13075 do not delete the next .el block as well. (Bug#9447)
69f4b618 13076 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13077
9b1c252e
MR
130782011-09-08 Martin Rudalics <rudalics@gmx.at>
13079
13080 * window.el (window-deletable-p): Make sure window is live before
13081 invoking window-prev-buffers.
13082
567457e3
LL
130832011-09-08 Leo Liu <sdl.web@gmail.com>
13084
13085 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13086
97f05794
JL
130872011-09-08 Juri Linkov <juri@jurta.org>
13088
13089 * progmodes/compile.el (compilation-environment): Make it
13090 a defcustom (bug#8340).
13091
8b0874b5
MR
130922011-09-08 Martin Rudalics <rudalics@gmx.at>
13093
13094 * window.el (frame-auto-delete): Rename to window-auto-delete.
13095 Make it control auto-deletion of windows and/or frames.
13096 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13097 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13098 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13099 Rewrite handling of case when window/frame can be deleted.
13100 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13101 argument t. (Bug#9456)
8b0874b5 13102
4feb6e73
CY
131032011-09-07 Chong Yidong <cyd@stupidchicken.com>
13104
13105 * help-mode.el (help-mode): Restore autoload.
13106
91ab9c13
JL
131072011-09-07 Juri Linkov <juri@jurta.org>
13108
13109 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13110 `compilation-environment'. Set buffer-local
13111 `compilation-environment' to `thisenv' later after (funcall mode).
13112 (Bug#8340)
13113
13114 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13115 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13116 instead of replacing its value. (Bug#8340)
13117
0527e251
JL
131182011-09-07 Juri Linkov <juri@jurta.org>
13119
13120 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13121 based on text properties put by `grep-filter' instead of matching
13122 escape sequences.
13123 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13124 to the value of `grep-error-screen-columns' (bug#9438).
13125
249f792c
JL
131262011-09-07 Juri Linkov <juri@jurta.org>
13127
13128 * simple.el (next-error-highlight, next-error-highlight-no-select):
13129 Doc fix (bug#9432).
13130
ff7271b9
OT
131312011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13132
13133 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13134 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13135
183fc730
LL
131362011-09-07 Leo Liu <sdl.web@gmail.com>
13137
13138 * net/rcirc.el (rcirc-mode): Conditionally initialize
13139 rcirc-input-ring.
13140
77694924
SM
131412011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13142
13143 * emacs-lisp/find-func.el (find-function-C-source): Only set
13144 find-function-C-source-directory after checking that we found a source
13145 file there (bug#9440).
13146
d809b8eb
AM
131472011-09-06 Alan Mackenzie <acm@muc.de>
13148
13149 * isearch.el (isearch-other-meta-char): Wherever a key list is
13150 unread, "unread" the prefix arg, too. This fixes bug #8901.
13151
453de99f
OG
131522011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13153
13154 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13155
90439906
JL
131562011-09-05 Juri Linkov <juri@jurta.org>
13157
13158 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13159
f62bd846
JL
131602011-09-05 Juri Linkov <juri@jurta.org>
13161
13162 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13163 keeping point where processing of grep matches begins, and
13164 continue to delete remaining escape sequences from the same point.
13165 (grep-filter): Make leading zero optional in "0?1;31m" because
13166 git-grep emits "\033[1;31m" escape sequences unlike expected
13167 "\033[01;31m" as GNU Grep does (bug#9408).
13168 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13169
045820ec
JL
131702011-09-05 Juri Linkov <juri@jurta.org>
13171
13172 * subr.el (y-or-n-p): Capitalize "yes".
13173
f5e29b9b
MA
131742011-09-04 Michael Albinus <michael.albinus@gmx.de>
13175
13176 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13177 `tramp-cache-unload-hook' where appropriate.
13178 (tramp-methods): Rename `tramp-remote-sh' to
13179 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13180 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13181
13182 * net/tramp-sh.el (top): Don't require 'shell.
13183 (tramp-methods): Add `tramp-remote-shell' and
13184 `tramp-remote-shell-args' entries.
13185 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13186 (tramp-sh-handle-shell-command): Remove.
13187 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13188 Use `tramp-remote-shell'.
13189
2784c434
CY
131902011-09-03 Chong Yidong <cyd@stupidchicken.com>
13191
393a301e 13192 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13193 (sendmail-query-once): Save directly to send-mail-function.
13194 Update message-send-mail-function too.
13195
13196 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13197
464cdf56
CS
131982011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13199
13200 * progmodes/python.el (python-mode-map): Use correct function to
13201 start python interpreter from menu-bar (as reported by Geert
13202 Kloosterman).
13203 (inferior-python-mode-map): Fix typo.
393a301e 13204 (python-shell-map): Remove.
464cdf56 13205
d37e5c87
DD
132062011-09-03 Deniz Dogan <deniz@dogan.se>
13207
13208 * net/rcirc.el (rcirc-print): Simplify code for
13209 rcirc-scroll-show-maximum-output. There is no need to walk
13210 through all windows to find the right one.
13211
f3ada0ee
CS
132122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13213
13214 * help.el (help-return-method): Doc fix.
13215
1f3c99ca
MR
132162011-09-03 Martin Rudalics <rudalics@gmx.at>
13217
13218 * window.el (window-deletable-p): Don't return a non-nil value
13219 when there's a buffer that was shown in the window before.
13220 (Bug#9419)
393a301e
SM
13221 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13222 Set window's previous buffers to nil.
1f3c99ca 13223
a3cf097f
EZ
132242011-09-03 Eli Zaretskii <eliz@gnu.org>
13225
13226 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13227 newline before and after the tag line, so it doesn't interfere
13228 with determining the paragraph direction of bidirectional text.
13229
3d03de90
LL
132302011-09-03 Leo Liu <sdl.web@gmail.com>
13231
13232 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13233
c3313451
CY
132342011-09-02 Chong Yidong <cyd@stupidchicken.com>
13235
393a301e 13236 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13237 (pop-to-buffer): Change interactive spec. Pass second argument
13238 directly to display-buffer.
13239 (display-buffer): Fix interactive spec. Use functionp to
13240 distinguish between a function and a list of functions.
13241
13242 * abbrev.el (edit-abbrevs):
13243 * arc-mode.el (archive-extract):
13244 * autoinsert.el (auto-insert):
13245 * bookmark.el (bookmark-bmenu-list):
13246 * files.el (find-file):
13247 * view.el (view-buffer):
13248 * progmodes/compile.el (compilation-goto-locus):
13249 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13250
89894cd8
CY
132512011-09-02 Chong Yidong <cyd@stupidchicken.com>
13252
13253 * window.el (display-buffer-alist): Doc fix.
13254 (display-buffer): Add docstring. Don't treat
13255 display-buffer-default specially.
13256 (display-buffer-reuse-selected-window)
13257 (display-buffer-same-window, display-buffer-maybe-same-window)
13258 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13259 (display-buffer-pop-up-window)
13260 (display-buffer-reuse-or-pop-window)
13261 (display-buffer-use-some-window): New functions.
13262 (display-buffer-default-action): Use them.
393a301e 13263 (display-buffer-default): Delete.
89894cd8
CY
13264 (pop-to-buffer-1): Fix choice of actions.
13265
ae0bc9fb
SM
132662011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13267
13268 * minibuffer.el (completion--insert-strings): Don't get confused by
13269 completion entries that end with an LF char.
13270
e9d90883
EZ
132712011-09-01 Eli Zaretskii <eliz@gnu.org>
13272
13273 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13274
437014c8
CY
132752011-09-01 Chong Yidong <cyd@stupidchicken.com>
13276
13277 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13278 (display-buffer-same-window, display-buffer-other-window):
13279 New functions.
437014c8
CY
13280 (pop-to-buffer-1): New function. Use the above.
13281 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13282 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13283
13284 * view.el (view-buffer-other-window, view-buffer-other-frame):
13285 Just use pop-to-buffer.
13286
a5e063d5
TV
132872011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13288
13289 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13290
793d32bb
WH
132912011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13292
13293 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13294
d65e4c15
RS
132952011-08-31 Richard Stallman <rms@gnu.org>
13296
13297 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13298 of the separation of rmail-view-buffer from rmail-buffer.
13299 If you say no to "replace original", the decrypt is in the
13300 view buffer. If you say yes, the decrypt goes into the
13301 rmail buffer also.
13302
f818cd2a
MR
133032011-08-31 Martin Rudalics <rudalics@gmx.at>
13304
13305 * window.el (display-buffer-window): Rewrite doc-string.
13306 (display-buffer-record-window): New function.
13307 (display-buffer-macro-specifiers)
13308 (display-buffer-even-window-sizes, display-buffer-set-height)
13309 (display-buffer-set-width, display-buffer-in-window)
13310 (display-buffer-reuse-window, display-buffer-split-specifiers)
13311 (display-buffer-side-specifiers, display-buffer-split-window-1)
13312 (display-buffer-split-window, display-buffer-split-atom-window)
13313 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13314 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13315 (display-buffer-other-window-means-other-frame)
13316 (display-buffer-normalize-special)
13317 (display-buffer-normalize-default)
13318 (display-buffer-normalize-argument)
13319 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13320 (display-buffer-normalize-specifiers, display-buffer-frame)
13321 (display-buffer-same-window, display-buffer-same-frame)
13322 (display-buffer-other-window)
13323 (display-buffer-same-frame-other-window)
13324 (display-buffer-other-frame, pop-to-buffer-same-window)
13325 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13326 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13327 (switch-to-buffer-same-frame)
13328 (switch-to-buffer-other-window-same-frame)
13329 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13330 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13331 (display-buffer-alist-set): Remove.
13332 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13333 (special-display-regexps, special-display-function):
13334 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13335 parameter.
13336 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13337 (special-display-frame-alist, special-display-popup-frame)
13338 (same-window-buffer-names, same-window-regexps, same-window-p)
13339 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13340 (split-window-preferred-function, split-height-threshold)
13341 (split-width-threshold, window-splittable-p)
13342 (split-window-sensibly, window--try-to-split-window)
13343 (window--frame-usable-p, even-window-heights)
13344 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13345 (window--display-buffer-2, display-buffer-other-frame):
13346 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13347 (display-buffer-default, display-buffer-assq-regexp): New functions.
13348 (display-buffer-alist): Rewrite doc-string.
13349 (display-buffer-default-action)
13350 (display-buffer-overriding-action): New variables.
13351 (display-buffer, switch-to-buffer): Rewrite.
13352 (pop-to-buffer): Restore Emacs 23 behavior but use
13353 window-normalize-buffer-to-display.
13354 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13355 Restore Emacs 23 behavior but use
13356 window-normalize-buffer-to-switch-to.
13357 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13358 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13359 Rewrite using Emacs 23 options.
f818cd2a 13360
5bc3b51d
MA
133612011-08-31 Michael Albinus <michael.albinus@gmx.de>
13362
13363 * net/tramp.el (tramp-root-regexp): Remove.
13364 (tramp-completion-file-name-regexp-unified)
13365 (tramp-completion-file-name-regexp-separate)
13366 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13367 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13368 (tramp-drop-volume-letter): Simplify definition.
13369 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13370
b1a4f8e1
SM
133712011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13374 (bug#9356).
13375
5664fa7b
RT
133762011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13377
b1a4f8e1 13378 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13379
9a45d6c3
JL
133802011-08-29 Juri Linkov <juri@jurta.org>
13381
13382 * isearch.el (isearch-done): Don't display message "Mark saved"
13383 when arg `edit' is non-nil to prevent its flicker in the echo area.
13384
fb87e0fb
CY
133852011-08-28 Chong Yidong <cyd@stupidchicken.com>
13386
13387 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13388 obsolete packages for deletion.
13389
09ac1c2a
CS
133902011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13391
13392 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13393 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13394 view-mode from help-mode.
13395 (help-xref-override-view-map): Remove.
13396 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13397 view-mode is not used anymore.
13398
7a1ff57f
CY
133992011-08-28 Chong Yidong <cyd@stupidchicken.com>
13400
13401 * server.el (server-port): Doc fix.
13402
b9696605
CY
13403 * cus-theme.el (custom-theme-choose-mode): Inherit from
13404 special-mode (Bug#9124).
13405 (custom-theme-choose-mode-map): Add special-mode to parent.
13406
ef8cdf8c
AM
134072011-08-28 Alan Mackenzie <acm@muc.de>
13408
13409 * progmodes/cc-fonts.el
13410 (c-make-font-lock-BO-decl-search-function): New function.
13411 (c-basic-matchers-after - "Fontify the clauses after various
13412 keywords"): Extract the three keyword lists for the 3 erroneous
13413 constructs from the list of four, and use the new function above
13414 in place of an old one.
13415
27de4e20
DD
134162011-08-28 Deniz Dogan <deniz@dogan.se>
13417
13418 * net/rcirc.el (rcirc-insert-prev-input)
13419 (rcirc-insert-next-input): Remove unused argument.
13420
356a3681
SM
134212011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13422
13423 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13424
3fc9b218
AM
134252011-08-27 Alan Mackenzie <acm@muc.de>
13426
13427 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13428 handle function pointer parameters properly.
13429
538a061c
MR
134302011-08-27 Martin Rudalics <rudalics@gmx.at>
13431
13432 * window.el (display-buffer-reuse-window): Fix case where
13433 selected window was reused with non-nil OTHER-WINDOW argument.
13434 (Bug#9381)
13435
35b1c40c
DD
134362011-08-27 Deniz Dogan <deniz@dogan.se>
13437
13438 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13439 oftc's NickServ messages.
13440
2f6a3e79
GM
134412011-08-27 Glenn Morris <rgm@gnu.org>
13442
13443 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13444
7254299e
CY
134452011-08-26 Chong Yidong <cyd@stupidchicken.com>
13446
13447 * emacs-lisp/package.el (package-install): Call package-initialize
13448 if called interactively.
13449
f8ccf167
LL
134502011-08-26 Leo Liu <sdl.web@gmail.com>
13451
13452 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13453
3e8cd5ce
JL
134542011-08-25 Juri Linkov <juri@jurta.org>
13455
13456 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13457 `search-whitespace-regexp' (bug#9364).
13458
93eb7113
JL
134592011-08-25 Juri Linkov <juri@jurta.org>
13460
13461 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13462 `regexp-search-ring' to their global values to protect from
13463 updating by `read-from-minibuffer' (bug#9185).
13464
f65d1611
JL
134652011-08-25 Juri Linkov <juri@jurta.org>
13466
13467 * textmodes/ispell.el (ispell-command-loop): Add newline
13468 at the end of the "Use option `i'..." line.
13469
f1cf7a31
JL
134702011-08-25 Juri Linkov <juri@jurta.org>
13471
13472 * battery.el (display-battery-mode): If `battery-status-function'
13473 or `battery-mode-line-format' is nil, display the message and set
13474 `display-battery-mode' to nil (bug#9363).
13475
0c95fcf7
EZ
134762011-08-25 Eli Zaretskii <eliz@gnu.org>
13477
13478 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13479 bidi-string-mark-left-to-right; they are unnecessary now.
13480
a2ebe600
DD
134812011-08-25 Deniz Dogan <deniz@dogan.se>
13482
13483 * net/quickurl.el: Documentation typo fixes.
13484
e4ed06f1
CY
134852011-08-25 Chong Yidong <cyd@stupidchicken.com>
13486
13487 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13488
e5f1c99e
GM
134892011-08-25 Glenn Morris <rgm@gnu.org>
13490
b2948976
GM
13491 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13492
e5f1c99e
GM
13493 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13494 (smtpmail-via-smtp): Handle nil response from smtp.
13495
f22f4808
JL
134962011-08-24 Juri Linkov <juri@jurta.org>
13497
13498 * proced.el (proced-marked): Inherit from `error' instead of
13499 `font-lock-warning-face'.
13500
13501 * ibuffer.el (ibuffer-marked-face): Change default face from
13502 `font-lock-warning-face' to `warning'.
13503 (ibuffer-deletion-face): Change default face from
13504 `font-lock-type-face' to `error'.
13505
13506 * battery.el (battery-update): Use the face `error' instead of
13507 `font-lock-warning-face' (bug#6117).
13508
6a93965e
JL
135092011-08-24 Juri Linkov <juri@jurta.org>
13510
13511 * faces.el (success): Change face color from "Green3" to
13512 "ForestGreen" on light background (bug#9353).
13513
1ed43b09
CY
135142011-08-24 Chong Yidong <cyd@stupidchicken.com>
13515
5664fa7b
RT
13516 * window.el (quit-window): Rename from quit-restore-window.
13517 Use same arglist as old quit-window.
1ed43b09
CY
13518 (frame-auto-delete): Doc fix.
13519
13520 * view.el (view-mode-exit): Use quit-window.
13521
11dcdbb2
JL
135222011-08-24 Juri Linkov <juri@jurta.org>
13523
13524 * isearch.el (isearch-ring-adjust1): Start visiting previous
13525 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13526 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13527 for empty search string (when the last search string is reused
13528 automatically) to adjust the isearch ring to the last element and
13529 prepare the correct index for further M-p commands (bug#9185).
13530
de62b4df
KH
135312011-08-24 Kenichi Handa <handa@m17n.org>
13532
13533 * international/ucs-normalize.el: If decomposition property of
13534 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13535 nil.
13536 (nfd, nfkd): Likewise.
13537
963b492b
SM
135382011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13539
13540 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13541 from process filters aren't reliably transmitted to the surrounding
13542 accept-process-output.
13543 (mpc-proc-check): New function.
13544 (mpc-proc-sync): Use it (bug#8293)
13545
93b6b5e1
SM
135462011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13549 Add compatibility functions (bug#9313).
13550
bca633fb
EZ
135512011-08-23 Eli Zaretskii <eliz@gnu.org>
13552
b177498a
EZ
13553 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13554
6df6ae42 13555 * international/uni-bidi.el: Regenerate.
bca633fb 13556
0902a04e
KH
135572011-08-23 Kenichi Handa <handa@m17n.org>
13558
13559 * international/charprop.el:
13560 * international/uni-bidi.el:
13561 * international/uni-category.el:
13562 * international/uni-combining.el:
13563 * international/uni-comment.el:
13564 * international/uni-decimal.el:
13565 * international/uni-decomposition.el:
13566 * international/uni-digit.el:
13567 * international/uni-lowercase.el:
13568 * international/uni-mirrored.el:
13569 * international/uni-name.el:
13570 * international/uni-numeric.el:
13571 * international/uni-old-name.el:
13572 * international/uni-titlecase.el:
13573 * international/uni-uppercase.el: Regenerate.
13574
3bbf23bc
MR
135752011-08-23 Martin Rudalics <rudalics@gmx.at>
13576
13577 * help.el (help-window-setup): Fix message displayed when other
13578 window is reused. (Bug#9341)
13579
b3fd59bd
SM
135802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13581
1802e444
SM
13582 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13583 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13584
b3fd59bd
SM
13585 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13586 Mark obsolete.
13587 * shell.el (shell-parse-pcomplete-arguments): New function.
13588 (shell-completion-vars): Use it instead (bug#9160).
13589
4eb61348
SM
135902011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13591
867cab74
SM
13592 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13593 strings and comments (bug#9333).
13594
4eb61348
SM
13595 * emacs-lisp/debug.el (debug-arglist): New function.
13596 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13597 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13598
262a1439
JL
135992011-08-22 Juri Linkov <juri@jurta.org>
13600
56ee679c
JL
13601 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13602 Revert regexp that highlights output switches to its old
13603 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13604
262a1439
JL
13605 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13606 to check for empty output (bug#9226).
13607
f13f86fb
CY
136082011-08-22 Chong Yidong <cyd@stupidchicken.com>
13609
13610 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13611 symbol-constituent as the default, as that stops font-lock from
13612 working properly (Bug#8843).
13613
c65c9622
LMI
136142011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13615
13616 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13617 `coding-system-for-*' around the process open call to avoid
13618 auth-source side effects.
e7f2c178 13619 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13620 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13621 probe hangs.
c65c9622 13622
23a8a5ab
CY
136232011-08-21 Chong Yidong <cyd@stupidchicken.com>
13624
ff98b2dd
CY
13625 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13626
23a8a5ab
CY
13627 * emacs-lisp/find-func.el (find-function-noselect): New arg
13628 lisp-only.
13629
13630 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13631 signal an error for built-in functions (Bug#6664).
13632
f5e3c598
LMI
136332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13634
13635 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13636 (smtpmail-try-auth-methods): Use it.
13637
a3f2468a
CY
136382011-08-21 Chong Yidong <cyd@stupidchicken.com>
13639
2c34e8da
CY
13640 * font-lock.el (font-lock-fontify-region)
13641 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13642 (font-lock-default-unfontify-buffer)
13643 (font-lock-default-fontify-region)
13644 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13645
b3fd59bd
SM
13646 * progmodes/compile.el (compilation-error-properties):
13647 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13648 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13649 `ant' regexp.
ee31aabc 13650
a3f2468a
CY
13651 * net/browse-url.el (browse-url-firefox): Don't call
13652 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13653
8e999f70
GM
136542011-08-20 Glenn Morris <rgm@gnu.org>
13655
c21a496a
GM
13656 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13657
59ee0542
GM
13658 * tutorial.el (tutorial--default-keys): Update some default bindings.
13659
8e999f70
GM
13660 * files.el (hack-local-variables): Fully ignore case for "mode:".
13661
e3715033
AM
136622011-08-20 Alan Mackenzie <acm@muc.de>
13663
13664 Resolve invalid use of a regexp in regexp-opt.
13665
4d61f28d
JB
13666 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13667 detection for a java annotation.
e3715033 13668
4d61f28d 13669 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13670 detection for a java annotation.
13671
4d61f28d
JB
13672 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13673 handling for java.
e3715033
AM
13674 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13675
04ed2e9c
CY
136762011-08-20 Chong Yidong <cyd@stupidchicken.com>
13677
13678 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13679 (Bug#9274).
13680
826cee64
AM
136812011-08-20 Alan Mackenzie <acm@muc.de>
13682
58179cce 13683 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13684 such a construct. Mainly for when jit-lock etc. starts a chunk
13685 here.
13686
58179cce 13687 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13688 variable.
58179cce 13689 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13690 c-make-font-lock-search-function.
13691 (c-make-font-lock-search-function): Use the above function.
13692 (c-make-font-lock-context-search-function): New function.
13693 (c-cpp-matchers): Enhance the preprocessor expression case with
13694 the above function
13695 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13696 which takes an expression.
13697
13698 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13699
13009bd8
MR
137002011-08-20 Martin Rudalics <rudalics@gmx.at>
13701
13702 * window.el (display-buffer-reuse-window)
13703 (display-buffer-pop-up-window): Don't reuse or split a side
13704 window.
13705
9234ff7f
GM
137062011-08-19 Glenn Morris <rgm@gnu.org>
13707
13708 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13709 Downcase "Mode:". (Bug#9331)
9234ff7f 13710
f635daa1
CY
137112011-08-18 Chong Yidong <cyd@stupidchicken.com>
13712
13713 * international/characters.el: Add L and R categories.
13714
13715 * subr.el (bidi-string-mark-left-to-right): Rename from
13716 string-mark-left-to-right. Use category search.
13717
13718 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13719
bc987f8b
JL
137202011-08-18 Juri Linkov <juri@jurta.org>
13721
13722 * faces.el (error, warning, success): New faces with definitions
13723 copied from old default values of `font-lock-warning-face',
13724 `compilation-warning', `compilation-info' (bug#6117).
13725
13726 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13727
13728 * progmodes/compile.el (compilation-error): Inherit from `error'.
13729 (compilation-warning): Inherit from `warning'.
13730 (compilation-info): Inherit from `success'.
13731
13732 * dired.el (dired-marked): Inherit from `warning'.
13733 (dired-flagged): Inherit from `error'.
13734
57173b96
LMI
137352011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13736
3e79eb87
LMI
13737 * mail/smtpmail.el (auth-source): Require to avoid problems with
13738 binding variables (bug#9298). Also clean up some unused
13739 autoloads.
13740
b3fd59bd
SM
13741 * net/network-stream.el (network-stream-open-starttls):
13742 Support using starttls.el without using gnutls-cli.
57173b96 13743
02b404de
JL
137442011-08-17 Juri Linkov <juri@jurta.org>
13745
13746 * progmodes/grep.el (rgrep): Handle the case when
13747 `grep-find-command' is a cons cell (bug#9278).
13748
8c9177f2
MR
137492011-08-17 Martin Rudalics <rudalics@gmx.at>
13750
13751 * window.el (display-buffer-pop-up-frame): Run frame creation
13752 function with BUFFER current (as special-display-popup-frame
13753 does). Reported by Drew Adams.
13754
3644a0ab
DU
137552011-08-17 Daiki Ueno <ueno@unixuser.org>
13756
13757 * epa-mail.el: Simplify GnuPG group expansion using
13758 epg-expand-group.
13759 (epa-mail-group-alist, epa-mail-group-modtime)
13760 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13761 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13762 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13763 Remove.
13764
5e617bc2 137652011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13766
13767 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13768
9c4aeabf
AM
137692011-08-16 Alan Mackenzie <acm@muc.de>
13770
13771 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13772 Correct, to avoid the inside of macros.
13773
3a99bf64
RS
137742011-08-16 Richard Stallman <rms@gnu.org>
13775
04963aa8
RS
13776 * epa-mail.el: Handle GnuPG group definitions.
13777 (epa-mail-group-alist, epa-mail-group-modtime)
13778 (epa-mail-gnupg-conf-file): New variables.
13779 (epa-mail-parse-groups, epa-mail-sync-groups)
13780 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13781 (epa-mail-expand-recipients): New functions.
13782 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13783
177549d0
RS
13784 * mail/rmail.el (rmail-epa-decrypt): New command.
13785
fe38beef
RS
13786 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13787 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13788 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13789 (epa-decrypt-armor-in-region): Make error message clearer.
13790
934eacb9
SM
137912011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13792
13793 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13794 and "a2b" to "ab" for `prefix'.
13795
d024fb4e
CY
137962011-08-14 Chong Yidong <cyd@stupidchicken.com>
13797
13798 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13799 filter groups.
de148fee
CY
13800 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13801 Fourquet (Bug#8804).
d024fb4e 13802
62f1ca49
JB
138032011-08-12 Juanma Barranquero <lekktu@gmail.com>
13804
13805 * startup.el (argi): Declare as global variable (bug#9275).
13806
9ccaaa4b
CY
138072011-08-12 Chong Yidong <cyd@stupidchicken.com>
13808
13809 * subr.el (string-mark-left-to-right): Search the entire string
13810 for RTL script, not just the terminating character. Doc fix.
13811
a3dae87a
SM
138122011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13813
6cd18349
SM
13814 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13815 New function.
13816 (js--regexp-literal, js-syntax-propertize-function): Remove.
13817 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13818 (js-mode-map): Don't rebind electric keys.
13819 (js-insert-and-indent): Remove.
13820 (js-mode): Setup electric-layout and electric-indent instead.
13821
a3dae87a
SM
13822 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13823
9d5cb631
DU
138242011-08-12 Daiki Ueno <ueno@unixuser.org>
13825
13826 * epa.el (epa-progress-callback-function): Fix the logic of
13827 displaying progress.
13828 * epa-file.el (epa-file-insert-file-contents): Make progress
13829 display more user-friendly.
13830 (epa-file-write-region): Ditto.
13831
3e26a4a2
CY
138322011-08-10 Chong Yidong <cyd@stupidchicken.com>
13833
13834 * subr.el (string-mark-left-to-right): New function.
13835
13836 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13837 Use string-mark-left-to-right.
13838 (list-buffers-noselect): Caller changed.
13839
a3dae87a
SM
13840 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13841 Use string-mark-left-to-right.
3e26a4a2
CY
13842 (tabulated-list-print): Recenter after moving point.
13843
ac8cf6e6
JL
138442011-08-10 Juri Linkov <juri@jurta.org>
13845
13846 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13847 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13848 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13849
8d96c9a4
CY
138502011-08-09 Chong Yidong <cyd@stupidchicken.com>
13851
13852 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13853 (Bug#7554).
13854
7be1c708 138552011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13856
13857 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13858 character. (Bug#6594)
13859
37e11a63
CY
138602011-08-08 Chong Yidong <cyd@stupidchicken.com>
13861
839dde57
CY
13862 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13863 (image-dired--with-db-file): New macro.
13864 (image-dired-write-tags, image-dired-remove-tag)
13865 (image-dired-create-gallery-lists, image-dired-write-comments)
13866 (image-dired-get-comment, image-dired-mark-tagged-files)
13867 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13868 (image-dired-gallery-generate): Use insert-file-contents.
13869
37e11a63
CY
13870 * time.el (display-time-world-list, display-time-world-display):
13871 * time-stamp.el (time-stamp-string):
13872 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13873 set-time-zone-rule (Bug#7337).
13874
0b4946c4
DU
138752011-08-08 Daiki Ueno <ueno@unixuser.org>
13876
13877 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13878 (epg-error-to-string, epg-errors-to-string): New function.
13879 (epg-wait-for-completion): Reverse errors list.
13880 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13881 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13882 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13883 (epg-sign-keys, epg-generate-key-from-file)
13884 (epg-generate-key-from-string): Format errors by using
13885 epg-errors-to-string (bug#9255).
13886 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13887
75bfc667
JL
138882011-08-07 Juri Linkov <juri@jurta.org>
13889
13890 * faces.el (list-faces-display): Remove extra angle bracket
13891 from `help-mode-map'.
13892
13893 * info.el (Info-history-toc-nodes): Doc fix.
13894
13895 * longlines.el (longlines-mode): Doc fix.
13896
673e08bb
SM
138972011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13898
4640dd88
SM
13899 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13900 of statements and in a few more cases (bug#9183).
13901
673e08bb
SM
13902 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13903 New functions.
13904 (cl-transform-lambda): Use them (bug#9239).
13905
89b3f019
MR
139062011-08-05 Martin Rudalics <rudalics@gmx.at>
13907
13908 * window.el (display-buffer-same-window)
13909 (display-buffer-same-frame, display-buffer-other-window)
13910 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13911 (pop-to-buffer-other-window)
13912 (pop-to-buffer-same-frame-other-window)
13913 (pop-to-buffer-other-frame): Make them defuns.
13914 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13915
640c8776
SM
139162011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13917
13918 * subr.el (make-composed-keymap): Move from C. Change calling
13919 convention, and improve docstring to bring attention to a subtle point.
13920 * minibuffer.el (completing-read-default): Adjust accordingly.
13921
63648a95
MA
139222011-08-03 Michael Albinus <michael.albinus@gmx.de>
13923
13924 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13925 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13926
13927 * net/trampver.el: Update release number.
13928
b796c9b7
SM
139292011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13930
13931 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13932 "in" (bug#9190).
13933
2239d7d5
LMI
139342011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13935
e07dd7c3
LMI
13936 * mail/sendmail.el (sendmail-query-once): Restore the current
13937 buffer after querying (bug#9074).
13938
0e6a2bd7
LMI
13939 * dired.el (dired-flagged): Use different faces for marked and
13940 flagged files (bug#6117).
13941
ce887515
LMI
13942 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13943 (bug#4433).
13944
92f2affc
LMI
13945 * ido.el (ido-mode): Switch off the message if called
13946 non-interactively.
13947
57d5aff0
LMI
13948 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13949 before 587, since it appears that that's more likely to work for
13950 more people.
13951
98cd6c18 13952 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13953 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13954 exist.
13955
b96dec83
LMI
13956 * info.el: Remove the `Info-beginning-of-buffer' function
13957 (bug#8325).
13958
b796c9b7
SM
13959 * net/network-stream.el (network-stream-open-starttls):
13960 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13961
d90e2ea0
MR
139622011-08-01 Martin Rudalics <rudalics@gmx.at>
13963
13964 * window.el (display-buffer-in-window): Don't set dedicated status
13965 of window here (Bug#9215).
13966 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13967 (display-buffer-pop-up-side-window)
b796c9b7 13968 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13969
cca09170
SM
139702011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13973 before binding generated-autoload-file.
13974
027b979c
DD
139752011-08-01 Deniz Dogan <deniz@dogan.se>
13976
13977 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13978
3c7ee4f3
MA
139792011-07-30 Michael Albinus <michael.albinus@gmx.de>
13980
13981 Sync with Tramp 2.2.2.
13982
13983 * net/trampver.el: Update release number.
13984
2cc8e51a
JL
139852011-07-30 Juri Linkov <juri@jurta.org>
13986
13987 * dired-aux.el (dired-touch-initial): Remove function.
13988 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13989 current time, and `default' to the last modification time of the
13990 current marked file (bug#6887).
13991
a514d856
JM
139922011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13993
13994 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13995 numeric argument to read-number (bug#9163).
a514d856 13996
8a7eddd7
MA
139972011-07-27 Michael Albinus <michael.albinus@gmx.de>
13998
13999 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14000 connection process, it could be nil.
14001
1ddd96f5
LL
140022011-07-27 Leo Liu <sdl.web@gmail.com>
14003
14004 Simplify url handling in rcirc-mode.
14005
14006 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14007 (rcirc-browse-url-at-mouse): Remove.
14008 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14009
b248a85d
AM
140102011-07-26 Alan Mackenzie <acm@muc.de>
14011
14012 Fontify bitfield declarations properly.
14013
14014 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14015 (c-symbol-chars): Now exported as a lang variable.
14016 (c-not-primitive-type-keywords): New lang variable.
14017
14018 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14019 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14020 parsed as a bitfield declaration.
b248a85d 14021
b796c9b7
SM
14022 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14023 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14024 (c-punctuation-in): New function.
14025 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14026 declarations properly.
14027
68575ab0
UJ
140282011-07-26 Ulf Jasper <ulf.jasper@web.de>
14029
14030 * calendar/icalendar.el (icalendar--all-events): Take care of
14031 multiple vcalendars in a single file.
b796c9b7 14032 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14033
0f0a88b9
DD
140342011-07-25 Deniz Dogan <deniz@dogan.se>
14035
14036 * image.el (insert-image): Clarifying docstring.
14037
0b3f36df
MA
140382011-07-24 Michael Albinus <michael.albinus@gmx.de>
14039
14040 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14041 `tramp-send-command-and-check' if there is no error.
14042 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14043
a9901f61
AM
140442011-07-22 Alan Mackenzie <acm@muc.de>
14045
14046 Prevent cc-langs.elc being loaded at run time.
14047
14048 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14049 cc-langs.
14050
4d61f28d 14051 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14052 "(require 'cc-langs)". Quote a form so it will evaluate at
14053 (cc-mode's) compilation time.
14054
11d074b2
MA
140552011-07-22 Michael Albinus <michael.albinus@gmx.de>
14056
14057 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14058 loading. (Bug#9114)
14059
938b94c8
MR
140602011-07-21 Martin Rudalics <rudalics@gmx.at>
14061
14062 * window.el (display-buffer-pop-up-window)
14063 (display-buffer-pop-up-side-window)
14064 (display-buffer-in-side-window): Call display-buffer-set-height
14065 and display-buffer-set-width after setting the new window's
b796c9b7 14066 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14067
bfa4f190
SS
140682011-07-20 Sam Steingold <sds@gnu.org>
14069
14070 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14071 (etags-tags-included-tables): Call `convert-standard-filename' on
14072 the file names contained in TAGS so that windows Emacs can handle
14073 TAGS files created by cygwin ctags.
14074
8ca42262
LMI
140752011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14076
14077 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14078 which apparently didn't work.
14079
5db2afd2 140802011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14081
5db2afd2
RW
14082 * proced.el (proced-send-signal): For *Marked Processes* buffer
14083 put point at beginning of buffer.
14084
92e15d10
SB
140852011-07-19 Stephen Berman <stephen.berman@gmx.net>
14086
14087 * proced.el (proced-format): Make header lines align with the text
14088 (bug#1779).
14089
1bfd59e5
LMI
140902011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14091
14092 * view.el (view-buffer): Allow running in `special' modes if we're
14093 visiting a file (bug#8615).
14094
f5aae37c
MR
140952011-07-19 Martin Rudalics <rudalics@gmx.at>
14096
14097 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14098 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14099 New functions.
f5aae37c
MR
14100 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14101 more accurately.
14102
bf2c1571
AM
141032011-07-18 Alan Mackenzie <acm@muc.de>
14104
14105 Fontify declarators properly when, e.g., a jit-lock chunk begins
14106 inside a declaration.
14107
14108 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14109
b796c9b7
SM
14110 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14111 New function.
bf2c1571
AM
14112 (c-complex-decl-matchers): Insert reference to
14113 c-font-lock-enclosing-decls.
14114
14115 * progmodes/cc-engine.el (c-backward-single-comment):
14116 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14117 to nil around calls to (forward-comment -1).
14118
4e190b80
LMI
141192011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14120
12dc863d
LMI
14121 * image.el (put-image): Doc typo fix.
14122
a762e966
LMI
14123 * progmodes/etags.el (tags-search): Doc typo fix.
14124
4e190b80
LMI
14125 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14126 password if we get errors 550 to 554.
14127
f019fb21
LMI
141282011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14129
b796c9b7 14130 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14131
81746738
LMI
14132 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14133 indentation character (bug#6380).
14134
3ee3a1b5
LMI
14135 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14136
c82f64de
LMI
14137 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14138 to clarify what the problem is (bug#4291).
14139
f019fb21
LMI
14140 * simple.el (current-kill): Clarify what
14141 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14142 (auto-fill-mode): Document `auto-fill-function' in relation to
14143 `auto-fill-mode' (bug#2470).
f019fb21 14144
0794775d
LM
141452011-07-16 Lawrence Mitchell <wence@gmx.li>
14146
14147 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14148 method if slot is read-only (bug#9035).
14149
be39b8cc
MR
141502011-07-16 Martin Rudalics <rudalics@gmx.at>
14151
b796c9b7 14152 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14153 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14154 selected before, see discussion of (Bug#8615), (Bug#6954).
14155 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14156
6ccf7859
GM
141572011-07-15 Glenn Morris <rgm@gnu.org>
14158
14159 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14160 Respect help-form.
6ccf7859 14161
87e86684
LM
141622011-07-09 Lawrence Mitchell <wence@gmx.li>
14163
14164 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14165 (gnutls-negotiate): Use it.
14166
d6066239
LMI
141672011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14168
b796c9b7
SM
14169 * net/gnutls.el (gnutls-negotiate):
14170 Upcase `gnutls-algorithm-priority'.
d6066239 14171
bd23ebc0
GM
141722011-07-15 Glenn Morris <rgm@gnu.org>
14173
c65bca65
GM
14174 * jka-compr.el (jka-compr-verbose): Move from here...
14175 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14176 Add missing :version tag.
14177 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14178
478615cc
LMI
141792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14180
7b41decb
LMI
14181 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14182 (gnutls-negotiate): Use it.
14183
dbc44fcd
LMI
14184 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14185
06789f97
LMI
14186 * info.el (Info-beginning-of-buffer): New command.
14187 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14188 announcing `b' as the key (bug#8325).
ab896c37 14189 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14190
c39da690
LMI
14191 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14192
3aa5f34b
LMI
14193 * international/mule-cmds.el
14194 (describe-specified-language-support): Make the error message
14195 clearer (bug#8905).
14196
4bf0979f
LMI
14197 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14198
478615cc
LMI
14199 * isearch.el (isearch-barrier): Add a doc string, since it's
14200 mentioned in a function doc string (bug#8678).
14201
75c68aa1
MR
142022011-07-15 Martin Rudalics <rudalics@gmx.at>
14203
14204 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14205 buffer argument (Bug#9083) and self-identifying label argument.
14206
a7c33da2
GM
142072011-07-15 Glenn Morris <rgm@gnu.org>
14208
14209 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14210
2f5c6024
LMI
142112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14212
14213 * man.el (Man-fontify-manpage): Fix message when formatting the
14214 man page (bug#7929).
14215
0bb23927 142162011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14217
14218 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14219 argument LRM; if non-nil, append an invisible LRM character to the
14220 buffer name.
14221 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14222 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14223 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14224 paragraph direction.
cce4b0a7 14225
621ef9ab
LMI
142262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14227
d1583c48
LMI
14228 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14229 the man page name (bug#7929).
14230
6a57fb5f
LMI
14231 * image.el (put-image): Mention the `put-image' overlay property
14232 (bug#7834).
14233
d7956b14
LMI
14234 * scroll-bar.el (set-scroll-bar-mode): Mention that
14235 `scroll-bar-mode' lists the values (bug#7772).
14236
5b2d4a66
LMI
14237 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14238 command (bug#7729).
14239
7509a874
LMI
14240 * rect.el (apply-on-rectangle): Return the point after the last
14241 operation.
14242 (string-rectangle): Go to the point after the last operation
14243 (bug#7522).
14244
4fe74b19
LMI
14245 * printing.el (pr-toggle-region): Clarify the documentation
14246 slightly (bug#7493).
14247
b796c9b7
SM
14248 * time.el (display-time-update):
14249 Allow `display-time-mail-function' to return nil (bug#7158).
14250 Fix suggested by Detlev Zundel.
ab283561 14251
fc233c9d
LMI
14252 * vc/diff.el (diff): Clarify the order the file names are read
14253 (bug#7111).
14254
43f5740b
LMI
14255 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14256 the doc string (bug#7015).
14257
f2182a76
LMI
14258 * font-lock.el (font-lock-maximum-decoration): Mention what
14259 numeric levels mean (bug#6935).
14260
621ef9ab
LMI
14261 * startup.el (initial-buffer-choice): Don't mention the `none'
14262 selection, which is against policy.
14263
adc47434
MR
142642011-07-14 Martin Rudalics <rudalics@gmx.at>
14265
b796c9b7
SM
14266 * window.el (display-buffer-normalize-special):
14267 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14268
7e5bfb8f
EZ
142692011-07-14 Eli Zaretskii <eliz@gnu.org>
14270
14271 * subr.el (version<, version<=, version=): Mention "-CVS" and
14272 "-12345" alpha version numbers.
14273
27fa387a
CY
142742011-07-14 Chong Yidong <cyd@stupidchicken.com>
14275
14276 * bindings.el: Add advertised binding for set-mark-command
14277 (Bug#5772).
14278
8bdfa064
CY
142792011-07-14 Chong Yidong <cyd@stupidchicken.com>
14280
14281 * bindings.el (mode-line-other-buffer):
14282 * bookmark.el (bookmark-bmenu-2-window):
14283 * bs.el (bs-cycle-next, bs-cycle-previous):
14284 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14285 switch-to-buffer.
14286
14287 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14288 Delete.
8bdfa064 14289
5eba16a3
JB
142902011-07-14 Juanma Barranquero <lekktu@gmail.com>
14291
14292 * follow.el (follow-debug-message, follow-redisplay):
14293 * jka-cmpr-hook.el (with-auto-compression-mode):
14294 Fix typos in docstrings.
14295
15853710
LMI
142962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14297
a28e4607
LMI
14298 * subr.el (with-silent-modifications): Clarify somewhat what the
14299 macro inhibits (bug#6525).
14300
15853710
LMI
14301 * simple.el (eval-expression): Note what it does if called
14302 interactively (bug#6495).
14303
bee0fcef
CY
143042011-07-13 Chong Yidong <cyd@stupidchicken.com>
14305
b796c9b7
SM
14306 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14307 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14308
14309 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14310 Remove switch-to-buffer.
14311
58274504
LMI
143122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14313
bd2fcc8d
LMI
14314 * files.el (make-directory): Clarify that an error will be raised
14315 if there's an error (bug#6397).
14316
0f04b32c
LMI
14317 * startup.el (initial-buffer-choice): Add `none' as a choice
14318 (bug#6234).
14319
465c5fc8
LMI
14320 * subr.el (add-hook): Clarify section about buffer-local hooks
14321 (bug#6218).
14322
58274504
LMI
14323 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14324
bead9a43
JB
143252011-07-13 Juanma Barranquero <lekktu@gmail.com>
14326
14327 * tabify.el (untabify): Preserve the current column so that point
14328 doesn't move (bug#6032).
14329
3af98a7b
LMI
143302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14331
b796c9b7
SM
14332 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14333 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14334
6240145a
GM
143352011-07-13 Glenn Morris <rgm@gnu.org>
14336
14337 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14338 (dired-insert-directory): Give a message the first time
14339 if ls is found not to support --dired.
14340
1d8c2ccc
LMI
143412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14342
14343 * simple.el (toggle-truncate-lines): Clarify what is toggled
14344 (bug#5580). Text by Drew Adams.
14345
5fc4038e
CY
143462011-07-13 Chong Yidong <cyd@stupidchicken.com>
14347
14348 * simple.el (blink-matching-open): Make the error message from the
14349 last change less verbose.
14350
bf6012e5
DN
143512011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14352
14353 * font-lock.el (font-lock-comment-face): Use the high contrast
14354 "yellow" color for font-lock-comment-face on low color terminals
14355 using a dark background color (bug#4221).
14356
343c3b5a
LMI
143572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14358
7e9505c5
LMI
14359 * dired.el (dired-insert-set-properties): Make the doc string
14360 reflect what it does now (bug#5325).
14361
c26fdcf5
LMI
14362 * simple.el (blink-matching-open): Say that we were unable to find
14363 the match within the limit, if we're limited (bug#5122).
14364
bb388cc5
LMI
14365 * international/mule-cmds.el (prefer-coding-system): Add an
14366 example (bug#4869).
14367
343c3b5a
LMI
14368 * progmodes/etags.el (tags-search): Document `file-list-form'
14369 (bug#4731).
14370
2a517d45
LM
143712011-07-13 Lawrence Mitchell <wence@gmx.li>
14372
14373 * net/browse-url.el (browse-url-default-browser)
14374 (browse-url-browser-function): Make the default browser choice a
14375 bit more logical (bug#4300). Also clean up the doc string.
14376
b6c78ef2
JB
143772011-07-13 Juanma Barranquero <lekktu@gmail.com>
14378
14379 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14380 binary endings (bug#4440).
14381
1c4dd947
LMI
143822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14383
a2014063
LMI
14384 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14385 which can be pretty annoying (bug#8971).
14386
9c9c2d88
LMI
14387 * jka-compr.el (jka-compr-verbose): New variable, and use
14388 throughout (bug#8971).
14389
1c4dd947
LMI
14390 * info.el (Info-find-file): Fall back on the installation
14391 directory if we can't find the info node anywhere else.
14392
a1c9f41b
SO
143932011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14394
14395 * vc/vc.el (vc-revert-file):
14396 Don't set file time-stamp in the past. (Bug#5181)
14397
536f3d36
LMI
143982011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14399
7152b011
LMI
14400 * files.el (after-find-file): Give a better error message when
14401 trying to find a symlink that points to a file that doesn't exist
14402 (bug#4398).
14403
536f3d36
LMI
14404 * progmodes/cc-vars.el: Remove (probably) misleading comment
14405 (bug#4396).
14406
460c0fba
JB
144072011-07-12 Johan Bockgård <bojohan@gnu.org>
14408
14409 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14410
7a6bda45
CY
144112011-07-12 Chong Yidong <cyd@stupidchicken.com>
14412
14413 * mouse-sel.el: Hack restoring functionality, while keeping
14414 compatibility with 2010-07-03 changes to mouse selection.
14415 (mouse-sel-primary-overlay): New var.
14416 (mouse-sel-selection-alist): Use it.
14417 (mouse-sel-mode): Doc fix; remove points that are default features
14418 of mouse.el.
14419
c79598ef
JB
144202011-07-12 Johan Bockgård <bojohan@gnu.org>
14421
14422 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14423 Fix previous fix (bug#2490).
14424
ff8be6ef
RW
144252011-07-12 Roland Winkler <winkler@gnu.org>
14426
b796c9b7
SM
14427 * textmodes/bibtex.el (bibtex-initialize):
14428 Use pop-to-buffer-same-window.
ff8be6ef
RW
14429 (bibtex-search-entries): Fix interactive call.
14430
296ba3ee
LMI
144312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14432
f5242a02 14433 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14434 Fontise bytecomp Error lines more correctly (bug#2490).
14435 Fix suggested by Johan Bockgård.
f5242a02 14436
296ba3ee
LMI
14437 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14438
14439 * dired-x.el (dired-guess-default): Use `delete-dups'.
14440
f69fd0d2
CY
144412011-07-12 Chong Yidong <cyd@stupidchicken.com>
14442
14443 * dired.el (dired-mark-prompt):
14444 * dired-aux.el (dired-read-shell-command): Doc fix.
14445
eab5dc07
LMI
144462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14447
b796c9b7
SM
14448 * mail/sendmail.el (sendmail-query-once):
14449 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14450 emacs -Q.
14451
14452 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14453
eab5dc07
LMI
14454 * cus-edit.el (custom-file): Take an optional no-error variable.
14455 (customize-save-variable): Set the variable, and give a warning if
14456 running under "emacs -q".
14457
a1e65d42
JB
144582011-07-11 Juanma Barranquero <lekktu@gmail.com>
14459
14460 * loadhist.el (unload-feature-special-hooks):
14461 Add `auto-coding-functions', `fill-nobreak-predicate' and
14462 `find-directory-functions' (bug#5327).
14463
1d52da10
LMI
144642011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14465
be958f1d
LMI
14466 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14467
5bedb26c
LMI
14468 * cus-edit.el (custom-guess-name-alist): -alist variables should
14469 use the `alist' type (bug#3120). Suggested by Drew Adams.
14470
1d52da10
LMI
14471 * printing.el: Add documentation to all the `pr-toggle-' commands.
14472
cd394be1 144732011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14474
14475 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14476 backends where it makes sense (bug#2623).
14477
dcc88d8a
LMI
144782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14479
c3de9feb
LMI
14480 * dired-x.el (dired-guess-default): Remove duplicate shell command
14481 entries (bug#2028).
8a93078b 14482 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14483 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14484
dcc88d8a
LMI
14485 * subr.el (remove-duplicates): New conveniency function.
14486
505e3645
LMI
144872011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14488
14489 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14490 (bug#1526).
14491
144922011-07-10 Martin Rudalics <rudalics@gmx.at>
14493
14494 * window.el (display-buffer-normalize-default): Don't invert
14495 meaning of even-window-heights. Reported by Eli Zaretskii
14496 <eliz@gnu.org>.
14497
455e4fa1
BR
144982011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14499
14500 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14501
8e0bc3e9
CY
145022011-07-10 Chong Yidong <cyd@stupidchicken.com>
14503
14504 * window.el (display-buffer): Fix arguments to
14505 display-buffer-reuse-window in last change.
14506
fa7c3228
CY
14507 * faces.el (link): Use a less saturated blue on light backgrounds.
14508
14509 * startup.el (fancy-startup-text, fancy-about-text)
14510 (fancy-startup-tail): Use font-lock faces, for background safety.
14511
c0a7f300
BN
145122011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14513
b796c9b7
SM
14514 * emulation/viper-cmd.el (viper-change-state-to-vi):
14515 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14516
4dc2a129
MR
145172011-07-09 Martin Rudalics <rudalics@gmx.at>
14518
14519 * window.el (display-buffer-default-specifiers): Remove.
14520 (display-buffer-macro-specifiers): Remove default specifiers.
14521 (display-buffer-alist): Default to nil.
b796c9b7 14522 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14523 (display-buffer-pop-up-window): Allow splitting internal
14524 windows. Check whether a live window was created.
14525 (display-buffer-other-window-means-other-frame)
14526 (display-buffer-normalize-arguments): Rename to
14527 display-buffer-normalize-argument and rewrite. Set the
14528 other-window specifier.
14529 (display-buffer-normalize-special): New function.
14530 (display-buffer-normalize-options): Rename to
14531 display-buffer-normalize-default and rewrite.
14532 (display-buffer-normalize-options-inhibit): Remove.
14533 (display-buffer-normalize-specifiers): Rewrite.
14534 (display-buffer): Process other-window specifier and call
14535 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14536 more faithfully.
b796c9b7 14537 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14538 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14539 (display-buffer-in-window, display-buffer-alist-set):
14540 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14541 <tassilo@member.fsf.org>.
14542
2d43b8c9
LL
145432011-07-09 Leo Liu <sdl.web@gmail.com>
14544
14545 * register.el (insert-register): Restore accidental change on
14546 2011-06-26. (Bug#9028)
14547
7f9b7c53
GM
145482011-07-09 Glenn Morris <rgm@gnu.org>
14549
14550 * subr.el (remq): Handle the empty list. (Bug#9024)
14551
f042cfd8
AS
145522011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14553
14554 * mail/sendmail.el (send-mail-function): No longer delay custom
14555 initialization.
14556 * custom.el (custom-initialize-delay): Doc fix.
14557
856b2f11
SM
145582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14559
14560 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14561
afae1d68
MA
145622011-07-08 Michael Albinus <michael.albinus@gmx.de>
14563
14564 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14565 human-friendly prompt.
14566
0757af94
SM
145672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14568
14569 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14570 provided by a particular plugin.
14571
d760b731
LMI
145722011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14573
14574 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14575 save customizations (with "emacs -Q"), just set the variable
14576 instead of erroring out.
14577
14578 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14579
cd79ce90
JL
145802011-07-08 Juri Linkov <juri@jurta.org>
14581
14582 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14583 (archive-zip-update-case): Use 7z if found by `executable-find'.
14584 The order of searching the available programs is the same as in
14585 `archive-zip-extract' (bug#8968).
14586
14cc04aa
CY
145872011-07-07 Chong Yidong <cyd@stupidchicken.com>
14588
14589 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14590 (menu-bar-options-menu): Tweak descriptions.
14591
0a1848ec
LMI
145922011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14593
14594 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14595 menu items into verb phrases (bug#1421). Also refill to fit under
14596 80 columns.
14597
f5bd0689
CY
145982011-07-07 Chong Yidong <cyd@stupidchicken.com>
14599
538e85c6
CY
14600 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14601 (Info-read-node-name): Doc fix (Bug#1084).
14602
f5bd0689
CY
14603 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14604 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14605 (end-of-sexp, beginning-of-sexp)
14606 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14607 (forward-symbol, forward-same-syntax, word-at-point)
14608 (sentence-at-point): Doc fix (Bug#1144).
14609
56ec5115
LMI
146102011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14611
f3f8e37f
LMI
14612 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14613 should cover it (bug#1281).
14614
0757af94 14615 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14616
e9fce1ac 14617 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14618 negotiation fails, then possibly try again with a non-encrypted
14619 connection (bug#9017).
14620
56ec5115
LMI
14621 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14622 be used.
14623
c2f9aec8
RS
146242011-07-07 Richard Stallman <rms@gnu.org>
14625
14626 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14627 property, and handle its changed format.
14628 Look for the correct line number.
14629 Use file's line contents (but not past first =) to find
14630 correct line in message.
14631
ef7b981d 146322011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14633
14634 * international/characters.el (build-unicode-category-table):
14635 Delete it.
0757af94 14636 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14637
0757af94 14638 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14639 to src/chartab.c.
14640 (get-char-code-property): Call unicode-property-table-internal to
14641 load a file. Call get-unicode-property-internal where necessary.
14642 (put-char-code-property): Call unicode-property-table-internal to
14643 load a file. Call put-unicode-property-internal where necessary.
14644 put-unicode-property-internal where necessary.
0757af94
SM
14645 (char-code-property-description):
14646 Call unicode-property-table-internal to load a file.
c805dec0
KH
14647
14648 * international/charprop.el:
14649 * international/uni-bidi.el:
14650 * international/uni-category.el:
14651 * international/uni-combining.el:
14652 * international/uni-comment.el:
14653 * international/uni-decimal.el:
14654 * international/uni-decomposition.el:
14655 * international/uni-digit.el:
14656 * international/uni-lowercase.el:
14657 * international/uni-mirrored.el:
14658 * international/uni-name.el:
14659 * international/uni-numeric.el:
14660 * international/uni-old-name.el:
14661 * international/uni-titlecase.el:
14662 * international/uni-uppercase.el: Regenerate.
14663
14664 * loadup.el: Load international/charprop.el before
14665 international/characters.
14666
e14b388a
CY
146672011-07-07 Chong Yidong <cyd@stupidchicken.com>
14668
14669 * window.el (next-buffer, previous-buffer): Signal an error if
14670 called from a minibuffer window.
14671
14672 * bindings.el: Revert 2011-07-04 change.
14673
354cf0ba
RS
146742011-07-06 Richard Stallman <rms@gnu.org>
14675
14676 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14677 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14678 Treat markers like ints.
14679 (rmail-mime-entity): Doc fix.
14680
a48868a7
LMI
146812011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14682
4906cd3d
LMI
14683 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14684 defcustom again for backwards compatibility.
14685
e0457abe
LMI
14686 * simple.el (shell-command-on-region): Fill.
14687
d67f7e1f
LMI
14688 * dired-aux.el (dired-kill-line): Add a doc string.
14689
fe204702
LMI
14690 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14691 to "\\sw\\|\\s_" (bug#358).
14692
a48868a7
LMI
14693 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14694 (dired-unmark-backward): Ditto.
14695 (dired-flag-backup-files): Ditto.
14696
14697 * dired-x.el (dired-mark-sexp): Ditto.
14698
aa8a705c
RS
146992011-07-06 Richard Stallman <rms@gnu.org>
14700
14701 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14702 (rmail-mime-entity): New arg TRUNCATED.
14703 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14704 New functions.
14705 (rmail-mime-save): Warn if entity is truncated.
14706 (rmail-mime-toggle-hidden): Likewise, for showing.
14707 (rmail-mime-process-multipart): Record when an entity is truncated.
14708
a9a936b9
RS
14709 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14710 if ENTITY is a string.
14711
1f2b92cb
LMI
147122011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14713
f4f73198 14714 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14715 of faces when `M-C-x'-ing their definitions (bug#8378).
14716 Also clean up the code slightly.
f4f73198 14717
12b16734 14718 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14719 because that makes the colors go away.
12b16734 14720
f0691d22
LMI
14721 * mail/sendmail.el (send-mail-function): Change the default to
14722 `sendmail-query-once'.
9e87df06 14723 (sendmail-query-once): Add an autoload cookie.
f0691d22 14724
1f2b92cb
LMI
14725 * net/network-stream.el (network-stream-open-starttls): Try using
14726 a plain connection even if the server offered STARTTLS, and we
14727 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14728 capability. This should make smtpmail.el work in slightly more
14729 configurations.
14730
1cdd2a1b
MA
147312011-07-06 Michael Albinus <michael.albinus@gmx.de>
14732
14733 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14734 New defun.
14735 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14736
fbcc67e2
MM
147372011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14738
14739 * progmodes/sql.el: Version 3.0
0757af94 14740 (sql-product-alist): Add product :completion-object,
fbcc67e2 14741 :completion-column, and :statement attributes.
0757af94 14742 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14743 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14744 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14745 ansi keywords.
14746 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14747 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14748 (sql-oracle-show-reserved-words): New function for development.
14749 (sql-product-font-lock): Simplify for source code buffers.
14750 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14751 New functions.
14752 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14753 (sql-mode-map): Add statement movement functions.
14754 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14755 New variable.
fbcc67e2
MM
14756 (sql-statement-regexp, sql-beginning-of-statement)
14757 (sql-end-of-statement, sql-signum): New functions.
0757af94 14758 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14759 (sql-show-sqli-buffer): Bug fix.
14760 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14761 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14762 with sql-interactive-mode.
14763 (sql-save-connection): Save buffer local settings.
0757af94 14764 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14765 (sql-product-interactive): Bug fix.
14766 (sql-preoutput-hold): New variable.
14767 (sql-interactive-remove-continuation-prompt): Bug fixes.
14768 (sql-debug-redirect): New variable.
14769 (sql-str-literal): New function.
14770 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14771 Redesign.
fbcc67e2
MM
14772 (sql-oracle-save-settings, sql-oracle-restore-settings)
14773 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14774 (sql-completion-object, sql-completion-column)
14775 (sql-completion-sqlbuf): New variables.
14776 (sql-build-completions-1, sql-build-completions)
14777 (sql-try-completion): New functions.
14778 (sql-read-table-name): Use them.
14779 (sql-contains-names): New buffer local variable.
14780 (sql-list-all, sql-list-table): Use it.
14781 (sql-oracle-completion-types): New variable.
14782 (sql-oracle-completion-object, sql-sqlite-completion-object)
14783 (sql-postgres-completion-object): New functions.
14784
d4eaeab1
GM
147852011-07-06 Glenn Morris <rgm@gnu.org>
14786
14787 * window.el (pop-to-buffer): Doc fix.
14788
322b7dab 147892011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14790
14791 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14792
322b7dab 147932011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14794
322b7dab 14795 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14796
322b7dab 14797 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14798
605dd5bf
CY
147992011-07-05 Chong Yidong <cyd@stupidchicken.com>
14800
14801 * button.el (button): Inherit from link face. Suggested by Dan
14802 Nicolaescu.
14803
7dbfa719
SM
148042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14805
3db614b0
SM
14806 * progmodes/gdb-mi.el: Fit in 80 columns.
14807 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14808 switch-to-buffer.
14809
7dbfa719
SM
14810 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14811 if imenu is simply not configured (bug#8941).
14812
919d884a
KM
148132011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14814
14815 * allout.el (allout-post-undo-hook): New allout outline-change
14816 event hook to signal undo activity.
14817 (allout-post-command-business): Run allout-post-undo-hook if an
14818 undo just occurred.
7dbfa719
SM
14819 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14820 * allout-widgets.el (allout-widgets-after-undo-function):
14821 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14822 in the vicinity of an undo.
14823 (allout-widgets-mode): Include allout-widgets-after-undo-function
14824 on the new allout-post-undo-hook.
14825
450a0f09
SM
148262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14827
14828 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14829 Let define-derived-mode define it.
14830 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14831 cycles of abbrev-table inheritance (bug#8998).
14832
2de69e00
RW
148332011-07-05 Roland Winkler <winkler@gnu.org>
14834
14835 * textmodes/bibtex.el: Add support for biblatex.
14836 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14837 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14838 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14839 (bibtex-entry-alist, bibtex-field-alist): New variables.
14840 (bibtex-entry-field-alist): Obsolete alias for
14841 bibtex-BibTeX-entry-alist.
14842 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14843 (bibtex-set-dialect): New command.
14844 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14845 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14846 Bind via bibtex-set-dialect.
2de69e00
RW
14847 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14848 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14849 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14850 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14851 Define via bibtex-set-dialect.
450a0f09
SM
14852 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14853 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14854 (bibtex-vec-push, bibtex-vec-incr): New functions.
14855 (bibtex-format-entry, bibtex-field-list)
14856 (bibtex-print-help-message, bibtex-validate)
14857 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14858
2dcdbdd9
SM
148592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * progmodes/compile.el (compilation-goto-locus):
14862 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14863 * bs.el (bs-cycle-next, bs-cycle-previous):
14864 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14865 * bindings.el (mode-line-other-buffer):
14866 * autoinsert.el (auto-insert):
14867 * arc-mode.el (archive-extract):
14868 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14869
b27640fe
JB
148702011-07-05 Juanma Barranquero <lekktu@gmail.com>
14871
14872 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14873 Fix check of `emacs-lock-unlockable-modes'.
14874 Coerce true values of `emacs-lock--try-unlocking' to t.
14875
53bbe3ad
JB
148762011-07-05 Juanma Barranquero <lekktu@gmail.com>
14877
14878 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14879 * emacs-lock.el: New file.
14880
1d3cdbc7
JD
148812011-07-05 Julien Danjou <julien@danjou.info>
14882
14883 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14884 than `boundp' to check if face is set.
14885
9173deec
JB
148862011-07-05 Juanma Barranquero <lekktu@gmail.com>
14887
14888 * register.el (registerv-make):
14889 * window.el (window-min-height): Fix typos in docstrings.
14890
869795d6
JD
148912011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14892
9173deec 14893 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14894 Update doc string.
14895
b768cdcd
JB
148962011-07-04 Juanma Barranquero <lekktu@gmail.com>
14897
14898 * server.el (server-execute): Catch quit and call
14899 `server-return-error' to pass the error back to emacsclient and
14900 close the connection (bug#8942).
14901
13aa217b
KM
149022011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14903
14904 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14905 insecure exception for current topic. Also note that auto-saves
14906 are handled differently.
14907
5d3385a0 14908 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14909 State variables for tracking auto-save inhibition situation.
14910
14911 (allout-write-contents-hook-handler): Rename from
14912 'allout-write-file-hook-handler', and describe how it depends on
14913 write-contents-functions sensitivity to non-nil value to prevent
14914 file write.
14915
14916 (allout-auto-save-hook-handler): Remove. auto-save does not check
14917 this in individual buffers, only in the starting buffer, so this
14918 is not the right way for us to inhibit auto-save in a buffer
14919 according to its condition.
14920
14921 (allout-mode): Use new allout-write-contents-hook-handler, and
14922 only with write-contents-functions. Remove auto-save provisions -
14923 they're implemented elsewhere.
14924
14925 (allout-before-change-handler): If undo is in progress, note that
14926 for attention of allout-post-command-business.
14927
14928 (allout-post-command-business): If the command we're following was
14929 an undo, check for change in the status of encrypted items and
14930 adjust auto-save inhibitions accordingly.
14931
14932 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14933 according to whether there are or aren't any plain-text topics
14934 pending encryption.
14935
2dcdbdd9 14936 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14937 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14938 if there are plain-text topics pending encryption.
13aa217b
KM
14939
14940 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14941 buffer-saved-size and some allout state to not inhibit auto-saves
14942 if there are no longer any plain-text topics pending encryption.
14943
0757af94
SM
14944 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14945 No longer provide for exemption of the current topic.
13aa217b 14946
ac89b32c
JL
149472011-07-04 Juri Linkov <juri@jurta.org>
14948
14949 Add 7z operations to delete and save changed members (bug#8968).
14950 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14951 New defcustoms.
14952 (archive-7z-write-file-member): New function.
14953 (archive-7z-summarize): Fix the number of dashes in the
14954 listing output.
14955
8fa39615
SM
149562011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14957
14958 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14959 (bug#8958).
14960
2f11b3f1
CY
149612011-07-04 Chong Yidong <cyd@stupidchicken.com>
14962
d66fef2b
CY
14963 * bindings.el: Ignore next-buffer and previous-buffer in
14964 minibuffer-local-map.
14965
2f11b3f1
CY
14966 * font-lock.el (font-lock-builtin-face): Change light background
14967 color to dark slate blue (Bug#6693).
14968
f932a347
WD
149692011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14970
14971 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14972
c8af70e1
SM
149732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14974
14975 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14976 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14977 Add switch-to-buffer.
14978
f158badc
LMI
149792011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14980
14981 * isearch.el (isearch-search-fun-function): Clarify further the
14982 meaning of the function returned.
14983
6d95bd46
MA
149842011-07-04 Michael Albinus <michael.albinus@gmx.de>
14985
14986 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14987
14988 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14989 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14990 Use it.
14991 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14992 `tramp-default-remote-path' does not exist.
14993 (tramp-send-command-and-read): New optional argument NOERROR.
14994 (tramp-open-connection-setup-interactive-shell)
14995 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14996 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14997 (tramp-process-sentinel): Flush also process' connection property.
14998 (tramp-sh-handle-start-file-process): Do not set process
14999 sentinel. It is done now ...
15000 (tramp-maybe-open-connection): ... here. (Bug#8929)
15001
909e6b67
MK
150022011-07-04 MON KEY <monkey@sandpframing.com>
15003
15004 * play/animate.el (animate-string): Doc fixes and allow changing
15005 the buffer name (bug#5417).
15006
150072011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15008
c8af70e1 15009 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15010
f34755dc
PE
150112011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15012
396cec72
PE
15013 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15014 This is simpler and helps future-proof the code.
15015 (timer-until): Use time-subtract and float-time.
08235028 15016 (timer--time-less-p): Use time-less-p.
f34755dc 15017
56e6cc31
JB
150182011-07-04 Juanma Barranquero <lekktu@gmail.com>
15019
3abb79e5
JB
15020 * type-break.el (timep): Use the value of `float-time' to avoid a
15021 byte-compiler warning.
15022
56e6cc31
JB
15023 * server.el (server-eval-and-print): Return any result, even nil.
15024
7b9430b4
PE
150252011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15026
15027 * type-break.el: Accept time formats that the builtins accept.
15028 (timep, type-break-time-difference): Accept any format that
15029 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15030 This is simpler and helps future-proof the code.
15031 (type-break-time-difference): Round rather than ignoring
15032 subseconds components.
15033
3034e9e7
LMI
150342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15035
15036 * info.el (Info-apropos-matches): Make non-interactive, since it
15037 doesn't seem to do anything useful as a command (bug#8829).
15038
1485f4c0
CY
150392011-07-03 Chong Yidong <cyd@stupidchicken.com>
15040
15041 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15042 Move from faces.el.
1485f4c0
CY
15043 (frame-default-terminal-background): New function.
15044
15045 * custom.el (custom-push-theme): Don't record faces in `changed'
15046 theme; this doesn't work correctly for per-frame face settings.
15047 (disable-theme): Use face-set-after-frame-default to reset faces.
15048 (custom--frame-color-default): New function.
15049
9fa3dd45
LMI
150502011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15051
c8af70e1 15052 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15053 (bug#8769).
15054
6cbbc20c
KR
150552011-03-29 Kevin Ryde <user42@zip.com.au>
15056
15057 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15058 `perl-Test2' extend to match possible "fail #N" rep count
15059 (bug#8377).
15060
c7f98048
LMI
150612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15062
65676592
LMI
15063 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15064 `smtpmail-via-smtp' now returns the error instead of nil.
15065
c7f98048
LMI
15066 * isearch.el (isearch-search-fun-function): Clarify the doc string
15067 (bug#8101).
15068
56e6cc31 150692011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15070
15071 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15072 unnecessary spaces (bug#8987).
15073
2b216704
LMI
150742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15075
15076 * net/network-stream.el (open-network-stream): Use the
15077 :end-of-capability command thoughout.
15078
150792011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15080
15081 * net/network-stream.el (open-network-stream): Add the
15082 :end-of-capability command parameter, used by pop3.el.
15083
36adf6ce
LMI
150842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15085
1ca0da0e
LMI
15086 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15087
fc00f69c
LMI
15088 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15089 for list)" (bug#6475).
15090
28fd8759 15091 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15092 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15093 an error (bug#6297).
15094
0dd8b6da
LMI
15095 * man.el (Man-reference-regexp): Allow matching possible
15096 word-wrapped references (bug#6289).
15097
ce1438d6
LMI
15098 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15099 for consistency with the other vc buffers (bug#6197).
15100 (vc-checkin): Ditto.
15101
15102 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15103
36adf6ce
LMI
15104 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15105
e83cc1f7
LMI
151062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15107
8a20ca4c
LMI
15108 * custom.el (defcustom): Clarify that :set is only used in the
15109 Customize user interface (bug#6089).
15110
83319045
LMI
15111 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15112 associated with a file, refuse to run instead of erroring out
15113 (bug#6084).
15114
a8392169
LMI
15115 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15116 the doc string, since it appears that using `fill-column' always
15117 controls the width (bug#7845).
15118
e83cc1f7
LMI
15119 * simple.el (shell-command-on-region): Say where the error output
15120 went if `shell-command-default-error-buffer' is set (bug#6857).
15121
e47ca23b
KM
151222011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15123
15124 * allout.el (allout-yank-processing): Adjust cursor position for
15125 backwards-deleted space.
15126
15127 (allout-rebullet-heading): Register changes with
15128 allout-exposure-changed-hook, so the modified topic is properly
15129 decorated.
15130
5cf56143
LMI
151312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15132
08549772
LMI
15133 * minibuffer.el (completion-in-region): Document PREDICATE
15134 (bug#7136).
15135
48e96771
LMI
15136 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15137 of keyword/argument pairs (bug#6904).
15138
c8af70e1
SM
15139 * replace.el (multi-occur):
15140 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15141
e17d05e2
LMI
151422011-07-02 Drew Adams <drew.adams@oracle.com>
15143
15144 * dired.el (dired-mark-if): Make the message about whether it's
15145 marking or unmarking clearer (bug#8523).
15146
063b0e45
LMI
151472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15148
15149 * disp-table.el (display-table-print-array): New function.
15150 (describe-display-table): Use it to print the vectors more pretty
15151 (Bug#8859).
15152
28545e04
MR
151532011-07-02 Martin Rudalics <rudalics@gmx.at>
15154
15155 * window.el (window-state-get-1): Don't assign clone numbers.
15156 Add clone-of item to list of window parameters.
15157 (window-state-put-2): Don't process clone numbers.
15158 (display-buffer-alist): Fix doc-string.
15159
3349e122
SM
151602011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15161
15162 * subr.el (remq): Don't allocate if it's not needed.
15163 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15164 (keymap--merge-bindings): New functions.
15165 (keymap-canonicalize): Use them to refine the canonicalization.
15166 * minibuffer.el (minibuffer-local-completion-map)
15167 (minibuffer-local-must-match-map): Move initialization from C.
15168 (minibuffer-local-filename-completion-map): Move initialization from C;
15169 don't inherit from anything here.
15170 (minibuffer-local-filename-must-match-map): Make obsolete.
15171 (completing-read-default): Use make-composed-keymap to combine
15172 minibuffer-local-filename-completion-map with either
15173 minibuffer-local-must-match-map or
15174 minibuffer-local-filename-completion-map.
15175
d224ac83
GM
151762011-07-01 Glenn Morris <rgm@gnu.org>
15177
3de63bf8
GM
15178 * type-break.el (type-break-time-sum): Use dolist.
15179
d224ac83
GM
15180 * textmodes/flyspell.el (flyspell-word-search-backward):
15181 Replace CL function.
15182
1a1e3f32
SM
151832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15184
fe3f64d5
SM
15185 * mouse.el (mouse--strip-first-event): New function.
15186 (function-key-map): Use it to map fringe clicks to normal clicks
15187 by default.
15188
eb604e34
SM
15189 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15190 (vc-bzr-revision-completion-table): Add support for annotate and date.
15191
1a1e3f32
SM
15192 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15193 inherit from parent.
15194
5bd35902
LMI
151952011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15196
ace6c69c 15197 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15198 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15199
191e2bed
LMI
15200 * dired.el (dired-mode): Fix up the doc string as suggested by
15201 Drew Adams (bug#8817).
15202
5bd35902
LMI
15203 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15204 cookie, since the manual says that it should be possible to add
15205 this function to `find-file-hook' (bug#8709).
15206
eee8207a
TZ
152072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15208
15209 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15210 here. Noted Ted Zlatanov as the maintainer.
15211 (cfengine-common-settings, cfengine-common-syntax): New functions
15212 to set up common things between `cfengine-mode' and
15213 `cfengine3-mode'.
15214 (cfengine3-mode): New mode.
15215 (cfengine3-defuns cfengine3-defuns-regex
15216 (cfengine3-class-selector-regex cfengine3-category-regex)
15217 (cfengine3-vartypes cfengine3-font-lock-keywords)
15218 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15219 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15220
36b148cf
MA
152212011-07-01 Michael Albinus <michael.albinus@gmx.de>
15222
15223 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15224
15225 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15226
0bf4ba9a
MR
152272011-07-01 Martin Rudalics <rudalics@gmx.at>
15228
15229 * window.el (same-window-buffer-names, same-window-regexps)
15230 (same-window-p, special-display-frame-alist)
15231 (special-display-popup-frame, special-display-function)
15232 (special-display-buffer-names, special-display-regexps)
15233 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15234 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15235 (split-window-preferred-function, split-height-threshold)
15236 (split-width-threshold, even-window-heights)
15237 (display-buffer-mark-dedicated, window-splittable-p)
15238 (split-window-sensibly, window-safely-shrinkable-p):
15239 Un-obsolete.
15240 (display-buffer): Don't spread args with function specifier
15241 because special-display-popup-frame won't like it.
15242
35837f51
PE
152432011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15244
d0672f86
PE
15245 Time-stamp simplifications and fixes.
15246 These improve accuracy slightly, and future-proof the code
15247 against some potential changes to current-time format.
15248
b9444d97
PE
15249 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15250 by using time-since and float-time.
15251
0ef923dc
PE
15252 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15253 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15254 + NNN microseconds".
15255
2f81380d
PE
15256 * type-break.el (type-break-time-sum): Rewrite using time-add.
15257
845b5c3e
PE
15258 * play/hanoi.el (hanoi-current-time-float): Remove.
15259 All uses replaced by float-time.
15260
ee6f1be0
PE
15261 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15262 This yields a more-accurate answer.
15263 (rng-time-to-float): Remove; no longer needed.
15264
fe955043
PE
15265 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15266
5777162a
PE
15267 * calendar/timeclock.el (timeclock-seconds-to-time):
15268 Defalias to seconds-to-time, since they're the same thing.
15269
3103f8b6 15270 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15271 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15272 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15273
0e61a35f
SM
152742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15275
15276 * window.el (bury-buffer): Don't iconify the only frame.
15277 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15278 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15279
ddd63a1e
CY
152802011-07-01 Chong Yidong <cyd@stupidchicken.com>
15281
0e61a35f
SM
15282 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15283 Add mouse-yank-primary.
ddd63a1e 15284
055f4923
TZ
152852011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15286
15287 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15288
6a2fb145
SM
152892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15292 (find-library-name): Use it to find relative load names when provided
15293 absolute file name (bug#8803).
15294
fd4983f2
LMI
152952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15296
887d14ad
LMI
15297 * textmodes/flyspell.el (flyspell-word): Consider words that
15298 differ only in case as potential doublons (bug#5687).
15299
c53dc7fc
LMI
15300 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15301 Remove two rather uninteresting debugging-like messages to make
15302 debbugs.el more silent.
15303
fd4983f2
LMI
15304 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15305 a password-like phrase.
15306
7a71b18d 153072011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15308
15309 * progmodes/cc-guess.el: New file.
15310
6a2fb145 15311 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15312
15313 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15314 derived from `c-basic-common-init'.
15315
15316 * progmodes/cc-mode.el (top-level): Require cc-guess.
15317 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15318
1fa280a3
LM
153192011-06-30 Lawrence Mitchell <wence@gmx.li>
15320
15321 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15322
e6597158
AM
153232011-06-30 Alan Mackenzie <acm@muc.de>
15324
1fa280a3
LM
15325 * progmodes/cc-engine.el (c-guess-continued-construct):
15326 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15327 lock is disabled. Name this case as "CASE G".
15328
68ba37fb
KM
153292011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15330
15331 * allout.el (allout-yank-processing): Fix injection of extra space
15332 between bullet and non-whitespace character in first topic when
15333 pasting, ensuring that the actual spacing in the pasted topic
15334 following the bullet char is preserved. This extra space was
15335 causing pasted encrypted topics to get a decrypted status even
15336 when the content was actually still encrypted. Now the decryption
15337 status from before the paste is preserved.
15338
15339 (allout-flag-region): Set all allout overlays so they evaporate
15340 when reduced to zero length (evanescent), to prevent overlay
15341 leakage.
15342
887a0b34
GM
153432011-06-30 Glenn Morris <rgm@gnu.org>
15344
94b9acce
GM
15345 * w32-fns.el (w32-charset-info-alist): Declare.
15346
1d9b46d4
GM
15347 * find-dired.el (find-grep-options): Simplify.
15348
cc232200
GM
15349 * term/ns-win.el (ns-set-resource): Declare.
15350
28e77c46
GM
15351 * ses.el (row, col): Declare dynamic variables honestly.
15352
887a0b34
GM
15353 * textmodes/reftex-parse.el (index-tags): Declare.
15354
658d8eb8
CY
153552011-06-30 Chong Yidong <cyd@stupidchicken.com>
15356
15357 * cus-edit.el (customize-push-and-save): New function.
15358
15359 * files.el (hack-local-variables-confirm): Use it.
15360
1fa280a3
LM
15361 * custom.el (load-theme): New arg NO-CONFIRM.
15362 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15363 (custom-enabled-themes): Doc fix.
15364
15365 * cus-theme.el (customize-create-theme)
15366 (custom-theme-merge-theme): Callers to load-theme changed.
15367
bb617717
LMI
153682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15369
d61bdd5d
LMI
15370 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15371 short URLs have at least one dot in them (bug #7614).
15372
bb617717
LMI
15373 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15374 nil, because using a pty is apparently too slow (bug #895).
15375
2f31f37a
LMI
153762011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15377
15378 * mail/sendmail.el (sendmail-query-once): New function.
15379 (sendmail-query-once-function): New variable.
15380
3076b24e
GM
153812011-06-29 Glenn Morris <rgm@gnu.org>
15382
faf2a174
GM
15383 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15384
3076b24e
GM
15385 * ses.el (top-level): Require cl when compiling.
15386 (ses-set-localvars): Fix error statement.
15387 Call it at compile time to silence a storm of warnings.
15388
5386012d
MR
153892011-06-29 Martin Rudalics <rudalics@gmx.at>
15390
15391 * window.el (normalize-live-buffer): Rename to
15392 window-normalize-buffer.
15393 (normalize-live-frame): Rename to window-normalize-frame.
15394 (normalize-any-window): Rename to window-normalize-any-window.
15395 (normalize-live-window): Rename to window-normalize-live-window.
15396 (make-window-atom): Rename to window-make-atom.
15397 (window-resize-reset): Rename to window--resize-reset.
15398 (window-resize-reset-1): Rename to window--resize-reset-1.
15399 (resize-mini-window): Rename to window--resize-mini-window.
15400 (resize-subwindows-skip-p): Rename to
15401 window--resize-subwindows-skip-p.
15402 (resize-subwindows-normal): Rename to
15403 window--resize-subwindows-normal.
15404 (resize-subwindows): Rename to window--resize-subwindows.
15405 (resize-other-windows): Rename to window--resize-siblings.
15406 (resize-this-window): Rename to window--resize-this-window.
15407 (resize-root-window): Rename to window--resize-root-window.
15408 (resize-root-window-vertically): Rename to
15409 window--resize-root-window-vertically.
15410 (normalize-buffer-to-display): Rename to
15411 window-normalize-buffer-to-display.
15412 (normalize-buffer-to-switch-to): Rename to
15413 window-normalize-buffer-to-switch-to.
15414 Correspondingly update all callers of the functions listed
15415 above.
15416 (display-buffer-alist, display-buffer-normalize-arguments)
15417 (display-buffer-normalize-options, display-buffer)
15418 (display-buffer-alist-set): Use "function" instead of
15419 "fun-with-args".
15420
1176868d
CY
154212011-06-28 Chong Yidong <cyd@stupidchicken.com>
15422
15423 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15424 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15425 debbugs.gnu.org. Mention acknowledgment email.
15426
20a7a65f
LMI
154272011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15428
15429 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15430 buffer multibyteness, since it shouldn't matter.
15431
5f45cca5
MR
154322011-06-28 Martin Rudalics <rudalics@gmx.at>
15433
15434 * window.el (display-buffer-in-side-window): Handle dedicated
15435 windows as in display-buffer-reuse-window.
15436 (display-buffer-normalize-alist): Use value of override
15437 specifier.
15438 (display-buffer-normalize-specifiers): Use value of
15439 other-window-means-other-frame specifier.
15440 (display-buffer-alist): Rewrite some texts in widgets.
15441 (display-buffer): Spread arguments when calling function
15442 specified by fun-with-args.
15443
ad85fe1f
DD
154442011-06-28 Deniz Dogan <deniz@dogan.se>
15445
1fa280a3
LM
15446 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15447 Unnest `let'.
da68c4c8 15448
ad85fe1f
DD
15449 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15450 selectors (Bug#5732).
ec49bd31 15451 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15452
a08cc025
JA
154532011-06-27 Jari Aalto <jari.aalto@cante.net>
15454
15455 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15456 (eshell-ls-date-format): New defcustom.
15457 (eshell-ls-file): Use it.
15458
e2b551c5
SM
154592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15460
15461 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15462
8982b231
KY
154632011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15464
15465 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15466 (ange-ftp-make-tmp-name): New arg.
15467 (ange-ftp-file-local-copy): Use it.
15468
36c9fa27
J
154692011-06-27 Jambunathan K <kjambunathan@gmail.com>
15470
15471 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15472 no-conversion (Bug#8870).
15473
d68443dc
MR
154742011-06-27 Martin Rudalics <rudalics@gmx.at>
15475
15476 * window.el (window-right, window-left, window-child)
15477 (window-child-count, window-last-child)
15478 (window-iso-combination-p, walk-window-tree-1)
15479 (window-atom-check-1, window-tree-1, delete-window)
15480 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15481 new naming conventions - window-vchild, window-hchild,
15482 window-next and window-prev are now called window-top-child,
15483 window-left-child, window-next-sibling and window-prev-sibling
15484 respectively.
d615d6d2
MR
15485 (resize-window-reset): Rename to window-resize-reset.
15486 (resize-window-reset-1): Rename to window-resize-reset-1.
15487 (resize-window): Rename to window-resize.
15488 (window-min-height, window-min-width)
15489 (resize-mini-window, resize-this-window, resize-root-window)
15490 (resize-root-window-vertically, adjust-window-trailing-edge)
15491 (enlarge-window, shrink-window, maximize-window)
15492 (minimize-window, delete-window, quit-restore-window)
15493 (split-window, balance-windows, balance-windows-area-adjust)
15494 (balance-windows-area, window-state-put-2)
15495 (display-buffer-even-window-sizes, display-buffer-set-height)
15496 (display-buffer-set-width, set-window-text-height)
15497 (fit-window-to-buffer): Rename all "resize-window" prefixed
15498 calls to use the "window-resize" prefix convention.
15499 (display-buffer-alist): Fix symbol for label specifier.
15500 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15501 corresponding specifier.
15502 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15503
b6458526
VB
155042011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15505
15506 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15507 convention.
15508 (ses-call-printer): Does not pass an empty string to formatter when the
15509 cell is empty to keep from barking printer Calc math-format-value.
15510
d31fd9ac
RS
155112011-06-27 Richard Stallman <rms@gnu.org>
15512
43d5bf84
RS
15513 * battery.el (battery-mode-line-limit): New variable.
15514 (battery-update): Handle it.
15515
d31fd9ac
RS
15516 * mail/rmailmm.el (rmail-mime-process-multipart):
15517 Handle truncated messages.
15518
819a6054
GM
155192011-06-27 Glenn Morris <rgm@gnu.org>
15520
15521 * progmodes/flymake.el (flymake-err-line-patterns):
15522 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15523
cedc73f2
VB
155242011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15525
819a6054 15526 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15527 (ses--clean-!, ses--clean-_): New functions.
15528 (ses-range): Add configurability of readout order, and conversion
15529 to Calc vector.
15530
5e5d49b6
VB
15531 * ses.el (ses-repair-cell-reference-all): New function.
15532 (ses-cell-symbol): Set macro as safe, so that it can be used in
15533 formulas.
15534
56e6cc31 15535 * ses.el: Update cycle detection algorithm.
90ca8b49 15536 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15537 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15538 (ses-set-localvars): New function.
15539 (ses-make-cell): Add property-list as a cell element.
15540 (ses-cell-property-get-fun, ses-cell-property-get)
15541 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15542 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15543 New functions.
90ca8b49
VB
15544 (ses-cell-property-set, ses-cell-property-pop)
15545 (ses-cell-property-get-handle): New macro.
15546 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15547 New aliases, used for code readability.
15548 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15549 cycle detection.
15550 (ses-self-reference-early-detection): New defcustom.
fac916bf 15551 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15552 (ses-mode): Use ses-set-localvars.
15553 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15554 before lauching the update processing.
15555 (ses-initialize-Dijkstra-attempt): New function.
15556 (ses-recalculate-cell): Update for cycle detection based on
15557 Dijkstra algorithm.
15558
2bb63e81
VB
15559 * ses.el: Fix commenting and indenting convention.
15560
c9d29fb8
SM
155612011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * bs.el (bs-cycle-next): Complete last change.
15564
d8e4b68b
JB
155652011-06-27 Drew Adams <drew.adams@oracle.com>
15566
15567 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15568
40098786
LMI
155692011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15570
c9d29fb8
SM
15571 * net/network-stream.el (network-stream-open-starttls):
15572 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15573 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15574
40098786
LMI
15575 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15576 to binary to possibly avoid line encoding issues on Windows (among
15577 other things).
15578
468d09d4
LMI
155792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15580
15581 * net/network-stream.el (open-network-stream): Return an :error
15582 saying what the problem was, if possible.
15583
15584 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15585 server.
15586
15587 * net/network-stream.el (network-stream-open-starttls): If we
15588 wanted to use STARTTLS, and the server offered it, but we weren't
15589 able to because we had no STARTTLS support, then close the connection.
15590 (open-network-stream): Return an :error element, if present.
15591
16f07dd7
CY
155922011-06-26 Chong Yidong <cyd@stupidchicken.com>
15593
88821ca0
CY
15594 * hl-line.el (hl-line-sticky-flag): Doc fix.
15595 (global-hl-line-sticky-flag): New option (Bug#8323).
15596 (global-hl-line-highlight): Obey it.
15597
16f07dd7
CY
15598 * vc/vc.el (vc-revert-show-diff): Default to t.
15599
6b5ccddf
KM
156002011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15601
c9d29fb8
SM
15602 * allout-widgets.el (allout-widgets-post-command-business):
15603 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15604 undecorated when an isearch is continued past, and isearch
15605 automatically collapses them. This leads to "widget leaks", where
15606 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15607 hidden widgets can slow down cursor travel, substantially.
15608 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15609 so we're doing without this nicety.
15610
15611 (allout-widgets-tally-string): Don't try to do a hash-table-count
15612 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15613 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15614 *Messages* when allout-widgets-maintain-tally is t.
15615
355f2e07
MR
156162011-06-26 Martin Rudalics <rudalics@gmx.at>
15617
15618 * window.el (display-buffer-normalize-argument): Rename to
15619 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15620 LABEL argument. Respect special-display-function when popping up
15621 a new frame. Fix code searching for a window showing the buffer
15622 on another frame.
c9d29fb8
SM
15623 (display-buffer-normalize-specifiers):
15624 Call display-buffer-normalize-arguments.
355f2e07
MR
15625 (display-buffer-in-window): Don't undedicate the window if its
15626 buffer remains the same.
15627 Reported by Drew Adams <drew.adams@oracle.com>.
15628 (display-buffer-alist): Add choice for same-window macro
15629 specfier.
15630 (display-buffer): Mention special meaning of LABEL argument in
15631 doc-string. Fix quoting. Don't pop up a new frame even as
15632 fallback.
15633
7ca8fc42
JB
156342011-06-26 Juanma Barranquero <lekktu@gmail.com>
15635
15636 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15637 avoid deleting the current window in some cases (bug#8911).
15638
bc312254
AS
156392011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15640
15641 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15642 (Bug#8934)
15643
2db18f3f
LMI
156442011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15645
c9d29fb8
SM
15646 * net/network-stream.el (network-stream-open-starttls):
15647 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15648 (network-stream-open-tls): Ditto.
15649
6302e0d3
LL
156502011-06-26 Leo Liu <sdl.web@gmail.com>
15651
15652 * register.el (registerv): New struct.
15653 (registerv-make): New function.
c9d29fb8
SM
15654 (jump-to-register, describe-register-1, insert-register):
15655 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15656 struct. (Bug#8415)
15657
5fdd4046
CY
156582011-06-26 Chong Yidong <cyd@stupidchicken.com>
15659
2afef60a
CY
15660 * vc/vc.el (vc-revert-show-diff): New defcustom.
15661 (vc-diff-internal): New arg specifying diff buffer.
15662 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15663 reuse an existing *vc-diff* buffer (Bug#8927).
15664
5fdd4046
CY
15665 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15666
e93db24a
GM
156672011-06-26 Glenn Morris <rgm@gnu.org>
15668
15669 * progmodes/f90.el (f90-critical-indent): New option.
15670 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15671 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15672 (f90-mode): Doc fix.
15673 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15674 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15675 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15676 (f90-match-end): Handle block, critical.
15677
eefff499
GM
156782011-06-25 Glenn Morris <rgm@gnu.org>
15679
f6ba4cc9
GM
15680 * calendar/diary-lib.el (diary-included-files): Doc fix.
15681 (diary-include-files): New function, extracted from
15682 diary-include-other-diary-files and diary-mark-included-diary-files.
15683 (diary-include-other-diary-files, diary-mark-included-diary-files):
15684 Just call diary-include-files.
15685 (diary-mark-entries): Reset diary-included-files on first call.
15686
16712304
GM
15687 * calendar/diary-lib.el (diary-mark-entries)
15688 (diary-mark-included-diary-files):
15689 Visit included diary-files in temp buffers.
15690
5d8e0d43
GM
15691 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15692 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15693 (f90-start-block-re, f90-imenu-generic-expression)
15694 (f90-looking-at-program-block-start, f90-no-block-limit):
15695 Add support for submodules.
15696
ccf7a5d5
GM
15697 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15698 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15699
11fdef7d 157002011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15701
15702 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15703 buffer-file-type before setting its value, to avoid disastrous
eefff499 15704 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15705
74f53697
JB
157062011-06-25 Juanma Barranquero <lekktu@gmail.com>
15707
15708 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15709
15710 * ses.el (ses-unload-function):
15711 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15712
15713 * proced.el (proced-unload-function):
15714 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15715
18a4ce5e
AR
157162011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15717
15718 * server.el (server-create-window-system-frame): Add parameters arg.
15719 (server-process-filter): Doc fix. Handle frame-parameters.
15720
519d22cc
JB
157212011-06-25 Juanma Barranquero <lekktu@gmail.com>
15722
15723 Fix bug#8730, bug#8781.
15724
15725 * loadhist.el (unload--set-major-mode): New function.
15726 (unload-feature): Use it.
15727
15728 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15729 (python-unload-function): New function.
15730
c206f5b0
SM
157312011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15732
15733 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15734
f9ad64f3
GS
157352011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15736
15737 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15738 the candidates list.
15739
7d0da90e
JB
157402011-06-24 Juanma Barranquero <lekktu@gmail.com>
15741
15742 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15743
14b4e83d
RS
157442011-06-23 Richard Stallman <rms@gnu.org>
15745
15746 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15747 (rmail-variables): Set next-error-move-function.
15748 (rmail-what-message): Take argument POS.
15749 (rmail-next-error-move): New function.
15750
273d2baf
SM
157512011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15752
15753 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15754 messages for adjacent non-terminals.
15755
56c2cc9a
RS
157562011-06-23 Richard Stallman <rms@gnu.org>
15757
15758 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15759 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15760 (rmail-start-mail): Don't specify use of rmail-mail-return;
15761 that's done by mail-bury now.
15762 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15763
d59eb518
MA
157642011-06-23 Michael Albinus <michael.albinus@gmx.de>
15765
15766 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15767 SIZE is a number.
15768
02cfc6d6
MR
157692011-06-23 Martin Rudalics <rudalics@gmx.at>
15770
15771 * window.el (get-lru-window, get-mru-window)
15772 (get-largest-window): Never return a minibuffer window.
15773 (display-buffer-pop-up-window): Fix a bug that could lead to
15774 reusing the minibuffer window.
15775 (display-buffer): Pass original specifier argument to
15776 display-buffer-function instead of the normalized one.
15777 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15778
4e323265
LL
157792011-06-22 Leo Liu <sdl.web@gmail.com>
15780
15781 * minibuffer.el (completing-read-function)
15782 (completing-read-default): Move from minibuf.c
15783
7a70468f
RS
157842011-06-22 Richard Stallman <rms@gnu.org>
15785
50718fc2
RS
15786 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15787 to Rmail even if not started by a special Rmail command.
15788
7a70468f
RS
15789 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15790 Copy the buffer currently showing just one message.
15791
297dde5a
RW
157922011-06-22 Roland Winkler <winkler@gnu.org>
15793
15794 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15795 (bibtex-clean-entry): First delete the old key so that a
15796 customized algorithm for generating the new key does not get
15797 confused by the old key.
15798 (bibtex-url): Obey regexp of first step.
15799 (bibtex-search-entries): Do not use add-to-list with local
15800 list-var.
15801
97bb1093
LMI
158022011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15803
15804 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15805 stored a user name, then query for the password first, instead of
15806 waiting for SMTP to give an error message and the trying again.
15807
1c0f1a19
JD
158082011-06-22 Lawrence Mitchell <wence@gmx.li>
15809
15810 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15811 BUFFER in call-process.
15812
396f7c9d
LMI
158132011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15814
15815 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15816 QUIT twice.
ddb7ffee
LMI
15817 (smtpmail-try-auth-methods): Require user name and password from
15818 auth-source.
396f7c9d 15819
8998d1b3
MR
158202011-06-22 Martin Rudalics <rudalics@gmx.at>
15821
15822 * window.el (display-buffer-default-specifiers)
15823 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15824 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15825 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15826
15827 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15828 (special-display-frame-alist, special-display-popup-frame):
15829 Remove duplicate declarations. These are now in window.el.
15830
4ea31e07
LMI
158312011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15832
c9d29fb8
SM
15833 * mail/smtpmail.el (smtpmail-via-smtp):
15834 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15835 server supports it. SMTP servers that support STARTTLS commonly
15836 require it.
15837
15838 * net/network-stream.el (network-stream-open-starttls): Support
15839 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15840 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15841
95f41d9a
LMI
15842 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15843 upgrades with `open-network-stream', and rely solely on
15844 auth-source for all credentials. Big changes throughout the file,
15845 but in particular:
c9d29fb8
SM
15846 (smtpmail-auth-credentials): Remove.
15847 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15848 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15849 MAIL FROM, too.
95f41d9a 15850
c9d29fb8
SM
15851 * net/network-stream.el (network-stream-open-starttls):
15852 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15853 STARTTLS.
15854 (auth-source): Require.
15855 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15856 (network-stream-certificate): Change cert-cert to cert and
15857 cert-key to key.
4ea31e07 15858
065ec2c7
MA
158592011-06-21 Michael Albinus <michael.albinus@gmx.de>
15860
15861 * net/tramp-cache.el (top): Don't load the persistency file when
15862 "emacs -Q" has been called.
15863
cd93b359
DR
158642011-06-21 Tim Harper <timcharper@gmail.com>
15865
d8e4b68b
JB
15866 * term/ns-win.el (ns-initialize-window-system):
15867 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15868 resource to NO as it is not yet supported by the NS port.
15869
ae9c0411
JB
158702011-06-21 Juanma Barranquero <lekktu@gmail.com>
15871
15872 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15873 (list-dynamic-libraries): ...not here.
15874
7f3f739f
LL
158752011-06-21 Leo Liu <sdl.web@gmail.com>
15876
15877 * subr.el (sha1): Implement sha1 using secure-hash.
15878
327c8fb1
MR
158792011-06-21 Martin Rudalics <rudalics@gmx.at>
15880
15881 * window.el (display-buffer-alist): In default value do not
15882 enforce searching a window on any but the selected frame.
15883 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15884 (display-buffer-select-window): Remove function.
15885 (display-buffer-in-window): When a window on another frame gets
15886 reused, do not select it any more but just raise its frame if
15887 necessary (Bug#8851) and (Bug#8856).
15888 (display-buffer-normalize-options): Handle pop-up-frames related
15889 options more faithfully.
15890 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15891 window if it is on another frame.
c9d29fb8
SM
15892 (display-buffer-alist, display-buffer-default-specifiers):
15893 Don't make new frame unsplittable by default.
9e9de014
MR
15894 (display-buffer-normalize-argument): Fix doc-string typo and use
15895 'same-frame-other-window instead of 'other-window when associating
15896 with display-buffer-macro-specifiers.
327c8fb1 15897
7cf3f556
VB
158982011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15899
15900 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15901 New functions.
15902 (5x5-mode-map, 5x5-mode-menu): Bind them.
15903 (5x5-draw-grid): Tweak the solver's rendering.
15904
60a406cf
SM
159052011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15906
15907 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15908 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15909
d8e4b68b 159102011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15911
15912 * menu-bar.el: Use function variable instead of switch-to-buffer.
15913 (menu-bar-select-buffer-function): New variable.
60a406cf 15914 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15915
478d6f95
SM
159162011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15919 variable's status.
15920
ca530739
JD
159212011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15922
15923 * x-dnd.el (x-dnd-version-from-flags)
15924 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15925 and long as number (Bug#8899).
15926 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15927
bcd70d97
SM
159282011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15929
60a406cf 15930 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15931 (completion-try-completion, completion-all-completions): Compute the
15932 metadata argument if it's missing; make it optional (bug#8795).
15933
60a406cf 15934 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15935 (widget-complete): Use new :completion-function property.
15936 (widget-completions-at-point): New function.
15937 (default): Use :completion-function instead of :complete.
60a406cf
SM
15938 (widget-default-completions): Rename from widget-default-complete;
15939 Rewrite.
bcd70d97
SM
15940 (widget-string-complete, widget-file-complete, widget-color-complete):
15941 Remove functions.
15942 (file, symbol, function, variable, coding-system, color):
15943 * international/mule-cmds.el (default-input-method, charset)
15944 (language-info-custom-alist):
15945 * cus-edit.el (face): Use new property :completions.
15946
15947 * progmodes/pascal.el (pascal-completions-at-point): New function.
15948 (pascal-mode): Use it.
15949 (pascal-mode-map): Use completion-at-point.
15950 (pascal-toggle-completions): Make obsolete.
15951 (pascal-complete-word, pascal-show-completions):
15952 * progmodes/octave-mod.el (octave-complete-symbol):
15953 Redefine as obsolete alias.
15954 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15955 Signal absence of completion info for old Octave,
15956 (inferior-octave-complete): Redefine as obsolete alias.
15957 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15958 (meta-completions-at-point): Rename from meta-complete-symbol and
15959 adapt it for use on completion-at-point-functions.
15960 (meta-common-mode): Use it.
15961 (meta-looking-at-backward, meta-match-buffer): Remove.
15962 (meta-complete-symbol): Redefine as obsolete alias.
15963 (meta-common-mode-map): Use completion-at-point.
15964 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15965 (makefile-mode-map): Use completion-at-point.
15966 (makefile-completions-at-point): Rename from makefile-complete and
15967 adapt it for use on completion-at-point-functions.
15968 (makefile-mode): Use it.
15969 (makefile-complete): Redefine as obsolete alias.
15970
aebf69c8
DD
159712011-06-20 Deniz Dogan <deniz@dogan.se>
15972
15973 * net/rcirc.el: Delete trailing whitespaces once and for all.
15974
bfbbb27d
DC
159752011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15976
15977 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15978
d264a46b
CY
159792011-06-19 Chong Yidong <cyd@stupidchicken.com>
15980
4ca009e5
CY
15981 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15982
d264a46b
CY
15983 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15984
fbf5b3ce
MR
159852011-06-19 Martin Rudalics <rudalics@gmx.at>
15986
15987 * window.el (display-buffer-other-window-means-other-frame):
15988 Call display-buffer-normalize-alist.
15989 (display-buffer-normalize-specifiers-1): Rename to
15990 display-buffer-normalize-argument. New argument other-frame.
15991 Rewrite.
15992 (display-buffer-normalize-specifiers-2): Rename to
15993 display-buffer-normalize-options.
15994 (display-buffer-normalize-alist-1): New function.
15995 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15996 display-buffer-normalize-alist.
15997 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15998 (display-buffer-normalize-options-inhibit): New variable.
15999 (display-buffer-normalize-specifiers): Rewrite calling
16000 display-buffer-normalize-alist,
16001 display-buffer-normalize-argument, and
16002 display-buffer-normalize-options. Don't call the latter if
16003 display-buffer-normalize-options-inhibit is non-nil.
16004 (frame-auto-delete): New option.
16005 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16006 (window-list-no-nils, window-state-ignored-parameters)
16007 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16008 (window-state-put-1, window-state-put-2, window-state-put):
16009 New functions.
9a028c23
MR
16010 (display-buffer-normalize-options): Move special-display-p group
16011 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16012
6d10d800
CY
160132011-06-18 Chong Yidong <cyd@stupidchicken.com>
16014
6420d28b
CY
16015 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16016 groups (Bug#8776).
16017 (rx-submatch-n): New function.
16018 (rx): Document it.
16019
ddb8b596
CY
16020 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16021 (Bug#8768).
16022
16023 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16024
77080289
CY
16025 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16026
61dfb316
CY
16027 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16028 anytime existing face settings are present (Bug#8889).
16029
6d10d800
CY
16030 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16031 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16032 Remove unused argument.
16033
be3fb2b8
MR
160342011-06-18 Martin Rudalics <rudalics@gmx.at>
16035
bcd70d97
SM
16036 * window.el (display-buffer-default-specifiers):
16037 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16038 pop-up-window-min-width, and another reuse-window specifier
16039 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16040 (display-buffer-normalize-specifiers-2):
16041 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16042 pop-up-windows is unset. Add a reuse-window specifier for the
16043 case popping up a new window fails.
16044 (special-display-popup-frame): Remove double quoting.
28dec25a 16045 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16046
1c6d8c76
SM
160472011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16048
16049 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16050 according to comint-completion-addsuffix.
16051
16052 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16053 (pcomplete-suffix-list): Mark as obsolete.
16054 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16055 pcomplete-seen in the closure.
16056 (pcomplete-comint-setup): Setup completion-at-point as well.
16057 (pcomplete--entries): New function.
16058 (pcomplete--env-regexp): New var.
16059 (pcomplete-entries): Rewrite to work with partial-completion and
16060 without relying on pcomplete-suffix-list.
16061 (pcomplete-pare-list): Remove, unused.
16062
25aef8b8
MR
160632011-06-17 Martin Rudalics <rudalics@gmx.at>
16064
16065 * window.el (display-buffer-alist): Set pop-up-window-min-height
16066 and pop-up-window-min-width in default value. Reported by
16067 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16068 other-window-means-other-frame.
16069 (display-buffer-macro-specifiers): Comment out entry for
16070 other-window specifier.
16071 (display-buffer-other-window-means-other-frame): New function.
16072 (display-buffer-normalize-specifiers-1): New arguments
16073 buffer-name and label. Treat other-window case specially.
16074 (display-buffer-normalize-specifiers-2): Treat other-window case
16075 specially.
16076 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16077 (display-buffer-normalize-specifiers):
16078 Call display-buffer-normalize-specifiers-3.
25aef8b8 16079
dbad4f69
MR
160802011-06-17 Martin Rudalics <rudalics@gmx.at>
16081
16082 * window.el (same-window-p): Fix two typos introduced when
16083 adding with-no-warnings.
d1067961
MR
16084 (display-buffer-normalize-specifiers-1): Don't check
16085 pop-up-frames for 'unset initialization.
16086 (display-buffer-normalize-specifiers-2): Major rewrite using
16087 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16088 (pop-up-frames, display-buffer-reuse-frames)
16089 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16090 Suggested by David Engster <deng@randomsample.de>.
16091 (even-window-heights): Initialize to 'unset.
16092 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16093 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16094 other window case.
dbad4f69 16095
9b9c9e3a
MR
160962011-06-16 Martin Rudalics <rudalics@gmx.at>
16097
bcd70d97
SM
16098 * window.el (display-buffer-normalize-specifiers-1):
16099 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16100 second argument of display-buffer (Bug#8865).
981d5c09
MR
16101 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16102 (switch-to-buffer-other-window-same-frame)
16103 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16104 Adams (Bug#8875).
9c2755e9
MR
16105 (display-buffer): Don't check noninteractive when calling
16106 display-buffer-pop-up-frame.
16107 (display-buffer-pop-up-frame): Never pop up a frame in
16108 noninteractive mode (Bug#8857).
67222e1d
MR
16109 (enlarge-window, shrink-window): Don't report an error when the
16110 window can't be resized as requested (Bug#8862).
9b9c9e3a 16111
2b75be67
SM
161122011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16113
9ffdd3ba
SM
16114 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16115
cb581a67
SM
16116 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16117
2b75be67
SM
16118 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16119
8c0e3589
AM
161202011-06-15 Alan Mackenzie <acm@muc.de>
16121
cb581a67
SM
16122 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16123 for declarators, disable knr checking to speed up for normal files.
16124 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16125
b96e6cde
LMI
161262011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16127
4bba86e6
LMI
16128 * net/network-stream.el (open-network-stream): Add the keyword
16129 :always-query-capabilities for the case where you want to force a
16130 `plain' network connection, but the protocol still requires the
16131 capabilitiy command (i.e., SMTP and EHLO).
16132
2b75be67 16133 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16134 consistency with other `-live-p' functions.
16135
efdcdbf8
SM
161362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16137
16138 * window.el (same-window-buffer-names, same-window-regexps)
16139 (special-display-frame-alist, special-display-popup-frame)
16140 (special-display-function, special-display-buffer-names)
16141 (special-display-regexps, pop-up-frame-alist)
16142 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16143 (pop-up-windows, split-window-preferred-function)
16144 (split-height-threshold, split-width-threshold, even-window-heights)
16145 (display-buffer-mark-dedicated): Don't encourage the use of
16146 display-buffer-alist from Elisp code.
16147
c5cde042
DN
161482011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16149
16150 * progmodes/python.el (python-mode): Derive from prog-mode.
16151 * progmodes/ps-mode.el (ps-mode):
16152 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16153 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16154 * progmodes/ld-script.el (ld-script-mode): Likewise.
16155
baa1c9ab
MR
161562011-06-15 Martin Rudalics <rudalics@gmx.at>
16157
16158 * window.el (display-buffer-alist): Trim default value to avoid
16159 popping up a new frame (Bug#8857) or reusing an arbitrary window
16160 on another frame.
16161 (display-buffer): Do not fall back on popping up a new frame in
16162 batch mode (Bug#8857).
16163
c5dd5a51
CY
161642011-06-14 Chong Yidong <cyd@stupidchicken.com>
16165
16166 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16167 (custom-theme-summary): New function.
16168 (customize-themes): Use it.
16169
d647b7c4
GM
161702011-06-13 Glenn Morris <rgm@gnu.org>
16171
16172 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16173
9481c002
MR
161742011-06-13 Martin Rudalics <rudalics@gmx.at>
16175
357f93d2
MR
16176 * help.el (help-window): Remove variable.
16177 (help-window-point-marker, temp-buffer-max-height)
16178 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16179 (help-print-return-message): Don't set help-window.
16180 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16181 (help-window-setup-finish): Remove.
16182 (help-window-display-message, help-window-setup)
16183 (with-help-window): Major rewrite based on new
16184 display-buffer-window variable.
16185
16186 * help-mode.el (help-mode-finish): Remove help-window related
16187 code.
16188
16189 * view.el (view-exits-all-viewing-windows): Remove reference to
16190 view-return-to-alist in doc-string.
16191 (view-return-to-alist): Make obsolete.
16192 (view-buffer): Call pop-to-buffer-same-window and remove
16193 undo-window code.
16194 (view-buffer-other-window): Call pop-to-buffer-other-window and
16195 simplify code. Ignore second argument.
16196 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16197 simplify code. Ignore second argument.
16198 (view-return-to-alist-update): Make obsolete.
16199 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16200 Rewrite using quit-restore window parameters.
2b75be67
SM
16201 (view-mode-exit): Rename second argument to EXIT-ONLY.
16202 Rewrite using quit-restore-window.
357f93d2
MR
16203 (View-exit, View-exit-and-edit, View-leave, View-quit)
16204 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16205 appropriate arguments.
16206 (view-end-message): Use quit-restore window parameter.
16207
9481c002
MR
16208 * window.el (display-buffer-function): Rewrite doc-string.
16209 (display-buffer-window, display-buffer-alist): New variables.
16210 (display-buffer-split-specifiers)
16211 (display-buffer-side-specifiers)
16212 (display-buffer-macro-specifiers): New constants.
16213 (display-buffer-even-window-sizes, display-buffer-set-height)
16214 (display-buffer-set-width, display-buffer-select-window)
16215 (display-buffer-in-window, display-buffer-reuse-window)
16216 (display-buffer-split-window-1, display-buffer-split-window)
16217 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16218 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16219 (display-buffer-in-side-window, normalize-buffer-to-display)
16220 (display-buffer-normalize-specifiers-1)
16221 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16222 (display-buffer-normalize-specifiers, display-buffer-frame):
16223 New functions.
9481c002
MR
16224 (display-buffer): Major rewrite.
16225 (display-buffer-other-window, display-buffer-other-frame)
16226 (pop-to-buffer, switch-to-buffer-other-window)
16227 (switch-to-buffer-other-frame): Rewrite.
16228 (display-buffer-same-window, display-buffer-same-frame)
16229 (display-buffer-same-frame-other-window)
16230 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16231 (pop-to-buffer-other-window)
16232 (pop-to-buffer-same-frame-other-window)
16233 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16234 (switch-to-buffer-other-window-same-frame): New functions.
16235 (same-window-p, special-display-p): Rewrite disabling warnings.
16236 Make obsolete.
16237 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16238 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16239 Make obsolete
16240 (same-window-buffer-names, same-window-regexps)
16241 (special-display-frame-alist, special-display-popup-frame)
16242 (special-display-function, special-display-buffer-names)
16243 (special-display-regexps, pop-up-frame-alist)
16244 (pop-up-frame-function, split-window-preferred-function)
16245 (split-height-threshold, split-width-threshold)
16246 (even-window-heights): Make obsolete.
16247
9db51aca
GM
162482011-06-12 Glenn Morris <rgm@gnu.org>
16249
16250 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16251 Misc simplifications.
9db51aca 16252
39cffb44
MR
162532011-06-12 Martin Rudalics <rudalics@gmx.at>
16254
16255 * window.el (window-safely-shrinkable-p): Restore function which
16256 was inadvertently removed in change from 2011-06-11. Declare as
16257 obsolete.
16258
2b75be67
SM
16259 * calendar/calendar.el (calendar-generate-window):
16260 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16261 window-safely-shrinkable-p.
16262
a8955be7
GM
162632011-06-12 Glenn Morris <rgm@gnu.org>
16264
16265 * progmodes/fortran.el (fortran-mode-syntax-table):
16266 * progmodes/f90.el (f90-mode-syntax-table):
16267 Set % to punctuation. (Bug#8820)
16268 (f90-find-tag-default): Remove, no longer needed.
16269
f0d4059d
DC
162702011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16271
16272 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16273
1100a63c
CY
162742011-06-11 Chong Yidong <cyd@stupidchicken.com>
16275
16276 * image.el (image-animated-p): Return animation delay in seconds.
16277 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16278 (image-animate-timeout): Remove DELAY argument. Don't assume
16279 every subimage has the same delay; get it from image-animated-p.
16280 (image-animate): Caller changed.
16281
def722bf
MA
162822011-06-11 Michael Albinus <michael.albinus@gmx.de>
16283
16284 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16285 to ignored backtrace functions.
16286
0a2bb1a9
GM
162872011-06-11 Glenn Morris <rgm@gnu.org>
16288
16289 * calendar/appt.el (appt-disp-window-function): Doc fix.
16290 (appt-check): Handle overlapping appointments. (Bug#8337)
16291
6198ccd0
MR
162922011-06-11 Martin Rudalics <rudalics@gmx.at>
16293
16294 * window.el (window-tree-1, window-tree): New functions, moving
16295 the latter to window.el.
16296 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16297 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16298 (bw-refresh-edges): Remove.
16299 (balance-windows-1, balance-windows-2): New functions.
16300 (balance-windows): Rewrite in terms of window tree functions,
16301 balance-windows-1 and balance-windows-2.
16302 (bw-adjust-window): Remove.
16303 (balance-windows-area-adjust): New function with functionality of
16304 bw-adjust-window but using resize-window.
2b75be67
SM
16305 (set-window-text-height): Rewrite doc-string.
16306 Use normalize-live-window and resize-window.
16307 (enlarge-window-horizontally, shrink-window-horizontally):
16308 Rename argument to DELTA.
6198ccd0
MR
16309 (window-buffer-height): New function.
16310 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16311 Rewrite using new window resize routines.
2b75be67
SM
16312 (kill-buffer-and-window, mouse-autoselect-window-select):
16313 Use ignore-errors instead of condition-case.
6198ccd0
MR
16314 (quit-window): Call delete-frame instead of delete-windows-on
16315 for the only buffer on frame.
16316
9397e56f
MR
163172011-06-10 Martin Rudalics <rudalics@gmx.at>
16318
16319 * loadup.el (top-level): Load window before files for the sake
16320 of replace-buffer-in-windows.
16321
16322 * files.el (read-buffer-to-switch)
16323 (switch-to-buffer-other-window)
2b75be67
SM
16324 (switch-to-buffer-other-frame, display-buffer-other-frame):
16325 Move to window.el.
9397e56f
MR
16326
16327 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16328 (previous-buffer): Move to window.el.
16329
16330 * bindings.el (unbury-buffer): Move to window.el.
16331
16332 * window.el (delete-other-windows-vertically): Move after
16333 definition of delete-other-windows.
16334 (other-window, delete-windows-on, replace-buffer-in-windows):
16335 Move here from window.c.
16336 (record-window-buffer, unrecord-window-buffer)
16337 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16338 (switch-to-next-buffer): New functions.
16339 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16340 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16341 (previous-buffer): Move here from simple.el.
16342 Call switch-to-prev-buffer.
9397e56f
MR
16343 (bury-buffer): Move here from buffer.c. Switch to previous
16344 buffer when window cannot be deleted.
16345 (unbury-buffer): Move here from bindings.el.
16346 (ctl-x-map): Move binding for other-window from window.c to
16347 here.
16348 (read-buffer-to-switch, switch-to-buffer-other-window)
16349 (switch-to-buffer-other-frame): Move here from files.el.
16350 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16351 (switch-to-buffer): Move here from buffer.c.
16352 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16353
562dd5e9
MR
163542011-06-10 Martin Rudalics <rudalics@gmx.at>
16355
16356 * window.el (window-min-height, window-min-width): Move here
16357 from window.c. Add defcustoms and rewrite doc-strings.
16358 (resize-mini-window, resize-window): New functions.
16359 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16360 Move here from window.c.
16361 (maximize-window, minimize-window): New functions.
16362 (delete-window, delete-other-windows, split-window): Move here
16363 from window.c.
16364 (window-split-min-size): New function.
16365 (split-window-keep-point): Mention split-window-above-each-other
16366 instead of split-window-vertically.
2b75be67 16367 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16368 Rename split-window-vertically to split-window-above-each-other
16369 and provide defalias for old definition.
16370 (split-window-side-by-side, split-window-horizontally):
16371 Rename split-window-horizontally to split-window-side-by-side
16372 and provide defalias for the old definition.
562dd5e9
MR
16373 (ctl-x-map): Move bindings for delete-window,
16374 delete-other-windows and enlarge-window here from window.c.
16375 Replace bindings for split-window-vertically and
16376 split-window-horizontally by bindings for
16377 split-window-above-each-other and split-window-side-by-side.
16378
16379 * cus-start.el (all): Remove entries for window-min-height and
16380 window-min-width. Add entries for window-splits and
16381 window-nest.
16382
f0da764a
GM
163832011-06-09 Glenn Morris <rgm@gnu.org>
16384
80675c21
GM
16385 * calendar/appt.el (appt-mode-line): New function.
16386 (appt-check, appt-disp-window): Use it.
16387
f0da764a
GM
16388 * files.el (hack-one-local-variable-eval-safep):
16389 Allow minor-modes with explicit +/-1 arguments.
16390
59f623b7
TZ
163912011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16392
16393 * term/xterm.el (xterm): Add defgroup.
16394 (xterm-extra-capabilities): Add defcustom to supply known xterm
16395 capabilities, skip querying them, or query them (default).
16396 (terminal-init-xterm): Use it.
16397 (terminal-init-xterm-modify-other-keys): New function to set up
16398 modifyOtherKeys support to simplify `terminal-init-xterm'.
16399
9aab8e0d
MR
164002011-06-09 Martin Rudalics <rudalics@gmx.at>
16401
16402 * window.el (resize-window-reset, resize-window-reset-1)
16403 (resize-subwindows-skip-p, resize-subwindows-normal)
16404 (resize-subwindows, resize-other-windows, resize-this-window)
16405 (resize-root-window, resize-root-window-vertically)
16406 (window-deletable-p, window-or-subwindow-p)
16407 (frame-root-window-p): New functions.
16408
e8b08aee
GM
164092011-06-09 Glenn Morris <rgm@gnu.org>
16410
16411 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16412 (ange-ftp-get-files): Use it.
16413
254c37a5
AK
164142011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16415
16416 * mail/sendmail.el (mail-recover-1, mail-recover):
16417 * files.el (recover-file, recover-session):
16418 Handle dired-listing-switches not being just a single short option.
16419
35d7dbd3
GM
164202011-06-09 Glenn Morris <rgm@gnu.org>
16421
16422 * calendar/appt.el (appt-display-message, appt-disp-window):
16423 Handle lists of appointments.
16424
387522b2
MR
164252011-06-08 Martin Rudalics <rudalics@gmx.at>
16426
2b75be67
SM
16427 * window.el (one-window-p): Move down in code.
16428 Rewrite doc-string.
16429 (window-current-scroll-bars): Rewrite doc-string.
16430 Normalize live window argument.
387522b2
MR
16431 (walk-windows, get-window-with-predicate, count-windows):
16432 Rewrite doc-string. Use window-list-1.
16433 (window-in-direction-2, window-in-direction, get-mru-window):
16434 New functions.
16435
d8e4b68b 164362011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16437
16438 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16439 Doc fix (Bug#8713).
16440
164412011-06-08 Chong Yidong <cyd@stupidchicken.com>
16442
16443 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16444
164452011-06-08 Juanma Barranquero <lekktu@gmail.com>
16446
16447 * loadhist.el (unload-feature-special-hooks):
16448 Add `comint-output-filter-functions'.
16449
0de12c52
IK
164502011-06-08 Ivan Kanis <gnu@kanis.fr>
16451
16452 * calendar/appt.el (appt-check): Move some initializations into the let.
16453
f3d1777e
MR
164542011-06-08 Martin Rudalics <rudalics@gmx.at>
16455
16456 * window.el (window-height): Defalias to window-total-height.
16457 (window-width): Defalias to window-body-width.
16458
18af70d0
CY
164592011-06-07 Chong Yidong <cyd@stupidchicken.com>
16460
16461 * image-mode.el (image-toggle-animation): New command.
16462 (image-mode-map): Bind it to RET.
16463 (image-mode): Update message.
16464 (image-toggle-display-image): Avoid a spurious cache flush.
16465 (image-transform-rotation): Doc fix.
16466 (image-transform-properties): Return quickly in the normal case.
16467 (image-animate-loop): Rename from image-animate-max-time.
16468
2b75be67 16469 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16470 (create-animated-image): Remove unnecessary function.
16471 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16472 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16473 (image-animate-timer): Use car-safe.
16474 (image-animate-timeout): Rename argument.
16475
190b47e6
MR
164762011-06-07 Martin Rudalics <rudalics@gmx.at>
16477
16478 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16479 window.c. Rename first argument to ALL-FRAMES.
16480 Rephrase doc-strings.
16481 (get-buffer-window-list): Rewrite using window-list-1.
16482 Rephrase doc-string.
a1511caf
MR
16483 (window-safe-min-height, window-safe-min-width): New constants.
16484 (window-size-ignore, window-min-size, window-min-size-1)
16485 (window-sizable, window-sizable-p, window-size-fixed-1)
16486 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16487 (window-max-delta-1, window-max-delta, window-resizable)
16488 (window-resizable-p, window-total-height, window-total-width)
16489 (window-body-width): New functions.
16490 (window-full-height-p, window-full-width-p): Rewrite using
16491 window-total-size.
16492 (window-body-height): Rewrite using window-body-size.
190b47e6 16493
85cc1f11
MR
164942011-06-06 Martin Rudalics <rudalics@gmx.at>
16495
16496 * window.el (window-right, window-left, window-child)
16497 (window-child-count, window-last-child, window-any-p)
16498 (normalize-live-buffer, normalize-live-frame)
16499 (normalize-any-window, normalize-live-window)
16500 (window-iso-combination-p, window-iso-combined-p)
16501 (window-iso-combinations)
16502 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16503 (windows-with-parameter, window-with-parameter)
16504 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16505 (window-atom-check, window-side-check, window-check):
16506 New functions.
85cc1f11
MR
16507 (ignore-window-parameters, window-sides, window-sides-vertical)
16508 (window-sides-slots): New variables.
16509 (window-size-fixed): Move down in code. Minor doc-string fix.
16510
e7156492
AS
165112011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16512
16513 * comint.el (comint-dynamic-complete-as-filename)
16514 (comint-dynamic-complete-filename): Correctly call
16515 completion-in-region.
16516
7e821d0d
DD
165172011-06-05 Deniz Dogan <deniz@dogan.se>
16518
16519 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16520 in last change.
16521
ac09b8a1
DD
165222011-06-05 Deniz Dogan <deniz@dogan.se>
16523
16524 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16525 (rcirc): Use it to prompt for encryption.
16526
34699b85
RW
165272011-06-05 Roland Winkler <winkler@gnu.org>
16528
16529 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16530 (bibtex-search-entries): New command bound to C-c C-a.
16531 (bibtex-display-entries): New function.
16532
004dedd3
RW
165332011-06-05 Roland Winkler <winkler@gnu.org>
16534
16535 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16536 (bibtex-insert-kill): After yanking insert newline if necessary.
16537 (bibtex-initialize): Call bibtex-string-files-init only once.
16538 (bibtex-mode): Do not call easy-menu-add.
16539 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16540 (bibtex-yank): Set arg properly if nil.
16541
022fe7ce
RW
165422011-06-05 Roland Winkler <winkler@gnu.org>
16543
2b75be67
SM
16544 * textmodes/bibtex.el (bibtex-search-entry-globally):
16545 New variable.
022fe7ce
RW
16546 (bibtex-search-entry): Use it.
16547
b7c3692a
RW
165482011-06-05 Roland Winkler <winkler@gnu.org>
16549
16550 * textmodes/bibtex.el (bibtex-entry-format): New option
16551 sort-fields.
16552 (bibtex-format-entry, bibtex-reformat): Honor this option.
16553 (bibtex-parse-entry): Return fields in proper order.
16554
8eda563d
JB
165552011-06-05 Juanma Barranquero <lekktu@gmail.com>
16556
16557 * doc-view.el (doc-view-remove-if): Move computation of result out
16558 of `dolist' to silence misleading lexical-binding warning.
16559
7dbe3dbc
CY
165602011-06-04 Chong Yidong <cyd@stupidchicken.com>
16561
16562 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16563 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16564
0c33dd17
MA
165652011-06-04 Michael Albinus <michael.albinus@gmx.de>
16566
16567 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16568 "SunOS 5.10".
16569
f8f91c2b
MA
165702011-06-04 Michael Albinus <michael.albinus@gmx.de>
16571
16572 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16573 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16574 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16575 (tramp-parse-putty):
16576 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16577 (tramp-completion-function-alist-ssh)
16578 (tramp-completion-function-alist-telnet)
16579 (tramp-completion-function-alist-su)
16580 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16581 cookie.
16582
16583 * net/tramp-ftp.el:
16584 * net/tramp-sh.el:
16585 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16586 load "tramp.el" `tramp-set-completion-function'.
16587
e17d9003
SM
165882011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16589
16590 * shell.el: Require and use pcomplete.
16591 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16592 (shell-completion-vars): Set pcomplete-default-completion-function.
16593
6c4cab03
DD
165942011-06-04 Deniz Dogan <deniz@dogan.se>
16595
16596 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16597 `memq' (Bug#8799).
16598
ea9fafe0
SM
165992011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16600
16601 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16602
b3e945d3
JB
166032011-06-02 Juanma Barranquero <lekktu@gmail.com>
16604
16605 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16606 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16607 * vc/log-view.el (log-view-beginning-of-defun):
16608 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16609 (smerge-refine-forward, smerge-refine-chopup-region):
16610 Silence warning for unused `dotimes' counter variables.
16611
7d520089
SM
166122011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16613
16614 * net/tramp.el (tramp-with-progress-reporter): Rename from
16615 with-progress-reporter. Use `declare'.
16616 * net/tramp-smb.el:
16617 * net/tramp-sh.el:
16618 * net/tramp-gvfs.el: Update all uses.
16619
a1c2400f
JB
166202011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16621
16622 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16623 buffer isn't killed before making it current.
16624
2403c841
SM
166252011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16626
16627 Silence various byte-compiler warnings.
16628 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16629 `access-type' and new obsolescence format.
16630 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16631 new format.
16632 (byte-compile-check-variable): New `access-type' argument.
16633 Only warn if the access-type is obsolete.
16634 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16635 (byte-compile-variable-set): Adjust callers.
16636 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16637 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16638 setting it as obsolete.
16639 * simple.el (minibuffer-completing-symbol):
16640 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16641 access as obsolete.
16642 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16643 obsolete yet.
16644 * international/quail.el (quail-mouse-choose-completion): Remove unused
16645 code referring to obsolete var.
16646 (quail-choose-completion-string): Remove.
16647 * server.el (server-clients-with, server-kill-buffer-query-function)
16648 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16649 * proced.el (proced-send-signal):
16650 * emacs-lisp/lisp.el (lisp-complete-symbol):
16651 Replace completion-annotate-function with completion-extra-properties.
16652
2462470b
SM
166532011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16654
fb5b2591
SM
16655 * simple.el (goto-line): Use read-number.
16656 (overriding-map-is-bound): Remove.
16657 (saved-overriding-map): Change default.
16658 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16659 Take the map as argument.
16660 (universal-argument, negative-argument, digit-argument): Use it.
16661 (restore-overriding-map): Adjust.
16662 (do-auto-fill): Use fill-forward-paragraph.
16663 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16664
fd6fa53f
SM
16665 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16666 (minibuffer-inactive-mode): New major mode.
16667 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16668 the *Messages* buffer" hack.
16669 (mouse-popup-menubar): Don't burp if the event is a normal key.
16670
2462470b
SM
16671 Miscellaneous tweaks.
16672 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16673 lexical scoping as in subr.el's dolist and dotimes.
16674 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16675 Silence compiler warning.
16676 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16677 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16678 * international/ccl.el (ccl-compile): Trivial simplification.
16679 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16680 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16681 `printflag' argument.
16682 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16683 Purecopy the whole obsolescence data.
16684
108bf785
LL
166852011-06-01 Leo Liu <sdl.web@gmail.com>
16686
16687 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16688 improve doc-string as suggested by Marco Pessotto
16689 <melmothx@gmail.com>.
16690 (rcirc-print): Fix last change.
16691
30a23501
SM
166922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16693
16694 * minibuffer.el (complete-with-action): Return nil for the metadata and
16695 boundaries of non-functional tables.
16696 (completion-table-dynamic): Return nil for the metadata.
16697 (completion-table-with-terminator): Add default case, using
16698 complete-with-action.
16699 (completion--metadata): New function.
16700 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16701 to try and avoid pathological performance problems.
16702 (completion--embedded-envvar-table): Return `category' metadata.
16703
bcd54f83
LMI
167042011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16705
16706 * subr.el (process-alive-p): New tiny convenience function.
16707
e227544d
SM
167082011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16709
16710 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16711 content but also its previous major mode.
16712
e8296fdc
HE
167132011-05-31 Helmut Eller <eller.helmut@gmail.com>
16714
4d61f28d 16715 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16716 *Backtrace* buffer when we exit with C-M-c.
16717
620c53a6
SM
167182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16719
16720 * minibuffer.el: Add metadata method to completion tables.
16721 (completion-category-overrides): New defcustom.
16722 (completion-metadata, completion--field-metadata)
16723 (completion-metadata-get, completion--styles)
16724 (completion--cycle-threshold): New functions.
16725 (completion-try-completion, completion-all-completions):
16726 Add `metadata' argument to choose completion-styles.
16727 (completion--do-completion): Use metadata to choose cycling.
16728 (completion-all-sorted-completions): Use metadata for sorting.
16729 Remove :completion-cycle-penalty which is not needed any more.
16730 (completion--try-word-completion): Add `metadata' argument.
16731 (minibuffer-completion-help): Check metadata for annotation function
16732 and sorting.
16733 (completion-file-name-table): Return `category' metadata.
16734 (minibuffer-completing-file-name): Make obsolete.
16735 * simple.el (minibuffer-completing-symbol): Make obsolete.
16736 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16737 completion-try-completion.
16738
1257e755
SM
167392011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16740
16741 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16742
3767e706
LL
167432011-05-30 Leo Liu <sdl.web@gmail.com>
16744
16745 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16746 (rcirc-print): Decode all incoming messages (bug#8744).
16747 (rcirc-decode-coding-system): Allow value nil for automatic coding
16748 system detection.
3767e706 16749
d1a5d56a
GM
167502011-06-01 Glenn Morris <rgm@gnu.org>
16751
16752 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16753
e8cbec34
CY
167542011-05-29 Chong Yidong <cyd@stupidchicken.com>
16755
16756 * image.el (image-animate-max-time): Allow nil and t values.
16757 Default to nil.
16758 (create-animated-image): Doc fix.
16759 (image-animate-start): Remove second arg; just use
16760 image-animate-max-time.
16761 (image-animate-timeout): Doc fix. Args changed.
16762
16763 * image-mode.el (image-toggle-display-image): Ensure that the
16764 image spec passed to the animate timer is the same object as in
58179cce 16765 the buffer's display property (Bug#6981).
e8cbec34
CY
16766 (image-transform-properties): Doc fix.
16767
16768 * image.el (image-animate-max-time): Default to nil.
16769
159daf87
MR
167702011-05-29 Martin Rudalics <rudalics@gmx.at>
16771
16772 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16773 entire buffer list (Bug#8184).
16774
d66c4c7c
CY
167752011-05-29 Chong Yidong <cyd@stupidchicken.com>
16776
16777 * image.el (imagemagick-types-inhibit)
16778 (imagemagick-register-types): Doc fix.
16779
80aec780
DD
167802011-05-29 Deniz Dogan <deniz@dogan.se>
16781
16782 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16783 default.
16784
1dd3c2d9
CY
167852011-05-29 Chong Yidong <cyd@stupidchicken.com>
16786
16787 * select.el: Don't perform clipboard-manager saving in hooks;
16788 leave the hooks empty.
16789
60e56523
LL
167902011-05-28 Leo Liu <sdl.web@gmail.com>
16791
16792 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16793 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16794 (occur-edit-mode): New major mode (Bug#8463).
16795 (occur-after-change-function): New function.
16796 (occur-engine): Give Occur tags a read-only property.
16797
2b1e1a22
KR
167982011-05-28 Kevin Ryde <user42@zip.com.au>
16799
16800 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16801
5d344e88
CY
168022011-05-28 Chong Yidong <cyd@stupidchicken.com>
16803
8e6ca83d
CY
16804 * bindings.el (help-echo): Make the initial non-indicator dash
16805 empty on graphical terminals (Bug#7295).
16806
5d344e88
CY
16807 * files.el (auto-mode-alist): Move config rule after the
16808 in-stripping one (Bug#8547).
16809
bfbbace7
CY
16810 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16811
fbeba6e2
CY
16812 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16813 setting (Bug#8740).
16814
60ed8c72
AA
168152011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16816
4ac619f0
AA
16817 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16818 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16819 (Bug#8539).
60ed8c72 16820
23db196e
CY
168212011-05-28 Chong Yidong <cyd@stupidchicken.com>
16822
16823 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16824
5012f24c
DK
168252011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16826
16827 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16828 (hs-hide-block-at-point, hs-find-block-beginning)
16829 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16830 (Bug#8279).
16831
6a639b16
GM
168322011-05-28 Glenn Morris <rgm@gnu.org>
16833
16834 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16835
d43eaf2c
CY
168362011-05-28 Chong Yidong <cyd@stupidchicken.com>
16837
5199bde1
CY
16838 * help-fns.el (describe-function-1): If the function is a derived
16839 major mode, print the parent mode.
16840
d43eaf2c
CY
16841 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16842 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16843
423428a8
SM
168442011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16845
0ff8e1ba 16846 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16847 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16848 * progmodes/etags.el (tags-completion-at-point-function):
16849 * info-look.el (info-lookup-completions-at-point): Mark as
16850 non-exclusive.
16851 (info-complete): Adjust accordingly.
16852
423428a8
SM
16853 * info-look.el: Convert to lexical-binding and completion-at-point.
16854 (info-lookup-completions-at-point): New function.
16855 (info-complete): Use it and completion-in-region.
16856
b74aa22b
DA
168572011-05-28 Drew Adams <drew.adams@oracle.com>
16858
16859 * isearch.el: Let M-e start with point at the first mismatched char.
16860 (isearch-fail-pos): New function.
16861 (isearch-edit-string): Use it.
16862
66e2e71d
DK
168632011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16864
16865 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16866
b1890b0f 168672011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16868
16869 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16870 traversal functions for avl-trees.
16871 (avl-tree--stack): New struct.
16872 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16873 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16874 (avl-tree--do-enter): Add optional `updatefun' arg.
16875 Change return value.
eb95d01d 16876 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16877 (avl-tree--do-delete): Add `test' and `nilflag' args.
16878 Change return value.
eb95d01d
TC
16879 (avl-tree-member): Add optional `nilflag'
16880 (avl-tree-member-p): New function.
16881 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16882 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16883 (avl-tree-stack-empty-p): New functions.
16884
3769ddcf
TC
16885 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16886 avl-tree--del-balance1 and make it work both ways.
16887 (avl-tree--del-balance2): Remove.
16888 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16889 make it work both ways.
16890 (avl-tree--enter-balance2): Remove.
16891 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16892 New macros.
16893 (avl-tree--mapc, avl-tree-map): Add direction argument.
16894
eb95d01d 168952011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16896
16897 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16898
a9f737ee
CY
168992011-05-27 Chong Yidong <cyd@stupidchicken.com>
16900
16901 * select.el: Support clipboard managers with built-in function
16902 x-clipboard-manager-save, via delete-frame-functions and
16903 kill-emacs-hook.
16904 (xselect-convert-to-targets): Add MULTIPLE target to list.
16905 (xselect-convert-to-save-targets): New function.
16906
c92a1e54
KH
169072011-05-27 Kenichi Handa <handa@m17n.org>
16908
16909 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16910 let-binding rfc2047-encode-encoded-words to nil.
16911
e145f188
GM
169122011-05-27 Glenn Morris <rgm@gnu.org>
16913
5ec8a862
GM
16914 * mail/emacsbug.el: Don't require url-util.
16915
4b29d9fb
GM
16916 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16917
e145f188
GM
16918 * files.el (set-auto-mode):
16919 Also respect mode: entries at the end of the file. (Bug#8586)
16920
7d15102b
GM
169212011-05-26 Glenn Morris <rgm@gnu.org>
16922
98f593b8
GM
16923 * files.el (hack-local-variables-prop-line, hack-local-variables):
16924 Downcase mode names, as seems to be traditional.
27b48e63 16925 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16926
7d15102b
GM
16927 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16928 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16929
51d5b4ec
JD
169302011-05-25 Julien Danjou <julien@danjou.info>
16931
16932 * textmodes/rst.el (rst-define-level-faces): Do not define face
16933 symbol if it is already defined.
16934
91513f63
VB
169352011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16936
16937 * play/5x5.el (5x5-new-game, 5x5-randomize):
16938 Reset 5x5-solver-output to nil when a new grid is cast.
16939 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16940 these debugging traces, as defmacro breaks the compiled code.
16941
4d90d6d0
DK
169422011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16943
16944 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16945
e1b90ef6
LL
169462011-05-24 Leo Liu <sdl.web@gmail.com>
16947
16948 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16949 (vc-bzr-sha1): Adapt.
16950
d8e4b68b 16951 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16952
16953 * bindings.el: Provide sha1 feature.
16954
db0406bb 169552011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16956
16957 * mail/sendmail.el: Require `rfc2047'.
16958 (mail-insert-from-field): Do not perform RFC2047 encoding.
16959 (mail-encode-header): New function.
16960 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16961 buffer to the return value of select-message-coding-system.
16962 Call mail-encode-header.
b8d747b9
KH
16963
16964 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16965
db0406bb 169662011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16967
4d90d6d0
DK
16968 * mail/supercite.el (sc-default-cite-frame):
16969 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16970
eb8a5e9b
GM
169712011-05-24 Glenn Morris <rgm@gnu.org>
16972
f8630703
GM
16973 * progmodes/python.el (brm-menu): Declare.
16974
8831bbed
GM
16975 * emulation/viper.el (viper-set-hooks): Declare.
16976
eb8a5e9b
GM
16977 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16978 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16979 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16980 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16981 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16982 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16983
a2a25d24
SM
169842011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16985
16986 Add an :exit-function for completion-at-point.
16987
16988 * minibuffer.el (completion--done): New fun.
16989 (completion--do-completion): Use it. New arg `expect-exact'.
16990 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16991 since completion--do-completion does it for us now.
16992 (minibuffer-force-complete): Use completion--done and
16993 completion--replace. Handle sole-completion case with more care.
16994 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16995 (completion-extra-properties): New var.
16996 (completion-annotate-function): Make obsolete.
16997 (minibuffer-completion-help): Adjust accordingly.
16998 Use completion-list-insert-choice-function.
16999 (completion-at-point, completion-help-at-point):
17000 Bind completion-extra-properties.
17001 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17002 * simple.el (completion-list-insert-choice-function): New var.
17003 (completion-setup-function): Preserve it.
17004 (choose-completion): Pay attention to it, shuffle the code a bit.
17005 (choose-completion-string): New arg `insert-function'.
17006
17007 * textmodes/bibtex.el: Convert to lexical binding.
17008 (bibtex-mode-map): Use completion-at-point.
17009 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17010 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17011 (bibtex-complete): Define as obsolete alias.
17012 (bibtex-complete-internal): Remove.
17013 (bibtex-format-entry): Remove unused sub-group in regexp.
17014 * shell.el (shell--command-completion-data)
17015 (shell-environment-variable-completion):
17016 * pcomplete.el (pcomplete-completions-at-point):
17017 * comint.el (comint--complete-file-name-data): Use :exit-function
17018 instead of completion-table-with-terminator so it also works for
17019 choose-completion.
17020
e44e373d
SM
170212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17022
4f91a816
SM
17023 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17024
782fc819
SM
17025 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17026 (bug#8710).
17027
e44e373d
SM
17028 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17029
381987c3
KM
170302011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17031
17032 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17033 customization variable and implement: If non-nil, auto-fill will
17034 be inhibited while on topic's header line.
17035
b776bc70
VB
170362011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17037
17038 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17039 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17040 always have a solution in grid size = 5 cases.
17041 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17042 (5x5-solver-output, 5x5-log-buffer): New vars.
17043 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17044 Make these variables buffer local to achieve 5x5 multi-session-ness.
17045 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17046 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17047 (5x5-solve-suggest): New funs.
17048 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17049 randomize a grid so that we ensure that there is always a solution.
17050 (5x5-make-random-grid): Allow other movement than flipping.
17051
7de88b6e
KR
170522011-05-23 Kevin Ryde <user42@zip.com.au>
17053
17054 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17055 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17056 advice and passes PREDICATE.
17057
b1ef1257
SM
170582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17059
bbca48fe
SM
17060 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17061 byte-compile-lambda if it's actually a lambda.
17062
b1ef1257
SM
17063 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17064 Fix function quoting. Use backquote better.
17065
92a9cc65
YS
170662011-05-22 Yuanle Song <sylecn@gmail.com>
17067
17068 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17069 matching (Bug#8516).
17070
f0fb8059
JA
170712011-01-22 Jari Aalto <jari.aalto@cante.net>
17072
17073 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17074 different face (Bug#8178).
17075
d5b44c93
CY
170762011-05-22 Chong Yidong <cyd@stupidchicken.com>
17077
17078 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17079 defface (Bug#8144).
17080
79106a44
SM
170812011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17082
9c848d8a
SM
17083 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17084 funcall as well (bug#8712). Warn when performing those conversions.
17085 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17086
79106a44
SM
17087 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17088
88dfa756
GM
170892011-05-22 Glenn Morris <rgm@gnu.org>
17090
17091 * files.el (hack-local-variables-prop-line): Small simplifications.
17092 (hack-local-variables, hack-local-variables-prop-line):
17093 If MODE-ONLY, return the mode, rather than just `t'.
17094
b7cf2c79
SM
170952011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17096
17097 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17098
3f1a8558
GM
170992011-05-21 Glenn Morris <rgm@gnu.org>
17100
7e4ccca3
GM
17101 * files.el (hack-local-variables-prop-line, hack-local-variables):
17102 If only interested in the mode, don't bother doing the other stuff.
17103
637d46ca
GM
17104 * image-mode.el (image-after-revert-hook):
17105 Redraw all frames on which the image is visible. (Bug#8567)
17106
973d955b
GM
17107 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17108
3f1a8558
GM
17109 * wid-edit.el (widget-checklist-match-inline):
17110 Fix 2011-04-19 change. (Bug#8649)
17111
96479927
SM
171122011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17113
1dcf791f
SM
17114 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17115 Also allow singlespace after single-letter capitals followed by a dot.
17116
96479927
SM
17117 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17118 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17119
35fd0881
N
171202011-05-20 Nix <nix@esperi.org.uk>
17121
17122 * files.el (basic-save-buffer-2):
17123 Fix handling of break-hardlink-on-save with non-existent files.
17124
82745640
DD
171252011-05-19 Deniz Dogan <deniz@dogan.se>
17126
17127 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17128 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17129
4a720484
GM
171302011-05-19 Glenn Morris <rgm@gnu.org>
17131
d1f21341
GM
17132 * progmodes/f90.el (f90-type-def-re):
17133 Handle "type, bind(c)". (Bug#8691)
17134
4a720484
GM
17135 * emacs-lisp/autoload.el (batch-update-autoloads):
17136 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17137
2fb0a219
MA
171382011-05-18 Michael Albinus <michael.albinus@gmx.de>
17139
17140 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17141 property for the correct connection in case of multihops.
17142
e565dd37
GM
171432011-05-18 Glenn Morris <rgm@gnu.org>
17144
c2571358 17145 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17146 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17147
e565dd37
GM
17148 Rationalize calendar handling of day and month abbrev-arrays.
17149 * calendar/calendar.el (calendar-customized-p): New function.
17150 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17151 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17152 Add :set function.
17153 (calendar-abbrev-length, calendar-day-abbrev-array)
17154 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17155 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17156 Elements may no longer be nil.
17157 (calendar-day-name, calendar-month-name):
17158 Update for changed nature of abbrev arrays.
17159 * calendar/diary-lib.el (diary-name-pattern):
17160 Update for changed nature of abbrev arrays.
17161 (diary-mark-entries-1): Update calendar-make-alist calls.
17162 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17163 * calendar/cal-html.el (cal-html-day-abbrev-array):
17164 Simply inherit from calendar-day-abbrev-array.
17165
1d99a745
SM
171662011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17167
17168 * progmodes/grep.el (grep-mode): Disable default
17169 compilation-directory-matcher setting (bug#8684).
17170
7c1d9aa0
MA
171712011-05-17 Michael Albinus <michael.albinus@gmx.de>
17172
17173 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17174 instead of "head" and "tail". There were problems with SunOS 5.9,
17175 and it performs better.
17176
3952e9d8
GM
171772011-05-17 Glenn Morris <rgm@gnu.org>
17178
2dd12e7f
GM
17179 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17180
e4157b9c
GM
17181 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17182 Replace obsolete function.
17183
8e249bbd
GM
17184 * shell.el (pcomplete-parse-arguments-function): Declare.
17185
3952e9d8
GM
17186 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17187 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17188 (appt-check): Doc fixes.
17189 (appt-disp-window-function, appt-delete-window-function):
17190 Remove needless special case in custom :type.
17191 (appt-display-count): Default to 0, not nil.
17192 (appt-check): Reset appt-display-count to 0, not nil.
17193
c71a0d48 171942011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17195
c71a0d48
GM
17196 * progmodes/python.el (python-font-lock-keywords):
17197 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17198
31d55be9
SM
171992011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17200
17201 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17202
3bfacb2f
KR
172032011-05-16 Kevin Ryde <user42@zip.com.au>
17204
17205 * info-look.el (makefile-automake-mode): New setups, looking in
17206 automake manual, then makefile-mode.
17207 (makefile-mode): Remove automake manual, have it just in
17208 makefile-automake-mode since there's various things different or
17209 not relevant to plain make.
17210 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17211 believe a hypothetical automake-mode would go to makefile-mode,
17212 not the other way around.
17213
c8e83751
CY
172142011-05-15 Chong Yidong <cyd@stupidchicken.com>
17215
5e9e35cd
CY
17216 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17217 hunk-end tags (Bug#8672).
17218
c8e83751
CY
17219 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17220 vc-annotate-show-diff-revision-at-line (Bug#8671).
17221
50b23e5a
GM
172222011-05-14 Glenn Morris <rgm@gnu.org>
17223
7210a739
GM
17224 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17225 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17226 (change-log-font-lock-keywords): Also handle multiple author lines
17227 with leading tabs. (Bug#8644)
7210a739 17228
4691905a
GM
17229 * calendar/appt.el (appt-check): Rename some local variables.
17230 Some simplification/reordering.
17231
50b23e5a
GM
17232 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17233 (feedmail-sendmail-f-doesnt-sell-me-out)
17234 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17235 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17236 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17237 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17238 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17239 (feedmail-binmail-gnulinuxish-template):
17240 Rename from feedmail-binmail-linuxish-template.
17241 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17242 Use insert-buffer-substring.
17243
215cda7c
BC
172442011-05-14 Bill Carpenter <bill@carpenter.org>
17245
17246 * mail/feedmail.el (feedmail-patch-level): Increase.
17247 (feedmail-debug): New custom group.
17248 (feedmail-confirm-outgoing-timeout)
17249 (feedmail-sendmail-f-doesnt-sell-me-out)
17250 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17251 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17252 (feedmail-sender-line, feedmail-from-line)
17253 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17254 (feedmail-spray-this-address)
215cda7c
BC
17255 (feedmail-spray-address-fiddle-plex-list)
17256 (feedmail-queue-use-send-time-for-date)
17257 (feedmail-queue-use-send-time-for-message-id)
17258 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17259 (feedmail-buffer-eating-function):
17260 Doc fixes.
17261 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17262 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17263 (feedmail-message-action-scroll-down): New functions.
17264 (feedmail-queue-directory, feedmail-queue-draft-directory):
17265 Use expand-file-name.
17266 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17267 Remove C-v help entry.
17268 (feedmail-queue-buffer-file-name): New variable.
17269 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17270 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17271 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17272 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17273 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17274 (feedmail-message-action-toggle-spray)
17275 (feedmail-run-the-queue-no-prompts)
17276 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17277 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17278 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17279 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17280 (feedmail-envelope-deducer, feedmail-fiddle-from)
17281 (feedmail-fiddle-sender, feedmail-default-date-generator)
17282 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17283 (feedmail-fiddle-spray-address)
17284 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17285 (feedmail-fiddle-list-of-fiddle-plexes)
17286 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17287 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17288 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17289 Change default. Doc fix.
17290 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17291 (feedmail-binmail-linuxish-template): New constant.
17292 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17293 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17294 (feedmail-send-it): Add debug call.
17295 Use feedmail-queue-buffer-file-name, and
17296 feedmail-send-it-immediately-wrapper.
17297 (feedmail-message-action-send): Add debug call.
17298 Use feedmail-send-it-immediately-wrapper.
17299 (feedmail-queue-express-to-queue): Add debug call.
17300 Run feedmail-queue-express-hook.
17301 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17302 (feedmail-message-action-help-blat):
17303 Rename from feedmail-queue-send-edit-prompt-help-first.
17304 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17305 Check line-endings. Handle errors better.
17306 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17307 Doc fix. Add debug call.
17308 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17309 Use feedmail-queue-send-edit-prompt-inner.
17310 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17311 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17312 from feedmail-queue-send-edit-prompt.
17313 (feedmail-queue-send-edit-prompt-help)
17314 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17315 (feedmail-tidy-up-slug): Add debug call.
17316 Respect feedmail-queue-slug-suspect-regexp.
17317 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17318 (feedmail-dump-message-to-queue): Add debug call.
17319 Expand queue-directory.
17320 (feedmail-dump-message-to-queue): Change message slightly.
17321 Use feedmail-say-chatter.
17322 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17323 (feedmail-send-it-immediately-wrapper): New function.
17324 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17325 Insert empty string rather than newline. Handle full-frame case.
17326 Use catch/throw. Use feedmail-say-chatter.
17327 (feedmail-fiddle-from): Try mail-host-address.
17328 (feedmail-default-message-id-generator): Doc fix.
17329 Bind system-time-locale. Handle missing end.
17330 (feedmail-fiddle-x-mailer): Add debug call.
17331 Handle feedmail-x-mailer-line being nil.
17332 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17333 Add debug call. Use buffer-substring-no-properties.
17334 (feedmail-say-debug, feedmail-say-chatter): New functions.
17335 (feedmail-find-eoh): Give an explicit error.
17336
42c7e61e
UJ
173372011-05-13 Ulf Jasper <ulf.jasper@web.de>
17338
c2571358 17339 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17340 family from helvetica to sans.
c2571358 17341 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17342 etc/images/newsticker.
17343
c2571358 17344 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17345 family from helvetica to sans.
17346
17347 * net/newst-plainview.el (newsticker-new-item-face)
17348 (newsticker-old-item-face, newsticker-immortal-item-face)
17349 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17350 (newsticker-statistics-face): Change default family from
42c7e61e 17351 helvetica to sans.
c2571358 17352 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17353 etc/images/newsticker.
17354
5d3385a0
JB
17355 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17356 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17357 auto-marking.
17358
8497a297
DV
173592011-05-13 Didier Verna <didier@xemacs.org>
17360
17361 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17362 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17363 TODO entries.
8497a297
DV
17364 (lisp-lambda-list-keyword-parameter-indentation)
17365 (lisp-lambda-list-keyword-parameter-alignment)
17366 (lisp-lambda-list-keyword-alignment): New customizable user options.
17367 (lisp-indent-defun-method): Improve docstring.
17368 (extended-loop-p): Fix comment.
17369 (lisp-indent-lambda-list-keywords-regexp): New variable.
17370 (lisp-indent-lambda-list): New function.
17371 (lisp-indent-259): Use it.
17372 (lisp-indent-defmethod): Support for more than one
17373 method qualifier and properly indent methods lambda-lists.
17374 (defgeneric): Provide a missing common-lisp-indent-function property.
17375
f278f87f
SM
173762011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17377
17378 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17379 bounds for the empty string (bug#8667).
17380
5233edd7
GM
173812011-05-13 Glenn Morris <rgm@gnu.org>
17382
5237a44f
GM
17383 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17384
8340026c 17385 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17386 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17387
5233edd7 17388 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17389 (appt-time-msg-list): Doc fix.
a5464014 17390 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17391
92d10796
AS
173922011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17393
17394 * progmodes/ld-script.el (ld-script-keywords)
17395 (ld-script-builtins): Update keywords list.
17396
914a0ae1
SM
173972011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17398
c89be45f
SM
17399 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17400
914a0ae1
SM
17401 * shell.el (shell-completion-vars): New function.
17402 (shell-mode):
17403 * simple.el (read-shell-command): Use it.
17404 (blink-matching-open): No need for " [...]" in minibuffer-message.
17405
98dc3df3
GM
174062011-05-12 Glenn Morris <rgm@gnu.org>
17407
17408 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17409 (appt-check): Simplify.
17410
d2fc7e3d 174112011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17412
4d61f28d 17413 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17414 literal "/dev/null".
17415
d2fc7e3d 174162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17417
17418 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17419 Fix typo.
17420
d2fc7e3d 174212011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17422
3f254caa
SM
17423 * progmodes/which-func.el (which-function):
17424 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17425 which might not be defined (Bug#8260).
17426
d45885f7
GM
174272011-05-12 Glenn Morris <rgm@gnu.org>
17428
17429 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17430 Let byte-compile-initial-macro-environment always take precedence.
17431
488086f4
SM
174322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17433
17434 * net/rcirc.el: Add support for SSL/TLS connections.
17435 (rcirc-server-alist): New field `encryption'.
17436 (rcirc): Check `encryption' settings.
17437 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17438 Merge make-local-variable into `set'.
17439 (rcirc--connection-open-p): New function.
17440 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17441 the process is not a network process (e.g. running gnutls-cli).
17442 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17443 Make rcirc-(en|de)code-coding-system local here.
17444 (rcirc-mode): Merge make-local-variable into `set'.
17445 (rcirc-parent-buffer): Make permanent buffer-local.
17446 (rcirc-multiline-minor-mode): Don't do it here.
17447 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17448 there's no server buffer.
17449
7d3b9d44
GM
174502011-05-11 Glenn Morris <rgm@gnu.org>
17451
f64049c6
GM
17452 * newcomment.el (comment-kill): Prefix "unused" local.
17453
93c9df73
GM
17454 * term/w32console.el (get-screen-color): Declare.
17455
7d3b9d44
GM
17456 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17457 Handle symbol elements of byte-compile-initial-macro-environment.
17458
9e2dd53f
LL
174592011-05-10 Leo Liu <sdl.web@gmail.com>
17460
488086f4
SM
17461 * bookmark.el (bookmark-bmenu-mode-map):
17462 Bind bookmark-bmenu-search to `/'.
8b340240 17463
9e2dd53f 17464 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17465 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17466 (Footnote-unicode): New function.
17467 (footnote-style-alist): Add unicode style to the list.
17468 (footnote-style): Doc fix.
9e2dd53f 17469
79b70037
GM
174702011-05-10 Jim Meyering <meyering@redhat.com>
17471
17472 Fix doubled-word typos.
17473 * international/quail.el (quail-insert-kbd-layout): and and -> and
17474 * kermit.el: and and -> and
17475 * net/ldap.el (ldap-search-internal): to to -> to
17476 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17477 * progmodes/js.el (js-mode): and and -> and
17478 * textmodes/artist.el (artist-move-to-xy): at at -> at
17479 (artist-draw-region-trim-line-endings): if if -> if
17480 And Safetyc -> Safety.
17481 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17482
b8f82dc1 174832011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17484 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17485
17486 * files.el (hack-one-local-variable-eval-safep):
17487 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17488
4f99f44b
GM
174892011-05-10 Glenn Morris <rgm@gnu.org>
17490
17491 * calendar/diary-lib.el (diary-list-entries-hook)
17492 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17493 (diary-nongregorian-marking-hook, diary-list-entries)
17494 (diary-include-other-diary-files, diary-mark-entries)
17495 (diary-mark-included-diary-files): Doc fixes.
17496
84f29e6b
JB
174972011-05-09 Juanma Barranquero <lekktu@gmail.com>
17498
17499 * misc.el: Require tabulated-list.el during compilation.
17500
9bedd73a
CY
175012011-05-09 Chong Yidong <cyd@stupidchicken.com>
17502
488086f4
SM
17503 * progmodes/compile.el (compilation-start):
17504 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17505 (compilation-filter-hook): Doc fix.
17506
797c735c
DD
175072011-05-09 Deniz Dogan <deniz@dogan.se>
17508
17509 * wdired.el: Remove outdated installation comment. Fix usage
17510 comment.
17511
5f4b1dfe
JB
175122011-05-09 Juanma Barranquero <lekktu@gmail.com>
17513
17514 * misc.el: Implement new command `list-dynamic-libraries'.
17515 (list-dynamic-libraries--loaded-only-p): New variable.
17516 (list-dynamic-libraries--refresh): New function.
17517 (list-dynamic-libraries): New command.
17518
4c44026c
CY
175192011-05-09 Chong Yidong <cyd@stupidchicken.com>
17520
488086f4
SM
17521 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17522 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17523 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17524 higher priority to avoid clobbering by gnu.
17525
027f966d
CY
175262011-05-08 Chong Yidong <cyd@stupidchicken.com>
17527
17528 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17529 if the face has existing theme settings (Bug#8454).
17530
085f5d7d
CY
175312011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17532
488086f4
SM
17533 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17534 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17535
2a86a00c
RS
17536 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17537 special file names `.' and `..' (Bug#8259).
17538
d9c54a06
CY
175392011-05-08 Chong Yidong <cyd@stupidchicken.com>
17540
488086f4
SM
17541 * progmodes/grep.el (grep-mode-font-lock-keywords):
17542 Remove buffer-changing entries.
d9c54a06
CY
17543 (grep-filter): New function.
17544 (grep-mode): Add it to compilation-filter-hook.
17545
17546 * progmodes/compile.el (compilation-filter-hook)
17547 (compilation-filter-start): New defvars.
17548 (compilation-filter): Call compilation-filter-hook prior to
17549 updating the process mark.
17550
c4662635
SM
175512011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17552
17553 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17554
b0512a1d
EZ
175552011-05-07 Eli Zaretskii <eliz@gnu.org>
17556
605c9376
EZ
17557 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17558 mailclient-send-it even if window-system is nil. (Bug#8595)
17559
c4662635
SM
17560 * term/w32console.el (terminal-init-w32console):
17561 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17562 background-mode. (Bug#8597)
17563
d1dc2cc2
SM
175642011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17565
17566 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17567 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17568 New functions.
17569 (defgeneric, eieio--defmethod): Use them.
17570 (eieio-defgeneric): Remove.
17571 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17572
915d1300
GM
175732011-05-07 Glenn Morris <rgm@gnu.org>
17574
a3961c3e
GM
17575 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17576 Use let rather than let*.
17577 (timeclock-find-discrep): Remove unused local.
17578
314347b9
GM
17579 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17580
915d1300
GM
17581 * calendar/appt.el (appt-time-msg-list): Doc fix.
17582
275b59b0
NF
175832011-05-06 Noah Friedman <friedman@splode.com>
17584
17585 * apropos.el (apropos-print-doc): Only use
17586 emacs-lisp-docstring-fill-column when it is bound to an integer,
17587 per that variable's documentation.
17588
6c19f744
SM
175892011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17590
17591 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17592 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17593
60f884b2
GM
175942011-05-06 Glenn Morris <rgm@gnu.org>
17595
5006e634
GM
17596 * calendar/appt.el (appt-message-warning-time): Doc fix.
17597 (appt-warning-time-regexp): New option.
17598 (appt-make-list): Respect appt-message-warning-time.
17599
548d0a63
GM
17600 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17601 New options.
17602 (diary-add-to-list): Strip comments from the displayed string.
17603 (diary-mode): Set comment-start and comment-end.
17604
60f884b2
GM
17605 * vc/diff-mode.el (smerge-refine-subst): Declare.
17606 (diff-refine-hunk): Don't require smerge-mode when compiling.
17607
989681bb
JB
176082011-05-06 Juanma Barranquero <lekktu@gmail.com>
17609
17610 * simple.el (list-processes): Return nil as the docstring says.
17611
a6bc05e1
MA
176122011-05-05 Michael Albinus <michael.albinus@gmx.de>
17613
17614 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17615 to "".
17616 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17617 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17618 determining of binary transfer. (Bug#7383)
17619
23c22e9a
MA
176202011-05-05 Michael Albinus <michael.albinus@gmx.de>
17621
c4662635
SM
17622 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17623 Fix port computation bug. (Bug#8618)
23c22e9a 17624
0bff894f
GM
176252011-05-05 Glenn Morris <rgm@gnu.org>
17626
b8296902
GM
17627 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17628
1f522ce8
GM
17629 * simple.el (shell-dynamic-complete-functions)
17630 (comint-dynamic-complete-functions): Declare.
17631
cf5bee67
GM
17632 * net/network-stream.el (gnutls-negotiate):
17633 * simple.el (tabulated-list-print): Fix declarations.
17634
17635 * progmodes/gud.el (syntax-symbol, syntax-point):
17636 Remove unnecessary and incorrect declarations.
17637
0bff894f
GM
17638 * emacs-lisp/check-declare.el (check-declare-scan):
17639 Handle byte-compile-initial-macro-environment in bytecomp.el
17640
9869b3ae
SM
176412011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17642
17643 Fix earlier half-done eieio-defmethod change (bug#8338).
17644 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17645 Streamline and change calling convention.
17646 (defmethod): Adjust accordingly and simplify.
17647 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17648 new eieio--defmethod.
17649 (slot-boundp): Minor CSE simplification.
17650
9c1d5ac5
MZ
176512011-05-05 Milan Zamazal <pdm@zamazal.org>
17652
17653 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17654 (glasses-make-readable): Use glasses-separate-capital-groups.
17655
455c834e
JB
176562011-05-05 Juanma Barranquero <lekktu@gmail.com>
17657
17658 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17659 (warning-series): Doc fix.
17660 (display-warning): Don't try to create the buffer if we just found it.
17661
9ed7c8cb
CY
176622011-05-04 Chong Yidong <cyd@stupidchicken.com>
17663
17664 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17665 (autoload-find-generated-file): New function.
17666 (generate-file-autoloads): Bind generated-autoload-file to
17667 buffer-file-name.
9869b3ae
SM
17668 (update-file-autoloads, update-directory-autoloads):
17669 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17670 output file (Bug#7989).
17671 (batch-update-autoloads): Doc fix.
17672
0898ca10
JB
176732011-05-04 Juanma Barranquero <lekktu@gmail.com>
17674
17675 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17676
31dfb76c
GM
176772011-05-04 Glenn Morris <rgm@gnu.org>
17678
f330b642
GM
17679 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17680 function, so it follows changes in calendar-date-style.
17681 (diary-fancy-date-matcher): New function.
17682 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17683 (diary-fancy-font-lock-fontify-region-function):
17684 Use diary-fancy-date-pattern as a function.
17685
31dfb76c
GM
17686 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17687 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17688
48e79d6a
TZ
176892011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17690
17691 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17692 instead of positional arguments. Allow :keylist and :crlfiles
17693 arguments.
17694 (open-gnutls-stream): Call it.
17695
17696 * net/network-stream.el (network-stream-open-starttls): Adjust to
17697 call `gnutls-negotiate' with :process and :hostname arguments.
17698
dd5a5ee0
SM
176992011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17700
ef80fc09
SM
17701 * minibuffer.el (completion--message): New function.
17702 (completion--do-completion, minibuffer-complete)
17703 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17704 (completion--do-completion): Don't ignore completion-auto-help when in
17705 icomplete-mode.
17706
dd5a5ee0
SM
17707 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17708 internal encoding (e.g. tibetan zero is not whitespace).
17709 (global-whitespace-mode): Prefer save-current-buffer.
17710 (whitespace-trailing-regexp): Remove useless save-match-data.
17711 (whitespace-empty-at-bob-regexp): Minor simplification.
17712
b7d22a83
CY
177132011-05-03 Chong Yidong <cyd@stupidchicken.com>
17714
17715 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17716
5192af46
AM
177172011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17718
17719 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17720 Use `concat' to create string for insertion.
5192af46 17721
5767d190
SM
177222011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17723
17724 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17725 Avoid open-line which runs post-self-insert-hook.
17726 (bibtex-fill-entry): Remove unused `end' var.
17727
bf242939
AM
177282011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17729
5767d190
SM
17730 * textmodes/ispell.el (ispell-add-per-file-word-list):
17731 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17732
25666126
LL
177332011-05-03 Leo Liu <sdl.web@gmail.com>
17734
17735 * isearch.el (isearch-yank-pop): New command.
5767d190 17736 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17737 (isearch-forward): Mention it.
17738
52d3c2d0
SM
177392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17740
1bcace58
SM
17741 * simple.el (minibuffer-complete-shell-command): Remove.
17742 (minibuffer-local-shell-command-map): Use completion-at-point.
17743 (read-shell-command): Setup completion vars here instead.
17744 (read-expression-map): Bind TAB to symbol completion.
17745
52d3c2d0
SM
17746 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17747 error directly rather via storing it into `results'.
17748
35813471
LL
177492011-05-02 Leo Liu <sdl.web@gmail.com>
17750
17751 * vc/diff.el: Fix description.
17752
e793a940
LMI
177532011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17754
17755 * server.el (server-eval-at): New function.
17756
8de66e05
LMI
177572011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17758
17759 * net/network-stream.el (open-network-stream): Take a :nowait
17760 parameter and pass it on to `make-network-process'.
17761 (network-stream-open-plain): Ditto.
17762
dcb79f20
AS
177632011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17764
17765 * faces.el (face-spec-set-match-display): Don't match toolkit
17766 options on terminal frames.
17767
14a7fbd8
SM
177682011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17769
7eabc1be
SM
17770 * progmodes/pascal.el: Use lexical binding.
17771 (pascal-mode-map): Remove author preferences.
17772
14a7fbd8
SM
17773 * pcomplete.el (pcomplete-std-complete): Don't abuse
17774 completion-at-point.
17775
50f84510
JB
177762011-04-28 Juanma Barranquero <lekktu@gmail.com>
17777
6e087a44
JB
17778 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17779 removing code that has been dead since 1991 or so.
17780
50f84510
JB
17781 * startup.el (command-line): When warning about "_emacs", use a
17782 delayed warning to allow the user to filter it out.
17783
0ba690bd
DD
177842011-04-28 Deniz Dogan <deniz@dogan.se>
17785
17786 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17787 user has not joined.
17788
08abfaad
SM
177892011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17790
17791 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17792 aren't any completions at point.
17793
638f053a
JB
177942011-04-28 Juanma Barranquero <lekktu@gmail.com>
17795
17796 * subr.el (display-delayed-warnings): New function.
17797 (delayed-warnings-hook): New variable.
17798
8fff8daa
SM
177992011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17800
08abfaad
SM
17801 * minibuffer.el (completion-at-point, completion-help-at-point):
17802 Don't presume that a given completion-at-point-function will always
17803 use the same calling convention.
17804
8fff8daa
SM
17805 * pcomplete.el (pcomplete-completions-at-point):
17806 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17807 pcomplete-seen is non-nil.
17808 (pcomplete-comint-setup): Also recognize the new comint/shell
17809 completion functions.
17810 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17811 pcomplete-seen is non-nil.
17812
841a1577 178132011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17814
841a1577 17815 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17816 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17817 the first character in the entry. This allows for code to add its
211ec907
UJ
17818 own uid to the entry.
17819 (icalendar--convert-float-to-ical): Add export of
17820 `diary-float'-entries save for those with the optional DAY
17821 argument.
17822
2a782793
DC
178232011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17824
17825 * subr.el (shell-quote-argument): Use alternate escaping strategy
17826 when we spot a variable reference in a string.
17827
0438ce91
DC
178282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17829
17830 * cus-start.el (all): Define customization for debug-on-event.
17831
841a1577 178322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17833
17834 * subr.el (shell-quote-argument): Escape correctly under Windows.
17835
d090ed6c
SM
178362011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17837
17838 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17839
bfd31217
MA
178402011-04-25 Michael Albinus <michael.albinus@gmx.de>
17841
d090ed6c
SM
17842 * net/tramp.el (tramp-process-actions): Add POS argument.
17843 Delete region between POS and (pos).
bfd31217 17844
d090ed6c
SM
17845 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17846 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17847 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17848
17849 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17850 position in `tramp-process-actions' call.
17851
17852 * net/trampver.el: Update release number.
17853
e92f3bd3
SM
178542011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17855
850256b5
SM
17856 * custom.el (defcustom): Obey lexical-binding.
17857
e92f3bd3
SM
17858 Fix octave-inf completion problems reported by Alexander Klimov.
17859 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17860 Inherit from octave-mode-syntax-table.
17861 (inferior-octave-mode): Set info-lookup-mode.
17862 (inferior-octave-completion-at-point): New function.
17863 (inferior-octave-complete): Use it and completion-in-region.
17864 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17865 comint-filename-completion.
17866 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17867 symbol elements which shouldn't be word elements.
17868 (octave-font-lock-keywords, octave-beginning-of-defun)
17869 (octave-function-header-regexp): Adjust regexps accordingly.
17870 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17871
cd22b309
JB
178722011-04-25 Juanma Barranquero <lekktu@gmail.com>
17873
17874 * net/gnutls.el (gnutls-errorp): Declare before first use.
17875
8b492194
TZ
178762011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17877
17878 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17879 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17880 default trustfile exists before going to use it. Add missing
5a5fa834 17881 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17882 Reported by Claudio Bley <claudio.bley@gmail.com>.
17883 (open-gnutls-stream): Add usage example.
17884
17885 * net/network-stream.el (network-stream-open-starttls): Give host
17886 parameter to `gnutls-negotiate'.
17887 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17888 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17889
841a1577 178902011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17891
cd22b309
JB
17892 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17893 Use correct match group (bug#8438).
05842630 17894
3ba7869c
CY
178952011-04-24 Chong Yidong <cyd@stupidchicken.com>
17896
512e3ae1
CY
17897 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17898 (package-menu--generate): New arg specifying packages to show.
17899 (package-menu-refresh, package-menu-execute, list-packages):
17900 Callers changed.
17901 (package-show-package-list): New function, replacing deleted
17902 package--list-packages (renamed because it is non-internal).
17903
17904 * finder.el (finder-list-matches): Use package-show-package-list
17905 instead of deleted package--list-packages.
17906
e92f3bd3
SM
17907 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17908 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17909 (vc-annotate-mode-map): Bind it to RET.
17910
7031be6d
UR
179112011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17912
17913 * progmodes/etags.el (next-file): Don't use set-buffer to change
17914 buffers (Bug#8478).
17915
4ef177aa
CY
179162011-04-24 Chong Yidong <cyd@stupidchicken.com>
17917
c8d173eb
CY
17918 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17919
4ef177aa
CY
17920 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17921 (apropos-accumulator): Doc fix.
17922 (apropos-function, apropos-macro, apropos-command)
17923 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17924 (apropos-plist): Add face property.
17925 (apropos-symbols-internal): Fix indentation.
17926 (apropos-print): Simplify help, and recognize apropos-multi-type.
17927 (apropos-print-doc): Use button-type-get to extract the button's
17928 face property. Fill docstring (Bug#8352).
17929
4ffd0d6b 179302011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17931
17932 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17933
c6c32125 17934 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17935 (mpuz-mode-map): Use mapc.
c6c32125
JB
17936 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17937 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17938 Fix typos in docstrings.
17939
58d468b4
JB
17940 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17941 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17942
6470c3c6
JB
17943 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17944
4ffd0d6b 179452011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17946
17947 * minibuffer.el (completion--do-completion): Avoid the "Next char
17948 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17949
3ad8bad0
CY
17950 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17951 mouse-2 into unread-command-events, it is interpreted correctly.
17952
71d73c9c 17953 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17954 (image-toggle-display): Doc fix.
71d73c9c 17955
841a1577 179562011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17957
4ffd0d6b
GM
17958 * textmodes/page.el (what-page): Use line-number-at-pos to
17959 calculate line number (Bug#6825).
6e1dbaa9 17960
c2fb1b60
JB
179612011-04-22 Juanma Barranquero <lekktu@gmail.com>
17962
17963 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17964 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17965 Pass argument NO-DEFAULT to `find-tag-interactive'.
17966
e02f48d7
JB
179672011-04-22 Juanma Barranquero <lekktu@gmail.com>
17968
17969 Lexical-binding cleanup.
17970
17971 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17972 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17973 * progmodes/ada-prj.el (ada-prj-initialize-values)
17974 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17975 (ada-prj-show-value):
17976 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17977 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17978 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17979 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17980 * progmodes/bug-reference.el (bug-reference-push-button):
17981 * progmodes/fortran.el (fortran-line-length):
17982 * progmodes/glasses.el (glasses-change):
17983 * progmodes/octave-mod.el (octave-fill-paragraph):
17984 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17985 (python-pdbtrack-grub-for-buffer, python-sentinel):
17986 * progmodes/sql.el (sql-save-connection):
17987 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17988 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17989 Mark unused parameters.
17990
17991 * progmodes/compile.el (compilation--flush-directory-cache)
17992 (compilation--flush-parse, compile-internal): Mark unused parameters.
17993 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17994 (compilation-next-error-function): Remove unused variable `timestamp'.
17995
17996 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17997 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17998
17999 * progmodes/dcl-mode.el (dcl-end-of-command):
18000 Remove unused variable `start'.
18001 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18002 (dcl-option-value-basic, dcl-option-value-offset)
18003 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18004 Mark unused parameters.
18005 (dcl-save-local-variable): Remove unused variable `val'.
18006 (mode): Declare.
18007
18008 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18009 Mark unused parameters.
18010 (delphi-ignore-changes): Move before first use.
18011 (delphi-charset-token-at): Remove unused variable `start'.
18012 (delphi-else-start): Remove unused variable `if-count'.
18013 (delphi-comment-block-start, delphi-comment-block-end):
18014 Remove unused variable `kind'.
18015 (delphi-indent-line): Remove unused variable `new-point'.
18016
18017 * progmodes/ebrowse.el (ebrowse-files-list)
18018 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18019 Mark unused parameters. Don't quote `lambda'.
18020 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18021 Don't quote `lambda'.
18022 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18023 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18024 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18025 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18026 Use `ignore-errors'.
18027 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18028 (ebrowse-view/find-file-and-search-pattern)
18029 (ebrowse-view/find-member-declaration/definition):
18030 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18031 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18032 Rename parameter PREFIX-ARG to PREFIX.
18033 (ebrowse-tags-read-name): Remove unused variables `start' and
18034 `member-info'.
18035 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18036 to `tags-file'.
18037
18038 * progmodes/etags.el (local-find-tag-hook): Declare.
18039 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18040 Mark unused parameters.
18041
18042 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18043 (executable-interpret): Mark unused parameter.
18044
18045 * progmodes/flymake.el (flymake-process-sentinel)
18046 (flymake-after-change-function)
18047 (flymake-create-temp-with-folder-structure)
18048 (flymake-get-include-dirs-dot): Mark unused parameters.
18049 (flymake-safe-delete-directory): Remove unused variable `err'.
18050
18051 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18052 (speedbar-timer-fn, speedbar-line-text)
18053 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18054 (speedbar-center-buffer-smartly): Declare functions.
18055 (gdb-find-watch-expression): Remove unused variable `array'.
18056 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18057 (gdb-starting): Mark unused parameters.
18058 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18059 (gdb-table-string): Remove unused variable `res'.
18060 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18061 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18062 (gdb-display-buffer): Remove unused variable `cur-size'.
18063
18064 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18065 allow lexical-binding compilation.
18066 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18067 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18068 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18069 Mark unused parameters.
18070 (gud-gdb-marker-filter): Remove unused variable `match'.
18071 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18072 lambda expressions and funcall them, instead of using `fset'.
18073
18074 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18075 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18076
18077 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18078 variable `header-beg'; use `let'.
18079
18080 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18081 `restart', `last-sexp' and `at-do'.
18082
18083 * progmodes/js.el (js--debug): Mark unused parameter.
18084 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18085 (js--splice-into-items): Remove unused variable `item'.
18086 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18087
18088 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18089 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18090 (makefile-complete): Remove unused variable `try'.
18091 (makefile-fill-paragraph, makefile-match-function-end):
18092 Mark unused parameters.
18093
18094 * progmodes/octave-inf.el (inferior-octave-complete):
18095 Remove unused variable `proc'.
18096 (inferior-octave-output-digest): Mark unused parameter.
18097
18098 * progmodes/perl-mode.el (perl-calculate-indent):
18099 Remove unused variable `err'.
18100
18101 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18102 (prolog-indent-line): Mark unused parameters.
18103 (prolog-indent-line): Remove unused variable `beg'.
18104
18105 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18106 (reporter-dont-compact-list): Declare.
18107
18108 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18109 Remove unused variable `char'.
18110 (sh-debug): Mark unused parameter.
18111 (sh-get-indent-info): Remove unused variable `start'.
18112 (sh-calculate-indent): Remove unused variable `var'.
18113
18114 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18115 (simula-electric-keyword): Remove unused variable `null'.
18116 (simula-search-backward, simula-search-forward): Remove unused
18117 variables `begin' and `end'.
18118
18119 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18120 Remove unused variable `pos'.
18121 (vera-electric-tab, vera-comment-uncomment-region):
18122 Mark unused parameters.
18123 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18124
7ede3b65
CY
181252011-04-22 Chong Yidong <cyd@stupidchicken.com>
18126
18127 * emacs-lisp/package.el (package--builtins, package-alist)
18128 (package-load-descriptor, package-built-in-p, package-activate)
18129 (define-package, package-installed-p)
18130 (package-compute-transaction, package-buffer-info)
18131 (package--push): Doc fix. Distinguish more clearly between
18132 version strings and version lists.
18133
121656e9
JB
181342011-04-21 Juanma Barranquero <lekktu@gmail.com>
18135
18136 Lexical-binding cleanup.
18137
18138 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18139 (5x5-make-mutate-best):
18140 * play/fortune.el (fortune-in-buffer):
18141 * play/gomoku.el (gomoku-init-display):
18142 * play/solitaire.el (solitaire, solitaire-do-check):
18143 * play/tetris.el (tetris-default-update-speed-function):
18144 Mark unused parameters.
18145
18146 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18147 (bubbles--shift): Remove unused variable `char-org'.
18148 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18149 (bubbles--show-images): Remove unused variable `char'.
18150
18151 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18152 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18153 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18154 (decipher-analyze-buffer): Use ?\s.
18155 (decipher-make-checkpoint): Remove unused variable `mapping'.
18156
18157 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18158
18159 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18160 Remove unused variable `result'; use `let'.
18161
18162 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18163 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18164 (gametree-children-shown-p, gametree-compute-reduced-score):
18165 Use `ignore-errors'.
18166
18167 * play/handwrite.el (ps-lpr-switches): Declare.
18168 (handwrite): Remove unused variables `pmin' and `lastp'.
18169
18170 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18171
18172 * play/landmark.el (landmark-init-display)
18173 (landmark-update-naught-weights): Mark unused parameters.
18174 (landmark-y): Remove unused variable `noise'. Simplify.
18175 (landmark-human-plays): Remove unused variable `score'.
18176
18177 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18178 (mpuz-try-proposal): Remove unused variable `game'.
18179
18180 * play/zone.el (life-patterns): Declare.
18181
80f499c7
JB
181822011-04-20 Juanma Barranquero <lekktu@gmail.com>
18183
18184 * vc/vc.el (ediff-vc-internal): Declare function.
18185
024ff170
SM
181862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18187
c0a193ea
SM
18188 * shell.el: Use lexical-binding and std completion UI.
18189 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18190 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18191 comint-preoutput-filter-functions rather than on
18192 comint-output-filter-functions.
18193 (shell-command-completion, shell--command-completion-data)
18194 (shell-filename-completion, shell-environment-variable-completion)
18195 (shell-c-a-p-replace-by-expanded-directory): New functions.
18196 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18197 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18198 (shell-dynamic-complete-environment-variable): Use them.
18199 (shell-dynamic-complete-as-environment-variable)
18200 (shell-dynamic-complete-as-command): Remove.
18201 (shell-match-partial-variable): Match past point.
18202 * comint.el: Clean up use of completion-at-point-functions.
18203 (comint-completion-at-point): New function.
18204 (comint-mode): Use it completion-at-point-functions.
18205 (comint-dynamic-complete): Make it obsolete.
18206 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18207 (comint-c-a-p-replace-by-expanded-history): New function.
18208 (comint-dynamic-complete-functions)
18209 (comint-replace-by-expanded-history): Use it.
18210 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18211 termination strings. Try harder to avoid second try-completion.
18212 (completion-in-region-mode-map): Disable bindings that don't work yet.
18213
2dbaa080
SM
18214 * comint.el: Use lexical-binding. Require CL.
18215 (comint-dynamic-complete-functions): Use comint-filename-completion.
18216 (comint-completion-addsuffix): Tweak custom type.
18217 (comint-filename-completion, comint--common-suffix)
18218 (comint--common-quoted-suffix, comint--table-subvert)
18219 (comint--complete-file-name-data): New functions.
18220 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18221 (comint-dynamic-list-filename-completions): Use them.
18222 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18223
2dbaa080
SM
18224 * minibuffer.el (completion-in-region-mode):
18225 Keep completion-in-region-mode--predicate global.
18226 (completion-in-region--postch):
18227 Assume completion-in-region-mode--predicate is not null.
18228
c79a6f38
SM
18229 * progmodes/flymake.el (flymake-start-syntax-check-process):
18230 Obey `dir'. Simplify.
18231
024ff170
SM
18232 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18233 we're in VC after all.
18234
1c6c854e
CS
182352011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18236
18237 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18238 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18239 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18240
bed7f140
SM
182412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18242
332e62ab
SM
18243 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18244 add sanity check.
18245
bed7f140
SM
18246 * obsolete/erc-hecomplete.el: Make obsolete.
18247 * obsolete/: Standardize obsolescence info in the header.
18248
f195c582
GM
182492011-04-20 Glenn Morris <rgm@gnu.org>
18250
18251 * calendar/solar.el (solar-horizontal-coordinates):
18252 Use the longitude argument rather than `calendar-longitude'.
18253 (solar-date-next-longitude): Remove unused locals.
18254
cb79b8c0
VJL
182552011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18256
18257 * whitespace.el: New version 13.2.1.
18258
182592011-04-20 felix <EmacsWiki> (tiny change)
18260
d8e4b68b 18261 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18262 switching between major modes on a file.
18263
602ea69d
SM
182642011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18265
18266 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18267 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18268 multi-line comments as well.
18269
06b60517
JB
182702011-04-19 Juanma Barranquero <lekktu@gmail.com>
18271
18272 Lexical-binding cleanup.
18273
18274 * arc-mode.el (archive-mode-revert):
18275 * cmuscheme.el (scheme-interactively-start-process):
18276 * custom.el (custom-initialize-delay):
18277 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18278 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18279 * emacs-lock.el (emacs-lock-clear-sentinel):
18280 * ezimage.el (defezimage):
18281 * follow.el (follow-avoid-tail-recenter):
18282 * fringe.el (set-fringe-mode-1):
18283 * generic-x.el (bat-generic-mode-compile):
18284 * help-mode.el (help-info-variable, help-do-xref)
18285 (help-mode-revert-buffer):
18286 * help.el (view-emacs-todo):
18287 * iswitchb.el (iswitchb-completion-help):
18288 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18289 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18290 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18291 * locate.el (locate-update):
18292 * longlines.el (longlines-encode-region)
18293 (longlines-after-change-function):
18294 * outline.el (outline-isearch-open-invisible):
18295 * ps-def.el (declare-function, charset-dimension, char-width)
18296 (encode-char):
18297 * ps-mule.el (ps-mule-plot-string):
18298 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18299 (recentf-edit-list-select, recentf-edit-list-validate)
18300 (recentf-open-files-action):
18301 * rect.el (delete-whitespace-rectangle-line)
18302 (rectangle-number-line-callback):
18303 * register.el (window-configuration-to-register)
18304 (frame-configuration-to-register):
18305 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18306 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18307 (xselect-convert-to-targets, xselect-convert-to-delete)
18308 (xselect-convert-to-filename, xselect-convert-to-charpos)
18309 (xselect-convert-to-lineno, xselect-convert-to-colno)
18310 (xselect-convert-to-os, xselect-convert-to-host)
18311 (xselect-convert-to-user, xselect-convert-to-class)
18312 (xselect-convert-to-name, xselect-convert-to-integer)
18313 (xselect-convert-to-atom, xselect-convert-to-identity):
18314 * subr.el (declare, ignore, process-kill-without-query)
18315 (text-clone-maintain):
18316 * terminal.el (te-get-char, te-tic-sentinel):
18317 * tool-bar.el (tool-bar-make-keymap):
18318 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18319 * type-break.el (type-break-mode, type-break-noninteractive-query):
18320 * view.el (View-back-to-mark):
18321 * wid-browse.el (widget-browse-action, widget-browse-widget)
18322 (widget-browse-widgets, widget-browse-sexp):
18323 * widget.el (define-widget-keywords):
18324 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18325 Mark unused parameters.
18326
18327 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18328 (align-areas): Remove unused variable `look'.
18329 (align-region): Remove unused variables `real-end' and `pos-list'.
18330
18331 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18332
18333 * bindings.el (mode-line-modified, mode-line-remote):
18334 Mark unused parameters.
18335 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18336
18337 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18338 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18339
18340 * comint.el (comint-history-isearch-pop-state)
18341 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18342 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18343 (comint-substitute-in-file-name): Doc fix.
18344
18345 * completion.el (cmpl-statistics-block): Mark unused parameter.
18346 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18347 (save-completions-to-file, load-completions-from-file):
18348 Remove unused local variable `e'.
18349
18350 * composite.el (compose-chars): Remove unused variable `len'.
18351 (lgstring-insert-glyph): Remove unused variable `g'.
18352 (compose-glyph-string): Remove unused variables `ascent',
18353 `descent', `lbearing' and `rbearing'.
18354 (compose-glyph-string-relative): Remove unused variables
18355 `lbearing', `rbearing' and `wadjust'.
18356 (compose-gstring-for-graphic): Remove unused variables `header',
18357 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18358 (compose-gstring-for-terminal): Remove unused variables `header'
18359 and `nchars'. Use `let', not `let*'.
18360
18361 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18362 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18363 (Custom-buffer-done, custom-buffer-create-internal)
18364 (custom-browse-visibility-action, custom-browse-group-tag-action)
18365 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18366 (widget-magic-mouse-down-action, custom-toggle-parent)
18367 (custom-add-parent-links, custom-toggle-hide-variable)
18368 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18369 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18370 (custom-face-menu-create, custom-variable-menu-create, get)
18371 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18372 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18373 (customize-apropos): Remove unused variable `tests'.
18374 (custom-group-value-create): Remove unused variable `hidden-p'.
18375 (sort-fold-case): Declare.
18376
18377 * cus-theme.el (custom-reset-standard-faces-list)
18378 (custom-reset-standard-variables-list): Declare.
18379 (customize-create-theme, custom-theme-revert, custom-theme-write)
18380 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18381 Mark unused parameters.
18382
18383 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18384
18385 * delim-col.el (delimit-columns-max): Move defvar before first use.
18386
18387 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18388 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18389
18390 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18391 (auto-insert): Declare.
18392 (desktop-restore-file-buffer): Rename desktop-* parameters;
18393 mark unused ones.
18394 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18395 (desktop-buffer): Rename desktop-* parameters.
18396
18397 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18398 (dframe-reposition-frame-xemacs, dframe-help-echo)
18399 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18400 Mark unused parameters.
18401
18402 * dired-aux.el (backup-extract-version-start, overwrite-query)
18403 (overwrite-backup-query, rename-regexp-query)
18404 (rename-non-directory-query): Declare.
18405 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18406 (dired-add-entry): Remove unused variable `orig-file-name'.
18407 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18408 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18409 `dired-copy-preserve-time' directly.
18410 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18411 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18412
18413 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18414 (dired-virtual-revert, dired-make-relative-symlink):
18415 Mark unused parameters.
18416 (manual-program): Declare.
18417 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18418 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18419 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18420
18421 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18422
18423 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18424
18425 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18426 Declare.
18427
18428 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18429
18430 * electric.el (Electric-command-loop): Rename parameter
18431 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18432
18433 * expand.el (expand-in-literal): Remove unused variable `here'.
18434
18435 * facemenu.el (facemenu-add-new-color):
18436 Remove unused variable `docstring'.
18437
18438 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18439 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18440 (face-attr-construct): Mark unused parameter. Doc fix.
18441 (read-color): Remove unused variable `hex-string'.
18442
18443 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18444 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18445 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18446 (display-buffer-other-frame): Remove unused variable `old-window'.
18447 (kill-buffer-hook): Declare.
18448 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18449 Mark unused parameters.
18450 (after-find-file): Pass 1 to `auto-save-mode', not t.
18451
18452 * files-x.el (auto-insert): Declare.
18453 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18454
18455 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18456 variable `buf'. Mark unused parameter.
06b60517
JB
18457 (find-lisp-insert-directory): Mark unused parameter.
18458
18459 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18460 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18461 (format-common-tail): Remove, unused.
18462 (format-deannotate-region): Remove unused variable `loc'.
18463 (format-annotate-region): Remove unused variable `p'.
18464 (format-annotate-single-property-change): Remove unused variables
18465 `default' and `tail'.
18466
18467 * forms.el (read-file-filter): Declare.
18468 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18469
18470 * frame.el (frame-creation-function-alist): Mark unused parameter.
18471 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18472
18473 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18474 Remove unused parameters.
18475 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18476 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18477
18478 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18479 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18480 (hfy-prepare-tag-map): Mark unused parameters.
18481 (htmlfontify-buffer): Use `called-interactively-p'.
18482
18483 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18484 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18485 (ibuffer-do-occur): Mark unused parameters.
18486 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18487 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18488
18489 * ibuffer.el: Don't quote `lambda'.
18490 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18491 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18492 Mark unused parameters.
18493
18494 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18495 (ido-completing-read): Mark unused parameters.
18496 (ido-copy-current-word): Mark unused parameters;
18497 remove unused variable `name'.
18498 (ido-sort-merged-list): Remove unused parameter `dirs'.
18499
18500 * ielm.el (ielm-input-sender): Mark unused parameter.
18501 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18502 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18503 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18504 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18505 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18506
18507 * image-dired.el (image-dired-display-thumbs): Remove unused
18508 variables `curr-file' and `count'.
18509 (image-dired-remove-tag): Remove unused variable `start'.
18510 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18511 variable `curr-file'
18512 (image-dired-rotate-original): Remove unused variable `temp-file'.
18513 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18514 Remove unused variable `file'.
18515 (image-dired-gallery-generate): Remove unused variable `curr'.
18516 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18517
18518 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18519
18520 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18521
18522 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18523
18524 * isearch.el (minibuffer-history-symbol): Declare.
18525 (isearch-edit-string): Remove unused variable `err'.
18526 (isearch-message-prefix, isearch-message-suffix):
18527 Mark unused parameters.
18528
18529 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18530
18531 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18532
18533 * makesum.el (double-column): Remove unused variable `cnt'.
18534
18535 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18536 (ido-ignore-item-temp-list): Declare.
18537
18538 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18539 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18540 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18541 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18542 `mouse-col-delta'.
18543
18544 * mouse-sel.el (mouse-extend-internal):
18545 Remove unused variable `orig-window-frame'.
18546
18547 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18548 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18549 Move declarations before first use.
18550 (pcomplete-opt): Mark unused parameters; doc fix.
18551
18552 * proced.el (proced-revert): Mark unused parameter.
18553 (proced-send-signal): Remove unused variable `err'.
18554
18555 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18556 Rename parameter PREFIX-ARG to ARG.
18557 (ps-basic-plot-string, ps-basic-plot-whitespace):
18558 Mark unused parameters.
18559
18560 * replace.el (replace-count): Define.
18561 (occur-revert-function): Mark unused parameters.
18562 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18563 (isearch-case-fold-search, isearch-string): Declare.
18564 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18565 bind `case-fold-search'. Remove unused variables `beg' and `end',
18566 and simplify.
18567 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18568 COUNT and bind `replace-count'.
18569 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18570 to COUNT.
18571
18572 * savehist.el (print-readably, print-string-length): Declare.
18573
18574 * shadowfile.el (shadow-expand-cluster-in-file-name):
18575 Remove unused variable `cluster'.
18576 (shadow-copy-file): Remove unused variable `i'.
18577 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18578 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18579 (shadow-define-literal-group, shadow-define-regexp-group)
18580 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18581
18582 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18583 (shell): Use `called-interactively-p'.
18584 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18585
18586 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18587 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18588 (delete-backward-char): Remove unused variable `ocol'.
18589 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18590 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18591 (event-apply-hyper-modifier, event-apply-shift-modifier)
18592 (event-apply-control-modifier, event-apply-meta-modifier):
18593 Mark unused parameters.
18594 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18595 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18596
18597 * speedbar.el (speedbar-ignored-directory-expressions)
18598 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18599 (speedbar-find-file, speedbar-dir-follow)
18600 (speedbar-directory-buttons-follow, speedbar-tag-find)
18601 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18602 (speedbar-buffers-line-directory, speedbar-buffer-click):
18603 Mark unused parameters.
18604 (speedbar-tag-file): Remove unused variable `mode'.
18605 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18606
18607 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18608
18609 * talk.el (talk): Remove unused variable `display'.
18610
18611 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18612 (tar-write-region-annotate): Mark unused parameter.
18613
18614 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18615 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18616 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18617 warning by another.
18618
18619 * time-stamp.el (time-stamp-string-preprocess):
18620 Remove unused variable `require-padding'.
18621
18622 * tree-widget.el (widget-glyph-enable): Declare.
18623 (tree-widget-action): Mark unused parameter.
18624
18625 * w32-fns.el (x-get-selection): Mark unused parameter.
18626 (autoload-make-program, generated-autoload-file): Declare.
18627
18628 * wdired.el (wdired-revert): Mark unused parameters.
18629 (wdired-xcase-word): Remove unused variable `err'.
18630
18631 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18632 (whitespace-help-scroll): Remove unused variable `data-help'.
18633
18634 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18635 (widget-image-insert, widget-after-change, default)
18636 (widget-default-format-handler, widget-default-notify)
18637 (widget-default-prompt-value, widget-info-link-action)
18638 (widget-url-link-action, widget-function-link-action)
18639 (widget-variable-link-action, widget-file-link-action)
18640 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18641 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18642 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18643 (widget-insert-button-action, widget-delete-button-action, visibility)
18644 (widget-documentation-link-action, widget-documentation-string-action)
18645 (widget-const-prompt-value, widget-regexp-match, symbol)
18646 (widget-coding-system-prompt-value)
18647 (widget-key-sequence-value-to-external, sexp)
18648 (widget-sexp-value-to-internal, character, vector, cons)
18649 (widget-choice-prompt-value, widget-boolean-prompt-value)
18650 (widget-color--choose-action): Mark unused parameters.
18651 (widget-item-match-inline, widget-choice-match-inline)
18652 (widget-checklist-match, widget-checklist-match-inline)
18653 (widget-group-match): Rename parameter VALUES to VALS.
18654 (widget-field-value-set): Remove unused variable `size'.
18655 (widget-color-action): Remove unused variables `value' and `start'.
18656
18657 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18658 variable `dir'. Doc fix.
06b60517
JB
18659 (windmove-find-other-window): Don't pass it.
18660
18661 * window.el (count-windows): Mark unused parameter.
18662 (bw-adjust-window): Remove unused variable `err'.
18663
18664 * woman.el (woman-file-name): Remove unused variable `default'.
18665 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18666 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18667 (global-font-lock-mode): Declare.
18668 (woman-decode-region): Mark unused parameter.
18669 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18670
18671 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18672 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18673 (x-dnd-handle-moz-url): Remove unused variable `title'.
18674 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18675
18676 * xml.el (xml-parse-tag, xml-parse-attlist):
18677 Remove unused variable `pos'.
18678
bc4f7f3d
GM
186792011-04-19 Glenn Morris <rgm@gnu.org>
18680
18681 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18682 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18683 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18684 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18685 * calendar/cal-html.el (cal-html-insert-minical):
18686 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18687 (calendar-mark-date-pattern):
18688 Prefix "unused" locals.
18689
18690 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18691 optional argument `style'.
18692
18693 * calendar/appt.el (appt-make-list):
18694 * calendar/cal-china.el (calendar-chinese-date-string):
18695 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18696 (diary-hebrew-yahrzeit):
18697 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18698 * calendar/calendar.el (calendar-generate-window):
18699 * calendar/time-date.el (time-to-days):
18700 Remove unused local variables.
18701
16a43933
CY
187022011-04-18 Chong Yidong <cyd@stupidchicken.com>
18703
18704 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18705 glyphless-char-display table.
18706 (tabulated-list-glyphless-char-display): New var.
18707
7eed1860
SS
187082011-04-18 Sam Steingold <sds@gnu.org>
18709
18710 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18711 to acknowledgments.
18712
4d2d1ccd
GM
187132011-04-17 Glenn Morris <rgm@gnu.org>
18714
18715 * calendar/diary-lib.el (diary-sexp-entry):
18716 * calendar/holidays.el (holiday-sexp):
18717 Set debug-on-error rather than the removed stack-trace-on-error.
18718
239da61d
GM
187192011-04-16 Glenn Morris <rgm@gnu.org>
18720
18721 * progmodes/f90.el: Use lexical-binding.
18722 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18723
8b05752a
SM
187242011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18725
daca8ba5
SM
18726 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18727 (mail-mode): Setup mailalias completion here instead.
18728 * mail/mailalias.el: Use lexical-binding.
18729 (pattern, mailalias-done): Declare dynamic.
18730 (mail-completion-at-point-function): New function, from mail-complete.
18731 (mail-complete): Use it.
18732 (mail-completion-expand): New function.
18733 (mail-get-names): Use it.
18734 (mail-directory, mail-directory-process, mail-directory-stream):
18735 Don't use `pattern' for lexically bound arg.
18736
6f542485
SM
18737 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18738
037e7c3f
SM
18739 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18740 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18741 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18742
8b05752a
SM
18743 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18744 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18745 (byte-interactive-p): Define them again, for use when inlining
18746 old code.
18747
49093f60
JB
187482011-04-15 Juanma Barranquero <lekktu@gmail.com>
18749
18750 * loadup.el: Use `string-to-number', not `string-to-int'.
18751
b5b8e7de
SM
187522011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18753
18754 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18755 gud-gdb-complete-command.
18756 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18757 (gud-gdb-completion-at-point): New function.
18758 (gud-gdb-completions): Remove.
18759
f42efeb5
MA
187602011-04-14 Michael Albinus <michael.albinus@gmx.de>
18761
49093f60
JB
18762 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18763 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18764 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18765 whether `executable-find' is bound.
f42efeb5
MA
18766
18767 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18768
e240cc21
SM
187692011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18770
18771 * minibuffer.el (completion-in-region-mode-predicate)
18772 (completion-in-region-mode--predicate): New vars.
18773 (completion-in-region, completion-in-region--postch)
18774 (completion-in-region-mode): Use them.
18775 (completion--capf-wrapper): Also return the hook function.
18776 (completion-at-point, completion-help-at-point):
18777 Adjust and provide a predicate.
c2bd2ab0
SM
18778
18779 Preserve arg names for advice of subr and lexical functions (bug#8457).
18780 * help-fns.el (help-function-arglist): Consolidate the subr and
18781 new-byte-code cases. Add argument `preserve-names' to extract names
18782 from the docstring when needed.
18783 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18784 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18785 (ad-arglist): Use help-function-arglist's new arg.
18786 (ad-definition-type): Use cond.
18787
c183f693
JB
187882011-04-13 Juanma Barranquero <lekktu@gmail.com>
18789
06641a47
JB
18790 * autorevert.el (auto-revert-handler):
18791 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18792 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18793 Don't quote lambda.
18794
c183f693
JB
18795 * image-mode.el (image-transform-set-scale):
18796 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18797
1e3b6001
G
187982011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18799
18800 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18801 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18802 Upgrades via gnutls-cli are too slow to be done opportunistically.
18803
2d6af8dd
JB
188042011-04-12 Juanma Barranquero <lekktu@gmail.com>
18805
18806 * dframe.el (dframe-current-frame): Remove spurious quote.
18807
c0749a51
GM
188082011-04-12 Glenn Morris <rgm@gnu.org>
18809
088d0d61
GM
18810 * calendar/cal-tex.el (cal-tex-end-document):
18811 Try to automatically use latin1 input if needed.
18812
c0749a51
GM
18813 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18814 Don't try to cons a mark onto an empty element.
18815
5c90fde0
LL
188162011-04-11 Leo Liu <sdl.web@gmail.com>
18817
18818 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18819 buffers.
18820 (ido-kill-buffer-at-head): Support killing virtual buffers.
18821
369e974d
CY
188222011-04-10 Chong Yidong <cyd@stupidchicken.com>
18823
18824 * minibuffer.el (completion-show-inline-help): New var.
18825 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18826 (minibuffer-force-complete, minibuffer-complete-word):
18827 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18828
18829 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18830 to avoid interference from inline help (Bug#5849).
18831
37f1c930
LL
188322011-04-10 Leo Liu <sdl.web@gmail.com>
18833
099c39a4
JB
18834 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18835 Fix typo.
37f1c930 18836
a32d4040
CY
188372011-04-09 Chong Yidong <cyd@stupidchicken.com>
18838
18839 * image-mode.el (image-toggle-display-image): Signal an error if
18840 not in Image mode.
18841 (image-transform-mode, image-transform-resize)
18842 (image-transform-set-rotation): Doc fix.
daca8ba5 18843 (image-transform-set-resize): Delete.
a32d4040
CY
18844 (image-transform-set-scale, image-transform-fit-to-height)
18845 (image-transform-fit-to-width): Handle image-toggle-display-image
18846 and image-transform-resize directly.
18847
099c39a4 188482011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18849
18850 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18851 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18852 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18853 (doc-view-mode-map): Add bindings for the new functions.
18854
099c39a4 188552011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18856
4d61f28d 18857 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18858 Fix typo in docstring.
18859
3726838a
EZ
188602011-04-08 Eli Zaretskii <eliz@gnu.org>
18861
04f33f1e
EZ
18862 * files.el (file-size-human-readable): Produce one digit after
18863 decimal, like "ls -lh" does.
18864
18865 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18866 the file size representation.
18867
3726838a
EZ
18868 * simple.el (list-processes): If async subprocesses are not
18869 available, error out with a clear error message.
18870
cbb59342
CY
188712011-04-08 Chong Yidong <cyd@stupidchicken.com>
18872
18873 * help.el (help-form-show): New function, to be called from C.
18874 Put help-form output in a buffer named differently than *Help*.
18875
e3971c44
EZ
188762011-04-08 Eli Zaretskii <eliz@gnu.org>
18877
18878 * files.el (file-size-human-readable): New function.
18879
18880 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18881 computing the representation inline. Don't require `cl'.
18882
12544bbe
GM
188832011-04-08 Glenn Morris <rgm@gnu.org>
18884
a1de6c6a
GM
18885 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18886
3c4671f4
GM
18887 * net/browse-url.el (browse-url-firefox):
18888 Test system-type, not system-configuration.
18889
b605679c
GM
18890 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18891 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18892 Use log-edit-empty-buffer-p. (Bug#7598)
18893
56442f0c
GM
18894 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18895 (rlogin-mode-map): Initialize in the defvar.
18896 (rlogin): Use ignore-errors.
18897
12544bbe
GM
18898 * replace.el (occur-mode-map): Some fixes for menu items.
18899
eb237b0f
AH
189002011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18901
18902 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18903
7d668f2c
CY
189042011-04-06 Chong Yidong <cyd@stupidchicken.com>
18905
e67a13ab
CY
18906 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18907 issuing unused warnings.
18908
18909 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18910 macro directly.
18911
7d668f2c
CY
18912 * simple.el: Lisp reimplement of list-processes. Based on an
18913 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18914 (process-menu-mode): New major mode.
18915 (list-processes--refresh, list-processes):
18916 (process-menu-visit-buffer): New functions.
18917
18918 * files.el (save-buffers-kill-emacs): Don't assume any return
18919 value of list-processes, which is undocumented anyway.
18920
a83ec3c9
CY
189212011-04-06 Chong Yidong <cyd@stupidchicken.com>
18922
18923 * emacs-lisp/tabulated-list.el: New file.
18924
e91a96fe
CY
18925 * emacs-lisp/package.el: Use Tabulated List mode.
18926 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18927 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18928 table format using Tabulated List mode variables.
18929 (package--push): New macro, replacing package-list-maybe-add.
18930 (package-menu--generate): Use package--push. Renamed from
18931 package--generate-package-list.
18932 (package-menu-refresh, list-packages): Use it.
daca8ba5 18933 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18934 Return insertion data instead of inserting it directly.
099c39a4
JB
18935 (package-menu-describe-package, package-menu-execute):
18936 Use tabulated-list-get-id.
e91a96fe
CY
18937 (package-menu-mark-delete, package-menu-mark-install)
18938 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18939 (package-menu-mark-obsolete-for-deletion):
18940 Use tabulated-list-put-tag.
e91a96fe
CY
18941 (package--list-packages, package-menu-revert)
18942 (package-menu-get-package, package-menu-get-version)
18943 (package-menu-sort-by-column): Functions deleted.
18944 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18945 (package-menu--status-predicate, package-menu--version-predicate)
18946 (package-menu--name-predicate)
18947 (package-menu--description-predicate): Handle arguments in the
18948 Tabulated List format.
18949 (package-list-packages-no-fetch): Call list-packages.
18950
3e214b50
JB
189512011-04-06 Juanma Barranquero <lekktu@gmail.com>
18952
18953 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18954 (after-find-file): Don't bind it.
3e214b50
JB
18955 (revert-buffer-in-progress-p): New variable.
18956 (revert-buffer): Bind it.
18957 Pass nil for `after-find-file-from-revert-buffer'.
18958
18959 * saveplace.el (save-place-find-file-hook): Use new variable
18960 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18961
3f0f1700
GM
189622011-04-06 Glenn Morris <rgm@gnu.org>
18963
c0274801
GM
18964 * Makefile.in (AUTOGEN_VCS): New variable.
18965 (autoloads): Use $AUTOGEN_VCS.
18966
3f0f1700
GM
18967 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18968 * calendar/calendar.el (calendar-mode-map):
18969 Check for toolkit scroll bars. (Bug#8305)
18970
41ea9e48
CY
189712011-04-05 Chong Yidong <cyd@stupidchicken.com>
18972
18973 * minibuffer.el (completion-in-region--postch)
18974 (completion-in-region-mode): Remove unnecessary messages.
18975
6194c800
JB
189762011-04-05 Juanma Barranquero <lekktu@gmail.com>
18977
33256f14
JB
18978 * font-lock.el (font-lock-refresh-defaults):
18979 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18980 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18981
6194c800
JB
18982 * info.el (Info-directory-list, Info-read-node-name-2)
18983 (Info-split-parameter-string): Doc fixes.
18984 (Info-virtual-nodes): Reflow docstring.
18985 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18986 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18987 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18988 Fix typos in docstrings.
18989 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18990 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18991 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18992 (Info-restore-desktop-buffer): Mark unused parameters.
18993 (Info-directory-find-file, Info-directory-find-node)
18994 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18995 (Info-virtual-index-find-node, Info-apropos-find-file)
18996 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18997 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18998 (Info-virtual-index): Remove unused local variable `nodename'.
18999
b87a8200 190002011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19001
b87a8200
DD
19002 * net/rcirc.el: Update my e-mail address.
19003 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19004
3b2ff876
CY
190052011-04-05 Chong Yidong <cyd@stupidchicken.com>
19006
19007 * startup.el (command-line): Save the cursor's theme-face
19008 directly, instead of using face-override-spec.
19009
19010 * custom.el (load-theme): Minor optimization in assigning faces.
19011
8d17e7ca
JB
190122011-04-04 Juanma Barranquero <lekktu@gmail.com>
19013
19014 * help-fns.el (describe-variable): Complete all variables having
19015 documentation, including keywords.
19016 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19017
2fbc1934
JB
190182011-04-04 Juanma Barranquero <lekktu@gmail.com>
19019
19020 Convert to lexical-binding.
19021
19022 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19023 (bs--get-marked-string, bs--get-modified-string)
19024 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19025 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19026 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19027
19028 * ehelp.el (electric-help-execute-extended)
19029 (electric-help-ctrl-x-prefix):
19030 * hexl.el (hexl-revert-buffer-function):
19031 * linum.el (linum-after-change, linum-after-scroll):
19032 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19033
19034 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19035
74f50695
DU
190362011-04-04 Daiki Ueno <ueno@unixuser.org>
19037
19038 * epa-dired.el:
19039 * epa-mail.el:
19040 * epa-hook.el:
19041 * epa-file.el:
19042 * epa.el:
19043 * epg.el: Use lexical binding.
19044
c11325f7
CY
190452011-04-03 Chong Yidong <cyd@stupidchicken.com>
19046
0d9e9a12
CY
19047 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19048
c11325f7 19049 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19050 dictionary case for flyspell-mark-duplications-exceptions.
19051 Use regexp matching for languages.
c11325f7
CY
19052 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19053 default dictionary (Bug#7926).
19054
da91b5f2
CY
190552011-04-02 Chong Yidong <cyd@stupidchicken.com>
19056
099c39a4
JB
19057 * emacs-lisp/package.el (package--with-work-buffer):
19058 Recognize https URLs.
da91b5f2 19059
099c39a4
JB
19060 * net/network-stream.el: Move from gnus/proto-stream.el.
19061 Change prefix to network-stream throughout.
da91b5f2
CY
19062 (open-protocol-stream): Merge into open-network-stream, leaving
19063 open-protocol-stream as an alias. Handle nil BUFFER args.
19064
19065 * subr.el (open-network-stream): Move to net/network-stream.el.
19066
afa8e9f6
GM
190672011-04-02 Glenn Morris <rgm@gnu.org>
19068
1d2e369d
GM
19069 * find-dired.el (find-exec-terminator): New option.
19070 (find-ls-option): Test for -ls support.
19071 (find-ls-subdir-switches): Test for -b in find-ls-option.
19072 (find-dired, find-grep-dired): Doc fixes.
19073 (find-dired): Use find-exec-terminator.
19074
8abb7da8 19075 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19076 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19077 (find-name-arg): Remove purecopy.
8abb7da8 19078
f3ca7378
GM
19079 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19080 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19081 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19082 accordingly. Don't add the null-device if not needed.
19083
afa8e9f6
GM
19084 * files.el (save-some-buffers): Doc fix.
19085
35eae264
EZ
190862011-04-02 Eli Zaretskii <eliz@gnu.org>
19087
19088 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19089
26b51db5
JB
190902011-04-01 Juanma Barranquero <lekktu@gmail.com>
19091
19092 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19093 Use `dolist' rather than `mapcar'.
19094
7200d79c
SM
190952011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19096
03408648 19097 Add lexical binding.
7200d79c 19098
03408648
SM
19099 * subr.el (apply-partially): Use new closures rather than CL.
19100 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19101 (dolist, dotimes): Use slightly different expansion for lexical code.
19102 (functionp): Move to C.
19103 (letrec): New macro.
19104 (with-wrapper-hook): Use it and apply-partially instead of CL.
19105 (eval-after-load): Preserve lexical-binding.
19106 (save-window-excursion, with-output-to-temp-buffer): Turn them
19107 into macros.
7200d79c 19108
03408648
SM
19109 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19110
19111 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19112 than the arglist.
19113 (help-add-fundoc-usage): Don't add `Not documented'.
19114 (help-function-arglist): Handle closures, subroutines, and new
19115 byte-code-functions.
19116 (help-make-usage): Remove leading underscores.
19117 (describe-function-1): Handle closures.
19118 (describe-variable): Use special-variable-p for completion.
19119
19120 * files.el (lexical-binding): Declare safe.
f488fb65 19121
03408648
SM
19122 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19123 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19124 (pcase): Add `let' pattern.
19125 Change memoization so it actually works.
19126 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19127 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19128 <let>: New case.
f488fb65 19129
03408648
SM
19130 * emacs-lisp/macroexp.el: Use lexical binding.
19131 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19132 Don't convert ' to #' without checking that it's indeed quoting
19133 a lambda.
19134
19135 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19136 Use eval-sexp-add-defvars.
03408648
SM
19137 (eval-sexp-add-defvars): New fun.
19138
19139 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19140
19141 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19142 Don't autoload.
19143 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19144 than the internal `byte-compile-lambda'.
19145 (defmethod): Don't hide code under quotes.
19146 (eieio-defmethod): New `code' argument.
19147
19148 * emacs-lisp/eieio-comp.el: Remove.
19149
19150 * emacs-lisp/edebug.el (edebug-eval-defun)
19151 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19152 (edebug-toggle): Avoid `eval'.
19153
19154 * emacs-lisp/disass.el (disassemble-internal): Handle new
19155 `closure' objects.
19156 (disassemble-1): Handle new byte codes.
19157
19158 * emacs-lisp/cl.el (pushnew): Silence warning.
19159
19160 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19161 (cl-byte-compile-throw): Remove.
19162 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19163
19164 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19165 closures.
19166
19167 * emacs-lisp/cconv.el: New file.
19168
19169 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19170 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19171 (byte-compile-initial-macro-environment):
19172 Handle declare-function here.
19173 (byte-compile--lexical-environment): New var.
19174 (byte-stack-ref, byte-stack-set, byte-discardN)
19175 (byte-discardN-preserve-tos): New lap codes.
19176 (byte-interactive-p): Don't use any more.
19177 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19178 New macros.
19179 (byte-compile-lapcode): Use them and handle new lap codes.
19180 (byte-compile-obsolete): Remove.
19181 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19182 (byte-compile-arglist-warn): Check late def of inlinable funs.
19183 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19184 since they should have been expanded by now.
19185 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19186 (byte-compile-from-buffer): Remove unused second arg.
19187 (byte-compile-preprocess): New function.
19188 (byte-compile-toplevel-file-form): New function to distinguish
19189 file-form calls from outside from file-form calls from hunk-handlers.
19190 (byte-compile-file-form): Simplify.
19191 (byte-compile-file-form-defsubst): Remove.
19192 (byte-compile-file-form-defmumble): Simplify now that
19193 byte-compile-lambda always returns a byte-code-function.
19194 (byte-compile): Preprocess.
19195 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19196 Remove, not used any more.
19197 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19198 (byte-compile-make-args-desc): New funs.
19199 (byte-compile-lambda): Handle lexical functions. Always return
19200 a byte-code-function.
19201 (byte-compile-reserved-constants): New var, to make up room for
19202 closed-over variables.
19203 (byte-compile-constants-vector): Obey it.
19204 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19205 (byte-compile-macroexpand-declare-function): New function.
19206 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19207 byte-code-functions.
19208 (byte-compile-form): Check obsolescence here.
19209 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19210 (byte-compile-variable-ref): Remove.
19211 (byte-compile-dynamic-variable-op): New fun.
19212 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19213 (byte-compile-variable-set): New funs.
19214 (byte-compile-discard): Add 2 args.
19215 (byte-compile-stack-ref, byte-compile-stack-set)
19216 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19217 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19218 macroexpand-all instead.
19219 (byte-compile-quote-form): Remove.
19220 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19221 (byte-compile-bind, byte-compile-unbind): New funs.
19222 (byte-compile-let): Handle let* and lexical binding.
19223 (byte-compile-let*): Remove.
19224 (byte-compile-catch, byte-compile-unwind-protect)
19225 (byte-compile-track-mouse, byte-compile-condition-case):
19226 Handle a new :fun-body form, used for lexical scoping.
19227 (byte-compile-save-window-excursion)
19228 (byte-compile-with-output-to-temp-buffer): Remove.
19229 (byte-compile-defun): Simplify.
19230 (byte-compile-stack-adjustment): New fun.
19231 (byte-compile-out): Use it.
19232 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19233
19234 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19235 handler any more.
19236
19237 * emacs-lisp/byte-opt.el: Use lexical binding.
19238 (byte-inline-lapcode): Remove (to bytecomp).
19239 (byte-compile-inline-expand): Pay attention to inlining to/from
19240 lexically bound code.
19241 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19242 any more.
19243 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19244 any more and don't call compiler-macros.
19245 (byte-compile-splice-in-already-compiled-code): Remove.
19246 (byte-code): Don't inline any more.
19247 (disassemble-offset): Receive `bytes' as argument rather than via
19248 dynamic scoping.
19249 (byte-compile-tag-number): Declare before first use.
19250 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19251 `return' even if make-spliceable.
19252 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19253 obsolete interactive-p.
19254 (byte-optimize-lapcode): Optimize new lap-codes.
19255 Don't trip up on new form of `byte-constant' lap code.
19256
19257 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19258
19259 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19260
19261 * custom.el (custom-initialize-default, custom-declare-variable):
19262 Use `defvar'.
19263
19264 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19265 New variables.
19266 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19267 (COMPILE_FIRST): Add macroexp and cconv.
19268 * makefile.w32-in: Mirror changes in Makefile.in.
19269
19270 * vc/cvs-status.el:
19271 * vc/diff-mode.el:
19272 * vc/log-edit.el:
19273 * vc/log-view.el:
19274 * vc/smerge-mode.el:
19275 * textmodes/bibtex-style.el:
090bd7cb 19276 * textmodes/css-mode.el:
03408648
SM
19277 * startup.el:
19278 * uniquify.el:
da91b5f2
CY
19279 * minibuffer.el:
19280 * newcomment.el:
19281 * reveal.el:
19282 * server.el:
19283 * mpc.el:
19284 * emacs-lisp/smie.el:
19285 * doc-view.el:
19286 * dired.el:
03408648
SM
19287 * abbrev.el: Use lexical binding.
19288
0f0c1f27
EZ
192892011-04-01 Eli Zaretskii <eliz@gnu.org>
19290
19291 * info.el (info-display-manual): New function.
19292
c82b2579
SM
192932011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19294
19295 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19296
221ddf68
TH
192972011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19298
19299 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19300 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19301
cba6e77e
GM
193022011-03-31 Glenn Morris <rgm@gnu.org>
19303
e040639f
GM
19304 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19305
cba6e77e
GM
19306 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19307
6d0f1c9e
CS
193082011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19309
19310 * progmodes/python.el (python-default-interpreter)
19311 (python-python-command-args, python-jython-command-args)
19312 (python-which-shell, python-which-args, python-which-bufname)
19313 (python-file-queue, python-comint-output-filter-function)
19314 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19315 variables and functions.
19316
3e2d70fd
SM
193172011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19318
19319 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19320 (completion-in-region-mode): New minor mode.
19321 (completion-in-region): Use it.
19322 (completion-in-region--data, completion-in-region-mode-map): New vars.
19323 (completion-in-region--postch): New function.
19324 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19325 New vars.
19326 (completion--capf-wrapper): New function.
19327 (completion-at-point): Use it to track well-behavedness of
19328 hook functions.
19329 (completion-help-at-point): New command.
19330
f3e4086c
JM
193312011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19332
19333 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19334 syntax class to search for whitespace on a single line
19335 (Message-ID: <4D938140.4030905@redhat.com>).
19336
eb7ffc14
LL
193372011-03-30 Leo Liu <sdl.web@gmail.com>
19338
19339 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19340 New commands.
19341 (edit-abbrevs-map): Bind them here.
19342 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19343
d806ab68
KM
193442011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19345
19346 * allout.el (allout-hide-by-annotation, allout-flag-region):
19347 Reduce possibility of overlay leakage by making them volatile.
19348
19349 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19350 hash is not shared between buffers. Mode initialization is
19351 responsible for giving it a useful starting value.
19352 (allout-item-span): Reduce possibility of overlay leakage by
19353 making them volatile.
19354 (allout-widgets-count-buttons-in-region): Add diagnostic function
19355 for tracking down button overlay leaks.
19356
ea622834
LL
193572011-03-29 Leo Liu <sdl.web@gmail.com>
19358
19359 * ido.el (ido-read-internal): Use the default history var
19360 minibuffer-history if no HISTORY is specified.
19361
b62f8267
G
193622011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19363
03408648
SM
19364 * net/imap.el (imap-shell-open, imap-process-connection-type):
19365 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19366 Kerberos, SSL, other subprocesses.
19367
947b6566
LL
193682011-03-28 Leo Liu <sdl.web@gmail.com>
19369
19370 * abbrev.el (abbrev-table-empty-p): New function.
19371 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19372 nonempty ones. (Bug#5937)
19373
5ffb62aa
JD
193742011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19375
19376 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19377
7a097943
LL
193782011-03-27 Leo Liu <sdl.web@gmail.com>
19379
19380 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19381 for foreground and background colors.
19382 (ansi-color-make-color-map): Adapt.
19383
c5b40130
LL
193842011-03-25 Leo Liu <sdl.web@gmail.com>
19385
1f48f7d2
LL
19386 * midnight.el (midnight-time-float): Remove. Note it calculates
19387 the microsecond component incorrectly and seconds-to-time does the
19388 same job.
625897ec 19389 Remove redundant (require 'timer).
1f48f7d2 19390
c5b40130
LL
19391 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19392 (ido-completions): Remove unused arguments. (Bug#8329)
19393
d86d2721
SM
193942011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19395
19396 * minibuffer.el (completion--flush-all-sorted-completions):
19397 Remove itself from hook.
19398 (completion-at-point): Let the functions perform the completion
19399 immediately and return nil or t.
19400 * comint.el (comint-dynamic-complete-functions): Now identical to
19401 completion-at-point-functions.
19402 (comint-dynamic-list-input-ring): Remove unused var `index'.
19403 (comint--match-partial-filename, comint--unquote&expand-filename):
19404 New funs, split from comint-match-partial-filename.
19405 (comint-dynamic-complete): Use completion-at-point.
19406 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19407
e8974c48
DA
194082011-03-24 Drew Adams <drew.adams@oracle.com>
19409
19410 * thingatpt.el: Support `defun'.
19411
def71b5e
LL
194122011-03-23 Leo Liu <sdl.web@gmail.com>
19413
cb5af48e
LL
19414 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19415
def71b5e
LL
19416 * help-mode.el (help-mode-finish): Tweak regexp.
19417
927c53e7
GM
194182011-03-23 Glenn Morris <rgm@gnu.org>
19419
18d05bed
GM
19420 * eshell/esh-opt.el (eshell-eval-using-options):
19421 Do not bind unused local variable `eshell-option-stub'.
19422
927c53e7
GM
19423 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19424
9d0da923
JB
194252011-03-22 Juanma Barranquero <lekktu@gmail.com>
19426
19427 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19428 keymap variable in `with-no-warnings' to avoid a warning when the
19429 keymap has been already `defconst'ed.
19430
4b978a67
LL
194312011-03-22 Leo Liu <sdl.web@gmail.com>
19432
19433 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19434 encode all chars in abbrevs; otherwise use emacs-mule or
19435 utf-8-emacs. (Bug#8308)
19436
5fd62452
JB
194372011-03-22 Juanma Barranquero <lekktu@gmail.com>
19438
0b1596c6
JB
19439 * simple.el (backward-delete-char-untabify):
19440 Avoid warning about using `delete-backward-char'.
19441
5fd62452
JB
19442 * image.el (image-type-file-name-regexps): Make it variable.
19443 `imagemagick-register-types' modifies it, and the user may want
19444 to add new extensions for known image types.
19445 (imagemagick-register-types): Throw error if not using ImageMagick.
19446
0b4e93f1
LL
194472011-03-22 Leo Liu <sdl.web@gmail.com>
19448
19449 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19450 located before rcirc-prompt-end-marker.
19451 (rcirc-complete): Error if point is not after rcirc prompt.
19452 Handle the case when table is nil.
9882e214 19453 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19454
fccee4ab
CY
194552011-03-22 Chong Yidong <cyd@stupidchicken.com>
19456
19457 * custom.el (custom--inhibit-theme-enable): Make it affect only
19458 custom-theme-set-variables and custom-theme-set-faces.
19459 (provide-theme): Ignore custom--inhibit-theme-enable.
19460 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19461 (custom-enabling-themes): Delete variable.
d86d2721
SM
19462 (enable-theme): Accept only loaded themes as arguments.
19463 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19464 (custom-enabled-themes): Forbid themes from setting this.
19465 Eliminate use of custom-enabling-themes.
19466 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19467
af896da6
LL
194682011-03-21 Leo Liu <sdl.web@gmail.com>
19469
19470 * ido.el (ido-read-internal): Add ido-selected to history instead
19471 of user input.
19472
78f64af0
SM
194732011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19474
19475 * subr.el (deferred-action-list, deferred-action-function):
19476 Mark obsolete.
19477
b16ac1ec
LL
194782011-03-21 Leo Liu <sdl.web@gmail.com>
19479
810f7698
LL
19480 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19481 change on 2011-02-13 (bug#8309).
19482
b16ac1ec
LL
19483 * minibuffer.el (read-file-name-function): Change default value.
19484 (read-file-name--defaults): Rename from read-file-name-defaults.
19485 (read-file-name-default): Rename from read-file-name.
19486 (read-file-name): Call read-file-name-function.
19487
4e05e67e
GM
194882011-03-21 Glenn Morris <rgm@gnu.org>
19489
19490 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19491 Doc fixes.
19492
4359915b
CY
194932011-03-21 Chong Yidong <cyd@stupidchicken.com>
19494
19495 * cus-theme.el: Add missing provide statement.
19496 (customize-create-theme): Extract theme value correctly.
19497 (custom-theme-visit-theme): Autoload.
19498 (customize-create-theme): Prompt before inserting default faces.
19499
1fe275ee
JB
195002011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19501
19502 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19503 units and musical notes.
19504
cd394be1 195052011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19506
19507 * ido.el (ido-read-internal): Use completing-read-default.
19508 (ido-completing-read): Fix compatibility with completing-read.
19509
7d476bde
CO
195102011-03-20 Christian Ohler <ohler@gnu.org>
19511
19512 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19513 (ert-delete-all-tests): Use `called-interactively-p' rather than
19514 `interactive-p'.
19515 (ert--make-xrefs-region): Respect END.
19516
fe0fb33e
CY
195172011-03-19 Chong Yidong <cyd@stupidchicken.com>
19518
ff854b0b
CY
19519 * dired-aux.el (dired-create-directory): Signal an error if the
19520 directory already exists (Bug#8246).
19521
fe0fb33e
CY
19522 * facemenu.el (list-colors-display): Call list-faces-display
19523 inside with-help-window.
19524 (list-colors-print): Use display property to align the final
19525 column, instead of checking window-width.
19526
576bce32
EZ
195272011-03-19 Eli Zaretskii <eliz@gnu.org>
19528
4d61f28d 19529 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19530 windows-nt systems.
19531 (emerge-protect-metachars): Quote correctly for ms-dos and
19532 windows-nt systems.
19533
89c41d68 195342011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19535
19536 * info.el (info-initialize): Replace all uses of `:' with
19537 path-separator for compatibility with non-Unix systems.
19538 Cache quoting of path-separator. (Bug#8258)
19539
b14e3e21 195402011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19541
19542 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19543 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19544 (mouse-avoidance-mode): Fix typos in docstrings.
19545
4525ce3e
CY
195462011-03-19 Chong Yidong <cyd@stupidchicken.com>
19547
19548 * startup.el (package-subdirectory-regexp): Move from package.el.
19549 Omit \\` and \\', and let callers add them.
19550
19551 * emacs-lisp/package.el (package-strip-version)
19552 (package-load-all-descriptors): Add \\` and \\' to
19553 package-subdirectory-regexp before using it.
19554 (package-untar-buffer): New arg DIR; ensure that file untars only
19555 into this expected directory. Remove superfluous delete-region.
19556 (package-unpack): Caller changed.
19557 (package-tar-file-info): Use package-subdirectory-regexp.
19558
a904a09a 195592011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19560
a904a09a
SM
19561 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19562 diff-mode-shared-map (bug#8284).
19563 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19564
195652011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19566
19567 * calendar/time-date.el (format-seconds): Use assoc instead of
19568 assoc-string, since assoc-string doesn't exist in XEmacs.
19569
171fc304
JB
195702011-03-17 Juanma Barranquero <lekktu@gmail.com>
19571
19572 * custom.el (custom-known-themes): Reflow docstring.
19573 (custom-theme-load-path): Fix typo in docstring.
19574 (load-theme): Fix typo in error message.
19575 (custom-available-themes, custom-variable-theme-value):
19576 Use `let', not `let*'.
19577
d71990a1
JB
195782011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19579
19580 * calc/README: Mention inclusion of musical notes.
19581
19582 * calc/calc-units.el (calc-lu-quant): Rename from
19583 `calc-logunits-quantity'.
19584 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19585 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19586 (calc-db): Rename from `calc-dblevel'.
19587 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19588 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19589 (calc-np): Rename from `calc-nplevel'.
19590 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19591 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19592 (calc-lu-plus): Rename from `calc-logunits-add'.
19593 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19594 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19595 (calc-lu-minus): Rename from `calc-logunits-sub'.
19596 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19597 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19598 (calc-lu-times): Rename from `calc-logunits-mul'.
19599 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19600 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19601 (calc-lu-divide): Rename from `calc-logunits-div'.
19602 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19603 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19604
19605 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19606 functions being autoloaded.
19607
19608 * calc/calc.el (calc-lu-power-reference): Rename from
19609 `calc-logunits-power-reference'.
19610 (calc-lu-field-reference): Rename from
19611 `calc-logunits-field-reference'.
19612
7a71b18d
GM
19613 * calc/calc-help.el (calc-l-prefix-help):
19614 Mention musical note functions.
d71990a1 19615
40c2934b
SM
196162011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19617
19618 * minibuffer.el (completion-all-sorted-completions):
19619 Use :completion-cycle-penalty text property if present.
19620
b0911414
KM
196212011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19622
19623 * allout.el (allout-yank-processing): Adjust for new rebulleting
19624 regime so bullet being yanked is used without prompting the user
19625 for a choice.
19626
8a05b668
JB
196272011-03-16 Juanma Barranquero <lekktu@gmail.com>
19628
19629 * startup.el (command-line): Warn the user that _emacs is deprecated.
19630
5ba5fb81
JB
196312011-03-16 Juanma Barranquero <lekktu@gmail.com>
19632
19633 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19634 (delphi-verbose, delphi-comment-face, delphi-string-face)
19635 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19636 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19637 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19638 (delphi-new-comment-line, delphi-font-lock-defaults)
19639 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19640 Fix typos in docstrings.
19641
2dab465b
KM
196422011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19643
5ba5fb81 19644 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19645 Invert the roles of character and string values for INSTEAD, so a
19646 string is used for the more common case of a defaulting prompt.
19647
0adf5618
SM
196482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19649
19650 * progmodes/ruby-mode.el (ruby-backward-sexp):
19651 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19652 * play/gamegrid.el (gamegrid-make-face):
19653 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19654 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19655 * notifications.el (notifications-notify):
19656 * net/xesam.el (xesam-search-engines):
19657 * net/quickurl.el (quickurl-list-insert):
19658 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19659
d72700e5
CY
196602011-03-15 Chong Yidong <cyd@stupidchicken.com>
19661
19662 * startup.el (command-line): Update package subdirectory regexp.
19663
49c5410a
SM
196642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19665
c6eee9aa
SM
19666 * allout.el (allout-abbreviate-flattened-numbering)
19667 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19668
49c5410a
SM
19669 * subr.el (read-char-choice): Only show the cursor after the prompt,
19670 not after the answer.
19671
047b2bb9
KR
196722011-03-15 Kevin Ryde <user42@zip.com.au>
19673
19674 * help-fns.el (variable-at-point): Skip leading quotes, if any
19675 (bug#8253).
19676
0a57d256
SM
196772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19678
19679 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19680 warning message.
19681
77c992bc
MA
196822011-03-14 Michael Albinus <michael.albinus@gmx.de>
19683
19684 * shell.el (shell): When called interactively, offer to change the
19685 shell file name on remote hosts.
19686
eebc475d
TZ
196872011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19688
19689 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19690 integration for LDAP parameters. The host, base, user or binddn,
19691 and secret tokens can be specified in a netrc file, for instance.
19692 This is optional because an `auth-source' parameter must be
19693 specified in the search attributes.
19694
9d05d1ba
JB
196952011-03-13 Juanma Barranquero <lekktu@gmail.com>
19696
19697 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19698
09d9db2c
GM
196992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19700
19701 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19702 into declaration. Remove redundant and harmful binding.
19703
197042011-03-12 Eli Zaretskii <eliz@gnu.org>
19705
19706 * files.el (file-ownership-preserved-p): Pass `integer' as an
19707 explicit 2nd argument to `file-attributes'. If the file's owner
19708 is the Administrators group on Windows, and the current user is
19709 Administrator, consider that a match.
19710
19711 * server.el (server-ensure-safe-dir): Consider server directory
19712 safe on MS-Windows if its owner is the Administrators group while
19713 the current Emacs user is Administrator. Use `=' to compare
19714 numerical UIDs, since they could be integers or floats.
19715
219bd536
JB
197162011-03-12 Juanma Barranquero <lekktu@gmail.com>
19717
19718 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19719
f3afd36b
MA
197202011-03-12 Michael Albinus <michael.albinus@gmx.de>
19721
19722 Sync with Tramp 2.2.1.
19723
19724 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19725
19726 * net/trampver.el: Update release number.
19727
3aaaa6f1
SM
197282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19729
94642599
SM
19730 * progmodes/compile.el (compilation--previous-directory): Fix up
19731 various nil/dead-marker mismatches (bug#8014).
19732 (compilation-directory-properties, compilation-error-properties):
19733 Don't call it at a position past the one we're about to change.
19734
3aaaa6f1
SM
19735 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19736 Disable obsolescence warnings in the file that declares it.
19737
14239447
KM
197382011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19739
099c39a4
JB
19740 * allout-widgets.el (allout-widgets-tally):
19741 Initialize allout-widgets-tally as a hash table rather than nil to
19742 prevent mode-line redisplay warnings. Also, clarify the module
19743 description and fix a comment typo.
14239447 19744
135e287c
JB
197452011-03-11 Juanma Barranquero <lekktu@gmail.com>
19746
19747 * help-fns.el (describe-variable): Don't complete keywords.
19748 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19749
ffbf300e
CY
197502011-03-10 Chong Yidong <cyd@stupidchicken.com>
19751
ba08b241
CY
19752 * emacs-lisp/package.el (package-version-join): Impose a standard
19753 string representation for pre/alpha/beta version lists.
19754 (package-unpack-single): Standardize the directory name by passing
19755 it through package-version-join.
19756 (package-strip-rcs-id): Accept any version string that does not
19757 signal an error in version-to-list.
ffbf300e 19758
f346fd6b
MA
197592011-03-10 Michael Albinus <michael.albinus@gmx.de>
19760
19761 * simple.el (delete-trailing-whitespace): Return nil for the
19762 benefit of `write-file-functions'.
19763
ccb55d27
GM
197642011-03-10 Glenn Morris <rgm@gnu.org>
19765
5ceaac0c
GM
19766 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19767
02da65ff
GM
19768 * vc/vc-git.el (vc-git-program): New option.
19769 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19770 (vc-git--call): Use it.
19771
b2f603cc
GM
19772 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19773
5772caab
GM
19774 * cus-edit.el (Custom-newline): If no button at point, look
19775 for a subgroup button at start-of-line. (Bug#2298)
19776
ccb55d27
GM
19777 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19778
ec6ecaed
JD
197792011-03-10 Julien Danjou <julien@danjou.info>
19780
19781 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19782 `cursor-type' is nil.
19783
9d5aa01d
JB
197842011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19785
19786 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19787
b6a5875b
KM
197882011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19789
7a71b18d 19790 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19791 preserves the existing header prefix, rebulleting it if necessary,
19792 rather than replacing it. This is necessary for proper operation
19793 of cooperative addons like allout-widgets.
1154d12e
JB
19794 (allout-make-topic-prefix, allout-rebullet-heading):
19795 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19796 value as alternate bullet to be used, instead of prompting the user
19797 for a bullet character.
b6a5875b 19798
ee545c35
MA
197992011-03-09 Michael Albinus <michael.albinus@gmx.de>
19800
d86d2721
SM
19801 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19802 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19803 `tramp-default-port'.
19804
c47971d7
DD
198052011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19806
19807 * net/rcirc.el (rcirc-handler-001): Remove useless
19808 with-rcirc-process-buffer.
19809 (rcirc-check-auth-status): Swap arguments to string-match.
19810
13522cb4
GM
198112011-03-09 Glenn Morris <rgm@gnu.org>
19812
0be6f4f1
GM
19813 * shell.el (shell-mode):
19814 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19815
13522cb4
GM
19816 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19817 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19818
515de2e3
CY
198192011-03-08 Chong Yidong <cyd@stupidchicken.com>
19820
19821 * emacs-lisp/package.el (package-refresh-contents)
19822 (package-menu-execute): Use condition-case-no-debug.
19823
b511b994
MA
198242011-03-08 Michael Albinus <michael.albinus@gmx.de>
19825
19826 * simple.el (shell-command-to-string): Use `process-file'.
19827
19828 * emacs-lisp/package.el (package-tar-file-info): Handle also
19829 remote files.
19830
d86d2721
SM
19831 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19832 Use `equal' for upload base check.
b511b994 19833
25bbfb31
AM
198342011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19835
19836 * textmodes/texinfo.el (texinfo-environments):
19837 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19838
be996521
GM
198392011-03-08 Glenn Morris <rgm@gnu.org>
19840
e9c8529f
GM
19841 * cus-start.el (cursor-in-non-selected-windows):
19842 Fix :set quoting oddness. (Bug#8192)
19843
be996521
GM
19844 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19845 in some setf expressions. (Bug#2159)
19846
2bb5649e
CY
198472011-03-08 Chong Yidong <cyd@stupidchicken.com>
19848
19849 * custom.el (custom-available-themes): Return themes in
19850 alphabetical order.
19851
33383987 19852See ChangeLog.15 for earlier changes.
e3d51b27
MR
19853
19854;; Local Variables:
19855;; coding: utf-8
e3d51b27
MR
19856;; End:
19857
acaf905b 19858 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19859
19860 This file is part of GNU Emacs.
19861
19862 GNU Emacs is free software: you can redistribute it and/or modify
19863 it under the terms of the GNU General Public License as published by
19864 the Free Software Foundation, either version 3 of the License, or
19865 (at your option) any later version.
19866
19867 GNU Emacs is distributed in the hope that it will be useful,
19868 but WITHOUT ANY WARRANTY; without even the implied warranty of
19869 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19870 GNU General Public License for more details.
19871
19872 You should have received a copy of the GNU General Public License
19873 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.