all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adrian Robert <adrian.b.robert@gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: 5515@debbugs.gnu.org
Subject: bug#5515: 23.1.92; OSX: Emacs gets stuck while wanting to display a dialog box
Date: Sat, 3 Apr 2010 18:18:17 +0300	[thread overview]
Message-ID: <635E47E2-AB4C-4990-85B4-51CEE279B501@gmail.com> (raw)
In-Reply-To: <5521A25A-8663-4D07-98D2-7655556495FC@tzi.org>

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]


On Apr 3, 2010, at 12:57 PM, Carsten Bormann wrote:

> I have distilled the test case to the attached file.
> Sorry, I don't know how to reduce this further.
> At least it's fully reproduceable with various Emacs versions around 23.1/24.0.
> I only tried it on 10.6, though.


[-- Attachment #2: dot-emacs-reproduce-5515-1.el --]
[-- Type: application/octet-stream, Size: 1251 bytes --]

;; this is taken and simplified from: git://github.com/remvee/emacs-rails.git
;; flymake ruby support

(require 'flymake nil t)

(defconst flymake-allowed-ruby-file-name-masks
  '(("\\.rb\\'"      flymake-ruby-init))
  "Filename extensions that switch on flymake-ruby mode syntax checks.")

(defun flymake-ruby-init ()
  (condition-case er
      (let* ((temp-file (flymake-init-create-temp-buffer-copy
                         'flymake-create-temp-inplace))
             (local-file  (file-relative-name
                           temp-file
                           (file-name-directory buffer-file-name))))
        (list rails-ruby-command (list "-c" local-file)))
    ('error ())))

(defun flymake-ruby-load ()
  (setq flymake-allowed-file-name-masks
          (append flymake-allowed-file-name-masks flymake-allowed-ruby-file-name-masks))
  (flymake-mode t))

(add-hook 'ruby-mode-hook 'flymake-ruby-load)

(setq rails-ruby-command "/bad/file/name")

;; eval this buffer, as in:
; Emacs.app/Contents/MacOS/Emacs -Q -l dot-emacs-reproduce-5515-1.el
;; now edit (C-x C-f) a random .rb file.
;; -- the error message will come up fine (pop-up), acknowledge that
;; -- C-x C-v RET
;; -- this second error message is not visible and leads into nirvana

[-- Attachment #3: Type: text/plain, Size: 2 bytes --]




  parent reply	other threads:[~2010-04-03 15:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03  7:36 bug#5515: 23.1.92; OSX: Emacs gets stuck while wanting to display a dialog box Carsten Bormann
2010-03-30  9:31 ` Adrian Robert
     [not found]   ` <5521A25A-8663-4D07-98D2-7655556495FC@tzi.org>
2010-04-03 15:18     ` Adrian Robert [this message]
2010-04-10  6:26       ` Adrian Robert
2010-04-10  9:36         ` Carsten Bormann
2010-04-11 10:29           ` Adrian Robert
2016-04-05 20:59             ` Alan Third
2010-04-12 15:09           ` Adrian Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=635E47E2-AB4C-4990-85B4-51CEE279B501@gmail.com \
    --to=adrian.b.robert@gmail.com \
    --cc=5515@debbugs.gnu.org \
    --cc=cabo@tzi.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.