Project

General

Profile

Design #1554

cocoa5-emacs-dir or cocoa5-root-dir?

Added by John Abbott over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
EmacsUI
Target version:
Start date:
18 Dec 2020
Due date:
% Done:

100%

Estimated time:
1.23 h
Spent time:

Description

In the emacs initialization lines we define cocoa5-emacs-dir.
Why do we not define cocoa5-root-dir instead? Then we can specify all paths without using .. (dot-dot).

History

#1 Updated by John Abbott over 3 years ago

It seems more natural to me to specify the path to the "root" directory; then all accesses to files are "downward".

Is there a good reason to specify instead the path to the emacs subdirectory?

BTW in the commented out lines for Microsoft, the path to the packages is also defined... is that necessary?

#2 Updated by John Abbott over 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Anna points out that there are complications on Microsoft where one cannot be entirely sure where the release is unpacked into.
For example, it may unpack into C:/bla/blabla/cocoa-5.3/cocoa-5.3/CoCoA-files (rather than having a single cocoa-5.3 in the path).
When giving instruction about which path to copy, it is easier to refer to the emacs subdir than allow ambiguity when refering to cocoa-5.3.

#3 Updated by John Abbott over 3 years ago

The question arose after an email from Alasdair McAndrew (around 2020-12-18). Anna will investigate.

#4 Updated by John Abbott about 3 years ago

What is the status of this issue?

The file cocoa5.emacs defines cocoa-root-dir in terms of cocoa5-emacs-dir near the start, then uses cocoa5-root-dir thereafter (and never refers to cocoa-emacs-dir again).

Can we progress to feedback?
Has email been sent to the original person who raised the matter?

#5 Updated by John Abbott about 3 years ago

  • Status changed from In Progress to Feedback
  • Assignee set to John Abbott
  • % Done changed from 10 to 90
  • Estimated time set to 1.23 h

#6 Updated by John Abbott about 3 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

Also available in: Atom PDF