Git Product home page Git Product logo

Comments (5)

dieter-wilhelm avatar dieter-wilhelm commented on September 23, 2024

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.

from apdl-mode.

dieter-wilhelm avatar dieter-wilhelm commented on September 23, 2024

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):

  ;; for eww, reverting to file:/// 2021-08-28
  ;;(browse-url-of-file (concat "file:///" path file))) ; not working for Emacs 29.1!
  (browse-url-of-file (concat path file))) ; <- this is working for me in Emacs 29.1

(and restart Emacs.)
thank you

from apdl-mode.

wyl-phd avatar wyl-phd commented on September 23, 2024

@dieter-wilhelm
I've already tried to edit apdl-process.el file before I posted the issue. But it didn't work.

I'll convert to a higher ANSYS version.

Thanks any way.

from apdl-mode.

dieter-wilhelm avatar dieter-wilhelm commented on September 23, 2024

@dieter-wilhelm I've already tried to edit apdl-process.el file before I posted the issue. But it didn't work.

I'll convert to a higher ANSYS version.

I've tested apdl-mode's C-cC-b command with the local documentation of Ansys 2023R2 and above change of apdl-process.el..

from apdl-mode.

wyl-phd avatar wyl-phd commented on September 23, 2024

@dieter-wilhelm I edited apdl-porcess.ed as you suggested and then tested C-c C-b command in emacs 29.1 with ANSYS 2024R1. The online documentation worked well with the external browser (Firfox). However it failed in eww with the following message
图片
This problem is easy to solve, but it's difficult for me

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:
Loading http://file%3a%2f%2f%2fd%3a/Program%20Files/ANSYS%20Inc/v241/commonfiles/help/en-us/help/ans_cmd/Hlp_C_E.html...
The path should be
file:///D:/Program Files/ANSYS Inc/v241/...
I gausse it is a characters encoding problem of emacs when running in Chinese OS. concat file path may not work as expected.

Now I am using the online documentation. Thanks to your amazing package, it promots my work efficiency a lot.

from apdl-mode.

Related Issues (11)

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.