unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro
@ 2014-09-04 22:22 Konrad Podczeck
  2014-09-05  1:05 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Konrad Podczeck @ 2014-09-04 22:22 UTC (permalink / raw)
  To: 18407

Load a (longer) latex file. Enable interactive mode in Auctex and compile the file. Initiating the compilation via the menu or via shortcut works fine, as expected. However, if the run is started via the toolbar icon, then the compilation may become very slow: in the window showing the progress of compilation, some lines appear, then the progress suddenly stops for some moment, the some progress is shown, then again there is break, and so on, so that, in effect, the compilation run may take more than five seconds, compared with 0.5 seconds if the run is initiated via shortcut or menu.

Actually, the problem has a machine  specific aspect: it appears on my new retina macbook-pro, bot not on the ordinary desktop mac-pro which I have at work, both having the latest MacOS.

But the problem also has a GNU-Emacs-specific aspect, and in particular seems not to be an Auctex problem: The problem does not appear at all with Auctex and the Emacs Mac Port by Yamamoto Mitsuharu.

Konrad Podczeck







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro
  2014-09-04 22:22 bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro Konrad Podczeck
@ 2014-09-05  1:05 ` Stefan Monnier
  2014-09-05 18:24 ` Konrad Podczeck
  2021-08-19 15:36 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2014-09-05  1:05 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 18407

> Load a (longer) latex file. Enable interactive mode in Auctex and compile
> the file. Initiating the compilation via the menu or via shortcut works
> fine, as expected. However, if the run is started via the toolbar icon, then
> the compilation may become very slow: in the window showing the progress of
> compilation, some lines appear, then the progress suddenly stops for some
> moment, the some progress is shown, then again there is break, and so on, so
> that, in effect, the compilation run may take more than five seconds,
> compared with 0.5 seconds if the run is initiated via shortcut or menu.

Can you try to:

- M-x profiler-start RET RET
- then reproduce the slow run
- M-x profiler-report RET
- on the first line of the profiler report hit C-u RET to reveal the
  whole tree.


        Stefan





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro
  2014-09-04 22:22 bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro Konrad Podczeck
  2014-09-05  1:05 ` Stefan Monnier
@ 2014-09-05 18:24 ` Konrad Podczeck
  2021-08-19 15:36 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 5+ messages in thread
From: Konrad Podczeck @ 2014-09-05 18:24 UTC (permalink / raw)
  To: monnier; +Cc: 18407

Here is what get with a slow run doing

- M-x profiler-start RET RET
- then reproduce the slow run
- M-x profiler-report RET
- on the first line of the profiler report hit C-u RET to reveal the
  whole tree.



- command-execute                                                 166  63%
 - call-interactively                                             166  63%
  - byte-code                                                     132  50%
   - read-extended-command                                        132  50%
    - completing-read                                             132  50%
     - completing-read-default                                    132  50%
      - read-from-minibuffer                                       58  22%
       - redisplay_internal (C function)                            3   1%
        - tool-bar-make-keymap                                      3   1%
         - tool-bar-make-keymap-1                                   3   1%
          - mapcar                                                  3   1%
           - #<compiled 0x400ef44b>                                 3   1%
            - eval                                                  3   1%
             - find-image                                           3   1%
                image-search-load-path                              3   1%
  - funcall-interactively                                          34  12%
   - execute-extended-command                                      18   6%
    - command-execute                                              17   6%
     - call-interactively                                          17   6%
      - byte-code                                                  12   4%
       - completing-read                                           12   4%
        - completing-read-default                                  12   4%
           read-from-minibuffer                                     6   2%
      - funcall-interactively                                       5   1%
       - profiler-report                                            4   1%
        - profiler-report-cpu                                       4   1%
           profiler-cpu-profile                                     4   1%
         profiler-start                                             1   0%
   - #<lambda 0x123fcfa310382f81>                                  16   6%
    - progn                                                        16   6%
     - TeX-save-document                                            8   3%
        TeX-check-files                                             8   3%
     - TeX-command                                                  8   3%
      - TeX-run-TeX                                                 8   3%
       - TeX-run-interactive                                        8   3%
        - comint-exec                                               4   1%
         - comint-exec-1                                            4   1%
          - apply                                                   4   1%
           - start-file-process                                     4   1%
              apply                                                 4   1%
        - cd                                                        3   1%
         - locate-file                                              3   1%
          - locate-file-internal                                    3   1%
             #<compiled 0x400a0407>                                 3   1%
        - internal-temp-output-buffer-show                          1   0%
         - run-hooks                                                1   0%
          - help-mode-finish                                        1   0%
             help-make-xrefs                                        1   0%
+ ...                                                              84  32%
+ redisplay_internal (C function)                                   4   1%
+ TeX-command-sentinel                                              4   1%
+ timer-event-handler                                               4   1%






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro
  2014-09-04 22:22 bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro Konrad Podczeck
  2014-09-05  1:05 ` Stefan Monnier
  2014-09-05 18:24 ` Konrad Podczeck
@ 2021-08-19 15:36 ` Lars Ingebrigtsen
  2021-09-17 14:50   ` Lars Ingebrigtsen
  2 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-19 15:36 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 18407

Konrad Podczeck <konrad.podczeck@chello.at> writes:

> Load a (longer) latex file. Enable interactive mode in Auctex and
> compile the file. Initiating the compilation via the menu or via
> shortcut works fine, as expected. However, if the run is started via
> the toolbar icon, then the compilation may become very slow:

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Are you still seeing this issue in recent versions of Emacs/Macos?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro
  2021-08-19 15:36 ` Lars Ingebrigtsen
@ 2021-09-17 14:50   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-17 14:50 UTC (permalink / raw)
  To: Konrad Podczeck; +Cc: 18407

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Are you still seeing this issue in recent versions of Emacs/Macos?

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-17 14:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-04 22:22 bug#18407: Strange problem with Emacs and Auctex on retina macbook-pro Konrad Podczeck
2014-09-05  1:05 ` Stefan Monnier
2014-09-05 18:24 ` Konrad Podczeck
2021-08-19 15:36 ` Lars Ingebrigtsen
2021-09-17 14:50   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).