1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

122201 Commits

Author SHA1 Message Date
Nicolas Richard
2f020e8219 Add argument to reverse the meaning of ido-restrict-to-matches
* lisp/ido.el (ido-restrict-to-matches): Add an optional argument
to reverse the meaning (Bug#15631).

; * etc/NEWS: Mention the change.
2015-07-02 00:57:07 +02:00
Eli Zaretskii
7d5a7a43f1 Be more tolerant to fonts named "Foobar-12"
* src/frame.c (x_set_font): If font_spec_from_name returns nil,
don't barf; instead, request a new fontset to be generated.  This
avoids unnecessarily rejecting fonts named against XLFD rules.  See
http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
for the description of the original problem.

* lisp/faces.el (set-face-attribute): Don't be fooled too easily
by a hyphen in a font's name.
2015-07-01 19:33:56 +03:00
Eli Zaretskii
4c66103fb3 Fix value of posn-at-pont in R2L lines
* src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
coordinate of -1, for a newline in a right-to-left line that
overflowed into the left fringe.
2015-07-01 19:27:13 +03:00
Stefan Monnier
87464d637a (cl--copy-slot-descriptor): Copy the `props' alist as well
* lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
Rename from cl--copy-slot-descriptor.
(cl--copy-slot-descriptor): New function.  Copy the alist (bug#20914).
2015-07-01 09:31:25 -04:00
Glenn Morris
3d759f4f6f ; Auto-commit of loaddefs files. 2015-07-01 06:22:13 -04:00
Stefan Monnier
cc8f96e6e1 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
(xterm-query-timeout): New var.
(xterm--query): Use it.  Fallback on async method if we timeout before
getting the first byte of the reply (bug#12354).
2015-06-30 23:20:29 -04:00
Paul Eggert
cc7acdbd0e Spelling fixes 2015-06-30 19:47:29 -07:00
Xue Fuqiao
5f004117f5 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946) 2015-07-01 06:34:05 +08:00
Paul Eggert
3213d77070 In strings, prefer plain and ' to \ and \'
* lisp/allout.el (allout-insert-listified):
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
* lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
(ls-lisp-string-lessp):
* lisp/menu-bar.el (menu-bar-open):
* lisp/obsolete/otodo-mode.el (todo-top-priorities):
* lisp/progmodes/compile.el (compile):
* lisp/progmodes/etags.el (tags-loop-scan):
* lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
* lisp/subr.el (posn-actual-col-row):
* lisp/term/pc-win.el (x-list-fonts):
* lisp/textmodes/texinfmt.el (texinfmt-version):
* lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
* lisp/time.el (display-time-world-list):
* lisp/tmm.el (tmm-menubar):
* src/buffer.c (syms_of_buffer):
* src/fileio.c (syms_of_fileio):
Omit unnecessary and confusing backslash before quote.
* lisp/erc/erc.el (erc-cmd-LASTLOG):
* lisp/progmodes/flymake.el (flymake-fix-file-name):
* lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
Fix string that was intended to escape a backslash and not a quote.
2015-06-30 15:08:02 -07:00
Glenn Morris
5f9e4b2e11 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition. 2015-06-30 16:20:39 -04:00
Glenn Morris
290acafd7e * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
Replace hard-coded lists with wildcard + filter-out.
2015-06-30 15:23:07 -04:00
Glenn Morris
9ae0d76c3b * configure.ac (system-configuration-features): Add X11, NS. 2015-06-30 15:01:18 -04:00
Glenn Morris
5200c2baef Improve reproducibility of generated loaddefs file.
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Make the return value the modtime of the input file (if no autoloads).
(update-directory-autoloads): In the "no autoloads" section,
use "most recent modtime" rather than "current time".

; http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00688.html
2015-06-30 14:59:04 -04:00
Artur Malabarba
0dfea4562e * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic
(Bug#20930)
2015-06-30 19:20:12 +01:00
Eli Zaretskii
79310d736c ; * src/doc.c: Add a 'coding' cookie. 2015-06-30 20:13:35 +03:00
Nicolas Petton
a30642f065 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max. 2015-06-30 18:40:19 +02:00
Nicolas Petton
b1047c3b42 Add seq-min and seq-max
Bump version number.

* lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
* test/automated/seq-tests.el: Add tests for seq-min and seq-max.
2015-06-30 18:40:19 +02:00
Eli Zaretskii
3bea77f655 Make sure sleep-for always delays for as long as it's told
* src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
a loop, to ensure we always wait exactly the required amount of
time.  (Bug#15990)
2015-06-30 19:09:02 +03:00
Paul Eggert
43593cb417 Fix pointer signedness glitch
* src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
2015-06-30 09:07:35 -07:00
Eli Zaretskii
edd09381c6 Don't block changes in mouse pointer inside 'track-mouse'
* etc/NEWS:
* doc/lispref/frames.texi (Mouse Tracking): Document the special
effect of setting 'track-mouse' to 'dragging'.

* lisp/textmodes/artist.el (artist-mouse-draw-continously):
* lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
* lisp/mouse-drag.el (mouse-drag-throw):
* lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
to avoid changes in the shape of the mouse pointer.

* src/xdisp.c (define_frame_cursor1): Don't change the mouse
pointer shape when do_mouse_tracking has the value of 'dragging',
not just any non-nil value.  (Bug#20934)
(syms_of_xdisp): DEFSYM 'dragging'.
2015-06-30 18:59:21 +03:00
Artur Malabarba
881c479026 * lisp/isearch.el (isearch-toggle-word): Fix toggle 2015-06-30 15:33:39 +01:00
Artur Malabarba
8d3b910213 * lisp/emacs-lisp/package.el (package-compute-transaction):
Don't assume version sorting.
2015-06-30 10:47:25 +01:00
Artur Malabarba
d0a5162fd8 * lisp/emacs-lisp/package.el (package--save-selected-packages):
Don't save before init time, to avoid overwriting configurations.
(Bug#20855)
2015-06-30 10:19:15 +01:00
Xue Fuqiao
ee0b833432 Add cross references.
* doc/emacs/display.texi (Standard Faces, Fringes): Add cross
references.
2015-06-30 16:02:56 +08:00
Katsumi Yamaoka
f66d4e860e Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-06-30 03:47:18 +00:00
Ted Zlatanov
1b3004cbf4 cfengine.el: update for the upcoming CFEngine 3.7 release
Update for the upcoming CFEngine 3.7 release: support macros and
quoted context strings; reformat JSON; indent promise attributes 2
units by default; give function parameter descriptions in the eldoc
glue.
* cfengine.el: Update version and docs and fix name.  Autoload
`json-pretty-print'.  Support new features in 3.7.
(cfengine-parameters-indent): Set default promise attribute indent to
2 more than the promise itself.
(cfengine3-macro-regex): New variable to match the new macro syntax.
(cfengine3-font-lock-keywords): Use it to highlight macros.
(cfengine3-indent-line): Use it to indent macros to column 0.
(cfengine3-class-selector-regex): Update for the new quoted strings
format.
(cfengine3-reformat-json-string): New function to reformat a JSON
string using `json-pretty-print'.
(cfengine3-format-function-docstring): Use function parameter
description if it's provided by the cf-promises syntax dump.
2015-06-29 23:07:30 -04:00
Michael R. Mauger
7466a4ded6 Cygwin emacsclient handles w32 file names 2015-06-29 20:58:22 -04:00
Katsumi Yamaoka
3fa319bd84 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice (bug#20925). 2015-06-29 23:13:45 +00:00
Eli Zaretskii
ea399306a3 * doc/lispref/text.texi (Sticky Properties): Improve wording.
(Bug#20924)
2015-06-29 20:36:53 +03:00
Eli Zaretskii
ea60b543f6 Allow font names that end in "-NN", where NN is a number
* src/font.c (font_load_for_lface): If the font-spec didn't match
any available fonts, try again without interpreting trailing "-NN"
as the font size.  For the description of the original problem, see
http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
2015-06-29 19:10:20 +03:00
Eli Zaretskii
64110eb14d .gdbinit followup to changes in !USE_LSB_TAG
* src/.gdbinit (xgetsym): Don't left-shift $ptr even under
!USE_LSB_TAG, as Emacs no longer does.
2015-06-29 18:57:25 +03:00
Wolfgang Jenkner
59f1e8a02d * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
Otherwise `s p' of f and F will stomp on each other's value.  (Bug#20916)
2015-06-29 14:26:29 +02:00
Artur Malabarba
23d00d4cdd * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
Don't block remember-pos if buffer isn't displayed.  (Bug#20921)
2015-06-29 10:11:16 +01:00
Nicolas Richard
6689b537c8 * package.el (describe-package): Use symbol-at-point as additional guess 2015-06-29 09:14:58 +02:00
Nicolas Richard
a4760a347e * package.el (describe-package): Convert the guess to a string 2015-06-29 09:14:47 +02:00
Paul Eggert
f729a7c09e apropos-library quoting fix
* lisp/apropos.el (apropos-library): Quote library consistently
with the rest of the quoting used by apropos.
2015-06-28 13:24:57 -07:00
Paul Eggert
92a4e3ff2f Clarify interpreter-mode-alist doc
* lisp/files.el (interpreter-mode-alist):
Reword to avoid confusing quoting that wasn't working anyway.
2015-06-28 13:24:57 -07:00
Michael Albinus
fc0e567ff3 Sync with Tramp 2.2.12
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Update release number.

* test/automated/tramp-tests.el (tramp-test13-make-directory):
Fix cleanup.
2015-06-28 20:51:54 +02:00
Eli Zaretskii
39e08cc354 ; * src/w32proc.c (w32_executable_type): Fix a typo in a comment. 2015-06-28 18:29:46 +03:00
Glenn Morris
27672f74e0 ; Auto-commit of ChangeLog files. 2015-06-28 06:24:02 -04:00
Artur Malabarba
eac1271ae9 * lisp/isearch.el (isearch-mode): Don't char-fold regexps
(bug#20913)
2015-06-28 09:21:15 +01:00
Dmitry Gutov
bbf63ee00a Bind grep-highlight-matches around the rgrep call
* lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
around the rgrep call (bug#20728).
2015-06-28 04:38:11 +03:00
Dmitry Gutov
a1dde6b50f Put "--color" before the other options in grep-command
* lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
before the other options in grep-command (bug#20912).
2015-06-28 04:29:03 +03:00
Dmitry Gutov
9b4b4a8355 Add --color Grep option to the command dynamically
* lisp/progmodes/grep.el (grep-template, grep-find-template):
Update the description for <C>.  (Bug#20728)
(grep-compute-defaults): Don't add the --color option to
grep-options.  Only add it to grep-command.
(grep-expand-keywords): Expand the env value opts into <C>.
(grep-expand-template): Replace cf in the env with the opts list,
that can include -i and --color.

* lisp/progmodes/xref.el (xref-collect-matches): Do not remove
"--color=always" from the template, because we don't have to.
2015-06-27 23:57:28 +03:00
Paul Eggert
da5e0050ac cl-extra fixes for most-negative-fixnum
* lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
Don't mishandle an argument equal to most-negative-fixnum,
whose absolute value equals itself.
(cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
2015-06-27 12:19:22 -07:00
Paul Eggert
efc262f5f8 Initialize cl--gensym-counter to 0
Previously it was initialized to a random value, which made it
harder to reproduce earlier Emacs runs.  The need for a random
value went away when Emacs introduced and used the #: syntax for
uninterned symbols (Bug#20862).
* doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
Document that cl--gensym-counter now starts with 0.
* lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
(cl--random-time): Move to near only remaining use.
* lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
2015-06-27 10:59:08 -07:00
Paul Eggert
5e3fde03b4 Improve docstring for macroexp-let2
* lisp/emacs-lisp/macroexp.el (macroexp-let2):
Improve as per suggestion by RMS in:
http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
Also, rename args to match new doc string.
2015-06-27 08:35:13 -07:00
Eli Zaretskii
7baae81165 Fix VC test suite on MS-Windows
* lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
always starts with 3 slashes after the colon.

* test/automated/vc-tests.el (vc-test--create-repo-function): Use
'w32-application-type' to invoke CVS on MS-Windows with properly
formatted CVSROOT directory name.
2015-06-27 14:27:23 +03:00
Eli Zaretskii
31807189b5 Add a new function w32-application-type
* src/w32proc.c (Fw32_application_type): New function.
; * etc/NEWS: Mention w32-application-type.
2015-06-27 13:48:26 +03:00
Eli Zaretskii
5a7fb4f0cc Avoid error in TLS connections due to incorrect format
* src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
the call to 'error', instead of the unsupported %u.  Reported by
lo2net <fangtao0901@gmail.com>.  (Bug#20908)
2015-06-27 11:00:38 +03:00