1. 21 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      Get rid of backend-dependent selection-handling functions for kill/yank · a046b8dd
      Stefan Monnier authored
      and make it generic instead by relying on the lower-level selection
      management functions.
      
      * select.el (select-enable-clipboard): Rename from
      gui-select-enable-clipboard.
      (select-enable-primary): Move from x-win.el and rename from
      x-select-enable-primary.
      (gui-last-selected-text): Remove.
      (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
      New vars.
      (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
      (gui-select-text-alist, gui-selection-value-alist): Remove.
      (x-select-request-type): Move from x-win.el.
      (gui--selection-value-internal): New function, taken from x-win's
      x-selection-value-internal.
      (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
      (gui-set-selection-alist): Rename from gui-own-selection-alist and
      extend it to handle a nil value as a "disown" request.
      (gui-disown-selection-alist): Remove.
      (xselect-convert-to-delete): Adjust accordingly.
      (gui-set-selection): Simplify accordingly as well.  Use dotimes.
      
      * lisp/frame.el (gui-method): Use window-system rather than framep.
      (gui-method-declare): The tty case is now nil rather than t.
      (make-frame): Adjust accordingly.
      
      * lisp/term/x-win.el (x-last-selected-text-primary)
      (x-select-enable-primary): Remove (moved to select.el).
      (x-select-request-type): Move to select.el.
      (x-selection-value-internal, x--selection-value): Remove functions.
      (gui-selection-value, gui-select-text): Remove moethods.
      (gui-set-selection): Merge own and disown methods.
      
      * lisp/startup.el (command-line): Adjust now that `gui-method' expects nil
      for ttys.
      
      * lisp/term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
      (ns-selection-value): Remove functions.
      (gui-select-text, gui-selection-value): Don't define method any more.
      (gui-set-selection): Merge the old own and disown methods.
      (gui-selection-exists-p, gui-get-selection): Adjust to new name of
      underlying C primitive.
      
      * lisp/term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
      test of gui-select-enable-clipboard, to make it usable as
      a gui-get-selection method.
      (gui-selection-exists-p): Adjust to new name of C primitive.
      (gui-set-selection): Merge own and disown methods.
      (gui-select-text, gui-selection-value): Delete methods.
      (w16--select-text): Delete function.
      
      * lisp/term/w32-win.el (w32--select-text, w32--get-selection-value):
      Delete function (move functionality into w32--set-selection and
      w32--get-selection).
      (gui-select-text, gui-selection-value): Don't define methods.
      (w32--set-selection, w32--get-selection, w32--selection-owner-p):
      New functions.
      (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
      Use them.
      (gui-selection-exists-p): Adjust to new name of C primitive.
      
      * src/nsselect.m (ns_get_local_selection): Signal error rather than `quit'.
      (Fns_own_selection_internal): Tighten scoping.
      (Fns_selection_exists_p): Rename from Fx_selection_exists_p.
      (Fns_get_selection): Rename from Fx_get_selection_internal.
      (Fns_get_selection_internal, Fns_store_selection_internal):
      Remove functions.
      (syms_of_nsselect): Adjust accordingly.
      
      * src/w16select.c (Fw16_selection_exists_p): Rename from
      Fx_selection_exists_p.
      (syms_of_win16select): Adjust accordingly.
      
      * src/w32select.c (Fw32_selection_exists_p): Rename from
      Fx_selection_exists_p.
      (syms_of_w32select): Adjust accordingly.
      a046b8dd
  2. 20 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/textmodes/css-mode.el (scss-mode): New major-mode. · bc0e9e47
      Stefan Monnier authored
      (css-mode-syntax-table): Use d style comment, to ease the scss case.
      (css-ident-re): Allow things like @-moz-keyframes.
      (scss--hash-re): New const.
      (css--font-lock-keywords): New function, extracted from
      css-font-lock-keywords.
      (css-font-lock-keywords): Use it.
      (scss-mode-syntax-table, scss-font-lock-keywords): New vars.
      (scss-smie--not-interpolation-p): New function.
      (css-smie--forward-token, css-smie--backward-token): Use it.
      (css-mode): Remove left-over code.
      * test/indent/scss-mode.scss: New file.
      * test/indent/css-mode.css: Add a few uneventful examples.
      bc0e9e47
  3. 19 Oct, 2014 2 commits
  4. 18 Oct, 2014 1 commit
  5. 17 Oct, 2014 1 commit
  6. 15 Oct, 2014 2 commits
  7. 13 Oct, 2014 2 commits
  8. 12 Oct, 2014 1 commit
    • Jan Djärv's avatar
      Require OSX >= 10.6. Remove PowerPC unexec code. · 9a265587
      Jan Djärv authored
      * configure.ac: Require OSX 10.6.  Remove NSInteger test,
      use nsfont for Gnustep, macfont for OSX.
      
      * etc/NEWS: OSX required is 10.6 or newer.
      
      * src/Makefile.in: Replace nsfont.o macfont.o with ns_fontfile in
      comment.
      
      * src/macfont.h (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_FORMAT_BITMAP)
      (mac_font_copy_non_synthetic_table): Remove versions for OSX < 10.6
      
      * src/nsfns.m: Always include src/macfont.h on COCOA.
      (ns_filename_from_panel, ns_directory_from_panel)
      (Fx_create_frame, Fns_popup_font_panel, ns_run_file_dialog)
      (Fns_read_file_name, Fns_list_services): Remove code for OSX < 10.6
      
      * src/nsterm.m: Always include src/macfont.h on COCOA.
      (ns_update_auto_hide_menu_bar, ns_draw_fringe_bitmap)
      (ns_dumpglyphs_image, ns_check_menu_open)
      (applicationDidFinishLaunching)
      (antialiasThresholdDidChange:)
      (keyDown:, toggleFullScreen:, setPosition:portion:whole:): Remove
      checks for OSX <= 10.5/10.6.
      (changeFont:): Use macfont on COCOA, nsfont on GNUSTEP.
      (syms_of_nsterm): Call syms_of_macfont on COCOA, syms_of_nsfont on
      GNUSTEP.
      
      * src/macfont.m: Remove >= 1050 check.
      (macfont_create_family_with_symbol)
      (macfont_get_glyph_for_character)
      (mac_font_get_glyphs_for_variants)
      (mac_ctfont_create_available_families, syms_of_macfont): Remove
      code for OSX < 10.6.
      (mac_font_family_group, mac_font_family_compare): Remove, only used
      for OSX < 10.6.
      
      * src/nsimage.m (allocInitFromFile:): Remove code for OSX < 10.6.
      
      * src/nsmenu.m (NSMenuDidBeginTrackingNotification): Remove.
      (x_activate_menubar, trackingNotification:): Remove check for
      OSX >= 10.5.
      (menuNeedsUpdate:): Remove check for OSX < 10.5.
      
      * src/nsterm.h (MAC_OS_X_VERSION_10_4, MAC_OS_X_VERSION_10_5): Remove.
      (NS_HAVE_NSINTEGER): Remove block.
      Remove >= OSX 10.6 tests.
      
      * src/unexmacosx.c: Remove include ppc/reloc.h.
      (unrelocate, copy_dysymtab): Remove PPC code.
      (rebase_reloc_address): Remove, only used for PPC:
      9a265587
  9. 11 Oct, 2014 1 commit
  10. 10 Oct, 2014 1 commit
  11. 09 Oct, 2014 1 commit
  12. 06 Oct, 2014 1 commit
    • Glenn Morris's avatar
      Remove calendar code obsolete since at least version 23.1 · 3f659704
      Glenn Morris authored
      * lisp/calendar/cal-bahai.el (calendar-absolute-from-bahai)
      (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
      (calendar-goto-bahai-date, list-bahai-diary-entries)
      (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
      (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
      (insert-yearly-bahai-diary-entry):
      * lisp/calendar/cal-china.el (chinese-calendar-time-zone)
      (chinese-calendar-location-name)
      (chinese-calendar-daylight-time-offset)
      (chinese-calendar-standard-time-zone-name)
      (chinese-calendar-daylight-time-zone-name)
      (chinese-calendar-daylight-savings-starts)
      (chinese-calendar-daylight-savings-ends)
      (chinese-calendar-daylight-savings-starts-time)
      (chinese-calendar-daylight-savings-ends-time)
      (chinese-calendar-celestial-stem)
      (chinese-calendar-terrestrial-branch)
      (calendar-absolute-from-chinese, calendar-print-chinese-date)
      (calendar-goto-chinese-date):
      * lisp/calendar/cal-coptic.el (calendar-absolute-from-coptic)
      (calendar-print-coptic-date, coptic-prompt-for-date)
      (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
      (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
      * lisp/calendar/cal-french.el (calendar-absolute-from-french)
      (calendar-print-french-date, calendar-goto-french-date):
      * lisp/calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
      (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
      (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
      (holiday-rosh-hashanah-etc, holiday-hanukkah)
      (holiday-passover-etc, holiday-tisha-b-av-etc)
      (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
      (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
      (insert-monthly-hebrew-diary-entry)
      (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
      (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
      (diary-sabbath-candles):
      * lisp/calendar/cal-islam.el (calendar-absolute-from-islamic)
      (calendar-print-islamic-date, calendar-goto-islamic-date)
      (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
      (mark-islamic-diary-entries, insert-islamic-diary-entry)
      (insert-monthly-islamic-diary-entry)
      (insert-yearly-islamic-diary-entry):
      * lisp/calendar/cal-iso.el (calendar-absolute-from-iso)
      (calendar-print-iso-date, calendar-iso-read-args)
      (calendar-goto-iso-date, calendar-goto-iso-week):
      * lisp/calendar/cal-julian.el (calendar-absolute-from-julian)
      (calendar-print-julian-date, calendar-goto-julian-date)
      (calendar-absolute-from-astro, calendar-print-astro-day-number)
      (calendar-goto-astro-day-number):
      * lisp/calendar/cal-mayan.el (calendar-print-mayan-date)
      (calendar-next-haab-date, calendar-previous-haab-date)
      (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
      (calendar-next-calendar-round-date)
      (calendar-previous-calendar-round-date)
      (calendar-absolute-from-mayan-long-count)
      (calendar-goto-mayan-long-count-date):
      * lisp/calendar/cal-move.el (scroll-calendar-left)
      (scroll-calendar-right, scroll-calendar-left-three-months)
      (scroll-calendar-right-three-months):
      * lisp/calendar/cal-persia.el (calendar-absolute-from-persian)
      (calendar-print-persian-date, persian-prompt-for-date)
      (calendar-goto-persian-date):
      * lisp/calendar/cal-x.el (calendar-after-frame-setup-hooks):
      * lisp/calendar/calendar.el (view-diary-entries-initially)
      (mark-diary-entries-in-calendar, calendar-today-face)
      (diary-face, holiday-face, view-calendar-holidays-initially)
      (mark-holidays-in-calendar, initial-calendar-window-hook)
      (today-visible-calendar-hook, today-invisible-calendar-hook)
      (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
      (bahai-diary-entry-symbol, american-date-diary-pattern)
      (european-date-diary-pattern, european-calendar-display-form)
      (american-calendar-display-form, holidays-in-diary-buffer)
      (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
      (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
      (fancy-diary-buffer, increment-calendar-month)
      (extract-calendar-month, extract-calendar-day)
      (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
      (mark-visible-calendar-date, calendar-version):
      * lisp/calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
      (diary-display-hook, list-diary-entries-hook)
      (mark-diary-entries-hook, nongregorian-diary-listing-hook)
      (nongregorian-diary-marking-hook, print-diary-entries-hook)
      (abbreviated-calendar-year, number-of-diary-entries)
      (view-other-diary-entries, add-to-diary-list)
      (include-other-diary-files, simple-diary-display)
      (fancy-diary-display, print-diary-entries, mark-diary-entries)
      (mark-sexp-diary-entries, mark-included-diary-files)
      (mark-calendar-days-named, mark-calendar-month)
      (mark-calendar-date-pattern, sort-diary-entries)
      (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
      (insert-weekly-diary-entry, insert-monthly-diary-entry)
      (insert-yearly-diary-entry, insert-anniversary-diary-entry)
      (insert-block-diary-entry, insert-cyclic-diary-entry)
      (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
      * lisp/calendar/holidays.el (general-holidays, oriental-holidays)
      (local-holidays, other-holidays, hebrew-holidays)
      (christian-holidays, islamic-holidays, bahai-holidays)
      (solar-holidays, list-calendar-holidays)
      (check-calendar-holidays, mark-calendar-holidays)
      (filter-visible-calendar-holidays):
      * lisp/calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
      (diary-phases-of-moon): Remove obsolete aliases.
      
      * lisp/calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
      * calendar/cal-x.el (calendar-one-frame-setup)
      (calendar-only-one-frame-setup, calendar-two-frame-setup):
      Remove obsolete functions.
      (cal-x-load-hook): Remove obsolete hook.
      
      * calendar/calendar.el (european-calendar-style): Remove obsolete variable.
      (calendar-date-style): No longer consult european-calendar-style.
      
      * calendar/calendar.el (european-calendar, american-calendar):
      Remove obsolete commands.
      
      * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
      
      * calendar/diary-lib.el (diary-face): Remove obsolete variable.
      (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
      Use the face `diary' instead of the variable `diary-face'.
      
      * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
      (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
      
      * lisp/calendar/icalendar.el (icalendar--date-style): Remove function.
      Replace all uses with calendar-date-style.
      
      * lisp/textmodes/remember.el (calendar-date-style): Declare.
      (remember-diary-convert-entry):
      No longer consult european-calendar-style.
      
      * test/automated/icalendar-tests.el (icalendar--calendar-style):
      Remove test, no longer relevant.
      3f659704
  13. 05 Oct, 2014 1 commit
  14. 04 Oct, 2014 2 commits
    • Glenn Morris's avatar
      Add NEWS entry form ntlm.el change · 27da1acc
      Glenn Morris authored
      27da1acc
    • Martin Rudalics's avatar
      Add documentation for horizontal scroll bars and fix some minor issues. · 3c6ba8b4
      Martin Rudalics authored
      * buffer.c (scroll_bar_width, scroll_bar_height): Fix
      doc-strings.
      * window.c (Fset_window_scroll_bars): Fix doc-string.
      (Fwindow_scroll_bars): Have it return what the doc-string says.
      
      * window.el (window-full-height-p): Make it behave correctly for
      minibuffer window.
      (window-current-scroll-bars): Fix code.
      (fit-frame-to-buffer): Use window-scroll-bar-height instead of
      window-scroll-bars.
      * frame.el (frame-current-scroll-bars): Fix doc-string.
      * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
      
      * frames.texi (Scroll Bars): Describe use of horizontal scroll
      bars.
      
      * display.texi (Scroll Bars): Add description of horizontal scroll
      bars and associated functions.
      * frames.texi (Layout Parameters): Add horizontal scroll bar
      entries.  Remove paragraph on "combined fringe widths".
      * windows.texi (Window Sizes): Describe affects of horizontal
      scroll bars on window layout and sizes.  Fix description of
      window-full-height-p.
      (Resizing Windows): Mention horizontal scroll bar.
      3c6ba8b4
  15. 03 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      New gui-selection-value consolidating x-selection-value. · d6f8fef3
      Stefan Monnier authored
      * lisp/select.el (gui-selection-value-alist): New method.
      (gui-selection-value): New function.
      (x-selection-value): Make it an obsolete alias.
      * lisp/simple.el (interprogram-paste-function): Default to gui-selection-value.
      * lisp/w32-common-fns.el (w32-get-selection-value): Simplify.
      (x-selection-value): Remove alias.
      (interprogram-paste-function): Don't set.
      (gui-selection-value): Define for w32.
      * lisp/term/x-win.el (gui-selection-value): Define for x.
      (x--selection-value): Rename from x--selection-value.
      (interprogram-paste-function): Don't set.
      * lisp/term/pc-win.el (w16-get-selection-value): Simplify.
      (msdos-initialize-window-system): Don't set interprogram-paste-function.
      (gui-selection-value): Define for pc.
      * lisp/term/ns-win.el (x-selection-value): Remove.
      (gui-selection-value): Define for ns, instead.
      * lisp/term/common-win.el (x-setup-function-keys): Don't set
      interprogram-paste-function.
      * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
      Use gui-selection-value.
      d6f8fef3
  16. 02 Oct, 2014 2 commits
    • Glenn Morris's avatar
      Rotate etc/NEWS files for version 25 · 5f8947c7
      Glenn Morris authored
      5f8947c7
    • Stefan Monnier's avatar
      Consolidate management/ownership of selections. · 31300bee
      Stefan Monnier authored
      * lisp/select.el (gui-get-selection-alist): New method.
      (gui-get-selection): Use it.  Rename from x-get-selection.
      (x-get-selection): Define as obsolete alias.
      (x-get-clipboard): Mark obsolete.
      (gui-get-primary-selection): New function.
      (x-get-selection-value): Mark obsolete.
      (gui-own-selection-alist, gui-disown-selection-alist)
      (gui-selection-owner-p-alist): New methods.
      (gui-set-selection): Use them.  Rename from x-set-selection.
      (x-set-selection): Define as obsolete alias.
      (gui--valid-simple-selection-p): Rename from
      x-valid-simple-selection-p.
      * lisp/w32-common-fns.el (gui-own-selection, gui-disown-selection)
      (gui-selection-owner-p, gui-get-selection): Define for w32.
      (w32-get-selection-value): Rename from x-get-selection-value.
      Use the new gui-last-selected-text.
      * lisp/term/x-win.el (x-get-selection-value): Remove.
      (x-clipboard-yank): Declare obsolete.
      (gui-own-selection, gui-disown-selection, gui-get-selection)
      (gui-selection-owner-p): Define for x.
      * lisp/term/w32-win.el (w32-win-suspend-error): Rename from
      x-win-suspend-error.
      * lisp/term/pc-win.el (w16-get-selection-value): Rename from
      x-get-selection-value.
      (w16-selection-owner-p): Rename from x-selection-owner-p.
      (gui-own-selection, gui-disown-selection, gui-get-selection)
      (gui-selection-owner-p): Define for pc.
      (w16--select-text): New function.
      * lisp/term/ns-win.el (gui-own-selection, gui-disown-selection)
      (gui-get-selection, gui-selection-owner-p): Define for ns.
      * lisp/term.el (term-mouse-paste):
      * lisp/mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
      * src/nsselect.m (ns-own-selection-internal, ns-disown-selection-internal):
      Rename from the "x-" prefix.
      31300bee
  17. 01 Oct, 2014 2 commits
    • Stefan Monnier's avatar
      Consolidate x-select-text. · a8b36b95
      Stefan Monnier authored
      * lisp/frame.el (gui-method, gui-method-define, gui-method-declare)
      (gui-call): New macros.
      (gui-method--name): New function.
      (frame-creation-function-alist): Use gui-method-declare.
      (make-frame): Use gui-method.
      * lisp/select.el (gui-select-enable-clipboard): Rename from
      x-select-enable-clipboard and move here.
      (x-select-enable-clipboard): Define as obsolete alias.
      (gui-last-selected-text): New var, to replace x-last-selected-text.
      (gui-select-text): New GUI method.
      (gui-select-text): New function.
      (x-select-text): Define as obsolete alias.
      * lisp/term/common-win.el (x-select-enable-clipboard, x-select-text):
      Move to select.el.
      * lisp/simple.el (interprogram-cut-function): Change default to
      x-select-text.
      (interprogram-paste-function): Change default to `ignore'.
      * lisp/w32-common-fns.el (interprogram-cut-function): Don't modify.
      * lisp/term/x-win.el (interprogram-cut-function): Don't modify.
      (gui-select-text): Add method for x.
      * lisp/term/w32-win.el (gui-select-text): Add method for w32.
      * lisp/term/pc-win.el (x-last-selected-text): Remove, use
      gui-last-selected-text instead.
      (msdos-initialize-window-system): Don't set interprogram-cut-function.
      (gui-select-text): Add method for pc.
      * lisp/term/ns-win.el (ns-last-selected-text): Remove, use
      gui-last-selected-text instead.
      (gui-select-text): Add method for ns.
      (x-setup-function-keys): Don't change interprogram-cut-function.
      * lisp/loadup.el ("startup"): Load after "frame".
      * lisp/subr.el (package--builtin-versions, package--description-file):
      Move from startup.el.
      * lisp/startup.el (package--builtin-versions, package--description-file):
      Move to subr.el.
      (handle-args-function-alist, window-system-initialization-alist):
      Use gui-method-declare.
      (command-line): Use gui-method.
      * src/xselect.c (selection-converter-alist): Fix docstring.
      a8b36b95
    • Stefan Monnier's avatar
      * lisp/subr.el (alist-get): New accessor. · a57fa964
      Stefan Monnier authored
      * lisp/emacs-lisp/gv.el (alist-get): Provide expander.
      * lisp/winner.el (winner-remember):
      * lisp/tempo.el (tempo-use-tag-list):
      * lisp/progmodes/gud.el (minor-mode-map-alist):
      * lisp/international/mule-cmds.el (define-char-code-property):
      * lisp/frameset.el (frameset-filter-params):
      * lisp/files.el (dir-locals-set-class-variables):
      * lisp/register.el (get-register, set-register):
      * lisp/calc/calc-yank.el (calc-set-register): Use it.
      * lisp/ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
      * lisp/tooltip.el (tooltip-set-param): Mark as obsolete.
      (tooltip-show): Use alist-get instead.
      * lisp/ses.el (ses--alist-get): Remove.  Use alist-get instead.
      * admin/unidata/unidata-gen.el (unidata-gen-table-word-list): Use alist-get
      and cl-incf.
      a57fa964
  18. 30 Sep, 2014 2 commits
    • Bill Wohler's avatar
    • Bill Wohler's avatar
      Release MH-E version 8.6. · e80e3bdb
      Bill Wohler authored
      * NEWS, MH-E-NEWS: Update for MH-E release 8.6.
      
      * mh-e.el (Version, mh-version): Update for release 8.6.
      
      * mh-comp.el (mh-insert-x-face): Ensure that mh-x-face-file is a
      string before trying to use it (closes SF #474).
      (mh-bare-components): New function to create a temporary initial
      components file; replaces mh-find-components. Improve the temp folder
      and file names as per a suggestion from Bill Wohler. Also address
      XEmacs compatibility issues: use mm-make-temp-file instead of
      make-temp-file, and only pass one argument to delete-directory.
      (mh-edit-again, mh-send-sub): Use mh-bare-components instead of
      mh-find-components (partially closes SF #468).
      e80e3bdb
  19. 29 Sep, 2014 1 commit
  20. 27 Sep, 2014 1 commit
    • Stefan Monnier's avatar
      Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el. · e6cfa098
      Stefan Monnier authored
      * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
      (eldoc-schedule-timer): Obey it.
      (eldoc-documentation-function): Default to nil.
      (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
      (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
      (eldoc-highlight-function-argument, eldoc-get-var-docstring)
      (eldoc-last-data-store, eldoc-docstring-first-line)
      (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
      (eldoc-beginning-of-sexp, eldoc-current-symbol)
      (eldoc-function-argstring): Move to elisp-mode.el.
      (eldoc-symbol-function): Remove, unused.
      * lisp/progmodes/elisp-mode.el: New file.  Rename all "eldoc-*" to "elisp--*".
      (elisp-completion-at-point): Rename from lisp-completion-at-point.
      (elisp--preceding-sexp): Rename from preceding-sexp.
      * lisp/loadup.el: Load new file progmodes/elisp-mode.
      * lisp/ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
      * lisp/emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
      (lisp--local-variables-completion-table, lisp--expect-function-p)
      (lisp--form-quoted-p, lisp--company-doc-buffer)
      (lisp--company-doc-string, lisp--company-location)
      (lisp-completion-at-point): Move to elisp-mode.el.
      * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
      extracted from emacs-lisp-mode-syntax-table.
      (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
      elisp-mode.el.
      (lisp-imenu-generic-expression): Add comments to document what comes
      from which Lisp dialect.
      (emacs-lisp-mode-map, emacs-lisp-byte-compile)
      (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
      (emacs-lisp-mode, emacs-list-byte-code-comment-re)
      (emacs-lisp-byte-code-comment)
      (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
      (lisp-interaction-mode-map, lisp-interaction-mode)
      (eval-print-last-sexp, last-sexp-setup-props)
      (last-sexp-toggle-display, prin1-char, preceding-sexp)
      (eval-last-sexp-1, eval-last-sexp-print-value)
      (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
      (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
      * src/lisp.mk (lisp): Add elisp-mode.elc.
      e6cfa098
  21. 24 Sep, 2014 1 commit
  22. 22 Sep, 2014 2 commits
  23. 14 Sep, 2014 1 commit
  24. 13 Sep, 2014 2 commits
  25. 12 Sep, 2014 1 commit
    • Sam Steingold's avatar
      Add support for Vertica SQL. · 82bb5d8c
      Sam Steingold authored
      * lisp/progmodes/sql.el (sql-product-alist): Add vertica.
      (sql-vertica-program, sql-vertica-options)
      (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
      New functions and variables to support Vertica.
      Inspired by code by Roman Scherer <roman@burningswell.com>.
      82bb5d8c
  26. 11 Sep, 2014 1 commit
  27. 09 Sep, 2014 1 commit
    • Glenn Morris's avatar
      NEWS fix · feb7e201
      Glenn Morris authored
      display-buffer-in-previous-window existed before 24.4, but was not
      in display-buffer-fallback-action
      feb7e201
  28. 08 Sep, 2014 1 commit
  29. 06 Sep, 2014 1 commit
    • Leo Liu's avatar
      Add vector qpattern to pcase · e872d52c
      Leo Liu authored
      * doc/lispref/control.texi (Pattern matching case statement): Document vector
      qpattern. 
      
      * etc/NEWS: Mention vector qpattern for pcase.  (Bug#18327).
      
      * lisp/emacs-lisp/pcase.el (pcase): Doc fix.
      (pcase--split-vector): New function.
      (pcase--q1): Support vector qpattern.  (Bug#18327)
      e872d52c
  30. 05 Sep, 2014 2 commits