Giter Club home page Giter Club logo

Comments (9)

stsquad avatar stsquad commented on September 18, 2024

It's likely the web-pages have changed the way they handle text areas. Have you got some specific URLs I can check? Does it still work on other sites? For example can you edit github text areas ok?

from emacs_chrome.

stewartbryson avatar stewartbryson commented on September 18, 2024

Perhaps I wasn't clear. It's not returning data from the Emacs buffer to ANY sites at all right now... so it's not working at all. Additionally, some of the websites it used to notice (Redmine, the open-source project management and Wiki product) it doesn't even give me the option for anymore.

Regarding github... it recognizes the textarea and puts the blue edit button, but nothing I put in that buffer is returned to the textarea when I close it.

from emacs_chrome.

stsquad avatar stsquad commented on September 18, 2024

OK well that's unexpected (and works for me) and also probably a JavaScript issue. If your getting the colour fade then the text has been posted back so it's a DOM update issue.

The first test is to enable Edit with Emacs for Incognito mode and disable all other extensions. If it's still failing can you do Shift-Ctrl-J to open up the console and post the output of the console when you try to do the update?

from emacs_chrome.

stewartbryson avatar stewartbryson commented on September 18, 2024

Incognito Mode produced the exact same behavior. I used the console log, and below is what I have:

config response: [object Object]
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:280findTextAreas: running over 1
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:319will scan text area in 0
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:321findTextAreas timeout fired
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:280findTextAreas: running over 1
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:319will scan text area in 0
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:332defered 1 updates, next fire in 500
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:321findTextAreas timeout fired
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:280findTextAreas: running over 1
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:319will scan text area in 0
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:321findTextAreas timeout fired
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:280findTextAreas: running over 2
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:319will scan text area in 0
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:332defered 1 updates, next fire in 500
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:332defered 2 updates, next fire in 1000
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:332defered 3 updates, next fire in 1500
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:332defered 4 updates, next fire in 2000
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:321findTextAreas timeout fired
chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:280findTextAreas: running over 1
extensions/event.js:185Error in event handler for 'undefined': TypeError: Object # has no method 'getContent'
at sendTextArea (chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:219:22)
at chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:234:4
at localMessageHandler (chrome-extension://ljobjlafonikaiipfkggjbhkghgicgoh/textareas.js:351:3)
at [object Object].dispatch (extensions/event.js:183:28)
at Object. (extensions/miscellaneous_bindings.js:164:22)

I'm a complete newbie with the console, so I'm not sure if I did everything just right. I had the console running when I started browsing to the page with the textareas, and most of the messages came from that. There were not actually any messages logged when I actually used Edit with Emacs to edit the textarea and return it. The error above came from a click of the extension button in the toolbar, and a green value was returned.

from emacs_chrome.

stsquad avatar stsquad commented on September 18, 2024

Interesting. It seems you have discovered a different bug which is that the "edit focused textarea" feature got broken when I re-factored the code. However it doesn't explain the failure your seeing with other types of editing.

Are you confident in running the extension from the development repository?

from emacs_chrome.

stewartbryson avatar stewartbryson commented on September 18, 2024

I'm not sure what that means Alex... sorry. But I am happy to try
anything... I depend on the extension quite a bit. :-)

On Thu, Mar 22, 2012 at 9:34 AM, Alex Bennee <
[email protected]

wrote:

Interesting. It seems you have discovered a different bug which is that
the "edit focused textarea" feature got broken when I re-factored the code.
However it doesn't explain the failure your seeing with other types of
editing.

Are you confident in running the extension from the development repository?


Reply to this email directly or view it on GitHub:
#52 (comment)

from emacs_chrome.

stsquad avatar stsquad commented on September 18, 2024

Essentially it's a few simple steps:

git clone git://github.com/stsquad/emacs_chrome.git /path/to/somewhere
disable the Edit with Emacs extension in chrome://settings/extensions
in chrome://settings/extensions select Load Unpacked Repository and point it the cloned repo

from emacs_chrome.

stewartbryson avatar stewartbryson commented on September 18, 2024

Yes... I have loaded Edit with Emacs as Unpacked. Not sure if you thought
what was in there should fix it though, or if you were just preparing me
for being able to accept modified extensions later. The current code set
does not affect the behavior.

Thanks.

Stewart Bryson
US Managing Director
Rittman Mead
O: 888.631.1410
M: 770.823.7409
F: 888.631.1410
E: [email protected]
[email protected]

On Wed, Mar 28, 2012 at 3:58 AM, Alex Bennee <
[email protected]

wrote:

Essentially it's a few simple steps:

git clone git://github.com/stsquad/emacs_chrome.git /path/to/somewhere
disable the Edit with Emacs extension in chrome://settings/extensions
in chrome://settings/extensions select Load Unpacked Repository and point
it the cloned repo


Reply to this email directly or view it on GitHub:
#52 (comment)

from emacs_chrome.

stsquad avatar stsquad commented on September 18, 2024

Did you run that with the console open? I would hope at least a few of the errors went away.

from emacs_chrome.

Related Issues (20)

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.