Opened 10 years ago

Closed 10 years ago

#41224 closed defect (fixed)

emacs-app @24.3_1 default-directory on Mavericks

Reported by: bouttier__macports@… Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: cssdev, andy@…, edxmail-macports@…
Port: emacs-app

Description

I just upgraded from Lion to Mavericks and, after reinstalling emacs-app, the default-directory variable is now "/" instead of "~/". Please restore the usual value.

Attachments (1)

emacs-app-home.patch (2.1 KB) - added by andy@… 10 years ago.
includes the two fixes from emacs Repository

Download all attachments as: .zip

Change History (14)

comment:1 Changed 10 years ago by bouttier__macports@…

Cc: bouttier__macports@… added

Cc Me!

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: css@… added; bouttier__macports@… removed
Owner: changed from macports-tickets@… to hum@…

In the future, please Cc relevant port maintainers (port info --maintainers emacs-app). And you do not have to Cc yourself.

comment:3 in reply to:  description Changed 10 years ago by graziosi.angelo@…

Replying to bouttier__macports@…:

I just upgraded from Lion to Mavericks and, after reinstalling emacs-app, the default-directory variable is now "/" instead of "~/". Please restore the usual value.

Confirmed! Afetr moving from MLion to Mavericks the default "home" dir is "/" and not "~/". very annoying... :-(

Ciao, Angelo.

comment:4 Changed 10 years ago by andy@…

Cc: andy@… added

Cc Me!

Changed 10 years ago by andy@…

Attachment: emacs-app-home.patch added

includes the two fixes from emacs Repository

comment:5 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Keywords: mavericks added

comment:6 Changed 10 years ago by edxmail-macports@…

Cc: edxmail-macports@… added

Please forgive this beginner's question, but "sudo port upgrade emacs-app" does not pick up this patch; reinstalling emacs-app creates version 24.3.1, not 24.3.2. Any pointers to how to apply this patch would be much appreciated.

Last edited 10 years ago by edxmail-macports@… (previous) (diff)

comment:7 Changed 10 years ago by bouttier__macports@…

I confirm that the patch given at #4 restores the wanted behavior.

Last edited 10 years ago by bouttier__macports@… (previous) (diff)

comment:8 in reply to:  6 ; Changed 10 years ago by bouttier__macports@…

Replying to edxmail-macports@…:

Please forgive this beginner's question, but "sudo port upgrade emacs-app" does not pick up this patch; reinstalling emacs-app creates version 24.3.1, not 24.3.2. Any pointers to how to apply this patch would be much appreciated.

I do not know if there is a better way but here is what I did (after downloading the patch file) :

cd `port dir emacs-app`
sudo patch -p1 < ~/Downloads/emacs-app-home.patch

Enter "Portfile" at the prompt "File to patch:", then :

sudo mv dports/aqua/emacs-app/files/patch-mavericks-* files
sudo rm -rf dports
sudo port upgrade emacs-app
Last edited 10 years ago by bouttier__macports@… (previous) (diff)

comment:9 in reply to:  8 ; Changed 10 years ago by edxmail-macports@…

Replying to bouttier__macports@…:

THANK YOU! Worked like a charm with one change, which was to refer to port as "emacs-app" as in "sudo port upgrade emacs-app" on the last line.

Very much appreciated!

Replying to edxmail-macports@…:

Please forgive this beginner's question, but "sudo port upgrade emacs-app" does not pick up this patch; reinstalling emacs-app creates version 24.3.1, not 24.3.2. Any pointers to how to apply this patch would be much appreciated.

I do not know if there is a better way but here is what I did (after downloading the patch file) :

cd `port dir emacs-app`
sudo patch -p1 < ~/Downloads/emacs-app-home.patch

Enter "Portfile" at the prompt "File to patch:", then :

sudo mv dports/aqua/emacs-app/files/patch-mavericks-* files
sudo rm -rf dports
sudo port upgrade emacs

comment:10 in reply to:  9 ; Changed 10 years ago by bouttier__macports@…

Replying to edxmail-macports@…:

refer to port as "emacs-app" as in "sudo port upgrade emacs-app" on the last line.

My mistake, corrected.

comment:11 in reply to:  10 ; Changed 10 years ago by graziosi.angelo@…

Why this is not yet ported to the official emacs-app port?

Ciao, Angelo.

comment:12 in reply to:  11 Changed 10 years ago by larryv (Lawrence Velázquez)

Email macports-dev to try getting the attention of a committer, noting that this ticket has timed out.

comment:13 Changed 10 years ago by humem (humem)

Resolution: fixed
Status: newclosed

Sorry for a very slow response. I have committed in r116837 adding patch-mavericks-home.diff.

Note: See TracTickets for help on using tickets.