]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/ses.el (ses-setup): Don't assume modifying the iteration var of
[gnu-emacs] / lisp / ChangeLog
1 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * ses.el (ses-setup): Don't assume modifying the iteration var of
4 dotimes affects the iteration (bug#18191).
5
6 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
7
8 * ses.el (ses-calculate-cell): bind row and col dynamically to
9 their values with 'cl-progv'.
10 (ses-dorange): bind row, col, maxrow and maxcol dynamically to
11 their values with 'cl-progv', also use non-interned symbols for
12 row, minrow, maxrow, mincol and maxcol.
13 (maxrow maxcol): New defvar, to make the compiler happy.
14
15 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
18 completion functions.
19
20 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * ses.el (ses--letref): Quote value before it gets re-evaluated.
23
24 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
25
26 Font-lock `cl-flet*', too.
27 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
28 Add "flet*" to intermediate var `cl-lib-kw'.
29
30 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * epg-config.el (epg-gpg-program): Use the plain program names rather
33 than their absolute file name.
34
35 * subr.el (track-mouse): New macro.
36 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
37 Remove track-mouse case.
38 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
39
40 2014-09-27 Leo Liu <sdl.web@gmail.com>
41
42 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
43
44 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
45
46 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
49 Handle the case where `match' is :pcase--succeed or :pcase--fail
50 (bug#18554).
51
52 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
53 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
54 (eldoc-schedule-timer): Obey it.
55 (eldoc-documentation-function): Default to nil.
56 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
57 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
58 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
59 (eldoc-last-data-store, eldoc-docstring-first-line)
60 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
61 (eldoc-beginning-of-sexp, eldoc-current-symbol)
62 (eldoc-function-argstring): Move to elisp-mode.el.
63 (eldoc-symbol-function): Remove, unused.
64 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
65 (elisp-completion-at-point): Rename from lisp-completion-at-point.
66 (elisp--preceding-sexp): Rename from preceding-sexp.
67 * loadup.el: Load new file progmodes/elisp-mode.
68 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
69 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
70 (lisp--local-variables-completion-table, lisp--expect-function-p)
71 (lisp--form-quoted-p, lisp--company-doc-buffer)
72 (lisp--company-doc-string, lisp--company-location)
73 (lisp-completion-at-point): Move to elisp-mode.el.
74 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
75 extracted from emacs-lisp-mode-syntax-table.
76 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
77 elisp-mode.el.
78 (lisp-imenu-generic-expression): Add comments to document what comes
79 from which Lisp dialect.
80 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
81 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
82 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
83 (emacs-lisp-byte-code-comment)
84 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
85 (lisp-interaction-mode-map, lisp-interaction-mode)
86 (eval-print-last-sexp, last-sexp-setup-props)
87 (last-sexp-toggle-display, prin1-char, preceding-sexp)
88 (eval-last-sexp-1, eval-last-sexp-print-value)
89 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
90 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
91
92 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
93
94 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
95 Do not match file names that end in '/', as they cannot be 'grep'
96 hits nowadays. This prevents confusion when 'grep -r' reports a
97 match in a file whose basename is ':12345:'. Conversely, do not
98 require exactly the same sequence of spaces and tabs after both
99 colons, and allow spaces or tabs before the second colon, as per
100 the POSIX spec for 'grep' output.
101
102 2014-09-26 Leo Liu <sdl.web@gmail.com>
103
104 Add cl-parse-integer based on parse-integer (Bug#18557)
105 * calendar/parse-time.el (parse-time-digits): Remove.
106 (digit-char-p, parse-integer) Moved to cl-lib.el.
107 (parse-time-tokenize, parse-time-rules, parse-time-string):
108 Use cl-parse-integer.
109
110 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
111
112 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
113 (cl-digit-char-p): New function.
114
115 2014-09-25 Juri Linkov <juri@jurta.org>
116
117 * vc/add-log.el (change-log-next-buffer): Don't create an empty
118 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
119 Return the current buffer if no files match the default pattern
120 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
121
122 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
125 the global vc-handled-backends (bug#18535).
126
127 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
130 Suggested by <lompik@voila.fr>.
131
132 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
133
134 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
135 Rename from `newsticker--treeview-do-get-node'.
136 (newsticker--treeview-get-node-by-id):
137 Rename from `newsticker--treeview-get-node'.
138 (newsticker--treeview-buffer-init)
139 (newsticker--treeview-buffer-init): Disable buffer undo.
140 (newsticker--treeview-unfold-node): Adapt to modified
141 `newsticker--group-find-parent-group'.
142 (newsticker--group-do-find-group):
143 Rename from `newsticker--group-do-find-group-for-feed'.
144 Now works for both, groups and feeds.
145 (newsticker--group-find-parent-group):
146 Rename from `newsticker--group-find-group-for-feed'.
147 Now works for both, groups and feeds.
148 (newsticker--group-do-get-parent-group)
149 (newsticker--group-get-parent-group): Remove.
150 (newsticker-group-add-group): Change interactive prompts.
151 (newsticker-group-add-group): Finally jump to added group.
152 (newsticker-group-delete-group): Finally jump to current feed.
153 (newsticker--group-do-rename-group, newsticker-group-rename-group)
154 (newsticker--get-group-names, newsticker--group-names): New.
155 (newsticker-group-move-feed): Finally jump to moved feed.
156 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
157 (newsticker-group-shift-group-down)
158 (newsticker-group-shift-group-up, newsticker--group-shift): New.
159 (newsticker-treeview-mode-map): New keybindings for new shift commands.
160
161 * net/newst-backend.el (newsticker--item-list)
162 (newsticker--item-position, newsticker--prev-message)
163 (newsticker--scrollable-text): Move to newst-ticker.el.
164
165 * net/newst-ticker.el (newsticker--item-list)
166 (newsticker--item-position, newsticker--prev-message)
167 (newsticker--scrollable-text): Move from newst-backend.el.
168
169 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
170
171 * window.el (fit-window-to-buffer): When counting buffer width,
172 count the whole visible buffer. Correctly convert the body-height
173 to pixel size for window-text-pixel-size (Bug#18498).
174
175 2014-09-22 Sam Steingold <sds@gnu.org>
176
177 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
178 (sql-execute): Use `special-mode'.
179
180 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 Add pcase-defmacro, as well as `quote' and `app' patterns.
183 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
184 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
185 (pcase--funcall, pcase--eval): New functions.
186 (pcase--u1): Use them for guard, pred, let, and app.
187 (\`): Use the new feature to generate better code for vector patterns.
188 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
189 (pcase--upat): Remove.
190 (pcase--macroexpand): Don't hardcode handling of `.
191 (pcase--split-consp, pcase--split-vector): Remove.
192 (pcase--split-equal): Disregard ` since it's expanded away.
193 (pcase--split-member): Optimize for quote rather than for `.
194 (pcase--split-pred): Optimize for quote rather than for `.
195 (pcase--u1): Remove handling of ` (and of `or' and `and').
196 Quote non-selfquoting values when passing them to `eq'.
197 Drop `app's let-binding if the variable is not used.
198 (pcase--q1): Remove.
199 (`): Define as a pattern macro.
200 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
201 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
202 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
203 quote patterns.
204 (pcase--split-match): Don't hoist or/and here any more.
205 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
206 (pcase--flip): New helper macro.
207 (pcase--u1): Optimize the memq case directly.
208 Don't handle neither self-quoting nor and/or patterns any more.
209 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
210 (pcase--macroexpand): New function.
211 (pcase--expand): Use it.
212 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
213 New optimization functions.
214 (pcase--u1): Add support for `quote' and `app'.
215 (pcase): Document them in the docstring.
216
217 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 Use lexical-bindin in Ibuffer.
220 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
221 (ibuffer-compile-format): Simplify.
222 (ibuffer-clear-summary-columns): Simplify.
223 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
224 elem of dotimes when we don't refer to the iteration var from it.
225 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
226 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
227 Silence byte-compiler.
228
229 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
232 expression for a list.
233
234 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
235 for functions with no arguments.
236
237 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
238 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
239
240 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
241
242 * simple.el (clone-indirect-buffer): Mention the return value
243 (bug#18478).
244
245 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
246 Text mode in docstring (bug#18464).
247
248 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * progmodes/perl-mode.el (perl-syntax-propertize-function):
251 Accept underscores in identifiers after "sub" (bug#18502).
252
253 2014-09-21 Tassilo Horn <tsdh@gnu.org>
254
255 * textmodes/reftex-sel.el (reftex-select-label-mode)
256 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
257 from special-mode (instead of fundamental-mode) and propertize
258 with font-lock-face instead of just face. (Bug#18496)
259
260 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
261
262 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
263
264 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
265 `table-etc' when `end' is non-nil.
266 (lisp-completion-at-point): Move `end' back if it's after quote.
267 If in comment or string, only complete when after backquote.
268 (Bug#18265)
269 (lisp-completion-at-point): Don't use
270 `lisp--local-variables-completion-table' in the
271 `lisp--form-quoted-p' case.
272
273 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
274
275 * emacs-lisp/lisp.el (lisp--expect-function-p)
276 (lisp--form-quoted-p): New functions.
277 (lisp-completion-at-point): Use them to see if we're completing a
278 variable reference, a function name, or just any symbol.
279 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
280
281 2014-09-18 Ivan Kanis <ivan@kanis.fr>
282
283 * net/shr.el, net/eww.el: Don't override `shr-width', but
284 introduce a new variable `shr-internal-width'. This allows users
285 to specify a width themselves.
286
287 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
288
289 * image-mode.el (image-toggle-display-image): If we have a
290 `fit-width' or a `fit-height', don't limit the size of the image
291 to the window size, because that doesn't preserve the aspect ratio.
292 * image-mode.el: Move defvars earlier to avoid a byte-compilation
293 warning.
294
295 2014-09-17 Reuben Thomas <rrt@sc3d.org>
296
297 * progmodes/js.el: Add interpreter-mode-alist support for various
298 JavaScript interpreters.
299
300 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
301
302 Don't assume 'grep' supports GREP_OPTIONS.
303 The GREP_OPTIONS environment variable is planned to be marked
304 obsolescent in GNU grep, due to problems in its use, so stop
305 relying on it.
306 * progmodes/grep.el (grep-highlight-matches): Document this.
307 (grep-process-setup): Do not set GREP_OPTIONS.
308 (grep-compute-defaults): Use an explicit --color option if supported.
309
310 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
313 Don't add outdated key-shortcut cache (bug#18482).
314
315 2014-09-15 Glenn Morris <rgm@gnu.org>
316
317 * image.el (image-multi-frame-p): Fix thinko - do not force
318 a delay if none was specified. (Bug#18334)
319
320 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
321
322 * window.el (fit-window-to-buffer): Doc fix.
323
324 2014-09-15 Ivan Shmakov <ivan@siamics.net>
325
326 * desktop.el (desktop-create-buffer): Check that buffers are still live
327 before burying them (bug#18373).
328
329 2014-09-15 Glenn Morris <rgm@gnu.org>
330
331 * calendar/diary-lib.el (diary-list-entries):
332 Restore 24.3 display behavior. (Bug#18381)
333
334 2014-09-15 Eli Zaretskii <eliz@gnu.org>
335
336 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
337 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
338 discrepancy between window-pixel-edges and mouse events, and
339 avoids moving mode line up when the mouse click is on the modeline
340 and no drag is attempted.
341
342 2014-09-14 Daniel Colascione <dancol@dancol.org>
343
344 * register.el (insert-register): Change default interactive
345 insertion mode.
346
347 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
348
349 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
350 Suppress debug messages.
351
352 * net/tramp.el (tramp-file-name-handler):
353 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
354 appropriate.
355
356 2014-09-13 Christopher Schmidt <ch@ristopher.com>
357
358 * calendar/calendar.el (calendar-update-mode-line):
359 Do not overwrite mode-line-format if calendar-mode-line-format is
360 nil. (Bug#18467)
361
362 2014-09-13 Leo Liu <sdl.web@gmail.com>
363
364 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
365 (pcase--expand): Use it.
366 (pcase-exhaustive): New macro. (Bug#16567)
367
368 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
369 Add pcase-exhaustive.
370
371 2014-09-13 Eli Zaretskii <eliz@gnu.org>
372
373 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
374 using the specified transfer-encoding, if any, or 'undecided'.
375 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
376 broken at the window margin.
377
378 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
379
380 Support rendering of HTML parts in Rmail (bug#4258).
381 * mail/rmailmm.el (rmail-mime-process): Handle text/html
382 separately from other text/ types. Suppress tagline for
383 multipart body.
384 (rmail-mime-parse): Don't change visibility of tagline here.
385 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
386 Handle text/html specially.
387 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
388 (rmail-mime-insert-html, rmail-mime-render-html-shr)
389 (rmail-mime-render-html-lynx): New functions.
390 (rmail-mime-fix-inserted-faces): New function.
391 (rmail-mime-process-multipart): Find the best part to show
392 following rmail-mime-prefer-html if set.
393 (rmail-mime-searching): New variable.
394 (rmail-search-mime-message): Bind rmail-mime-searching to
395 suppress rendering while searching.
396
397 2014-09-12 Sam Steingold <sds@gnu.org>
398
399 * progmodes/sql.el (sql-product-alist): Add vertica.
400 (sql-vertica-program, sql-vertica-options)
401 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
402 New functions and variables to support Vertica.
403 Inspired by code by Roman Scherer <roman@burningswell.com>.
404
405 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
406
407 * ses.el (ses-file-format-extend-parameter-list): Rename from
408 ses-file-format-extend-paramter-list, to correct a misspelling.
409 All uses changed.
410
411 2014-09-10 Alan Mackenzie <acm@muc.de>
412
413 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
414 gets loaded at run-time).
415 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
416 c-lang-const to c-make-no-parens-syntax-table and correct the
417 logic.
418 (c-no-parens-syntax-table): Correct the logic of the
419 c-lang-defvar.
420
421 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
424 plus misc cleanup.
425 * progmodes/cc-mode.el (c-basic-common-init):
426 Set open-paren-in-column-0-is-defun-start.
427 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
428 Remove declarations, unused.
429 (run-mode-hooks): Remove declaration.
430 (font-lock-defaults): Use plain `defvar' to declare.
431 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
432 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
433 (c-make-mode-syntax-table): Don't micro-optimize.
434 (c-keywords, c-keyword-member-alist): Simplify.
435 (c-kwds-lang-consts): Don't eval at compile-time.
436 (c-primary-expr-regexp): Comment out unused vars.
437 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
438 (c-font-byte-compile): New var.
439 (c--compile): New function. Use it instead of `byte-compile'.
440 (c-cpp-matchers): Quote the value returned by
441 `c-make-syntactic-matcher' in case it's not self-evaluating.
442 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
443 parentheses instead (in case MATCHER happens to be a list).
444 (c-font-lock-enum-tail): Remove unused var `start'.
445 (c-font-lock-objc-methods): Silence byte-compiler warnings.
446 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
447 test into an argument.
448 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
449 (c-get-char-property): Don't use `eval' just to unquote a constant.
450 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
451 more efficiently.
452 (c-put-char-property-fun): Don't call `byte-compile' by hand.
453 (c-clear-char-property, c-clear-char-properties): Check that `property'
454 is a quoted constant.
455 (c-emacs-features): Remove `infodock', `syntax-properties', and
456 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
457 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
458 changing buffer, so we don't have to setq them again afterwards.
459 (c-lang-const): Remove redundant symbolp assertions.
460 (c-find-assignment-for-mode): Use `or'.
461 * Makefile.in (compile-one-process): Remove cc-mode dependency.
462
463 2014-09-09 Sam Steingold <sds@gnu.org>
464
465 * progmodes/sql.el (sql-default-directory): Fix type annotation.
466
467 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
470 Change doc comments into docstrings.
471 * Makefile.in: Remove cc-awk dependency.
472
473 2014-09-08 Sam Steingold <sds@gnu.org>
474
475 * progmodes/sql.el (sql-send-line-and-next): New command,
476 bound to C-c C-n.
477 (sql-show-sqli-buffer): Display the buffer instead of its name and
478 bind the command to C-c C-z.
479 (sql-default-directory): New user option.
480 (sql-product-interactive): Bind `default-directory' to it to
481 enable remote connections using Tramp.
482 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
483 suitable buffer is available.
484
485 2014-09-08 Glenn Morris <rgm@gnu.org>
486
487 * calendar/calendar.el (calendar-basic-setup):
488 Fix calendar-view-holidays-initially-flag and fancy display.
489 * calendar/diary-lib.el (diary-live-p): Doc fix.
490
491 * calendar/calendar.el (calendar-basic-setup):
492 Avoid clobbering calendar with diary. (Bug#18381)
493
494 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
497
498 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
499
500 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
501 as well (bug#18400).
502
503 2014-09-08 Eli Zaretskii <eliz@gnu.org>
504
505 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
506
507 2014-09-06 Leo Liu <sdl.web@gmail.com>
508
509 * emacs-lisp/pcase.el (pcase): Doc fix.
510 (pcase--split-vector): New function.
511 (pcase--q1): Support vector qpattern. (Bug#18327)
512
513 2014-09-05 Sam Steingold <sds@gnu.org>
514
515 * textmodes/tex-mode.el (tex-print-file-extension): New user
516 option.
517 (tex-print): Use it instead of the hard-coded string.
518
519 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
520
521 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
522 Expand `default-directory'.
523
524 2014-09-05 Martin Rudalics <rudalics@gmx.at>
525
526 * scroll-bar.el (horizontal-scroll-bars-available-p):
527 New function.
528 (horizontal-scroll-bar-mode): Rewrite using
529 horizontal-scroll-bars-available-p.
530 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
531 horizontal-scroll-bars-available-p.
532
533 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * subr.el (call-process-shell-command, process-file-shell-command):
536 Make the `args' obsolete (bug#18409).
537 (start-process-shell-command, start-file-process-shell-command):
538 Use `declare'.
539
540 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
541
542 * calc/calc-forms.el (math-normalize-hms): Do a better check for
543 "negative" hms forms.
544
545 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
546
547 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
548 returns nil (bug#18391).
549
550 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
553 terminating paren (bug#18352).
554 (eldoc-last-data-store): Return cached data.
555 (eldoc-get-var-docstring): Avoid setq.
556 (eldoc-get-fnsym-args-string): Clarify data flow.
557
558 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
559
560 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
561 case where we're currently providing part of the &rest arg after some
562 &key args, as in define-ibuffer-op (bug#18048).
563
564 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
567 buffer-local setting of which-func-mode.
568 (which-func-mode): Use defvar-local.
569 (which-function-mode): Don't reset which-func-mode in each buffer since
570 it might have been set by someone else.
571 (which-func-update-ediff-windows): Check which-function-mode.
572
573 2014-09-03 Martin Rudalics <rudalics@gmx.at>
574
575 * frame.el (frame-initialize): Remove horizontal-scroll-bars
576 from frame-initial-frame-alist.
577 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
578 (horizontal-scroll-bar-mode-explicit)
579 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
580 (toggle-horizontal-scroll-bar): Remove.
581 (horizontal-scroll-bar-mode): Remove defcustom.
582 (horizontal-scroll-bar-mode): Fix doc-string.
583 (scroll-bar-toolkit-scroll)
584 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
585
586 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * emacs-lisp/package.el (package-generate-description-file):
589 Properly quote the arguments (bug#18332). Change second arg.
590 (package--alist-to-plist-args): Rename from package--alist-to-plist and
591 quote the elements.
592 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
593 the *-pkg.el file. Adjust to new calling convention of
594 package-generate-description-file.
595
596 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
597 (gud-gdb-completions): Remove obsolete workaround.
598
599 2014-09-03 Eli Zaretskii <eliz@gnu.org>
600
601 * subr.el (posn-col-row): Revert the change from commit
602 2010-11-13T21:07:58Z!eliz@gnu.org, which
603 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
604 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
605 introduced an off-by-one error in the reported row when there is a
606 header line. (Bug#18384)
607
608 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
609
610 * progmodes/python.el (python-indent-post-self-insert-function):
611 Avoid electric colon at beginning-of-defun. (Bug#18228)
612
613 2014-09-03 Glenn Morris <rgm@gnu.org>
614
615 * tutorial.el (tutorial--display-changes):
616 Fix 2014-08-01 change. (Bug#18382)
617
618 2014-09-03 Ken Brown <kbrown@cornell.edu>
619
620 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
621 the Cygwin-w32 build. (Bug#18347)
622
623 2014-09-03 Glenn Morris <rgm@gnu.org>
624
625 * tar-mode.el (tar--extract, tar-extract):
626 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
627
628 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
631 handle multiline elements (bug#18380).
632
633 2014-09-01 Eli Zaretskii <eliz@gnu.org>
634
635 * ls-lisp.el (ls-lisp-use-string-collate)
636 (ls-lisp-UCA-like-collation): New defcustoms.
637 (ls-lisp-string-lessp): Use them to control sorting by file
638 names. (Bug#18051)
639 (ls-lisp-version-lessp): New function.
640 (ls-lisp-handle-switches): Use it to implement the -v switch of
641 GNU ls.
642 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
643
644 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
645
646 * ibuffer.el: Replace mode-specific quit function with
647 `quit-window' via `special-mode'.
648 (ibuffer-mode-map): Use keybindings from special-mode-map instead
649 of local overrides.
650 (ibuffer): Don't store previous windows configuration.
651 Let `quit-window' handle restoring.
652 (ibuffer-quit): Remove function. Use `quit-window' instead.
653 (ibuffer-restore-window-config-on-quit): Remove variable.
654 (ibuffer-prev-window-config): Remove variable.
655
656 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
657
658 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
659 name instead of variable name in hook docstring. (Bug#18349)
660
661 2014-08-29 Martin Rudalics <rudalics@gmx.at>
662
663 * window.el (display-buffer-at-bottom): Prefer bottom-left
664 window to other bottom windows. Reuse a bottom window if it
665 shows the buffer already. Suggested by Juri Linkov
666 <juri@jurta.org> in discussion of (Bug#18181).
667
668 2014-08-29 Leo Liu <sdl.web@gmail.com>
669
670 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
671 append to minibuffer-setup-hook. (Bug#18341)
672
673 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
676 byte-compiler.
677 (lookup-syntax-properties): Silence byte-compiler.
678 (c-lang-defconst): Quote the code with `lambda' rather than with
679 `quote'.
680 (c-lang-const): Avoid unneeded setq.
681 (c-lang-constants-under-evaluation): Add docstring.
682 (c-lang--novalue): New constant.
683 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
684 (c-get-lang-constant): Same here.
685 Get the mode's value using `funcall' now that the code is quoted
686 with `lambda'.
687
688 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
689
690 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
691 (Bug#18326)
692
693 2014-08-28 Martin Rudalics <rudalics@gmx.at>
694
695 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
696 interpretation of `portion-whole'.
697
698 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
699
700 * net/tramp-adb.el: Spell author name correctly.
701
702 2014-08-28 João Távora <joaotavora@gmail.com>
703
704 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
705 use url-expand-file-name. (Bug#18310)
706
707 2014-08-28 Glenn Morris <rgm@gnu.org>
708
709 * emulation/cua-rect.el (cua--highlight-rectangle):
710 Avoid error at point-min. (Bug#18309)
711
712 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
715 executable-find (bug#18244).
716
717 * simple.el (self-insert-uses-region-functions): Defvar.
718
719 2014-08-28 Glenn Morris <rgm@gnu.org>
720
721 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
722
723 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
724
725 * startup.el (normal-top-level): Now use internal--top-level-message.
726
727 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
728
729 * startup.el (normal-top-level): Use top-level-message.
730
731 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
732
733 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
734 URLs containing spaces and the like.
735
736 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
737
738 * subr.el (remq): Fix docstring (Bug#18253).
739
740 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
741
742 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
743
744 2014-08-24 Alan Mackenzie <acm@muc.de>
745
746 Handle C++11's "auto" and "decltype" constructions.
747 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
748 and return 'decltype.
749 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
750 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
751 keyword.
752 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
753 "decltype" keyword.
754 (c-font-lock-c++-new): Handle "decltype" constructions.
755 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
756 New c-lang-defconsts/defvars.
757 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
758 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
759 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
760 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
761
762 Make ">>" act as double template ender in C++ Mode.
763 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
764 off from c->-op-cont-re.
765 (c->-op-cont-tokens): Change to use the above.
766 (c->-op-without->-cont-regexp): New lang-const.
767 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
768 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
769
770
771 2014-08-23 Alan Mackenzie <acm@muc.de>
772
773 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
774 loop, bug #18306. The bug was introduced on 2014-08-02.
775
776 2014-08-21 Eli Zaretskii <eliz@gnu.org>
777
778 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
779 Don't recognize a Top node if there are other sectioning commands
780 earlier in the Texinfo file. This fixes a bug in
781 texinfo-make-menu and avoids inflooping in
782 texinfo-all-menus-update when they are invoked on texinfo.texi.
783
784 2014-08-21 Martin Rudalics <rudalics@gmx.at>
785
786 * window.el (window--side-window-p): New function.
787 (split-window, window-splittable-p): Use window--side-window-p to
788 determine whether WINDOW can be split (Bug#18304).
789 * calendar/calendar.el (calendar-basic-setup): Fix one call of
790 `window-splittable-p' and add another (Bug#18304).
791
792 2014-08-20 Sam Steingold <sds@gnu.org>
793
794 * progmodes/python.el (python-new-pythonpath): Extract from
795 `python-shell-calculate-process-environment'.
796
797 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
798
799 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
800 for &key args (bug#18048).
801
802 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
805 (eldoc-function-argstring-format): Remove.
806 (eldoc-function-argstring): Always return upcase args.
807 Use help-make-usage. Don't add parens.
808 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
809 it's too late to do it right (bug#18048).
810
811 2014-08-18 Eli Zaretskii <eliz@gnu.org>
812
813 * scroll-bar.el (scroll-bar-horizontal-drag-1)
814 (scroll-bar-toolkit-horizontal-scroll): When determining the
815 paragraph direction, use the buffer of the window designated in
816 the event.
817
818 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
819
820 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
821 context of unified diff.
822
823 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
824
825 Add dependencies to fix loaddefs race during parallel builds.
826 Without this, for example, 'make -j bootstrap' can fail and report
827 "Opening input file: no such file or directory,
828 .../lisp/calendar/diary-loaddefs.el ... recipe for target
829 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
830 got confused because diary-loaddefs.el was being built in parallel.
831 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
832 Depend on $(CAL_DIR)/cal-loaddefs.el.
833 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
834
835 2014-08-16 Martin Rudalics <rudalics@gmx.at>
836
837 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
838 portion-whole for scrolling right-to-left text.
839
840 2014-08-15 Leo Liu <sdl.web@gmail.com>
841
842 * speedbar.el (speedbar-generic-list-tag-p): Allow special
843 elements from imenu.
844
845 2014-08-15 Glenn Morris <rgm@gnu.org>
846
847 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
848
849 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
850
851 * progmodes/compile.el (compilation-error-regexp-alist-alist):
852 Add Guile regexpses.
853
854 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
855
856 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
857 add Guile debugger support for GUD.
858
859 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
862 (mouse-sel--ignore): New function.
863 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
864 (mouse-sel-original-interprogram-cut-function)
865 (mouse-sel-original-interprogram-paste-function): Remove.
866
867 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
868
869 * vc/vc-git.el (vc-git-resolve-when-done): New function.
870 Call "git add" when there are no longer conflict markers.
871
872 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
873
874 * vc/vc-git.el (vc-git-find-file-hook): New function.
875 Adds support for calling smerge (and resolve) on a conflicted file.
876 (vc-git-conflicted-files): New function.
877 Useful in itself and a step towards better smerge support.
878
879 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
882 to the first part if they're the same as the selection.
883
884 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
885
886 * image-mode.el (image-transform-reset): New command and menu item.
887 (image-mode-map): Rearrange the menu items to put presumably more
888 obscure items at the end.
889
890 2014-08-12 Juri Linkov <juri@jurta.org>
891
892 * vc/vc-annotate.el (vc-annotate-background-mode):
893 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
894
895 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * files.el (out-of-memory-warning-percentage): Turn it off by default.
898
899 2014-08-11 Sam Steingold <sds@gnu.org>
900
901 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
902 the presence of known validators (tidy, (o)nsgmls).
903
904 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
905
906 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
907
908 * net/newst-treeview.el (newsticker-treeview-date-format): New.
909 (newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.
910
911 2014-08-11 Glenn Morris <rgm@gnu.org>
912
913 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
914 chose coding system for writing before backing up, since it causes
915 a more serious problem than the one it solves. (Closes Bug#18141,
916 reopens Bug#13522.)
917
918 2014-08-11 Martin Rudalics <rudalics@gmx.at>
919
920 * window.el (window-total-size): Make doc-string more self-contained.
921
922 * window.el (display-buffer-below-selected): Restore original
923 behavior if buffer is already displayed in the window below the
924 selected one (Bug#18181).
925
926 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
929 event (bug#18212).
930
931 2014-08-11 Eli Zaretskii <eliz@gnu.org>
932
933 * info.el (info): Doc fix.
934
935 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 * info.el (Info-mode-map): Override a global down-mouse-2 binding
938 (bug#18212).
939
940 2014-08-11 Eli Zaretskii <eliz@gnu.org>
941
942 * simple.el (default-line-height): A floating-point value of
943 line-spacing means a fraction of the default frame font's height,
944 not of the font currently used by the 'default' face.
945 Truncate the pixel value, like the display engine does.
946 (window-screen-lines): Use window-inside-pixel-edges for
947 determining the window height in pixels. (Bug#18195)
948
949 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
950
951 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
952
953 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
954
955 Enumerate evaluated sexp diary entries (Bug#7911).
956 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
957 (icalendar-export-sexp-enumeration-days): New.
958 (icalendar-export-region): Now `icalendar--convert-to-ical'
959 returns a cons cell or a list of cons cells.
960 (icalendar--convert-to-ical): Take care of
961 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
962 (icalendar--convert-ordinary-to-ical)
963 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
964 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
965 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
966 (icalendar--convert-anniversary-to-ical): Return cons cell.
967 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
968 entries. Return (list of) cons cells.
969
970 2014-08-09 Juri Linkov <juri@jurta.org>
971
972 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
973 to reevaluate `vc-annotate-color-map'. (Bug#18189)
974
975 2014-08-09 Alan Mackenzie <acm@muc.de>
976
977 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
978 for top-level that can cause unacceptable slow-down in scrolling.
979 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
980 Antipov from 2013-10-14 in emacs-devel.
981
982 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
983
984 * ibuffer.el (ibuffer-mode-map): Use toggle button for
985 `ibuffer-auto-mode' menu entry.
986 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
987
988 2014-08-08 Matthias Meulien <orontee@gmail.com>
989
990 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
991 (Bug#16394)
992
993 2014-08-07 Martin Rudalics <rudalics@gmx.at>
994
995 * window.el (window--min-size-1): Explicitly set WINDOW arg in
996 calls of window-min-pixel-height and window-min-pixel-width.
997
998 2014-08-07 Reuben Thomas <rrt@sc3d.org>
999
1000 * progmodes/ada-mode.el:
1001 * net/tramp.el (tramp-handle-file-symlink-p):
1002 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
1003 about VMS, which we no longer support.
1004 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
1005 and fix a FIXME, using convert-standard-filename in place of
1006 removed ada-convert-file-name.
1007
1008 2014-08-07 Eli Zaretskii <eliz@gnu.org>
1009
1010 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
1011
1012 2014-08-07 Reuben Thomas <rrt@sc3d.org>
1013
1014 Refer to MS-DOS using the same name everywhere.
1015 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
1016 ``msdog'' become ``MS-DOS''.
1017
1018 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
1019
1020 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1021 Use cached "remote-copy-args" value, if available. (Bug#18199)
1022
1023 2014-08-07 Leo Liu <sdl.web@gmail.com>
1024
1025 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
1026 Revert change on 2014-03-22.
1027
1028 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
1029
1030 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
1031 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
1032 (Bug#13750).
1033
1034
1035 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1036
1037 * image-mode.el (image-toggle-display-image): Always rescale images
1038 to not be bigger than the current window.
1039
1040 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
1041
1042 * net/eww.el (eww-bookmarks-directory): New variable.
1043 (eww-write-bookmarks): Use it.
1044 (eww-read-bookmarks): Ditto.
1045
1046 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1047
1048 * net/shr.el (shr-copy-url): Also copy the image URL.
1049
1050 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
1051
1052 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
1053 also for Tramp working buffers.
1054
1055 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1056
1057 * progmodes/python.el: Fix completions inside (i)pdb.
1058 (python-shell-completion-pdb-string-code): Make obsolete.
1059 (python-shell-completion-get-completions):
1060 Use python-shell-completion-string-code resending setup code
1061 continuously for (i)pdb.
1062
1063 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
1064
1065 * rect.el (rectangle--default-line-number-format): Rename
1066 from misspelled rectange--default-line-number-format (Bug#18045).
1067 All uses changed.
1068
1069 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
1070
1071 Don't mishandle year-9999 dates (Bug#18176).
1072 * calendar/parse-time.el (parse-time-rules):
1073 Allow years up to most-positive-fixnum.
1074 * calendar/time-date.el (date-to-time):
1075 Pass "Specified time is not representable" errors through.
1076
1077 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1078
1079 * progmodes/python.el: Completion code cleanups.
1080 (python-shell-completion-get-completions): Detect and send import
1081 statements directly to completion function.
1082 (python-shell-completion-at-point): Simplify prompt calculation
1083 and import vs input completion logic.
1084
1085 2014-08-02 Alan Mackenzie <acm@muc.de>
1086
1087 Fix confusion in C++ file caused by comma in "= {1,2},".
1088 Bug #17756.
1089 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
1090 for a statement boundary marked by "}", check there's no "="
1091 before the "{".
1092 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
1093 non-nil `comma-delim' argument.
1094 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
1095 initializer expression more accurately.
1096
1097 Correct loop termination condition in c-syntactic-skip-backward.
1098 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
1099 the situation where, after moving back out of a literal,
1100 skip-chars-backward doesn't move further, yet checks have still to
1101 be done.
1102
1103 2014-08-01 Eli Zaretskii <eliz@gnu.org>
1104
1105 * tutorial.el (tutorial--display-changes): Accept punctuation
1106 characters before the key binding. (Bug#18146)
1107
1108 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
1109
1110 * progmodes/python.el: Shell output capture enhancements.
1111 (python-shell-accept-process-output): New function.
1112 (inferior-python-mode)
1113 (python-shell-send-setup-code): Use it.
1114
1115 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
1116
1117 * calendar/icalendar.el (icalendar--decode-isodatetime):
1118 Use actual current-time-zone when converting to local time. (Bug#15408)
1119
1120 2014-07-29 Martin Rudalics <rudalics@gmx.at>
1121
1122 * window.el (window--state-put-2): Handle horizontal scroll
1123 bars, if present.
1124
1125 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1126
1127 * menu-bar.el (menu-bar-update-buffers): Update item list format
1128 in `buffers-menu' to confirm with changes to `get_keyelt'
1129 (r117463). (Bug#18016)
1130
1131 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1132
1133 * progmodes/python.el (inferior-python-mode): Make input prompts
1134 read-only.
1135
1136 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
1137
1138 * net/tramp-sh.el (tramp-get-remote-python): Also search for
1139 executables named "python2" or "python3".
1140 (tramp-get-remote-uid-with-python): Use parentheses around
1141 arguments to `print' to make it compatible with Python 3.
1142 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
1143
1144 2014-07-28 Eli Zaretskii <eliz@gnu.org>
1145
1146 * window.el (window--pixel-to-total): Use FRAME's root window, not
1147 that of the selected frame. (Bug#18112, Bug#16674)
1148
1149 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
1150
1151 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
1152 (Bug#18117)
1153
1154 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1155
1156 * progmodes/python.el (inferior-python-mode): Doc fix.
1157
1158 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1159
1160 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
1161 not a character, ignore it instead of raising an error.
1162
1163 * calendar/todo-mode.el: Fix handling of marked items and make
1164 minor code improvements.
1165 (todo-edit-item): If there are marked items, ensure user can only
1166 invoke editing commands that work with marked items.
1167 (todo-edit-item--text): When there are marked items, make it a
1168 noop if invoked with point not on an item; otherwise, ensure it
1169 applies only to item at point.
1170 (todo-item-undone): If there are marked not-done items, return
1171 point to its original position before signaling user error.
1172 (todo--user-error-if-marked-done-item): New function.
1173 (todo-edit-item--header, todo-edit-item--diary-inclusion)
1174 (todo-item-done): Use it.
1175
1176 2014-07-28 Glenn Morris <rgm@gnu.org>
1177
1178 * files.el (toggle-read-only): Re-add basic doc-string.
1179 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
1180
1181 * progmodes/prolog.el (prolog-mode-keybindings-edit):
1182 Replace missing `switch-to-prolog' with `run-prolog'.
1183 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
1184
1185 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1186
1187 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
1188 of file-wide setting when changing category-wide setting.
1189
1190 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
1191
1192 * doc-view.el (doc-view-open-text): Don't require that the
1193 document is saved in a file (e.g., email attachment).
1194
1195 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1196
1197 Parse completion input in a iPython friendly way. (Bug#18084)
1198 * progmodes/python.el
1199 (python-shell-completion-at-point): Rename from
1200 python-shell-completion-complete-at-point.
1201 (inferior-python-mode): Use it.
1202 (python-completion-at-point): Rename from
1203 python-completion-complete-at-point. Parse input up to first
1204 backward occurrence of whitespace, open-paren, close-paren or
1205 string delimiter.
1206 (python-mode): Use it.
1207
1208 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1209
1210 Prevent Python process shell buffer to pop twice.
1211 * progmodes/python.el (python-shell-switch-to-shell): Do not call
1212 pop-to-buffer.
1213
1214 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1215
1216 * progmodes/python.el
1217 (python-shell-with-shell-buffer): New macro.
1218 (python-shell-font-lock-get-or-create-buffer)
1219 (python-shell-font-lock-kill-buffer)
1220 (python-shell-font-lock-with-font-lock-buffer)
1221 (python-shell-font-lock-cleanup-buffer)
1222 (python-shell-font-lock-toggle): Use it.
1223 (python-shell-font-lock-turn-on)
1224 (python-shell-font-lock-turn-off): Use it. Make command.
1225
1226 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1227
1228 Grab all Python process output before inferior-python-mode hooks.
1229 * progmodes/python.el (inferior-python-mode):
1230 Call accept-process-output and sit-for to ensure all output for process
1231 has been received before running hooks.
1232 (python-shell-internal-get-or-create-process):
1233 Cleanup accept-process-output and sit-for calls.
1234
1235 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1236
1237 More robust shell startup and code setup.
1238 * progmodes/python.el (python-shell-make-comint):
1239 Remove accept-process-output call.
1240 (python-shell-get-buffer): Return current buffer if major-mode is
1241 inferior-python-mode.
1242 (python-shell-get-or-create-process): Use it.
1243 (python-shell-send-setup-code): Send all setup code in one string,
1244 output success message and accept-process-output.
1245
1246 2014-07-27 Eli Zaretskii <eliz@gnu.org>
1247
1248 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
1249 Add rudimentary support for bidirectional text.
1250
1251 2014-07-27 Martin Rudalics <rudalics@gmx.at>
1252
1253 * frame.el (frame-notice-user-settings): Rewrite using
1254 frame-initial-frame-tool-bar-height.
1255 * menu-bar.el (menu-bar-horizontal-scroll-bar)
1256 (menu-bar-no-horizontal-scroll-bar): New functions.
1257 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
1258 scroll bars.
1259 * scroll-bar.el (scroll-bar-lines)
1260 (set-horizontal-scroll-bar-mode)
1261 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
1262 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
1263 (scroll-bar-toolkit-horizontal-scroll): New functions.
1264 (horizontal-scroll-bar-mode)
1265 (previous-horizontal-scroll-bar-mode)
1266 (horizontal-scroll-bar-mode-explicit): New variables.
1267 (horizontal-scroll-bar-mode): New option.
1268 (toggle-horizontal-scroll-bar): Do something.
1269 (top-level): Bind horizontal-scroll-bar mouse-1.
1270 * startup.el (tool-bar-originally-present): Remove variable.
1271 (command-line): Don't set tool-bar-originally-present.
1272 * window.el (window-min-height): Update doc-string.
1273 (window--dump-frame): Dump horizontal scroll bar values.
1274 (window--min-size-1): Handle minibuffer window separately.
1275 Count in margins and horizontal scroll bar. Return safe value
1276 iff IGNORE equals 'safe.
1277 (frame-windows-min-size): New function (used by frame resizing
1278 routines).
1279 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
1280 scroll bars.
1281 (window--sanitize-window-sizes): New function.
1282 (window-split-min-size): Remove.
1283 (split-window): Count divider-width. Don't use
1284 `window-split-min-size' any more. Reword error messages.
1285 Sanitize windows sizes after splitting.
1286
1287 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
1288
1289 Use `defvar-local' more.
1290 * progmodes/hideshow.el
1291 (hs-c-start-regexp, hs-block-start-regexp)
1292 (hs-block-start-mdata-select, hs-block-end-regexp)
1293 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
1294 remove corresponding `make-variable-buffer-local' top-level calls.
1295
1296 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1297
1298 Cleanup error signals. (Bug#18067)
1299 * progmodes/python.el
1300 (python-indent-shift-left): Use user-error instead.
1301 (python-shell-prompt-detect): Use lwarn with python group.
1302 (python-completion-complete-at-point)
1303 (python-eldoc--get-doc-at-point): Don't signal error.
1304
1305 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1306
1307 Support for packages in Python shell. (Bug#13570)
1308 * progmodes/python.el (python-shell--package-depth): New var.
1309 (python-shell-package-enable): New command.
1310 (python-util-list-directories, python-util-list-files)
1311 (python-util-list-packages): New functions.
1312
1313 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1314
1315 Faster comint output. (Bug#16875)
1316 * progmodes/python.el:
1317 (python-comint-output-filter-function): Make obsolete.
1318 (python-comint-postoutput-scroll-to-bottom): New function.
1319 (inferior-python-mode): Set comint-output-filter-functions to a
1320 minimum.
1321
1322 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
1323
1324 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1325 Safeguard current point and undo history.
1326
1327 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1328
1329 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
1330 * progmodes/python.el:
1331 (python-shell-prompt-input-regexps): Add iPython block prompt.
1332 (python-shell-output-syntax-table): Delete var.
1333 (python-shell-font-lock-with-font-lock-buffer): New macro.
1334 (python-shell-font-lock-get-or-create-buffer)
1335 (python-shell-font-lock-kill-buffer)
1336 (python-shell-font-lock-cleanup-buffer)
1337 (python-shell-font-lock-post-command-hook)
1338 (python-shell-font-lock-turn-off): New functions.
1339 (python-shell-font-lock-turn-on): New function.
1340 (inferior-python-mode): Use it.
1341 (python-shell-font-lock-toggle): New command.
1342 (python-shell-font-lock-enable): Rename from
1343 python-shell-enable-font-lock.
1344 (run-python-internal): Use it.
1345 (python-shell-font-lock-comint-output-filter-function): New function.
1346 (python-shell-comint-end-of-output-p): New function.
1347 (python-shell-output-filter): Use it.
1348 (python-util-comint-last-prompt): New function.
1349 (python-util-text-properties-replace-name): New function.
1350
1351 2014-07-25 Glenn Morris <rgm@gnu.org>
1352
1353 * vc/ediff-init.el (ediff-toggle-read-only-function):
1354 * vc/ediff-util.el (ediff-toggle-read-only):
1355 Replace obsolete toggle-read-only with read-only-mode.
1356
1357 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
1358
1359 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
1360 with `save-match-data'. (Bug#18095)
1361
1362 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
1363
1364 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
1365 order to ensure that row and col are lexically bound inside the
1366 evaluated sexp.
1367
1368 2014-07-21 Glenn Morris <rgm@gnu.org>
1369
1370 * progmodes/hideif.el (hide-ifdef-mode-submap):
1371 Also substitute read-only-mode.
1372 * bindings.el (mode-line-toggle-read-only):
1373 * bs.el (bs-toggle-readonly):
1374 * buff-menu.el (Buffer-menu-toggle-read-only):
1375 * dired.el (dired-toggle-read-only):
1376 * files.el (view-read-only, find-file-read-only)
1377 (find-file-read-only-other-window)
1378 (find-file-read-only-other-frame):
1379 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
1380 Doc fixes re toggle-read-only.
1381
1382 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1383
1384 * progmodes/python.el: Add comment about pipe buffering and
1385 solutions for missing/delayed output in inferior Python shells.
1386 (Bug#17304)
1387
1388 * progmodes/python.el (python-mode): Don't set
1389 mode-require-final-newline. (Bug#17990)
1390
1391 Make python.el work with IPython automatically. (Bug#15510)
1392 * progmodes/python.el:
1393 (python-shell-completion-setup-code): New value supporting iPython.
1394 (python-shell-completion-string-code): New value supporting iPython.
1395 (python-shell-completion-get-completions): Use them.
1396 (python-shell-completion-module-string-code): Make obsolete.
1397 (python-shell-prompt-input-regexps)
1398 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
1399 (python-shell-output-filter): Fix comment typo.
1400
1401 Fix Python shell prompts detection for remote hosts.
1402 * progmodes/python.el (python-shell-prompt-detect):
1403 Replace call-process with process-file and make it more robust.
1404
1405 Autodetect Python shell prompts. (Bug#17370)
1406 * progmodes/python.el:
1407 (python-shell-interpreter-interactive-arg)
1408 (python-shell-prompt-detect-enabled)
1409 (python-shell-prompt-detect-failure-warning)
1410 (python-shell-prompt-input-regexps)
1411 (python-shell-prompt-output-regexps): New vars.
1412 (python-shell-prompt-calculated-input-regexp)
1413 (python-shell-prompt-calculated-output-regexp): New vars.
1414 (python-shell-get-process-name)
1415 (python-shell-internal-get-process-name)
1416 (python-shell-output-filter)
1417 (python-shell-completion-get-completions): Use them.
1418 (python-shell-prompt-detect)
1419 (python-shell-prompt-validate-regexps): New functions.
1420 (python-shell-prompt-set-calculated-regexps): New function.
1421 (inferior-python-mode): Use it. Also honor overriden
1422 python-shell-interpreter and python-shell-interpreter-args.
1423 (python-shell-make-comint): Honor overriden
1424 python-shell-interpreter and python-shell-interpreter-args.
1425 (python-shell-get-or-create-process): Make it testable by allowing
1426 to call run-python non-interactively.
1427 (python-util-valid-regexp-p): New function.
1428 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
1429 (python-shell-prompt-output-regexp)
1430 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
1431
1432 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * emacs-lisp/smie.el (smie-config--guess-1): Split from
1435 smie-config--guess.
1436 (smie-config--guess): Use it.
1437
1438 * emacs-lisp/edebug.el: Use nadvice.
1439 (edebug-original-read): Remove.
1440 (edebug--read): Rename from edebug-read and add `orig' arg.
1441 (edebug-uninstall-read-eval-functions)
1442 (edebug-install-read-eval-functions): Use nadvice.
1443 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
1444 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
1445 (edebug-read-string, edebug-read-function): Use just `read'.
1446 (edebug-original-debug-on-entry): Remove.
1447 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
1448 `orig' arg.
1449 (debug-on-entry): Override with nadvice.
1450
1451 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
1452 it also makes sense to bind it to a non-mouse event.
1453
1454 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
1455
1456 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
1459 (bug#18015).
1460
1461 * rect.el (rectangle--string-preview): Don't assume there
1462 a non-nil default (bug#17984).
1463
1464 2014-07-16 Glenn Morris <rgm@gnu.org>
1465
1466 * desktop.el (after-init-hook): Disable startup frame restoration
1467 in non-graphical situations. (Bug#17693)
1468
1469 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
1470 if it was "empty", or used for a different set of files. (Bug#17884)
1471
1472 2014-07-16 Eli Zaretskii <eliz@gnu.org>
1473
1474 * bindings.el (mode-line-remote): If default-directory is not a
1475 string, don't call file-remote-p on it; instead state in the
1476 help-echo that it is nil. (Bug#17986)
1477
1478 2014-07-14 Daniel Colascione <dancol@dancol.org>
1479
1480 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
1481 to `macroexpand-all'
1482
1483 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
1484 Use `macroexpand-all' instead of `cl-macroexpand-all'.
1485
1486 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
1487
1488 Fix bug: C-x v v discarded existing log message (Bug#17884).
1489 * vc/vc-dispatcher.el (vc-log-edit):
1490 Don't clobber an already-existing log message.
1491
1492 2014-07-12 Glenn Morris <rgm@gnu.org>
1493
1494 * vc/log-edit.el (log-edit-changelog-entries):
1495 Check for a visited-but-never-saved ChangeLog.
1496
1497 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
1498
1499 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
1500 a non-existing file (bug#17970).
1501
1502 * faces.el (face-name): Undo last change.
1503 (x-resolve-font-name): Don't call face-name (bug#17956).
1504
1505 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1506
1507 Fix dedenters and electric colon handling. (Bug#15163)
1508 * progmodes/python.el
1509 (python-rx-constituents): Add dedenter and block-ender.
1510 (python-indent-dedenters, python-indent-block-enders): Delete.
1511 (python-indent-context): Return new case for dedenter-statement.
1512 (python-indent-calculate-indentation): Handle new case.
1513 (python-indent-calculate-levels): Fix levels calculation for
1514 dedenter statements.
1515 (python-indent-post-self-insert-function): Fix colon handling.
1516 (python-info-dedenter-opening-block-message): New function.
1517 (python-indent-line): Use it.
1518 (python-info-closing-block)
1519 (python-info-closing-block-message): Remove.
1520 (python-info-dedenter-opening-block-position)
1521 (python-info-dedenter-opening-block-positions)
1522 (python-info-dedenter-statement-p): New functions.
1523
1524 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
1525
1526 * files.el (out-of-memory-warning-percentage): New defcustom.
1527 (warn-maybe-out-of-memory): Use it.
1528
1529 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
1530
1531 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
1532 when calling `read-string'. (Bug#17839)
1533
1534 2014-07-10 Eli Zaretskii <eliz@gnu.org>
1535
1536 * files.el (warn-maybe-out-of-memory): Fix the wording of the
1537 warning.
1538
1539 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
1540
1541 * files.el (warn-maybe-out-of-memory): New function.
1542 (find-file-noselect): Use it.
1543
1544 2014-07-09 Sam Steingold <sds@gnu.org>
1545
1546 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
1547 `constant' like `bless', `return' &c
1548
1549 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * rect.el (apply-on-rectangle): Check forward-line really moved to the
1552 next line.
1553
1554 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1557 the middle of a line (bug#17896).
1558
1559 2014-07-09 Juri Linkov <juri@jurta.org>
1560
1561 * startup.el (command-line): Append displaying the warning about
1562 the errors in the init file to the end of `after-init-hook'.
1563 (Bug#17927)
1564
1565 * faces.el (face-name): Return input arg `face' as-is
1566 when it's not a symbol.
1567 (x-resolve-font-name): Don't check if the face is a symbol.
1568 (Bug#17956)
1569
1570 * facemenu.el (list-colors-print): In help-echo format use %.2f
1571 instead of %d because now HSV values are floating-point components
1572 between 0.0 and 1.0.
1573
1574 2014-07-09 Glenn Morris <rgm@gnu.org>
1575
1576 * emulation/cua-rect.el (cua--activate-rectangle):
1577 Avoid setting cua--rectangle to nil. (Bug#17877)
1578
1579 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1580
1581 * calendar/todo-mode.el: Fix wrong-type-argument error when
1582 marking multiple consecutive items.
1583 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1584 end of the todo and done items sections. Note in doc string that
1585 items marked by passing a numeric prefix argument can include the
1586 last todo and first done items.
1587 (todo-mark-category): Don't try to mark the empty line between the
1588 todo and done items sections.
1589
1590 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1593 proper Lisp quoting (bug#17934).
1594
1595 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1596 require-final-newline since prog-mode already took care of it (bug#17947).
1597
1598 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
1599
1600 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1601 refer to the Todo mode Info manual. Update the comment on
1602 requiring cl-lib.
1603 (todo-find-filtered-items-file): Add todo-prefix overlays.
1604 (todo-filter-items): Reorder a let-bound variable to avoid a
1605 wrong-type-argument error on canceling the file choice dialog.
1606
1607 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * progmodes/octave.el (inferior-octave-mode):
1610 Set comint-input-ring-size to a number (bug#17912).
1611
1612 2014-07-09 Juri Linkov <juri@jurta.org>
1613
1614 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1615 and `isearch-mode' associated with nil. (Bug#17849)
1616
1617 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * linum.el (linum--face-height): New function (bug#17813).
1620 (linum-update-window): Use it to adjust margin to linum's width.
1621
1622 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
1623 * eshell/em-smart.el (eshell-smart-scroll-window):
1624 Use with-selected-window.
1625
1626 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
1627 Remove also pointless window&mark manipulation.
1628
1629 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
1630 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
1631 (perl-continuation-line-p): Don't skip over anything else than labels.
1632 Return the previous char.
1633 (perl-calculate-indent): Use syntax-ppss instead of parse-start
1634 and update callers accordingly. For continuation lines, check the
1635 the case of array hashes.
1636 (perl-backward-to-noncomment): Make it non-interactive.
1637 (perl-backward-to-start-of-continued-exp): Rewrite.
1638
1639 2014-07-08 Sam Steingold <sds@gnu.org>
1640
1641 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
1642 New user commands.
1643
1644 2014-07-08 Juri Linkov <juri@jurta.org>
1645
1646 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
1647 (vc-annotate-color-map): Use less saturated colors (20%) for
1648 background-mode.
1649 (vc-annotate-very-old-color): Add default value for background-mode.
1650 (vc-annotate-background): Set default value to nil since now text on
1651 the default backgrounds should be legible in light and dark modes.
1652 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
1653 (Bug#17808)
1654
1655 2014-07-08 Juri Linkov <juri@jurta.org>
1656
1657 * simple.el (transpose-chars): Don't move point into read-only area.
1658 (Bug#17829)
1659
1660 2014-07-08 Juri Linkov <juri@jurta.org>
1661
1662 * window.el (with-displayed-buffer-window): New macro.
1663 (with-temp-buffer-window, with-current-buffer-window):
1664 Use `macroexp-let2' to evaluate and bind variables
1665 in the same order as macro arguments.
1666 (display-buffer--action-function-custom-type):
1667 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
1668
1669 * minibuffer.el (minibuffer-completion-help): Replace
1670 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
1671 with actions that display *Completions* at-bottom when called
1672 from the minibuffer, or below-selected in a normal buffer.
1673 Associate `window-height' with `fit-window-to-buffer'.
1674 Let-bind `pop-up-windows' to nil.
1675
1676 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
1677 instead of `with-current-buffer-window'. (Bug#17809)
1678
1679 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
1680
1681 * progmodes/hideif.el (hide-ifdef-env): Change to global.
1682 (hide-ifdef-env-backup): New variable.
1683 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
1684 New customizable variables.
1685 (hif-clear-all-ifdef-defined): New defun.
1686 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
1687 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
1688 (hif-tokenize): Fix for MS-DOS/Win EOL style.
1689 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
1690 Fix bug to hide the correct #elif region(s).
1691 (hif-range-elif): New defun.
1692 (hif-recurse-level): New var.
1693 (hif-evaluate-region, hif-evaluate-macro): New defun.
1694 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
1695 fully hidden.
1696 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
1697 Better interaction.
1698
1699 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
1700
1701 * net/dbus.el (dbus-peer-handler): New defun.
1702 (dbus-register-service): Register it. (Bug#17858)
1703 (dbus-managed-objects-handler): Fix docstring.
1704
1705 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
1706
1707 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
1708 (narrow-to-defun): New arg include-comments, defaulting to it
1709 (bug#16328).
1710
1711 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
1714 different calling convention to rectangle--unhighlight-for-redisplay.
1715
1716 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
1717
1718 * net/tramp.el (tramp-call-process): Handle error strings.
1719
1720 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
1721
1722 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
1723 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
1724
1725 * net/trampver.el: Update release number.
1726
1727 2014-07-03 Juri Linkov <juri@jurta.org>
1728
1729 * desktop.el (desktop-save): Rename arg `auto-save' to
1730 `only-if-changed'. Doc fix. (Bug#17873)
1731
1732 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1735 Use insert-for-yank (bug#17271).
1736
1737 2014-07-03 Leo Liu <sdl.web@gmail.com>
1738
1739 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1740 Support lexical-binding.
1741
1742 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * vc/log-edit.el (log-edit-goto-eoh): New function.
1745 (log-edit--match-first-line): Use it (bug#17861).
1746
1747 2014-07-03 Glenn Morris <rgm@gnu.org>
1748
1749 * vc/log-edit.el (log-edit-hook): Add missing :version.
1750
1751 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
1752
1753 * progmodes/python.el (python-indent-post-self-insert-function):
1754 Enhancements to electric indentation behavior inside
1755 parens. (Bug#17658)
1756
1757 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1760 buffer-invisibility-spec (bug#17867).
1761
1762 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
1763
1764 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1765 pass "-a".
1766
1767 2014-07-03 Glenn Morris <rgm@gnu.org>
1768
1769 * cus-edit.el (help):
1770 * finder.el (finder-known-keywords):
1771 * help.el (help-for-help-internal):
1772 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1773 (ediff-redraw-registry-buffer):
1774 * vc/ediff-ptch.el (ediff-patch-file-internal):
1775 Doc fixes re "online" help. (Bug#17803)
1776
1777 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1778 (idlwave-mode): Doc URL update.
1779
1780 2014-07-01 Juri Linkov <juri@jurta.org>
1781
1782 * man.el: Display man pages immediately and use process-filter
1783 to format them asynchronously.
1784 (Man-width): Doc fix.
1785 (man): Doc fix.
1786 (Man-start-calling): Use `with-selected-window' to get
1787 `frame-width' and `window-width'.
1788 (Man-getpage-in-background): Call `Man-notify-when-ready'
1789 immediately after creating a new buffer. Call `Man-mode' and set
1790 `mode-line-process' in the created buffer. Set process-filter to
1791 `Man-bgproc-filter' in start-process branch. In call-process branch
1792 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
1793 Use `Man-start-calling' inside `with-current-buffer'.
1794 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
1795 (Man-cleanup-manpage): Don't print messages.
1796 (Man-bgproc-filter): New function.
1797 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
1798 user moved it during asynchronous formatting. Move calls of
1799 `Man-fontify-manpage' and `Man-cleanup-manpage' to
1800 `Man-bgproc-filter'. Move the call of `Man-mode' to
1801 `Man-getpage-in-background'. Use `quit-restore-window'
1802 instead of `kill-buffer'. Use `message' instead of `error'
1803 because errors are caught by process sentinel.
1804 (Man-mode): Move calls of `Man-build-page-list',
1805 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
1806 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
1807
1808 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
1809 for the message about the man page cleaned up.
1810
1811 2014-07-01 Mario Lang <mlang@delysid.org>
1812
1813 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
1814 cosutomization option `gnutls-verify-error'.
1815
1816 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
1819 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
1820
1821 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
1822 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
1823 is suspended (bug#17857).
1824
1825 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
1826
1827 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1828 Prefer utf-8 coding. (Bug#17859)
1829
1830 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1831
1832 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
1833 for `reverse'.
1834
1835 2014-06-30 Glenn Morris <rgm@gnu.org>
1836
1837 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
1838 (autoload-ensure-default-file): Maybe make existing output writable.
1839 * Makefile.in (AUTOGEN_VCS): Remove.
1840 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
1841
1842 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1843
1844 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
1845
1846 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
1847
1848 New if-let, when-let, thread-first and thread-last macros.
1849
1850 * emacs-lisp/subr-x.el
1851 (internal--listify, internal--check-binding)
1852 (internal--build-binding-value-form, internal--build-binding)
1853 (internal--build-bindings): New functions.
1854 (internal--thread-argument, thread-first, thread-last)
1855 (if-let, when-let): New macros.
1856
1857 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
1858
1859 * net/rcirc.el (rcirc-buffer-process): Restore previous
1860 behaviour. (Bug#17772)
1861
1862 2014-06-29 Alan Mackenzie <acm@muc.de>
1863
1864 Don't call c-parse-state when c++-template-syntax-table is active.
1865 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
1866 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
1867 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
1868
1869 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1870
1871 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1872 account for file-wide setting of todo-top-priorities-overrides.
1873 Make code a bit cleaner.
1874
1875 2014-06-28 Glenn Morris <rgm@gnu.org>
1876
1877 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1878
1879 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
1880
1881 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1882 category-wide setting of todo-top-priorities-overrides, check for
1883 a file-wide setting and fontify accordingly.
1884
1885 2014-06-28 Glenn Morris <rgm@gnu.org>
1886
1887 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1888
1889 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
1892
1893 2014-06-28 K. Handa <handa@gnu.org>
1894
1895 Fix Bug#17739.
1896
1897 * composite.el: Setup composition-function-table for dotted circle.
1898 (compose-gstring-for-dotted-circle): New function.
1899
1900 * international/characters.el: Add category "^" to all
1901 non-spacing characters.
1902
1903 2014-06-28 Glenn Morris <rgm@gnu.org>
1904
1905 * Makefile.in (doit): Remove force rule.
1906 (custom-deps, finder-data, autoloads, update-subdirs)
1907 (compile-one-process): PHONY targets do not need force rules.
1908
1909 * Makefile.in (compile-main, compile, compile-always):
1910 No need to explicitly pass variables to ourself in recursive calls.
1911
1912 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
1915
1916 2014-06-26 Glenn Morris <rgm@gnu.org>
1917
1918 * Makefile.in (update-authors): Update for moved authors.el.
1919
1920 2014-06-26 Leo Liu <sdl.web@gmail.com>
1921
1922 * skeleton.el (skeleton-end-hook): Default to nil and move the
1923 work to skeleton-insert. (Bug#17850)
1924
1925 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
1926
1927 * calc/calc-alg.el (math-beforep):
1928 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
1929 Simplify because string-lessp can accept symbols as args.
1930
1931 2014-06-26 Daiki Ueno <ueno@gnu.org>
1932
1933 * emacs-lisp/package.el (package--check-signature):
1934 If package-check-signature is allow-unsigned, don't signal error when
1935 we can't verify signature because of missing public key
1936 (bug#17625).
1937
1938 2014-06-26 Glenn Morris <rgm@gnu.org>
1939
1940 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1941 Remove outdated declaration.
1942
1943 * emacs-lisp/authors.el (authors-valid-file-names)
1944 (authors-renamed-files-alist): Additions.
1945
1946 2014-06-26 Leo Liu <sdl.web@gmail.com>
1947
1948 * textmodes/picture.el (picture-set-tab-stops):
1949 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1950 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1951
1952 * progmodes/asm-mode.el (asm-calculate-indentation):
1953 Use indent-next-tab-stop.
1954
1955 * indent.el (indent-accumulate-tab-stops): New function.
1956
1957 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1960 (package-desc-status): Obey it.
1961
1962 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1963
1964 * calendar/todo-mode.el: Fix two bugs.
1965 (todo-insert-item--basic): If user cancels item insertion to
1966 another category before setting priority, show original category
1967 whether it is in the same or a different file.
1968 (todo-set-item-priority): After selecting category, instead of
1969 moving point to top, which extends an active region, restore it.
1970
1971 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * help-fns.el (describe-function-1): Check file-name is a string before
1974 calling help-fns--autoloaded-p (bug#17564).
1975
1976 2014-06-26 Juri Linkov <juri@jurta.org>
1977
1978 * desktop.el (desktop-auto-save-enable)
1979 (desktop-auto-save-disable): New functions.
1980 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1981 (desktop-read): Disable the autosave before loading the desktop,
1982 and enable afterwards. (Bug#17351)
1983
1984 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 Fix some indentation problem with \; and pipes (bug#17842).
1987 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1988 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1989 New functions.
1990 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1991 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1992 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1993
1994 2014-06-26 Glenn Morris <rgm@gnu.org>
1995
1996 * emacs-lisp/find-func.el (find-function-C-source-directory):
1997 Use file-accessible-directory-p.
1998
1999 * ps-samp.el: Make it slightly less awful.
2000 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
2001 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
2002 Only set local values.
2003 (ps-article-subject, ps-article-author): Use standard functions
2004 like mail-fetch-field.
2005 (ps-info-file, ps-info-node): Use match-string.
2006 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
2007 (ps-samp-ps-setup): ... new function.
2008
2009 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
2010 Optimize away code unneeded on any modern Emacs.
2011
2012 * emacs-lisp/authors.el: Move to ../admin.
2013
2014 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
2015
2016 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
2017
2018 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
2019 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
2020 performance enhancements.
2021 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
2022 expansion.
2023 (hif-factor, hif-string-concatenation, intern-safe): Support string
2024 concatenation and argumented macro expansion.
2025 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
2026 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
2027 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
2028 (hif-canonicalize-tokens, hif-place-macro-invocation)
2029 (hif-parse-macro-arglist): Mostly new functions for supporting
2030 argumented macro expansion.
2031 (hif-string-concatenation, hif-stringify, hif-token-concat)
2032 (hif-token-stringification, hif-token-concatenation):
2033 Stringification and concatenation.
2034 (hif-find-next-relevant): Fix comments.
2035 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
2036 some cases involving #elif.
2037 (hif-find-define, hif-add-new-defines): New functions for automatically
2038 scanning of defined symbols.
2039 (hide-ifdef-guts): Fix for defined symbol auto scanning.
2040 (hide-ifdef-undef): Fix behavior to match CPP.
2041
2042 2014-06-25 Glenn Morris <rgm@gnu.org>
2043
2044 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
2045 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
2046 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
2047 files. They are not relevant to the original issue (bug#1004),
2048 and cause unnecessary recompilation (bug#2151).
2049
2050 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 * play/landmark.el: Use lexical-binding and avoid `intangible'.
2053 (landmark--last-pos): New var.
2054 (landmark--intangible-chars): New const.
2055 (landmark--intangible): New function.
2056 (landmark-mode, landmark-move): Use it.
2057 (landmark-mode): Remove properties.
2058 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
2059 (landmark-cross-qtuple):
2060 Don't worry about `intangible' any more.
2061 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
2062 (landmark-init-display): Don't set `intangible' and `point-entered'.
2063 (square): Remove. Inline it instead.
2064 (landmark--distance): Rename from `distance'.
2065 (landmark-calc-distance-of-robot-from): Rename from
2066 calc-distance-of-robot-from.
2067 (landmark-calc-smell-internal): Rename from calc-smell-internal.
2068
2069 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
2070
2071 * files.el (dir-locals-find-file, file-relative-name):
2072 * info.el (Info-complete-menu-item):
2073 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
2074 to compare-strings to avoid out-of-range errors.
2075 * subr.el (string-prefix-p): Adjust to match strict range
2076 checking in compare-strings.
2077
2078 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
2079
2080 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
2081 for comment lines non-greedy and stopping at newlines to fix stack
2082 overflows with large files.
2083
2084 2014-06-24 Eli Barzilay <eli@barzilay.org>
2085
2086 * calculator.el (calculator-last-input): Drop 'ascii-character property
2087 lookup.
2088
2089 2014-06-24 Leo Liu <sdl.web@gmail.com>
2090
2091 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
2092 tab-stop-list to nil. (Bug#16381)
2093
2094 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
2095 (indent-rigidly-left-to-tab-stop)
2096 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
2097 (move-to-tab-stop): Change callers.
2098
2099 2014-06-24 Eli Zaretskii <eliz@gnu.org>
2100
2101 * skeleton.el (skeleton-insert): Yet another fix of the doc string
2102 wrt behavior of \n as the first/last element of a skeleton.
2103
2104 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
2105
2106 * net/tramp-adb.el (tramp-adb-handle-process-file):
2107 * net/tramp-sh.el (tramp-sh-handle-process-file):
2108 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
2109 the output buffer when DISPLAY is non-nil. (Bug#17815)
2110
2111 2014-06-24 Glenn Morris <rgm@gnu.org>
2112
2113 * play/landmark.el (landmark-move-down, landmark-move-up):
2114 Fix 2007-10-20 change - preserve horizontal position.
2115
2116 2014-06-23 Sam Steingold <sds@gnu.org>
2117
2118 * simple.el (kill-append): Remove undo boundary depending on ...
2119 (kill-append-merge-undo): New user option.
2120
2121 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * simple.el (handle-shift-selection, exchange-point-and-mark)
2124 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
2125 (transient-mark-mode): Use&set the global value.
2126 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
2127 * emulation/edt.el (edt-emulation-off): Save&restore the global
2128 transient-mark-mode setting.
2129 * obsolete/pc-select.el (pc-selection-mode): Use the
2130 transient-mark-mode function.
2131
2132 2014-06-23 Eli Zaretskii <eliz@gnu.org>
2133
2134 * international/fontset.el (script-representative-chars):
2135 Add representative characters for scripts added in Unicode 7.0.
2136 (otf-script-alist): Synchronize with the latest registry of OTF
2137 script tags.
2138
2139 * international/characters.el (char-script-table): Update for
2140 scripts added and codepoint ranges changed in Unicode 7.0.
2141
2142 2014-06-23 Eli Barzilay <eli@barzilay.org>
2143
2144 * calculator.el (calculator-standard-displayer): Fix bug in use of
2145 `calculator-groupize-number'.
2146 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
2147 `eval' code, so it works in v24.3.1 too.
2148 (calculator-last-input): Comment to clarify purpose.
2149
2150 2014-06-22 Mario Lang <mlang@delysid.org>
2151
2152 * textmodes/rst.el (rst-comment-region): From from -> from.
2153
2154 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
2155
2156 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
2157
2158 * electric.el (electric-layout-post-self-insert-function):
2159 * emacs-lisp/ert.el (ert--insert-infos):
2160 * obsolete/vi.el (vi-set-mark):
2161 * term.el (term-handle-scroll):
2162 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
2163 * wid-edit.el (widget-editable-list-value-create):
2164 Prefer point-marker to copy-marker of point.
2165
2166 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2167
2168 Fix completion retrieval parsing (bug#17209).
2169 * progmodes/python.el (python-mode):
2170 (python-util-strip-string): New function.
2171 (python-shell-completion-get-completions): Use it.
2172
2173 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2174
2175 * skeleton.el (skeleton-insert): Fix last change.
2176
2177 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
2178
2179 Enhancements for outline integration (bug#17796).
2180 * progmodes/python.el (python-mode): Properly set
2181 outline-heading-end-regexp so that comments after colons for
2182 defuns are supported.
2183
2184 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2185
2186 * skeleton.el (skeleton-insert): Doc fix.
2187
2188 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
2191 (smie-config-guess): Use smie-config-local so the rules are obeyed
2192 (bug#17818).
2193
2194 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
2195 since it's already done inside the loop (bug#17819).
2196
2197 2014-06-21 Martin Rudalics <rudalics@gmx.at>
2198
2199 * mouse.el (mouse-drag-line): Re-remove code initially removed
2200 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
2201 (Bug#17819).
2202
2203 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
2206 align with the surrounding parent (bug#17721).
2207
2208 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2209
2210 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
2211 locally to nil.
2212 (texinfo-insert-block, texinfo-insert-@end)
2213 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
2214 local setting of skeleton-end-newline by adding an explicit \n to
2215 the skeletons where appropriate. (Bug#17801)
2216
2217 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
2220 (smie-indent--hanging-p): Use it.
2221 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
2222
2223 2014-06-21 Leo Liu <sdl.web@gmail.com>
2224
2225 * simple.el (read-quoted-char): Don't let help chars pop up help
2226 buffer. (Bug#16617)
2227
2228 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
2231 for | (bug#17621).
2232
2233 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
2234 Drop unknown events instead of burping.
2235
2236 2014-06-21 Eli Zaretskii <eliz@gnu.org>
2237
2238 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
2239 and later. (Bug#17790)
2240
2241 2014-06-21 Juri Linkov <juri@jurta.org>
2242
2243 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
2244 to `soft'. (Bug#17554)
2245
2246 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2247
2248 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
2249 (bug#17737).
2250
2251 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
2252
2253 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
2254 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
2255
2256 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
2257
2258 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
2259 `unread-command-events'.
2260
2261 2014-06-19 William Xu <william.xwl@gmail.com>
2262
2263 * progmodes/hideif.el (hif-string-to-number): Don't return float for
2264 hex integer constants (bug#17807).
2265
2266 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * international/mule-util.el (truncate-string-ellipsis): New var.
2269 (truncate-string-to-width): Use it.
2270
2271 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
2272
2273 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
2274 (lisp-string-in-doc-position-p): New function, extracted from
2275 lisp-font-lock-syntactic-face-function.
2276 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
2277
2278 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
2279
2280 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
2281
2282 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
2285 (bubbles--game-over): Don't add `intangible' properties since they
2286 didn't work anyway.
2287
2288 2014-06-18 Juri Linkov <juri@jurta.org>
2289
2290 * vc/ediff-init.el (ediff-current-diff-Ancestor)
2291 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
2292 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
2293 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
2294 Add `min-colors 88' version with removed black/white foregrounds.
2295 (Bug#10181)
2296
2297 2014-06-18 Juri Linkov <juri@jurta.org>
2298
2299 * vc/diff-mode.el (diff-changed): Empty face definition to use
2300 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
2301 (diff-context): Use darker color on light background and
2302 lighter color on dark background.
2303
2304 2014-06-18 Juri Linkov <juri@jurta.org>
2305
2306 * vc/diff-mode.el (diff-refine-changed): Rename from
2307 `diff-refine-change' for consistency with `diff-changed'.
2308 (diff-refine-change): Add obsolete face alias. (Bug#10181)
2309
2310 * vc/smerge-mode.el (smerge-refined-changed): Rename from
2311 `smerge-refined-change'.
2312 (smerge-refined-change): Add obsolete face alias.
2313
2314 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * rect.el (rectangle-preview): New custom.
2317 (rectangle): New group.
2318 (rectangle--pos-cols): Add `window' argument.
2319 (rectangle--string-preview-state, rectangle--string-preview-window):
2320 New vars.
2321 (rectangle--string-flush-preview, rectangle--string-erase-preview)
2322 (rectangle--space-to, rectangle--string-preview): New functions.
2323 (string-rectangle): Use them.
2324 (rectangle--inhibit-region-highlight): New var.
2325 (rectangle--highlight-for-redisplay): Obey it. Make sure
2326 `apply-on-region' uses the point-crutches of the right window.
2327 Use :align-to rather than multiple spaces.
2328
2329 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
2330
2331 * ruler-mode.el (ruler-mode-window-col)
2332 (ruler-mode-mouse-set-left-margin)
2333 (ruler-mode-mouse-set-right-margin): Fix calculation of column
2334 from mouse position (Bug#17768).
2335
2336 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
2337
2338 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
2339 without varname or rhs causes crash.
2340 (dun-ftp): Fix bug where blank ftp password is allowed, making it
2341 impossible to win endgame.
2342 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
2343 rlogin is anymore.
2344 (dun-help): Bump version number; update contact info.
2345
2346 2014-06-15 Eli Barzilay <eli@barzilay.org>
2347
2348 * calculator.el (calculator-prompt, calculator-remove-zeros)
2349 (calculator-mode-hook, calculator-operators, calculator-stack)
2350 (calculator-mode): Tweak docstring.
2351 (calculator-user-operators): Tweak docstring, fix a bug in the last
2352 example.
2353 (calculator-displayer): `std' case has an optional boolean.
2354 (calculator-displayers): Use the new boolean to group in decimal mode.
2355 (calculator-mode-map, calculator, calculator-message)
2356 (calculator-op-arity, calculator-add-operators)
2357 (calculator-string-to-number, calculator-displayer-prev)
2358 (calculator-displayer-next, calculator-remove-zeros)
2359 (calculator-eng-display, calculator-number-to-string)
2360 (calculator-update-display, calculator-last-input)
2361 (calculator-clear-fragile, calculator-digit, calculator-decimal)
2362 (calculator-exp, calculator-saved-move, calculator-clear)
2363 (calculator-copy, calculator-put-value, calculator-help)
2364 (calculator-expt, calculator-truncate): Minor code improvements.
2365 (calculator-need-3-lines): New function pulling out code from
2366 `calculator'.
2367 (calculator-get-display): Rename from `calculator-get-prompt', and
2368 improved.
2369 (calculator-push-curnum): Rename from `calculator-curnum-value', and
2370 extended for all uses of it. All callers changed.
2371 (calculator-groupize-number): New utility for splitting a number into
2372 groups.
2373 (calculator-standard-displayer): Improve code, new optional argument to
2374 use comma-split groups, make second argument optional too to use with
2375 'left/'right inputs. All callers changed.
2376 (calculator-reduce-stack-once): New utility, doing the meat of what
2377 `calculator-reduce-stack' used to do, much improved (mostly using
2378 `pcase' for conciseness and clarity).
2379 (calculator-reduce-stack): Now doing just the reduction loop using
2380 `calculator-reduce-stack-once'.
2381 (calculator-funcall): Improve code, make it work in v24.3.1 too.
2382 (calculator-last-input): Improve code, remove some old cruft.
2383 (calculator-quit): Kill `calculator-buffer' in electric mode too.
2384 (calculator-integer-p): Remove.
2385 (calculator-fact): Improve code, make it work on non-integer values
2386 too (using truncated numbers).
2387
2388 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
2389
2390 Sync with Tramp 2.2.10.
2391
2392 * net/tramp.el (tramp-methods): Tweak docstring.
2393 (tramp-handle-file-accessible-directory-p): Check for
2394 `file-readable-p' instead of `file-executable-p'.
2395 (tramp-check-cached-permissions):
2396 Use `tramp-compat-file-attributes'.
2397 (tramp-call-process): Add new argument VEC. Adapt callees in all
2398 tramp*.el files.
2399
2400 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
2401 (tramp-adb-maybe-open-connection): Don't set
2402 `tramp-current-*' variables.
2403
2404 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
2405 file properties of temporary buffers.
2406
2407 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
2408
2409 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
2410 (tramp-gvfs-handle-delete-file): Flush file
2411 properties, not directory properties.
2412 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
2413 reading "unix::mode".
2414 (tramp-gvfs-handle-file-name-all-completions):
2415 Use "-h" option for "gvfs-ls".
2416 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
2417 (tramp-gvfs-send-command): Simplify traces.
2418
2419 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
2420 (vc-git-program, vc-hg-program): Declare.
2421 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
2422 (tramp-methods) <nc>: Add new method.
2423 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
2424 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
2425 `tramp-login-args'.
2426 (tramp-default-user-alist): Add "nc".
2427 (top): Remove completion function for "sftp". Add completion
2428 functions for "nc" and "psftp".
2429 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
2430 Implement support for "nc" method.
2431 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
2432 (tramp-remote-coding-commands, tramp-call-local-coding-command):
2433 Tweak docstring.
2434 (tramp-sh-handle-write-region): Tweak error message.
2435 (tramp-sh-handle-vc-registered): Remove backends when the remote
2436 binary does not exist.
2437 (tramp-find-inline-encoding): Do not raise an error.
2438 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
2439 the "nc" case. Quote result also locally.
2440
2441 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2442 (tramp-smb-handle-set-file-acl): Use `start-process'.
2443 (tramp-smb-handle-insert-directory): Use progress reporter.
2444 (tramp-smb-handle-rename-file): Flush also file properties of
2445 FILENAME.
2446
2447 * net/trampver.el: Update release number.
2448
2449 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
2452 add-to-list.
2453 (ses-localvars): Remove ses--local-printer-list, unused.
2454 (ses--metaprogramming): New macro. Use it to defvar variables.
2455 (ses-set-localvars): Simplify.
2456 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
2457 property-list into an alist.
2458 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2459 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
2460 Remove; use defstruct accessors/setters instead.
2461 (ses-cell-formula-aset, ses-cell-printer-aset)
2462 (ses-cell-references-aset): Remove, use setf instead.
2463 (ses--alist-get): New function.
2464 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
2465 Use an alist instead of a plist and don't do move-to-front since the
2466 list is always short.
2467 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
2468 (ses-cell-property-set-fun, ses-cell-property-set)
2469 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
2470 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
2471 (ses--letref): New macro.
2472 (ses-cell-property-pop): Rewrite.
2473 (ses--cell): Rename from ses-cell and make it into a function.
2474 Make `formula' fallback on `value' if nil.
2475 (ses--local-printer): Rename from ses-local-printer and make it into
2476 a function.
2477 (ses-set-cell): Turn it into a macro so finding the accessor from the
2478 field name is done at compile time.
2479 (ses-repair-cell-reference-all): Test presence of `sym' rather than
2480 `ref' before adding `sym' to :ses-repair-reference.
2481 (ses-calculate-cell): Use ses--letref rather than
2482 ses-cell-property-get-handle.
2483 (ses-write-cells): Use a single prin1-to-string.
2484 (ses-setter-with-undo): New function.
2485 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
2486 (ses-unset-with-undo): Remove.
2487 (ses-load): Prefer apply' over `eval'.
2488 (ses-read-printer, ses-set-column-width): Use standard "(default
2489 foo)" format.
2490
2491 2014-06-15 Glenn Morris <rgm@gnu.org>
2492
2493 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
2494
2495 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
2496 Replace delete-duplicates and mapcan by cl- versions throughout.
2497 And cl-macroexpand-all by macroexpand-all.
2498 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
2499
2500 2014-06-15 Eli Zaretskii <eliz@gnu.org>
2501
2502 * subr.el (posn-col-row): Doc fix. (Bug#17768)
2503
2504 2014-06-15 Juri Linkov <juri@jurta.org>
2505
2506 * bindings.el: Put `ascii-character' property on keypad keys
2507 mapped to characters. (Bug#17759)
2508
2509 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2510
2511 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
2512 bumping forward into a closing paren (bug#17761).
2513
2514 * term/xterm.el (xterm--version-handler): Work around for OSX
2515 Terminal.app (bug#17607).
2516
2517 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
2518
2519 * play/dunnet.el (dun-describe-room, dun-mode):
2520 If a lamp is in the room, you won't be eaten by a grue.
2521
2522 2014-06-13 Glenn Morris <rgm@gnu.org>
2523
2524 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
2525 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
2526 (compile-always): GNU make automatically passes
2527 command-line arguments to sub-makes.
2528
2529 * calendar/calendar.el (calendar-generate-window):
2530 Remove pointless call to font-lock-fontify-buffer.
2531
2532 2014-06-13 Matthias Meulien <orontee@gmail.com>
2533
2534 * simple.el (completion-list-mode-map): Navigate with tab and backtab
2535 (bug#17767).
2536
2537 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * simple.el (set-mark-command): Simplify a bit.
2540
2541 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2542
2543 * help.el (help--key-binding-keymap): New function.
2544 (help--binding-locus): New function.
2545 (describe-key): Mention the keymap in which the binding was
2546 found. (bug#13948)
2547
2548 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * hippie-exp.el (he--all-buffers): New function.
2551 (try-expand-line-all-buffers, try-expand-list-all-buffers)
2552 (try-expand-dabbrev-all-buffers): Use it.
2553
2554 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
2555
2556 * hippie-exp.el (try-expand-line-all-buffers)
2557 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
2558 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
2559 original buffer, in case they're buffer-local.
2560
2561 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
2562
2563 * ses.el (ses-initial-global-parameters-re): New defconst, a
2564 specific regexp is needed now that ses.el can handle both
2565 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
2566 local printers.
2567 (ses-localvars): Add local variables needed for local printer handling.
2568 (ses-set-localvars): Handle hashmap initialisation.
2569 (ses-paramlines-plist): Add param-line for number of local printers.
2570 (ses-paramfmt-plist): New defconst, needed for code factorization
2571 between functions `ses-set-parameter' and
2572 `ses-file-format-extend-paramter-list'
2573 (ses-make-local-printer-info): New defsubst.
2574 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
2575 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
2576 (ses-cell-printer-aset): New defmacro.
2577 (ses-local-printer-compile): New defun.
2578 (ses-local-printer): New defmacro.
2579 (ses-printer-validate, ses-call-printer): Add support for local
2580 printer functions.
2581 (ses-file-format-extend-paramter-list): New defun.
2582 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
2583 factorization.
2584 (ses-load): Add support for local printer functions.
2585 (ses-read-printer): Update docstring and add support for local printer
2586 functions.
2587 (ses-refresh-local-printer, ses-define-local-printer): New defun.
2588 (ses-safe-printer): Add support for local printer functions.
2589
2590 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
2591
2592 * ffap.el (ffap-lax-url): New var (bug#17723).
2593 (ffap-url-at-point): Use it.
2594 (ffap-file-at-point): Avoid returning just "/".
2595
2596 2014-06-12 Matthias Meulien <orontee@gmail.com>
2597
2598 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
2599 (python-mode-map): Bind it.
2600
2601 * progmodes/python.el (class skeleton): Don't erase last char of class
2602 name (bug#17683).
2603
2604 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
2605
2606 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
2607
2608 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
2609
2610 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
2611 (bug#17745).
2612
2613 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2614
2615 * international/mule-cmds.el: Use lexical-binding.
2616 (ucs-names): Simplify.
2617
2618 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
2619
2620 * progmodes/python.el (run-python): Use read-shell-command.
2621
2622 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2623
2624 * rect.el: Make it possible to move bounds past EOL or into TABs.
2625 (operate-on-rectangle): Use apply-on-rectangle.
2626 (rectangle--mark-crutches): New var.
2627 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
2628 (rectangle--crutches, rectangle--reset-crutches): New functions.
2629 (apply-on-rectangle): Obey crutches. Avoid setq.
2630 Fix missing final iteration if end is at EOB&BOL.
2631 (rectangle-mark-mode-map): Add remap bindings for
2632 exchange-point-and-mark and char/line movements.
2633 (rectangle--*-char): New function.
2634 (rectangle-exchange-point-and-mark, rectangle-right-char)
2635 (rectangle-left-char, rectangle-forward-char)
2636 (rectangle-backward-char, rectangle-next-line)
2637 (rectangle-previous-line): New commands.
2638 (rectangle--place-cursor): New function.
2639 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
2640
2641 2014-06-08 Glenn Morris <rgm@gnu.org>
2642
2643 * startup.el (initial-buffer-choice): Doc fix.
2644 Reset :version (adding an option does not merit a :version bump).
2645
2646 * bookmark.el (bookmark-load):
2647 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
2648
2649 2014-06-08 Juri Linkov <juri@jurta.org>
2650
2651 * desktop.el: Activate auto-saving on window configuration changes.
2652 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
2653 `desktop-auto-save-set-timer' to/from
2654 `window-configuration-change-hook'.
2655 (desktop-auto-save-set-timer): Change REPEAT arg of
2656 `run-with-idle-timer' from t to nil.
2657 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
2658
2659 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
2660
2661 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
2662 vc-hg-command (bug#17570).
2663
2664 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * international/mule-cmds.el (ucs-names): Add special entry for BEL
2667 (bug#17702).
2668
2669 2014-06-08 Glenn Morris <rgm@gnu.org>
2670
2671 * startup.el (window-setup-hook): Doc fix.
2672
2673 * emacs-lisp/package.el (package-check-signature)
2674 (package-unsigned-archives): Doc fixes.
2675
2676 2014-06-08 Martin Rudalics <rudalics@gmx.at>
2677
2678 * window.el (display-buffer-use-some-window): Don't make window
2679 used smaller than it was before (Bug#17671).
2680
2681 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2682
2683 * menu-bar.el (menu-bar-open): Fix last change: use the PC
2684 'redisplay' instead of '(sit-for 0)'.
2685
2686 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * net/tramp.el (tramp-ssh-controlmaster-options):
2689 Improve search regexp. (Bug#17653)
2690
2691 2014-06-08 Glenn Morris <rgm@gnu.org>
2692
2693 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
2694
2695 2014-06-08 Eli Zaretskii <eliz@gnu.org>
2696
2697 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
2698
2699 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
2700
2701 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
2702 (bug#17586).
2703
2704 * vc/vc-hg.el (vc-hg-log-graph): New var.
2705 (vc-hg-print-log): Use it.
2706 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
2707 graph output (bug#17515).
2708
2709 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * mouse.el (mouse-posn-property): Ignore buffer position info when the
2712 even happened elsewhere.
2713
2714 2014-06-06 Mario Lang <mlang@delysid.org>
2715
2716 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
2717 `recenter' if `current-buffer' is equal to `window-buffer'.
2718
2719 2014-06-05 Leo Liu <sdl.web@gmail.com>
2720
2721 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
2722
2723 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
2724
2725 * textmodes/tildify.el (tildify-foreach-region-outside-env):
2726 New function which calls a callback on portions of the buffer that are
2727 outside of ignored environments.
2728 (tildify-build-regexp): Remove function since it is now
2729 incorporated in `tildify-foreach-region-outside-env' where it is
2730 optimised and simplified by the use of `mapconcat'.
2731 (tildify-tildify): Return number of substitutions made so that…
2732 (tildify-count): …can be removed.
2733 (tildify-find-env): Accept a new PAIRS argument which was
2734 previously looked up in `tildify-ignored-environments-alist' each
2735 time the function was called. With this change, the lookup is
2736 performed only once in `tildify-foreach-region-outside-env'.
2737 (tildify-region): Greatly simplify the function since now most of
2738 the work is done by `tildify-foreach-region-outside-env'.
2739 (tildify-mode-alist): Simplify slightly by avoiding if and setq
2740 and instead using or.
2741
2742 * textmodes/tildify.el (tildify-ignored-environments-alist):
2743 Optimise environments regexes
2744
2745 Each time beginning of an environment to ignore is found,
2746 `tildify-find-env' needs to identify regexp for the ending
2747 of the environment. This is done by trying all the opening
2748 regexes on matched text in a loop, so to speed that up, this
2749 loop should have fewer things to match, which can be done by
2750 using alternatives in the opening regexes.
2751
2752 Coincidentally, this should make matching of the opening
2753 regexp faster as well thanks to the use of `regexp-opt' and
2754 having common prefix pulled from many regexes.
2755
2756 * textmodes/tildify.el (tildify-string-alist)
2757 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
2758 of supported modes since `xml-mode' is no longer a thing but just
2759 an alias to the former. Also include comments and insides of tags
2760 in `tildify-ignored-environments-alist' for XML modes. Finally,
2761 since XML does not define “&nbsp;”[1], use a numeric reference for
2762 a no-break space (namely “&#160;”)
2763
2764 [1] XML specification defines only a handful of predefined entities.
2765 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
2766 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
2767 >, &, ' and " respectively). This is in contrast to HTML and even
2768 XHTML which defined a whole bunch of entities including “&nbsp;”.
2769
2770 * textmodes/tildify.el (tildify-pattern-alist)
2771 (tildify-string-alist, tildify-ignored-environments-alist):
2772 Improve defcustom's types by adding more tags explaining what each
2773 value means and replace “sexp” used in
2774 `tildify-ignored-environments-alist' with a full type declaration.
2775
2776 * textmodes/tildify.el (tildify-find-env): Fix matched group
2777 indexes in end-regex building
2778
2779 When looking for a start of an ignore-environment, the regex is built
2780 by concatenating regexes of all the environments configured in
2781 `tildify-ignored-environments-alist'. So for example, the following
2782 list could be used to match TeX's \verb and \verb* commands:
2783
2784 (("\\\\verb\\(.\\)" . (1))
2785 ("\\\\verb\\*\\(.\\)" . (1)))
2786
2787 This would result in the following regex being used to find the start
2788 of any of the variants of the \verb command:
2789
2790 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
2791
2792 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
2793 won't match anything, and thus (match-string 1) will be nil, which
2794 will cause building of the end-matching regex to fail.
2795
2796 Fix this by using capture groups from the time when the opening
2797 regexes are matched individually.
2798
2799 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
2800 in `tildify-find-env'
2801
2802 The `tildify-ignored-environments-alist' allows the end-regex to
2803 be provided not as a static string but mix of strings and indexes
2804 of groups matched the begin-regex. For example, the “\verb!…!”
2805 TeX-command (where “!” is an arbitrary character) is handled
2806 using:
2807
2808 ("\\\\verb\\*?\\(.\\)" . (1))
2809
2810 In the same way, the following should be supported as well:
2811
2812 ("open-\\(.\\)" . ("end-" 1))
2813
2814 However the tildify-find-env function fails at
2815
2816 (concat result
2817 (if (stringp (setq aux (car expression)))
2818 expression ; BUG: expression is a list
2819 (regexp-quote (match-string aux))))
2820
2821 where the string part is handled incorrectly.
2822
2823 The most trivial fix would be to replace `expression' in the
2824 true-part of the if-statement with `aux', but instead, this commit
2825 optimises `tildify-find-env' by changing it to use `mapconcat'
2826 rather than open-coded while-loop.
2827
2828 2014-06-05 Mario Lang <mlang@delysid.org>
2829
2830 * woman.el (woman-mapcan): Remove.
2831 (woman-parse-colon-path): Use cl-mapcan instead.
2832
2833 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2834
2835 * register.el: Add link to Emacs manual in Commentary.
2836
2837 2014-06-02 Sam Steingold <sds@gnu.org>
2838
2839 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
2840 (popup-menu): ...here.
2841 (menu-bar-open): Use it to avoid an error when `lookup-key'
2842 returns a number.
2843
2844 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
2845
2846 * net/tramp.el (tramp-call-process): Add traces.
2847 (tramp-handle-unhandled-file-name-directory): Return "/".
2848
2849 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
2850
2851 Sync with upstream verilog-mode revision 3cd8144.
2852 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
2853 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
2854 (verilog-type-font-keywords): Add nor.
2855 (verilog-batch-execute-func): Force reading of Local Variables.
2856 Fix printing "no changes to be saved" with verilog-batch.
2857 (verilog-auto-arg-ports): Doc fix.
2858 Add verilog-auto-arg-format to support newlines in AUTOARG.
2859 (verilog-auto-arg): Doc fix.
2860
2861 2014-06-02 Glenn Morris <rgm@gnu.org>
2862
2863 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
2864 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
2865 * emulation/ws-mode.el: Move to obsolete/.
2866 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
2867
2868 2014-06-02 Eli Zaretskii <eliz@gnu.org>
2869
2870 * simple.el (keyboard-quit): Force update of mode lines, to remove
2871 the "Def" indicator, if we were defining a macro. (Bug#17615)
2872
2873 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * minibuffer.el (minibuffer-force-complete-and-exit):
2876 Obey minibuffer-default (bug#17545).
2877
2878 * progmodes/js.el (js-indent-line): Don't mix columns and chars
2879 (bug#17619).
2880
2881 * subr.el (set-transient-map): Don't wait for some "nested"
2882 transient-map to finish if we're only supposed to be active for
2883 the next command (bug#17642).
2884
2885 2014-06-02 Leo Liu <sdl.web@gmail.com>
2886
2887 * emacs-lisp/gv.el (window-buffer, window-display-table)
2888 (window-dedicated-p, window-hscroll, window-point, window-start):
2889 Fix gv-expander. (Bug#17630)
2890
2891 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
2894 clicks (bug#17633).
2895
2896 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
2897 for the single comma, since ", " is *very* common in normal French text
2898 (bug#17643).
2899
2900 2014-06-02 Glenn Morris <rgm@gnu.org>
2901
2902 * emacs-lisp/package.el (package-check-signature)
2903 (package-unsigned-archives): Fix :version.
2904
2905 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * subr.el (sit-for): Don't run input-methods (bug#15614).
2908
2909 2014-06-02 Glenn Morris <rgm@gnu.org>
2910
2911 * cus-start.el: Fix some :version numbers.
2912
2913 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2914
2915 * simple.el (deactivate-mark): Set mark-active to nil even if
2916 deactivation is done via setting transient-mark-mode to nil,
2917 since one is buffer-local and the other is global.
2918
2919 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
2920 there can't be more than 2 arguments (bug#17584).
2921
2922 2014-06-02 Glenn Morris <rgm@gnu.org>
2923
2924 * simple.el (filter-buffer-substring-functions)
2925 (filter-buffer-substring-function, buffer-substring-filters)
2926 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
2927
2928 * minibuffer.el (completion-in-region-functions, completion-in-region)
2929 (completion--in-region): Doc fixes.
2930
2931 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
2932 (expand-abbrev, abbrev--default-expand): Doc fixes.
2933
2934 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
2935
2936 Include sources used to create macuvs.h.
2937 * international/README: Refer to the Unicode Terms of Use rather
2938 than copying it bodily here, as that simplifies maintenance.
2939
2940 2014-06-01 Glenn Morris <rgm@gnu.org>
2941
2942 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
2943
2944 2014-05-31 Glenn Morris <rgm@gnu.org>
2945
2946 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
2947
2948 2014-05-30 Glenn Morris <rgm@gnu.org>
2949
2950 * loadup.el: Treat `command-line-args' more flexibly.
2951
2952 2014-05-30 Alan Mackenzie <acm@muc.de>
2953
2954 Guard (looking-at "\\s!") from XEmacs.
2955 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
2956
2957 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
2958
2959 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
2960 The argument COUNT is now optional, to be more backward-compatible.
2961 Doc fix. (Bug#17560)
2962
2963 2014-05-29 Reuben Thomas <rrt@sc3d.org>
2964
2965 * whitespace.el (whitespace-report-region):
2966 Simplify documentation.
2967 (whitespace-report-region): Allow report-if-bogus to take the
2968 value `never', for non-interactive use.
2969 (whitespace-report): Refer to whitespace-report-region's
2970 documentation.
2971
2972 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * whitespace.el: Use font-lock-flush. Minimize refontifications.
2975 Side benefit: it works without jit-lock.
2976 (whitespace-point--used): New buffer-local var.
2977 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
2978 (whitespace-color-off): Use font-lock-flush.
2979 (whitespace-point--used, whitespace-point--flush-used): New functions.
2980 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
2981 (whitespace-empty-at-eob-regexp): Use them.
2982 (whitespace-post-command-hook): Rewrite.
2983
2984 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
2985 (font-lock-fontify-buffer): Mark interactive-only.
2986 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
2987 Make buffer-local.
2988 (font-lock-specified-p): Remove redundant boundp check.
2989 (font-lock-flush-function, font-lock-ensure-function): New vars.
2990 (font-lock-turn-on-thing-lock): Set them.
2991 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
2992 (font-lock-after-change-function): Make `old-len' optional.
2993 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
2994 Call font-lock-flush, just in case.
2995 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
2996 recent Emacsen.
2997 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
2998 (vera-mode-map, vera-mode-menu): Remove bindings to it.
2999 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
3000 and with-syntax-table.
3001 * textmodes/conf-mode.el (conf-quote-normal):
3002 * progmodes/sh-script.el (sh-set-shell):
3003 * progmodes/prog-mode.el (prettify-symbols-mode):
3004 * progmodes/f90.el (f90-font-lock-n):
3005 * progmodes/cwarn.el (cwarn-mode):
3006 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
3007 * progmodes/compile.el (compilation-setup, compilation--unsetup):
3008 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
3009 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
3010 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
3011 font-lock-fontify-buffer-function and
3012 font-lock-unfontify-buffer-function.
3013 (rmail-unfontify-buffer-function, rmail-fontify-message):
3014 Use with-silent-modifications.
3015 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
3016 and font-lock-ensure.
3017 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
3018
3019 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
3020
3021 * emacs-lisp/package.el (package-generate-autoloads):
3022 Inhibit backup files.
3023
3024 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
3027 (bug#17608).
3028
3029 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
3030
3031 * textmodes/tildify.el (tildify-buffer, tildify-region):
3032 Add dont-ask option.
3033
3034 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
3037 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
3038
3039 * subr.el (internal--funcall-interactively): New.
3040 (internal--call-interactively): Remove.
3041 (called-interactively-p): Detect funcall-interactively instead of
3042 call-interactively.
3043 * simple.el (repeat-complex-command): Use funcall-interactively.
3044 (repeat-complex-command--called-interactively-skip): Remove.
3045
3046 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3047
3048 * register.el (register-read-with-preview): Don't burp on
3049 frame switches (e.g. due to the frame we just popped).
3050
3051 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
3052 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
3053
3054 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
3055
3056 * cus-face.el (custom-face-attributes): Add :distant-foreground.
3057
3058 2014-05-26 Martin Rudalics <rudalics@gmx.at>
3059
3060 * window.el (window--dump-frame): Remove interactive specification.
3061
3062 2014-05-26 Glenn Morris <rgm@gnu.org>
3063
3064 * hippie-exp.el (he-line-search-regexp):
3065 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
3066
3067 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3068
3069 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
3070 to avoid errors when trying to create or visit a file foo.todo
3071 located outside to todo-directory, and to allow having such files
3072 without them being tied to Todo mode (bug#17482).
3073 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
3074 (todo-archive-done-item, todo-find-filtered-items-file)
3075 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
3076 (todo-category-completions, todo-read-category): When visiting a
3077 Todo file, make sure we're in the right mode and the buffer local
3078 variables are set.
3079 (todo-make-categories-list, todo-reset-nondiary-marker)
3080 (todo-reset-done-string, todo-reset-comment-string):
3081 After processing all Todo files, kill the buffers of those files that
3082 weren't being visited before the processing.
3083 (todo-display-as-todo-file, todo-add-to-buffer-list)
3084 (todo-visit-files-commands): Comment out.
3085 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
3086 (auto-mode-alist): Remove add-to-list calls making Todo file
3087 extensions unrestrictedly tied to Todo modes.
3088
3089 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
3092 (advice-function-member-p): Tell it to check both names and functions
3093 (bug#17531).
3094 (advice--add-function): Adjust call accordingly.
3095
3096 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
3097
3098 * calendar/todo-mode.el: Miscellaneous bug fixes.
3099 (todo-delete-file): When deleting an archive but not its todo
3100 file, make sure to update the todo file's category sexp.
3101 (todo-move-category): Keep the moved category's name unless the
3102 file moved to already has a category with that name. If the
3103 numerically last category of the source file was moved, make the
3104 first category current to avoid selecting a nonexisting category.
3105 (todo-merge-category): Fix implementation to make merging to a
3106 category in another file work as documented. Eliminate now
3107 insufficient and unnecessary renaming of archive category, correct
3108 document string accordingly, and clarify it. If the numerically
3109 last category of the source file was merged, make the first
3110 category current to avoid selecting a nonexisting category.
3111 (todo-archive-done-item): When there are marked items and point
3112 happens to be on an unmarked item, ignore the latter. Don't leave
3113 point below last item after archiving marked items.
3114 (todo-unarchive-items): Fix logic to ensure unarchiving an item
3115 from an archive with only one category deletes the archive only
3116 when the category is empty after unarchiving. Make sure the todo
3117 file's category sexp is updated.
3118 (todo-read-file-name): Allow an existing file name even when it is
3119 not required (todo-move-category needs this to work as documented).
3120 (todo-add-file): Call todo-validate-name to reject the name of an
3121 existing todo file (needed due to fix in todo-read-file-name).
3122 (todo-reset-nondiary-marker): Also reset in filtered items files.
3123 (todo-reset-done-string, todo-reset-comment-string): Also reset in
3124 regexp filtered items files.
3125 (todo-reset-highlight-item): Also reset in filtered items files.
3126 Fix incorrect variable reference in document string.
3127
3128 2014-05-26 Glenn Morris <rgm@gnu.org>
3129
3130 * window.el (window--dump-frame): Avoid error in --without-x builds.
3131
3132 2014-05-26 Glenn Morris <rgm@gnu.org>
3133
3134 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
3135
3136 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3137
3138 * frame.el (set-frame-font): Doc fix.
3139
3140 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
3141
3142 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
3143
3144 * emacs-lisp/package.el (package--download-one-archive):
3145 Use `write-region' instead of `save-buffer' to avoid running various
3146 hooks. (Bug#17155)
3147 (describe-package-1): Same. Insert newline at the end of the
3148 buffer if appropriate.
3149
3150 2014-05-26 Juri Linkov <juri@jurta.org>
3151
3152 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
3153 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
3154 Add more modifiers: meta, control, shift, hyper, super, alt.
3155 (Bug#17439)
3156
3157 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
3158 to allow changing its value with `set-variable'.
3159
3160 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
3163 #; comments.
3164 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
3165 New functions.
3166 (scheme-mode-variables): Set syntax-propertize-function instead of
3167 font-lock-syntactic-face-function.
3168 (scheme-font-lock-syntactic-face-function): Delete.
3169
3170 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
3171
3172 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
3173 (bug#17392).
3174
3175 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3176
3177 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
3178 for a temporary file name.
3179
3180 2014-05-26 Eli Zaretskii <eliz@gnu.org>
3181
3182 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
3183
3184 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
3185
3186 * net/dbus.el (dbus-init-bus, dbus-call-method)
3187 (dbus-call-method-asynchronously, dbus-send-signal)
3188 (dbus-method-return-internal, dbus-method-error-internal):
3189 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
3190
3191 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3192
3193 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
3194 methods which do not have a doc string. (Bug#17490)
3195
3196 2014-05-25 Tassilo Horn <tsdh@gnu.org>
3197
3198 * textmodes/reftex-ref.el (reftex-format-special): Make it work
3199 also for AMS Math's \eqref macro.
3200
3201 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3202
3203 Arrange to never byte-compile the generated -pkg.el file.
3204
3205 * emacs-lisp/package.el (package-generate-description-file):
3206 Output first-line comment to set buffer-local var `no-byte-compile'.
3207 Suggested by Dmitry Gutov:
3208 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
3209
3210 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
3211
3212 Fix bug: Properly quote args to generated -pkg.el `define-package'.
3213
3214 * emacs-lisp/package.el (package-generate-description-file):
3215 Inline `package--alist-to-plist'; rewrite to selectively
3216 quote alist values that are not self-quoting.
3217 (package--alist-to-plist): Delete func.
3218
3219 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
3220
3221 * term/xterm.el (xterm-function-map): Add mapping for shifted
3222 keypad keys.
3223
3224 2014-05-24 Daniel Colascione <dancol@dancol.org>
3225
3226 * progmodes/subword.el (subword-find-word-boundary): Move point to
3227 correct spot before search. (Bug#17580)
3228
3229 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
3230 breaking the build.
3231
3232 2014-05-24 Leo Liu <sdl.web@gmail.com>
3233
3234 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
3235
3236 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * minibuffer.el (completion--sreverse): Remove.
3239 (completion--common-suffix): Use `reverse' instead.
3240 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
3241
3242 2014-05-22 Glenn Morris <rgm@gnu.org>
3243
3244 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
3245
3246 2014-05-21 Daniel Colascione <dancol@dancol.org>
3247
3248 * files.el (interpreter-mode-alist): Add mksh.
3249
3250 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
3251 derivative.
3252 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
3253 mksh. Improve custom spec; allow regular expressions.
3254 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
3255 (sh-after-hack-local-variables): New function.
3256 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
3257 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
3258 the normalization.
3259 (sh-canonicalize-shell): Rewrite to support regexes.
3260
3261 2014-05-21 Leo Liu <sdl.web@gmail.com>
3262
3263 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
3264
3265 2014-05-19 Leo Liu <sdl.web@gmail.com>
3266
3267 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
3268
3269 2014-05-18 Glenn Morris <rgm@gnu.org>
3270
3271 * loadup.el:
3272 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
3273
3274 2014-05-14 Sam Steingold <sds@gnu.org>
3275
3276 * progmodes/python.el (python-shell-get-or-create-process):
3277 Do not bind `current-prefix-arg' so that C-c C-z does not talk
3278 back unless requested.
3279
3280 2014-05-14 Glenn Morris <rgm@gnu.org>
3281
3282 * subr.el (with-file-modes): New macro.
3283 * printing.el (pr-save-file-modes): Make obsolete.
3284 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
3285 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
3286 Add with-file-modes.
3287 * doc-view.el (doc-view-make-safe-dir):
3288 * epg.el (epg--start):
3289 * files.el (locate-user-emacs-file, make-temp-file)
3290 (backup-buffer-copy, move-file-to-trash):
3291 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
3292 * eshell/esh-util.el (eshell-with-private-file-modes)
3293 (eshell-make-private-directory):
3294 * net/browse-url.el (browse-url-mosaic):
3295 * obsolete/mailpost.el (post-mail-send-it):
3296 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
3297 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
3298 Use with-file-modes.
3299
3300 * vc/emerge.el (emerge-make-temp-file): Simplify.
3301
3302 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
3303 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
3306 suffix (bug#15419).
3307
3308 2014-05-14 Glenn Morris <rgm@gnu.org>
3309
3310 * vc/emerge.el (emerge-temp-file-prefix):
3311 Make pointless option obsolete.
3312 (emerge-temp-file-mode): Make non-functional option obsolete.
3313
3314 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
3315
3316 * net/browse-url.el (browse-url):
3317 Use `unhandled-file-name-directory' when setting `default-directory',
3318 in order to circumvent stalled remote connections. (Bug#17425)
3319
3320 2014-05-14 Glenn Morris <rgm@gnu.org>
3321
3322 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
3323 Optimize on Emacs, which has the relevant functions for ages.
3324
3325 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * simple.el (undo-make-selective-list): Obey undo-no-redo.
3328
3329 2014-05-12 Sam Steingold <sds@gnu.org>
3330
3331 * calendar/time-date.el (seconds-to-string): New function to
3332 pretty print time delay in seconds.
3333
3334 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * mpc.el (mpc-format): Trim Date to the year.
3337 (mpc-songs-hashcons): Shorten the Date field.
3338
3339 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
3340 into autoloading just because of a silly indirection.
3341
3342 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
3343
3344 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
3345
3346 2014-05-12 Glenn Morris <rgm@gnu.org>
3347
3348 * emacs-lisp/find-gc.el: Move to ../admin.
3349
3350 * printing.el (pr-version):
3351 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
3352
3353 * net/browse-url.el (browse-url-mosaic):
3354 Create /tmp/Mosaic.PID as a private file.
3355
3356 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
3359 (advice--member-p): If name is given, only compare the name.
3360 (advice--remove-function): Don't stop at the first match.
3361 (advice--normalize-place): New function.
3362 (add-function, remove-function): Use it.
3363 (advice--add-function): Pass the name, if any, to
3364 advice--remove-function.
3365
3366 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3367
3368 * electric.el (electric-indent-post-self-insert-function): Don't use
3369 `pos' after modifying the buffer (bug#17449).
3370
3371 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
3372
3373 * calendar/todo-mode.el (todo-insert-item-from-calendar):
3374 Correct argument list to conform to todo-insert-item--basic.
3375
3376 2014-05-12 Glenn Morris <rgm@gnu.org>
3377
3378 * files.el (cd-absolute): Test if directory is accessible
3379 rather than executable. (Bug#17330)
3380
3381 * progmodes/compile.el (recompile):
3382 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
3383
3384 * net/browse-url.el (browse-url-mosaic):
3385 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
3386 This is CVE-2014-3423.
3387
3388 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * mouse.el: Use the normal toplevel loop while dragging.
3391 (mouse-set-point): Handle multi-clicks.
3392 (mouse-set-region): Handle multi-clicks for drags.
3393 (mouse-drag-region): Update call accordingly.
3394 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
3395 Use the normal event loop instead of a local while/read-event loop.
3396 (global-map): Remove redundant bindings for double/triple-mouse-1.
3397 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
3398 Generate synthetic down events when the protocol only sends up events.
3399 (xterm-mouse-last): Remove.
3400 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
3401 terminal parameter instead.
3402 (xterm-mouse--set-click-count): New function.
3403 (xterm-mouse-event): Detect/generate double/triple clicks.
3404 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
3405
3406 * info.el (Info-quoted): New face.
3407 (Info-mode-font-lock-keywords): New var.
3408 (Info-mode): Use it.
3409
3410 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
3411 are a hindrance for C-x C-e.
3412
3413 2014-05-11 Leo Liu <sdl.web@gmail.com>
3414
3415 * net/rcirc.el (rcirc-sentinel): Fix last change.
3416
3417 2014-05-08 Sam Steingold <sds@gnu.org>
3418
3419 * net/rcirc.el (rcirc-reconnect-delay): New user option.
3420 (rcirc-sentinel): Auto-reconnect to the server if
3421 `rcirc-reconnect-delay' is non-0 (but not more often than its
3422 value in case the host is off-line).
3423
3424 2014-05-09 Eli Zaretskii <eliz@gnu.org>
3425
3426 * progmodes/grep.el (lgrep): Fix a typo in last commit.
3427
3428 2014-05-09 Glenn Morris <rgm@gnu.org>
3429
3430 * files.el (file-expand-wildcards):
3431 * man.el (Man-support-local-filenames):
3432 * printing.el (pr-i-directory, pr-interface-directory):
3433 * progmodes/grep.el (lgrep, rgrep):
3434 * textmodes/ispell.el (ispell-call-process)
3435 (ispell-call-process-region, ispell-start-process)
3436 (ispell-init-process): Use file-accessible-directory-p.
3437
3438 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
3441 (xterm-mouse--read-event-sequence-1000): Return nil if something
3442 looks fishy.
3443 (xterm-mouse-event): Propagate it.
3444 (xterm-mouse-translate-1): Handle it.
3445
3446 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
3447
3448 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
3449 four slots of the parameter list are filled, make sure to pass it
3450 to the argument list of todo-insert-item--basic.
3451
3452 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
3455 Add optional `seen' argument to detect and break infinite loops.
3456
3457 2014-05-08 Eli Zaretskii <eliz@gnu.org>
3458
3459 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
3460 (trace-unsafe, trace-use-tree): Make parentheses style be
3461 according to Emacs style.
3462
3463 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
3464
3465 * net/tramp-sh.el (tramp-remote-process-environment):
3466 Remove HISTFILE and HISTSIZE; it's too late to set them here.
3467 Add :version entry.
3468 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
3469 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3470 extra "PSx=..." commands.
3471 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
3472 (Bug#17295)
3473
3474 (tramp-uudecode): Replace the hard-coded temporary file name by a
3475 format specifier.
3476 (tramp-remote-coding-commands): Enhance docstring.
3477 (tramp-find-inline-encoding): Replace "%t" by a temporary file
3478 name. (Bug#17415)
3479 This is CVE-2014-3424.
3480
3481 2014-05-08 Glenn Morris <rgm@gnu.org>
3482
3483 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
3484 (find-gc-source-files): Update some names.
3485 (trace-call-tree): Simplify and update.
3486 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
3487 This is CVE-2014-3422.
3488
3489 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * minibuffer.el (completion--try-word-completion): Revert fix for
3492 Bug#15980 (bug#17375).
3493
3494 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
3495 Always store button numbers in the same way in xterm-mouse-last;
3496 Don't burp is xterm-mouse-last is not set as expected.
3497 Never return negative indices.
3498
3499 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
3500
3501 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3502 Backtrack one char if the global/char-literal var matcher hits
3503 inside a string. The next char could be the beginning of an
3504 expression expansion.
3505
3506 2014-05-08 Glenn Morris <rgm@gnu.org>
3507
3508 * help-fns.el (describe-function-1): Test for an autoload before a
3509 macro, since `macrop' works on autoloads. (Bug#17410)
3510
3511 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * electric.el (electric-indent-functions-without-reindent): Add yaml.
3514
3515 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
3516 Make sure the new point we return is within the new string (bug#17239).
3517
3518 2014-05-05 Daniel Colascione <dancol@dancol.org>
3519
3520 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3521 Port `gnu' pattern to rx.
3522
3523 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
3524
3525 Remove unneeded prompt when closing a buffer with active
3526 emacsclient ("Buffer ... still has clients"), #16548.
3527 * server.el (server-start): Remove the only call to:
3528 (server-kill-buffer-query-function): Remove.
3529
3530 2014-05-04 Leo Liu <sdl.web@gmail.com>
3531
3532 * calendar/diary-lib.el (calendar-chinese-month-name-array):
3533 Defvar to pacify compiler.
3534
3535 2014-05-04 Eli Zaretskii <eliz@gnu.org>
3536
3537 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
3538
3539 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
3542 Use nil rather than `default' for the "default" appearance (bug#17388).
3543 * vc/ediff-util.el (ediff-inferior-compare-regions)
3544 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
3545 a misleading `default' value when it's really a boolean.
3546 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
3547 overlay is not visible.
3548
3549 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3550
3551 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
3552 (todo-menu): Uncomment and update.
3553
3554 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
3555
3556 * calendar/todo-mode.el: Reimplement item editing to have the same
3557 basic user interface as item insertion, and make small UI and
3558 larger internal improvements to the latter.
3559 (todo-insert-item): Add reference to the Todo mode user manual to
3560 the documentation string.
3561 (todo-insert-item--basic): Rename from todo-basic-insert-item and
3562 adjust all callers. Change signature to combine diary and
3563 nonmarking arguments. Incorporate functionality of deleted item
3564 copying command and add error checking. Remove detailed
3565 descriptions of the arguments from the documentation string, since
3566 this is treated in the Todo mode user manual.
3567 (todo-copy-item, todo-edit-multiline-item)
3568 (todo-edit-done-item-comment, todo-edit-item-header)
3569 (todo-edit-item-time, todo-edit-item-date-from-calendar)
3570 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
3571 (todo-edit-item-date-year, todo-edit-item-date-month)
3572 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
3573 Remove.
3574 (todo-edit-item): Reimplement as wrapper command for
3575 todo-edit-item--next-key and make it distinguish done and not done
3576 todo items.
3577 (todo-edit-item--text): New function, replacing old command
3578 todo-edit-item and incorporating deleted commands
3579 todo-edit-multiline-item and todo-edit-done-item-comment.
3580 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
3581 Use only numeric value of prefix argument. Remove detailed
3582 descriptions of the arguments from the documentation string, since
3583 this is treated in the Todo mode user manual.
3584 (todo-edit-item--diary-inclusion): New function, replacing old
3585 command todo-edit-item-diary-inclusion and incorporating and fixing
3586 functionality of deleted command todo-edit-item-diary-nonmarking,
3587 making sure to remove todo-nondiary-marker when adding
3588 diary-nonmarking-symbol.
3589 (todo-edit-category-diary-inclusion): Make sure to delete
3590 diary-nonmarking-symbol when adding todo-nondiary-marker.
3591 (todo-edit-category-diary-nonmarking): Fix indentation.
3592 (todo-insert-item--parameters): Group diary and nonmarking
3593 parameters together.
3594 (todo-insert-item--apply-args): Adjust to signature of
3595 todo-insert-item--basic and incorporate copy parameter.
3596 Make small code improvements.
3597 (todo-insert-item--next-param): Improve prompt and adjust it to
3598 new parameter grouping. Remove obsolete code.
3599 (todo-edit-item--param-key-alist)
3600 (todo-edit-item--date-param-key-alist)
3601 (todo-edit-done-item--param-key-alist): New defconsts.
3602 (todo-edit-item--prompt): New variable.
3603 (todo-edit-item--next-key): New function.
3604 (todo-key-bindings-t): Bind "e" to todo-edit-item.
3605 Remove bindings of deleted commands.
3606
3607 2014-05-04 Leo Liu <sdl.web@gmail.com>
3608
3609 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
3610
3611 2014-05-04 Glenn Morris <rgm@gnu.org>
3612
3613 * allout-widgets.el (allout-widgets-tally)
3614 (allout-decorate-item-guides):
3615 * menu-bar.el (menu-bar-positive-p):
3616 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3617 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
3618 * progmodes/js.el (js--inside-param-list-p)
3619 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
3620 * progmodes/prolog.el (region-exists-p):
3621 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
3622 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
3623 Doc fixes (replace `iff').
3624
3625 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
3628
3629 2014-05-04 Leo Liu <sdl.web@gmail.com>
3630
3631 Support Chinese diary entries in calendar and diary. (Bug#17393)
3632 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
3633 (calendar-chinese-from-absolute-for-diary)
3634 (calendar-chinese-to-absolute-for-diary)
3635 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
3636 (diary-chinese-list-entries): New functions to list and mark
3637 Chinese diary entries in the calendar window.
3638 (diary-chinese-anniversary)
3639 (diary-chinese-insert-anniversary-entry)
3640 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
3641 (diary-chinese-insert-yearly-entry): New commands to insert
3642 Chinese diary entries.
3643
3644 * calendar/diary-lib.el (diary-font-lock-keywords):
3645 Support font-locking Chinese dates.
3646
3647 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
3648 inserting Chinese diary entries.
3649
3650 * calendar/calendar.el (diary-chinese-entry-symbol):
3651 New customizable variable.
3652 (calendar-mode-map): Add bindings for inserting Chinese diary
3653 entries.
3654
3655 2014-05-03 Juri Linkov <juri@jurta.org>
3656
3657 * dired.el (dired-check-switches, dired-switches-recursive-p):
3658 New functions. (Bug#17218)
3659 (dired-switches-escape-p, dired-move-to-end-of-filename):
3660 Use `dired-check-switches'.
3661 (dired-insert-old-subdirs, dired-build-subdir-alist)
3662 (dired-sort-R-check): Use `dired-switches-recursive-p'.
3663
3664 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
3665
3666 * simple.el (undo-make-selective-list): New algorithm fixes
3667 incorrectness of position adjustments when undoing in region.
3668 (Bug#17235)
3669 (undo-elt-crosses-region): Make obsolete.
3670 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
3671 New functions to adjust positions using undo-deltas.
3672
3673 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
3676 the last consecutive closing paren (bug#17345).
3677
3678 2014-04-30 Reuben Thomas <rrt@sc3d.org>
3679
3680 * dired.el (dired-mode): make terminology for eXpunge command
3681 consistent. (Bug#17276)
3682
3683 2014-04-30 Eli Zaretskii <eliz@gnu.org>
3684
3685 * dired.el (dired-initial-position-hook, dired-initial-position):
3686 Doc string fixes.
3687
3688 2014-04-30 Glenn Morris <rgm@gnu.org>
3689
3690 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
3691
3692 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
3693
3694 * faces.el (face-spec-recalc): Apply X resources only after the
3695 defface spec has been applied. Thus, X resources are no longer
3696 overriden by the defface spec which also fixes issues on win32 where
3697 the toolbar coloring was wrong because it is set through X resources
3698 and was (wrongfully) overriden. (Bug#16694)
3699
3700 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * textmodes/rst.el (electric-pair-pairs): Declare.
3703 (rst-mode): Set it (bug#17131).
3704
3705 2014-04-30 Juri Linkov <juri@jurta.org>
3706
3707 * desktop.el (desktop-value-to-string): Let-bind `print-length'
3708 and `print-level' to nil. (Bug#17351)
3709
3710 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3711
3712 * battery.el (battery-update): Handle the case where battery
3713 status is "N/A" (bug#17319).
3714
3715 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
3718 to syntax-propertize.
3719 (ps-mode-auto-indent): Mark as obsolete.
3720 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
3721 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
3722 word regexp operators.
3723 (ps-mode-map): Move initialization into declaration. Remove binding
3724 for TAB, RET, >, ], and }.
3725 (ps-mode-syntax-table): Move initialization into declaration.
3726 Don't give word syntax to non-word chars.
3727 (ps-run-mode-map): Move initialization into declaration.
3728 (ps-mode-menu-main): Remove auto-indent entry.
3729 (ps-mode-smie-rules): New function.
3730 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
3731 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
3732 (ps-mode--string-syntax-table): New const.
3733 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
3734 New functions.
3735 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
3736 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
3737
3738 2014-04-27 Daniel Colascione <dancol@dancol.org>
3739
3740 * term/xterm.el (xterm-paste): Use large finite timeout when
3741 reading event to avoid putting keys in this-command-keys.
3742
3743 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
3746 (perl-syntax-propertize-function): Use it. Extend handling of
3747 here-docs to the unquoted case.
3748
3749 2014-04-25 Eli Zaretskii <eliz@gnu.org>
3750
3751 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
3752 Use equal-including-properties to compare help-echo strings (bug#17331).
3753
3754 2014-04-25 Leo Liu <sdl.web@gmail.com>
3755
3756 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3757 Fix syntax for @. (Bug#17325)
3758
3759 2014-04-25 Daniel Colascione <dancol@dancol.org>
3760
3761 * emacs-lisp/cl.el (gv): Require gv early to break eager
3762 macro-expansion cycles.
3763
3764 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * simple.el (region-active-p): Check there's a mark (bug#17324).
3767
3768 * simple.el (completion-list-mode-map): Use choose-completion for the
3769 mouse binding as well (bug#17302).
3770 (completion-list-mode, completion-setup-function): Adjust docstring and
3771 echo area message accordingly.
3772 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
3773 calling convention of choose-completion.
3774 * comint.el (comint-dynamic-list-completions):
3775 * term.el (term-dynamic-list-completions): Accept choose-completion.
3776
3777 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
3778 &, |, +, - and * can't be a division (bug#17317).
3779
3780 * term/xterm.el (xterm--version-handler): Don't use modern xterm
3781 features on gnome-terminal (bug#16988).
3782
3783 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
3784
3785 Improve Scheme font-locking for (define ((foo ...) ...) ...).
3786
3787 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
3788 the declared object, ignore zero or more parens, not zero or one.
3789
3790 2014-04-24 Leo Liu <sdl.web@gmail.com>
3791
3792 * progmodes/xscheme.el (xscheme-expressions-ring)
3793 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
3794 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
3795 (xscheme-allow-output-p, xscheme-prompt)
3796 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
3797
3798 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
3799 Comment out unused functions.
3800
3801 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * info.el: Use lexical-binding and cl-lib.
3804 Use defvar-local and setq-local instead of make-local-variable.
3805 (Info-apropos-matches): Avoid add-to-list.
3806 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
3807
3808 2014-04-24 Daniel Colascione <dancol@dancol.org>
3809
3810 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
3811
3812 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
3815
3816 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
3817
3818 * dired.el (dired-insert-set-properties): Do not consider
3819 subdirectory headings and empty lines to be information that
3820 `dired-hide-details-mode' should hide. (Bug#17228)
3821
3822 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3823
3824 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3825 Remove test messages.
3826 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
3827 and `target' twice.
3828
3829 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
3832 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
3833
3834 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
3835
3836 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3837
3838 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3839 Set "IFS=" when using read builtin, in order to preserve spaces in
3840 the file name. Add test messages for hunting a bug on hydra.
3841 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
3842
3843 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3844
3845 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
3846 Don't prettify a word within a symbol.
3847
3848 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
3849
3850 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
3851 possible.
3852
3853 2014-04-22 Daniel Colascione <dancol@dancol.org>
3854
3855 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
3856 use defun to define `function-put'.
3857
3858 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
3861 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
3862 (lisp-mode-variables): Set font-lock-extra-managed-props.
3863
3864 * emacs-lisp/byte-run.el (function-put): New function.
3865 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
3866 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
3867 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
3868 Use them.
3869
3870 2014-04-22 Daniel Colascione <dancol@dancol.org>
3871
3872 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
3873 Add `full-p' parameter; when nil, call `macroexpand' instead of
3874 `macroexpand-all'.
3875
3876 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3877 Improve docstrings.
3878
3879 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3880 Use lambda function values, not quoted lambdas.
3881 (byte-compile-recurse-toplevel): Remove extraneous &optional.
3882
3883 * emacs-lisp/cl-macs.el
3884 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
3885 (cl-struct-slot-value): Conditionally use aref or nth so that the
3886 compiler produces optimal code.
3887
3888 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
3889
3890 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
3891 (inline): Don't inline cl--set-elt.
3892 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
3893 Define as inlinable instead.
3894 (cl-struct-set-slot-value): Remove.
3895
3896 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
3897 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
3898 Use setf instead.
3899
3900 2014-04-21 Daniel Colascione <dancol@dancol.org>
3901
3902 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
3903 last two parameters after all.
3904 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
3905 (cl--compiler-macro-assoc,cl-struct-slot-value)
3906 (cl-struct-set-slot-value): Stop using them.
3907
3908 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
3911 entry in image-mode-winprops-alist.
3912
3913 2014-04-21 Daniel Colascione <dancol@dancol.org>
3914
3915 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
3916 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
3917 (byte-compile-toplevel-file-form): Use it.
3918
3919 * emacs-lisp/cl-macs.el:
3920 (cl--loop-let): Properly destructure `while' clauses.
3921
3922 2014-04-20 Daniel Colascione <dancol@dancol.org>
3923
3924 * vc/vc.el (vc-root-dir): New public autoloaded function for
3925 generically finding the current VC root.
3926 * vc/vc-hooks.el (vc-not-supported): New error.
3927 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
3928
3929 2014-04-20 Daniel Colascione <dancol@dancol.org>
3930
3931 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
3932 argument.
3933 (cl--const-expr-val): cl--const-expr-val should macroexpand its
3934 argument in case we're inside a symbol-macrolet.
3935 (cl--do-arglist, cl--compiler-macro-typep)
3936 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
3937 environment to `cl--const-expr-val'.
3938 (cl-struct-sequence-type,cl-struct-slot-info)
3939 (cl-struct-slot-offset, cl-struct-slot-value)
3940 (cl-struct-set-slot-value): New functions.
3941
3942 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3943
3944 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
3945 assignments such as "case=hello" (bug#17297).
3946
3947 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
3948
3949 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
3950 Do not autoload.
3951 (tramp-file-name-handler, tramp-completion-file-name-handler):
3952 Revert patch from 2014-04-10, it isn't necessary anymore.
3953 (tramp-autoload-file-name-handler)
3954 (tramp-register-autoload-file-name-handlers): New defuns.
3955 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
3956 (tramp-register-file-name-handlers): Remove also
3957 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
3958 Do not autoload its invocation, but eval it after loading of 'tramp.
3959
3960 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
3961
3962 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
3963
3964 2014-04-17 Daniel Colascione <dancol@dancol.org>
3965
3966 Add support for bracketed paste mode; add infrastructure for
3967 managing terminal mode enabling and disabling automatically.
3968
3969 * xt-mouse.el:
3970 (xterm-mouse-mode): Simplify.
3971 (xterm-mouse-tracking-enable-sequence)
3972 (xterm-mouse-tracking-disable-sequence): New constants.
3973 (turn-on-xterm-mouse-tracking-on-terminal)
3974 (turn-off-xterm-mouse-tracking-on-terminal):
3975 Use tty-mode-set-strings and tty-mode-reset-strings terminal
3976 parameters instead of random hooks.
3977 (turn-on-xterm-mouse-tracking)
3978 (turn-off-xterm-mouse-tracking): Delete.
3979
3980 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
3981 (xterm-paste-ending-sequence): New constant.
3982 (xterm-paste): New command used for bracketed paste support.
3983
3984 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
3985 (terminal-init-xterm-bracketed-paste-mode): New function.
3986 (terminal-init-xterm): Call it.
3987 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
3988 and tty-mode-reset-strings instead of random hooks.
3989 (xterm-turn-on-modify-other-keys)
3990 (xterm-turn-off-modify-other-keys)
3991 (xterm-remove-modify-other-keys): Delete obsolete functions.
3992
3993 * term/screen.el: Rewrite to just use the xterm code.
3994 Add copyright notice. Mention tmux.
3995
3996 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
3997
3998 * image-mode.el (image-mode-window-put): Also update the property of
3999 the "default window".
4000 * doc-view.el (doc-view-new-window-function): If no window
4001 exists, move to the last known page.
4002
4003 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
4006 here-documents (bug#17262).
4007
4008 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4009
4010 * term/pc-win.el (x-list-fonts, x-get-selection-value):
4011 Provide doc strings, as required by snarf-documentation.
4012
4013 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
4016 arg of overlays-at. Use `invisible-p'.
4017
4018 * obsolete/lucid.el (extent-at):
4019 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
4020 overlays-at.
4021 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
4022
4023 2014-04-16 João Távora <joaotavora@gmail.com>
4024
4025 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
4026 links. (Bug#17217).
4027
4028 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4029
4030 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
4031 Use mapc to loop over a vector. (Bug#17257).
4032
4033 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
4034
4035 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
4036 patch, there are new problems with file names containing spaces.
4037 Get rid of backticks. (Bug#17238)
4038
4039 2014-04-16 João Távora <joaotavora@gmail.com>
4040
4041 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
4042 possible bug.
4043
4044 2014-04-16 Eli Zaretskii <eliz@gnu.org>
4045
4046 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
4047 (blink-cursor-mode): Mention customization variables and the
4048 effect of 'blink-cursor-blinks'.
4049
4050 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
4051
4052 * simple.el (undo): Prevent insertion of identity mapping into
4053 undo-equiv-table so as undo-only does not inf loop in the presence
4054 of consecutive nils in undo list.
4055
4056 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
4057
4058 * faces.el (make-face): Deprecate optional argument as it is no
4059 longer needed/used since the conditional X resources handling
4060 has been pushed down to make-face-x-resource-internal itself.
4061 (make-empty-face): Don't pass optional argument to make-face.
4062
4063 2014-04-16 Karl Fogel <kfogel@red-bean.com>
4064
4065 * savehist.el (savehist-save): Remove workaround for a read-passwd
4066 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
4067 noticing that the shim was still present.
4068
4069 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
4072
4073 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
4074
4075 * faces.el (face-set-after-frame-default): Remove unused local variable.
4076
4077 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * progmodes/grep.el: Use lexical-binding.
4080 (grep-expand-template): Pass explicit lexical env to `eval'.
4081 (zrgrep): Let-bind grep-find-template explicitly.
4082
4083 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
4084 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
4085
4086 2014-04-12 Eli Zaretskii <eliz@gnu.org>
4087
4088 * international/characters.el <standard-case-table>: Add entries
4089 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
4090 Set category of Coptic characters be 'g' (Greek).
4091
4092 2014-04-12 Leo Liu <sdl.web@gmail.com>
4093
4094 * progmodes/octave.el (completion-table-with-cache):
4095 Define if not available.
4096 (octave-goto-function-definition, octave-sync-function-file-names)
4097 (octave-find-definition-default-filename):
4098 Backquote upattern for compatibility.
4099
4100 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
4101
4102 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
4103 name twice due to backticks. (Bug#17238)
4104
4105 2014-04-12 Glenn Morris <rgm@gnu.org>
4106
4107 * term/w32-win.el (x-win-suspend-error):
4108 * term/x-win.el (x-win-suspend-error): Sync docs.
4109
4110 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
4111
4112 * faces.el (make-face): Remove deprecated optional argument.
4113 The conditional application of X resources is handled directly by
4114 make-face-x-resource-internal since Emacs 24.4.
4115 (make-empty-face): Don't pass optional argument to make-face.
4116
4117 2014-04-11 Glenn Morris <rgm@gnu.org>
4118
4119 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
4120
4121 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 Ediff's overlay priorities cause more trouble than they solve.
4124 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
4125 (ediff-highest-priority): Remove function (bug#17234).
4126 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
4127 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
4128 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
4129 overlay priorities.
4130
4131 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
4132
4133 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
4134 entry; use symbol boundaries to avoid mis-matches.
4135
4136 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
4137
4138 * net/tramp.el (tramp-file-name-handler)
4139 (tramp-completion-file-name-handler): Avoid recursive loading.
4140
4141 * net/tramp-sh.el (tramp-make-copy-program-file-name):
4142 Quote result also locally.
4143
4144 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
4147 Remove left-over code.
4148
4149 * newcomment.el (comment-indent-new-line): Sink code where it's used.
4150 Reuse the previous comment's indentation unconditionally if it's on its
4151 own line.
4152
4153 2014-04-09 Daniel Colascione <dancol@dancol.org>
4154
4155 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
4156 `no-syntax-crossing' arguments. Forward to `up-list'.
4157 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
4158 Implement logic for escaping from strings. Use narrowing to deal
4159 with corner cases.
4160
4161 2014-04-09 Leo Liu <sdl.web@gmail.com>
4162
4163 * net/rcirc.el (rcirc-connection-info): New variable.
4164 (rcirc-connect): Use it to store connection info.
4165 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
4166 for killed process.
4167 (rcirc-cmd-reconnect): New command. (Bug#17045)
4168 (rcirc-mode, set-rcirc-encode-coding-system)
4169 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
4170
4171 2014-04-09 Daniel Colascione <dancol@dancol.org>
4172
4173 * emacs-lisp/cl-indent.el: Add comment claiming
4174 facility is also good for elisp.
4175 (lisp-indent-find-method): New function.
4176 (common-lisp-indent-function): Recognize cl-loop.
4177 (common-lisp-indent-function-1): Recognize cl constructs; use
4178 `lisp-indent-find-method' instead of `get' directly.
4179 (if): Use else-body style for elisp.
4180
4181 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
4182
4183 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4184 Module methods. (Bug#17216)
4185
4186 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * help.el (describe-bindings): Fix buffer handling (bug#17210).
4189 (describe-bindings-internal): Mark obsolete.
4190
4191 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
4194 buffer-file-name, and buffer-file-truename any more.
4195
4196 2014-04-08 Leo Liu <sdl.web@gmail.com>
4197
4198 Use lexical-binding and require cl-lib.
4199 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
4200 (rcirc-handler-generic, rcirc-fill-paragraph)
4201 (rcirc-format-response-string, rcirc-target-buffer)
4202 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
4203 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
4204 (rcirc-ctcp-sender-PING, rcirc-browse-url)
4205 (rcirc-markup-timestamp, rcirc-markup-attributes)
4206 (rcirc-markup-my-nick, rcirc-markup-urls)
4207 (rcirc-markup-bright-nicks, rcirc-markup-fill)
4208 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
4209 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
4210 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
4211 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
4212 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
4213 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
4214 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
4215 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
4216 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
4217 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
4218 use cl-lib.
4219
4220 2014-04-07 João Távora <joaotavora@gmail.com>
4221
4222 * elec-pair.el (electric-pair--syntax-ppss):
4223 When inside comments parse from comment beginning.
4224 (electric-pair--balance-info): Fix typo in comment.
4225 (electric-pair--in-unterminated-string-p): Delete.
4226 (electric-pair--unbalanced-strings-p): New function.
4227 (electric-pair-string-bound-function): New var.
4228 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4229 according to `electric-pair--in-unterminated-string-p'
4230
4231 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4232 Inhibit quote pairing if point-max is inside an unterminated string.
4233 (electric-pair--looking-at-unterminated-string-p): Delete.
4234 (electric-pair--in-unterminated-string-p): New function.
4235
4236 2014-04-07 Glenn Morris <rgm@gnu.org>
4237
4238 * shell.el (shell-directory-tracker):
4239 Go back to just ignoring failures. (Bug#17159)
4240
4241 2014-04-07 João Távora <joaotavora@gmail.com>
4242
4243 Fix `electric-pair-delete-adjacent-pairs' in modes binding
4244 backspace. (bug#16981)
4245 * elec-pair.el (electric-pair-backward-delete-char): Delete.
4246 (electric-pair-backward-delete-char-untabify): Delete.
4247 (electric-pair-mode-map): Bind backspace to a menu item filtering
4248 a new `electric-pair-delete-pair' command.
4249 (electric-pair-delete-pair): New command.
4250
4251 * progmodes/python.el (python-electric-pair-string-delimiter):
4252 Fix triple-quoting electricity. (Bug#17192)
4253
4254 * elec-pair.el (electric-pair-post-self-insert-function):
4255 Don't skip whitespace when `electric-pair-text-pairs' and
4256 `electric-pair-pairs' were used. syntax to
4257 electric-pair--skip-whitespace. (Bug#17183)
4258
4259 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4260
4261 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
4262 "<F>". (Bug#17199)
4263
4264 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4265
4266 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
4267 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
4268
4269 2014-04-07 Glenn Morris <rgm@gnu.org>
4270
4271 * help.el (view-lossage): Doc tweak.
4272
4273 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
4274
4275 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
4276 only when inhibit-x-resources is nil, and do that earlier in the
4277 function. Doc fix. (Bug#16694)
4278 (face-spec-choose): Accept additional optional argument, whose
4279 value is returned if no matching attributes are found.
4280 (face-spec-recalc): Use the new optional argument when calling
4281 face-spec-choose. (Bug#16378)
4282 (make-face-x-resource-internal): Do nothing when
4283 inhibit-x-resources is non-nil. Don't touch the default face if
4284 reversed video is given--as was done in previous versions of Emacs.
4285 (face-set-after-frame-default): Don't call
4286 make-face-x-resource-internal here. (Bug#16434)
4287
4288 2014-04-07 Tassilo Horn <tsdh@gnu.org>
4289
4290 * doc-view.el (doc-view-bookmark-jump):
4291 Use `bookmark-after-jump-hook' to jump to the right page after the
4292 buffer is shown in a window. (bug#16090)
4293
4294 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4295
4296 * international/characters.el (mirroring): Fix last change:
4297 instead of loading uni-mirrored.el explicitly, do that implicitly
4298 by creating the 'mirroring' uniprop table. This avoids announcing
4299 the loading of uni-mirrored.el.
4300
4301 2014-04-07 Glenn Morris <rgm@gnu.org>
4302
4303 * files.el (buffer-stale--default-function)
4304 (buffer-stale-function, revert-buffer--default):
4305 * autorevert.el (auto-revert-buffers): Doc tweaks.
4306
4307 2014-04-07 Eli Zaretskii <eliz@gnu.org>
4308
4309 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
4310
4311 2014-04-07 Glenn Morris <rgm@gnu.org>
4312
4313 * files.el (make-backup-file-name-function)
4314 (make-backup-file-name, make-backup-file-name--default-function)
4315 (make-backup-file-name-1, find-backup-file-name)
4316 (revert-buffer-function, revert-buffer-insert-file-contents-function)
4317 (buffer-stale--default-function, buffer-stale-function)
4318 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
4319 (revert-buffer, revert-buffer--default)
4320 (revert-buffer-insert-file-contents--default-function):
4321 Doc fixes related to defaults no longer being nil.
4322 (make-backup-file-name-function): Bump :version.
4323 Restore nil as a valid but deprecated custom type.
4324
4325 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * progmodes/perl-mode.el (perl-syntax-propertize-function):
4328 Handle $' used as a variable (bug#17174).
4329
4330 * progmodes/perl-mode.el (perl-indent-new-calculate):
4331 Handle forward-sexp failure (bug#16985).
4332 (perl-syntax-propertize-function): Add "foreach" and "for" statement
4333 modifiers introducing expressions (bug#17116).
4334
4335 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
4338
4339 2014-04-05 Leo Liu <sdl.web@gmail.com>
4340
4341 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4342 Add define-compilation-mode.
4343
4344 2014-04-04 João Távora <joaotavora@gmail.com>
4345
4346 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
4347 parse from comment beginning.
4348 (electric-pair--balance-info): Fix typo in comment.
4349 (electric-pair--in-unterminated-string-p): Delete.
4350 (electric-pair--unbalanced-strings-p): New function.
4351 (electric-pair-string-bound-function): New var.
4352 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
4353 according to `electric-pair--in-unterminated-string-p'.
4354
4355 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
4358 Move declaration before first use.
4359 (reftex-move-to-next-arg): Silence compiler warning.
4360
4361 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
4362
4363 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
4364 Use `window-total-width' instead of `window-width'.
4365
4366 2014-04-03 Daniel Colascione <dancol@dancol.org>
4367
4368 * subr.el (set-transient-map): Remove rms's workaround entirely;
4369 use new `suspicious-object' subr to mark our lambda for closer
4370 scrutiny during gc.
4371
4372 2014-04-02 Richard Stallman <rms@gnu.org>
4373
4374 * subr.el (set-transient-map): Comment out previous change.
4375
4376 2014-04-02 Glenn Morris <rgm@gnu.org>
4377
4378 * menu-bar.el (menu-bar-file-menu):
4379 * vc/ediff.el (ediff-current-file):
4380 Update for revert-buffer-function no longer being nil by default.
4381
4382 * simple.el (command-execute): Respect nil disabled-command-function.
4383
4384 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4385
4386 * simple.el (command-execute): Do not execute the command when it
4387 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
4388
4389 2014-04-02 Juri Linkov <juri@jurta.org>
4390
4391 * dired-aux.el (dired-compress-file): Don't use string-match-p
4392 because its match data is used afterwards.
4393
4394 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
4397 0 like nil.
4398
4399 2014-04-02 João Távora <joaotavora@gmail.com>
4400
4401 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
4402 Inhibit quote pairing if point-max is inside an unterminated string.
4403 (electric-pair--looking-at-unterminated-string-p):
4404 Delete.
4405 (electric-pair--in-unterminated-string-p): New function.
4406
4407 2014-04-01 Daniel Colascione <dancol@dancol.org>
4408
4409 * minibuffer.el (minibuffer-complete): Prevent assertion failure
4410 when trying to complete the prompt.
4411
4412 2014-03-31 Leo Liu <sdl.web@gmail.com>
4413
4414 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4415 Refactor out eldoc-documentation-function-default.
4416 (eldoc-documentation-function-default): New function.
4417 (eldoc-documentation-function): Change value.
4418
4419 2014-03-31 Glenn Morris <rgm@gnu.org>
4420
4421 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4422
4423 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
4424 (vhdl-compose-components-package, vhdl-compose-configuration):
4425 Abbreviate default-directory (missing from some previous upstream sync).
4426
4427 2014-03-31 Reto Zimmermann <reto@gnu.org>
4428
4429 Sync with upstream vhdl mode v3.35.2.
4430 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4431 (top-level): No longer require assoc.
4432 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
4433 New functions. Use throughout to replace aget etc.
4434 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
4435 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
4436 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
4437 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
4438 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
4439 except `vhdl-compiler'.
4440 (vhdl-error-regexp-add-emacs): Remove all other compilers,
4441 when appropriate.
4442
4443 2014-03-31 Glenn Morris <rgm@gnu.org>
4444
4445 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
4446 Revert 2014-03-26 merge goof; go back to using defalias.
4447
4448 2014-03-30 Daniel Colascione <dancol@dancol.org>
4449
4450 * comint.el (comint-send-input):
4451 Deactivate completion-in-region-mode before we send comint input.
4452 (Bug#17139).
4453
4454 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
4455 on keyboard-quit.
4456
4457 2014-03-29 Glenn Morris <rgm@gnu.org>
4458
4459 * textmodes/reftex.el: Manage most autoloads automatically.
4460 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
4461 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
4462 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
4463 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
4464 * textmodes/reftex-toc.el: Set generated-autoload-file,
4465 and add autoload cookies for reftex.el.
4466 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
4467
4468 2014-03-28 Glenn Morris <rgm@gnu.org>
4469
4470 * cus-start.el (report-emacs-bug-address): Set custom properties.
4471 * mail/emacsbug.el (report-emacs-bug-address):
4472 Variable is now defined in emacs.c.
4473
4474 * mail/emacsbug.el (report-emacs-bug):
4475 Include system-configuration-features.
4476
4477 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
4478
4479 * simple.el (cycle-spacing): Never delete spaces on first run by
4480 default, but do so in a new 'fast mode and if there are already
4481 N spaces (the previous behavior).
4482 Compare N with its value in previous invocation so that changing
4483 prefix argument restarts `cycle-spacing' sequence.
4484 The idea is that with this change, binding M-SPC to
4485 `cycle-spacing' should not introduce any changes in behavior of
4486 the binding so long as users do not type M-SPC twice in a raw with
4487 the same prefix argument or lack thereof.
4488
4489 2014-03-28 Glenn Morris <rgm@gnu.org>
4490
4491 * faces.el (term-file-aliases): New variable.
4492 (tty-run-terminal-initialization): Respect term-file-aliases.
4493 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
4494 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
4495 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
4496
4497 2014-03-27 Glenn Morris <rgm@gnu.org>
4498
4499 * startup.el (inhibit-startup-hooks): Doc tweak.
4500 (normal-top-level): Simplify running of hooks.
4501 For window-setup-hook, respect inhibit-startup-hooks.
4502 (command-line-1): Don't set window-setup-hook to nil.
4503
4504 Allow selective autoloading from obsolete/ directory.
4505 * Makefile.in (obsolete-autoloads): New rule.
4506 (autoloads): Run obsolete-autoloads.
4507 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
4508 * simple.el (iswitchb-mode): Remove hand-written autoloads.
4509
4510 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
4511
4512 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4513 Highlight special globals with font-lock-builtin-face. (Bug#17057)
4514
4515 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4516 Don't propertize `?' or `!' as symbol constituent when after
4517 colon. (Bug#17097)
4518
4519 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
4520
4521 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
4522 which is no longer needed and causes trouble in GTK builds (bug#17046).
4523
4524 * emacs-lisp/package-x.el (package--archive-contents-from-url):
4525 Use url-insert-file-contents; package-handle-response no longer exists.
4526
4527 2014-03-26 Daniel Colascione <dancol@dancol.org>
4528
4529 * simple.el (process-menu-mode-map): New variable.
4530 (process-menu-delete-process): New command.
4531
4532 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4533
4534 * emacs-lisp/package.el: Fix bug#16733 (again).
4535 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
4536 (url-http-target-url): Remove unused declarations.
4537 (package-handle-response): Remove.
4538 (package--with-work-buffer): Use url-insert-file-contents and simplify.
4539 (package--download-one-archive): Use current-buffer instead of
4540 dynamic binding of `buffer'.
4541 (describe-package-1): Do not decode readme-string.
4542
4543 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
4544
4545 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
4546
4547 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
4548 from 2014-03-07, it decreases performance unnecessarily. Let-bind
4549 `remote-file-name-inhibit-cache' to nil in the second pass.
4550 (tramp-find-executable): Do not call "which" on SunOS.
4551 (tramp-send-command-and-check): Fix docstring.
4552 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
4553 check whether source directory has set the sticky bit.
4554
4555 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
4556
4557 * simple.el (primitive-undo): Only process marker adjustments
4558 validated against their corresponding (TEXT . POS). Issue warning
4559 for lone marker adjustments in undo history. (Bug#16818)
4560 (undo-make-selective-list): Add marker adjustments to selective
4561 undo list based on whether their corresponding (TEXT . POS) is in
4562 the region. Remove variable adjusted-markers, which was unused
4563 and only non nil during undo-make-selective-list.
4564 (undo-elt-in-region): Return nil when passed a marker adjustment
4565 and explain in function doc.
4566
4567 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4568
4569 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
4570
4571 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4572
4573 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
4574 Match special global variables without curlies, too.
4575 (ruby-font-lock-keywords): Simplify the matcher for special global
4576 variables. Don't require a non-word character after the variable.
4577 (Bug#17057)
4578
4579 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4580
4581 * simple.el (redisplay-highlight-region-function): Increase priority of
4582 overlay to make sure boundaries are visible (bug#15899).
4583
4584 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
4585
4586 * frameset.el (frameset--initial-params): Fix typo in parameter name.
4587 (frameset-restore): Compare display strings with equal.
4588
4589 * frame.el (make-frame): Don't quote display name in error message,
4590 it is already a string.
4591
4592 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4593
4594 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
4595 the password.
4596
4597 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
4598
4599 * emacs-lisp/package.el (package--add-to-archive-contents):
4600 Include already installed and built-in packages in
4601 `package-archive-contents'.
4602 (package-install): Don't include already installed packages in the
4603 options during interactive invocation. (Bug#16762)
4604 (package-show-package-list): If the buffer is already displayed in
4605 another window, switch to that window.
4606
4607 2014-03-26 Reto Zimmermann <reto@gnu.org>
4608
4609 Sync with upstream vhdl mode v3.35.1.
4610 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4611 (vhdl-compiler-alist): Doc fix.
4612 (vhdl-goto-line): Remove.
4613 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
4614 (vhdl-mode) <paragraph-start>: Fix value.
4615 (vhdl-fix-statement-region): Not `for' in wait-statement.
4616 (vhdl-beautify-region): Also (un)tabify.
4617 (vhdl-get-visible-signals):
4618 Scan declarative part of generate statements.
4619 (vhdl-template-record): Fix indentation for record type declaration.
4620 (vhdl-expand-abbrev, vhdl-expand-paren):
4621 Revert to using fset again rather than defalias.
4622 (vhdl-scan-directory-contents): Tweak.
4623 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
4624 (vhdl-compose-components-package):
4625 Replace vhdl-goto-line with forward-line.
4626 (top-level): Tweak speedbar frame selection.
4627 (vhdl-generate-makefile-1): Support for compilers with no
4628 unit-to-file name mapping (create directory with dummy files).
4629
4630 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
4631
4632 Sync with upstream verilog-mode revision 702457d.
4633 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4634 (create-lockfiles): Declare.
4635 (verilog-read-decls): Fix module header imports, bug709.
4636 Reported by Victor Lau.
4637 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
4638 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
4639 interface-only modules, bug721. Reported by Dean Hoyt.
4640
4641 2014-03-26 Glenn Morris <rgm@gnu.org>
4642
4643 * obsolete/gulp.el: Move here from emacs-lisp/.
4644
4645 * files.el (lock-buffer, unlock-buffer, file-locked-p):
4646 Remove fallback aliases, since they are always defined now.
4647
4648 2014-03-24 Daniel Colascione <dancol@dancol.org>
4649
4650 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4651 instead of cl-loop search function.
4652
4653 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4654
4655 * calendar/parse-time.el (parse-time-iso8601-regexp)
4656 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
4657 it more generally.
4658
4659 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
4660
4661 * net/dns.el (network-interface-list): Define for XEmacs.
4662
4663 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
4664
4665 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
4666 the network interfaces changed.
4667 (dns-query): Use it to flush the data.
4668
4669 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
4670
4671 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
4672
4673 2014-03-23 Daniel Colascione <dancol@dancol.org>
4674
4675 Change subword-mode to use `find-word-boundary-function-table' and
4676 replace `capitalized-words-mode'. Also, convert to lexical binding.
4677 * progmodes/cap-words.el: Delete now-obsolete file.
4678 * progmodes/subword.el: Reimplement using
4679 `find-word-boundary-function-table'.
4680 (subword-mode-map): Hollow out.
4681 (capitalized-words-mode): Define as obsolete alias for
4682 `subword-mode'.
4683 (subword-mode, superword-mode): Tweak documentation to reflect new
4684 implementation; call `subword-setup-buffer'.
4685 (subword-forward, subword-capitalize): Add underscore to indicate
4686 unused variable.
4687 (subword-find-word-boundary-function-table): New constant.
4688 (subword-empty-char-table): New constant.
4689 (subword-setup-buffer): New function.
4690 (subword-find-word-boundary): New function.
4691
4692 2014-03-23 Daniel Colascione <dancol@dancol.org>
4693
4694 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
4695 list to look for keyword arguments instead of `memq', fixing
4696 (Bug#3647) --- unfortunately, only for freshly-compiled code.
4697 Please make bootstrap.
4698
4699 2014-03-22 Glenn Morris <rgm@gnu.org>
4700
4701 * dired.el (dired-read-regexp): Make obsolete.
4702 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
4703 (dired-flag-files-regexp):
4704 * dired-aux.el (dired-mark-read-regexp):
4705 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
4706
4707 * startup.el (fancy-startup-text):
4708 * help.el (describe-gnu-project): Visit online info about GNU project.
4709
4710 * help-fns.el (help-fns--interactive-only): New function.
4711 (help-fns-describe-function-functions): Add the above function.
4712 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
4713 (next-line, previous-line): Remove hand-written interactive-only
4714 information from doc strings, it is auto-generated now.
4715 * bookmark.el (bookmark-write):
4716 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
4717 (epa-mail-import-keys): Mark interactive-only,
4718 and remove hand-written interactive-only information from doc strings.
4719 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
4720 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
4721 * files.el (not-modified):
4722 * simple.el (mark-whole-buffer): Mark interactive-only.
4723
4724 * emacs-lisp/byte-run.el (defun-declarations-alist):
4725 Add interactive-only. Doc tweak.
4726 (macro-declarations-alist): Doc tweak.
4727 * subr.el (declare): Doc tweak (add xref to manual).
4728 * comint.el (comint-run):
4729 * files.el (insert-file-literally, insert-file):
4730 * replace.el (replace-string, replace-regexp):
4731 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4732 (delete-forward-char, goto-line, insert-buffer, next-line)
4733 (previous-line): Set interactive-only via declare.
4734
4735 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
4736
4737 * emacs-lisp/package.el (package-desc): Use the contents of the
4738 quoted form, not its cdr. (Bug#16873)
4739
4740 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
4741
4742 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
4743 benefit of doc.c; change parameter profile to match the X function.
4744
4745 2014-03-22 Leo Liu <sdl.web@gmail.com>
4746
4747 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
4748 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
4749
4750 2014-03-21 Richard Stallman <rms@gnu.org>
4751
4752 * battery.el (battery-linux-sysfs): Search for each field
4753 from the beginning of the buffer.
4754
4755 * subr.el (set-transient-map): Clear out function and value
4756 of the temporary symbol when we're done with it.
4757
4758 * mail/rmailsum.el (rmail-summary-delete-forward):
4759 Optimize case of reaching end and handling count.
4760 (rmail-summary-mark-deleted): Optimize when N is current msg.
4761 Don't create new summary line.
4762 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
4763 (rmail-summary-undelete-many): Rewrite for speed.
4764 (rmail-summary-msg-number): New function.
4765
4766 * mail/rmail.el (rmail-delete-message): Update summary.
4767 (rmail-undelete-previous-message): Handle repeat count arg.
4768 (rmail-delete-backward, rmail-delete-forward): Likewise.
4769
4770 2014-03-21 Daniel Colascione <dancol@dancol.org>
4771
4772 * mail/emacsbug.el (report-emacs-bug): Include memory usage
4773 information in bug reports.
4774
4775 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
4776
4777 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
4778 and `tramp-copy-env'.
4779
4780 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
4781 (tramp-maybe-open-connection): Handle `tramp-login-env'.
4782
4783 2014-03-21 Glenn Morris <rgm@gnu.org>
4784
4785 * electric.el (electric-indent-post-self-insert-function): Add doc.
4786
4787 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
4788
4789 * emacs-lisp/package.el (package-compute-transaction):
4790 Use `version-list-<=' to compare the requirement version against
4791 the version of package already to be installed. Update the error
4792 message. (Bug#16826)
4793
4794 * progmodes/ruby-mode.el (ruby-smie-rules):
4795 Add indentation rule for ` @ '. (Bug#17050)
4796
4797 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4798
4799 * align.el (align-regexp): Remove superfluous backslash.
4800
4801 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
4802 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
4803 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
4804 Fix docstring typos.
4805 (ffap-next): Use C-u in docstring.
4806 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
4807 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
4808 Remove superfluous backslashes.
4809 (ffap-string-at-point): Reflow docstring.
4810
4811 * server.el (server-host): Reflow docstring.
4812 (server-unload-function): Fix docstring typo.
4813 (server-eval-at): Remove superfluous backslash.
4814
4815 * skeleton.el (skeleton-insert): Remove superfluous backslash.
4816 (skeleton-insert): Doc fix.
4817 (skeleton-insert): Reflow docstring.
4818
4819 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
4820 (tty-color-approximate, tty-color-by-index, tty-color-values)
4821 (tty-color-desc): Remove superfluous backslashes.
4822
4823 2014-03-21 Glenn Morris <rgm@gnu.org>
4824
4825 * cus-start.el (history-length): Bump :version.
4826
4827 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4828 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4829 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4830 Don't set `make-backup-files'.
4831
4832 * info.el (info--prettify-description): New function,
4833 to give info-finder descriptions consistent case, punctuation.
4834 (Info-finder-find-node): Use it. Sort packages.
4835 Refer to "description" rather than "commentary".
4836
4837 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
4838
4839 * frameset.el (frameset--print-register): New function.
4840 (frameset-to-register): Use it.
4841
4842 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
4843
4844 * progmodes/hideif.el (hif-string-to-number): New function.
4845 (hif-tokenize): Use it to understand non-decimal floats.
4846
4847 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
4848
4849 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
4850
4851 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * electric.el (electric-newline-and-maybe-indent): New command.
4854 Bind it globally to C-j.
4855 (electric-indent-mode): Don't mess with the global map any more.
4856 Don't drop the post-self-insert-hook is some buffer is still using it
4857 (bug#16770).
4858
4859 * bindings.el (global-map): Remove C-j binding.
4860
4861 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
4862 the docstring of functions advised before dumping (bug#16993).
4863
4864 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
4865
4866 * ps-print.el (ps-generate-postscript-with-faces):
4867 Explicitly deactivate the mark (bug#16866).
4868 * simple.el (deactivate-mark): Update region highlight.
4869
4870 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
4871
4872 * emacs-lisp/package.el (describe-package-1):
4873 Decode commentary (bug#16733).
4874
4875 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
4876
4877 * custom.el (defcustom): Doc fix: recommend avoiding destructive
4878 modification of the value argument of :set (bug#16755).
4879
4880 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * simple.el (newline-and-indent): Do autofill (bug#17031).
4883
4884 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
4885
4886 * newcomment.el (comment-normalize-vars): Only add escaping check
4887 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
4888 (comment-beginning): Use `narrow-to-region' instead of moving back
4889 one character.
4890 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
4891 (comment-start-skip): Update the docstring.
4892
4893 2014-03-18 Richard Stallman <rms@gnu.org>
4894
4895 * dired.el (dired-display-file): Force use of other window.
4896
4897 2014-03-18 Daniel Colascione <dancol@dancol.org>
4898
4899 * startup.el (tty-handle-args): Remove debug message from 2007.
4900
4901 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
4904 (advice--make-interactive-form): Use it to avoid (auto)loading function.
4905 (advice--make-1, advice-add, advice-remove):
4906 Remove braindead :advice-pending hack.
4907
4908 2014-03-17 Glenn Morris <rgm@gnu.org>
4909
4910 * calendar/calendar.el (calendar-generate-month): Apply weekend
4911 face to the right days; fixes 2013-08-06 change. (Bug#17028)
4912
4913 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
4914
4915 * net/tramp.el (tramp-action-out-of-band): Read pending output.
4916 (tramp-call-process): Trace also DESTINATION.
4917
4918 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4919 Quote file names when they are local. Remove superfluous trace.
4920
4921 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
4922
4923 * newcomment.el (comment-beginning): If `comment-start-skip'
4924 doesn't match, move back one char and try again. (Bug#16971)
4925
4926 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4927 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4928 Set `comment-start-skip' to a simpler value that doesn't try to
4929 check if the semicolon is escaped (this is handled by
4930 `syntax-ppss' now). (Bug#16971)
4931
4932 * progmodes/scheme.el (scheme-mode-variables): Same.
4933
4934 2014-03-16 Martin Rudalics <rudalics@gmx.at>
4935
4936 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
4937 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
4938 current (Bug#16816, Bug#17007).
4939 (with-current-buffer-window): New macro doing the same as
4940 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
4941 * help.el (help-print-return-message): Warn in doc-string to not
4942 use this in `with-help-window'.
4943 (describe-bindings-internal): Call `describe-buffer-bindings'
4944 from within help buffer. See Juanma's scenario in (Bug#16816).
4945 (with-help-window): Update doc-string.
4946 * dired.el (dired-mark-pop-up):
4947 * files.el (save-buffers-kill-emacs):
4948 * register.el (register-preview): Use `with-current-buffer-window'
4949 instead of `with-temp-buffer-window'.
4950
4951 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
4952
4953 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
4954 Implement inserting into current buffer, documented in their docstrings.
4955 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
4956 (rst-section-tree-point, rst-forward-section, rst-indent)
4957 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
4958 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
4959 (rst-font-lock-handle-adornment-pre-match-form)
4960 (rst-repeat-last-character): Reflow docstrings.
4961 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
4962 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
4963 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
4964 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
4965 Fix docstring typos.
4966 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
4967 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
4968 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
4969
4970 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
4971
4972 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
4973 for compatibility with other ports.
4974 (ns-initialize-window-system): Use it. It is set in term/common-win.el
4975 from the -xrm command line argument, but in the Nextstep port its value
4976 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
4977
4978 * progmodes/python.el (defconst, python-syntax-count-quotes)
4979 (python-indent-region, python-indent-shift-right)
4980 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
4981 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
4982 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
4983 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
4984 (inferior-python-mode, python-shell-make-comint, run-python-internal)
4985 (python-shell-buffer-substring, python-shell-send-buffer)
4986 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
4987 (python-completion-complete-at-point, python-fill-docstring-style)
4988 (python-eldoc-function, python-imenu-format-item-label)
4989 (python-imenu-format-parent-item-label)
4990 (python-imenu-format-parent-item-jump-label)
4991 (python-imenu--build-tree, python-imenu-create-index)
4992 (python-imenu-create-flat-index): Fix docstring typos.
4993 (python-indent-context, python-shell-prompt-regexp, run-python):
4994 Remove superfluous backslashes.
4995 (python-indent-line, python-nav-beginning-of-defun)
4996 (python-shell-get-buffer, python-shell-get-process)
4997 (python-info-current-defun, python-info-current-line-comment-p)
4998 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
4999 (python-indent-post-self-insert-function, python-shell-send-file)
5000 (python-shell-completion-get-completions)
5001 (python-shell-completion-complete-or-indent)
5002 (python-eldoc--get-doc-at-point): Reflow docstrings.
5003
5004 2014-03-14 Glenn Morris <rgm@gnu.org>
5005
5006 * emacs-lisp/package.el (package-menu-mode-map):
5007 Replace use of obsolete function alias. Tweak menu item text.
5008
5009 * info.el (Info-finder-find-node):
5010 Ignore the `emacs' metapackage. (Bug#10813)
5011
5012 * finder.el (finder-list-matches): Include unversioned packages
5013 in the result of a keyword search.
5014
5015 * finder.el (finder--builtins-descriptions): New constant.
5016 (finder-compile-keywords): Use finder--builtins-descriptions.
5017
5018 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
5019
5020 * simple.el (blink-matching-paren): Describe the new value,
5021 `jump', enabling the old behavior.
5022 (blink-matching-open): Use that value. (Bug#17008)
5023
5024 2014-03-14 Glenn Morris <rgm@gnu.org>
5025
5026 * finder.el (finder-no-scan-regexp): Add leim-list.
5027 (finder-compile-keywords):
5028 Don't skip files with same basename. (Bug#14010)
5029 * Makefile.in (setwins_finder): New, excluding leim.
5030 (finder-data): Use setwins_finder.
5031
5032 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
5033 (help-function-arglist, help-make-usage): Move from here...
5034 * help.el (help-split-fundoc, help-add-fundoc-usage)
5035 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
5036 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
5037
5038 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
5039
5040 * net/socks.el (socks, socks-override-functions)
5041 (socks-find-services-entry):
5042 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
5043 (hif-find-ifdef-block):
5044 * progmodes/modula2.el (m2-indent): Fix docstring typos.
5045
5046 * net/tls.el (tls-program): Reflow docstring.
5047
5048 * progmodes/pascal.el (pascal-mode-abbrev-table)
5049 (pascal-imenu-generic-expression, pascal-auto-endcomments)
5050 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
5051 (pascal-outline-mode): Fix docstring typos.
5052 (pascal-mode): Let define-derived-mode document mode hook.
5053 (pascal-uncomment-area): Reflow.
5054 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
5055
5056 * progmodes/opascal.el (opascal-compound-block-indent)
5057 (opascal-case-label-indent): Fix docstring typos.
5058 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
5059
5060 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
5061
5062 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5063 Fontify multiple adjacent negation chars. (Bug#17004)
5064
5065 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
5066
5067 * emacs-lisp/package.el (package--prepare-dependencies):
5068 Accept requirements without explicit version (bug#14941).
5069
5070 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5071
5072 * register.el (register-separator, copy-to-register): Doc fixes.
5073 (register-preview-default): Remove unnecessary call to concat.
5074
5075 * frameset.el (frameset-restore): When checking for a visible frame,
5076 use the action map instead of calling visible-frame-list.
5077
5078 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
5079
5080 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
5081
5082 2014-03-12 Martin Rudalics <rudalics@gmx.at>
5083
5084 * window.el (fit-frame-to-buffer): Get maximum width from
5085 display's width instead of height.
5086
5087 2014-03-12 Glenn Morris <rgm@gnu.org>
5088
5089 * desktop.el (desktop-restore-frames)
5090 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
5091 (desktop-restore-reuses-frames): Doc tweaks.
5092
5093 * electric.el (electric-indent-mode): Doc fix.
5094
5095 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5096
5097 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
5098 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
5099 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
5100 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
5101 (cvs-dired-use-hook): Fix docstring typos.
5102 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
5103 Doc fixes.
5104
5105 * vc/pcvs-defs.el (cvs-auto-remove-handled)
5106 (cvs-auto-remove-directories, cvs-default-ignore-marks)
5107 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
5108 (cvs-execute-single-dir): Fix docstring typos.
5109
5110 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
5111 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
5112
5113 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
5114
5115 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
5116 Fix docstring typos.
5117
5118 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
5119
5120 * frameset.el (frameset--jump-to-register): Add autoload; it could be
5121 called from jump-to-register after unloading the frameset package.
5122
5123 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
5126 (bug#16975). Deactivate the mark before setting it to nil.
5127 (activate-mark): Do nothing if region is already active.
5128
5129 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5130
5131 * frameset.el (frameset--target-display): Remove definition; declare.
5132 (frameset-save, frameset-restore): Let-bind frameset--target-display.
5133
5134 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
5137 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
5138 when the advice is pending.
5139 (advice-remove): Remove this marker when not needed any more.
5140
5141 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
5142
5143 * frameset.el: Separate options for reusing frames and cleaning up.
5144 (frameset--reuse-list): Remove definition; declare.
5145 (frameset--action-map): Declare.
5146 (frameset--find-frame-if): Doc fix.
5147 (frameset--restore-frame): Cache frame action.
5148 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
5149 how to clean up the frame list after restoring. Remove cleaning
5150 options from REUSE-FRAMES. Change all keyword values to symbols.
5151 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
5152
5153 * desktop.el (desktop-restore-forces-onscreen)
5154 (desktop-restore-reuses-frames): Use non-keyword values.
5155 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
5156
5157 2014-03-10 Glenn Morris <rgm@gnu.org>
5158
5159 * files.el (find-file): Doc fix: update info node name.
5160
5161 * emacs-lisp/advice.el (ad-add-advice, defadvice):
5162 Doc fix: remove references to deleted info nodes.
5163
5164 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
5165
5166 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5167 Do not add nil to the environment, when there's no remote `locale'.
5168 (tramp-find-inline-encoding): Check, that the remote host has
5169 installed perl, before sending scripts.
5170
5171 2014-03-10 Leo Liu <sdl.web@gmail.com>
5172
5173 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5174 Clear eldoc-last-message. (Bug#16920)
5175
5176 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
5179 (bug#14430).
5180
5181 2014-03-09 Juri Linkov <juri@jurta.org>
5182
5183 * ansi-color.el (ansi-color-names-vector): Copy default colors
5184 from `xterm-standard-colors' that look well on the default white
5185 background (and also on the black background) to avoid illegible
5186 color combinations like yellow-on-white and white-on-white.
5187 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
5188
5189 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
5190
5191 * frameset.el (frameset-restore): When no frame is visible, do not
5192 generate a list of frames, just make visible the selected one.
5193
5194 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
5195
5196 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
5197 it only contains the repository root. (Bug#16897)
5198
5199 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
5200
5201 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
5202 only when `remote-file-name-inhibit-cache' is nil.
5203 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
5204
5205 2014-03-06 Martin Rudalics <rudalics@gmx.at>
5206
5207 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
5208 Fix doc-strings.
5209 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
5210 fit-frame-to-buffer variable. Fix doc-string.
5211 (fit-window-to-buffer): Set ONLY argument in call of
5212 fit-frame-to-buffer. Fix doc-string.
5213
5214 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
5215
5216 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
5217 (tramp-action-password): Clear password cache if needed.
5218 (tramp-read-passwd): Do not clear password cache.
5219
5220 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
5221 cache unless it is the first password request.
5222
5223 2014-03-06 Glenn Morris <rgm@gnu.org>
5224
5225 * simple.el (newline): Doc tweak.
5226
5227 * emacs-lisp/shadow.el (load-path-shadows-find):
5228 Ignore dir-locals. (Bug#12357)
5229
5230 2014-03-05 Glenn Morris <rgm@gnu.org>
5231
5232 * files.el (interpreter-mode-alist):
5233 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
5234
5235 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5236
5237 * frameset.el (frameset--initial-params): Filter out null entries.
5238
5239 2014-03-05 Martin Rudalics <rudalics@gmx.at>
5240
5241 * window.el (window-min-height, window-min-width):
5242 Rewrite doc-strings.
5243 (window-body-size): Add PIXELWISE argument to make it consistent
5244 with its callees.
5245
5246 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
5247
5248 * finder.el (finder-mode-map, finder-mode-syntax-table):
5249 Revert part of 2014-02-28 change.
5250
5251 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
5252
5253 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
5254 (eww-setup-buffer): Clear next/prev/etc more reliably.
5255 (eww-textarea-map): [tab] doesn't work on tty.
5256 Reported by Mario Lang.
5257
5258 * net/shr.el (shr-map): Ditto.
5259
5260 2014-03-04 Glenn Morris <rgm@gnu.org>
5261
5262 * minibuffer.el (completion-hilit-commonality):
5263 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
5264
5265 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5266
5267 * hilit-chg.el (hilit-chg-unload-function): New function.
5268 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
5269 (hilit-chg-map-changes): Prefer cardinal number to digit.
5270 (hilit-chg-display-changes): Reflow docstring.
5271 (highlight-changes-rotate-faces): Remove superfluous backslash.
5272
5273 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
5274
5275 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
5276 `tramp-send-command-and-check'.
5277
5278 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
5279
5280 * hexl.el (hexl-address-region, hexl-ascii-region)
5281 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
5282 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
5283 (hexl-forward-word, hexl-previous-line, hexl-next-line):
5284 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
5285 (hexl-mode): Doc fix.
5286 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
5287 (hexl-mode-ruler): Fix typos in docstrings.
5288
5289 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
5290 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
5291 Remove superfluous backslashes.
5292 (strokes-last-stroke, strokes-global-map, strokes-mode):
5293 Reflow docstrings.
5294 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
5295 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
5296 (strokes-distance-squared, strokes-global-set-stroke)
5297 (strokes-global-set-stroke-string): Doc fixes.
5298 (strokes-help): Fix typos; reflow docstring.
5299
5300 2014-03-04 Martin Rudalics <rudalics@gmx.at>
5301
5302 * window.el (window-in-direction): Fix doc-string.
5303
5304 2014-03-04 Glenn Morris <rgm@gnu.org>
5305
5306 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
5307 Explicit error if no grammar.
5308 (smie-config-save): Doc fix. Fix quote typo.
5309
5310 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
5313 electric-indent-mode-hook if we obey electric-indent-mode.
5314 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
5315 decide whether we obey electric-indent-mode.
5316 (c-change-set-fl-decl-start, c-extend-after-change-region):
5317 Silence warnings.
5318 (c-electric-indent-mode-hook): Assume we do want to obey
5319 electric-indent-mode.
5320
5321 * electric.el (electric-indent-mode-has-been-called): Remove.
5322 (electric-indent-mode): Fix accordingly.
5323
5324 * files.el (hack-local-variables): Mention file name in warning.
5325
5326 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
5327
5328 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
5329
5330 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5331 * simple.el (delete-forward-char): Mark as interactive-only.
5332
5333 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
5334
5335 * icomplete.el (icomplete-completions):
5336 Follow-up to 2014-03-01 change.
5337
5338 * icomplete.el: Miscellaneous doc fixes.
5339 Use Icomplete everywhere instead of icomplete for consistency.
5340 (icomplete-max-delay-chars): Fix typo.
5341 (icomplete-mode): Use \[].
5342 (icomplete-tidy, icomplete-exhibit): Reflow.
5343 (icomplete-minibuffer-setup-hook, icomplete-completions):
5344 Remove superfluous backlashes.
5345
5346 * ido.el: Miscellaneous doc fixes.
5347 Use Ido everywhere instead of ido or `ido' for consistency.
5348 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
5349 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
5350 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
5351 (ido-separator): Extract obsolescence info from docstring and declare
5352 with make-obsolete-variable.
5353 (ido-minibuffer-setup-hook): Simplify example.
5354 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
5355 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
5356 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
5357 (ido-everywhere): Reflow docstring.
5358 (ido-toggle-vc): Doc fix.
5359 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
5360 of long list of keybindings.
5361
5362 2014-03-03 Glenn Morris <rgm@gnu.org>
5363
5364 * frame.el (display-pixel-height, display-pixel-width)
5365 (display-mm-dimensions-alist, display-mm-height)
5366 (display-mm-width): Doc tweaks.
5367
5368 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
5369
5370 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
5371 case of undo in region.
5372
5373 2014-03-02 Martin Rudalics <rudalics@gmx.at>
5374
5375 * window.el (fit-window-to-buffer): Fix argument in window-size
5376 call when window is horizontally combined.
5377
5378 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
5379
5380 * icomplete.el (icomplete-completions): Use string-width.
5381 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5382
5383 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
5384
5385 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5386 Highlight regexp options. (Bug#16914)
5387
5388 2014-03-01 Martin Rudalics <rudalics@gmx.at>
5389
5390 * window.el (window--max-delta-1): Round down when calculating
5391 how many lines/columns we can get from a window.
5392
5393 2014-03-01 Glenn Morris <rgm@gnu.org>
5394
5395 * isearch.el (search-invisible): Doc fix.
5396
5397 * minibuffer.el (completion-hilit-commonality):
5398 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
5399 * comint.el (comint-dynamic-list-completions): Doc fix.
5400 * comint.el (comint-dynamic-list-completions):
5401 * filecache.el (file-cache-minibuffer-complete):
5402 * tempo.el (tempo-display-completions):
5403 * eshell/em-hist.el (eshell-list-history):
5404 Replace use of obsolete argument of display-completion-list.
5405
5406 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
5407
5408 * icomplete.el (icomplete-completions):
5409 Revert back to using "..." when ?… cannot be displayed.
5410
5411 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5412
5413 * finder.el (finder-unload-function): New function.
5414
5415 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
5416
5417 * dframe.el (dframe-detach):
5418 * find-dired.el (find-dired, find-name-dired):
5419 * finder.el (finder-mode-map, finder-mode-syntax-table)
5420 (finder-headmark, finder-select, finder-mouse-select):
5421 Fix docstring typos.
5422
5423 2014-02-28 Martin Rudalics <rudalics@gmx.at>
5424
5425 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
5426 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
5427 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5428 Fix doc-string based on a suggestion by Nicolas Richard
5429 <theonewiththeevillook@yahoo.fr>.
5430 * help.el (with-help-window): Fix doc-string.
5431
5432 2014-02-28 Ivan Kanis <ivan@kanis.fr>
5433
5434 * net/shr.el (shr-image-animate): New option.
5435 (shr-put-image): Respect shr-image-animate.
5436
5437 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
5438
5439 * net/tramp-adb.el (tramp-adb-parse-device-names):
5440 Use `accept-process-output'.
5441 (tramp-adb-handle-file-truename): Cache the localname only.
5442 (tramp-adb-handle-make-directory)
5443 (tramp-adb-handle-delete-directory): Flush file properties correctly.
5444 (tramp-adb-handle-set-file-modes): Do not raise an error when file
5445 modes cannot be changed.
5446
5447 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
5448 file properties of symlinks.
5449
5450 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
5451
5452 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
5453 required/optional fields to match development biblatex. (Bug#16781)
5454
5455 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
5456
5457 * saveplace.el (toggle-save-place):
5458 Fix argument handling. (Bug#16673)
5459
5460 2014-02-28 Glenn Morris <rgm@gnu.org>
5461
5462 * minibuffer.el (completions-first-difference)
5463 (completions-common-part, completion-hilit-commonality): Doc fixes.
5464
5465 2014-02-28 Karl Berry <karl@gnu.org>
5466
5467 * info.el (Info-mode-map): Add H for describe-mode,
5468 to synchronize with standalone Info.
5469
5470 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
5471
5472 * progmodes/sql.el (sql-interactive-mode):
5473 Avoid setting global comint-input-ring-separator. (Bug#16814)
5474
5475 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5476
5477 * net/dbus.el (dbus--init-bus): Declare function.
5478 (dbus-path-local, dbus-interface-local): New defconst.
5479 (dbus-init-bus): Use them.
5480 (dbus-return-values-table): Extend doc.
5481 (dbus-handle-bus-disconnect): Extend error message.
5482
5483 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
5484
5485 * subr.el (y-or-n-p): Fix double space issue in message.
5486
5487 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
5488
5489 * net/tramp.el (tramp-call-process): Improve trace message.
5490 (tramp-handle-insert-file-contents): Trace error case.
5491
5492 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5493 <insert-directory>: Use `tramp-handle-insert-directory'.
5494 (tramp-adb-handle-insert-directory): Remove function.
5495 (tramp-adb-send-command-and-check): New defun, replacing
5496 `tramp-adb-command-exit-status'. Change all callees.
5497 (tramp-adb-handle-file-attributes)
5498 (tramp-adb-handle-directory-files-and-attributes): Use it.
5499 (tramp-adb-ls-output-name-less-p):
5500 Use `directory-listing-before-filename-regexp'.
5501 (tramp-adb-handle-delete-directory): Flush also file properties of
5502 the truename of directory.
5503 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
5504 (tramp-adb-handle-file-local-copy): Make the local copy readable.
5505 (tramp-adb-handle-write-region): Implement APPEND.
5506 (tramp-adb-handle-rename-file): Make it more robust. Flush file
5507 properties correctly.
5508 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
5509 variables. Check for connected devices only when needed.
5510
5511 2014-02-27 Glenn Morris <rgm@gnu.org>
5512
5513 * minibuffer.el (completion-table-dynamic)
5514 (completion-table-with-cache): Doc fixes.
5515
5516 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
5517 (completing-read-multiple): Doc fixes.
5518
5519 2014-02-27 Daniel Colascione <dancol@dancol.org>
5520
5521 * minibuffer.el (completion--nth-completion): Fix indentation.
5522
5523 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
5524 explicit tramp path is empty.
5525
5526 2014-02-27 Glenn Morris <rgm@gnu.org>
5527
5528 * emacs-lisp/crm.el (completing-read-multiple):
5529 Empower help-enable-auto-load.
5530
5531 2014-02-26 Glenn Morris <rgm@gnu.org>
5532
5533 * startup.el (command-line): Don't init the tty in daemon mode.
5534
5535 Avoid calling tty-setup-hook twice, eg if a term file
5536 explicitly calls tty-run-terminal-initialization. (Bug#16859)
5537 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
5538 (tty-create-frame-with-faces): Use it.
5539 * startup.el (command-line): Pass run-hook argument
5540 to tty-run-terminal-initialization.
5541
5542 * dired.el (dired-restore-desktop-buffer): Demote errors;
5543 eg in case a glob match fails. (Bug#16884)
5544
5545 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
5546
5547 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
5548 error from `read-from-string'. (Bug#16850)
5549
5550 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
5551 result of `completing-read' in the interactive form. (Bug#16854)
5552
5553 2014-02-25 Glenn Morris <rgm@gnu.org>
5554
5555 * image.el (image-animate, image-animate-timeout):
5556 Stop animating images in dead buffers. (Bug#16878)
5557
5558 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
5559
5560 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
5561 Doc fixes.
5562 * startup.el (term-setup-hook): Doc fix. Make obsolete.
5563 * term/sun.el (sun-raw-prefix-hooks):
5564 Use tty-setup-hook instead of term-setup-hook.
5565 (terminal-init-sun): Construct message from bytecomp plist.
5566 * term/wyse50.el (enable-arrow-keys): Doc fix.
5567
5568 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5569
5570 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
5571 Fix docstring typos.
5572
5573 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
5574
5575 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
5576
5577 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5578
5579 * minibuffer.el (completion--try-word-completion):
5580 Fix error when completing M-x commands (bug#16808).
5581
5582 2014-02-24 Leo Liu <sdl.web@gmail.com>
5583
5584 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5585
5586 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
5587
5588 * apropos.el (apropos-print): Avoid formatting error when
5589 apropos-do-all and apropos-compact-layout are both t.
5590
5591 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5592
5593 * apropos.el (apropos-property, apropos-all-words-regexp)
5594 (apropos-true-hit, apropos-variable, apropos-print):
5595 Fix docstring typos, and remove obsolete comment.
5596
5597 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/tramp-sh.el (tramp-sh-handle-file-truename):
5600 Preserve trailing "/". (Bug#16851)
5601
5602 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
5603
5604 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
5605 after `=>' (bug#16811).
5606 (ruby-smie-rules): Handle the inconsistent second element of the
5607 list returned by `smie-indent--parent'.
5608 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
5609 method call.
5610
5611 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
5612
5613 * elec-pair.el (electric-pair-text-syntax-table)
5614 (electric-pair-syntax-info, electric-pair--syntax-ppss)
5615 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
5616 (electric-pair--looking-at-unterminated-string-p): Doc fix.
5617 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
5618
5619 2014-02-22 Glenn Morris <rgm@gnu.org>
5620
5621 * imenu.el (imenu--generic-function): Doc fix.
5622
5623 * register.el (frame-configuration-to-register): Make obsolete.
5624
5625 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
5626
5627 * desktop.el (desktop-save-buffer-p): Do not fail when
5628 desktop-files-not-to-save is nil. Return t for true result
5629 as the doc says.
5630
5631 2014-02-22 Daniel Colascione <dancol@dancol.org>
5632
5633 * net/secrets.el (secrets-create-item, secrets-search-items):
5634 Check that attribute values are strings, avoiding the construction
5635 of invalid dbus messages.
5636
5637 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5638
5639 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
5640 defun-declarations-alist.
5641
5642 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
5645 (bug#16829).
5646
5647 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5648
5649 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
5650 (whitespace-newline, whitespace-trailing, whitespace-line)
5651 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
5652 (whitespace-space-after-tab): Fix typo in docstrings.
5653
5654 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
5655
5656 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
5657
5658 * electric.el (electric-indent-functions-without-reindent):
5659 Add `yaml-indent-line'.
5660
5661 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5662
5663 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
5664 It has done nothing for years; should be removed after the release.
5665
5666 * simple.el (choose-completion): Fix docstring typo.
5667 (read-quoted-char-radix): Remove unneeded * in docstring.
5668 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
5669 Don't escape parentheses unnecessarily in docstrings.
5670
5671 2014-02-21 Martin Rudalics <rudalics@gmx.at>
5672
5673 Fix handling of window-min-height/-width (Bug#16738).
5674 * window.el (window--dump-window, window--dump-frame):
5675 New functions.
5676 (window--min-size-1): Account for window dividers.
5677 When window-resize-pixelwise is nil, delay rounding till after the
5678 sum of the window components has been calculated.
5679 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
5680 nil make sure at least one text line and two text columns remain
5681 fully visible.
5682 (window-resize): Signal an error when window-resize-apply fails.
5683 (window--resize-child-windows): Fix calculation of by how many
5684 pixels a window can still be shrunk via window-new-normal.
5685 (adjust-window-trailing-edge): Call window--resizable with
5686 correct TRAIL argument.
5687
5688 (with-temp-buffer-window): Don't evaluate BODY within
5689 with-current-buffer (Bug#16816).
5690
5691 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
5692
5693 * net/tramp.el (tramp-check-cached-permissions):
5694 Call `file-attributes' with `suffix' being a symbol but a string.
5695
5696 2014-02-21 Daniel Colascione <dancol@dancol.org>
5697
5698 * net/dbus.el (dbus-init-bus-1): Declare new subr.
5699 (dbus-init-bus): New function: call into dbus-init-bus-1
5700 and installs a handler for the disconnect signal.
5701 (dbus-call-method): Rewrite to look for result in cons.
5702 (dbus-call-method-handler): Store result in cons.
5703 (dbus-check-event): Recognize events with nil sender as valid.
5704 (dbus-handle-bus-disconnect): New function. React to bus
5705 disconnection signal by synthesizing dbus error for each
5706 pending synchronous or asynchronous call.
5707 (dbus-notice-synchronous-call-errors): New function.
5708 (dbus-handle-event): Raise errors directly only when `dbus-debug'
5709 is true, not all the time.
5710
5711 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
5712
5713 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5714 Remove obsolescence declarations, these variables do not exist anymore.
5715
5716 * savehist.el (savehist-save-minibuffer-history)
5717 (savehist-additional-variables, savehist-file, savehist-mode-hook)
5718 (savehist-save-hook, savehist-coding-system, savehist-loaded)
5719 (savehist-load, savehist-install, savehist-autosave): Fix typos;
5720 mostly, refer to "Savehist mode" when talking about the mode,
5721 and not the function.
5722
5723 * saveplace.el (save-place): Remove redundant info in docstring.
5724 (save-place-forget-unreadable-files, toggle-save-place)
5725 (save-place-forget-unreadable-files, save-place-dired-hook):
5726 Fix typos and remove unneeded backslashes.
5727
5728 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
5729
5730 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
5731 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
5732
5733 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5734 <insert-directory>: Use `tramp-handle-insert-directory'.
5735 (tramp-gvfs-handle-insert-directory): Remove function.
5736
5737 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5738 Call `tramp-handle-insert-directory'.
5739
5740 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
5741
5742 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
5743 before the start of buffer/region (bug#16799).
5744
5745 2014-02-20 Glenn Morris <rgm@gnu.org>
5746
5747 * isearch.el (search-invisible): Doc fix.
5748
5749 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
5750
5751 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
5752 (bug#16657).
5753
5754 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5755
5756 * frameset.el (frameset-restore): Delay removing an old frame's
5757 duplicate id until the new frame has been correctly created.
5758
5759 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
5760
5761 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
5762 (tramp-check-cached-permissions): Call `file-attributes' if the
5763 cache is empty.
5764
5765 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
5766 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5767
5768 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5769 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
5770 (tramp-gvfs-maybe-open-connection): Set always connection
5771 properties, even if target is mounted already.
5772
5773 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
5774 Set tramp-autoload cookie.
5775 (tramp-get-remote-touch): New defun.
5776 (tramp-sh-handle-set-file-times): Use it.
5777 (tramp-sh-handle-directory-files-and-attributes):
5778 Use `tramp-handle-directory-files-and-attributes' if neither stat
5779 nor perl are available on the remote host.
5780
5781 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
5782 "/". Write long listing only when "l" belongs to the switches.
5783
5784 * net/trampver.el: Update release number.
5785
5786 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
5787
5788 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
5789
5790 2014-02-19 Martin Rudalics <rudalics@gmx.at>
5791
5792 * window.el (window-state-put): Allow WINDOW to refer to an
5793 internal window (Bug#16793).
5794
5795 2014-02-19 Glenn Morris <rgm@gnu.org>
5796
5797 * textmodes/remember.el: Move provide statement to end.
5798 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
5799 (remember-notes): Doc fixes.
5800
5801 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * delsel.el (delete-char): Restore incorrectly erased property
5804 (bug#16795).
5805
5806 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
5807
5808 * frameset.el (frameset--restore-frame): When a frame is being reused
5809 and its root window is not alive, delete all the frame's windows before
5810 restoring the window state. This works around the issue in bug#16793.
5811
5812 2014-02-18 Glenn Morris <rgm@gnu.org>
5813
5814 * textmodes/remember.el (remember-data-directory)
5815 (remember-directory-file-name-format, remember-store-in-files)
5816 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
5817 (remember-notes-save-and-bury-buffer)
5818 (remember-notes--kill-buffer-query): Doc fixes.
5819
5820 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
5821
5822 2014-02-17 Alan Mackenzie <acm@muc.de>
5823
5824 Connect electric-indent-mode up with CC Mode. Bug #15478.
5825 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
5826 to electric-indent-{,local-}-mode.
5827 (c-basic-common-init): Set electric-indent-inhibit.
5828 Initialise c-electric-flag from electric-indent-mode.
5829 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
5830 New hook functions which propagate electric-indent-mode to CC mode.
5831
5832 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
5833 hit, toggle electric-indent-local-mode.
5834
5835 * electric.el (electric-indent-mode-has-been-called):
5836 New variable.
5837
5838 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
5839
5840 * frameset.el (frameset-cfg-id): New function.
5841 (frameset--reuse-frame, frameset-restore): Use it.
5842 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
5843
5844 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * ido.el (ido-file-internal): Remove unused var `d'.
5847 Use \` for to match BoS. Fit within 80n columns.
5848
5849 2014-02-17 Daniel Colascione <dancol@dancol.org>
5850
5851 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
5852 dbus-call-method check for completion using a busy-wait loop with
5853 gradual backoff.
5854
5855 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
5856
5857 Sync with Tramp 2.2.9.
5858
5859 * net/trampver.el: Update release number.
5860
5861 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
5862
5863 * ido.el (ido-file-internal): Don't add the name of an existing
5864 directory twice. (Bug#16747)
5865
5866 2014-02-16 Glenn Morris <rgm@gnu.org>
5867
5868 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
5869 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
5870
5871 2014-02-15 Michael R. Mauger <michael@mauger.com>
5872
5873 * progmodes/sql.el: Version 3.4
5874 (sql-oracle-options): New default value ("-L").
5875 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
5876 (sql-placeholders-filter): Correct placeholder pattern.
5877 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
5878 (sql-login-delay): New variable.
5879 (sql-product-interactive): Use it.
5880
5881 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * frameset.el (frameset--jump-to-register): Check that buffer is live
5884 (bug#16749).
5885
5886 2014-02-15 Glenn Morris <rgm@gnu.org>
5887
5888 * info.el (info-initialize): Revert 2014-01-10 change.
5889
5890 2014-02-14 Glenn Morris <rgm@gnu.org>
5891
5892 * replace.el (map-query-replace-regexp)
5893 (read-regexp-defaults-function, read-regexp): Doc fixes.
5894
5895 * dired.el (dired-read-regexp):
5896 * faces.el (list-faces-display):
5897 * misearch.el (multi-isearch-read-matching-buffers)
5898 (multi-isearch-read-matching-files):
5899 * play/cookie1.el (cookie-apropos):
5900 * progmodes/grep.el (grep-read-regexp): Doc fixes.
5901
5902 * textmodes/remember.el (remember): Use frameset-to-register
5903 rather than frame-configuration-to-register.
5904
5905 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
5906
5907 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
5908 incorrect keybinding.
5909
5910 2014-02-13 Daniel Colascione <dancol@dancol.org>
5911
5912 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
5913 when adding overlays so that line numbers from compiler match line
5914 numbers we use.
5915
5916 2014-02-13 Glenn Morris <rgm@gnu.org>
5917
5918 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
5919
5920 * jit-lock.el (jit-lock-mode): Doc fix.
5921
5922 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
5923
5924 * apropos.el (apropos-read-pattern): When the user passes an empty
5925 string, give a more helpful error message than "Wrong type
5926 argument: stringp, nil".
5927
5928 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
5931
5932 2014-02-13 Glenn Morris <rgm@gnu.org>
5933
5934 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
5935
5936 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
5939 shift-select commands.
5940
5941 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
5942
5943 * progmodes/js.el (js-indent-line): Don't widen.
5944 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
5945
5946 2014-02-12 Glenn Morris <rgm@gnu.org>
5947
5948 * icomplete.el (icomplete): Add info-link to defgroup.
5949 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
5950 (icomplete-minibuffer-map, icomplete-mode)
5951 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
5952
5953 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
5954 (package-menu-filter): Rename from package-menu-filter-interactive.
5955 Doc fix.
5956
5957 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
5958
5959 * frameset.el (frameset--jump-to-register): Select the required
5960 window and buffer before restoring position (bug#16696).
5961
5962 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
5963
5964 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
5965
5966 2014-02-10 Glenn Morris <rgm@gnu.org>
5967
5968 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
5969
5970 2014-02-10 Eli Zaretskii <eliz@gnu.org>
5971
5972 * w32-common-fns.el (x-get-selection): Doc fix.
5973 * select.el (x-get-selection): Doc fix. (Bug#15109)
5974
5975 * face-remap.el (face-remap-add-relative)
5976 (face-remap-remove-relative, face-remap-reset-base)
5977 (face-remap-set-base): Call force-mode-line-update to redisplay
5978 the current buffer due to potential change in faces. (Bug#16709)
5979
5980 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
5981
5982 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
5983 script more robustly.
5984
5985 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5986
5987 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
5988
5989 * simple.el (choose-completion): Doc fix (bug#14160).
5990
5991 * subr.el (event-start): Say what a nil EVENT value means.
5992
5993 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
5994 (bug#14197).
5995
5996 * progmodes/grep.el (find-program): Doc fix (bug#14289).
5997
5998 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5999
6000 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
6001
6002 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
6003 predicate function (bug#15455).
6004
6005 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
6006
6007 * ielm.el (inferior-emacs-lisp-mode): Instead of
6008 `comment-use-global-state', set `comment-use-syntax'.
6009
6010 2014-02-10 Glenn Morris <rgm@gnu.org>
6011
6012 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
6013
6014 2014-02-09 Alan Mackenzie <acm@muc.de>
6015
6016 Fix c-invalidate-state-cache on narrowed buffers.
6017 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
6018 Widen when setting and clearing the CPP delimiter properties.
6019
6020 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
6021
6022 * help.el (describe-bindings): Doc fix (bug#9888).
6023
6024 * files.el (save-buffer): Use ARG as the parameter name for
6025 consistency (bug#10346).
6026 (save-buffer): Clarify the 0 argument (bug#10346).
6027
6028 * cus-edit.el (customize-apropos): Fix error string.
6029 (custom-buffer-create): Doc fix (bug#11122).
6030 (custom-sort-items): Doc fix (bug#11121).
6031
6032 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
6033
6034 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
6035 (icomplete-simple-completing-p): Mention the previous variable.
6036
6037 * font-lock.el (font-lock-value-in-major-mode): Clarify the
6038 meaning of the parameter (bug#12282).
6039
6040 * files.el (find-file-noselect): Clarify prompt when changing
6041 readedness (bug#13261).
6042 (locate-file): Suffixes aren't returned, so don't say that they
6043 are (bug#12674).
6044 (backup-inhibited): Doc clarification (bug#12525).
6045
6046 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
6047 before we actually start to delete things (bug#16331).
6048
6049 * subr.el (event-start): Doc fix (bug#14228).
6050 (event-end): Ditto.
6051
6052 2014-02-09 Glenn Morris <rgm@gnu.org>
6053
6054 * emacs-lisp/warnings.el (lwarn):
6055 Empower help-enable-auto-load. (Bug#15940)
6056
6057 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
6058
6059 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
6060 (Bug#16690)
6061
6062 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6065 Insert output at end of buffer. (Bug#16120)
6066
6067 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6068
6069 * simple.el (choose-completion-string-functions): Document new
6070 calling convention (bug#14153).
6071 (execute-extended-command): Clarify doc string (bug#13373).
6072
6073 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
6074
6075 * find-dired.el (find-name-dired): Doc fix (bug#14290).
6076 (find-grep-dired): Doc fix (bug#14288).
6077
6078 2014-02-08 Juri Linkov <juri@jurta.org>
6079
6080 * isearch.el (isearch-quote-char): Check character validity
6081 like in `quoted-insert' (bug#16677).
6082
6083 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
6084
6085 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
6086
6087 * isearch.el (isearch-hide-immediately): Doc clarification
6088 (bug#14723).
6089
6090 * simple.el (line-move): Document utility function used many
6091 places in the Emacs sources (bug#14843).
6092
6093 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
6094 (dired-prev-marked-file): Doc fix (bug#14855).
6095 (dired-up-directory): Doc fix (bug#14848).
6096
6097 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
6098
6099 * files.el (file-relative-name): Doc fix (bug#15159).
6100
6101 * fringe.el (fringe-styles): Doc fix (bug#15239).
6102
6103 * isearch.el (isearch-filter-predicate): Documentation typo fix
6104 (bug#15474).
6105
6106 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
6107
6108 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
6109
6110 * replace.el (replace-match-maybe-edit): Doc clarification
6111 (bug#15632).
6112
6113 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
6114
6115 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
6116
6117 2014-02-08 Glenn Morris <rgm@gnu.org>
6118
6119 * help-fns.el (describe-variable):
6120 Check {file,dir}-local-variables-alist, and buffer-file-name,
6121 in the correct buffer.
6122
6123 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
6124
6125 * help-fns.el (describe-variable): Fix the case where
6126 a value is directory-local with no dir-locals file. (Bug#16635)
6127
6128 2014-02-08 Glenn Morris <rgm@gnu.org>
6129
6130 * abbrev.el (edit-abbrevs-mode):
6131 Derive from fundamental-mode. (Bug#16682)
6132
6133 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
6134
6135 * simple.el (quoted-insert): Check character validity (bug#16677).
6136
6137 2014-02-07 Juri Linkov <juri@jurta.org>
6138
6139 * desktop.el (desktop-read): Claim the lock when the owner is not
6140 the current process. (Bug#16157)
6141
6142 2014-02-07 Juri Linkov <juri@jurta.org>
6143
6144 * desktop.el (desktop-buffers-not-to-save): Change default from nil
6145 to "\\` ". (Bug#16651)
6146
6147 2014-02-07 Juri Linkov <juri@jurta.org>
6148
6149 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
6150 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
6151 (desktop-auto-save-cancel-timer): New function with some code from
6152 `desktop-auto-save-set-timer'.
6153 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
6154 Instead of setting `desktop-save-mode' to nil, call
6155 `desktop-save-mode' with arg 0. (Bug#16630)
6156
6157 2014-02-07 Glenn Morris <rgm@gnu.org>
6158
6159 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
6160 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
6161 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
6162
6163 * obsolete/iswitchb.el: Move to obsolete/.
6164 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
6165 since obsolete/ is not scanned for autoloads.
6166 * emacs-lisp/authors.el (authors-valid-file-names):
6167 Add iswitchb.el.
6168
6169 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
6170 Disable now non-functional find-file-hook.
6171
6172 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
6173
6174 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
6175 instead of ";" in order to avoid additional prompts. Let heredoc
6176 scripts read from tty. (Bug#16582)
6177 (tramp-send-command): No special handling of heredocs, it isn't
6178 necessary anymore.
6179
6180 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
6183 with a space (bug#16664). Limit the symbols considered to the ones
6184 that are bound or fbound (bug#16646).
6185
6186 2014-02-06 Glenn Morris <rgm@gnu.org>
6187
6188 * epa.el (epa-mail-aliases): Doc fix.
6189
6190 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
6191
6192 * emacs-lisp/lisp.el (lisp-completion-at-point):
6193 Use `completion-table-merge' instead of `completion-table-in-turn'
6194 (bug#16604).
6195
6196 * minibuffer.el (completion-table-merge): New function.
6197
6198 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
6199
6200 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
6201 (tramp-sh-handle-set-file-acl)
6202 (tramp-sh-handle-start-file-process)
6203 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
6204 (tramp-find-executable, tramp-send-command): Use it.
6205
6206 2014-02-05 Glenn Morris <rgm@gnu.org>
6207
6208 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
6209
6210 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
6211
6212 * progmodes/python.el (python-shell-send-string)
6213 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
6214
6215 2014-02-04 Anders Lindgren <andlind@gmail.com>
6216
6217 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
6218 the names (bug#16620).
6219
6220 2014-02-03 Martin Rudalics <rudalics@gmx.at>
6221
6222 * faces.el (window-divider): New default value. Rewrite doc-string.
6223 (window-divider-first-pixel, window-divider-last-pixel): New faces.
6224
6225 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
6226
6227 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
6228 `protected' and `public' can also be called without arguments.
6229
6230 2014-02-03 Glenn Morris <rgm@gnu.org>
6231
6232 * register.el (window-configuration-to-register)
6233 (frame-configuration-to-register): Unadvertise unused argument.
6234 * frameset.el (frameset-to-register): Remove unused argument.
6235
6236 * frameset.el (frameset-to-register):
6237 * kmacro.el (kmacro-to-register):
6238 * register.el (increment-register):
6239 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
6240 (calc-append-to-register, calc-prepend-to-register):
6241 * play/gametree.el (gametree-layout-to-register)
6242 (gametree-apply-register-layout):
6243 * textmodes/picture.el (picture-clear-rectangle-to-register)
6244 (picture-yank-rectangle-from-register):
6245 * vc/emerge.el (emerge-combine-versions-register):
6246 Use register-read-with-preview to read registers.
6247
6248 2014-02-03 João Távora <joaotavora@gmail.com>
6249
6250 * elec-pair.el (electric-pair-backward-delete-char): Don't error
6251 when at beginning of (possibly narrowed) buffer.
6252
6253 2014-02-02 Daniel Colascione <dancol@dancol.org>
6254
6255 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
6256 Also try to display local help from just before point.
6257
6258 2014-02-02 Alan Mackenzie <acm@muc.de>
6259
6260 c-parse-state. Don't "append-lower-brace-pair" in certain
6261 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
6262 recognised as a comment.
6263
6264 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
6265 as well as normal comment starter.
6266 (c-parse-state-get-strategy): Extra return possibility
6267 'back-and-forward.
6268 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
6269 return value list to indicate replacement of a brace-pair cons
6270 with its car.
6271 (c-parse-state-1): With 'back-and-forward, only call
6272 c-append-lower-brace-pair-to state-cache when cons-separated.
6273
6274 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
6275
6276 * term/ns-win.el (ns-suspend-error): New function.
6277 (ns-initialize-window-system): Add ns-suspend-error to
6278 suspend-hook (Bug#16612).
6279
6280 2014-02-02 Daniel Colascione <dancol@dancol.org>
6281
6282 * progmodes/cc-defs.el (c-find-assignment-for-mode):
6283 Make loading cc-mode silent.
6284
6285 2014-02-02 Daniel Colascione <dancol@dancol.org>
6286
6287 * comint.el (comint-prompt-read-only): Change doc to suggest
6288 remap keybinding.
6289
6290 2014-02-02 Glenn Morris <rgm@gnu.org>
6291
6292 * register.el (register-read-with-preview, point-to-register)
6293 (window-configuration-to-register, frame-configuration-to-register)
6294 (jump-to-register, number-to-register, view-register, insert-register)
6295 (copy-to-register, append-to-register, prepend-to-register)
6296 (copy-rectangle-to-register): Doc fixes.
6297
6298 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
6301 * emacs-lisp/find-func.el (find-function-C-source): Idem.
6302 * emacs-lisp/nadvice.el (advice--cd*r): New function.
6303 * help-fns.el (describe-function-1): Use it.
6304
6305 2014-02-02 Glenn Morris <rgm@gnu.org>
6306
6307 * register.el (register-preview-default): New function,
6308 split from register-preview.
6309 (register-preview-function): Rename from register-preview-functions,
6310 make it not a hook.
6311 (register-preview): Use register-preview-function.
6312 (register-read-with-preview): Error on non-character event. (Bug#16595)
6313
6314 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
6315
6316 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
6317 `:' before binary operators (bug#16609). Don't check for `:'
6318 before `[' and `(', or their syntax status. A percent literal
6319 can't end with either.
6320 (ruby-font-lock-keywords): For built-ins that require arguments,
6321 check that they're followed by something that looks like argument
6322 (bug#16610).
6323
6324 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
6325
6326 * subr.el (butlast): Document what an omitted N means (bug#13437).
6327 (nbutlast): Ditto.
6328
6329 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
6330
6331 * net/shr.el (shr-generic): Make into a defsubst to make the stack
6332 depth shallower (bug#16587).
6333 (shr-tag-svg): Respect `shr-inhibit-images'.
6334 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
6335
6336 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
6337
6338 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
6339 (ruby-smie-grammar): Make "." right-associative. Make its priority
6340 lower than the ternary and all binary operators.
6341 (ruby-smie-rules): Indent "(" relative to the first non-"."
6342 parent, or the first "." parent at indentation.
6343 Use `ruby-align-chained-calls' for indentation of "." tokens.
6344 (Bug#16593)
6345
6346 2014-01-31 Juri Linkov <juri@jurta.org>
6347
6348 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
6349 from `make-hash-table'.
6350
6351 * textmodes/ispell.el (ispell-init-process): Change message format
6352 to be consistent with other messages.
6353
6354 2014-01-31 Glenn Morris <rgm@gnu.org>
6355
6356 * delsel.el (delete-selection-mode): Doc fix.
6357
6358 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
6359 (trace-function-background): Doc fixes.
6360
6361 * ido.el (ido-use-virtual-buffers): Doc fix.
6362 Reset :version, since the default value has not changed.
6363
6364 * register.el (register-preview-delay, register-read-with-preview):
6365 Doc fixes.
6366
6367 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
6368 do not mess with mail-buffer position (fixes 2009-11-03 change).
6369 * progmodes/cc-mode.el (c-submit-bug-report):
6370 Check auto-fill-mode is bound. (Bug#16592)
6371
6372 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
6373
6374 * startup.el (fancy-splash-image-file): New function,
6375 split from fancy-splash-head.
6376 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
6377 so that we are both using the same image. (Bug#16574)
6378
6379 2014-01-30 Glenn Morris <rgm@gnu.org>
6380
6381 * simple.el (eval-expression): Doc fix.
6382
6383 * hexl.el (hexl-mode-hook):
6384 * ielm.el (ielm-mode-hook):
6385 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6386 (lisp-interaction-mode-hook):
6387 * progmodes/cfengine.el (cfengine3-documentation-function):
6388 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
6389
6390 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
6393 is a symbol (bug#16584).
6394
6395 2014-01-30 Glenn Morris <rgm@gnu.org>
6396
6397 * help.el (help-for-help-internal): Add "P" to text.
6398
6399 2014-01-29 Glenn Morris <rgm@gnu.org>
6400
6401 * simple.el (just-one-space, cycle-spacing): Doc fixes.
6402
6403 2014-01-28 Martin Rudalics <rudalics@gmx.at>
6404
6405 * window.el (fit-frame-to-buffer): Fix calculations for margins and
6406 height constraints.
6407
6408 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
6409
6410 * progmodes/hideif.el: Extend to full CPP expression syntax.
6411 (hif-token-alist): Add missing tokens.
6412 (hif-token-regexp): Add support for float/octal/hex immediates.
6413 (hif-string-literal-regexp): New const.
6414 (hif-tokenize): Recognize strings and float/octal/hex immediates.
6415 (hif-exprlist): New function.
6416 (hif-parse-if-exp): Use it.
6417 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
6418 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
6419 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
6420 (hif-logxor, hif-comma): New functions.
6421
6422 2014-01-28 Glenn Morris <rgm@gnu.org>
6423
6424 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
6425
6426 * indent.el (tab-stop-list): Doc fix. Add :version.
6427
6428 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
6429 (cvs-append-to-ignore): Add compatibility alias.
6430
6431 2014-01-27 Glenn Morris <rgm@gnu.org>
6432
6433 * dired.el (dired-hide-details-mode): Don't autoload it,
6434 since it cannot be used outside Dired buffers anyway.
6435
6436 * emulation/cua-base.el (cua-mode): Doc fix.
6437
6438 * dired.el (dired-hide-details-hide-symlink-targets)
6439 (dired-hide-details-hide-information-lines)
6440 (dired-hide-details-mode): Doc fixes.
6441
6442 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
6443 * strokes.el (strokes-file): Doc fix. Bump :version.
6444 (strokes-help): Doc fix.
6445 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
6446 * emulation/viper.el (viper): Doc fix for custom group.
6447 (top-level): Remove oh-so-no-longer-relevant text about vip.
6448 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
6449
6450 * ido.el (ido-save-directory-list-file):
6451 * saveplace.el (save-place-file):
6452 * calendar/timeclock.el (timeclock-file):
6453 * net/quickurl.el (quickurl-url-file):
6454 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6455 * progmodes/idlwave.el (idlwave-config-directory):
6456 * textmodes/remember.el (remember-data-file):
6457 Bump :version.
6458
6459 2014-01-26 Glenn Morris <rgm@gnu.org>
6460
6461 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
6462 Doc fix. Make obsolete.
6463 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6464
6465 * sort.el (delete-duplicate-lines): Doc fix.
6466
6467 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6468
6469 * progmodes/ada-mode.el (ada):
6470 * woman.el (woman): Link to info manual and Commentary section.
6471
6472 * progmodes/flymake.el (flymake):
6473 * nxml/nxml-mode.el (nxml):
6474 * net/eww.el (eww):
6475 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
6476 * htmlfontify.el (htmlfontify):
6477 * ses.el (ses):
6478 * epa.el (epa):
6479 * ido.el (ido): Link to info manual.
6480
6481 2014-01-25 Leo Liu <sdl.web@gmail.com>
6482
6483 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
6484
6485 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
6486
6487 * net/shr.el (shr-tag-img): Prefer the title over the alt text
6488 (bug#16537).
6489
6490 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
6491
6492 * net/eww.el (eww-download-callback):
6493 Fix reference to eww-download-directory.
6494
6495 * emacs-lisp/bytecomp.el (byte-compile-file):
6496 Remove unused local variable `file-name'.
6497
6498 2014-01-24 Glenn Morris <rgm@gnu.org>
6499
6500 * woman.el (woman-default-faces, woman-monochrome-faces):
6501 Fix obsolescence specification.
6502
6503 * subr.el (with-demoted-errors): Doc fix.
6504
6505 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6507 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
6508 (cl--macroexp-fboundp): New function.
6509 (cl--make-type-test): Use it.
6510
6511 2014-01-23 Glenn Morris <rgm@gnu.org>
6512
6513 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
6514 * simple.el (eval-expression): Doc fixes.
6515
6516 2014-01-22 Glenn Morris <rgm@gnu.org>
6517
6518 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
6519
6520 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6521
6522 * emacs-lisp/package.el: Write files silently.
6523 (package-autoload-ensure-default-file, package--write-file-no-coding)
6524 (package-generate-description-file, package--download-one-archive)
6525 (package-install-from-archive): Tell `write-region' to stay quiet.
6526 (package-menu-mode, package-menu--print-info): Omit the Archive column
6527 if there's only one archive.
6528 (package-all-keywords, package--has-keyword-p): Remove dead code.
6529
6530 2014-01-22 Glenn Morris <rgm@gnu.org>
6531
6532 * version.el (emacs-bzr-version-bzr): Fix typo.
6533
6534 * version.el (emacs-repository-get-version):
6535 Check either .bzr or .git, but not both.
6536 Make the git case actually use the DIR argument, and return nil
6537 rather than the empty string.
6538 Avoid error if .git exists but the git executable is not found.
6539
6540 2014-01-22 Martin Rudalics <rudalics@gmx.at>
6541
6542 Fixes in window size functions around Bug#16430 and Bug#16470.
6543 * window.el (window-total-size, window-size): New argument ROUND.
6544 (window--min-delta-1, window-min-delta, window--max-delta-1):
6545 Be more conservative when calculating the numbers of lines or
6546 columns a window can shrink (Bug#16430).
6547 (fit-window-to-buffer): Simplify code.
6548 * term.el (term-window-width): Call window-body-width again.
6549
6550 2014-01-22 Glenn Morris <rgm@gnu.org>
6551
6552 * image.el (image-format-suffixes): Doc fix.
6553
6554 * international/quail.el (quail-define-package): Doc fix.
6555
6556 * emacs-lisp/authors.el (authors-valid-file-names)
6557 (authors-renamed-files-alist): Additions.
6558
6559 * vc/vc-git.el (vc-git-print-log): Remove --follow;
6560 reverts 2014-01-09 change. (Bug#16422)
6561
6562 * calc/calc-embed.el (thing-at-point-looking-at):
6563 * emacs-lisp/map-ynp.el (x-popup-dialog):
6564 * obsolete/lmenu.el (x-popup-dialog):
6565 * emacs-lisp/package.el (url-recreate-url):
6566 * mail/mailclient.el (clipboard-kill-ring-save):
6567 * subr.el (x-popup-dialog): Update declaration.
6568 * mail/rmail.el (rmail-mime-message-p):
6569 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
6570
6571 2014-01-21 Daniel Colascione <dancol@dancol.org>
6572
6573 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6574 Correctly detect when we're inside an arithmetic expansion form
6575 containing nested parenthesis.
6576 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
6577 to detect cases where we shouldn't expand "<<" to a heredoc
6578 skeleton.
6579
6580 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
6583 (eldoc--message-command-p): New function.
6584 (eldoc-display-message-p): Use it.
6585 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
6586 message is not automatically erased for us.
6587 (eldoc-print-current-symbol-info): Erase previous message, if any.
6588
6589 2014-01-21 Tassilo Horn <tsdh@gnu.org>
6590
6591 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
6592 specify it's an interactive function.
6593
6594 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
6595 Fix regex used for scanning for citation keys which failed for
6596 citations with optional arguments.
6597
6598 2014-01-21 Leo Liu <sdl.web@gmail.com>
6599
6600 * simple.el (read--expression): Don't enable eldoc-mode.
6601
6602 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * simple.el (move-beginning-of-line): Make sure we don't move forward
6605 (bug#16497).
6606
6607 2014-01-20 Juri Linkov <juri@jurta.org>
6608
6609 * saveplace.el (toggle-save-place, save-place-to-alist)
6610 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
6611 'dired-mode) before checking for dired-directory. (Bug#16477)
6612
6613 2014-01-20 Juri Linkov <juri@jurta.org>
6614
6615 * indent.el (indent-line-to): Use backward-to-indentation
6616 instead of back-to-indentation. (Bug#16461)
6617
6618 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
6619
6620 Revert some of the CANNOT_DUMP fix (Bug#16494).
6621 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
6622 but fixing this can wait until after the next release.
6623 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
6624
6625 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
6626
6627 * eshell/esh-mode.el (eshell-password-prompt-regexp):
6628 Use `password-word-equivalents'.
6629 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
6630 to t. (Bug#5664, Bug#13124)
6631
6632 2014-01-19 Alan Mackenzie <acm@muc.de>
6633
6634 Bind open-paren-in-column-0-is-defun-start to nil at some entry
6635 points.
6636 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
6637 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
6638 * progmodes/cc-mode.el (c-before-change, c-after-change)
6639 (c-font-lock-fontify-region): Bind it here.
6640
6641 2014-01-19 Martin Rudalics <rudalics@gmx.at>
6642
6643 * term.el (term-window-width): Call window-text-width instead of
6644 window-width (Bug#16470).
6645
6646 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
6647
6648 * simple.el (password-word-equivalents): Remove duplicates.
6649 Sort, to make this easier next time.
6650 Downcase. Omit ": " after "jelszó".
6651
6652 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
6653
6654 * term/common-win.el (saved-region-selection): Defvar it.
6655 (x-select-text): Set saved-region-selection (Bug#16382).
6656
6657 2014-01-18 Glenn Morris <rgm@gnu.org>
6658
6659 * emacs-lisp/authors.el (authors-aliases)
6660 (authors-renamed-files-alist): Add some entries.
6661
6662 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
6663
6664 * net/tramp.el (tramp-password-prompt-regexp):
6665 Use `password-word-equivalents' if available.
6666 (tramp-action-password, tramp-process-one-action)
6667 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
6668
6669 2014-01-17 Chong Yidong <cyd@gnu.org>
6670
6671 * simple.el (password-word-equivalents): New defcustom.
6672 * comint.el (comint-password-prompt-regexp): Use it. Bump version
6673 to 24.4.
6674 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
6675 to t. (Bug#13124)
6676
6677 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
6678
6679 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
6680 (ruby-align-to-stmt-keywords): Change the default value.
6681 Use `ruby-alignable-keywords' to generate the possible customization
6682 choices.
6683 (ruby-smie-rules): Instead of using a hardcoded list of alignable
6684 keywords, check against the value of `ruby-alignable-keywords'
6685 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
6686
6687 2014-01-17 Glenn Morris <rgm@gnu.org>
6688
6689 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
6690
6691 Make M-x authors return zero *Authors Errors* from current logs.
6692 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
6693 (authors-ignored-files): Add some entries, remove others.
6694 (authors-ambiguous-files, authors-valid-file-names):
6695 Add some entries.
6696 (authors-renamed-files-alist): Add, remove, and adjust entries.
6697 (authors-renamed-files-regexps): Add some entries.
6698 Remove some very broad ones. Make some entries `lax'.
6699 (authors-lax-changelogs): New constant.
6700 (authors-disambiguate-file-name): Treat top-level specially.
6701 (authors-lax-changelog-p): New function.
6702 (authors-canonical-file-name): Check file as written against
6703 authors-valid-file-names. Do not special-case etc/.
6704 Handle `lax' logs and authors-renamed-files-regexps elements.
6705
6706 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
6707
6708 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
6709 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
6710 callers.
6711
6712 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
6715 Assume we're already in the proper buffer.
6716 Inspired by Anders Lindgren <andlind@gmail.com>.
6717 (follow-post-command-hook): Call it from the right buffer.
6718 (follow-comint-scroll-to-bottom): Adjust call.
6719 (follow-all-followers): Use get-buffer-window-list.
6720
6721 2014-01-15 Daniel Colascione <dancol@dancol.org>
6722
6723 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
6724 `buffer-file-name' in interactive-form so that we don't leave
6725 pathless file names in `file-name-history'.
6726
6727 2014-01-15 Juri Linkov <juri@jurta.org>
6728
6729 * indent.el (indent-rigidly): Set deactivate-mark to nil
6730 in transient indentation mode. (Bug#16438)
6731
6732 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
6733
6734 * emacs-lisp/package.el (package-desc-keywords): New function
6735 (Bug#16222).
6736 (describe-package-1, package-all-keywords)
6737 (package--has-keyword-p): Use it.
6738
6739 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6740
6741 * simple.el (define-alternatives): When creating the
6742 COMMAND-alternatives variable, assign COMMAND as its definition
6743 name so that `describe-variable' can relocate it.
6744
6745 2014-01-14 Matthew Leach <matthew@mattleach.net>
6746
6747 * font-lock.el (font-lock-keywords): Fix typo in docstring
6748 (bug#16307).
6749
6750 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6751
6752 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
6753 line instead of wrongly reset `add-coment' (bug#13577).
6754
6755 2014-01-14 Daiki Ueno <ueno@gnu.org>
6756
6757 * epa-file.el (epa-file-write-region): Encode the region according
6758 to `buffer-file-format'. Problem reported at:
6759 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
6760
6761 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
6764 so it applies in the right buffer (bug#16410).
6765
6766 2014-01-13 Daniel Colascione <dancol@dancol.org>
6767
6768 * textmodes/rst.el (rst-define-key): Provide deprecated
6769 keybindings through named functions instead of anonymous ones so
6770 that "??" doesn't appear in describe-mode output.
6771
6772 2014-01-13 Bastien Guerry <bzg@gnu.org>
6773
6774 * simple.el (define-alternatives): Call the selected command
6775 interactively. When setting `COMMAND--implementation' for the
6776 first time, tell the user how to chose another implementation.
6777 Enhance the docstring.
6778
6779 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
6782 (log-edit--match-first-line): New function.
6783 (log-edit-font-lock-keywords): Use it.
6784 (log-edit-mode): Make jit-lock-defer-multiline work.
6785
6786 2014-01-13 Bastien Guerry <bzg@gnu.org>
6787
6788 * rect.el (rectangle-mark-mode): When the region is not active,
6789 display a message saying that the mark as been set and that
6790 rectangle mode is in use.
6791 (rectangle--highlight-for-redisplay): Only put an overlay with a
6792 visible vertical bar when (display-graphic-p) is non-nil.
6793 This partially fixes Bug#16403.
6794
6795 2014-01-13 Juri Linkov <juri@jurta.org>
6796
6797 * info.el (Info-find-file): Go to DIR before displaying the error
6798 about a nonexistent file if no previous Info file is visited.
6799 Use `user-error' instead of `error' for "Info file %s does not exist".
6800 (Info-find-node-2): In case of a nonexistent node in unwind forms
6801 go to the Top node if there is no previous node to revert to.
6802 (Bug#16405)
6803
6804 2014-01-13 Martin Rudalics <rudalics@gmx.at>
6805
6806 fit-frame/window-to-buffer code fixes including one for Bug#14096.
6807 * window.el (fit-frame-to-buffer): Fix doc-string.
6808 Respect window-min-height/-width. Fit pixelwise when
6809 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
6810 when avoiding that frame goes partially off-screen.
6811 (fit-window-to-buffer): Respect window-min-height/-width
6812 (Bug#14096).
6813
6814 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
6817 after an empty line.
6818
6819 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * net/shr.el (shr-render-region): Autoload.
6822
6823 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
6824
6825 * net/eww.el (eww-download-directory): Rename from
6826 `eww-download-path' (Bug#16419).
6827
6828 2014-01-12 Leo Liu <sdl.web@gmail.com>
6829
6830 * dired-x.el (dired-mode-map): Fix last change.
6831
6832 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
6833
6834 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
6835
6836 Spelling fixes.
6837 * emacs-lisp/generic.el (generic--normalize-comments):
6838 Rename from generic--normalise-comments. All uses changed.
6839 * play/bubbles.el (bubbles--neighborhood-score)
6840 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
6841 (bubbles--neighborhood-available)
6842 (bubbles--update-neighborhood-score):
6843 Rename from names with 'neighbourhood'. All uses changed.
6844
6845 2014-01-12 Leo Liu <sdl.web@gmail.com>
6846
6847 Re-implement the feature of showing eldoc info after editing.
6848 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
6849 (eldoc-edit-message-commands): New function.
6850 (eldoc-print-after-edit): New variable.
6851 (eldoc-pre-command-refresh-echo-area): Emit message only by
6852 eldoc-message-commands.
6853 (eldoc-mode): Restrict eldoc-message-commands to editing commands
6854 if eldoc-print-after-edit is set. (Bug#16346)
6855 * simple.el (read--expression): Enable eldoc-mode.
6856 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
6857
6858 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
6859 Eric S. Raymond <esr@thyrsus.com>
6860
6861 * version.el (emacs-repository-get-version): Enhance so the
6862 function works correctly in either a Bazaar or Git repo.
6863
6864 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
6865
6866 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
6867 Goes with removal of the joke manpages from /etc.
6868
6869 2014-01-10 Kenichi Handa <handa@gnu.org>
6870
6871 * mail/rmail.el (rmail-get-coding-system):
6872 Check rmail-get-coding-function before "funcall"ing it.
6873
6874 2014-01-10 Glenn Morris <rgm@gnu.org>
6875
6876 * emacs-lisp/authors.el (authors-fixed-entries):
6877 Update for files that no longer exist.
6878
6879 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
6880
6881 * version.el (emacs-bzr-get-version): Restore compatibilty with
6882 24.3 (Tested).
6883
6884 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
6885
6886 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
6887 and Podfile.
6888
6889 2014-01-10 Eli Zaretskii <eliz@gnu.org>
6890
6891 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
6892
6893 2014-01-10 Chong Yidong <cyd@gnu.org>
6894
6895 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
6896
6897 2014-01-10 Anders Lindgren <andlind@gmail.com>
6898
6899 * follow.el (follow-cache-command-list): Include right-char and
6900 left-char.
6901
6902 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
6903
6904 Spelling fixes.
6905 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
6906 * woman.el (woman-mark-horizontal-position):
6907 Rename from woman-mark-horizonal-position. Use changed.
6908
6909 2014-01-10 Glenn Morris <rgm@gnu.org>
6910
6911 * info.el (info-initialize): If running uninstalled, ensure our
6912 own info files are always found first, even if INFOPATH is set.
6913
6914 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
6915
6916 2014-01-09 David Engster <deng@randomsample.de>
6917
6918 * emacs-lisp/eieio-custom.el:
6919 * emacs-lisp/eieio-opt.el: Set generated autoload file to
6920 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
6921 * emacs-lisp/eieio.el: Regenerate autoloads.
6922
6923 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
6924
6925 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
6926 following renames. (Bug#8756)
6927
6928 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
6931 (bug#16382).
6932 (activate-mark): Add `no-tmm' argument.
6933 (set-mark, push-mark-command): Use it instead of running
6934 activate-mark-hook by hand.
6935
6936 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
6937
6938 In preparation for the move to git, sanitize out some
6939 Bazaar-specific names.
6940
6941 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
6942
6943 * version.el (emacs-bzr-version): Name changed to
6944 emacs-repository-version. Obsolete-variable alias made.
6945 * loadup.el: Follow through on this name change.
6946 * mail/emacsbug.el (report-emacs-bug): Factor out any
6947 assumption about the version control system in use.
6948
6949 2014-01-08 David Engster <deng@randomsample.de>
6950
6951 * help-fns.el (help-fns-describe-function-functions):
6952 New variable to call functions for augmenting help buffers.
6953 (describe-function-1): Remove explicit calls to
6954 `help-fns--compiler-macro', `help-fns--parent-mode' and
6955 `help-fns--obsolete'. Put them in above new variable instead, and
6956 call them through `run-hook-with-args'.
6957 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
6958 `eieio-describe-class'. Not meant for interactive use anymore,
6959 but to augment existing help buffers. Remove optional second
6960 argument. Create proper button for file location.
6961 Rewrite function to use `insert' instead of `princ' and `prin1' where
6962 possible.
6963 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
6964 (eieio-method-def, eieio-class-def): Move further up.
6965 (describe-method, describe-generic, eieio-describe-method):
6966 Remove aliases.
6967 (eieio-help-constructor, eieio-help-generic): Rename from
6968 `eieio-describe-constructor' and `eieio-describe-generic', resp.
6969 Rewrite to use `insert' in the current buffer and use proper help
6970 buttons.
6971 (eieio-help-find-method-definition)
6972 (eieio-help-find-class-definition): Also accept symbols as
6973 arguments.
6974 (eieio-help-mode-augmentation-maybee): Remove.
6975 (eieio-describe-class-sb): Use `describe-function'.
6976 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
6977 Add `eieio-help-generic' and `eieio-help-constructor'.
6978
6979 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
6980
6981 Spelling fixes.
6982 * language/china-util.el (hz-ascii-designation):
6983 Rename from hz-ascii-designnation.
6984 (hz-ascii-designation): Rename from hz-ascii-designnation.
6985 All uses changed.
6986
6987 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
6990 package-alist.
6991
6992 2014-01-08 Bastien Guerry <bzg@gnu.org>
6993
6994 * emacs-lisp/package.el (package-delete):
6995 Correctly delete the package from package-alist.
6996
6997 2014-01-08 Daiki Ueno <ueno@gnu.org>
6998
6999 * emacs-lisp/package.el (url-recreate-url): Declare.
7000 (url-http-target-url): Declare.
7001 (package-handle-response): Include requested URL in the error message.
7002 (package--check-signature): Don't re-signal errors from
7003 package--with-work-buffer. Suggested by Stefan Monnier.
7004
7005 2014-01-07 Bastien Guerry <bzg@gnu.org>
7006
7007 * minibuffer.el (completion--try-word-completion): When both a
7008 hyphen and a space are possible candidates for the character
7009 following a word, display both candidates. (Bug#15980)
7010
7011 2014-01-07 Martin Rudalics <rudalics@gmx.at>
7012
7013 * window.el (balance-windows-2): While rounding don't give a
7014 window more than the remainder. Bug#16351, bug#16383.
7015
7016 2014-01-07 Glenn Morris <rgm@gnu.org>
7017
7018 * menu-bar.el (menu-bar-help-extra-packages): Remove.
7019 (menu-bar-help-menu): Use view-external-packages instead.
7020
7021 2014-01-07 Bastien Guerry <bzg@gnu.org>
7022
7023 * emacs-lisp/package.el (package-delete): Also delete the package
7024 name from `package-alist', not its description only.
7025
7026 2014-01-07 Glenn Morris <rgm@gnu.org>
7027
7028 * help.el (view-external-packages):
7029 * menu-bar.el (menu-bar-help-extra-packages):
7030 Visit efaq.info rather than etc/MORE.STUFF.
7031
7032 2014-01-07 Juri Linkov <juri@jurta.org>
7033
7034 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
7035 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
7036
7037 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
7038 that shadows RET. (Bug#16342)
7039
7040 2014-01-07 Chong Yidong <cyd@gnu.org>
7041
7042 * isearch.el (isearch-yank-char, isearch-yank-word)
7043 (isearch-yank-line): Doc fix.
7044
7045 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
7048 * emacs-lisp/elint.el (elint-find-builtins):
7049 * emacs-lisp/eldoc.el (eldoc-symbol-function):
7050 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
7051 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
7052 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7053 * apropos.el (apropos-safe-documentation):
7054 * subr.el (symbol-file): Remove redundant fboundp.
7055 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
7056
7057 2014-01-06 Bastien Guerry <bzg@gnu.org>
7058
7059 * hl-line.el (global-hl-line-overlay): Make a local variable.
7060 (global-hl-line-overlays): New variable to store all overlays.
7061 (global-hl-line-mode): Don't delete overlays from the current
7062 buffer when `global-hl-line-sticky-flag' is non-nil.
7063 (global-hl-line-highlight): Add new overlays to
7064 `global-hl-line-overlays'.
7065 (global-hl-line-unhighlight-all): New function to delete all
7066 overlays when turning off `global-hl-line-mode'.
7067 This fixes Bug#16183.
7068
7069 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * subr.el (set-transient-map): Fix nested case and docstring.
7072
7073 2014-01-06 Tassilo Horn <tsdh@gnu.org>
7074
7075 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
7076 `Texinfo' entry.
7077
7078 2014-01-06 Daniel Colascione <dancol@dancol.org>
7079
7080 Fix defun navigation in vc log view.
7081
7082 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
7083 like `beginning-of-defun'.
7084 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
7085 log-view-end-of-defun to log-view-end-of-defun-1. Replace
7086 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
7087 (log-view-extract-comment): Call `log-view-current-entry' directly
7088 instead of relying on broken `log-view-beginning-of-defun' behavior.
7089
7090 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
7091
7092 Spelling fixes.
7093 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
7094 * emacs-lisp/debug.el (cancel-debug-on-entry):
7095 * epg.el (epg-error-to-string):
7096 * files.el (recover-file):
7097 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
7098 * mail/emacsbug.el (report-emacs-bug-hook):
7099 * mail/sendmail.el (mail-recover):
7100 * ses.el (ses-yank-resize):
7101 * term/ns-win.el (ns-print-buffer):
7102 Spelling fixes in diagnostics, mostly for "canceled" with one L.
7103 * epg.el (epg-key-capability-alist): Rename from misspelled version.
7104 All uses changed.
7105 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
7106
7107 2014-01-06 Leo Liu <sdl.web@gmail.com>
7108
7109 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
7110 to avoid shadowing global key. (Bug#16354)
7111
7112 2014-01-06 Daniel Colascione <dancol@dancol.org>
7113
7114 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
7115 rst-mode.
7116
7117 2014-01-05 Martin Rudalics <rudalics@gmx.at>
7118
7119 * window.el (balance-windows): Add mising t to fix Bug#16351.
7120
7121 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7122
7123 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
7124 (bug#16285).
7125 (shr-insert): If we have a word that's longer than `shr-width',
7126 break after it anyway. Otherwise we'll do no breaking once we get
7127 such a long word.
7128
7129 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7130
7131 * net/eww.el (eww): Support single/double quote for search.
7132 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
7133 (eww-history-quit): Delete and use quit-window.
7134 (eww-history-kill): Delete, because it doesn't work well and
7135 not necessary.
7136 (eww-history-mode-map): Delete some keys and add easy-menu.
7137
7138 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
7139
7140 Fix misspelling of 'chinese' in rx (Bug#16237).
7141 * emacs-lisp/rx.el (rx-categories): Correct spelling of
7142 chinese-two-byte.
7143
7144 Change subword regexps back to vars (Bug#16296).
7145 * progmodes/subword.el (subword-forward-regexp)
7146 (subword-backward-regexp): Change these back to variables.
7147
7148 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7149
7150 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
7151 syntax-begin-function (bug#16247).
7152
7153 2014-01-03 Chong Yidong <cyd@gnu.org>
7154
7155 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
7156 (advice--docstring): Delete variable.
7157 (advice--make-1): Leave the docstring empty.
7158 (advice-add): Use function-documentation for advised docstring.
7159
7160 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
7161 Ignore function-documentation property when getting documentation.
7162 (ad-activate-advised-definition): Use function-documentation
7163 generate the docstring.
7164 (ad-make-advised-definition): Don't call
7165 ad-make-advised-definition-docstring.
7166 (ad-make-advised-definition-docstring, ad-advised-definition-p):
7167 Delete functions.
7168
7169 * progmodes/sql.el (sql-help): Use function-documentation instead
7170 of dynamic-docstring-function property. No need to autoload now.
7171 (sql--help-docstring): New variable.
7172 (sql--make-help-docstring): Use it.
7173
7174 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
7175
7176 * ielm.el (ielm-tab): Retarget.
7177 (ielm-map): Use ielm-tab for tab.
7178 (ielm-complete-filename): Use comint-filename-completion.
7179 (ielm-complete-symbol): Remove.
7180 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
7181 remove ielm-tab from completion-at-point-functions (bug#16224).
7182
7183 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
7184 Beware signals raised by predicates (bug#16201).
7185
7186 2014-01-02 Richard Stallman <rms@gnu.org>
7187
7188 * dired-aux.el (dired-do-print): Handle printer-name.
7189
7190 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
7191 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
7192 (rmail-epa-decrypt): Turn off mime processing.
7193
7194 * mail/rmail.el (rmail-make-in-reply-to-field):
7195 Add parens in message-id.
7196
7197 * mail/rmail.el (rmail-get-coding-function): Variable.
7198 (rmail-get-coding-system): Use it.
7199
7200 2013-12-31 Eli Zaretskii <eliz@gnu.org>
7201
7202 * international/mule-conf.el: Unify the charset indian-is13194.
7203 (indian-is13194): Specify unify-map.
7204
7205 2013-12-31 Leo Liu <sdl.web@gmail.com>
7206
7207 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
7208
7209 2013-12-30 Daniel Colascione <dancol@dancol.org>
7210
7211 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
7212 of printing a useless when we resume from sleep.
7213
7214 * progmodes/sh-script.el
7215 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
7216 in indentation code. (Bug#16233)
7217
7218 2013-12-28 João Távora <joaotavora@gmail.com>
7219
7220 * elec-pair.el (electric-pair-post-self-insert-function):
7221 Don't open extra newlines at beginning of buffer. (Bug#16272)
7222
7223 2013-12-28 Eli Zaretskii <eliz@gnu.org>
7224
7225 * frame.el (window-system-for-display): Don't allow to create a
7226 GUI frame from a -nw session on MS-Windows. (Bug#14739)
7227
7228 2013-12-28 Glenn Morris <rgm@gnu.org>
7229
7230 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
7231 Update callers.
7232
7233 * apropos.el (apropos-match-face):
7234 * calculator.el (calculator-displayer):
7235 * dabbrev.el (dabbrev-search-these-buffers-only):
7236 * face-remap.el (buffer-face-mode-face):
7237 * simple.el (yank-handled-properties):
7238 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
7239 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
7240 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
7241 (hashcash-double-spend-database):
7242 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
7243 (ruby-deep-indent-paren-style):
7244 * textmodes/flyspell.el (flyspell-auto-correct-binding):
7245 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
7246 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
7247 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
7248 Specify custom types.
7249
7250 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
7251 * bookmark.el (bookmark-bmenu-use-header-line):
7252 * doc-view.el (doc-view-scale-internally):
7253 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
7254 * register.el (register-preview-delay):
7255 * net/shr.el (shr-bullet):
7256 * progmodes/cfengine.el (cfengine-cf-promises)
7257 (cfengine-parameters-indent):
7258 * progmodes/octave.el (inferior-octave-error-regexp-alist):
7259 * textmodes/reftex-vars.el (reftex-label-regexps):
7260 * vc/log-edit.el (log-edit-setup-add-author): Add version.
7261
7262 * net/tls.el (tls-certtool-program): Fix default value.
7263
7264 * desktop.el (desktop-restore-in-current-display):
7265 * newcomment.el (comment-empty-lines):
7266 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
7267 (idlwave-pad-keyword):
7268 * progmodes/tcl.el (tcl-tab-always-indent):
7269 * textmodes/reftex-vars.el (reftex-index-default-tag):
7270 * elec-pair.el (electric-pair-skip-whitespace):
7271 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
7272
7273 * emacs-lisp/authors.el (authors-ignored-files)
7274 (authors-valid-file-names, authors-renamed-files-alist): Additions.
7275
7276 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
7277
7278 * shell.el (shell-dynamic-complete-command): Doc fix.
7279 (shell--command-completion-data): Shell completion now matches
7280 executable filenames from the current buffer's directory, on
7281 systems in which this behavior is the default (windows-nt, ms-dos).
7282
7283 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7284
7285 * net/shr.el (shr-insert): Don't infloop if the width is zero.
7286
7287 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
7288
7289 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
7290 (bug#16251).
7291
7292 * electric.el: Move all electric-pair-* to elec-pair.el.
7293 * elec-pair.el: New file, split from electric.el.
7294
7295 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
7296
7297 * net/shr.el (shr-find-fill-point): Don't try to fill if the
7298 indentation level is larger than the width, because that will
7299 infloop.
7300 (shr-insert): Fill repeatedly long texts, so that Japanese is
7301 formatted correctly (bug#16263).
7302 (shr-find-fill-point): Off by one error in comparison with the
7303 indentation.
7304
7305 2013-12-26 João Távora <joaotavora@gmail.com>
7306
7307 * electric.el (electric-pair-mode): More flexible engine for skip-
7308 and inhibit predicates, new options for pairing-related functionality.
7309 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
7310 if that keeps or improves their balance in buffers.
7311 (electric-pair-delete-adjacent-pairs): Delete the pair when
7312 backspacing over adjacent matched delimiters.
7313 (electric-pair-open-extra-newline): Open extra newline when
7314 inserting newlines between adjacent matched delimiters.
7315 (electric--sort-post-self-insertion-hook):
7316 Sort post-self-insert-hook according to priority values when
7317 minor-modes are activated.
7318 * simple.el (newline-and-indent): Call newline with interactive
7319 set to t.
7320 (blink-paren-post-self-insert-function): Set priority to 100.
7321 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7322 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
7323 comments. Locally set electric-pair-skip-whitespace to 'chomp and
7324 electric-pair-open-newline-between-pairs to nil.
7325
7326 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
7327
7328 * progmodes/python.el: Use lexical-binding.
7329 (python-nav-beginning-of-defun): Stop searching ASAP.
7330
7331 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
7332
7333 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
7334 Fix interactive spec. Doc fix. (Bug#15754)
7335
7336 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
7337
7338 * emacs-lisp/byte-run.el (eval-when-compile):
7339 * progmodes/cc-defs.el (cc-eval-when-compile):
7340 Fix edebug spec (bug#16184).
7341
7342 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7343
7344 * net/shr.el (shr-visit-file): Remove debugging function.
7345 (shr-insert): Don't infloop if we can't find a good place to break
7346 the line (bug#16256).
7347
7348 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
7349
7350 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
7351 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
7352 python-nav-lisp-forward-sexp-safe.
7353 (python-nav--forward-sexp): New argument SAFE allows switching
7354 forward sexp movement behavior for parens.
7355 (python-nav-forward-sexp): Throw errors on unterminated parens
7356 (Bug#16191).
7357 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
7358 (python-nav-backward-sexp-safe): New functions.
7359 (python-shell-buffer-substring):
7360 Use `python-nav-forward-sexp-safe'.
7361
7362 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
7363
7364 * net/shr.el (shr-find-fill-point): Don't break lines before a
7365 quotation mark.
7366 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
7367 (shr-find-fill-point): Remove the special checks for the quotation
7368 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
7369
7370 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7371
7372 * net/eww.el (eww-form-textarea): Use a different face for
7373 textareas than text input since they have different keymaps
7374 (bug#16142).
7375
7376 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
7377
7378 * progmodes/python.el (python-nav-beginning-of-statement):
7379 Speed up (Bug#15295).
7380
7381 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7382
7383 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
7384 the window configuration.
7385
7386 2013-12-24 Eli Zaretskii <eliz@gnu.org>
7387
7388 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
7389 we run on MS-Windows or MS-DOS.
7390
7391 2013-12-24 Martin Rudalics <rudalics@gmx.at>
7392
7393 * window.el (balance-windows-area): Call window-size instead of
7394 window-height and window-width. Bug#16241.
7395
7396 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
7397
7398 * net/eww.el (eww-bookmark-quit): Remove.
7399 (eww-bookmark-browse): Restore the window configuration when you
7400 choose a bookmark (bug#16144).
7401
7402 2013-12-24 Daniel Colascione <dancol@dancol.org>
7403
7404 * icomplete.el: Remove redundant :group arguments to `defcustom'
7405 throughout.
7406 (icomplete-show-matches-on-no-input): New customizable variable.
7407 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7408 we have something to show.
7409 (icomplete-exhibit): Compute completions even if we have no user input.
7410
7411 2013-12-23 Daniel Colascione <dancol@dancol.org>
7412
7413 * icomplete.el: Move `provide' to end of file.
7414
7415 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
7416
7417 * net/gnutls.el (gnutls-verify-error): Add version tag.
7418
7419 2013-12-23 Chong Yidong <cyd@gnu.org>
7420
7421 * subr.el (set-transient-map): Rename from
7422 set-temporary-overlay-map. Doc fix.
7423
7424 * face-remap.el (text-scale-adjust):
7425 * indent.el (indent-rigidly):
7426 * kmacro.el (kmacro-call-macro):
7427 * minibuffer.el (minibuffer-force-complete):
7428 * repeat.el (repeat):
7429 * simple.el (universal-argument--mode):
7430 * calendar/todo-mode.el (todo-insert-item--next-param):
7431 * progmodes/f90.el (f90-abbrev-start): Callers changed.
7432
7433 * indent.el (indent-rigidly): Use substitute-command-keys.
7434
7435 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7436
7437 * net/eww.el (eww-tag-select): Add text-property to jump to next
7438 select field.
7439 (eww): Add non-supported ftp error.
7440
7441 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7442
7443 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
7444 comments. Handle electric indent after typing `?' and `!'.
7445
7446 2013-12-22 Chong Yidong <cyd@gnu.org>
7447
7448 * faces.el (face-spec-recalc): If the theme specs are not
7449 applicable to a frame, fall back on the defface spec.
7450 This prevents themes from obliterating faces on low-color terminals.
7451
7452 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7453
7454 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
7455 after `{'. We need it after block openers, and it doesn't seem
7456 to hurt after hash openers.
7457
7458 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7459
7460 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
7461 extracted from `ruby-smie-rules'.
7462 (ruby--electric-indent-chars): New variable.
7463 (ruby--electric-indent-p): New function.
7464 (ruby-mode): Use `electric-indent-functions' instead of
7465 `electric-indent-chars'.
7466
7467 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
7468
7469 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
7470 docstring.
7471 (ruby-smie-rules): Indent plus one level after `=>'.
7472
7473 2013-12-21 Richard Stallman <rms@gnu.org>
7474
7475 * simple.el (newline): Doc fix.
7476
7477 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7478
7479 * net/eww.el (eww-list-histories, eww-list-histories)
7480 (eww-history-browse, eww-history-quit, eww-history-kill)
7481 (eww-history-mode-map, eww-history-mode): New command and
7482 functions to list browser histories.
7483 (eww-form-text): Support text form with disabled
7484 and readonly attributes.
7485 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
7486
7487 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7488
7489 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
7490 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
7491 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
7492 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
7493 Use `user-error'.
7494 (eww-bookmark-mode-map): Add menu.
7495 (eww-render, eww-mode): Use `setq-local'.
7496 (eww-tool-bar-map): New variable.
7497 (eww-mode): Set `tool-bar-map'.
7498 (eww-view-source): Check for `html-mode' with `fboundp'.
7499
7500 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7501
7502 * net/shr.el (shr--extract-best-source): Don't bug out on audio
7503 elements with text inside. Also remove debugging.
7504
7505 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
7506
7507 * cus-start.el (all): Add ns-use-srgb-colorspace.
7508
7509 2013-12-21 Chong Yidong <cyd@gnu.org>
7510
7511 * custom.el (custom-theme-recalc-face): Do nothing if the face is
7512 undefined. Thus, theme settings for undefined faces do not take
7513 effect until the faces are defined with defface, the same as with
7514 theme variables.
7515
7516 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
7517 (face-spec-reset-face): Don't assign extra properties in temacs.
7518 (face-spec-recalc): Apply X resources too.
7519
7520 2013-12-21 Chong Yidong <cyd@gnu.org>
7521
7522 * faces.el (face-spec-set):
7523 * cus-face.el (custom-theme-set-faces, custom-set-faces):
7524 * custom.el (defface): Doc fixes (Bug#16203).
7525
7526 * indent.el (indent-rigidly-map): Add docstring, and move commands
7527 into named functions.
7528 (indent-rigidly-left, indent-rigidly-right)
7529 (indent-rigidly-left-to-tab-stop)
7530 (indent-rigidly-right-to-tab-stop): New functions. Decide on
7531 indentation direction based on bidi direction, and accumulate
7532 sequential commands in a single undo boundary.
7533 (indent-rigidly--pop-undo): New utility function.
7534
7535 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
7536
7537 * faces.el (read-face-name): Require crm.el when using crm-separator.
7538
7539 2013-12-20 Daniel Colascione <dancol@dancol.org>
7540
7541 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
7542 so that we don't reflow comments into the shebang line.
7543
7544 2013-12-20 Juri Linkov <juri@jurta.org>
7545
7546 * saveplace.el (save-place-to-alist): Add `dired-filename' as
7547 a position when `dired-directory' is non-nil. Check integer
7548 positions with `integerp'.
7549 (toggle-save-place, save-places-to-alist): Add check for
7550 `dired-directory'.
7551 (save-place-find-file-hook): Check integer positions with
7552 `integerp'.
7553 (save-place-dired-hook): Use `dired-goto-file' when
7554 `dired-filename' is found in the assoc list. Check integer
7555 positions with `integerp'.
7556 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
7557
7558 * dired.el (dired-initial-position-hook): Rename back from
7559 `dired-initial-point-hook'.
7560 (dired-initial-position): Rename `dired-initial-point-hook' to
7561 `dired-initial-position-hook'.
7562 (dired-file-name-at-point): Doc fix. (Bug#15329)
7563
7564 2013-12-20 Juri Linkov <juri@jurta.org>
7565
7566 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
7567 (read-regexp-suggestions): New function.
7568 (read-regexp): Use `read-regexp-defaults-function' to get default values.
7569 Use `read-regexp-suggestions'. Add non-empty default to history
7570 for empty input.
7571 (occur-read-regexp-defaults-function): Remove function.
7572 (occur-read-primary-args): Use `regexp-history-last' instead of
7573 `occur-read-regexp-defaults-function'.
7574
7575 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
7576 (hi-lock-line-face-buffer, hi-lock-face-buffer)
7577 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
7578 `hi-lock-read-regexp-defaults-function'. Doc fix.
7579 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
7580 with `find-tag-default-as-symbol-regexp'. Doc fix.
7581 (hi-lock-read-regexp-defaults): Remove function.
7582 (hi-lock-regexp-okay): Add check for null.
7583
7584 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
7585 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
7586
7587 * subr.el (find-tag-default-as-symbol-regexp): New function.
7588 (find-tag-default-as-regexp): Move symbol regexp formatting to
7589 `find-tag-default-as-symbol-regexp'.
7590
7591 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
7592
7593 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
7594 (Bug#14179)
7595
7596 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7597
7598 * calendar/todo-mode.el: New implementation of item insertion
7599 commands and key bindings.
7600 (todo-key-prompt): New face.
7601 (todo-insert-item): New command.
7602 (todo-insert-item--parameters): New defconst, replacing defvar
7603 todo-insertion-commands-args-genlist.
7604 (todo-insert-item--param-key-alist): New defconst, replacing
7605 defvar todo-insertion-commands-arg-key-list.
7606 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
7607 (todo-insert-item--argsleft, todo-insert-item--apply-args)
7608 (todo-insert-item--next-param): New functions.
7609 (todo-insert-item--args, todo-insert-item--argleft)
7610 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
7611 New variables.
7612 (todo-key-bindings-t): Change binding of "i" from
7613 todo-insertion-map to todo-insert-item.
7614 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
7615 (todo-insertion-command-name, todo-insertion-commands-names)
7616 (todo-define-insertion-command, todo-insertion-commands)
7617 (todo-insertion-key-bindings, todo-insertion-map): Remove.
7618
7619 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
7620
7621 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
7622 (todo-toggle-item-highlighting): Use eval-and-compile instead of
7623 eval-when-compile.
7624 (todo-move-category): Allow choosing a non-existing todo file to
7625 move the category to, and create that file.
7626 (todo-default-priority): New user option.
7627 (todo-set-item-priority): Use it.
7628 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
7629 (desktop-restore-file-buffer): Declare.
7630 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
7631 (todo-modes-set-2): Locally set desktop-save-buffer to
7632 todo-desktop-save-buffer.
7633 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
7634 (auto-mode-alist): Add autoload cookie.
7635
7636 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
7637
7638 * emacs-lisp/subr-x.el: Renamed from helpers.el.
7639 helpers.el was a poor choice of name.
7640 (string-remove-prefix): New function.
7641 (string-remove-suffix): New function.
7642
7643 2013-12-20 Martin Rudalics <rudalics@gmx.at>
7644
7645 Fix assignment for new window total sizes.
7646 * window.el (window--pixel-to-size): Remove function.
7647 (window--pixel-to-total-1, window--pixel-to-total):
7648 Fix calculation of new total sizes.
7649
7650 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
7651
7652 * comint.el (comint-output-filter): Fix rear-nonsticky property
7653 placement (Bug#16010).
7654
7655 2013-12-20 Chong Yidong <cyd@gnu.org>
7656
7657 * faces.el (read-color): Minor fix for completion function.
7658
7659 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
7660
7661 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
7662 New option. (Bug#16182)
7663 (ruby-smie--indent-to-stmt-p): Use it.
7664 (ruby-smie-rules): Revert the logic in the handling of `when'.
7665 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
7666 (ruby-deep-arglist, ruby-deep-indent-paren)
7667 (ruby-deep-indent-paren-style): Update docstrings to note that the
7668 vars don't have any effect with SMIE.
7669
7670 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
7671
7672 * calc/calc.el (calc-enter, calc-pop): Use the variable
7673 `calc-context-sensitive-enter'.
7674
7675 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7676
7677 * net/shr.el (shr-insert): Protect against infloops in degenerate
7678 tables.
7679
7680 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7681
7682 * progmodes/octave.el (octave): Add link to manual and octave
7683 homepage.
7684 (octave-mode-menu): Link to octave-mode manual.
7685
7686 2013-12-20 Leo Liu <sdl.web@gmail.com>
7687
7688 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
7689 insertion using skeleton-end-newline. (Bug#16138)
7690
7691 2013-12-20 Juri Linkov <juri@jurta.org>
7692
7693 * replace.el (occur-engine): Use `add-face-text-property'
7694 to add the face property to matches and titles. (Bug#14645)
7695
7696 * hi-lock.el (hi-green): Use lighter color "light green" closer to
7697 the palette of other hi-lock colors.
7698 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
7699
7700 2013-12-19 Juri Linkov <juri@jurta.org>
7701
7702 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
7703 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
7704 (minibuffer-history-symbol): Move variable declaration closer to
7705 its usage.
7706
7707 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
7708 (Bug#14785)
7709
7710 2013-12-19 Juri Linkov <juri@jurta.org>
7711
7712 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
7713 New function.
7714 (log-edit-hook): Add it to :options. (Bug#16170)
7715
7716 2013-12-19 Juri Linkov <juri@jurta.org>
7717
7718 * simple.el (eval-expression-print-format): Don't check for
7719 command names and the last command. Always display additional
7720 formats of the integer result in the echo area, and insert them
7721 to the current buffer only with a zero prefix arg.
7722 Display character when char-displayable-p is non-nil.
7723 (eval-expression): With a zero prefix arg, set `print-length' and
7724 `print-level' to nil, and insert the integer values from
7725 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
7726
7727 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
7728 `eval-last-sexp-arg-internal'. Doc fix.
7729 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
7730 `eval-last-sexp-print-value'. Doc fix.
7731 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
7732 Set `print-length' and `print-level' to nil when arg is zero.
7733 (eval-last-sexp): Doc fix.
7734 (eval-defun-2): Print the integer values from
7735 `eval-expression-print-format' at the end.
7736
7737 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
7738 values from `eval-expression-print-format' at the end.
7739
7740 * ielm.el (ielm-eval-input): Print the integer
7741 values from `eval-expression-print-format' at the end.
7742
7743 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
7744
7745 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
7746 2013-12-11T19:01:44Z!tzz@lifelogs.com.
7747
7748 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
7751 (hl-line-highlight, global-hl-line-highlight): Use it.
7752 (hl-line-overlay): Use defvar-local.
7753
7754 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
7755
7756 * term/ns-win.el: Require dnd.
7757 (global-map): Remove drag items.
7758 (ns-insert-text, ns-set-foreground-at-mouse)
7759 (ns-set-background-at-mouse):
7760 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
7761 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
7762 New functions.
7763
7764 2013-12-19 Glenn Morris <rgm@gnu.org>
7765
7766 * emacs-lisp/ert.el (ert-select-tests):
7767 Fix string/symbol mixup. (Bug#16121)
7768
7769 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7770
7771 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
7772 keywords to their parent.
7773
7774 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
7775
7776 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
7777 first arg to be a string (fixed dead code), or an operator symbol.
7778 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
7779 operator symbols.
7780 (ruby-smie-rules): Remove parent token check in the `.' clause, it
7781 did nothing. Don't respond to `(:after ".")', it will be called
7782 with :before anyway. Remove the ` @ ' rule, it didn't seem to
7783 change anything. Only return indentation for binary operators
7784 when they are hanging. De-dent opening paren when its parent is
7785 `.', otherwise it looks bad when the dot is not at bol or eol
7786 (bug#16182).
7787
7788 2013-12-19 Juri Linkov <juri@jurta.org>
7789
7790 * replace.el (query-replace-read-args): Split a non-negative arg
7791 and a negative arg into separate elements.
7792 (query-replace, query-replace-regexp, replace-string)
7793 (replace-regexp): Add arg `backward'. Doc fix.
7794 (replace-match-maybe-edit): When new arg `backward' is non-nil,
7795 move point to the beginning of the match.
7796 (replace-search, replace-highlight): Use new arg `backward'
7797 to set the value of `isearch-forward'.
7798 (perform-replace): Add arg `backward' and use it to perform
7799 replacement backward. (Bug#14979)
7800
7801 * isearch.el (isearch-query-replace): Use a negative prefix arg
7802 to call `perform-replace' with a non-nil arg `backward'.
7803
7804 2013-12-18 Juri Linkov <juri@jurta.org>
7805
7806 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
7807 to the default list. Move `log-edit-show-files' to the end.
7808 Add more available functions to options.
7809 (log-edit): Move default specific settings to
7810 `log-edit-insert-message-template'. Don't move point.
7811 (log-edit-insert-message-template): New function.
7812 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
7813 (Bug#16170)
7814
7815 2013-12-18 Juri Linkov <juri@jurta.org>
7816
7817 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
7818 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
7819
7820 2013-12-18 Leo Liu <sdl.web@gmail.com>
7821
7822 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
7823 (Bug#16186)
7824
7825 2013-12-18 Eli Zaretskii <eliz@gnu.org>
7826
7827 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
7828 formats for displaying file sizes when the -s switch is given.
7829 Instead, compute a separate format for displaying the size in
7830 blocks, which is displayed in addition to the "regular" size.
7831 When -h is given in addition to -s, produce size in blocks in
7832 human-readable form as well. (Bug#16179)
7833
7834 2013-12-18 Tassilo Horn <tsdh@gnu.org>
7835
7836 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7837 Reference tables with ~\ref{...} instead of only \ref{...}.
7838
7839 2013-12-18 Chong Yidong <cyd@gnu.org>
7840
7841 * cus-edit.el (custom-magic-alist): Fix "themed" description
7842 (Bug#14348).
7843
7844 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
7845 is non-nil, do not create a new entry in the symbol's theme-value
7846 or theme-face property; update theme-settings only (Bug#14664).
7847 (custom-available-themes): Doc fix.
7848
7849 * cus-theme.el (custom-new-theme-mode-map): Add bindings
7850 (Bug#15674).
7851
7852 * replace.el (occur-engine): Avoid infloop (Bug#7593).
7853
7854 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
7855
7856 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
7857 (Bug#13914).
7858
7859 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
7860
7861 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
7862
7863 2013-12-18 Glenn Morris <rgm@gnu.org>
7864
7865 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
7866 * cus-start.el (load-prefer-newer): New option.
7867
7868 2013-12-18 Le Wang <l26wang@gmail.com>
7869
7870 * comint.el (comint-previous-matching-input-from-input):
7871 Retain point (Bug#13404).
7872
7873 2013-12-18 Chong Yidong <cyd@gnu.org>
7874
7875 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
7876
7877 2013-12-18 Glenn Morris <rgm@gnu.org>
7878
7879 * mail/emacsbug.el (report-emacs-bug):
7880 Only mention enable-multibyte-characters if non-standard.
7881
7882 2013-12-17 Juri Linkov <juri@jurta.org>
7883
7884 * arc-mode.el (archive-extract-by-file): Check if directory exists
7885 before deletion to not show irrelevant errors if it doesn't exist.
7886
7887 2013-12-17 Juri Linkov <juri@jurta.org>
7888
7889 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
7890 (Bug#14751)
7891
7892 * net/eww.el (browse-web): Add alias to `eww'.
7893 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
7894 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
7895
7896 * net/browse-url.el (browse-url-browser-function): Move `eww'
7897 closer to similar functions.
7898
7899 * startup.el (fancy-startup-screen, fancy-about-screen):
7900 Set browse-url-browser-function to eww-browse-url locally.
7901 (Bug#14751)
7902
7903 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * window.el (window--pixel-to-total): Remove unused `mini' var.
7906 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
7907 (split-window): Remove unused `new' var.
7908 (window--display-buffer): Remove unused `frame' and `delta' vars.
7909 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
7910 and display-width'.
7911
7912 2013-12-17 Martin Rudalics <rudalics@gmx.at>
7913
7914 * dired.el (dired-mark-pop-up):
7915 * register.el (register-preview): Don't bind
7916 split-height-threshold here since it's now done in
7917 display-buffer-below-selected.
7918
7919 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
7920
7921 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
7922 xterm-rgb-convert-to-16bit.
7923 (rxvt-register-default-colors): Standardize with
7924 xterm-register-default-colors (Bug#14078).
7925
7926 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
7927
7928 * simple.el (kill-region): Pass mark first, then point, so that
7929 kill-append works right (Bug#12819).
7930 (copy-region-as-kill, kill-ring-save): Likewise.
7931
7932 2013-12-17 Leo Liu <sdl.web@gmail.com>
7933
7934 * net/rcirc.el (rcirc-add-face):
7935 * eshell/em-prompt.el (eshell-emit-prompt):
7936 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
7937 (Bug#16167)
7938
7939 2013-12-17 Chong Yidong <cyd@gnu.org>
7940
7941 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
7942 Suggested by Xue Fuqiao.
7943
7944 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7945
7946 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
7947
7948 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * net/shr.el (shr-insert-document): Remove unused var
7951 `shr-preliminary-table-render'.
7952 (shr-rescale-image): Remove unused arg `force'.
7953 (shr-put-image): Update calls accordingly.
7954 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
7955
7956 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
7957
7958 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
7959 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
7960 :close-all, to see which indentation method to use (Bug#16116).
7961 (smie-rules-function): Document the method :close-all.
7962
7963 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7964
7965 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
7966
7967 * net/eww.el (eww-display-html): If we can't find the anchor we're
7968 looking for, then go to point-min.
7969
7970 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
7971
7972 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
7973 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
7974 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
7975 Expand dir too, in case it's relative.
7976
7977 2013-12-16 Juri Linkov <juri@jurta.org>
7978
7979 * desktop.el (desktop-auto-save-timeout): Change default to
7980 `auto-save-timeout'. Doc fix.
7981 (desktop-save): Skip the timestamp in desktop-saved-frameset
7982 when checking for auto-save changes.
7983 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
7984 `desktop-auto-save' is called repeatedly by the idle timer.
7985 (desktop-auto-save-set-timer): Replace `run-with-timer' with
7986 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
7987 (Bug#15331)
7988
7989 2013-12-16 Juri Linkov <juri@jurta.org>
7990
7991 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
7992 (Bug#16035)
7993 (isearch-pre-command-hook): Check `this-command' for symbolp.
7994
7995 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
7998
7999 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
8000
8001 * progmodes/cfengine.el (cfengine3--current-word): Remove.
8002 (cfengine3--current-function): Bring in the current-function
8003 functionality from `cfengine3--current-word'.
8004 (cfengine3-completion-function): Bring in the
8005 bounds-of-current-word functionality from
8006 `cfengine3--current-word'.
8007
8008 2013-12-16 Martin Rudalics <rudalics@gmx.at>
8009
8010 * window.el (display-buffer-below-selected):
8011 Bind split-height-threshold to 0 as suggested by Juri Linkov.
8012
8013 2013-12-16 Leo Liu <sdl.web@gmail.com>
8014
8015 * progmodes/compile.el (compile-goto-error): Do not push-mark.
8016 Remove NOMSG arg and all uses changed.
8017
8018 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
8021 (cua--deactivate-rectangle): Don't deactivate the mark.
8022 (cua-set-rectangle-mark): Don't set mark-active since
8023 cua--activate-rectangle already does it for us.
8024 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
8025 non-rectangular region.
8026
8027 * emulation/cua-base.el (cua-repeat-replace-region):
8028 Use with-current-buffer.
8029
8030 * net/gnutls.el: Use cl-lib.
8031 (gnutls-negotiate): `mapcan' -> cl-mapcan.
8032
8033 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8034
8035 * emacs-lisp/package.el (package-built-in-p): Support both
8036 built-in and the package.el converted package descriptions.
8037 (package-show-package-list): Allow keywords.
8038 (package-keyword-button-action): Use it instead of
8039 `finder-list-matches'.
8040 (package-menu-filter-interactive): Interactive filtering (by
8041 keyword) function.
8042 (package-menu--generate): Support keywords and change keymappings
8043 and headers when they are given.
8044 (package--has-keyword-p): Helper function.
8045 (package-menu--refresh): Use it.
8046 (package--mapc): Helper function.
8047 (package-all-keywords): Use it.
8048 (package-menu-mode-map): Set up menu items and keybindings to
8049 provide a filtering UI.
8050
8051 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
8052
8053 * net/gnutls.el (gnutls-verify-error): New defcustom to control
8054 the behavior when a certificate fails validation. Defaults to
8055 old behavior: never abort, just warn.
8056 (gnutls-negotiate): Use it.
8057
8058 2013-12-14 Martin Rudalics <rudalics@gmx.at>
8059
8060 * window.el (display-buffer-below-selected): Never split window
8061 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
8062
8063 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
8064
8065 * emacs-lisp/package.el (package--prepare-dependencies): New function.
8066 (package-buffer-info): Use it (bug#15108).
8067
8068 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * icomplete.el (icomplete-completions): Make sure the prefix is already
8071 displayed elsewhere before hiding it (bug#16219).
8072
8073 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
8074
8075 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
8076 open-paren tokens when preceded by a open-paren, too.
8077 (ruby-smie-rules): Handle virtual indentation after open-paren
8078 tokens specially. If there is code between it and eol, return the
8079 column where is starts (Bug#16118).
8080
8081 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8082
8083 * progmodes/cfengine.el: Fix `add-hook' doc.
8084 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
8085 (cfengine3--current-word): Fix parameters.
8086 (cfengine3-make-syntax-cache): Simplify further.
8087 (cfengine3-completion-function, cfengine3--current-function):
8088 Use `assq' for symbols.
8089 (cfengine3--current-function): Fix `cfengine3--current-word' call.
8090
8091 2013-12-13 Glenn Morris <rgm@gnu.org>
8092
8093 * loadup.el (load-path): Warn if site-load or site-init changes it.
8094 No more need to reset it when bootstrapping.
8095
8096 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
8097
8098 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
8099 locations for cf-promises.
8100 (cfengine-mode-syntax-functions-regex): New caching variable.
8101 (cfengine3-fallback-syntax): Fallback syntax for cases where
8102 cf-promises doesn't run.
8103 (cfengine3--current-word): Reimplement using
8104 `cfengine-mode-syntax-functions-regex'.
8105 (cfengine3-completion-function, cfengine3--current-function):
8106 Use `cfengine3-make-syntax-cache' directly.
8107 (cfengine3-clear-syntax-cache): New function.
8108 (cfengine3-make-syntax-cache): Simplify and create
8109 `cfengine-mode-syntax-functions-regex' on demand.
8110 (cfengine3-format-function-docstring): Don't call
8111 `cfengine3-make-syntax-cache' explicitly.
8112
8113 2013-12-13 Martin Rudalics <rudalics@gmx.at>
8114
8115 Fix windmove-find-other-window broken after pixelwise resizing
8116 (Bug#16017).
8117 * windmove.el (windmove-other-window-loc): Revert change from
8118 2013-12-04.
8119 (windmove-find-other-window): Call window-in-direction.
8120 * window.el (window-in-direction): New arguments SIGN, WRAP and
8121 MINI to emulate original windmove-find-other-window behavior.
8122
8123 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
8124
8125 * simple.el (blink-matching--overlay): New variable.
8126 (blink-matching-open): Instead of moving point, highlight the
8127 matching paren with an overlay
8128 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
8129
8130 * faces.el (paren-showing-faces, show-paren-match)
8131 (show-paren-mismatch): Move from paren.el.
8132
8133 2013-12-13 Leo Liu <sdl.web@gmail.com>
8134
8135 * indent.el (indent-region): Disable progress reporter in
8136 minibuffer. (Bug#16108)
8137
8138 * bindings.el (visual-order-cursor-movement): Fix version.
8139
8140 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8141
8142 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
8143 Also match after beginning of line.
8144 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
8145 files. Thanks to Russell Sim. (Bug#15378)
8146
8147 2013-12-13 Juri Linkov <juri@jurta.org>
8148
8149 * simple.el <Keypad support>: Remove key bindings duplicated
8150 with bindings.el. (Bug#14397)
8151
8152 2013-12-13 Juri Linkov <juri@jurta.org>
8153
8154 * comint.el (comint-mode-map): Replace `delete-char' with
8155 `delete-forward-char'. (Bug#16109)
8156
8157 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8158
8159 * progmodes/python.el (python-indent-calculate-indentation):
8160 Fix de-denters cornercase. (Bug#15731)
8161
8162 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
8165 (advice--make): Pay attention to `depth'.
8166 (advice--make-1): Don't autoload commands eagerly.
8167 * emacs-lisp/elp.el (elp-instrument-function):
8168 * emacs-lisp/trace.el (trace-function-internal):
8169 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
8170
8171 * iswitchb.el (iswitchb-mode): Don't belittle ido.
8172
8173 2013-12-12 Eli Zaretskii <eliz@gnu.org>
8174
8175 * term/w32-win.el (w32-handle-dropped-file):
8176 * startup.el (normal-top-level):
8177 * net/browse-url.el (browse-url-file-url):
8178 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
8179 decode file names using 'utf-8' rather than
8180 file-name-coding-system.
8181
8182 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8183
8184 * progmodes/python.el (python-indent-context)
8185 (python-indent-calculate-indentation): Fix auto-identation
8186 behavior for comment blocks. (Bug#15916)
8187
8188 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8189
8190 * progmodes/python.el (python-indent-calculate-indentation):
8191 When determining indentation, don't treat "return", "pass", etc., as
8192 operators when they are just string constituents. (Bug#15812)
8193
8194 2013-12-12 Juri Linkov <juri@jurta.org>
8195
8196 * uniquify.el (uniquify-buffer-name-style): Change default to
8197 `post-forward-angle-brackets'.
8198
8199 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
8200 `uniquify'. Change default to `post-forward-angle-brackets'.
8201
8202 2013-12-11 Glenn Morris <rgm@gnu.org>
8203
8204 * emacs-lisp/package.el (finder-list-matches):
8205 Autoload rather than falsely declaring.
8206
8207 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
8208
8209 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
8210 (eww-mode-map): Use them.
8211
8212 2013-12-11 Martin Rudalics <rudalics@gmx.at>
8213
8214 * window.el (display-buffer-in-side-window): Fix doc-string
8215 (Bug#16115).
8216
8217 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
8218
8219 * vc/vc-git.el: Silence byte-compiler warnings.
8220 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
8221 (log-edit-set-header): Declare.
8222
8223 2013-12-11 Eli Zaretskii <eliz@gnu.org>
8224
8225 * Makefile.in (custom-deps, finder-data): Run output file names
8226 through unmsys--file-name. (Bug#16099)
8227
8228 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
8231 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
8232
8233 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
8234 instead of deleting the selection "by hand" (bug#16098).
8235 Rely on insert-for-yank to yank rectangles.
8236 (cua-highlight-region-shift-only): Mark obsolete.
8237 (cua-mode): Don't enable/disable transient-mark-mode,
8238 shift-select-mode (cua-mode works both with and without them), and
8239 pc-selection-mode (obsolete).
8240 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
8241 (cua--deactivate-rectangle): Deactivate it.
8242
8243 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
8244 (delete-selection-helper): Make sure yank starts at the top of the
8245 deleted region.
8246 (minibuffer-keyboard-quit): Use region-active-p.
8247
8248 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
8249
8250 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
8251 to `delete' (bug#16109).
8252
8253 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8254
8255 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
8256 info manual and show keybindings and set `:group' keyword.
8257
8258 2013-12-11 Juri Linkov <juri@jurta.org>
8259
8260 * delsel.el (delete-active-region): Let-bind `this-command'
8261 to prevent `kill-region' from changing its original value.
8262 (delete-selection-helper): Handle `overwrite-mode' for the type
8263 `kill' exactly the same way as for the type `t'.
8264 (insert-char, quoted-insert, reindent-then-newline-and-indent):
8265 Support more commands. (Bug#13312)
8266
8267 2013-12-11 Juri Linkov <juri@jurta.org>
8268
8269 * bindings.el: Map kp keys to non-kp keys systematically
8270 with basic modifiers control, meta and shift. (Bug#14397)
8271
8272 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8273
8274 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
8275 "Close browser" menu items. Fix wrong function of "List
8276 bookmarks".
8277
8278 2013-12-11 Juri Linkov <juri@jurta.org>
8279
8280 * misearch.el (multi-isearch-buffers): Set the value of
8281 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8282 arg of isearch-forward to t.
8283 (multi-isearch-buffers-regexp): Set the value of
8284 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
8285 arg of isearch-forward-regexp to t.
8286 (multi-isearch-files): Set the value of
8287 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8288 arg of isearch-forward to t.
8289 (multi-isearch-files-regexp): Set the value of
8290 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
8291 arg of isearch-forward-regexp to t. (Bug#16035)
8292
8293 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
8294 arg of isearch-forward to t.
8295 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
8296 arg of isearch-forward-regexp to t.
8297 (dired-isearch-filter-filenames): Remove unnecessary check for
8298 `dired-isearch-filenames'.
8299
8300 * comint.el (comint-history-isearch-backward):
8301 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
8302 (comint-history-isearch-backward-regexp):
8303 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
8304
8305 2013-12-10 Eli Zaretskii <eliz@gnu.org>
8306
8307 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
8308 unmsys--file-name. (Bug#16099)
8309
8310 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
8311
8312 * emacs-lisp/package.el (package-keyword-button-action):
8313 Remove finder.el require dependency.
8314
8315 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
8316
8317 * emacs-lisp/package.el: Require finder.el.
8318 (describe-package-1): Add keyword buttons.
8319 (package-make-button): New convenience function.
8320 (package-keyword-button-action): Keyword button action using
8321 `finder-list-matches'.
8322
8323 2013-12-09 Eli Zaretskii <eliz@gnu.org>
8324
8325 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
8326 last commit.
8327
8328 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
8329
8330 * autorevert.el (auto-revert-notify-add-watch): Do not handle
8331 symlinked files.
8332
8333 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8334
8335 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
8336 after the end of a percent literal.
8337
8338 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
8339
8340 * progmodes/ruby-mode.el (ruby-forward-string): Document.
8341 Handle caret-delimited strings (Bug#16079).
8342
8343 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
8344
8345 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
8346 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
8347 `ruby-parse-partial' (Bug#16078).
8348
8349 2013-12-09 Leo Liu <sdl.web@gmail.com>
8350
8351 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
8352
8353 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
8354
8355 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
8356 (js-switch-indent-offset): New option.
8357 (js--proper-indentation): Use it. And handle the case when
8358 "default" is actually a key in an object literal.
8359 (js--same-line): New function.
8360 (js--multi-line-declaration-indentation): Use it.
8361 (js--indent-in-array-comp, js--array-comp-indentation):
8362 New functions.
8363 (js--proper-indentation): Use them, to handle array comprehension
8364 continuations.
8365
8366 2013-12-08 Leo Liu <sdl.web@gmail.com>
8367
8368 * progmodes/flymake.el (flymake-highlight-line): Re-write.
8369 (flymake-make-overlay): Remove arg MOUSE-FACE.
8370 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
8371
8372 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
8375 New function.
8376 (redisplay-highlight-region-function): Use it.
8377
8378 * emulation/cua-base.el (cua--explicit-region-start)
8379 (cua--last-region-shifted): Remove.
8380 (cua--deactivate): Use deactivate-mark.
8381 (cua--pre-command-handler-1): Don't handle shift-selection.
8382 (cua--post-command-handler-1): Don't change transient-mark-mode.
8383 (cua--select-keymaps): Use region-active-p rather than
8384 cua--explicit-region-start or cua--last-region-shifted.
8385 (cua-mode): Enable shift-select-mode.
8386
8387 2013-12-08 Leo Liu <sdl.web@gmail.com>
8388
8389 * progmodes/flymake.el (flymake-popup-current-error-menu):
8390 Rename from flymake-display-err-menu-for-current-line. Reimplement.
8391 (flymake-posn-at-point-as-event, flymake-popup-menu)
8392 (flymake-make-emacs-menu): Remove. (Bug#16077)
8393
8394 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * rect.el (rectangle-mark-mode): Activate mark even if
8397 transient-mark-mode is off (bug#16066).
8398 (rectangle--highlight-for-redisplay): Fix boundary condition when point
8399 is > mark and at bolp.
8400
8401 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
8402 (region-extract-function): Use it.
8403 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
8404 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
8405 Delete functions.
8406 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
8407 kill-ring-save, kill-region, delete-char, delete-forward-char.
8408 Ignore self-insert-iso.
8409
8410 * emulation/cua-gmrk.el (cua--init-global-mark):
8411 Ignore `self-insert-iso'.
8412
8413 * emulation/cua-base.el (cua--prefix-copy-handler)
8414 (cua--prefix-cut-handler): Rely on region-extract-function rather than
8415 checking cua--rectangle.
8416 (cua-delete-region): Use region-extract-function.
8417 (cua-replace-region): Delete function.
8418 (cua-copy-region, cua-cut-region): Obey region-extract-function.
8419 (cua--pre-command-handler-1): Don't do the delete-selection thing.
8420 (cua--self-insert-char-p): Ignore `self-insert-iso'.
8421 (cua--init-keymaps): Don't remap delete-selection commands.
8422 (cua-mode): Use delete-selection-mode instead of rolling our own
8423 (bug#16085).
8424
8425 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
8426 Obey region-extract-function.
8427
8428 Make registers and delete-selection-mode work on rectangles.
8429 * register.el (describe-register-1): Don't modify the register's value.
8430 (copy-to-register): Obey region-extract-function.
8431 * delsel.el (delete-active-region): Obey region-extract-function.
8432
8433 2013-12-08 Leo Liu <sdl.web@gmail.com>
8434
8435 * progmodes/flymake.el (flymake, flymake-error-bitmap)
8436 (flymake-warning-bitmap, flymake-fringe-indicator-position)
8437 (flymake-compilation-prevents-syntax-check)
8438 (flymake-start-syntax-check-on-newline)
8439 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
8440 (flymake-start-syntax-check-on-find-file, flymake-log-level)
8441 (flymake-xml-program, flymake-master-file-dirs)
8442 (flymake-master-file-count-limit)
8443 (flymake-allowed-file-name-masks): Relocate.
8444 (flymake-makehash, flymake-float-time)
8445 (flymake-replace-regexp-in-string, flymake-split-string)
8446 (flymake-get-temp-dir): Remove.
8447 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
8448 (flymake-current-row, flymake-selected-frame)
8449 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
8450 related functions. (Bug#16077)
8451
8452 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
8453
8454 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
8455
8456 2013-12-07 Tassilo Horn <tsdh@gnu.org>
8457
8458 * help-fns.el (describe-function-1): Use new advice-* functions
8459 rather than old ad-* functions. Fix function type description and
8460 source links for advised functions and subrs.
8461
8462 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8463
8464 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
8465
8466 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
8467
8468 * progmodes/compile.el (compilation-start):
8469 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
8470
8471 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8472 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
8473
8474 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8475
8476 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8477 Touch up the last change.
8478
8479 2013-12-06 Leo Liu <sdl.web@gmail.com>
8480
8481 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
8482 (inferior-octave-startup): Always use "octave> " for prompt.
8483 (octave-goto-function-definition)
8484 (octave-sync-function-file-names)
8485 (octave-find-definition-default-filename): Remove redundant backquotes.
8486
8487 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8488
8489 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
8490 syntax for `?'.
8491 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
8492 where appropriate already.
8493 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
8494 end of method names (Bug#15874).
8495
8496 2013-12-06 Juri Linkov <juri@jurta.org>
8497
8498 * isearch.el (isearch--saved-overriding-local-map):
8499 New internal variable.
8500 (isearch-mode): Set it to the initial value of
8501 `overriding-terminal-local-map'.
8502 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
8503 with `isearch--saved-overriding-local-map'. (Bug#16035)
8504
8505 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
8506
8507 * progmodes/octave.el (inferior-octave-completion-table):
8508 Turn back into function, use `completion-table-with-cache'
8509 (Bug#11906). Update all references.
8510
8511 * minibuffer.el (completion-table-with-cache): New function.
8512
8513 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
8514
8515 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
8516
8517 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
8518
8519 * net/eww.el (eww-current-source): New variable to store page
8520 source.
8521 (eww-display-html, eww-mode, eww-save-history)
8522 (eww-restore-history): Use it.
8523 (eww-view-source): New command to view page source.
8524 Opportunistically uses `html-mode' to highlight the buffer.
8525 (eww-mode-map): Install it.
8526
8527 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
8528
8529 * net/dbus.el (dbus-unregister-service)
8530 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
8531 Fix docstring.
8532 (dbus-unregister-service): Skip :serial entries in
8533 `dbus-registered-objects-table'.
8534 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
8535
8536 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
8537
8538 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
8539 around keywords with extra `split-string' argument.
8540
8541 2013-12-04 Martin Rudalics <rudalics@gmx.at>
8542
8543 * windmove.el (windmove-other-window-loc): Handle navigation
8544 between windows (excluding the minibuffer window - Bug#16017).
8545
8546 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
8547
8548 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
8549 in D-Bus type syntax.
8550 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
8551 preserve unibyte strings. (Bug#16048)
8552
8553 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
8556 Call force-mode-line-update is the proper buffer (bug#16042).
8557
8558 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
8559
8560 * vc/log-edit.el (log-edit-add-new-comment): Rename to
8561 `log-edit-remember-comment', make argument optional. Adjust all
8562 callers.
8563 (log-edit-mode): Add `log-edit-remember-comment' to
8564 `kill-buffer-hook' locally.
8565 (log-edit-kill-buffer): Don't remember comment explicitly since
8566 the buffer is killed anyway.
8567
8568 2013-12-04 Juri Linkov <juri@jurta.org>
8569
8570 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
8571 add-hook and remove-hook for multi-buffer search. (Bug#16035)
8572
8573 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
8574
8575 * notifications.el (notifications-close-notification): Call the
8576 D-Bus method with ID being a `:uint32'. (Bug#16030)
8577
8578 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
8579
8580 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
8581
8582 2013-12-03 Juri Linkov <juri@jurta.org>
8583
8584 * progmodes/compile.el (compilation-start): Rename window alist
8585 entry `no-display-ok' to `allow-no-window'.
8586
8587 * simple.el (shell-command): Add window alist entry
8588 `allow-no-window' to `display-buffer'.
8589 (async-shell-command): Doc fix.
8590
8591 * window.el (display-buffer-no-window): New action function.
8592 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
8593
8594 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8595
8596 * vc/log-edit.el (log-edit-set-header): Extract from
8597 `log-edit-toggle-header'.
8598 (log-edit-extract-headers): Separate the summary, when extracted
8599 from header, from the rest of the message with an empty line.
8600
8601 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
8602 line, if present, to the Summary header.
8603
8604 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
8607 in current-buffer (bug#16029).
8608
8609 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
8610
8611 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
8612 (debugger-mode-map): Bind it.
8613 (debugger--backtrace-base): New function.
8614 (debugger-eval-expression): Use it.
8615 (debugger-frame-number): Skip local vars when present.
8616 (debugger--locals-visible-p, debugger--insert-locals)
8617 (debugger--show-locals, debugger--hide-locals): New functions.
8618
8619 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
8620
8621 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
8622 "LC_ALL".
8623 (tramp-get-remote-locale): New defun.
8624 (tramp-open-connection-setup-interactive-shell): Use it.
8625
8626 2013-12-02 Leo Liu <sdl.web@gmail.com>
8627
8628 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
8629
8630 * progmodes/sh-script.el (sh-shell-process):
8631 * progmodes/octave.el (inferior-octave-process-live-p):
8632 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
8633 (gdb-inferior-io-sentinel):
8634 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
8635
8636 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8637
8638 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
8639 `save-selected-window' to `log-edit-hide-buf'. This makes
8640 `log-edit-show-files' idempotent.
8641 (log-edit-show-files): Mark the new window as dedicated.
8642
8643 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
8644
8645 * vc/log-edit.el (log-edit-mode-map): Add binding for
8646 `log-edit-kill-biffer'.
8647 (log-edit-hide-buf): Add a FIXME comment.
8648 (log-edit-add-new-comment): New function, extracted from
8649 `log-edit-done'.
8650 (log-edit-done, log-edit-add-to-changelog): Use it.
8651 (log-edit-kill-buffer): New command.
8652
8653 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8654
8655 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
8656 instead of killing the buffer.
8657
8658 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8659
8660 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
8661
8662 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8663
8664 * net/eww.el (eww-form-checkbox-selected-symbol)
8665 (eww-form-checkbox-symbol): New customizable variable.
8666 (eww-form-checkbox, eww-toggle-checkbox):
8667 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
8668
8669 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
8670 (shr--get-media-pref, shr--extract-best-source): New function.
8671 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
8672 no :src tag was specified.
8673
8674 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
8675 (eww-render): Handle `eww-use-external-browser-for-content-type'.
8676 Use \\` to match beginning of string instead of ^.
8677 (eww-browse-with-external-browser): Provide optional URL parameter.
8678 (eww-render): Set `eww-current-title' back to "".
8679
8680 * net/shr.el (shr-tag-video): Display content for video if no
8681 poster is available.
8682 (shr-tag-audio): Add support for <audio> tag.
8683
8684 * net/eww.el (eww-text-input-types): New const.
8685 (eww-process-text-input): Treat input types in
8686 `eww-text-input-types' as text.
8687
8688 * net/shr.el (shr-tag-table): Fix comment typo.
8689
8690 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8691
8692 * net/eww.el (eww-follow-link): New command to avoid reloading
8693 pages when we follow #target links (bug#15243).
8694 (eww-quit): Special mode buffers shouldn't query before exiting.
8695
8696 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
8697
8698 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
8699 forms.
8700
8701 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8702
8703 * net/eww.el (eww-restore-history): Update the window title after
8704 moving in the history.
8705 (eww-current-dom): New variable used to save the current DOM.
8706
8707 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
8708
8709 * vc/log-edit.el (log-edit-mode-map): Add binding for
8710 `log-edit-beginning-of-line'.
8711 (log-edit-setup-add-author): New user option.
8712 (log-edit-beginning-of-line): New command.
8713 (log-edit): Move major mode call above the contents setup so that
8714 the local variable values are already applied.
8715 (log-edit): Only insert "Author: " when
8716 `log-edit-setup-add-author' is non-nil.
8717 (log-edit): When SETUP is non-nil, position point after ": "
8718 instead of point-min.
8719
8720 2013-12-01 Glenn Morris <rgm@gnu.org>
8721
8722 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
8723
8724 2013-11-30 Eli Zaretskii <eliz@gnu.org>
8725
8726 * startup.el (fancy-splash-frame): On MS-Windows, trigger
8727 redisplay to make sure the initial frame gets a chance to become
8728 visible. (Bug#16014)
8729
8730 2013-11-30 Martin Rudalics <rudalics@gmx.at>
8731
8732 Support resizing frames and windows pixelwise.
8733 * cus-start.el (frame-resize-pixelwise)
8734 (window-resize-pixelwise): New entries.
8735 * emacs-lisp/debug.el (debug): Use window-total-height instead
8736 of window-total-size.
8737 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
8738 * help.el (describe-bindings-internal): Use help-buffer as
8739 argument for with-help-window.
8740 (temp-buffer-max-width): New option.
8741 (resize-temp-buffer-window, help-window-setup)
8742 (with-help-window): Rewrite.
8743 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
8744 dragging dividers.
8745 * window.el (frame-char-size, window-min-pixel-height)
8746 (window-safe-min-pixel-height, window-safe-min-pixel-width)
8747 (window-min-pixel-width, window-safe-min-pixel-size)
8748 (window-combination-p, window-safe-min-size)
8749 (window-resizable-p, window--size-to-pixel)
8750 (window--pixel-to-size, window--resize-apply-p): New functions.
8751 (window-safe-min-height): Fix doc-string.
8752 (window-size, window-min-size, window--min-size-1)
8753 (window-sizable, window-sizable-p, window--min-delta-1)
8754 (window-min-delta, window--max-delta-1, window-max-delta)
8755 (window--resizable, window--resizable-p, window-resizable)
8756 (window-full-height-p, window-full-width-p, window-at-side-p)
8757 (window--in-direction-2, window-in-direction)
8758 (window--resize-reset-1, window--resize-mini-window)
8759 (window-resize, window-resize-no-error)
8760 (window--resize-child-windows-normal)
8761 (window--resize-child-windows, window--resize-siblings)
8762 (window--resize-this-window, window--resize-root-window)
8763 (window--resize-root-window-vertically)
8764 (adjust-window-trailing-edge, enlarge-window, shrink-window)
8765 (maximize-window, minimize-window, delete-window)
8766 (quit-restore-window, window-split-min-size, split-window)
8767 (balance-windows-2, balance-windows)
8768 (balance-windows-area-adjust, balance-windows-area)
8769 (window--state-get-1, window-state-get, window--state-put-1)
8770 (window--state-put-2, window-state-put)
8771 (display-buffer-record-window, window--display-buffer):
8772 Make functions handle pixelwise sizing of windows.
8773 (display-buffer--action-function-custom-type)
8774 (display-buffer-fallback-action):
8775 Add display-buffer-in-previous-window.
8776 (display-buffer-use-some-window): Resize window to height it had
8777 before.
8778 (fit-window-to-buffer-horizontally): New option.
8779 (fit-frame-to-buffer): Describe new values.
8780 (fit-frame-to-buffer-bottom-margin): Replace with
8781 fit-frame-to-buffer-margins.
8782 (window--sanitize-margin): New function.
8783 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
8784 using window-text-pixel-size.
8785
8786 2013-11-30 Glenn Morris <rgm@gnu.org>
8787
8788 * emacs-lisp/bytecomp.el (byte-compile-form):
8789 Make the `interactive-only' warning like the `obsolete' one.
8790 * comint.el (comint-run):
8791 * files.el (insert-file-literally, insert-file):
8792 * replace.el (replace-string, replace-regexp):
8793 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
8794 (goto-line, insert-buffer, next-line, previous-line):
8795 Tweak `interactive-only' spec.
8796
8797 Stop keeping (most) generated cedet grammar files in the repository.
8798 * Makefile.in (semantic): New.
8799 (compile-main): Depend on semantic.
8800
8801 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
8804 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
8805
8806 * uniquify.el (uniquify-buffer-name-style): Change default.
8807
8808 * loadup.el: Preload "uniquify".
8809
8810 * time.el (display-time-update): Update all mode lines (bug#15999).
8811
8812 * electric.el (electric-indent-mode): Enable by default.
8813 * loadup.el: Preload "electric".
8814
8815 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
8816
8817 * emacs-lisp/helpers.el (string-empty-p): New function.
8818 (string-blank-p): New function.
8819
8820 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
8821
8822 * imenu.el (imenu--index-alist): Add missing dot to the docstring
8823 (Bug#14029).
8824
8825 2013-11-29 Andreas Politz <politza@fh-trier.de>
8826 * imenu.el (imenu--subalist-p): Don't error on non-conses and
8827 allow non-lambda lists as functions.
8828 (imenu--in-alist): Don't recurse into non-subalists.
8829 (imenu): Don't pass function itself as an argument (Bug#14029).
8830
8831 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8832
8833 * progmodes/python.el (python-mode-map): Remove binding for ":".
8834 (python-indent-electric-colon): Remove command.
8835 (python-indent-post-self-insert-function): Integrate the previous code
8836 of python-indent-electric-colon. Make it conditional on
8837 electric-indent-mode.
8838 (python-mode): Add ?: to electric-indent-chars.
8839 Move python-indent-post-self-insert-function to the end of
8840 post-self-insert-hook.
8841
8842 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * doc-view.el (doc-view-goto-page): Update mode-line.
8845
8846 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
8847
8848 2013-11-27 Glenn Morris <rgm@gnu.org>
8849
8850 * international/charprop.el, international/uni-bidi.el:
8851 * international/uni-category.el, international/uni-combining.el:
8852 * international/uni-comment.el, international/uni-decimal.el:
8853 * international/uni-decomposition.el, international/uni-digit.el:
8854 * international/uni-lowercase.el, international/uni-mirrored.el:
8855 * international/uni-name.el, international/uni-numeric.el:
8856 * international/uni-old-name.el, international/uni-titlecase.el:
8857 * international/uni-uppercase.el:
8858 Remove generated files from VCS repository.
8859
8860 2013-11-27 Eli Zaretskii <eliz@gnu.org>
8861
8862 * filenotify.el (file-notify-add-watch): Don't special-case
8863 w32notify when computing the directory to watch.
8864
8865 2013-11-27 Glenn Morris <rgm@gnu.org>
8866
8867 Make bootstrap without generated uni-*.el files possible again.
8868 * loadup.el: Update command-line-args checking for unidata-gen.
8869 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
8870 * composite.el, international/characters.el:
8871 Handle unicode tables being undefined.
8872
8873 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
8874 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
8875 (compile-main): Depend on leim rule.
8876 (leim): New rule.
8877 * loadup.el: Move leim-list.el to leim/ subdirectory.
8878 * startup.el (normal-top-level): No more leim directory.
8879 * international/ja-dic-cnv.el (skkdic-convert):
8880 Disable version-control and autoloads in output files.
8881 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
8882 Disable version-control and autoloads in output files.
8883 * leim/quail: Move here from ../leim.
8884 * leim/quail/hangul.el (hangul-input-method-activate):
8885 Add autoload cookie.
8886 (generated-autoload-load-name): Set file-local value.
8887 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
8888 (generated-autoload-load-name): Set file-local value.
8889
8890 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
8891
8892 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
8893 (eww-add-bookmark): Ask confirmation when add to bookmarks.
8894 (eww-quit): Ask confirmation before quitting eww.
8895
8896 2013-11-26 Eli Zaretskii <eliz@gnu.org>
8897
8898 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
8899 reading output from Diff on MS-Windows and MS-DOS.
8900
8901 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
8902
8903 * emacs-lisp/helpers.el (string-reverse): New function.
8904
8905 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
8908 names on MS Windows, like "/[::1]:".
8909
8910 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
8911 SWITCHES.
8912
8913 2013-11-26 Glenn Morris <rgm@gnu.org>
8914
8915 * progmodes/python.el (python-indent-guess-indent-offset):
8916 Avoid corner-case error. (Bug#15975)
8917
8918 Preload leim-list.el. (Bug#4789)
8919 * loadup.el: Load leim-list.el when found.
8920 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
8921
8922 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
8923
8924 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
8925
8926 * emacs-lisp/helpers.el (string-join): New function.
8927
8928 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
8929
8930 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8931 Mark as obsolete and replace it with a symbol property.
8932 (byte-compile-form): Use new 'interactive-only property.
8933 * comint.el, files.el, replace.el, simple.el:
8934 Apply new 'interactive-only properly.
8935
8936 2013-11-25 Martin Rudalics <rudalics@gmx.at>
8937
8938 * window.el (display-buffer-at-bottom): Make sure that
8939 split-window-sensibly creates the new window on bottom
8940 (Bug#15961).
8941
8942 2013-11-23 David Kastrup <dak@gnu.org>
8943
8944 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
8945 on the conflict markers when available.
8946 (smerge--get-marker): New function.
8947 (smerge-end-re, smerge-base-re): Add subgroup.
8948
8949 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * frame.el (handle-focus-in, handle-focus-out): Add missing
8952 interactive spec.
8953
8954 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
8955
8956 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
8957 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
8958
8959 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8960
8961 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
8962 (gomoku--last-pos): New var.
8963 (gomoku--intangible-chars): New const.
8964 (gomoku--intangible): New function.
8965 (gomoku-mode): Use it. Derive from special-mode.
8966 (gomoku-move-up): Adjust line count.
8967 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
8968 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
8969 Simplify accordingly.
8970
8971 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
8972 Remove blink-cursor code.
8973 (blink-cursor-timer-function, blink-cursor-suspend):
8974 Don't special-case GUIs.
8975 (blink-cursor-mode): Use focus-in/out-hook.
8976
8977 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
8978
8979 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
8980 work when annotation is invisible (Bug#13886).
8981
8982 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
8983
8984 * json.el (json-alist-p): Only return non-nil if the alist has
8985 simple keys (Bug#13518).
8986
8987 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
8988
8989 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
8990 when control-statement is the first statement in a buffer (Bug#15956).
8991
8992 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
8993
8994 * imenu.el (imenu-generic-skip-comments-and-strings):
8995 New option (Bug#15560).
8996 (imenu--generic-function): Use it.
8997
8998 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
8999
9000 * minibuffer.el (completion--in-region-1): Scroll the correct window.
9001 (Bug#13898)
9002
9003 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
9004
9005 * emacs-lisp/helpers.el: Add some string helpers.
9006 (string-trim-left): Removes leading whitespace.
9007 (string-trim-right): Removes trailing whitespace.
9008 (string-trim): Removes leading and trailing whitespace.
9009
9010 * subr.el (string-suffix-p): New function.
9011
9012 2013-11-23 Glenn Morris <rgm@gnu.org>
9013
9014 * progmodes/python.el (python-shell-send-file):
9015 Add option to delete file when done. (Bug#15647)
9016 (python-shell-send-string, python-shell-send-region): Use it.
9017
9018 2013-11-23 Ivan Shmakov <ivan@siamics.net>
9019
9020 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
9021 to set buffer-read-only to t, never to nil. (Bug#15938)
9022
9023 * textmodes/tex-mode.el (latex-noindent-environments):
9024 Add safe-local-variable property. (Bug#15936)
9025
9026 2013-11-23 Glenn Morris <rgm@gnu.org>
9027
9028 * textmodes/enriched.el (enriched-mode): Doc fix.
9029 * emacs-lisp/authors.el (authors-renamed-files-alist):
9030 Add enriched.doc -> enriched.txt.
9031
9032 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
9033
9034 2013-11-22 Leo Liu <sdl.web@gmail.com>
9035
9036 * progmodes/octave.el (inferior-octave-startup): Spit out error
9037 message.
9038
9039 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
9040
9041 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9042 Improve docstring.
9043 Add :version.
9044 (ruby-encoding-magic-comment-style): Add :version.
9045
9046 2013-11-22 Leo Liu <sdl.web@gmail.com>
9047
9048 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
9049 (Bug#15076)
9050 (octave-help-mode): Adapt to change to help-mode-finish to use
9051 derived-mode-p on 2013-09-17.
9052 (inferior-octave-prompt): Also match octave-gui.
9053 (octave-kill-process): Don't ask twice. (Bug#10564)
9054
9055 2013-11-22 Leo Liu <sdl.web@gmail.com>
9056
9057 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
9058 (inferior-octave-startup, inferior-octave-check-process)
9059 (inferior-octave-track-window-width-change)
9060 (octave-completion-at-point, octave-eldoc-function): Use it.
9061 (octave-kill-process): Provide confirmation. (Bug#10564)
9062
9063 2013-11-21 Leo Liu <sdl.web@gmail.com>
9064
9065 * progmodes/octave.el (octave-mode, inferior-octave-mode):
9066 Fix obsolete variable comment-use-global-state.
9067
9068 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9069
9070 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
9071 Add `octave-source-file'.
9072 (octave-source-file): New function. (Bug#15935)
9073
9074 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
9075
9076 * net/eww.el (eww-local-regex): New variable.
9077 (eww): Use it to detect localhost and similar.
9078
9079 2013-11-21 Leo Liu <sdl.web@gmail.com>
9080
9081 Add completion for command `ag'.
9082 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
9083 (pcomplete/ag): New function.
9084 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
9085
9086 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
9089 (bug#14646).
9090 (make-obsolete): Remove interactive spec.
9091
9092 2013-11-21 Glenn Morris <rgm@gnu.org>
9093
9094 * startup.el (command-line-1): Use path-separator with -L.
9095
9096 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
9097
9098 * emacs-lisp/package.el (describe-package-1): Add package archive
9099 to shown fields.
9100
9101 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
9102
9103 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
9104 Change default to "# encoding: %s" to differentiate it from the
9105 default Ruby encoding comment template.
9106
9107 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
9108
9109 * ses.el (ses-mode): Doc fix. (Bug#14748)
9110
9111 2013-11-20 Leo Liu <sdl.web@gmail.com>
9112
9113 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
9114
9115 2013-11-19 Dan Nicolaescu <dann@gnu.org>
9116
9117 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
9118 when rebase or bisect are in progress.
9119
9120 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
9121
9122 * filenotify.el (file-notify-add-watch): Doc fix.
9123
9124 2013-11-19 Leo Liu <sdl.web@gmail.com>
9125
9126 * obsolete/rcompile.el: Mark obsolete.
9127
9128 * progmodes/compile.el (compilation-start)
9129 (compilation-goto-locus, compilation-find-file):
9130 Pass no-display-ok and handle nil value from display-buffer.
9131 (Bug#13594)
9132
9133 * window.el (display-buffer-alist, display-buffer): Document the
9134 new parameter no-display-ok. Return either a window or nil
9135 but never a non-window value.
9136
9137 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
9138
9139 * electric.el (electric-indent-mode-map): Remove.
9140 (electric-indent-mode): Change the global-map instead (bug#15915).
9141
9142 * textmodes/text-mode.el (paragraph-indent-minor-mode):
9143 Use add-function.
9144
9145 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
9146
9147 * emacs-lisp/nadvice.el (remove-function): Align with
9148 add-function's behavior.
9149
9150 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
9151 (gdb--string-regexp): New constant.
9152 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
9153 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
9154 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
9155 submatch 1.
9156 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
9157 Adjust use accordingly.
9158 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
9159
9160 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
9161
9162 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
9163 interpolation curlies (Bug#15914).
9164
9165 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
9166
9167 * calc/calc.el (calc-context-sensitive-enter): New variable.
9168 (calc-enter): Use `calc-context-sensitive-enter'.
9169
9170 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
9171
9172 * progmodes/cfengine.el: Version bump.
9173 (cfengine-cf-promises): New defcustom to locate cf-promises.
9174 (cfengine3-vartypes): Add new "data" type.
9175 (cfengine3--current-word): New function to get current name-like
9176 word or its bounds.
9177 (cfengine3--current-function): New function to look up a CFEngine
9178 function's definition.
9179 (cfengine3-format-function-docstring): New function.
9180 (cfengine3-make-syntax-cache): New function.
9181 (cfengine3-documentation-function): New function: ElDoc glue.
9182 (cfengine3-completion-function): New function: completion glue.
9183 (cfengine3-mode): Set `compile-command',
9184 `eldoc-documentation-function', and add to
9185 `completion-at-point-functions'.
9186
9187 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
9190 `tramp-current-connection'.
9191
9192 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
9193
9194 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
9195 nil/self/true/false with "end of symbol".
9196
9197 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
9198
9199 * subr.el (version-regexp-alist): Fix a typo.
9200
9201 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
9202
9203 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
9204 "en_US.utf8" and "LC_CTYPE" to "".
9205 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
9206 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
9207
9208 2013-11-15 Leo Liu <sdl.web@gmail.com>
9209
9210 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
9211
9212 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * progmodes/gud.el (ctl-x-map):
9215 Remove C-x SPC binding. (Bug#12342)
9216 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
9217
9218 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
9219
9220 * subr.el (version-regexp-alist):
9221 Recognize hg, svn and darcs versions as snapshot versions.
9222
9223 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
9224 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
9225 (ruby--encoding-comment-required-p): Extract from
9226 `ruby-mode-set-encoding'.
9227 (ruby-mode-set-encoding): Add the ability to always insert an
9228 utf-8 encoding comment. Fix and simplify coding comment update
9229 logic.
9230
9231 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
9232
9233 * net/tramp-gvfs.el (top): Run init code only when
9234 `tramp-gvfs-enabled' is not nil.
9235 (tramp-gvfs-enabled): Check also :system bus.
9236
9237 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 Sync with upstream verilog-mode revision 78e66ba.
9240 * progmodes/verilog-mode.el (verilog-end-of-defun)
9241 (verilog-type-completion, verilog-get-list): Remove unused funcs.
9242 (verilog-get-end-of-defun): Remove unused argument.
9243 (verilog-comment-depth): Remove unused local `e'.
9244 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
9245 Don't pass arg to verilog-get-end-of-defun.
9246
9247 2013-11-14 Glenn Morris <rgm@gnu.org>
9248
9249 * obsolete/assoc.el (aget): Prefix dynamic variable.
9250
9251 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
9252
9253 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
9254
9255 * widget.el, hfy-cmap.el: Remove bogus package version number.
9256
9257 2013-11-13 Glenn Morris <rgm@gnu.org>
9258
9259 * replace.el (replace-eval-replacement):
9260 Try to give more helpful error message. (Bug#15836)
9261
9262 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9263 (archive-7z-update): Avoid custom type mismatches.
9264
9265 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
9266
9267 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
9268
9269 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
9270 address can be empty.
9271
9272 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
9273 Accept nil SWITCHES.
9274 (tramp-gvfs-handle-write-region): Implement APPEND.
9275
9276 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
9277
9278 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
9279 binary "|" operator and closing block args delimiter.
9280 Remove FIXME comment referring to Ruby 1.8-only syntax.
9281 (ruby-smie--implicit-semi-p): Not after "|" operator.
9282 (ruby-smie--closing-pipe-p): New function.
9283 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
9284 (ruby-smie-rules): Indent after "|".
9285
9286 2013-11-12 Glenn Morris <rgm@gnu.org>
9287
9288 * ps-print.el (ps-face-attribute-list):
9289 Handle anonymous faces. (Bug#15827)
9290
9291 2013-11-12 Martin Rudalics <rudalics@gmx.at>
9292
9293 * window.el (display-buffer-other-frame): Fix doc-string.
9294 (Bug#15868)
9295
9296 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * subr.el (force-mode-line-update): Delete, move to buffer.c.
9299
9300 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
9301
9302 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
9303 (tramp-sh-handle-file-local-copy): Don't write a message when
9304 saving temporary files.
9305
9306 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
9307 both directories are remote.
9308 (tramp-smb-handle-directory-files): Do not return double entries.
9309 Do not expand full file names.
9310 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
9311 (tramp-smb-handle-write-region): Implement APPEND.
9312 (tramp-smb-get-stat-capability): Fix a stupid bug.
9313
9314 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
9317
9318 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9319
9320 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
9321 throwing error over malformed let/let* (bug#15814).
9322
9323 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 * iswitchb.el (iswitchb-mode): Mark obsolete.
9326
9327 2013-11-11 Glenn Morris <rgm@gnu.org>
9328
9329 * international/uni-bidi.el, international/uni-category.el:
9330 * international/uni-name.el, international/uni-numeric.el:
9331 Regenerate for Unicode 6.3.0.
9332
9333 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
9334
9335 * net/tramp.el (tramp-methods):
9336 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
9337 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
9338
9339 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
9340
9341 * progmodes/sh-script.el (sh-font-lock-keywords-var):
9342 Force highlighting text after Summary keyword in doc face for rpm.
9343
9344 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
9345
9346 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
9347 available and the word has no wildcards, append one to the grep pattern.
9348 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
9349 (ispell-complete-word): Call `ispell-lookup-words' with the value
9350 independent of `ispell-look-p'.
9351
9352 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9353
9354 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
9355 Not after "||".
9356 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
9357 their parent.
9358
9359 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
9362 (ruby-font-lock-keywords): Use backquote.
9363
9364 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9365
9366 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9367 (ruby-smie--backward-token): Only consider full-string matches.
9368
9369 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
9370
9371 * faces.el (describe-face): Add distant-foreground.
9372
9373 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
9374
9375 * progmodes/ruby-mode.el: Improve encoding comment handling.
9376 (ruby-encoding-magic-comment-style): New option.
9377 (ruby-custom-encoding-magic-comment-template): New option.
9378 (ruby--insert-coding-comment, ruby--detect-encoding):
9379 New functions extracted from `ruby-mode-set-encoding'.
9380 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
9381 to control the style of the auto-inserted encoding comment.
9382
9383 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9384
9385 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
9386 Use `smie-backward-sexp' with token argument.
9387
9388 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
9389
9390 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9391 Remove instrumentation code.
9392
9393 2013-11-08 Glenn Morris <rgm@gnu.org>
9394
9395 * progmodes/autoconf.el (autoconf-mode):
9396 Tweak comment-start-skip. (Bug#15822)
9397
9398 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9399
9400 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
9401 at bobp (bug#15826).
9402 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
9403
9404 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
9405
9406 * man.el (Man-start-calling): New macro, extracted from
9407 Man-getpage-in-background.
9408 (Man-getpage-in-background): Use it.
9409 (Man-update-manpage): New command.
9410 (Man-mode-map): Bind it.
9411
9412 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
9413
9414 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
9415 of "and", "or", "&&" and "||".
9416 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
9417 argument. Prohibit opening curly brace because it could only be a
9418 block opener in that position.
9419 (ruby-smie--forward-token, ruby-smie--backward-token):
9420 Separate "|" from "&" or "*" going after it. That can happen in block
9421 arguments.
9422 (ruby-smie--indent-to-stmt): New function, seeks the end of
9423 previous statement or beginning of buffer.
9424 (ruby-smie-rules): Use it.
9425 (ruby-smie-rules): Check if there's a ":" before a curly block
9426 opener candidate; if there is, it's a hash.
9427
9428 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
9431 (cl--block-wrapper): Fix last accidental change.
9432
9433 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
9434
9435 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
9436 Instrument, in order to hunt failure on hydra.
9437
9438 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9439
9440 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
9441 malformed bindings form (bug#15814).
9442
9443 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
9444
9445 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
9446 "." compared to " @ ". This incidentally fixes some indentation
9447 examples with "do".
9448 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
9449 (ruby-smie-grammar): New tokens: "and" and "or".
9450 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
9451 Exclude "and" and "or". Remove "do" in order to work around token
9452 priorities.
9453 (ruby-smie-rules): Add all infix tokens. Handle the case of
9454 beginning-of-buffer.
9455
9456 2013-11-06 Glenn Morris <rgm@gnu.org>
9457
9458 * Makefile.in (setwins_almost, setwins_for_subdirs):
9459 Avoid accidental matches.
9460
9461 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * menu-bar.el (popup-menu): Use key-binding.
9464
9465 2013-11-06 Eli Zaretskii <eliz@gnu.org>
9466
9467 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
9468 menus, support also the menus produced by minor modes.
9469 (Bug#15817)
9470
9471 2013-11-06 Leo Liu <sdl.web@gmail.com>
9472
9473 * thingatpt.el (thing-at-point-looking-at): Add optional arg
9474 DISTANCE to bound the search. All uses changed. (Bug#15808)
9475
9476 2013-11-06 Glenn Morris <rgm@gnu.org>
9477
9478 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
9479 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
9480 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
9481
9482 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * electric.el (electric-indent-just-newline): New command.
9485 (electric-indent-mode-map): New keymap.
9486 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
9487 Re-add :group which weren't redundant.
9488
9489 * electric.el (electric-indent-local-mode): New minor mode.
9490 (electric-indent-functions-without-reindent): New var.
9491 (electric-indent-post-self-insert-function): Use it.
9492 * emacs-lisp/gv.el (buffer-local-value): Add setter.
9493
9494 2013-11-05 Eli Zaretskii <eliz@gnu.org>
9495
9496 * international/quail.el (quail-help): Be more explicit about the
9497 meaning of the labels shown on the keys. (Bug#15800)
9498
9499 * startup.el (normal-top-level): Load the subdirs.el files before
9500 setting the locale environment. (Bug#15805)
9501
9502 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
9505 via arguments so as to get the right ones (bug#15418).
9506
9507 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
9508
9509 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
9510
9511 Fix problems found while writing a test suite.
9512
9513 * net/tramp-compat.el (tramp-compat-load): New defun.
9514 * net/tramp.el (tramp-handle-load): Use it.
9515
9516 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
9517 "(numberp ok-if-already-exists)" correctly.
9518
9519 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
9520
9521 * international/characters.el (glyphless-char-display-control):
9522 Add usage note.
9523
9524 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
9525
9526 * progmodes/python.el (python-mode):
9527 * progmodes/scheme.el (scheme-mode):
9528 * progmodes/prolog.el (prolog-mode):
9529 * progmodes/ruby-mode.el (ruby-mode):
9530 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
9531 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
9532
9533 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9534
9535 * rect.el (rectangle--highlight-for-redisplay):
9536 * emacs-lisp/smie.el (smie--next-indent-change):
9537 Use buffer-chars-modified-tick.
9538
9539 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
9540
9541 * electric.el (electric-indent-post-self-insert-function):
9542 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
9543
9544 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
9545
9546 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
9547
9548 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9549
9550 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
9551 (bug#15786).
9552
9553 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
9556
9557 * progmodes/python.el: Fix up last change.
9558 (python-shell--save-temp-file): New function.
9559 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
9560 `string' comes from the current buffer.
9561 (python-shell-send-string-no-output): Remove `msg' arg.
9562 (python--use-fake-loc): New var.
9563 (python-shell-buffer-substring): Obey it. Try to compensate for the
9564 extra coding line added by python-shell--save-temp-file.
9565 (python-shell-send-region): Use python-shell--save-temp-file and
9566 python-shell-send-file directly. Add `nomain' argument.
9567 (python-shell-send-buffer): Use python-shell-send-region.
9568 (python-electric-pair-string-delimiter): New function.
9569 (python-mode): Use it.
9570
9571 2013-11-04 Eli Zaretskii <eliz@gnu.org>
9572
9573 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
9574 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
9575 environment and decoding all of the default-directory's to here
9576 from command-line.
9577 (command-line): Decode also argv[0].
9578
9579 * loadup.el: Error out if default-directory is a multibyte string
9580 when we are dumping.
9581
9582 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
9583
9584 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
9585
9586 * emacs-lisp/package.el (package-menu-mode)
9587 (package-menu--print-info, package-menu--archive-predicate):
9588 Add Archive column to package list.
9589
9590 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
9591
9592 Fix problems found while writing a test suite.
9593
9594 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
9595 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
9596 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
9597 to nil when running original file name handler. Otherwise,
9598 there are problems with constructs like "$$FOO".
9599
9600 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
9601 for `localname'.
9602
9603 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
9604
9605 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
9606
9607 * subr.el (version<, version<=, version=):
9608 Update docstrings with information for snapshot versions.
9609
9610 * helpers.el: New library for misc helper functions.
9611 (hash-table-keys): New function returning a list of hash keys.
9612 (hash-table-values): New function returning a list of hash values.
9613
9614 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
9615
9616 * progmodes/ruby-mode.el (ruby-smie--forward-token)
9617 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
9618
9619 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
9620
9621 * textmodes/fill.el (fill-single-char-nobreak-p): New function
9622 checking whether point is after a 1-letter word.
9623
9624 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9625
9626 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
9627 Don't infloop when expanding region over `multiline' syntax-type that
9628 begins a line (bug#15778).
9629
9630 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
9633 Make it into a proper minor mode.
9634 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
9635 (rectangle-mark-mode-map): New keymap.
9636 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
9637
9638 2013-11-04 Glenn Morris <rgm@gnu.org>
9639
9640 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
9641
9642 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
9645 (ruby-smie-rules): Use smie-rule-parent instead.
9646
9647 * emacs-lisp/smie.el (smie-rule-parent): Always call
9648 smie-indent-virtual rather than only for hanging tokens.
9649 (smie--next-indent-change): New helper command.
9650
9651 2013-11-03 Glenn Morris <rgm@gnu.org>
9652
9653 * Makefile.in (abs_srcdir): Remove.
9654 (emacs): Unset EMACSLOADPATH.
9655
9656 2013-11-02 Glenn Morris <rgm@gnu.org>
9657
9658 * Makefile.in (EMACS): Use a relative filename.
9659 (abs_top_builddir): Remove.
9660 (custom-deps, finder-data, autoloads): Use --chdir.
9661
9662 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
9663
9664 Use relative filenames in TAGS files.
9665 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9666 (lisptagsfiles4, TAGS): Use relative file names.
9667 (TAGS-LISP): Remove.
9668 (maintainer-clean): No more TAGS-LISP file.
9669
9670 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
9671 (lisptagsfiles4): Use absolute filenames again.
9672 (TAGS, TAGS-LISP): Not everything needs to run in one line.
9673 Remove all *loaddefs files, not just the first. Remove esh-groups.
9674 (maintainer-clean): Delete TAGS, TAGS-LISP.
9675
9676 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9677
9678 * emacs-lisp/package.el (package-version-join):
9679 Recognize snapshot versions.
9680
9681 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9682
9683 * subr.el (version-regexp-alist): Add support for snapshot versions.
9684
9685 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9686
9687 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
9688 New function, replacement for `smie-rule-parent' for when we want to
9689 skip over our direct parent if it's an assignment token..
9690 (ruby-smie-rules): Use it.
9691
9692 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
9693
9694 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
9695 unconditionally. Remove now unnecessary forward declarations.
9696 Remove XEmacs-specific setup.
9697 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
9698 (ruby-font-lock-syntactic-keywords)
9699 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
9700 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
9701 (ruby-here-doc-end-syntax): Remove.
9702 (ruby-mode): Don't check whether `syntax-propertize-rules' is
9703 defined as function.
9704
9705 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
9706
9707 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
9708
9709 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9710
9711 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
9712 table and abbrev table, `define-derived-mode' does that for us
9713 anyway.
9714
9715 2013-11-01 Glenn Morris <rgm@gnu.org>
9716
9717 * Makefile.in: Remove manual mh-e dependencies (writing .elc
9718 files is atomic for some time, so no parallel compilation issues).
9719
9720 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
9721
9722 * faces.el (face-x-resources): Add :distant-foreground.
9723 (region): Use :distant-foreground for gtk and ns.
9724
9725 2013-11-01 Tassilo Horn <tsdh@gnu.org>
9726
9727 Allow multiple bibliographies when BibLaTeX is used rather than
9728 BibTeX.
9729 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
9730 (reftex-locate-bibliography-files): Us it.
9731
9732 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
9733
9734 * image.el (image-type-header-regexps): Fix the 'pbm' part to
9735 allow comments in pbm files.
9736
9737 * term/w32-win.el (dynamic-library-alist): Support newer versions
9738 of libjpeg starting with v7: look only for the DLL from the
9739 version against which Emacs was built.
9740 Support versions of libpng beyond 1.4.x.
9741 Support libtiff v4.x.
9742
9743 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
9744
9745 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
9746 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
9747 Add property :safe.
9748 (ruby-deep-arglist): Add property :type.
9749
9750 2013-10-31 Glenn Morris <rgm@gnu.org>
9751
9752 * Makefile.in (custom-deps, finder-data): No need to setq the target
9753 variables, we are in the right directory and the defaults work fine.
9754
9755 2013-10-30 Glenn Morris <rgm@gnu.org>
9756
9757 * Makefile.in (autoloads): Do not use abs_lisp.
9758
9759 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9760 `newline' does not respect `standard-output', so use `princ'.
9761
9762 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
9763
9764 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
9765 * buff-menu.el (Buffer-menu--unmark): New function.
9766 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
9767
9768 2013-10-30 Glenn Morris <rgm@gnu.org>
9769
9770 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
9771
9772 * emacs-lisp/package.el (lm-homepage): Declare.
9773
9774 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
9775 Fix doc typos.
9776
9777 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
9778
9779 * Makefile.in (finder-data, autoloads, update-subdirs)
9780 (compile-main, compile-clean, compile-always, bootstrap-clean):
9781 Check return value of cd.
9782 (compile-calc): Remove.
9783
9784 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9785
9786 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
9787
9788 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
9789 (byte-compile-and-folded): New function.
9790 (=, <, >, <=, >=): Use it.
9791
9792 * dos-w32.el (minibuffer-history-case-insensitive-variables)
9793 (path-separator, null-device, buffer-file-coding-system)
9794 (lpr-headers-switches): Check system-type before modifying them.
9795 (find-buffer-file-type-coding-system): Mark obsolete.
9796 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
9797 find-file-not-found-set-buffer-file-coding-system.
9798 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
9799 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
9800 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
9801 (w32-direct-print-region-helper, w32-direct-print-region-function)
9802 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
9803 * startup.el (normal-top-level-add-subdirs-to-load-path):
9804 * ps-print.el (ps-print-region-function):
9805 * lpr.el (print-region-function): Use new name.
9806
9807 * subr.el (custom-declare-variable-early): Remove function.
9808 (custom-declare-variable-list): Remove var.
9809 (error, user-error): Remove `while' loop.
9810 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
9811 (user-emacs-directory-warning, locate-user-emacs-file):
9812 Move to files.el.
9813 * simple.el (read-quoted-char-radix, read-quoted-char):
9814 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
9815 Move from subr.el.
9816 * custom.el (custom-declare-variable-list): Don't process
9817 custom-declare-variable-list.
9818
9819 * progmodes/python.el (python-shell-get-buffer): New function.
9820 (python-shell-get-process): Use it.
9821 (python-shell-send-string): Always use utf-8 and add a cookie to tell
9822 Python which encoding was used. Don't split-string since we only care
9823 about the first line. Return the temp-file, if applicable.
9824 (python-shell-send-region): Tell compile.el how to turn locations in
9825 the temp-file into locations in the source buffer.
9826
9827 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
9828
9829 * subr.el (undefined): Add missing behavior from the C code for
9830 unbound keys.
9831
9832 * rect.el: Use lexical-binding. Add new rectangular region support.
9833 (rectangle-mark): New command.
9834 (rectangle--region): New var.
9835 (deactivate-mark-hook): Reset rectangle--region.
9836 (rectangle--extract-region, rectangle--insert-for-yank)
9837 (rectangle--highlight-for-redisplay)
9838 (rectangle--unhighlight-for-redisplay): New functions.
9839 (region-extract-function, redisplay-unhighlight-region-function)
9840 (redisplay-highlight-region-function): Use them to handle
9841 rectangular region.
9842 * simple.el (region-extract-function): New var.
9843 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
9844 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
9845 (kill-region): Replace obsolete `yank-handler' arg with `region'.
9846 (copy-region-as-kill, kill-ring-save): Add `region' argument.
9847 (redisplay-unhighlight-region-function)
9848 (redisplay-highlight-region-function): New vars.
9849 (redisplay--update-region-highlight): New function.
9850 (pre-redisplay-function): Use it.
9851 (exchange-point-and-mark): Don't deactivate the mark before
9852 reactivate-it anyway.
9853 * comint.el (comint-kill-region): Remove yank-handler argument.
9854 * delsel.el (delete-backward-char, backward-delete-char-untabify)
9855 (delete-char): Remove property, since it's now part of their
9856 default behavior.
9857 (self-insert-iso): Remove property since this command doesn't exist.
9858
9859 * emacs-lisp/package.el (package--download-one-archive)
9860 (describe-package-1): Don't query the user about final newline.
9861
9862 2013-10-29 Daniel Colascione <dancol@dancol.org>
9863
9864 * net/tramp.el (tramp-methods): Document new functionality.
9865 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
9866 tramp-hostname-checker if method provides one instead of scanning
9867 argument list for "%h" to decide hostname acceptability.
9868
9869 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
9870
9871 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9872 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9873 Handle COPY-CONTENTS. (Bug#15737)
9874
9875 2013-10-28 Daiki Ueno <ueno@gnu.org>
9876
9877 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9878 Document that this option has no effect with GnuPG 2.0 (bug#15552).
9879
9880 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
9881
9882 * image.el (defimage, image-load-path): Doc fixes.
9883
9884 2013-10-27 Alan Mackenzie <acm@muc.de>
9885
9886 Indent statements in macros following "##" correctly.
9887 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9888 Modify the "#" arm of a cond form to handle "#" and "##" operators.
9889
9890 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
9891
9892 * linum.el (linum-update-window): Fix boundary test (bug#13446).
9893
9894 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
9895
9896 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
9897 after `=' is probably a new expression.
9898
9899 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9900
9901 * man.el (man-imenu-title): New option.
9902 (Man-mode-map): Add menu. (Bug#15722)
9903 (Man-mode): Add imenu to menu.
9904
9905 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
9906
9907 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
9908 specific in what the first arg can be: a non-keyword word,
9909 string/regexp/percent literal opener, opening paren, or unary
9910 operator followed directly by word.
9911
9912 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
9915 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
9916 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
9917 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
9918 Remove vars, they do not apply any more.
9919 (prolog-mode-abbrev-table): Remove redundant declaration.
9920 (prolog-upper-case-string, prolog-lower-case-string): Remove.
9921 (prolog-use-smie): Remove.
9922 (prolog-smie-rules): Add indentation rule for the if-then-else layout
9923 supported by prolog-electric-if-then-else-flag.
9924 (prolog-mode-variables, prolog-menu): Use setq-local.
9925 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
9926 Remove binding to `Backspace' since this key doesn't exist anyway.
9927 Remove bindings for electric self-inserting keys.
9928 (prog-mode): Assume it's defined.
9929 (prolog-post-self-insert): New function.
9930 (prolog-mode): Use it.
9931 (prolog-indent-line, prolog-indent-level)
9932 (prolog-find-indent-of-matching-paren)
9933 (prolog-indentation-level-of-line, prolog-goto-comment-column)
9934 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
9935 (prolog-goto-next-paren, prolog-in-string-or-comment)
9936 (prolog-tokenize, prolog-inside-mline-comment)
9937 (prolog-find-start-of-mline-comment): Remove functions.
9938 (prolog-find-unmatched-paren, prolog-clause-end)
9939 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
9940 (prolog-electric--if-then-else): Rename from
9941 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
9942 (prolog-tokenize-searchkey): Remove const.
9943 (prolog-clause-info): Use forward-sexp.
9944 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
9945 (prolog-electric-if-then-else): Remove commands.
9946 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
9947 for use in post-self-insert-hook.
9948 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
9949 for use in post-self-insert-hook.
9950 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
9951 for use in post-self-insert-hook.
9952 (prolog-electric--underscore): Rename from prolog-electric--underscore;
9953 adapt it for use in post-self-insert-hook.
9954
9955 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
9956
9957 * emacs-lisp/ert.el (ert-run-tests-interactively):
9958 Use `completing-read'. (Bug#9756)
9959
9960 2013-10-25 Eli Zaretskii <eliz@gnu.org>
9961
9962 * simple.el (line-move): Call line-move-1 instead of
9963 line-move-visual when the current window hscroll is zero, but
9964 temporary-goal-column indicates we will need to hscroll as result
9965 of the movement. (Bug#15712)
9966
9967 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
9968
9969 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
9970 capitalization. Use :visible instead of :active.
9971 Fix `ruby-indent-exp' reference. Add menu items for the generic
9972 commands that are used with SMIE.
9973 (ruby-do-end-to-brace): Insert space after `{'.
9974
9975 2013-10-25 John Anthony <john@jo.hnanthony.com>
9976
9977 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
9978
9979 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
9980
9981 2013-10-25 Glenn Morris <rgm@gnu.org>
9982
9983 * vc/vc.el (vc-print-log): Don't use a working revision unless
9984 one was explicitly specified. (Bug#15322)
9985
9986 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * subr.el (add-to-list): Preserve return value in compiler-macro
9989 (bug#15692).
9990
9991 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9992
9993 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9994 result. Ask user to retry using '-all' flag. (Bug#15701)
9995
9996 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * emacs-lisp/smie.el: New smie-config system.
9999 (smie-config): New defcustom.
10000 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
10001 (smie-config-guess, smie-config-save): New commands.
10002 (smie-config--mode-local, smie-config--buffer-local)
10003 (smie-config--trace, smie-config--modefuns): New vars.
10004 (smie-config--advice, smie-config--mode-hook)
10005 (smie-config--setter, smie-config-local, smie-config--get-trace)
10006 (smie-config--guess-value, smie-config--guess): New functions.
10007 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
10008 text properties. Treat "string fence" syntax like string syntax.
10009
10010 * progmodes/sh-script.el (sh-use-smie): Change default.
10011 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
10012 (sh-var-value): Simplify by CSE.
10013 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
10014 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
10015 is used.
10016 (sh-guess-basic-offset): Use cl-incf.
10017 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
10018
10019 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
10020
10021 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
10022 (bug#15699).
10023
10024 2013-10-24 Glenn Morris <rgm@gnu.org>
10025
10026 * Makefile.in (abs_top_srcdir): Remove.
10027 (update-subdirs): Use relative path to update-subdirs.
10028
10029 2013-10-24 Eli Zaretskii <eliz@gnu.org>
10030
10031 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
10032 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
10033 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
10034 Call unmsys--file-name before expand-file-name, not after it.
10035
10036 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
10037
10038 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
10039 (ert-test-skipped): New error.
10040 (ert-skip, ert-stats-skipped): New defuns.
10041 (ert--skip-unless): New macro.
10042 (ert-test-skipped): New struct.
10043 (ert--run-test-debugger, ert-test-result-type-p)
10044 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
10045 (ert--stats-set-test-and-result, ert-char-for-test-result)
10046 (ert-string-for-test-result, ert-run-tests-batch)
10047 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
10048 Handle skipped tests. (Bug#9803)
10049
10050 2013-10-24 Glenn Morris <rgm@gnu.org>
10051
10052 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
10053
10054 * Makefile.in (abs_top_srcdir): New, set by configure.
10055 (update-subdirs): Correct build-aux location.
10056
10057 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
10058
10059 * vc/vc.el (vc-print-root-log): Always set `default-directory'
10060 value, whether we could auto-deduce `backend', or not.
10061
10062 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
10063 with parameters" example. Simplify the "is it block or is it
10064 hash" check, but also make it more thorough.
10065
10066 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
10067
10068 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
10069
10070 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
10073 { if it is hanging.
10074
10075 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
10076 :before ";".
10077
10078 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
10079
10080 * progmodes/compile.el (compilation-directory-matcher)
10081 (compilation-page-delimiter):
10082 Support GNU Make-4.0 directory quoting. (Bug#15678)
10083
10084 2013-10-23 Leo Liu <sdl.web@gmail.com>
10085
10086 * ido.el (ido-tidy): Handle read-only text.
10087
10088 2013-10-23 Glenn Morris <rgm@gnu.org>
10089
10090 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
10091 (emacs, compile, compile-always):
10092 Quote entities that might contain whitespace.
10093 (custom-deps, finder-data, autoloads): Use abs_lisp.
10094 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10095 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10096 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
10097
10098 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
10099
10100 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
10101 Use `following-char'.
10102
10103 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10104
10105 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
10106 * progmodes/ruby-mode.el (ruby-smie-rules):
10107 Remove corresponding workaround. Fix indentation rule of ";" so it
10108 also applies when ";" is the parent.
10109
10110 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
10111
10112 * frame.el (display-screens, display-pixel-height)
10113 (display-pixel-width, display-mm-width, display-backing-store)
10114 (display-save-under, display-planes, display-color-cells)
10115 (display-visual-class, display-monitor-attributes-list):
10116 Mention the optional ‘display’ argument in doc strings.
10117
10118 2013-10-22 Michael Gauland <mikelygee@amuri.net>
10119
10120 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
10121 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
10122
10123 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10124
10125 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
10126 TODO. Add "." after " @ ".
10127 (ruby-smie--at-dot-call): New function. Checks if point at method
10128 call with explicit target.
10129 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
10130 to the method name tokens when it precedes them.
10131 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
10132 (ruby-smie-rules): Add rule for indentation before and after "."
10133 token.
10134
10135 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * textmodes/remember.el (remember-diary-extract-entries):
10138 Avoid add-to-list.
10139
10140 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
10141 an instruction.
10142
10143 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
10144
10145 * progmodes/ruby-mode.el (ruby-smie-grammar):
10146 Add (almost) all infix operators.
10147 (ruby-smie--implicit-semi-p): Add new operator chars.
10148
10149 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10150 `smie-down-list'.
10151 (ruby-smie--args-separator-p): Check that there's no newline
10152 between method call and its arguments.
10153
10154 2013-10-20 Alan Mackenzie <acm@muc.de>
10155
10156 Allow comma separated lists after Java "implements".
10157
10158 * progmodes/cc-engine.el (c-backward-over-enum-header):
10159 Parse commas.
10160 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
10161 from a "disallowed" list in enum fontification.
10162
10163 2013-10-20 Johan Bockgård <bojohan@gnu.org>
10164
10165 * startup.el (default-frame-background-mode): Remove unused defvar.
10166
10167 * progmodes/verilog-mode.el (verilog-mode): Don't set
10168 comment-indent-function globally.
10169
10170 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
10171
10172 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
10173 Move Info menu item creation to ns-win.el.
10174
10175 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
10176 in menu bar.
10177
10178 * menu-bar.el: Move GNUstep specific menus...
10179
10180 * term/ns-win.el (ns-initialize-window-system): ... to here.
10181
10182 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10183
10184 * simple.el (newline): Only run post-self-insert-hook when
10185 called interactively.
10186
10187 2013-10-19 Johan Bockgård <bojohan@gnu.org>
10188
10189 * icomplete.el (icomplete-with-completion-tables): Add :version.
10190
10191 2013-10-19 Alan Mackenzie <acm@muc.de>
10192
10193 Fix fontification bugs with constructors and const.
10194
10195 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
10196 CASE 2) Remove the check for the absence of a suffix construct
10197 after a function declaration with only types (no identifiers) in
10198 the parentheses. Also, accept a function declaration with just a
10199 type inside the parentheses, if this type can be positively
10200 recognised as such, or if a prefix keyword like "explicit" nails
10201 down the construct as a declaration.
10202
10203 2013-10-19 Eli Zaretskii <eliz@gnu.org>
10204
10205 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
10206 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
10207 the problem whereby selecting a menu item that leads to a
10208 minibuffer prompt moves the cursor out of the minibuffer window,
10209 making it hard to type at the prompt. Suggested by Stefan Monnier
10210 <monnier@iro.umontreal.ca>.
10211
10212 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
10213
10214 * menu-bar.el: Don't make Services menu.
10215
10216 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10217
10218 * ffap.el: Handle "/usr/include/c++/<version>" directories.
10219 (ffap-alist): Use ffap-c++-mode for c++-mode.
10220 (ffap-c++-path): New variable.
10221 (ffap-c++-mode): New function.
10222
10223 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
10224
10225 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
10226
10227 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
10228
10229 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
10230 introduced on 2013-09-08, which results in an infinite loop
10231 requesting a password.
10232
10233 2013-10-18 Glenn Morris <rgm@gnu.org>
10234
10235 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
10236
10237 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
10238
10239 Sync with upstream verilog-mode revision 1a6ecec7.
10240 * progmodes/verilog-mode.el (verilog-mode-version): Update.
10241 (verilog-mode-release-date): Remove.
10242 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
10243 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
10244 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
10245 (verilog-auto-tieoff-ignore-regexp)
10246 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
10247 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
10248 (verilog-signals-with, verilog-dir-cache-preserving)
10249 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
10250 Doc fixes.
10251 (verilog-case-fold): New option, to control case folding in
10252 regexp searches, bug597.
10253 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
10254 (verilog-string-match-fold, verilog-in-paren-count)
10255 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
10256 (verilog-at-close-struct-p): New functions.
10257 (verilog-beg-block-re-ordered, verilog-extended-case-re)
10258 (verilog-forward-sexp, verilog-set-auto-endcomments)
10259 (verilog-leap-to-case-head): Handle "unique0" case.
10260 (verilog-in-constraint-re): New constant.
10261 (verilog-keywords, verilog-type-font-keywords):
10262 Add some SystemVerilog 1800-2012 keywords.
10263 (verilog-label-be): Remove unimplemented argument, bug669.
10264 (verilog-batch-execute-func): When batch expanding clear
10265 create-lockfiles to prevent spurious user locks when a file ends
10266 up not changing.
10267 (verilog-calculate-indent, verilog-calc-1)
10268 (verilog-at-close-constraint-p, verilog-at-constraint-p)
10269 (verilog-do-indent): Fix indentation of nested constraints
10270 and structures.
10271 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
10272 (verilog-auto-inst-param): Use verilog-string-match-fold.
10273 (verilog-read-inst-module-matcher):
10274 Fix AUTOINST on gate primitives with #1.
10275 (verilog-read-decls): Fix double-declaring user-defined typed signals.
10276 Reads all user-defined typed variables.
10277 (verilog-read-defines): Fix reading definitions inside comments, bug647.
10278 (verilog-signals-matching-regexp)
10279 (verilog-signals-not-matching-regexp, verilog-auto):
10280 Respect verilog-case-fold.
10281 (verilog-diff-report): Fix line count.
10282 (verilog-auto-assign-modport): Remove unused local `modi'.
10283 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
10284 better handle multidimensional arrays.
10285 Fix packed array ports misadding bit index in AUTOINST, bug637.
10286 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
10287 to not double-declare existing outputs and inputs, respectively.
10288 (verilog-template-map): Bind U to verilog-sk-uvm-component.
10289 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
10290 (verilog-sk-uvm-component): New skeleton.
10291 (verilog-submit-bug-report): Add verilog-case-fold,
10292 remove verilog-mode-release-date.
10293
10294 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
10295
10296 * subr.el (sit-for): Call (input-pending-p t) so as to behave
10297 as before.
10298
10299 2013-10-18 Reuben Thomas <rrt@sc3d.org>
10300
10301 * textmodes/remember.el (remember): Set buffer-offer-save in
10302 remember buffers (bug#13566).
10303
10304 2013-10-18 Daniel Colascione <dancol@dancol.org>
10305
10306 When evaluating forms in ielm, direct standard output to ielm
10307 buffer. Add new ielm-return-for-effect command. Remove trailing
10308 whitespace throughout.
10309
10310 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
10311 (ielm-return-for-effect): New command.
10312 (ielm-send-input): Accept optional `for-effect' parameter.
10313 (ielm-eval-input): Accept optional `for-effect' parameter.
10314 Bind `standard-output' to stream we create using
10315 `ielm-standard-output-impl'. Suppress printing result when
10316 `for-effect'.
10317 (ielm-standard-output-impl): New function.
10318 (inferior-emacs-lisp-mode): Explain new features in documentation.
10319
10320 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
10321
10322 Code cleanup.
10323
10324 * net/tramp.el (tramp-debug-message): Do not check for connection
10325 buffer.
10326 (tramp-message): Use "vector" connection property.
10327
10328 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
10329 (tramp-equal-remote, tramp-eshell-directory-change)
10330 * net/tramp-adb.el (tramp-adb-handle-copy-file)
10331 (tramp-adb-handle-rename-file)
10332 * net/tramp-cmds.el (tramp-list-remote-buffers)
10333 (tramp-cleanup-connection, tramp-cleanup-this-connection)
10334 * net/tramp-compat.el (tramp-compat-process-running-p)
10335 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
10336 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
10337 (tramp-gvfs-handle-rename-file)
10338 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10339 (tramp-set-file-uid-gid)
10340 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10341 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
10342 of `file-remote-p'.
10343
10344 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
10345 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10346 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
10347 (tramp-gw-open-network-stream): Suppress unrelated traces.
10348
10349 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
10350 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10351 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10352 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
10353 connection property.
10354
10355 * net/tramp-cache.el (top): Suppress traces when reading
10356 persistency file.
10357
10358 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10359 Refactor common code. Improve debug message.
10360 (tramp-maybe-open-connection)
10361 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
10362 connection buffer too early.
10363
10364 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
10365 from `tramp-smb-actions-with-acl'.
10366 (tramp-smb-actions-set-acl): New defconst.
10367 (tramp-smb-handle-copy-directory)
10368 (tramp-smb-action-get-acl): New defun, renamed from
10369 `tramp-smb-action-with-acl'.
10370 (tramp-smb-action-set-acl): New defun.
10371 (tramp-smb-handle-set-file-acl): Rewrite.
10372
10373 2013-10-17 Glenn Morris <rgm@gnu.org>
10374
10375 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
10376
10377 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10378
10379 * skeleton.el (skeleton-newline): Remove.
10380 (skeleton-internal-1): Use (insert "\n") instead.
10381
10382 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
10383 let-bindings.
10384
10385 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
10386 forward-sexp-function while we redo its job (bug#15613).
10387
10388 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
10389
10390 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
10391 represented by lists.
10392
10393 2013-10-16 Glenn Morris <rgm@gnu.org>
10394
10395 * tmm.el (tmm--history): New dynamic variable.
10396 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
10397
10398 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
10399
10400 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
10401 (tramp-smb-errors): Add error messages.
10402 (tramp-smb-actions-with-acl): New defconst.
10403 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
10404 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
10405 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
10406 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
10407 (tramp-smb-get-stat-capability): Fix tests.
10408
10409 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
10410
10411 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
10412 (bug#15580).
10413
10414 2013-10-16 Glenn Morris <rgm@gnu.org>
10415
10416 * ansi-color.el (ansi-color-drop-regexp):
10417 Add 1J, 1K, 2K. (Bug#15617)
10418
10419 * files.el (hack-local-variables--warned-lexical): New.
10420 (hack-local-variables):
10421 Warn about misplaced lexical-binding. (Bug#15616)
10422
10423 * net/eww.el (eww-render): Always set eww-current-url,
10424 and update header line. (Bug#15622)
10425 (eww-display-html): ... Rather than just doing it here.
10426
10427 2013-10-15 Eli Zaretskii <eliz@gnu.org>
10428
10429 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
10430 menu navigations commands.
10431
10432 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
10433
10434 * progmodes/subword.el (subword-capitalize): Be careful when
10435 the search for [[:alpha:]] fails (bug#15580).
10436
10437 2013-10-14 Eli Zaretskii <eliz@gnu.org>
10438
10439 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
10440 to commands that scroll the menu.
10441
10442 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
10443
10444 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
10445 Handle methods ending with `?' and `!'.
10446
10447 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
10448
10449 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
10450 `japanese-cp932' to `cp932' to fix the problem where saving a
10451 source file written in Shift_JIS twice would end up having
10452 `coding: japanese-cp932' which Ruby could not recognize.
10453 (ruby-mode-set-encoding): Add support for encodings mapped to nil
10454 in `ruby-encoding-map'.
10455 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
10456 doesn't need to be explicitly declared in magic comment.
10457 (ruby-encoding-map): Add type declaration for better customize UI.
10458
10459 2013-10-13 Glenn Morris <rgm@gnu.org>
10460
10461 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
10462 Occur buffers are read-only. http://bugs.debian.org/720775
10463
10464 * emacs-lisp/authors.el (authors-fixed-entries):
10465 Comment out old alpha stuff.
10466
10467 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
10468
10469 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
10470 to `after-save-hook' instead of `before-save-hook'.
10471 (ruby-mode-set-encoding): Use the value of coding system used to
10472 write the file. Call `basic-save-buffer-1' after modifying the
10473 buffer.
10474
10475 2013-10-13 Alan Mackenzie <acm@muc.de>
10476
10477 Fix indentation/fontification of Java enum with
10478 "implements"/generic.
10479
10480 * progmodes/cc-engine.el (c-backward-over-enum-header):
10481 Extracted from the three other places and enhanced to handle generics.
10482 (c-inside-bracelist-p): Uses new function above.
10483 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
10484 function above.
10485 (c-font-lock-enum-tail): Uses new function above.
10486
10487 2013-10-13 Kenichi Handa <handa@gnu.org>
10488
10489 * international/mule-cmds.el (select-safe-coding-system): Remove a
10490 superfluous condition in chekcing whether a coding system is safe
10491 or not.
10492
10493 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
10494
10495 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
10496
10497 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
10498
10499 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
10500
10501 2013-10-13 Glenn Morris <rgm@gnu.org>
10502
10503 * menu-bar.el (menu-bar-update-buffers):
10504 Unify Buffers menu prompt string. (Bug#15576)
10505
10506 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
10507
10508 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
10509 Add some entries.
10510 (authors-fixed-entries): Use accented form of name.
10511
10512 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
10515 method calls (bug#15594).
10516 (ruby-smie--args-separator-p): New function.
10517 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
10518 recognize paren-free method calls.
10519
10520 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
10521 internals of universal-argument.
10522
10523 2013-10-11 Eli Zaretskii <eliz@gnu.org>
10524
10525 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
10526 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
10527 dropped menu on second mouse click on the menu bar.
10528
10529 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
10530
10531 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
10532 (explicit-shell-file-name): Declare.
10533 (sh--vars-before-point, sh--cmd-completion-table): New functions.
10534 (sh-completion-at-point-function): New function.
10535 (sh-mode): Use it.
10536 (sh-smie--keyword-p): Remove unused argument.
10537 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
10538 vars.
10539 (sh-set-shell): Always setup SMIE, even if we use the
10540 old indentation code.
10541
10542 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
10543
10544 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
10545 cases of ? and =.
10546 (ruby-smie-rules): Simplify the "do" rule. The cases when the
10547 predicate would return nil are almost non-existent.
10548 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
10549
10550 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
10551 cache also after commands that modify the buffer but don't move
10552 point.
10553
10554 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * env.el (substitute-env-in-file-name): New function.
10557 (substitute-env-vars): Extend the meaning of the optional arg.
10558
10559 2013-10-10 Eli Zaretskii <eliz@gnu.org>
10560
10561 * term/w32-win.el (dynamic-library-alist): Define separate lists
10562 of GIF DLLs for versions before and after 5.0.0 of giflib.
10563 (Bug#15531)
10564
10565 2013-10-10 João Távora <joaotavora@gmail.com>
10566
10567 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
10568 not locked, use last revision and current source as
10569 defaults. (Bug#15569)
10570
10571 2013-10-10 Masatake YAMATO <yamato@redhat.com>
10572
10573 * menu-bar.el (menu-bar-open): Don't use popup-menu if
10574 menu-bar is hidden.
10575
10576 2013-10-10 Martin Rudalics <rudalics@gmx.at>
10577
10578 * window.el (pop-to-buffer-same-window): Fix doc-string.
10579 (Bug#15492)
10580
10581 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
10582
10583 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
10584
10585 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
10586
10587 * calendar/icalendar.el (icalendar-import-file):
10588 Fix interactive spec. (Bug#15482)
10589
10590 2013-10-10 Glenn Morris <rgm@gnu.org>
10591
10592 * desktop.el (desktop-save): Default to saving in .emacs.d,
10593 since PWD is no longer in desktop-path by default. (Bug#15319)
10594
10595 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
10596 now that text mode has a menu with the same entry.
10597 (menu-bar-text-mode-auto-fill): Remove now unused func.
10598 * textmodes/text-mode.el (text-mode-map):
10599 Use auto-fill help text from menu-bar.el.
10600
10601 2013-10-10 John Anthony <john@jo.hnanthony.com>
10602
10603 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
10604
10605 2013-10-09 Juri Linkov <juri@jurta.org>
10606
10607 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
10608 instead of this-command-keys. Add universal-argument-more and
10609 universal-argument-minus to the list of prefix commands. (Bug#15568)
10610
10611 2013-10-09 Glenn Morris <rgm@gnu.org>
10612
10613 * vc/vc-svn.el (vc-svn-create-repo):
10614 Expand paths in file://... url. (Bug#15446)
10615
10616 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
10617 Add some entries.
10618 (authors): Remove unused local variables.
10619
10620 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * profiler.el: Create a more coherent calltree from partial backtraces.
10623 (profiler-format): Hide the tail with `invisible' so that C-s can still
10624 find the hidden elements.
10625 (profiler-calltree-depth): Don't recurse so enthusiastically.
10626 (profiler-function-equal): New hash-table-test.
10627 (profiler-calltree-build-unified): New function.
10628 (profiler-calltree-build): Use it.
10629 (profiler-report-make-name-part): Indent the calltree less.
10630 (profiler-report-mode): Add visibility specs for profiler-format.
10631 (profiler-report-expand-entry, profiler-report-toggle-entry):
10632 Expand the whole subtree when provided with a prefix arg.
10633
10634 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
10635
10636 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
10637 iuwu-mod token.
10638 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
10639 hanging iuwu-mod token.
10640 (ruby-smie--forward-token): Do not include a dot after a token in
10641 that token.
10642 (ruby-smie--backward-token): Likewise.
10643
10644 2013-10-08 Juri Linkov <juri@jurta.org>
10645
10646 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
10647 to isearch-other-control-char.
10648 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
10649 and isearch-post-command-hook to post-command-hook.
10650 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
10651 and isearch-post-command-hook from post-command-hook.
10652 (isearch-unread-key-sequence)
10653 (isearch-reread-key-sequence-naturally)
10654 (isearch-lookup-scroll-key, isearch-other-control-char)
10655 (isearch-other-meta-char): Remove functions.
10656 (isearch-pre-command-hook, isearch-post-command-hook):
10657 New functions based on isearch-other-meta-char rewritten
10658 relying on the new behavior of overriding-terminal-local-map
10659 that does not replace the local keymaps any more. (Bug#15200)
10660
10661 2013-10-08 Eli Zaretskii <eliz@gnu.org>
10662
10663 Support menus on text-mode terminals.
10664 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
10665 functionality.
10666
10667 * tooltip.el (tooltip-mode): Don't error out on TTYs.
10668
10669 * menu-bar.el (popup-menu, popup-menu-normalize-position):
10670 Move here from mouse.el.
10671 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
10672 and arrow keys.
10673 (tty-menu-navigation-map): New map for TTY menu navigation.
10674
10675 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
10676
10677 * frame.el (display-mouse-p): Report text-mode mouse as available
10678 on w32.
10679 (display-popup-menus-p): Report availability if mouse is
10680 available; don't condition on window-system.
10681
10682 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
10683 (tty-menu-selected-face): New faces.
10684
10685 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10686
10687 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
10688 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
10689 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
10690 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
10691 New constants.
10692 (lisp-mode-variables): New `elisp' argument.
10693 (emacs-lisp-mode): Use it.
10694 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
10695 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
10696
10697 * indent.el: Use lexical-binding.
10698 (indent-region): Add progress reporter.
10699 (tab-stop-list): Make it implicitly extend to infinity by repeating the
10700 last step.
10701 (indent--next-tab-stop): New function to implement this behavior.
10702 (tab-to-tab-stop, move-to-tab-stop): Use it.
10703
10704 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
10705
10706 * indent.el (indent-rigidly--current-indentation): New function.
10707 (indent-rigidly-map): New var.
10708 (indent-rigidly): Use it to provide interactive mode (bug#8196).
10709
10710 2013-10-08 Bastien Guerry <bzg@gnu.org>
10711
10712 * register.el (insert-register): Fix 2013-10-07 change.
10713
10714 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * progmodes/perl-mode.el: Use lexical-binding.
10717 Remove redundant :group args.
10718 (perl-nochange): Change default to be closer to other major modes's
10719 standard behavior.
10720 (perl-indent-line): Don't consider text on current line as a
10721 valid beginning of function from which to indent.
10722
10723 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
10724 with more than one argument (bug#15538).
10725
10726 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
10727
10728 * vc/pcvs.el: Use lexical-binding.
10729 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
10730 environment of `eval'.
10731 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
10732 than a list of expressions. Adjust callers.
10733 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
10734
10735 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
10736
10737 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
10738 case of the dot in a chained method call being on the following line.
10739
10740 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 * electric.el (electric-indent-inhibit): New var.
10743 (electric-indent-post-self-insert-function): Use it.
10744 * progmodes/python.el (python-mode): Set it.
10745
10746 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
10747 open braces.
10748
10749 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
10750
10751 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
10752 (css-mode): Use electric-indent-chars.
10753
10754 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
10755 (font-lock-beg, font-lock-end): Move before first use.
10756 (nxml-mode): Use syntax-propertize-function.
10757 (nxml-after-change, nxml-after-change1): Adjust accordingly.
10758 (nxml-extend-after-change-region): Remove.
10759 * nxml/xmltok.el: Use lexical-binding.
10760 (xmltok-save): Use `declare'.
10761 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
10762 * nxml/nxml-util.el: Use lexical-binding.
10763 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
10764 Use `declare'.
10765 * nxml/nxml-ns.el: Use lexical-binding.
10766 (nxml-ns-save): Use `declare'.
10767 (nxml-ns-prefixes-for): Avoid add-to-list.
10768 * nxml/rng-match.el: Use lexical-binding.
10769 (rng--ipattern): Use cl-defstruct.
10770 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
10771 (rng-cons-group-after, rng-subst-group-after)
10772 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
10773 Use closures instead of `(lambda...).
10774
10775 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
10776
10777 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
10778 of BEG and END.
10779
10780 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10781 Use `tramp-handle-insert-file-contents'.
10782 (tramp-gvfs-handle-insert-file-contents): Remove function.
10783
10784 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10785 Use `save-restriction' in order to keep markers.
10786
10787 * net/trampver.el: Update release number.
10788
10789 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * progmodes/compile.el (compilation-parse-errors):
10792 Use compilation--put-prop.
10793 (compilation--ensure-parse): Check compilation-multiline.
10794
10795 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
10796
10797 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
10798 lexical-binding.
10799
10800 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
10801
10802 * progmodes/ruby-mode.el: Fix recently added tests.
10803 (ruby-smie-grammar): Add - and +.
10804 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
10805 (ruby-smie--backward-id): New functions.
10806 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10807 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
10808 any more.
10809
10810 2013-10-07 Leo Liu <sdl.web@gmail.com>
10811
10812 * register.el (register-preview-delay)
10813 (register-preview-functions): New variables.
10814 (register-read-with-preview, register-preview)
10815 (register-describe-oneline): New functions.
10816 (point-to-register, window-configuration-to-register)
10817 (frame-configuration-to-register, jump-to-register)
10818 (number-to-register, view-register, insert-register)
10819 (copy-to-register, append-to-register, prepend-to-register)
10820 (copy-rectangle-to-register): Use register-read-with-preview to
10821 read register. (Bug#15525)
10822
10823 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
10824
10825 * net/network-stream.el (network-stream-open-starttls): Don't add
10826 --insecure if it's already present, because that gnutls-cli
10827 rejects getting that parameter twice.
10828
10829 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
10830
10831 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
10832 keyword, too.
10833
10834 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
10835
10836 * newcomment.el (comment-use-global-state): Change default value
10837 to t, mark obsolete (Bug#15251).
10838 (comment-beginning): In addition to `comment-to-syntax', check the
10839 value of `comment-use-global-state'.
10840
10841 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
10844 (ruby-comment-column): Follow the global default, by default.
10845 (ruby-smie-grammar): Add assignment syntax.
10846 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
10847 open-paren, a comma, or a \.
10848 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
10849 and line continuations.
10850 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
10851 followed by implicit semi-colons. Add rule for string concatenation
10852 and for indentation at BOB.
10853 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
10854
10855 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
10856 calling next-sexp, since next-token may have skipped chars which
10857 next-sexp doesn't know should be skipped!
10858
10859 2013-10-05 Leo Liu <sdl.web@gmail.com>
10860
10861 * progmodes/octave.el (octave-send-region):
10862 Call compilation-forget-errors.
10863
10864 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10865
10866 * vc/vc-svn.el (vc-svn-find-admin-dir):
10867 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
10868 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
10869 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
10870 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
10871
10872 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10873
10874 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
10875
10876 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
10877
10878 * subr.el (read-passwd): Hide chars even when called within a context
10879 where after-change-functions is disabled (bug#15501).
10880 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
10881 until we removed ourself from overriding-terminal-local-map.
10882
10883 2013-10-04 Leo Liu <sdl.web@gmail.com>
10884
10885 * progmodes/octave.el (inferior-octave-mode):
10886 Call compilation-forget-errors.
10887
10888 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
10889
10890 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
10891
10892 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
10893
10894 * net/secrets.el (secrets-create-collection): Add optional
10895 argument ALIAS. Use proper Label keyword. Append ALIAS as
10896 dbus-call-method argument. (Bug#15516)
10897
10898 2013-10-04 Leo Liu <sdl.web@gmail.com>
10899
10900 * progmodes/octave.el (inferior-octave-error-regexp-alist)
10901 (inferior-octave-compilation-font-lock-keywords): New variables.
10902 (compilation-error-regexp-alist)
10903 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
10904 (inferior-octave-mode): Use compilation-shell-minor-mode.
10905
10906 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
10907
10908 * minibuffer.el (completion--replace): Be careful that `end' might be
10909 a marker.
10910
10911 2013-10-03 Daiki Ueno <ueno@gnu.org>
10912
10913 Add support for package signature checking.
10914 * emacs-lisp/package.el (url-http-file-exists-p)
10915 (epg-make-context, epg-context-set-home-directory)
10916 (epg-verify-string, epg-context-result-for)
10917 (epg-signature-status, epg-signature-to-string)
10918 (epg-check-configuration, epg-configuration)
10919 (epg-import-keys-from-file): Declare.
10920 (package-check-signature): New user option.
10921 (package-unsigned-archives): New user option.
10922 (package-desc): Add `signed' field.
10923 (package-load-descriptor): Set `signed' field if .signed file exists.
10924 (package--archive-file-exists-p): New function.
10925 (package--check-signature): New function.
10926 (package-install-from-archive): Check package signature.
10927 (package--download-one-archive): Check archive signature.
10928 (package-delete): Remove .signed file.
10929 (package-import-keyring): New command.
10930 (package-refresh-contents): Import default keyring.
10931 (package-desc-status): Add "unsigned" status.
10932 (describe-package-1, package-menu--print-info)
10933 (package-menu-mark-delete, package-menu--find-upgrades)
10934 (package-menu--status-predicate): Support "unsigned" status.
10935
10936 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
10939 the new compilation scheme using the new byte-codes.
10940
10941 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
10942 (byte-pophandler): New byte codes.
10943 (byte-goto-ops): Adjust accordingly.
10944 (byte-compile--use-old-handlers): New var.
10945 (byte-compile-catch): Use new byte codes depending on
10946 byte-compile--use-old-handlers.
10947 (byte-compile-condition-case--old): Rename from
10948 byte-compile-condition-case.
10949 (byte-compile-condition-case--new): New function.
10950 (byte-compile-condition-case): New function that dispatches depending
10951 on byte-compile--use-old-handlers.
10952 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
10953 when we can.
10954
10955 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
10956 Optimize under `condition-case' and `catch' if
10957 byte-compile--use-old-handlers is nil.
10958 (disassemble-offset): Handle new bytecodes.
10959
10960 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * subr.el (error): Use `declare'.
10963 (decode-char, encode-char): Use advertised-calling-convention instead
10964 of the docstring to discourage use of the `restriction' arg.
10965
10966 2013-10-03 Daiki Ueno <ueno@gnu.org>
10967
10968 * epg.el (epg-verify-file): Add a comment saying that it does not
10969 notify verification error as a return value nor a signal.
10970 (epg-verify-string): Ditto.
10971
10972 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
10973
10974 * progmodes/compile.el (compilation-start): Try globbing the arg to
10975 `cd' (bug#15417).
10976
10977 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
10978
10979 Sync with Tramp 2.2.8.
10980
10981 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
10982 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
10983 * net/trampver.el: Update release number.
10984
10985 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
10986
10987 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
10988 and default-process-coding-system for darwin only.
10989
10990 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
10991
10992 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
10993
10994 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
10995
10996 * vc/vc-git.el (vc-git-grep): Disable pager.
10997
10998 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
10999
11000 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
11001 Use :url instead of :homepage, as per
11002 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
11003
11004 * newcomment.el (comment-beginning): When `comment-use-syntax' is
11005 non-nil, use `syntax-ppss' (Bug#15251).
11006
11007 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11008
11009 * progmodes/octave.el (inferior-octave-startup-file):
11010 Prefer ~/.emacs.d/init_octave.m.
11011
11012 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
11013
11014 * emacs-lisp/package.el (package-desc-from-define):
11015 Accept additional arguments as plist, convert them to an alist and store
11016 them in the `extras' slot.
11017 (package-generate-description-file): Convert extras alist back to
11018 plist and append to the `define-package' form arguments.
11019 (package--alist-to-plist): New function.
11020 (package--ac-desc): Add `extras' slot.
11021 (package--add-to-archive-contents): Check if the archive-contents
11022 vector is long enough, and if it is, pass its `extras' slot value
11023 to `package-desc-create'.
11024 (package-buffer-info): Call `lm-homepage', pass the returned value
11025 to `package-desc-from-define'.
11026 (describe-package-1): Render the homepage button (Bug#13291).
11027
11028 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11029 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
11030
11031 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
11032
11033 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
11034 and default-process-coding-system to utf-8-unix (Bug#15402).
11035
11036 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
11037
11038 * subr.el (looking-back): Do not recommend using looking-back.
11039
11040 2013-09-28 Alan Mackenzie <acm@muc.de>
11041
11042 Fix indentation/fontification of Java enum with "implements".
11043
11044 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
11045 regexp which matches "implements", etc., in Java.
11046 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
11047 specifier clauses coming after "enum".
11048 * progmodes/cc-fonts.el (c-font-lock-declarations)
11049 (c-font-lock-enum-tail): Check for extra specifier clauses coming
11050 after "enum".
11051
11052 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
11053
11054 * faces.el (region): Change ns_selection_color to
11055 ns_selection_fg_color, add ns_selection_bg_color.
11056
11057 2013-09-28 Leo Liu <sdl.web@gmail.com>
11058
11059 * progmodes/octave.el (inferior-octave-completion-table)
11060 (inferior-octave-completion-at-point): Minor tweaks.
11061
11062 * textmodes/ispell.el (ispell-lookup-words): Rename from
11063 lookup-words. (Bug#15460)
11064 (lookup-words): Obsolete.
11065 (ispell-complete-word, ispell-command-loop): All uses changed.
11066
11067 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11068
11069 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
11070 (octave-mode-menu): Add octave-send-buffer.
11071 (octave-send-buffer): New function.
11072
11073 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11074
11075 * progmodes/octave.el (octave-mode-map): Add key binding for
11076 octave-lookfor.
11077 (octave-mode-menu): Add octave-lookfor.
11078 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
11079 octave-lookfor.
11080 (octave-lookfor): New function.
11081
11082 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11083
11084 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
11085 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
11086 its convention.
11087 (cl--loop-set-iterator-function): New function.
11088 (cl-loop): Adjust accordingly, so as not to use cl-subst.
11089 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
11090 Bind `it' with `let' instead of substituting it with `cl-subst'.
11091 (cl--unused-var-p): New function.
11092 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
11093 Eliminate some unused variable warnings (bug#15326).
11094
11095 2013-09-27 Tassilo Horn <tsdh@gnu.org>
11096
11097 * doc-view.el (doc-view-scale-reset): Rename from
11098 `doc-view-reset-zoom-level'.
11099 (doc-view-scale-adjust): New command.
11100 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
11101 `doc-view-scale-adjust'.
11102
11103 2013-09-26 Tassilo Horn <tsdh@gnu.org>
11104
11105 * doc-view.el (doc-view-reset-zoom-level): New command.
11106 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
11107 zoom commands (bug#15466).
11108
11109 2013-09-26 Kenichi Handa <handa@gnu.org>
11110
11111 * international/quail.el (quail-help): Make it not a command.
11112
11113 2013-09-26 Leo Liu <sdl.web@gmail.com>
11114
11115 * minibuffer.el (completion-all-sorted-completions): Make args
11116 optional as they are.
11117
11118 2013-09-25 Daniel Colascione <dancol@dancol.org>
11119
11120 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
11121 specs are and that they're not evaluated.
11122
11123 2013-09-24 Sam Steingold <sds@gnu.org>
11124
11125 * midnight.el (clean-buffer-list-kill-regexps)
11126 (clean-buffer-list-kill-buffer-names): Update for the new Man
11127 buffer naming which includes the object name.
11128
11129 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * eshell/esh-cmd.el (eshell--sep-terms): New var.
11132 (eshell-parse-command, eshell-parse-pipeline): Use it since
11133 eshell-separate-commands requires a dynamic scoped var.
11134 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
11135
11136 2013-09-23 Leo Liu <sdl.web@gmail.com>
11137
11138 * autoinsert.el (auto-insert-alist): Make the value of
11139 lexical-binding match its file setting.
11140
11141 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
11142
11143 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
11144
11145 * autoarg.el (autoarg-kp-digit-argument):
11146 * electric.el (Electric-command-loop):
11147 * kmacro.el (kmacro-step-edit-insert):
11148 Do not set universal-argument-num-events.
11149
11150 2013-09-22 Leo Liu <sdl.web@gmail.com>
11151
11152 * files.el (interpreter-mode-alist): Add octave.
11153
11154 2013-09-21 Alan Mackenzie <acm@muc.de>
11155
11156 C++: fontify identifier in declaration following "public:" correctly.
11157 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
11158 to match "public", etc.
11159 (c-decl-prefix-re): Add ":" into the C++ value.
11160 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
11161 bit. Add a check for a ":" preceded by "public", etc.
11162
11163 2013-09-21 Eli Zaretskii <eliz@gnu.org>
11164
11165 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
11166 recognized by GDB 7.5 and later.
11167
11168 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
11169
11170 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
11171
11172 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11173
11174 * subr.el (internal--call-interactively): New const.
11175 (called-interactively-p): Use it (bug#3984).
11176
11177 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
11178
11179 * vc/pcvs.el (cvs-mode-ignore):
11180 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
11181 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
11182
11183 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11184
11185 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
11186 (eshell-ls-orig-insert-directory): Remove.
11187 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
11188 (eshell-ls-use-in-dired): Use advice-add/remove.
11189 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
11190 Add `orig-fun' arg for use in :around advice.
11191 Make it check (redundantly) eshell-ls-use-in-dired.
11192
11193 2013-09-19 Glenn Morris <rgm@gnu.org>
11194
11195 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
11196
11197 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
11198
11199 * emacs-lisp/eieio.el (class-parent): Undo previous change.
11200
11201 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
11202
11203 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
11204 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
11205 (tramp-get-remote-python): New defuns.
11206 (tramp-get-remote-uid-with-perl)
11207 (tramp-get-remote-gid-with-perl): New defuns. Perl code
11208 contributed by yary <not.com@gmail.com> (tiny change).
11209 (tramp-get-remote-uid-with-python)
11210 (tramp-get-remote-gid-with-python): New defuns. Python code
11211 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
11212 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
11213
11214 2013-09-19 Glenn Morris <rgm@gnu.org>
11215
11216 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
11217
11218 * eshell/em-unix.el (eshell-remove-entries):
11219 Rename argument to avoid name-clash with global `top-level'.
11220
11221 * eshell/esh-proc.el (eshell-kill-process-function):
11222 Remove eshell-reset-after-proc from eshell-kill-hook if present.
11223 (eshell-reset-after-proc): Remove unused arg `proc'.
11224
11225 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
11226 (directory-files-and-attributes): Mark unused arg.
11227
11228 * eshell/em-unix.el (eshell-remove-entries):
11229 Remove unused arg `path'. Update callers.
11230
11231 * eshell/em-hist.el (eshell-hist-parse-arguments):
11232 Remove unused arg `silent'. Update callers.
11233
11234 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
11235 Fix (f)boundp mix-up.
11236
11237 * eshell/em-smart.el (eshell-smart-scroll-window)
11238 (eshell-disable-after-change):
11239 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
11240
11241 2013-09-18 Alan Mackenzie <acm@muc.de>
11242
11243 Fix fontification of type when followed by "const".
11244 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
11245 "known" types from fontification.
11246
11247 2013-09-18 Glenn Morris <rgm@gnu.org>
11248
11249 * emacs-lisp/chart.el (x-display-color-cells): Declare.
11250 (chart-face-list): Drop Emacsen without display-color-p.
11251
11252 * net/eww.el (libxml-parse-html-region): Declare.
11253 (eww-display-html): Explicit error if no libxml2 support.
11254
11255 * doc-view.el (doc-view-mode): Silence --without-x compilation.
11256
11257 * image.el (image-type-from-buffer, image-multi-frame-p):
11258 Remove --without-x warning/error.
11259
11260 * mouse.el (mouse-yank-primary):
11261 * term.el (term-mouse-paste):
11262 Reorder to silence --without-x compilation.
11263
11264 * mpc.el (doc-view-mode): Silence --without-x compilation.
11265
11266 * mail/rmailmm.el (rmail-mime-set-bulk-data):
11267 Silence --without-x compilation.
11268
11269 * progmodes/gud.el (gud-find-file, gud-mode):
11270 Silence --without-x compilation.
11271 (tooltip-mode): Declare.
11272
11273 * wdired.el (dired-backup-overwrite): Remove declaration.
11274 (wdired-mode-map): Add doc string.
11275
11276 * custom.el (x-get-resource): Declare.
11277
11278 * eshell/em-glob.el (ange-cache):
11279 * eshell/em-unix.el (ange-cache): Declare.
11280
11281 * faces.el (x-display-list, x-open-connection, x-get-resource):
11282 Declare.
11283
11284 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
11285 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
11286 Declare.
11287
11288 * frame.el (x-display-grayscale-p, x-display-name): Declare.
11289
11290 * net/gnutls.el (gnutls-log-level): Declare.
11291
11292 * net/shr.el (image-size, image-animate): Declare.
11293
11294 * simple.el (font-info): Declare.
11295
11296 * subr.el (x-popup-dialog): Declare.
11297
11298 * term/common-win.el (x-select-enable-primary)
11299 (x-last-selected-text-primary, x-last-selected-text-clipboard):
11300 Declare.
11301
11302 * term/ns-win.el (x-handle-args): Declare.
11303
11304 * term/x-win.el (x-select-enable-clipboard): Declare.
11305
11306 * term/w32-win.el (create-default-fontset): Declare.
11307
11308 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
11309 Declare.
11310
11311 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
11312 (fit-frame-to-buffer): Explicit error if --without-x.
11313 (mouse-autoselect-window-select): Silence compiler.
11314
11315 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11316
11317 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
11318 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
11319 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
11320 * eshell/esh-util.el (eshell-sublist):
11321 Remove unused local variables.
11322
11323 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
11324
11325 * textmodes/two-column.el: Make 2C-split work for --without-x.
11326 (scroll-bar-columns): Autoload.
11327 (top-level): Require fringe when compiling.
11328
11329 2013-09-18 Leo Liu <sdl.web@gmail.com>
11330
11331 * subr.el (add-hook): Robustify to handle closure as well.
11332
11333 2013-09-17 Glenn Morris <rgm@gnu.org>
11334
11335 * simple.el (messages-buffer-mode-map): Unbind "g".
11336
11337 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 * help-mode.el (help-mode-finish): Use derived-mode-p.
11340 Remove obsolete highlighting.
11341
11342 * play/life.el (life-mode): Use define-derived-mode. Derive from
11343 special-mode.
11344 (life): Let-bind inhibit-read-only.
11345 (life-setup): Avoid `setq'. Use `life-mode'.
11346
11347 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
11348 which should not be needed any more.
11349 (package-menu-refresh, package-menu-describe-package): Use user-error.
11350
11351 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
11352 (eshell-post-rewrite-command-hook): Make obsolete.
11353 (eshell-parse-command): Simplify.
11354 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
11355 (eshell--cmd): Declare.
11356 (eshell-parse-pipeline): Remove unused var `final-p'.
11357 Pass a dynvar to eshell-post-rewrite-command-hook.
11358 Implement the new eshell-post-rewrite-command-function.
11359 (eshell-invoke-directly): Remove unused arg `input'.
11360 * eshell/esh-io.el (eshell-io-initialize):
11361 Use eshell-post-rewrite-command-function (bug#15399).
11362 (eshell--apply-redirections): Rename from eshell-apply-redirections;
11363 adjust to new calling convention.
11364 (eshell-create-handles): Rename args to avoid clashing with dynvar
11365 `standard-output'.
11366
11367 2013-09-17 Glenn Morris <rgm@gnu.org>
11368
11369 * simple.el (messages-buffer-mode): New major mode.
11370 (messages-buffer): New function.
11371 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
11372 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
11373 (ert-run-test): Use `messages-buffer' function.
11374 (ert--force-message-log-buffer-truncation): Ignore read-only.
11375 * help.el (view-echo-area-messages): Use `messages-buffer' function.
11376 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
11377
11378 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
11381
11382 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
11383
11384 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11385
11386 * icomplete.el (icomplete-in-buffer): New var.
11387 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
11388 vars and replace them with functions.
11389 (icomplete-minibuffer-setup): Adjust accordingly.
11390 (icomplete--completion-table, icomplete--completion-predicate)
11391 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
11392 New functions.
11393 (icomplete-forward-completions, icomplete-backward-completions)
11394 (icomplete-simple-completing-p, icomplete-exhibit)
11395 (icomplete-completions): Use them.
11396 (icomplete--in-region-buffer): New var.
11397 (icomplete--in-region-setup): New function.
11398 (icomplete-mode): Use it.
11399
11400 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
11401 (bug#15379).
11402 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
11403 return args and options.
11404 (eshell-eval-using-options): Use the new return value of
11405 eshell--do-opts to set the options's vars in their scope.
11406 (eshell--set-option): Rename from eshell-set-option.
11407 Add arg `opt-vals'.
11408 (eshell--process-option): Rename from eshell-process-option.
11409 Add arg `opt-vals'.
11410 (eshell--process-args): Use an `opt-vals' alist to store the options's
11411 values during their processing and return them additionally to the
11412 remaining args.
11413
11414 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
11415
11416 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
11417 continuation character an operator, as far as indentation is
11418 concerned (Bug#15369).
11419
11420 2013-09-15 Martin Rudalics <rudalics@gmx.at>
11421
11422 * window.el (window--state-put-2): Don't process buffer state
11423 when buffer doesn't exist any more (Bug#15382).
11424
11425 2013-09-15 Glenn Morris <rgm@gnu.org>
11426
11427 * eshell/em-unix.el (eshell/rm):
11428 Make -f ignore missing files. (Bug#15373)
11429
11430 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
11431 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
11432 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
11433
11434 2013-09-14 Glenn Morris <rgm@gnu.org>
11435
11436 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
11437
11438 2013-09-13 Glenn Morris <rgm@gnu.org>
11439
11440 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
11441 (dired-guess-default): Make `file' available in the env. (Bug#15363)
11442
11443 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
11444
11445 * frame.el (x-focus-frame): Mark as declared in frame.c.
11446
11447 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
11448
11449 * ls-lisp.el: Use advice-add.
11450 (original-insert-directory): Remove.
11451 (ls-lisp--insert-directory): Rename from insert-directory; add
11452 `orig-fun' argument.
11453 (insert-directory): Advise.
11454
11455 2013-09-13 Eli Zaretskii <eliz@gnu.org>
11456
11457 * term.el (term-emulate-terminal): Decode the command string
11458 before passing it to term-command-hook. (Bug#15337)
11459
11460 2013-09-13 Glenn Morris <rgm@gnu.org>
11461
11462 * eshell/esh-util.el (ange-cache): Move declaration earlier.
11463
11464 * eshell/esh-ext.el (eshell-search-path): Declare.
11465
11466 * eshell/em-prompt.el (eshell/pwd): Autoload it.
11467 Otherwise an error occurs if eshell-dirs module not loaded.
11468
11469 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
11470
11471 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
11472
11473 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
11474 `tramp-check-proper-host'. Check for a valid method name.
11475
11476 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11477 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11478 * net/tramp-sh.el (tramp-maybe-open-connection):
11479 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
11480
11481 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
11482 also for hash values.
11483
11484 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11485
11486 * term/ns-win.el (parameters): Don't declare as dynamic.
11487 (before-make-frame-hook): Don't add ineffective function.
11488
11489 * eshell/*.el: Use lexical-binding (bug#15231).
11490
11491 2013-09-12 Kenichi Handa <handa@gnu.org>
11492
11493 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
11494
11495 2013-09-12 Glenn Morris <rgm@gnu.org>
11496
11497 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
11498 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
11499
11500 * subr.el (do-after-load-evaluation): Also give compiler warnings
11501 when obsolete files are used (except by obsolete files).
11502
11503 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
11504 in the status output, assume `filename' is the first. (Bug#15322)
11505
11506 * vc/vc.el (vc-deduce-fileset): Doc fix.
11507
11508 * calc/calc-help.el (Info-goto-node):
11509 * progmodes/cperl-mode.el (Info-find-node):
11510 * vc/ediff.el (Info-goto-node): Update declarations.
11511
11512 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
11513
11514 * vc/vc-bzr.el (vc-compilation-mode): Declare.
11515 (vc-bzr-pull): Require vc-dispatcher.
11516 * vc/vc-git.el (vc-compilation-mode): Declare.
11517 (vc-git-pull): Require vc-dispatcher.
11518
11519 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
11520
11521 * progmodes/octave.el (help-button-action): Declare.
11522
11523 * shell.el (shell-directory-tracker): Output error as a message
11524 rather than just returning it as a string.
11525 (shell-process-pushd): Remove useless use of message.
11526
11527 * dframe.el (dframe-timer-fn):
11528 * files.el (dir-locals-read-from-file):
11529 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
11530 (mpc-format):
11531 * reveal.el (reveal-post-command):
11532 * saveplace.el (load-save-place-alist-from-file):
11533 * shell.el (shell-resync-dirs):
11534 * w32-common-fns.el (x-get-selection-value):
11535 * emacs-lisp/copyright.el (copyright-find-copyright):
11536 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11537 * emulation/tpu-edt.el (tpu-copy-keyfile):
11538 * play/bubbles.el (bubbles--mark-neighbourhood):
11539 * progmodes/executable.el
11540 (executable-make-buffer-file-executable-if-script-p):
11541 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
11542
11543 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 Cleanup Eshell to rely less on dynamic scoping.
11546 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
11547 last-value, and ext-command here. Bind `args' closer to `body'.
11548 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
11549 (eshell--args): Declare new dynamic var.
11550 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
11551 last-value, and ext-command. Pass `args' to `body'.
11552 (eshell-process-args): Bind eshell--args.
11553 (eshell-set-option): Use eshell--args.
11554 * eshell/eshell.el (eshell): Use derived-mode-p.
11555 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
11556 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
11557 (eshell-glob-function): Declare.
11558 * eshell/esh-util.el: Require cl-lib.
11559 (eshell-read-hosts-file): Avoid add-to-list.
11560 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
11561 `err'.
11562 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
11563 Declare.
11564 (eshell/diff): Remove unused var `err'.
11565 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
11566 `killflag'.
11567 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
11568 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
11569 first use.
11570 * eshell/em-glob.el (eshell-glob-matches, message-shown):
11571 Move declaration before first use.
11572 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
11573 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
11574 rely on cl-return.
11575
11576 2013-09-12 Glenn Morris <rgm@gnu.org>
11577
11578 * term/ns-win.el (global-map): Remove binding for ispell-next,
11579 deleted 1999-05-29. (Bug#15357)
11580
11581 2013-09-11 Glenn Morris <rgm@gnu.org>
11582
11583 * echistory.el (electric-command-history): Remove call to deleted func.
11584
11585 * play/landmark.el (landmark-mode): Fix typos.
11586
11587 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
11588 Check cvs-sort-ignore-file is bound.
11589
11590 * savehist.el: No need for cl when compiling on Emacs.
11591
11592 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11593
11594 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
11595 (bug#15338).
11596 (eshell-self-insert-command, eshell-send-invisible):
11597 Remove unused argument.
11598 (eshell-handle-control-codes): Remove unused var `orig'.
11599 Avoid delete-backward-char.
11600
11601 * files.el (set-auto-mode): Simplify a bit further.
11602
11603 2013-09-11 Glenn Morris <rgm@gnu.org>
11604
11605 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
11606 (set-auto-mode): Don't regexp-quote elements.
11607 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
11608 * progmodes/cc-mode.el (interpreter-mode-alist):
11609 * progmodes/ruby-mode.el (interpreter-mode-alist):
11610 Revert previous change.
11611
11612 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * play/snake.el (snake-mode):
11615 * play/mpuz.el (mpuz-mode):
11616 * play/landmark.el (lm-mode):
11617 * play/blackbox.el (blackbox-mode):
11618 * play/5x5.el (5x5-mode):
11619 * obsolete/options.el (Edit-options-mode):
11620 * net/quickurl.el (quickurl-list-mode):
11621 * net/newst-treeview.el (newsticker-treeview-mode):
11622 * mail/rmailsum.el (rmail-summary-mode):
11623 * mail/mspools.el (mspools-mode):
11624 * locate.el (locate-mode):
11625 * ibuffer.el (ibuffer-mode):
11626 * emulation/ws-mode.el (wordstar-mode):
11627 * emacs-lisp/debug.el (debugger-mode):
11628 * array.el (array-mode):
11629 * net/eudc.el (eudc-mode): Use define-derived-mode.
11630 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
11631 Move initialization into declaration.
11632 (mairix-searches-mode): Use define-derived-mode.
11633 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
11634 (eudc-edit-hotlist): Use dolist.
11635 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
11636 (Man-mode): Use define-derived-mode.
11637 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
11638 (Info-edit-mode): Use define-derived-mode.
11639 (Info-cease-edit): Use Info-mode.
11640 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
11641 into declaration.
11642 (eshell-mode): Use define-derived-mode.
11643 * chistory.el (command-history-mode-map): Rename from
11644 command-history-map.
11645 (command-history-mode): Use define-derived-mode.
11646 (Command-history-setup): Remove function.
11647 * calc/calc.el (calc-trail-mode-map): New var.
11648 (calc-trail-mode): Use define-derived-mode.
11649 (calc-trail-buffer): Set calc-main-buffer manually.
11650 * bookmark.el (bookmark-insert-annotation): New function.
11651 (bookmark-edit-annotation): Use it.
11652 (bookmark-edit-annotation-mode): Make it a proper major mode.
11653 (bookmark-send-edited-annotation): Use derived-mode-p.
11654 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
11655 closer to its ideal place. Use \' to match EOS.
11656
11657 * profiler.el (profiler-calltree-find): Use function-equal.
11658
11659 2013-09-10 Glenn Morris <rgm@gnu.org>
11660
11661 * files.el (interpreter-mode-alist): Convert to regexps.
11662 (set-auto-mode): Adapt for this. (Bug#15306)
11663 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
11664 Comment out unused variable.
11665 * progmodes/cc-mode.el (interpreter-mode-alist):
11666 * progmodes/python.el (interpreter-mode-alist):
11667 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
11668 * progmodes/sh-script.el (sh-set-shell):
11669 No longer use interpreter-mode-alist to get list of shells.
11670
11671 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
11672
11673 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * simple.el: Use set-temporary-overlay-map for universal-argument.
11676 (universal-argument-map): Don't use default-bindings (bug#15317).
11677 Bind switch-frame explicitly. Replace universal-argument-minus with
11678 a conditional binding.
11679 (universal-argument-num-events, saved-overriding-map): Remove.
11680 (restore-overriding-map): Remove.
11681 (universal-argument--mode): Rename from save&set-overriding-map,
11682 and rewrite.
11683 (universal-argument, universal-argument-more, negative-argument)
11684 (digit-argument): Adjust accordingly.
11685 (universal-argument-minus): Remove.
11686 (universal-argument-other-key): Remove.
11687
11688 * subr.el (with-demoted-errors): Add `format' argument.
11689
11690 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
11691
11692 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
11693 `tramp-cleanup-connection'.
11694
11695 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
11696 parameters KEEP-DEBUG and KEEP-PASSWORD.
11697
11698 * net/tramp.el (tramp-file-name-handler):
11699 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
11700 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11701 (tramp-maybe-open-connection):
11702 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
11703 Use `tramp-cleanup-connection'.
11704
11705 * net/tramp-sh.el (tramp-maybe-open-connection):
11706 Catch 'uname-changed inside the progress reporter.
11707
11708 2013-09-10 Glenn Morris <rgm@gnu.org>
11709
11710 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
11711
11712 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
11713 returns "alternate access method" in mode (eg "-rw-r--r--.").
11714
11715 2013-09-08 Glenn Morris <rgm@gnu.org>
11716
11717 * saveplace.el (load-save-place-alist-from-file):
11718 Demote errors. (Bug#15305)
11719
11720 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
11721
11722 Improve compatibility with older Emacsen, and XEmacs.
11723
11724 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
11725 only if it is bound. It isn't for XEmacs.
11726 (with-tramp-progress-reporter): Do not let-bind `result'.
11727 This yields to scoping errors in XEmacs.
11728 (tramp-handle-make-auto-save-file-name): New function, moved from
11729 tramp-sh.el.
11730
11731 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
11732 for `make-auto-save-file-name'.
11733 (tramp-adb--gnu-switches-to-ash):
11734 Use `tramp-compat-replace-regexp-in-string'.
11735
11736 * net/tramp-cache.el (tramp-cache-print): Call
11737 `substring-no-properties' only if it is bound. It isn't for XEmacs.
11738
11739 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
11740 bound. It isn't for XEmacs.
11741
11742 * net/tramp-compat.el (tramp-compat-copy-file):
11743 Catch `wrong-number-of-arguments' error.
11744 (tramp-compat-replace-regexp-in-string): New defun.
11745
11746 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
11747 for `make-auto-save-file-name'.
11748 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
11749 `copy-file'.
11750 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
11751 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
11752 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
11753
11754 * net/tramp-gw.el (tramp-gw-open-network-stream):
11755 Use `tramp-compat-replace-regexp-in-string'.
11756
11757 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11758 Call `tramp-handle-make-auto-save-file-name'.
11759 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
11760 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11761 (tramp-sh-file-inotifywait-process-filter):
11762 Use `tramp-compat-replace-regexp-in-string'.
11763 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
11764
11765 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
11766 for `make-auto-save-file-name'.
11767 (tramp-smb-handle-copy-directory):
11768 Call `tramp-compat-replace-regexp-in-string'.
11769 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
11770 (tramp-smb-handle-copy-file): Improve error message.
11771 (tramp-smb-handle-rename-file): Rename directly only in case
11772 `newname' does not exist yet. This is a restriction of smbclient.
11773 (tramp-smb-maybe-open-connection): Rerun the function only when
11774 `auth-sources' is non-nil.
11775
11776 2013-09-08 Kenichi Handa <handa@gnu.org>
11777
11778 * international/characters.el: Set category "^" (Combining) for
11779 more characters.
11780
11781 2013-09-07 Alan Mackenzie <acm@muc.de>
11782
11783 Correctly fontify Java class constructors.
11784 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
11785 in Java Mode.
11786 (c-recognize-typeless-decls): Set the Java value to t.
11787 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11788 While handling a "(", add a check for, effectively, Java, and handle a
11789 "typeless" declaration there.
11790
11791 2013-09-07 Roland Winkler <winkler@gnu.org>
11792
11793 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
11794 field subtitle for entry type book.
11795
11796 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11797
11798 * minibuffer.el: Make minibuffer-complete call completion-in-region
11799 rather than other way around.
11800 (completion--some, completion-pcm--find-all-completions):
11801 Don't delay signals when debugging.
11802 (minibuffer-completion-contents): Beware fields within the
11803 minibuffer contents.
11804 (completion-all-sorted-completions): Use defvar-local.
11805 (completion--do-completion, completion--cache-all-sorted-completions)
11806 (completion-all-sorted-completions, minibuffer-force-complete):
11807 Add args `beg' and `end'.
11808 (completion--in-region-1): New fun, extracted from minibuffer-complete.
11809 (minibuffer-complete): Use completion-in-region.
11810 (completion-complete-and-exit): New fun, extracted from
11811 minibuffer-complete-and-exit.
11812 (minibuffer-complete-and-exit): Use it.
11813 (completion--complete-and-exit): Rename from
11814 minibuffer--complete-and-exit.
11815 (completion-in-region--single-word): New function, extracted from
11816 minibuffer-complete-word.
11817 (minibuffer-complete-word): Use it.
11818 (display-completion-list): Make `common-substring' argument obsolete.
11819 (completion--in-region): Call completion--in-region-1 instead of
11820 minibuffer-complete.
11821 (completion-help-at-point): Pass boundaries to
11822 minibuffer-completion-help as args rather than via an overlay.
11823 (completion-pcm--string->pattern): Use `any-delim'.
11824 (completion-pcm--optimize-pattern): New function.
11825 (completion-pcm--pattern->regex): Handle `any-delim'.
11826 * icomplete.el (icomplete-forward-completions)
11827 (icomplete-backward-completions, icomplete-completions):
11828 Adjust calls to completion-all-sorted-completions and
11829 completion--cache-all-sorted-completions.
11830 (icomplete-with-completion-tables): Default to t.
11831 * emacs-lisp/crm.el (crm--current-element): Rename from
11832 crm--select-current-element. Don't put an overlay but return the
11833 boundaries instead.
11834 (crm--completion-command): Take two new args to bind to the boundaries.
11835 (crm-completion-help): Adjust accordingly.
11836 (crm-complete): Use completion-in-region.
11837 (crm-complete-word): Use completion-in-region--single-word.
11838 (crm-complete-and-exit): Use completion-complete-and-exit.
11839
11840 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
11843 than dynamically.
11844
11845 2013-09-06 Juri Linkov <juri@jurta.org>
11846
11847 * info.el (Info-display-images-node): When image file doesn't exist
11848 display text version of the image if it's provided in the Info file.
11849 Otherwise, display the location of missing image from SRC attribute.
11850 Add help-echo text property from ALT attribute. (Bug#15279)
11851
11852 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
11855 (edit-abbrevs-mode): Use define-derived-mode.
11856
11857 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
11858 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
11859 that it's defined.
11860 (epa-key-list-mode, epa-key-mode, epa-info-mode):
11861 Use define-derived-mode.
11862
11863 * epg.el (epg-start-encrypt): Minor CSE simplification.
11864
11865 2013-09-06 William Xu <william.xwl@gmail.com>
11866
11867 * arc-mode.el: Add support for 7za (bug#15264).
11868 (archive-7z-program): New var.
11869 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
11870 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
11871 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
11872
11873 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
11874
11875 Remove URL syntax.
11876
11877 * net/tramp.el (tramp-syntax, tramp-prefix-format)
11878 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
11879 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
11880 (tramp-postfix-host-format, tramp-file-name-regexp)
11881 (tramp-completion-file-name-regexp)
11882 (tramp-completion-dissect-file-name)
11883 (tramp-handle-substitute-in-file-name): Remove 'url case.
11884 (tramp-file-name-regexp-url)
11885 (tramp-completion-file-name-regexp-url): Remove constants.
11886
11887 2013-09-06 Glenn Morris <rgm@gnu.org>
11888
11889 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
11890
11891 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
11892
11893 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
11894 keywords" below "here-doc beginnings" (Bug#15270).
11895
11896 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 * subr.el (pop): Use `car-safe'.
11899 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
11900 to detect unused `pop' return value.
11901
11902 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
11903 var `block-regexp'.
11904 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
11905 (python-fill-string): Remove unused var `marker'.
11906 (python-skeleton-add-menu-items): Remove unused var `items'.
11907
11908 * international/mule-cmds.el: Require CL.
11909 (find-coding-systems-for-charsets): Avoid add-to-list.
11910 (sanitize-coding-system-list): New function, extracted from
11911 select-safe-coding-system-interactively.
11912 (select-safe-coding-system-interactively): Use it.
11913 (read-input-method-name): Accept symbols for `default'.
11914
11915 * emacs-lisp/advice.el (defadvice): Add indent rule.
11916
11917 2013-09-05 Daniel Hackney <dan@haxney.org>
11918
11919 * dired-x.el:
11920 * net/ange-ftp.el:
11921 * net/browse-url.el:
11922 * net/dbus.el:
11923 * net/eudc.el:
11924 * net/eudcb-ldap.el:
11925 * net/eww.el:
11926 * net/imap.el:
11927 * printing.el:
11928 * vc/ediff-diff.el:
11929 * vc/ediff-init.el:
11930 * vc/ediff-merg.el:
11931 * vc/ediff-mult.el:
11932 * vc/ediff-util.el:
11933 * vc/ediff-wind.el:
11934 * vc/ediff.el:
11935 * vc/emerge.el:
11936 * vc/pcvs.el:
11937 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
11938 byte compiler. Remove some unused let-bound variables.
11939
11940 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
11943 a "ref-cell", since it gets better optimized (bug#14883).
11944
11945 2013-09-05 Glenn Morris <rgm@gnu.org>
11946
11947 * progmodes/cc-awk.el (c-forward-sws): Declare.
11948
11949 2013-09-04 Glenn Morris <rgm@gnu.org>
11950
11951 * generic-x.el [rul-generic-mode]: Require cc-mode.
11952 (c++-mode-syntax-table): Declare.
11953 (rul-generic-mode-syntax-table): Init in the defvar.
11954
11955 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
11958 (vc-do-command, vc-set-async-update):
11959 * vc/vc-mtn.el (vc-mtn-dir-status):
11960 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
11961 (vc-hg-pull, vc-hg-merge-branch):
11962 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
11963 (vc-git-merge-branch):
11964 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
11965 (vc-cvs-dir-status-files):
11966 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
11967 (vc-bzr-dir-status-files):
11968 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
11969 * vc/vc-annotate.el: Use lexical-binding.
11970 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
11971 (vc-sentinel-movepoint): Declare.
11972 (vc-annotate): Don't use `goto-line'.
11973 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
11974 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
11975 (vc-sentinel-movepoint): Declare.
11976 * vc/vc-svn.el: Use lexical-binding.
11977 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
11978 * vc/vc-sccs.el:
11979 * vc/vc-rcs.el: Use lexical-binding.
11980
11981 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
11982 `deleted'. Don't drop errors silently.
11983
11984 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
11985
11986 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
11987
11988 * vc/vc.el (vc-ignore): Rewrite.
11989 (vc-default-ignore): New function.
11990 (vc-default-ignore-completion-table): Use find-ignore-file.
11991
11992 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
11993 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
11994 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
11995 Remove. Most code moved to vc.el.
11996
11997 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
12000 * net/tramp-smb.el (tramp-smb-get-file-entries):
12001 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
12002 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
12003
12004 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
12005 Update call to it.
12006 (eww-change-select): Remove unused var `properties'.
12007 (eww-make-unique-file-name): Remove unused var `base'.
12008
12009 * finder.el (finder-compile-keywords): Don't mess with windows.
12010
12011 * calculator.el (calculator-funcall): Fix typo in last change.
12012
12013 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
12014
12015 * emacs-lisp/package.el (package-activate-1): Don't let a missing
12016 <pkg>-autoloads.el file stop us.
12017
12018 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
12019 warnings, and factor out common code.
12020
12021 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
12022
12023 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
12024 two-character operators and whether the character preceding them
12025 changes their meaning (Bug#15208).
12026
12027 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12028
12029 Format code sent to Python shell for robustness.
12030 * progmodes/python.el (python-shell-buffer-substring):
12031 New function.
12032 (python-shell-send-region, python-shell-send-buffer): Use it.
12033
12034 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
12035
12036 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
12037 * net/tramp.el (tramp-user-error): ... here.
12038 (tramp-find-method, tramp-check-proper-host)
12039 (tramp-dissect-file-name, tramp-debug-message)
12040 (tramp-handle-shell-command):
12041 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12042 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
12043
12044 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
12045
12046 2013-09-02 Martin Rudalics <rudalics@gmx.at>
12047
12048 * avoid.el (mouse-avoidance-point-position)
12049 (mouse-avoidance-too-close-p): Handle case where posn-at-point
12050 returns nil.
12051
12052 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
12053
12054 * progmodes/python.el (python-shell-completion-get-completions):
12055 Drop use of deleted `comint-last-prompt-overlay'.
12056 (python-nav-if-name-main): New command.
12057
12058 2013-09-01 Glenn Morris <rgm@gnu.org>
12059
12060 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12061 Avoid leading space in $wins. Otherwise the sed command used by
12062 eg compile-main ends up containing "/*.el". (Bug#15170)
12063
12064 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
12065
12066 2013-08-30 Glenn Morris <rgm@gnu.org>
12067
12068 * emacs-lisp/bytecomp.el (byte-recompile-directory):
12069 Fix is-this-a-directory logic. (Bug#15220)
12070
12071 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * textmodes/css-mode.el: Use SMIE.
12074 (css-smie-grammar): New var.
12075 (css-smie--forward-token, css-smie--backward-token)
12076 (css-smie-rules): New functions.
12077 (css-mode): Use them.
12078 (css-navigation-syntax-table): Remove var.
12079 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
12080 (css-indent-calculate, css-indent-line): Remove functions.
12081
12082 Misc changes to reduce use of `(lambda...); and other cleanups.
12083 * cus-edit.el: Use lexical-binding.
12084 (customize-push-and-save, customize-apropos)
12085 (custom-buffer-create-internal): Use closures.
12086 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
12087 * progmodes/ada-xref.el: Use setq.
12088 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
12089 * dframe.el: Use lexical-binding.
12090 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
12091 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
12092 * descr-text.el: Use lexical-binding.
12093 (describe-text-widget, describe-text-sexp, describe-property-list):
12094 Use closures.
12095 * comint.el (comint-history-isearch-push-state): Use a closure.
12096 * calculator.el: Use lexical-binding.
12097 (calculator-number-to-string): Make it work with lexical-binding.
12098 (calculator-funcall): Same and use cl-letf.
12099
12100 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
12101 (lisp--company-doc-string, lisp--company-location): New functions.
12102 (lisp-completion-at-point): Use them to improve Company support.
12103
12104 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
12105 params of lambda expressions.
12106 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
12107 (ruby-smie--opening-pipe-p): New function.
12108 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
12109 symbols and matched |...| for formal params.
12110 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
12111 from being treated as hanging. Handle "rescue".
12112
12113 2013-08-29 Glenn Morris <rgm@gnu.org>
12114
12115 * progmodes/cc-engine.el (c-pull-open-brace):
12116 Move definition before use.
12117
12118 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
12121 are immutable. Don't use `unsafe' any more.
12122 (cl--defsubst-expand): Don't substitute at the same time as keeping
12123 a residual unused let-binding. Don't use `unsafe' any more.
12124
12125 2013-08-29 Glenn Morris <rgm@gnu.org>
12126
12127 * calendar/cal-china.el (calendar-chinese-year-cache):
12128 Recenter on 2015.
12129
12130 * nxml/nxml-util.el (nxml-debug-clear-inside):
12131 Use cl-loop rather than loop.
12132
12133 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
12134
12135 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
12136
12137 2013-08-28 Glenn Morris <rgm@gnu.org>
12138
12139 * progmodes/antlr-mode.el: No need to require cc-mode twice.
12140
12141 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
12142
12143 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
12144
12145 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12146
12147 * simple.el (repeat-complex-command--called-interactively-skip):
12148 New function.
12149 (repeat-complex-command): Use it (bug#14136).
12150
12151 * progmodes/cc-mode.el: Minor cleanup of var declarations.
12152 (c-define-abbrev-table): Add `doc' argument.
12153 (c-mode-abbrev-table, c++-mode-abbrev-table)
12154 (objc-mode-abbrev-table, java-mode-abbrev-table)
12155 (idl-mode-abbrev-table, pike-mode-abbrev-table)
12156 (awk-mode-abbrev-table): Use it.
12157 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
12158 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
12159 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
12160 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
12161 Move initialization into the declaration; and remove any
12162 autoload cookie.
12163
12164 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
12165 and dynamic let binding.
12166
12167 * vc/smerge-mode.el: Remove redundant :group args.
12168
12169 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
12170 to load-path.
12171
12172 2013-08-28 Juri Linkov <juri@jurta.org>
12173
12174 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
12175 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
12176 (isearch-other-meta-char): Handle an undefined shifted printing
12177 character by downshifting it. (Bug#15200)
12178
12179 2013-08-28 Juri Linkov <juri@jurta.org>
12180
12181 * isearch.el (isearch-search): Change regexp error message for
12182 non-regexp searches. (Bug#15166)
12183
12184 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
12185
12186 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
12187 for portability to hosts where /bin/sh has problems.
12188
12189 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12190
12191 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
12192
12193 2013-08-27 Juri Linkov <juri@jurta.org>
12194
12195 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
12196 in the keyboard macro. (Bug#15126)
12197
12198 2013-08-27 Juri Linkov <juri@jurta.org>
12199
12200 * isearch.el (isearch-quote-char): Comment out converting unibyte
12201 to multibyte, thus syncing with its `quoted-insert' counterpart.
12202 (Bug#15166)
12203
12204 2013-08-27 Martin Rudalics <rudalics@gmx.at>
12205
12206 * window.el (display-buffer-use-some-window): Add missing
12207 argument in call of get-largest-window (Bug#15185).
12208 Reported by Stephen Leake.
12209
12210 2013-08-27 Glenn Morris <rgm@gnu.org>
12211
12212 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
12213
12214 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
12215
12216 * progmodes/python.el (python-font-lock-keywords): Don't return nil
12217 from a matcher-function unless there's no more matches (bug#15161).
12218
12219 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12220
12221 * minibuffer.el: Revert change from 2013-08-20.
12222
12223 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
12224 with text property `tramp-default', if appropriate.
12225 (tramp-check-proper-host): New defun.
12226 (tramp-dissect-file-name): Do not check hostname. Revert change
12227 of 2013-03-18.
12228 (tramp-backtrace): Make VEC-OR-PROC optional.
12229
12230 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
12231 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12232 * net/tramp-sh.el (tramp-maybe-open-connection):
12233 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
12234 Apply `tramp-check-proper-host'.
12235
12236 2013-08-26 Tassilo Horn <tsdh@gnu.org>
12237
12238 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
12239 lambda expression in order to have `describe-variable' display it.
12240
12241 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
12242
12243 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
12244 BUF can be optional. (Bug#15186)
12245
12246 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
12247
12248 * progmodes/flymake.el (flymake-get-real-file-name-function):
12249 Fix broken customization. (Bug#15184)
12250
12251 2013-08-25 Alan Mackenzie <acm@muc.de>
12252
12253 Improve indentation of bracelists defined by macros (without "=").
12254
12255 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
12256 expansion begins with "{", regard it as bracelist when it doesn't
12257 contain a ";".
12258
12259 Parse C++ inher-intro when there's a template split over 2 lines.
12260
12261 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
12262 rigorously the search for "class" etc. followed by ":".
12263
12264 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
12265 random languages a regexp which never matches rather than nil.
12266
12267 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
12268
12269 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
12270 (c-awk-regexp-one-line-possibly-open-char-list-re)
12271 (c-awk-one-line-possibly-open-regexp-re)
12272 (c-awk-one-line-non-syn-ws*-re): Remove.
12273 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
12274 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
12275 (c-awk-space*-unclosed-regexp-/-re): New constants.
12276 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
12277 aren't regexp delimiters.
12278
12279 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
12280 handling for a rare situation in AWK Mode involving unterminated
12281 strings/regexps.
12282
12283 2013-08-23 Glenn Morris <rgm@gnu.org>
12284
12285 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
12286
12287 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
12288
12289 * files.el (create-file-buffer): If the result would begin with
12290 spaces, prepend a "|" instead of removing them. (Bug#15162)
12291
12292 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12293
12294 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
12295 text-properties (bug#15155).
12296
12297 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
12298 exist any more.
12299 (calc-keypad-redraw): Remove unused var `pad'.
12300 (calc-keypad-press): Remove unused var `menu'.
12301
12302 2013-08-23 Martin Rudalics <rudalics@gmx.at>
12303
12304 * window.el (display-buffer-pop-up-frame):
12305 Call pop-up-frame-function with BUFFER current so `make-frame' will
12306 use it as the new frame's buffer (Bug#15133).
12307
12308 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * calendar/timeclock.el: Minor cleanups.
12311 (timeclock-ask-before-exiting, timeclock-use-display-time):
12312 Use `symbol'.
12313 (timeclock-modeline-display): Define as alias before the
12314 actual definition.
12315 (timeclock-mode-line-display): Use define-minor-mode.
12316 (timeclock-day-list-template): Make it a function, add an argument.
12317 (timeclock-day-list-required, timeclock-day-list-length)
12318 (timeclock-day-list-debt, timeclock-day-list-span)
12319 (timeclock-day-list-break): Adjust calls accordingly.
12320
12321 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
12322
12323 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
12324 Use read--expression so that completion works again.
12325
12326 2013-08-21 Sam Steingold <sds@gnu.org>
12327
12328 Add rudimentary inferior shell interaction
12329 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
12330 (sh-set-shell): Reset it.
12331 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
12332 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
12333
12334 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * align.el: Use lexical-binding.
12337 (align-region): Simplify accordingly.
12338
12339 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
12340
12341 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
12342
12343 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
12344 `non-essential' up.
12345
12346 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
12347
12348 * net/tramp.el:
12349 * net/tramp-adb.el:
12350 * net/tramp-cmds.el:
12351 * net/tramp-ftp.el:
12352 * net/tramp-gvfs.el:
12353 * net/tramp-gw.el:
12354 * net/tramp-sh.el: Don't wrap external variable declarations by
12355 `eval-when-compile'.
12356
12357 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
12358
12359 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
12360 now that Emacs supports ImageMagick animations.
12361
12362 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
12363
12364 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
12365 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
12366
12367 2013-08-16 Martin Rudalics <rudalics@gmx.at>
12368
12369 * window.el (mouse-autoselect-window-select): Do autoselect when
12370 mouse pointer is on margin.
12371
12372 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
12373
12374 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
12375
12376 2013-08-16 Glenn Morris <rgm@gnu.org>
12377
12378 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
12379 Handle "Remote Directory" response of some clients. (Bug#15058)
12380
12381 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
12382 Tweak warning. (Bug#14926)
12383
12384 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
12385 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
12386
12387 * image-mode.el (image-mode-map): Add menu items to reverse,
12388 increase, decrease, reset animation speed.
12389 (image--set-speed, image-increase-speed, image-decrease-speed)
12390 (image-reverse-speed, image-reset-speed): New functions.
12391 (image-mode-map): Add bindings for speed commands.
12392
12393 * image.el (image-animate-get-speed, image-animate-set-speed):
12394 New functions.
12395 (image-animate-timeout): Respect image :speed property.
12396
12397 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12398
12399 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
12400 previous line (bug#15101).
12401 (debugger-eval-expression, debugger-record-expression):
12402 Use read--expression (bug#15102).
12403
12404 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
12405
12406 Remove byte compiler warnings, visible when compiling with
12407 `byte-compile-force-lexical-warnings' set to t.
12408
12409 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
12410 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
12411 (tramp-handle-unhandled-file-name-directory)
12412 (tramp-handle-file-notify-add-watch, tramp-action-login)
12413 (tramp-action-succeed, tramp-action-permission-denied)
12414 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
12415 arguments with "_".
12416
12417 * net/tramp-adb.el (tramp-adb-parse-device-names)
12418 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
12419 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
12420 (tramp-adb-handle-file-truename): Remove unused arguments.
12421
12422 * net/tramp-cache.el (tramp-flush-directory-property)
12423 (tramp-flush-connection-property, tramp-list-connections)
12424 (tramp-parse-connection-properties): Prefix unused arguments with "_".
12425
12426 * net/tramp-compat.el (tramp-compat-make-temp-file):
12427 Rename FILENAME to F.
12428
12429 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
12430 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
12431 (tramp-zeroconf-parse-workstation-device-names)
12432 (tramp-zeroconf-parse-webdav-device-names)
12433 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
12434
12435 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
12436 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
12437
12438 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
12439 arguments.
12440 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
12441 (tramp-sh-handle-insert-file-contents-literally)
12442 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
12443 with "_".
12444 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
12445 Remove unused variables.
12446
12447 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12448 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
12449 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
12450
12451 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
12452 Make them a defconst.
12453 (tramp-uuencode-region): Remove unused variable.
12454
12455 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
12456
12457 * frameset.el (frameset--prop-setter): New function.
12458 (frameset-prop): Add gv-setter declaration.
12459 (frameset-filter-minibuffer): Deal with the case that the minibuffer
12460 parameter was already set in FILTERED. Doc fix.
12461 (frameset--record-minibuffer-relationships): Allow saving a
12462 minibufferless frame without its corresponding minibuffer frame.
12463 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
12464 frame, if the frame id matches.
12465 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
12466 frames before orphaned ones.
12467 (frameset-restore): Warn about orphaned windows, instead of error out.
12468
12469 2013-08-14 Martin Rudalics <rudalics@gmx.at>
12470
12471 * window.el (window-make-atom): Don't overwrite parameter
12472 already present.
12473 (display-buffer-in-atom-window): Handle special case where we
12474 split an already atomic window.
12475 (window--major-non-side-window, display-buffer-in-side-window)
12476 (window--side-check): Ignore minibuffer window when walking
12477 window tree.
12478 (window-deletable-p): Return 'frame only if no other frame uses
12479 our minibuffer window.
12480 (record-window-buffer): Run buffer-list-update-hook.
12481 (split-window): Make sure window--check-frame won't destroy an
12482 existing atomic window in case the new window gets nested
12483 inside.
12484 (display-buffer-at-bottom): Ignore minibuffer window when
12485 walking window tree. Don't split a side window.
12486 (pop-to-buffer): Don't set-buffer here, the select-window call
12487 should do that.
12488 (mouse-autoselect-window-select): Autoselect only if we are in the
12489 text portion of the window.
12490
12491 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12492
12493 * net/shr.el (shr-parse-image-data): New function to grab both the
12494 data itself and the Content-Type.
12495 (shr-put-image): Use it.
12496
12497 * net/eww.el (eww-display-image): Ditto.
12498
12499 * image.el (image-content-type-suffixes): New variable.
12500
12501 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12502
12503 * progmodes/python.el (python-imenu--build-tree)
12504 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
12505
12506 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
12507
12508 * simple.el (backward-word): Mention the optional argument.
12509
12510 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * frameset.el (frameset--make): Rename constructor from make-frameset.
12513 (frameset-p, frameset-valid-p): Don't autoload.
12514 (frameset-valid-p): Use normal accessors.
12515
12516 2013-08-13 Glenn Morris <rgm@gnu.org>
12517
12518 * progmodes/compile.el (compile-command): Tweak example in doc.
12519 * obsolete/scribe.el (scribe-mode):
12520 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
12521
12522 * mail/feedmail.el (feedmail-confirm-outgoing)
12523 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
12524
12525 * cus-start.el (truncate-partial-width-windows): Fix type.
12526
12527 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
12528
12529 * net/shr.el (shr-table-horizontal-line): Fix custom type.
12530
12531 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * emacs-lisp/timer.el (timer--time-setter): New function.
12534 (timer--time): Use it as gv-setter.
12535
12536 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
12537 setter is not a symbol.
12538
12539 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
12540
12541 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
12542 if sending fails. This makes debugging easier.
12543
12544 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
12545
12546 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
12547 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
12548 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
12549
12550 2013-08-12 Eli Zaretskii <eliz@gnu.org>
12551
12552 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
12553
12554 2013-08-12 Glenn Morris <rgm@gnu.org>
12555
12556 * format.el (format-annotate-function):
12557 Handle read-only text properties in the source. (Bug#14887)
12558
12559 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12560
12561 * net/eww.el (eww-display-html): Ignore coding system errors.
12562 One web site uses "utf-8lias" as the coding system.
12563
12564 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
12565
12566 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
12567
12568 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
12569
12570 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
12571 (tutorial--detailed-help): Remove unused local variables.
12572 (tutorial--save-tutorial-to): Use ignore-errors.
12573 (help-with-tutorial): Use looking-at-p.
12574
12575 * view.el (view-buffer-other-window, view-buffer-other-frame):
12576 Mark unused arguments.
12577
12578 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
12579 (woman-select-symbol-fonts, woman, woman-find-file)
12580 (woman-insert-file-contents, woman-non-underline-faces):
12581 Use string-match-p.
12582 (woman1-unquote): Move declaration.
12583
12584 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
12585 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
12586 argument. Remove unused local variable.
12587 (xml-parse-elem-type): Use string-match-p.
12588 (xml-substitute-numeric-entities): Use ignore-errors.
12589
12590 * calculator.el (calculator): Mark unused argument.
12591 (calculator-paste, calculator-quit, calculator-integer-p):
12592 Use ignore-errors.
12593 (calculator-string-to-number, calculator-decimal, calculator-exp)
12594 (calculator-op-or-exp): Use string-match-p.
12595
12596 * dired.el (dired-buffer-more-recently-used-p): Declare.
12597 (dired-insert-set-properties, dired-insert-old-subdirs):
12598 Use ignore-errors.
12599
12600 * dired-aux.el (dired-compress): Use ignore-errors.
12601 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
12602 (dired-do-async-shell-command, dired-do-shell-command)
12603 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
12604 (dired-insert-subdir-validate): Use string-match-p.
12605 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
12606 (dired-add-entry): Use string-match-p, looking-at-p.
12607 (dired-insert-subdir-newpos): Remove unused local variable.
12608
12609 * filenotify.el (file-notify-callback): Remove unused local variable.
12610
12611 * filesets.el (filesets-error): Mark unused argument.
12612 (filesets-which-command-p, filesets-filter-dir-names)
12613 (filesets-directory-files, filesets-get-external-viewer)
12614 (filesets-ingroup-get-data): Use string-match-p.
12615
12616 * find-file.el (ff-other-file-name, ff-other-file-name)
12617 (ff-find-the-other-file, ff-cc-hh-converter):
12618 Remove unused local variables.
12619 (ff-get-file-name): Use string-match-p.
12620 (ff-all-dirs-under): Use ignore-errors.
12621
12622 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
12623 (follow-select-if-visible): Remove unused local variable.
12624
12625 * forms.el (read-file-filter): Move declaration.
12626 (forms--make-format, forms--make-parser, forms-insert-record):
12627 Quote function with #'.
12628 (forms--update): Use string-match-p. Quote function with #'.
12629
12630 * help-mode.el (help-dir-local-var-def): Mark unused argument.
12631 (help-make-xrefs): Use looking-at-p.
12632 (help-xref-on-pp): Use looking-at-p, ignore-errors.
12633
12634 * ibuffer.el (ibuffer-ext-visible-p): Declare.
12635 (ibuffer-confirm-operation-on): Use string-match-p.
12636
12637 * msb.el (msb-item-handler, msb-dired-item-handler):
12638 Mark unused arguments.
12639
12640 * ses.el (ses-decode-cell-symbol)
12641 (ses-kill-override): Remove unused local variable.
12642 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
12643 (ses-load): Use ignore-errors, looking-at-p.
12644 (ses-jump-safe): Use ignore-errors.
12645 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
12646
12647 * tabify.el (untabify, tabify): Mark unused arguments.
12648
12649 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
12650 Mark unused argument.
12651 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
12652 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
12653
12654 * emacs-lisp/timer.el (timer--time): Define setter with
12655 gv-define-setter to avoid deprecation warning.
12656
12657 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
12658 (*record-cmpl-statistics-p*): Remove (was commented out).
12659 (cmpl-statistics-block): Remove (body was commented out).
12660 All callers changed.
12661 (add-completions-from-buffer, load-completions-from-file):
12662 Remove unused variables.
12663
12664 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12665
12666 * filecache.el (file-cache-delete-file-list):
12667 Print message only when told so.
12668 (file-cache-files-matching): Use #' in mapconcat argument.
12669
12670 * ffap.el (ffap-url-at-point): Fix reference to variable
12671 thing-at-point-default-mail-uri-scheme.
12672
12673 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 * subr.el (define-error): New function.
12676 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
12677 error-file-not-found and define with define-error.
12678 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
12679 and define with define-error.
12680 * userlock.el (file-locked, file-supersession):
12681 * simple.el (mark-inactive):
12682 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
12683 * progmodes/ada-mode.el (ada-mode-errors):
12684 * play/life.el (life-extinct):
12685 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
12686 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
12687 * nxml/rng-util.el (rng-error):
12688 * nxml/rng-uri.el (rng-uri-error):
12689 * nxml/rng-match.el (rng-compile-error):
12690 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
12691 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
12692 * nxml/nxml-rap.el (nxml-scan-error):
12693 * nxml/nxml-outln.el (nxml-outline-error):
12694 * net/soap-client.el (soap-error):
12695 * net/gnutls.el (gnutls-error):
12696 * net/ange-ftp.el (ftp-error):
12697 * mpc.el (mpc-proc-error):
12698 * json.el (json-error, json-readtable-error, json-unknown-keyword)
12699 (json-number-format, json-string-escape, json-string-format)
12700 (json-key-format, json-object-format):
12701 * jka-compr.el (compression-error):
12702 * international/quail.el (quail-error):
12703 * international/kkc.el (kkc-error):
12704 * emacs-lisp/ert.el (ert-test-failed):
12705 * calc/calc.el (calc-error, inexact-result, math-overflow)
12706 (math-underflow):
12707 * bookmark.el (bookmark-error-no-filename):
12708 * epg.el (epg-error): Define with define-error.
12709
12710 * time.el (display-time-event-handler)
12711 (display-time-next-load-average): Don't call sit-for since it seems
12712 unnecessary (bug#15045).
12713
12714 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
12715 Use #' instead of ' to quote functions.
12716 (checkdoc-output-mode): Use setq-local.
12717 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
12718 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
12719 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
12720 (checkdoc-ispell, checkdoc-ispell-current-buffer)
12721 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
12722 (checkdoc-ispell-message-text, checkdoc-ispell-start)
12723 (checkdoc-ispell-continue, checkdoc-ispell-comments)
12724 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
12725
12726 * ido.el (ido-completion-help): Fix up compiler warning.
12727
12728 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
12729
12730 * frameset.el (frameset-p): Add autoload cookie.
12731 (frameset--jump-to-register): New function, based on code moved from
12732 register.el.
12733 (frameset-to-register): Move from register.el. Adapt to `registerv'.
12734
12735 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
12736 (frameset-restore, frameset-save, frameset-session-filter-alist):
12737 Remove declarations.
12738 (register-alist): Doc fix.
12739 (frameset-to-register): Move to frameset.el.
12740 (jump-to-register, describe-register-1): Remove frameset-specific code.
12741
12742 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12743
12744 * allout-widgets.el (allout-widgets-pre-command-business)
12745 (allout-widgets-post-command-business)
12746 (allout-widgets-after-change-handler)
12747 (allout-decorate-item-and-context, allout-set-boundary-marker)
12748 (allout-body-modification-handler)
12749 (allout-graphics-modification-handler): Mark ignored arguments.
12750 (allout-widgets-post-command-business)
12751 (allout-widgets-exposure-change-processor)
12752 (allout-widgets-exposure-undo-processor)
12753 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
12754 (allout-parse-item-at-point, allout-decorate-item-guides)
12755 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
12756 * allout.el (epa-passphrase-callback-function): Declare.
12757 (allout-overlay-insert-in-front-handler)
12758 (allout-overlay-interior-modification-handler)
12759 (allout-isearch-end-handler, allout-chart-siblings)
12760 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
12761 (allout-yank-processing, allout-process-exposed)
12762 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
12763 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
12764 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
12765 (lisp-indent-defform): Mark ignored arguments.
12766 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
12767 (calculate-lisp-indent): Remove unused variables.
12768 * international/characters.el (indian-2-column, arabic-2-column)
12769 (tibetan): Mark ignored arguments.
12770 (use-cjk-char-width-table): Mark ignored arguments.
12771 Remove unused variables.
12772 * international/fontset.el (build-default-fontset-data)
12773 (x-compose-font-name, create-fontset-from-fontset-spec):
12774 Mark ignored arguments.
12775 (fontset-plain-name): Remove unused variables.
12776 * international/mule.el (charset-id, charset-bytes, generic-char-p)
12777 (keyboard-coding-system): Mark ignored arguments.
12778 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
12779 * help.el (resize-temp-buffer-window):
12780 * window.el (display-buffer-in-major-side-window)
12781 (display-buffer-in-side-window, display-buffer-in-previous-window):
12782 Remove unused variables.
12783 * isearch.el (isearch-forward-symbol):
12784 * version.el (emacs-bzr-version-bzr):
12785 * international/mule-cmds.el (current-language-environment):
12786 * term/common-win.el (x-handle-iconic, x-handle-geometry)
12787 (x-handle-display):
12788 * term/pc-win.el (x-list-fonts, x-display-planes)
12789 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
12790 (x-server-version, x-display-screens, x-display-mm-height)
12791 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
12792 (x-selection-owner-p, x-own-selection-internal)
12793 (x-disown-selection-internal, x-get-selection-internal)
12794 (msdos-initialize-window-system):
12795 * term/tty-colors.el (tty-color-alist, tty-color-clear):
12796 * term/x-win.el (x-handle-no-bitmap-icon):
12797 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
12798 (vc-default-find-file-hook, vc-default-extra-menu):
12799 Mark ignored arguments.
12800
12801 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12802
12803 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
12804 break-condition in the context of the debugged code (bug#12685).
12805
12806 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
12807
12808 * comint.el:
12809 Do not use an overlay to highlight the last prompt. (Bug#14744)
12810 (comint-mode): Make comint-last-prompt buffer local.
12811 (comint-last-prompt): New variable.
12812 (comint-last-prompt-overlay): Remove. Superseded by
12813 comint-last-prompt.
12814 (comint-snapshot-last-prompt, comint-output-filter):
12815 Use comint-last-prompt.
12816
12817 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12818
12819 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
12820 (frameset-save): Check validity of the resulting frameset.
12821
12822 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
12823
12824 * ido.el (ido-record-command): Add doc string.
12825
12826 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12827
12828 * frameset.el (frameset): Do not disable creation of the default
12829 frameset-p predicate. Doc fix.
12830 (frameset-valid-p): New function, copied from the old predicate-p.
12831 Add additional checks.
12832 (frameset-restore): Check with frameset-valid-p.
12833 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
12834 (frameset-name, frameset-description, frameset-properties)
12835 (frameset-states): Add docstring.
12836 (frameset-session-filter-alist, frameset-persistent-filter-alist)
12837 (frameset-filter-alist): Doc fixes.
12838
12839 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12840
12841 * frameset.el (frameset-p, frameset-prop): Doc fixes.
12842
12843 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
12844
12845 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
12846 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
12847 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
12848 (byte-compile-normal-call): Remove obsolescence check.
12849
12850 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
12851
12852 * frameset.el (frameset-restore): Doc fix.
12853
12854 * register.el (frameset-frame-id, frameset-frame-with-id)
12855 (frameset-p, frameset-restore, frameset-save): Declare.
12856 (register-alist): Document framesets.
12857 (frameset-session-filter-alist): Declare.
12858 (frameset-to-register): New function.
12859 (jump-to-register): Implement jumping to framesets. Doc fix.
12860 (describe-register-1): Describe framesets.
12861
12862 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
12863
12864 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
12865
12866 * desktop.el (desktop-save-frameset): Use new frameset-save args.
12867 Use lexical-binding.
12868
12869 * frameset.el (frameset): Use type vector, not list (incompatible
12870 change). Do not declare a new constructor, use the default one.
12871 Upgrade suggested properties `app', `name' and `desc' to slots `app',
12872 `name' and `description', respectively, and add read-only slot
12873 `timestamp'. Doc fixes.
12874 (frameset-copy, frameset-persistent-filter-alist)
12875 (frameset-filter-alist, frameset-switch-to-gui-p)
12876 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
12877 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
12878 (frameset-filter-iconified, frameset-keep-original-display-p):
12879 Doc fixes.
12880 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
12881 Rename from frameset-filter-(save|restore)-param. All callers changed.
12882 Doc fix.
12883 (frameset-p): Adapt to change to vector and be more thorough.
12884 Change arg name to OBJECT. Doc fix.
12885 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
12886 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
12887 All callers changed.
12888 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
12889 All callers changed.
12890 (frameset--record-minibuffer-relationships): Rename from
12891 frameset--process-minibuffer-frames. All callers changed.
12892 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
12893 Use new default constructor (again). Doc fix.
12894 (frameset--find-frame-if): Rename from `frameset--find-frame'.
12895 All callers changed.
12896 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
12897 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
12898 Doc fix.
12899 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
12900 PARAMETERS and WINDOW-STATE, respectively.
12901 (frameset-restore): Add new keyword argument PREDICATE.
12902 Reset frameset--target-display to nil. Doc fix.
12903
12904 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
12907 (bat-mode): Use it.
12908 (bat-mode-syntax-table): Mark \n as end-of-comment.
12909 (bat-font-lock-keywords): Remove comment rule.
12910
12911 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
12912 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
12913
12914 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
12915 (byte-compile-callargs-warn): Use `push'.
12916 (byte-compile-arglist-warn): Ignore higher-order "calls".
12917 (byte-compile-file-form-autoload): Use `pcase'.
12918 (byte-compile-function-form): If quoting a symbol, check that it exists.
12919
12920 2013-08-07 Eli Zaretskii <eliz@gnu.org>
12921
12922 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
12923 and add a few popular commands found in batch files.
12924 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
12925 (dos-mode): Doc fixes.
12926
12927 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
12928
12929 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
12930 (dos-mode): Use setq-local. Add space after "rem".
12931 (dos-mode-syntax-table): Don't use "w" for symbol chars.
12932 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
12933
12934 2013-08-07 Arni Magnusson <arnima@hafro.is>
12935
12936 * progmodes/dos.el: New file.
12937 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
12938 dos-mode.
12939
12940 2013-08-06 Glenn Morris <rgm@gnu.org>
12941
12942 * calendar/calendar.el: Add new faces, and day-header-array.
12943 (calendar-weekday-header, calendar-weekend-header)
12944 (calendar-month-header): New faces.
12945 (calendar-day-header-construct): New function.
12946 (calendar-day-header-width): Also :set calendar-day-header-array.
12947 (calendar-american-month-header, calendar-european-month-header)
12948 (calendar-iso-month-header): Use calendar- faces.
12949 (calendar-generate-month):
12950 Use calendar-day-header-array for day headers; apply faces to them.
12951 (calendar-mode): Check calendar-font-lock-keywords non-nil.
12952 (calendar-abbrev-construct): Add optional maxlen argument.
12953 (calendar-day-name-array): Doc fix.
12954 (calendar-day-name-array, calendar-abbrev-length)
12955 (calendar-day-abbrev-array):
12956 Also :set calendar-day-header-array, and maybe redraw.
12957 (calendar-day-header-array): New option. (Bug#15007)
12958 (calendar-font-lock-keywords): Set to nil and make obsolete.
12959 (calendar-day-name): Add option to use header array.
12960
12961 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12962
12963 * net/shr.el (shr-render-td): Remove debugging.
12964 (shr-render-td): Make width computation consistent by defaulting
12965 all zero-width columns to 10 characters. This may not be optimal,
12966 but it's at least consistent.
12967 (shr-make-table-1): Redo last change to fix the real problem in
12968 colspan handling.
12969
12970 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12971
12972 * files.el (cache-long-line-scans):
12973 Make obsolete alias to `cache-long-scans'.
12974
12975 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12976
12977 * frameset.el (frameset, frameset-filter-alist)
12978 (frameset-filter-params, frameset-save, frameset--reuse-frame)
12979 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
12980 (frameset-compute-pos): Rename from frameset--compute-pos,
12981 and add docstring.
12982 (frameset-move-onscreen): Use frameset-compute-pos.
12983 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
12984
12985 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
12986 Fix typos in docstrings.
12987
12988 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
12989
12990 * frame.el (get-other-frame): Tiny cleanup.
12991
12992 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
12993
12994 * vc/vc.el (vc-default-ignore-completion-table):
12995 Silence byte-compiler warning.
12996
12997 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
12998 slot, which can indeed be nil.
12999 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13000 Move entry for `left' from persistent to live filter alist.
13001 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
13002 Doc fixes.
13003 (frameset-filter-params): When restoring a frame, copy items added to
13004 `filtered', to avoid unwittingly modifying the original parameters.
13005 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
13006 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
13007
13008 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
13009 to use looking-at-p instead of looking-at. (Bug#15028)
13010
13011 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 Revert introduction of isearch-filter-predicates (bug#14714).
13014 Rely on add-function instead.
13015 * isearch.el (isearch-filter-predicates): Rename it back to
13016 isearch-filter-predicate.
13017 (isearch-message-prefix): Use advice-function-mapc and advice
13018 properties to get the isearch-message-prefix.
13019 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
13020 instead of run-hook-with-args-until-failure.
13021 (isearch-filter-visible): Not obsolete any more.
13022 * loadup.el: Preload nadvice.
13023 * replace.el (perform-replace): Revert to funcall
13024 instead of run-hook-with-args-until-failure.
13025 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
13026 * dired-aux.el (dired-isearch-filenames-mode): Rename from
13027 dired-isearch-filenames-toggle; make it into a proper minor mode.
13028 Use add/remove-function.
13029 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
13030 Call the minor-mode rather than add/remove-hook.
13031 (dired-isearch-filter-filenames):
13032 Remove isearch-message-prefix property.
13033 * info.el (Info--search-loop): New function, extracted from Info-search.
13034 Funcall isearch-filter-predicate instead of
13035 run-hook-with-args-until-failure isearch-filter-predicates.
13036 (Info-search): Use it.
13037 (Info-mode): Use isearch-filter-predicate instead of
13038 isearch-filter-predicates.
13039
13040 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13041
13042 Do not call to `selected-window' where it is assumed by default.
13043 Affected functions are `window-minibuffer-p', `window-dedicated-p',
13044 `window-hscroll', `window-width', `window-height', `window-buffer',
13045 `window-frame', `window-start', `window-point', `next-window'
13046 and `window-display-table'.
13047 * abbrev.el (abbrev--default-expand):
13048 * bs.el (bs--show-with-configuration):
13049 * buff-menu.el (Buffer-menu-mouse-select):
13050 * calc/calc.el (calc):
13051 * calendar/calendar.el (calendar-generate-window):
13052 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
13053 (diary-make-entry):
13054 * comint.el (send-invisible, comint-dynamic-complete-filename)
13055 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
13056 * completion.el (complete):
13057 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
13058 * disp-table.el (describe-current-display-table):
13059 * doc-view.el (doc-view-insert-image):
13060 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
13061 * ehelp.el (with-electric-help):
13062 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13063 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
13064 * emacs-lisp/helper.el (Helper-help-scroller):
13065 * emulation/cua-base.el (cua--post-command-handler-1):
13066 * eshell/esh-mode.el (eshell-output-filter):
13067 * ffap.el (ffap-gnus-wrapper):
13068 * help-macro.el (make-help-screen):
13069 * hilit-chg.el (highlight-compare-buffers):
13070 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
13071 * hl-line.el (global-hl-line-highlight):
13072 * icomplete.el (icomplete-simple-completing-p):
13073 * isearch.el (isearch-done):
13074 * jit-lock.el (jit-lock-stealth-fontify):
13075 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
13076 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
13077 * mpc.el (mpc-tagbrowser, mpc):
13078 * net/rcirc.el (rcirc-any-buffer):
13079 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
13080 * play/landmark.el (landmark-max-width, landmark-max-height):
13081 * play/zone.el (zone):
13082 * progmodes/compile.el (compilation-goto-locus):
13083 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
13084 * progmodes/etags.el (find-tag-other-window):
13085 * progmodes/fortran.el (fortran-column-ruler):
13086 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13087 * progmodes/verilog-mode.el (verilog-point-text):
13088 * reposition.el (reposition-window):
13089 * rot13.el (toggle-rot13-mode):
13090 * server.el (server-switch-buffer):
13091 * shell.el (shell-dynamic-complete-command)
13092 (shell-dynamic-complete-environment-variable):
13093 * simple.el (insert-buffer, set-selective-display)
13094 (delete-completion-window):
13095 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
13096 (speedbar-recenter):
13097 * startup.el (fancy-splash-head):
13098 * textmodes/ispell.el (ispell-command-loop):
13099 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
13100 * tutorial.el (help-with-tutorial):
13101 * vc/add-log.el (add-change-log-entry):
13102 * vc/compare-w.el (compare-windows):
13103 * vc/ediff-help.el (ediff-indent-help-message):
13104 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
13105 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
13106 (ediff-setup-control-frame):
13107 * vc/emerge.el (emerge-position-region):
13108 * vc/pcvs-util.el (cvs-bury-buffer):
13109 * window.el (walk-windows, mouse-autoselect-window-select):
13110 * winner.el (winner-set-conf, winner-undo): Related users changed.
13111
13112 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13113
13114 * frameset.el (frameset--set-id): Doc fix.
13115 (frameset-frame-id, frameset-frame-id-equal-p)
13116 (frameset-locate-frame-id): New functions.
13117 (frameset--process-minibuffer-frames, frameset--reuse-frame)
13118 (frameset-restore): Use them.
13119
13120 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
13121
13122 Do not call to `selected-frame' where it is assumed by default.
13123 Affected functions are `raise-frame', `redraw-frame',
13124 `frame-first-window', `frame-terminal' and `delete-frame'.
13125 * calendar/appt.el (appt-disp-window):
13126 * epg.el (epg-wait-for-completion):
13127 * follow.el (follow-delete-other-windows-and-split)
13128 (follow-avoid-tail-recenter):
13129 * international/mule.el (set-terminal-coding-system):
13130 * mail/rmail.el (rmail-mail-return):
13131 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13132 * progmodes/f90.el (f90-add-imenu-menu):
13133 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
13134 * server.el (server-switch-buffer):
13135 * simple.el (delete-completion-window):
13136 * talk.el (talk):
13137 * term/xterm.el (terminal-init-xterm-modify-other-keys)
13138 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
13139 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
13140 * vc/ediff.el (ediff-documentation): Related users changed.
13141 * frame.el (selected-terminal): Remove the leftover.
13142
13143 2013-08-05 Glenn Morris <rgm@gnu.org>
13144
13145 * calendar/calendar.el (calendar-generate-month):
13146 Fix for calendar-column-width != 1 + calendar-day-digit-width.
13147 (calendar-generate-month, calendar-font-lock-keywords):
13148 Fix for calendar-day-header-width > length of any day name.
13149
13150 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
13151
13152 * desktop.el (desktop-clear): Use new name of sort predicate.
13153
13154 * frameset.el (frameset): Add docstring. Move :version property to its
13155 own `version' slot.
13156 (frameset-copy): Rename from copy-frameset.
13157 (frameset-p): Check more thoroughly.
13158 (frameset-prop): Do not check for :version, which is no longer a prop.
13159 (frameset-live-filter-alist, frameset-persistent-filter-alist):
13160 Use new :never value instead of t.
13161 (frameset-filter-alist): Expand and clarify docstring.
13162 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
13163 (frameset-filter-minibuffer, frameset-filter-save-param)
13164 (frameset-filter-restore-param, frameset-filter-iconified):
13165 Add pointer to docstring of frameset-filter-alist.
13166 (frameset-filter-params): Rename filter values to be more meaningful:
13167 :never instead of t, and reverse the meanings of :save and :restore.
13168 (frameset--process-minibuffer-frames): Clarify error message.
13169 (frameset-save): Avoid unnecessary and confusing call to framep.
13170 Use new BOA constructor for framesets.
13171 (frameset--reuse-list): Doc fix.
13172 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
13173 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
13174 (frameset-minibufferless-first-p): Doc fix.
13175 Rename from frameset-sort-frames-for-deletion.
13176 (frameset-restore): Doc fixes. Use new function names.
13177 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
13178
13179 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13180
13181 * desktop.el (desktop-restore-forces-onscreen)
13182 (desktop-restore-reuses-frames): Document :keyword constant values.
13183 (desktop-filter-parameters-alist): Remove, now identical to
13184 frameset-filter-alist.
13185 (desktop--filter-tty*): Remove, moved to frameset.el.
13186 (desktop-save-frameset, desktop-restore-frameset):
13187 Do not pass :filters argument.
13188
13189 * frameset.el (frameset-live-filter-alist)
13190 (frameset-persistent-filter-alist): New variables.
13191 (frameset-filter-alist): Use them. Add autoload cookie.
13192 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
13193 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
13194 `frameset--id' (it's supposed to be internal to frameset.el).
13195 (frameset--process-minibuffer-frames): Ditto. Doc fix.
13196 (frameset--initial-params): New function.
13197 (frameset--get-frame): Use it. Doc fix.
13198 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
13199 Accept :all, not 'all.
13200 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
13201 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
13202 with fbound symbols. Fix frame id matching, and remove matching ids if
13203 the frame being restored is deleted. Obey :delete.
13204
13205 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13206
13207 * subr.el (macrop): New function.
13208 (text-clone--maintaining): New var.
13209 (text-clone--maintain): Rename from text-clone-maintain. Use it
13210 instead of inhibit-modification-hooks.
13211
13212 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
13213 a proxy, so as handle autoloads and redefinitions of the target.
13214 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
13215
13216 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
13217 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
13218 (pcase--mutually-exclusive-p): New function.
13219 (pcase--split-consp): Use it.
13220 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
13221 mutually exclusive with the current predicate.
13222
13223 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
13224 (edebug-macrop): Remove. Use `macrop' instead.
13225 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
13226 (ad-macro-p):
13227 * eshell/esh-cmd.el (eshell-macrop):
13228 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
13229
13230 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
13231
13232 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
13233 (advice-mapc): New function, using it.
13234 (advice-function-member-p): New function.
13235 (advice--normalize): Store the cdr in advice--saved-rewrite since
13236 that's the part that will be changed.
13237 (advice--symbol-function): New function.
13238 (advice-remove): Handle removal before the function is defined.
13239 Adjust to new advice--saved-rewrite.
13240 (advice-member-p): Use advice-function-member-p and
13241 advice--symbol-function.
13242
13243 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
13244
13245 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
13246 (frameset-filter-minibuffer): Doc fix.
13247 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
13248 (frameset--set-id, frameset--process-minibuffer-frames)
13249 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
13250 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
13251
13252 * desktop.el (desktop-clear): Only delete frames when called
13253 interactively and desktop-restore-frames is non-nil. Doc fix.
13254 (desktop-read): Set desktop-saved-frameset to nil.
13255
13256 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
13257
13258 * vc/vc.el (vc-ignore): Rewrite.
13259 (vc-default-ignore-completion-table, vc--read-lines)
13260 (vc--add-line, vc--remove-regexp): New functions.
13261
13262 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
13263 (vc-svn-ignore-completion-table): New function.
13264
13265 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
13266 (vc-hg-ignore-completion-table)
13267 (vc-hg-find-ignore-file): New functions.
13268
13269 * vc/vc-git.el (vc-git-ignore): Rewrite.
13270 (vc-git-ignore-completion-table)
13271 (vc-git-find-ignore-file): New functions.
13272
13273 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
13274
13275 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
13276 (vc-bzr-ignore-completion-table)
13277 (vc-bzr-find-ignore-file): New functions.
13278
13279 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
13280
13281 * frameset.el (frameset-prop): New function and setter.
13282 (frameset-save): Do not modify frame list passed by the caller.
13283
13284 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13285
13286 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
13287
13288 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
13291 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
13292
13293 * custom.el (custom-initialize-default, custom-initialize-set)
13294 (custom-initialize-reset, custom-initialize-changed): Affect the
13295 toplevel-default-value (bug#6275, bug#14586).
13296 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
13297 for bug#6275.
13298
13299 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13300
13301 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
13302 Add cl-def* expressions.
13303
13304 * frameset.el (frameset-filter-params): Fix order of arguments.
13305
13306 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
13307
13308 Move code related to saving frames to frameset.el.
13309 * desktop.el: Require frameset.
13310 (desktop-restore-frames): Doc fix.
13311 (desktop-restore-reuses-frames): Rename from
13312 desktop-restoring-reuses-frames.
13313 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
13314 (desktop-clear): Clear frames too.
13315 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
13316 (desktop--filter-tty*, desktop-save, desktop-read):
13317 Use frameset functions.
13318 (desktop-before-saving-frames-functions, desktop--filter-*-color)
13319 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13320 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
13321 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
13322 (desktop--process-minibuffer-frames, desktop-save-frames)
13323 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
13324 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
13325 (desktop--sort-states, desktop-restoring-frames-p)
13326 (desktop-restore-frames): Remove. Most code moved to frameset.el.
13327 (desktop-restoring-frameset-p, desktop-restore-frameset)
13328 (desktop--check-dont-save, desktop-save-frameset): New functions.
13329 (desktop--app-id): New constant.
13330 (desktop-first-buffer, desktop-buffer-ok-count)
13331 (desktop-buffer-fail-count): Move before first use.
13332 * frameset.el: New file.
13333
13334 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13335
13336 * files.el: Use lexical-binding.
13337 (dir-locals-read-from-file): Remove unused `err' variable.
13338 (hack-dir-local-variables--warned-coding): New var.
13339 (hack-dir-local-variables): Use it to avoid repeated warnings.
13340 (make-backup-file-name--default-function): New function.
13341 (make-backup-file-name-function): Use it as default.
13342 (buffer-stale--default-function): New function.
13343 (buffer-stale-function): Use it as default.
13344 (revert-buffer-insert-file-contents--default-function): New function.
13345 (revert-buffer-insert-file-contents-function): Use it as default.
13346 (insert-directory): Avoid add-to-list.
13347
13348 * autorevert.el (auto-revert-handler): Simplify.
13349 Use buffer-stale--default-function.
13350
13351 2013-08-01 Tassilo Horn <tsdh@gnu.org>
13352
13353 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
13354
13355 * whitespace.el (whitespace-ensure-local-variables): New function.
13356 (whitespace-cleanup-region): Call it.
13357 (whitespace-turn-on): Call it.
13358
13359 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
13360
13361 Complete file name handlers.
13362
13363 * net/tramp.el (tramp-handle-set-visited-file-modtime)
13364 (tramp-handle-verify-visited-file-modtime)
13365 (tramp-handle-file-notify-rm-watch): New functions.
13366 (tramp-call-process): Do not bind `default-directory'.
13367
13368 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13369 Order alphabetically.
13370 <access-file, add-name-to-file, dired-call-process>:
13371 <dired-compress-file, file-acl, file-notify-rm-watch>:
13372 <file-ownership-preserved-p, file-selinux-context>:
13373 <make-directory-internal, make-symbolic-link, set-file-acl>:
13374 <set-file-selinux-context, set-visited-file-modtime>:
13375 <verify-visited-file-modtime>: Add handler.
13376 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
13377
13378 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13379 <file-notify-add-watch, file-notify-rm-watch>:
13380 <set-file-times, set-visited-file-modtime>:
13381 <verify-visited-file-modtime>: Add handler.
13382 (with-tramp-gvfs-error-message)
13383 (tramp-gvfs-handle-set-visited-file-modtime)
13384 (tramp-gvfs-fuse-file-name): Remove.
13385 (tramp-gvfs-handle-file-notify-add-watch)
13386 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
13387 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
13388
13389 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13390 Order alphabetically.
13391 <file-notify-rm-watch>: Use default Tramp handler.
13392 <executable-find>: Remove private handler.
13393 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
13394 `default-directory'.
13395 (tramp-sh-handle-executable-find)
13396 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
13397 (tramp-sh-file-gvfs-monitor-dir-process-filter)
13398 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
13399 Do not use `format' in `tramp-message'.
13400
13401 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
13402 <file-notify-rm-watch, set-visited-file-modtime>:
13403 <verify-visited-file-modtime>: Add handler.
13404 (tramp-smb-call-winexe): Do not bind `default-directory'.
13405
13406 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
13407
13408 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
13409
13410 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
13411
13412 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
13413 use it.
13414 (log-view-diff-changeset): Same.
13415 (log-view-diff-common): Call backend command `previous-revision'
13416 to find out the previous revision, in both cases. Swap the
13417 variables `to' and `fr', so that `fr' usually refers to the
13418 earlier revision (Bug#14989).
13419
13420 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
13421
13422 * ibuf-ext.el (ibuffer-filter-by-filename):
13423 Make it work with dired buffers too.
13424
13425 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
13426
13427 * emacs-lisp/re-builder.el (reb-color-display-p):
13428 * files.el (save-buffers-kill-terminal):
13429 * net/browse-url.el (browse-url):
13430 * server.el (server-save-buffers-kill-terminal):
13431 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
13432 Prefer nil to selected-frame for the first arg of frame-parameter.
13433
13434 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
13435
13436 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
13437
13438 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
13439
13440 * minibuffer.el (completion--twq-all): Try and preserve each
13441 completion's case choice (bug#14907).
13442
13443 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13444
13445 * net/network-stream.el (open-network-stream): Mention the new
13446 :nogreeting parameter.
13447 (network-stream-open-starttls): Use the :nogreeting parameter
13448 (bug#14938).
13449
13450 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
13451
13452 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
13453 more natural than popping.
13454
13455 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
13456 (shr-urlify): Highlight under mouse.
13457
13458 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13459
13460 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
13461
13462 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
13463
13464 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
13465 buffer for output.
13466
13467 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
13468 point-min==1. Fix search string. Fix parentheses missing.
13469
13470 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
13471 assume point-min==1. Fix search string. Fix parentheses missing.
13472
13473 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
13474
13475 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
13476 buffer for output.
13477
13478 2013-07-29 Eli Zaretskii <eliz@gnu.org>
13479
13480 * frame.el (frame-notice-user-settings): Avoid inflooping when the
13481 initial frame is minibuffer-less. (Bug#14841)
13482
13483 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
13484
13485 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
13486 option.
13487
13488 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13489 (tramp-maybe-open-connection): Use it.
13490
13491 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13492
13493 * desktop.el (desktop--make-frame): Include `minibuffer' in the
13494 minimal set of parameters passed when creating a frame, because
13495 the minibuffer status of a frame cannot be changed later.
13496
13497 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
13498
13499 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
13500 replace-regexp-in-string and inadvertent omissions in previous change.
13501 (todo-filter-items): Ensure only file names are comma-separated in
13502 name of filtered items buffer.
13503
13504 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
13505
13506 * desktop.el: Optionally force offscreen frames back onscreen.
13507 (desktop-restoring-reuses-frames): New option.
13508 (desktop--compute-pos, desktop--move-onscreen): New functions.
13509 (desktop--make-frame): Use desktop--move-onscreen.
13510
13511 2013-07-27 Alan Mackenzie <acm@muc.de>
13512
13513 Fontify a Java generic method as a function.
13514 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
13515 value to t.
13516
13517 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
13518
13519 * calendar/todo-mode.el: Add command to rename todo files.
13520 (todo-rename-file): New command.
13521 (todo-key-bindings-t): Add key binding for it. Change the
13522 bindings of todo-filter-regexp-items(-multifile) to use `x'
13523 instead of `r', since the latter is better suited to the new
13524 renaming command.
13525
13526 2013-07-27 Alan Mackenzie <acm@muc.de>
13527
13528 Make Java try-with-resources statement parse properly.
13529 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
13530 (c-block-stmt-1-2-key): New language constants/variables.
13531 * progmodes/cc-engine.el (c-beginning-of-statement-1)
13532 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
13533 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
13534 with c-block-stmt-1-2-key.
13535
13536 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
13537
13538 * desktop.el (desktop--make-frame): Apply most frame parameters after
13539 creating the frame to force (partially or totally) offscreen frames to
13540 be restored as such.
13541
13542 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
13543
13544 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
13545 (Bug#14948)
13546
13547 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
13550 `base' arg of backtrace-frame.
13551
13552 2013-07-26 Eli Zaretskii <eliz@gnu.org>
13553
13554 * simple.el (list-processes): Doc fix.
13555
13556 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13557
13558 * desktop.el (desktop--select-frame):
13559 Try harder to reuse existing frames.
13560
13561 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
13564 (edebug-eval): Use backtrace-eval.
13565 (edebug--display, edebug--recursive-edit): Don't let-bind the
13566 edebug-outer-* vars that keep track of variables we locally let-bind.
13567 (edebug-outside-excursion): Don't restore outside values of locally
13568 let-bound vars.
13569 (edebug--display): Use user-error.
13570 (cl-lexical-debug, cl-debug-env): Remove.
13571
13572 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
13573
13574 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
13575 are restored to be sure that they are visible before deleting any
13576 remaining ones.
13577
13578 2013-07-26 Matthias Meulien <orontee@gmail.com>
13579
13580 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
13581 vc-print-root-log. (Bug#14948)
13582
13583 2013-07-26 Richard Stallman <rms@gnu.org>
13584
13585 Add aliases for encrypting mail.
13586 * epa.el (epa-mail-aliases): New option.
13587 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
13588 Bind inhibit-read-only so read-only text doesn't ruin everything.
13589 (epa-mail-default-recipients): New subroutine broken out.
13590 Handle epa-mail-aliases.
13591
13592 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 Add support for lexical variables to the debugger's `e' command.
13595 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
13596 vars, except for debugger-outer-match-data.
13597 (debugger-frame-number): Move check for "on a function call" from
13598 callers into it. Add `skip-base' argument.
13599 (debugger-frame, debugger-frame-clear): Simplify accordingly.
13600 (debugger-env-macro): Only reset the state stored in non-variables,
13601 i.e. current-buffer and match-data.
13602 (debugger-eval-expression): Rewrite using backtrace-eval.
13603 * subr.el (internal--called-interactively-p--get-frame): Remove.
13604 (called-interactively-p):
13605 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
13606 `base' arg of backtrace-frame instead.
13607
13608 2013-07-26 Glenn Morris <rgm@gnu.org>
13609
13610 * align.el (align-regexp): Doc fix. (Bug#14857)
13611 (align-region): Explicit error if subexpression missing/does not match.
13612
13613 * simple.el (global-visual-line-mode):
13614 Do not duplicate the mode lighter. (Bug#14858)
13615
13616 2013-07-25 Martin Rudalics <rudalics@gmx.at>
13617
13618 * window.el (display-buffer): In display-buffer bind
13619 split-window-keep-point to t, bug#14829.
13620
13621 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13622
13623 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
13624 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
13625 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
13626 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13627 Change accordingly.
13628 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
13629 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
13630
13631 2013-07-25 Glenn Morris <rgm@gnu.org>
13632
13633 * dired-x.el (dired-mark-extension): Convert comment to doc string.
13634
13635 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
13636
13637 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
13638 parameter to modify-frame-parameters if the value has not changed;
13639 this is a workaround for bug#14949.
13640 (desktop--make-frame): On cl-delete-if call, check parameter name,
13641 not full parameter.
13642
13643 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
13644
13645 * vc/vc.el (vc-ignore): New function.
13646
13647 * vc/vc-svn.el (vc-svn-ignore): New function.
13648
13649 * vc/vc-hg.el (vc-hg-ignore): New function.
13650
13651 * vc/vc-git.el (vc-git-ignore): New function.
13652
13653 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
13654 (vc-dir-ignore): New function.
13655
13656 * vc/vc-cvs.el (vc-cvs-ignore): New function.
13657 (cvs-append-to-ignore): Move here from pcvs.el.
13658
13659 * vc/vc-bzr.el (vc-bzr-ignore): New function.
13660
13661 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
13662
13663 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
13664
13665 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
13666 (desktop-restore-frames): Warn when deleting an existing frame failed.
13667
13668 2013-07-24 Glenn Morris <rgm@gnu.org>
13669
13670 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
13671
13672 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
13673
13674 * filenotify.el (file-notify-supported-p):
13675 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13676 Remove functions.
13677
13678 * autorevert.el (auto-revert-use-notify)
13679 (auto-revert-notify-add-watch):
13680 * net/tramp.el (tramp-file-name-for-operation):
13681 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13682 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13683 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13684 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13685 Remove `file-notify-supported-p' entry.
13686
13687 2013-07-24 Glenn Morris <rgm@gnu.org>
13688
13689 * printing.el: Replace all uses of deleted ps-windows-system,
13690 ps-lp-system, ps-flatten-list with lpr- versions.
13691
13692 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13693
13694 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
13695 checked with memq (bug#14935).
13696
13697 * files.el (revert-buffer-function): Use a non-nil default.
13698 (revert-buffer-preserve-modes): Declare var to
13699 provide access to the `preserve-modes' argument.
13700 (revert-buffer): Let-bind it.
13701 (revert-buffer--default): New function, extracted from revert-buffer.
13702
13703 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
13704
13705 * lpr.el: Signal print errors more prominently.
13706 (print-region-function): Don't default to nil.
13707 (lpr-print-region): New function, extracted from print-region-1.
13708 Check lpr's return value and signal an error in case of problem.
13709 (print-region-1): Use it.
13710 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
13711 versions instead.
13712 (ps-printer-name): Default to nil.
13713 (ps-printer-name-option): Default to lpr-printer-switch.
13714 (ps-print-region-function): Don't default to nil.
13715 (ps-postscript-code-directory): Simplify default.
13716 (ps-do-despool): Use lpr-print-region to properly check the outcome.
13717 (ps-string-list, ps-eval-switch, ps-flatten-list)
13718 (ps-flatten-list-1): Remove.
13719 (ps-multibyte-buffer): Avoid setq.
13720 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
13721 (print-region-function, ps-print-region-function): Don't set them here.
13722
13723 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
13724
13725 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
13726 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
13727 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
13728 (ido-decorations): Doc fix.
13729
13730 * ansi-color.el: Fix old URL.
13731
13732 2013-07-23 Michael R. Mauger <michael@mauger.com>
13733
13734 * progmodes/sql.el: Version 3.3
13735 (sql-product-alist): Improve oracle :prompt-cont-regexp.
13736 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
13737 (sql-interactive-remove-continuation-prompt): Rewrite, use
13738 functions above. Fix continuation prompt and complete output line
13739 handling.
13740 (sql-redirect-one, sql-execute): Use `read-only-mode' on
13741 redirected output buffer.
13742 (sql-mode): Restore deleted code (Bug#13591).
13743
13744 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13745
13746 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
13747
13748 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
13749
13750 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
13751
13752 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13753 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13754 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
13755
13756 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
13757
13758 * desktop.el (desktop-clear): Simplify; remove useless checks
13759 against invalid buffer names.
13760 (desktop-list*): Use cl-list*.
13761 (desktop-buffer-info, desktop-create-buffer): Simplify.
13762
13763 2013-07-23 Leo Liu <sdl.web@gmail.com>
13764
13765 * bookmark.el (bookmark-make-record): Restore NAME as a default
13766 value. (Bug#14933)
13767
13768 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
13769
13770 * emacs-lisp/autoload.el (autoload--setup-output): New function,
13771 extracted from autoload--insert-text.
13772 (autoload--insert-text): Remove.
13773 (autoload--print-cookie-text): New function, extracted from
13774 autoload--insert-cookie-text.
13775 (autoload--insert-cookie-text): Remove.
13776 (autoload-generate-file-autoloads): Adjust calls accordingly.
13777
13778 * winner.el (winner-hook-installed-p): Remove.
13779 (winner-mode): Simplify accordingly.
13780
13781 * subr.el (add-to-list): Fix compiler-macro when `append' is
13782 not constant. Don't use `cl-member' for the base case.
13783
13784 * progmodes/subword.el: Fix boundary case (bug#13758).
13785 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
13786 own group.
13787 (subword-backward-regexp): Make it a constant.
13788 (subword-forward-internal): Don't treat a trailing capital as the
13789 beginning of a word.
13790
13791 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
13792
13793 * emacs-lisp/package.el (package-menu-mode): Don't modify the
13794 global value of tabulated-list-revert-hook (bug#14930).
13795
13796 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
13797
13798 * desktop.el: Require 'cl-lib.
13799 (desktop-before-saving-frames-functions): New hook.
13800 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
13801 for frames being saved. Rename from desktop--save-minibuffer-frames.
13802 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
13803 Do not save frames with non-nil `desktop-dont-save' parameter.
13804 Filter out deleted frames.
13805 (desktop--find-frame): Use cl-find-if.
13806 (desktop--select-frame): Use cl-(first|second|third) to access values
13807 of desktop-mini.
13808 (desktop--make-frame): Use cl-delete-if.
13809 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
13810 (desktop-restore-frames): Use cl-(first|second|third) to access values
13811 of desktop-mini. Look for visible frame at the end, not while
13812 restoring frames.
13813
13814 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
13815 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
13816 Use string-match-p, looking-at-p (bug#14927).
13817
13818 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
13819
13820 * desktop.el (desktop-saved-frame-states):
13821 Rename from desktop--saved-states; all users changed.
13822 (desktop-save-frames): Rename from desktop--save-frames.
13823 Do not save state to desktop file.
13824 (desktop-save): Save desktop-saved-frame-states to desktop file
13825 and reset to nil.
13826 (desktop-restoring-frames-p): New function.
13827 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
13828 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
13829 buffer-lists when restoring frames. Suggested by Martin Rudalics.
13830
13831 * desktop.el: Correctly restore iconified frames.
13832 (desktop--filter-iconified-position): New function.
13833 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
13834
13835 2013-07-20 Glenn Morris <rgm@gnu.org>
13836
13837 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
13838 Let `message' do the formatting.
13839 (def-gdb-preempt-display-buffer): Add explicit format.
13840
13841 * image-dired.el (image-dired-track-original-file):
13842 Use with-current-buffer.
13843 (image-dired-track-thumbnail): Use with-current-buffer.
13844 Avoid changing point of wrong window.
13845
13846 * image-dired.el (image-dired-track-original-file):
13847 Avoid changing point of wrong window. (Bug#14909)
13848
13849 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
13850
13851 * progmodes/gdb-mi.el (gdb-done-or-error):
13852 Guard against "%" in gdb output. (Bug#14127)
13853
13854 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
13855
13856 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
13857 (Bug#14826)
13858
13859 * international/mule.el (coding-system-iso-2022-flags): Fix last
13860 change.
13861
13862 2013-07-20 Kenichi Handa <handa@gnu.org>
13863
13864 * international/mule.el (coding-system-iso-2022-flags):
13865 Add `8-bit-level-4'. (Bug#8522)
13866
13867 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13868
13869 * net/shr.el (shr-mouse-browse-url): New command and keystroke
13870 (bug#14815).
13871
13872 * net/eww.el (eww-process-text-input): Allow inputting when the
13873 point is at the start of the line, as the properties aren't
13874 front-sticky.
13875
13876 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
13877 degenerate widths.
13878
13879 2013-07-19 Richard Stallman <rms@gnu.org>
13880
13881 * epa.el (epa-popup-info-window): Doc fix.
13882
13883 * subr.el (split-string): New arg TRIM.
13884
13885 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
13886
13887 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
13888 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
13889
13890 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
13891
13892 * filenotify.el (file-notify--library): Rename from
13893 `file-notify-support'. Do not autoload. Adapt all uses.
13894 (file-notify-supported-p): New defun.
13895
13896 * autorevert.el (auto-revert-use-notify):
13897 Use `file-notify-supported-p' instead of `file-notify-support'.
13898 Adapt docstring.
13899 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
13900
13901 * net/tramp.el (tramp-file-name-for-operation):
13902 Add `file-notify-supported-p'.
13903
13904 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
13905 New defun.
13906 (tramp-sh-file-name-handler-alist): Add it as handler for
13907 `file-notify-supported-p '.
13908
13909 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13910 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13911 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13912 Add `ignore' as handler for `file-notify-*' functions.
13913
13914 2013-07-17 Eli Zaretskii <eliz@gnu.org>
13915
13916 * simple.el (line-move-partial, line-move): Don't start vscroll or
13917 scroll-up if the current line is not taller than the window.
13918 (Bug#14881)
13919
13920 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
13921
13922 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
13923 highlight question marks in the method names as strings.
13924 (ruby-block-beg-keywords): Inline.
13925 (ruby-font-lock-keyword-beg-re): Extract from
13926 `ruby-font-lock-keywords'.
13927
13928 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
13929
13930 * frame.el (blink-cursor-blinks): New defcustom.
13931 (blink-cursor-blinks-done): New defvar.
13932 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
13933 (blink-cursor-timer-function): Check if number of blinks has been
13934 done on X and NS.
13935 (blink-cursor-suspend, blink-cursor-check): New defuns.
13936
13937 2013-07-15 Glenn Morris <rgm@gnu.org>
13938
13939 * edmacro.el (edmacro-format-keys): Fix previous change.
13940
13941 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
13942
13943 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
13944 The hack didn't work outside English locales anyway.
13945
13946 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
13947
13948 * simple.el (define-alternatives): Rename from alternatives-define,
13949 per RMS' suggestion.
13950
13951 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
13952
13953 * desktop.el (desktop-restore-frames): Change default to t.
13954 (desktop-restore-in-current-display): Now offer more options.
13955 (desktop-restoring-reuses-frames): New customization option.
13956 (desktop--saved-states): Doc fix.
13957 (desktop-filter-parameters-alist): New variable, renamed and expanded
13958 from desktop--excluded-frame-parameters.
13959 (desktop--target-display): New variable.
13960 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
13961 (desktop--filter-tty*, desktop--filter-*-color)
13962 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
13963 (desktop--filter-save-desktop-parm)
13964 (desktop-restore-in-original-display-p): New functions.
13965 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
13966 (desktop--save-minibuffer-frames): New function, inspired by a similar
13967 function from Martin Rudalics.
13968 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
13969 (desktop--restore-in-this-display-p): Remove.
13970 (desktop--find-frame): Rename from desktop--find-frame-in-display
13971 and add predicate argument.
13972 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
13973 (desktop--reuse-list): New variable.
13974 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
13975 New functions.
13976 (desktop--restore-frames): Add support for "minibuffer-special" frames.
13977
13978 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
13979
13980 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
13981
13982 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
13983
13984 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13985 Highlight conversion methods on Kernel.
13986
13987 2013-07-13 Alan Mackenzie <acm@muc.de>
13988
13989 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
13990 and comment it out. This out-commenting enables certain C++
13991 declarations to be parsed correctly.
13992
13993 2013-07-13 Eli Zaretskii <eliz@gnu.org>
13994
13995 * international/mule.el (define-coding-system): Doc fix.
13996
13997 * simple.el (default-font-height): Don't call font-info if the
13998 frame's default font didn't change since the frame was created.
13999 (Bug#14838)
14000
14001 2013-07-13 Leo Liu <sdl.web@gmail.com>
14002
14003 * ido.el (ido-read-file-name): Guard against non-symbol value.
14004
14005 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14006
14007 * progmodes/python.el (python-imenu--build-tree): Fix corner case
14008 in nested defuns.
14009
14010 2013-07-13 Leo Liu <sdl.web@gmail.com>
14011
14012 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
14013 ido-set-matches call. (Bug#6852)
14014
14015 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
14016
14017 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
14018 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
14019 Ruby 2.0.
14020 (ruby-font-lock-keywords): Distinguish calls to functions with
14021 module-like names from module references. Highlight character
14022 literals.
14023
14024 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
14025
14026 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
14027 (gdb-send): Handle continued commands. (Bug#14847)
14028
14029 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14030
14031 * desktop.el (desktop--v2s): Remove unused local variable.
14032 (desktop-save-buffer): Make defvar-local; adjust docstring.
14033 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
14034 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
14035
14036 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
14037
14038 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
14039
14040 2013-07-12 Eli Zaretskii <eliz@gnu.org>
14041
14042 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
14043 (Bug#14842)
14044
14045 2013-07-12 Glenn Morris <rgm@gnu.org>
14046
14047 * doc-view.el: Require cl-lib at runtime too.
14048 (doc-view-remove-if): Remove.
14049 (doc-view-search-next-match, doc-view-search-previous-match):
14050 Use cl-remove-if.
14051
14052 * edmacro.el: Require cl-lib at runtime too.
14053 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
14054 (edmacro-mismatch, edmacro-subseq): Remove.
14055
14056 * shadowfile.el: Require cl-lib.
14057 (shadow-remove-if): Remove.
14058 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
14059 Use cl-remove-if.
14060
14061 * wid-edit.el: Require cl-lib.
14062 (widget-choose): Use cl-remove-if.
14063 (widget-remove-if): Remove.
14064
14065 * progmodes/ebrowse.el: Require cl-lib at runtime too.
14066 (ebrowse-delete-if-not): Remove.
14067 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
14068 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
14069 Use cl-delete-if-not.
14070
14071 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
14072
14073 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
14074 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
14075
14076 2013-07-12 Leo Liu <sdl.web@gmail.com>
14077
14078 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
14079
14080 2013-07-11 Glenn Morris <rgm@gnu.org>
14081
14082 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
14083 (edebug-gensym-index, edebug-gensym):
14084 Remove reimplementation of cl-gensym.
14085 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
14086
14087 * thumbs.el: Require cl-lib at run-time too.
14088 (thumbs-gensym-counter, thumbs-gensym):
14089 Remove reimplementation of cl-gensym.
14090 (thumbs-temp-file): Use cl-gensym.
14091
14092 * emacs-lisp/ert.el: Require cl-lib at runtime too.
14093 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
14094 (ert--intersection, ert--set-difference, ert--set-difference-eq)
14095 (ert--union, ert--gensym-counter, ert--gensym-counter)
14096 (ert--coerce-to-vector, ert--remove*, ert--string-position)
14097 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
14098 (ert-make-test-unbound, ert--expand-should-1)
14099 (ert--expand-should, ert--should-error-handle-error)
14100 (should-error, ert--explain-equal-rec)
14101 (ert--plist-difference-explanation, ert-select-tests)
14102 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
14103 Use cl-lib functions rather than reimplementations.
14104
14105 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
14106
14107 * net/tramp.el (tramp-methods): Extend docstring.
14108 (tramp-connection-timeout): New defcustom.
14109 (tramp-error-with-buffer): Reset timestamp only when appropriate.
14110 (with-tramp-progress-reporter): Simplify.
14111 (tramp-process-actions): Improve messages.
14112
14113 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
14114 * net/tramp-sh.el (tramp-maybe-open-connection):
14115 Use `tramp-connection-timeout'.
14116 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
14117 (Bug#14808)
14118
14119 2013-07-11 Leo Liu <sdl.web@gmail.com>
14120
14121 * ido.el (ido-read-file-name): Conform to the requirements of
14122 read-file-name. (Bug#11861)
14123 (ido-read-directory-name): Conform to the requirements of
14124 read-directory-name.
14125
14126 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
14127
14128 * subr.el (delay-warning): New function.
14129
14130 2013-07-10 Eli Zaretskii <eliz@gnu.org>
14131
14132 * simple.el (default-line-height): New function.
14133 (line-move-partial, line-move): Use it instead of computing the
14134 line height inline.
14135 (line-move-partial): Always compute ROWH. If the last line is
14136 partially-visible, but its text is completely visible, allow
14137 cursor to enter such a partially-visible line.
14138
14139 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
14140
14141 Improve error messages. (Bug#14808)
14142
14143 * net/tramp.el (tramp-current-connection): New defvar, moved from
14144 tramp-sh.el.
14145 (tramp-message-show-progress-reporter-message): Remove, not
14146 needed anymore.
14147 (tramp-error-with-buffer): Show message in minibuffer.
14148 Discard input before waiting. Reset connection timestamp.
14149 (with-tramp-progress-reporter): Improve messages.
14150 (tramp-process-actions): Use progress reporter. Delete process in
14151 case of error. Improve messages.
14152
14153 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
14154 Call `tramp-error-with-buffer' with vector and buffer.
14155 (tramp-current-connection): Remove.
14156 (tramp-maybe-open-connection): The car of
14157 `tramp-current-connection' are the first 3 slots of the vector.
14158
14159 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
14160
14161 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
14162 inside continued strings.
14163
14164 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
14165
14166 Timestamp fixes for undo (Bug#14824).
14167 * files.el (clear-visited-file-modtime): Move here from fileio.c.
14168
14169 2013-07-10 Leo Liu <sdl.web@gmail.com>
14170
14171 * files.el (require-final-newline): Allow safe local value.
14172 (Bug#14834)
14173
14174 2013-07-09 Leo Liu <sdl.web@gmail.com>
14175
14176 * ido.el (ido-read-directory-name): Handle fallback.
14177 (ido-read-file-name): Update DIR to ido-current-directory.
14178 (Bug#1516)
14179 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
14180
14181 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
14182
14183 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
14184 "autoload". Remove "warn lower camel case" section, previously
14185 commented out. Highlight negation char. Do not highlight the
14186 target in singleton method definitions.
14187
14188 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * faces.el (tty-setup-hook): Declare the hook.
14191
14192 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
14193 and detect when a guard/pred depends on local vars (bug#14773).
14194 (pcase--u1): Adjust caller.
14195
14196 2013-07-08 Eli Zaretskii <eliz@gnu.org>
14197
14198 * simple.el (line-move-partial, line-move): Account for
14199 line-spacing.
14200 (line-move-partial): Avoid setting vscroll when the last
14201 partially-visible line in window is of default height.
14202
14203 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14204
14205 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
14206 been used a while.
14207
14208 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
14209
14210 * subr.el (read-quoted-char): Remove unused local variable `char'.
14211
14212 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
14213
14214 * vc/ediff.el (ediff-version): Version update.
14215 (ediff-files-command, ediff3-files-command, ediff-merge-command)
14216 (ediff-merge-with-ancestor-command, ediff-directories-command)
14217 (ediff-directories3-command, ediff-merge-directories-command)
14218 (ediff-merge-directories-with-ancestor-command): New functions.
14219 All are command-line interfaces to ediff: to facilitate calling
14220 Emacs with the appropriate ediff functions invoked.
14221
14222 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
14223 New function.
14224 (viper-save-kill-buffer): Check if buffer is modified.
14225
14226 * emulation/viper.el (viper-version): Version update.
14227 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
14228
14229 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
14232 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
14233 (viper-intercept-ESC-key): Simplify.
14234 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
14235 don't use kbd.
14236 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
14237 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
14238 (viper-setup-ESC-to-escape): New functions.
14239 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
14240 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
14241
14242 2013-07-07 Eli Zaretskii <eliz@gnu.org>
14243
14244 * simple.el (default-font-height, window-screen-lines):
14245 New functions.
14246 (line-move, line-move-partial): Use them instead of
14247 frame-char-height and window-text-height. This makes scrolling
14248 text smoother when the buffer's default face uses a font that is
14249 different from the frame's default font.
14250
14251 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
14252
14253 * files.el (write-file): Do not display confirm dialog for NS,
14254 it does its own dialog, which can't be canceled (Bug#14578).
14255
14256 2013-07-06 Eli Zaretskii <eliz@gnu.org>
14257
14258 * simple.el (line-move-partial): Adjust the row returned by
14259 posn-at-point for the current window-vscroll. (Bug#14567)
14260
14261 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
14262
14263 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
14264 (tramp-sh-file-inotifywait-process-filter): Handle file names with
14265 spaces.
14266
14267 2013-07-06 Martin Rudalics <rudalics@gmx.at>
14268
14269 * window.el (window-state-put-stale-windows): New variable.
14270 (window--state-put-2): Save list of windows without matching buffer.
14271 (window-state-put): Remove "bufferless" windows if possible.
14272
14273 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14274
14275 * simple.el (alternatives-define): Remove leftover :group keyword.
14276 Tweak docstring.
14277
14278 2013-07-06 Leo Liu <sdl.web@gmail.com>
14279
14280 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
14281 (ido-enable-virtual-buffers): New variable.
14282 (ido-buffer-internal, ido-toggle-virtual-buffers)
14283 (ido-make-buffer-list): Use it.
14284 (ido-exhibit): Support turning on and off virtual buffers
14285 automatically.
14286
14287 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
14288
14289 * simple.el (alternatives-define): New macro.
14290
14291 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
14292
14293 * subr.el (read-quoted-char): Use read-key.
14294 (sit-for): Let read-event decode tty input (bug#14782).
14295
14296 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
14297
14298 * calendar/todo-mode.el: Add handling of file deletion, both by
14299 mode command and externally. Fix various related bugs.
14300 Clarify Commentary and improve some documentation strings and code.
14301 (todo-delete-file): New command.
14302 (todo-check-file): New function.
14303 (todo-show): Handle external deletion of the file we're trying to
14304 show (bug#14688). Replace called-interactively-p by an optional
14305 prefix argument to avoid problematic interaction with catch form
14306 when byte compiled (bug#14702).
14307 (todo-quit): Handle external deletion of the archive's todo file.
14308 Make sure the buffer that was visiting the archive file is still
14309 live before trying to bury it.
14310 (todo-category-completions): Handle external deletion of any
14311 category completion files.
14312 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
14313 of todo files, in case of external deletion.
14314 (todo-add-file): Replace unnecessary setq by let-binding.
14315 (todo-find-archive): Check whether there are any archives.
14316 Replace unnecessary setq by let-binding.
14317 (todo-archive-done-item): Use find-file-noselect to get the
14318 archive buffer whether or not the archive already exists.
14319 Remove superfluous code. Use file size instead of buffer-file-name to
14320 check if the archive is new; if it is, update list of archives.
14321 (todo-default-todo-file): Allow nil to be a valid value for when
14322 there are no todo files.
14323 (todo-reevaluate-default-file-defcustom): Use corrected definition
14324 of todo-default-todo-file.
14325 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
14326 (todo-delete-category, todo-show-categories-table)
14327 (todo-category-number): Clarify comment.
14328 (todo-filter-items): Clarify documentation string.
14329 (todo-show-current-file, todo-display-as-todo-file)
14330 (todo-reset-and-enable-done-separator): Tweak documentation string.
14331 (todo-done-separator): Make separator length window-width, since
14332 bug#2749 is now fixed.
14333
14334 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
14335
14336 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
14337 Support both "gvfs-monitor-dir" and "inotifywait".
14338 (tramp-sh-file-inotifywait-process-filter): Rename from
14339 `tramp-sh-file-notify-process-filter'.
14340 (tramp-sh-file-gvfs-monitor-dir-process-filter)
14341 (tramp-get-remote-gvfs-monitor-dir): New defuns.
14342
14343 2013-07-05 Leo Liu <sdl.web@gmail.com>
14344
14345 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
14346
14347 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14348
14349 * frame.el (display-pixel-height, display-pixel-width)
14350 (display-mm-height, display-mm-width): Mention behavior on
14351 multi-monitor setups in docstrings.
14352 (w32-display-monitor-attributes-list): Declare function.
14353 (display-monitor-attributes-list): Use it.
14354
14355 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
14356
14357 * filenotify.el: New package.
14358
14359 * autorevert.el (top): Require filenotify.el.
14360 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
14361 instead.
14362 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14363 (auto-revert-notify-handler): Use `file-notify-*' functions.
14364
14365 * subr.el (file-notify-handle-event): Move function to filenotify.el.
14366
14367 * net/tramp.el (tramp-file-name-for-operation):
14368 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
14369
14370 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
14371 for `file-notify-add-watch' and `file-notify-rm-watch'.
14372 (tramp-process-sentinel): Improve trace.
14373 (tramp-sh-handle-file-notify-add-watch)
14374 (tramp-sh-file-notify-process-filter)
14375 (tramp-sh-handle-file-notify-rm-watch)
14376 (tramp-get-remote-inotifywait): New defuns.
14377
14378 2013-07-03 Juri Linkov <juri@jurta.org>
14379
14380 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
14381 call of `occur-read-primary-args' to interactive spec.
14382
14383 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
14384 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
14385
14386 2013-07-03 Matthias Meulien <orontee@gmail.com>
14387
14388 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
14389 `Buffer-menu-multi-occur'. Add it to the menu.
14390 (Buffer-menu-mode): Document it in docstring.
14391 (Buffer-menu-multi-occur): New command. (Bug#14673)
14392
14393 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14394
14395 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
14396 keywords and built-ins.
14397
14398 2013-07-03 Glenn Morris <rgm@gnu.org>
14399
14400 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
14401
14402 Make info-xref checks case-sensitive by default
14403 * info.el (Info-find-node, Info-find-in-tag-table)
14404 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
14405 Add option for exact case matching of nodes.
14406 * info-xref.el (info-xref): New custom group.
14407 (info-xref-case-fold): New option.
14408 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
14409
14410 2013-07-03 Leo Liu <sdl.web@gmail.com>
14411
14412 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
14413
14414 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
14415
14416 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
14417 middle of block statement initially, lower the depth. Remove
14418 FIXME comment, not longer valid. Remove middle of block statement
14419 detection, no need to do that anymore since we've been using
14420 `ruby-parse-region' here.
14421
14422 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
14423
14424 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
14425
14426 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
14427
14428 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
14429
14430 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
14431
14432 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
14433 (desktop-restore-in-current-display): New customization option.
14434 (desktop--excluded-frame-parameters): Add `font'.
14435 (desktop--save-frames): Rename from desktop--save-windows.
14436 (desktop--restore-in-this-display-p): New function.
14437 (desktop--make-full-frame): Remove unwanted width/height from
14438 full(width|height) frames.
14439 (desktop--restore-frames): Rename from desktop--restore-windows.
14440 Obey desktop-restore-current-display. Do not delete old frames or
14441 select a new frame unless we were able to restore at least one frame.
14442
14443 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
14444
14445 * files.el (find-file-noselect): Simplify conditional expression.
14446
14447 * textmodes/remember.el (remember-append-to-file):
14448 Don't mix `find-buffer-visiting' and `get-file-buffer'.
14449
14450 Add `remember-notes' function to store random notes across Emacs
14451 restarts.
14452 * textmodes/remember.el (remember-data-file): Add :set callback to
14453 affect notes buffer (if any).
14454 (remember-notes): New command.
14455 (remember-notes-buffer-name, bury-remember-notes-on-kill):
14456 New defcustoms for the `remember-notes' function.
14457 (remember-notes-save-and-bury-buffer): New command.
14458 (remember-notes-mode-map): New variable.
14459 (remember-mode): New minor mode.
14460 (remember-notes--kill-buffer-query): New function.
14461 * startup.el (initial-buffer-choice): Add notes to custom type.
14462
14463 2013-06-30 Eli Zaretskii <eliz@gnu.org>
14464
14465 * bindings.el (right-char, left-char): Don't call sit-for, this is
14466 no longer needed. Use arithmetic comparison only for numerical
14467 arguments.
14468
14469 * international/mule-cmds.el (select-safe-coding-system):
14470 Handle the case of FROM being a string correctly. (Bug#14755)
14471
14472 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14473
14474 * net/shr.el (shr-make-table-1): Add a sanity check that allows
14475 progression on degenerate tables.
14476 (shr-rescale-image): ImageMagick animated images currently don't work.
14477
14478 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
14479
14480 Some fixes and improvements for desktop frame restoration.
14481 It is still experimental and disabled by default.
14482 * desktop.el (desktop--save-windows): Put the selected frame at
14483 the head of the list.
14484 (desktop--make-full-frame): New function.
14485 (desktop--restore-windows): Try to re-select the frame that was
14486 selected upon saving. Do not abort if some frames fail to restore,
14487 just show an error message and continue. Set up maximized frames
14488 so they have default non-maximized dimensions.
14489
14490 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
14491
14492 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
14493 Don't start heredoc inside a string or comment.
14494
14495 2013-06-29 Eli Zaretskii <eliz@gnu.org>
14496
14497 * bindings.el (visual-order-cursor-movement): New defcustom.
14498 (right-char, left-char): Provide visual-order cursor motion by
14499 calling move-point-visually. Update the doc strings.
14500
14501 2013-06-28 Kenichi Handa <handa@gnu.org>
14502
14503 * international/mule.el (define-coding-system): New coding system
14504 properties :inhibit-null-byte-detection,
14505 :inhibit-iso-escape-detection, and :prefer-utf-8.
14506 (set-buffer-file-coding-system): If :charset-list property of
14507 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
14508 appropriate for setting.
14509
14510 * international/mule-cmds.el (select-safe-coding-system):
14511 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
14512 multibyte characters, return utf-8 (or one of its siblings).
14513
14514 * international/mule-conf.el (prefer-utf-8): New coding system.
14515 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
14516 files.
14517
14518 2013-06-28 Ivan Kanis <ivan@kanis.fr>
14519
14520 * net/shr.el (shr-render-region): New function.
14521
14522 * net/eww.el: Autoload `eww-browse-url'.
14523
14524 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
14525
14526 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14527 Adapt to `package-desc-version' being a list.
14528 Use `package--ac-desc-version' to retrieve version from a package
14529 archive element.
14530
14531 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
14532
14533 New experimental feature to save&restore window and frame setup.
14534 * desktop.el (desktop-save-windows): New defcustom.
14535 (desktop--saved-states): New var.
14536 (desktop--excluded-frame-parameters): New defconst.
14537 (desktop--filter-frame-parms, desktop--find-frame-in-display)
14538 (desktop--restore-windows, desktop--save-windows): New functions.
14539 (desktop-save): Call `desktop--save-windows'.
14540 (desktop-read): Call `desktop--restore-windows'.
14541
14542 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14543
14544 * net/shr.el (add-face-text-property): Remove compat definition.
14545
14546 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14547
14548 * info.el (Info-try-follow-nearest-node): Move search for footnote
14549 above search for node name to prevent missing a footnote (bug#14717).
14550
14551 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
14552
14553 * obsolete/otodo-mode.el: Add obsolescence info to file header.
14554
14555 2013-06-27 Leo Liu <sdl.web@gmail.com>
14556
14557 * net/eww.el (eww-read-bookmarks): Check file size.
14558
14559 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14560
14561 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
14562 advice--pending if newdef is nil or an autoload (bug#13820).
14563 (advice-mapc): New function.
14564
14565 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14566
14567 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
14568 probably.
14569 (eww-mode-map): Add a menu bar.
14570 (eww-add-bookmark): New command.
14571 (eww-bookmark-mode): New mode and commands.
14572 (eww-add-bookmark): Remove newlines from the title.
14573 (eww-bookmark-browse): Don't bug out if it's the only window.
14574
14575 2013-06-26 Glenn Morris <rgm@gnu.org>
14576
14577 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
14578 (hfy-size): Handle ttys. (Bug#14668)
14579
14580 * info-xref.el: Update for Texinfo 5 change in *note format.
14581 (info-xref-node-re, info-xref-note-re): New constants.
14582 (info-xref-check-buffer): Use info-xref-note-re.
14583
14584 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
14585
14586 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
14587
14588 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
14589 nil terminate the loop (bug#14718).
14590
14591 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14592
14593 * net/eww.el: Rework history traversal. When going forward/back,
14594 put these actions into the history, too, so that they can be
14595 replayed.
14596 (eww-render): Move the history reset to the correct buffer.
14597
14598 2013-06-25 Juri Linkov <juri@jurta.org>
14599
14600 * files-x.el (modify-dir-local-variable): Change the header comment
14601 in the file with directory local variables. (Bug#14692)
14602
14603 * files-x.el (read-file-local-variable-value): Add `default'.
14604 (Bug#14710)
14605
14606 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14607
14608 * net/eww.el (eww-make-unique-file-name): Create a unique file
14609 name before saving to entering `y' accidentally asynchronously.
14610
14611 2013-06-25 Ivan Kanis <ivan@kanis.fr>
14612
14613 * net/eww.el (eww-download): New command and keystroke.
14614
14615 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14616
14617 * net/eww.el (eww-copy-page-url): Change name of command.
14618
14619 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
14620 be more consistent with Info and dired.
14621
14622 * net/eww.el (eww-mode-map): Ditto.
14623
14624 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14625
14626 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
14627 packages from archives.
14628 (package-archive-contents): Change format; include obsolete packages.
14629 (package-desc): Use `dir' to mark builtin packages.
14630 (package--from-builtin): Set the `dir' field to `builtin'.
14631 (generated-autoload-file, version-control): Declare.
14632 (package-compute-transaction): Change first arg and return value to be
14633 lists of package-descs. Adjust to new package-archive-contents format.
14634 (package--add-to-archive-contents): Adjust to new
14635 package-archive-contents format.
14636 (package-download-transaction): Arg is now a list of package-descs.
14637 (package-install): If `pkg' is a package name, pass it as
14638 a requirement, so it is subject to the usual (e.g. disabled) checks.
14639 (describe-package): Accept package-desc as well.
14640 (describe-package-1): Describe a specific package-desc. Add links to
14641 other package-descs for the same package name.
14642 (package-menu-describe-package): Pass the actual package-desc.
14643 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
14644 works correctly.
14645 (package-desc-status): New function.
14646 (package-menu--refresh): New function, extracted
14647 from package-menu--generate.
14648 (package-menu--generate): Use it.
14649 (package-delete): Update package-alist.
14650 (package-menu-execute): Don't call package-initialize.
14651
14652 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
14653 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
14654 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
14655 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
14656 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
14657 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
14658
14659 2013-06-25 Martin Rudalics <rudalics@gmx.at>
14660
14661 * window.el (window--state-get-1): Workaround for bug#14527.
14662 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
14663
14664 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
14665
14666 * net/eww.el (eww-back-url): Implement the history by stashing all
14667 the data into a list.
14668 (eww-forward-url): Allow going forward in the history, too.
14669
14670 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14671
14672 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
14673 for values and use read--expression for expressions (bug#14710).
14674 (read-file-local-variable): Avoid setq.
14675 (read-file-local-variable-mode): Use minor-mode-list.
14676
14677 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14678
14679 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
14680 for DOI URLs.
14681
14682 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14683
14684 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
14685 Update imenu-support when dialect changes.
14686
14687 2013-06-25 Leo Liu <sdl.web@gmail.com>
14688
14689 * ido.el (ido-read-internal): Allow forward slash on windows.
14690
14691 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14692
14693 * net/eww.el (eww): Start of strings is \\`, not ^.
14694
14695 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14696
14697 * net/shr.el (shr-browse-url): Fix interactive spec.
14698
14699 * net/eww.el (eww): Add a trailing slash to domain names.
14700
14701 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
14702
14703 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
14704
14705 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
14706
14707 * net/shr.el (shr-browse-url): Use an external browser if given a
14708 prefix.
14709
14710 * net/eww.el (eww-external-browser): Move to shr.
14711
14712 2013-06-24 Ivan Kanis <ivan@kanis.fr>
14713
14714 * net/eww.el (eww): Work more correctly for file: URLs.
14715 (eww-detect-charset): Allow quoted charsets.
14716 (eww-yank-page-url): New command and keystroke.
14717
14718 2013-06-24 Daiki Ueno <ueno@gnu.org>
14719
14720 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
14721 file name of gpg executable.
14722 (epg-context-program): New function.
14723 (epg-context-home-directory): New function.
14724 (epg-context-set-program): New function.
14725 (epg-context-set-home-directory): New function.
14726 (epg--start): Use `epg-context-program' instead of
14727 'epg-gpg-program'.
14728 (epg--list-keys-1): Likewise.
14729
14730 2013-06-24 Leo Liu <sdl.web@gmail.com>
14731
14732 * ido.el (ido-read-internal): Fix bug#14620.
14733
14734 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14735
14736 * faces.el (face-documentation): Simplify.
14737 (read-face-attribute, tty-find-type, x-resolve-font-name):
14738 Use `string-match-p'.
14739 (list-faces-display): Use `string-match-p'. Simplify.
14740 (face-spec-recalc): Check face to avoid face alias loops.
14741 (read-color): Use `string-match-p' and non-capturing parenthesis.
14742
14743 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14744
14745 * net/shr.el (shr-rescale-image): Use the new
14746 :max-width/:max-height functionality.
14747
14748 2013-06-23 Ivan Kanis <ivan@kanis.fr>
14749
14750 * net/eww.el (eww-search-prefix): New variable.
14751 (eww): Use it.
14752 (eww-external-browser): New variable.
14753 (eww-mode-map): New keystroke.
14754 (eww-browse-with-external-browser): New command.
14755
14756 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
14757
14758 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
14759
14760 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
14761 Don't skip aligning the next header field when padding is 0;
14762 otherwise, field width is not respected unless the title is as
14763 wide as the field.
14764
14765 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
14766
14767 * emacs-lisp/package.el (package-el-version): Remove.
14768 (package-process-define-package): Fix inf-loop.
14769 (package-install): Allow symbols as arguments again.
14770
14771 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14772
14773 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
14774 add some more keyword-like methods.
14775 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
14776
14777 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
14778
14779 * bs.el (bs-buffer-show-mark): Make defvar-local.
14780 (bs-mode): Use setq-local.
14781
14782 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
14783 (emacs-lock--try-unlocking): Make defvar-local.
14784
14785 2013-06-22 Glenn Morris <rgm@gnu.org>
14786
14787 * play/cookie1.el (cookie-apropos): Minor simplification.
14788
14789 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
14790
14791 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
14792
14793 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
14794 `regexp-opt', it breaks the build during dumping.
14795
14796 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
14797
14798 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
14799 Highlight keyword-like methods on Kernel and Module with
14800 font-lock-builtin-face.
14801 (auto-mode-alist): Consolidate different entries into one regexp
14802 and add more *file-s.
14803
14804 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
14805
14806 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
14807
14808 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
14809 (diary-entry): Use it in the action of this button type instead of
14810 diary-goto-entry.
14811
14812 * calendar/todo-mode.el: New version.
14813 (todo-add-category): Append new category to end of file and give
14814 it the highest number, instead of putting it at the beginning and
14815 giving it 0. Incorporate noninteractive functionality.
14816 (todo-forward-category): Adapt to 1-based category numbering.
14817 Allow skipping over archived categories.
14818 (todo-backward-category): Derive from todo-forward-category.
14819 (todo-backward-item, todo-forward-item): Make noninteractive and
14820 delegate interactive part to new commands. Make sensitive to done items.
14821 (todo-categories): Make value an alist of category names and
14822 vectors of item counts.
14823 (todo-category-beg): Make a defconst.
14824 (todo-category-number): Use 1 instead of 0 as initial value.
14825 (todo-category-select): Make sensitive to overlays, optional item
14826 highlighting and done items.
14827 (todo-delete-item): Make sensitive to overlays and marked and done items.
14828 (todo-edit-item): Make sensitive to overlays and editing of
14829 date/time header optional. Add format checks.
14830 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
14831 no-op if point is not on an item. Advertise using todo-edit-quit.
14832 (todo-edit-mode): Make sensitive to new format, font-locking, and
14833 multiple todo files.
14834 (todo-insert-item, todo-insert-item-here): Derive from
14835 todo-basic-insert-item and extend functionality.
14836 (todo-item-end, todo-item-start): Make sensitive to done items.
14837 (todo-item-string): Don't return text properties. Restore point.
14838 (todo-jump-to-category): Make sensitive to multiple todo files and
14839 todo archives. Use extended category completion.
14840 (todo-lower-item, todo-raise-item): Rename to *-priority and
14841 derive from todo-set-item-priority.
14842 (todo-mode): Derive from special-mode. Make sensitive to new
14843 format, font-locking and multiple todo files. Make read-only.
14844 (todo-mode-map): Don't suppress digit keys, so they can supply
14845 prefix arguments. Add many new key bindings.
14846 (todo-prefix): Insert as an overlay instead of file text.
14847 Change semantics from diary date expression to purely visual mark.
14848 (todo-print): Rename to todo-print-buffer. Make buffer display
14849 features printable. Remove option to restrict number of items
14850 printed. Add option to print to file.
14851 (todo-print-function): Rename to todo-print-buffer-function.
14852 (todo-quit): Extend to handle exiting new todo modes.
14853 (todo-remove-item): Make sensitive to overlays.
14854 (todo-save): Extend to buffers of filtered items.
14855 (todo-show): Make sensitive to done items, multiple todo files and
14856 new todo modes. Offer to convert legacy todo file before creating
14857 first new todo file.
14858 (todo-show-priorities): Rename to todo-top-priorities.
14859 Change semantics of value 0.
14860 (todo-top-priorities): Rename to todo-filter-top-priorities,
14861 derive from todo-filter-items and extend functionality.
14862 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
14863 and extend functionality to other types of filtered items.
14864 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
14865 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
14866 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
14867 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
14868 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
14869 (todo-edit-mode-hook, todo-entry-prefix-function)
14870 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
14871 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
14872 (todo-initials, todo-insert-threshold, todo-item-string-start)
14873 (todo-line-string, todo-menu, todo-mode-hook)
14874 (todo-more-important-p, todo-previous-answer, todo-previous-line)
14875 (todo-print-priorities, todo-remove-separator)
14876 (todo-save-top-priorities-too, todo-string-count-lines)
14877 (todo-string-multiline-p, todo-time-string-format)
14878 (todo-tmp-buffer-name): Remove.
14879 (todo-add-file, todo-archive-done-item, todo-choose-archive)
14880 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
14881 (todo-edit-category-diary-inclusion)
14882 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
14883 (todo-edit-file, todo-edit-item-date-day)
14884 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
14885 (todo-edit-item-date-month, todo-edit-item-date-to-today)
14886 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
14887 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
14888 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
14889 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
14890 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
14891 (todo-filter-top-priorities-multifile, todo-find-archive)
14892 (todo-find-filtered-items-file, todo-go-to-source-item)
14893 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
14894 (todo-jump-to-archive-category, todo-lower-category)
14895 (todo-mark-category, todo-marked-item-p, todo-merge-category)
14896 (todo-move-category, todo-move-item, todo-next-button)
14897 (todo-next-item, todo-padded-string, todo-powerset)
14898 (todo-previous-button, todo-previous-item)
14899 (todo-print-buffer-to-file, todo-raise-category)
14900 (todo-rename-category, todo-repair-categories-sexp, todo-search)
14901 (todo-set-category-number, todo-set-item-priority)
14902 (todo-set-top-priorities-in-category)
14903 (todo-set-top-priorities-in-file, todo-show-categories-table)
14904 (todo-sort-categories-alphabetically-or-numerically)
14905 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
14906 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
14907 (todo-toggle-item-header, todo-toggle-item-highlighting)
14908 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
14909 (todo-toggle-view-done-items, todo-toggle-view-done-only)
14910 (todo-unarchive-items, todo-unmark-category): New commands.
14911 (todo-absolute-file-name, todo-add-to-buffer-list)
14912 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
14913 (todo-basic-insert-item, todo-category-completions)
14914 (todo-category-number, todo-category-string-matcher-1)
14915 (todo-category-string-matcher-2, todo-check-filtered-items-file)
14916 (todo-check-format, todo-clear-matches)
14917 (todo-comment-string-matcher, todo-convert-legacy-date-time)
14918 (todo-current-category, todo-date-string-matcher)
14919 (todo-define-insertion-command, todo-diary-expired-matcher)
14920 (todo-diary-goto-entry, todo-diary-item-p)
14921 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
14922 (todo-display-categories, todo-display-sorted, todo-done-item-p)
14923 (todo-done-item-section-p, todo-done-separator)
14924 (todo-done-string-matcher, todo-files, todo-filter-items)
14925 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
14926 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
14927 (todo-insert-category-line, todo-insert-item-from-calendar)
14928 (todo-insert-sort-button, todo-insert-with-overlays)
14929 (todo-insertion-command-name, todo-insertion-key-bindings)
14930 (todo-label-to-key, todo-longest-category-name-length)
14931 (todo-make-categories-list, todo-mode-external-set)
14932 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
14933 (todo-modes-set-3, todo-multiple-filter-files)
14934 (todo-nondiary-marker-matcher, todo-prefix-overlays)
14935 (todo-read-category, todo-read-date, todo-read-dayname)
14936 (todo-read-file-name, todo-read-time)
14937 (todo-reevaluate-category-completions-files-defcustom)
14938 (todo-reevaluate-default-file-defcustom)
14939 (todo-reevaluate-filelist-defcustoms)
14940 (todo-reevaluate-filter-files-defcustom)
14941 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
14942 (todo-reset-done-separator, todo-reset-done-separator-string)
14943 (todo-reset-done-string, todo-reset-global-current-todo-file)
14944 (todo-reset-highlight-item, todo-reset-nondiary-marker)
14945 (todo-reset-prefix, todo-set-categories)
14946 (todo-set-date-from-calendar, todo-set-show-current-file)
14947 (todo-set-top-priorities, todo-short-file-name)
14948 (todo-show-current-file, todo-sort, todo-time-string-matcher)
14949 (todo-total-item-counts, todo-update-buffer-list)
14950 (todo-update-categories-display, todo-update-categories-sexp)
14951 (todo-update-count, todo-validate-name, todo-y-or-n-p):
14952 New functions.
14953 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
14954 New major modes.
14955 (todo-categories, todo-display, todo-edit, todo-faces)
14956 (todo-filtered): New defgroups.
14957 (todo-archived-only, todo-button, todo-category-string, todo-date)
14958 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
14959 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
14960 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
14961 (todo-add-item-if-new-category, todo-always-add-time-string)
14962 (todo-categories-align, todo-categories-archived-label)
14963 (todo-categories-category-label, todo-categories-diary-label)
14964 (todo-categories-done-label, todo-categories-number-separator)
14965 (todo-categories-todo-label, todo-categories-totals-label)
14966 (todo-category-completions-files, todo-completion-ignore-case)
14967 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
14968 (todo-done-separator-string, todo-done-string)
14969 (todo-files-function, todo-filter-done-items, todo-filter-files)
14970 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
14971 (todo-initial-category, todo-initial-file, todo-item-mark)
14972 (todo-legacy-date-time-regexp, todo-mode-line-function)
14973 (todo-nondiary-marker, todo-number-prefix)
14974 (todo-print-buffer-function, todo-show-current-file)
14975 (todo-show-done-only, todo-show-first, todo-show-with-done)
14976 (todo-skip-archived-categories, todo-top-priorities-overrides)
14977 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
14978 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
14979 New defcustoms.
14980 (todo-category-done, todo-date-pattern, todo-date-string-start)
14981 (todo-diary-items-buffer, todo-done-string-start)
14982 (todo-filtered-items-buffer, todo-item-start)
14983 (todo-month-abbrev-array, todo-month-name-array)
14984 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
14985 (todo-top-priorities-buffer): New defconsts.
14986 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
14987 (todo-categories-with-marks, todo-category-string-face)
14988 (todo-comment-face, todo-comment-string, todo-current-todo-file)
14989 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
14990 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
14991 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
14992 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
14993 (todo-font-lock-keywords, todo-global-current-todo-file)
14994 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
14995 (todo-insertion-commands-args)
14996 (todo-insertion-commands-args-genlist)
14997 (todo-insertion-commands-names, todo-insertion-map)
14998 (todo-key-bindings-t, todo-key-bindings-t+a)
14999 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
15000 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
15001 (todo-nondiary-face, todo-print-buffer, todo-time-face)
15002 (todo-visited): New variables.
15003
15004 2013-06-21 Glenn Morris <rgm@gnu.org>
15005
15006 * play/cookie1.el (cookie-apropos): Add optional display argument.
15007 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
15008 (psychoanalyze-pinhead): Use cookie-doctor.
15009
15010 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15011
15012 * emacs-lisp/package.el (tar-get-file-descriptor)
15013 (tar--extract): Declare.
15014
15015 2013-06-21 Eduard Wiebe <usenet@pusto.de>
15016
15017 Extend flymake's warning predicate to be a function (bug#14217).
15018 * progmodes/flymake.el (flymake-warning-predicate): New.
15019 (flymake-parse-line): Use it.
15020 (flymake-warning-re): Make obsolete alias to
15021 `flymake-warning-predicate'.
15022
15023 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15024
15025 * emacs-lisp/package.el (package-alist): Include obsolete packages.
15026 (package-obsolete-list): Remove.
15027 (package-activate): Remove min-version argument. Add `force' argument.
15028 Adjust to new package-alist format.
15029 (package-mark-obsolete): Remove.
15030 (package-unpack): Force reload of the package's autoloads.
15031 (package-installed-p): Check builtins if the installed package is not
15032 recent enough.
15033 (package-initialize): Don't reset package-obsolete-list.
15034 Don't specify which package version to activate.
15035 (package-process-define-package, describe-package-1)
15036 (package-menu--generate): Adjust to new package-alist format.
15037
15038 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15039
15040 * allout-widgets.el (allout-widgets-mode-off)
15041 (allout-widgets-mode-on, allout-widgets-pre-command-business)
15042 (allout-widgets-post-command-business)
15043 (allout-widgets-after-copy-or-kill-function)
15044 (allout-widgets-after-undo-function, allout-test-range-overlaps)
15045 (allout-decorate-item-and-context)
15046 (allout-graphics-modification-handler): Fix typos in docstrings.
15047 (allout-get-or-create-parent-widget): Use `looking-at-p'.
15048
15049 * cmuscheme.el (scheme-start-file): Doc fix.
15050 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
15051 (scheme-input-filter): Use `string-match-p'.
15052
15053 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
15054
15055 * dired-x.el: Use Dired consistently in docstrings.
15056
15057 * dired.el: Use Dired consistently in docstrings.
15058 (dired-readin, dired-mode): Use `setq-local'.
15059 (dired-switches-alist): Make defvar-local.
15060 (dired-buffers-for-dir): Use `zerop'.
15061 (dired-safe-switches-p, dired-switches-escape-p)
15062 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
15063 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
15064 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
15065 (dired-goto-next-nontrivial-file): Use `string-match-p'.
15066 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
15067 (dired-toggle-marks, dired-mark-files-containing-regexp)
15068 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
15069 (dired-flag-auto-save-files, dired-flag-backup-files):
15070 Use `looking-at-p'.
15071 (dired-mark-files-regexp, dired-build-subdir-alist):
15072 Use `string-match-p', `looking-at-p'.
15073
15074 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
15075 (direct-print-region-helper): Use `string-match-p'.
15076
15077 2013-06-21 Leo Liu <sdl.web@gmail.com>
15078
15079 * comint.el (comint-redirect-results-list-from-process):
15080 Fix infinite loop.
15081
15082 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15083
15084 * net/eww.el (eww-update-header-line-format): Quote % characters.
15085
15086 2013-06-21 Glenn Morris <rgm@gnu.org>
15087
15088 * play/cookie1.el (cookie): New custom group.
15089 (cookie-file): New option.
15090 (cookie-check-file): New function.
15091 (cookie): Make it interactive. Make start and end messages optional.
15092 Interactively, display the result. Default to cookie-file.
15093 (cookie-insert): Default to cookie-file.
15094 (cookie-snarf): Make start and end messages optional.
15095 Default to cookie-file. Use with-temp-buffer.
15096 (cookie-read): Rename from read-cookie.
15097 Make start and end messages optional. Default to cookie-file.
15098 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
15099 Do not autoload it.
15100 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
15101 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
15102
15103 2013-06-21 Leo Liu <sdl.web@gmail.com>
15104
15105 * progmodes/octave.el (octave-mode): Backward compatibility fix.
15106
15107 2013-06-21 Glenn Morris <rgm@gnu.org>
15108
15109 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
15110
15111 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15112 Daniel Hackney <dan@haxney.org>
15113
15114 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
15115 Consolidate the single-file vs tarball code.
15116 (package-desc-suffix): New function.
15117 (package-desc-full-name): Don't bother inlining it.
15118 (package-load-descriptor): Return the new package-desc.
15119 (package-mark-obsolete): Remove unused arg `package'.
15120 (package-unpack): Make it work for single files as well.
15121 Make it update package-alist.
15122 (package--make-autoloads-and-stuff): Rename from
15123 package--make-autoloads-and-compile. Don't compile any more.
15124 (package--compile): New function.
15125 (package-generate-description-file): New function, extracted from
15126 package-unpack-single.
15127 (package-unpack-single): Remove.
15128 (package--with-work-buffer): Add indentation and debugging info.
15129 (package-download-single): Remove.
15130 (package-install-from-archive): Rename from package-download-tar, make
15131 it take a pkg-desc, and make it work for single files as well.
15132 (package-download-transaction): Simplify.
15133 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
15134 external tar program.
15135 (package-install-from-buffer): Remove `pkg-desc' argument.
15136 Use package-tar-file-info for tar-mode buffers.
15137 (package-install-file): Simplify accordingly.
15138 (package-archive-base): Change to take a pkg-desc.
15139 * tar-mode.el (tar--check-descriptor): New function, extracted from
15140 tar-get-descriptor.
15141 (tar-get-descriptor): Use it.
15142 (tar-get-file-descriptor): New function.
15143 (tar--extract): New function, extracted from tar-extract.
15144 (tar--extract): Use it.
15145 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
15146 case the summary uses non-ascii. Adjust to new calling convention of
15147 package-tar-file-info.
15148
15149 2013-06-21 Leo Liu <sdl.web@gmail.com>
15150
15151 * comint.el (comint-redirect-results-list-from-process):
15152 Fix random delay. (Bug#14681)
15153
15154 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
15155
15156 * profiler.el (profiler-format-number): Use log, not log10.
15157
15158 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15159
15160 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
15161
15162 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15163
15164 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
15165 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
15166 yet available.
15167 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
15168 (AUTOGENEL): ... here.
15169 * emacs-lisp/cl-macs.el (cl--sublis): New function.
15170 (cl--defsubst-expand): Use it.
15171
15172 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
15173
15174 * subr.el (log10): Move here from C code, and declare as obsolete.
15175 All uses of (log10 X) replaced with (log X 10).
15176
15177 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15178
15179 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
15180 Declare with `defvar-local'.
15181 (tabulated-list-use-header-line, tabulated-list-entries)
15182 (tabulated-list-padding, tabulated-list-printer)
15183 (tabulated-list-sort-key): Declare with `defvar-local'.
15184 (tabulated-list-init-header, tabulated-list-print-fake-header):
15185 Use `setq-local'.
15186
15187 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
15188
15189 * arc-mode.el (archive-mode): Add `archive-write-file' to
15190 `write-contents-functions' also for remote files. (Bug#14652)
15191
15192 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
15193
15194 * cus-edit.el (custom-commands): Fix typos.
15195 (custom-display): Fix tooltip text.
15196 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
15197 Fix typos in docstrings.
15198 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
15199 (custom-unlispify-menu-entry, custom-magic-value-create)
15200 (custom-add-see-also, custom-group-value-create): Use ?\s.
15201 (custom-guess-type, customize-apropos, editable-field)
15202 (custom-face-value-create): Use `string-match-p'.
15203 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
15204
15205 * custom.el (custom-load-symbol): Use `string-match-p'.
15206
15207 * ansi-color.el: Convert to lexical binding.
15208 (ansi-colors): Fix URL.
15209 (ansi-color-context, ansi-color-context-region): Use defvar-local.
15210 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
15211 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
15212
15213 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15214
15215 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
15216
15217 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
15218
15219 2013-06-19 Tom Tromey <tromey@redhat.com>
15220
15221 * net/eww.el (eww-top-url): Remove.
15222 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
15223 (eww-render): Set new variables. Don't set eww-top-url.
15224 (eww-handle-link): Handle "prev", "home", and "contents".
15225 Downcase the rel text.
15226 (eww-top-url): Choose best top URL.
15227
15228 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15229
15230 * net/eww.el: Rewrite to implement form elements "by hand" instead of
15231 relying in widget.el. Using widget.el leads to too many
15232 user interface inconsistencies.
15233 (eww-self-insert): Implement entering commands in text fields.
15234 (eww-process-text-input): New function to make text input field editing
15235 work.
15236 (eww-submit): Rewrite to use the new-style form methods.
15237 (eww-select-display): Display the correct selected item.
15238 (eww-change-select): Implement changing the select value.
15239 (eww-toggle-checkbox): Implement radio/checkboxes.
15240 (eww-update-field): Fix compilation error.
15241 (eww-tag-textarea): Implement <textarea>.
15242
15243 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
15244 we don't shadow mode-specific bindings.
15245
15246 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
15247 nothing to push.
15248
15249 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
15250
15251 2013-06-19 Glenn Morris <rgm@gnu.org>
15252
15253 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
15254
15255 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15256
15257 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
15258 not needed.
15259
15260 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
15261
15262 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15263
15264 * net/browse-url.el (browse-url-browser-function):
15265 `eww-browse-url' has the right calling signature, `eww' does not.
15266
15267 2013-06-19 Glenn Morris <rgm@gnu.org>
15268
15269 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15270 Only eval autoloaded macros.
15271 (byte-compile-autoload): Only give the macro warning for macros.
15272
15273 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
15274 (ps-underlined-faces): Declare.
15275
15276 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
15277 (speedbar-add-supported-extension): Declare.
15278
15279 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
15280 Don't include a date stamp in the header of the generated file;
15281 it leads to needless differences between output files.
15282
15283 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
15284
15285 * net/secrets.el (secrets-struct-secret-content-type):
15286 Replace check of introspection data by a test call of "CreateItem".
15287 Some servers do not offer introspection.
15288
15289 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * electric.el (electric-pair-mode): Improve interaction with
15292 electric-layout-mode.
15293 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
15294 (electric-pair-syntax): Use text-mode-syntax-table in comments
15295 and strings.
15296 (electric-pair--insert): New function.
15297 (electric-pair-post-self-insert-function): Use it and
15298 electric--after-char-pos.
15299
15300 2013-06-19 Leo Liu <sdl.web@gmail.com>
15301
15302 * progmodes/octave.el (octave-help): Fix regexp.
15303
15304 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15305
15306 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
15307 (shr-table-horizontal-line): Allow nil as a value, and change the
15308 default.
15309 (shr-insert-table-ruler): Respect the nil value.
15310
15311 2013-06-18 Tom Tromey <tromey@barimba>
15312
15313 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15314 New defvars.
15315 (eww-open-file): New defun.
15316 (eww-render): Initialize new variables.
15317 (eww-display-html): Handle "link" and "a".
15318 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
15319 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
15320 (eww-back-url): Rename from eww-previous-url.
15321 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
15322 New defuns.
15323
15324 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
15325
15326 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
15327 Distinguish ternary operator tokens from slash symbol and slash
15328 char literal.
15329
15330 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15331
15332 Convert symbol prettification into minor mode and global minor mode.
15333
15334 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
15335 `prog-prettify-symbols', and make a local defvar instead of defcustom.
15336 (prettify-symbols--keywords): Rename from
15337 `prog-prettify-symbols-alist' and make a local defvar.
15338 (prettify-symbols--compose-symbol): Rename from
15339 `prog--prettify-font-lock-compose-symbol'.
15340 (prettify-symbols--make-keywords): Rename from
15341 `prog-prettify-font-lock-symbols-keywords' and simplify.
15342 (prog-prettify-install): Remove.
15343 (prettify-symbols-mode): New minor mode, based on
15344 `prog-prettify-install'.
15345 (turn-on-prettify-symbols-mode): New function.
15346 (global-prettify-symbols-mode): New globalized minor mode.
15347
15348 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15349 * progmodes/cfengine.el (cfengine3-mode):
15350 * progmodes/perl-mode.el (perl-mode): Don't call
15351 `prog-prettify-install'; set `prettify-symbols-alist' instead.
15352
15353 2013-06-18 Juri Linkov <juri@jurta.org>
15354
15355 * files-x.el (modify-file-local-variable-message): New function.
15356 (modify-file-local-variable)
15357 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
15358 and call `modify-file-local-variable-message' when it's non-nil.
15359 (add-file-local-variable, delete-file-local-variable)
15360 (add-file-local-variable-prop-line)
15361 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
15362 and use it. (Bug#9820)
15363
15364 2013-06-18 Juri Linkov <juri@jurta.org>
15365
15366 * emulation/vi.el (vi-shell-op):
15367 * emulation/vip.el (vip-execute-com, ex-command):
15368 * emulation/viper-cmd.el (viper-exec-bang):
15369 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
15370 the call of `shell-command-on-region'. (Bug#14637)
15371
15372 * simple.el (shell-command-on-region): Doc fix.
15373
15374 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15375
15376 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
15377 (bug#14633).
15378
15379 2013-06-18 Glenn Morris <rgm@gnu.org>
15380
15381 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
15382
15383 * newcomment.el (comment-search-forward, comment-search-backward):
15384 Doc fix. (Bug#14376)
15385
15386 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
15387
15388 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
15389 (buffer-face-mode-invoke): Doc fix.
15390
15391 2013-06-18 Matthias Meulien <orontee@gmail.com>
15392
15393 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
15394 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
15395
15396 2013-06-18 Glenn Morris <rgm@gnu.org>
15397
15398 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
15399 Replace obsolete function generic-make-keywords with its expansion.
15400
15401 * progmodes/python.el (ffap-alist): Declare.
15402
15403 * textmodes/reftex.el (bibtex-mode-map): Declare.
15404
15405 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
15406
15407 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
15408 (package-unpack, package-unpack-single): Return the pkg-dir.
15409 (package-download-transaction): Use it to update package-alist.
15410
15411 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15412
15413 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
15414 possible choice.
15415
15416 2013-06-17 Juri Linkov <juri@jurta.org>
15417
15418 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
15419
15420 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15421
15422 * emacs-lisp/package.el (package-load-descriptor):
15423 Remove `with-syntax-table' call, `read' doesn't need it.
15424 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
15425
15426 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15427
15428 * startup.el (command-line): Expand package name returned by
15429 `package--description-file' (bug#14639).
15430
15431 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
15432
15433 * emacs-lisp/package.el (package-load-descriptor): Do not call
15434 `emacs-lisp-mode', just use its syntax table.
15435
15436 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
15437
15438 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
15439 `font-lock-extra-managed-props' if any prettifying keyword is added.
15440 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
15441 (prog-mode): Use `setq-local'.
15442
15443 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15444
15445 * international/characters.el (standard-case-table): Set syntax of ?»
15446 and ?« to punctuation.
15447
15448 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
15449
15450 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
15451 Save relevant match data before calling `syntax-ppss' (bug#14595).
15452
15453 2013-06-15 Juri Linkov <juri@jurta.org>
15454
15455 * files-x.el (modify-file-local-variable-prop-line): Add local
15456 variables to the end of the existing comment on the first line.
15457 Use `file-auto-mode-skip' to skip interpreter magic line,
15458 and also skip XML declaration.
15459
15460 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15461
15462 * startup.el (package--builtin-versions): New var.
15463 (package-subdirectory-regexp): Remove.
15464 (package--description-file): Hard code its value instead.
15465
15466 * emacs-lisp/package.el: Don't activate packages older than builtin.
15467 (package-obsolete-list): Rename from package-obsolete-alist, and make
15468 it into a simple list of package-desc.
15469 (package-strip-version): Remove.
15470 (package-built-in-p): Use package--builtin-versions.
15471 (package-mark-obsolete): Simplify.
15472 (package-process-define-package): Mark it obsolete if older than the
15473 builtin version.
15474 (package-handle-response): Use line-end-position.
15475 (package-read-archive-contents, package--download-one-archive):
15476 Simplify.
15477 (package--add-to-archive-contents): Skip if older than the builtin or
15478 installed version.
15479 (package-menu-describe-package): Fix last change.
15480 (package-list-unversioned): New var.
15481 (package-menu--generate): Use it.
15482
15483 * emacs-lisp/autoload.el: Manage package--builtin-versions.
15484 (autoload--insert-text, autoload--insert-cookie-text): New functions.
15485 (autoload-builtin-package-versions): New variable.
15486 (autoload-generate-file-autoloads): Use them.
15487 Remove the list of autoloaded functions/macros from the
15488 (autoload...) comments.
15489
15490 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
15491
15492 2013-06-15 Eli Zaretskii <eliz@gnu.org>
15493
15494 * simple.el (line-move-partial): Don't jump to the next screen
15495 line as soon as it becomes visible. Instead, continue enlarging
15496 the vscroll until the portion of a tall screen line that's left on
15497 display is about the height of the frame's default font.
15498 (Bug#14567)
15499
15500 2013-06-15 Glenn Morris <rgm@gnu.org>
15501
15502 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
15503 compilation-error-regexp-alist void, or local while let-bound.
15504
15505 * progmodes/make-mode.el (makefile-mode-syntax-table):
15506 Treat "=" as punctuation. (Bug#14614)
15507
15508 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
15509
15510 * help-fns.el (describe-variable):
15511 Add extra line for permanent-local variables.
15512
15513 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
15514
15515 * progmodes/scheme.el (scheme-font-lock-keywords-2):
15516 Add export, import, library. (Bug#9164)
15517 (library): Set indent function.
15518
15519 2013-06-14 Glenn Morris <rgm@gnu.org>
15520
15521 * term/xterm.el (xterm--query):
15522 Stop after first matching handler. (Bug#14615)
15523
15524 2013-06-14 Ivan Kanis <ivan@kanis.fr>
15525
15526 Add support for dired in saveplace.
15527 * dired.el (dired-initial-position-hook): New variable.
15528 (dired-initial-position): Call hook to place cursor position.
15529 * saveplace.el (save-place-to-alist): Add dired position.
15530 (save-place-dired-hook): New function.
15531
15532 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
15533
15534 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
15535 through a symbol rather than letrec.
15536
15537 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
15538 (package-desc): Add `dir' field.
15539 (package-desc-full-name): New function.
15540 (package-load-descriptor): Combine the two arguments. Don't use `load'.
15541 (package-maybe-load-descriptor): Remove.
15542 (package-load-all-descriptors): Just call package-load-descriptor.
15543 (package--disabled-p): New function.
15544 (package-desc-vers, package-desc-doc): Remove aliases.
15545 (package--dir): Remove function.
15546 (package-activate): Check if a package is disabled.
15547 (package-process-define-package): New function, extracted from
15548 define-package.
15549 (define-package): Turn into a place holder.
15550 (package-unpack-single, package-tar-file-info):
15551 Use package--description-file.
15552 (package-compute-transaction): Use package--disabled-p.
15553 (package-download-transaction): Don't call
15554 package-maybe-load-descriptor since they're all loaded anyway.
15555 (package-install): Change argument to be a pkg-desc.
15556 (package-delete): Use a single pkg-desc argument.
15557 (describe-package-1): Use package-desc-dir instead of package--dir.
15558 Use package-desc property instead of package-symbol.
15559 (package-install-button-action): Adjust accordingly.
15560 (package--push): Rewrite.
15561 (package-menu--print-info): Adjust accordingly. Change the ID format
15562 to be a pkg-desc.
15563 (package-menu-describe-package, package-menu-get-status)
15564 (package-menu--find-upgrades, package-menu-mark-upgrades)
15565 (package-menu-execute, package-menu--name-predicate):
15566 Adjust accordingly.
15567 * startup.el (package--description-file): New function.
15568 (command-line): Use it.
15569 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15570 Use package-desc-version.
15571
15572 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
15573 (byte-compile-preprocess): Use it.
15574 (byte-compile-file-form-defalias): Try a bit harder to use macros we
15575 can't quite recognize.
15576 (byte-compile-add-to-list): Remove.
15577 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
15578 (cconv-closure-convert): Add assertion.
15579
15580 * emacs-lisp/map-ynp.el: Use lexical-binding.
15581 (map-y-or-n-p): Remove unused vars `tail' and `object'.
15582 Factor out some repeated code.
15583
15584 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15585
15586 * subr.el (with-eval-after-load): New macro.
15587 (eval-after-load): Allow form to be a function.
15588 take advantage of lexical-binding.
15589 (do-after-load-evaluation): Use dolist and adjust to new format.
15590 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
15591
15592 2013-06-13 Juri Linkov <juri@jurta.org>
15593
15594 * replace.el (perform-replace): Display "symbol " and other search
15595 modes from `isearch-message-prefix' in the *Help* buffer.
15596
15597 * isearch.el (isearch-query-replace): Add " symbol" and other
15598 possible search modes from `isearch-message-prefix' to the prompt.
15599 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
15600 when reading a regexp to collect.
15601
15602 2013-06-13 Juri Linkov <juri@jurta.org>
15603
15604 * isearch.el (word-search-regexp): Match whitespace if the search
15605 string begins or ends in whitespace. The LAX arg is applied to
15606 both ends of the search string. Use `regexp-quote' and explicit
15607 \< and \> instead of \b. Use \` and \' instead of ^ and $.
15608 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
15609 boundaries are replaced with symbol boundaries, and characters
15610 between symbols match non-word non-symbol syntax. (Bug#14602)
15611
15612 2013-06-13 Juri Linkov <juri@jurta.org>
15613
15614 * isearch.el (isearch-del-char): Don't exceed the length of
15615 `isearch-string' by the prefix arg. (Bug#14563)
15616
15617 2013-06-13 Juri Linkov <juri@jurta.org>
15618
15619 * isearch.el (isearch-yank-word, isearch-yank-line)
15620 (isearch-char-by-name, isearch-quote-char)
15621 (isearch-printing-char, isearch-process-search-char):
15622 Add optional count prefix arg. (Bug#14563)
15623
15624 * international/isearch-x.el
15625 (isearch-process-search-multibyte-characters):
15626 Add optional count prefix arg.
15627
15628 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
15631 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
15632 lexical-binding.
15633
15634 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
15635
15636 * subr.el (set-temporary-overlay-map): Add on-exit argument.
15637
15638 2013-06-13 Glenn Morris <rgm@gnu.org>
15639
15640 * startup.el (tty-handle-args):
15641 Don't just discard "--" and anything after. (Bug#14608)
15642
15643 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
15644
15645 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
15646
15647 Implement changes in Secret Service API. Make it backward compatible.
15648 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
15649 (secrets-create-item): Use it. Prefix properties with interface.
15650
15651 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
15652
15653 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
15654 (term-emulate-terminal): Respect term-suppress-hard-newline.
15655
15656 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
15657
15658 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
15659 Only remove a `thumb-file' overlay. (Bug#14548)
15660
15661 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
15662
15663 * mail/reporter.el (reporter-submit-bug-report):
15664 Handle missing package-name. (Bug#14600)
15665
15666 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15667
15668 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
15669 (reftex-citation-prompt, reftex-default-bibliography)
15670 (reftex-bib-or-thebib, reftex-get-bibfile-list)
15671 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
15672 (reftex-bib-sort-author, reftex-bib-sort-year)
15673 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
15674 (reftex-extract-bib-entries-from-thebibliography)
15675 (reftex-get-bibkey-default, reftex-get-bib-names)
15676 (reftex-parse-bibtex-entry, reftex-get-bib-field)
15677 (reftex-format-bib-entry, reftex-parse-bibitem)
15678 (reftex-format-bibitem, reftex-do-citation)
15679 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
15680 (reftex-restrict-bib-matches, reftex-extract-bib-file)
15681 (reftex-insert-bib-matches, reftex-format-citation)
15682 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
15683 (reftex-create-bibtex-file): Add docstrings, mostly by converting
15684 existing comments into docstrings.
15685
15686 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15687
15688 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
15689
15690 2013-06-12 Andreas Schwab <schwab@suse.de>
15691
15692 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
15693 for auto-save files.
15694
15695 2013-06-12 Glenn Morris <rgm@gnu.org>
15696
15697 * ido.el (ido-delete-ignored-files): Remove.
15698 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
15699 Go back to calling ido-ignore-item-p directly.
15700
15701 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
15702
15703 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
15704
15705 * ido.el (ido-delete-ignored-files): New function,
15706 split from ido-make-file-list-1.
15707 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
15708 (ido-make-file-list-1): Use ido-delete-ignored-files.
15709
15710 2013-06-12 Leo Liu <sdl.web@gmail.com>
15711
15712 * progmodes/octave.el (inferior-octave-startup)
15713 (inferior-octave-completion-table)
15714 (inferior-octave-track-window-width-change)
15715 (octave-eldoc-function-signatures, octave-help)
15716 (octave-find-definition): Use single quoted strings.
15717 (inferior-octave-startup-args): Change default value.
15718 (inferior-octave-startup): Do not hard code "-i" and
15719 "--no-line-editing".
15720 (inferior-octave-resync-dirs): Add optional arg NOERROR.
15721 (inferior-octave-directory-tracker): Use it.
15722 (octave-goto-function-definition): Robustify.
15723 (octave-help): Support highlighting operators in 'See also'.
15724 (octave-find-definition): Find subfunctions only in Octave mode.
15725
15726 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15727
15728 * help-fns.el (help-fns--compiler-macro): If the handler function is
15729 named, then put a link to it.
15730 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
15731 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
15732 (cl-typep): Use it.
15733 (cl-eval-when): Simplify debug spec.
15734 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
15735 compiler-macro function instead of setting `compiler-macro-file'.
15736
15737 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
15738
15739 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
15740 * vc/vc-hooks.el (vc-stay-local): Doc fix.
15741
15742 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
15743 Daniel Hackney <dan@haxney.org>
15744
15745 First part of Daniel Hackney's patch to package.el.
15746 * emacs-lisp/package.el: Use defstruct.
15747 (package-desc): New, main struct.
15748 (package--bi-desc, package--ac-desc): New structs, used to describe the
15749 format in external files.
15750 (package-desc-vers): Replace with package-desc-version accessor.
15751 (package-desc-doc): Replace with package-desc-summary accessor.
15752 (package-activate-1): Remove `package' arg since the pkg-vec now
15753 includes the name.
15754 (define-package): Use package-desc-from-define.
15755 (package-unpack-single): Change file-name arg to be a symbol.
15756 (package--add-to-archive-contents): Use package-desc-create and new
15757 accessor functions to package--ac-desc.
15758 (package-buffer-info, package-tar-file-info): Return a package-desc.
15759 (package-install-from-buffer): Remove `type' argument. Change pkg-info
15760 arg to be a package-desc.
15761 (package-install-file): Adjust accordingly. Use \' to match EOS.
15762 (package--from-builtin): New function.
15763 (describe-package-1, package-menu--generate): Use it.
15764 (package--make-autoloads-and-compile): Change name arg to be a symbol.
15765 (package-generate-autoloads): Idem and return the name of the file.
15766 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15767 Change pkg-info arg to be a package-desc.
15768 Use package-make-ac-desc.
15769 (package-upload-file): Use \' to match EOS.
15770 * finder.el (finder-compile-keywords): Use package-make-builtin.
15771
15772 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15773
15774 * vc/vc.el (vc-deduce-fileset): Change error message.
15775 (vc-read-backend): New function.
15776 (vc-next-action): Use it.
15777
15778 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
15779
15780 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
15781 (prolog-font-lock-keywords): Use regexp-opt instead.
15782 Don't manually highlight strings.
15783 (prolog-mode-variables): Simplify comment-start-skip.
15784 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
15785
15786 * emacs-lisp/generic.el (generic--normalise-comments)
15787 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
15788 (generic-mode-set-comments): Use them.
15789 (generic-bracket-support): Use setq-local.
15790 (generic-make-keywords-list): Declare obsolete.
15791
15792 2013-06-11 Glenn Morris <rgm@gnu.org>
15793
15794 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
15795 Prettify after setting font-lock-defaults. (Bug#14574)
15796
15797 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
15798
15799 * replace.el (query-replace, occur-read-regexp-defaults-function)
15800 (replace-search):
15801 * subr.el (declare-function, number-sequence, local-set-key)
15802 (substitute-key-definition, locate-user-emacs-file)
15803 (with-silent-modifications, split-string, eval-after-load):
15804 Fix typos, remove unneeded backslashes and reflow some docstrings.
15805
15806 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
15807
15808 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
15809 default for Elisp files.
15810
15811 2013-06-11 Glenn Morris <rgm@gnu.org>
15812
15813 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
15814 although define-derived-mode was doing this anyway. (Bug#14583)
15815
15816 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
15817
15818 * allout.el (allout-encryption-plaintext-sanitization-regexps):
15819 Fix make-variable-buffer-local call to refer to the correct variable.
15820
15821 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
15822
15823 * eshell/em-term.el (eshell-visual-commands)
15824 (eshell-visual-subcommands, eshell-visual-options):
15825 Add summary line to docstrings. Add cross-references.
15826
15827 2013-06-10 Glenn Morris <rgm@gnu.org>
15828
15829 * epa.el (epa-read-file-name): New function. (Bug#14510)
15830 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
15831
15832 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15833
15834 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
15835 output redirection to be ignored with visual commands.
15836
15837 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
15838
15839 * eshell/em-term.el (eshell-visual-command-p): New function.
15840 (eshell-term-initialize): Move long lambda to separate function
15841 eshell-visual-command-p.
15842 * eshell/em-dirs.el (eshell-dirs-initialize):
15843 * eshell/em-script.el (eshell-script-initialize):
15844 Add missing #' to lambda.
15845
15846 2013-06-08 Leo Liu <sdl.web@gmail.com>
15847
15848 * progmodes/octave.el (octave-add-log-current-defun): New function.
15849 (octave-mode): Set add-log-current-defun-function.
15850 (octave-goto-function-definition): Do not move point if not found.
15851 (octave-find-definition): Enhance to try subfunctions first.
15852
15853 2013-06-08 Glenn Morris <rgm@gnu.org>
15854
15855 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15856 (byte-compile-backward-char, byte-compile-backward-word):
15857 Improve previous change, to handle non-explicit nil.
15858
15859 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
15860
15861 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
15862 (smie--opener/closer-at-point): New function.
15863 (smie--matching-block-data): Use it. Don't match from right after an
15864 opener or right before a closer. Obey smie-blink-matching-inners.
15865 Don't signal a mismatch for repeated inners like "switch..case..case".
15866
15867 2013-06-07 Leo Liu <sdl.web@gmail.com>
15868
15869 * progmodes/octave.el (octave-mode): Set comment-use-global-state
15870 to t. (Bug#14303)
15871 (octave-function-header-regexp): Fix. (Bug#14570)
15872 (octave-help-mode-finish-hook, octave-help-mode-finish):
15873 Remove. Just use temp-buffer-show-hook.
15874
15875 * newcomment.el (comment-search-backward): Revert last change.
15876 (Bug#14434)
15877
15878 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
15879
15880 2013-06-07 Eli Zaretskii <eliz@gnu.org>
15881
15882 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
15883 through xargs, to avoid failure due to MS-Windows limitations on
15884 command-line length.
15885
15886 2013-06-06 Glenn Morris <rgm@gnu.org>
15887
15888 * font-lock.el (lisp-font-lock-keywords-2):
15889 Treat user-error like error.
15890
15891 * emacs-lisp/bytecomp.el (byte-compile-char-before)
15892 (byte-compile-backward-char, byte-compile-backward-word):
15893 Handle explicit nil arguments. (Bug#14565)
15894
15895 2013-06-05 Alan Mackenzie <acm@muc.de>
15896
15897 * isearch.el (isearch-allow-prefix): New user option.
15898 (isearch-other-meta-char): Don't exit isearch when a prefix
15899 argument is typed whilst `isearch-allow-prefix' is non-nil.
15900 (Bug#9706)
15901
15902 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15903
15904 * autorevert.el (auto-revert-notify-handler): Use memq.
15905 Hide assertion failure.
15906
15907 * skeleton.el: Use cl-lib.
15908 (skeleton-further-elements): Use defvar-local.
15909 (skeleton-insert): Use cl-progv.
15910
15911 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15912
15913 * progmodes/prog-mode.el (prog-prettify-symbols)
15914 (prog-prettify-install): Update docstrings.
15915
15916 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * simple.el: Move all the prog-mode code to prog-mode.el.
15919 * progmodes/prog-mode.el: New file.
15920 * loadup.el: Add prog-mode.el.
15921
15922 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15923
15924 * simple.el (prog-prettify-symbols): Add version.
15925 (prog-prettify-install): Add convenience function to prettify symbols.
15926
15927 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
15928 (perl--augmented-font-lock-keywords-1)
15929 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
15930 variables and use it.
15931
15932 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15933 (cfengine3-mode): Remove unneeded variable and use it.
15934
15935 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15936 (lisp--augmented-font-lock-keywords-1)
15937 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
15938 Remove unneeded variables and use it.
15939
15940 2013-06-05 João Távora <joaotavora@gmail.com>
15941
15942 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
15943 to point when opening the connection. (Bug#14380)
15944
15945 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
15946
15947 * subr.el (load-history-regexp, load-history-filename-element)
15948 (eval-after-load, after-load-functions, do-after-load-evaluation)
15949 (eval-next-after-load, display-delayed-warnings)
15950 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
15951 definition of save-match-data.
15952 (overriding-local-map): Remove accidental obsolescence declaration.
15953
15954 * emacs-lisp/edebug.el (edebug-result): Move before first use.
15955
15956 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
15957
15958 Generalize symbol prettify support to prog-mode and implement it
15959 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
15960 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
15961 (prog--prettify-font-lock-compose-symbol)
15962 (prog-prettify-font-lock-symbols-keywords): New variables and
15963 functions to support symbol prettification.
15964 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
15965 (lisp--augmented-font-lock-keywords-1)
15966 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
15967 (lisp--prettify-symbols-alist): Implement prettify of lambda.
15968 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
15969 (cfengine3--prettify-symbols-alist, cfengine3-mode):
15970 Implement prettify of -> => :: strings.
15971 * progmodes/perl-mode.el (perl-prettify-symbols)
15972 (perl--font-lock-compose-symbol)
15973 (perl--font-lock-symbols-keywords): Move to prog-mode.
15974 (perl--prettify-symbols-alist): Prettify -> => :: strings.
15975 (perl-font-lock-keywords-1)
15976 (perl-font-lock-keywords-2): Remove explicit prettify support.
15977 (perl--augmented-font-lock-keywords)
15978 (perl--augmented-font-lock-keywords-1)
15979 (perl--augmented-font-lock-keywords-2, perl-mode):
15980 Implement prettify support.
15981
15982 2013-06-05 Leo Liu <sdl.web@gmail.com>
15983
15984 Re-implement SMIE matching block highlight using
15985 show-paren-data-function. (Bug#14395)
15986 * emacs-lisp/smie.el (smie-matching-block-highlight)
15987 (smie--highlight-matching-block-overlay)
15988 (smie--highlight-matching-block-lastpos)
15989 (smie-highlight-matching-block)
15990 (smie-highlight-matching-block-mode): Remove.
15991 (smie--matching-block-data-cache): New variable.
15992 (smie--matching-block-data): New function.
15993 (smie-setup): Use smie--matching-block-data for
15994 show-paren-data-function.
15995
15996 * progmodes/octave.el (octave-mode-menu): Fix.
15997 (octave-find-definition): Skip garbage lines.
15998
15999 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16000
16001 Fix compilation error with simultaneous dynamic+lexical scoping.
16002 Add warning when a defvar appears after the first let-binding.
16003 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
16004 (byte-compile-close-variables): Initialize it.
16005 (byte-compile--declare-var): New function.
16006 (byte-compile-file-form-defvar)
16007 (byte-compile-file-form-define-abbrev-table)
16008 (byte-compile-file-form-custom-declare-variable): Use it.
16009 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
16010 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
16011 (byte-compile-bind): Handle dynamic bindings that shadow
16012 lexical bindings.
16013 (byte-compile-unbind): Make arg non-optional.
16014 (byte-compile-let): Simplify.
16015 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
16016 (cconv--analyse-function, cconv-analyse-form): Populate it.
16017 Protect byte-compile-bound-variables to limit the scope of defvars.
16018 (cconv-analyse-form): Add missing rule for (defvar <foo>).
16019 Remove unneeded rule for `declare'.
16020
16021 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
16022 so as to avoid depending on cl-adjoin at run-time.
16023 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
16024
16025 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
16026 (macroexp--warn-and-return): Use it.
16027
16028 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
16029
16030 * subr.el: Convert to lexical binding.
16031 (overriding-local-map): Make obsolete.
16032 (add-to-list): Doc fix. Add compiler macro.
16033 (read-key): Swap values of local maps.
16034
16035 2013-06-05 Leo Liu <sdl.web@gmail.com>
16036
16037 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
16038
16039 2013-06-04 Leo Liu <sdl.web@gmail.com>
16040
16041 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
16042 (compilation-auto-jump): Suppress the "Mark set" message to give
16043 way to exit message.
16044
16045 2013-06-04 Alan Mackenzie <acm@muc.de>
16046
16047 Remove faulty optimisation from indentation calculation.
16048 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
16049 search limit based on 2000 characters back from indent-point.
16050
16051 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16052
16053 * eshell/em-term.el (cl-lib): Require `cl-lib'.
16054
16055 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
16056
16057 * emacs-lisp/lisp.el: Use lexical-binding.
16058 (lisp--local-variables-1, lisp--local-variables): New functions.
16059 (lisp--local-variables-completion-table): New var.
16060 (lisp-completion-at-point): Use it complete let-bound vars.
16061
16062 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
16063 eagerly (bug#14422).
16064
16065 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
16066
16067 * autorevert.el (auto-revert-notify-enabled)
16068 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
16069 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
16070 (auto-revert-notify-handler): Handle also gfilenotify.
16071
16072 * subr.el (file-notify-handle-event): New defun. Replacing ...
16073 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
16074 Remove.
16075
16076 2013-06-03 Juri Linkov <juri@jurta.org>
16077
16078 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
16079 `M-s h .'. (Bug#14427)
16080
16081 * hi-lock.el (highlight-symbol-at-point): New alias for the new
16082 command `hi-lock-face-symbol-at-point'.
16083 (hi-lock-face-symbol-at-point): New command.
16084 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
16085 (hi-lock-menu): Add `highlight-symbol-at-point'.
16086 (hi-lock-mode): Doc fix.
16087
16088 * isearch.el (isearch-forward-symbol-at-point): New command.
16089 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
16090 (isearch-highlight-regexp): Add a regexp which matches
16091 words/symbols for word/symbol mode.
16092
16093 * subr.el (find-tag-default-bounds): New function with the body
16094 mostly moved from `find-tag-default'.
16095 (find-tag-default): Move most code to `find-tag-default-bounds',
16096 call it and apply `buffer-substring-no-properties' afterwards.
16097
16098 2013-06-03 Tassilo Horn <tsdh@gnu.org>
16099
16100 * eshell/em-term.el (eshell-term-initialize):
16101 Use `cl-intersection' rather than `intersection'.
16102
16103 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
16104
16105 * vc/log-view.el: Doc fix.
16106 (log-view-mode-map): Copy keymap from `special-mode-map'.
16107
16108 2013-06-02 Eric Ludlam <zappo@gnu.org>
16109
16110 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
16111 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
16112 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
16113 (eieio-unbound, eieio-default-superclass)
16114 (eieio--define-field-accessors, method-static, method-before)
16115 (method-primary, method-after, method-num-lists)
16116 (method-generic-before, method-generic-primary)
16117 (method-generic-after, method-num-slots)
16118 (eieio-specialized-key-to-generic-key)
16119 (eieio--check-type, class-v, class-p)
16120 (eieio-class-name, define-obsolete-function-alias)
16121 (eieio-class-parents-fast, eieio-class-children-fast)
16122 (same-class-fast-p, class-constructor, generic-p)
16123 (generic-primary-only-p, generic-primary-only-one-p)
16124 (class-option-assoc, class-option, eieio-object-p)
16125 (class-abstract-p, class-method-invocation-order)
16126 (eieio-defclass-autoload-map, eieio-defclass-autoload)
16127 (eieio-class-un-autoload, eieio-defclass)
16128 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
16129 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
16130 (eieio--defgeneric-init-form, eieio-defgeneric-form)
16131 (eieio-defgeneric-reset-generic-form)
16132 (eieio-defgeneric-form-primary-only)
16133 (eieio-defgeneric-reset-generic-form-primary-only)
16134 (eieio-defgeneric-form-primary-only-one)
16135 (eieio-defgeneric-reset-generic-form-primary-only-one)
16136 (eieio-unbind-method-implementations)
16137 (eieio--defmethod, eieio--typep)
16138 (eieio-perform-slot-validation, eieio-validate-slot-value)
16139 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
16140 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
16141 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
16142 (eieio-slot-name-index, eieio-class-slot-name-index)
16143 (eieio-set-defaults, eieio-initarg-to-attribute)
16144 (eieio-attribute-to-initarg, eieio-c3-candidate)
16145 (eieio-c3-merge-lists, eieio-class-precedence-c3)
16146 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
16147 (eieio-class-precedence-list, eieio-generic-call-methodname)
16148 (eieio-generic-call-arglst, eieio-generic-call-key)
16149 (eieio-generic-call-next-method-list)
16150 (eieio-pre-method-execution-functions, eieio-generic-call)
16151 (eieio-generic-call-primary-only, eieiomt-method-list)
16152 (eieiomt-optimizing-obarray, eieiomt-install)
16153 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
16154 (eieio-generic-form, eieio-defmethod, make-obsolete)
16155 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
16156 (defclass): Remove `eval-and-compile' from macro.
16157 (call-next-method, shared-initialize): Instead of using
16158 `scoped-class' variable, use new eieio--scoped-class, and
16159 eieio--with-scoped-class.
16160 (initialize-instance): Rename local variable 'scoped-class' to
16161 'this-class' to remove ambiguitity from old global.
16162
16163 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
16164 eieio.el.
16165 (eieio--scoped-class-stack): New variable.
16166 (eieio--scoped-class): New fcn.
16167 (eieio--with-scoped-class): New scoping macro.
16168 (eieio-defclass): Use pushnew instead of add-to-list.
16169 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
16170 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
16171 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
16172 `scoped-class' variable, use new eieio--scoped-class, and
16173 eieio--with-scoped-class.
16174
16175 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
16176
16177 2013-06-02 Tassilo Horn <tsdh@gnu.org>
16178
16179 * eshell/esh-ext.el (eshell-external-command): Pass args to
16180 `eshell-find-interpreter'.
16181 (eshell-find-interpreter): Add new second parameter ARGS.
16182
16183 * eshell/em-script.el (eshell-script-initialize): Add second arg
16184 to the function added as MATCH to `eshell-interpreter-alist'.
16185
16186 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
16187 the function added as MATCH to `eshell-interpreter-alist'.
16188
16189 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
16190 (eshell-visual-options): New defcustom.
16191 (eshell-escape-control-x): Adapt docstring.
16192 (eshell-term-initialize): Test `eshell-visual-subcommands' and
16193 `eshell-visual-options' in addition to `eshell-visual-commands'.
16194 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
16195
16196 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
16197
16198 * progmodes/python.el (python-indent-block-enders): Add break,
16199 continue and raise keywords.
16200
16201 2013-06-01 Glenn Morris <rgm@gnu.org>
16202
16203 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
16204
16205 Plain (f)boundp silences compilation warnings since Emacs 22.1.
16206 * progmodes/cc-cmds.el (delete-forward-p):
16207 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
16208 * progmodes/cc-engine.el (buffer-syntactic-context):
16209 * progmodes/cc-fonts.el (face-property-instance):
16210 * progmodes/cc-mode.el (set-keymap-parents):
16211 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
16212 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
16213 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
16214 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
16215 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
16216
16217 * progmodes/cc-vars.el (other): Emacs has this widget since
16218 at least 21.1, so don't (re)define it.
16219
16220 * eshell/em-cmpl.el (eshell-cmpl-initialize):
16221 Replace the obsolete alias pcomplete-arg-quote-list.
16222
16223 2013-06-01 Leo Liu <sdl.web@gmail.com>
16224
16225 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
16226 punctuation syntax.
16227 (inferior-octave-minimal-columns)
16228 (inferior-octave-last-column-width): New variables.
16229 (inferior-octave-track-window-width-change): New function.
16230 (inferior-octave-mode): Adjust column width so that Octave output,
16231 for example from 'ls', can fit into the window nicely.
16232
16233 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16234
16235 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16236 Highlight expansions inside regexp literals.
16237
16238 2013-05-31 Glenn Morris <rgm@gnu.org>
16239
16240 * obsolete/sym-comp.el (symbol-complete):
16241 Replace obsolete completion-annotate-function.
16242
16243 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
16244
16245 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
16246
16247 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
16248 New function, checks if point is inside a literal that allows
16249 expression expansion.
16250 (ruby-syntax-propertize-expansion): Use it.
16251 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
16252 around the body.
16253
16254 2013-05-30 Juri Linkov <juri@jurta.org>
16255
16256 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
16257 to "\M-si".
16258 (isearch-invisible): New variable.
16259 (isearch-forward): Doc fix.
16260 (isearch-mode): Set `isearch-invisible'
16261 to the value of `search-invisible'.
16262 (isearch-toggle-case-fold): Doc fix.
16263 (isearch-toggle-invisible): New command.
16264 (isearch-query-replace): Let-bind `search-invisible'
16265 to the value of `isearch-invisible'.
16266 (isearch-search): Use `isearch-invisible' instead of
16267 `search-invisible'. Let-bind `search-invisible'
16268 to the value of `isearch-invisible'. (Bug#11378)
16269
16270 2013-05-30 Juri Linkov <juri@jurta.org>
16271
16272 * replace.el (perform-replace): Avoid `isearch-range-invisible'
16273 call when `query-flag' is nil and `search-invisible' is non-nil.
16274 (Bug#11746)
16275
16276 2013-05-30 Glenn Morris <rgm@gnu.org>
16277
16278 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
16279
16280 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
16281 (cc-require): Suppress spurious "noruntime" warnings.
16282 (cc-require-when-compile): Use fboundp, for sake of compiler.
16283
16284 * progmodes/cc-mode.el: Move load of cc-vars before that of
16285 cc-langs (which in turn loads cc-vars), to quieten compiler.
16286
16287 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16288
16289 * paren.el: Simplify the code.
16290 (show-paren-mode): Always start the timer.
16291 (show-paren--idle-timer): Rename from show-paren-idle-timer.
16292 (show-paren--overlay, show-paren--overlay-1): Rename from
16293 show-paren-overlay and show-paren-overlay-1, and initialize to an
16294 overlay rather than to nil.
16295 (show-paren-function): Misc cleanup and simplifications.
16296
16297 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16298
16299 * paren.el (show-paren-data-function): New hook.
16300 (show-paren--default): New function, extracted from show-paren-function.
16301 (show-paren-function): Use show-paren-data-function.
16302
16303 2013-05-30 Glenn Morris <rgm@gnu.org>
16304
16305 * ielm.el (ielm-map, ielm-complete-symbol):
16306 Use completion-at-point rather than obsolete functions.
16307 (inferior-emacs-lisp-mode): Doc fix.
16308 Set completion-at-point-functions, rather than
16309 comint-dynamic-complete-functions.
16310
16311 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
16312 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
16313 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
16314
16315 * image.el (image-animated-p): Tweak definition.
16316
16317 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
16318 (rlogin-process-connection-type): Tweak default. Add set-after.
16319 (rlogin-host): Doc fix.
16320 (rlogin): Tweak prompt.
16321 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
16322
16323 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
16324 * progmodes/tcl.el (inferior-tcl-mode-map):
16325 Use completion-at-point rather than obsolete alias.
16326
16327 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
16328
16329 * minibuffer.el (read-file-name-completion-ignore-case):
16330 Move before completion--in-region, for eager macro expansion.
16331
16332 2013-05-29 Juri Linkov <juri@jurta.org>
16333
16334 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
16335 for total count of matching lines. Add `global-matches' for total
16336 count of matches. Rename `matches' to `lines' for count of
16337 matching lines. Add `matches' for count of matches.
16338 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
16339 to `prev-line' for line number of prev match endpt.
16340 Increment `matches' for every match. Print the number of
16341 matching lines in the header.
16342 (occur-context-lines): Rename `lines' to `curr-line'.
16343 Rename `prev-lines' to `prev-line'. (Bug#14017)
16344
16345 2013-05-29 Juri Linkov <juri@jurta.org>
16346
16347 * replace.el (perform-replace): Add `skip-read-only-count',
16348 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
16349 Increment them for corresponding conditions and report the number
16350 of skipped occurrences in the final message. (Bug#11746)
16351 (query-replace, query-replace-regexp, query-replace-regexp-eval)
16352 (replace-string, replace-regexp): Doc fix.
16353
16354 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
16355
16356 * emacs-lisp/trace.el (trace--read-args): Provide a default.
16357
16358 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
16359 prog-mode-map (bug#14504).
16360
16361 2013-05-29 Leo Liu <sdl.web@gmail.com>
16362
16363 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
16364 (octave-help): Small simplification.
16365
16366 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
16367 off the highlight first.
16368
16369 2013-05-29 Glenn Morris <rgm@gnu.org>
16370
16371 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
16372 Handle idlwave-last-system-routine-info-cons-cell being nil.
16373
16374 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16375 (idlwave-write-paths): Simplify via with-temp-buffer.
16376
16377 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
16378 * emulation/cua-rect.el: Also load cua-base at run time.
16379
16380 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
16381 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
16382 (cperl-imenu-on-info): Require imenu.
16383
16384 2013-05-28 Alan Mackenzie <acm@muc.de>
16385
16386 Handle "capitalised keywords" correctly.
16387 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
16388
16389 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
16390
16391 * eshell/em-unix.el: Add -r option to cp.
16392
16393 2013-05-28 Glenn Morris <rgm@gnu.org>
16394
16395 * vc/vc-arch.el (vc-exec-after): Declare.
16396 (vc-switches): Autoload.
16397 * vc/vc-bzr.el: No need to require vc when compiling.
16398 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
16399 (vc-resynch-buffer, vc-dir-refresh): Declare.
16400 (vc-setup-buffer, vc-switches): Autoload.
16401 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
16402 (vc-resynch-buffer): Declare.
16403 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
16404 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
16405 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
16406 (grep-read-regexp, grep-read-files, grep-expand-template)
16407 (vc-dir-refresh): Declare.
16408 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
16409 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
16410 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
16411 * vc/vc-mtn.el (vc-exec-after): Declare.
16412 (vc-switches): Autoload.
16413 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
16414 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
16415 (vc-file-tree-walk): Declare.
16416 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
16417 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
16418 (vc-tag-precondition, vc-rename-master): Autoload.
16419 * vc/vc-svn.el (vc-exec-after): Declare.
16420 (vc-switches, vc-setup-buffer): Autoload.
16421 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
16422 Autoload.
16423 (vc-resynch-buffer): Declare.
16424
16425 * obsolete/fast-lock.el (byte-compile-warnings):
16426 Don't warn about obsolete features in this obsolete file.
16427
16428 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
16429 Move definition before use.
16430
16431 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
16432 (dun-unix-verbs): Remove dun-zippy.
16433 (dun-zippy): Remove function.
16434
16435 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
16436
16437 2013-05-27 Juri Linkov <juri@jurta.org>
16438
16439 * replace.el (replace-search): New function with code moved out
16440 from `perform-replace'.
16441 (replace-highlight, replace-dehighlight): Move function definitions
16442 up closer to `replace-search'. (Bug#11746)
16443
16444 2013-05-27 Juri Linkov <juri@jurta.org>
16445
16446 * replace.el (perform-replace): Ignore invisible matches.
16447 In addition to checking `query-replace-skip-read-only', also
16448 filter out matches by calling `run-hook-with-args-until-failure'
16449 on `isearch-filter-predicates', and also check `search-invisible'
16450 for t or call `isearch-range-invisible'.
16451 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
16452
16453 2013-05-27 Juri Linkov <juri@jurta.org>
16454
16455 * isearch.el (isearch-filter-predicates): Rename from
16456 `isearch-filter-predicate'. Doc fix. (Bug#11378)
16457 (isearch-message-prefix): Display text from the property
16458 `isearch-message-prefix' of the currently active filters.
16459 (isearch-search): Don't compare `isearch-filter-predicate' with
16460 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
16461 on `isearch-filter-predicates'. Also check `search-invisible' for t
16462 or call `isearch-range-invisible'.
16463 (isearch-filter-visible): Make obsolete.
16464 (isearch-lazy-highlight-search):
16465 Call `run-hook-with-args-until-failure' on
16466 `isearch-filter-predicates' and use `isearch-range-invisible'.
16467
16468 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
16469 `isearch-filter-predicates' instead of `funcall'ing
16470 `isearch-filter-predicate'.
16471 (Info-mode): Set `Info-isearch-filter' to
16472 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
16473
16474 * dired-aux.el (dired-isearch-filter-predicate-orig):
16475 Remove variable.
16476 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
16477 (dired-isearch-filenames-end): Add and remove
16478 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
16479 instead of changing the value of `isearch-filter-predicate'.
16480 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
16481 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
16482 Put property `isearch-message-prefix' to "filename " on
16483 `dired-isearch-filter-filenames'.
16484
16485 * wdired.el (wdired-change-to-wdired-mode):
16486 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
16487 locally instead of changing `isearch-filter-predicate'.
16488 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
16489
16490 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
16491
16492 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
16493 return the commit hash (Bug#14459). Also set the
16494 `vc-git-detached' property.
16495 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
16496 (vc-git-mode-line-string): Use the same help-echo format whether
16497 in detached mode or not, because we know the actual revision now.
16498 When in detached mode, shorten the revision to 7 chars.
16499
16500 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16501
16502 * emacs-lisp/easy-mmode.el (define-minor-mode):
16503 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
16504 mode hook and provide a docstring.
16505
16506 2013-05-27 Alan Mackenzie <acm@muc.de>
16507
16508 Remove spurious syntax-table text properties inserted by C-y.
16509 * progmodes/cc-mode.el (c-after-change): Also clear hard
16510 syntax-table property with value nil.
16511
16512 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
16513
16514 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
16515 when reading the events; the buffer layout shall not be changed.
16516
16517 2013-05-27 Leo Liu <sdl.web@gmail.com>
16518
16519 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
16520 New variable.
16521 (inferior-octave-directory-tracker): Automatically re-sync
16522 default-directory.
16523 (octave-help): Improve handling of 'See also'.
16524
16525 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
16526
16527 * doc-view.el: Minor naming convention tweaks.
16528 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
16529
16530 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
16531 even if there's no `display' property yet (bug#14435).
16532
16533 2013-05-25 Eli Zaretskii <eliz@gnu.org>
16534
16535 * subr.el (unmsys--file-name): Rename from reveal-filename.
16536
16537 * Makefile.in (custom-deps, finder-data, autoloads)
16538 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16539 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16540 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
16541
16542 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16543
16544 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
16545 error-completion on the first 2 args of condition-case (bug#14446).
16546 Don't burp at EOB.
16547
16548 2013-05-25 Leo Liu <sdl.web@gmail.com>
16549
16550 * comint.el (comint-previous-matching-input): Do not flood the
16551 *Messages* buffer with trivial messages.
16552
16553 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
16554
16555 * progmodes/flymake.el (flymake-nop): Don't return a string.
16556 (flymake-set-at): Fix typo.
16557
16558 * simple.el (read--expression): New function, extracted from
16559 eval-expression. Set completion-at-point-functions (bug#14465).
16560 (eval-expression, eval-minibuffer): Use it.
16561
16562 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
16563
16564 * progmodes/flymake.el (flymake-save-buffer-in-file)
16565 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
16566 (flymake-selected-frame, flymake-log, flymake-ins-after)
16567 (flymake-set-at, flymake-get-buildfile-from-cache)
16568 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
16569 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
16570 Refine the doc string.
16571 (flymake-get-file-name-mode-and-masks): Reformat.
16572 (flymake-get-real-file-name-function): Fix a minor bug.
16573
16574 2013-05-24 Juri Linkov <juri@jurta.org>
16575
16576 * progmodes/grep.el (grep-mode-font-lock-keywords):
16577 Support =linenumber= format used by git-grep for lines with
16578 function names. (Bug#13549)
16579
16580 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * progmodes/octave.el (octave-smie-rules): Return nil rather than
16583 0 after a semi-colon; it works better for smie-auto-fill.
16584 (octave--indent-new-comment-line): New function.
16585 (octave-indent-new-comment-line): Use it (indirectly).
16586 (octave-mode): Don't disable smie-auto-fill. Use add-function to
16587 modify comment-line-break-function.
16588
16589 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
16590 (smie-setup): Use add-function to set it.
16591
16592 2013-05-24 Sam Steingold <sds@gnu.org>
16593
16594 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
16595 argument (before the `interactive' argument).
16596
16597 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16598
16599 * image-mode.el (image-mode-winprops): Add winprops to
16600 image-mode-winprops-alist before running
16601 image-mode-new-window-functions.
16602 * doc-view.el (doc-view-new-window-function): Don't delay
16603 doc-view-goto-page via timers (bug#14435).
16604
16605 2013-05-24 Tassilo Horn <tsdh@gnu.org>
16606
16607 * doc-view.el: Integrate with desktop.el. (Bug#14435)
16608 (doc-view-desktop-save-buffer): New function.
16609 (doc-view-restore-desktop-buffer): New function.
16610 (desktop-buffer-mode-handlers):
16611 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
16612 handler.
16613 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
16614 `desktop-save-buffer' function.
16615
16616 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
16617
16618 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
16619 (tramp-gvfs-file-name-handler): Raise a user error when
16620 `tramp-gvfs-enabled' is nil.
16621 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
16622 Do not raise a user error when loading package. (Bug#14447)
16623
16624 * net/xesam.el: Move to obsolete/.
16625
16626 2013-05-24 Glenn Morris <rgm@gnu.org>
16627
16628 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
16629
16630 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
16631
16632 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
16633 (Info-find-node, Man-getpage-in-background): Declare.
16634
16635 * mail/unrmail.el (unrmail):
16636 Replace obsolete detect-coding-with-priority.
16637
16638 * net/socks.el (socks-split-string): Use this rather than split-string.
16639 (socks-nslookup-host): Update for above change.
16640 (dynamic-choice, s5-dynamic-choice-match)
16641 (s5-dynamic-choice-match-inline, s5-widget-value-create):
16642 Comment out unused code.
16643
16644 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
16645 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
16646 (gud-tooltip-echo-area): Make obsolete.
16647 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
16648
16649 * progmodes/js.el (js--optimize-arglist): Declare.
16650
16651 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
16652
16653 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
16654 (ediff-window-C): Declare.
16655
16656 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
16657 Tweak requires to silence compiler.
16658
16659 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
16660 (he-search-string, he-tried-table, he-expand-list)
16661 (he-init-string, he-string-member, he-substitute-string)
16662 (he-reset-string): Declare.
16663
16664 * obsolete/options.el (list-options): Use custom-variable-p,
16665 rather than obsolete alias.
16666
16667 2013-05-23 Sam Steingold <sds@gnu.org>
16668
16669 * simple.el (shell-command-on-region): Pass the `replace' argument
16670 down to `call-process-region' to comply with the doc as reported on
16671 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
16672
16673 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16674
16675 * emacs-lisp/smie.el (smie-indent-forward-token)
16676 (smie-indent-backward-token): Handle string tokens (bug#14381).
16677
16678 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16679
16680 * ielm.el (ielm-menu): New menu.
16681 (inferior-emacs-lisp-mode): Set comment-start.
16682
16683 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16684
16685 * textmodes/reftex.el (reftex-ref-style-toggle):
16686 Fix deactivate action.
16687
16688 * textmodes/reftex-vars.el (reftex-ref-style-alist):
16689 Add cleveref macros.
16690
16691 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
16692 Accept options for bibliography commands.
16693 * textmodes/reftex-vars.el (reftex-bibliography-commands):
16694 Add addbibresource. Basic Biblatex support.
16695
16696 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
16697
16698 * net/tramp-gvfs.el (top):
16699 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16700 when loading package. (Bug#14447)
16701
16702 2013-05-23 Glenn Morris <rgm@gnu.org>
16703
16704 * progmodes/js.el: No need to load comint when compiling.
16705 (ring-insert, comint-send-string, comint-send-input)
16706 (comint-last-input-end, ido-chop): Declare.
16707
16708 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
16709 * vc/ediff-mult.el: Adjust requires.
16710 (ediff-directories-internal, ediff-directory-revisions-internal)
16711 (ediff-patch-file-internal): Declare.
16712 * vc/ediff-ptch.el: Adjust requires.
16713 (ediff-use-last-dir, ediff-buffers-internal): Declare.
16714 (ediff-find-file): Autoload.
16715 * vc/ediff-util.el: No need to load ediff when compiling.
16716 (ediff-regions-internal): Declare.
16717 * vc/ediff-wind.el: Adjust requires.
16718 (ediff-compute-toolbar-width): Define when compiling.
16719 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
16720 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
16721 (dired-get-filename, dired-get-marked-files)
16722 (ediff-last-dir-patch, ediff-patch-default-directory)
16723 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
16724 (ediff-patch-buffer-internal): Declare.
16725
16726 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
16727 (ispell-process, ispell-buffer-local-words, lm-summary)
16728 (lm-section-start, lm-section-end): Declare.
16729 (checkdoc-ispell-init): Simplify.
16730
16731 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
16732 (he-string-member, he-reset-string, he-substitute-string): Declare.
16733
16734 * eshell/em-ls.el: Adjust requires.
16735 (eshell-glob-regexp): Declare.
16736 * eshell/em-tramp.el: Adjust requires.
16737 (eshell-parse-command): Autoload.
16738 * eshell/em-xtra.el: Adjust requires.
16739 (eshell-parse-command): Autoload.
16740 * eshell/esh-ext.el: Adjust requires.
16741 (eshell-parse-command, eshell-close-handles): Autoload.
16742 * eshell/esh-io.el: Adjust requires.
16743 (eshell-output-filter): Autoload.
16744 * eshell/esh-util.el: No need to load tramp when compiling.
16745 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
16746 Declare.
16747 (eshell-parse-ange-ls): Require ange-ftp and tramp.
16748 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
16749 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
16750 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
16751 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
16752 * eshell/esh-opt.el, eshell/esh-proc.el:
16753 * eshell/esh-var.el: Adjust requires.
16754 * eshell/eshell.el: Do not require esh-util twice.
16755 (eshell-add-input-to-history): Declare.
16756 (eshell-command): Check history module is active before using it.
16757
16758 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
16759
16760 2013-05-22 Leo Liu <sdl.web@gmail.com>
16761
16762 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
16763
16764 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
16765
16766 * autorevert.el (auto-revert-notify-add-watch)
16767 (auto-revert-notify-handler): Add `attrib' for the inotify case,
16768 it indicates changes in file modification time.
16769
16770 2013-05-22 Glenn Morris <rgm@gnu.org>
16771
16772 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
16773 Always delete the autoloaded function from the noruntime and
16774 unresolved functions lists.
16775
16776 * allout.el: No need to load epa, epg, overlay when compiling.
16777 (epg-context-set-passphrase-callback, epg-list-keys)
16778 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
16779 (epg-key-user-id-list): Declare.
16780
16781 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16782 (viper-set-parsing-style-toggling-macro)
16783 (viper-set-emacs-state-searchstyle-macros):
16784 Use called-interactively-p on Emacs.
16785 (viper-looking-back): Make it an obsolete alias. Update callers.
16786 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
16787 Use looking-back rather than viper-looking-back.
16788 (viper-tmp-insert-at-eob, viper-enlarge-region)
16789 (viper-read-string-with-history, viper-register-to-point)
16790 (viper-append-to-register, viper-change-state-to-vi)
16791 (viper-backward-char-carefully, viper-forward-char-carefully)
16792 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
16793 (viper-change-state-to-emacs): Declare.
16794 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
16795 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
16796 * emulation/viper-mous.el: Do not load viper-cmd.
16797 (viper-backward-char-carefully, viper-forward-char-carefully)
16798 (viper-forward-word, viper-adjust-window): Declare.
16799
16800 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
16801
16802 * progmodes/idlw-help.el (idlwave-help-fontify):
16803 Use called-interactively-p.
16804
16805 * term/w32console.el (w32-get-console-codepage)
16806 (w32-get-console-output-codepage): Declare.
16807
16808 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
16809 Remove unnecessary declarations.
16810 (dframe-message): Doc fix.
16811
16812 * info.el (dframe-select-attached-frame, dframe-current-frame):
16813 Declare.
16814
16815 * speedbar.el (speedbar-message): Make it an obsolete alias.
16816 Update all callers.
16817 (speedbar-with-attached-buffer)
16818 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
16819 (speedbar-with-writable): Use backquote.
16820 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
16821 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
16822 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
16823 rather than speedbar- aliases.
16824 * mail/rmail.el: Load dframe rather than speedbar when compiling.
16825 (speedbar-make-specialized-keymap, speedbar-insert-button)
16826 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
16827 (speedbar-do-function-pointer): Declare.
16828 (rmail-speedbar-button, rmail-speedbar-find-file)
16829 (rmail-speedbar-move-message):
16830 Use dframe-with-attached-buffer rather than speedbar- alias.
16831 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
16832 (dframe-message, speedbar-make-specialized-keymap)
16833 (speedbar-add-expansion-list, speedbar-mode-functions-list)
16834 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
16835 (speedbar-insert-button, dframe-select-attached-frame)
16836 (dframe-maybee-jump-to-attached-frame)
16837 (speedbar-change-initial-expansion-list)
16838 (speedbar-previously-used-expansion-list-name): Declare.
16839 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
16840 Use dframe-message, dframe-with-attached-buffer rather than
16841 speedbar- aliases.
16842 (gud-sentinel): Silence compiler.
16843 * progmodes/vhdl-mode.el (speedbar-refresh)
16844 (speedbar-do-function-pointer, speedbar-add-supported-extension)
16845 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
16846 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
16847 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
16848 (speedbar-file-lists, speedbar-make-tag-line)
16849 (speedbar-line-directory, speedbar-goto-this-file)
16850 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
16851 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
16852 (speedbar-make-button, speedbar-reset-scanners)
16853 (speedbar-files-item-info, speedbar-line-text)
16854 (speedbar-find-file-in-frame, speedbar-set-timer)
16855 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
16856 (speedbar-with-writable): Do not (re)define it.
16857 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
16858 rather than speedbar- alias.
16859
16860 2013-05-21 Leo Liu <sdl.web@gmail.com>
16861
16862 * progmodes/octave.el (octave-mode-menu): Update and re-organize
16863 menu items.
16864 (octave-mode): Tweak fill-nobreak-predicate.
16865 (inferior-octave-startup): Check process to avoid infinite loop.
16866 (inferior-octave): Pop to buffer first to show abornmal process
16867 exit information.
16868
16869 2013-05-21 Glenn Morris <rgm@gnu.org>
16870
16871 * printing.el (pr-menu-bar): Define when compiling.
16872
16873 2013-05-21 Leo Liu <sdl.web@gmail.com>
16874
16875 * progmodes/octave.el (octave-auto-fill): Remove.
16876 (octave-indent-new-comment-line): Improve.
16877 (octave-mode): Use auto fill mode through
16878 comment-line-break-function and fill-nobreak-predicate.
16879 (octave-goto-function-definition): Support DEFUN_DLD.
16880 (octave-beginning-of-defun): Small tweak.
16881 (octave-help): Show parent directory.
16882
16883 2013-05-21 Glenn Morris <rgm@gnu.org>
16884
16885 * files.el (dired-unmark):
16886 * progmodes/gud.el (gdb-input): Update declarations.
16887
16888 * calculator.el (electric, ehelp): No need to load when compiling.
16889 (Electric-command-loop, electric-describe-mode): Declare.
16890
16891 * doc-view.el (doc-view-current-converter-processes): Move before use.
16892
16893 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16894 Move MODE-set-explicitly definition before use.
16895
16896 * international/mule-diag.el (mule-diag):
16897 Don't use obsolete window-system-version.
16898
16899 * mail/feedmail.el (smtpmail): No need to load when compiling.
16900 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
16901
16902 * mail/mail-utils.el (rfc822): No need to load when compiling.
16903 (rfc822-addresses): Autoload it.
16904 (mail-strip-quoted-names): Trivial simplification.
16905
16906 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
16907 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
16908
16909 * net/snmp-mode.el (tempo): Don't duplicate requires.
16910
16911 * progmodes/prolog.el (info): No need to load when compiling.
16912 (comint): Require before shell requires it.
16913 (Info-goto-node): Autoload it.
16914 (Info-follow-nearest-node): Declare.
16915 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
16916
16917 * textmodes/artist.el (picture-mode-exit): Declare.
16918
16919 * textmodes/reftex-parse.el (reftex-parse-from-file):
16920 Trivial rewrite so the compiler can parse it better.
16921
16922 2013-05-20 Leo Liu <sdl.web@gmail.com>
16923
16924 * progmodes/octave.el (octave-help-mode-map)
16925 (octave-help-mode-finish-hook): New variables.
16926 (octave-help-mode, octave-help-mode-finish): New functions.
16927 (octave-help): Use octave-help-mode.
16928
16929 2013-05-20 Glenn Morris <rgm@gnu.org>
16930
16931 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
16932
16933 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
16934
16935 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
16936 start at point, so that expansion starting right after opening
16937 slash in a regexp is recognized.
16938 (ruby-syntax-before-regexp-re): New defvar, extracted from
16939 ruby-syntax-propertize-function. Since the value of this regexp
16940 is looked up at runtime now, we should be able to turn
16941 `ruby-syntax-methods-before-regexp' into a defcustom later.
16942 (ruby-syntax-propertize-function): Split regexp matching into two
16943 parts, for opening and closing slashes. That allows us to skip
16944 over string interpolations and support multiline regexps.
16945 Don't call `ruby-syntax-propertize-expansions', instead use another rule
16946 for them, which calls `ruby-syntax-propertize-expansion'.
16947 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
16948 call to `ruby-syntax-propertize-function'.
16949 (ruby-syntax-propertize-expansion): Extracted from
16950 `ruby-syntax-propertize-expansions'. Handles one expansion.
16951 (ruby-syntax-propertize-percent-literal): Leave point right after
16952 the percent symbol, so that the expression expansion rule can
16953 propertize the contents.
16954 (ruby-syntax-propertize-heredoc): Leave point at bol following the
16955 heredoc openers.
16956 (ruby-syntax-propertize-expansions): Remove.
16957
16958 2013-05-18 Juri Linkov <juri@jurta.org>
16959
16960 * man.el (Man-default-man-entry): Remove `-' from the end
16961 of the default value. (Bug#14400)
16962
16963 2013-05-18 Glenn Morris <rgm@gnu.org>
16964
16965 * comint.el (comint-password-prompt-regexp):
16966 Allow "password for XXX" where XXX contains colons (eg https://...).
16967
16968 2013-05-18 Leo Liu <sdl.web@gmail.com>
16969
16970 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
16971 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
16972 (octave-source-directories): Don't check process.
16973 (octave-source-directories, octave-find-definition): Doc fix.
16974
16975 2013-05-18 Glenn Morris <rgm@gnu.org>
16976
16977 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
16978 Remove backspace/delete bindings. (Bug#14392)
16979
16980 * cus-dep.el (custom-make-dependencies): Sort the output.
16981 (custom-versions-load-alist): Convert comment to doc.
16982
16983 2013-05-17 Leo Liu <sdl.web@gmail.com>
16984
16985 * newcomment.el (comment-search-backward): Stricter in finding
16986 comment start. (Bug#14303)
16987
16988 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
16989 (octave-comment-start-skip): Properly anchored.
16990
16991 2013-05-17 Leo Liu <sdl.web@gmail.com>
16992
16993 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
16994 Clean up when turned off. (Bug#14395)
16995 (smie--highlight-matching-block-overlay): No longer buffer-local.
16996 (smie-highlight-matching-block): Adjust.
16997
16998 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
16999
17000 Doc string fix for "nanoseconds" (Bug#14406).
17001 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
17002 Fix doc string typo that had "nanoseconds" instead of "microseconds".
17003
17004 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
17005
17006 * calc/calc-units.el (math-extract-units): Preserve powers
17007 of units.
17008
17009 2013-05-17 Leo Liu <sdl.web@gmail.com>
17010
17011 * subr.el (delete-consecutive-dups): New function.
17012 * ido.el (ido-set-matches-1): Use it.
17013 * progmodes/octave.el (inferior-octave-completion-table): Use it.
17014 * ido.el (ido-remove-consecutive-dups): Remove.
17015
17016 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17017
17018 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17019 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
17020 regexp-opt's `words'.
17021
17022 2013-05-16 Leo Liu <sdl.web@gmail.com>
17023
17024 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
17025 (smie--highlight-matching-block-overlay)
17026 (smie--highlight-matching-block-lastpos)
17027 (smie--highlight-matching-block-timer): New variables.
17028 (smie-highlight-matching-block): New function.
17029 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
17030 (smie-setup): Conditionally enable smie-blink-matching-open.
17031
17032 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
17033
17034 Sync with upstream verilog-mode r840.
17035 * progmodes/verilog-mode.el (verilog-mode-version)
17036 (verilog-mode-release-date): Update.
17037 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
17038 (verilog-sig-tieoff): Fix string error on
17039 AUTORESET with colon define, bug594. Reported by Andrew Hou.
17040 (verilog-read-decls): Fix parameters confusing
17041 AUTOINST interfaces, bug565. Reported by Leith Johnson.
17042
17043 2013-05-16 Eli Zaretskii <eliz@gnu.org>
17044
17045 * subr.el (reveal-filename): New function.
17046
17047 * loadup.el: Compute Emacs executable versions on MS-Windows,
17048 where executables have the .exe extension. Add a hard link
17049 emacs-XX.YY.ZZ.exe on MS-Windows.
17050
17051 * Makefile.in (XARGS_LIMIT): New variable.
17052 (custom-deps, finder-data, autoloads)
17053 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17054 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17055 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
17056 (compile-main): Limit xargs according to $(XARGS_LIMIT).
17057
17058 2013-05-16 Leo Liu <sdl.web@gmail.com>
17059
17060 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
17061 (octave-mode-menu, octave-mode-map): Remove its uses.
17062
17063 2013-05-16 Reto Zimmermann <reto@gnu.org>
17064
17065 Sync with upstream vhdl mode v3.34.2.
17066 * progmodes/vhdl-mode.el: Use `push' throughout.
17067 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
17068 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
17069 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
17070 (vhdl-actual-generic-name): New option to derive actual generic name.
17071 (vhdl-port-paste-signals): Replace formal by actual generics.
17072 (vhdl-beautify): New name for old group vhdl-align. Update users.
17073 (vhdl-beautify-options): New option.
17074 (vhdl-last-input-event): New compat alias. Use throughout.
17075 (vhdl-goto-line): Replace user level function `goto-line'.
17076 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
17077 vhdl-fix-statement-buffer.
17078 (vhdl-create-mode-menu): Add some entries.
17079 (vhdl-align-region-groups): Respect vhdl-beautify-options.
17080 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
17081 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
17082 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
17083 to force statements on one line.
17084 (vhdl-remove-trailing-spaces-region):
17085 New, split from vhdl-remove-trailing-spaces.
17086 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
17087 Respect vhdl-beautify-options.
17088 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
17089 (vhdl-update-sensitivity-list): Not add with index if exists without.
17090 Not include array index with signal. Ignore keywords in comments.
17091 (vhdl-get-visible-signals): Regexp tweaks.
17092 (vhdl-template-component-inst): Handle empty library.
17093 (vhdl-template-type): Add template for 'enum' type.
17094 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
17095 Use vhdl-replace-string.
17096 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
17097 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
17098 (vhdl-speedbar-initialize): Update for above name change.
17099 (vhdl-compose-wire-components): Fix in handling of constants.
17100 (vhdl-error-regexp-emacs-alist): New variable.
17101 (vhdl-error-regexp-add-emacs): New function;
17102 adds support for new compile.el (Emacs 22+)
17103 (vhdl-generate-makefile-1): Change target order for single lib. units.
17104 Allow use of absolute file names.
17105
17106 2013-05-16 Leo Liu <sdl.web@gmail.com>
17107
17108 * simple.el (prog-indent-sexp): Indent enclosing defun.
17109
17110 2013-05-15 Glenn Morris <rgm@gnu.org>
17111
17112 * cus-start.el (show-trailing-whitespace): Move to editing basics.
17113 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
17114 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
17115 (whitespace-highlight): Move to whitespace group.
17116
17117 * comint.el (comint-source):
17118 * pcmpl-linux.el (pcmpl-linux):
17119 * shell.el (shell-faces):
17120 * eshell/esh-opt.el (eshell-opt):
17121 * international/ccl.el (ccl): Remove empty custom groups.
17122
17123 * completion.el (dynamic-completion-mode):
17124 * jit-lock.el (jit-lock-debug-mode):
17125 * minibuffer.el (completion-in-region-mode):
17126 * type-break.el (type-break-mode-line-message-mode)
17127 (type-break-query-mode):
17128 * emulation/tpu-edt.el (tpu-edt-mode):
17129 * progmodes/subword.el (global-subword-mode, global-superword-mode):
17130 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17131 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
17132
17133 * term/xterm.el (xterm): Change parent group to terminals.
17134
17135 * master.el (master): Remove empty custom group.
17136 (master-mode): Remove unused :group argument.
17137 * textmodes/refill.el (refill): Remove empty custom group.
17138 (refill-mode): Remove unused :group argument.
17139
17140 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
17141
17142 * cus-dep.el: Provide a feature.
17143 (custom-make-dependencies): Ignore dotfiles (dir-locals).
17144 Don't mistakenly ignore files whose basenames match a basename
17145 from preloaded-file-list (eg cedet/ede/simple.el).
17146 Add a fallback method for getting :group.
17147
17148 2013-05-15 Juri Linkov <juri@jurta.org>
17149
17150 * isearch.el (isearch-char-by-name): Rename from
17151 `isearch-insert-char-by-name'. Doc fix.
17152 (isearch-forward): Mention `isearch-char-by-name' in
17153 the docstring. (Bug#13348)
17154
17155 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
17156 `exit-minibuffer' instead of
17157 `isearch-nonincremental-exit-minibuffer'.
17158 (isearch-edit-string): Remove mention of
17159 `isearch-nonincremental-exit-minibuffer' from docstring.
17160 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
17161 (isearch-forward-exit-minibuffer)
17162 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
17163
17164 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17165
17166 * loadup.el: Just use unversioned DOC.
17167
17168 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
17169 literals as extending to EOB.
17170 (nxml-last-fontify-end): Remove unused variable.
17171 (nxml-after-change1): Use with-silent-modifications.
17172 (nxml-extend-after-change-region): Simplify.
17173 (nxml-extend-after-change-region1): Remove function.
17174 (nxml-after-change1): Don't adjust for dependent regions.
17175 (nxml-fontify-matcher): Simplify.
17176 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
17177 (xmltok-add-dependent): Remove function.
17178 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
17179 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
17180 (xmltok-scan-prolog-after-processing-instruction-open): Treat
17181 unclosed <[[, <?, comment, and other literals as extending to EOB.
17182 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
17183 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
17184 Remove functions.
17185 (rng-do-some-validation-1): Don't mark dependent regions.
17186 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
17187 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
17188 (nxml-clear-dependent-regions): Remove functions.
17189 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
17190 (nxml-ensure-scan-up-to-date):
17191 Don't clear&mark dependent regions.
17192
17193 2013-05-15 Leo Liu <sdl.web@gmail.com>
17194
17195 * progmodes/octave.el (octave-goto-function-definition):
17196 Improve and fix callers.
17197
17198 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
17199
17200 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
17201 the setter (bug#14387).
17202
17203 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
17204 surrounding group (bug#14402).
17205
17206 2013-05-14 Juri Linkov <juri@jurta.org>
17207
17208 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
17209 (Bug#14390)
17210
17211 2013-05-14 Glenn Morris <rgm@gnu.org>
17212
17213 * progmodes/f90.el (f90-imenu-generic-expression):
17214 Fix typo in 2013-05-08 change. (Bug#14402)
17215
17216 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17217
17218 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
17219 Remove signals for which replies are never received.
17220
17221 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17222
17223 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
17224 (gdb-handler-alist, gdb-handler-number): Remove variables.
17225 (gdb-handler-list): New variable.
17226 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
17227 (gdb-pending-handler-p, gdb-handle-reply)
17228 (gdb-remove-all-pending-triggers): New functions.
17229 (gdb-discard-unordered-replies): New defcustom.
17230 (gdb-handler): New defstruct.
17231 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
17232 instead of gdb-pending-triggers. Update docstring.
17233 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
17234 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
17235 (gdb-var-update-handler, def-gdb-auto-update-trigger)
17236 (def-gdb-auto-update-handler, gdb-get-changed-registers)
17237 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
17238 (gdb-frame-handler): Pending triggers are now automatically managed.
17239 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
17240 Remove argument.
17241 (gdb-input): Automatically handles pending triggers. Update docstring.
17242 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
17243 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
17244 Update comments.
17245 (gdb-done-or-error): Now use gdb-handle-reply.
17246
17247 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
17248
17249 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
17250 gdb-debug-log.
17251
17252 2013-05-14 Glenn Morris <rgm@gnu.org>
17253
17254 * subr.el (user-emacs-directory-warning): New option.
17255 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
17256
17257 2013-05-14 Leo Liu <sdl.web@gmail.com>
17258
17259 * progmodes/octave.el (octave-font-lock-keywords): Fix error
17260 during redisplay.
17261 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
17262 (octave-font-lock-texinfo-comment): Fix invalid search bound
17263 error: wrong side of point.
17264
17265 2013-05-14 Glenn Morris <rgm@gnu.org>
17266
17267 * progmodes/flymake.el (flymake-xml-program): New option.
17268 (flymake-xml-init): Use it.
17269
17270 * term/xterm.el: Provide a feature.
17271
17272 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
17273
17274 2013-05-13 Glenn Morris <rgm@gnu.org>
17275
17276 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
17277 Add compat aliases as a hack workaround. (Bug#14384)
17278
17279 2013-05-13 Leo Liu <sdl.web@gmail.com>
17280
17281 * progmodes/octave.el (octave-indent-comment): Fix indentation for
17282 ###, and %!.
17283 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
17284 C-M-q.
17285 (octave-comment-start-skip): Include %!.
17286 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
17287
17288 2013-05-12 Leo Liu <sdl.web@gmail.com>
17289
17290 * progmodes/octave.el (inferior-octave-startup): Store the value
17291 of __octave_srcdir__ for octave-source-directories.
17292 (inferior-octave-check-process): New function refactored out of
17293 inferior-octave-send-list-and-digest.
17294 (octave-source-directories)
17295 (octave-find-definition-filename-function): New variables.
17296 (octave-source-directories)
17297 (octave-find-definition-default-filename): New functions.
17298 (octave-find-definition): Improve to find functions implemented in C++.
17299
17300 2013-05-12 Glenn Morris <rgm@gnu.org>
17301
17302 * calendar/diary-lib.el (diary-outlook-format-1):
17303 Don't include dayname in the output. (Bug#14349)
17304
17305 2013-05-11 Glenn Morris <rgm@gnu.org>
17306
17307 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
17308
17309 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
17310 Treat cc-provide like provide.
17311
17312 2013-05-11 Kevin Ryde <user42@zip.com.au>
17313
17314 * cus-dep.el (custom-make-dependencies):
17315 Use generated-autoload-load-name for the sake of files such
17316 such cedet/semantic/bovine/c.el, where the base file name
17317 is not in load-path. (Bug#5277)
17318
17319 2013-05-11 Glenn Morris <rgm@gnu.org>
17320
17321 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
17322 Provide features.
17323
17324 2013-05-11 Leo Liu <sdl.web@gmail.com>
17325
17326 * progmodes/octave.el (octave-indent-comment): Improve.
17327 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
17328 (octave-eldoc-function-signatures, octave-eldoc-function):
17329 New functions.
17330 (octave-mode, inferior-octave-mode): Add eldoc support.
17331
17332 2013-05-11 Richard Stallman <rms@gnu.org>
17333
17334 * epa.el (epa-decrypt-file): Take output file name as argument
17335 and read it using `interactive'.
17336
17337 2013-05-11 Leo Liu <sdl.web@gmail.com>
17338
17339 * progmodes/octave.el (octave-beginning-of-line)
17340 (octave-end-of-line): Check before using up-list because it jumps
17341 out of more syntactic contructs since moving to smie.
17342 (octave-indent-comment): New function.
17343 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
17344 (octave-begin-keywords, octave-end-keywords)
17345 (octave-reserved-words, octave-smie-bnf-table)
17346 (octave-smie-rules): Add new keywords from Octave 3.6.4.
17347
17348 2013-05-11 Glenn Morris <rgm@gnu.org>
17349
17350 * faces.el (internal-face-x-get-resource):
17351 * frame.el (ns-display-monitor-attributes-list):
17352 * calc/calc-aent.el (math-to-radians-2):
17353 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
17354 Fix declarations.
17355
17356 * calc/calc-menu.el: Make it loadable in isolation.
17357
17358 * net/eudcb-bbdb.el: Make it loadable without bbdb.
17359 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
17360 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
17361 (eudc-bbdb-query-internal): Require 'bbdb.
17362
17363 * lpr.el (lpr-headers-switches):
17364 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
17365
17366 * progmodes/sql.el (sql-login-params): Fix and improve :type.
17367
17368 * emulation/edt-mapper.el: In batch mode, error rather than hang.
17369
17370 * term.el (term-set-escape-char): Make it idempotent.
17371
17372 2013-05-10 Leo Liu <sdl.web@gmail.com>
17373
17374 * progmodes/octave.el (inferior-octave-completion-table):
17375 No longer a function and all uses changed. Use cache to speed up
17376 completion due to bug#11906.
17377 (octave-beginning-of-defun): Re-write to be more general.
17378
17379 2013-05-10 Glenn Morris <rgm@gnu.org>
17380
17381 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
17382
17383 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
17384
17385 * comint.el (comint-redirect-send-command-to-process): Use :around
17386 rather than :override for comint-redirect-filter.
17387 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
17388 Call it instead of comint-redirect-original-filter-function (which
17389 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
17390
17391 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
17392
17393 * frame.el (display-monitor-attributes-list): Add NS case.
17394 (ns-display-monitor-attributes-list): Declare.
17395
17396 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
17397
17398 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
17399
17400 2013-05-09 Glenn Morris <rgm@gnu.org>
17401
17402 * international/fontset.el (vertical-centering-font-regexp):
17403 Set standard-value.
17404
17405 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
17406
17407 * bookmark.el (bookmark-search-delay):
17408 * cus-start.el (vertical-centering-font-regexp):
17409 * ps-mule.el (ps-mule-font-info-database-default):
17410 * ps-print.el (ps-default-fg, ps-default-bg):
17411 * type-break.el (type-break-good-break-interval):
17412 * whitespace.el (whitespace-indentation-regexp)
17413 (whitespace-space-after-tab-regexp):
17414 * emacs-lisp/testcover.el (testcover-1value-functions)
17415 (testcover-noreturn-functions, testcover-progn-functions)
17416 (testcover-prog1-functions):
17417 * emulation/viper-init.el (viper-emacs-state-cursor-color):
17418 * eshell/em-glob.el (eshell-glob-translate-alist):
17419 * play/tetris.el (tetris-tty-colors):
17420 * progmodes/cpp.el (cpp-face-default-list):
17421 * progmodes/flymake.el (flymake-allowed-file-name-masks):
17422 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
17423 (idlwave-help-browser-generic-args):
17424 * progmodes/make-mode.el (makefile-special-targets-list):
17425 * progmodes/python.el (python-shell-virtualenv-path):
17426 * progmodes/verilog-mode.el (verilog-active-low-regexp)
17427 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
17428 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
17429 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
17430 * textmodes/reftex-vars.el (reftex-format-label-function):
17431 * textmodes/remember.el (remember-diary-file): Fix custom types.
17432
17433 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
17434 Add :version.
17435
17436 2013-05-09 Leo Liu <sdl.web@gmail.com>
17437
17438 * progmodes/octave.el (inferior-octave-completion-at-point):
17439 Restore file completion. (Bug#14300)
17440 (inferior-octave-startup): Fix incorrect highlighting for the
17441 first prompt.
17442
17443 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * progmodes/ruby-mode.el: First cut at SMIE support.
17446 (ruby-use-smie): New var.
17447 (ruby-smie-grammar): New constant.
17448 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
17449 (ruby-smie--forward-token, ruby-smie--backward-token)
17450 (ruby-smie-rules): New functions.
17451 (ruby-mode-variables): Setup SMIE if applicable.
17452
17453 2013-05-08 Eli Zaretskii <eliz@gnu.org>
17454
17455 * simple.el (line-move-visual): Signal beginning/end of buffer
17456 only if vertical-motion moved less than it was requested. Avoids
17457 silly incorrect error messages when there are display strings with
17458 multiple newlines at EOL.
17459
17460 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17461
17462 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
17463 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
17464 (prolog-char-quote-workaround):
17465 * progmodes/cperl-mode.el (cperl-under-as-char):
17466 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
17467 Mark as obsolete.
17468 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
17469 their declaration.
17470 (vhdl-mode-syntax-table-init): Remove.
17471
17472 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
17473 last change.
17474
17475 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
17476 syntax for "_".
17477 (ld-script-font-lock-keywords):
17478 Change regexps to use things like \_< and \_>.
17479
17480 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
17481 Change all regexps to use things like \_< and \_>.
17482
17483 * progmodes/autoconf.el (autoconf-definition-regexp)
17484 (autoconf-font-lock-keywords, autoconf-current-defun-function):
17485 Handle a _ with symbol syntax.
17486 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
17487
17488 * progmodes/ada-mode.el (ada-mode-abbrev-table):
17489 Consolidate declaration.
17490 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
17491 the declaration.
17492 (ada-create-syntax-table): Remove.
17493 (ada-capitalize-word): Don't mess with the syntax of "_" since it
17494 already has the right syntax nowadays.
17495 (ada-goto-next-word): Don't change the syntax of "_".
17496
17497 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
17498 with-wrapper-hook.
17499
17500 2013-05-08 Sam Steingold <sds@gnu.org>
17501
17502 * thingatpt.el (thing-at-point): Accept optional second argument
17503 NO-PROPERTIES to strip the text properties from the return value.
17504 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
17505 to `thing-at-point' instead of stripping the properties ourselves.
17506 Also, when `thing-at-point' fails to find a url, prepend "http://"
17507 to the filename at point on the assumption that the user is
17508 pointing at something like gnu.org/gnu.
17509
17510 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
17511
17512 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
17513 * faces.el (crm-separator):
17514 Silence byte-compiler.
17515
17516 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
17517 (tool-bar-map): Remove unneeded defvars.
17518
17519 2013-05-08 Leo Liu <sdl.web@gmail.com>
17520
17521 Re-work a fix for bug#10994 based on Le Wang's patch.
17522 * ido.el (ido-remove-consecutive-dups): New helper.
17523 (ido-completing-read): Use it.
17524 (ido-chop): Revert fix for bug#10994.
17525
17526 2013-05-08 Adam Spiers <emacs@adamspiers.org>
17527
17528 * cus-edit.el (custom-save-variables):
17529 Pretty-print long values. (Bug#14187)
17530
17531 2013-05-08 Glenn Morris <rgm@gnu.org>
17532
17533 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
17534 (m4-mode-syntax-table): Init in the defvar.
17535 (m4-mode-abbrev-table): Let define-derived-mode define it.
17536
17537 2013-05-08 Tom Tromey <tromey@redhat.com>
17538
17539 * progmodes/m4-mode.el (m4-mode-syntax-table):
17540 Do not treat "_" as word constituent. (Bug#14167)
17541
17542 2013-05-07 Glenn Morris <rgm@gnu.org>
17543
17544 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
17545 Remove explicit eshell-isearch-cancel-map.
17546
17547 * progmodes/f90.el (f90-smart-end-names): New option.
17548 (f90-smart-end): Doc fix.
17549 (f90-end-block-optional-name): New constant.
17550 (f90-block-match): Respect f90-smart-end-names.
17551
17552 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17553
17554 * progmodes/octave.el (octave-smie-forward-token): Be more careful
17555 about implicit semi-colons (bug#14218).
17556
17557 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17558
17559 * frame.el (display-monitor-attributes-list)
17560 (frame-monitor-attributes): New functions.
17561
17562 2013-05-06 Leo Liu <sdl.web@gmail.com>
17563
17564 * progmodes/octave.el (octave-syntax-propertize-function): Change
17565 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
17566 (octave-font-lock-keywords): Use octave-operator-regexp.
17567 (octave-completion-at-point): Rename from
17568 octave-completion-at-point-function.
17569 (inferior-octave-directory-tracker): Robustify.
17570 (octave-text-functions): Remove and fix its uses. No such things
17571 any more.
17572
17573 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17574
17575 * emacs-lisp/trace.el (trace--display-buffer): New function.
17576 (trace-make-advice): Use it.
17577
17578 2013-05-06 Juri Linkov <juri@jurta.org>
17579
17580 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
17581 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
17582 Doc fix.
17583 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
17584 in the help string. (Bug#12985)
17585
17586 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
17587
17588 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
17589
17590 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17591
17592 * progmodes/perl-mode.el: Add support for here documents.
17593 (perl-syntax-propertize-function): Match here-doc markers.
17594 (perl-syntax-propertize-special-constructs): Find their end.
17595 (perl-imenu-generic-expression): Use [:alnum:].
17596
17597 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
17598 (advice--add-function): Refresh the advice if already present
17599 (bug#14317).
17600
17601 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
17602
17603 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
17604
17605 2013-05-06 Glenn Morris <rgm@gnu.org>
17606
17607 * w32-fns.el (w32-charset-info-alist): Declare.
17608
17609 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
17610 of its defcustom properties.
17611 (eshell-cmpl-initialize): No need to load pcomplete.
17612
17613 * generic-x.el: No need to require comint when compiling.
17614
17615 * net/eudc-export.el: Make it loadable without bbdb.
17616 (top-level): Use require rather than load-library.
17617 (eudc-create-bbdb-record, eudc-bbdbify-phone)
17618 (eudc-batch-export-records-to-bbdb)
17619 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
17620 Require bbdb.
17621
17622 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17623
17624 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
17625 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
17626 some tweaks, instead.
17627
17628 2013-05-05 Leo Liu <sdl.web@gmail.com>
17629
17630 * progmodes/octave.el (octave-font-lock-keywords)
17631 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
17632 (inferior-octave-send-list-and-digest): Improve error message.
17633 (octave-mode, inferior-octave-mode): Use setq-local.
17634 (octave-help): Set info-lookup-mode.
17635
17636 2013-05-05 Richard Stallman <rms@gnu.org>
17637
17638 * vc/compare-w.el (compare-windows-whitespace):
17639 Treat no-break space as whitespace.
17640
17641 * mail/rmailsum.el (rmail-summary-rmail-update):
17642 Detect empty summary and don't change selected message.
17643 (rmail-summary-goto-msg): Likewise.
17644
17645 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
17646 Doc fixes, rename args.
17647
17648 2013-05-05 Alan Mackenzie <acm@muc.de>
17649
17650 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
17651
17652 2013-05-05 Juri Linkov <juri@jurta.org>
17653
17654 * info.el (Info-read-subfile): Use (point-min) instead of (point)
17655 to not add the length of the summary segment to the return value.
17656 (Bug#14125)
17657
17658 2013-05-05 Leo Liu <sdl.web@gmail.com>
17659
17660 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
17661 (inferior-octave-output-filter): Remove.
17662 (octave-send-region, inferior-octave-startup): Fix callers.
17663 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
17664 (octave-binary-file-extensions): New user variable.
17665 (octave-find-definition): Confirm if opening binary files.
17666 (octave-help-file): Use octave-find-definition to get the binary
17667 confirmation.
17668 (octave-help): Adjust for octave-help-file change.
17669
17670 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17671
17672 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
17673 Merge the two entries that handle function definitions.
17674 (pascal--syntax-propertize): New const.
17675 (pascal-mode): Use it. Use setq-local.
17676
17677 2013-05-04 Glenn Morris <rgm@gnu.org>
17678
17679 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
17680 (diary-from-outlook): Respect diary-from-outlook-function.
17681
17682 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17683
17684 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
17685 Move the declaration from C.
17686 (read-minibuffer, eval-minibuffer): Move from C.
17687 (completion-setup-function): Avoid minibuffer-completion-contents.
17688
17689 2013-05-03 Leo Liu <sdl.web@gmail.com>
17690
17691 * progmodes/octave.el (octave-font-lock-keywords): Do not
17692 dehighlight 'end' in comments or strings.
17693 (octave-completing-read, octave-goto-function-definition):
17694 New helpers.
17695 (octave-help-buffer): New user variable.
17696 (octave-help-file, octave-help-function): New button types.
17697 (octave-help): New command and bind it to C-h ;.
17698 (octave-find-definition): New command and bind it to M-.
17699 (user-error): Alias to error if not defined.
17700
17701 2013-05-02 Leo Liu <sdl.web@gmail.com>
17702
17703 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
17704 for \. (bug#14332)
17705 (octave-font-lock-keywords): Include [ and {.
17706
17707 2013-05-02 Leo Liu <sdl.web@gmail.com>
17708
17709 * progmodes/octave.el (inferior-octave-startup-file): Change default.
17710 (inferior-octave): Remove calling comint-mode and return the buffer.
17711 (inferior-octave-startup): Cosmetic changes.
17712
17713 2013-05-02 Leo Liu <sdl.web@gmail.com>
17714
17715 * progmodes/octave.el (octave-syntax-propertize-function):
17716 Include the case when ' is at line beginning. (Bug#14336)
17717
17718 2013-05-02 Glenn Morris <rgm@gnu.org>
17719
17720 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
17721 * desktop.el (vc-dir-mode): Just autoload it here.
17722
17723 2013-05-02 Alan Mackenzie <acm@muc.de>
17724
17725 Eliminate variable c-standard-font-lock-fontify-region-function.
17726 * progmodes/cc-mode.el
17727 (c-standard-font-lock-fontify-region-function): Remove.
17728 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
17729
17730 2013-05-01 Leo Liu <sdl.web@gmail.com>
17731
17732 * progmodes/octave.el: Compatible with older emacs-24 releases.
17733 (inferior-octave-has-built-in-variables): Remove. Built-in
17734 variables were removed from Octave in 2007.
17735 (inferior-octave-startup): Fix uses.
17736 (comint-line-beginning-position): Remove compatibility code for
17737 emacs 21.
17738
17739 2013-05-01 Juri Linkov <juri@jurta.org>
17740
17741 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
17742
17743 2013-05-01 Juri Linkov <juri@jurta.org>
17744
17745 * comint.el (comint-previous-matching-input): Don't print message
17746 "History item: %d" when `isearch-mode' is active.
17747 (comint-history-isearch-message): Print message "History item: %d"
17748 when `comint-input-ring-index' is not empty and this function is
17749 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
17750
17751 2013-05-01 Leo Liu <sdl.web@gmail.com>
17752
17753 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
17754 definitions. Use completion-at-point to insert keywords.
17755 (octave-abbrev-start): Remove.
17756 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
17757
17758 2013-04-30 Leo Liu <sdl.web@gmail.com>
17759
17760 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
17761 change.
17762
17763 2013-04-30 Alan Mackenzie <acm@muc.de>
17764
17765 Handle arbitrarily long C++ member initialisation lists.
17766 * progmodes/cc-engine.el (c-back-over-member-initializers):
17767 new function.
17768 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
17769 (most) member init lists.
17770
17771 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17772
17773 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
17774 variable.
17775
17776 2013-04-30 Leo Liu <sdl.web@gmail.com>
17777
17778 * progmodes/octave.el (octave-variables): Remove. No builtin
17779 variables any more. All converted to functions.
17780 (octave-font-lock-keywords, octave-completion-at-point-function):
17781 Fix uses.
17782 (octave-font-lock-texinfo-comment): New user variable.
17783 (octave-texinfo-font-lock-keywords): New variable for texinfo
17784 comment block.
17785 (octave-function-comment-block): New face.
17786 (octave-font-lock-texinfo-comment): New function.
17787 (octave-mode): Font lock texinfo comment block.
17788
17789 2013-04-29 Leo Liu <sdl.web@gmail.com>
17790
17791 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
17792 indexing expression.
17793 (octave-continuation-string): Do not use \.
17794 (inferior-octave-complete-impossible): Remove.
17795 (inferior-octave-completion-table)
17796 (inferior-octave-completion-at-point): Remove its uses.
17797 (inferior-octave-startup): completion_matches was introduced to
17798 Octave in 1996 so safe to assume it.
17799 (octave-function-file-comment): Improve to follow how Octave does it.
17800 (octave-update-function-file-comment): Tweak.
17801
17802 2013-04-29 Leo Liu <sdl.web@gmail.com>
17803
17804 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
17805 (inferior-octave-startup): Remove inferior-octave-startup-hook.
17806 (octave-function-file-comment): Fix typo.
17807 (octave-sync-function-file-names): Use read-char-choice.
17808
17809 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
17810
17811 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
17812 to t for the less important warnings.
17813
17814 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
17815
17816 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
17817
17818 2013-04-27 Glenn Morris <rgm@gnu.org>
17819
17820 * vc/log-view.el (log-view-current-entry):
17821 Treat "---" separator lines as part of the following rev. (Bug#14169)
17822
17823 2013-04-27 Juri Linkov <juri@jurta.org>
17824
17825 * subr.el (read-number): Doc fix about using it by interactive
17826 code letter `n'. (Bug#14254)
17827
17828 2013-04-27 Juri Linkov <juri@jurta.org>
17829
17830 * desktop.el (desktop-auto-save-timeout): New option.
17831 (desktop-file-checksum): New variable.
17832 (desktop-save): Add optional arg `auto-save' and don't auto-save
17833 if nothing changed.
17834 (desktop-auto-save-timer): New variable.
17835 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
17836 (after-init-hook): Call `desktop-auto-save-set-timer'.
17837 Suggested by Reuben Thomas <rrt@sc3d.org> in
17838 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
17839
17840 2013-04-27 Leo Liu <sdl.web@gmail.com>
17841
17842 * progmodes/octave.el (octave-function-file-p)
17843 (octave-skip-comment-forward, octave-function-file-comment)
17844 (octave-update-function-file-comment): New functions.
17845 (octave-mode-map): Bind C-c ; to
17846 octave-update-function-file-comment.
17847 (octave-mode-menu): Add octave-update-function-file-comment.
17848 (octave-mode, inferior-octave-mode): Fix doc-string.
17849 (octave-insert-defun): Conform to Octave's coding convention.
17850 (Bug#14285)
17851
17852 * files.el (basic-save-buffer): Don't let errors in
17853 before-save-hook prevent saving buffer.
17854
17855 2013-04-20 Roland Winkler <winkler@gnu.org>
17856
17857 * faces.el (read-face-name): Use completing-read if arg multiple
17858 is nil.
17859
17860 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
17861
17862 * ls-lisp.el (ls-lisp-insert-directory): If no files are
17863 displayed, move point to after the totals line.
17864 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
17865 for the details.
17866
17867 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
17868
17869 * emacs-lisp/package.el (package-autoload-ensure-default-file):
17870 Add current dir to the load-path.
17871 (package-generate-autoloads): Don't rely on
17872 autoload-ensure-default-file.
17873
17874 2013-04-26 Reuben Thomas <rrt@sc3d.org>
17875
17876 * textmodes/remember.el (remember-store-in-files): Document that
17877 the file name format is passed to `format-time-string'.
17878
17879 2013-04-26 Leo Liu <sdl.web@gmail.com>
17880
17881 * progmodes/octave.el (octave-sync-function-file-names): New function.
17882 (octave-mode): Use it in before-save-hook.
17883
17884 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
17885
17886 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
17887 (bug#14274).
17888
17889 * progmodes/octave.el (octave-smie-forward-token): Properly skip
17890 \n and comment, even if it's not an implicit ; (bug#14218).
17891
17892 2013-04-26 Glenn Morris <rgm@gnu.org>
17893
17894 * subr.el (read-number): Once more use `read' rather than
17895 `string-to-number', to trap non-numeric input. (Bug#14254)
17896
17897 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
17898
17899 * emacs-lisp/syntax.el (syntax-propertize-multiline):
17900 Use `syntax-multiline' text property consistently instead of
17901 `font-lock-multiline'. (Bug#14237)
17902
17903 2013-04-26 Glenn Morris <rgm@gnu.org>
17904
17905 * emacs-lisp/shadow.el (list-load-path-shadows):
17906 No longer necessary to check for duplicate simple.el, since
17907 2012-07-07 change to init_lread to not include installation lisp
17908 directories in load-path when running uninstalled. (Bug#14270)
17909
17910 2013-04-26 Leo Liu <sdl.web@gmail.com>
17911
17912 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
17913 (octave-mode, inferior-octave-mode): Use setq-local.
17914 (octave-not-in-string-or-comment-p): Rename to
17915 octave-in-string-or-comment-p.
17916 (octave-in-comment-p, octave-in-string-p)
17917 (octave-in-string-or-comment-p): Replace defsubst with defun.
17918
17919 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
17920
17921 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
17922
17923 2013-04-25 Bastien Guerry <bzg@gnu.org>
17924
17925 * textmodes/remember.el (remember-data-directory)
17926 (remember-directory-file-name-format): Fix custom types.
17927
17928 2013-04-25 Leo Liu <sdl.web@gmail.com>
17929
17930 * progmodes/octave.el (octave-completion-at-point-function):
17931 Make use of inferior octave process.
17932 (octave-initialize-completions): Remove.
17933 (inferior-octave-completion-table): New function.
17934 (inferior-octave-completion-at-point): Use it.
17935 (octave-completion-alist): Remove.
17936
17937 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17938
17939 * progmodes/opascal.el: Use font-lock and syntax-propertize.
17940 (opascal-mode-syntax-table): New var.
17941 (opascal-literal-kind, opascal-is-literal-end)
17942 (opascal-literal-token-at): Rewrite.
17943 (opascal--literal-start-re, opascal-font-lock-keywords)
17944 (opascal--syntax-propertize): New constants.
17945 (opascal-font-lock-defaults): Adjust.
17946 (opascal-mode): Use them. Set comment-<foo> variables as well.
17947 (delphi-comment-face, opascal-comment-face, delphi-string-face)
17948 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
17949 (delphi-other-face, opascal-other-face): Remove face variables.
17950 (opascal-save-state): Remove macro.
17951 (opascal-fontifying-progress-step): Remove constant.
17952 (opascal--ignore-changes): Remove var.
17953 (opascal-set-token-property, opascal-parse-next-literal)
17954 (opascal-is-stable-literal, opascal-complete-literal)
17955 (opascal-is-literal-start, opascal-face-of)
17956 (opascal-parse-region, opascal-parse-region-until-stable)
17957 (opascal-fontify-region, opascal-after-change)
17958 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
17959 (opascal-debug-parse-region, opascal-debug-parse-window)
17960 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
17961 (opascal-debug-fontify-buffer): Remove.
17962 (opascal-debug-mode-map): Adjust accordingly.
17963
17964 2013-04-25 Leo Liu <sdl.web@gmail.com>
17965
17966 Merge octave-mod.el and octave-inf.el into octave.el with some
17967 cleanups.
17968 * progmodes/octave.el: New file renamed from octave-mod.el.
17969 * progmodes/octave-inf.el: Merged into octave.el.
17970 * progmodes/octave-mod.el: Renamed to octave.el.
17971
17972 2013-04-25 Tassilo Horn <tsdh@gnu.org>
17973
17974 * textmodes/reftex-vars.el
17975 (reftex-label-ignored-macros-and-environments): New defcustom.
17976
17977 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
17978
17979 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17980
17981 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
17982 (smie-indent-keyword): Improve the check to ensure that the next
17983 comment is really on the same line.
17984 (smie-indent-comment): Don't align with a subsequent closer (or eob).
17985
17986 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
17987 semi-colons if the line is not otherwise empty (bug#14218).
17988
17989 2013-04-25 Glenn Morris <rgm@gnu.org>
17990
17991 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
17992
17993 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
17994
17995 * progmodes/opascal.el (opascal-set-token-property): Rename from
17996 opascal-set-text-properties and only set `token' (bug#14134).
17997 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
17998 (opascal-literal-text-properties): Remove.
17999 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
18000 Adjust callers.
18001
18002 2013-04-24 Reuben Thomas <rrt@sc3d.org>
18003
18004 * textmodes/remember.el (remember-handler-functions): Add an
18005 option for a new handler `remember-store-in-files'.
18006 (remember-data-directory, remember-directory-file-name-format):
18007 New options.
18008 (remember-store-in-files): New function to store remember notes
18009 as separate files within a directory.
18010
18011 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
18012
18013 * progmodes/compile.el (compilation-next-error-function):
18014 Pass "formats" to compilation-find-file (bug#11777).
18015
18016 2013-04-24 Glenn Morris <rgm@gnu.org>
18017
18018 * vc/vc-bzr.el (vc-bzr-print-log):
18019 * vc/vc-hg.el (vc-hg-print-log):
18020 * vc/vc-svn.el (vc-svn-print-log):
18021 Fix START-REVISION with LIMIT != 1. (Bug#14168)
18022
18023 * vc/vc-bzr.el (vc-bzr-print-log):
18024 * vc/vc-cvs.el (vc-cvs-print-log):
18025 * vc/vc-git.el (vc-git-print-log):
18026 * vc/vc-hg.el (vc-hg-print-log):
18027 * vc/vc-mtn.el (vc-mtn-print-log):
18028 * vc/vc-rcs.el (vc-rcs-print-log):
18029 * vc/vc-sccs.el (vc-sccs-print-log):
18030 * vc/vc-svn.el (vc-svn-print-log):
18031 * vc/vc.el (vc-print-log-internal): Doc fixes.
18032
18033 2013-04-23 Glenn Morris <rgm@gnu.org>
18034
18035 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
18036 Remove venerable code attempting to avoid substitute-command-keys.
18037
18038 2013-04-23 Tassilo Horn <tsdh@gnu.org>
18039
18040 * textmodes/reftex-vars.el (reftex-label-regexps):
18041 Call `reftex-compile-variables' after changes to this variable.
18042
18043 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
18044
18045 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
18046 Use lexical-binding.
18047 (jit-lock-force-redisplay): Use markers, check buffer's continued
18048 existence and beware narrowed buffers.
18049 (jit-lock-fontify-now): Adjust call accordingly.
18050
18051 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
18052
18053 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
18054 to avoid misleading the user.
18055
18056 2013-04-22 Leo Liu <sdl.web@gmail.com>
18057
18058 * info-look.el: Prefer latex2e.info. (Bug#14240)
18059
18060 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
18061
18062 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
18063
18064 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
18065 * net/tramp.el (tramp-call-process): ... here.
18066 (tramp-set-completion-function, tramp-parse-putty):
18067 * net/tramp-adb.el (tramp-adb-execute-adb-command):
18068 * net/tramp-gvfs.el (tramp-gvfs-send-command):
18069 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
18070 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
18071 (tramp-call-local-coding-command): Use `tramp-call-process'
18072 instead of `tramp-compat-call-process'.
18073
18074 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
18075 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
18076 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
18077 (tramp-find-inline-compress): Improve traces.
18078 (tramp-maybe-send-script): Check for Perl binary.
18079 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
18080
18081 2013-04-22 Daiki Ueno <ueno@gnu.org>
18082
18083 * epg.el (epg-context-pinentry-mode): New function.
18084 (epg-context-set-pinentry-mode): New function.
18085 (epg--start): Pass --pinentry-mode option to gpg command.
18086
18087 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
18088
18089 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
18090 `comint-dynamic-complete' is obsolete since 24.1, replaced by
18091 `completion-at-point'. (Bug#13774)
18092
18093 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
18094 default key binding for `describe-distribution' has been moved to
18095 `C-h C-o'. (Bug#13970)
18096
18097 2013-04-21 Glenn Morris <rgm@gnu.org>
18098
18099 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
18100 Add doc strings.
18101 (vc-print-log): Clarify interactive prompt.
18102
18103 2013-04-20 Glenn Morris <rgm@gnu.org>
18104
18105 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
18106 No longer include timestamp etc information.
18107
18108 2013-04-20 Roland Winkler <winkler@gnu.org>
18109
18110 * faces.el (read-face-name): Bug fix, return just one face if arg
18111 multiple is nil. (Bug#14209)
18112
18113 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18114
18115 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
18116 (remove-function): Autoload.
18117
18118 * comint.el (comint-redirect-original-filter-function): Remove.
18119 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
18120 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
18121 (vc-cvs-annotate-command):
18122 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
18123 * progmodes/prolog.el (prolog-consult-compile):
18124 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
18125 Use add/remove-function instead.
18126 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
18127 (gud-tooltip-process-output, gud-tooltip-tips):
18128 Use add/remove-function instead.
18129 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
18130 (scheme-interaction-mode, exit-scheme-interaction-mode):
18131 Use add/remove-function instead.
18132
18133 * vc/vc-dispatcher.el: Use lexical-binding.
18134 (vc--process-sentinel): Rename from vc-process-sentinel.
18135 Change last arg to be the code to run. Don't use vc-previous-sentinel
18136 and vc-sentinel-commands any more.
18137 (vc-exec-after): Allow code to be a function. Use add/remove-function.
18138 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
18139
18140 2013-04-19 Masatake YAMATO <yamato@redhat.com>
18141
18142 * progmodes/sh-script.el (sh-imenu-generic-expression):
18143 Handle function names with a single character. (Bug#14111)
18144
18145 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
18146
18147 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
18148 for subroutines defined in an eval (bug#14182).
18149
18150 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18151
18152 * bookmark.el (bookmark-completing-read): Improve handling of empty
18153 string (bug#14176).
18154
18155 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18156
18157 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
18158
18159 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
18160
18161 New faster Imenu implementation (bug#14058).
18162 * progmodes/python.el (python-imenu-prev-index-position)
18163 (python-imenu-format-item-label-function)
18164 (python-imenu-format-parent-item-label-function)
18165 (python-imenu-format-parent-item-jump-label-function):
18166 New vars.
18167 (python-imenu-format-item-label)
18168 (python-imenu-format-parent-item-label)
18169 (python-imenu-format-parent-item-jump-label)
18170 (python-imenu--put-parent, python-imenu--build-tree)
18171 (python-imenu-create-index, python-imenu-create-flat-index)
18172 (python-util-popn): New functions.
18173 (python-mode): Set imenu-create-index-function to
18174 python-imenu-create-index.
18175
18176 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18177
18178 * winner.el (winner-active-region): Use region-active-p, activate-mark
18179 and deactivate-mark (bug#14225).
18180
18181 * simple.el (deactivate-mark): Don't inline it.
18182
18183 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
18184
18185 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
18186
18187 2013-04-18 Tassilo Horn <tsdh@gnu.org>
18188
18189 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
18190 file extensions from the archive-mode entry in order to prefer
18191 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
18192
18193 2013-04-18 Leo Liu <sdl.web@gmail.com>
18194
18195 * bindings.el (help-event-list): Add ?\?.
18196
18197 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
18198
18199 * subr.el (with-wrapper-hook): Declare obsolete.
18200 * simple.el (filter-buffer-substring-function): New hook.
18201 (filter-buffer-substring): Use it.
18202 (filter-buffer-substring-functions): Mark obsolete.
18203 * minibuffer.el (completion-in-region-function): New hook.
18204 (completion-in-region): Use it.
18205 (completion-in-region-functions): Mark obsolete.
18206 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
18207 * abbrev.el (abbrev-expand-function): New hook.
18208 (expand-abbrev): Use it.
18209 (abbrev-expand-functions): Mark obsolete.
18210 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
18211 and :filter-return.
18212
18213 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18214
18215 * progmodes/python.el (python-nav--syntactically): Fix cornercases
18216 and do not care about match data.
18217
18218 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18219
18220 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
18221 completion tables when completing error conditions and
18222 `declare' arguments.
18223 (lisp-complete-symbol, field-complete): Mark as obsolete.
18224 (check-parens): Unmatched parens are user errors.
18225 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
18226
18227 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
18228
18229 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
18230 command changed buffer (ie. `flyspell-pre-buffer' is not current
18231 buffer), which prevents making decisions based on invalid value of
18232 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
18233 cause an error when `flyspell-pre-point' was nil after switching
18234 buffers.
18235 (flyspell-post-command-hook): No longer needs to change buffers when
18236 checking pre-word. While at it remove unnecessary progn.
18237
18238 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
18239
18240 * textmodes/ispell.el (ispell-add-per-file-word-list):
18241 Fix `flyspell-correct-word-before-point' error when accepting
18242 words and `coment-padding' is an integer by using
18243 `comment-normalize-vars' (Bug #14214).
18244
18245 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18246
18247 New defun movement commands.
18248 * progmodes/python.el (python-nav--syntactically)
18249 (python-nav--forward-defun, python-nav-backward-defun)
18250 (python-nav-forward-defun): New functions.
18251
18252 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
18253
18254 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
18255 (python-syntax-context): Use named compiler-macro for backwards
18256 compatibility with Emacs 24.x.
18257
18258 2013-04-17 Leo Liu <sdl.web@gmail.com>
18259
18260 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
18261 octave-hide-process-buffer.
18262
18263 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
18264
18265 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
18266 (bug#14216).
18267
18268 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
18269
18270 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
18271 Fix adjustment of offset when receiving incomplete responses from GDB
18272 (bug#14129).
18273
18274 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18275
18276 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
18277 python-mode-abbrev-table.
18278 (python-skeleton-define): Adjust accordingly.
18279 (python-mode-abbrev-table): New table that inherits from it so that
18280 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
18281
18282 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
18283 (abbrev-symbol): Use it.
18284 (abbrev--before-point): Use it since we already handle inheritance.
18285
18286 2013-04-16 Leo Liu <sdl.web@gmail.com>
18287
18288 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
18289 binding to info-lookup-symbol.
18290
18291 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
18292
18293 * minibuffer.el (completion--twq-all):
18294 * term/ns-win.el (ns-initialize-window-system):
18295 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
18296
18297 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
18298
18299 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
18300 global bindings.
18301
18302 * doc-view.el (doc-view-start-process): Handle url-handler directories.
18303
18304 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
18305
18306 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
18307 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
18308 to nil.
18309 (ruby-end-of-defun): Remove the unused arg, change the docstring
18310 to reflect that this function is only used as the value of
18311 `end-of-defun-function'.
18312 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
18313 to reflect an earlier change that beginning/end-of-defun functions
18314 jump between methods in a class definition, as well as top-level
18315 functions.
18316
18317 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18318
18319 * minibuffer.el (minibuffer-complete): Don't just scroll
18320 a *Completions* that's been iconified.
18321 (minibuffer-force-complete): Make sure repetitions do cycle when going
18322 through completion-in-region -> minibuffer-complete.
18323
18324 2013-04-15 Alan Mackenzie <acm@muc.de>
18325
18326 Correct the placement of c-cpp-delimiters when there're #s not at
18327 col 0.
18328
18329 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
18330 place a submatch around the #.
18331 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
18332 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
18333 on the #, not BOL.
18334
18335 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18336
18337 * emacs-lisp/nadvice.el: Properly test names when adding advice.
18338 (advice--member-p): New arg `name'.
18339 (advice--add-function, advice-member-p): Use it (bug#14202).
18340
18341 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
18342
18343 Reformulate java imenu-generic-expression.
18344 The old expression contained ill formed regexps.
18345
18346 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
18347 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
18348 (cc-imenu-java-method-arg-regexp): New defconsts.
18349 (cc-imenu-java-build-type-args-regex): New defun.
18350 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
18351 handling of spaces in the regexp.
18352
18353 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18354
18355 * textmodes/ispell.el (ispell-command-loop): Remove
18356 flyspell highlight of a word when ispell accepts it (bug #14178).
18357
18358 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
18359
18360 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
18361 uses code from the previous `ange-ftp-run-real-handler'.
18362 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
18363 only in case that function exist. This is needed for proper
18364 unloading of Tramp.
18365
18366 2013-04-15 Tassilo Horn <tsdh@gnu.org>
18367
18368 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
18369
18370 * textmodes/reftex.el (reftex-compile-variables): Use it.
18371
18372 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18373
18374 * files.el (normal-mode): Only use default major-mode if no other mode
18375 was specified.
18376
18377 * emacs-lisp/trace.el (trace-values): New function.
18378
18379 * files.el: Allow : in local variables (bug#14089).
18380 (hack-local-variable-regexp): New var.
18381 (hack-local-variables-prop-line, hack-local-variables): Use it.
18382
18383 2013-04-13 Roland Winkler <winkler@gnu.org>
18384
18385 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
18386 data before it gets modified by bibtex-beginning-of-entry.
18387
18388 2013-04-13 Roland Winkler <winkler@gnu.org>
18389
18390 * textmodes/bibtex.el (bibtex-url): Doc fix.
18391
18392 2013-04-13 Roland Winkler <winkler@gnu.org>
18393
18394 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
18395 does not visit a BibTeX file, exclude it from the list of buffers
18396 returned by bibtex-initialize.
18397
18398 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
18399
18400 * window.el (split-window): Remove interactive form, since as a
18401 command this function is a special case of split-window-below.
18402 Correct doc string.
18403
18404 2013-04-12 Roland Winkler <winkler@gnu.org>
18405
18406 * faces.el (read-face-name): Do not override value of arg default.
18407 Allow single faces and strings as default values. Remove those
18408 elements from return value that are not faces.
18409 (describe-face): Simplify.
18410 (face-at-point): New optional args thing and multiple so that this
18411 function can provide the same functionality previously provided by
18412 read-face-name.
18413 (make-face-bold, make-face-unbold, make-face-italic)
18414 (make-face-unitalic, make-face-bold-italic, invert-face)
18415 (modify-face, read-face-and-attribute): Use face-at-point.
18416
18417 * cus-edit.el (customize-face, customize-face-other-window)
18418 * cus-theme.el (custom-theme-add-face)
18419 * face-remap.el (buffer-face-set)
18420 * facemenu.el (facemenu-set-face): Use face-at-point.
18421
18422 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
18423
18424 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
18425
18426 2013-04-10 Tassilo Horn <tsdh@gnu.org>
18427
18428 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
18429 off leading { and trailing } from field values.
18430
18431 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
18432
18433 * emacs-lisp/timer.el (timer--check): New function.
18434 (timer--time, timer-set-function, timer-event-handler): Use it.
18435 (timer-set-idle-time): Simplify.
18436 (timer--activate): CSE.
18437 (timer-event-handler): Give more info in error message.
18438 (internal-timer-start-idle): New function, moved from C.
18439
18440 * mpc.el (mpc-proc): Add `restart' argument.
18441 (mpc-proc-cmd): Use it.
18442 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
18443 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
18444 less often.
18445
18446 2013-04-10 Masatake YAMATO <yamato@redhat.com>
18447
18448 * progmodes/sh-script.el: Implement `sh-mode' own
18449 `add-log-current-defun-function' (bug#14112).
18450 (sh-current-defun-name): New function.
18451 (sh-mode): Use the function.
18452
18453 2013-04-09 Bastien Guerry <bzg@gnu.org>
18454
18455 * simple.el (choose-completion-string): Fix docstring (bug#14163).
18456
18457 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
18458
18459 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
18460
18461 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
18462 timer (bug#14156).
18463
18464 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
18465
18466 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
18467 declaration.
18468
18469 2013-04-07 Leo Liu <sdl.web@gmail.com>
18470
18471 * pcmpl-x.el: New file.
18472
18473 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
18474
18475 Do not set x-display-name until X connection is established.
18476 This is needed to prevent from weird situation described at
18477 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
18478 * frame.el (make-frame): Set x-display-name after call to
18479 window system initialization function, not before.
18480 * term/x-win.el (x-initialize-window-system): Add optional
18481 display argument and use it.
18482 * term/w32-win.el (w32-initialize-window-system):
18483 * term/ns-win.el (ns-initialize-window-system):
18484 * term/pc-win.el (msdos-initialize-window-system):
18485 Add compatible optional display argument.
18486
18487 2013-04-06 Eli Zaretskii <eliz@gnu.org>
18488
18489 * files.el (normal-backup-enable-predicate): On MS-Windows and
18490 MS-DOS compare truenames of temporary-file-directory and of the
18491 file, so that 8+3 aliases (usually found in $TEMP on Windows)
18492 don't fail comparison by compare-strings. Also, compare file
18493 names case-insensitively on MS-Windows and MS-DOS.
18494
18495 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18496
18497 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
18498 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
18499
18500 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
18501
18502 * whitespace.el (whitespace-color-on, whitespace-color-off):
18503 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
18504
18505 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
18506
18507 * ispell.el (ispell-set-spellchecker-params):
18508 Really set `ispell-args' for all equivs.
18509
18510 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
18511
18512 * ido.el (ido-completions): Use extra elements of ido-decorations
18513 (bug#14143).
18514 (ido-decorations): Update docstring.
18515
18516 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
18517
18518 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18519 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
18520 nil during initialization, in order not to miss changes since the
18521 file was opened. (Bug#14140)
18522
18523 2013-04-05 Leo Liu <sdl.web@gmail.com>
18524
18525 * kmacro.el (kmacro-call-macro): Fix bug#14135.
18526
18527 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
18528
18529 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
18530
18531 2013-04-04 Glenn Morris <rgm@gnu.org>
18532
18533 * electric.el (electric-pair-inhibit-predicate): Add :version.
18534
18535 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
18536
18537 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
18538 when a package is required several times (bug#14082).
18539
18540 2013-04-04 Roland Winkler <winkler@gnu.org>
18541
18542 * faces.el (read-face-name): Behave as promised by the docstring.
18543 Assume that arg default is a list of faces.
18544 (describe-face): Call read-face-name with list of default faces.
18545
18546 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18547
18548 * bookmark.el: Fix deletion of bookmarks (bug#13972).
18549 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
18550 (bookmark-bmenu-execute-deletions): Only skip first line if it's
18551 the header.
18552 (bookmark-exit-hook-internal): Save even if list is empty.
18553
18554 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
18555
18556 * emacs-lisp/package.el (package-pinned-packages): New var.
18557 (package--add-to-archive-contents): Obey it (bug#14118).
18558
18559 2013-04-03 Alan Mackenzie <acm@muc.de>
18560
18561 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
18562 Also adapt to the new values of element 7 of a parse state.
18563
18564 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
18565 parameter `not-in-delimiter'. Handle being inside comment opener.
18566 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
18567 character in case we're typing a '*' after a '/'.
18568 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
18569 instead by passing the parameter to c-state-pp-to-literal.
18570
18571 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
18572 for elt. 7 of a parse state.
18573
18574 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
18575
18576 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
18577 * international/latin1-disp.el, international/mule-util.el:
18578 * language/cyril-util.el, language/european.el, language/ind-util.el:
18579 * language/lao-util.el, language/thai.el, language/tibet-util.el:
18580 * language/tibetan.el, language/viet-util.el:
18581 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
18582
18583 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18584
18585 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
18586 (electric-pair-post-self-insert-function): Use it.
18587 (electric-pair-default-inhibit): New function, extracted from
18588 electric-pair-post-self-insert-function.
18589
18590 2013-03-31 Roland Winkler <winkler@gnu.org>
18591
18592 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
18593
18594 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18595
18596 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
18597
18598 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
18599
18600 Un-indent after "pass" and "return" statements (Bug#13888)
18601 * progmodes/python.el (python-indent-block-enders): New var.
18602 (python-indent-calculate-indentation): Use it.
18603
18604 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
18605
18606 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
18607 defun. Defining it as defalias could introduce too eager
18608 byte-compiler optimization. (Bug#14030)
18609
18610 2013-03-30 Chong Yidong <cyd@gnu.org>
18611
18612 * iswitchb.el (iswitchb-read-buffer): Fix typo.
18613
18614 2013-03-30 Leo Liu <sdl.web@gmail.com>
18615
18616 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
18617 (kmacro-execute-from-register): Pass the keyboard macro to
18618 kmacro-call-macro or repeating won't work correctly.
18619
18620 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
18621
18622 * progmodes/subword.el: Back to using `forward-symbol'.
18623
18624 * subr.el (forward-whitespace, forward-symbol)
18625 (forward-same-syntax): Move from thingatpt.el.
18626
18627 2013-03-29 Leo Liu <sdl.web@gmail.com>
18628
18629 * kmacro.el (kmacro-to-register): New command.
18630 (kmacro-execute-from-register): New function.
18631 (kmacro-keymap): Bind to 'x'. (Bug#14071)
18632
18633 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
18634
18635 * mpc.el: Use defvar-local and setq-local.
18636 (mpc--proc-connect): Connection failures are not bugs.
18637 (mpc-mode-map): `follow-link' only applies to the buffer's content.
18638 (mpc-volume-map): Bind to the up-events.
18639
18640 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
18641
18642 * progmodes/subword.el (superword-mode): Use `forward-sexp'
18643 instead of `forward-symbol'.
18644
18645 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
18646
18647 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
18648 (edebug--recursive-edit): Use it.
18649 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
18650 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
18651
18652 2013-03-28 Leo Liu <sdl.web@gmail.com>
18653
18654 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
18655
18656 2013-03-27 Eli Zaretskii <eliz@gnu.org>
18657
18658 * facemenu.el (list-colors-callback): New defvar.
18659 (list-colors-redisplay): New function.
18660 (list-colors-display): Install list-colors-redisplay as the
18661 revert-buffer-function. (Bug#14063)
18662
18663 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
18664
18665 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
18666 and suffixes don't overlap (bug#14061).
18667
18668 * case-table.el: Use lexical-binding.
18669 (case-table-get-table): New function.
18670 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
18671
18672 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
18673
18674 * progmodes/subword.el: Add `superword-mode' to do word motion
18675 over symbol_words (parallels and leverages `subword-mode' which
18676 does word motion inside MixedCaseWords).
18677
18678 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
18679
18680 * eshell/em-unix.el: Move su and sudo to...
18681 * eshell/em-tramp.el: ...Eshell tramp module.
18682
18683 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18684
18685 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
18686 Change return value to be a sexp. Delay `get-buffer' to after
18687 restoring the desktop (bug#13951).
18688
18689 2013-03-26 Leo Liu <sdl.web@gmail.com>
18690
18691 * register.el: Move semantic tag handling back to
18692 cedet/semantic/senator.el. (Bug#14052)
18693
18694 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
18695
18696 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
18697 into the prompt either (bug#13963).
18698
18699 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
18700
18701 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
18702 part of "(error-foo)".
18703
18704 2013-03-24 Juri Linkov <juri@jurta.org>
18705
18706 * replace.el (list-matching-lines-prefix-face): New defcustom.
18707 (occur-1): Pass `list-matching-lines-prefix-face' to the function
18708 `occur-engine' if `face-differs-from-default-p' returns t.
18709 (occur-engine): Add `,' inside backquote construct to evaluate
18710 `prefix-face'. Propertize the prefix with the `prefix-face' face.
18711 Pass `prefix-face' to the functions `occur-context-lines' and
18712 `occur-engine-add-prefix'.
18713 (occur-engine-add-prefix, occur-context-lines): Add optional arg
18714 `prefix-face' and propertize the prefix with `prefix-face'.
18715 (Bug#14017)
18716
18717 2013-03-24 Leo Liu <sdl.web@gmail.com>
18718
18719 * nxml/rng-valid.el (rng-validate-while-idle)
18720 (rng-validate-quick-while-idle): Guard against deleted buffer.
18721 (Bug#13999)
18722
18723 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
18724 is the last entry in kill-buffer-hook.
18725
18726 * files.el (kill-buffer-hook): Doc fix.
18727
18728 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
18729
18730 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
18731 Make it safe-local.
18732
18733 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
18734
18735 2013-03-23 Leo Liu <sdl.web@gmail.com>
18736
18737 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
18738 Remove.
18739
18740 * nxml/rng-valid.el (rng-validate-mode)
18741 (rng-after-change-function, rng-do-some-validation):
18742 * nxml/rng-maint.el (rng-validate-buffer):
18743 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
18744 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
18745 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
18746 (nxml-extend-after-change-region): Use with-silent-modifications.
18747
18748 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
18749 timer-idle-list.
18750
18751 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
18752 (rng-next-error-1, rng-previous-error-1): Do not let-bind
18753 timer-idle-list. (Bug#13999)
18754
18755 2013-03-23 Juri Linkov <juri@jurta.org>
18756
18757 * info.el (info-index-match): New face.
18758 (Info-index, Info-apropos-matches): Add a nested subgroup to the
18759 main pattern and add text properties with the new face to matches
18760 in index entries relative to the beginning of the index entry.
18761 (Bug#14015)
18762
18763 2013-03-21 Eric Ludlam <zappo@gnu.org>
18764
18765 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
18766 Inhibit read only while inserting objects.
18767
18768 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
18769
18770 * progmodes/cfengine.el: Update docs to mention
18771 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
18772 symbol motion. Remove "_" from the word syntax.
18773
18774 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
18775
18776 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
18777 syntax for both `cfengine2-mode' and `cfengine3-mode'.
18778
18779 2013-03-20 Juri Linkov <juri@jurta.org>
18780
18781 * info.el (Info-next-reference-or-link)
18782 (Info-prev-reference-or-link): New functions.
18783 (Info-next-reference, Info-prev-reference): Use them.
18784 (Info-try-follow-nearest-node): Handle footnote navigation.
18785 (Info-fontify-node): Fontify footnotes. (Bug#13989)
18786
18787 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
18788
18789 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
18790 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
18791
18792 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
18793
18794 Suppress unnecessary non-ASCII chatter during build process.
18795 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
18796 (batch-skkdic-convert): Suppress most of the chatter.
18797 It's not needed so much now that machines are faster,
18798 and its non-ASCII component was confusing; see Dmitry Gutov in
18799 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
18800
18801 2013-03-20 Leo Liu <sdl.web@gmail.com>
18802
18803 * ido.el (ido-chop): Fix bug#10994.
18804
18805 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18806
18807 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
18808 Remove vars.
18809 (whitespace-color-on, whitespace-color-off):
18810 Use `font-lock-fontify-buffer' (Bug#13817).
18811
18812 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
18813
18814 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
18815 remapping in mode-line.
18816 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
18817
18818 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
18819
18820 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
18821 value for `whitespace-line' face (Bug#13875).
18822 (whitespace-font-lock-keywords): Change description.
18823 (whitespace-color-on): Don't save `font-lock-keywords' value, save
18824 the constructed keywords instead.
18825 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
18826
18827 2013-03-19 Leo Liu <sdl.web@gmail.com>
18828
18829 * progmodes/compile.el (compilation-display-error): New command.
18830 (compilation-mode-map, compilation-minor-mode-map): Bind it to
18831 C-o. (Bug#13992)
18832
18833 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18834
18835 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
18836
18837 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
18838
18839 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
18840
18841 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
18842
18843 * net/tramp-compat.el (tramp-compat-user-error): New defun.
18844
18845 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18846 * net/tramp-gvfs.el (top):
18847 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
18848 (tramp-handle-shell-command): Use it.
18849 (tramp-dissect-file-name): Raise an error when hostname is a
18850 method name, and neither method nor user is specified.
18851
18852 * net/trampver.el: Update release number.
18853
18854 2013-03-18 Leo Liu <sdl.web@gmail.com>
18855
18856 Make sure eldoc can be turned off properly.
18857 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
18858 eldoc-mode.
18859 (eldoc-display-message-p): Revert last change.
18860 (eldoc-display-message-no-interference-p)
18861 (eldoc-print-current-symbol-info): Tweak.
18862
18863 2013-03-18 Tassilo Horn <tsdh@gnu.org>
18864
18865 * doc-view.el (doc-view-new-window-function): Check the new window
18866 overlay's display property instead the char property of the
18867 buffer's first char. Use `with-selected-window' instead of
18868 `save-window-excursion' with `select-window'.
18869 (doc-view-document->bitmap): Check the current doc-view overlay's
18870 display property instead the char property of the buffer's first char.
18871
18872 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
18873
18874 Automate the build of ja-dic.el (Bug#13984).
18875 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
18876 from the input, rather than assume that it's been done for us by the
18877 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
18878 the current date into a ja-dic.el comment, as that complicates
18879 regression testing.
18880
18881 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18882
18883 * whitespace.el: Fix double evaluation.
18884 (whitespace-space, whitespace-hspace, whitespace-tab)
18885 (whitespace-newline, whitespace-trailing, whitespace-line)
18886 (whitespace-space-before-tab, whitespace-indentation)
18887 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
18888 obsolete defvars.
18889 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
18890 (whitespace-color-on): Use a single font-lock-add-keywords call.
18891 Fix double-evaluation of face variables.
18892
18893 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
18894
18895 * net/tramp-adb.el (tramp-adb-parse-device-names):
18896 Use `start-process' instead of `call-process'. Otherwise, the
18897 function might be blocked under MS Windows. (Bug#13299)
18898
18899 2013-03-17 Leo Liu <sdl.web@gmail.com>
18900
18901 Extend eldoc to display info in the mode-line. (Bug#13978)
18902 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
18903 (eldoc-mode-line-string): New variable.
18904 (eldoc-minibuffer-message): New function.
18905 (eldoc-message-function): New variable.
18906 (eldoc-message): Use it.
18907 (eldoc-display-message-p)
18908 (eldoc-display-message-no-interference-p):
18909 Support eldoc-post-insert-mode.
18910
18911 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
18912 (eval-expression): Run it.
18913
18914 2013-03-17 Roland Winkler <winkler@gnu.org>
18915
18916 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
18917 strings in the list of return values.
18918
18919 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18920
18921 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
18922 radix before checking for HMS forms.
18923
18924 2013-03-16 Leo Liu <sdl.web@gmail.com>
18925
18926 * progmodes/scheme.el: Add indentation and font-locking for λ.
18927 (Bug#13975)
18928
18929 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
18930
18931 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
18932 token before point (bug#13942).
18933
18934 2013-03-16 Leo Liu <sdl.web@gmail.com>
18935
18936 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
18937
18938 2013-03-16 Eli Zaretskii <eliz@gnu.org>
18939
18940 * startup.el (command-line-normalize-file-name): Fix handling of
18941 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
18942 <xfq.free@gmail.com> in
18943 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
18944
18945 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
18946
18947 Sync with Tramp 2.2.7.
18948
18949 * net/trampver.el: Update release number.
18950
18951 2013-03-14 Tassilo Horn <tsdh@gnu.org>
18952
18953 * doc-view.el: Fix bug#13887.
18954 (doc-view-insert-image): Don't modify overlay associated to
18955 non-live windows, and implement horizontal centering of image in
18956 case it's smaller than the window.
18957 (doc-view-new-window-function): Force redisplay of new windows on
18958 doc-view buffers.
18959
18960 2013-03-13 Karl Fogel <kfogel@red-bean.com>
18961
18962 * saveplace.el (save-place-alist-to-file): Don't sort
18963 `save-place-alist', just pretty-print it (bug#13882).
18964
18965 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
18966
18967 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18968 Check whether `default-file-name-coding-system' is bound.
18969 It isn't in XEmacs.
18970
18971 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
18972
18973 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
18974 backquotes for `obsolete' (bug#13929).
18975
18976 * international/mule.el (find-auto-coding): Include file name in
18977 obsolescence warning (bug#13922).
18978
18979 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
18980
18981 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
18982 for CFEngine 3-specific indentation.
18983 (cfengine3-indent-line): Use it. Fix up category regex.
18984 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
18985
18986 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18987
18988 * type-break.el (type-break-file-name):
18989 * textmodes/remember.el (remember-data-file):
18990 * strokes.el (strokes-file):
18991 * shadowfile.el (shadow-initialize):
18992 * saveplace.el (save-place-file):
18993 * ps-bdf.el (bdf-cache-file):
18994 * progmodes/idlwave.el (idlwave-config-directory):
18995 * net/quickurl.el (quickurl-url-file):
18996 * international/kkc.el (kkc-init-file-name):
18997 * ido.el (ido-save-directory-list-file):
18998 * emulation/viper.el (viper-custom-file-name):
18999 * emulation/vip.el (vip-startup-file):
19000 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
19001 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
19002
19003 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
19004
19005 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
19006 * language/thai-word.el: Switch to UTF-8.
19007
19008 See ChangeLog.16 for earlier changes.
19009
19010 ;; Local Variables:
19011 ;; coding: utf-8
19012 ;; End:
19013
19014 Copyright (C) 2011-2014 Free Software Foundation, Inc.
19015
19016 This file is part of GNU Emacs.
19017
19018 GNU Emacs is free software: you can redistribute it and/or modify
19019 it under the terms of the GNU General Public License as published by
19020 the Free Software Foundation, either version 3 of the License, or
19021 (at your option) any later version.
19022
19023 GNU Emacs is distributed in the hope that it will be useful,
19024 but WITHOUT ANY WARRANTY; without even the implied warranty of
19025 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19026 GNU General Public License for more details.
19027
19028 You should have received a copy of the GNU General Public License
19029 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.