1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

121175 commits

Author SHA1 Message Date
Glenn Morris
cf2e9971ea Tweak exec-path in uninstalled case
* src/callproc.c (init_callproc): If running uninstalled, do not
include eventual installation libexec directory in exec-path.
2015-04-20 17:38:36 -04:00
Artur Malabarba
b7a015f5e0 * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
(package-menu-filter): Accept a list of keywords.

(package--all-keywords): New variable to cache known keywords.
(package-all-keywords): Populate it if necessary.
(package-refresh-contents): Reset it.
2015-04-20 20:47:18 +01:00
Artur Malabarba
fad6b8a093 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
(package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
as special keywords which match agains package archive and status
respectively.

* etc/NEWS: Document it.
2015-04-20 20:47:18 +01:00
Eli Zaretskii
c0f5a3b335 Describe and index "empty overlays".
* doc/lispref/display.texi (Overlays): Improve indexing.
(Managing Overlays): Describe "empty" overlays.
(Overlay Properties, Finding Overlays): Add cross-reference to
where empty overlays are described.
2015-04-20 18:46:11 +03:00
Paul Eggert
8f1eda7a8a Spelling fixes 2015-04-19 23:59:46 -07:00
Paul Eggert
9099d45df7 Quote 'like this' in top-level files
* CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
Prefer to single-quote 'like this' (instead of the older style
`like this').
* configure.ac: Fix some space-before-tab problems that 'git commit'
complained about.
2015-04-19 14:44:50 -07:00
Paul Eggert
62e170072e Use bool for boolean in textprop.c, undo.c
* src/textprop.c (soft, hard): Now constants instead of macros.
(validate_plist): Rewrite to avoid need for boolean local.
(interval_has_all_properties, interval_has_some_properties)
(interval_has_some_properties_list, add_properties)
(remove_properties, get_char_property_and_overlay)
(Fnext_single_char_property_change)
(Fprevious_single_char_property_change, add_text_properties_1)
(Fremove_text_properties, Fremove_list_of_text_properties)
(copy_text_properties):
* src/tparam.c (tparam1):
* src/undo.c (record_change, record_property_change)
(syms_of_undo):
Use 'true' and 'false' for booleans.
2015-04-19 13:13:52 -07:00
Dmitry Gutov
b5b0e0500e Call `smerge-start-session' even when dealing with a stash conflict
* lisp/vc/vc-git.el (vc-git-find-file-hook):
Call `smerge-start-session' even when dealing with a stash
conflict (bug#20292).
2015-04-19 22:24:39 +03:00
Vibhav Pant
f5076daca0 ; * etc/NEWS: Add "+++" to eshell entry. 2015-04-20 00:17:31 +05:30
Vibhav Pant
d7f1b8af02 Add option to eshell/clear to clear scrollback.
* lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
(eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
scrollback contents are cleared.

* etc/NEWS: Describe change.

* doc/misc/eshell.texi: Add entry for `clear'.
2015-04-19 23:26:09 +05:30
Paul Eggert
e5bd39b2b4 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
where either will do.
2015-04-19 10:11:21 -07:00
Steve Purcell
4155619aac Assume package archive-contents are UTF8-encoded
* lisp/emacs-lisp/package.el (package--read-archive-file):
Set `coding-system-for-read' explicitly to 'utf-8 when reading the
downloaded and cached archive-contents files, so that non-ASCII
characters in package descriptions are displayed correctly in the
`list-packages' menu. (Bug#20231)

Co-authored-by: Steve Purcell <steve@sanityinc.com>
2015-04-19 17:56:46 +01:00
Dmitry Gutov
d35f2f4822 Abort when looking at stashed changes
* lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
stashed changes (bug#20292).
2015-04-19 19:28:17 +03:00
Paul Eggert
96bfe816d8 Refactor low-level printing for simplicity
* src/print.c (PRINTDECLARE): Remove.  Move its contents into
PRINTPREPARE; doable now that we assume C99.  All callers changed.
(PRINTCHAR): Remove, as it adds more mystery than clarity.
All callers changed.
(strout): Assume that caller computes length.  All callers changed.
(print_c_string): New function.
(write_string, write_string_1): Compute length instead of asking
the caller to compute it.  All callers changed.
(write_string): Simplify by using write_string_1.
(write_string_1): Simplify by using print_c_string.
(Fterpri): Compute default val more clearly.
(Fprin1_to_string, print_object):
Assume C99 to avoid unnecessary nesting.
(print_object): Prefer print_c_string to multiple printchar, or
to calling strout with -1 length.  Coalesce into sprintf when
this is easy.
2015-04-19 08:55:36 -07:00
Paul Eggert
65ac8bc6a9 ; Fix more-recent commit messages too 2015-04-18 19:56:03 -07:00
Paul Eggert
f48a28e343 ; make change-history-commit 2015-04-18 19:56:03 -07:00
Paul Eggert
870287327b ; Convert ChangeLog history files to "Bug#NNNN" 2015-04-18 19:48:24 -07:00
Paul Eggert
f2da220b5f Prefer "Bug#1234" in commit messages
* .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
as this isn't useful for Git.
* CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
2015-04-18 19:48:23 -07:00
Glenn Morris
f4f1380dea * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
Fixes: debbugs:19506
2015-04-18 18:37:01 -07:00
Tom Willemse
ef6302ff1a * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
Fixes: debbugs:19505
Copyright-paperwork-exempt: yes
2015-04-18 18:07:16 -07:00
Glenn Morris
1abf64fe2a * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes. 2015-04-18 18:00:02 -07:00
Glenn Morris
d4bbc769e8 * doc/emacs/misc.texi (Sorting): Small edit.
Fixes: debbugs:19896
2015-04-18 17:48:04 -07:00
Glenn Morris
2c38f13582 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps. 2015-04-18 14:30:32 -07:00
Glenn Morris
b210cb55b3 ; * admin/make-tarball.txt: Misc updates. 2015-04-18 14:09:12 -07:00
Simen Heggestøyl
1dee790fc1 css-mode.el: Support multi-line comment filling
Fixes: debbugs:20256

* lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
comment filling.
(css-adaptive-fill): New function.
(css-mode): Set `adaptive-fill-function'.
(scss-mode): Set `comment-continue'.
2015-04-18 20:25:40 +02:00
Nicolas Petton
9760c6cde3 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages. 2015-04-18 20:10:27 +02:00
Simen Heggestøyl
b06b46e280 ; ChangeLog fix 2015-04-18 20:06:48 +02:00
Ivan Radanov Ivanov
a0ef1017b8 Minor improvements in Bulgarian input methods
* lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
Replace U+042C with U+045D, as the former character is not used in
the modern Bulgarian language.

Fixes: Bug#20350

Copyright-paperwork-exempt: yes
2015-04-18 11:01:36 +03:00
Thomas Fitzsimmons
c05d1f047b Improve EUDC manual
* eudc.texi (LDAP Configuration): Mention simple and SASL
authentication schemes.  Add index items.  Shorten example server
name.
2015-04-17 22:02:03 -04:00
Dmitry Gutov
3ec1047b57 Don't show both feature and function with the same name
* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
Don't show both feature and function with the same name.
2015-04-18 02:35:59 +03:00
Dmitry Gutov
35be45bbc9 (elisp--xref-identifier-location): Skip variable, if it's also a functiong
* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
Avoid returning both the variable and the function for the same
minor mode.
2015-04-18 01:47:31 +03:00
Wolfgang Jenkner
4841a2d8aa Fix fontification of keywords clobbered by the prompt.
* lisp/comint.el (comint-output-filter): Remove the uses of
with-silent-modifications I introduced as part of the last change.

This fixes, e.g., erratically missing highlighting when running
./configure --help; ./configure in a shell-mode buffer with
compilation-shell-minor-mode turned on.
2015-04-17 19:56:41 +02:00
Glenn Morris
1c565a24ac ; ChangeLog fixes 2015-04-17 13:48:00 -04:00
Glenn Morris
4b8490fdfe * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions. 2015-04-17 13:27:44 -04:00
Glenn Morris
0bba79e69b ; ChangeLog fixes 2015-04-17 13:13:04 -04:00
Stefan Monnier
14eea09858 * lisp/indent.el (indent-region): Don't deactivate the mark
Fixes: debbugs:20357
2015-04-17 10:30:50 -04:00
Sam Steingold
310855ec5d lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable 2015-04-17 08:45:58 -04:00
Leo Liu
85c3e1be24 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg. 2015-04-17 12:32:33 +08:00
Stefan Monnier
183952e518 * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more. 2015-04-16 22:55:41 -04:00
Paul Eggert
a1216b5d99 ; Add missing "(tiny change)" 2015-04-16 17:59:59 -07:00
Paul Eggert
3f5a12a552 ; make change-history-commit 2015-04-16 17:59:58 -07:00
Glenn Morris
455f13b8c9 * admin/authors.el (authors-lax-changelogs): Update for erc changes. 2015-04-16 20:47:35 -04:00
Glenn Morris
13055fd086 ; Split lisp/erc ChangeLogs, for the sake of authors.el
This turns the old 0.1..0.8 files into ChangeLog.1,
and the old ChangeLog file into ChangeLog.2.
2015-04-16 20:46:14 -04:00
Eli Zaretskii
abba535271 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
* configure.ac (LIBJPEG): Leave it empty for MinGW.
2015-04-16 19:02:41 +03:00
Glenn Morris
3ab1784327 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
to avoid rogue setting after startup.
2015-04-16 08:32:38 -07:00
Dmitry Gutov
6f0b4d81b9 ; CONTRIBUTE: Further updates
* Better explanation of commit message vs ChangeLog distinction.

* Fix the name of the ChangeLog make task.

* Make instructions WRT NEWS, etc, ChangeLog entries clearer.

Fixes: debbugs:20328
2015-04-16 17:48:32 +03:00
Paul Eggert
c6e93df202 Pre-4.6 GCC succeeds with unknown option
* configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
Fixes: bug#20338
2015-04-16 00:14:42 -07:00
Paul Eggert
3074a9fad1 '[:graph:]' now excludes whitespace, not just ' '
* doc/lispref/searching.texi (Char Classes):
* lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
sans whitespace (not sans space).
* src/character.c (graphicp): Exclude all Unicode whitespace chars,
not just space.
* src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
2015-04-15 23:47:01 -07:00
Stefan Monnier
5161c9ca6a (looking-back): Make the second arg non-optional.
* lisp/subr.el (substitute-key-definition-key, special-form-p)
(macrop): Drop deprecated second arg to indirect-function.
(looking-back): Make the second arg non-optional.
2015-04-15 22:25:16 -04:00
Stefan Monnier
caea9a2385 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
command is actually sent to the shell.
2015-04-15 22:04:40 -04:00