-
Notifications
You must be signed in to change notification settings - Fork 7
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
C-c,C-b failed for local help files with eww #16
Comments
Hi @wyl-phd Ansys 17.1 is quite ancient ;-) I'm not sure I'm able to reproduce your problem. At the moment I'm using the online help (default since Ansys 19) with Apdl-mode, this works nearly as fast as with the local help files. I'll try to download the local documentation from the Customer Portal and see if I find some helpful hint for you. |
I suspect that some Emacs' defaults were changed since I wrote the function. Would you please change the file apdl-process.el? Here are the relevant lines (with modification):
(and restart Emacs.) |
@dieter-wilhelm I'll convert to a higher ANSYS version. Thanks any way. |
I've tested apdl-mode's C-cC-b command with the local documentation of Ansys 2023R2 and above change of |
@dieter-wilhelm I edited The local documentation fialed to work in neither eww nor external browser, which might be caused by the same issue I mentioned at the beginning. eww returns the following message: Now I am using the online documentation. Thanks to your amazing package, it promots my work efficiency a lot. |
I tried to open the apdl help documention, using"C-c C-b" with eww, but it failed to open it and reterned wrong file adress as
Loading http://file%3a%2f%2f%2fd%3a/Program%20Files/ANSYS%20Inc/v171/commonfiles/help/en-us/help/ans_elem/Hlp_C_MP.html...
I think this issue comes from that APDL-mode gives the wrong file path to eww. Because I tried to manually edit the address as
http://file:///d:/Program Files/ANSYS Inc/v171/commonfiles/help/en-us/help/ans_elem/Hlp_C_MP.html
and it worked out in the outside browser (MP command help is showed).
BTW, I am using ANSYS 17.1, which contains local help documention. And I'm sure I set the correct path, as
(setq apdl-ansys-help-path "D:/Program Files/ANSYS Inc/v171/commonfiles/help/en-us/help/")
For some reason, the characters '/ ' -> '%2f' ' : '->'%3a' ' ' ->'%20' , when the path is transfered to eww.
Following is the 'Bug Report'
====================================================================================
Emacs : GNU Emacs 29.1 (build 2, x86_64-w64-mingw32)
of 2023-08-02
Package: APDL-Mode
current state:
(setq
apdl-mode-version "20.7.0"
apdl-mode-update "2021-10-23"
apdl-mode-install-directory "c:/Users/Lee/AppData/Roaming/.emacs.d/elpa/apdl-mode-20211023.1831/"
apdl-initialised-flag t
apdl-current-ansys-version "v171"
apdl-is-unix-system-flag nil
apdl-parameter-help-duration "30"
apdl-hide-region-before-string "![ ... hidden"
apdl-hide-region-after-string " region ... ]"
apdl-hide-region-propertize-markers t
apdl-highlighting-level 2
apdl-dynamic-highlighting-flag t
apdl-indicate-empty-lines-flag nil
apdl-comment-padding " "
apdl-comment-add 1
apdl-code-comment-column 15
apdl-auto-indent-flag t
apdl-indent-comment-suffix ""
apdl-ruler-wide-flag nil
apdl-require-spaces-flag nil
apdl-blink-matching-block-flag t
apdl-blink-matching-delay 0.7
apdl-block-offset 2
apdl-outline-string "@"
apdl-mode-hook '(apdl-outline-minor-mode)
apdl-align-rules-list '((apdl-align-= (regexp . "\(\s-\)=")
(modes quote (apdl-mode)) (justify . t) (tab-stop))
(apdl-align-text-column
(regexp . "=\(\s-[0-9]+\|\s-\)")
(modes quote (apdl-mode)) (justify . t) (tab-stop))
(apdl-align-comment
(regexp . "[0-9.)]+\(\s-\)\!")
(modes quote (apdl-mode)) (tab-stop))
)
apdl-license-occur-regexp '("granta" "electronics" "spaceclaim" "cfd" "disc"
"aim_mp" "stba" "struct" "mpba" "ane3" "^ansys"
"anshpc" "^preppost" "mech_"
"[0-9][0-9]:[0-9][0-9]:[0-9][0-9]")
apdl-job "file"
apdl-license-categories '("ansys" "struct" "ane3" "ansysds" "ane3fl"
"preppost")
apdl-license "preppost"
apdl-no-of-processors 3
apdl-blink-delay 0.3
apdl-blink-region-flag t
apdl-username "Lee"
apdl-ansys-install-directory "D:/Program Files/ANSYS Inc/v171"
apdl-ansys-program "D:/Program Files/ANSYS Inc/v171"
apdl-ansys-launcher "D:/Program Files/ANSYS Inc/v171/winx64/launcher"
apdl-ansys-wb "D:/Program Files/ANSYS Inc/v171/Framework/bin/Linux64/runwb2"
apdl-ansys-help-program "D:/Program Files/ANSYS Inc/v171/commonfiles/help/HelpViewer/AnsysHelpViewer.exe"
apdl-ansys-help-path "D:/Program Files/ANSYS Inc/v171/commonfiles/help/en-us/help/"
apdl-lmutil-program "D:/Program Files/ANSYS Inc/shared_files/licensing/linx64/lmutil"
apdl-license-file "ANSYSLI_NOFLEX=1"
apdl-ansysli-servers "ANSYSLI_NOFLEX=1"
apdl-wb-custom-template-directory "c:/Users/Lee/AppData/Roaming/.emacs.d/elpa/apdl-mode-20211023.1831/"
)
The text was updated successfully, but these errors were encountered: