summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Release MH-E version 8.5.mh-e-8.5Bill Wohler2013-03-02
| | | | * mh-e.el (Version, mh-version): Update for release 8.5.
* Release MH-E version 8.5.Bill Wohler2013-03-02
| | | | * NEWS, MH-E-NEWS: Update for MH-E release 8.5.
* Merge from trunk; up to 2013-03-02T21:05:52Z!eggert@cs.ucla.edu.Bill Wohler2013-03-02
|\
| * * filelock.c (lock_file): Don't access freed storage.Paul Eggert2013-03-02
| |
| * The lock for FILE is now .#FILE or .#-FILE.Paul Eggert2013-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old approach, which fell back on DIR/.#FILE.0 through DIR/.#FILE.9, had race conditions that could not be easily fixed. If DIR/.#FILE is a non-symlink file, Emacs now does not create a lock file for DIR/FILE; that is, DIR/FILE is no longer partly protected by a lock if DIR/.#FILE is a non-symlink file ("partly" because the locking mechanism was never reliable in that case). This patch fixes this and other bugs discovered by a code inspection that was prompted by <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00531.html>. Also, this patch switches to .#-FILE (not .#FILE) on MS-Windows, to avoid interoperability problems between the MS-Windows and non-MS-Windows implementations. MS-Windows and non-MS-Windows instances of Emacs now ignore each others' locks. * etc/NEWS: Document this. * src/filelock.c (defined_WINDOWSNT): New constant. (MAKE_LOCK_NAME, fill_in_lock_file_name): Don't create DIR/.#FILE.0 through DIR/.#FILE.9. Instead, create DIR/.#FILE symlinks on non-MS-Windows hosts, and DIR/.#-FILE regular files on MS-Windows hosts. (MAKE_LOCK_NAME, unlock_file, Ffile_locked_p): Use SAFE_ALLOCA to avoid problems with long file names. (MAX_LFINFO): Now a local constant, not a global macro. (IS_LOCK_FILE): Remove. (lock_file_1): Don't inspect errno if symlink call succeeds; that's not portable. (lock_file): Document that this function can return if lock creation fails. Fixes: debbugs:13807
| * Merge from emacs-24; up to 2012-12-23T17:06:58Z!eliz@gnu.orgGlenn Morris2013-03-02
| |\
| | * Fixes: debbugs:13734Andreas Schwab2013-03-02
| | | | | | | | | | | | * lisp.h (XPNTR) [!USE_LSB_TAG]: Remove extra paren.
| | * Auto-commit of loaddefs files.Glenn Morris2013-03-01
| | |
| | * NEWS copyeditsGlenn Morris2013-03-01
| | |
| | * * etc/NEWS: Add entries for ruby-mode.Dmitry Gutov2013-03-01
| | |
| * | * textprop.c: Use bool for booleans.Paul Eggert2013-03-02
| | | | | | | | | | | | | | | (validate_interval_range, Fadd_text_properties) (Fremove_text_properties): Prefer bool to int when either works.
| * | Auto-commit of generated files.Glenn Morris2013-03-02
| | |
| * | Protect against changes of interval tree when adding/removing text props.Eli Zaretskii2013-03-02
| | | | | | | | | | | | | | | | | | | | | src/textprop.c (Fadd_text_properties, Fremove_text_properties): If the interval tree changes as a side effect of calling modify_region, re-do processing starting from the call to validate_interval_range. (Bug#13743)
| * | Revert last commit; fixed on emacs-24 branch instead.Eli Zaretskii2013-03-02
| | |
| * | Fix bug #13734 with errors in lisp.h macro expansion.Eli Zaretskii2013-03-02
| | | | | | | | | | | | src/lisp.h (XPNTR) [!USE_LSB_TAG]: Fix parentheses nesting.
| * | Fix typo in comment (bug#13851).Bastien Guerry2013-03-02
| | | | | | | | | | | | Thanks to Reuben Thomas for reporting this.
| * | * tramp.texi (External methods): Explain user name and host nameMichael Albinus2013-03-01
| | | | | | | | | | | | specification for "adb".
| * | * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.Michael Albinus2013-03-01
| | | | | | | | | | | | | | | | | | | | | (tramp-adb-handle-process-file): Remove superfluous setting. (tramp-adb-command-exit-status): Handle case that COMMAND is nil. (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'. (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
| * | * lisp/textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.Stefan Monnier2013-03-01
| | | | | | | | | | | | | | | | | | (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer. (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer. Use dict-key rather than dict-name for the error message.
| * | * lisp/net/net-utils.el (net-utils-run-simple): Don't display-bufferThierry Volpiatto2013-03-01
| | | | | | | | | | | | | | | | | | when reverting. Fixes: debbugs:13831
| * | textmodes/ispell.el: Expand hunspell affix-file paths. Improve debug ↵Agustín Martín2013-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | messages printing. * textmodes/ispell.el (ispell-find-hunspell-dictionaries): Always expand affix-file before storing to protect against changed `default-directory'. (ispell-print-if-debug): Make sure message is printed at the end of the debug buffer.
| * | Merge from gnulib.Paul Eggert2013-03-01
| | | | | | | | | | | | | | | | | | 2013-02-21 putenv: port better to native Windows 2013-02-18 extern-inline: avoid compilation error with HP-UX cc 2013-02-14 putenv: fix heap corruption with mixed putenv/_putenv
| * | Auto-commit of loaddefs files.Glenn Morris2013-03-01
| | |
| * | * NEWS: Fix Tramp "adb" entry. Extend list of discontinued Tramp methods.Michael Albinus2013-03-01
| | |
| * | * tramp.texi (Inline methods): Remove "ssh1", "ssh2", "plink1"Michael Albinus2013-03-01
| | | | | | | | | | | | | | | and "plink2" entries. "plink2" is obsolete for a long time. (External methods): Remove "scp1" and "scp2" entries.
| * | * net/tramp.el (tramp-obsolete-methods): New defconst.Michael Albinus2013-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (tramp-warned-obsolete-methods): New defvar. (tramp-find-method): Check for obsolete methods. Map them to a replacement method if appropriate. * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]: Remove methods. (top): Remove completion functions for "scp1", "scp2", "ssh1", "ssh2" and "plink1".
| * | * lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-function):Dale Sedivec2013-02-28
| | | | | | | | | | | | | | | | | | | | | Return valid syntax-table property value when converting quotes within text from string syntax to punctuation syntax. Fixes: debbugs:13844
| * | * lisp/dired-aux.el (dired-diff): If file at point is a backup file,Juri Linkov2013-02-28
| | | | | | | | | | | | | | | | | | | | | use its original as the default value, and reverse the order of arguments to the `diff' call. Doc fix. Fixes: debbugs:13772
| * | * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...Michael Albinus2013-02-28
| | | | | | | | | | | | (tramp-adb-program): New defcustom. Remove function. Adapt calls.
| * | * tramp.texi (External methods): Mention `tramp-adb-program'.Michael Albinus2013-02-28
| | |
| * | Initial support for hunspell dictionaries auto-detection (Bug#13639)Agustín Martín2013-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * textmodes/ispell.el (ispell-find-hunspell-dictionaries): Ask hunspell about available and default dictionaries. (ispell-parse-hunspell-affix-file): Extract relevant info from hunspell affix file. (ispell-hunspell-fill-dictionary-entry): Fill non-initialized `ispell-dictionary-alist' entry for given dictionary after info provided by `ispell-parse-hunspell-affix-file'. (ispell-hunspell-dict-paths-alist): New defvar to contain an alist of parsed hunspell dicts and associated affix files. (ispell-hunspell-dictionary-alist): New defvar to contain an alist of parsed hunspell dicts and associated parameters. (ispell-set-spellchecker-params): Call `ispell-find-hunspell-dictionaries' if hunspell and not previously done. (ispell-start-process): Call `ispell-hunspell-fill-dictionary-entry' for current dictionary if it is not initialized. Some additional details about the implementation: (ispell-hunspell-dict-paths-alist): Alist that contains a list of parsed hunspell dicts and associated affix files. (ispell-hunspell-dictionary-alist): Alist of parsed hunspell dicts and associated parameters. It is initially just a list of found dictionaries except for the default dictionary where is filled with proper parameters. When spellchecker is initialized by (ispell-set-spellchecker-params) if the conditions: is hunspell, communication can be set to UTF-8 and Emacs flavor supports [:alpha:] are matched installed hunspell dictionaries are parsed and info passed to `ispell-hunspell-dictionary-alist', either full for default dictionary or just name for other dictionaries. These entries are used for `ispell-dictionary-alist' if not overriden. Before starting hunspell process in (ispell-start-process), if `ispell-dictionary-alist' entry is not yet initialized (ispell-hunspell-fill-dictionary-entry) is called to fill that entry (and all pending entries using the same affix file) after info extracted by (ispell-parse-hunspell-affix-file) from the associated affix file. hunspell process will then be started as usual. This delayed procedure is used to avoid that in systems containing many hunspell dictionaries all affix files are parsed (if there are many, time may be noticeable) for just one used dictionary.
| * | * lisp/imenu.el: Comment nitpicks.Stefan Monnier2013-02-28
| | |
| * | * lisp/vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.Sam Steingold2013-02-28
| | | | | | | | | | | | See <http://stackoverflow.com/questions/14720205>.
| * | * lisp/net/net-utils.el (net-utils--revert-function): New fun.Thierry Volpiatto2013-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | (net-utils-mode): Use it. (net-utils--revert-cmd): New var. (net-utils-run-simple): Set it, and remove bogus interactive spec. (traceroute): Use net-utils-run-simple. Fixes: debbugs:13831
| * | Auto-commit of generated files.Glenn Morris2013-02-28
| | |
| * | Merge from emacs-24; up to 2012-12-23T02:41:17Z!rgm@gnu.orgGlenn Morris2013-02-27
| |\|
| | * * doc/misc/org.texi: Fix previous change.Glenn Morris2013-02-27
| | |
| | * NEWS copyeditsGlenn Morris2013-02-27
| | |
| | * Merge latest Org fixes (commit 7524ef2).Bastien Guerry2013-02-28
| | |
| | * * NEWS: Add paragraphs for CEDET and EIEIO.David Engster2013-02-27
| | |
| | * w32.c (sys_open): Don't reset the flags for FD in fd_info[].Eli Zaretskii2013-02-27
| | | | | | | | | | | | Related to bug #13546.
| | * * variables.texi (File Local Variables): Fix reference.Bastien Guerry2013-02-27
| | | | | | | | | | | | | | | Thanks to Aurélien Aptel and for reporting this problem and to Xue Fuqiao for suggesting a fix.
| | * * xresources.texi (GTK resources): Fix broken link.Bastien Guerry2013-02-27
| | | | | | | | | | | | | | | Thanks to Mariano Street for reporting this and suggesting the correct link.
| | * * lisp/textmodes/paragraphs.el (mark-paragraph): Doc fix.Glenn Morris2013-02-25
| | |
| | * * automated/python-tests.elFabián Ezequiel Gallina2013-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (python-tests-with-temp-buffer): Doc fix. (python-tests-with-temp-file): New macro. (python-tests-shell-interpreter): New var. (python-shell-get-process-name-1) (python-shell-internal-get-process-name-1) (python-shell-parse-command-1) (python-shell-calculate-process-environment-1) (python-shell-calculate-process-environment-2) (python-shell-calculate-process-environment-3) (python-shell-calculate-exec-path-1) (python-shell-calculate-exec-path-2) (python-shell-make-comint-1) (python-shell-make-comint-2) (python-shell-get-process-1) (python-shell-get-or-create-process-1) (python-shell-internal-get-or-create-process-1): New tests.
| | * * tramp.texi (top) [xxx, yyy, trampfn]: Provide two versions ofMichael Albinus2013-02-25
| | | | | | | | | | | | the macros, for Texinfo 4.13 and 5.0.
| * | * lisp/doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.Stefan Monnier2013-02-27
| | | | | | | | | | | | | | | | | | | | | (doc-view-fallback-mode): Remove overlays here. (doc-view-toggle-display): Instead of here. Don't throw away image-mode-winprops-alist. (doc-view-goto-page): Don't mess with hscroll.
| * | * configure.ac (HAVE_DATA_START): Fix test. (Bug#13818)Ken Brown2013-02-27
| | |
| * | Fix race conditions with MS-Windows lock files by using _sopen.Eli Zaretskii2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | src/filelock.c (create_lock_file) [WINDOWSNT]: Use _sopen with _SH_DENYRW flag, instead of emacs_open, to deny any other process access to the lock file until it is written and closed. Fixes: debbugs:13807
| * | * lisp/font-lock.el (lisp-font-lock-keywords-2): Fix highlighting ofThierry Volpiatto2013-02-27
| | | | | | | | | | | | | | | | | | &optional. Fixes: debbugs:13819