Git Product home page Git Product logo

apdl-mode's Issues

C-c,C-b failed for local help files with eww

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/"
)

ansys-next-code-line

What steps will reproduce the problem?
1. M-n
2. C-n

What is the expected output? What do you see instead?

C-n skips into a wrong column

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 2 Dec 2006 at 10:33

Newly created parameter color does not update

Newly created parameter highlight does not work sometimes.

so the parameter color should change in order to distinguish itself with other words. when I was creating a new parameter, its color changes in its definition line. However, in the next line, I then type the same parameter name again. the color does not change until I reopen this document.

Desktop (please complete the following information):
windows 10, Emacs 27.1. I installed APDL-Mode from Melpa.

Cannot access local help via Tramp with apdl-browse-ansys-help

Hi,

Thank you for this wonderful package. I've recently installed it from melpa and ran into a problem when trying to access the help functionality through the C-c C-b keybinding.
To give some context, I'm writing APDL on a linux server through tramp. I've set the Installation directory successfully and when I hit C-c C-b over a FINISH command, apdl-mode doesn't find the local html file and eww returns
url-file: File does not exist: file:////ssh:myname@myremote:/ansys_inc/v140/commonfiles/help/en-us/help/ans_cmd/Hlp_C_FINISH.html
I think the problem are the trailing forward (///) slashes that preced the ssh command, because the file Hlp_C_FINISH.html and its path exist/are correct. Thanks in advance for any help.

Can't start ansys-mode due to error

I did the following:
1. Copied the four .el files to /home/igurin/Ansys/utility/ansys-mode/
2. Created a new file called start-ansys-mode.el in the same directory with the 
following contents:

(add-to-list 'load-path "/home/igurin/Ansys/utility/ansys-mode")
(add-to-list 'auto-mode-alist '("\\.mac\\'" . ansys-mode))
(add-to-list 'auto-mode-alist '("\\.dat\\'" . ansys-mode))
(add-to-list 'auto-mode-alist '("\\.inp\\'" . ansys-mode))
(autoload 'ansys-mode "ansys-mode" nil t)

3. Selected the entirety of start-ansys-mode.el and did (M-x eval-region RET)
4. Went to a short sample buffer in the same session and did (M-x ansys-mode 
RET)

I get the following in the minibuffer:
"Symbol's value as variable is void: insert-pair-alist"

System configuration:
ANSYS mode version 13.0.1
Emacs version 21.4.1
Red Hat Enterprise Linux version 5

Original issue reported on code.google.com by [email protected] on 22 Feb 2012 at 11:56

Error in block regions

What steps will reproduce the problem?
1. Open a output file created in ANSYS Mechanical 
2.
3.

What is the expected output? What do you see instead?
The nblock and eblock regions are not closed

What version of the product are you using? On what operating system?
ANSYSv15.0.7 on Windows 8

Please provide any additional information below.
This is a recent issue, Used to work fine with 15.0 

For information about GNU Emacs and the GNU system, type C-h C-a.
Loading d:/Users/nish/.emacs.d/ansys-keyword.el (source)...done
Loading d:/Users/nish/.emacs.d/ansys-template.el (source)...done
Loading d:/Users/nish/.emacs.d/ansys-process.el (source)...done
(lambda (arg1 arg2) ...) quoted with ' rather than with #'

Original issue reported on code.google.com by [email protected] on 30 Sep 2014 at 4:49

Attachments:

README


The resource http://www.ansyssolutions.com mentioned in README is invalid.

Original issue reported on code.google.com by [email protected] on 29 Mar 2011 at 5:54

Readme.txt

Remove Readme.txt. Create README from ansys-mode100.el and makefile.


Original issue reported on code.google.com by [email protected] on 3 Dec 2006 at 7:19

long startup coused by wrong quatation mark

starting emacs take a long time if I add ansys-mode to my init.el file. It gives me the waring
.emacs.d/lisp/ANSYS-Mode/ansys-mode.el: (lamda (arg1 arg2) ...) quoted with ' rather than wth #'

this is my init.el:
;; Ansys-Mode
(add-to-list 'load-path "~/.emacs.d/lisp/ANSYS-Mode")
(require 'ansys-mode)
(add-to-list 'auto-mode-alist '("\\.inp$" . ansys-mode))
(add-to-list 'auto-mode-alist '("\\.dat$" . ansys-mode))
(add-to-list 'auto-mode-alist '("\\.mac$" . ansys-mode))

I'am using GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) under windows 7.
Inside ~/.emacs.d/lisp/ANSYS-Mode are the following el files:

  • ansys-keyword.el
  • ansys-mode.el
  • ansys-process.el
  • ansys-template.el

stucking after input `/`

I met a problem that emacs stucks each time after typing /. How could I detect the real reason for this problem. Thank you for your response.

C-c,C-b shellExecute failed for local help files

Describe the bug
I installed the Ansys v211 and APDL-mode. I am trying to use the C-c C-b to look up definition of the command. however, it gave me : "ShellExecute failed: the system cannot find the file specified". Can you tell me how to fix this issue?

windows 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.