Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensible quoting. #3566

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Conversation

HansOlsson
Copy link
Collaborator

@HansOlsson HansOlsson commented Aug 30, 2024

The previous variant didn't make sense.

The change is that when we discuss environment variables in general it doesn't make sense to include quotes (especially when we use a different font), you just set the environment variable to the specified value in some GUI/shell. However, if you want to show the value in Modelica (or C) quotes are needed, but the backslashes also needs to be doubled.

A completely different idea would be to allow quotes around specific elements of the MODELICAPATH as in "C:\library";"C:\lib1";C:\lib2. I have some vague idea that it was used at some point in time on Windows, but likely with space not ; as separator. I thus don't see that we need to mention that.

Copy link
Collaborator

@henrikt-ma henrikt-ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good if all it did was removing the strange quotes.

chapters/packages.tex Outdated Show resolved Hide resolved
Copy link
Member

@eshmoylova eshmoylova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read through. Waiting for resolution on existing comments before deciding.

Remove note to proceed

Co-authored-by: Henrik Tidefelt <[email protected]>
Copy link
Member

@eshmoylova eshmoylova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HansOlsson HansOlsson dismissed henrikt-ma’s stale review September 18, 2024 12:14

Not updated after changes.

@HansOlsson HansOlsson merged commit 355e861 into modelica:master Sep 18, 2024
1 check passed
@HansOlsson HansOlsson deleted the ModelicaPathQuoting branch September 18, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants