1. 11 Oct, 2014 5 commits
  2. 10 Oct, 2014 4 commits
  3. 09 Oct, 2014 2 commits
  4. 08 Oct, 2014 4 commits
    • Leo Liu's avatar
      Enhance terpri to allow conditionally output a newline · 2dbd7a37
      Leo Liu authored
      * doc/lispref/streams.texi (Output Functions): Document new argument ENSURE to
      terpri.
      
      * doc/misc/cl.texi (Porting Common Lisp): Remove parse-integer.
      
      * lisp/emacs-lisp/cl-extra.el (cl-fresh-line): New function.
      
      * src/keymap.c (describe_vector_princ):
      * src/keyboard.c (Fcommand_error_default_function): Adapt to change to
      Fterpri.
      
      * src/print.c (printchar_stdout_last): Declare.
      (printchar): Record the last char written to stdout.
      (Fterpri): Add optional argument ENSURE.
      
      * test/automated/print-tests.el: New file.
      (terpri): Tests for terpri.  (Bug#18652)
      2dbd7a37
    • Glenn Morris's avatar
    • Leo Liu's avatar
      * lisp/progmodes/cfengine.el (cfengine3-make-syntax-cache): Always · 97272dad
      Leo Liu authored
      return a syntax.  Replace call-process-shell-command with
      process-file.  Ensure cfengine-mode-syntax-functions-regex is
      always set.  Ensure cache when cfengine-cf-promises fails.
      
      Fixes: debbugs:18620
      97272dad
    • Eli Zaretskii's avatar
      Fix bug #18636 with documentation of multi-monitor displays. · 28ec0a87
      Eli Zaretskii authored
       doc/lispref/frames.texi (Multiple Terminals): Improve the description of X
       display names.  Add index entries.
       (Basic Parameters): Add a cross-reference to where X display names
       are described.
       (Position Parameters): Mention that positional parameters of the
       form (+ POS) can be negative if they are on a non-primary monitor
       of a multi-monitor display.
       (Creating Frames): Mention that on multi-monitor displays the
       frame might be positioned differently than specified by the frame
       parameters alist.
      
       lisp/faces.el (display-grayscale-p): Mention in the doc string that
       the argument can be either a display name or a frame.
       lisp/frame.el (display-pixel-height, display-pixel-width)
       (display-mm-height, display-mm-width, display-backing-store)
       (display-save-under, display-planes, display-color-cells)
       (display-visual-class, display-monitor-attributes-list)
       (display-screens): Mention in the doc string that the argument can
       be either a display name or a frame.  Improve the docs of the
       monitor attributes.
      28ec0a87
  5. 07 Oct, 2014 2 commits
    • Glenn Morris's avatar
    • Wilson Snyder's avatar
      Sync with upstream verilog-mode revision c075a492 · dd7023e4
      Wilson Snyder authored
      * lisp/progmodes/verilog-mode.el (verilog-mode-version): Bump.
      (verilog-menu): Add AUTOINSERTLAST.
      (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
      is nil, fix indenting initial/final to match always statements, bug825.
      Reported by Tim Clapp.
      (verilog-extended-complete-re): Fix indentation of DPI-C imports,
      bug557.  Reported by ZeDong Mao and Jason Forkey.
      (verilog-read-decls): Fix parsing typed interfaces.
      Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
      (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
      (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
      Reported by Pierre-David Pfister.
      (verilog-auto-insert-lisp): Doc fix.
      (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
      allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
      (verilog-sk-ovm-class, verilog-sk-uvm-object)
      (verilog-sk-uvm-component): Fix missing string keyword in class
      skeletons, bug824.  Reported by eldad faruhi.
      dd7023e4
  6. 06 Oct, 2014 7 commits
    • Stefan Monnier's avatar
      * lisp/term/w32-win.el: Move all code from 32-common-fns.el here. · 3ef041ae
      Stefan Monnier authored
      (gui-select-text, gui-selection-value): Use w32 handlers in the w32
      console as well.
      * lisp/w32-common-fns.el: Remove.
      * lisp/loadup.el: Don't load w32-common-fns.el.
      * w32-fns.elc: Don't require w32-common-fns.
      * src/lisp.mk (lisp): Remove w32-common-fns.elc.
      
      Fixes: debbugs:18629
      3ef041ae
    • Stefan Monnier's avatar
      * lisp/icomplete.el: Move Iswitchb autoload here. Much simpler. · 71785ae7
      Stefan Monnier authored
      * lisp/Makefile.in (obsolete-autoloads): Remove.
      (AUTOGENEL): Remove obsolete/loaddefs.el.
      * lisp/loadup.el: Don't load obsolete/loaddefs.el.
      * lisp/obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
      Remove redundant obsolescence thingy.
      71785ae7
    • Glenn Morris's avatar
      * lisp/Makefile.in (obsolete-autoloads): Write to a separate file, · 87666a05
      Glenn Morris authored
      to workaround autoloads bug. 
      (AUTOGENEL): Add obsolete/loaddefs.el.
      
      * lisp/loadup.el: Load obsolete/loaddefs.el if present.
      
      * lisp/subr.el (do-after-load-evaluation):
      Don't warn about obsolete/loaddefs.el.
      
      Fixes: debbugs:17407
      87666a05
    • Martin Rudalics's avatar
      In term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601) · e76955cb
      Martin Rudalics authored
      * term.el (term-window-width): Subtract 1 from the width when
      any fringe has zero width, not just the right fringe.  (Bug#18601)
      e76955cb
    • Glenn Morris's avatar
      * lisp/menu-bar.el (menu-bar-games-menu): Remove landmark. · 102c5a37
      Glenn Morris authored
      It's not a game you can play, and is of no interest to the casual browser.
      It was broken for years and no-one even noticed.
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00288.html
      102c5a37
    • Leo Liu's avatar
      * imenu.el (imenu): Re-write for clarity. · 195c5c4c
      Leo Liu authored
      195c5c4c
    • 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
  7. 05 Oct, 2014 1 commit
  8. 04 Oct, 2014 8 commits
    • Thomas Fitzsimmons's avatar
      87318e3d
    • Glenn Morris's avatar
      9ed4c74e
    • Glenn Morris's avatar
      * lisp/startup.el (command-line): Handle altered user-emacs-directory · b2ee3a27
      Glenn Morris authored
      in load-path warning.
      
      Fixes: debbugs:18512
      b2ee3a27
    • 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
    • Mark Oteiza's avatar
      * lisp/files.el (auto-mode-alist): Use sh-mode for .zsh files. · cebc89ee
      Mark Oteiza authored
      Fixes: debbugs:18488
      cebc89ee
    • Stefan Monnier's avatar
      Merge trivially safe differences from standalone CC-mode. · 03c45536
      Stefan Monnier authored
      * lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
      just to then pass it to `symbol-value'.
      (prog-mode): Provide fallback definition, if needed.
      * lisp/progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
      Remove "cl-" prefix accordingly.
      * lisp/progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
      characterp depending on the type of characters.
      (c-font-lock-enum-tail): Remove unused var `start'.
      * lisp/progmodes/cc-engine.el: Load CL at compile-time.
      (c-declare-lang-variables): Use mapcan.
      (c-append-to-state-cache): Remove unused var `ce+1'.
      (c-parse-state-state): Make buffer-local.
      (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
      (c-just-after-func-arglist-p): Remove unused var `end'.
      * lisp/progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
      (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
      (c-make-keywords-re): Use delete-dups.
      (c-get-current-file): Avoid file-name-base.
      * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
      `close-paren-inserted'.
      * lisp/progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
      03c45536
    • Glenn Morris's avatar
      Doc tweaks re multi-monitor · 62cd8845
      Glenn Morris authored
      * doc/lispref/frames.texi (Multiple Terminals): Copyedits re multiple monitors.
      
      * lisp/frame.el (frame-monitor-attributes, display-monitor-attributes-list):
      Doc fixes.
      62cd8845
    • Stefan Monnier's avatar
      * lisp/progmodes/python.el: Avoid building unneeded markers. · cb325041
      Stefan Monnier authored
      (python-font-lock-keywords, python-indent-dedent-line)
      (python-fill-paren, python-shell-completion-complete-or-indent):
      Prefer point over point-marker.
      (inferior-python-mode): Remove redundant completion settings.
      cb325041
  9. 03 Oct, 2014 6 commits
    • Glenn Morris's avatar
      ChangeLog fixes · caafef5d
      Glenn Morris authored
      caafef5d
    • Dmitry Gutov's avatar
      Fix vc-svn-ignore · c799337f
      Dmitry Gutov authored
      * lisp/vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
      (vc-svn-ignore): Use it.
      
      Fixes: debbugs:18619
      c799337f
    • Martin Rudalics's avatar
      Mention `frame-resize-pixelwise' to make frames truly fullscreen or maximized. · f63bd04b
      Martin Rudalics authored
      * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
      In doc-string mention need of setting `frame-resize-pixelwise'.
      
      * frames.texi (Frame Commands):
      * cmdargs.texi (Window Size X): Mention the use of
      `frame-resize-pixelwise' to make frames truly fullscreen or
      maximized.
      
      * frames.texi (Size Parameters, Size and Position): Mention that
      with some window managers you have to set
      `frame-resize-pixelwise' in order make a frame truly fullscreen
      or maximized.
      f63bd04b
    • 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
    • Stefan Monnier's avatar
      * lisp/vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp, · f0db3488
      Stefan Monnier authored
      similarly to Roger's 2010-06-12 change for the remote change.
      
      Fixes: debbugs:18605
      f0db3488
    • David Raynes's avatar
      * lisp/term/ns-win.el: Add functions to ns frame, not x frame. · f0da11bd
      David Raynes authored
      Fixes: debbugs:18614
      f0da11bd
  10. 02 Oct, 2014 1 commit