summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* w32.c (readlink): Support DBCS codepages.Eli Zaretskii2013-01-252-4/+22
|
* Update doc string of w32notify-add-watch per discussions in bug #13540.Eli Zaretskii2013-01-252-3/+13
| | | | src/w32notify.c (Fw32notify_add_watch): Doc fix.
* * font.c (num_fonts): Remove the leftover from oldDmitry Antipov2013-01-252-10/+11
| | | | debugging code. Adjust comment style here and there.
* Merge from emacs-24; up to 2012-12-11T18:52:31Z!monnier@iro.umontreal.caGlenn Morris2013-01-2410-79/+223
|\
| * * lisp/progmodes/python.el: Enhancements to header documentation aboutFabián Ezequiel Gallina2013-01-232-1/+9
| | | | | | | | | | | | skeletons. Fixes: debbugs:5716
| * * imenu.el (imenu-default-create-index-function): Remove uselessFabián Ezequiel Gallina2013-01-232-2/+5
| | | | | | | | | | | | infinite loop check. Fixes: debbugs:13438
| * Fix a bug in the state cache mechanism. Refactor this a bit.Alan Mackenzie2013-01-232-48/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc-engine.el (c-parse-state-get-strategy): Remove the `cache-pos' element from the return value. (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of buffer to enable proper searching from beyond HERE. Amend the test for detecting the sought brace pair. Amend the value written to the "brace desert cache" when the brace isn't found. (c-remove-stale-state-cache): Rename `good-pos' to `start-point', and several other variables analogously. (c-remove-stale-state-cache-backwards): Change `cache-pos' from a parameter to a locally calculated variable. (c-parse-state-1): Change the calling conventions to the two defuns involving `cache-pos'.
| * Fix bug #13515 with processing DBCS file names on MS-Windows.Eli Zaretskii2013-01-232-11/+104
| | | | | | | | | | | | | | | | | | src/w32.c (max_filename_mbslen): New function. (normalize_filename, readdir): Use it to detect locales where ANSI encoding of file names uses a double-byte character set (DBCS). If a DBCS encoding is used, advance by characters using CharNextExA, instead of incrementing a 'char *' pointer. Use _mbslwr instead of _strlwr.
| * * xml.el (xml-entity-or-char-ref-re): Fix regexp.Chong Yidong2013-01-232-1/+5
| | | | | | | | | | | | This bug was reported by Jae-oh Kim; it was posted to bug-gnu-emacs but didn't show up in the bug tracker for some reason. It is a regression against Emacs 24.2.
| * Fix bug #13065 with file selector dialog on Windows 7.Eli Zaretskii2013-01-222-1/+10
| | | | | | | | | | src/w32heap.c (allocate_heap) [!_WIN64]: Decrease the initial request of memory reservation to 1.7GB.
| * Fixes: debbugs:13505Andreas Schwab2013-01-202-14/+20
| | | | | | | | | | * src/coding.c (detect_coding_iso_2022): Move back mis-reordered code at check_extra_latin label.
| * CommentGlenn Morris2013-01-191-1/+1
| |
* | * paren.el (show-paren-function): Make sure to set 'priority andBastien Guerry2013-01-242-5/+9
| | | | | | | | 'face only if the overlay does exist.
* | * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.Michael Albinus2013-01-243-18/+28
| | | | | | | | | | | | * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress basic attributes. (tramp-sh-handle-set-file-acl): Improve error checking.
* | * tramp.texi (Filename Syntax): Filenames must be unibyte strings.Michael Albinus2013-01-242-0/+6
| |
* | * nsfont.m (ns_escape_name, ns_unescape_name, ns_registry_to_script):Dmitry Antipov2013-01-242-9/+12
| | | | | | | | Avoid redundant calls to strlen.
* | Drop async_visible and async_iconified fields of struct frame.Dmitry Antipov2013-01-2411-240/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is possible because async input is gone; for details, see http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00734.html. * frame.h (struct frame): Remove async_visible and async_iconified members, convert garbaged to unsigned bitfield. Adjust comments. (FRAME_SAMPLE_VISIBILITY): Remove. Adjust all users. (SET_FRAME_VISIBLE, SET_FRAME_ICONIFIED): New macros. * frame.c, gtkutil.c, term.c, w32fns.c, window.c, xdisp.c: Consistently use SET_FRAME_VISIBLE, SET_FRAME_ICONIFIED, FRAME_VISIBLE_P and FRAME_ICONIFIED_P macros where appropriate. * w32term.c: Ditto. (w32_read_socket): Save iconified state to generate DEICONIFY_EVENT properly. Likewise for obscured. * xterm.c: Ditto. (handle_one_xevent): Save visible state go generate ICONIFY_EVENT properly. * nsterm.m: Ditto. (windowDidDeminiaturize): Generate DEICONIFY_EVENT.
* | * src/insdel.c (prepare_to_modify_buffer): Revert last change as suggestedDmitry Antipov2013-01-244-5/+14
| | | | | | | | | | | | in http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00555.html. * lisp/doc-view.el (doc-view-display): Force mode line update until all document is converted. Suggested by Stefan Monnier (Bug#13164).
* | * .bzrignore: add lib-src/blessmail.Giorgos Keramidas2013-01-231-0/+4
| |
* | * src/xdisp.c (message2, message2_nolog): Remove functions.Stefan Monnier2013-01-2313-372/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (message3, message3_nolog): Extract nbytes and multibyteness directly from the string. Change all callers. (message3_nolog): Don't set message_enable_multibyte since set_message will reset it anyway. (message1, message1_nolog): Use message3. (vmessage): Use a stack allocated buffer rather than f->message_buf. (with_echo_area_buffer): Remove last two arguments. Update all callers. (set_message): Drop all but the second arg, which has to be a string. (set_message_1): Simplify now that we know that a1 is NULL and the second arg is a string. * src/frame.h (struct frame): Remove `message_buf' field. Use glyphs_initialized_p instead. (FRAME_MESSAGE_BUF): Remove macro. * src/w16select.c (Fw16_set_clipboard_data): Prefer message3 to message2. * src/lisp.h (message2, message2_nolog): Remove declarations. (message3, message3_nolog): Update declarations. * src/keyboard.c (read_char_minibuf_menu_text) (read_char_minibuf_menu_width): Remove vars. (read_char_minibuf_menu_prompt): Rewrite the menu's construction so as to correctly handle multibyte strings. * src/frame.c (delete_frame): Don't free message_buf any more. * src/editfns.c (message_text, message_length): Remove vars. (Fmessage_box): Don't copy the Lisp string's bytes any longer. * src/fileio.c (auto_save_error): Use message3 instead of message2. * src/dispnew.c (adjust_frame_message_buffer): Remove function.
* | Fix dimensions of maximized frame on MS-Windows.Eli Zaretskii2013-01-232-6/+20
| | | | | | | | | | src/w32term.c (w32fullscreen_hook): Account correctly for the screen real estate used for the tool bar, the menu bar, and scroll bar.
* | * insdel.c (prepare_to_modify_buffer): Force redisplay ifDmitry Antipov2013-01-232-2/+10
| | | | | | | | hidden buffer is prepared to modification (Bug#13164).
* | * paren.el (show-paren-function): Make sure an overlay existsBastien Guerry2013-01-232-15/+21
| | | | | | | | | | | | | | before trying to delete it. Also use `pos' as a position only when it is an integer. See this thread: http://thread.gmane.org/gmane.emacs.devel/156498
* | * lisp/play/gametree.el (gametree-break-line-here): Use point-marker.Dmitry Antipov2013-01-236-4/+14
| | | | | | | | | | | | * lisp/mh-e/mh-acros.el (mh-do-at-event-location): Likewise. * lisp/mh-e/mh-search.el (mh-index-create-imenu-index): Likewise. * lisp/mh-e/mh-xface.el (mh-x-image-url-display): Likewise.
* | Undo stray change committed by mistake.Paul Eggert2013-01-221-1/+1
| |
* | Merge from gnulib.Paul Eggert2013-01-223-19/+8
| |
* | * window.h (struct window): Change window_end_valid member fromDmitry Antipov2013-01-225-59/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lisp_Object to a bitfield. Adjust comments. (wset_window_end_valid): Remove. * window.c (adjust_window_count): Clear window_end_valid. (Fwindow_end): Adjust user. Remove ancient #if 0 code. (Fwindow_line_height, set_window_buffer, Frecenter) (Fsplit_window_internal, Fdelete_other_windows_internal) (Fset_window_fringes, Fset_window_scroll_bars): Adjust users. * dispnew.c (adjust_glyph_matrix, clear_window_matrices): Likewise. * xdisp.c (check_window_end, reconsider_clip_changes) (redisplay_internal, mark_window_display_accurate_1, redisplay_window) (try_window, try_window_reusing_current_matrix, note_mouse_highlight) (find_first_unchanged_at_end_row, try_window_id): Likewise.
* | * xdisp.c (mark_window_display_accurate): Simplify the loopDmitry Antipov2013-01-222-44/+42
| | | | | | | | | | | | | | | | assuming that the only one of vchild, hchild or buffer window slots is non-nil. Call mark_window_display_accurate_1 for the leaf windows only. (mark_window_display_accurate_1): Always assume leaf window. Adjust comment.
* | * tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers): MarkMichael Albinus2013-01-222-4/+9
| | | | | | | | descriptive parts with `display' property.
* | * emacs.c (Qkill_emacs_hook): Now static.Paul Eggert2013-01-212-1/+4
| |
* | * fileio.c (Finsert_file_contents): Simplify.Paul Eggert2013-01-212-14/+10
| | | | | | | | Remove unnecessary assignments and tests.
* | gnus-sum.el (gnus-summary-read-group-1): Debbugs group entry fixupsLars Magne Ingebrigtsen2013-01-212-3/+10
| |
* | Another minor fix in acl_set_file on Windows.Eli Zaretskii2013-01-212-37/+49
| | | | | | | | | | | | src/w32.c (acl_set_file): Don't test for errors unless set_file_security returns FALSE. Avoids spurious errors when saving files.
* | * fileio.c (Finsert_file_contents): Revert code introduced atDmitry Antipov2013-01-212-73/+110
| | | | | | | | | | | | 2013-01-18 in favor of the simpler and generally better fix. Save stack space by removing 'buffer' and reusing 'read_buf' where appropriate.
* | ispell.el: Make sure hunspell specific dict names are used for standard ↵Agustín Martín2013-01-212-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | dicts when using hunspell. (ispell-hunspell-dictionary-equivs-alist): New variable to map standard dict names to hunspell ones. (ispell-set-spellchecker-params): Make sure specific dict names are used for standard dicts with hunspell. If a mapping is missing, skip that dictionary. Fixes: debbugs:13460
* | * textmodes/reftex-cite.el (reftex-format-citation): Add formatTassilo Horn2013-01-213-6/+14
| | | | | | | | | | chars for note (%N) and url (%U). * textmodes/reftex-vars.el (reftex-cite-format): Document them.
* | * lisp/frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'Juri Linkov2013-01-212-0/+7
| | | | | | | | | | | | in addition to existing separate binding `meta f10' in `global-map'. Fixes: debbugs:13484
* | Improve XEmacs compatibility.Michael Albinus2013-01-215-28/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp.el (tramp-replace-environment-variables): Make it a defun. * net/tramp-adb.el (top): Require `time-date'. (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'. (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file): Use `tramp-file-name-handler'. (tramp-adb-maybe-open-connection): Use `tramp-compat-set-process-query-on-exit-flag'. * net/tramp-sh.el (tramp-sh-handle-file-acl): Use `tramp-compat-funcall'. * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and `tramp-compat-funcall'.
* | * net/tramp-adb.el (tramp-adb-handle-start-file-process): CompleteJürgen Hötzel2013-01-212-33/+21
| | | | | | | | | | reimplementation using "adb shell command ..." instead of running remote shell interactively.
* | Mention in NEWS that scroll-bar-adjust-thumb-portion is for X only. Bug#13503.Eli Zaretskii2013-01-201-0/+3
| |
* | * src/doprnt.c: Fix comment.Paul Eggert2013-01-201-1/+1
| |
* | * lisp-mode.el (emacs-lisp-mode-map): Add native profiler menu entries.Glenn Morris2013-01-192-0/+19
| |
* | profiler.el tweaksGlenn Morris2013-01-192-4/+22
| | | | | | | | | | | | * profiler.el (profiler-running-p): New function. (profiler-cpu-profile): Use profiler-running-p. (profiler-report-mode-map): Add some more menu entries.
* | Improve addr2line suggestion.Paul Eggert2013-01-192-8/+8
| | | | | | | | Fixes: debbugs:13445
* | * lisp.h (eabs): Define unconditionally.Paul Eggert2013-01-192-5/+10
| | | | | | | | | | | | | | The old "#if !defined (eabs)" was an unnecessary revenant of back when this macro was called "abs". Document 'eabs' better. Fixes: debbugs:13419
* | Fix typo: addrline -> binutils.Paul Eggert2013-01-191-1/+1
| |
* | * trouble.texi (Crashing): Suggest -p for recent addrline.Paul Eggert2013-01-192-1/+9
| | | | | | | | | | | | | | | | Without it, I don't see function names. Older addrlines will die out sooner or later, so tailor the suggestion to recent addrline and put in a comment about older ones. Fixes: debbugs:13445
* | Tweak previous changeGlenn Morris2013-01-191-2/+0
| |
* | * lisp/mail/unrmail.el (unrmail): Do not mangle the mbox From lineGlenn Morris2013-01-192-0/+6
| | | | | | | | | | | | fixes 2012-12-07 change. Fixes: debbugs:13499
* | Merge from emacs-24; up to 2012-12-11T09:51:12Z!dmantipov@yandex.ruGlenn Morris2013-01-1914-24/+72
|\|