summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Turn project-roots into project-directories; add categoriesscratch/project-directoriesDmitry Gutov2015-12-084-90/+85
|
* Spelling fixesPaul Eggert2015-12-074-19/+9
| | | | | | | | | | * doc/misc/calc.texi (Predefined Units): Use the bland modern scientific style for spelling the units “ampere” and “angstrom” rather than the older style “Ampere” and “Ångstrom”. The latter spelling was wrong anyway (it should have been “Ångström”). * lisp/emacs-lisp/ert.el (ert--explain-equal-rec): Fix misspelling of ‘atom’ in code.
* ; * etc/DEBUG: Improve newbie instructions. Fix a typo.Eli Zaretskii2015-12-071-4/+17
|
* Improve documentation of kill commandsEli Zaretskii2015-12-072-29/+68
| | | | | | | | | | | | | | | * lisp/simple.el (region-extract-function, delete-backward-char) (delete-forward-char, kill-region, copy-region-as-kill) (kill-ring-save): Better document the optional argument REGION in the doc strings. Mention in the doc strings that text put in the kill-ring can be filtered by 'filter-buffer-substring'. * doc/lispref/text.texi (Kill Functions): Mention that functions described in this subsection can filter text they put in the kill-ring. Add a cross-reference to "Buffer Contents" and an index entry. Document the optional argument 'region' and its effect. (Bug#21315)
* Fix an utf8 problem for Tramp on BSDMichael Albinus2015-12-071-3/+4
| | | | | | * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): Make lax check for utf8. (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
* Make eudcb-ph.el obsoleteThomas Fitzsimmons2015-12-064-79/+21
| | | | | | | | | * doc/misc/eudc.texi: Bump version to 1.40.0. Remove PH/QI sections and mentions. * lisp/obsolete/eudcb-ph.el: Make obsolete. * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph. (eudc-ph-bbdb-conversion-alist): Make obsolete. * etc/NEWS: Mention this. (Bug#21191)
* Remove overenthusiastic eassertPaul Eggert2015-12-061-1/+0
| | | | | | | * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in previous change. It breaks on MS-Windows --with-wide-int. Problem reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
* Pacify gcc -WparenthesesPaul Eggert2015-12-061-1/+1
| | | | * src/xdisp.c (row_containing_pos): Reparenthesize.
* Port mod-test to 32-bit Emacs --without-wide-intPaul Eggert2015-12-061-0/+5
| | | | | | * modules/mod-test/test.el (mod-test-sum-test): Bring back the 2**29 tests, but port them to 32-bit Emacs --without-wide-int.
* Fix minor Tramp problems found on BSDMichael Albinus2015-12-062-32/+52
| | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append trailing slash. Quote apostrophes. (tramp-sh-handle-file-truename): Do not append trailing slash in the "ls" case. (tramp-get-ls-command-with-w-option): New defun. (tramp-do-file-attributes-with-ls) (tramp-do-directory-files-and-attributes-with-stat): Use it. * test/automated/tramp-tests.el (tramp-test31-special-characters-with-perl) (tramp-test31-special-characters-with-ls) (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls): Suppress also readlink.
* Fix cursor display when invisible text is at line beginningEli Zaretskii2015-12-061-7/+13
| | | | | | | | | * src/xdisp.c (redisplay_window): When scrolling fails to show point, prefer using the desired matrix if possible for finding the fallback glyph row for displaying the cursor. (Bug#22098) (row_containing_pos): Exit the loop as soon as we hit the first disabled glyph row. Otherwise we risk accessing garbled data and departing to the no-no land.
* Improve module interface when WIDE_EMACS_INTPaul Eggert2015-12-063-111/+127
| | | | | | | | | | | | | | | | | | | | | | | | | * src/emacs-module.c (plain_values): New constant. (module_nil): Now a constant. (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits) (syms_of_module): Use if, not #ifdef, so that both sides are checked at compile-time, and so that GCC doesn’t complain about an unused var in the typical case. Also, depend on plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume that WIDE_EMACS_INT implies !USE_LSB_TAG. (value_to_lisp_bits, lisp_to_value_bits): New functions. Sign-extend integers rather than zero-extending them, as small negative integers are more likely. (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits functions. (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined. (mark_modules): Remove. All uses removed. (lisp_to_value): Don’t assume Fcons returns a pointer aligned to GCALIGNMENT. (syms_of_module): Check that module_nil converts to Qnil. * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since we prefer signed to unsigned when either will do. (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is a bit better for emacs-module.c.
* Port mod-test to x86-64 GNU/Linux running 32-bitPaul Eggert2015-12-061-9/+7
| | | | | | | | | * modules/mod-test/test.el (mod-test-sum-test): Don’t attempt to match descriptions to operating systems. It didn’t work on Fedora x86-64 running a 32-bit executable, and it’s not worth the trouble anyway. Port to 32-bit platforms by removing an assumption about fixnum widths.
* Fix auto-revert-tests.el when filenotify isn't usedMichael Albinus2015-12-061-1/+3
| | | | | * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert): Make it working also when filenotify isn't used.
* * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):Juri Linkov2015-12-061-0/+1
| | | | Let-bind isearch-regexp-function to nil. (Bug#22097)
* * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)Artur Malabarba2015-12-051-56/+62
| | | | | | | | | | | | | (package--with-response-buffer): NOERROR and ERROR-FORM only handle connection errors. (bad-signature): New error type. (package--check-signature-content): Use it. (package--check-signature): Properly distinguish connection errors from bad-signature errors. Do the check for `package-check-signature' `allow-unsigned' here instead of forcing the callbacks to do it. Add a new argument, UNWIND. (package--download-one-archive, package-install-from-archive): Update usage of `package--check-signature'.
* Fix Bug#22092.Ulf Jasper2015-12-052-1/+68
| | | | | | | | * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer): Clean up inconsistent line endings. (Bug#22092) (icalendar--clean-up-line-endings): New. * test/automated/icalendar-tests.el (icalendar-real-world): Add test for Bug#22092.
* ; * etc/NEWS: Fix whitespace.Eli Zaretskii2015-12-051-0/+6
|
* Document 'bookmark-set-no-overwrite'Eli Zaretskii2015-12-052-1/+10
| | | | | * doc/emacs/regs.texi (Bookmarks): Document the new command 'bookmark-set-no-overwrite' and its keybinding.
* ; Auto-commit of loaddefs files.Glenn Morris2015-12-051-1/+1
|
* Document new binding of 'mouse-buffer-menu'Eli Zaretskii2015-12-052-2/+4
| | | | | * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is now also on C-F10.
* ; Minor changes in etc/NEWSEli Zaretskii2015-12-051-3/+11
| | | | | * etc/NEWS: Mark several entries as already documented or as not requiring documentation.
* ; * etc/NEWS: 'tamil-dvorak' input method doesn't need to be documented.Eli Zaretskii2015-12-051-0/+1
|
* Initial documentation of dynamic modulesEli Zaretskii2015-12-053-2/+62
| | | | | | | | | * doc/lispref/loading.texi (Dynamic Modules): New section with initial documentation for dynamic modules. * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the detailed menu * etc/NEWS: Fix typos in dynamic modules' entry.
* Remove copyright statements from trivial test filesArtur Malabarba2015-12-054-76/+0
|
* Add "Preliminaries" section to etc/DEBUGEli Zaretskii2015-12-051-95/+140
| | | | | | | | | * etc/DEBUG: Add the "Preliminaries" section for GDB beginners. Most of the content was suggested by Phillip Lord <phillip.lord@russet.org.uk>. Remove the section about debugging with the Visual Studio, as building Emacs with the Microsoft compilers is no longer supported. Minor fixes in some other sections.
* Improve parsing of version stringsAlex Dunn2015-12-052-24/+143
| | | | | | | | | | | | * lisp/subr.el (version-regexp-alist): Allow "." as priority separator (version-to-list): More helpful error messages. (version-to-list): ".5" is valid (update docstring). Make "22.8X3" invalid, as the doc string says. * test/automated/subr-tests.el (ert-test-version-parsing): New tests for version string processing. Copyright-paperwork-exempt: yes
* Fix documentation of 'undo' changesEli Zaretskii2015-12-052-14/+22
| | | | | | | | * doc/lispref/text.texi (Undo): Minor wording changes. Use US English conventions for spelling and whitespace between sentences. * etc/NEWS: Fix wording and spelling of undo-related entries. Mark them as documented.
* ; * lisp/net/net-utils.el: Fix comment typo in previous.Glenn Morris2015-12-041-1/+1
|
* * lisp/net/net-utils.el: Small improvements.Glenn Morris2015-12-041-13/+22
| | | | | | | | (net-utils--executable-find-sbin): New function. (ifconfig-program): Check sbin directories. Fallback to "ip". (Bug#22091) (ifconfig-program-options): Check the actual program in use. (arp-program): Check sbin directories.
* Fix wrong-type-argument integer-or-marker-p nil error(tiny change) Arash Esbati2015-12-041-1/+1
| | | | | | | * lisp/textmodes/reftex-auc.el (reftex-what-index-tag): Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077). Copyright-paperwork-exempt: yes
* * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecaseStefan Monnier2015-12-041-170/+167
| | | | | | | * lisp/emacs-lisp/ert.el (ert--should-error-handle-error) (ert--explain-format-atom, ert--explain-equal-rec) (ert--print-backtrace, ert-test-result-type-p, ert-select-tests) (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
* * lisp/character-fold.el: Remove special case-folding supportArtur Malabarba2015-12-042-18/+25
| | | | | | | | | | | | | | | | | (character-fold-to-regexp): Remove special code for case-folding. Char-fold search still respects the `case-fold-search' variable (i.e., f matches F). This only removes the code that was added to ensure that f also matched all chars that F matched. For instance, after this commit, f no longer matches 𝔽. This was necessary because the logic created a regexp with 2^(length of the string) redundant paths. So, when a very long string "almost" matched, Emacs took a very long time to figure out that it didn't. This became particularly relevant because isearch's lazy-highlight does a search bounded by (1- match-end) (which, in most circumstances, is a search that almost matches). A recipe for this can be found in bug#22090.
* * lisp/emacs-lisp/cl-macs.el (character): Can't be negativeStefan Monnier2015-12-041-1/+1
| | | | Fixes (bug#21701)
* ; Auto-commit of loaddefs files.Glenn Morris2015-12-041-1/+1
|
* lisp/gnus/qp.el: Don't replace "from " at bolDaiki Ueno2015-12-041-1/+2
| | | | | * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search' to nil when looking for "^From ". Problem reported by Simon Josefsson.
* Externalize some symbols in undo-autoPhillip Lord2015-12-033-12/+12
| | | | | | | | * doc/lispref/text.texi: Update symbols. * lisp/simple.el (undo-auto--amalgamate, undo-auto--current-boundary-timer): Make symbols public. * src/cmds.c (Fself_insert_command,Fdelete_char): Call updated symbol.
* * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"Stefan Monnier2015-12-031-3/+4
|
* Some error message improvements in tramp-sh.elMichael Albinus2015-12-031-16/+21
| | | | | | | * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): Suppress error messages for "mesg" and "biff" calls. (tramp-get-remote-path): Ignore errors when expanding `tramp-own-remote-path'. Raise a warning instead.
* Document 'nacl' value for 'system-type'Eli Zaretskii2015-12-032-3/+8
| | | | | * doc/lispref/os.texi (System Environment): Document the 'nacl' value of 'system-type'.
* Document 'window-max-chars-per-line'Eli Zaretskii2015-12-032-9/+26
| | | | | * doc/lispref/windows.texi (Window Sizes): Document 'window-max-chars-per-line'.
* Fix some file headers for the purpose of `package--builtins'Artur Malabarba2015-12-034-2/+4
| | | | | | | | * lisp/emacs-lisp/cl-preloaded.el * lisp/emacs-lisp/eieio-compat.el * lisp/net/sasl-scram-rfc.el: Add a "Package:" header * lisp/ielm.el: Fix summary line.
* * lisp/emacs-lisp/package.el (package-unpack): Load before compilingArtur Malabarba2015-12-036-3/+177
| | | | | | | | | Reload any previously loaded package files before compiling the package (also reload the same files after compiling). This ensures that we have the most recent definitions during compilation, and avoids generating bad elc files when a macro changes and it is used in a different file from the one it's defined in.
* * lisp/emacs-lisp/package.el: Refactor package activation codeArtur Malabarba2015-12-031-29/+34
| | | | | | | | | (package-activate): Move code that activates dependencies into package-activate-1. (package--load-files-for-activation): New function. (package-activate-1): Add code for (optionally) activating dependencies, and move file-loading code into `package--load-files-for-activation'.
* Document new font-related functionalityEli Zaretskii2015-12-032-15/+54
| | | | | | | | | | * doc/lispref/display.texi (Low-Level Font): Document 'default-font-width', 'default-font-height', 'window-font-width', and 'window-font-height'. * etc/NEWS: Move entries for 'default-font-width', 'default-font-height', 'window-font-width', and 'window-font-height' to their place and mark them documented.
* Fix documentation and implementation of 'directory-name-p'Eli Zaretskii2015-12-033-13/+22
| | | | | | | | | | | | | | * lisp/files.el (directory-name-p): Modify to recognize backslashes on MS-Windows and MS-DOS. Adjust the doc string accordingly. Use '=', not char-equal, for comparison, as letter-case cannot possibly be an issue here. * doc/lispref/files.texi (Directory Names): Move the documentation of directory-name-p here from "Relative File Names". Update the description per the changes in implementation. * etc/NEWS: Move the entry for 'directory-name-p' to its proper place and mark it documented.
* Minor copyedit in Emacs manualEli Zaretskii2015-12-021-8/+9
| | | | | * doc/emacs/search.texi (Lax Search): Make wording about character folding by default less definitive. (Bug#22043)
* More emacs-module.c fixes for wide intsEli Zaretskii2015-12-022-3/+8
| | | | | | | | | | * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use unsigned data types to manipulate pointers, to avoid sign extension coming after us with a vengeance. * modules/mod-test/test.el (mod-test-sum-test): Add tests for Emacs with wide ints that verify integer values near the critical value that requires us to switch to a cons cell.
* Fix bug#22069 in cl-generic.elStephen Leake2015-12-021-4/+4
| | | | | * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is not run thru `format'.
* APPEND etags--xref-backend to xref-backend-functionsDmitry Gutov2015-12-021-2/+3
| | | | | | * lisp/progmodes/xref.el (xref-backend-functions): Use APPEND when adding the default element (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).